Aiden Cline
d7fcd960ac
test(codemode): give the limits tests room on slow runners
...
These tests build 10k-element values on purpose. Locally the file takes
400ms; on the Windows runner it is about 20x slower (strings 621ms,
arrays 2989ms, promises over 5000ms) and the promises test now trips
Bun's 5s default. Set an explicit timeout on all three.
2026-09-21 17:12:12 -05:00
Aiden Cline
97457ec7a3
feat(codemode): accept tools.-prefixed namespaces in search ( #50438 )
2026-09-21 16:59:31 -05:00
Aiden Cline
096ac95773
fix(codemode): drop the parameter name from rendered signatures ( #50435 )
2026-09-21 16:44:46 -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
97e833a297
feat(codemode): add Iterator helpers and Iterator.from ( #50410 )
2026-09-21 14:14:24 -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
1316576720
refactor(codemode): type program values and let built-ins answer for themselves ( #50191 )
2026-09-21 11:03:16 -05:00
Aiden Cline
7f51fbd878
feat(codemode): rank whole-word path matches above substring matches in search ( #50275 )
2026-09-20 22:59:01 -05:00
Aiden Cline
cbdd1f66da
fix(codemode): locate failures in the submitted source ( #50197 )
2026-09-20 20:47:54 -05:00
Aiden Cline
62dc1f7696
feat(codemode): add toLocaleString, Error.isError, and Map.getOrInsert ( #50098 )
2026-09-20 10:23:23 -05:00
Aiden Cline
eb0e26b974
feat(codemode): return live iterators from keys, values, and entries ( #50061 )
2026-09-19 18:46:35 -05:00
Aiden Cline
cc3ce20ab4
feat(codemode): add the Headers built-in ( #49280 )
2026-09-19 12:35:14 -05:00
004583d598
refactor(codemode): remove TypeScript stripping ( #49870 )
...
Co-authored-by: rekram1-node <[email protected] >
Co-authored-by: Aiden Cline <[email protected] >
2026-09-18 21:24:11 -05:00
opencode-agent[bot] and rekram1-node
b2e3569add
test(codemode): isolate OpenAPI fixtures ( #49667 )
...
Co-authored-by: rekram1-node <[email protected] >
2026-09-17 23:01:36 -05:00
Dax Raad
ab3566ab82
feat(server): expose server info endpoint
2026-09-16 21:43:58 -04:00
Aiden Cline
d797722187
feat(codemode): carry cause and own data across the error boundary ( #49390 )
2026-09-16 15:58:05 -05:00
Aiden Cline
c57733a647
refactor(codemode): before/after hooks for tool and extension calls ( #49242 )
2026-09-15 23:05:06 -05:00
Aiden Cline
fa3721fad6
fix(codemode): treat tools.search as the built-in search ( #49249 )
2026-09-15 19:08:51 -05:00
Aiden Cline
4cd6093e31
fix(codemode): keep one RegExp lastIndex ( #49220 )
2026-09-15 15:01:08 -05:00
Aiden Cline
d9dfc5c1d6
refactor(codemode): extensions are host functions only ( #49196 )
2026-09-15 13:42:51 -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
9ae714d49d
feat(codemode): add Uint8Array, drop the Program prefix, and give built-ins one context ( #49076 )
2026-09-14 23:35:48 -05:00
Aiden Cline
00a2fc97f7
feat(codemode): cross Set, RegExp, and URLSearchParams to the host in a useful form ( #49065 )
2026-09-14 17:32:42 -05:00
Aiden Cline
a54f2c12a8
test(codemode): follow the experimental instruction route rename ( #49067 )
2026-09-14 17:32:12 -05:00
Aiden Cline
2b855fccb2
test(codemode): drop the slow split and matchAll cap cases ( #49051 )
2026-09-14 16:24:27 -05:00
Aiden Cline
76594882b4
fix(codemode): bound what one built-in can build with string, array, and promise caps ( #49019 )
2026-09-14 12:54:02 -05:00
Aiden Cline
3468a092c9
feat(codemode): expose host classes and functions through extensions ( #48941 )
2026-09-14 12:29:00 -05:00
Aiden Cline
3045156fa6
fix(codemode): strip __proto__ keys at host object boundaries ( #48926 )
2026-09-14 00:49:42 -05:00
Aiden Cline
48875190ef
feat(codemode): fail runaway recursion with a RangeError at 10000 nested calls ( #48891 )
2026-09-13 21:04:36 -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
Dax Raad
487e1bd76e
refactor(protocol): remove workspace API
2026-09-13 17:39:23 -04:00
Dax Raad
13453f2da8
refactor(protocol): consolidate server status
2026-09-13 16:56:22 -04:00
Dax Raad
e16c56fe8b
refactor(protocol): remove v2 operation prefixes
2026-09-13 16:31:46 -04:00
Dax Raad
42ff564913
refactor(protocol): remove current project endpoint
2026-09-13 16:20:43 -04: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
Aiden Cline
b2e6e764a8
refactor(codemode): give errors a real prototype chain and JS error types ( #48559 )
2026-09-11 21:45:29 -05:00
Aiden Cline
68b862da49
refactor(codemode): make functions program objects with name and length ( #48541 )
2026-09-11 14:50:07 -05:00
Aiden Cline
10ae321bf3
refactor(codemode): give programs their own objects and arrays ( #48527 )
2026-09-11 13:36:35 -05:00
Aiden Cline
4c34ee5eab
test(codemode): run test262 files verbatim from a local checkout ( #48446 )
2026-09-11 10:40:02 -05:00
Aiden Cline
f3ef84556a
feat(codemode): add atob, btoa, and crypto.randomUUID ( #48290 )
2026-09-10 01:21:41 -05:00
Aiden Cline
08ff21179c
fix(codemode): hoist switch-case functions and memoize var names ( #48287 )
2026-09-10 00:42:08 -05:00
Aiden Cline
98a36fb1a4
feat(codemode): hoist var to function scope ( #48284 )
2026-09-10 00:27:58 -05:00
Aiden Cline
e22cd0a585
refactor(codemode): collapse repeated loop, promise, and Object shapes ( #48283 )
2026-09-10 00:02:58 -05:00
Aiden Cline
1452aadc87
feat(codemode): add substr, well-formed, and Date string methods ( #48275 )
2026-09-09 23:29:34 -05:00
Aiden Cline
5ec7dd968c
fix(codemode): coerce enumeration sources like JS ToObject ( #48257 )
2026-09-09 22:24:55 -05:00
Aiden Cline
bdb66747e7
feat(codemode): resolve constructor to the owning built-in ( #48233 )
2026-09-09 20:14:29 -05:00
Aiden Cline
50ed7c41ef
refactor(codemode): treat prototype-named keys as ordinary data ( #48218 )
2026-09-09 16:54:55 -05:00
Aiden Cline
7f2510c5ca
fix(codemode): name the received value in data diagnostics and document intentional gaps ( #48211 )
2026-09-09 14:48:51 -05:00
Aiden Cline
85dff53a1f
fix(codemode): label supported and unsupported syntax in the hint ( #48200 )
2026-09-09 12:33:22 -05:00
Aiden Cline
297019e321
fix(codemode): report non-constructible new callees as TypeError ( #48083 )
2026-09-09 12:22:44 -05:00