@earendil-works/pi-coding-agent
1.6.0 · 20 Nov 2026MIT6.6M / weekRepositoryHomepagenpmAtom feed
0.99.2 is the newest release of 0.80.x.
In short
1 breaking7 new15 fixed
- Breaking
Removed the
openai-responsescompat.sendSessionIdHeaderflag frommodels.json. Session-affinity behavior is now controlled bycompat.sessionAffinityFormat("openai","openai-nosession", or"openrouter"). ReplacesendSessionIdHeader: falsewithsessionAffinityFormat: "openai-nosession"
Release note
Breaking Changes
- Breaking
Removed the
openai-responsescompat.sendSessionIdHeaderflag frommodels.json. Session-affinity behavior is now controlled bycompat.sessionAffinityFormat("openai","openai-nosession", or"openrouter"). ReplacesendSessionIdHeader: falsewithsessionAffinityFormat: "openai-nosession"
New Features
Cache-friendly dynamic tool loading - Extensions can add tools during execution while supported Anthropic and OpenAI Responses models preserve prompt-cache prefixes. See Dynamic Tool Loading.
Message copy shortcut -
Ctrl+Xcopies the last assistant message in the transcript or the selected message in/tree, making older and branched messages directly copyable. See Display and Message Queue.Fable 5
xhighandmaxthinking - Nativexhighandmaxthinking levels are available across generated provider catalogs. See Model Options.
Added
Added cache-friendly dynamic tool loading for extension tools activated by tool results. Supported Anthropic and OpenAI Responses models load definitions where they become available, preserving the cached prompt prefix. See Dynamic Tool Loading (#6474).
Added inherited native
xhighandmaxthinking levels for Claude Fable 5 across all generated provider catalogsAdded
Ctrl+Xto copy the last assistant message, or the selected message in/tree.Added inherited
toolChoicesupport for OpenAI and Codex Responses, including required and named tool selection
Fixed
Fixed inherited OpenRouter model context windows to use the top provider's actual context length
Fixed inherited OpenRouter OpenAI-compatible session IDs to use the
x-session-idheader instead of OpenAI-specific session-affinity fieldsFixed
Ctrl+Vto paste clipboard text when the pasteboard does not contain an image.Fixed
/login amazon-bedrockto prompt for and save a Bedrock API key instead of only displaying ambient AWS credential setup instructions.Fixed inherited Amazon Bedrock ambient AWS credentials to keep using SigV4 authentication, including for custom model IDs
Fixed inherited Cloudflare Workers AI and AI Gateway authentication to use ambient account and gateway IDs when stored credentials contain only an API key
Fixed inherited legacy terminal decoding for Alt+symbol key combinations such as
Alt+,andAlt+.Fixed the GitHub Copilot
mai-code-1-flash-pickermodel to route through the/responsesendpointFixed branch summaries to work with providers that use ambient authentication instead of API keys
Fixed inherited Amazon Bedrock errors to report unhandled provider stop reasons instead of only
An unknown error occurredFixed npm package removal when installed packages have conflicting peer dependencies
Fixed inherited Azure OpenAI Responses reasoning replay when
encrypted_contentappears only in the terminal response eventFixed inherited Anthropic-compatible proxies that omit
usagefrommessage_deltaeventsFixed inherited OpenCode OpenAI Responses models to omit the unsupported
session-idheader while preserving other cache-affinity dataFixed system prompt cache invalidation across dates by removing the current date from the default prompt (#6621).
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.