Packages

@earendil-works/pi-coding-agent

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

Your version

0.81.0

21 Jul 2026Where it was published

0.99.2 is the newest release of 0.81.x.

In short

10 new21 fixed

Release note

New Features

  • Local llama.cpp model management — Connect to a llama.cpp router, search and download Hugging Face models, and explicitly load or unload models with live progress. See llama.cpp.

  • Full provider extensions — Extensions can register complete pi-ai providers with authentication, model refresh, filtering, and custom streaming. See Register New Provider.

  • Qwen Token Plan providers — Use the built-in international and China subscription providers with regional endpoints and API-key authentication. See API Keys.

  • Expanded usage accounting — Tool, compaction, and branch-summary usage is persisted and included in session totals. See Compaction & Branch Summarization.

Added

  • Added Qwen Token Plan and Qwen Token Plan China to built-in provider setup, default model resolution, and provider documentation

  • Added the get_available_thinking_levels RPC command and RpcClient.getAvailableThinkingLevels() method

  • Exported message and tool execution lifecycle event types from the package root

  • Added built-in llama.cpp router support with /login connection setup and /llama Hugging Face model search and downloads, explicit loading, unloading, and live progress. See llama.cpp.

  • Added extension registration for complete pi-ai providers, including native authentication, model refresh, filtering, and streaming behavior.

  • Added usage accounting for tools, compaction, and branch summaries in persisted sessions, footer totals, and session statistics

Fixed

  • Updated the packaged brace-expansion dependency to 5.0.7

  • Fixed persisted remote model catalogs from overriding newer bundled catalogs after an upgrade.

  • Fixed inherited stored API-key credentials to apply their provider-scoped env values, including Amazon Bedrock profiles

  • Fixed inherited OpenAI-compatible cross-provider replay to keep tool call IDs unique when multiple calls share a provider call ID

  • Fixed inherited Kimi K3 thinking levels to expose low, high, and max, and normalized the k2p7 alias to kimi-for-coding.

  • Fixed inherited OpenCode Go models routed through the OpenAI Responses API.

  • Fixed inherited pi-ai package metadata to avoid repeated consumer lockfile changes

  • Fixed inherited terminal shutdown to clear the editor's inverted software cursor before restoring the hardware cursor

  • Fixed inherited ANSI-aware text wrapping to recognize CRLF and CR line endings while preserving styles

  • Fixed inherited editor paste registry corruption after deleting and undoing paste markers, preventing literal or mismatched paste markers in submitted prompts (#6844).

  • Fixed sessionless OpenAI Codex WebSocket requests to use UUIDv7 request IDs

  • Fixed inherited GPT-5.6 Codex models to default to the 272K context window, avoiding automatic long-context pricing

  • Fixed messages queued during compaction to preserve steering and follow-up delivery behavior

  • Fixed read tool errors being syntax-highlighted as if they were file contents

  • Fixed llama.cpp router download progress updates and removed redundant wording from model action confirmations.

  • Moved automatic model catalog network refresh out of startup initialization and into the running interactive and RPC modes.

  • Fixed persisted sessions being read and parsed twice when opened, reducing startup latency for large sessions (#6793).

  • Fixed prompt-template defaults for all arguments (${@:-default} and ${ARGUMENTS:-default}) (#6695).

  • Fixed obsolete custom UI, custom tool, and custom editor examples in the extension documentation (#6735).

  • Fixed Kimi Coding sessions to show API-equivalent implied costs with the subscription indicator.

  • Fixed OpenAI Responses early stream endings to trigger automatic retry instead of ending the agent run (#6727).

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.