@microsoft/m365agentstoolkit-cli 1.1.17 → 1.1.18-beta.2026092203.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/json-schemas/copilot/plugin/v2.4/schema.json +49 -14
- package/lib/index.js +1 -1
- package/lib/index.js.map +2 -2
- package/package.json +33 -33
- package/resource/package.nls.json +35 -1
- package/templates/fallback/common.zip +0 -0
- package/templates/fallback/csharp.zip +0 -0
- package/templates/fallback/js.zip +0 -0
- package/templates/fallback/python.zip +0 -0
- package/templates/fallback/ts.zip +0 -0
- package/templates/metadata.zip +0 -0
- package/templates/ui/tdpNode.json +1 -1
- package/templates/ui/wizardNode.json +1 -1
- package/templates/v4/create-selector.json +2 -2
- package/templates/v4/floor.json +1 -1
- package/templates/v4/templates-metadata.zip +0 -0
- package/templates/v4/templates.zip +0 -0
|
@@ -341,18 +341,8 @@
|
|
|
341
341
|
}
|
|
342
342
|
},
|
|
343
343
|
"spec": {
|
|
344
|
-
"
|
|
345
|
-
"
|
|
346
|
-
{
|
|
347
|
-
"$ref": "#/$defs/open-api-spec"
|
|
348
|
-
},
|
|
349
|
-
{
|
|
350
|
-
"$ref": "#/$defs/local-plugin-spec"
|
|
351
|
-
},
|
|
352
|
-
{
|
|
353
|
-
"$ref": "#/$defs/mcp-execution-spec"
|
|
354
|
-
}
|
|
355
|
-
]
|
|
344
|
+
"type": "object",
|
|
345
|
+
"description": "Runtime-specific configuration object. Its exact shape is determined by the sibling `type` member (see the `oneOf` on this runtime object): `OpenApi` uses `open-api-spec`, `LocalPlugin` uses `local-plugin-spec`, and `RemoteMCPServer` uses `mcp-execution-spec`."
|
|
356
346
|
},
|
|
357
347
|
"output_template": {
|
|
358
348
|
"type": "string",
|
|
@@ -362,7 +352,46 @@
|
|
|
362
352
|
"additionalProperties": false,
|
|
363
353
|
"patternProperties": {
|
|
364
354
|
"^x-": {}
|
|
365
|
-
}
|
|
355
|
+
},
|
|
356
|
+
"oneOf": [
|
|
357
|
+
{
|
|
358
|
+
"$comment": "Discriminate `spec` by the sibling `type`. draft-04 has no if/then, so this is expressed as a `oneOf` where each branch pins `type` and the matching `spec` schema. Without this, a bare RemoteMCPServer spec of `{ \"url\": \"...\" }` (dynamic tool discovery) matches BOTH `open-api-spec` and `mcp-execution-spec` and fails a `oneOf` placed directly on `spec`.",
|
|
359
|
+
"properties": {
|
|
360
|
+
"type": {
|
|
361
|
+
"enum": [
|
|
362
|
+
"OpenApi"
|
|
363
|
+
]
|
|
364
|
+
},
|
|
365
|
+
"spec": {
|
|
366
|
+
"$ref": "#/$defs/open-api-spec"
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
"properties": {
|
|
372
|
+
"type": {
|
|
373
|
+
"enum": [
|
|
374
|
+
"LocalPlugin"
|
|
375
|
+
]
|
|
376
|
+
},
|
|
377
|
+
"spec": {
|
|
378
|
+
"$ref": "#/$defs/local-plugin-spec"
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"properties": {
|
|
384
|
+
"type": {
|
|
385
|
+
"enum": [
|
|
386
|
+
"RemoteMCPServer"
|
|
387
|
+
]
|
|
388
|
+
},
|
|
389
|
+
"spec": {
|
|
390
|
+
"$ref": "#/$defs/mcp-execution-spec"
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
]
|
|
366
395
|
},
|
|
367
396
|
"auth-object": {
|
|
368
397
|
"type": "object",
|
|
@@ -551,7 +580,13 @@
|
|
|
551
580
|
"mcp-tool-inline": {
|
|
552
581
|
"type": "object",
|
|
553
582
|
"title": "MCP Tool Inline Definitions",
|
|
554
|
-
"description": "Inline tool definitions matching the format returned by the MCP server's tools/list method."
|
|
583
|
+
"description": "Inline tool definitions matching the format returned by the MCP server's tools/list method.",
|
|
584
|
+
"$comment": "Excludes a top-level `file` key so this branch is mutually exclusive with `mcp-tool-file-reference` under `mcp_tool_description`'s `oneOf`. Without it, this open object also matches the file-reference form, so `{ \"file\": \"...\" }` matches both branches and fails the `oneOf`.",
|
|
585
|
+
"not": {
|
|
586
|
+
"required": [
|
|
587
|
+
"file"
|
|
588
|
+
]
|
|
589
|
+
}
|
|
555
590
|
},
|
|
556
591
|
"function-parameters": {
|
|
557
592
|
"type": "object",
|