Terminal UI
squirrel tui opens an interactive terminal UI. Its job is to answer one
question without scrolling or drilling: am I safe?
squirrel tuisquirrel # bare invocation opens the TUI when stdin/stdout are a terminalsquirrel tui always opens the TUI regardless of TTY state. A bare squirrel
invocation opens it only when both stdin and stdout are a terminal; otherwise
it prints help.
The dashboard
Section titled “The dashboard”The first screen is ordered by urgency — anything wrong appears above the routine state, so a healthy fleet is a short screen.
- Config drift — shown right under the agent’s health when a config edit is not fully in force. The agent applies what it can on its own, so this line names what is left: the keys that still want a restart (“the agent applied what it could and agent.auth.token still need a restart”), or the reason an edit could not be adopted at all. It stands until the restart happens or the file comes back, so neither a forgotten restart nor a config that stopped parsing can hide.
- Alarms — standing per-destination alarms raised by a
verify mismatch. An alarm latches: it
outlives the run that found it and stays until a clean pass or an explicit
squirrel verify ackclears it. A destination in alarm does not quietly go back to green on the next sync. - Contested paths — peer-sync conflicts frozen by the contested freeze, with a hint at how to clear them. Every node mirrors the freeze, so a losing edge machine sees it too.
- Live runs — index and sync progress as it happens.
- Coverage — per volume, one row per configured target: role, last sync, state, durability, verify method, and evidence age, each cell coloured by severity. This is the per-(volume × destination) grid: a target that has been failing for a week cannot hide behind a fresh ✓ earned by a different one. Each volume’s header line carries its index freshness and offload readiness.
- Fleet — under each volume’s grid, one row per other place it lives: the other machines as well as the destinations. Whether each is behind or ahead of this machine, how many files have not reached it, when it last changed, and when it was last verified. This is the answer to “where else does this volume live, and is any of it out of date” without walking to another machine — and it is the only place a machine that pushes to this one shows up at all, since no target row mentions it.
The coverage panel and
squirrel status render the same
facts from the same query layer, so a headless box and a TUI never disagree.
Use status when you want an exit code; use the TUI when you want to look.
Other tabs
Section titled “Other tabs”| Tab | Key | What it shows |
|---|---|---|
| Dashboard | 1 | The “am I safe?” screen above. |
| Runs | 2 | The audit trail, newest first — drill into an individual run and what it touched. |
| Volumes | 3 | Declared volumes; browse the indexed tree ncdu-style, walking by size the way ncdu explores disk usage. |
| Hooks | 4 | Recorded hook runs and their outcomes. |
Beyond the terminal
Section titled “Beyond the terminal”Squirrel also ships a desktop app (squirrel-desktop) built on the same
underlying handlers — a menubar app with a browsable index, run history, and
progress view. The TUI and desktop app both read the state the
agent maintains, so what you see reflects live
activity.