Commit Graph

3 Commits

Author SHA1 Message Date
Nyk 404092e81d fix(tui): treat DB+Disk as essential health checks 2026-03-21 22:42:50 +07:00
Nyk aa65a1b0b2 fix(tui): alternate screen buffer + smarter health display
- Use alternate screen buffer so terminal doesn't scroll
- Show "healthy (no gateway)" when core checks pass but gateway is down
- Restore original terminal state on exit
2026-03-21 22:41:42 +07:00
Nyk 06cfb3d9db feat(tui): add terminal dashboard for Mission Control
Zero-dependency TUI using raw ANSI escape codes. Shows:
- System health status with connection indicator
- Agents panel (sorted by status, with last heartbeat)
- Tasks panel (recent tasks with status and assignee)
- Token costs summary (24h)

Keyboard controls:
- r: refresh now
- a: focus agents panel
- t: focus tasks panel
- w: wake first sleeping agent
- q/Esc: quit

Auto-refreshes every 5s (configurable with --refresh flag).
Uses same profile/auth system as CLI and MCP server.

Run with: pnpm mc:tui
2026-03-21 21:46:45 +07:00