Nicholai dc0cd40b13
feat(agent): add Claude Code bridge integration (#60)
Add local daemon that routes inference through user's own Anthropic
API key with filesystem and terminal access. Includes WebSocket
transport, MCP tool adapter, and API key auth.

Key components:
- compass-bridge package: local daemon with tool registry
- WebSocket transport for agent communication
- MCP API key management with HMAC auth and scoped permissions
- Usage tracking (tool calls, duration, success/failure)
- Settings UI for Claude Code configuration
- Migration 0019: mcp_api_keys and mcp_usage tables
- Test suite for auth and transport layers

Co-authored-by: Nicholai <nicholaivogelfilms@gmail.com>
2026-02-09 00:29:00 -07:00

21 lines
492 B
JSON

{
"name": "compass-bridge",
"version": "0.1.0",
"description": "Local bridge daemon connecting Claude Code to Compass",
"type": "module",
"bin": {
"compass-bridge": "./src/index.ts"
},
"scripts": {
"start": "bun run src/index.ts start",
"build": "bun build src/index.ts --target=bun --outdir=dist --minify"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.39.0",
"@mariozechner/pi-ai": "^0.52.8"
},
"devDependencies": {
"@types/bun": "latest"
}
}