copilot-cli icon indicating copy to clipboard operation
copilot-cli copied to clipboard

command to delete session

Open wsulek opened this issue 8 months ago • 2 comments

Describe the feature or problem you'd like to solve

Request for a command that allows to delete a selected session from sessions history saved on disc, as shown in /resume

Proposed solution

No response

Example prompts or workflows

No response

Additional context

No response

wsulek avatar Mar 13 '26 12:03 wsulek

Consider implementing a cleanupPeriodDays like Claude Code does to automatically delete historical sessions saved on disk: https://code.claude.com/docs/en/settings#available-settings

willmarkley avatar Apr 13 '26 20:04 willmarkley

Thanks for reporting this.

We re-tested the reported behavior and confirmed it is resolved in GitHub Copilot CLI 1.0.35.

Why we believe this issue is now obsolete: GitHub Copilot CLI 1.0.35 added session deletion through /session delete, deletion by session ID, delete-all, and x in the session picker. Version 1.0.78 continues to expose /session for session management.

I'm closing this issue as completed. If you still encounter the problem on that version or newer, please share updated reproduction steps and we can take another look.

szabta89 avatar Aug 04 '26 13:08 szabta89