Skip to content
Back

Pilot PanelPro

Agent apps / Pilot Panel: an editor's agent panel as a desktop app. Task history with each task's cost; the task as steps (files it read, its notes, edits, a command) with a checkpoint after every change to Compare or Restore; Plan and Act (Plan only reads and proposes); tool calls that wait on Approve or Reject unless auto-approve covers them; a context meter with tokens and cost; an Editor pane with the diff and the checkpoints.

oxyn add pilot-panel
Paginate the orders endpointAct38.2k / 200k$0.42

GET /orders returns every order at once. Add cursor pagination with a limit of 50 and update the test.

  1. Readsrc/routes/orders.ts64 lines
  2. The handler loads all orders. I'll add a cursor on id and a limit capped at 50.

  3. Editedsrc/routes/orders.ts+14 −3
    Checkpoint
  4. Editedtest/orders.test.ts+21 −2
    Checkpoint
  5. Rannpm test -- orders9 passed · 2.8 s
    Checkpoint

Done. /orders now takes a cursor and a limit (at most 50) and returns next_cursor. The test covers two pages and the cap.

The code is part of Oxyn Pro

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.

Get Pro

Rendered from Rust at build time · goes live when visible

When to use

  • Give an agent a coding task, let it plan first or act, approve the tool calls auto-approve does not cover, and step back to any checkpoint if a change goes wrong, while watching context and cost.

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

Pilot Panel 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.

Terminal
oxyn add pilot-panel

Usage

Dioxus · rust
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Examples

Sample

Sample data, the main area as an inset card.

Paginate the orders endpointAct38.2k / 200k$0.42

GET /orders returns every order at once. Add cursor pagination with a limit of 50 and update the test.

  1. Readsrc/routes/orders.ts64 lines
  2. The handler loads all orders. I'll add a cursor on id and a limit capped at 50.

  3. Editedsrc/routes/orders.ts+14 −3
    Checkpoint
  4. Editedtest/orders.test.ts+21 −2
    Checkpoint
  5. Rannpm test -- orders9 passed · 2.8 s
    Checkpoint

Done. /orders now takes a cursor and a limit (at most 50) and returns next_cursor. The test covers two pages and the cap.

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Flat

The same view with the main area edge to edge.

Paginate the orders endpointAct38.2k / 200k$0.42

GET /orders returns every order at once. Add cursor pagination with a limit of 50 and update the test.

  1. Readsrc/routes/orders.ts64 lines
  2. The handler loads all orders. I'll add a cursor on id and a limit capped at 50.

  3. Editedsrc/routes/orders.ts+14 −3
    Checkpoint
  4. Editedtest/orders.test.ts+21 −2
    Checkpoint
  5. Rannpm test -- orders9 passed · 2.8 s
    Checkpoint

Done. /orders now takes a cursor and a limit (at most 50) and returns next_cursor. The test covers two pages and the cap.

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Loading

Skeletons in the sidebar, the conversation and the pane.

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Empty

A first run: nothing yet, the composer front and centre.

New task

What can I do for you?

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Plan

Plan mode: the agent read the route and proposes four steps; Switch to Act lets it change files.

Paginate the orders endpointPlan38.2k / 200k$0.42

GET /orders returns every order at once. Add cursor pagination with a limit of 50 and update the test.

  1. Readsrc/routes/orders.ts64 lines
PlanNothing changed yet
  1. Read the orders route and its test
  2. Add a cursor (last id) and limit (max 50) to the query
  3. Return next_cursor when more orders remain
  4. Update the test for two pages and the limit cap

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

X1

Oxyn: the sidebar as a 56 px icon rail; the top bar expands it.

Paginate the orders endpointAct38.2k / 200k$0.42

GET /orders returns every order at once. Add cursor pagination with a limit of 50 and update the test.

  1. Readsrc/routes/orders.ts64 lines
  2. The handler loads all orders. I'll add a cursor on id and a limit capped at 50.

  3. Editedsrc/routes/orders.ts+14 −3
    Checkpoint
  4. Editedtest/orders.test.ts+21 −2
    Checkpoint
  5. Rannpm test -- orders9 passed · 2.8 s
    Checkpoint

Done. /orders now takes a cursor and a limit (at most 50) and returns next_cursor. The test covers two pages and the cap.

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

X2

Oxyn: the sidebar hidden for focus; the top bar brings it back.

Paginate the orders endpointAct38.2k / 200k$0.42

GET /orders returns every order at once. Add cursor pagination with a limit of 50 and update the test.

  1. Readsrc/routes/orders.ts64 lines
  2. The handler loads all orders. I'll add a cursor on id and a limit capped at 50.

  3. Editedsrc/routes/orders.ts+14 −3
    Checkpoint
  4. Editedtest/orders.test.ts+21 −2
    Checkpoint
  5. Rannpm test -- orders9 passed · 2.8 s
    Checkpoint

Done. /orders now takes a cursor and a limit (at most 50) and returns next_cursor. The test covers two pages and the cap.

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Approval

A command waits on Approve or Reject because Run commands is not on auto-approve.

Paginate the orders endpointNeeds approval38.2k / 200k$0.42

GET /orders returns every order at once. Add cursor pagination with a limit of 50 and update the test.

  1. Readsrc/routes/orders.ts64 lines
  2. The handler loads all orders. I'll add a cursor on id and a limit capped at 50.

  3. Editedsrc/routes/orders.ts+14 −3
    Checkpoint
  4. Editedtest/orders.test.ts+21 −2
    Checkpoint
  5. Rannpm test -- orders9 passed · 2.8 s
    Checkpoint

Pilot Panel wants to run a command

$ npm run migrate -- --env staging

Changes the staging database. Run commands is not on auto-approve.

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

API reference

PilotPanelScreen

PropTypeDefaultDescription
layoutString"inset"`inset` or `flat`: the main area as a rounded card on the sidebar's grey, or edge to edge.
stateString"sample"A state key (`sample`, `loading`, `empty`, `plan` or `approval`).
heightu32900Height px (outside a stage).
railboolDefault::default()Oxyn: open with the sidebar as a 56 px icon rail.
sidebar_hiddenboolDefault::default()Oxyn: open with the sidebar hidden (the top bar brings it back).
dataOption<PilotPanelData>Default::default()Your data. `None` shows the sample for `state`; start from `PilotPanelData::default()`.

Read from the Rust signature and doc comments.

Keyboard interactions

KeyAction
EnterSend (Shift + Enter for a new line)
← →Move between Editor and Checkpoints
EscapeClose the model or account menu

Accessibility

  • The sidebar is a nav landmark; each task names its date and cost in text.
  • Plan and Act sit in a labelled group as toggles (aria-pressed); auto-approve is a group of labelled checkboxes.
  • A command waiting on you is an alertdialog with the command in full and Approve and Reject.
  • Checkpoints are labelled groups with Compare and Restore; 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)

1440 × 900 stage; /full at the real viewport. Under 960 px the sidebar is a drawer and the pane opens over the conversation from the top bar. Under 620 px chip labels shorten and dates hide in rows. scripts/ovl.py finds no text overlap at 1440, 768 and 390 in light and dark.

Notes for AI

  • Import PilotPanelScreen from oxyn_dioxus and include STATUS_INDICATOR_CSS plus the token stylesheet once.
  • A GPUI version exists: PilotPanelEl in oxyn_gpui.
  • Keep its states and timings as they ship; restyle it through the CSS variables rather than by hand.

Guides

Oxyn · 74 free components · 264 Pro components · 96 screens · 20 blocks · Dioxus and GPUI