# Inbox One quiet list of every tab across every space, grouped by space, beside a full-width terminal. There is no tab bar, no status bar and no reply box: you type to the agent in its own terminal. Finished or parked work folds away, and comes back when an agent needs you. ![Inbox](preview.png) ## What you see Two bands, top to bottom, with no system title bar: - **The top bar,** 32px, `#181825`. The window buttons on macOS, then one panel icon that hides and shows the list. While the list is hidden, a bold peach number beside the icon counts blocked agents. Linux and Windows get text window buttons on the right. - **The body,** the remaining height, a row: - **The list,** 300px (drag 200 to 460), `#181825`. Sections are Pinned, then one per space in space order, then folded shelves: Quiet for 3+ days, Snoozed, Settled. A 1px line sits above a footer hint, "⌘K to search or start a task". - **The terminal,** the flexible width. The active tab's real terminals, panes with 6px gaps and 6px corners. Terminal text uses Herdr's default JetBrains Mono, UI text uses Geist. - **The task file,** hidden at first, 340px (260 to 700). The focused tab's Markdown file, read-only, with a Close link. A row is 32px high: a 9px status dot, the tab's name, and its age on the right. Unnamed tabs read "Unnamed tab 2" in muted text. The selected row is `#45475a`. Colors are Catppuccin Mocha, set on the layout: canvas `#11111b`, list `#181825`, popover `#1e1e2e`, hover `#313244`, text `#cdd6f4`, muted `#a6adc8`. ## How it behaves | Status | Dot | |---|---| | working | filled blue `#89b4fa` | | blocked | filled peach `#fab387` | | done | filled green `#a6e3a1` | | idle or none | hollow outline `#45475a` | - The order is stable: activity never moves a row out of its space group. - Click a row to open its tab. Hover a row to swap its age for pin, snooze and settle icons. - Right-click a row for Pin, three snooze choices, Settle, Open task file, Rename and Close tab. - Snooze moves a tab to the Snoozed shelf until 1 hour, tonight 19:00 or tomorrow 09:00. A later blocked or done status wakes it early. - Settle uses Herdr's own `tab.settle`. The tab keeps running on the Settled shelf. - Idle tabs unchanged for 3 days fold into Quiet. A blocked or done status brings them back. Change `QUIET_MS` in `mods/inbox-list/main.js` to adjust this. - A tab named exactly `Dispatch` always sits in Pinned. Use it as one tab that opens the others. - ⌘K (Ctrl+Shift+K on Linux and Windows) opens one search box for tabs and spaces. When the text matches no tab name, it also offers to start a new Claude task, or a new space, with that name. - ⌘B hides and shows the list, using Herdr's default key for a block named `sidebar`. ## Built from - **Layout** (`layouts/inbox.json`): root `column`, `titlebar: "none"`, `traffic_lights: [13, 10]`, `theme: "graphite"` with `colors` overrides. `topbar` is a 32px `window_drag` block with mod `inbox-bar`. `body` is a row of column `sidebar` (block `inbox`, mod `inbox-list`), block `main` (`content: { tab: "active", pane: {...} }`) and hidden block `task` (mod `inbox-task`). - **Mods:** `inbox-bar`, `inbox-list`, `inbox-menu` (popup), `inbox-picker` (dialog), `inbox-task`. All use `place: "none"`. - **`herdr` functions:** `spaces`, `agents`, `layout`, `focused`, `theme`, `window`, `home`, `props`, `run`, `shared`, `setShared`, `openOverlay`, `closeOverlay`, `readTextFile`. - **Commands:** `tab.select`, `tab.new`, `tab.settle`, `tab.unsettle`, `tab.rename`, `tab.close`, `space.new`, `mod.open`, `layout.toggle`, `layout.show`, `layout.hide`, and window minimize, maximize and close. - **Keys** (`keys.json`, merge into yours): section `layout:inbox` binds `cmd-k`, `cmd-p` and `ctrl-shift-k` to `mod.open:inbox-picker`. These apply only while this layout shows. - **State:** `inbox.pins` and `inbox.snoozed` in shared state. - **Art:** Lucide icons (`pin`, `clock`, `check`, `chevron-down`, `chevron-right`, `panel-left`). **What it reaches:** no mod calls the network or `exec`. `inbox-task` reads one file, `~/Documents/herdr-tasks/.md`, and creates nothing. `inbox-picker` starts `claude` when you choose a new task or space. ## Watch out - This layout is dark. If Claude Code's own theme is light, its question text turns black and hard to read. Run `/theme` in Claude Code and pick a dark theme. - Herdr's `done` status appears after a program goes from working to done. A program that reports `done` first shows as idle. - Close a tab through the menu or `tab.close`. Removing Herdr's tab bar also removes its close buttons. - The picker needs `claude` on your PATH to start tasks. Change the `argv` in `mods/inbox-picker/main.js` for another agent. - The hidden-list count includes blocked tabs on the Snoozed shelf. - Quiet needs a state change the app has seen. A tab with no change since the app started stays in its group. - If you start Herdr from inside an agent session, the core can inherit that session's environment. Claude Code then warns that transcript saving is off. Start Herdr from the Dock or Finder. - Tested on macOS (Apple silicon) with Herdr app 0.1.10 and hc 0.1.15. Linux and Windows code paths are written but untested. ## Done when - `herdr-app check` passes for all five mods. - Every tab appears under its space, and rows don't move when an agent changes status. - A blocked tab shows a peach dot. Hiding the list shows the count beside the icon. - Hover icons and the right-click menu pin, snooze and settle a tab. A blocked status wakes a snoozed tab. - ⌘K finds a tab by name, and typing a new name offers to start a task or a space. - Open task file shows a Markdown file, or the empty message when there's none.