mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-12-05 22:29:58 +00:00
Snapshots before every call cost a full heap write per call (128 ms per call with 100k live objects, against 2 ms with the journal), and replay restarts as fast or faster except for compute-heavy scripts. Durable code mode is back to main's journal and replay, run through start() on djs. - durable: src/codemode, tests, spec 7.6 and README as on main (call.ts, snapshots, deliveries and parking are gone), keeping djs, TypeScript, namespace imports and the searchTools() hint. CODEMODE_MODULE_VERSION 3. - pi-codemode: start() is supported again (replay.ts, no deprecation). It numbers the calls it hands out 1, 2, ... (djs counts sync host calls too), lists the un-awaited calls of the last step in run.dropped, and takes modules and missingToolHint. begin()/resume()/save() stay. - p2: the code mode plugin drains its sandbox on reload and replays after a worker stop, as on main; CPU budget kept as CODEMODE_CPU_BUDGET (part of the fingerprint). |
||
|---|---|---|
| .. | ||
| activity.tsx | ||
| calls.ts | ||
| card.ts | ||
| contract.ts | ||
| nested.ts | ||
| package.json | ||
| tui.ts | ||
| web.tsx | ||
| worker.ts | ||