Problem
docs/user/composer.md says Cmd+Enter (Ctrl+Enter) "uses the opposite action: it steers when your default is Queue". Editing a queued message breaks that. With Follow-up behavior set to Queue, click a queued message's pencil, change the text, and press Cmd+Enter or Cmd-click the submit button. The edit is saved, but the message stays queued and waits for the turn to end. The user asked to steer and got no steer and no message saying why. A second click on the row's Send now is needed.
Root cause: while a queued message is being edited, onSend in useComposerSend.ts sends every submit to queuedRunEdit.saveEdit and drops the dispatch mode, so the steer that Cmd+Enter resolved to never reaches the queue.
Change
useComposerSend passes the submit's dispatchMode and submissionIntent to saveEdit.
- After a successful save,
useQueuedRunEdit.saveEdit steers the edited run into the active turn only when the opposite-action shortcut or modifier-click asked for steer. It uses the same queued-message.promote-to-steer command and the same eligibility as the row's Send now (an active run, a provider that can steer, the fresh-context rule). If the turn can't take a steer, the message stays queued, as before.
ChatComposer.handleSubmitMessage marks a Cmd/Ctrl-click as the alternate submission while a turn runs, matching the keyboard path. For normal sends this changes nothing: only "background" and "foreground" are checked anywhere else.
Plain Enter and a plain click on Update queued message still only save the edit in place, so users whose default is Steer see no change. A save that fails, or that a newer edit overtakes, does not steer.
Scope
Fixes #ISSUE
Web and desktop. Mobile has no opposite-action shortcut while editing a queued message, so it is unchanged.
Verification
useQueuedRunEdit.browser.test.tsx has a new table. A save from alternate/steer promotes the edited run into the running turn after editQueuedRun succeeds. foreground/steer (Enter or Update with Steer as the default) and alternate/queue do not promote. The steering row fails with useQueuedRunEdit.ts from main and passes with the fix.
vp run check:changed passes: format, lint, knip, typecheck, tests, react compiler.
- Checked in the real web client against an isolated dev server. Claude Haiku 5.5 ran a 75 s foreground command with Follow-up behavior = Queue. I queued "Original follow-up", edited it, then submitted:
| Editing the queued message |
Before: Cmd+Enter |
After: Cmd+Enter |
After: Cmd-click |
 |
 |
 |
 |
- Control on the fix: plain Enter while editing keeps the message queued with the new text.
- Not checked: the desktop app shell (it runs the same web code) and Codex. The change uses the provider-agnostic promote command that the row's Send now already uses.
Claude Opus 5.5 in Claude Code (T3 Code)
🤖 Generated with Claude Code