forked from EduCraft/curriculum-project-hub
49 lines
1.8 KiB
JSON
49 lines
1.8 KiB
JSON
{
|
|
"name": "@paradigm/hub",
|
|
"version": "0.0.14",
|
|
"private": true,
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">=24"
|
|
},
|
|
"dependencies": {
|
|
"@anthropic-ai/claude-agent-sdk": "^0.3.202",
|
|
"@fastify/cookie": "^11.0.2",
|
|
"@larksuiteoapi/node-sdk": "^1.70.0",
|
|
"@prisma/client": "^6.19.3",
|
|
"ai": "^7.0.16",
|
|
"dotenv": "^17.4.2",
|
|
"fastify": "^5.8.5",
|
|
"zod": "^4.4.3"
|
|
},
|
|
"devDependencies": {
|
|
"prisma": "^6.19.3",
|
|
"tsx": "^4.19.0",
|
|
"typescript": "^5.7.0",
|
|
"vitest": "^4.1.10"
|
|
},
|
|
"overrides": {
|
|
"@larksuiteoapi/node-sdk": {
|
|
"axios": "1.18.1"
|
|
}
|
|
},
|
|
"description": "Curriculum Project Hub — org-scoped Feishu collaboration and confined Agent runtime. Aligns to spec/System through ADR-0024.",
|
|
"scripts": {
|
|
"dev": "npm run prisma:migrate && tsx watch src/server.ts",
|
|
"build": "tsc -p tsconfig.json",
|
|
"start": "npm run prisma:migrate && node dist/server.js",
|
|
"check": "tsc -p tsconfig.json --noEmit",
|
|
"audit:production": "npm audit --omit=dev --audit-level=high",
|
|
"prisma:generate": "prisma generate --schema prisma/schema.prisma",
|
|
"prisma:validate": "DATABASE_URL=${DATABASE_URL:-postgresql://stub:stub@127.0.0.1:5432/stub} prisma validate --schema prisma/schema.prisma",
|
|
"prisma:migrate": "DATABASE_URL=${DATABASE_URL:-postgresql://paradigm:paradigm@127.0.0.1:5432/paradigm} prisma migrate deploy --schema prisma/schema.prisma",
|
|
"secrets:rotate-kek": "node dist/deployment/rotate-secret-kek.js",
|
|
"agent-config": "node dist/deployment/agent-config-cli.js",
|
|
"silo:bootstrap": "node dist/deployment/bootstrap-silo-cli.js",
|
|
"silo:restore-preflight": "node dist/deployment/restore-preflight.js",
|
|
"deploy": "bash deploy/deploy_platform.sh",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest"
|
|
}
|
|
}
|