@clipform/mcp-server 5.17.0 → 5.19.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-WWFCE5WZ.js → chunk-267KDJVO.js} +41 -7
- package/dist/chunk-267KDJVO.js.map +1 -0
- package/dist/{chunk-UNBHNTXB.js → chunk-KAZSNRNF.js} +104 -13
- package/dist/chunk-KAZSNRNF.js.map +1 -0
- package/dist/{chunk-44EKWJYD.js → chunk-NWKND52B.js} +3 -3
- package/dist/{chunk-GFSORADL.js → chunk-SOYW4CQX.js} +2 -2
- package/dist/{chunk-LYWTKEW6.js → chunk-UCGO7VI7.js} +3 -3
- package/dist/index.js +5 -5
- package/dist/prompts.js +3 -3
- package/dist/resources.js +3 -3
- package/dist/server.d.ts +7 -0
- package/dist/server.js +5 -5
- package/package.json +1 -1
- package/server.json +2 -2
- package/dist/chunk-UNBHNTXB.js.map +0 -1
- package/dist/chunk-WWFCE5WZ.js.map +0 -1
- /package/dist/{chunk-44EKWJYD.js.map → chunk-NWKND52B.js.map} +0 -0
- /package/dist/{chunk-GFSORADL.js.map → chunk-SOYW4CQX.js.map} +0 -0
- /package/dist/{chunk-LYWTKEW6.js.map → chunk-UCGO7VI7.js.map} +0 -0
package/dist/api-client.js
CHANGED
|
@@ -142,6 +142,18 @@ var FEATURES = {
|
|
|
142
142
|
status: "beta",
|
|
143
143
|
category: "builder"
|
|
144
144
|
},
|
|
145
|
+
template_walkthrough: {
|
|
146
|
+
name: "Template walkthrough",
|
|
147
|
+
description: "A walkthrough written for a company, shown when someone opens their copy of a template in the builder",
|
|
148
|
+
// Dogfood-only (#6269): invisible beta - enabled:false, never 'live'/'planned' so
|
|
149
|
+
// no public surface lists it. Gates AUTHORING only (writing node.config.guide through
|
|
150
|
+
// the API and the MCP's clipform_set_node_guide), via getFeatureAccess for
|
|
151
|
+
// FEATURE_COMPANY_ALLOWLIST.template_walkthrough. Display needs no flag: only copies of
|
|
152
|
+
// a Clipform Public form show a walkthrough.
|
|
153
|
+
enabled: false,
|
|
154
|
+
status: "beta",
|
|
155
|
+
category: "builder"
|
|
156
|
+
},
|
|
145
157
|
custom_fonts: {
|
|
146
158
|
name: "Custom fonts",
|
|
147
159
|
description: "Upload and use custom fonts in forms",
|
|
@@ -1039,6 +1051,9 @@ var HELP_TOPICS = {
|
|
|
1039
1051
|
publicResults: { path: "/help/public-results", anchor: null },
|
|
1040
1052
|
trash: { path: "/help/managing-forms", anchor: "trash" },
|
|
1041
1053
|
customDomains: { path: "/help/domains", anchor: null },
|
|
1054
|
+
// Settings > Profile > Delete account (#6314): the 30-day processing time
|
|
1055
|
+
// and "cancel Pro first" live here, not on the card.
|
|
1056
|
+
deleteAccount: { path: "/help/account", anchor: "delete-your-account" },
|
|
1042
1057
|
customPath: { path: "/help/links", anchor: "custom-path-on-your-domain" },
|
|
1043
1058
|
// Per-node-type deep-links into help/node-types.mdx (#3963). Keyed
|
|
1044
1059
|
// `node_<nodeType>` so nodeHelpLink() (index.js) can look one up straight
|
|
@@ -1057,11 +1072,10 @@ var HELP_TOPICS = {
|
|
|
1057
1072
|
// Keyed by FEATURES key so a non-node launch announcement (What's new, #3705) gets a
|
|
1058
1073
|
// "Learn more" action: useWhatsNew falls back to HELP_LINKS[featureKey].
|
|
1059
1074
|
import_typeform: { path: "/help/import-typeform", anchor: null },
|
|
1060
|
-
// The MCP setup guide
|
|
1061
|
-
//
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
mcpChatgpt: { path: "/api/mcp", anchor: "chatgpt" }
|
|
1075
|
+
// The MCP setup guide (#6241): the Developers AI tab's one docs link. Claude
|
|
1076
|
+
// and ChatGPT's steps moved onto the tab itself (#6300), so their per-client
|
|
1077
|
+
// anchors went.
|
|
1078
|
+
mcp: { path: "/api/mcp", anchor: null }
|
|
1065
1079
|
};
|
|
1066
1080
|
function buildHelpLinks(docsBaseUrl) {
|
|
1067
1081
|
const links = {};
|
|
@@ -3587,6 +3601,20 @@ function bfsOrder(nodes, logicByNode) {
|
|
|
3587
3601
|
return ordered;
|
|
3588
3602
|
}
|
|
3589
3603
|
|
|
3604
|
+
// ../config/guide.js
|
|
3605
|
+
var GUIDE_CONFIG_KEY = "guide";
|
|
3606
|
+
var GUIDE_LIMITS = Object.freeze({
|
|
3607
|
+
titleMax: 60,
|
|
3608
|
+
bodyMax: 280,
|
|
3609
|
+
maxTourSteps: 5,
|
|
3610
|
+
maxChecklistItems: 6,
|
|
3611
|
+
// The getting-started card is 288px wide and its rows wrap: about two lines each at these sizes (#6275).
|
|
3612
|
+
checklistLabelMax: 40,
|
|
3613
|
+
checklistDescriptionMax: 80
|
|
3614
|
+
});
|
|
3615
|
+
var GUIDE_TOUR_ANCHORS = Object.freeze(["node", "share"]);
|
|
3616
|
+
var COMPANY_CHECKLIST_KINDS = Object.freeze(["record_video", "preview", "connect", "go_live", "claim_account"]);
|
|
3617
|
+
|
|
3590
3618
|
// ../config/index.js
|
|
3591
3619
|
var isServer = typeof window === "undefined";
|
|
3592
3620
|
var isBrowser = typeof window !== "undefined";
|
|
@@ -4036,7 +4064,7 @@ function exposedCompositionIds(includeNonPublic) {
|
|
|
4036
4064
|
}
|
|
4037
4065
|
var SCENE_LAYER_COMPOSITION_IDS = COMPOSITION_REGISTRY.filter((c) => c.scene_layer).map((c) => c.id);
|
|
4038
4066
|
var MCP_TOOL_TIERS = {};
|
|
4039
|
-
var MCP_SESSION_GATED_TOOLS = Object.freeze(["clipform_set_link_variables"]);
|
|
4067
|
+
var MCP_SESSION_GATED_TOOLS = Object.freeze(["clipform_set_link_variables", "clipform_set_node_guide"]);
|
|
4040
4068
|
var MCP_TOOL_TOOLSETS = {
|
|
4041
4069
|
// account: workspace/account-scoped read + admin tools.
|
|
4042
4070
|
clipform_list_forms: "account",
|
|
@@ -4054,6 +4082,7 @@ var MCP_TOOL_TOOLSETS = {
|
|
|
4054
4082
|
clipform_update_form: "forms",
|
|
4055
4083
|
clipform_set_logic: "forms",
|
|
4056
4084
|
clipform_set_link_variables: "forms",
|
|
4085
|
+
clipform_set_node_guide: "forms",
|
|
4057
4086
|
clipform_get_guide: "forms",
|
|
4058
4087
|
clipform_get_workflow: "forms",
|
|
4059
4088
|
// research: third-party content lookup + generation-workflow audit.
|
|
@@ -4101,6 +4130,7 @@ var MCP_ANON_TOOLS = Object.freeze({
|
|
|
4101
4130
|
clipform_update_form: "anon",
|
|
4102
4131
|
clipform_set_logic: "anon",
|
|
4103
4132
|
clipform_set_link_variables: "sign_in",
|
|
4133
|
+
clipform_set_node_guide: "sign_in",
|
|
4104
4134
|
clipform_get_guide: "anon_no_workspace",
|
|
4105
4135
|
clipform_get_workflow: "anon_no_workspace",
|
|
4106
4136
|
// research
|
|
@@ -4407,6 +4437,10 @@ export {
|
|
|
4407
4437
|
ANON_MCP_LIVE_TTL_DAYS,
|
|
4408
4438
|
defaultTarget,
|
|
4409
4439
|
bfsOrder,
|
|
4440
|
+
GUIDE_CONFIG_KEY,
|
|
4441
|
+
GUIDE_LIMITS,
|
|
4442
|
+
GUIDE_TOUR_ANCHORS,
|
|
4443
|
+
COMPANY_CHECKLIST_KINDS,
|
|
4410
4444
|
PROD_URLS,
|
|
4411
4445
|
viewerUrl,
|
|
4412
4446
|
PLAN_LIMITS,
|
|
@@ -4434,4 +4468,4 @@ export {
|
|
|
4434
4468
|
textResult,
|
|
4435
4469
|
structuredResult
|
|
4436
4470
|
};
|
|
4437
|
-
//# sourceMappingURL=chunk-
|
|
4471
|
+
//# sourceMappingURL=chunk-267KDJVO.js.map
|