VS Code extension session history missing old sessions

Resolved 💬 4 comments Opened Apr 14, 2026 by Insomnium1250 Closed May 23, 2026

Description

The VS Code extension's session history picker does not show previously created sessions from the same VS Code extension. Sessions created from the Claude Code desktop app are visible in the desktop app's history, but VS Code sessions are not visible in the VS Code extension's session picker.

Steps to Reproduce

  1. Work in a VS Code Claude Code extension session for an extended period (e.g., 10+ hours)
  2. Close the session
  3. Open VS Code again and check session history
  4. Old VS Code sessions do not appear in the picker

Observed Behavior

  • Session history in VS Code extension does not show previously created VS Code sessions
  • Sessions created via Claude Code desktop app appear correctly in the desktop app's history
  • The session data does exist on disk at ~/.claude/projects/<project>/ with full .jsonl conversation logs

Expected Behavior

All sessions for the current project should appear in the VS Code extension's session history, regardless of which entrypoint (VS Code, desktop, CLI) created them.

Specific Example

Session 3ef9b200-77ce-452b-a08f-7275327d436c:

  • Entrypoint: claude-vscode
  • Created: 2026-04-13 11:23 — Last modified: 2026-04-13 22:37
  • Size: 20MB .jsonl file
  • Features used: remote control enabled
  • Status: Data exists on disk, but does not appear in VS Code session picker

Session Statistics (this project)

| Entrypoint | Sessions |
|---|---|
| claude-desktop | 62 |
| claude-vscode | 17 |
| cli | 9 |
| No marker | 14 |

Total: 103 sessions with .jsonl files, 157 session directories.

Environment

  • Claude Code version: 2.1.90
  • OS: Windows 11 Pro 10.0.26200
  • Node: v20.18.0
  • Platform: win32

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗