Allow resuming a session from a different working directory
Status Fixed / completed
Maintainer reply None cached
Activity 4 comments · opened Jun 18, 2026 · closed Jun 24, 2026
Currently, claude --resume <id> requires you to be in the same directory the session was started in, or it fails with a "session does not exist" error. This makes it impossible to move a session to a new folder or resume it from a different context.
Requested behavior: claude --resume <id> should work from any directory.
Additional UX: In the session list (-r / session picker), after pressing Ctrl+A and selecting on a session should allow opening it in a new folder, so the user can relocate a session interactively.
Use case: I had an active session in folder A and wanted to continue it in folder B (e.g., after reorganizing a project). There is currently no way to do this without manually copying context.
4 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
/cd Move this session to a new working directory
Closing in favor of https://github.com/anthropics/claude-code/issues/5768 even though that one is formulated as a bug and this is formulated as a feature.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.