Skip to content

Commit 51530e0

Browse files
committed
Drop pendingDryOpenDrive leftover from occupancy hold
1 parent d41068b commit 51530e0

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

‎src/tui/runtime-bridge.ts‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1012,9 +1012,8 @@ function drainLiveSteersAtBoundary(shell: AppShell, bag: BridgeBag): void {
10121012
}
10131013
}
10141014

1015-
function occupancyHold(bag: BridgeBag, runBusy: boolean): boolean {
1016-
if (bag.liveFleet > 0 || bag.awaitingContinuationInference) return true;
1017-
return runBusy && bag.pendingDryOpenDrive;
1015+
function occupancyHold(bag: BridgeBag): boolean {
1016+
return bag.liveFleet > 0 || bag.awaitingContinuationInference;
10181017
}
10191018

10201019
/**
@@ -1293,7 +1292,7 @@ export function attachSessionBridge(
12931292
currentToolName: turn.currentToolName,
12941293
streamingType: turn.streamingType,
12951294
nowMs,
1296-
sessionActive: occupancyHold(bag, shell.session.run === "busy"),
1295+
sessionActive: occupancyHold(bag),
12971296
};
12981297
const fleet = fleetProgress(bag.agentSessions, nowMs);
12991298
const label = resolveTurnLabel(input, isStalled, fleet);

0 commit comments

Comments
 (0)