Hey, thanks for the feature request. This is a known and frequently requested thing. Chat history is stored locally and tied to the workspace path, so when you rename or move the folder, Cursor treats it as a new workspace and the old chats disappear from the sidebar. The data is still on disk. The request to preserve or migrate history on rename or move is already logged, but I can’t share an ETA yet.
About the screenshot. Your chat is right that manually merging SQLite databases is risky. It’s easy to damage the store and end up with an empty or corrupted chat list. I wouldn’t recommend that.
Safe workaround. If you change the folder back to the original name and path it had when the chats were created, the old chats should show up in the sidebar again, since workspace identity is based on the path. Renaming back is reversible, unlike editing the DB by hand.
Related threads where you can add a vote or details to help raise priority:
- Preserve / migrate Agent chat history when renaming or moving the project folder
- How can you safely rename a project root folder without losing chat history?
Let me know if restoring the original path doesn’t work in your case.