@foldkit/devtools-mcp 0.4.0 → 0.5.1

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.
Files changed (2) hide show
  1. package/dist/tools.js +2 -2
  2. package/package.json +7 -7
package/dist/tools.js CHANGED
@@ -161,13 +161,13 @@ export const buildTools = (wsClient) => [
161
161
  },
162
162
  {
163
163
  name: 'foldkit_get_message',
164
- description: 'Read a single Message history entry by absolute index. The response carries the SerializedEntry (tag, message body, commandNames, mountStartNames, mountEndNames, timestamp, `isModelChanged`, `changedPaths` for leaf-level mutations, `affectedPaths` adding their ancestor paths). `mountStartNames` lists Mounts that fired during the render after this Message; `mountEndNames` lists Mounts whose elements were unmounted during that render. For Submodel-routed entries (tag matches `Got*Message`), the entry also carries `submodelPath` listing wrapper tags from outer to inner and `maybeLeafTag` naming the innermost child Message. Model snapshots are not included; call foldkit_get_model_at with `index - 1` (before) and `index` (after) to inspect Model state around the entry.',
164
+ description: 'Read a single Message history entry by absolute index. The response carries the SerializedEntry (tag, message body, commands, mountStartNames, mountEndNames, timestamp, `isModelChanged`, `changedPaths` for leaf-level mutations, `affectedPaths` adding their ancestor paths). Each entry in `commands` carries the Command name and `args` (`Some(record)` when the Command declared an args schema, `None` otherwise). `mountStartNames` lists Mounts that fired during the render after this Message; `mountEndNames` lists Mounts whose elements were unmounted during that render. For Submodel-routed entries (tag matches `Got*Message`), the entry also carries `submodelPath` listing wrapper tags from outer to inner and `maybeLeafTag` naming the innermost child Message. Model snapshots are not included; call foldkit_get_model_at with `index - 1` (before) and `index` (after) to inspect Model state around the entry.',
165
165
  inputSchema: toInputSchema(GetMessageInput),
166
166
  handle: runRuntimeTool(GetMessageInput, ({ index }) => RequestGetMessage({ index }), wsClient),
167
167
  },
168
168
  {
169
169
  name: 'foldkit_get_init',
170
- description: "Read the runtime's initial Model, the names of Commands returned from the application's `init` function, and the names of Mounts that fired during the first render. The init entry is the synthetic row at index -1 in the DevTools panel; this tool exposes the same data without time-travelling the runtime. `maybeModel` is `None` until the runtime has finished its first render and recorded init, then stays `Some` for the rest of the runtime's life. `commandNames` lists init-time Commands in the order they were produced; `mountStartNames` lists Mounts whose elements appeared in the initial render.",
170
+ description: "Read the runtime's initial Model, the Commands returned from the application's `init` function, and the names of Mounts that fired during the first render. The init entry is the synthetic row at index -1 in the DevTools panel; this tool exposes the same data without time-travelling the runtime. `maybeModel` is `None` until the runtime has finished its first render and recorded init, then stays `Some` for the rest of the runtime's life. `commands` lists init-time Commands in the order they were produced, each with its name and `args` (`Some(record)` when the Command declared an args schema, `None` otherwise); `mountStartNames` lists Mounts whose elements appeared in the initial render.",
171
171
  inputSchema: toInputSchema(GetInitInput),
172
172
  handle: runRuntimeTool(GetInitInput, () => RequestGetInit(), wsClient),
173
173
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@foldkit/devtools-mcp",
3
- "version": "0.4.0",
3
+ "version": "0.5.1",
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",
@@ -21,15 +21,15 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "@modelcontextprotocol/sdk": "^1.29.0",
24
- "ws": "^8.18.0"
24
+ "ws": "^8.20.0"
25
25
  },
26
26
  "devDependencies": {
27
- "@types/node": "^22.0.0",
28
- "@types/ws": "^8.5.13",
27
+ "@types/node": "^25.6.0",
28
+ "@types/ws": "^8.18.1",
29
29
  "effect": "4.0.0-beta.59",
30
- "rimraf": "^6.0.0",
31
- "typescript": "^6.0.2",
32
- "foldkit": "0.84.0"
30
+ "rimraf": "^6.1.3",
31
+ "typescript": "^6.0.3",
32
+ "foldkit": "0.88.1"
33
33
  },
34
34
  "files": [
35
35
  "dist"