Commit graph

21 commits

Author SHA1 Message Date
James Long
ffde0f7d47
feat(codemode): add a bytecode VM engine behind CodeMode.make({ engine: "vm" }) (#62357) 2026-11-06 11:37:45 -06:00
Aiden Cline
2ed57439da
fix(codemode): explain a stalled program and point at the await that never settles (#59749) 2026-10-27 16:54:06 -05:00
Aiden Cline
e26f85bcd3
refactor(codemode): run programs on one job queue instead of a fiber per async call (#57976) 2026-10-27 12:13:30 -05:00
Rhys Sullivan
3b593dd5d2
fix(codemode): run each job to completion (#54276)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-10-20 13:19:00 -05:00
Aiden Cline
4cc9b90f27
fix(codemode): add Promise.try and surface a failing iterator close on generator return (#50419) 2026-09-21 15:35:11 -05:00
Aiden Cline
3f0118022b
feat(codemode): add Promise.withResolvers, print errors in console, name values in iterable errors (#50389) 2026-09-21 11:56:15 -05:00
Aiden Cline
0b15abbf9a
refactor(codemode): make the host boundary JSON.stringify plus a short table (#49128) 2026-09-15 01:23:20 -05:00
Aiden Cline
5d3019e5a1
refactor(codemode): materialize interpreter failures once and locate them at the call boundary (#48770) 2026-09-13 20:19:31 -05:00
Aiden Cline
6add96698e
refactor(codemode): move built-ins onto real prototypes with native function objects (#48608) 2026-09-12 02:19:30 -05:00
Kit Langton
79c1544072
refactor(tools): unify tool APIs and result handling (#38367) 2026-07-23 21:13:31 +00:00
Aiden Cline
ea89a2f619
feat(codemode): unify callback acceptance and support built-in references (#36771) 2026-07-14 15:25:39 -05:00
Aiden Cline
c15e3487b2
test(codemode): make promise tests deterministic (#36780) 2026-07-13 18:53:20 -05:00
Aiden Cline
3c60470269
refactor(codemode): remove tool concurrency cap (#36545) 2026-07-12 16:07:53 -05:00
Aiden Cline
fe09a2e9b7
feat(codemode): support Promise.any and new Promise construction (#36339) 2026-07-10 20:46:13 -05:00
Aiden Cline
8e76adb08f
feat(codemode): support promise chaining with .then/.catch/.finally (#36304) 2026-07-10 18:22:04 -05:00
Aiden Cline
39cceeb143
fix(codemode): return promises from combinators (#35782) 2026-07-10 00:33:21 -05:00
Aiden Cline
f86e1cc1ff
fix(codemode): preserve collection value identity (#35776) 2026-07-07 13:40:55 -05:00
Kit Langton
df471872de
fix(codemode): reject Promise.all immediately (#35604) 2026-07-06 17:37:50 -04:00
Kit Langton
754dd57177
fix(codemode): preserve async callback semantics (#35603) 2026-07-06 17:29:11 -04:00
Aiden Cline
f9d1d3b259
refactor(codemode): namespace public types (#35435) 2026-07-05 11:51:50 -05:00
Aiden Cline
12d9f4b29b
feat(codemode): add confined execution package (#35118)
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
2026-07-03 10:57:16 -05:00