pi-mono/packages/codemode/test
Armin Ronacher 748cd5ac57 feat(coding-agent): run code mode on dquickts instead of quickjs-wasi
Code mode scripts now run on @earendil-works/dquickts 0.2.0 (Bellard's
QuickJS compiled to WebAssembly) instead of quickjs-wasi (QuickJS-NG):
about 1.3 to 1.9 times faster, with a larger wasm (about 850 KB).

- Deep recursion fails with InternalError: stack overflow instead of
  RangeError; the inline and remote sandboxes allow about 950 calls.
- Deterministic runs: the fingerprint names the engine, and Math.random()
  gives other values for a seed.
- Tests: no tool runs after an interrupted async function, and a loop of
  interrupted async functions ends with a timeout.
2026-10-31 15:45:59 +01:00
..
fixtures fix(coding-agent): keep codemode cancellation prompt and bounded 2026-10-13 18:17:31 +02:00
declarations.test.ts refactor(codemode,coding-agent): decouple MCP from codemode 2026-10-12 09:19:30 +02:00
deterministic.test.ts feat(coding-agent): run code mode on dquickts instead of quickjs-wasi 2026-10-31 15:45:59 +01:00
portable.test.ts feat(codemode): run sandboxes on Cloudflare Workers via a remote Durable Object 2026-10-10 14:41:36 +02:00
sandbox.test.ts feat(coding-agent): run code mode on dquickts instead of quickjs-wasi 2026-10-31 15:45:59 +01:00
source.test.ts fix(codemode): reject // @options: lines that are not the first line 2026-10-12 17:55:33 +02:00
worker-lifetime.test.ts fix(coding-agent): keep codemode cancellation prompt and bounded 2026-10-13 18:17:31 +02:00