Commit Graph
4 Commits
Author SHA1 Message Date
Chris Scott 17ee96d316 regenerate OpenAPI spec and add model selection components 2026-01-10 18:39:12 -05:00
Chris Scott 923b70833d Fix performance optimizations for permission handling and session management (#32) 2025-12-27 09:52:30 -05:00
Chris ScottandChris Scott a9ebee72c4 Fix compact command validation flow (#28)
* 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>
2025-12-19 00:10:12 -05:00
Chris Scott f48acfa06b Add retry handling components and session status management 2025-12-07 23:47:54 -05:00