Cursor - Optimized chat list data

Hey, thanks for the feature request. You can fix part of this right now:

  1. Stale directories that no longer exist: in the Agents Window, right-click the group header workspace or repo, then pick Remove from Sidebar. This clears stuck groups without touching the database.
  2. Bulk delete old chats: open the Command Palette with Cmd+Shift+P or Ctrl+Shift+P, then run Delete Old Chats. It deletes a batch based on age.

Multi-select or per-chat Delete right in the Agents Window list is not there yet. It only has Archive right now. It is a common request and it is on the radar, but I can’t share an exact timeline. Related threads where you can upvote: Allow single click deleting chats from chat history panel and Agent Side Bar and Restore Delete option alongside Archive in chat history.

About the script, be careful with direct edits to state.vscdb. If a deletion goes wrong, the space in the DB might not be fully freed, so it is best to make a backup first. Let me know if the built-in options helped.