opencode icon indicating copy to clipboard operation
opencode copied to clipboard

OpenTUI: Opening a chat with a file path breaks OpenCode

Open Sewer56 opened this issue 1 month ago • 2 comments

Description

Image Image

OpenCode version

1.0.10

Steps to reproduce

Paste a file path into the text box. After sending the message, nothing happens.

Things work fine if the file path is prepended with some text, but if you paste in only a file path, opencode will break.

Sewer56 avatar Nov 01 '25 19:11 Sewer56

This issue might be a duplicate of existing issues. Please check:

  • #3624: Similar file path handling issues in OpenTUI where pasting file paths doesn't work properly and affects keyboard navigation

Feel free to ignore if none of these address your specific case.

github-actions[bot] avatar Nov 01 '25 19:11 github-actions[bot]

this is because we're interpreting it as a slash command, will fix

thdxr avatar Nov 04 '25 19:11 thdxr

should be fixed now

thdxr avatar Nov 12 '25 02:11 thdxr

should be fixed now

Can the same be done for paths referenced with @ too? Currently, it detects as a normal string.

Armadillidiid avatar Nov 18 '25 06:11 Armadillidiid