mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-18 10:01:29 -07:00
feat(sessions): add /resume slash command to open the session browser (#13621)
This commit is contained in:
@@ -52,6 +52,7 @@ interface SlashCommandProcessorActions {
|
||||
openEditorDialog: () => void;
|
||||
openPrivacyNotice: () => void;
|
||||
openSettingsDialog: () => void;
|
||||
openSessionBrowser: () => void;
|
||||
openModelDialog: () => void;
|
||||
openPermissionsDialog: (props?: { targetDirectory?: string }) => void;
|
||||
quit: (messages: HistoryItem[]) => void;
|
||||
@@ -410,6 +411,9 @@ export const useSlashCommandProcessor = (
|
||||
case 'privacy':
|
||||
actions.openPrivacyNotice();
|
||||
return { type: 'handled' };
|
||||
case 'sessionBrowser':
|
||||
actions.openSessionBrowser();
|
||||
return { type: 'handled' };
|
||||
case 'settings':
|
||||
actions.openSettingsDialog();
|
||||
return { type: 'handled' };
|
||||
|
||||
Reference in New Issue
Block a user