-
Notifications
You must be signed in to change notification settings - Fork 13.6k
[Feat] Add a command to delete current session upon exit #18871
Copy link
Copy link
Labels
area/coreIssues related to User Interface, OS Support, Core FunctionalityIssues related to User Interface, OS Support, Core Functionalityarea/securityIssues related to securityIssues related to securityhelp wantedWe will accept PRs from all issues marked as "help wanted". Thanks for your support!We will accept PRs from all issues marked as "help wanted". Thanks for your support!priority/p3Backlog - a good idea but not currently a priority.Backlog - a good idea but not currently a priority.
Metadata
Metadata
Assignees
Labels
area/coreIssues related to User Interface, OS Support, Core FunctionalityIssues related to User Interface, OS Support, Core Functionalityarea/securityIssues related to securityIssues related to securityhelp wantedWe will accept PRs from all issues marked as "help wanted". Thanks for your support!We will accept PRs from all issues marked as "help wanted". Thanks for your support!priority/p3Backlog - a good idea but not currently a priority.Backlog - a good idea but not currently a priority.
Type
Fields
Give feedbackNo fields configured for Feature.
What would you like to be added?
I would like to suggest a new command, for example
/exit-deleteor an option for the/exitcommand, that allows users to exit the CLI and simultaneously delete the current session's history and temporary files.Why is this needed?
For users who value privacy or only want to perform a one-off task without leaving any traces in the
~/.gemini/tmp/directory, the current workflow requires manually identifying and deleting the session or configuring strict retention policies. A simple command to "exit and wipe" would provide a much smoother experience for these scenarios.Additional context
This would complement the existing
/chat deletecommand by automating the process at the end of a workflow.