Repository navigation
1.0.79
What's Changed
Add Kanban board view with ticket-to-session workflow (#196)
Adds a full-featured Kanban board view as an alternative to the existing session list, enabling a ticket-based workflow for managing Claude Code sessions. This is a major feature spanning 78 changed files across the full Electron stack (main process, preload, renderer).
Core Kanban System
- Kanban board UI with four columns: To Do, In Progress, Review, and Done
- Drag-and-drop ticket movement between columns with visual feedback and animation
- Drag-and-drop reordering within columns
- Column visibility controls and centered column titles
- Board/list view toggle in the header
Ticket Management
- Ticket CRUD — create, read, update, and archive tickets with full persistence via SQLite
- TicketCreateModal for creating new tickets with title, description, and priority
- KanbanTicketModal with multiple modes: edit, plan review, review, error, and question
- Ticket priority support with visual indicators on cards
- Right-click context menu on ticket cards
- Conversation history with markdown rendering, showing both user and AI messages
- Ticket attachments — file attachment support with parsed XML attachment cards displayed above user message bubbles
- Follow-up messages — send follow-up instructions to running sessions from the ticket modal
- Model picker integrated into the ticket modal
- Save plan as ticket feature
Session Integration
- Ticket-to-session workflow — tickets in the "In Progress" column auto-launch Claude Code sessions
- Worktree management — WorktreePickerModal with branch picker UI for selecting/creating worktrees per ticket
- Worktree pre-assignment and auto-selection for kanban tickets
- Worktree context copy on open
- Smart branch naming from ticket titles via
canonicalizeTicketTitle - Session timer on ticket cards with shared
useSessionTimerhook - Progress bars — synchronized, indeterminate progress bars for in-progress tickets, including orange state when agent asks a question
- Run indication on ticket cards showing active session status
- Session mode sync on the Kanban board
- Auto-move — plan-completed and errored tickets automatically move to the Review column; working tickets auto-move to In Progress
- Backward drag confirmation when moving tickets from In Progress back to To Do (stops the session)
- Archive done tickets with history preservation
- Cmd+W keyboard shortcut to close modals
- Jump to session button fix
Database & IPC
- Schema additions (migration v13):
kanban_ticketstable,ticket_followup_messageswith role column, and related indexes - Kanban IPC handlers in main process for all ticket CRUD operations
- Preload bridge extensions for kanban APIs
- Database types for tickets, followup messages, and conversation history
State Management
- useKanbanStore — Zustand store for all ticket state, column management, drag-drop, and session coordination
- useTimerTickStore — shared timer tick store for synchronized session timers
- useWorktreeStatusStore — worktree status tracking
- Store coordination module for cross-store sync between kanban and session views
Refactoring & Quality
- SessionTabs refactor — deduplicated file/diff/context tab rendering with tab system for kanban mode
- SessionView refactor — extracted shared
useSessionTimerhook - AttachmentButton and AttachmentPreview styling updates for modal context
- PlanReadyImplementFab button repositioning
- Shared utility modules —
parse-user-message-attachments,file-attachment-utils,branch-utils - Lightning icon and switch UI repositioning
Testing
- 17 test files covering the full feature surface:
- Schema & migration tests
- CRUD operation tests
- IPC handler tests
- Kanban store tests
- View toggle tests
- Board component tests
- Ticket creation modal tests
- Drag-and-drop tests
- WorktreePickerModal tests (including branch picker)
- Session-kanban coordination tests
- Ticket modal mode tests
- Board mode tests
- Ticket attachment tests
- End-to-end kanban flow tests
- Ticket-title worktree naming tests
- User message attachment parsing and rendering tests
Documentation
- PRD and implementation plan documents
- Design specs for in-progress working tickets and AI response history
- Implementation plan for user message attachment cards
Fix permission dialog appearing on wrong session tab (#195)
Fixes a bug where permission request dialogs would appear on the wrong session tab. The root cause was that permission events were not being correctly routed to their originating session, causing prompts to surface in whichever session happened to mount or hydrate first.
Changes
-
opencode-service.ts— Added a fallback to extractsessionIDfrom the top level of SSE events. Some event types (e.g.permission.asked) deliver the session ID on the event root rather than inside apropertieswrapper, so the existing extraction logic would miss it. -
SessionView.tsx- Added
resolveHiveSessionIdFromOpencodeId()helper that maps an OpenCode session ID to the corresponding Hive session ID by searching the session store. - Fixed the initial permission hydration logic (
hydratePermissions) to route each pending permission to the correct Hive session usingPermissionRequest.sessionID, instead of blindly assigning all permissions to the currently-mounting session. - Added a periodic polling safety net (every 3 s) while a session is actively streaming. This re-checks the REST API for pending permissions to catch any
permission.askedSSE events that were missed due to event format mismatches.
- Added
-
usePermissionStore.ts— Added cross-session deduplication inaddPermission. If a permission request already exists under a different session, it is removed before being added to the correct one. This prevents the same permission dialog from appearing in two sessions simultaneously when the live-event path and hydration path race with different session targets.
Fix duplicate Cmd+V paste in terminal (#193)
- Removes duplicate Cmd+V paste handler from XtermBackend that was causing duplicate paste behavior
- Keeps Cmd+Shift+V handler as it's required (no native paste event on macOS for this combo)