Commit graph

2 commits

Author SHA1 Message Date
James Long
fb87e6dd78 refactor: break the app current-server and codemode VM import cycles
App: current.tsx no longer imports runtime.tsx. The Server context takes
the server's health as a prop, and ServerProvider, which reads useGlobal,
moves to runtime.tsx.

Codemode: 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:21:39 +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
Renamed from packages/codemode/test/vm/limits.test.ts (Browse further)