Hey, thanks for the report. This looks like a known bug related to a forced re-login. Unfortunately, once it happens, the lost data usually can’t be restored.
If you have backups of these folders, you can try restoring them:
%APPDATA%\Cursor\User\globalStorage\state.vscdb
%APPDATA%\Cursor\User\workspaceStorage
To do that, close Cursor and replace the current files with the backups.
To figure out what’s triggering it in your case:
How much free disk space do you have?
Did this happen after a Cursor update?
Do you see any pattern, like after a long idle time or when working on specific projects?
For the future, I’d recommend exporting important chats from time to time (via the chat menu) and backing up the folders above.