-
Notifications
You must be signed in to change notification settings - Fork 211
[FEAT] Add native session delete to permanently remove sessions #139
Description
Is your feature request related to a problem? Please describe.
The session list in claude --resume and the dev tools UI grows over time with no way to permanently clean it up. While the dev tools UI has a "hide" feature, it only suppresses sessions within that tool — hidden sessions still appear when running claude --resume from the terminal. There's no way to truly remove a session across all surfaces.
Describe the solution you'd like
A native delete command — such as /delete — that permanently removes the session files from disk, eliminating the session from both claude --resume and the dev tools UI entirely.
Describe alternatives you've considered
The existing "hide" feature in the dev tools UI was the closest alternative, but it falls short for two reasons:
- It does not delete the underlying files — data remains on disk
- It is scoped to the dev tools UI only — hidden sessions still show up in
claude --resume
Manually locating and deleting session files from the filesystem works, but is cumbersome and error-prone without knowing the exact file paths.
Additional context
The community tool https://github.com/ataleckij/claude-chats-delete demonstrates that this is achievable and that there is clear user demand for it. Integrating something similar natively would make session management complete — users could create, rename, and delete sessions all from within the same toolchain.