@clipform/mcp-server 5.11.0 → 5.13.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.
@@ -607,6 +607,17 @@ var FEATURES = {
607
607
  status: "live",
608
608
  category: "ai"
609
609
  },
610
+ ai_builder_chat: {
611
+ name: "AI builder chat",
612
+ description: "Chat beside the builder canvas to add, reword and branch questions on the open form",
613
+ // Dogfood-only (#6139): invisible beta - enabled:false, never 'live'/'planned' so
614
+ // no public surface lists it. Available to FEATURE_COMPANY_ALLOWLIST.ai_builder_chat
615
+ // via getFeatureAccess (the builder toolbar toggle and POST /v1/ai/builder-chat).
616
+ // Undo (#6161) and a monthly per-plan cap (#6162) land before the global flip.
617
+ enabled: false,
618
+ status: "beta",
619
+ category: "ai"
620
+ },
610
621
  // -- API --
611
622
  public_api: {
612
623
  name: "Public API",
@@ -744,6 +755,20 @@ var FEATURES = {
744
755
  status: "beta",
745
756
  category: "integrations"
746
757
  },
758
+ integration_klaviyo: {
759
+ name: "Klaviyo",
760
+ description: "Log a Form Completed event on the shopper's Klaviyo profile when they complete a form",
761
+ enabled: false,
762
+ status: "beta",
763
+ category: "integrations"
764
+ },
765
+ integration_kit: {
766
+ name: "Kit",
767
+ description: "Tag a subscriber in Kit when they complete a form they opened from a Kit email",
768
+ enabled: false,
769
+ status: "beta",
770
+ category: "integrations"
771
+ },
747
772
  integration_shopify: {
748
773
  name: "Shopify",
749
774
  description: "Product recommendations from quiz results with direct checkout",
@@ -1108,14 +1133,6 @@ function isPersonalLinkKey(key) {
1108
1133
  return key.toLowerCase().split("_").some((token) => token === "email" || token === "phone" || token === "name");
1109
1134
  }
1110
1135
  var LINK_VARIABLE_PRESETS = [
1111
- {
1112
- id: "manychat",
1113
- tool: "ManyChat",
1114
- key: "mc_id",
1115
- type: "text",
1116
- snippet: "?mc_id={{user_id}}",
1117
- note: "Add this to the end of your form link in ManyChat."
1118
- },
1119
1136
  {
1120
1137
  id: "mailchimp",
1121
1138
  tool: "Mailchimp",
@@ -1130,7 +1147,8 @@ var LINK_VARIABLE_PRESETS = [
1130
1147
  key: "ck_subscriber_id",
1131
1148
  type: "text",
1132
1149
  snippet: null,
1133
- note: 'In Kit, turn on "Add subscriber_id parameter in email links" in advanced tracking. Kit then adds ck_subscriber_id to every link in your broadcasts and sequences.'
1150
+ note: 'In Kit, turn on "Add subscriber_id parameter in email links" in advanced tracking. Kit then adds ck_subscriber_id to every link in your broadcasts and sequences.',
1151
+ help_url: "https://help.kit.com/en/articles/9375532-global-advanced-tracking"
1134
1152
  }
1135
1153
  ];
1136
1154
  function linkVariablePreset(key) {
@@ -3607,6 +3625,11 @@ var VIDEO_COMPRESS_BITRATE = 35e5;
3607
3625
  var VIDEO_COMPRESS_FLOOR_BYTES = 1 * 1024 * 1024;
3608
3626
  var MEDIA_VIDEO_MAX_BYTES = 200 * 1024 * 1024;
3609
3627
  var FILE_DOWNLOAD_MAX_BYTES = 50 * 1024 * 1024;
3628
+ var VIDEO_COMPRESS_AUDIO_ALLOWANCE = 256e3;
3629
+ var VIDEO_COMPRESS_SIZE_MARGIN = 0.97;
3630
+ var VIDEO_COMPRESS_MAX_SECONDS = Math.floor(
3631
+ MEDIA_DIRECT_MAX_BYTES * 8 * VIDEO_COMPRESS_SIZE_MARGIN / (VIDEO_COMPRESS_BITRATE + VIDEO_COMPRESS_AUDIO_ALLOWANCE)
3632
+ );
3610
3633
  var VIDEO_COMPRESS_SKIP_BITRATE = VIDEO_COMPRESS_BITRATE * 1.5;
3611
3634
  var HELP_LINKS = buildHelpLinks(BUSINESS.urls.docs);
3612
3635
  function viewerUrl(shareId) {
@@ -3931,7 +3954,7 @@ function exposedCompositionIds(includeNonPublic) {
3931
3954
  }
3932
3955
  var SCENE_LAYER_COMPOSITION_IDS = COMPOSITION_REGISTRY.filter((c) => c.scene_layer).map((c) => c.id);
3933
3956
  var MCP_TOOL_TIERS = {};
3934
- var MCP_SESSION_GATED_TOOLS = Object.freeze(["clipform_set_link_fields"]);
3957
+ var MCP_SESSION_GATED_TOOLS = Object.freeze(["clipform_set_link_variables"]);
3935
3958
  var MCP_TOOL_TOOLSETS = {
3936
3959
  // account: workspace/account-scoped read + admin tools.
3937
3960
  clipform_list_forms: "account",
@@ -3948,7 +3971,7 @@ var MCP_TOOL_TOOLSETS = {
3948
3971
  clipform_delete_node: "forms",
3949
3972
  clipform_update_form: "forms",
3950
3973
  clipform_set_logic: "forms",
3951
- clipform_set_link_fields: "forms",
3974
+ clipform_set_link_variables: "forms",
3952
3975
  clipform_get_guide: "forms",
3953
3976
  clipform_get_workflow: "forms",
3954
3977
  // research: third-party content lookup + generation-workflow audit.
@@ -3995,7 +4018,7 @@ var MCP_ANON_TOOLS = Object.freeze({
3995
4018
  clipform_delete_node: "anon",
3996
4019
  clipform_update_form: "anon",
3997
4020
  clipform_set_logic: "anon",
3998
- clipform_set_link_fields: "sign_in",
4021
+ clipform_set_link_variables: "sign_in",
3999
4022
  clipform_get_guide: "anon_no_workspace",
4000
4023
  clipform_get_workflow: "anon_no_workspace",
4001
4024
  // research
@@ -4274,6 +4297,7 @@ export {
4274
4297
  findScoreVariable,
4275
4298
  VARIABLE_MAX_LINK_PER_FORM,
4276
4299
  isPersonalLinkKey,
4300
+ LINK_VARIABLE_PRESETS,
4277
4301
  linkVariablePreset,
4278
4302
  buildVariableLink,
4279
4303
  CONSENT_TYPES,
@@ -4328,4 +4352,4 @@ export {
4328
4352
  textResult,
4329
4353
  structuredResult
4330
4354
  };
4331
- //# sourceMappingURL=chunk-7NLXUGGN.js.map
4355
+ //# sourceMappingURL=chunk-OUUEFJ6K.js.map