Replace all in-memory Map-backed stores (credentials, models, agents, tasks, iterations, usage) with Drizzle ORM queries against the homelab-pg PostgreSQL cluster. All store functions are now async. - Add 6 harness_* tables to @homelab/db schema - Generate and apply initial Drizzle migration - Add lazy DB connection proxy to avoid build-time errors - Wire DATABASE_URL from sealed secret into harness deployment - Update all API routes, orchestrator, executor, and boot to await async store operations
28 lines
607 B
JSON
28 lines
607 B
JSON
{
|
|
"name": "@homelab/harness",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev --port 3100",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "next lint",
|
|
"test": "echo \"no tests yet\""
|
|
},
|
|
"dependencies": {
|
|
"@homelab/db": "workspace:^",
|
|
"drizzle-orm": "^0.36.0",
|
|
"next": "^15.1.0",
|
|
"postgres": "^3.4.0",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"yaml": "^2.7.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.10.0",
|
|
"@types/react": "^19.0.0",
|
|
"@types/react-dom": "^19.0.0",
|
|
"typescript": "^5.7.0"
|
|
}
|
|
}
|