@clipform/mcp-server 5.16.1 → 5.18.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-LYWTKEW6.js → chunk-DOXSGWYD.js} +3 -3
- package/dist/{chunk-44EKWJYD.js → chunk-HIEBNDBW.js} +3 -3
- package/dist/{chunk-WWFCE5WZ.js → chunk-K4NSJZAP.js} +31 -7
- package/dist/chunk-K4NSJZAP.js.map +1 -0
- package/dist/{chunk-GFSORADL.js → chunk-NRYDSMLT.js} +2 -2
- package/dist/{chunk-UNBHNTXB.js → chunk-THJUTILR.js} +82 -13
- package/dist/chunk-THJUTILR.js.map +1 -0
- 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-LYWTKEW6.js.map → chunk-DOXSGWYD.js.map} +0 -0
- /package/dist/{chunk-44EKWJYD.js.map → chunk-HIEBNDBW.js.map} +0 -0
- /package/dist/{chunk-GFSORADL.js.map → chunk-NRYDSMLT.js.map} +0 -0
package/dist/api-client.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FULL_CAPS,
|
|
3
3
|
getSessionContext
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-NRYDSMLT.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-K4NSJZAP.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-DOXSGWYD.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FULL_CAPS,
|
|
3
3
|
getSessionContextWithAuth
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-NRYDSMLT.js";
|
|
5
5
|
import {
|
|
6
6
|
FORM_TYPES,
|
|
7
7
|
MAX_CLIP_SECONDS,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
WORKFLOW_TYPES,
|
|
11
11
|
exposedCompositionIds,
|
|
12
12
|
getDiscoveryParams
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-K4NSJZAP.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
16
|
} from "./chunk-PZ5AY32C.js";
|
|
@@ -20462,4 +20462,4 @@ export {
|
|
|
20462
20462
|
getWorkflowText,
|
|
20463
20463
|
registerPrompts
|
|
20464
20464
|
};
|
|
20465
|
-
//# sourceMappingURL=chunk-
|
|
20465
|
+
//# sourceMappingURL=chunk-HIEBNDBW.js.map
|
|
@@ -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,11 @@ 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({ titleMax: 60, bodyMax: 280, maxTourSteps: 5 });
|
|
3607
|
+
var GUIDE_TOUR_ANCHORS = Object.freeze(["node", "share"]);
|
|
3608
|
+
|
|
3590
3609
|
// ../config/index.js
|
|
3591
3610
|
var isServer = typeof window === "undefined";
|
|
3592
3611
|
var isBrowser = typeof window !== "undefined";
|
|
@@ -4036,7 +4055,7 @@ function exposedCompositionIds(includeNonPublic) {
|
|
|
4036
4055
|
}
|
|
4037
4056
|
var SCENE_LAYER_COMPOSITION_IDS = COMPOSITION_REGISTRY.filter((c) => c.scene_layer).map((c) => c.id);
|
|
4038
4057
|
var MCP_TOOL_TIERS = {};
|
|
4039
|
-
var MCP_SESSION_GATED_TOOLS = Object.freeze(["clipform_set_link_variables"]);
|
|
4058
|
+
var MCP_SESSION_GATED_TOOLS = Object.freeze(["clipform_set_link_variables", "clipform_set_node_guide"]);
|
|
4040
4059
|
var MCP_TOOL_TOOLSETS = {
|
|
4041
4060
|
// account: workspace/account-scoped read + admin tools.
|
|
4042
4061
|
clipform_list_forms: "account",
|
|
@@ -4054,6 +4073,7 @@ var MCP_TOOL_TOOLSETS = {
|
|
|
4054
4073
|
clipform_update_form: "forms",
|
|
4055
4074
|
clipform_set_logic: "forms",
|
|
4056
4075
|
clipform_set_link_variables: "forms",
|
|
4076
|
+
clipform_set_node_guide: "forms",
|
|
4057
4077
|
clipform_get_guide: "forms",
|
|
4058
4078
|
clipform_get_workflow: "forms",
|
|
4059
4079
|
// research: third-party content lookup + generation-workflow audit.
|
|
@@ -4101,6 +4121,7 @@ var MCP_ANON_TOOLS = Object.freeze({
|
|
|
4101
4121
|
clipform_update_form: "anon",
|
|
4102
4122
|
clipform_set_logic: "anon",
|
|
4103
4123
|
clipform_set_link_variables: "sign_in",
|
|
4124
|
+
clipform_set_node_guide: "sign_in",
|
|
4104
4125
|
clipform_get_guide: "anon_no_workspace",
|
|
4105
4126
|
clipform_get_workflow: "anon_no_workspace",
|
|
4106
4127
|
// research
|
|
@@ -4407,6 +4428,9 @@ export {
|
|
|
4407
4428
|
ANON_MCP_LIVE_TTL_DAYS,
|
|
4408
4429
|
defaultTarget,
|
|
4409
4430
|
bfsOrder,
|
|
4431
|
+
GUIDE_CONFIG_KEY,
|
|
4432
|
+
GUIDE_LIMITS,
|
|
4433
|
+
GUIDE_TOUR_ANCHORS,
|
|
4410
4434
|
PROD_URLS,
|
|
4411
4435
|
viewerUrl,
|
|
4412
4436
|
PLAN_LIMITS,
|
|
@@ -4434,4 +4458,4 @@ export {
|
|
|
4434
4458
|
textResult,
|
|
4435
4459
|
structuredResult
|
|
4436
4460
|
};
|
|
4437
|
-
//# sourceMappingURL=chunk-
|
|
4461
|
+
//# sourceMappingURL=chunk-K4NSJZAP.js.map
|