@clipform/mcp-server 4.10.1 → 4.10.2
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/dist/api-client.js +1 -1
- package/dist/{chunk-MNDNDG3A.js → chunk-36WRDNVW.js} +3 -3
- package/dist/{chunk-ZASIHIX3.js → chunk-57ZVZROW.js} +3 -3
- package/dist/{chunk-RQ5HBDZN.js → chunk-62DVPH4I.js} +11 -8
- package/dist/{chunk-RQ5HBDZN.js.map → chunk-62DVPH4I.js.map} +1 -1
- package/dist/{chunk-72MALJLK.js → chunk-E456QCTV.js} +4 -3
- package/dist/chunk-E456QCTV.js.map +1 -0
- package/dist/{chunk-2LQ5LNZ2.js → chunk-NBHDZORG.js} +2 -2
- package/dist/index.js +5 -5
- package/dist/prompts.js +3 -3
- package/dist/resources.js +3 -3
- package/dist/server.js +5 -5
- package/package.json +1 -1
- package/server.json +2 -2
- package/dist/chunk-72MALJLK.js.map +0 -1
- /package/dist/{chunk-MNDNDG3A.js.map → chunk-36WRDNVW.js.map} +0 -0
- /package/dist/{chunk-ZASIHIX3.js.map → chunk-57ZVZROW.js.map} +0 -0
- /package/dist/{chunk-2LQ5LNZ2.js.map → chunk-NBHDZORG.js.map} +0 -0
package/dist/api-client.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FULL_CAPS,
|
|
3
3
|
getSessionContext
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-NBHDZORG.js";
|
|
5
5
|
import {
|
|
6
6
|
ALL_VARIANTS,
|
|
7
7
|
FORM_TYPES,
|
|
8
8
|
FORM_TYPE_KEYS,
|
|
9
9
|
callApi
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-E456QCTV.js";
|
|
11
11
|
import {
|
|
12
12
|
getMcpAuth
|
|
13
13
|
} from "./chunk-ENVV65JX.js";
|
|
@@ -155,4 +155,4 @@ export {
|
|
|
155
155
|
getGuideUri,
|
|
156
156
|
registerResources
|
|
157
157
|
};
|
|
158
|
-
//# sourceMappingURL=chunk-
|
|
158
|
+
//# sourceMappingURL=chunk-36WRDNVW.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FULL_CAPS,
|
|
3
3
|
getSessionContextWithAuth
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-NBHDZORG.js";
|
|
5
5
|
import {
|
|
6
6
|
FORM_TYPES,
|
|
7
7
|
WORKFLOW_TYPES,
|
|
8
8
|
getDiscoveryParams
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-E456QCTV.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
12
|
} from "./chunk-PZ5AY32C.js";
|
|
@@ -15231,4 +15231,4 @@ export {
|
|
|
15231
15231
|
getWorkflowText,
|
|
15232
15232
|
registerPrompts
|
|
15233
15233
|
};
|
|
15234
|
-
//# sourceMappingURL=chunk-
|
|
15234
|
+
//# sourceMappingURL=chunk-57ZVZROW.js.map
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
union,
|
|
30
30
|
unknown,
|
|
31
31
|
url
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-57ZVZROW.js";
|
|
33
33
|
import {
|
|
34
34
|
GUIDE_TYPES,
|
|
35
35
|
QUIZ_VARIANTS,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
getGuideUri,
|
|
39
39
|
guideFallbackText,
|
|
40
40
|
registerResources
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-36WRDNVW.js";
|
|
42
42
|
import {
|
|
43
43
|
ANON_PREVIEW_LINK_LABEL,
|
|
44
44
|
ANON_PREVIEW_NOTICE,
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
isPreviewViewerUrl,
|
|
53
53
|
previewOnlyNotice,
|
|
54
54
|
withAdoptedNotice
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-NBHDZORG.js";
|
|
56
56
|
import {
|
|
57
57
|
ACTIVE_NODE_TYPES,
|
|
58
58
|
ANON_MCP_BLOCKED_NODE_TYPES,
|
|
@@ -81,7 +81,7 @@ import {
|
|
|
81
81
|
stripGatedConfigKeys,
|
|
82
82
|
structuredResult,
|
|
83
83
|
textResult
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-E456QCTV.js";
|
|
85
85
|
import {
|
|
86
86
|
getMcpAuth,
|
|
87
87
|
runWithMcpAuth,
|
|
@@ -17143,7 +17143,7 @@ function formatFormState(data) {
|
|
|
17143
17143
|
const options = q.node_options ?? q.options;
|
|
17144
17144
|
if (options && options.length > 0) {
|
|
17145
17145
|
lines.push(
|
|
17146
|
-
` Options: ${options.map((o) => o.content).join(", ")}`
|
|
17146
|
+
` Options: ${options.map((o) => o.id ? `${o.content} (id: ${o.id})` : o.content).join(", ")}`
|
|
17147
17147
|
);
|
|
17148
17148
|
}
|
|
17149
17149
|
const next = projectNext(q, logicByNode);
|
|
@@ -17929,6 +17929,9 @@ function registerAddNodeTool(server) {
|
|
|
17929
17929
|
}
|
|
17930
17930
|
|
|
17931
17931
|
// src/tools/update-node.ts
|
|
17932
|
+
var UpdateOptionSchema = OptionSchema.extend({
|
|
17933
|
+
id: external_exports.string().uuid().optional().describe("The option's id from clipform_get_form. Include it to keep this option with its routes, answer key and results; omit it to add a new option.")
|
|
17934
|
+
});
|
|
17932
17935
|
var NodeUpdateSchema = external_exports.object({
|
|
17933
17936
|
node_id: external_exports.string().describe("The node ID to update"),
|
|
17934
17937
|
prompt: external_exports.string().optional().describe("New node prompt text"),
|
|
@@ -17938,8 +17941,8 @@ var NodeUpdateSchema = external_exports.object({
|
|
|
17938
17941
|
config: external_exports.record(external_exports.string(), external_exports.unknown()).optional().describe(
|
|
17939
17942
|
`${CONFIG_FIELD_DESCRIPTION} Merged shallowly into the stored config - only the keys you pass are changed. Set a key to null to delete it; nested objects are replaced wholesale. When type is changed in the same call, config replaces the stored configuration instead of merging.`
|
|
17940
17943
|
),
|
|
17941
|
-
options: external_exports.array(
|
|
17942
|
-
"
|
|
17944
|
+
options: external_exports.array(UpdateOptionSchema).optional().describe(
|
|
17945
|
+
"The full option list (for choice nodes). Include each option's id from clipform_get_form to keep that option and its routes, answer key and results. Options without an id are added as new. Options left out are removed together with their routes. Omit to keep existing options."
|
|
17943
17946
|
)
|
|
17944
17947
|
}).superRefine((update, ctx) => {
|
|
17945
17948
|
if (update.type && update.options !== void 0) {
|
|
@@ -20392,4 +20395,4 @@ export {
|
|
|
20392
20395
|
* MIT Licensed
|
|
20393
20396
|
*)
|
|
20394
20397
|
*/
|
|
20395
|
-
//# sourceMappingURL=chunk-
|
|
20398
|
+
//# sourceMappingURL=chunk-62DVPH4I.js.map
|