@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.
@@ -6,7 +6,7 @@ import {
6
6
  recoveryHint,
7
7
  structuredResult,
8
8
  textResult
9
- } from "./chunk-ZZYBRWG3.js";
9
+ } from "./chunk-QED4R32Z.js";
10
10
  import "./chunk-ENVV65JX.js";
11
11
  import "./chunk-PBQ5BQWD.js";
12
12
  import "./chunk-PZ5AY32C.js";
@@ -2,7 +2,7 @@ import {
2
2
  CURRENT_PLAN_VERSIONS,
3
3
  PLAN_LIMITS,
4
4
  callApi
5
- } from "./chunk-ZZYBRWG3.js";
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-RFKLWZJV.js.map
148
+ //# sourceMappingURL=chunk-25QAMDHS.js.map
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  FULL_CAPS,
3
3
  getSessionContext
4
- } from "./chunk-RFKLWZJV.js";
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-ZZYBRWG3.js";
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-LTLKJKNR.js.map
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 or Google Meet scheduling inside the form",
248
- enabled: false,
249
- status: "planned",
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
- enabled: false,
626
- status: "planned",
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: null,
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
- provider: { type: "string", enum: BOOKING_PROVIDERS, label: "Provider", description: "Scheduling provider (one per node)" },
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 dropped = Object.keys(config).filter((k) => gated.has(k));
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(([k]) => !gated.has(k))), dropped };
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-ZZYBRWG3.js.map
3903
+ //# sourceMappingURL=chunk-QED4R32Z.js.map