Replace @code/env and @code/primitives imports with local modules so the Node deploy artifact does not resolve workspace packages to TypeScript source at runtime. Switch Docker build to pnpm frozen install, add runner Dockerfile and a liveness health endpoint.
39 lines
1.3 KiB
JSON
39 lines
1.3 KiB
JSON
{
|
|
"name": "@code/agents",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "node --env-file=../../.env node_modules/@flue/cli/bin/flue.mjs build",
|
|
"start": "node --env-file=../../.env dist/server.mjs",
|
|
"check-types": "tsc --noEmit",
|
|
"dev": "node --env-file=../../.env node_modules/@flue/cli/bin/flue.mjs dev --port 3585",
|
|
"dev:engine": "node --env-file=../../.env scripts/start-engine.mjs",
|
|
"run": "node --env-file=../../.env node_modules/@flue/cli/bin/flue.mjs run",
|
|
"runner": "bun --env-file=../../.env src/runner.ts",
|
|
"run:zopu": "node --env-file=../../.env node_modules/@flue/cli/bin/flue.mjs run zopu"
|
|
},
|
|
"dependencies": {
|
|
"@agentos-software/git": "0.3.3",
|
|
"@code/env": "workspace:*",
|
|
"@code/primitives": "workspace:*",
|
|
"@flue/runtime": "npm:@rivet-dev/labs-flue-runtime@1.0.0-beta.9-rivet.2",
|
|
"@rivet-dev/agentos": "catalog:",
|
|
"@rivet-dev/agentos-core": "catalog:",
|
|
"convex": "catalog:",
|
|
"hono": "catalog:",
|
|
"valibot": "catalog:"
|
|
},
|
|
"devDependencies": {
|
|
"@code/config": "workspace:*",
|
|
"@flue/cli": "npm:@rivet-dev/labs-flue-cli@1.0.0-beta.9-rivet.2",
|
|
"@rivetkit/engine-cli": "2.3.9",
|
|
"@types/bun": "catalog:",
|
|
"@types/node": "catalog:",
|
|
"typescript": "catalog:"
|
|
},
|
|
"engines": {
|
|
"node": ">=22.18 <23 || >=23.6"
|
|
}
|
|
}
|