File paths in assistant responses are not clickable in Zed editor #3419

Open
opened 2026-02-16 17:40:00 -05:00 by yindo · 1 comment
Owner

Originally created by @burugo on GitHub (Dec 9, 2025).

Originally assigned to: @rekram1-node on GitHub.

Description

Description

When the assistant lists files using the list tool, the output format includes tree-style decorations (e.g., ├──, └──) which not being clickable in Zed editor.

Current behavior

packages/script/
├── src/
│   └── index.ts
├── package.json
├── sst-env.d.ts
└── tsconfig.json

These paths cannot be clicked to open files in Zed (Cmd+Click does not work).

Expected behavior

File paths produced by opencode should be recognized as clickable links by both Zed and VSCode, similar to how Codex outputs are handled, even when full absolute paths are shown. Currently full paths from opencode remain unclickable in Zed while VSCode works.

Environment

  • Editor: Zed
  • OS: macOS

Notes

  • VSCode can open the paths produced by opencode, but Zed cannot
  • Codex outputs are clickable in both editors, so opencode should match that behavior
  • Problem persists even when using full absolute paths in the response

OpenCode version

1.0.137

Steps to reproduce

No response

Screenshot and/or share link

Image

Operating System

macOS 26.1

Terminal

zed terminal

Originally created by @burugo on GitHub (Dec 9, 2025). Originally assigned to: @rekram1-node on GitHub. ### Description ## Description When the assistant lists files using the `list` tool, the output format includes tree-style decorations (e.g., `├──`, `└──`) which not being clickable in Zed editor. ## Current behavior ``` packages/script/ ├── src/ │ └── index.ts ├── package.json ├── sst-env.d.ts └── tsconfig.json ``` These paths cannot be clicked to open files in Zed (Cmd+Click does not work). ## Expected behavior File paths produced by opencode should be recognized as clickable links by both Zed and VSCode, similar to how Codex outputs are handled, even when full absolute paths are shown. Currently full paths from opencode remain unclickable in Zed while VSCode works. ## Environment - Editor: Zed - OS: macOS ## Notes - VSCode can open the paths produced by opencode, but Zed cannot - Codex outputs are clickable in both editors, so opencode should match that behavior - Problem persists even when using full absolute paths in the response ### OpenCode version 1.0.137 ### Steps to reproduce _No response_ ### Screenshot and/or share link <img width="740" height="654" alt="Image" src="https://github.com/user-attachments/assets/1640c210-a2dd-4327-a7d6-627ae7f2dc2f" /> ### Operating System macOS 26.1 ### Terminal zed terminal
yindo added the bug label 2026-02-16 17:40:00 -05:00
Author
Owner

@rekram1-node commented on GitHub (Dec 9, 2025):

ill fix

@rekram1-node commented on GitHub (Dec 9, 2025): ill fix
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3419