[BUG] `claude --resume` only shows one session despite multiple saved sessions (Windows)
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 Report: claude --resume only shows one session despite multiple saved sessions
Environment
- Claude Code Version: 2.0.76
- OS: Windows 10 Build 26200
- VS Code Version: 1.107.1
- Shell: Git Bash (MINGW64)
Description
When running claude --resume, only one recent session is displayed in the session picker, even though 45 session files (.jsonl) exist in the project directory.
Steps to Reproduce
- Create multiple Claude Code sessions in the same project directory over time
- Run
claude --resumefrom the project directory - Session picker shows only 1 session (the most recent one)
- Press
Akey to toggle between "current directory" and "all projects" - no change
Expected Behavior
The session picker should display all available sessions from the project directory, allowing the user to select and resume any previous conversation.
Actual Behavior
Only 1 session is displayed:
What Should Happen?
The session picker should display all available sessions from the project directory.
When running claude --resume, users should be able to:
- See all 45 sessions that exist in the project directory
- Navigate through the list using arrow keys
- Preview any session with the 'P' key
- Select and resume any previous conversation
- Toggle between current directory and all projects with the 'A' key
Expected display example:
Error Messages/Logs
Steps to Reproduce
- Work on multiple Claude Code sessions over time in the same project directory
- Example: Create sessions on different days for different tasks
- Close VS Code or end Claude Code sessions normally
- Verify that session files exist:
dir C:\Users\xxx.claude\projects\d--Users-xxx-Dropbox--yyy-mmp-swprj-ow-zzz-ZZZ-ZZZ-ZERO-Claude-test01*.jsonl
Result: 45 files found
- Navigate to the project directory:
cd d:\Users\xxx\Dropbox@yyy\mmp_swprj\ow_zzz\ZZZ\ZZZ-ZERO\Claude\test01
- Run the resume command:
claude --resume
- Observe the session picker - only 1 session appears instead of all 45
- Try pressing 'A' key to toggle view - no additional sessions appear
Result: Only the most recent session is shown, older sessions are inaccessible through the picker despite existing in the filesystem.
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.0.76
Platform
Other
Operating System
Windows
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗