### Description Dragging and dropping an image into the chat fails silently when the filename contains parentheses. Example filename that fails: `image (1).png` Filenames without parentheses (e.g. `screenshot.png`) attach correctly via drag-and-drop. ### Plugins oh-my-opencode ### OpenCode version 1.2.24 ### Steps to reproduce 1. Download or save any image so that macOS appends a number in parentheses to the filename (e.g. `image (1).png`) 2. Open OpenCode in Ghostty terminal 3. Drag and drop the file into the chat input 4. Observe: the image is not attached / nothing happens 5. Rename the same file to remove parentheses (e.g. `image1.png`) 6. Drag and drop again 7. Observe: the image attaches successfully ### Screenshot and/or share link https://github.com/user-attachments/assets/30da2d9e-f16b-4d12-a4de-271303fea82a ### Operating System macOS 26.2 ### Terminal Ghostty
Description
Dragging and dropping an image into the chat fails silently when the filename contains parentheses.
Example filename that fails:
image (1).pngFilenames without parentheses (e.g.
screenshot.png) attach correctly via drag-and-drop.Plugins
oh-my-opencode
OpenCode version
1.2.24
Steps to reproduce
image (1).png)image1.png)Screenshot and/or share link
Screen.Recording.2026-03-11.at.22.26.12.mov
Operating System
macOS 26.2
Terminal
Ghostty