@clipform/mcp-server 5.0.0 → 5.1.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-RFKLWZJV.js → chunk-25QAMDHS.js} +2 -2
- package/dist/{chunk-LTLKJKNR.js → chunk-DWFBJMC5.js} +3 -3
- package/dist/{chunk-ZZYBRWG3.js → chunk-QED4R32Z.js} +50 -10
- package/dist/chunk-QED4R32Z.js.map +1 -0
- package/dist/{chunk-VERNZWHH.js → chunk-RHMP5D55.js} +34 -9
- package/dist/{chunk-VERNZWHH.js.map → chunk-RHMP5D55.js.map} +1 -1
- package/dist/{chunk-DEVQTVXL.js → chunk-WZ4LCPSY.js} +5 -4
- package/dist/{chunk-DEVQTVXL.js.map → chunk-WZ4LCPSY.js.map} +1 -1
- 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-ZZYBRWG3.js.map +0 -1
- /package/dist/{chunk-RFKLWZJV.js.map → chunk-25QAMDHS.js.map} +0 -0
- /package/dist/{chunk-LTLKJKNR.js.map → chunk-DWFBJMC5.js.map} +0 -0
package/dist/api-client.js
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
CURRENT_PLAN_VERSIONS,
|
|
3
3
|
PLAN_LIMITS,
|
|
4
4
|
callApi
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-QED4R32Z.js";
|
|
6
6
|
import {
|
|
7
7
|
getMcpAuth
|
|
8
8
|
} from "./chunk-ENVV65JX.js";
|
|
@@ -145,4 +145,4 @@ export {
|
|
|
145
145
|
getSessionContextWithAuth,
|
|
146
146
|
getSessionContext
|
|
147
147
|
};
|
|
148
|
-
//# sourceMappingURL=chunk-
|
|
148
|
+
//# sourceMappingURL=chunk-25QAMDHS.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FULL_CAPS,
|
|
3
3
|
getSessionContext
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-25QAMDHS.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-QED4R32Z.js";
|
|
11
11
|
import {
|
|
12
12
|
getMcpAuth
|
|
13
13
|
} from "./chunk-ENVV65JX.js";
|
|
@@ -146,4 +146,4 @@ export {
|
|
|
146
146
|
getGuideUri,
|
|
147
147
|
registerResources
|
|
148
148
|
};
|
|
149
|
-
//# sourceMappingURL=chunk-
|
|
149
|
+
//# sourceMappingURL=chunk-DWFBJMC5.js.map
|
|
@@ -244,9 +244,14 @@ var FEATURES = {
|
|
|
244
244
|
},
|
|
245
245
|
node_booking: {
|
|
246
246
|
name: "Booking",
|
|
247
|
-
description: "Calendly
|
|
248
|
-
|
|
249
|
-
|
|
247
|
+
description: "Calendly scheduling inside the form",
|
|
248
|
+
// GA 2026-11-08 with Calendly only (#5310). Google Meet stays dark behind
|
|
249
|
+
// integration_google_calendar until #5308/#5309 ship. The
|
|
250
|
+
// NODE_COMPANY_ALLOWLIST.node_booking entry below stays as a safety valve:
|
|
251
|
+
// flip enabled back to false to pull it behind the allowlist again.
|
|
252
|
+
enabled: true,
|
|
253
|
+
status: "live",
|
|
254
|
+
wentLiveAt: "2026-11-08",
|
|
250
255
|
category: "node-types"
|
|
251
256
|
},
|
|
252
257
|
node_draw: {
|
|
@@ -605,6 +610,17 @@ var FEATURES = {
|
|
|
605
610
|
wentLiveAt: "2026-09-07",
|
|
606
611
|
category: "integrations"
|
|
607
612
|
},
|
|
613
|
+
// Hub-only gate (#5482): manage Stripe (connect/disconnect) from the
|
|
614
|
+
// Integrations hub. NOT an `integration_*` key on purpose - integration_stripe
|
|
615
|
+
// is globally live (payment node GA), so it cannot gate a hub card that is
|
|
616
|
+
// internal-first. Referenced by the catalog's `hub_feature` on `stripe`.
|
|
617
|
+
stripe_hub_management: {
|
|
618
|
+
name: "Stripe on the Integrations hub",
|
|
619
|
+
description: "Connect and disconnect Stripe from the Integrations hub",
|
|
620
|
+
enabled: false,
|
|
621
|
+
status: "beta",
|
|
622
|
+
category: "integrations"
|
|
623
|
+
},
|
|
608
624
|
integration_paddle: {
|
|
609
625
|
name: "Paddle",
|
|
610
626
|
description: "Accept payments with Paddle",
|
|
@@ -622,8 +638,11 @@ var FEATURES = {
|
|
|
622
638
|
integration_calendly: {
|
|
623
639
|
name: "Calendly",
|
|
624
640
|
description: "Schedule meetings directly in your forms",
|
|
625
|
-
|
|
626
|
-
|
|
641
|
+
// GA 2026-11-08 with the Booking node (#5310); the allowlist entry below
|
|
642
|
+
// stays as the safety valve.
|
|
643
|
+
enabled: true,
|
|
644
|
+
status: "live",
|
|
645
|
+
wentLiveAt: "2026-11-08",
|
|
627
646
|
category: "integrations"
|
|
628
647
|
},
|
|
629
648
|
integration_google_calendar: {
|
|
@@ -872,6 +891,7 @@ var HELP_TOPICS = {
|
|
|
872
891
|
node_end_screen: { path: "/help/node-types", anchor: "end-screen" },
|
|
873
892
|
node_redirect: { path: "/help/node-types", anchor: "redirect" },
|
|
874
893
|
node_file_download: { path: "/help/node-types", anchor: "file-download" },
|
|
894
|
+
node_booking: { path: "/help/node-types", anchor: "booking" },
|
|
875
895
|
node_payment: { path: "/help/node-types", anchor: "payment" }
|
|
876
896
|
};
|
|
877
897
|
function buildHelpLinks(docsBaseUrl) {
|
|
@@ -1330,7 +1350,7 @@ var NODE_TYPES = {
|
|
|
1330
1350
|
shorthand: "Booking",
|
|
1331
1351
|
icon: "Calendar",
|
|
1332
1352
|
color: "#E9D5FF",
|
|
1333
|
-
description:
|
|
1353
|
+
description: "Let respondents book a meeting on a connected Calendly account without leaving the form",
|
|
1334
1354
|
category: "action",
|
|
1335
1355
|
sort_order: 8,
|
|
1336
1356
|
has_options: false,
|
|
@@ -1367,7 +1387,8 @@ var NODE_TYPES = {
|
|
|
1367
1387
|
config_schema: {
|
|
1368
1388
|
type: "object",
|
|
1369
1389
|
properties: {
|
|
1370
|
-
|
|
1390
|
+
// google_meet ships dark until integration_google_calendar is live (#5310).
|
|
1391
|
+
provider: { type: "string", enum: BOOKING_PROVIDERS, enum_features: { google_meet: "integration_google_calendar" }, label: "Provider", description: "Scheduling provider (one per node)" },
|
|
1371
1392
|
workspace_integration_id: { type: "string", description: "Connected workspace integration (calendar account) this booking uses" },
|
|
1372
1393
|
title: { type: "string", label: "Heading", maxLength: 80, description: "Heading shown above the scheduler", anon_locked_keep: true },
|
|
1373
1394
|
description: { type: "string", label: "Description", maxLength: 140, description: "Body text shown below the heading", anon_locked_keep: true },
|
|
@@ -2739,10 +2760,27 @@ function validateFeatureMarkers(nodeTypes, features) {
|
|
|
2739
2760
|
if (prop.feature !== void 0 && !features[prop.feature]) {
|
|
2740
2761
|
throw new Error(`NODE_TYPES.${type}.config_schema.${key}: feature "${prop.feature}" is not in FEATURES`);
|
|
2741
2762
|
}
|
|
2763
|
+
for (const [value, feature] of Object.entries(prop.enum_features ?? {})) {
|
|
2764
|
+
if (!prop.enum?.includes(value)) {
|
|
2765
|
+
throw new Error(`NODE_TYPES.${type}.config_schema.${key}: enum_features value "${value}" is not in its enum`);
|
|
2766
|
+
}
|
|
2767
|
+
if (!features[feature]) {
|
|
2768
|
+
throw new Error(`NODE_TYPES.${type}.config_schema.${key}: enum_features feature "${feature}" is not in FEATURES`);
|
|
2769
|
+
}
|
|
2770
|
+
}
|
|
2742
2771
|
}
|
|
2743
2772
|
}
|
|
2744
2773
|
}
|
|
2745
2774
|
validateFeatureMarkers(NODE_TYPES, FEATURES);
|
|
2775
|
+
function gatedEnumValues(type, key) {
|
|
2776
|
+
const prop = NODE_TYPES[type]?.config_schema?.properties?.[key];
|
|
2777
|
+
return new Set(
|
|
2778
|
+
Object.entries(prop?.enum_features ?? {}).filter(([, feature]) => !FEATURES[feature]?.enabled).map(([value]) => value)
|
|
2779
|
+
);
|
|
2780
|
+
}
|
|
2781
|
+
function holdsGatedEnumValue(type, key, value) {
|
|
2782
|
+
return typeof value === "string" && gatedEnumValues(type, key).has(value);
|
|
2783
|
+
}
|
|
2746
2784
|
function gatedConfigKeys(type) {
|
|
2747
2785
|
const props = NODE_TYPES[type]?.config_schema?.properties ?? {};
|
|
2748
2786
|
return new Set(
|
|
@@ -2752,9 +2790,10 @@ function gatedConfigKeys(type) {
|
|
|
2752
2790
|
function stripGatedConfigKeys(type, config) {
|
|
2753
2791
|
if (!config || typeof config !== "object") return { config, dropped: [] };
|
|
2754
2792
|
const gated = gatedConfigKeys(type);
|
|
2755
|
-
const
|
|
2793
|
+
const isGated = ([k, v]) => gated.has(k) || holdsGatedEnumValue(type, k, v);
|
|
2794
|
+
const dropped = Object.entries(config).filter(isGated).map(([k]) => k);
|
|
2756
2795
|
if (dropped.length === 0) return { config, dropped };
|
|
2757
|
-
return { config: Object.fromEntries(Object.entries(config).filter((
|
|
2796
|
+
return { config: Object.fromEntries(Object.entries(config).filter((e) => !isGated(e))), dropped };
|
|
2758
2797
|
}
|
|
2759
2798
|
var NODE_TYPES_LIST = Object.entries(NODE_TYPES).map(([type, def]) => ({ type, ...def })).sort((a, b) => a.sort_order - b.sort_order);
|
|
2760
2799
|
var ACTIVE_NODE_TYPES = Object.entries(NODE_TYPES).filter(([, def]) => def.is_active && !def.is_system).map(([type]) => type);
|
|
@@ -3823,6 +3862,7 @@ function structuredResult(text, structuredContent) {
|
|
|
3823
3862
|
export {
|
|
3824
3863
|
FEATURE_FLAGS,
|
|
3825
3864
|
NODE_TYPES,
|
|
3865
|
+
gatedEnumValues,
|
|
3826
3866
|
gatedConfigKeys,
|
|
3827
3867
|
stripGatedConfigKeys,
|
|
3828
3868
|
ACTIVE_NODE_TYPES,
|
|
@@ -3860,4 +3900,4 @@ export {
|
|
|
3860
3900
|
textResult,
|
|
3861
3901
|
structuredResult
|
|
3862
3902
|
};
|
|
3863
|
-
//# sourceMappingURL=chunk-
|
|
3903
|
+
//# sourceMappingURL=chunk-QED4R32Z.js.map
|