mirror of
https://github.com/Heretek-AI/opencode.git
synced 2026-11-08 08:07:12 -10:00
Clients that name a pasted image in the text (the TUI's "[Image 1]") send it as a file with a mention. Mentioned files were excluded from the attachment row, so the image never appeared: only the highlighted "[Image 1]" text. Inline or data: images with a mention now also show as thumbnails; the text highlight is unchanged, and non-image mentions are still left out. Verified: session-ui typecheck; in the side panel, a TUI message with [Image 1] now shows its thumbnail.