fix(cli): refine 'Action Required' indicator and focus hints (#16497)

This commit is contained in:
N. Taylor Mullen
2026-01-13 06:19:53 -08:00
committed by GitHub
parent 7bbfaabffa
commit 304caa4e43
5 changed files with 184 additions and 14 deletions
+5 -2
View File
@@ -827,10 +827,13 @@ Logging in with Google... Restarting Gemini CLI to continue.
lastOutputTimeRef.current = lastOutputTime;
}, [lastOutputTime]);
const isShellAwaitingFocus = !!activePtyId && !embeddedShellFocused;
const isShellAwaitingFocus =
!!activePtyId &&
!embeddedShellFocused &&
config.isInteractiveShellEnabled();
const showShellActionRequired = useInactivityTimer(
isShellAwaitingFocus,
isShellAwaitingFocus,
lastOutputTime,
SHELL_ACTION_REQUIRED_TITLE_DELAY_MS,
);