News
Release notes

Pi 0.80.4

New Features

Added

  • Added inherited OpenAI GPT-5.6 model metadata for gpt-5.6, gpt-5.6-sol, gpt-5.6-terra, and gpt-5.6-luna, plus verified openai-codex support for gpt-5.6-sol, gpt-5.6-terra, and gpt-5.6-luna.
  • Added inherited Claude Sonnet 5 to the GitHub Copilot model catalog (#6200).
  • Added inherited zstd request-body compression for the OpenAI Codex Responses SSE transport.
  • Added /login <provider> support with provider autocomplete.
  • Added public SDK exports for CLI-equivalent model and scoped-model resolution (#6201).
  • Added extension and RPC agent_settled events plus session-level idle waiting for fully settled agent runs (#6363).
  • Added before_provider_headers extension hook support for injecting provider request headers (#6350 by @pmateusz).
  • Added an InlineExtension type for named inline extension factories (#6267 by @any-victor).
  • Added extension entry renderers for persisted display-only session entries that are rendered in interactive mode without being sent to the model context.
  • Added project-local resource override management to pi config, including project mode startup with pi config -l and Tab switching between global and project scopes (#6309).
  • Added inherited InMemorySessionStorage and JsonlSessionStorage exports from the agent harness (#6435).
  • Added inherited custom metadata support in JSONL session headers (#6417 by @ArcadiaLin).
  • Added a showCacheMissNotices setting and /settings toggle for significant prompt-cache miss transcript notices.

Fixed

  • Fixed inherited retry classification for gRPC ResourceExhausted provider errors such as NVIDIA NIM transient exhaustion responses (#6449 by @davidbrai).
  • Fixed inherited retry classification for Cloudflare 524 timeout responses (#6239).
  • Fixed inherited GitHub Copilot device-code login polling to wait before the first token poll and to honor server-provided slow_down intervals, avoiding incorrect failures or apparent hangs after browser authorization (#6187).
  • Fixed inherited OpenAI Codex WebSocket sessions to rotate cached connections before the backend's 60-minute limit, avoiding connection-limit failures on long sessions (#6268).
  • Fixed inherited DS4 server context overflow detection for Prompt has ... tokens, but the configured context size is ... tokens errors (#6262).
  • Fixed inherited Fireworks GLM 5.2 Fast to use the OpenAI-compatible endpoint and thinkingLevelMap, aligning it with GLM 5.2 (#6195).
  • Fixed the fork menu to ignore duplicate selection of the same entry (#6430 by @davidbrai).
  • Fixed native clipboard support in Bun standalone releases (#6418 by @davidbrai).
  • Fixed inherited GitHub Copilot extended context window models to use contextWindow: 1000000, preventing premature compaction and under-budgeting (#6439).
  • Fixed inherited editor paste marker accounting when paste markers are deleted or terminal state is cleared (#6397 by @affanali2k3).
  • Fixed null message content from imported transcripts or custom clients to normalize at ingestion boundaries instead of failing during context construction (#6343).
  • Fixed inherited tool calls from length-truncated assistant messages to fail instead of waiting for missing tool results (#6285).
  • Fixed inherited OpenAI Completions and Responses providers to send (no tool output) instead of (see attached image) when a tool result has empty text and no image content.
  • Fixed inherited OpenAI Responses and Azure OpenAI Responses requests to avoid sending max_output_tokens values below the provider minimum (#6265).
  • Fixed inherited Amazon Bedrock prompt-cache points for Claude Fable 5 and Claude Sonnet 5 (#6235).
  • Fixed inherited Amazon Bedrock Claude 5 prompt-cache pricing metadata by removing stale fallback overrides.
  • Fixed inherited OpenAI Codex user-agent construction to synchronously load Node OS metadata, avoiding a startup race that could report pi (browser) in Node/Bun.
  • Fixed pi update for pnpm installations to suggest pruning pnpm's self-update cache when the executable points at a removed cached version (#6279 by @rajp152k).
  • Fixed Xiaomi Token Plan model metadata to follow the upstream models.dev token-plan catalogs, removing unsupported mimo-v2-omni variants (#6204).
  • Fixed startup model selection to skip unauthenticated saved defaults so configured local custom models can be selected instead (#6231).
  • Fixed the question extension example to run question tool calls sequentially so multiple questions in one assistant turn remain answerable (#6189).
  • Fixed /login to report auth storage persistence failures instead of claiming credentials were saved when auth.json is locked (#6223).
  • Fixed split-turn compaction to serialize summary requests so single-concurrency local providers do not fail with 429 errors (#5536).
  • Fixed compaction retained-token budgeting to count context-visible custom messages (#6326).
  • Fixed custom session entries appended during assistant streaming to render before the live assistant message, matching persisted session order.
  • Fixed non-positive or oversized bash tool timeouts to fail with a clear validation error instead of being clamped to an immediate timeout (#6181).
  • Fixed the edit tool schema to allow model-invented extra replacement fields instead of rejecting otherwise valid edits (#6278).
  • Fixed new session resets to clear cached label timestamps (#6354).
  • Fixed auto-retry for Bun fetch socket-drop errors reported as socket connection was closed, so transient provider disconnects do not end headless runs without retrying (#6431).
  • Fixed models.json modelOverrides to apply to extension-registered provider models (#6367).
  • Fixed project context file discovery to use stable parent traversal on Windows so startup no longer hangs while loading AGENTS.md or CLAUDE.md (#6369).
  • Fixed --session-id startup to warn when no existing project session has that id and pi creates a new session (#6407).
  • Fixed /reload help text and docs to consistently mention themes and context files (#6395).

Removed

  • Removed default attribution headers from Vercel AI Gateway requests.