# Ai chat Recovering

**URL:** <https://forum.cursor.com/t/ai-chat-recovering/149669>\
**Category:** Bug Reports\
**Tags:** windows, chat\
**Created:** [January 23, 2026, 5:19am UTC](https://forum.cursor.com/t/ai-chat-recovering/149669 "2026-01-23T05:19:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![user1470](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/user1470/32/91090_2.png) [@user1470](https://forum.cursor.com/u/user1470)\
**Post date:** [January 23, 2026, 5:19am UTC](https://forum.cursor.com/t/ai-chat-recovering/149669/1 "2026-01-23T05:19:44Z")

</div>

### Where does the bug appear (feature/product)?

Cursor IDE

### Describe the Bug

English (Support request to Cursor team)  
Subject: Request for help recovering AI conversation history for workspace after fixing project open failure  
Hello Cursor team,  
I am writing to ask for help recovering AI conversation history for a specific workspace.  
What happened  
The project at C:\lucido\lucidoDevel\gaspi\gaspi2024\_www suddenly stopped opening in Cursor (it still opened in VS Code). The developer tools showed errors such as illegalState - setting UNKNOWN service instance, Assertion Failed: Argument is undefined or null, and No Connect transport provider registered.  
Through troubleshooting, we identified that the problem was related to workspace storage for that path, in particular the state.vscdb file under  
C:\Users\user\AppData\Roaming\Cursor\User\workspaceStorage\83b052bcb8d51f54478039d55b83af68.  
When that state.vscdb (or the whole workspace storage folder) was removed or replaced, the project at C:\lucido\lucidoDevel\gaspi\gaspi2024\_www started opening again in Cursor.  
However, all AI conversation history for that workspace is now gone. We understand that this history was stored in state.vscdb (and possibly related files in the same workspace storage folder).  
What we are asking  
We have backups of the original state.vscdb and the 83b052bcb8d51f54478039d55b83af68 workspace storage folder from before the fix.  
We would like to recover the AI conversation history that was associated with C:\lucido\lucidoDevel\gaspi\gaspi2024\_www.  
Could you please advise:  
How we can restore or extract the AI chat/composer history from the backed‑up state.vscdb (or from the backed‑up workspace storage folder) and have it show up again in Cursor for that workspace?  
Whether Cursor provides any official tool or documented procedure for importing/restoring workspace-specific AI conversation history from such backups?  
The exact storage format used for AI conversations in state.vscdb (e.g. schema, key names, structure), so we can attempt a custom export/import if no official method exists?  
We would like to recover the past AI discussions for this project without breaking the current ability to open the workspace. Any guidance or tools you can provide would be greatly appreciated.  
Thank you for your help.

### Steps to Reproduce

At keyboardshortcut, I setting composer.openComposer to ctrl+shift+L  
and i do ctrl+shift+L  
and suddenly the project was loading..  
and close and open the project.  
but it doesn’t open..

### Screenshots / Screen Recordings

cursor ai chat history

[cursor\_ide.txt](https://forum.cursor.com/uploads/short-url/w7ikVoz2umAIB5Z9Kp5m6CxVFCJ.txt) (27.6 KB)

[cursor\_cursor2.txt](https://forum.cursor.com/uploads/short-url/aFnFa0fdKXt207sk9vx5MnqjpC3.txt) (13.3 KB)

### Operating System

Windows 10/11

### Version Information

Version: 2.4.21 (user setup)  
VSCode Version: 1.105.1  
Commit: dc8361355d709f306d5159635a677a571b277bc0  
Date: 2026-01-22T16:57:59.675Z  
Build Type: Stable  
Release Track: Default  
Electron: 39.2.7  
Chromium: 142.0.7444.235  
Node.js: 22.21.1  
V8: 14.2.231.21-electron.0  
OS: Windows\_NT x64 10.0.26200

### Does this stop you from using Cursor

No - Cursor works, but with this issue

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [January 23, 2026, 6:15am UTC](https://forum.cursor.com/t/ai-chat-recovering/149669/3 "2026-01-23T06:15:54Z")

</div>

Hey! Your chat history isn’t deleted. It’s saved in the `state.vscdb` file you backed up.

Here’s a detailed restore guide: [Chat stuck on “Loading Chat” — cannot access previous conversation - #16 by Danivisit](https://forum.cursor.com/t/chat-stuck-on-loading-chat-cannot-access-previous-conversation/141913/16)

Quick steps:

1. Check your backup folder. Open the saved folder `83b052bcb8d51f54478039d55b83af68` and look for `state.vscdb` inside.

2. Extract from `state.vscdb`:

3. Continue the conversation. If you extract a `.md` file or JSON with the chat content:

Sadly, there’s no official import tool yet. The schema has internal dependencies like `tabId` and `workspaceId`, so direct injection is hard. Even if you copy the data into a new `state.vscdb`, mismatched IDs can stop it from loading.

For the future, consider using [SpecStory](https://specstory.com/) to auto-back up chats, or use the built-in Export Chat option (the three dots menu) for important conversations.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [February 14, 2026, 6:16am UTC](https://forum.cursor.com/t/ai-chat-recovering/149669/4 "2026-02-14T06:16:03Z")

</div>

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.
