When I use it, I find that there are too many directories and too much data in the chat boxes, and there is still a lot. I often delete them.
However, I discovered that some of the no-longer-existing directories still exist in the list of the agent window.
Then, it doesn’t support the function of selecting and deleting. [So frustrating!]
Then I created a deletion script:
The script will delete all chat data. Use it carefully. There are also parameters for specific execution.
Hey, thanks for the feature request. You can fix part of this right now:
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.
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.
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.