Skip to content

feat: GUI daemon status indicator and lifecycle control - #285

Merged
mark-e-deyoung merged 2 commits into
masterfrom
feat/gui-daemon-indicator
Jul 10, 2026
Merged

feat: GUI daemon status indicator and lifecycle control#285
mark-e-deyoung merged 2 commits into
masterfrom
feat/gui-daemon-indicator

Conversation

@mark-e-deyoung

Copy link
Copy Markdown
Contributor

@@

Changes

  • GUI toolbar shows colored daemon status (green/blue/orange/red)
  • Start Daemon button when daemon is not running
  • CLI daemon start/stop/restart/status commands
  • daemon.shutdown RPC method for graceful exit
  • Status indicator matches tray icon color scheme

CLI:
- daemon status — check if daemon is running, show daemon.status
- daemon start — launch wininspectd.exe via CreateProcess
- daemon stop — send daemon.shutdown RPC
- daemon restart — stop then start with ready verification
- Auto-locates wininspectd.exe next to the CLI binary

Daemon:
- daemon.shutdown RPC method — graceful process exit
- Returns response before exiting

GUI:
- (next commit: status indicator)
Adds a daemon status indicator to the GUI toolbar:
- Shows colored dot with status text (green=human, blue=agent, orange=automation)
- Red indicator when daemon is not running
- "Start Daemon" button replaces indicator when daemon is stopped
- Launches wininspectd.exe via CreateProcessW
- Periodically polls control.status for controller state
- Matches tray icon color scheme

Also:
- CLI daemon start/stop/restart with wininspectd.exe auto-discovery
- daemon.shutdown RPC method for graceful daemon exit
@mark-e-deyoung
mark-e-deyoung force-pushed the feat/gui-daemon-indicator branch from db60b2d to 4d76b64 Compare July 10, 2026 14:27
@mark-e-deyoung
mark-e-deyoung merged commit 80588b2 into master Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant