@earendil-works/pi-coding-agent
1.6.0 · 20 Nov 2026MIT6.6M / weekRepositoryHomepagenpmAtom feed
0.99.2 is the newest release of 0.76.x.
In short
6 new15 fixed
Security
4 advisories affect 0.76.0; 0.78.1 fixes the others
- HighPi Agent: Predictable temporary extension install paths allow local privilege escalation on shared Linux hostsGHSA-jfgx-wxx8-mp94 · 17 Jun 2026Fixed in 0.78.1
- ModeratePi Agent: Pi loads project-local extensions without approvalGHSA-mqxh-6gq7-558m · 17 Jun 2026No fix yet
- LowPi Agent: Race condition in Pi auth.json writes could expose stored credentialsGHSA-r95r-rj6r-c39x · 17 Jun 2026Fixed in 0.78.1
- LowPi Agent: Potential XSS in HTML session exports via Markdown URL sanitization bypassGHSA-7v5m-pr3q-6453 · 16 Jun 2026Fixed in 0.78.1
Release note
New Features
Explicit session IDs for automation -
--session-id <id>lets scripts create or resume an exact project-local session. See Sessions.RPC bash output can stay out of model context - RPC clients can pass
excludeFromContexttobashfor commands whose output should not be sent with the next prompt. See RPC mode.More predictable provider retries and timeouts - Codex WebSocket/SSE waits are bounded, and
retry.provider.maxRetriescontrols provider retries instead of hidden SDK defaults. See Retry settings.Better terminal editing across environments - Apple Terminal Shift+Enter, Windows/JetBrains capability detection, and Unicode-aware word navigation improve interactive editing. See Terminal setup and Keybindings.
Added
Added
--session-idto let CLI callers use an exact project-local session ID, creating it if missing (#4874).Added
excludeFromContextflag to thebashRPC command for parity with the internalexecuteBashAPI (#5039).
Fixed
Fixed user message transcript rendering to preserve user-authored ordered-list markers (#5013).
Fixed self-update commands to bypass npm, pnpm, and Bun minimum release age gates for explicit
pi updateruns (#4929).Fixed context token estimates to count user image attachments consistently with tool result images (#4983).
Fixed
httpIdleTimeoutMsto apply to OpenAI Codex Responses WebSocket idle waits, addedwebsocketConnectTimeoutMsfor bounded WebSocket connect waits, and added a 10s Codex SSE response-header timeout (#4945).Fixed
RpcClientto reject pending requests and consume stdin pipe errors when the child process exits unexpectedly (#4764).Fixed managed npm extension updates to avoid package managers installing or resolving pi host packages as peer dependencies (#4907).
Fixed RPC mode raw stdout writes to retry transient backpressure errors and flush queued protocol output during shutdown (#4897).
Fixed OpenAI Codex Responses cache-affinity headers to send
session-idinstead of proxy-incompatiblesession_id(#4967).Fixed
openai-codex/gpt-5.3-codex-sparkmodel metadata to use its 128k context window (#4969).Fixed OpenRouter/Poolside context overflow detection for
maximum allowed input lengtherrors (#4943).Fixed provider retry controls so
retry.provider.maxRetriesis honored, SDK retries default to0, and quota/billing 429s are not retried behind Pi's retry handlingFixed Apple Terminal
Shift+Enterby detecting local macOS modifier state when Terminal.app sends plain Return.Fixed Windows Terminal capability detection to enable OSC 8 hyperlinks, preserving clickable long URLs across wrapped lines (#4923).
Fixed JetBrains terminal capability detection to enable truecolor while disabling unsupported OSC 8 hyperlinks
Fixed editor and input word navigation/deletion to use Unicode word boundaries while preserving ASCII punctuation boundaries
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.