[BUG] Conversation history not persisting - only shows current warmup message instead of original content
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Bug Description
When reopening a previous conversation from the history, the conversation window shows only the assistant's current "Warmup" message instead of displaying the original conversation content.
Steps to Reproduce
- Have a conversation with Claude Code in VS Code
- Close VS Code or start a new conversation
- Reopen VS Code
- Click on a previous conversation from the history sidebar
- Observe that the conversation shows only the current session's warmup message
Expected Behavior
When clicking on a previous conversation in the history, I should see all the original messages exchanged in that conversation (both user messages and assistant responses).
Actual Behavior
The conversation title is preserved (e.g., "Όδόντι Τι θέλω"), but the content shows only the assistant's current "Warmup" message instead of the original conversation content. The historical conversation data appears to be lost.
Troubleshooting Steps Already Attempted
- ✅ Reset the extension
- ✅ Uninstall and reinstall Claude Code extension
- ❌ Issue persists after all attempts
Comparison with Other AI Extensions
Other AI coding assistants (Gemini, Codex GPT, GitHub Copilot) properly persist conversation history without issues in the same VS Code environment, suggesting this is specific to Claude Code.
Screenshot
[Attach the screenshot you showed me]
Environment
- VS Code Version: [1.105.1]
- Claude Code Extension Version: [2.0.22]
- OS: Windows (Edition Windows 10 Pro Version 22H2 Installed on 2/8/2024 OS Build 19045.6456)
Impact
This makes it impossible to reference or continue previous conversations, losing important context and work history.
What Should Happen?
Like every other extension i am using like Gemini, Codex-GPT ... , to be able to see and work on my previous chats.
Error Messages/Logs
Steps to Reproduce
<img width="585" height="366" alt="Image" src="https://github.com/user-attachments/assets/0a093526-ebce-47b4-8495-4e6dceb14730" />
Claude Model
Sonnet (default)
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
2.0.22
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
10 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
Not sure where the bug is coming from, but I'm guessing the CLI is sensitive about the structure of jsonl file/specific messages.
You can load the
.jsonlfile corresponding to the session you're trying to resume, remove the last few messages and save it back as that file, and then resume will work again! This'd be a good work-around until they fix the issue.Same issue here. All my past conversations were deleted
same here
I think I have found a workaround that works for me when this happens now on mac cli . If i see the warmpup before I send any prompt I double control+c to exit. Then use --resume instead of --continue and the conversation has been there for me to continue and the history will return.
The same problem here. Analysis:
Attached are two screenshots (OK.png and NOT OK.png). From Novenber 11th the history of chats does not work, instead of original .jsonl files in .claude/projects subdirectory there are agent-.jsonl files (see attachments)
<img width="488" height="451" alt="Image" src="https://github.com/user-attachments/assets/40bdc7b0-af7e-4866-b43a-402aa6e45845" />
<img width="546" height="354" alt="Image" src="https://github.com/user-attachments/assets/53285fb4-e02c-49de-85d5-96f6d76fe1a7" />
O--OneDrive-Projects-python-raynet-sync.zip
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
The issue still persists, please, could you comment it? Remote sessions in VS Code are OK, but all local projects do no contain chat history - all chats are lost immediately after closing VS Code IDE.
This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.