You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Desktop: file:// markdown links are not clickable #44902
In OpenCode Desktop, markdown links to local files (file:///...) render as links (colored/underlined) but do not open on click. The cursor often stays a normal arrow. https:// links work fine.
Environment
OpenCode Desktop 1.18.18 (macOS)
Observed across all chat threads
Root cause
Main process only allows http:, https:, and mailto: in resolveExternalURL. Local file:// targets fall through to "blocked external target" and never reach shell.openPath.
Optionally also allow file://localhost/... in resolveLocalFilePath (currently rejects any non-empty hostname).
Workaround for agents
Until fixed: avoid file:// markdown links; give the absolute path as plain text and tell the user to open it from Finder, or run open "/absolute/path".
Notes
A local patch applying the fix above makes file:// links open correctly on Desktop 1.18.18.
Activity
github-actions commentedon Aug 25, 2026
This issue might be a duplicate of existing issues. Please check:
file://markdown links not being clickable in the Desktop appAbdul535 commentedon Aug 27, 2026
can i take this up @Hona ?
neriousy commentedon Oct 1, 2026
Closing as a duplicate of #37891. file:// links are part of making file paths in Desktop chat clickable, tracked in #37891.