@foldkit/devtools-mcp 0.13.2 → 0.13.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 -1
- package/dist/server.js +1 -1
- package/dist/tools.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -84,7 +84,7 @@ Each tool accepts an optional `runtime_id`. When omitted, the most recently conn
|
|
|
84
84
|
| `foldkit_replay_to_keyframe` | Time-travels the runtime to a previous state. The runtime is paused at that snapshot until `foldkit_resume` is called. |
|
|
85
85
|
| `foldkit_resume` | Resumes normal execution after a replay. |
|
|
86
86
|
| `foldkit_get_message_schema` | Describes the runtime's Message Schema so agents can construct valid Messages without reading the application source. With no arguments, returns a small variant index (top-level tag names plus payload fields). With `variant_tag` set to a dot-separated path of variant tags (e.g. `"GotChildMessage.Opened"`), narrows the JSON Schema along the chain and collapses deeper unions to summary placeholders. Returns `maybeResult: None` when the runtime hasn't configured `DevToolsConfig.Message`. |
|
|
87
|
-
| `foldkit_dispatch_message` |
|
|
87
|
+
| `foldkit_dispatch_message` | Dispatches a Message into the runtime as if your application produced it. The runtime decodes the payload against your Schema and returns a clean error if it does not match. |
|
|
88
88
|
|
|
89
89
|
### Reading the Model efficiently
|
|
90
90
|
|
package/dist/server.js
CHANGED
|
@@ -54801,7 +54801,7 @@ var buildTools = (wsClient) => [
|
|
|
54801
54801
|
},
|
|
54802
54802
|
{
|
|
54803
54803
|
name: "foldkit_dispatch_message",
|
|
54804
|
-
description: "Dispatch a Message into a Foldkit runtime
|
|
54804
|
+
description: "Dispatch a Message into a Foldkit runtime, as if the application itself produced it. Requires the runtime to have configured DevToolsConfig.Message; without it, dispatch is rejected. Call `foldkit_get_message_schema` with no arguments to enumerate the variants, then with `variant_tag` to learn one variant's exact payload shape, before constructing the Message object. The runtime decodes the payload and returns a clean error if it doesn't match.",
|
|
54805
54805
|
inputSchema: toInputSchema(DispatchMessageInput),
|
|
54806
54806
|
handle: runRuntimeTool(
|
|
54807
54807
|
DispatchMessageInput,
|
package/dist/tools.js
CHANGED
|
@@ -267,7 +267,7 @@ export const buildTools = (wsClient) => [
|
|
|
267
267
|
},
|
|
268
268
|
{
|
|
269
269
|
name: 'foldkit_dispatch_message',
|
|
270
|
-
description: "Dispatch a Message into a Foldkit runtime
|
|
270
|
+
description: "Dispatch a Message into a Foldkit runtime, as if the application itself produced it. Requires the runtime to have configured DevToolsConfig.Message; without it, dispatch is rejected. Call `foldkit_get_message_schema` with no arguments to enumerate the variants, then with `variant_tag` to learn one variant's exact payload shape, before constructing the Message object. The runtime decodes the payload and returns a clean error if it doesn't match.",
|
|
271
271
|
inputSchema: toInputSchema(DispatchMessageInput),
|
|
272
272
|
handle: runRuntimeTool(DispatchMessageInput, ({ message }) => RequestDispatchMessage({ message }), wsClient),
|
|
273
273
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@foldkit/devtools-mcp",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.3",
|
|
4
4
|
"description": "MCP server exposing Foldkit DevTools to AI agents (Claude Code, Cursor, etc.)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/server.js",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"esbuild": "^0.28.1",
|
|
31
31
|
"rimraf": "^6.1.3",
|
|
32
32
|
"typescript": "^6.0.3",
|
|
33
|
-
"foldkit": "0.
|
|
33
|
+
"foldkit": "0.130.0"
|
|
34
34
|
},
|
|
35
35
|
"files": [
|
|
36
36
|
"dist"
|