@foldkit/devtools-mcp 0.10.0 → 0.10.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.
- package/README.md +2 -2
- package/dist/install.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -48,10 +48,10 @@ export default defineConfig({
|
|
|
48
48
|
})
|
|
49
49
|
```
|
|
50
50
|
|
|
51
|
-
In your `Runtime.
|
|
51
|
+
In your `Runtime.makeApplication` call, pass your `Message` Schema. The runtime decodes every dispatched payload against it, returning a clean error if the shape does not match before it reaches your update function:
|
|
52
52
|
|
|
53
53
|
```typescript
|
|
54
|
-
Runtime.
|
|
54
|
+
Runtime.makeApplication({
|
|
55
55
|
devTools: {
|
|
56
56
|
// Rest of your DevTools config
|
|
57
57
|
Message,
|
package/dist/install.js
CHANGED
|
@@ -40,7 +40,7 @@ const printNextSteps = (alreadyRegistered) => {
|
|
|
40
40
|
console.log('');
|
|
41
41
|
console.log(' plugins: [foldkit({ devToolsMcpPort: 9988 })]');
|
|
42
42
|
console.log('');
|
|
43
|
-
console.log(' 2. Pass your Message Schema to Runtime.
|
|
43
|
+
console.log(' 2. Pass your Message Schema to Runtime.makeApplication (enables dispatch):');
|
|
44
44
|
console.log('');
|
|
45
45
|
console.log(' devTools: { Message }');
|
|
46
46
|
console.log('');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@foldkit/devtools-mcp",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.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",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"effect": "4.0.0-beta.78",
|
|
30
30
|
"rimraf": "^6.1.3",
|
|
31
31
|
"typescript": "^6.0.3",
|
|
32
|
-
"foldkit": "0.
|
|
32
|
+
"foldkit": "0.107.0"
|
|
33
33
|
},
|
|
34
34
|
"files": [
|
|
35
35
|
"dist"
|