Don't accept input until slash commands are loaded (#11162)

This commit is contained in:
Tommaso Sciortino
2025-10-14 18:15:57 -07:00
committed by GitHub
parent a2f3339a0e
commit dabe161a6f
6 changed files with 23 additions and 16 deletions

View File

@@ -56,7 +56,7 @@ export interface UIState {
isSettingsDialogOpen: boolean;
isModelDialogOpen: boolean;
isPermissionsDialogOpen: boolean;
slashCommands: readonly SlashCommand[];
slashCommands: readonly SlashCommand[] | undefined;
pendingSlashCommandHistoryItems: HistoryItemWithoutId[];
commandContext: CommandContext;
shellConfirmationRequest: ShellConfirmationRequest | null;