VSCode Remote-WSL: Chat session not persisted after Reload Window
Resolved 💬 3 comments Opened Dec 25, 2025 by kimseokho1226 Closed Dec 28, 2025
What happened?
In VSCode Remote-WSL environment, the chat session is lost after executing "Reload Window" command. The extension starts a fresh new conversation instead of restoring the previous one.
In code-server (browser-based), refreshing the page preserves the chat session correctly. But in VSCode Remote-WSL, the chatSessions folder is never created in workspaceStorage.
What did you expect to happen?
Chat session should persist after Reload Window, just like in code-server.
Relevant environment info
- OS: WSL2 Ubuntu 24.04.2 LTS (Kernel 6.6.87.2-microsoft-standard-WSL2)
- VSCode: Remote-WSL environment
- Claude Code Extension: 2.0.75 (also tested 2.0.13 - same issue)
- Node.js: v24.1.0
- Shell: bash
Claude Code version
2.0.75
Additional Context
- Session data files exist in
~/.claude/projects/but are not restored by the extension chatSessionsfolder is NOT created in~/.vscode-server/data/User/workspaceStorage/- Tested with both symlinked
~/.claude(pointing to Windows path) and native WSL folder - same result - Workaround: Using
claude --resumein terminal
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗