pi-mono/packages
Mario Zechner da866ada17 feat(durable): keep each conversation's context in memory; Durable Object SQLite adapter
runtime.context() keeps each conversation's last read range and derived
view. A later read by any of the conversation's tasks with the same head
marker scans and derives only the entries committed since, so a
generation no longer rereads and re-derives the whole transcript for
each model request. Busy conversations keep the range; idle ones for
settings.contextRetentionMs (default ten minutes), checked on task
changes and by one unreferenced timer where the runtime supports it.
Kept entries are frozen; each read returns its own view arrays.

Add openDurableObjectSqliteStorage(ctx.storage) in
@earendil-works/pi-durable/storage/sqlite/cloudflare: SQLite storage on
a SQLite-backed Cloudflare Durable Object, without per-row copies.
2026-10-06 20:58:35 +02:00
..
agent fix(ai): time responses with private fields; use the real stream in proxy and test mocks 2026-10-06 20:26:27 +02:00
ai fix(ai): compare faux prompt-cache usage per message 2026-10-06 20:58:35 +02:00
chord Release v1.0.4 2026-10-05 21:22:49 +02:00
client Add [Unreleased] section for next cycle 2026-10-05 21:23:02 +02:00
codemode Add [Unreleased] section for next cycle 2026-10-05 21:23:02 +02:00
coding-agent fix(ai): time responses with private fields; use the real stream in proxy and test mocks 2026-10-06 20:26:27 +02:00
durable feat(durable): keep each conversation's context in memory; Durable Object SQLite adapter 2026-10-06 20:58:35 +02:00
env Add [Unreleased] section for next cycle 2026-10-05 21:23:02 +02:00
evals feat: unify package artifact validation (#10197) 2026-10-06 13:30:02 +02:00
mcp Add [Unreleased] section for next cycle 2026-10-05 21:23:02 +02:00
protocol Add [Unreleased] section for next cycle 2026-10-05 21:23:02 +02:00
server Add [Unreleased] section for next cycle 2026-10-05 21:23:02 +02:00
telemetry Add [Unreleased] section for next cycle 2026-10-05 21:23:02 +02:00
tui fix(coding-agent): apply outputPad to all transcript blocks (#10557) 2026-10-06 17:27:55 +02:00