New Features
- Extension compaction event context - Extension
session_before_compactandsession_compactevents now includereasonandwillRetry, so extensions can distinguish manual/compact, threshold auto-compaction, and overflow retry flows. See session_before_compact / session_compact and Custom Summarization via Extensions. - Safer update flow -
pi updateinstalls the exact checked Pi version, and update notices show the changelog URL, making upgrades more predictable. See Install and Manage.
Added
- Added
reasonandwillRetrymetadata to extensionsession_before_compactandsession_compactevents so extensions can distinguish manual, threshold, and overflow compaction flows (#5962 by @PizzaMarinara).
Fixed
- Fixed the
findtool to respect nested git repository boundaries when parent.gitignorerules ignore the nested repo (#5960). - Fixed the usage docs slash command table to include
/trustand/import(#5959). - Fixed inherited OpenAI-compatible streaming to preserve encrypted
reasoning_detailsthat arrive before matching tool call deltas (#5114). - Fixed broken TUI documentation links to the plan-mode extension example (#5957).
- Fixed transient extension UI and session-start messages emitted during session replacement or reload so they remain visible, and kept reload input blocked until reload completes (#5943).
- Fixed the plan-mode example to preserve active custom tools, skip the action prompt when no plan is found, and queue refinement/execution follow-ups correctly from
agent_end(#5940). - Fixed
pi updateto install the exact version returned by the Pi update check, make--forcereinstall that checked version, fail instead of falling back to an unversioned reinstall when no version is available, and report both the old and updated versions. - Fixed update notifications to display the actual changelog URL as the hyperlink text.