Live production state on Erik that had drifted from Gitea — deployed across several sessions but never committed. Excludes deploy/ecosystem.config.cjs (holds live tokens). - dashboard: passive usage-report endpoint, per-device entries, CEST timezone, cost-panel rounding - completion: SSE + HTTP/2 streaming - pipeline: routing-rules, request-scorer, external-providers (subscription bridges) - cost-tracking: tokenvault migration, cost-calculator, request-logger - infra: docker-compose bridge env, server/health/tls, deps
43 lines
1.3 KiB
JSON
43 lines
1.3 KiB
JSON
{
|
|
"name": "@llm-gateway/gateway",
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "tsx watch src/server.ts",
|
|
"build": "tsc && npm run build:copy-assets",
|
|
"build:copy-assets": "mkdir -p dist/db/migrations dist/config dist/public && cp -r src/db/migrations/*.sql dist/db/migrations/ 2>/dev/null || true && cp -r src/config/*.yaml dist/config/ 2>/dev/null || true && cp -r public/* dist/public/ 2>/dev/null || true",
|
|
"start": "node dist/server.js",
|
|
"test": "vitest",
|
|
"prestart": "node scripts/check-build-drift.mjs"
|
|
},
|
|
"dependencies": {
|
|
"@fastify/cors": "^10.1.0",
|
|
"@fastify/helmet": "^12.0.1",
|
|
"@fastify/rate-limit": "^10.3.0",
|
|
"@fastify/static": "^8.3.0",
|
|
"ajv": "^8.17.1",
|
|
"fastify": "^5.8.5",
|
|
"fastify-plugin": "^5.1.0",
|
|
"franc": "^6.2.0",
|
|
"jose": "^5.4.0",
|
|
"js-yaml": "^4.1.0",
|
|
"opossum": "^8.1.3",
|
|
"pg": "^8.13.1",
|
|
"pg-boss": "^10.1.3",
|
|
"pino": "^9.5.0",
|
|
"prom-client": "^15.1.3",
|
|
"yaml": "^2.9.0",
|
|
"zod": "^3.23.8"
|
|
},
|
|
"devDependencies": {
|
|
"@types/js-yaml": "^4.0.9",
|
|
"@types/node": "^22.10.6",
|
|
"@types/opossum": "^8.1.9",
|
|
"@types/pg": "^8.11.10",
|
|
"pino-pretty": "^13.1.3",
|
|
"tsx": "^4.19.2",
|
|
"typescript": "^5.7.2",
|
|
"vitest": "^2.1.8"
|
|
}
|
|
}
|