I lose all my chats on most updates. I’ve just gotten use to the idea that they are ephemeral on cursor.
Makes me wish that copying the chat markdown worked better so I could manually preserve some chats.
And irrespective of all this, not clear why they are resisting all the requests for properly and easily preserving our chats? Some sort of minor lock-in?
I am much more interested in the settings. I had changed several settings, even extensions.
I was wondering if using TimeMachine and doing a restore before the folder update could solve it.
COPY and PASTE this instruction message and give to your Cursor agent to help you recover lost chat history:
"Please help me recover lost chat history from Cursor’s workspace storage. This is a two-step process:
First, create a Python script called export_chats.py that can search through SQLite databases in the workspace storage directory (on Mac: ~/Library/Application Support/Cursor/User/workspaceStorage, each containing a state.vscdb file). The script should search through chat data for specific time periods and keywords related to the lost content.
Then, create a Node.js script called clean_history.js that processes the exported chat history. This script should:
Filter conversations based on project-specific keywords
Clean up markdown formatting
Remove irrelevant content
Output cleaned history files for each team
We’ll need to make multiple search passes with export_chats.py, refining the parameters each time to filter out noise and focus on relevant conversations. Once we have the raw chat data, we’ll use clean_history.js to organize and clean it. When we find matching content, help me reconstruct the code and implementation details from the chat fragments. Please guide me through this process step by step, starting with creating both scripts and then helping me search effectively by suggesting relevant search terms and filtering strategies based on what I’m trying to recover. Remember that chat history might contain code snippets, implementation discussions, and debugging sessions that can help piece together the lost work."
Youre good to go -
I hope you get your code back, EASY !