Skip to content

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

Closed

Description

@burugo

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

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Dec 9, 2025
  2. self-assigned this
    on Dec 9, 2025
  3. removed
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Dec 9, 2025
  4. rekram1-node commented on Dec 9, 2025

    @rekram1-node
    Contributor

    ill fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions