This release adds file picker hotkeys, improves message handling consistency, and introduces an extensible hooks system with new lifecycle events.
What's New
- Adds Alt+H and Alt+I hotkeys in file picker to toggle hidden and ignored file visibility
- Adds extensible hooks system with 5 new lifecycle events and 3 builtin hooks
Improvements
- Makes user prompt elicitation dialog scrollable to prevent content overflow in terminal
Bug Fixes
- Fixes message trimming behavior to be consistent across all model providers
- Fixes steer message handling by appending newlines between queued messages to prevent word fragments from being concatenated
Technical Changes
- Refactors hooks architecture for better extensibility with pluggable registry system
- Centralizes whitespace-only message filtering in session.GetMessages
What's Changed
- docs: update CHANGELOG.md for v1.51.0 by @docker-read-write[bot] in #2514
- fix(tui): make user_prompt elicitation dialog scrollable by @dgageot in #2509
- hotkeys to toggle filepicker hidden/ignored files by @joshbarrington in #2501
- runtime: append newline to non-last steer messages on multi-drain by @simonferquel-clanker in #2518
- fix: normalize message trimming behavior across all model providers by @simonferquel-clanker in #2516
- feat(hooks): refactor for extensibility, add 5 events and 3 builtins by @dgageot in #2519
Full Changelog: v1.51.0...v1.52.0