Fleet
Arm a set of terminals in one project and drive them as one: live keystroke mirroring, bulk accept, reject, interrupt, restart, and kill, with a ribbon that shows exactly what is armed.
What Is Fleet?
Fleet is Daintree's coordinated multi-terminal mode. You arm a set of terminals, and from then on input from an armed terminal can reach every other armed terminal. Draft submissions, raw terminal input, and explicit bulk actions use different paths, described below. The armed set is sticky. It stays until you disarm or exit, so Fleet is a mode you enter, not a one-shot shortcut.
Eligibility is about having a writable PTY in a visible slot, not about being an agent. A terminal can join a fleet when it is a terminal panel in the panel grid whose PTY is alive and has not exited or errored. Plain shells qualify: arming reroutes keystrokes, and a shell takes keystrokes as readily as an agent does. Dock terminals are excluded because the collapsed dock has nowhere to draw the armed and follower state that warns you your typing is going somewhere else, and non-terminal panels (browser, dev preview, file viewer) have no PTY to write to. The armed set auto-prunes as panels are trashed, exit, or lose their PTY.
The agent-specific bulk actions are narrower. Accept, reject, interrupt, and restart read agent state and the built-in runtime agent identity, so they address supported built-in agents. Plugin and custom agent PTYs can receive broadcasts without supporting these bulk verbs. A shell in the fleet receives broadcasts and ignores the agent verbs.
The model is three steps: arm a set, broadcast a draft, review the results.
- This page covers arming: the surfaces that build an armed set, the ribbon that shows it, and the bulk actions that operate on it.
- Broadcasting & Runs covers what happens after you type: mirroring, per-target variable resolution, supervised runs, and failure handling.
- Saved Fleets covers naming an armed set so you can recall it later, as a frozen snapshot or as a live rule.
A fleet can also include agents on other machines. On a connected remote host's card in the Hosts overview, Add agents to fleet… adds agents running there to this window's fleet. They have no panel here, and broadcasts reach them verbatim, so recipe variables arrive as literal text. The bulk action shortcuts below act only on armed panels in this window. See Add Agents on Another Host to a Fleet.
Fleet vs Pilot
Fleet and Pilot both deal with many agents at once, and they are easy to confuse. They answer different questions.
Fleet is a mode you enter inside one project. You choose a set of terminals, arm them, and act on them together. It is a write surface: the point of arming is that your next keystroke fans out.
Pilot is a read-across view of every agent run in every project, ordered by what needs your attention. You do not arm anything from it and it does not broadcast. Open it when you want to know where to go; use Fleet once you are there.
Starting a Fleet
There are several ways to arm terminals. The arming ribbon appears at the top of the content area once the fleet has two or more members, and that is the moment Fleet becomes visible.
Arming Individual Terminals
The fastest path is to focus a terminal and toggle it into the fleet with a keyboard shortcut. The first shortcut works globally, so you can arm terminals from anywhere in the app.
| Action | Shortcut |
|---|---|
| Arm or disarm focused terminal | Command-J Control-J Control-J |
| Arm or disarm focused pane Expanded worktree card, outside a terminal | X X X |
| Arm all eligible terminals in current worktree | Option-Command-A Control-Alt-A Control-Alt-A |
Two pointer routes do the same job:
- Title bar clicks. ⌘-click or Shift-click a terminal's title bar (Ctrl-click on Windows and Linux) to toggle it in or out of the fleet. If nothing is armed yet, the pane you were focused on joins too, so the first gesture gives you a fleet of two. A plain click on a title bar while a fleet is armed clears the fleet and focuses that pane, the way a plain click replaces a multiple selection.
- The terminal's right-click menu. Add to fleet or Remove from fleet, Arm all in this worktree, and, once two or more are armed, Clear fleet.
The single-terminal toggles add to what is armed. Arm all in this worktree and the Option-Command-A Control-Alt-A Control-Alt-A shortcut replace it: the fleet becomes every eligible terminal in that worktree.
The Fleet Picker
The Fleet Picker is the cold-start surface for selecting several terminals at once. Click the Zap button in the worktree sidebar's header (its tooltip reads Select terminals to arm) to open it. A centered palette appears with the heading "Select terminals to arm", a search field, and a list of every fleet-eligible terminal grouped by worktree. The active worktree's terminals start out selected.
Search matches against terminal title, worktree name, branch, file path, and recent scrollback content, so you can find a target by what is happening inside it, not just what it is called. Each worktree group has a parent checkbox, with an indeterminate state when only some of its terminals are selected.
The picker's keyboard model:
| Key | Action |
|---|---|
| ↓ or Tab | Move focus from search into the list |
| ↑ / ↓ | Move through worktree headings and rows |
| Home / End | First / last item in the list |
| Space | Toggle the focused terminal, or the whole worktree on a heading |
| Shift+↑ / ↓ | Extend the selection as you move |
| Command-A Control-A Control-A | Select all visible matches, keeping picks the search hides |
| Shift-Command-I Control-Shift-I Control-Shift-I | Invert the selection among visible matches |
| Shift+Click | Range select from the last clicked row |
| Enter | Arm the selection (on a worktree heading, toggle that worktree instead) |
| Esc | Clear search on first press, close on second |
Three selection helpers sit below the search box: Select all (Select all visible once you have filtered), Select agents, which additively adds every visible terminal in a working, waiting, or directing state and leaves your existing picks (including plain shells) alone, and Clear, which empties the selection, picks hidden by the search included. Beside them a running count reads 2 of 5 selected, adding 1 hidden by search when the filter is hiding a pick that will still be armed.
If the project has saved fleets, a row above the helpers offers each one as a single click (Arm a saved fleet), with a count of the panes it would arm and a Manage… button. Only fleets that would change the armed set are offered.
The footer is reserved for committing. A segmented Replace or Append control decides what confirming does: Replace clears the current armed set and arms only the picker's selection, Append adds the selection to what is already armed. Cancel and the confirm button sit together at the trailing edge, and the confirm button counts your picks: Arm 2 selected, or in Append mode Add 2, counting only the panes not already armed.
Preset Selections
Once the ribbon is showing, its … selection menu offers one-click presets under Select by state. A preset replaces the armed set with the terminals that match it, agents on other hosts included, rather than adding to it. Each row carries a live count of how many panes it would arm, and hovering or focusing a row lights up those panes' title bars before you commit, so a preset is a preview before it is an action.
| Preset | Arms |
|---|---|
| All waiting, for this worktree or for all worktrees | Every agent waiting for input, in the active worktree or anywhere in the project |
| All working, for this worktree or for all worktrees | Every agent currently running a task, in the active worktree or anywhere in the project |
| All in this worktree | Every eligible terminal in the active worktree, shells included |
The state presets address built-in agents, the same set the agent bulk actions do. They use the same rule machinery as the live rules in Saved Fleets, which is where that model is described in full.
Bulk Arming from the Sidebar
A small Zap button sits at the trailing edge of the worktree sidebar's quick state filter bar. It arms every unarmed agent terminal in the worktrees the sidebar is showing, so you can build a fleet out of whatever filter view you are already looking at: the quick state filter, the search, and the filter popover's facets (such as Has an agent) all narrow what it reaches. Its tooltip says what a click will do: Arm all 4 agents with no filters, Arm 3 matching agents with one, Arm 2 more matching agents once some are already armed, and a dimmed All matching agents are armed or No agents match the filter when there is nothing left to add.
The Arming Ribbon
The arming ribbon is the amber-tinted bar that appears across the top of the content area once the fleet has two members. A 2px amber stripe runs down its left edge, and it slides down into place (it only fades in when reduced motion is on). From left to right it holds an exit button (an X), the count chip with worktree dots, a status area, the selection menu, and an Exit button labeled with the exit chord for the current OS.
The status area in the middle shows whichever of these applies:
- The broadcast progress counter, Sending 3/6, with a thin delivery track along the ribbon's bottom edge.
- A Cancel button while a broadcast to more than five targets is in flight.
- The supervised-run status line. See Supervised Runs.
- A Message 4 agents field when every member is an agent on another host, since there is no pane here to type in.
The Count Chip
The count chip shows how many terminals are armed, an "in fleet" label, and a row of small worktree-color dots marking which worktrees the armed set spans. When the armed set spans more than one worktree the label extends to name it (3 in fleet · 2 worktrees), so the precise number is in the text and the dots stay a glance signal. The dots themselves cap at three. An exited count appears if any armed terminal is no longer running.
Click the chip to open a popover that lists every armed terminal in arm order under a Fleet terminals heading. A row is the terminal's worktree dot and title, which is itself the button that jumps to that terminal, a Primary badge on the pane your typing broadcasts from, a live agent-state badge, and a disarm X. A pane that rejected the last broadcast write carries an inline Send failed marker here, so the armed list doubles as the per-target drill-down for a partial failure. Agents on other hosts are listed too, named with their host, and can be disarmed from here.
An Add panes… button at the bottom of the popover switches the popover content to an inline picker so you can extend the fleet without leaving the chip; its confirm button reads Add 2. The Escape behavior is layered: the first press clears any search, the second returns the inline picker to list mode, and the third closes the popover.
Exiting Fleet Mode
The exit chord is Command-Escape Control-Escape Control-Escape . The ribbon's Exit button shows the chord for the current OS as a hint. A bare Esc on any ribbon-owned control (the exit button, count chip, or selection menu trigger) also exits, as long as there is no pending confirmation. The X button on the left edge of the ribbon exits immediately too, and so does a plain click on a terminal's title bar.
After exiting with the ribbon or the chord, focus returns to the last terminal that was armed, and a brief ring animation pulses around its panel so you can see where you ended up.
Fleet Deck
Fleet Deck is not a separate window. It is the main content grid switched into fleet scope: instead of showing one worktree's panels, the grid shows the armed set. It exists so you can see every terminal that is receiving keystrokes, rather than broadcasting blind to panes that live in worktrees you are not currently viewing.
You enter fleet scope deliberately, with Focus selection in the ribbon's … menu. That menu item is the only way in: typing into a primary terminal broadcasts to its peers but does not switch the grid.
In fleet scope the grid keeps 4px gaps and a 380px minimum panel width, because below that an agent TUI wraps and fragments badly. When the armed panes come from more than one worktree, each panel's title gains a prefix naming its worktree's branch (or, for the main checkout, the worktree's name), so siblings are distinguishable.
Every pane in fleet scope is input-locked, the primary included. Raw xterm keystrokes are blocked for all of them and typing happens in the hybrid input bar, which is the surface that knows about broadcasting. Maximize, minimize, and add-tab are disabled while the scope is active.
The Deck lasts as long as the fleet. Exit Fleet and the grid goes back to showing a worktree's own panels, landing on the last armed terminal as described above. There is no separate control for leaving the Deck while keeping the fleet armed.
fleetScopeMode, being at its
default of scoped. There is no Settings control for it. In its other value, legacy, Focus selection does nothing: broadcasts still reach armed terminals in other
worktrees, but the content area does not switch, so you will not see them updating.Quick Actions
Once a fleet is armed, a set of bulk action shortcuts operates on every eligible armed terminal at once. Each action reads the agent state of each target, so it only applies to terminals in a state to receive it.
| Action | Shortcut | Acts On | Confirmation |
|---|---|---|---|
| Accept | Command-Y Control-Y Control-Y | Waiting armed agents (sends y and Enter) | Never |
| Reject | Shift-Command-Y Control-Shift-Y Control-Shift-Y | Waiting armed agents (sends n and Enter) | Five or more waiting |
| Interrupt | Escape, then Escape Escape, then Escape Escape, then Escape (double-tap) | Working or waiting armed agents | Three or more targets for the modified Escape gesture; bare double-Escape interrupts immediately |
| Restart | Shift-Command-R Control-Shift-R Control-Shift-R | All live armed agents | Always (with session-loss warning) |
| Kill | Shift-Command-K Control-Shift-K Control-Shift-K | All live armed terminals, removed with no trash step | Always |
| Trash | Shift-Command-Backspace Control-Shift-Backspace Control-Shift-Backspace | All live armed terminals | Five or more targets |
Reject sits on Shift-Command-Y Control-Shift-Y Control-Shift-Y as the shifted twin of Accept, and
deliberately not on a reflexive "new" key: an action that sends n and Enter to every
armed agent must not live on a chord whose meaning flips with transient ribbon state.
Interrupt is bound as a 350ms double-tap on Esc rather than a standard chord. A chord would collide with the escape stack the rest of the app relies on for closing popovers and dialogs, so the double-tap handler runs separately to avoid that interference. The first tap still passes through untouched, so a single Escape can reach the focused terminal for menu dismissal. The bare double-Escape gesture supplies its own confirmation and interrupts immediately, including fleets of three or more. It is suppressed in ordinary editable fields, inside dialogs, and while Fleet popovers or confirmation controls own Escape. Double Command-Escape Control-Escape Control-Escape uses the normal three-target confirmation threshold.
Confirmation prompts replace the ribbon body with a single-line strip: a warning glyph, a description like Reject 6 prompts? or Restart 4 agents?, and Enter to confirm and Esc to cancel hints. Each verb names what it acts on: prompts for reject, agents for interrupt and restart, terminals for kill and trash. Restart adds a second sentence when a session is at stake: Restart 4 agents? 3 agents will lose their session. Agents that Daintree launches with a session id it assigned are resumed by that id after a restart, so they are not counted. Confirmation will not fire while focus is in a text input or an xterm surface, so an active typing session never gets a confirmation prompt stolen out from under it.
Fleet over MCP
Fleet reaches Daintree's MCP server through one read-only tool, and there is no tool that arms terminals or broadcasts to a fleet.
| Tool | Tier | What it does |
|---|---|---|
fleet.getRunStatus | Full tool set, and the external API-key surface | Read-only snapshot of the supervised broadcast run in flight. |
terminal.arm / terminal.disarm / terminal.disarmAll | None | Change the armed set. Not reachable over MCP. |
Arming is on no MCP tier, in-app or external, so no agent can reach it. The reason is specific: arming reroutes your next keystrokes to every armed terminal, so a caller that silently repoints the armed set could fan a reflexive Ctrl+C out to terminals in worktrees you are not watching. The armed set is yours to change from the UI.
fleet.getRunStatus is read-only and available to both internal and external clients.
An agent that wants to drive its own fan-out sends one prompt per terminal (the Daintree Assistant
does it in a single terminal.sendCommandMany call) and collects the replies as they
finish. See Supervised Runs and the Assistant's batch tools.
Keyboard Shortcuts
The Fleet shortcut reference:
| Action | Shortcut |
|---|---|
| Arm or disarm focused terminal (global) | Command-J Control-J Control-J |
| Arm or disarm focused pane Expanded worktree card, outside a terminal | X X X |
| Arm all eligible in current worktree | Option-Command-A Control-Alt-A Control-Alt-A |
| Accept waiting | Command-Y Control-Y Control-Y |
| Reject waiting | Shift-Command-Y Control-Shift-Y Control-Shift-Y |
| Restart all | Shift-Command-R Control-Shift-R Control-Shift-R |
| Kill all | Shift-Command-K Control-Shift-K Control-Shift-K |
| Trash all | Shift-Command-Backspace Control-Shift-Backspace Control-Shift-Backspace |
| Interrupt (350ms window) Double-tap Not rebindable | Escape, then Escape Escape, then Escape Escape, then Escape |
Exiting Fleet mode is the one Fleet shortcut missing from that table: it is Command-Escape Control-Escape Control-Escape .