[BUG] Resume Session does not work in directories that did not have previous sessions
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?
When using /resume/ you normally get the list of sessions, including the option to switch to all projects with ctrl+a.
This does not work if you are in a directory that has no previous sessions; /resume simply returns "No conversations found to resume" and does not open the session picker that would allow you to resume from a different project.
The only workaround is to create a session in the directory with no sessions, exit claude, restart, and then resume what you wanted to resume from a different project.
What Should Happen?
Show a note that no sessions exist for this project; automatically switch to "resume from different project"-mode.
Error Messages/Logs
Steps to Reproduce
- Create a new directory
~/test cd ~/testclaude/resume
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.97 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
iTerm2
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗