Commit graph

2 commits

Author SHA1 Message Date
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
Mario Zechner
bb65e3e497 fix(durable): import toCodemodeIdentifier from pi-codemode/declarations
The Code Mode extension imported it from /portable, which loads the WASM
QuickJS runtime the extension never uses.

closes #11254
2026-10-27 21:31:47 +00:00