Key Highlights
Major New Features
- Pasted Text Support: Comprehensive support for pasting large text content directly into the message bar, displayed as interactive chips with preview functionality
- Claude Opus 4.5: Added full support for the new Claude Opus 4.5 model with proper inference configuration and feature flags
- Enhanced MCP Tool Use: Improved tool use experience with cleaner UI, proper tool result display in assistant messages, and server connection notifications
UI/UX Improvements
- Implemented pasted text chips in message bar and message bubbles with visual styling and click-to-preview functionality
- Reused DocumentPreviewModal for consistent pasted text preview experience
- Added copy functionality via context menu for pasted text chips
- Improved document preview modal with better text rendering
- Added MCP server connection toast notifications that only appear when servers actually connect
- Hidden tool result messages from user side, displaying them cleanly within assistant messages instead
- Added thinkingSummary field for real-time thinking summarization display
New Model Support
- Added claudeOpus45 model type with proper temperature/top_p limitations
- Enabled reasoning, prompt caching, vision, and tool use support for Claude Opus 4.5
- Configured appropriate inference parameters for the new model
Architecture & Code Quality
- Separated image/document arrays in SharedMediaDataSource to fix index conflicts
- Added textPreviews array for proper pasted text identification
- Implemented addImage, addDocument, addPastedText helper methods for cleaner code
- Changed to saveFromUIMessages for consistent tool_use/tool_result storage
- Removed deprecated saveConversationHistory function
- Changed MessageData.user from let to var for tool result marking flexibility
- Large text (>10KB) automatically converted to file attachment with settings toggle
Bug Fixes
- Fixed ESC key to prioritize closing modals over stopping chat generation
- Fixed QuickAccessView height calculation after attachment removal
- Fixed parameter order in onSelectDocument callback
- Fixed pasted text not being sent to API correctly
- Fixed "Invalid signature in thinking block" error by only including thinking blocks when valid API signature exists
- Preserved thinking/signature data during tool use cycles
- Improved save/load performance with index-based message matching
- Added thinking/signature params to updateMessageWithToolInfo for proper state preservation
Additional Changes
- Added PastedTextInfo struct for storing pasted text metadata
- Pasted text sent as text blocks to avoid Bedrock's 5-document limit
- Preserved pasted text data across app restart via conversation history
- Added settings toggle for large text file attachment behavior
What's Changed
Full Changelog: v1.4.0...v1.4.1