This release enhances the chat experience with history search functionality and improves file attachment handling, along with multi-turn conversation support for command-line operations.
What's New
- Adds Ctrl+R reverse history search to the chat editor for quickly finding previous conversations
- Adds support for multi-turn conversations in
cagent exec,cagent run, andcagent evalcommands - Adds support for queueing multiple messages with
cagent run question1 question2 ...
Improvements
- Improves file attachment handling by inlining text-based files and fixing placeholder stripping
- Refactors scrollbar into a reusable scrollview component for more consistent scrolling behavior across the interface
Bug Fixes
- Fixes pasted attachments functionality
- Fixes persistence of multi_content for user messages to ensure attachment data is properly saved
- Fixes session browser shortcuts (star, filter, copy-id) to use Ctrl modifier, preventing conflicts with search input
- Fixes title generation spinner that could spin forever
- Fixes scrollview height issues when used with dialogs
- Fixes double @@ symbols when using file picker for @ attachments
Technical Changes
- Updates OpenAI schema format handling to improve compatibility
What's Changed
- docs: update CHANGELOG.md for v1.21.0 by @docker-read-write[bot] in #1649
- better file attachments by @krissetto in #1640
- OpenAI doesn't like those format indications on the schema by @dgageot in #1650
- feat: add Ctrl+R reverse history search by @Mostamhd in #1630
- Prevent title generation spinner to spin forever by @dgageot in #1645
- Refactor scrollbar into more reusable
scrollviewcomponent by @krissetto in #1654 - fix scrollview using too much height with dialogs by @krissetto in #1660
- Fix: persist multi_content for user messages by @trungutt in #1652
- fix: use ctrl modifier for session browser shortcuts to avoid search conflict by @dgageot in #1656
- Fix pasted attachments by @krissetto in #1659
- deleting version 2 so i can use permissions by @derekmisler in #1661
- Multi turn (cagent exec|run|eval) by @dgageot in #1662
Full Changelog: v1.21.0...v1.22.0