fix: resolve Zod v4 record type error and worker TypeScript compilation

- packages/shared/src/schemas/agent.ts: z.record(z.unknown()) → z.record(z.string(), z.unknown())
- Dockerfile.worker: add TypeScript compilation support (tsx)

Fixes #build-web and #build-worker container failures.
This commit is contained in:
2026-07-19 00:03:43 +00:00
parent 4c1cc50231
commit 301f4ea5ce
5 changed files with 509 additions and 3 deletions
+1 -1
View File
@@ -13,4 +13,4 @@ COPY packages/shared/ ./packages/shared/
ENV NODE_ENV=production
CMD ["node", "worker/index.js"]
CMD ["npx", "tsx", "worker/index.ts"]