@clipform/mcp-server 4.2.4 → 4.2.6
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/README.md +1 -1
- package/dist/api-client.js +1 -1
- package/dist/{chunk-LBNRRZTC.js → chunk-CWTZNXI6.js} +3 -3
- package/dist/{chunk-XW3FEMD4.js → chunk-F54BUSBA.js} +12 -13
- package/dist/{chunk-XW3FEMD4.js.map → chunk-F54BUSBA.js.map} +1 -1
- package/dist/{chunk-FFOQNI3B.js → chunk-LLSUTEEN.js} +3 -3
- package/dist/{chunk-NN77UKUQ.js → chunk-X2BSOY4P.js} +2 -2
- package/dist/{chunk-NZCRZDRQ.js → chunk-Z33U4XX7.js} +119 -31
- package/dist/chunk-Z33U4XX7.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.js +5 -5
- package/package.json +3 -3
- package/server.json +2 -2
- package/dist/chunk-NZCRZDRQ.js.map +0 -1
- /package/dist/{chunk-LBNRRZTC.js.map → chunk-CWTZNXI6.js.map} +0 -0
- /package/dist/{chunk-FFOQNI3B.js.map → chunk-LLSUTEEN.js.map} +0 -0
- /package/dist/{chunk-NN77UKUQ.js.map → chunk-X2BSOY4P.js.map} +0 -0
package/README.md
CHANGED
|
@@ -75,7 +75,7 @@ Your MCP client lists these automatically on connect (via `tools/list`). Full re
|
|
|
75
75
|
| `clipform_complete_media_upload` | Confirm a signed-PUT still image upload finished, after PUTting the bytes to the upload_url returned by clipform_upload_media_asset. |
|
|
76
76
|
| `clipform_attach_node_media` | Attach an existing workspace media asset (from clipform_upload_media_asset) to one or more nodes (max 10). |
|
|
77
77
|
| `clipform_get_node_media` | Get the media attached to a node, including processing status. |
|
|
78
|
-
| `clipform_delete_node_media` | Remove media from a node. |
|
|
78
|
+
| `clipform_delete_node_media` | Remove media from a node by unlinking it; the media asset and its files stay in the workspace library and keep working on any other node or live form that uses them. |
|
|
79
79
|
| `clipform_set_logic` | Set the next node for one or more nodes, wiring a linear route (A to B to C). |
|
|
80
80
|
| `clipform_log_generation` | Internal audit step run by a form-generation workflow. |
|
|
81
81
|
| `clipform_search_news` | Search recent news articles from NewsAPI and The Guardian and return them as structured results. |
|
package/dist/api-client.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FULL_CAPS,
|
|
3
3
|
getSessionContextWithAuth
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-X2BSOY4P.js";
|
|
5
5
|
import {
|
|
6
6
|
WORKFLOW_TYPES,
|
|
7
7
|
getDiscoveryParams
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-Z33U4XX7.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
11
|
} from "./chunk-PZ5AY32C.js";
|
|
@@ -15224,4 +15224,4 @@ export {
|
|
|
15224
15224
|
getWorkflowText,
|
|
15225
15225
|
registerPrompts
|
|
15226
15226
|
};
|
|
15227
|
-
//# sourceMappingURL=chunk-
|
|
15227
|
+
//# sourceMappingURL=chunk-CWTZNXI6.js.map
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
union,
|
|
30
30
|
unknown,
|
|
31
31
|
url
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-CWTZNXI6.js";
|
|
33
33
|
import {
|
|
34
34
|
GUIDE_TYPES,
|
|
35
35
|
QUIZ_VARIANTS,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
getGuideUri,
|
|
39
39
|
guideFallbackText,
|
|
40
40
|
registerResources
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-LLSUTEEN.js";
|
|
42
42
|
import {
|
|
43
43
|
ANON_PREVIEW_LINK_LABEL,
|
|
44
44
|
ANON_PREVIEW_NOTICE,
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
anonPreviewNotice,
|
|
50
50
|
capsFromToolsets,
|
|
51
51
|
isPreviewViewerUrl
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-X2BSOY4P.js";
|
|
53
53
|
import {
|
|
54
54
|
ACTIVE_NODE_TYPES,
|
|
55
55
|
CONTACT_FIELDS,
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
resolveFormType,
|
|
72
72
|
structuredResult,
|
|
73
73
|
textResult
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-Z33U4XX7.js";
|
|
75
75
|
import {
|
|
76
76
|
getMcpAuth,
|
|
77
77
|
runWithMcpAuth,
|
|
@@ -17857,7 +17857,7 @@ function registerDeleteNodeTool(server) {
|
|
|
17857
17857
|
"clipform_delete_node",
|
|
17858
17858
|
{
|
|
17859
17859
|
title: "Delete Node",
|
|
17860
|
-
description: `Delete a node from a form. The logic chain is automatically re-linked (the previous node will point to the next one). Cannot delete the start node or the last end screen. Requires user confirmation before it runs.`,
|
|
17860
|
+
description: `Delete a node from a form. The logic chain is automatically re-linked (the previous node will point to the next one). Cannot delete the start node or the last end screen. On a live form the node stays on the live form until the form is published. Requires user confirmation before it runs.`,
|
|
17861
17861
|
inputSchema: external_exports.object({
|
|
17862
17862
|
form_id: external_exports.string().uuid().describe("The form UUID (returned by clipform_create_form, not the short share_id from the URL)"),
|
|
17863
17863
|
node_id: external_exports.string().describe("The node ID to delete"),
|
|
@@ -18348,7 +18348,7 @@ function registerDeleteNodeMediaTool(server) {
|
|
|
18348
18348
|
"clipform_delete_node_media",
|
|
18349
18349
|
{
|
|
18350
18350
|
title: "Delete Node Media",
|
|
18351
|
-
description: `Remove media from a node
|
|
18351
|
+
description: `Remove media from a node by unlinking it; the media asset and its files stay in the workspace library and keep working on any other node or live form that uses them. Requires user confirmation before it runs.`,
|
|
18352
18352
|
inputSchema: external_exports.object({
|
|
18353
18353
|
form_id: external_exports.string().uuid().describe("The form UUID (returned by clipform_create_form, not the short share_id from the URL)"),
|
|
18354
18354
|
node_id: external_exports.string().describe("The node ID"),
|
|
@@ -18360,16 +18360,15 @@ function registerDeleteNodeMediaTool(server) {
|
|
|
18360
18360
|
// Deleting already-removed media has no further effect - textbook
|
|
18361
18361
|
// idempotent delete (#2976).
|
|
18362
18362
|
idempotentHint: true,
|
|
18363
|
-
//
|
|
18364
|
-
|
|
18365
|
-
openWorldHint: true
|
|
18363
|
+
// Unlink only (#5070): no files or third-party copies are deleted.
|
|
18364
|
+
openWorldHint: false
|
|
18366
18365
|
}
|
|
18367
18366
|
},
|
|
18368
18367
|
async ({ form_id, node_id, confirm }, ctx) => {
|
|
18369
18368
|
const decision = await confirmDestructive(server, ctx, {
|
|
18370
18369
|
alreadyConfirmed: confirm,
|
|
18371
|
-
message: `Remove the media attached to node ${node_id}?
|
|
18372
|
-
relay: `Confirmation required: removing media from node ${node_id}
|
|
18370
|
+
message: `Remove the media attached to node ${node_id}? The media asset stays in the library.`,
|
|
18371
|
+
relay: `Confirmation required: removing media from node ${node_id} unlinks it from the node (the media asset stays in the library). Ask the user to confirm, then call clipform_delete_node_media again with confirm: true.`
|
|
18373
18372
|
});
|
|
18374
18373
|
if (!decision.proceed) {
|
|
18375
18374
|
return decision.result ?? textResult(decision.message);
|
|
@@ -20040,7 +20039,7 @@ function buildInstructions(caps) {
|
|
|
20040
20039
|
"At the start of a build, call clipform_get_workflow to load the recipe for the form type, and clipform_get_guide for craft detail.",
|
|
20041
20040
|
"Every *_id argument is a UUID returned by the tools - not the short share_id from a form URL.",
|
|
20042
20041
|
"For an account-scoped request, call clipform_whoami first to confirm the active workspace and plan.",
|
|
20043
|
-
caps.media ? "Deleting a form moves it to the trash (restorable from the dashboard); deleting a node
|
|
20042
|
+
caps.media ? "Deleting a form moves it to the trash (restorable from the dashboard); deleting a node cannot be undone (a node deleted on a live form stays on the live form until you publish); removing media from a node only unlinks it, and the media asset stays in the library. Those tools ask the user to confirm before running." : "Deleting a form moves it to the trash (restorable from the dashboard); deleting a node cannot be undone (on a live form it stays on the live form until you publish). Those tools ask the user to confirm before running."
|
|
20044
20043
|
].filter((line) => typeof line === "string").join(" ");
|
|
20045
20044
|
}
|
|
20046
20045
|
function pinDraft07(schema) {
|
|
@@ -20212,4 +20211,4 @@ export {
|
|
|
20212
20211
|
* MIT Licensed
|
|
20213
20212
|
*)
|
|
20214
20213
|
*/
|
|
20215
|
-
//# sourceMappingURL=chunk-
|
|
20214
|
+
//# sourceMappingURL=chunk-F54BUSBA.js.map
|