i created a folder. claude 4 created same folder inside main folder and implement the code inside child folder. I deleted main folder to remove duplication but now cursor chat history was deleted. Why cant i see the history? Are agent chat history connected to the folder? If so, this is so stupid. Why is a chat history related to a folder then?
Because you deleted the file named.code-workspace
Deleting the *.code-workspace will delete the chat history.
Hey, yes, if you delete a folder or workspace, your chat history is lost. However, you can try to restore the deleted folder to the same location on your disk. Just recreate it and open it, and your history should be there again.