Support paste summary collapsing #303

Closed
opened 2026-02-16 17:26:07 -05:00 by yindo · 8 comments
Owner

Originally created by @markjaquith on GitHub (Jun 26, 2025).

Originally assigned to: @adamdotdevin on GitHub.

Claude Code has a cool feature where if you paste multiline input (maybe over a certain length) into the prompt input, it will summarize it like:

[Pasted text #1 +8 lines]

Its kinda nice to just have that as a "unit" so that if you're entering a long prompt with your thoughts interspersed between pastes, it doesn't become an unreadable and uneditable mess.

Originally created by @markjaquith on GitHub (Jun 26, 2025). Originally assigned to: @adamdotdevin on GitHub. Claude Code has a cool feature where if you paste multiline input (maybe over a certain length) into the prompt input, it will summarize it like: > `[Pasted text #1 +8 lines]` Its kinda nice to just have that as a "unit" so that if you're entering a long prompt with your thoughts interspersed between pastes, it doesn't become an unreadable and uneditable mess.
yindo closed this issue 2026-02-16 17:26:07 -05:00
Author
Owner

@markjaquith commented on GitHub (Jul 28, 2025):

Implemented in https://github.com/sst/opencode/commit/4b2e52c834680301556ad103f7cd885071b8df6e 🎊

@markjaquith commented on GitHub (Jul 28, 2025): Implemented in https://github.com/sst/opencode/commit/4b2e52c834680301556ad103f7cd885071b8df6e 🎊
Author
Owner

@taji commented on GitHub (Oct 21, 2025):

I like to paste and then revise before hitting enter. How do I revise the pasted text or disable this feature?

@taji commented on GitHub (Oct 21, 2025): I like to paste and then revise before hitting enter. How do I revise the pasted text or disable this feature?
Author
Owner

@rekram1-node commented on GitHub (Oct 21, 2025):

we dont have a way to do that which is an obvious ux gap but we are going to fix that this week, we are shipping a new look and feel soon

@rekram1-node commented on GitHub (Oct 21, 2025): we dont have a way to do that which is an obvious ux gap but we are going to fix that this week, we are shipping a new look and feel soon
Author
Owner

@taji commented on GitHub (Nov 3, 2025):

Any updates on this?

@taji commented on GitHub (Nov 3, 2025): Any updates on this?
Author
Owner

@lamnguyenx commented on GitHub (Nov 28, 2025):

any update on this?
I'd suggest sth like "ctrl-x y" to open the pasted section in the $EDITOR

@lamnguyenx commented on GitHub (Nov 28, 2025): any update on this? I'd suggest sth like "ctrl-x y" to open the pasted section in the $EDITOR
Author
Owner

@taji commented on GitHub (Nov 28, 2025):

I had to dig around, but you can disable with this in your opencode config:

"experimental": {
"disable_paste_summary": true,
},

As per here: https://github.com/sst/opencode/issues/3532

You'll need to google the config location, it's different for each OS.

@taji commented on GitHub (Nov 28, 2025): I had to dig around, but you can disable with this in your opencode config: "experimental": { "disable_paste_summary": true, }, As per here: https://github.com/sst/opencode/issues/3532 You'll need to google the config location, it's different for each OS.
Author
Owner

@rekram1-node commented on GitHub (Nov 28, 2025):

u can do:

opencode debug paths

and it will tell you where everything is kept

@rekram1-node commented on GitHub (Nov 28, 2025): u can do: opencode debug paths and it will tell you where everything is kept
Author
Owner

@berenar commented on GitHub (Jan 22, 2026):

I like to paste and then revise before hitting enter. How do I revise the pasted text or disable this feature?

@taji would something like this work for you?

@berenar commented on GitHub (Jan 22, 2026): > I like to paste and then revise before hitting enter. How do I revise the pasted text or disable this feature? @taji would something like [this](https://github.com/anomalyco/opencode/pull/8496) work for you?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#303