New Features
- Tree branch folding and segment-jump navigation in
/tree, withCtrl+←/Ctrl+→andAlt+←/Alt+→shortcuts while←/→andPage Up/Page Downremain available for paging. See docs/tree.md and docs/keybindings.md. session_directoryextension event for customizing session directory paths before session manager creation. See docs/extensions.md.- Digit keybindings (
0-9) in the TUI keybinding system, including modified combos likectrl+1. See docs/keybindings.md.
Added
- Added
/treebranch folding and segment-jump navigation withCtrl+←/Ctrl+→andAlt+←/Alt+→, while keeping←/→andPage Up/Page Downfor paging (#1724 by @Perlence) - Added
session_directoryextension event that fires before session manager creation, allowing extensions to customize the session directory path based on cwd and other factors. CLI--session-dirflag takes precedence over extension-provided paths (#1730 by @hjanuschka). - Added digit keys (
0-9) to the keybinding system, including Kitty CSI-u and xtermmodifyOtherKeyssupport for bindings likectrl+1(#1905)
Fixed
- Fixed custom tool collapsed/expanded rendering in HTML exports. Custom tools that define different collapsed vs expanded displays now render correctly in exported HTML, with expandable sections when both states differ and direct display when only expanded exists (#1934 by @aliou)
- Fixed tmux startup guidance and keyboard setup warnings for modified key handling, including Ghostty
shift+enter=text:\nremap guidance and tmuxextended-keys-formatdetection (#1872) - Fixed z.ai context overflow recovery so
model_context_window_exceedederrors trigger auto-compaction instead of surfacing as unhandled stop reason failures (#1937) - Fixed autocomplete selection ignoring typed text: highlight now follows the first prefix match as the user types, and exact matches are always selected on Enter (#1931 by @aliou)
- Fixed slash-command Tab completion to immediately open argument completions when available (#1481 by @barapa)
- Fixed explicit
pi -e <path>extensions losing command and tool conflicts to discovered extensions by giving CLI-loaded extensions higher precedence (#1896) - Fixed Windows external editor launch for
Ctrl+Gandctx.ui.editor()so shell-based commands likeEDITOR="code --wait"work correctly (#1925)