Problem
The Recents list in the Claude desktop app (Code mode) sidebar accumulates indefinitely. There is no UI control to clear stale sessions in bulk, hide the Recents section, filter by age, or delete individual items via right-click / hover. Today my Recents list has 768 sessions in a single project and the only way to prune it is to manually rm session .jsonl files under ~/.claude/projects/<slug>/ and relaunch the app.
Requested
- "Clear all" or "Clear sessions older than [7d / 30d / custom]" action in the Recents section header
- Per-item delete via right-click context menu or hover affordance on each Recents row
- Optional: pin protection (don't delete pinned sessions), archive vs. hard delete, and a sidebar toggle to hide the Recents section entirely
Current workaround
find ~/.claude/projects/<slug> -maxdepth 1 -name "*.jsonl" -mtime +0 -delete
find ~/.claude/projects/<slug> -mindepth 1 -maxdepth 1 -type d \
-name "????????-????-????-????-????????????" -mtime +0 -exec rm -rf {} +
Then Cmd+Q and relaunch. This works but bypasses the UI, is destructive, and is not discoverable for non-CLI users.
Problem
The Recents list in the Claude desktop app (Code mode) sidebar accumulates indefinitely. There is no UI control to clear stale sessions in bulk, hide the Recents section, filter by age, or delete individual items via right-click / hover. Today my Recents list has 768 sessions in a single project and the only way to prune it is to manually
rmsession.jsonlfiles under~/.claude/projects/<slug>/and relaunch the app.Requested
Current workaround
Then Cmd+Q and relaunch. This works but bypasses the UI, is destructive, and is not discoverable for non-CLI users.