@microsoft/m365agentstoolkit-cli 1.1.17-beta.2026091502.0 → 1.1.17

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.
@@ -341,8 +341,18 @@
341
341
  }
342
342
  },
343
343
  "spec": {
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`."
344
+ "description": "Runtime-specific configuration object.",
345
+ "oneOf": [
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
+ ]
346
356
  },
347
357
  "output_template": {
348
358
  "type": "string",
@@ -352,46 +362,7 @@
352
362
  "additionalProperties": false,
353
363
  "patternProperties": {
354
364
  "^x-": {}
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
- ]
365
+ }
395
366
  },
396
367
  "auth-object": {
397
368
  "type": "object",
@@ -580,13 +551,7 @@
580
551
  "mcp-tool-inline": {
581
552
  "type": "object",
582
553
  "title": "MCP Tool Inline Definitions",
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
- }
554
+ "description": "Inline tool definitions matching the format returned by the MCP server's tools/list method."
590
555
  },
591
556
  "function-parameters": {
592
557
  "type": "object",