# Lavish A pane (or tab) named `lavish` that reviews a [lavish-axi](https://www.npmjs.com/package/lavish-axi) session without a browser: the conversation with the agent, a feedback composer that queues messages, and the session decisions — Send, Send & End, End. The artifact itself is arbitrary HTML, which a herdr pane cannot draw, so the pane carries **Open in browser** for that and for annotation; the session is the same one either way. ![Lavish](preview.png) ## What you see - **Header**, 44 px, `chrome` background (`0c1016` in the default dark theme), bottom border. **Lavish** in 13 px semibold, then the artifact path under home shortened to `~/` in 12 px `muted`. On the right, buttons 28 px tall, 12 px padding, 12.5 px text: **Open in browser** (always), **End** (red `blocked` text, disabled while anything is queued), then **Send · n** (primary, `solid` background) and **Send & End** once the queue has items. When the live socket reports the agent, a 7 px dot and 11 px label — `accent` for **Agent working**, `dim` for **Agent listening**. - **Conversation**, `background` (`111720`), fills the pane. Agent entries left-aligned in `surface` bubbles; user entries right-aligned in `popover` bubbles — 13 px text, 6/10 px padding, 8 px corners. A user entry that was an element annotation shows its quoted text in 12 px italic `muted`; non-message kinds (whiteboard, layout fixes) get a 10 px label. Empty state: one `dim` hint line. - **Queued · n** section between conversation and composer, only with items: 11 px `dim` heading, then each queued message in a bordered box. Click to edit (inline `Textarea`, Ctrl+Enter saves, Esc cancels, Save / Cancel buttons), ✕ removes. - **Composer** at the bottom, top border: a `Textarea` (13 px) with the placeholder "Feedback for the agent… (annotate elements in the browser)", a Queue button on the right, and an 11 px `dim` hint "Ctrl+Enter queues · annotate elements in the browser" on the left. - **Toast** strip under the header (12 px, `surface`) for send failures and confirmations; **Loading session…** / error text / **Session ended. Return to your agent.** centered in 14 px while not ready. After Send & End or End: "Feedback sent. Session ended." and the pane closes itself after 2 s. ## How it behaves - `lavish-herdr ` runs `lavish-axi --no-open`, opens this pane beside the agent's terminal (`$HC_TERMINAL_ID` → `herdr-app ls` → `pane.split right`), or as a tab (`LAVISH_HERDR_PLACE=down|tab`), relays the CLI's stdout and exit code untouched, and exits. With no herdr window it opens the session URL with the system opener instead. Every other subcommand (`poll`, `reply`, `end`, …) passes straight through to `lavish-axi`. - State machine: `loading → ready → sending → sent` and `loading → error`; `sending → ready` again on failure with a toast. `ended` (from the page state, the live `ended` event, or a 409) is read-only: composer hidden, only Open in browser stays. - Bootstraps from the page the browser loads — `GET /session/`, the `