feat: wire up Tauri IPC commands with global shortcuts and tray
Completes the backend command layer, exposing bridge operations to the frontend via Tauri IPC. Also adds system tray support and global hotkeys. New commands: - get_lore_status: Real CLI integration (was stub), returns issue/MR counts - get_bridge_status: Mapping counts, pending items, sync timestamps - sync_now: Trigger incremental sync (since_last_check events) - reconcile: Full reconciliation pass (two-strike orphan detection) - quick_capture: Create a new bead from freeform text All commands use tokio::spawn_blocking for CLI I/O, preventing async executor starvation. Commands accept trait objects for testability. System integration: - Global shortcut: Cmd+Shift+M toggles window visibility - Global shortcut: Cmd+Shift+C opens quick capture overlay - System tray: Left-click toggles window, right-click shows menu - Tray menu: Show Mission Control, Quit Tauri configuration: - Added global-shortcut plugin with permissions - Shell plugin scoped to lore, br, bv commands only - Removed trayIcon config (using TrayIconBuilder instead) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user