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>
51 lines
1.0 KiB
JSON
51 lines
1.0 KiB
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "Mission Control",
|
|
"version": "0.1.0",
|
|
"identifier": "com.mission-control.app",
|
|
"build": {
|
|
"beforeDevCommand": "npm run dev",
|
|
"devUrl": "http://localhost:1420",
|
|
"beforeBuildCommand": "npm run build",
|
|
"frontendDist": "../dist"
|
|
},
|
|
"app": {
|
|
"withGlobalTauri": false,
|
|
"windows": [
|
|
{
|
|
"title": "Mission Control",
|
|
"width": 800,
|
|
"height": 600,
|
|
"resizable": true,
|
|
"fullscreen": false,
|
|
"center": true,
|
|
"hiddenTitle": true,
|
|
"decorations": true,
|
|
"transparent": false,
|
|
"visible": true
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": null
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/128x128@2x.png",
|
|
"icons/icon.png"
|
|
],
|
|
"targets": "all",
|
|
"macOS": {
|
|
"minimumSystemVersion": "10.15"
|
|
}
|
|
},
|
|
"plugins": {
|
|
"shell": {
|
|
"open": true
|
|
}
|
|
}
|
|
}
|