@earendil-works/pi-coding-agent
1.6.0 · 20 Nov 2026MIT6.6M / weekRepositoryHomepagenpmAtom feed
0.99.2 is the newest release of 0.79.x.
In short
8 new3 fixed
Release note
New Features
Selective provider base entry points - SDK users can pair
@earendil-works/pi-ai/baseand@earendil-works/pi-agent-core/basewith explicit provider registration to keep bundled applications from including unused provider transports. Seepi-aiBase Entry Point andpi-agent-coreBase Entry Point.Mistral prompt caching - Mistral sessions now use provider-side prompt caching with session affinity and cached-token usage/cost accounting. See API Keys and Environment Variables.
Post-compaction token estimates - Compact results and compaction events now include estimated post-compaction token counts so clients can show the approximate context reduction. See RPC compact and compaction events.
OpenRouter Fusion alias -
openrouter/fusionis available as a built-in OpenRouter model alias. See API Keys.
Added
Added inherited
@earendil-works/pi-ai/baseand@earendil-works/pi-agent-core/baseentry points for selective provider registration in bundled applicationsAdded inherited Mistral prompt caching using the pi session ID as
prompt_cache_key, including cached-token usage and cost accounting (#5854).Added estimated post-compaction token counts to compact results and compaction events (#5877).
Added the inherited OpenRouter Fusion alias as
openrouter/fusion
Fixed
Updated vulnerable runtime dependencies, including
undiciand the packagedprotobufjstransitive dependency.Fixed compaction to refuse sessions with no eligible messages instead of producing empty summaries (#4811).
Fixed successful overflow-triggered auto-compaction to avoid retrying completed assistant responses (#5720).
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.