- cli/agent.ts: BullMQ worker that runs a persona npx tsx cli/agent.ts researcher Dequeues messages, processes via Agent harness, logs to event_log - cli/chat.ts: interactive TUI (readline, no deps) npx tsx cli/chat.ts researcher /to <agent> — switch target /events — show recent events /status — show agent activity Polls event log every 2s for responses Color-coded: input=blue, output=green, tool_call=yellow, error=red - dashboard.html: new Chat tab Live message + response feed Polls /events every 2s Bubble UI: you=right (purple), agent=left (green/yellow/red) Select agent from dropdown, type, Enter to send Usage: npm run agent researcher ← start worker (one per terminal) npm run chat researcher ← TUI in another terminal npm run dashboard ← web UI at :5170
33 lines
808 B
JSON
33 lines
808 B
JSON
{
|
|
"name": "damascus-v3",
|
|
"version": "0.1.0",
|
|
"description": "Agent orchestration framework — personas and skills are markdown, not code",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"dev": "tsx src/main.ts",
|
|
"dashboard": "tsx src/api.ts",
|
|
"agent": "tsx cli/agent.ts",
|
|
"chat": "tsx cli/chat.ts",
|
|
"send": "tsx scripts/send.ts",
|
|
"query-events": "tsx scripts/query-events.ts"
|
|
},
|
|
"dependencies": {
|
|
"bullmq": "^5.41.0",
|
|
"dotenv": "^16.4.5",
|
|
"gray-matter": "^4.0.3",
|
|
"pg": "^8.13.0",
|
|
"openai": "^4.73.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.7.0",
|
|
"@types/pg": "^8.11.10",
|
|
"tsx": "^4.19.0",
|
|
"typescript": "^5.6.0",
|
|
"vitest": "^2.1.0",
|
|
"ioredis": "^5.4.1"
|
|
}
|
|
}
|