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
- Open Claude Code (terminal integration)
- Have several prior sessions in a project directory
- Session
.jsonlfiles exist at~/.claude/projects/<encoded-project-path>/ - The sidebar session picker only shows today's sessions — older ones are missing
- Running
claude --resume <session-id>from within Claude Code terminal fails to load context - 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 --resumeshould 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 nosessions-index.json, while other projects do — this may be the root cause of the missing sidebar entries - 11 session
.jsonlfiles exist on disk with valid conversation data
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗