Hey,
I updated my Cursor version to the latest, the next time I’ve opened the IDE both my workspace and Chat history were gone.
How can I recover them?
Hi @asafbe Thanks for the post and sorry for the surprise here. Your chats are stored only on your Mac, in a database file inside Cursor’s data folder, and updates don’t remove that folder, so there is a good chance the data is still there. Two quick checks will tell us which case this is.
First: are you still logged in to your Cursor account, and if you press Cmd+Shift+P and run “Open Agents Window”, do your old chats show up there? If they do, nothing is lost. The editor sidebar keeps history per workspace, so open the exact same project folder you used before (same path, opened the same way) and the sidebar list should come back.
If you were logged out and the Agents Window is empty too, please do this:
Fully quit Cursor (Cursor menu > Quit Cursor).
In Finder press Cmd+Shift+G and open ~/Library/Application Support/Cursor/User/globalStorage/
Look for files named state.vscdb, state.vscdb.backup, or state.vscdb.corrupted., and note each file’s size (right-click > Get Info).
Reply here with that list of files and sizes. Please don’t delete or rename anything yet.
If there is a state.vscdb.corrupted. file that is much larger than the current state.vscdb, that is your original history, just renamed, and I’ll walk you through restoring it. If you use Time Machine, the same folder from before the update is another way back. It would also help to know roughly which version you were on before, and whether this was the in-app update or a fresh download.