@@ -1354,6 +1354,7 @@ const ComposerFooterPrimaryActions = memo(function ComposerFooterPrimaryActions(
13541354 isRunning : boolean ;
13551355 canInterrupt : boolean ;
13561356 followUpBehavior : "queue" | "steer" ;
1357+ canSteer : boolean ;
13571358 alternateShortcutLabel : string | null ;
13581359 showPlanFollowUpPrompt : boolean ;
13591360 promptHasText : boolean ;
@@ -1397,6 +1398,7 @@ const ComposerFooterPrimaryActions = memo(function ComposerFooterPrimaryActions(
13971398 isRunning = { props . isRunning }
13981399 canInterrupt = { props . canInterrupt }
13991400 followUpBehavior = { props . followUpBehavior }
1401+ canSteer = { props . canSteer }
14001402 alternateShortcutLabel = { props . alternateShortcutLabel }
14011403 showPlanFollowUpPrompt = { props . showPlanFollowUpPrompt }
14021404 promptHasText = { props . promptHasText }
@@ -1516,6 +1518,7 @@ export interface ChatComposerProps {
15161518 isRevertingCheckpoint ?: boolean ;
15171519 sendDisabledReason : string | null ;
15181520 isPreparingWorktree : boolean ;
1521+ isCompacting : boolean ;
15191522 bannerItems : readonly ComposerBannerStackItem [ ] ;
15201523 resumeCompactionTokens : number | null ;
15211524 keepFullHistory : boolean ;
@@ -1676,6 +1679,7 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
16761679 isRevertingCheckpoint = false ,
16771680 sendDisabledReason : externalSendDisabledReason ,
16781681 isPreparingWorktree,
1682+ isCompacting,
16791683 environmentUnavailable,
16801684 activePendingApproval : incomingPendingApproval ,
16811685 pendingApprovals,
@@ -4023,6 +4027,7 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
40234027 running : phase === "running" ,
40244028 alternateModifier : false ,
40254029 activeTurnDefault : settings . followUpBehavior ,
4030+ canSteer : ! isCompacting ,
40264031 } ) ,
40274032 submissionIntent ,
40284033 ) ;
@@ -4045,6 +4050,7 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
40454050 running : phase === "running" ,
40464051 alternateModifier : event . metaKey || event . ctrlKey ,
40474052 activeTurnDefault : settings . followUpBehavior ,
4053+ canSteer : ! isCompacting ,
40484054 } ) ,
40494055 ) ;
40504056 } ;
@@ -4056,6 +4062,7 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
40564062 running : phase === "running" ,
40574063 alternateModifier : false ,
40584064 activeTurnDefault : settings . followUpBehavior ,
4065+ canSteer : ! isCompacting ,
40594066 } ) ,
40604067 ) ;
40614068 } ;
@@ -4216,6 +4223,7 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
42164223 running : phase === "running" ,
42174224 alternateModifier : submissionIntent === "alternate" ,
42184225 activeTurnDefault : settings . followUpBehavior ,
4226+ canSteer : ! isCompacting ,
42194227 } ) ,
42204228 submissionIntent ,
42214229 ) ;
@@ -7282,6 +7290,7 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
72827290 isRunning = { phase === "running" }
72837291 canInterrupt = { canInterrupt }
72847292 followUpBehavior = { settings . followUpBehavior }
7293+ canSteer = { ! isCompacting }
72857294 alternateShortcutLabel = { shortcutLabelForCommand (
72867295 keybindings ,
72877296 "composer.sendAlternate" ,
0 commit comments