[BUG] "Open in CLI" feature isn't working as intended
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?
Environment
- iPhone 17 Pro Max - iOS 26.2
- macOS Tahoe 26.1 MacBook Pro 16-inch M4 Max
Steps to Reproduce
- Started session on Claude (Code) iPhone client
- Opened Claude for macOS, switched to Code tab. Continued session.
- Clicked on "Open in CLI".
- Command copied to clipboard
- Pasted command in terminal.
- Resulting Error: "Failed to fetch session metadata"
Attempted multiple times. Session ID verified.
What Should Happen?
Session continues in CLI
Error Messages/Logs
Steps to Reproduce
Steps to Reproduce
- Started session on Claude (Code) iPhone client
- Opened Claude for macOS, switched to Code tab. Continued session.
- Clicked on "Open in CLI".
- Command copied to clipboard
- Pasted command in terminal.
- Resulting Error: "Failed to fetch session metadata"
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.68 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
No response
I'm also having issues with "Open in CLI" feature. For me, the "Open In CLI" is just disabled (both in web and desktop app, tried different sessions). There are no indicators of why it's disabled.
I'm also having issues with "Open in CLI" feature. For me, the "Open In CLI" is just disabled (both in web and desktop app, tried different sessions). There are no indicators of why it's disabled.
@joshling1919 Seeing the same issue, I believe until the agent has pushed changes to the branch you can't use "Open in CLI". Makes sense for this to be the case when files have been written but not committed, but doesn't make sense for this to be disabled if no files have been written yet. Some sort of tooltip for why it's disabled would help a lot here.