winget install --id EarendilWorks.pi
About pi
Pi is a minimal terminal coding harness. Adapt pi to your workflows, not the other way around, without having to fork and modify pi internals. Extend it with TypeScript Extensions, Skills, Prompt Templates, and Themes. Put your extensions, skills, prompt templates, and themes in Pi Packages and share them with others via npm or git. Pi ships with powerful defaults but skips features like sub agents and plan mode. Instead, you can ask pi to build what you want or install a third party pi package that matches your wo...
What's new in 0.75.4
New Features - 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. Added - Added interactive update notes after pi update runs, so users can see the installed version's changelog before continuing (#4724 by @mitsuhiko). - Exported image resize utilities from the package root for SDK consumers (#4775 by @xl0). Changed - Changed source syntax to avoid TypeScript constructs that require JavaScript emit, keeping core sources compatible with Node.js strip-only TypeScript checks. - Removed web UI workspace references from the CLI package and dropped the package-level development watch script. - Published npm installs now include an npm-shrinkwrap.json to lock transitive dependencies for the CLI package. - Improved terminal theme detection for light/dark and truecolor handling. - Changed self-update package-manager commands to disable lifecycle scripts during reinstall. 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). - Fixed extension ctx.abort() during tool-call preflight to stop later confirmations and restore queued interactive input like Escape (#4276). - Fixed AgentSession retry, compaction, and event settlement...
Version history
| Version | Updated | Notes |
|---|---|---|
| 0.75.4 | New Features - 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 al... | |
| 0.75.3 | Unknown | Fixed - Fixed undici 8 HTTP/2 destroyed-session races crashing the Node CLI by preserving the previous HTTP/1.1-only fetch dispatcher behavior (#4681). |
| 0.75.1 | Unknown | Fixed - Fixed config selectors to scale their visible row count to terminal height (#4243 by @samjonester). - Fixed Anthropic-compatible API-key requests to ignore unrelated ANTHROPIC_AUTH_TOKEN environment values, avoid... |
| 0.75.0 | Unknown | Breaking Changes - Raised the minimum supported Node.js version to 22.19.0. Fixed - Fixed compaction summary calls to use custom agent stream functions, preserving proxy-backed LLM routing (#4484). - Fixed system prompt... |
| 0.74.1 | New Features - Image generation support - Added image generation APIs, generated image model metadata, and built-in OpenRouter image generation support inherited from @earendil-works/pi-ai. - Together AI provider - Added... | |
| 0.74.0 | Unknown | Changed - Updated repository links and package references for the move to earendil-works/pi-mono and @earendil-works/* package scopes. |
| 0.73.1 | Unknown | New Features - Self-update support for the npm scope migration: pi update --self now supports the upcoming package rename from @mariozechner/pi-coding-agent to @earendil-works/pi-coding-agent. After the new package is pu... |
| 0.73.0 | Unknown | New Features - Xiaomi MiMo API billing and regional Token Plan providers - xiaomi now uses API billing, with separate xiaomi-token-plan-{cn,ams,sgp} providers. See docs/providers.md#api-keys and README.md#providers--mode... |
| 0.72.1 | Unknown | Release notes |
| 0.72.0 | Unknown | New Features - Xiaomi MiMo Token Plan provider - New Anthropic-compatible provider with XIAOMI_API_KEY auth, default model (mimo-v2.5-pro), and /login display. See docs/providers.md. (#4005 by @Phoen1xCode). - Model thin... |
| 0.71.1 | Unknown | Added - Added websocket-cached to the transport setting options for the OpenAI Codex provider used with ChatGPT subscription auth. This keeps the same WebSocket open for a session and, after the first request, sends only... |
| 0.71.0 | Unknown | Breaking Changes - Removed built-in Google Gemini CLI and Google Antigravity support. Existing configurations using those providers must switch to another supported provider. New Features - Cloudflare AI Gateway provider... |
| 0.70.6 | Unknown | New Features - Cloudflare Workers AI provider support with CLOUDFLARE_API_KEY/CLOUDFLARE_ACCOUNT_ID setup. See docs/providers.md#api-keys. (#3851 by @mchenco) - Pi update checks now use pi.dev and identify Pi with a pi/<... |
| 0.70.5 | Unknown | Fixed - Fixed HTML export preserving ANSI-renderer trailing padding as extra blank wrapped lines. |
| 0.70.3 | Unknown | New Features - pi update can now update pi itself in addition to installed pi packages. See docs/packages.md. (#3680 by @mitsuhiko) - Azure Cognitive Services endpoint support for Azure OpenAI Responses deployments. See... |
| 0.70.2 | Unknown | Fixed - Fixed provider retry/timeout forwarding to omit undefined provider request controls, avoiding downstream SDK validation errors such as timeout must be an integer when retry.provider.timeoutMs is not configured (#... |
| 0.70.1 | Unknown | New Features - DeepSeek provider support with V4 Flash/Pro models and DEEPSEEK_API_KEY authentication. See README.md#providers--models and docs/providers.md#api-keys. - Provider request timeout/retry controls via retry.p... |
| 0.70.0 | Unknown | New Features - Searchable auth provider login flow: the /login provider selector now supports fuzzy search/filtering, making it faster to find providers when many are configured. See docs/providers.md. (#3572 by @mitsuhi... |
| 0.69.0 | Unknown | New Features - TypeBox 1.x migration for extensions and SDK integrations, including TypeBox-native tool argument validation that now works in eval-restricted runtimes such as Cloudflare Workers. See docs/extensions.md an... |
| 0.68.1 | Unknown | New Features - Fireworks provider support with built-in models and FIREWORKS_API_KEY auth. See README.md#providers--models and docs/providers.md. - Configurable inline tool image width via terminal.imageWidthCells in /se... |