[BUG] Conversation history not persisting - only shows current warmup message instead of original content

Status Closed — not planned
Maintainer reply None cached
Activity 10 comments · opened Oct 20, 2025 · closed Jan 12, 2026

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

  1. Have a conversation with Claude Code in VS Code
  2. Close VS Code or start a new conversation
  3. Reopen VS Code
  4. Click on a previous conversation from the history sidebar
  5. 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_

View original on GitHub ↗

10 Comments

github-actions[bot] · 11 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/9668
  2. https://github.com/anthropics/claude-code/issues/9671
  3. https://github.com/anthropics/claude-code/issues/9258

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

mohamad-amin · 11 months ago

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 .jsonl file 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.

eliasg52 · 11 months ago

Same issue here. All my past conversations were deleted

MartinVeltman · 11 months ago

same here

freiholtz · 11 months ago

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.

michalekz · 11 months ago

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

github-actions[bot] · 10 months ago

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.

michalekz · 10 months ago

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.

github-actions[bot] · 9 months ago

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.

github-actions[bot] · 8 months ago

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.