@earendil-works/pi-coding-agent
1.6.0 · 20 Nov 2026MIT6.6M / weekRepositoryHomepagenpmAtom feed
Upgrading @earendil-works/pi-coding-agent From 0.74.2 to 0.79.0
11 releases in betweenevery note read
Reading releases, release notes and advisories…
Before you upgrade
Tick each one off as you go- Breaking0.75.1
- Breaking0.75.0
Security
Fixes 4 advisories affecting 0.74.2
- Pi Agent: Potential XSS in HTML session exports via Markdown URL sanitization bypasslow · GHSA-7v5m-pr3q-6453
- Pi Agent: Predictable temporary extension install paths allow local privilege escalation on shared Linux hostshigh · GHSA-jfgx-wxx8-mp94
- Pi Agent: Pi loads project-local extensions without approvalmoderate · GHSA-mqxh-6gq7-558m
- Pi Agent: Race condition in Pi auth.json writes could expose stored credentialslow · GHSA-r95r-rj6r-c39x
- 0.78.1
Fixed stored XSS in HTML session exports by sanitizing Markdown link and image URLs with a scheme allow-list after stripping control characters.
Release by release
- New
Project trust for local inputs - Pi now asks before loading project-local settings, resources, instructions, and packages, with saved decisions and
--approve/--no-approvecontrols for non-interactive modes. See Project Trust. - New
Extension-controlled trust decisions - Global and CLI extensions can handle
project_trust, decide, remember, or defer project trust before project-local resources load. Seeproject_trust. - New
Cache-hit visibility in the footer - The interactive footer now shows the latest prompt cache hit rate (
CH). See Interactive Mode. - New
Richer SDK and RPC extension surfaces - Public exports now include RPC extension UI request/response types and package asset path helpers. See Extension UI Protocol and SDK Exports.
- New
- Security
Fixed stored XSS in HTML session exports by sanitizing Markdown link and image URLs with a scheme allow-list after stripping control characters.
- New
More built-in provider coverage - Added Ant Ling and NVIDIA NIM provider setup, plus MiniMax-M3 support for the direct MiniMax providers. See Providers.
- New
Richer extension context - Extensions can use
ctx.modeandctx.getSystemPromptOptions()to adapt behavior across TUI, RPC, JSON, and print modes and inspect base system prompt inputs. See Extensions. - New
Added containerization documentation and a Gondolin extension example for routing built-in tools into a local micro-VM.
- Security
- New
Named startup sessions -
--name/-nsets the session display name before startup across interactive, print, JSON, and RPC modes. See Naming Sessions and Session Options. - New
Clickable file tool paths - built-in file tool titles render OSC 8
file://hyperlinks when the terminal supports them, including supported tmux clients. - New
Exported
convertToPngfor extension authors - New
Exported
parseArgsand typeArgsfor extension authors
- New
- New
Claude Opus 4.8 support - Adds Anthropic Claude Opus 4.8 metadata and updates Opus adaptive-thinking coverage.
- New
Selective tool disablement -
--exclude-tools/-xtdisables specific built-in, extension, or custom tools while leaving the rest available. See Tool Options. - New
Headless Codex subscription login -
/logincan use device-code auth for ChatGPT Plus/Pro Codex subscriptions. See Subscriptions and OpenAI Codex. - New
Streaming-aware extension input - extensions can distinguish idle prompts, mid-stream steers, and queued follow-ups with
InputEvent.streamingBehavior. See Input Events.
- New
- New
Explicit session IDs for automation -
--session-id <id>lets scripts create or resume an exact project-local session. See Sessions. - New
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. - New
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. - New
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.
- New
- New
Cleaner read tool output - Collapsed
readtool cards now show only the read line by default, whileCtrl+Ostill expands the full file content. - New
Faster file tools on Windows - Built-in file tools now use async filesystem operations during streaming, and image resizes run off the main TUI thread in a worker.
- New
More reliable package updates -
pi updateand git package installs now reconcile pinned git refs and keep package settings intact. See Packages. - New
Custom Anthropic-compatible adaptive thinking - Custom provider model configs can opt into adaptive-thinking Claude behavior with
compat.forceAdaptiveThinking. See Custom providers and Models.
- New
- New
Hardened npm install and release path - Pi now ships the CLI with a generated shrinkwrap for transitive dependencies, blocks accidental lockfile changes, verifies dependency pinning and lifecycle-script allowlists in checks, disables lifecycle scripts for self-update and local release installs where supported, and smoke-tests isolated npm and Bun installs before release. See Supply-chain hardening.
- New
Added interactive update notes after
pi updateruns, so users can see the installed version's changelog before continuing - New
Exported image resize utilities from the package root for SDK consumers
- Fixed
Fixed the system prompt to tell models to resolve pi docs and examples under the absolute package paths before reading topic-specific relative references (#4752).
- New
8 other lines we could not sort, mostly version bumps
- 0.75.5
Changed collapsed read tool cards to show only the read line until expanded (#4916).
- 0.75.5
Replaced the inherited optional
koffidependency for Windows VT input with a tiny vendored native helper, reducing install size while preserving Shift+Tab handling (#4480). - 0.75.5
Changed the root development install documentation to use
npm install --ignore-scripts(#4868). - 0.75.4
Changed source syntax to avoid TypeScript constructs that require JavaScript emit, keeping core sources compatible with Node.js strip-only TypeScript checks.
- 0.75.4
Removed web UI workspace references from the CLI package and dropped the package-level development watch script.
- 0.75.4
Published npm installs now include an
npm-shrinkwrap.jsonto lock transitive dependencies for the CLI package. - 0.75.4
Improved terminal theme detection for light/dark and truecolor handling.
- 0.75.4
Changed self-update package-manager commands to disable lifecycle scripts during reinstall.
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.