dev.ts spins up everything needed on macOS: - Serves ../ui/ as static files - Mocks /auth/me and /auth/auth (bypasses PAM) - Mocks dock on :7701 by reading ../apps/*/crimata.json directly - Runs the real agent WebSocket + /events on :7702 Usage: ANTHROPIC_API_KEY=sk-... npm run dev Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
21 lines
439 B
JSON
21 lines
439 B
JSON
{
|
|
"name": "crimata-agent",
|
|
"version": "1.0.0",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"start": "node dist/index.js",
|
|
"dev": "ts-node src/dev.ts"
|
|
},
|
|
"dependencies": {
|
|
"@anthropic-ai/sdk": "^0.39.0",
|
|
"express": "^4.18.0",
|
|
"ws": "^8.18.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/express": "^4.17.0",
|
|
"@types/node": "^20.0.0",
|
|
"@types/ws": "^8.5.0",
|
|
"ts-node": "^10.9.0",
|
|
"typescript": "^5.0.0"
|
|
}
|
|
}
|