@clipform/mcp-server 5.19.0 → 5.20.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-SOYW4CQX.js → chunk-4U235K5L.js} +2 -2
- package/dist/{chunk-UCGO7VI7.js → chunk-E2ORDV2Y.js} +3 -3
- package/dist/{chunk-NWKND52B.js → chunk-H2XLORU7.js} +3 -3
- package/dist/{chunk-KAZSNRNF.js → chunk-MRMTV4FY.js} +29 -8
- package/dist/{chunk-KAZSNRNF.js.map → chunk-MRMTV4FY.js.map} +1 -1
- package/dist/{chunk-267KDJVO.js → chunk-MVZJFCTX.js} +5 -1
- package/dist/{chunk-267KDJVO.js.map → chunk-MVZJFCTX.js.map} +1 -1
- package/dist/index.js +5 -5
- package/dist/prompts.js +3 -3
- package/dist/resources.js +3 -3
- package/dist/server.js +5 -5
- package/package.json +1 -1
- package/server.json +2 -2
- /package/dist/{chunk-SOYW4CQX.js.map → chunk-4U235K5L.js.map} +0 -0
- /package/dist/{chunk-UCGO7VI7.js.map → chunk-E2ORDV2Y.js.map} +0 -0
- /package/dist/{chunk-NWKND52B.js.map → chunk-H2XLORU7.js.map} +0 -0
package/dist/api-client.js
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
CURRENT_PLAN_VERSIONS,
|
|
3
3
|
PLAN_LIMITS,
|
|
4
4
|
callApi
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-MVZJFCTX.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-
|
|
148
|
+
//# sourceMappingURL=chunk-4U235K5L.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FULL_CAPS,
|
|
3
3
|
getSessionContext
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4U235K5L.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-MVZJFCTX.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-E2ORDV2Y.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FULL_CAPS,
|
|
3
3
|
getSessionContextWithAuth
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4U235K5L.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-MVZJFCTX.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-H2XLORU7.js.map
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
union,
|
|
32
32
|
unknown,
|
|
33
33
|
url
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-H2XLORU7.js";
|
|
35
35
|
import {
|
|
36
36
|
GUIDE_TYPES,
|
|
37
37
|
QUIZ_VARIANTS,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
getGuideUri,
|
|
41
41
|
guideFallbackText,
|
|
42
42
|
registerResources
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-E2ORDV2Y.js";
|
|
44
44
|
import {
|
|
45
45
|
ANON_PREVIEW_LINK_LABEL,
|
|
46
46
|
ANON_PREVIEW_NOTICE,
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
isPreviewViewerUrl,
|
|
55
55
|
previewOnlyNotice,
|
|
56
56
|
withAdoptedNotice
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-4U235K5L.js";
|
|
58
58
|
import {
|
|
59
59
|
ACTIVE_NODE_TYPES,
|
|
60
60
|
ANON_MCP_BLOCKED_NODE_TYPES,
|
|
@@ -69,6 +69,8 @@ import {
|
|
|
69
69
|
FORM_TYPE_ALIASES,
|
|
70
70
|
GUIDE_CONFIG_KEY,
|
|
71
71
|
GUIDE_LIMITS,
|
|
72
|
+
GUIDE_NODE_SECTIONS,
|
|
73
|
+
GUIDE_SECTIONS,
|
|
72
74
|
GUIDE_TOUR_ANCHORS,
|
|
73
75
|
LINK_VARIABLE_PRESETS,
|
|
74
76
|
LOGIC_TARGET_TYPES,
|
|
@@ -118,7 +120,7 @@ import {
|
|
|
118
120
|
textResult,
|
|
119
121
|
validateVariableKey,
|
|
120
122
|
viewerUrl
|
|
121
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-MVZJFCTX.js";
|
|
122
124
|
import {
|
|
123
125
|
getMcpAuth,
|
|
124
126
|
runWithMcpAuth,
|
|
@@ -19204,10 +19206,29 @@ function registerSetLinkVariablesTool(server) {
|
|
|
19204
19206
|
|
|
19205
19207
|
// src/tools/set-node-guide.ts
|
|
19206
19208
|
var NOT_AVAILABLE2 = "Walkthrough notes are not available on this workspace.";
|
|
19209
|
+
var SECTION_LABELS = {
|
|
19210
|
+
media: "the video or image area",
|
|
19211
|
+
prompt: "the question text",
|
|
19212
|
+
body: "the answer area",
|
|
19213
|
+
formats: "the answer-type tiles",
|
|
19214
|
+
options: "the option list"
|
|
19215
|
+
};
|
|
19216
|
+
var TOUR_ANCHORS = [...GUIDE_TOUR_ANCHORS, ...GUIDE_SECTIONS];
|
|
19217
|
+
var SECTION_DOC = GUIDE_SECTIONS.map((name) => {
|
|
19218
|
+
const types = Object.entries(GUIDE_NODE_SECTIONS).filter(([, extra]) => extra.includes(name)).map(([type]) => type);
|
|
19219
|
+
return `"${name}" (${SECTION_LABELS[name]}${types.length ? `, ${types.join("/")} steps only` : ""})`;
|
|
19220
|
+
}).join(", ");
|
|
19221
|
+
function anchorText(anchor) {
|
|
19222
|
+
if (anchor === "share") return "points at Share";
|
|
19223
|
+
const label = SECTION_LABELS[anchor];
|
|
19224
|
+
return label ? `points at ${label}` : "points at the node";
|
|
19225
|
+
}
|
|
19207
19226
|
var TourSchema = external_exports.object({
|
|
19208
19227
|
title: external_exports.string().min(1).max(GUIDE_LIMITS.titleMax).describe(`Short heading, up to ${GUIDE_LIMITS.titleMax} characters`),
|
|
19209
19228
|
body: external_exports.string().min(1).max(GUIDE_LIMITS.bodyMax).describe(`The note, up to ${GUIDE_LIMITS.bodyMax} characters of plain text`),
|
|
19210
|
-
anchor: external_exports.enum(
|
|
19229
|
+
anchor: external_exports.enum(TOUR_ANCHORS).optional().describe(
|
|
19230
|
+
`Where the note points: "node" (default, the whole step), "share" for the closing note on the Share button, or one part of the step: ${SECTION_DOC}. A part the step's type does not have is refused with the valid ones. Example: anchor "media" on "This is where you add your video".`
|
|
19231
|
+
)
|
|
19211
19232
|
});
|
|
19212
19233
|
var ChecklistItemSchema = external_exports.object({
|
|
19213
19234
|
kind: external_exports.enum(COMPANY_CHECKLIST_KINDS).describe(
|
|
@@ -19219,7 +19240,7 @@ var ChecklistItemSchema = external_exports.object({
|
|
|
19219
19240
|
});
|
|
19220
19241
|
var IntroSchema = external_exports.object({
|
|
19221
19242
|
title: external_exports.string().min(1).max(GUIDE_LIMITS.titleMax).describe(`Who it was built for, up to ${GUIDE_LIMITS.titleMax} characters`),
|
|
19222
|
-
body: external_exports.string().min(1).max(GUIDE_LIMITS.bodyMax).describe(
|
|
19243
|
+
body: external_exports.string().min(1).max(GUIDE_LIMITS.bodyMax).describe(`What the form does for them: one or two plain sentences, four short lines at most (up to ${GUIDE_LIMITS.bodyMax} characters)`)
|
|
19223
19244
|
});
|
|
19224
19245
|
function registerSetNodeGuideTool(server) {
|
|
19225
19246
|
server.registerTool(
|
|
@@ -19267,7 +19288,7 @@ function registerSetNodeGuideTool(server) {
|
|
|
19267
19288
|
const parts = [];
|
|
19268
19289
|
if (tour !== void 0) {
|
|
19269
19290
|
parts.push(
|
|
19270
|
-
storedTour ? `Walkthrough note set on node ${node_id}: "${storedTour.title}" (${storedTour.anchor
|
|
19291
|
+
storedTour ? `Walkthrough note set on node ${node_id}: "${storedTour.title}" (${anchorText(storedTour.anchor)}).` : `Walkthrough note removed from node ${node_id}.`
|
|
19271
19292
|
);
|
|
19272
19293
|
}
|
|
19273
19294
|
if (intro !== void 0) {
|
|
@@ -21085,4 +21106,4 @@ export {
|
|
|
21085
21106
|
* MIT Licensed
|
|
21086
21107
|
*)
|
|
21087
21108
|
*/
|
|
21088
|
-
//# sourceMappingURL=chunk-
|
|
21109
|
+
//# sourceMappingURL=chunk-MRMTV4FY.js.map
|