Monitor: global activity view (⌘⇧O)
⌘⇧O (or the menu “Sessions → Monitor”) opens the “◎ Monitor” tab at the far left; press it again to return to it. It lays out the Agent sessions and plain terminals of every window as cards, so you do not have to switch to each one; while shown, it refreshes once per second.
- Groups: the same as the sidebar’s “Status” grouping: Needs you, Error, Running, Done, unseen, Idle, Terminals, and finally “Ended”, collapsed by default. The filter bar at the top has “All” plus each non-empty group (except “Ended”); click one to see only that group, click it again to return to “All”, and when the filtered group becomes empty it also returns to “All” automatically. The tab title shows “· N Needs you”.
- Agent cards: session name and location, state and current action;
⎇ git · Turn N · this turn X / took X · +a −b · N files(branch, turn number, time spent this turn, lines added and removed, and file count; when the task’s net changes are not available (still calculating or not computable), only the file count is shown); a TODO progress bar with “TODO a/b · Context N%”; and for Done, unseen, a quote “…” of the first sentence of the last reply. - Terminal cards: name ·
~directory; while a command is running, “● command · running time”, otherwise “Last: ✓ / ✗ command · exit N · duration · how long ago” (multi-line commands show only the first line plus…; failed commands also show the last line of output); the last line is “Foreground: program”, or “Idle” when there is no foreground program. Commands require gilvt’s shell integration (on by default). - Catch up: click “Catch up” on a card (or select it and press Space). For an Agent it lists every turn (first line of the prompt, result, duration, lines added and removed); for a terminal, the last 10 commands. Click a turn to go back to that session with the turn expanded in the inspector’s “Process”; click a command to go back to that terminal, scrolled to the command.
- Keyboard: arrow keys select cards, ⏎ jumps there, Space expands or collapses Catch up.
- The Monitor only reads, never writes: it never types anything into any terminal. The Monitor tab is restored after a restart.
✦ AI Summary
When enabled, each card can carry a “✦ AI Summary” block (goal, recent progress), and sidebar session rows also show the first sentence of the summary’s “recent” part. Summaries are generated by the Claude or Codex CLI on your own machine and are off by default.
Turning it on: add [monitor] to config.toml and set enabled = true. You can also turn it on and adjust it directly in the settings window (see the next subsection).
[monitor]
enabled = true # default false; when false, no CLI is ever called and cards and the sidebar behave as if it were off
provider = "claude" # "claude" or "codex"
model = "" # empty = the CLI's default model
summary_model = "" # model used only for summaries; empty = same as model
command = "" # path to the CLI executable; empty = look it up on the login shell's PATH
auto_summary = true # refresh summaries automatically
summary_interval = "2m" # automatic refresh interval while running; supports s / m / h, minimum 30s
sidebar_summary = true # show the summary's first sentence on sidebar session rows
exclude_paths = [] # sessions / terminals under these directories are never summarized; ~ is supported
If summary_interval cannot be parsed (or contains non-ASCII characters), it falls back to 2m and a startup error says so.
Settings window (⌘,)
⌘, (or the menu “gilvt → Settings…”) opens the settings window. There is only one: pressing it again while it is open just brings it to the front. ⌘W closes it; if no workspace window is left after closing it, gilvt quits. The navigation on the left has two pages: “◐ Appearance” (themes, see the “Themes” section) and “◎ Monitor”; it opens on the page you last viewed, “Appearance” the first time.
Changes take effect immediately and are written back to config.toml: every control takes effect in the running app as soon as you change it (turning enabled off clears the summary queue and removes the ✦ blocks, while cached summaries are kept; provider, model and CLI path apply from the next call), and is written into the [monitor] table at the same time. Write-back touches only the keys you changed, keeping the comments and layout of your file intact; it rereads the file from disk before writing, so it never clobbers what you just changed in an editor; when config.toml is a symlink, it writes to the file the link points to, and file permissions stay the same. If you never open the settings window and have no [monitor] table, config.toml is never changed by a single byte. When write-back fails, the settings page shows a red notice and the change still applies for this run. When config.toml is read-only, gilvt does not overwrite it (the same goes for themes picked on the “Appearance” page): the red text at the top of the settings page first says “config.toml is read-only; not written”, the next line is the file path, and the change applies only for this run.
Editing the file by hand also reloads automatically: edit config.toml in an editor and save; about 200 milliseconds after the file stops changing, gilvt rereads it and refreshes all windows (changes caused by gilvt’s own write-back are ignored). Only keys that changed in the file override the running values, so a font size you adjusted temporarily with ⌘+ / ⌘− is not reset because you clicked something in the settings window or changed some other key in the file; only when font_size itself changes in the file does the file win. The same holds when there is no ~/.config/gilvt/ directory yet: watching starts as soon as the directory appears (it is created on the first write-back or when you click “Open in Editor”). When the file has a syntax error, a yellow notice appears at the top of the settings page, all controls become read-only, and gilvt keeps using the last valid configuration; it recovers automatically once you fix and save the file. If the file is deleted, the defaults apply again.
- Model: “Provider” selects Claude or Codex; switching provider resets both models to “CLI default”. Claude’s drop-down offers fixed aliases: CLI default, fable, opus, sonnet, haiku; Codex’s list comes from
model/listofcodex app-server, fetched once when the page opens; “↻ Refresh” next to it fetches again, and on failure only “CLI default” is offered, with the reason shown. “Summary model” has one extra option, “Same as chat model”. - “Other…”: the last option; selecting it turns the row into a text field (placeholder “Model name; press Return to try”). Type a model name and press
⏎; gilvt runs one trial summary with that name and writes it only if it succeeds;Esccancels. On failure the old value stays and the reason is shown: usually “the model does not exist or you do not have access (…)”, or possibly “claude not found; set the CLI path in Settings”, “claude authentication failed (run claude in a terminal to log in)” or “timed out” (likewise for Codex). When the configured value is not in the list, it shows “<value> ⚠ Not in list”. - Custom CLI path: leave the field empty to search PATH; or click “Choose…” to pick an executable.
- Test Connection: runs once with the current settings. It checks the CLI version, one summary, and then one real chat turn (asking the model to call
list_sessionsonce); on success it shows “✓ program version · authenticated · summary N s · chat N s (list_sessions ✓)”. That chat turn uses a temporary token generated for the occasion, which becomes invalid once the settings window closes. When the Monitor’s main switch is off, the chat is not run (no session data is sent out), and the result line ends with “· chat not tested (Monitor is off)”; turn the switch on and test again. Common failures: “claude not found; set the CLI path in Settings” → fill in the path above; “claude authentication failed (run claude in a terminal to log in)” → log in from a terminal (likewise for Codex). If the settings change again during the test, the result is discarded and you need to test again. - ✦ AI Summary: the “Automatic refresh” switch; the “Minimum interval” segmented control (the minimum time between two automatic summaries of the same session); the “Show summaries in sidebar” switch.
- Excluded directories: “+ Add…” picks a directory; click the × on a directory chip to remove it; when written to the file, directories under your home directory are written as
~/…. Sessions and terminals under these directories are never sent to the model: their cards show as usual, but without a ✦ block. - Open in Editor: opens config.toml directly in your default editor.
When each key takes effect (whether it comes from the settings window or from editing the file): fonts (font_family, font_size, line_height, fallback_fonts), theme, option_as_meta, [notify] and [monitor] take effect immediately; claude_launch / codex_launch under [agent] apply from the next time gilvt types a launch command for you, and claude_commands / codex_commands are used immediately to recognize foreground Agent processes. scrollback, kitty_keyboard and shell only affect panes opened afterwards; the part of claude_commands / codex_commands handed to shell integration (which lets Agents report their state to gilvt) also applies only in newly opened panes. Only shell_integration requires restarting gilvt.
Privacy:
- Off by default; when on, only sessions and terminals that are not excluded have their content handed to the CLI.
exclude_pathsmatches by path component (symlinks are resolved first): a session or terminal whose directory is among them is not summarized. A single terminal command is not sent either if the shell’s directory at its start or after it ends is in an excluded directory (for examplecd ~/secret && cat notesrun in~), or if the command line spells out a path to an excluded directory (absolute path,~/…or$HOME/…, for example(cd ~/secret && make)).- Exclusion only looks at the working directory and the paths written on the command line; it does not look at which files a program actually reads or writes: a script run in an ordinary directory that reads files in an excluded directory may still have its command and the tail of its output sent.
- Data sent: for an Agent session, the first summary uses the last 2 turns, and later ones roll forward (the previous summary + at most 3 newer turns); for a terminal, the last 10 commands and the tail of their output. Total size is capped at 24 KiB, and 4 KiB per tool call.
- The CLI runs headless: tools off, hooks off, none of your configured MCP servers connected, no session files written (
claude -p … --strict-mcp-config --no-session-persistence;codex exec --ephemeral -s read-only, with a-c mcp_servers={"<name>"={enabled=false},…}that turns off every MCP server in~/.codex/config.toml(names containing dots or spaces work too)), working directory<state>/monitor/run, 90-second timeout, at most 2 at a time; CLIs still running when gilvt quits are terminated. The chat process likewise turns off tools, hooks and your configured MCP servers: Claude with--strict-mcp-config, and Codex with the same-c mcp_servers={…}turning off every MCP server in~/.codex/config.toml, keeping only gilvt’s owngilvt. The Claude chat process always uses--permission-mode dontAsk(it does not follow your configured default permission mode; only gilvt’s tools are usable); Codex (both summaries and chat) runs with-c notify=[], so your configurednotifyprogram does not receive the Monitor’s answers. Note: if your own Codex configuration also has an MCP server namedgilvt, its settings are merged with the one gilvt injects; please rename it. - Finding the CLI: a gilvt opened from Finder or the Dock has only the system default PATH, so at startup gilvt reads the PATH once from your login shell (
$SHELL -lic), looks upclaude/codexin it, and passes it on to the CLI (CLIs installed with npm also need it to findnode). If it still shows “✦ Summary failed: claude not found (set the full path in [monitor] command)”, setcommandto the output ofwhich claude.
Refresh rules:
- Automatic: when a turn ends, when the session becomes “Needs you” or errors, and every
summary_intervalwhile running; at leastsummary_intervalapart, and only when there is new activity. - Manual: click “✦ Summarize Again”, click “✦ Generate Summary” or “Retry”, or select a card and press s (ignored with ⌘ / ⌃ / ⌥).
- After 3 consecutive failures, automatic summaries for that session pause and the card shows “✦ Automatic summaries paused: …”; they resume after a successful manual run.
- States of the ✦ block on a card: generating… / updating… / generated (just now, N minutes ago, covering which turns or the last few commands) / new activity / failed / paused.
- Ended sessions show their saved summary (cached in
<state>/monitor/summaries/) and cannot be summarized again; terminal summaries live only in memory and are gone after a restart.
Chat
With the Monitor open and [monitor] enabled turned on, the right side of the “◎ Monitor” tab holds a chat panel (360 px wide) for questions like “What needs me?” or “What went wrong?”. When the tab is narrower than 760 px, the panel collapses into a 26 px “◎” strip on the right edge (with a badge when there are unread answers); click it to expand it as an overlay on top of the card wall, and “⇥” in the panel’s title bar collapses it. With the Monitor not enabled (enabled = false), there is no panel, no strip and no “◎ Ask”, and the A key does nothing.
How to ask:
- Type directly into the input box; ⏎ sends, ⇧⏎ inserts a newline. When the box is empty, three quick questions are offered: “✦ Generate Standup Brief” (first lists what “needs you”, then gives an “overall” overview), “What needs me?” and “What went wrong?”.
- “◎ Ask” on a card, or selecting a card and pressing A (the letter key; ignored with ⌘ / ⌃ / ⌥), puts that card into the input box as the scope.
- Typing
@in the input box (the full-width@works too) pops up a session list: ↑ / ↓ to select, ⏎ to confirm, Esc to close; you can pick several, and the × on a scope chip removes it. The scope stays on the message bubble, and also in the input box for follow-up questions. - Session names in answers are links; click one to go back to that session or card.
What it can see: five read-only tools — list sessions, session overview, the timeline of some turns (at most 3 turns), terminal commands (at most 20), and reading the screen (at most 200 lines; the chat shows “Reading the screen of …” and “Read the screen of … (last N lines)”). Every tool call is shown in the answer. Sessions and terminals under exclude_paths do not exist for it. It cannot take any action: writing to a pane, approving and sending messages are all off-limits (that is for a later phase).
Processes and cost:
- Your own
claudeorcodexstarts only with the first message; all windows share the same process, which uses the “Provider” and chat model from Settings and draws on your own account’s quota. - After 30 minutes idle the process ends automatically (the chat history is kept; the next message restarts it automatically, with the last 6 questions and answers as context); “New Chat” clears the history and ends the process.
- Sending another message while an answer is in progress first interrupts the current turn (if it has not stopped within 5 seconds, the process is ended and restarted with context); “Stop” stops only the current turn; a turn with no output at all for 5 minutes straight is also interrupted automatically, showing “(this turn was interrupted)”.
- When the process exits unexpectedly, the chat shows “Monitor process exited (…)”, and the next message restarts it automatically.
- Codex must be able to turn off
shell_tool,unified_execandhooks, so that it can only query data through gilvt’s read-only tools; if any of these switches cannot be found, the panel shows a red “Could not start Codex chat” explanation card, and you can switch to Claude or upgrade; ✦ summaries are not affected.
Privacy: the chat history lives only in memory and is cleared when gilvt restarts; every tool call is shown in the chat; each time gilvt starts the chat process (and for “Test Connection”) it generates a random token that is given only to the process it started itself, becomes invalid when that process ends, and never appears on the command line.
Troubleshooting: “View Log” on an error card opens ~/Library/Application Support/gilvt/state/monitor/chat.log, and “Open Settings” jumps to the settings window; “Test Connection” in the settings window runs one chat turn and calls list_sessions once.
Known limitations: chat history is not kept across restarts (for other limitations, see “Known limitations and troubleshooting”).
Command bar (⌘⇧M)
- With the Monitor enabled, every workspace window (except the settings window) has a thin 20 px line below the pane area: while answering, starting or stopping it shows “◎ Monitor · Answering…” (likewise “Starting…” and “Stopping…”); after an answer it shows the first sentence of the latest answer (or its heading, if the answer has only a heading and no body text); on errors it shows “◎ Monitor · Error: …”; before any chat it shows just “◎ Monitor”. The hint on the right is “⇧⌘M ask”, with a red dot when there are answers you have not seen.
- In any tab (terminal, Agent, editor, Monitor), press ⌘⇧M (or click the thin line, or use the menu “Sessions → Monitor Command Bar”) to focus the input box, with the latest question and answer shown above it;
⏎sends (the overlay stays expanded after sending and the answer appears above),⇧⏎inserts a newline,@picks sessions, just like the chat panel. This key combination is never written into the terminal or the Agent. - Esc or pressing ⌘⇧M again collapses it and returns the keyboard to where it was; while the
@candidates are open, the first Esc only closes them. With the command bar expanded, ⌘W only collapses the command bar and does not close the pane below; the “Close Tab” menu item, clicking a pane, or switching tabs with ⌘1–⌘9 also collapse it. When the pane closes by itself (for example when the shell exits), the command bar stays expanded with the keyboard still in the input box. Unsent text in the input box is kept when collapsing (@candidates and unfinished IME composition are not). - “View in Monitor ↗”: switches to this window’s “◎ Monitor” tab (creating it if there is none) and opens the chat panel; clicking a session name in an answer jumps to that session (excluded or missing sessions are shown as plain text only).
- The command bars and chat panels of all windows share one conversation; the expanded / collapsed state and the input draft are separate per window. Expanding the command bar does not resize the terminal (the overlay covers the bottom of the pane, up to 260 px tall, scrolling beyond that).
- With the Monitor disabled, the command bar does not appear and ⌘⇧M does nothing; disabling the Monitor while it is running collapses an expanded command bar.