pi-mono/apps/p2/plugins/cache-warming
Armin Ronacher b76afbdb2f refactor: simplify p2 cache warming and its tests
- pi-durable: GenerationRequest drops payloadReplaced; the body chain is
  unchanged.
- p2: the warmer asks the host for the conversation's phase at each refresh
  (streaming while pi.live.run exists, idle for top-level conversations,
  nothing once the request is stale) instead of tracking afterRun, uses real
  timers, and drops the late-timer guard.
- Tests run the warmer on mocked timers in four tests plus the worker test.
2026-11-06 00:17:06 +01:00
..
contract.ts feat: prompt cache warming in p2 2026-11-05 23:45:49 +01:00
package.json feat: prompt cache warming in p2 2026-11-05 23:45:49 +01:00
warmer.ts refactor: simplify p2 cache warming and its tests 2026-11-06 00:17:06 +01:00
worker.ts refactor: simplify p2 cache warming and its tests 2026-11-06 00:17:06 +01:00