Files
oh-my-pi/packages/coding-agent/src/eval
can1357 2f7b2aaccd feat(coding-agent/eval): stripped TypeScript syntax before import rewrites
- Added a stripTypeScript pass that heuristically detects TypeScript-like syntax and transpiles it with Bun's ts loader before rewriting.
- Integrated the new pass into wrapCode so import and lexical rewrites operate on transpiled input.
- Added an executeJs test that verifies interfaces, type annotations, and type assertions execute to the expected numeric result.
2026-05-12 08:42:52 +02:00
..
2026-05-10 19:52:44 +02:00
2026-05-10 19:52:44 +02:00
2026-05-10 19:52:44 +02:00
2026-05-10 19:52:44 +02:00