Simplify card layout with consistent button styling, proper event handling for card clicks, and improved visual feedback with hover states. Consolidate branch and status indicators in a cleaner layout structure.
* Add message undo/refresh features and stop audio floating button
* Exclude workspace directory from pnpm workspace detection
---------
Co-authored-by: Chris Scott <chris@cstech.dev>
* feat: Implement /compact command with processing feedback
- Add 'compact' status type to session status store
- Update SessionStatusIndicator to show purple pulsing animation for compaction
- Add summarizeSession() API method to OpenCode client
- Modify command handler for /compact to:
- Get current model from state
- Show compaction toast
- Set session to compacting status
- Call summarize endpoint with provider/model
- Update SSE handler to clear compact status on session.compacted event
The user sees a purple animated indicator and 'Compacting' text during the operation, matching the TUI experience.
* Fix compact command to use break instead of return for model validation
---------
Co-authored-by: Chris Scott <chris@cstech.dev>
- Add duplicate config validation to backend
- Fix TTS button comparison using original text
- Track original vs sanitized text in TTS context
- Update toast import in message hooks
- Add type safety for error handling
- Add revertMessage and unrevertSession methods to OpenCode API client
- Create useRemoveMessage and useRefreshMessage hooks for message operations
- Add MessageActionButtons component with X (remove) and refresh buttons
- Add EditableUserMessage component for editing prompts before resend
- Update MessageThread to integrate action buttons and editable messages
- Update AGENTS.md with improved guidelines and pnpm preference