@@ -2643,6 +2643,7 @@ function renderEvent(
26432643 surfaceProfile ?: ChatSurfaceProfile ;
26442644 assistantLabel ?: string ;
26452645 turnActive ?: boolean ;
2646+ sessionTurnActive ?: boolean ;
26462647 sessionEnded ?: boolean ;
26472648 onOpenWorkspacePath ?: ( path : string | WorkspacePathLocation ) => void ;
26482649 respondingApprovalIds ?: Set < string > ;
@@ -3687,7 +3688,7 @@ function renderEvent(
36873688 { recovery ? (
36883689 < ProviderFailureRecoveryCard
36893690 recovery = { recovery }
3690- disabled = { Boolean ( options ?. turnActive ) }
3691+ disabled = { Boolean ( options ?. sessionTurnActive ) }
36913692 onRetry = { options ?. onRetryProviderFailure
36923693 ? ( ) => options . onRetryProviderFailure ?.( event . turnId ?? null )
36933694 : undefined }
@@ -4167,6 +4168,7 @@ type EventRowProps = {
41674168 surfaceProfile ?: ChatSurfaceProfile ;
41684169 assistantLabel ?: string ;
41694170 turnActive ?: boolean ;
4171+ sessionTurnActive ?: boolean ;
41704172 sessionEnded ?: boolean ;
41714173 isLatestWorkLog ?: boolean ;
41724174 onOpenWorkspacePath ?: ( path : string | WorkspacePathLocation ) => void ;
@@ -4202,6 +4204,7 @@ const EventRow = React.memo(function EventRow({
42024204 surfaceProfile = "standard" ,
42034205 assistantLabel,
42044206 turnActive,
4207+ sessionTurnActive,
42054208 sessionEnded,
42064209 isLatestWorkLog,
42074210 onOpenWorkspacePath,
@@ -4272,6 +4275,7 @@ const EventRow = React.memo(function EventRow({
42724275 surfaceProfile,
42734276 assistantLabel,
42744277 turnActive,
4278+ sessionTurnActive,
42754279 sessionEnded,
42764280 onOpenWorkspacePath,
42774281 respondingApprovalIds,
@@ -4600,6 +4604,7 @@ function AgentChatMessageListMain({
46004604 surfaceMode = "standard" ,
46014605 surfaceProfile = "standard" ,
46024606 assistantLabel,
4607+ sessionTurnActive = false ,
46034608 onOpenWorkspacePath,
46044609 respondingApprovalIds,
46054610 pendingApprovalIds,
@@ -4626,6 +4631,7 @@ function AgentChatMessageListMain({
46264631 surfaceMode ?: ChatSurfaceMode ;
46274632 surfaceProfile ?: ChatSurfaceProfile ;
46284633 assistantLabel ?: string ;
4634+ sessionTurnActive ?: boolean ;
46294635 onOpenWorkspacePath ?: ( path : string , laneId ?: string | null ) => void ;
46304636 onInsertDraft ?: ( text : string ) => void ;
46314637 onRevealChatTerminal ?: ( terminal : { terminalId : string ; ptyId : string ; label : string } ) => void ;
@@ -5431,6 +5437,7 @@ function AgentChatMessageListMain({
54315437 surfaceProfile = { surfaceProfile }
54325438 assistantLabel = { assistantLabel }
54335439 turnActive = { rowTurnActive }
5440+ sessionTurnActive = { sessionTurnActive }
54345441 sessionEnded = { sessionEnded }
54355442 isLatestWorkLog = { isLatestWorkLog }
54365443 onOpenWorkspacePath = { openWorkspacePath }
@@ -5469,6 +5476,7 @@ function AgentChatMessageListMain({
54695476 surfaceProfile = { surfaceProfile }
54705477 assistantLabel = { assistantLabel }
54715478 turnActive = { rowTurnActive }
5479+ sessionTurnActive = { sessionTurnActive }
54725480 sessionEnded = { sessionEnded }
54735481 isLatestWorkLog = { isLatestWorkLog }
54745482 onOpenWorkspacePath = { openWorkspacePath }
@@ -5490,7 +5498,7 @@ function AgentChatMessageListMain({
54905498 assistantTurnCopy = { assistantTurnCopy }
54915499 />
54925500 ) ;
5493- } , [ activeTurnId , anchoredRowKey , assistantLabel , assistantTurnCopyByRowKey , surfaceMode , surfaceProfile , groupedRows , latestWorkLogIndex , turnModelState , handleApproval , handleMeasure , openWorkspacePath , handleNavigateSuggestion , handleReviewChanges , onCodexRecovery , onRetryProviderFailure , onChooseProviderFailureModel , onInsertDraft , onRevealChatTerminal , onRewindFiles , turnDiffSummaries , respondingApprovalIds , pendingApprovalIds , resolvedInputStates , laneId , sessionId , sessionEnded , runtimeName , mosaic , scrollToRowKey ] ) ;
5501+ } , [ activeTurnId , anchoredRowKey , assistantLabel , assistantTurnCopyByRowKey , surfaceMode , surfaceProfile , groupedRows , latestWorkLogIndex , turnModelState , handleApproval , handleMeasure , openWorkspacePath , handleNavigateSuggestion , handleReviewChanges , onCodexRecovery , onRetryProviderFailure , onChooseProviderFailureModel , onInsertDraft , onRevealChatTerminal , onRewindFiles , turnDiffSummaries , respondingApprovalIds , pendingApprovalIds , resolvedInputStates , laneId , sessionId , sessionTurnActive , sessionEnded , runtimeName , mosaic , scrollToRowKey ] ) ;
54945502
54955503 // Compute the bottom spacer height for virtualized mode.
54965504 const bottomSpacerHeight = useMemo ( ( ) => {
0 commit comments