Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(claude): steer interrupts the running turn instead of queueing behind it #12541

Closednekohasekai(GitHub profile, opens in a new tab)wants to merge 2 commits intomain fromrefs/pull/12541/headopened View on GitHub

For Claude, Steer was indistinguishable from Queue: the message reached the CLI's stdin at once, but Claude only folds a queued user message into a running turn between tool rounds, so behind a long tool call or a subagent it sat there arbitrarily long. Stop was the only affordance that landed, and for Claude it closes the session and takes its commands and subagents with it.

This brings the arrow in line with Codex, where sending mid-turn interrupts rather than queues behind the current work.

ProviderSendTurnInput gains interruptActiveTurn. The Claude adapter aborts the running turn before opening a new one for the message, waiting on the turn's terminal result rather than the interrupt acknowledgement, which returns while tools are still unwinding; a CLI that refuses degrades to the previous steer. It is wired to the Follow-up behaviour setting, the per-message modifier, and the arrow on a queued row. Queue is unchanged, and Stop stays a hard session boundary, so nativeInterruptAndSend keeps Claude off ProviderService's generic interrupt-then-send, which is only safe where interruptTurn leaves the session alive.

Claude Sonnet 5 running ping -c 40 through Bash, arrow clicked mid-tool: the correction was answered after 35.2s before and 2.1s after, and the turn went from 51s to 15s.

before and after

Prepared with Claude Opus 5 in T3 Code.

Summary by CodeRabbit

  • New Features
    • Added support for interrupting an active response when sending a new message.
    • Steer actions can now stop the current turn and begin processing the new message immediately.
    • Improved provider handling with native interruption support and fallback behavior where available.
    1. github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:unvouched

    2. Review Change StackReview Change Stack
      ✨ Finishing Touches
      🧪 Generate unit tests (beta)
      • Create a new PR

      Comment `@coderabbitai help` to get the list of available commands.
    3. we're not making core orchestrator fixes on main right now awaiting v2. if it's still a bug when v2 lands feel free to re-file

    4. juliusmarminge closed this

Sign in to join this conversation.