editor/packages/dapi/package.json
konstantin-paulus 7a95fada7a Refactor MCP integration and update dependencies
- Removed the `@modelcontextprotocol/sdk` dependency from `package-lock.json` and `package.json`.
- Updated the CLI client to connect via Streamable HTTP instead of a socket, enhancing communication with the MCP server.
- Simplified the `ping` and `call` functions in `cli-client.ts` to utilize the new connection method.
- Removed the `mcp-proxy.ts` file as it is no longer needed with the new HTTP integration.
- Updated documentation to reflect changes in MCP server access and removed references to the socket transport.
- Cleaned up unused imports and refactored related code for improved clarity and maintainability.
2026-09-12 09:18:46 +02:00

30 lines
803 B
JSON

{
"name": "@diffusionstudio/dapi",
"version": "0.1.0",
"description": "The dapi tool catalog: every tool the Diffusion Studio app exposes to agents and the CLI, as a name, a description, and zod input/output schemas. The one definition the app serves, the CLI derives its commands from, and the renderer validates against. Depends on zod and the Time parser only.",
"license": "MPL-2.0",
"type": "module",
"sideEffects": false,
"exports": {
".": "./src/index.ts"
},
"scripts": {
"check": "tsc --noEmit",
"test": "vitest run"
},
"keywords": [
"dapi",
"mcp",
"zod"
],
"dependencies": {
"@diffusionstudio/jsx": "*",
"zod": "^4.4.3"
},
"devDependencies": {
"@types/node": "^24.10.1",
"typescript": "~5.9.3",
"vitest": "^4.0.0"
}
}