The open-source agent harness - the runtime layer that turns an LLM into a working agent.
Regenerate sandbox helpers before development.
debajyoti-truefoundryf001b536a897
diff --git a/README.md b/README.mdindex bd52f828f..db51bb50c 100644--- a/README.md+++ b/README.md@@ -40,6 +40,8 @@ Open `http://localhost:3000`. Frontend changes update through Vite HMR; server cThe workspace utils package is ESM so the host server and source schemas share one ESM dependency graph. `NODE_OPTIONS=--conditions=development` selects `src/` at runtime, and TypeScript uses the same condition for source-based static analysis. Development, lint, typecheck, tests, OpenAPI generation, and migrations do not read or recreate `packages/harness/dist`; release builds, package checks, and Docker smoke tests create it intentionally.+Server dev scripts regenerate the embedded sandbox Python helpers before startup. This writes a generated TypeScript source module and does not build `dist`.+| Script | Runs || ------------------- | ---------------------------------------------------------------------------------- || `pnpm dev:infra` | Postgres + Redis in the foreground |diff --git a/packages/server/package.json b/packages/server/package.jsonindex 09b66b89d..80837f962 100644--- a/packages/server/package.json+++ b/packages/server/package.json@@ -8,7 +8,9 @@"type": "module","scripts": {"build": "tsc --noEmit && tsup",+ "predev": "pnpm --filter @truefoundry/utils build:gen","dev": "NODE_OPTIONS='--conditions=development' NODE_ENV=development tsx watch --env-file=.env src/main.ts",+ "predev:no-watch": "pnpm --filter @truefoundry/utils build:gen","dev:no-watch": "NODE_OPTIONS='--conditions=development' NODE_ENV=production tsx --env-file=.env src/main.ts","migrate": "NODE_OPTIONS='--conditions=development' tsx --env-file=.env src/db/postgres/migrate-cli.ts","typecheck": "tsc --noEmit && tsc --noEmit -p tests/tsconfig.json",