@clipform/mcp-server 2.15.11 → 2.16.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.
@@ -3,7 +3,7 @@ import {
3
3
  WORKFLOW_TYPES,
4
4
  getDiscoveryParams,
5
5
  getSessionContextWithAuth
6
- } from "./chunk-CW6LYA3K.js";
6
+ } from "./chunk-ZHXMQ2PV.js";
7
7
  import {
8
8
  __export
9
9
  } from "./chunk-G3PMV62Z.js";
@@ -4856,4 +4856,4 @@ export {
4856
4856
  getWorkflowText,
4857
4857
  registerPrompts
4858
4858
  };
4859
- //# sourceMappingURL=chunk-PCRTQ4DJ.js.map
4859
+ //# sourceMappingURL=chunk-JJZ66MGO.js.map
@@ -6,7 +6,7 @@ import {
6
6
  getWorkflowText,
7
7
  objectType,
8
8
  registerPrompts
9
- } from "./chunk-PCRTQ4DJ.js";
9
+ } from "./chunk-JJZ66MGO.js";
10
10
  import {
11
11
  GUIDE_TYPES,
12
12
  QUIZ_VARIANTS,
@@ -15,7 +15,7 @@ import {
15
15
  getGuideUri,
16
16
  guideFallbackText,
17
17
  registerResources
18
- } from "./chunk-F3MU6JRT.js";
18
+ } from "./chunk-V7ASONAL.js";
19
19
  import {
20
20
  ACTIVE_NODE_TYPES,
21
21
  CONTACT_FIELDS,
@@ -40,7 +40,7 @@ import {
40
40
  resolveFormType,
41
41
  structuredResult,
42
42
  textResult
43
- } from "./chunk-CW6LYA3K.js";
43
+ } from "./chunk-ZHXMQ2PV.js";
44
44
  import {
45
45
  getMcpAuth,
46
46
  runWithMcpTool
@@ -20803,4 +20803,4 @@ export {
20803
20803
  buildInstructions,
20804
20804
  createServer
20805
20805
  };
20806
- //# sourceMappingURL=chunk-2ONI6XP5.js.map
20806
+ //# sourceMappingURL=chunk-M3XVFSUP.js.map
@@ -5,7 +5,7 @@ import {
5
5
  FULL_CAPS,
6
6
  callApi,
7
7
  getSessionContext
8
- } from "./chunk-CW6LYA3K.js";
8
+ } from "./chunk-ZHXMQ2PV.js";
9
9
 
10
10
  // src/lib/guides.ts
11
11
  var guidesPromise = null;
@@ -143,4 +143,4 @@ export {
143
143
  getGuideUri,
144
144
  registerResources
145
145
  };
146
- //# sourceMappingURL=chunk-F3MU6JRT.js.map
146
+ //# sourceMappingURL=chunk-V7ASONAL.js.map
@@ -210,6 +210,18 @@ var FEATURES = {
210
210
  status: "planned",
211
211
  category: "node-types"
212
212
  },
213
+ node_conditional: {
214
+ name: "Conditional",
215
+ description: "Route the flow to different branches based on Score",
216
+ // Scaffolded disabled (#4105, phase 1 of the #4104 variables engine): code
217
+ // lands ready, but node.type's DB check constraint doesn't accept
218
+ // 'conditional' yet - that's a separate parked holds-migration PR. Flip
219
+ // once the migration has merged (= applied to prod) and the apps have
220
+ // deployed (camera precedent, #2097).
221
+ enabled: false,
222
+ status: "planned",
223
+ category: "node-types"
224
+ },
213
225
  node_payment: {
214
226
  name: "Payment",
215
227
  description: "Collect payments via Stripe or Paddle inline",
@@ -520,9 +532,9 @@ var FEATURES = {
520
532
  },
521
533
  integration_slack: {
522
534
  name: "Slack",
523
- description: "Send notifications to Slack channels",
535
+ description: "Post a summary of every completed response to a Slack channel",
524
536
  enabled: false,
525
- status: "planned",
537
+ status: "beta",
526
538
  category: "integrations"
527
539
  },
528
540
  integration_shopify: {
@@ -683,6 +695,9 @@ var NODE_TYPES = {
683
695
  supports_media: false,
684
696
  is_system: true,
685
697
  show_in_results: false,
698
+ // Never appears in a completed submission's answers (system node, no
699
+ // output_schema) - false is a no-op default, set for guard-test coverage.
700
+ notify_inline: false,
686
701
  default_config: null,
687
702
  config_schema: null,
688
703
  response_schema: null,
@@ -707,6 +722,8 @@ var NODE_TYPES = {
707
722
  supports_media: true,
708
723
  is_system: false,
709
724
  show_in_results: true,
725
+ // Short selected-option label - safe to render inline in a notification (#4154).
726
+ notify_inline: true,
710
727
  default_config: {
711
728
  selection_mode: "single",
712
729
  choice: { enable_branching: false, record_scores: false },
@@ -814,6 +831,10 @@ var NODE_TYPES = {
814
831
  supports_media: true,
815
832
  is_system: false,
816
833
  show_in_results: true,
834
+ // True for the common short-text case; a channel notification (#4154)
835
+ // still swaps a recorded audio/video answer for a typed placeholder
836
+ // based on the answer's own media type, not this flag.
837
+ notify_inline: true,
817
838
  default_config: {
818
839
  formats: [
819
840
  { order: 0, format: "text" },
@@ -951,6 +972,8 @@ var NODE_TYPES = {
951
972
  supports_media: true,
952
973
  is_system: false,
953
974
  show_in_results: true,
975
+ // A bare numeric value - short enough to render inline (#4154).
976
+ notify_inline: true,
954
977
  default_config: null,
955
978
  config_schema: {
956
979
  type: "object",
@@ -985,6 +1008,9 @@ var NODE_TYPES = {
985
1008
  supports_media: false,
986
1009
  is_system: false,
987
1010
  show_in_results: true,
1011
+ // Structured provider data (calendly/google_meet), not a flat value -
1012
+ // a notification renders a typed placeholder instead (#4154).
1013
+ notify_inline: false,
988
1014
  default_config: null,
989
1015
  config_schema: {
990
1016
  type: "object",
@@ -1063,6 +1089,9 @@ var NODE_TYPES = {
1063
1089
  // charted) but DOES show in the per-response Responses table, where each
1064
1090
  // lead's contact fields are actionable (#746).
1065
1091
  show_in_responses: true,
1092
+ // Key contact fields (first name, email) are the whole point of a
1093
+ // notification for this node type - always inline (#4154).
1094
+ notify_inline: true,
1066
1095
  default_config: {
1067
1096
  fields: [
1068
1097
  { id: "first_name", type: "first_name", label: "First Name", enabled: true, required: true },
@@ -1219,6 +1248,8 @@ var NODE_TYPES = {
1219
1248
  supports_media: false,
1220
1249
  is_system: false,
1221
1250
  show_in_results: true,
1251
+ // Files, not a flat value - a notification renders a typed placeholder (#4154).
1252
+ notify_inline: false,
1222
1253
  default_config: null,
1223
1254
  config_schema: {
1224
1255
  type: "object",
@@ -1308,6 +1339,8 @@ var NODE_TYPES = {
1308
1339
  supports_media: true,
1309
1340
  is_system: false,
1310
1341
  show_in_results: true,
1342
+ // An image, not a flat value - a notification renders a typed placeholder (#4154).
1343
+ notify_inline: false,
1311
1344
  default_config: {
1312
1345
  paper_color: "#FAF9F6",
1313
1346
  stroke_colors: ["#1F2937", "#EF4444", "#3B82F6", "#22C55E", "#FACC15"],
@@ -1478,6 +1511,9 @@ var NODE_TYPES = {
1478
1511
  supports_media: false,
1479
1512
  is_system: false,
1480
1513
  show_in_results: true,
1514
+ // A captured photo/video, not a flat value - a notification renders a
1515
+ // typed placeholder (#4154).
1516
+ notify_inline: false,
1481
1517
  default_config: null,
1482
1518
  config_schema: {
1483
1519
  type: "object",
@@ -1559,6 +1595,42 @@ var NODE_TYPES = {
1559
1595
  }
1560
1596
  }
1561
1597
  },
1598
+ // Phase 1 of the variables engine (#4104, this node #4105): routes the
1599
+ // flow on a generic built-in Number (internally `score`, derived from
1600
+ // node_options.score -> ScoreState.cumulativeScore - see ROUTABLE_VARIABLES
1601
+ // in logic-types.js). Response-less and screen-less - the viewer evaluates
1602
+ // it transparently (no render) and continues to the matching branch. Each
1603
+ // branch is a node_options row (has_options:true); the branch edge is a
1604
+ // `jump` action anchored by the option's id (LogicAction.option_id).
1605
+ conditional: {
1606
+ label: "Conditional",
1607
+ shorthand: "If",
1608
+ icon: "Split",
1609
+ color: "#E0E7FF",
1610
+ description: "Route the flow based on Score",
1611
+ category: "logic",
1612
+ sort_order: 6.7,
1613
+ has_options: true,
1614
+ min_options: 2,
1615
+ max_options: 10,
1616
+ max_option_length: 40,
1617
+ is_terminal: false,
1618
+ show_nav_bar: false,
1619
+ loading: "eager",
1620
+ supports_prompt: false,
1621
+ supports_media: false,
1622
+ is_system: false,
1623
+ show_in_results: false,
1624
+ default_config: {
1625
+ options: [
1626
+ { content: "Branch 1" },
1627
+ { content: "Else" }
1628
+ ]
1629
+ },
1630
+ config_schema: null,
1631
+ response_schema: null,
1632
+ output_schema: null
1633
+ },
1562
1634
  payment: {
1563
1635
  label: "Payment",
1564
1636
  shorthand: "Payment",
@@ -1582,6 +1654,9 @@ var NODE_TYPES = {
1582
1654
  // case - the publish gate's own showcase waiver (graph-validation.js) still
1583
1655
  // names workspace_integration_id directly since it's the only per-type check today.
1584
1656
  connection_config_keys: ["workspace_integration_id"],
1657
+ // A payment confirmation line is the whole point of a notification for
1658
+ // this node type - always inline (#4154).
1659
+ notify_inline: true,
1585
1660
  default_config: { amount: null, currency: "usd", provider: "stripe" },
1586
1661
  config_schema: {
1587
1662
  type: "object",
@@ -1726,6 +1801,8 @@ var NODE_TYPES = {
1726
1801
  supports_media: true,
1727
1802
  is_system: false,
1728
1803
  show_in_results: true,
1804
+ // Short selected-option label - safe to render inline (#4154).
1805
+ notify_inline: true,
1729
1806
  default_config: {
1730
1807
  choice: { enable_branching: false },
1731
1808
  options: [
@@ -1788,6 +1865,8 @@ var NODE_TYPES = {
1788
1865
  supports_media: true,
1789
1866
  is_system: false,
1790
1867
  show_in_results: false,
1868
+ // Short selected-option label - safe to render inline (#4154).
1869
+ notify_inline: true,
1791
1870
  default_config: { options: [{ content: "Continue" }] },
1792
1871
  config_schema: {
1793
1872
  type: "object",
@@ -1826,6 +1905,9 @@ var NODE_TYPES = {
1826
1905
  supports_media: false,
1827
1906
  is_system: false,
1828
1907
  show_in_results: false,
1908
+ // Terminal node - never appears in a completed submission's answers
1909
+ // (filtered by NON_COUNTABLE_FILTER); false is a no-op default.
1910
+ notify_inline: false,
1829
1911
  default_config: { url: "", auto_redirect: true },
1830
1912
  config_schema: {
1831
1913
  type: "object",
@@ -1856,6 +1938,9 @@ var NODE_TYPES = {
1856
1938
  supports_media: false,
1857
1939
  is_system: false,
1858
1940
  show_in_results: false,
1941
+ // Terminal node - never appears in a completed submission's answers
1942
+ // (filtered by NON_COUNTABLE_FILTER); false is a no-op default.
1943
+ notify_inline: false,
1859
1944
  default_config: { links: [{ id: "default", url: "", title: "", description: "", order: 0 }], auto_redirect: false },
1860
1945
  config_schema: {
1861
1946
  type: "object",
@@ -1901,6 +1986,8 @@ var NODE_TYPES = {
1901
1986
  supports_media: false,
1902
1987
  is_system: false,
1903
1988
  show_in_results: true,
1989
+ // Files, not a flat value - a notification renders a typed placeholder (#4154).
1990
+ notify_inline: false,
1904
1991
  default_config: null,
1905
1992
  config_schema: {
1906
1993
  type: "object",
@@ -1981,6 +2068,8 @@ var NODE_TYPES = {
1981
2068
  supports_media: false,
1982
2069
  is_system: false,
1983
2070
  show_in_results: false,
2071
+ // No response_schema - never carries a flat answer value; false is a no-op default.
2072
+ notify_inline: false,
1984
2073
  default_config: { provider: "shopify", cta_mode: "checkout", source_mode: "manual" },
1985
2074
  config_schema: {
1986
2075
  type: "object",
@@ -2049,6 +2138,9 @@ var NODE_TYPES = {
2049
2138
  supports_media: false,
2050
2139
  is_system: false,
2051
2140
  show_in_results: false,
2141
+ // Terminal node - never appears in a completed submission's answers
2142
+ // (filtered by NON_COUNTABLE_FILTER); false is a no-op default.
2143
+ notify_inline: false,
2052
2144
  default_config: {
2053
2145
  title: "Thank you!",
2054
2146
  message: "Your response has been submitted."
@@ -2869,8 +2961,9 @@ var PLAN_LIMITS = {
2869
2961
  // usage above the base band IS charged once this deploys - the HUMAN LEGAL
2870
2962
  // REVIEW on LEGAL.billing below must clear before that go-live.
2871
2963
  //
2872
- // `response_limit` counts COMPLETED response sets only; partials never
2873
- // consume allowance.
2964
+ // `response_limit` counts COMPLETED submissions only (#4118: per completed
2965
+ // form_session, grandfathered pre-cutover as completed response sets - see
2966
+ // count_workspace_responses_this_month); partials never consume allowance.
2874
2967
  //
2875
2968
  // shopify_plan_handle is null until the matching Partner Dashboard plans
2876
2969
  // exist - so planVersionForShopifyPlan still maps Shopify's "Pro" to pro_v1
@@ -3295,4 +3388,4 @@ export {
3295
3388
  getSessionContextWithAuth,
3296
3389
  getSessionContext
3297
3390
  };
3298
- //# sourceMappingURL=chunk-CW6LYA3K.js.map
3391
+ //# sourceMappingURL=chunk-ZHXMQ2PV.js.map