Session history not visible in Claude Code terminal session picker

Status Closed — duplicate
Reported on v2.1.45
Maintainer reply None cached
Activity 3 comments · opened Mar 20, 2026 · closed Mar 24, 2026

Description

Sessions created in Claude Code's integrated terminal are not visible in the session picker sidebar, even though the .jsonl session files exist on disk at ~/.claude/projects/<project-path>/.

Resuming sessions via claude --resume <session-id> works from a standalone terminal but not from within the Claude Code terminal.

Steps to Reproduce

  1. Open Claude Code (terminal integration)
  2. Have several prior sessions in a project directory
  3. Session .jsonl files exist at ~/.claude/projects/<encoded-project-path>/
  4. The sidebar session picker only shows today's sessions — older ones are missing
  5. Running claude --resume <session-id> from within Claude Code terminal fails to load context
  6. Running the same claude --resume <session-id> from a standalone macOS Terminal works correctly

Expected Behavior

  • All prior sessions should appear in the session picker sidebar
  • claude --resume should work from both Claude Code terminal and standalone terminal

Environment

  • macOS (Darwin 23.4.0)
  • Claude Code version: 2.1.45 (from session file metadata)

Additional Context

  • The project's ~/.claude/projects/<path>/ directory has no sessions-index.json, while other projects do — this may be the root cause of the missing sidebar entries
  • 11 session .jsonl files exist on disk with valid conversation data

View original on GitHub ↗

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