{ "name": "tech-step-llm-worker", "version": "0.0.0", "private": true, "type": "module", "packageManager": "pnpm@10.12.4", "description": "Standalone scheduled worker — periodically audits low-confidence tech-step NLP matches and transforms user corrections into TechStepTrainingSuggestion rows, both via a local LLM (node-llama-cpp). Talks to apps/api exclusively through /internal/tech-steps/* (no direct DB access, no Prisma client of its own). Deliberately outside the pnpm monorepo workspace (pnpm-workspace.yaml only covers apps/*/packages/*) — same reasoning as experiments/llm-tech-step-poc: node-llama-cpp's native binding must never be compiled as part of apps/api's own install/Docker build.", "scripts": { "start": "tsx src/index.ts", "dev": "tsx watch src/index.ts", "typecheck": "tsc --noEmit", "test": "cross-env NODE_ENV=test mocha" }, "dependencies": { "dotenv": "^16.4.5", "node-llama-cpp": "^3.20.0", "node-cron": "^3.0.3", "zod": "^3.23.8" }, "devDependencies": { "@types/node": "^22.9.0", "@types/node-cron": "^3.0.11", "chai": "^5.1.2", "cross-env": "^7.0.3", "mocha": "^10.8.2", "tsx": "^4.19.2", "typescript": "^5.7.2" }, "pnpm": { "onlyBuiltDependencies": [ "esbuild", "node-llama-cpp" ] } }