# Pi v0.83.0: credential export, headless OpenRouter login, Claude Opus 5, TypeBox breaking changes

> Pi v0.83.0 adds credential export commands for external clients, headless OpenRouter sign-in over SSH, and Claude Opus 5 support via GitHub Copilot. The bundled TypeBox aliases were upgraded to 1.3.7 with several removed APIs, a breaking change for extensions using deprecated features. Dozens of fixes include session streaming, context file loading, Git package installs, and llama.cpp token accounting.

| | |
|---|---|
| **Tool** | Pi |
| **Version** | v0.83.0 |
| **Kind** | release |
| **Published** | 2026-07-29 |
| **Observed** | 2026-08-21 |
| **Significance** | 4/5 |
| **Breaking** | yes |
| **Categories** | feature, breaking, model-support, fix |

## What changed


- `pi auth print-api-key` and `pi auth print-bearer-token` export configured credentials with automatic OAuth refresh and minimum-validity enforcement
- Headless OpenRouter login: paste redirect URL or auth code when loopback callback is unavailable
- Claude Opus 5 on GitHub Copilot with adaptive thinking and 1M context window
- **Breaking:** TypeBox aliases upgraded to 1.3.7, removing `Type.Base`, `Type.Awaited`, `Type.Promise`, `Type.AsyncIterator`, `Type.Iterator`, `Type.Options`, `Value.Mutate` — extensions using removed APIs must migrate
- `ctx.scopedModels` exposed to extensions
- Inherited per-request `fetch` injection for text/image provider transports
- `"pending"` stop reason for partial streaming messages
- Raw provider stop reasons across Google, Anthropic, Bedrock, Mistral, OpenAI streams; unmapped terminal reasons now surface as provider errors
- OAuth token refresh triggers at 5 minutes remaining instead of expiration
- Fixed: file-backed SYSTEM.md/APPEND_SYSTEM.md omitted from startup context listing
- Fixed: context files loading twice under nested Git worktrees
- Fixed: llama.cpp streamed responses reporting zero token usage
- Fixed: session replacement during active response now persists outgoing turn
- Fixed: failed Git package installs leaving partial directories
- Fixed: /model selector retaining stale selection while filtering
- Fixed: direct RPC bash commands bypassing extension user_bash handlers


## Sources

- [github_release](https://github.com/earendil-works/pi/releases/tag/v0.83.0) — 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-83-0
Entity: https://changelogs.info/pi
Event ID: `evt_2026-07-29_pi_v0-83-0`
Licence: event synthesis © changelogs.info, CC BY 4.0. Linked sources belong to their vendors.
