Extract agent-core as shared package with agentic loop, tool definitions, and MCP integration. Compass tools wrapped as MCP server using low-level Server API. Client manager connects multiple MCP servers (in-memory, stdio, HTTP) with unified tool routing. External MCP server configs stored in DB with CRUD actions. Both Workers and Bun runtimes use the new MCP client manager.
15 lines
275 B
JSON
15 lines
275 B
JSON
{
|
|
"name": "agent-core",
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"main": "src/index.ts",
|
|
"dependencies": {
|
|
"@anthropic-ai/sdk": "^0.74.0",
|
|
"@modelcontextprotocol/sdk": "^1.26.0",
|
|
"zod": "^3.24.1"
|
|
},
|
|
"devDependencies": {
|
|
"bun-types": "^1.3.9"
|
|
}
|
|
}
|