pi-mono/apps/p2/plugins/codemode
Armin Ronacher 36734f23ce feat(durable,codemode,p2): durable code mode journals and replays again, on djs
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).
2026-11-30 19:15:04 +01:00
..
activity.tsx feat(p2): show subagents' current step in the sidebar 2026-11-11 16:38:24 +01:00
calls.ts feat(durable,codemode,p2): durable code mode journals and replays again, on djs 2026-11-30 19:15:04 +01:00
card.ts p2: code mode's calls and the tools' TUI cards come from their plugins 2026-11-07 00:28:50 +01:00
contract.ts feat(durable,codemode,p2): durable code mode journals and replays again, on djs 2026-11-30 19:15:04 +01:00
nested.ts p2: code mode's calls and the tools' TUI cards come from their plugins 2026-11-07 00:28:50 +01:00
package.json feat: add apps/p2 (imported from pi-private at 7dadff697) 2026-11-03 13:39:06 +00:00
tui.ts p2: code mode's calls and the tools' TUI cards come from their plugins 2026-11-07 00:28:50 +01:00
web.tsx feat(p2): tools' chat look comes from the plugins that own them 2026-11-06 17:39:08 +01:00
worker.ts feat(durable,codemode,p2): durable code mode journals and replays again, on djs 2026-11-30 19:15:04 +01:00