Description
Description
OpenCode TUI mode does not support pasting images via Ctrl+V. No [image] indicator appears in the input box, and the paste action is silently ignored.
Steps to Reproduce
- Run
opencode in terminal to enter TUI mode
- Take a screenshot or copy an image to clipboard
- Press
Ctrl+V in the input box
- The image is not attached to the message — no
[image] placeholder appears
Expected Behavior
- TUI mode should support pasting images from clipboard, showing an
[image] indicator
- Or the documentation should clearly state that image pasting is only supported in Web/IDE modes
Actual Behavior
Pasting an image has no effect — the image is silently discarded.
Environment
- OpenCode version: 1.17.2
- OS: WSL2 Ubuntu 24.04
- Terminal: Windows Terminal
- Mode: TUI (
opencode)
Additional Context
The community plugin opencode-minimax-easy-vision-cli relies on the experimental.chat.messages.transform hook to provide vision capability for text-only models. It activates when image FileParts are present in a message. Since TUI mode cannot attach images via paste, the plugin can never trigger, making this a blocker for clipboard-based image workflows.
Plugins
opencode-minimax-easy-vision-cli、superpower、"plugins/orchestrator.js"
OpenCode version
1.17.2
Steps to reproduce
- Run opencode in terminal to enter TUI mode
- Take a screenshot or copy an image to clipboard (e.g. Ctrl+Shift+S on Windows, then Ctrl+C)
- Press Ctrl+V in the OpenCode input box
- Observe: no [image] indicator appears, the image is silently ignored
- Compare with opencode web: pasting the same image in the browser does show [image]
Screenshot and/or share link
No response
Operating System
No response
Terminal
No response
Description
Description
OpenCode TUI mode does not support pasting images via
Ctrl+V. No[image]indicator appears in the input box, and the paste action is silently ignored.Steps to Reproduce
opencodein terminal to enter TUI modeCtrl+Vin the input box[image]placeholder appearsExpected Behavior
[image]indicatorActual Behavior
Pasting an image has no effect — the image is silently discarded.
Environment
opencode)Additional Context
The community plugin
opencode-minimax-easy-vision-clirelies on theexperimental.chat.messages.transformhook to provide vision capability for text-only models. It activates when imageFileParts are present in a message. Since TUI mode cannot attach images via paste, the plugin can never trigger, making this a blocker for clipboard-based image workflows.Plugins
opencode-minimax-easy-vision-cli、superpower、"plugins/orchestrator.js"
OpenCode version
1.17.2
Steps to reproduce
Screenshot and/or share link
No response
Operating System
No response
Terminal
No response