feat(FN-2270): add interactive TUI mode for fn dashboard

- Add a new dashboard TUI renderer with logs, system, utilities, stats, and settings sections
- Wire runDashboard to auto-enable TUI in TTY sessions with reactive task/agent updates and utility keybindings
- Keep non-TTY behavior unchanged by falling back to the existing plain-text startup output
- Add CLI tests and docs for TUI behavior, keyboard shortcuts, and auth/usage guidance
- Ensure dashboard WebSocket auth checks respect --no-auth consistently
This commit is contained in:
Fusion
2026-04-22 23:23:48 -07:00
committed by gsxdsm
parent fb3f4f5c87
commit 6e68151c74
6 changed files with 1583 additions and 43 deletions

View File

@@ -0,0 +1,5 @@
---
"@runfusion/fusion": minor
---
Add interactive TUI to `fn dashboard` with five navigable sections: logs, system, utilities, stats, and settings. Keyboard shortcuts enable quick in-terminal navigation (1-5, arrows, q, Ctrl+C, ? for help). The TUI activates automatically in interactive terminal sessions; non-TTY mode (CI, piped output) retains the existing plain-text banner/log behavior.