feat(cli): add standalone system tray with PowerShell fallback on Windows

Cross-platform system tray for `omniroute --tray`: Windows uses a
PowerShell NotifyIcon script (zero native binary, AV-safe); macOS/Linux
use systray2 lazy-installed at runtime into ~/.omniroute/runtime/.
Includes per-platform autostart (LaunchAgent / .desktop / registry) and
`omniroute config tray <enable|disable>` CLI command.

DISPLAY added to env-sync allowlist as an OS/X11 variable, not an
OmniRoute config variable.
This commit is contained in:
diegosouzapw
2026-05-14 22:42:01 -03:00
parent e007fc11aa
commit 77a4429bf4
11 changed files with 663 additions and 0 deletions

View File

@@ -54,6 +54,8 @@ const IGNORE_FROM_CODE = new Set([
"XDG_CONFIG_HOME",
"USERPROFILE",
"PREFIX",
// X11 display server — set by the OS/session manager, not OmniRoute config.
"DISPLAY",
// Next.js / Node test runners — these are framework-managed.
"NEXT_DIST_DIR",
"NEXT_PHASE",