[BUG]
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?
"Show in Finder" right-click silently fails on relative-path markdown links
What Should Happen?
Summary
The right-click Show in Finder action on file links rendered in the chat transcript silently no-ops when the link uses a relative path. The menu closes with no Finder window, no error, no toast.
Environment
- Platform: Claude Code (desktop/web chat surface, not the terminal CLI)
- OS: macOS
- Model: Opus 4.7 (1M)
Expected
Finder opens in the foreground with the target file selected/highlighted (standard open -R behavior).
Actual
Menu closes. Nothing else happens. No Finder window, no error toast, no log entry visible to the user.
Workarounds that do work
- Copy path from the same menu returns a correct absolute path (so a resolver exists and is working for that sibling action).
- Asking Claude to run
open -R "<absolute-path>"via Bash reveals the file reliably every time.
Hypothesis
The Show in Finder handler likely isn't resolving the relative path against the session's working directory before passing it to Finder, so the target resolves to a non-existent path and the native action silently no-ops. The Copy path handler appears to resolve correctly, suggesting the resolver exists but isn't wired into the Finder-reveal path — or its error branch swallows failure without surfacing feedback.
Severity
Low functionally — workarounds exist. High friction — Claude Code itself emits relative-path markdown as the default shape for file references, so this is the most common link shape users encounter.
Suggested fixes
- Resolve relative paths against the session CWD (or project root) before invoking the Finder-reveal native action.
- If resolution fails, surface a toast/error rather than no-op silently.
- At minimum, share the resolver already used by Copy path — it produces a usable absolute path.
Error Messages/Logs
Steps to Reproduce
Steps to reproduce
- In a chat turn, Claude outputs a markdown link to a local file using a relative path, e.g.:
``markdown``
[Governance/Specs/Foo/BAR.html](Governance/Specs/Foo/BAR.html)
- Right-click the rendered link in the transcript.
- Context menu shows three items: Attach as context, Copy path, Show in Finder.
- Click Show in Finder.
Claude Model
Opus
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
Claude 1.3109.0 (35cbf6) 2026-04-16T20:32:01.000Z
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗