Commit graph

143 commits

Author SHA1 Message Date
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
1eeaaab7a6
refactor: restrict reflective access (#48860) 2026-09-13 17:08:43 -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
opencode
c5aa7d7e34 sync release versions for v2.0.3 2026-09-12 23:48:02 +00:00
opencode
7c5a4d01aa sync release versions for v2.0.2 2026-09-12 07:57:20 +00: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
opencode
2253d4c31d sync release versions for v2.0.1 2026-09-12 05:01:52 +00: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
Dax
654f411a5b
feat(release): isolate v2 stable publishing (#48546) 2026-09-11 15:50:35 -04: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
181428a2f3
fix(codemode): use Bun's wording for the missing atob/btoa argument (#48381) 2026-09-10 20:08:36 -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
Aiden Cline
c0aa963c13
refactor(codemode): split the interpreter into a per-execution Runtime and per-call Frame (#48082) 2026-09-09 00:43:48 -05:00
Aiden Cline
1fe06bb4ed
refactor(codemode): define built-in globals as host functions and namespaces (#48072) 2026-09-08 23:57:03 -05:00
Aiden Cline
0da0772bc0
refactor(codemode): use acorn's typed AST in the interpreter (#48060) 2026-09-08 22:20:12 -05:00
Aiden Cline
08e28fb915
refactor(codemode): name the data boundary and prepare tools once (#48021) 2026-09-08 21:35:36 -05:00
Aiden Cline
546b9fb3c1
refactor(codemode): consolidate duplicated interpreter helpers (#48009) 2026-09-08 14:46:16 -05:00
Aiden Cline
8b09f6415a
refactor(codemode): export runtime value classes as Values (#48000) 2026-09-08 12:11:34 -05:00
Dax
a5312e169b
refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
Aiden Cline
fcddc84225
fix(codemode): render empty tools as () and accept zero args (#47833) 2026-09-07 12:52:48 -05:00
Dax
57c02cd04b
fix(tui): refresh plugin dialog after updates (#46911) 2026-09-02 17:59:18 -04:00
Aiden Cline
02440f6715
feat(codemode): label item and value schema comments (#46542) 2026-08-31 23:54:58 -05:00
Aiden Cline
4a3e25beab
feat(codemode): compact schema constraint comments (#46521) 2026-08-31 23:06:49 -05:00
Aiden Cline
8fda87614f
feat(codemode): document numeric string and array constraints (#46510) 2026-08-31 20:44:07 -05:00
Kit Langton
dffd95ce7c
fix(codemode): reject Object.assign cycles (#46076) 2026-08-31 20:38:02 -04:00
Kit Langton
01eda4c178
refactor(codemode): name only supported operations (#46082) 2026-08-31 20:00:13 -04:00
Kit Langton
57a9decefe
refactor(codemode): simplify input conflict detection (#46465) 2026-08-31 19:24:07 -04:00
Kit Langton
c0220ddd8b
refactor(codemode): reject unresolved intersections before rendering (#46468) 2026-08-31 19:23:52 -04:00
Aiden Cline
d04257eeb4
feat(codemode): add inline namespace metadata (#46464) 2026-08-31 16:01:14 -05:00
Kit Langton
d609752891
refactor(codemode): avoid merging root definitions twice (#46081) 2026-08-31 11:40:17 -04:00
Kit Langton
82b6e0e316
chore: enforce mapError simplifications (#46028) 2026-08-28 17:59:18 -04:00