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.
23 lines
520 B
JSON
23 lines
520 B
JSON
{
|
|
"name": "agent-server",
|
|
"version": "0.1.0",
|
|
"description": "Standalone agent server using agent-core",
|
|
"type": "module",
|
|
"bin": {
|
|
"agent-server": "./src/index.ts"
|
|
},
|
|
"scripts": {
|
|
"start": "bun run src/index.ts",
|
|
"dev": "bun --hot run src/index.ts",
|
|
"build": "bun build src/index.ts --target=bun --outdir=dist --minify"
|
|
},
|
|
"dependencies": {
|
|
"agent-core": "file:../agent-core",
|
|
"jose": "^5.9.6",
|
|
"zod": "^3.24.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bun": "latest"
|
|
}
|
|
}
|