mirror of
https://github.com/jambonz/verb-specifications.git
synced 2025-12-19 04:47:47 +00:00
fixed mcpServers as array
This commit is contained in:
11
specs.json
11
specs.json
@@ -448,7 +448,7 @@
|
|||||||
"toolHook": "object|string",
|
"toolHook": "object|string",
|
||||||
"events": "array",
|
"events": "array",
|
||||||
"llmOptions": "object",
|
"llmOptions": "object",
|
||||||
"mcpServer": "#mcpServer"
|
"mcpServers": "array"
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"vendor",
|
"vendor",
|
||||||
@@ -456,15 +456,6 @@
|
|||||||
"llmOptions"
|
"llmOptions"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"mcpServer": {
|
|
||||||
"properties": {
|
|
||||||
"url": "string",
|
|
||||||
"auth": "object"
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"url"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"message": {
|
"message": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"id": "string",
|
"id": "string",
|
||||||
|
|||||||
@@ -533,13 +533,15 @@ test("validate correct verbs", async (t) => {
|
|||||||
"llmOptions": {
|
"llmOptions": {
|
||||||
"firstSpeaker": 'FIRST_SPEAKER_AGENT',
|
"firstSpeaker": 'FIRST_SPEAKER_AGENT',
|
||||||
},
|
},
|
||||||
"mcpServer": {
|
"mcpServers": [
|
||||||
"url": 'https://mcp.example.com',
|
{
|
||||||
"auth": {
|
"url": 'https://mcp.example.com',
|
||||||
"username": 'username',
|
"auth": {
|
||||||
"password": 'password'
|
"username": 'username',
|
||||||
|
"password": 'password'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
]
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user