ac-electron: menubar-daemon mode for persistent tray on macOS
- launchAtLogin default true; setLoginItemSettings synced every boot
- Skip opening AC window when launched silently at login (wasOpenedAtLogin)
- syncDockVisibility() hides dock when no windows, shows when any open
- window-all-closed on macOS keeps process + trays alive (dock hidden)
Tray icons persist across window closes; clicking notepat tray launches
the piece without opening the AC pane.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>