# Ovis Studio A dark studio for coding agents: a near-black window, your terminals on one rounded canvas, and a violet accent kept for what has focus. The toolbar says where you are and what waits on you; the sidebar lists spaces and agents in quiet 32px rows. ![Ovis Studio](preview.png) This file is the brief: enough to build Ovis Studio from an empty folder. The files next to it are one build of it. If they don't work on your Herdr, or you want it different, build it again from here. ## What you see No system title bar. The window is `#0c0c0f`; the canvas card is `#111114`. 1. **The sidebar**, 264px, `#0c0c0f`, no divider beside it: - **Top row**, 48px, room for the macOS traffic lights (84px), then a `+` (new space) and a sidebar toggle at the right, 28px ghost buttons with 16px Tabler icons. - **Spaces**: a 34px label row ("Spaces", 12px/500, `#8a8a93`) with a `+`; then one 32px row per space, 8px corners, 2px apart: an 18px colored square mark with the space's initial (white, 10px/600), the name (13px, `#b0b0b9`; the shown space `#e2e2e7` at weight 500 on a `#ffffff10` fill), what's unusual about its git (repo or branch, ahead/behind) in 12px `#8a8a93`, and at the end the space's agent state. With other machines, a 30px machine row heads each group (icon, name, `+`, a connection dot, a fold chevron). - **Agents**: a 34px label row with a sort button, then the agents in priority sections, "Needs you" (`#f57a7a`), "Done" (`#59f089`), "Working" (`#59ebf0`), "Idle", or grouped by space. 32px rows: the program icon, the space and tab, how long since it changed, its state. - **Footer**, 48px: Settings (gear, a violet dot when an update is ready), then ghost buttons for Add a machine and Keyboard shortcuts. 2. **The work column**: - **Toolbar**, 48px, `#0c0c0f`: on the left the crumb (space mark, space name in `#8a8a93`, a chevron, the tab name in `#e2e2e7`/500, a branch chip); a 320px command bar in the middle (30px, 8px corners, `#ffffff0a` on a `#1f1f26` hairline, a search icon, "Jump to a tab, space or agent", the `⌘P` key); on the right a red "N needs you" chip and a green "N done" chip (26px pills, the state's colour at 12% behind it), then Files and Changes as a segmented switch (a 28px well, the open one raised on `#1b1b21`) when the person turned those panels on. - **The canvas**, 8px in from the sidebar and the window's right and bottom edges: one column, 10px corners, a 1px `#1f1f26` border, `#111114` inside: - **Tab bar**, 38px: a `#ffffff0a` strip over the canvas with a hairline at its foot. Tabs are 30px, 13px/500, standing on the foot: the open one is cut out of the strip (the canvas colour, 8px top corners, a hairline round its top and sides, its foot open over the line); others are `#8a8a93` with a hover fill. Each tab leads with its state (a cyan spinner while working, a red or green dot) or its program's icon, then its name (a tab nobody named is called after its program), then an × on the open or hovered tab. A `+` follows the last tab. At the right: split right, split down, and zoom (only when the tab is split). - **Panes**: a lone pane is the bare terminal. Split panes sit 1px apart over the `#1f1f26` border colour, so a hairline divides them, and each gets a 30px header: a 2px violet bar when focused, the program icon, its name (`#e2e2e7` focused, `#8a8a93` not), the folder, its state, and on hover split, zoom and close. - **Status line**, 28px, a hairline over it, 11.5px `#8a8a93`: the machine, the focused folder, its branch; at the right the agents by state ("1 needs you" in red, a spinner and "2 working", a dot and "done", a ring and "idle"), the zoom when it isn't 100%, and `⌘⇧P Commands`. - **Files / Changes**: Herdr's own `files` and `changes` panels in a second card (same corners and border) to the right of the canvas, 360px, hidden until opened. Type: Inter 13px for the interface (shipped in the mod's `fonts/`), JetBrains Mono 13px for terminals with 12×8px padding. Icons: Tabler outline at 1.75 stroke. Theme (`themes/ovis-studio.json`): terminal `#111114` on `#d6d6db`, cursor `#9b7dff`, selection `#2d2a4d`; ANSI `#26262e #f57a7a #6ee7a0 #f5c97a #8aa8ff #b794ff #5ee0e6 #c4c4cc`, bright `#62626e #ff9a9a #8ff0b5 #ffd98f #a8bfff #cdb3ff #8ff1f4 #f4f4f7`; panel colours canvas/chrome `#0c0c0f`, surface `#111114`, popover `#17171c`, raised `#1b1b21`, hover `#ffffff0a`, selected `#ffffff10`, border `#1f1f26`, input `#2c2c35`, foreground `#e2e2e7`, muted `#b0b0b9`, dim `#8a8a93`, accent `#9b7dff`, solid `#5016ff`, working `#59ebf0`, blocked `#f57a7a`, done `#59f089`, idle `#8a8a93`. ## How it behaves - **Working**: a cyan spinner turns on the tab, at the end of its space's row, in the agents list and in the status line; it is counted as "working". - **Blocked**: a red dot on the tab and the space; "Needs you" pill in the agents list and the pane header; the toolbar shows "N needs you", and clicking it focuses the first such agent (`agent.focus`). Its tooltip lists them. - **Done** (finished while you weren't looking): a green dot on tab and space, a green "N done" chip in the toolbar that goes there; it turns idle once you look. - **Idle**: no mark on tabs or spaces; a ring in the agents list and the status line. - The crumb and the command bar open Herdr's picker (`mod.open picker`). - Tabs: click selects, double-click renames, drag reorders, right-click opens the tab menu, the wheel over the strip moves between tabs. Spaces: click, drag to reorder, right-click for the space menu. Agents: click focuses, pin on hover, fold sub-agents. - Status line counts focus the first agent in that state; "Commands" opens the palette. - Spinners turn natively (`.spin`); nothing redraws on a timer to animate. ## Built from - **The layout** (`layouts/ovis-studio.json`): root `row`, `titlebar: "none"`, `traffic_lights: [16, 18]`, `theme: "ovis-studio"`, `font: "JetBrains Mono"`, `font_size: 13`, `ui_font: "Inter"`, `terminal_padding: [12, 8]`, `background: "canvas"`, `preview: "layouts/ovis-studio.svg"`. Children: `sidebar` (column, 264px, min 44, max 420: `brand` 48px, `sidebar-lists` with `spaces` weight 1 and `agents` weight 1.2, `sidebar-footer` 48px) and `work` (column: `header` 48px with `window_drag`; `work-body` row with padding `[0, 8]` and gap 8 holding `canvas` and `panel`; `foot`, an 8px spacer). `canvas` is a column with `radius: 10`, a 1px border, `background: "background"`: `tabs` 38px, `main` (`{ tab: "active" }`, pane frames with gap 1, radius 0, `lone: false`, a 30px header from the mod, and the block's background `border` so the gaps read as hairlines), `status` 28px. `panel` keeps Herdr's ids (`panel`, `panel-body`, `files`, `changes`) so its open/close logic works. - **`mods/ovis-studio/`**, one mod by `props().role`: `brand`, `footer`, `header`, `tabs`, `pane` (the pane header; it also gets `props().pane`), `status`, `spacer`. Its `fonts/` holds Inter Regular, Medium and SemiBold (OFL) and `icons/` the Tabler SVGs and a spinner. - **`mods/ovis-studio-spaces/`** and **`mods/ovis-studio-agents/`**: Herdr's `spaces` and `agents` mods, restyled to the sizes above, their icons pointed at `mods/ovis-studio/icons/`; the spaces row adds its agent state at the end. - **Shipped mods it opens:** `picker`, `menu`, `new-menu`, `machine-add`, `files`, `changes` (and the palette, help and settings frames). - **herdr functions:** `spaces`, `panes`, `agents`, `terminals`, `focused`, `layout`, `window`, `keys` (the shortcuts it shows), `settings`, `updates`, `shared` / `setShared` (`space.colors`, `sidebar.width`, `workspace.panels`, `agents.sort`), `setAgentOrder`, `openOverlay`, `run`. Commands: `space.new`, `space.select`, `space.move`, `tab.select`, `tab.move`, `tab.rename`, `tab.close`, `tab.next`, `tab.prev`, `pane.split`, `pane.zoom`, `pane.close`, `pane.focus`, `agent.focus`, `layout.resize`, `layout.show`, `layout.hide`, `layout.select`, `mod.open`, `app.settings`, `app.help`, `app.palette`, `app.zoom_reset`, `window.*`. - **Programs it runs:** the spaces list runs `git status`/`git rev-parse` in each space's folder (on that space's machine) and `hc machine ls`, as Herdr's does. ## Watch out - `init()`'s argument is not the block's props: read the role with `props()` in `render`, or every block draws the default role. - A row that scrolls (`overflow_x_scrollbar`) takes all the room it's given: put the `+` inside the tab row after the tabs, or it ends up at the far right. - Things on the tab strip line up with the 30px tabs (which stand on the strip's foot), not with the 38px strip: give the `+` and the pane tools 30px boxes. - The open tab covers the strip's hairline with `mb(-1)` and a height of 31. - The canvas's corners: the tab strip and the status line draw their own 9px corners (the card's 10px less its border), since a block isn't clipped to its parent's radius. - The fonts load at start and on a look change: right after copying the files, switch layouts once. - Files and Changes show only when the person enabled them (shared `workspace.panels`); the toolbar is quieter without them. - The spaces and agents mods are clones: Herdr's updates to its own lists won't reach them. - On Linux and Windows the toolbar draws minimize, maximize and close at its right. ## Done when - `herdr-app check` passes for `mods/ovis-studio`, `mods/ovis-studio-spaces` and `mods/ovis-studio-agents`, and `herdr-app status` shows no errors after `layout.switch {name: "ovis-studio"}`. - The toolbar's crumb shows the shown space and tab, and clicking it opens the picker. - With an agent blocked, the red chip appears in the toolbar and clicking it focuses that agent; the status line counts it too. - The open tab has no line under it; the `+` sits right after the last tab. - Splitting a pane gives both panes a 30px header and a 1px line between them; the focused one has the violet bar. - The canvas has round corners at all four corners, with no square edge poking out.