pi-mono/packages
Armin Ronacher 962b130e0c feat(coding-agent): add in-context compaction
With compaction.inContext enabled, compaction can generate the summary inside the cached conversation: it repeats the request the next turn would send, appends the instructions as a system message plus a user message, and sets toolChoice none. The recent tail is kept as before. A gate requires a verified model, a warm cache from the same model and thinking level, room in the context window, and a lower estimated cost than the standalone summary. Failed or rejected attempts fall back to the standalone summary, never execute tools, and are recorded in details.inContext with their usage.

pi-ai adds the supportsInContextCompaction compat setting and test/in-context-compaction-probe.ts, which measures whether a model keeps its prompt cache for this request shape. The generated catalog flags the models that passed.
2026-10-07 00:14:46 +02:00
..
agent Add [Unreleased] section for next cycle 2026-10-05 21:23:02 +02:00
ai feat(coding-agent): add in-context compaction 2026-10-07 00:14:46 +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 feat(coding-agent): add in-context compaction 2026-10-07 00:14:46 +02:00
durable feat(durable): read a conversation's context as of an earlier entry 2026-10-06 17:22:05 +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