Description
Hello!
I believe this issue existed before the v1 releases as well.
If after pasting content (and seeing [Pasted ~11 lines]), I open the editor - the content in the editor shows the summary ([Pasted ~11 lines]).
There are two separate issues here:
a. I don't have any option to expand or edit pasted content
b. If I edit something else in the editor and close it, the pasted content summary becomes plain text of "[Pasted ~11 lines]" and does not expand to the pasted lines when sending the prompt.
Same thing is happening with images, though of course, the handling should be different
I'm happy to try taking a crack at it.
OpenCode version
v1.0.37
Steps to reproduce
- Paste enough content for a summary to occur / paste an image
- Open editor with -e
- Save an close the editor
- Send the prompt
- Note that the LLM didn't receive the text/image
Screenshot and/or share link
Operating System
macOS 26.0.1
Terminal
tmux in ghostty
Description
Hello!
I believe this issue existed before the v1 releases as well.
If after pasting content (and seeing
[Pasted ~11 lines]), I open the editor - the content in the editor shows the summary ([Pasted ~11 lines]).There are two separate issues here:
a. I don't have any option to expand or edit pasted content
b. If I edit something else in the editor and close it, the pasted content summary becomes plain text of "[Pasted ~11 lines]" and does not expand to the pasted lines when sending the prompt.
Same thing is happening with images, though of course, the handling should be different
I'm happy to try taking a crack at it.
OpenCode version
v1.0.37
Steps to reproduce
Screenshot and/or share link
Operating System
macOS 26.0.1
Terminal
tmux in ghostty