Pi v0.79.8: SDK base entry points, Mistral prompt caching, compaction token estimates
SDK users can now use @earendil-works/pi-ai/base and @earendil-works/pi-agent-core/base entry points with explicit provider registration to keep bundled applications from including unused provider transports. Mistral sessions gain provider-side prompt caching using session ID as cache key, with cached-token usage and cost accounting. Post-compaction token estimates are now available in compact results and events. OpenRouter Fusion alias added as openrouter/fusion. Vulnerable runtime dependencies patched.
PUBLISHED2026-06-19
OBSERVED2026-08-21
AGE2mo
SOURCES1
- SDK base entry points (
@earendil-works/pi-ai/base,@earendil-works/pi-agent-core/base) for selective provider registration in bundled applications - Mistral prompt caching using pi session ID as
prompt_cache_keywith cached-token accounting - Post-compaction token estimates exposed in compact results and compaction events
- OpenRouter Fusion alias as
openrouter/fusion - Updated vulnerable runtime dependencies (
undici,protobufjs) - Fixed compaction refusing sessions with no eligible messages instead of empty summaries
- Fixed overflow-triggered auto-compaction avoiding retry of completed assistant responses
COMMUNITY
No curated reactions recorded for this event. Facts and takes are kept in separate layers — community context is added by hand, never blended into the record above.