Commit graph

200 commits

Author SHA1 Message Date
James Long
cc74b9ab03
chore(codemode): use psychoscript 0.2.1 through psychoscript/effect (#65207) 2026-11-20 11:02:27 -05:00
James Long
eb2dfb2638
refactor(codemode): use the psychoscript package for the language (#65011) 2026-11-19 23:10:54 -05:00
Aiden Cline
1626bbc54e
fix(codemode): give errors a stack (#64939) 2026-11-19 17:07:12 -06:00
Aiden Cline
a21895aee6
fix(codemode): honor locale and options in Date toLocale methods (#64938) 2026-11-19 15:27:12 -06:00
Aiden Cline
277c9a4439
fix(codemode): honor localeCompare locales and collator options (#64935) 2026-11-19 15:26:58 -06:00
Aiden Cline
7c2fd929fa
fix(codemode): honor base64 alphabet, omitPadding, and lastChunkHandling options (#64931) 2026-11-19 15:26:45 -06:00
Aiden Cline
6fbc0af624
fix(codemode): make Buffer map, filter, slice and subarray return a Buffer (#64933) 2026-11-19 15:26:31 -06:00
James Long
ca729da9a5
fix(codemode): pass the in-scope test262 class tests (#64965) 2026-11-19 19:21:12 +00:00
Aiden Cline
10e5856f05
fix(codemode): define Uint8Array BYTES_PER_ELEMENT (#64930) 2026-11-19 12:45:52 -06:00
James Long
1a01c3bbe0
test(codemode): deterministic suspend points in the accessor tests (#64919) 2026-11-19 18:06:26 +00:00
James Long
d3f6559d93
feat(codemode): getters and setters (#64908) 2026-11-19 17:12:53 +00:00
Aiden Cline
db8730ebcd
fix(codemode): say why an import can't be resolved (#64587) 2026-11-17 22:45:39 -06:00
Aiden Cline
9cfff5f24d
feat(codemode): let an extension name the modules that load its globals (#64516) 2026-11-17 16:59:36 -06:00
Aiden Cline
e92fbcfba1
feat(codemode): let host functions cross back to the host and let globals be constructible (#64472) 2026-11-17 15:11:40 -06:00
James Long
b24d599d33
fix(codemode): let the runtime drop functions and await promises in host-call arguments (#64513) 2026-11-17 20:55:40 +00:00
James Long
2b5ea4977f
fix(codemode): reject an unknown tool's promise instead of throwing (#64510) 2026-11-17 20:42:14 +00:00
James Long
b9029e64a0
refactor(codemode): split the language layer from Code Mode (#64487) 2026-11-17 15:21:51 -05:00
Aiden Cline
f0def1f86f
feat(codemode): let each run pick which of the runtime's extensions it gets (#64482) 2026-11-17 11:53:55 -06: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
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
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
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
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
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
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
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
db45c950a9
fix(codemode): honor Uint8Array.from mappers, compare byte searches without coercion, skip flatMap holes, and truncate fractional radixes (#57285)
Co-authored-by: r266-tech <r266-tech@users.noreply.github.com>
Co-authored-by: sdivyanshu90 <divyanshu74.80@gmail.com>
Co-authored-by: icearia0219 <133481415+icearia0219@users.noreply.github.com>
2026-10-20 00:16:55 -05:00
Kit Langton
1aae67e853
chore: upgrade Effect to rc.118 (#50231) 2026-10-09 01:36:06 -07:00
Aiden Cline
5335347e80
feat(codemode): add WeakMap and WeakSet (#51257) 2026-09-25 00:15:19 -05:00