New Features
- Cleaner read tool output - Collapsed
readtool cards now show only the read line by default, whileCtrl+Ostill expands the full file content. - 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.
- More reliable package updates -
pi updateand git package installs now reconcile pinned git refs and keep package settings intact. See Packages. - Custom Anthropic-compatible adaptive thinking - Custom provider model configs can opt into adaptive-thinking Claude behavior with
compat.forceAdaptiveThinking. See Custom providers and Models.
Added
- Added
compat.forceAdaptiveThinkingsupport to custom Anthropic-compatible model configuration docs and validation (#4797 by @mbazso). - Added a standard unified patch to edit tool result details for SDK consumers (#4821).
Changed
- Changed collapsed read tool cards to show only the read line until expanded (#4916).
- Replaced the inherited optional
koffidependency for Windows VT input with a tiny vendored native helper, reducing install size while preserving Shift+Tab handling (#4480). - Changed the root development install documentation to use
npm install --ignore-scripts(#4868).
Fixed
- Fixed
pi updateto reconcile git-pinned packages to their configured ref (#4869). - Fixed package/resource path handling for Windows and glob/pattern resolution (#4873 by @mitsuhiko).
- Fixed config pattern matching to resolve patterns from the correct base directory (#4898 by @haoqixu).
- Fixed theme pickers to list themes by their content name instead of file stem (#4830 by @Perlence).
- Fixed OpenCode Zen/Go requests to send per-session OpenCode routing headers (#4847).
- Fixed Amazon Bedrock provider loading under strict package managers by inheriting the declared
@smithy/node-http-handlerdependency from@earendil-works/pi-ai(#4842). - Fixed inherited Amazon Bedrock Claude requests to send the model output token cap by default, avoiding Bedrock's 4096-token default truncation (#4848).
- Fixed exported session HTML to escape quote characters in attribute values (#4832).
- Fixed GitHub Copilot device-code login to keep opening the verification URL in browser-capable environments while ignoring browser launch failures for headless use (#4788 by @vegarsti).
- Fixed git package installs to reconcile existing checkouts to the requested ref and update package settings without losing filters (#4870).
- Published a 0.74.2 rescue release that tells Node 20 users to upgrade Node before updating to newer Pi versions (#4876).
- Fixed final bash tool cards to avoid rendering duplicate full-output truncation paths (#4819).
- Fixed bash tool truncation line counts to ignore the trailing newline as an extra output line (#4818).
- Fixed footer home-directory abbreviation to avoid shortening sibling paths that only share the same prefix (#4878).
- Fixed macOS Bun release binaries to resolve the native clipboard sidecar so Ctrl+V image paste can load
@mariozechner/clipboard(#4307). - Fixed coding-agent tools to avoid synchronous filesystem operations during streaming and moved image resizing off the main TUI thread (#4756 by @mitsuhiko).