Repository navigation
Queue by default in the desktop chat; Ctrl+Enter steers with the queue - #530
Merged
Merged
Conversation
Enter while the agent works queues the message again ([chat] follow_up defaults to queue), and the composer shows it above the box at once, under a line that says it goes when the turn ends. Ctrl+Enter steers: the draft goes into the running turn with every queued message ahead of it, in order, as one message, and the queue empties. On an empty box it steers the queue alone; idle, it sends with the queue first. A queued slash or ! command keeps its place. follow_up = "steer" swaps the keys. The join happens in the daemon in one ChatSend (new Join field, level 99), so a pane queue that starts typing a row on its own cannot split it, and a refused steer puts the rows back. An agent that takes nothing mid-turn now queues on Ctrl+Enter with a note instead of stopping its turn. The placeholder, the button's tooltip and the queue line name the keys.
quanticstudios
force-pushed
the
queue-steer-keys
branch
from
November 22, 2026 21:52
4c62b10 to
eed43bd
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The desktop chat queues by default again, and Ctrl+Enter steers with the queue. Enter while the agent works puts the message above the box at once, under a line that says it goes when the turn ends, so it never looks swallowed. Ctrl+Enter (Cmd+Enter on macOS) sends the draft into the running turn with every queued message ahead of it, in order, as one steer, and the queue empties.
What Ctrl+Enter did before
With the default
follow_up = "steer"(from #512), Enter steered the draft alone into the running turn and Ctrl+Enter queued it above the box. Ctrl+Enter on an empty box did nothing. Ctrl+Shift+Enter sent the oldest queued message into the turn. For an agent that takes nothing mid-turn (a New task Antigravity chat over ACP), Ctrl+Enter stopped the turn and sent the message first.Keys now
follow_up = "queue")follow_up = "steer"send_key = "ctrl+enter"the steer key is Ctrl+Shift+Enter, and it steers the queue on an empty box too. In steer mode Ctrl+Shift+Enter on an empty box still sends the oldest queued message.!command keeps its place and is never joined. A command typed in the box steers alone, without the queue.How each agent takes a steer
How, so they already queue mid-turn and needed no change.Changes
ChatSend.Join, Level 99 (JoinLevel). Version stays 18. An older GUI never sets it. With an older daemon the GUI steers the draft alone and leaves the queue in place.chatJoin(New task chats) andpaneSendwithJoin(pane chats) take the joinable rows out of the queue, join them with the draft through the same code the turn-end join uses (joinMessages: image tokens and pasted-text numbers renumbered, attachments kept unique), and send one steer. If the send fails, the rows go back as they were. Idle, the join starts a turn at once, even over a failed or held queue. It never starts one while a question or approval is pending. The join happens in one message, not a queue plus a steer, so a pane queue that starts typing a row on its own can't split it.[chat] follow_updefaults toqueue; an unknown value falls back to queue. An explicit"steer"keeps the swapped keys. The Settings picker (Queue | Steer) stays, with new text.submitandsteerQueuepick the key paths.queuedNowshows a queued message in the strip before the chat lists it, with no actions, until it appears or 5 s pass.takeQueuehides the joined rows at once and brings them back if the daemon refuses.followUpno longer stops a turn on Ctrl+Enter for an agent that can't steer.docs/chat.md,docs/keys.md,docs/config.md, README, CHANGELOG.Untouched and still tested: the slash menu (Enter picks a row), question cards (Enter answers), Shift+Enter newline, image paste, edit-and-resend (Alt+Up), and the queue's Send now, Edit, Move, Send separately, Remove.
Screenshots
Rendered headless (
PITWALL_QUEUE_SHOTS=dir go test ./internal/ui/chatin -run TestJoinSteerShots).A message Enter just queued, shown before the chat lists it:
follow_up = "steer":An agent that takes nothing mid-turn, after Ctrl+Enter:
Working, nothing queued:
Tests
internal/ui/chatin/joinsteer_test.go: each key path in queue mode, steer mode and withsend_key = "ctrl+enter". Covers the instant queued row, the join hiding rows and a refusal restoring them, the empty-box steer, a command steering alone, idle sends, an agent that can't steer, an old daemon, and the placeholder, hint and tooltip text.internal/daemon/joinsteer_test.go: the New task join (order, image renumbering, commands, skills and sending rows kept; an empty draft; refused and unsupported steers), the idle join over a failed turn, and a pane join on Antigravity that types the rows then the draft with one Alt+M, the command left queued. AlsojoinRows,chatJoinableandchatUnjoin.internal/config/chat_test.go: the queue default, explicit steer, and the fallback.gofmt,go vet ./...andgo test ./...pass. Under load,TestFleetRespawnKeepsGuard,TestGuardGateExtensionsandTestBinaryHooktimed out once in a full run, then passed alone and in a rerun of their packages.Not run: real Claude Code, Codex or agy against a temp daemon. Steering reuses the existing steer letter and driver paths; only the joined text is new.
🤖 Generated with Claude Code