@clipform/mcp-server 4.8.1 → 4.9.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.
@@ -6,7 +6,7 @@ import {
6
6
  recoveryHint,
7
7
  structuredResult,
8
8
  textResult
9
- } from "./chunk-6DSCZEF7.js";
9
+ } from "./chunk-B2ZAUNEV.js";
10
10
  import "./chunk-ENVV65JX.js";
11
11
  import "./chunk-PBQ5BQWD.js";
12
12
  import "./chunk-PZ5AY32C.js";
@@ -1053,17 +1053,28 @@ var NODE_TYPES = {
1053
1053
  }
1054
1054
  }
1055
1055
  },
1056
+ // Single-select = the bare option id; multi-select = a bare array of option ids
1057
+ // (#151). Readers key on the data shape, never on the node's current selection_mode.
1056
1058
  response_schema: {
1057
- type: "string",
1058
- description: "Selected option ID"
1059
+ description: "Selected option ID (single-select) or an array of selected option IDs (multi-select)",
1060
+ oneOf: [
1061
+ { type: "string" },
1062
+ { type: "array", items: { type: "string" }, minItems: 1, maxItems: 6 }
1063
+ ]
1059
1064
  },
1060
1065
  output_schema: {
1061
1066
  type: "object",
1062
- required: ["node_type", "label", "option_id"],
1067
+ required: ["node_type", "label"],
1068
+ oneOf: [
1069
+ { type: "object", required: ["option_id"] },
1070
+ { type: "object", required: ["labels", "option_ids"] }
1071
+ ],
1063
1072
  properties: {
1064
1073
  node_type: { type: "string", const: "choice" },
1065
- label: { type: "string", description: "Human-readable option label" },
1066
- option_id: { type: "string", format: "uuid", description: "Selected option UUID" }
1074
+ label: { type: "string", description: 'Human-readable option label (multi-select: the picked labels joined with ", " in option order)' },
1075
+ option_id: { type: "string", format: "uuid", description: "Selected option UUID (single-select only)" },
1076
+ labels: { type: "array", items: { type: "string" }, description: "Picked option labels in option order (multi-select only)" },
1077
+ option_ids: { type: "array", items: { type: "string", format: "uuid" }, description: "Picked option UUIDs in option order (multi-select only)" }
1067
1078
  }
1068
1079
  }
1069
1080
  },
@@ -3668,4 +3679,4 @@ export {
3668
3679
  textResult,
3669
3680
  structuredResult
3670
3681
  };
3671
- //# sourceMappingURL=chunk-6DSCZEF7.js.map
3682
+ //# sourceMappingURL=chunk-B2ZAUNEV.js.map