Summary
In the OpenCode desktop app, file and folder paths rendered in assistant messages look like interactive chips/links, but they are not clickable. Markdown file:// links are also not clickable. There is no way to open a referenced path in the built-in editor, system default app, or Finder/Explorer from the chat transcript.
Environment
- OpenCode Desktop (macOS)
- Model: Grok 4.5 (via OpenCode)
- Observed: 2026-07-20
Steps to reproduce
- Ask the agent to list files in a folder (or any reply that includes absolute paths).
- Paths render as styled chips (gray background), e.g.
`/Users/.../file.md`.
- Click a chip → nothing happens.
- Ask the agent to emit markdown links instead:
[file.md](file:///Users/me/project/file.md)
- Click the link → nothing happens (links are not interactive).
Expected
Clicking a path/link in chat should offer a useful action, for example:
- Primary click: open file in OpenCode’s built-in editor / file browser tab
- Secondary / modifier: Reveal in Finder (macOS) / Explorer (Windows) / file manager (Linux)
- Folders: open in file browser or reveal in Finder
- Optional:
path:line / path:line:col jumps to location
Actual
Paths and file:// markdown links are non-interactive. Users must copy the path and run something like:
open -R "/full/path/to/file"
or ask the agent to run open for them.
Why this matters
Agents constantly point at files they created or edited. Click-to-open is table stakes in Cursor/VS Code/Claude Code-style UIs and removes a constant copy-paste friction, especially for non-code artifacts (PDFs, PNGs, .docx, data folders).
Related
Suggested acceptance criteria
- Absolute and workspace-relative paths in assistant markdown become clickable.
- Click opens the file in the desktop file browser/editor when possible.
- Right-click or modifier-click reveals the path in the OS file manager.
- Invalid/missing paths show a clear toast instead of silently doing nothing.
- Works for both inline code paths and markdown links (
file:// and relative).
Thanks — happy to test a nightly/desktop build.
Summary
In the OpenCode desktop app, file and folder paths rendered in assistant messages look like interactive chips/links, but they are not clickable. Markdown
file://links are also not clickable. There is no way to open a referenced path in the built-in editor, system default app, or Finder/Explorer from the chat transcript.Environment
Steps to reproduce
`/Users/.../file.md`.Expected
Clicking a path/link in chat should offer a useful action, for example:
path:line/path:line:coljumps to locationActual
Paths and
file://markdown links are non-interactive. Users must copy the path and run something like:open -R "/full/path/to/file"or ask the agent to run
openfor them.Why this matters
Agents constantly point at files they created or edited. Click-to-open is table stakes in Cursor/VS Code/Claude Code-style UIs and removes a constant copy-paste friction, especially for non-code artifacts (PDFs, PNGs,
.docx, data folders).Related
Suggested acceptance criteria
file://and relative).Thanks — happy to test a nightly/desktop build.