This repository has been archived on 2026-03-24 . You can view files and clone it. You cannot open issues or pull requests or push a commit.
abb8c50f233a0a0877af3de0bfb84179e74efb08
import.meta.url is undefined when esbuild bundles to CJS format (format: 'cjs' in build.ts). fileURLToPath(undefined) throws ERR_INVALID_ARG_TYPE which crashed the production server on startup. Fix: drop the _dirname derivation entirely and resolve TIMMY_TEST_PLAN.md relative to process.cwd(), which is always the workspace root in both: - dev: tsx runs from workspace root - production: pnpm --filter ... run start runs from workspace root Also removes the now-unused 'dirname' and 'fileURLToPath' imports. Verified: rebuilt dist/index.cjs — 0 import.meta.url references remain. GET /api/testkit/plan returns HTTP 200 from the production bundle.
Description
Timmy — Lightning-gated AI agent (TypeScript/Express)
Languages
TypeScript
68.2%
JavaScript
14.8%
Shell
12.4%
HTML
4.1%
CSS
0.4%