Commit graph

271 commits

Author SHA1 Message Date
James Long
0a2e119c59 refactor(codemode): break the VM import cycle
Mode, Frame, CustomIter and VmInternalFn move to frame.ts so the VM's
helper modules import only the Vm type. Snapshots no longer run through
Vm: captureVm and restoreVm are called directly, and the Interpreter and
AsyncFromSyncIterator codec specs move from the generic codec to
snapshot.ts. generators.ts makes its promise capability through the
scheduler instead of importing runtime/promises.ts.
2026-11-17 14:36:47 +00:00
Aiden Cline
eaa6075572
feat(codemode): add Node's Buffer (#64365) 2026-11-16 23:55:30 -06:00
Aiden Cline
042badd23f
feat(codemode): let a synchronous global block on an Effect (#64363) 2026-11-16 23:54:45 -06:00
Aiden Cline
df46f6931d
fix(codemode): accept a plain string query in search (#64347) 2026-11-16 21:57:07 -06:00
Kit Langton
62d06fab22
feat(core): turn experimental schedules into automations (#64160) 2026-11-16 17:14:59 -08:00
github-actions[bot]
a554d70499
release: v2.3.0 (#63719)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-13 09:04:03 +00:00
Aiden Cline
27930d26c8
fix(codemode): suggest tools when a namespace is called (#63697) 2026-11-13 00:46:05 -06:00
Aiden Cline
e6f21f95cd
revert(core): restore tool dispatch before nested repair (#63630) 2026-11-13 00:06:23 +00:00
Aiden Cline
a8dde001d3
feat(codemode): stream fetch response bodies (#63436) 2026-11-12 17:50:06 -06:00
Aiden Cline
c80548e800
fix(core): honor plugin tool repairs in Code Mode (#63444) 2026-11-12 17:44:07 -06:00
Aiden Cline
a3d6e54b3d
fix(codemode): decode UTF-8 across chunk boundaries (#63600) 2026-11-12 20:30:06 +00:00
James Long
a73657f3f9
refactor(codemode): flatten the VM into src and remove two-engine leftovers (#63377) 2026-11-12 13:39:15 -05:00
James Long
72616be4db
refactor(codemode): remove the legacy interpreter; the VM is the only engine (#62642) 2026-11-11 11:25:37 -05:00
Dax Raad
36f559b0c6 chore: move the data site off sst
the stats site, its og worker and the sync workflow deploy from services/data with cf as
opencode-data-<stage>, opencode-data-og-<stage> and opencode-data-sync-<stage>. the beta
web app and the whole sst setup (sst.config.ts, infra/, sst-env.d.ts, the sst dependency)
are gone, so nothing deploys through sst anymore (security finding #920).
2026-11-10 22:46:25 -05:00
Aiden Cline
59ed43f0b8
feat(codemode): rank tool search with name-weighted BM25 (#62984) 2026-11-10 19:44:40 -06:00
Aiden Cline
53f2d631df
feat(core): use freeform tool input on models that support it (#61703) 2026-11-10 15:15:25 -06:00
github-actions[bot]
8aa00e805e
release: v2.2.7 (#63085)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-10 04:49:26 -06:00
github-actions[bot]
5f76acb125
release: v2.2.6 (#62450)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-10 01:36:56 -06:00
Adam
05099eaa0b
refactor(codemode): remove the import cycle in interpreter (#62886) 2026-11-09 07:38:49 -06:00
James Long
c33eaa170e
feat(codemode): idempotent and durable tools, and safe suspension on the VM (#62459)
Some checks failed
bot-nix-hashes / hash (blacksmith-4vcpu-ubuntu-2404, x86_64-linux) (push) Waiting to run
bot-nix-hashes / hash (blacksmith-4vcpu-ubuntu-2404-arm, aarch64-linux) (push) Waiting to run
bot-nix-hashes / hash (macos-latest, aarch64-darwin) (push) Waiting to run
bot-nix-hashes / compute (push) Blocked by required conditions
bot-nix-hashes / publish (push) Blocked by required conditions
check-nix / nix-eval (push) Waiting to run
check-test / affected packages (push) Waiting to run
check-test / unit (linux) (push) Waiting to run
check-test / unit (windows) (push) Waiting to run
check-test / build (linux) (push) Waiting to run
check-test / build (windows) (push) Waiting to run
check-test / e2e (, ) (push) Blocked by required conditions
check-test / e2e (linux) (push) Blocked by required conditions
check-test / e2e (windows) (push) Blocked by required conditions
check / typecheck (push) Waiting to run
deploy-files / deploy (push) Waiting to run
deploy-site / deploy (push) Waiting to run
deploy / deploy (push) Waiting to run
bot-docs-locale / sync-locales (push) Has been cancelled
Process daemon / Miri (callback ownership) (push) Has been cancelled
Process daemon / Core (macos-15) (push) Has been cancelled
Process daemon / Core (ubuntu-22.04) (push) Has been cancelled
Process daemon / Windows (arm64) (push) Has been cancelled
Process daemon / Windows (x64) (push) Has been cancelled
2026-11-07 13:06:40 -06:00
Filip
0f1ddb4643
fix: flaky CI tests and the app races behind them (#62597) 2026-11-07 18:50:37 +01:00
James Long
33f94fce96
feat(codemode): expose the VM's suspendable program API (#62413) 2026-11-06 16:44:13 -06:00
James Long
a04dc98d60
fix(codemode): drop test262 corpus symlinks committed by accident (#62394) 2026-11-06 12:51:26 -06:00
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
adcfc83d19
feat(codemode): let programs import globals by Node module name (#61151) 2026-11-01 21:52:57 -06:00
github-actions[bot]
4878a0e30f
release: v2.2.5 (#60744)
Brings the versions and changelog of the published v2.2.5 release back to dev.
2026-10-30 19:18:59 -04:00
github-actions[bot]
872f694b05
release: v2.2.4 (#60664)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-10-30 13:06:06 -04:00
github-actions[bot]
b44b7164ba
release: v2.2.3 (#60564)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-10-30 20:19:43 +10:00
Aiden Cline
d9be7138b7
fix(codemode): copy extension results without trusting their own methods (#58031) 2026-10-29 21:56:25 -05:00
xjh
96c5c3a11a
fix(codemode): preserve null in text encoding (#57639) 2026-10-29 21:40:05 -05:00
Kit Langton
c24c5af3d8
feat(core): add Code Mode checks with static tool scanning to schedules (#60140) 2026-10-29 12:29:02 -07:00
github-actions[bot]
4efad23dd8
release: v2.2.2 (#60337)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-10-29 13:54:46 -05:00
github-actions[bot]
f74b1416a8
release: v2.2.1 (#60113)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: LukeParkerDev <10430890+Hona@users.noreply.github.com>
2026-10-29 10:41:32 -05:00
Sebastian
66f1fa816d
chore: upgrade effect to 4.0.6 (#59630) 2026-10-29 11:06:23 +01:00
Aiden Cline
ecc075a043
fix(codemode): visit inherited enumerable keys in for...in (#59933) 2026-10-28 23:44:28 -05:00
Aiden Cline
1c49e51303
fix(codemode): run extension before hooks before the host call (#60024) 2026-10-28 16:47:57 -05:00
Aiden Cline
711802c3a3
fix(codemode): let search be awaited or chained like a Promise (#59981) 2026-10-28 15:31:19 -05:00
Aiden Cline
a882cf98a0
feat(codemode): let extension globals return Effects (#59948) 2026-10-28 13:56:18 -05:00
Aiden Cline
c96d200de8
fix(codemode): report parse errors with a location and a hint (#59834) 2026-10-28 10:17:11 -05: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
github-actions[bot]
86976449c4
release: v2.2.0 (#59558)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-10-27 19:13:14 +10:00
Dax
6996bbcd6d
ci: separate release builds from signing and publishing (#59046) 2026-10-26 14:21:29 -04:00
opencode
2a3e7c0f34 sync release versions for v2.1.4 [skip ci] 2026-10-23 10:15:01 +00:00
Aiden Cline
7a62a46695
refactor: remove redundant casts and duplicate helpers across sdk, plugin, codemode, and schema (#57996) 2026-10-22 18:53:01 -05:00
Luke Parker
84578e123f
chore: use bun check for local typechecks and TypeScript 7.1 in CI (#58253) 2026-10-23 09:23:31 +10:00
opencode
e965774fa0 sync release versions for v2.1.3 [skip ci] 2026-10-22 12:45:36 +00:00
opencode
4b50f5cc6c sync release versions for v2.1.2 [skip ci] 2026-10-21 03:41:13 +00: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
opencode
133b1ebfaf sync release versions for v2.1.1 [skip ci] 2026-10-20 13:36:20 +00:00