This release improves the user interface experience with better message editing capabilities and fixes several issues with token usage tracking and session loading.
What's New
- Adds
on_user_inputhook that triggers when the agent is waiting for user input or tool confirmation
Improvements
- Improves multi-line editing of past user messages
- Adds clipboard paste support during inline message editing
- Makes loading past sessions faster
- Updates TUI display when the current agent changes
Bug Fixes
- Fixes token usage being recorded multiple times per stream, preventing inflated telemetry counts
- Fixes empty inline edit textarea expanding to full height
- Fixes docker ai shellout to cagent for standalone invocations
Technical Changes
- Updates schema tests to only run for latest version
- Fixes documentation issues
What's Changed
- docs: update CHANGELOG.md for v1.27.0 by @docker-read-write[bot] in #1846
- Repaint the TUI when the current agent changes by @dgageot in #1845
- fix: record token usage once per stream to prevent inflated telemetry by @dgageot in #1855
- Make loading past sessions faster by @dgageot in #1854
- Improve editing past user messages by @dgageot in #1850
- Schema tests should be only for latest version by @dgageot in #1857
- feat(hooks): add on_user_input by @doringeman in #1847
- Fix doc by @dgageot in #1858
- Fix docker ai shellout to cagent by @gtardif in #1860
New Contributors
- @doringeman made their first contribution in #1847
Full Changelog: v1.27.0...v1.27.1