@clipform/mcp-server 4.9.0 → 4.10.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/dist/api-client.js +1 -1
- package/dist/{chunk-DAS5LNUP.js → chunk-73ITJK4L.js} +19 -15
- package/dist/{chunk-DAS5LNUP.js.map → chunk-73ITJK4L.js.map} +1 -1
- package/dist/{chunk-IRNJOS6W.js → chunk-LMOMZNIZ.js} +3 -3
- package/dist/{chunk-B2ZAUNEV.js → chunk-RCV5SMNI.js} +76 -6
- package/dist/chunk-RCV5SMNI.js.map +1 -0
- package/dist/{chunk-MON5YGPS.js → chunk-RJEDJCRG.js} +2 -2
- package/dist/{chunk-M2MJW3DQ.js → chunk-UOS5NXG6.js} +3 -3
- 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-B2ZAUNEV.js.map +0 -1
- /package/dist/{chunk-IRNJOS6W.js.map → chunk-LMOMZNIZ.js.map} +0 -0
- /package/dist/{chunk-MON5YGPS.js.map → chunk-RJEDJCRG.js.map} +0 -0
- /package/dist/{chunk-M2MJW3DQ.js.map → chunk-UOS5NXG6.js.map} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FULL_CAPS,
|
|
3
3
|
getSessionContext
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-RJEDJCRG.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-RCV5SMNI.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-LMOMZNIZ.js.map
|
|
@@ -96,8 +96,11 @@ var FEATURES = {
|
|
|
96
96
|
multi_select: {
|
|
97
97
|
name: "Multi-select choices",
|
|
98
98
|
description: "Pick-all-that-apply choice questions (checkbox-style selection)",
|
|
99
|
+
// Dogfood-only (#151): invisible beta - enabled:false, never 'live'/'planned' so
|
|
100
|
+
// no public surface lists it. Available to FEATURE_COMPANY_ALLOWLIST.multi_select
|
|
101
|
+
// via companyHasMultiSelect; the global flip (+ wentLiveAt) is the launch step.
|
|
99
102
|
enabled: false,
|
|
100
|
-
status: "
|
|
103
|
+
status: "beta",
|
|
101
104
|
category: "builder"
|
|
102
105
|
},
|
|
103
106
|
custom_fonts: {
|
|
@@ -870,7 +873,9 @@ var DRAW_PRESETS = [
|
|
|
870
873
|
{ id: "feet-soles", label: "Feet diagram - soles", shortLabel: "Soles", file: "feet-soles.png", group: "body" },
|
|
871
874
|
{ id: "face-profile", label: "Face diagram - profile", shortLabel: "Face", file: "face-profile.png", group: "body" },
|
|
872
875
|
{ id: "vehicle-sides", label: "Vehicle diagram - sides", shortLabel: "Sides", file: "vehicle-sides.png", group: "vehicle" },
|
|
873
|
-
{ id: "vehicle-top", label: "Vehicle diagram - top and ends", shortLabel: "Top and ends", file: "vehicle-top.png", group: "vehicle" }
|
|
876
|
+
{ id: "vehicle-top", label: "Vehicle diagram - top and ends", shortLabel: "Top and ends", file: "vehicle-top.png", group: "vehicle" },
|
|
877
|
+
{ id: "dog-sides", label: "Dog diagram - sides", shortLabel: "Dog", file: "dog-sides.png", group: "animal" },
|
|
878
|
+
{ id: "cat-sides", label: "Cat diagram - sides", shortLabel: "Cat", file: "cat-sides.png", group: "animal" }
|
|
874
879
|
];
|
|
875
880
|
var DRAW_PRESET_IDS = DRAW_PRESETS.map((p) => p.id);
|
|
876
881
|
|
|
@@ -945,6 +950,8 @@ var NODE_TYPES = {
|
|
|
945
950
|
supports_media: false,
|
|
946
951
|
is_system: true,
|
|
947
952
|
show_in_results: false,
|
|
953
|
+
pii: false,
|
|
954
|
+
respondent_media: null,
|
|
948
955
|
// Never appears in a completed submission's answers (system node, no
|
|
949
956
|
// output_schema) - false is a no-op default, set for guard-test coverage.
|
|
950
957
|
notify_inline: false,
|
|
@@ -973,6 +980,8 @@ var NODE_TYPES = {
|
|
|
973
980
|
supports_media: true,
|
|
974
981
|
is_system: false,
|
|
975
982
|
show_in_results: true,
|
|
983
|
+
pii: false,
|
|
984
|
+
respondent_media: null,
|
|
976
985
|
// Short selected-option label - safe to render inline in a notification (#4154).
|
|
977
986
|
notify_inline: true,
|
|
978
987
|
owner_scoped_config_keys: [],
|
|
@@ -1020,6 +1029,25 @@ var NODE_TYPES = {
|
|
|
1020
1029
|
default: "single",
|
|
1021
1030
|
description: 'Allow single or multiple selections. "multiple" is gated by the multi_select feature - while it is off, the API coerces it to "single" (the viewer renders single-select only).'
|
|
1022
1031
|
},
|
|
1032
|
+
// Pick limits for multiple mode. Inert on single (kept stored, never read).
|
|
1033
|
+
min_selections: {
|
|
1034
|
+
type: "number",
|
|
1035
|
+
min: 1,
|
|
1036
|
+
default: 1,
|
|
1037
|
+
feature: "multi_select",
|
|
1038
|
+
label: "Minimum picks",
|
|
1039
|
+
shortLabel: "Min",
|
|
1040
|
+
description: "Fewest options a respondent must pick before continuing (multiple selection only)"
|
|
1041
|
+
},
|
|
1042
|
+
max_selections: {
|
|
1043
|
+
type: "number",
|
|
1044
|
+
min: 1,
|
|
1045
|
+
max: 6,
|
|
1046
|
+
feature: "multi_select",
|
|
1047
|
+
label: "Picks",
|
|
1048
|
+
shortLabel: "Max",
|
|
1049
|
+
description: "Fewest and most options a respondent can pick (multiple selection only). Leave Max empty for no limit."
|
|
1050
|
+
},
|
|
1023
1051
|
allow_text_response: {
|
|
1024
1052
|
type: "boolean",
|
|
1025
1053
|
label: "Allow text response",
|
|
@@ -1094,6 +1122,8 @@ var NODE_TYPES = {
|
|
|
1094
1122
|
supports_media: true,
|
|
1095
1123
|
is_system: false,
|
|
1096
1124
|
show_in_results: true,
|
|
1125
|
+
pii: false,
|
|
1126
|
+
respondent_media: "recording",
|
|
1097
1127
|
// True for the common short-text case; a channel notification (#4154)
|
|
1098
1128
|
// still swaps a recorded audio/video answer for a typed placeholder
|
|
1099
1129
|
// based on the answer's own media type, not this flag.
|
|
@@ -1246,6 +1276,8 @@ var NODE_TYPES = {
|
|
|
1246
1276
|
supports_media: true,
|
|
1247
1277
|
is_system: false,
|
|
1248
1278
|
show_in_results: true,
|
|
1279
|
+
pii: false,
|
|
1280
|
+
respondent_media: null,
|
|
1249
1281
|
// A bare numeric value - short enough to render inline (#4154).
|
|
1250
1282
|
notify_inline: true,
|
|
1251
1283
|
owner_scoped_config_keys: [],
|
|
@@ -1279,10 +1311,13 @@ var NODE_TYPES = {
|
|
|
1279
1311
|
is_terminal: false,
|
|
1280
1312
|
show_nav_bar: true,
|
|
1281
1313
|
loading: "lazy",
|
|
1282
|
-
supports_prompt:
|
|
1283
|
-
supports_media:
|
|
1314
|
+
supports_prompt: true,
|
|
1315
|
+
supports_media: true,
|
|
1284
1316
|
is_system: false,
|
|
1285
1317
|
show_in_results: true,
|
|
1318
|
+
// Invitee name/email plus cancel/reschedule URLs (BOOKING_RESULT_SCHEMA).
|
|
1319
|
+
pii: true,
|
|
1320
|
+
respondent_media: null,
|
|
1286
1321
|
// Structured provider data (calendly/google_meet), not a flat value -
|
|
1287
1322
|
// a notification renders a typed placeholder instead (#4154).
|
|
1288
1323
|
notify_inline: false,
|
|
@@ -1295,7 +1330,7 @@ var NODE_TYPES = {
|
|
|
1295
1330
|
// owner-scoped-config-keys.test.js binds the union of flat keys to the latest
|
|
1296
1331
|
// save_form migration's strip array, so dropping it would force a migration.
|
|
1297
1332
|
owner_scoped_config_keys: ["workspace_integration_id", "calendly", "calcom", "google_meet"],
|
|
1298
|
-
// The viewer iframes calendly scheduling_url (
|
|
1333
|
+
// The viewer iframes calendly scheduling_url (booking/CalendlyScheduler.tsx): an outbound embed.
|
|
1299
1334
|
// Unclaimed anonymous-MCP forms may not go live with this node (#4847).
|
|
1300
1335
|
blocked_for_anon_mcp: true,
|
|
1301
1336
|
default_config: null,
|
|
@@ -1357,6 +1392,8 @@ var NODE_TYPES = {
|
|
|
1357
1392
|
supports_media: false,
|
|
1358
1393
|
is_system: false,
|
|
1359
1394
|
show_in_results: false,
|
|
1395
|
+
pii: true,
|
|
1396
|
+
respondent_media: null,
|
|
1360
1397
|
// Excluded from the aggregate Results charts (a list of emails can't be
|
|
1361
1398
|
// charted) but DOES show in the per-response Responses table, where each
|
|
1362
1399
|
// lead's contact fields are actionable (#746).
|
|
@@ -1542,6 +1579,8 @@ var NODE_TYPES = {
|
|
|
1542
1579
|
supports_media: false,
|
|
1543
1580
|
is_system: false,
|
|
1544
1581
|
show_in_results: true,
|
|
1582
|
+
pii: false,
|
|
1583
|
+
respondent_media: "files",
|
|
1545
1584
|
// Files, not a flat value - a notification renders a typed placeholder (#4154).
|
|
1546
1585
|
notify_inline: false,
|
|
1547
1586
|
owner_scoped_config_keys: [],
|
|
@@ -1639,6 +1678,8 @@ var NODE_TYPES = {
|
|
|
1639
1678
|
supports_media: true,
|
|
1640
1679
|
is_system: false,
|
|
1641
1680
|
show_in_results: true,
|
|
1681
|
+
pii: false,
|
|
1682
|
+
respondent_media: "drawing",
|
|
1642
1683
|
// An image, not a flat value - a notification renders a typed placeholder (#4154).
|
|
1643
1684
|
notify_inline: false,
|
|
1644
1685
|
owner_scoped_config_keys: [],
|
|
@@ -1847,6 +1888,8 @@ var NODE_TYPES = {
|
|
|
1847
1888
|
supports_media: false,
|
|
1848
1889
|
is_system: false,
|
|
1849
1890
|
show_in_results: true,
|
|
1891
|
+
pii: false,
|
|
1892
|
+
respondent_media: "files",
|
|
1850
1893
|
// A captured photo/video, not a flat value - a notification renders a
|
|
1851
1894
|
// typed placeholder (#4154).
|
|
1852
1895
|
notify_inline: false,
|
|
@@ -2036,6 +2079,8 @@ var NODE_TYPES = {
|
|
|
2036
2079
|
supports_media: false,
|
|
2037
2080
|
is_system: false,
|
|
2038
2081
|
show_in_results: false,
|
|
2082
|
+
pii: false,
|
|
2083
|
+
respondent_media: null,
|
|
2039
2084
|
// Logic/routing node - no respondent answer to render in a channel
|
|
2040
2085
|
// notification, same as the other control nodes (redirect, link_list,
|
|
2041
2086
|
// end_screen). Required by the #4154 notify_inline invariant.
|
|
@@ -2067,6 +2112,8 @@ var NODE_TYPES = {
|
|
|
2067
2112
|
supports_media: false,
|
|
2068
2113
|
is_system: false,
|
|
2069
2114
|
show_in_results: true,
|
|
2115
|
+
pii: true,
|
|
2116
|
+
respondent_media: null,
|
|
2070
2117
|
// Config keys that are owner-scoped to the authoring workspace - a connected
|
|
2071
2118
|
// account (Stripe/etc via workspace_integrations), the owner's own uploaded
|
|
2072
2119
|
// files, or a calendar link - and so must NOT survive a cross-workspace copy
|
|
@@ -2224,6 +2271,8 @@ var NODE_TYPES = {
|
|
|
2224
2271
|
supports_media: true,
|
|
2225
2272
|
is_system: false,
|
|
2226
2273
|
show_in_results: true,
|
|
2274
|
+
pii: false,
|
|
2275
|
+
respondent_media: null,
|
|
2227
2276
|
// Short selected-option label - safe to render inline (#4154).
|
|
2228
2277
|
notify_inline: true,
|
|
2229
2278
|
owner_scoped_config_keys: [],
|
|
@@ -2289,6 +2338,8 @@ var NODE_TYPES = {
|
|
|
2289
2338
|
supports_media: true,
|
|
2290
2339
|
is_system: false,
|
|
2291
2340
|
show_in_results: false,
|
|
2341
|
+
pii: false,
|
|
2342
|
+
respondent_media: null,
|
|
2292
2343
|
// Short selected-option label - safe to render inline (#4154).
|
|
2293
2344
|
notify_inline: true,
|
|
2294
2345
|
owner_scoped_config_keys: [],
|
|
@@ -2330,6 +2381,8 @@ var NODE_TYPES = {
|
|
|
2330
2381
|
supports_media: false,
|
|
2331
2382
|
is_system: false,
|
|
2332
2383
|
show_in_results: false,
|
|
2384
|
+
pii: false,
|
|
2385
|
+
respondent_media: null,
|
|
2333
2386
|
// Terminal node - never appears in a completed submission's answers
|
|
2334
2387
|
// (filtered by NON_COUNTABLE_FILTER); false is a no-op default.
|
|
2335
2388
|
notify_inline: false,
|
|
@@ -2366,6 +2419,8 @@ var NODE_TYPES = {
|
|
|
2366
2419
|
supports_media: false,
|
|
2367
2420
|
is_system: false,
|
|
2368
2421
|
show_in_results: false,
|
|
2422
|
+
pii: false,
|
|
2423
|
+
respondent_media: null,
|
|
2369
2424
|
// Terminal node - never appears in a completed submission's answers
|
|
2370
2425
|
// (filtered by NON_COUNTABLE_FILTER); false is a no-op default.
|
|
2371
2426
|
notify_inline: false,
|
|
@@ -2417,6 +2472,8 @@ var NODE_TYPES = {
|
|
|
2417
2472
|
supports_media: false,
|
|
2418
2473
|
is_system: false,
|
|
2419
2474
|
show_in_results: true,
|
|
2475
|
+
pii: false,
|
|
2476
|
+
respondent_media: null,
|
|
2420
2477
|
// Files, not a flat value - a notification renders a typed placeholder (#4154).
|
|
2421
2478
|
notify_inline: false,
|
|
2422
2479
|
// The owner's own uploaded files (#4617) - stripped on cross-workspace
|
|
@@ -2505,6 +2562,8 @@ var NODE_TYPES = {
|
|
|
2505
2562
|
supports_media: false,
|
|
2506
2563
|
is_system: false,
|
|
2507
2564
|
show_in_results: false,
|
|
2565
|
+
pii: false,
|
|
2566
|
+
respondent_media: null,
|
|
2508
2567
|
// No response_schema - never carries a flat answer value; false is a no-op default.
|
|
2509
2568
|
notify_inline: false,
|
|
2510
2569
|
owner_scoped_config_keys: [],
|
|
@@ -2576,6 +2635,8 @@ var NODE_TYPES = {
|
|
|
2576
2635
|
supports_media: false,
|
|
2577
2636
|
is_system: false,
|
|
2578
2637
|
show_in_results: false,
|
|
2638
|
+
pii: false,
|
|
2639
|
+
respondent_media: null,
|
|
2579
2640
|
// Terminal node - never appears in a completed submission's answers
|
|
2580
2641
|
// (filtered by NON_COUNTABLE_FILTER); false is a no-op default.
|
|
2581
2642
|
notify_inline: false,
|
|
@@ -2691,6 +2752,10 @@ var TERMINAL_TYPES = Object.entries(NODE_TYPES).filter(([, v]) => v.is_terminal)
|
|
|
2691
2752
|
var NON_COUNTABLE_TYPES = Object.entries(NODE_TYPES).filter(([, v]) => v.is_system || v.is_terminal).map(([k]) => k);
|
|
2692
2753
|
var NON_COUNTABLE_FILTER = `(${NON_COUNTABLE_TYPES.map((t) => `"${t}"`).join(",")})`;
|
|
2693
2754
|
var RESULTS_EXCLUDED_TYPES = Object.entries(NODE_TYPES).filter(([, v]) => !v.show_in_results).map(([k]) => k);
|
|
2755
|
+
var PII_NODE_TYPES = Object.entries(NODE_TYPES).filter(([, v]) => v.pii).map(([k]) => k);
|
|
2756
|
+
var RESPONDENT_MEDIA_NODE_TYPES = Object.entries(NODE_TYPES).filter(([, v]) => v.respondent_media !== null).map(([k]) => k);
|
|
2757
|
+
var FILE_ANSWER_NODE_TYPES = Object.entries(NODE_TYPES).filter(([, v]) => v.respondent_media === "files").map(([k]) => k);
|
|
2758
|
+
var PUBLIC_RESULTS_EXCLUDED_TYPES = Object.entries(NODE_TYPES).filter(([, v]) => v.pii || v.respondent_media === "files" || v.respondent_media === "drawing").map(([k]) => k);
|
|
2694
2759
|
var NON_STEP_TYPES = /* @__PURE__ */ new Set(["button"]);
|
|
2695
2760
|
var STEP_COUNTED_TYPES = Object.entries(NODE_TYPES).filter(([k, v]) => v.show_nav_bar && !NON_STEP_TYPES.has(k)).map(([k]) => k);
|
|
2696
2761
|
var RESPONSES_EXCLUDED_TYPES = Object.entries(NODE_TYPES).filter(([, v]) => !(v.show_in_responses ?? v.show_in_results)).map(([k]) => k);
|
|
@@ -3013,8 +3078,12 @@ function getDiscoveryParams(formType, variant, mode = "full") {
|
|
|
3013
3078
|
// ../config/logic-types.js
|
|
3014
3079
|
function isBranchingActive(node) {
|
|
3015
3080
|
if (!node) return true;
|
|
3081
|
+
if (isMultiSelectChoice(node)) return false;
|
|
3016
3082
|
return node.type === "choice" || node.type === "binary" ? node.config?.choice?.enable_branching === true : true;
|
|
3017
3083
|
}
|
|
3084
|
+
function isMultiSelectChoice(node) {
|
|
3085
|
+
return node?.type === "choice" && node.config?.selection_mode === "multiple";
|
|
3086
|
+
}
|
|
3018
3087
|
function isOptionEdge(action) {
|
|
3019
3088
|
return !!action?.condition?.vars?.some((v) => v.type === "option");
|
|
3020
3089
|
}
|
|
@@ -3650,6 +3719,7 @@ export {
|
|
|
3650
3719
|
stripGatedConfigKeys,
|
|
3651
3720
|
ACTIVE_NODE_TYPES,
|
|
3652
3721
|
NON_COUNTABLE_TYPES,
|
|
3722
|
+
PII_NODE_TYPES,
|
|
3653
3723
|
ANON_MCP_BLOCKED_NODE_TYPES,
|
|
3654
3724
|
isAnonMcpLockedNode,
|
|
3655
3725
|
FORM_TYPES,
|
|
@@ -3679,4 +3749,4 @@ export {
|
|
|
3679
3749
|
textResult,
|
|
3680
3750
|
structuredResult
|
|
3681
3751
|
};
|
|
3682
|
-
//# sourceMappingURL=chunk-
|
|
3752
|
+
//# sourceMappingURL=chunk-RCV5SMNI.js.map
|