All chat history dissapears after remote use

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

After installing and using the official Remote - SSH plugin for the first time, all of my chat history dissapeared

Steps to Reproduce

Install the Remote - SSH extension
Use it for the first time to establish a remote connection
Close the remote connection
Go back to normal work and discover that all agent history has completely vanished

Operating System

Windows 10/11

Version Information

Version: 3.0.12 (user setup)
VSCode Version: 1.105.1
Commit: a80ff7dfcaa45d7750f6e30be457261379c29b00
Date: 2026-04-04T00:13:18.452Z

Additional Information

I checked the state.vscdb.backup file in globalStorage in Cursor’s AppData, and it’s been totally rewritten too. To my knowledge, there is no way to restore the dozens of lost chats. CURSOR WAS UPDATED YESTERDAY – maybe that’s when the chats all dissapeared and I didn’t pay attention this morning because the first thing I did was try the ssh thing.

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report.

Based on your description, this looks more like a Cursor update issue than Remote - SSH. This is a known problem. During updates, the chat history index can get overwritten (composer.composerHeaders in state.vscdb), and then the UI stops showing chats. The chat data itself often still stays in the database.

Since state.vscdb.backup has already been overwritten, try checking things manually:

  1. Open state.vscdb with DB Browser for SQLite https://sqlitebrowser.org/. The file is in %APPDATA%\Cursor\User\globalStorage\state.vscdb.
  2. Check the cursorDiskKV table and look for keys like composerData:*. If those rows exist, your chat data is still there, and only the index is missing.
  3. Also check workspaceStorage in %APPDATA%\Cursor\User\workspaceStorage\. Each subfolder matches a project.
  4. Check agent-transcripts in %USERPROFILE%\.cursor\projects\<project_name>\agent-transcripts.

Here’s a thread where a user hit the same issue and was able to recover data by rebuilding the index from cursorDiskKV: Agent History Wiped.

The team is aware of this issue, and your report helps with prioritization. For the future, I’d recommend installing the SpecStory extension to automatically back up chats.

Let me know if you can find the data in the database.