Skip to content

Showcase

The screens below are not screenshots. cargo xtask showcase builds the seeded world, drives the real acpilot_tui client with the keys a person would press, and paints each state through the client’s own ui::draw. The page reads those frames and draws them again. A pane that changes shape therefore changes this page in the same commit. The capture is a test, and cargo test fails when it goes stale.

The colours are not baked in either. Each captured cell names a theme token rather than a colour, and the palette is applied when the frame is drawn. Switching the palette above is therefore the same operation as switching it in the product. The surface asks the theme what accent is, and paints with the answer.

the screen as it opensThe client as it opens on the seeded world: the file tree, the buffer, the session list with its transcript, the status line and the per-provider stats.

The current screen as text

Frames: cargo xtask showcase, painted by acpilot_tui::ui::draw.

The desktop shell, as it is built

32 bindings and 4 palette rows, read from the tables the window installs. The window itself is gpui and needs a graphics stack, so this is a representation of its data rather than a screenshot of it.

Acpilot · Night flightv0.1.0

Command palette

  • About AcpilotVersion 0.1.0
  • Where the stats came fromEach figure's source, instead of its numbers
  • Source controlChanged files, their diff, and a confirmed commit
  • Quit AcpilotClose the window

Built from the profiles the window was launched with; a page has none, so these are the two rows that do not depend on one.

Keymap

  • secondary-shift-pCommand paletteShell, Palette
  • secondary-qQuit AcpilotShell, Palette
  • downNext profileShell
  • upPrevious profileShell
  • f4Where the stats came fromShell
  • f6Source controlShell
  • escapeClose source controlSource
  • downNext changed fileSource
  • jNext changed fileSource
  • upPrevious changed fileSource
  • kPrevious changed fileSource
  • hPrevious unstaged hunkSource
  • lNext unstaged hunkSource
  • pagedownScroll the diff downSource
  • pageupScroll the diff upSource
  • rRefresh the indexSource
  • sStage the selected pathSource
  • shift-sStage the selected unstaged hunkSource
  • uUnstage the selected pathSource
  • dDiscard the selected path's unstaged changesSource
  • xCheck the selected path out from HEADSource
  • yConfirm the armed restoreSource
  • nCancel the armed restoreSource
  • cCompose a commit messageSource
  • gGenerate a commit messageSource
  • tabNext session for the draftCommit
  • shift-tabPrevious session for the draftCommit
  • escapeClose the composerCommit
  • downNext commandPalette
  • upPrevious commandPalette
  • enterRun the selected commandPalette
  • escapeClose the palettePalette

The Follow a terminal palette is not a third theme written for this page. It is acpilot_palette::follow::solve, the function theme_follow_terminal = true runs at startup, compiled to WebAssembly. It runs in your browser with whatever pair of colours you pick. The ratio beside it is the solver’s own measurement, and the palette it returns is held to the same AA floor the product’s themes are.

If the button does not load, the module is missing. cargo xtask showcase writes it to site/public/showcase/. It is built rather than committed, because a .wasm binary in the repository is a binary nobody remembers to rebuild.

This page’s colours takes the background and text of the page you are reading as the pair to solve from. A browser cannot ask the operating system’s terminal what it looks like. That is the honest stand-in: a pair the solver has not seen, solved by the code that ships.

The window is drawn by gpui and needs a graphics stack, which a documentation build does not have. The card at the end of this page shows the data the window is built from. That is the keymap it installs and the rows its command palette produces. The same task that captures the screens reads that data from acpilot-gui. It recolours with the palette you pick above, because it reads the same tokens.

The panes (the editor, the transcript, the permission card) are the terminal client’s until the desktop phase wires them to the same seeded world. The design pass exists so that decision is made once, against something that answers the keyboard, rather than twice against two mocks.

Terminal window
cargo xtask showcase # frames, the desktop tables, and the wasm solver

The task needs the wasm32-unknown-unknown target:

Terminal window
rustup target add wasm32-unknown-unknown

site/src/data/screens.json and site/src/data/desktop.json are committed. A test in acpilot-showcase compares them with a fresh capture. That is the rule the published JSON Schemas follow, for the same reason. An artefact that describes a file the program no longer accepts is worse than no artefact.

Vibecoded, on purpose. While I am a software developer, I lack the time to hand-code all my ideas, and as a result this project is vibecoded withFreebuff.