Command CenterPro
Agent apps / Command Center: a desktop coding-agent app in the threads-and-review pattern. Projects and their threads in the sidebar (status, lines changed), Automations, a running thread with its work log that finishes on its own, a pane with Review (each thread its own changes), Terminal tabs and a Browser; the review (files, hunks, Accept or Revert per hunk and file, Accept all), a Local / Worktree / Cloud switch with the branch, a task queue that fills while the thread runs, and a composer with model and reasoning pickers and Stop.
oxyn add command-centerUploads fail for good when the storage API returns a 503. Retry them with exponential backoff, at most 4 tries, and add a test.
- Searched for upload call sites3 results in src/
- Read src/upload/client.rs142 lines
- Edited src/upload/client.rs+14 −6
- Added tests/retry.rs+4
- Running cargo test retry2 of 3 passed…
Working · 4 of 5 steps
- 1Add a metrics counter for retries
- 2Update the upload docs
- 3Bump the HTTP client
The preview stays free for everyone. Pro opens the code of every Pro component, screen, agent-app template, block and kit, plus the Pro CLI.
Rendered from Rust at build time · goes live when visible
When to use
- Hand a coding agent a change, watch the thread work, and review what it changed hunk by hunk before keeping it.
When not to use
- Mail folders with counts and labels beside a message list: use Inbox sidebar instead.
- The app frame: use App shell instead.
- An assistant docked beside a page: use AI side panel instead.
Installation
Command Center is part of Oxyn Pro; the preview is free. Pro items install with the oxyn CLI once your licence is signed in; until then Pro members copy the code from this page.
oxyn add command-centerUsage
The preview is free. Pro opens the code of every Pro component, screen and template.
Examples
Sample
Sample data, the main area as an inset card.
Uploads fail for good when the storage API returns a 503. Retry them with exponential backoff, at most 4 tries, and add a test.
- Searched for upload call sites3 results in src/
- Read src/upload/client.rs142 lines
- Edited src/upload/client.rs+14 −6
- Added tests/retry.rs+4
- Running cargo test retry2 of 3 passed…
Working · 4 of 5 steps
- 1Add a metrics counter for retries
- 2Update the upload docs
- 3Bump the HTTP client
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Flat
The same view with the main area edge to edge.
Uploads fail for good when the storage API returns a 503. Retry them with exponential backoff, at most 4 tries, and add a test.
- Searched for upload call sites3 results in src/
- Read src/upload/client.rs142 lines
- Edited src/upload/client.rs+14 −6
- Added tests/retry.rs+4
- Running cargo test retry2 of 3 passed…
Working · 4 of 5 steps
- 1Add a metrics counter for retries
- 2Update the upload docs
- 3Bump the HTTP client
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Loading
Skeletons in the sidebar, the conversation and the pane.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Empty
A first run: nothing yet, the composer front and centre.
What should we build in relay-api?
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Worktree
The thread finished in a worktree on its own branch, with Hand off to Local and the changes to review.
Uploads fail for good when the storage API returns a 503. Retry them with exponential backoff, at most 4 tries, and add a test.
- Searched for upload call sites3 results in src/
- Read src/upload/client.rs142 lines
- Edited src/upload/client.rs+14 −6
- Added tests/retry.rs+4
- Ran cargo test retry3 passed
Uploads now retry a 503 up to 4 times with exponential backoff (250 ms, doubling). I added a test that fails twice and then succeeds; all 3 retry tests pass.
- 1Add a metrics counter for retries
- 2Update the upload docs
- 3Bump the HTTP client
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
X1
Oxyn: the sidebar as a 56 px icon rail; the top bar expands it.
Uploads fail for good when the storage API returns a 503. Retry them with exponential backoff, at most 4 tries, and add a test.
- Searched for upload call sites3 results in src/
- Read src/upload/client.rs142 lines
- Edited src/upload/client.rs+14 −6
- Added tests/retry.rs+4
- Running cargo test retry2 of 3 passed…
Working · 4 of 5 steps
- 1Add a metrics counter for retries
- 2Update the upload docs
- 3Bump the HTTP client
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
X2
Oxyn: the sidebar hidden for focus; the top bar brings it back.
Uploads fail for good when the storage API returns a 503. Retry them with exponential backoff, at most 4 tries, and add a test.
- Searched for upload call sites3 results in src/
- Read src/upload/client.rs142 lines
- Edited src/upload/client.rs+14 −6
- Added tests/retry.rs+4
- Running cargo test retry2 of 3 passed…
Working · 4 of 5 steps
- 1Add a metrics counter for retries
- 2Update the upload docs
- 3Bump the HTTP client
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Automations
Automations: threads that start on a schedule or an event, with Run now, on/off and New automation.
Automations
Threads that start themselves on a schedule or an event, each in its own worktree.- Bump dependenciesEvery night at 02:00 · relay-apiUpdate patch versions, run the tests, open a review thread if they pass.Ran 6h ago
- Triage new bugsWhen an issue is labelled bug · atlas-webReproduce the bug, find the likely file and write a first fix in a worktree.Ran 2d ago
- Fix red CIWhen CI fails on main · relay-apiRead the failing job, fix the cause in a worktree and wait for review.Failed 3d ago
- Weekly changelogEvery Monday at 09:00 · field-notesSummarise merged changes since last Monday into CHANGELOG.md.Not run yet
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Terminal
The pane on Terminal: tabs for the test run and a shell, a new tab, close, and a prompt that runs commands.
Uploads fail for good when the storage API returns a 503. Retry them with exponential backoff, at most 4 tries, and add a test.
- Searched for upload call sites3 results in src/
- Read src/upload/client.rs142 lines
- Edited src/upload/client.rs+14 −6
- Added tests/retry.rs+4
- Running cargo test retry2 of 3 passed…
Working · 4 of 5 steps
- 1Add a metrics counter for retries
- 2Update the upload docs
- 3Bump the HTTP client
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Browser
The pane on Browser: back, reload, an address bar and the app's page.
Uploads fail for good when the storage API returns a 503. Retry them with exponential backoff, at most 4 tries, and add a test.
- Searched for upload call sites3 results in src/
- Read src/upload/client.rs142 lines
- Edited src/upload/client.rs+14 −6
- Added tests/retry.rs+4
- Running cargo test retry2 of 3 passed…
Working · 4 of 5 steps
- 1Add a metrics counter for retries
- 2Update the upload docs
- 3Bump the HTTP client
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
API reference
CommandCenterScreen
| Prop | Type | Default | Description |
|---|---|---|---|
layout | String | "inset" | `inset` or `flat`: the main area as a rounded card on the sidebar's grey, or edge to edge. |
state | String | "sample" | A state key (`sample`, `loading`, `empty` or `worktree`). |
height | u32 | 900 | Height px (outside a stage). |
rail | bool | Default::default() | Oxyn: open with the sidebar as a 56 px icon rail. |
sidebar_hidden | bool | Default::default() | Oxyn: open with the sidebar hidden (the top bar brings it back). |
data | Option<CommandCenterData> | Default::default() | Your data. `None` shows the sample for `state`; start from `CommandCenterData::default()` and replace what you have. |
Read from the Rust signature and doc comments.
Keyboard interactions
| Key | Action |
|---|---|
| Enter | Send, or queue while the thread runs (Shift + Enter for a new line) |
| Escape | Close a picker menu |
| Tab | Threads, the conversation, the queue, the composer, then the review pane |
Accessibility
- The sidebar is a nav landmark; the open thread carries aria-current=page; project groups are disclosure buttons.
- Work in, model and reasoning are menus of menuitemradio that close on Escape.
- The review pane is a labelled complementary region; each file is a section with Accept and Revert buttons naming the file and hunk.
- The queue is an ordered list with Move up and Remove; every action reports in a polite live region.
Responsive behaviour
- Authored on the 1440 × 900 canvas: a 272 px sidebar, the conversation and a 440 px pane (380 px under 1180).
- Under 960 px the sidebar becomes a drawer from the top bar and the pane opens over the conversation from its top-bar button.
- Under 620 px the chips shorten and the composer and pane keep their actions; labels ellipsise.
Edge cases (spec)
Authored on the 1440 × 900 stage and scaled to its column; /full renders at the real viewport. Under 960 px the sidebar is a drawer from the top bar (with a scrim) and the review pane opens over the thread from its top-bar button or the changes card. Under 620 px chips shorten; under 440 px the status pill hides. Labels ellipsise in flex children with min-width 0; scripts/ovl.py finds no text overlap at 1440, 768 and 390 in light and dark.
Notes for AI
- Import
CommandCenterScreenfromoxyn_dioxusand includeSTATUS_INDICATOR_CSSplus the token stylesheet once. - A GPUI version exists:
CommandCenterElinoxyn_gpui. - Keep its states and timings as they ship; restyle it through the CSS variables rather than by hand.