@clipform/mcp-server 2.6.0 → 2.10.3
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 -0
- package/dist/caps-DBnfcEyJ.d.ts +20 -0
- package/dist/{chunk-L3DIBX4G.js → chunk-A5RVUIGS.js} +17 -7
- package/dist/chunk-A5RVUIGS.js.map +1 -0
- package/dist/{chunk-YAI5LQPF.js → chunk-O35IVA4L.js} +142 -9
- package/dist/chunk-O35IVA4L.js.map +1 -0
- package/dist/{chunk-WMLM53A3.js → chunk-QZO6MGNN.js} +310 -162
- package/dist/{chunk-WMLM53A3.js.map → chunk-QZO6MGNN.js.map} +1 -1
- package/dist/{chunk-44FHF2MF.js → chunk-ZOBK6CK7.js} +269 -45
- package/dist/chunk-ZOBK6CK7.js.map +1 -0
- package/dist/index.js +4 -4
- package/dist/instrument.d.ts +42 -0
- package/dist/instrument.js +5296 -0
- package/dist/instrument.js.map +1 -0
- package/dist/prompts.d.ts +3 -2
- package/dist/prompts.js +2 -2
- package/dist/resources.d.ts +3 -1
- package/dist/resources.js +2 -2
- package/dist/server.d.ts +12 -1
- package/dist/server.js +6 -4
- package/package.json +6 -1
- package/dist/chunk-44FHF2MF.js.map +0 -1
- package/dist/chunk-L3DIBX4G.js.map +0 -1
- package/dist/chunk-YAI5LQPF.js.map +0 -1
package/dist/prompts.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
2
2
|
import { DiscoveryParam as DiscoveryParam$1, FormTypeKey } from '@vid-master/config';
|
|
3
3
|
import { QuizVariant } from './resources.js';
|
|
4
|
+
import { S as ServerCaps } from './caps-DBnfcEyJ.js';
|
|
4
5
|
|
|
5
6
|
type AuthMode = "authenticated" | "anonymous";
|
|
6
7
|
|
|
@@ -27,7 +28,7 @@ interface WorkflowArgs {
|
|
|
27
28
|
}
|
|
28
29
|
type DiscoveryParam = DiscoveryParam$1;
|
|
29
30
|
declare function buildDiscovery(params: readonly DiscoveryParam$1[], args: WorkflowArgs, authMode?: AuthMode): string;
|
|
30
|
-
declare function getWorkflowText(type: WorkflowType, args?: WorkflowArgs, variant?: QuizVariant): Promise<string>;
|
|
31
|
-
declare function registerPrompts(server: McpServer): void;
|
|
31
|
+
declare function getWorkflowText(type: WorkflowType, args?: WorkflowArgs, variant?: QuizVariant, caps?: ServerCaps): Promise<string>;
|
|
32
|
+
declare function registerPrompts(server: McpServer, caps?: ServerCaps): void;
|
|
32
33
|
|
|
33
34
|
export { type DiscoveryParam, WORKFLOW_TYPES, type WorkflowArgs, type WorkflowType, buildDiscovery, getWorkflowText, registerPrompts };
|
package/dist/prompts.js
CHANGED
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
buildDiscovery,
|
|
4
4
|
getWorkflowText,
|
|
5
5
|
registerPrompts
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-QZO6MGNN.js";
|
|
7
|
+
import "./chunk-O35IVA4L.js";
|
|
8
8
|
import "./chunk-ENHVQDSI.js";
|
|
9
9
|
import "./chunk-PBQ5BQWD.js";
|
|
10
10
|
import "./chunk-G3PMV62Z.js";
|
package/dist/resources.d.ts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
2
2
|
import { ALL_VARIANTS, FORM_TYPE_KEYS } from '@vid-master/config';
|
|
3
|
+
import { S as ServerCaps } from './caps-DBnfcEyJ.js';
|
|
3
4
|
|
|
4
5
|
declare const GUIDE_TYPES: readonly [string, ...string[]];
|
|
5
6
|
type GuideType = (typeof FORM_TYPE_KEYS)[number];
|
|
6
7
|
declare const QUIZ_VARIANTS: readonly [string, ...string[]];
|
|
7
8
|
type QuizVariant = (typeof ALL_VARIANTS)[number];
|
|
9
|
+
|
|
8
10
|
declare function getGuideUri(type: GuideType, variant?: QuizVariant): string;
|
|
9
|
-
declare function registerResources(server: McpServer): void;
|
|
11
|
+
declare function registerResources(server: McpServer, caps?: ServerCaps): void;
|
|
10
12
|
|
|
11
13
|
export { GUIDE_TYPES, type GuideType, QUIZ_VARIANTS, type QuizVariant, getGuideUri, registerResources };
|
package/dist/resources.js
CHANGED
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
QUIZ_VARIANTS,
|
|
4
4
|
getGuideUri,
|
|
5
5
|
registerResources
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-A5RVUIGS.js";
|
|
7
|
+
import "./chunk-O35IVA4L.js";
|
|
8
8
|
import "./chunk-ENHVQDSI.js";
|
|
9
9
|
import "./chunk-PBQ5BQWD.js";
|
|
10
10
|
import "./chunk-G3PMV62Z.js";
|
package/dist/server.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
2
2
|
import { McpToolset } from '@vid-master/config';
|
|
3
|
+
import { S as ServerCaps } from './caps-DBnfcEyJ.js';
|
|
3
4
|
|
|
4
5
|
declare const RENDER_TIMING: {
|
|
5
6
|
readonly expectedRange: "15-120 seconds";
|
|
@@ -30,6 +31,16 @@ interface CreateServerOptions {
|
|
|
30
31
|
*/
|
|
31
32
|
toolsets?: readonly McpToolset[];
|
|
32
33
|
}
|
|
34
|
+
/**
|
|
35
|
+
* Lands directly in the client's system prompt. This is the only high-level
|
|
36
|
+
* guidance external clients (claude.ai, Desktop, ChatGPT App) receive - they
|
|
37
|
+
* have no equivalent of the bot's system prompt. It is also the correct home
|
|
38
|
+
* for cross-tool / sequencing guidance, which must NOT go in individual tool
|
|
39
|
+
* descriptions (treated as prompt injection at directory review). Gated on
|
|
40
|
+
* the surface's capabilities (#3681): a forms-only connection never hears
|
|
41
|
+
* about narration, motion, or music it has no tools for.
|
|
42
|
+
*/
|
|
43
|
+
declare function buildInstructions(caps: ServerCaps): string;
|
|
33
44
|
declare function createServer(options?: CreateServerOptions): McpServer;
|
|
34
45
|
|
|
35
|
-
export { type CreateServerOptions, RENDER_TIMING, createServer };
|
|
46
|
+
export { type CreateServerOptions, RENDER_TIMING, buildInstructions, createServer };
|
package/dist/server.js
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RENDER_TIMING,
|
|
3
|
+
buildInstructions,
|
|
3
4
|
createServer
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-ZOBK6CK7.js";
|
|
6
|
+
import "./chunk-QZO6MGNN.js";
|
|
7
|
+
import "./chunk-A5RVUIGS.js";
|
|
8
|
+
import "./chunk-O35IVA4L.js";
|
|
8
9
|
import "./chunk-ENHVQDSI.js";
|
|
9
10
|
import "./chunk-PBQ5BQWD.js";
|
|
10
11
|
import "./chunk-G3PMV62Z.js";
|
|
11
12
|
export {
|
|
12
13
|
RENDER_TIMING,
|
|
14
|
+
buildInstructions,
|
|
13
15
|
createServer
|
|
14
16
|
};
|
|
15
17
|
//# sourceMappingURL=server.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clipform/mcp-server",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.10.3",
|
|
4
4
|
"mcpName": "io.github.Clipform/mcp-server",
|
|
5
5
|
"description": "MCP server for building and managing Clipform video forms",
|
|
6
6
|
"license": "MIT",
|
|
@@ -28,6 +28,10 @@
|
|
|
28
28
|
"types": "./dist/telemetry.d.ts",
|
|
29
29
|
"default": "./dist/telemetry.js"
|
|
30
30
|
},
|
|
31
|
+
"./instrument": {
|
|
32
|
+
"types": "./dist/instrument.d.ts",
|
|
33
|
+
"default": "./dist/instrument.js"
|
|
34
|
+
},
|
|
31
35
|
"./prompts": {
|
|
32
36
|
"types": "./dist/prompts.d.ts",
|
|
33
37
|
"default": "./dist/prompts.js"
|
|
@@ -45,6 +49,7 @@
|
|
|
45
49
|
],
|
|
46
50
|
"devDependencies": {
|
|
47
51
|
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
52
|
+
"@posthog/mcp": "0.12.0",
|
|
48
53
|
"ai": "^6.0.176",
|
|
49
54
|
"tsup": "^8.5.1",
|
|
50
55
|
"tsx": "^4.19.4",
|