Nicholai 7f5efb84e2 feat(agent): migrate to Anthropic Agents SDK
Replace Vercel AI SDK with Anthropic Claude Agent SDK.
Add standalone agent server (packages/agent-server/)
with MCP tools, JWT auth, and SSE streaming. Introduce
bridge API routes (src/app/api/compass/) and custom
SSE hooks (use-agent, use-compass-chat) replacing
useChat. Remove provider.ts, tools.ts, system-prompt.ts,
github-tools.ts, usage.ts, and old agent route.
2026-02-16 18:37:26 -07:00

24 lines
585 B
JSON

{
"name": "agent-server",
"version": "0.1.0",
"description": "Standalone Node.js agent server wrapping Anthropic Agent SDK",
"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": {
"@anthropic-ai/claude-agent-sdk": "^0.2.42",
"@anthropic-ai/sdk": "^0.74.0",
"jose": "^5.9.6",
"zod": "^3.24.1"
},
"devDependencies": {
"@types/bun": "latest"
}
}