@@ -137,7 +137,7 @@ import { useApprovalModeIndicator } from './hooks/useApprovalModeIndicator.js';
137137import { useSessionStats } from './contexts/SessionContext.js' ;
138138import { useGitBranchName } from './hooks/useGitBranchName.js' ;
139139import {
140- useInteractiveConsentRequests ,
140+ useConfirmUpdateRequests ,
141141 useExtensionUpdates ,
142142} from './hooks/useExtensionUpdates.js' ;
143143import { ShellFocusContext } from './contexts/ShellFocusContext.js' ;
@@ -315,12 +315,12 @@ export const AppContainer = (props: AppContainerProps) => {
315315 const extensionManager = config . getExtensionLoader ( ) as ExtensionManager ;
316316 // We are in the interactive CLI, update how we request consent and settings.
317317 extensionManager . setRequestConsent ( ( description ) =>
318- requestConsentInteractive ( description , addInteractiveConsentRequest ) ,
318+ requestConsentInteractive ( description , addConfirmUpdateExtensionRequest ) ,
319319 ) ;
320320 extensionManager . setRequestSetting ( ) ;
321321
322- const { addInteractiveConsentRequest , interactiveConsentRequests } =
323- useInteractiveConsentRequests ( ) ;
322+ const { addConfirmUpdateExtensionRequest , confirmUpdateExtensionRequests } =
323+ useConfirmUpdateRequests ( ) ;
324324 const {
325325 extensionsUpdateState,
326326 extensionsUpdateStateInternal,
@@ -591,7 +591,7 @@ export const AppContainer = (props: AppContainerProps) => {
591591
592592 // One-time prompt to suggest running /terminal-setup when it would help.
593593 useTerminalSetupPrompt ( {
594- addInteractiveConsentRequest ,
594+ addConfirmUpdateExtensionRequest ,
595595 addItem : historyManager . addItem ,
596596 } ) ;
597597
@@ -913,7 +913,7 @@ Logging in with Google... Restarting Gemini CLI to continue.
913913 toggleCorgiMode : ( ) => setCorgiMode ( ( prev ) => ! prev ) ,
914914 toggleDebugProfiler,
915915 dispatchExtensionStateUpdate,
916- addInteractiveConsentRequest ,
916+ addConfirmUpdateExtensionRequest ,
917917 toggleBackgroundShell : ( ) => {
918918 toggleBackgroundShellRef . current ( ) ;
919919 if ( ! isBackgroundShellVisibleRef . current ) {
@@ -942,7 +942,7 @@ Logging in with Google... Restarting Gemini CLI to continue.
942942 setCorgiMode ,
943943 dispatchExtensionStateUpdate ,
944944 openPermissionsDialog ,
945- addInteractiveConsentRequest ,
945+ addConfirmUpdateExtensionRequest ,
946946 toggleDebugProfiler ,
947947 setShortcutsHelpVisible ,
948948 stableSetText ,
@@ -2003,7 +2003,7 @@ Logging in with Google... Restarting Gemini CLI to continue.
20032003 ! ! authConsentRequest ||
20042004 ! ! permissionConfirmationRequest ||
20052005 ! ! customDialog ||
2006- interactiveConsentRequests . length > 0 ||
2006+ confirmUpdateExtensionRequests . length > 0 ||
20072007 ! ! loopDetectionConfirmationRequest ||
20082008 isThemeDialogOpen ||
20092009 isSettingsDialogOpen ||
@@ -2033,16 +2033,16 @@ Logging in with Google... Restarting Gemini CLI to continue.
20332033 [ pendingHistoryItems ] ,
20342034 ) ;
20352035
2036- const hasInteractiveConsentRequests =
2037- interactiveConsentRequests . length > 0 ;
2036+ const hasConfirmUpdateExtensionRequests =
2037+ confirmUpdateExtensionRequests . length > 0 ;
20382038 const hasLoopDetectionConfirmationRequest =
20392039 ! ! loopDetectionConfirmationRequest ;
20402040
20412041 const hasPendingActionRequired =
20422042 hasPendingToolConfirmation ||
20432043 ! ! commandConfirmationRequest ||
20442044 ! ! authConsentRequest ||
2045- hasInteractiveConsentRequests ||
2045+ hasConfirmUpdateExtensionRequests ||
20462046 hasLoopDetectionConfirmationRequest ||
20472047 ! ! proQuotaRequest ||
20482048 ! ! validationRequest ||
@@ -2073,7 +2073,7 @@ Logging in with Google... Restarting Gemini CLI to continue.
20732073 commandConfirmationRequest,
20742074 authConsentRequest,
20752075 permissionConfirmationRequest,
2076- hasInteractiveConsentRequests ,
2076+ hasConfirmUpdateExtensionRequests ,
20772077 hasLoopDetectionConfirmationRequest,
20782078 } ) ;
20792079
@@ -2201,7 +2201,7 @@ Logging in with Google... Restarting Gemini CLI to continue.
22012201 commandContext,
22022202 commandConfirmationRequest,
22032203 authConsentRequest,
2204- interactiveConsentRequests ,
2204+ confirmUpdateExtensionRequests ,
22052205 loopDetectionConfirmationRequest,
22062206 permissionConfirmationRequest,
22072207 geminiMdFileCount,
@@ -2329,7 +2329,7 @@ Logging in with Google... Restarting Gemini CLI to continue.
23292329 commandContext ,
23302330 commandConfirmationRequest ,
23312331 authConsentRequest ,
2332- interactiveConsentRequests ,
2332+ confirmUpdateExtensionRequests ,
23332333 loopDetectionConfirmationRequest ,
23342334 permissionConfirmationRequest ,
23352335 geminiMdFileCount ,
0 commit comments