Packages

@earendil-works/pi-coding-agent

1.6.0 · 20 Nov 2026MIT6.6M / weekRepositoryHomepagenpmAtom feed

Your version

0.80.3

30 Jun 2026Where it was published

0.99.2 is the newest release of 0.80.x.

In short

14 new19 fixed2 changed

Release note

New Features

  • Anthropic Claude Sonnet 5 support - Claude Sonnet 5 is available through inherited Anthropic-compatible and Bedrock provider catalogs with adaptive thinking enabled. See Providers and Model Options.

  • Configurable output spacing - outputPad controls horizontal padding for user messages, assistant messages, and thinking blocks. See Settings.

  • External editor configuration - externalEditor lets Ctrl+G use a configured editor before $VISUAL/$EDITOR fallbacks. See Settings and Keybindings.

  • Richer RPC session tree access - RPC clients can inspect session entries and tree snapshots with get_entries and get_tree. See get_entries and get_tree.

  • Extension session metadata updates - Extensions can observe session name changes through session_info_changed. See session_info_changed.

  • Modern Azure Foundry endpoint support - Azure OpenAI Responses provider setup supports current Microsoft Foundry endpoint URLs. See Azure OpenAI.

Added

  • Added inherited Anthropic Claude Sonnet 5 model support.

  • Added get_entries and get_tree RPC commands for reading session entries and tree snapshots over RPC

  • Added a package ./rpc-entry export for launching Pi directly in RPC mode.

  • Added session-name change events for extensions

  • Added inherited Azure OpenAI Responses support for modern Microsoft Foundry endpoint URLs

  • Added inherited Usage.reasoning token counts for providers that report reasoning/thinking token usage (#6057).

  • Added an externalEditor settings.json override for Ctrl+G external editor commands, with default fallbacks to Notepad on Windows and nano elsewhere (#6122).

  • Added an outputPad setting for user message, assistant message, and thinking horizontal padding (#6168).

Changed

  • Changed the default OpenAI model to gpt-5.5.

  • Changed inherited OpenAI Codex Responses SSE response-header waits to use the configured HTTP timeout instead of the previous fixed 20 second timeout, reducing false timeouts on slow connections (#4945).

Fixed

  • Fixed inherited Claude Sonnet 5 metadata to use adaptive thinking payloads for Anthropic-compatible and Bedrock requests.

  • Fixed inherited generated Xiaomi MiMo model pricing to match current pay-as-you-go pricing from models.dev (#6138).

  • Fixed inherited provider HTTP errors to include response bodies instead of opaque SDK messages

  • Fixed inherited streamSimple() max-token caps so providers that count input and output against one context window do not reject long requests (#5595).

  • Fixed inherited OpenAI Responses streams to preserve reasoning replay state when output items finish out of order (#6009).

  • Fixed inherited Z.AI preserved thinking requests to send thinking.clear_thinking: false when thinking is enabled, allowing replayed reasoning_content to participate in provider caching (#6083).

  • Fixed pre-prompt compaction to stop after compaction instead of continuing immediately

  • Fixed resource notifications to stay before messages when resuming sessions

  • Fixed startup benchmark timing output to print after TUI shutdown, preserve extension timings, and drain terminal-query replies before stopping benchmark mode

  • Fixed extension tool changes to apply before the next provider request in the same agent run without dropping before_agent_start system-prompt overrides (#6162).

  • Fixed a crash when undici emits an internal client error while terminating a mid-stream HTTP response (#6133).

  • Fixed the compaction event regression test to cover status indicator cleanup and keep CI passing.

  • Fixed interactive status indicators so ending work, retry, compaction, or branch-summary indicators no longer shrink the TUI when clear-on-shrink is enabled (#6026).

  • Fixed --session and SessionManager.open() to reject non-empty invalid session files without overwriting them (#6002).

  • Fixed user-message transcript rendering to keep visible backslashes in Markdown escape sequences such as \" (#6105).

  • Fixed assistant messages stopped by output length to show a visible incomplete-response error (#4290).

  • Fixed --no-session --session-id so ephemeral CLI runs can use deterministic session IDs for provider cache affinity (#6070).

  • Fixed disk BMP image files to be detected, converted to PNG, and attached through read and CLI @file inputs (#6047).

  • Fixed auto-retry for provider stream errors that explicitly tell callers to retry the request (#6019).

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.