# 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.

| | |
|---|---|
| **Tool** | Pi |
| **Version** | v0.79.8 |
| **Kind** | release |
| **Published** | 2026-06-19 |
| **Observed** | 2026-08-21 |
| **Significance** | 2/5 |
| **Breaking** | no |
| **Categories** | feature, fix, security |

## What changed


- 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_key` with 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


## Sources

- [github_release](https://github.com/earendil-works/pi/releases/tag/v0.79.8) — retrieved 2026-08-21


## Community

_No curated reactions recorded. Facts and community takes are kept in separate layers
and never blended._

---
Canonical: https://changelogs.info/pi/v0-79-8
Entity: https://changelogs.info/pi
Event ID: `evt_2026-06-19_pi_v0-79-8`
Licence: event synthesis © changelogs.info, CC BY 4.0. Linked sources belong to their vendors.
