Packages

@earendil-works/pi-coding-agent

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

Your version

0.83.0

29 Jul 2026Where it was published

0.99.2 is the newest release of 0.83.x.

In short

1 breaking11 new15 fixed

  • Breaking

    Upgraded bundled TypeBox aliases to 1.3.7, removing deprecated APIs including Type.Base, Type.Awaited, Type.Promise, Type.AsyncIterator, Type.Iterator, Type.Options, and Value.Mutate, while fixing compiled validation of nullable array tool arguments. Extensions using removed APIs must migrate to supported TypeBox APIs. See Package Dependencies

Release note

New Features

  • Credential export for external clients — pi auth print-api-key and pi auth print-bearer-token export configured credentials with automatic OAuth refresh and minimum-validity enforcement.

  • Headless OpenRouter sign-in — Complete /login over SSH by pasting the redirect URL or authorization code when the loopback callback is unavailable. See OpenRouter.

  • Claude Opus 5 on GitHub Copilot — Use Claude Opus 5 through GitHub Copilot with adaptive thinking and a 1M context window. See GitHub Copilot.

Breaking Changes

  • Breaking

    Upgraded bundled TypeBox aliases to 1.3.7, removing deprecated APIs including Type.Base, Type.Awaited, Type.Promise, Type.AsyncIterator, Type.Iterator, Type.Options, and Value.Mutate, while fixing compiled validation of nullable array tool arguments. Extensions using removed APIs must migrate to supported TypeBox APIs. See Package Dependencies

Added

  • Added pi auth print-api-key and pi auth print-bearer-token commands for exporting configured credentials to external clients, including automatic OAuth refresh and configurable minimum token validity (#7168).

  • Exposed the session's resolved model scope as ctx.scopedModels to extensions. See Extension Context

  • Added inherited per-request fetch injection for supported text and image provider transports.

  • Added the inherited "pending" stop reason for partial streaming messages. See Custom Provider Stream Pattern

  • Added inherited raw provider stop reasons across Google, Anthropic, Amazon Bedrock, Mistral, and OpenAI streams; unmapped terminal reasons now surface as provider errors instead of successful stops (#7272).

  • Added manual redirect URL and authorization-code entry to OpenRouter login for remote and headless environments. See OpenRouter

  • Added inherited Claude Opus 5 support for GitHub Copilot with adaptive thinking and a 1M context window. See GitHub Copilot

Changed

  • Changed inherited OAuth credential resolution to refresh tokens with less than five minutes of validity remaining instead of waiting until expiration (#7168).

Fixed

  • Added a status line when the tool output expansion is toggled (#7180).

  • Fixed file-backed SYSTEM.md and APPEND_SYSTEM.md prompts being omitted from the interactive startup context listing. See System Prompt Files (#7096).

  • Fixed context files loading twice when a linked Git worktree is nested under its main repository. See Context Files

  • Fixed llama.cpp streamed responses reporting zero token usage and leaving session context accounting empty. See llama.cpp

  • Fixed session replacement and committed tree navigation during an active response to abort and persist the outgoing turn instead of leaving dangling tool calls. See Sessions

  • Fixed failed Git package installs leaving partial directories that blocked clean retries. See Install and Manage

  • Fixed the /model selector retaining a stale selection while filtering instead of highlighting the top match

  • Fixed direct RPC bash commands bypassing extension user_bash handlers. See User Bash Events (#7214).

  • Fixed skills, prompts, and themes losing package source metadata after extensions reload resources. See Resource Events (#6968).

  • Fixed cancellation of concurrently running user bash commands so every active command is aborted

  • Fixed duplicate messages appearing when extensions switch sessions during interactive startup

  • Fixed inherited Qwen Token Plan reasoning models to send their service-specific thinking controls and supported reasoning-effort levels (#6951, #6998).

  • Fixed inherited Z.AI output limits being sent through an unsupported parameter. See Providers

  • Fixed explicitly configured Amazon Bedrock profiles being overridden by ambient AWS access keys. See Amazon Bedrock

  • Fixed inherited image fallback paths overflowing narrow terminals, shortened home-directory paths, and made absolute paths clickable when terminal hyperlinks are available (#7262).

  • Fixed inherited OpenAI-compatible tool calls losing their function arguments when malformed deltas also contain an empty custom object

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.