@clipform/mcp-server 4.11.2 → 4.11.4
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-VYKTDKCM.js → chunk-5CIGKMM5.js} +3 -3
- package/dist/{chunk-2CWHNTIQ.js → chunk-BNSHHORH.js} +16 -6
- package/dist/{chunk-2CWHNTIQ.js.map → chunk-BNSHHORH.js.map} +1 -1
- package/dist/{chunk-GDHIIUZR.js → chunk-BUSXPGIE.js} +103 -16
- package/dist/chunk-BUSXPGIE.js.map +1 -0
- package/dist/{chunk-S2GEKYOU.js → chunk-MOXS5GL2.js} +3 -3
- package/dist/{chunk-NHV5MS4J.js → chunk-VQRVB4AU.js} +2 -2
- package/dist/index.js +5 -5
- package/dist/prompts.js +3 -3
- package/dist/resources.js +3 -3
- package/dist/server.d.ts +1 -1
- package/dist/server.js +11 -5
- package/package.json +1 -1
- package/server.json +2 -2
- package/dist/chunk-GDHIIUZR.js.map +0 -1
- /package/dist/{chunk-VYKTDKCM.js.map → chunk-5CIGKMM5.js.map} +0 -0
- /package/dist/{chunk-S2GEKYOU.js.map → chunk-MOXS5GL2.js.map} +0 -0
- /package/dist/{chunk-NHV5MS4J.js.map → chunk-VQRVB4AU.js.map} +0 -0
package/dist/api-client.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FULL_CAPS,
|
|
3
3
|
getSessionContextWithAuth
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-VQRVB4AU.js";
|
|
5
5
|
import {
|
|
6
6
|
FORM_TYPES,
|
|
7
7
|
WORKFLOW_TYPES,
|
|
8
8
|
getDiscoveryParams
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BUSXPGIE.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-5CIGKMM5.js.map
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
union,
|
|
30
30
|
unknown,
|
|
31
31
|
url
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-5CIGKMM5.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-MOXS5GL2.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-VQRVB4AU.js";
|
|
56
56
|
import {
|
|
57
57
|
ACTIVE_NODE_TYPES,
|
|
58
58
|
ANON_MCP_BLOCKED_NODE_TYPES,
|
|
@@ -71,6 +71,7 @@ import {
|
|
|
71
71
|
authChallengeMeta,
|
|
72
72
|
bfsOrder,
|
|
73
73
|
callApi,
|
|
74
|
+
contactFieldNotes,
|
|
74
75
|
defaultTarget,
|
|
75
76
|
errorResult,
|
|
76
77
|
exposedCompositionIds,
|
|
@@ -78,11 +79,12 @@ import {
|
|
|
78
79
|
isAnonMcpLockedNode,
|
|
79
80
|
isAnonymousAccountRequired,
|
|
80
81
|
lettersCapError,
|
|
82
|
+
normalizeContactFields,
|
|
81
83
|
resolveFormType,
|
|
82
84
|
stripGatedConfigKeys,
|
|
83
85
|
structuredResult,
|
|
84
86
|
textResult
|
|
85
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-BUSXPGIE.js";
|
|
86
88
|
import {
|
|
87
89
|
getMcpAuth,
|
|
88
90
|
runWithMcpAuth,
|
|
@@ -16178,7 +16180,7 @@ function generateConfigSummary(configSchema, typeKey) {
|
|
|
16178
16180
|
}
|
|
16179
16181
|
}
|
|
16180
16182
|
if (typeKey === "details") {
|
|
16181
|
-
parts.push(`Available field IDs: ${CONTACT_FIELD_IDS.join(", ")}`);
|
|
16183
|
+
parts.push(`Available field IDs: ${CONTACT_FIELD_IDS.join(", ")}. Standard fields keep their names (no label needed); for other wording or a non-English form, add a custom field ({ id, is_custom: true, label, type })`);
|
|
16182
16184
|
}
|
|
16183
16185
|
return parts.length > 0 ? `Config: ${parts.join(", ")}` : "";
|
|
16184
16186
|
}
|
|
@@ -16553,6 +16555,11 @@ Example: A form that asks a question, collects contact info, then finishes:
|
|
|
16553
16555
|
applyNodeDefaults(q);
|
|
16554
16556
|
const dropped = stripGatedNodeConfig(q);
|
|
16555
16557
|
if (dropped.length > 0) ignoredNotes.push(`[${q.type}] ${ignoredConfigNote(dropped)}`);
|
|
16558
|
+
if (q.type === "details" && Array.isArray(q.config?.fields)) {
|
|
16559
|
+
const result = normalizeContactFields(q.config.fields);
|
|
16560
|
+
q.config = { ...q.config, fields: result.fields };
|
|
16561
|
+
for (const note of contactFieldNotes(result)) ignoredNotes.push(`[details] ${note}`);
|
|
16562
|
+
}
|
|
16556
16563
|
}
|
|
16557
16564
|
const settings = {};
|
|
16558
16565
|
if (show_step_counter !== void 0) settings.show_step_counter = show_step_counter;
|
|
@@ -20416,6 +20423,9 @@ function createServer(options) {
|
|
|
20416
20423
|
|
|
20417
20424
|
export {
|
|
20418
20425
|
SUPPORTED_PROTOCOL_VERSIONS,
|
|
20426
|
+
ProtocolErrorCode,
|
|
20427
|
+
ProtocolError,
|
|
20428
|
+
MissingRequiredClientCapabilityError,
|
|
20419
20429
|
ReadBuffer,
|
|
20420
20430
|
serializeMessage,
|
|
20421
20431
|
process2 as process,
|
|
@@ -20436,4 +20446,4 @@ export {
|
|
|
20436
20446
|
* MIT Licensed
|
|
20437
20447
|
*)
|
|
20438
20448
|
*/
|
|
20439
|
-
//# sourceMappingURL=chunk-
|
|
20449
|
+
//# sourceMappingURL=chunk-BNSHHORH.js.map
|