- Replace ssrLoadModule hacks with direct imports from @open-pencil/core - Replace isBunRuntime() hack with @hono/node-server (works everywhere) - Remove ViteServer type parameter from startAutomationBridge - Upgrade @open-pencil/mcp zod dependency from v3 to v4 - Add @open-pencil/mcp as root devDependency for bridge imports
40 lines
872 B
JSON
40 lines
872 B
JSON
{
|
|
"name": "@open-pencil/mcp",
|
|
"version": "0.8.0",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"main": "./src/server.ts",
|
|
"bin": {
|
|
"openpencil-mcp": "./dist/index.js",
|
|
"openpencil-mcp-http": "./dist/http.js"
|
|
},
|
|
"files": [
|
|
"src",
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "bunx tsgo && bunx fix-esm-import-path dist",
|
|
"prepublishOnly": "bun run build"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/open-pencil/open-pencil.git",
|
|
"directory": "packages/mcp"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"provenance": true
|
|
},
|
|
"dependencies": {
|
|
"@hono/node-server": "^1.19.9",
|
|
"@modelcontextprotocol/sdk": "^1.25.2",
|
|
"@open-pencil/core": "workspace:*",
|
|
"canvaskit-wasm": "^0.40.0",
|
|
"hono": "^4.11.4",
|
|
"zod": "^4.3.6"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.0.0"
|
|
}
|
|
}
|