claude-code - 💡(How to fix) Fix [BUG] --resume picker no longer scoped to current directory (regression in 2.1.104) [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#51658Fetched 2026-04-22 07:56:22
View on GitHub
Comments
0
Participants
1
Timeline
5
Reactions
0
Author
Participants
Timeline (top)
labeled ×5

Error Message

Error Messages/Logs

Fix Action

Fix / Workaround

Workaround: Type a project-specific search term after launching the picker to manually filter results.

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

claude --resume previously opened an interactive picker showing only sessions created in the current working directory. After updating to 2.1.104, it now shows a global list of sessions from every project directory on the machine.

Note: --continue (-c) is still correctly scoped to the current directory. Only the --resume picker is affected. The sessions themselves are stored correctly on disk under the right project folders — this is purely a display/filtering regression in the picker UI.

Workaround: Type a project-specific search term after launching the picker to manually filter results.

Version: 2.1.104 | OS: macOS 25.3.0 | Install: Homebrew Cask

What Should Happen?

The picker lists only sessions whose cwd matches the current working directory, as it did in previous versions.

Error Messages/Logs

Steps to Reproduce

  1. Have Claude Code sessions in multiple project directories (e.g. /Users/me/Sites/project-a and /Users/me/Sites/project-b)
  2. cd into one project directory
  3. Run claude --resume
  4. The picker shows sessions from all project directories, not just the current one

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.1.104

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

extent analysis

TL;DR

The issue can be temporarily mitigated by typing a project-specific search term after launching the claude --resume picker to manually filter results.

Guidance

  • The problem seems to be related to the --resume option not filtering sessions based on the current working directory, as it did in previous versions.
  • To verify the issue, follow the steps to reproduce provided in the issue body, which involves creating sessions in multiple project directories and running claude --resume in one of them.
  • The fact that --continue (-c) is still correctly scoped to the current directory suggests that the issue might be specific to the --resume picker's filtering logic.
  • Checking the differences in the code between version 2.1.104 and the last known working version might provide insights into the cause of the regression.

Example

No specific code example can be provided without access to the Claude Code source, but investigating the filtering logic in the --resume picker would be a good starting point.

Notes

The provided workaround, while helpful, does not fully address the issue. A proper fix would require identifying and correcting the regression in the --resume picker's filtering logic.

Recommendation

Apply the provided workaround until a fixed version is available, as the root cause of the issue is not immediately clear and would require further investigation into the Claude Code source.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] --resume picker no longer scoped to current directory (regression in 2.1.104) [1 participants]