You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]: /copy command copies the entire conversation, including thinking process and executed commands #53301
I have verified that this is a feature request and not a bug report.
Description
In the opencode CLI, when using the /copy command, it copies everything from the session — including the model's thinking process, executed commands, tool output, etc.
In most cases, users only want to copy the final result/answer, not the entire conversation transcript. It would be much more useful if /copy copied only the final assistant response by default, or provided an option to choose what gets copied (e.g. /copy --last, /copy N, or a config setting).
OpenCode version
latest
Steps to reproduce
Start opencode CLI on Windows 11 and have a conversation with the agent (including thinking and tool/command execution)
Run the /copy command
Paste the clipboard content — it contains the full conversation including thinking process and executed commands, not just the final result
Screenshot and/or share link
No response
Operating System
Windows 11
Plugins
Yes, plugins are in use (with a terminal environment).
changed the title [-]/copy command copies the entire conversation, including thinking process and executed commands[/-][+][FEATURE]: /copy command copies the entire conversation, including thinking process and executed commands[/+]on Oct 5, 2026
Same request here on opencode 2.0.26 (Linux TUI). /copy grabs the whole transcript and my use case is narrower: I want only the latest assistant response's text — no thinking blocks, no tool calls/results, no earlier turns, none of my own prompts. Typical case: the agent just produced the final answer and I want exactly that on the clipboard.
Something like /copy --last (or a keybind / config default for it) would cover it. Thanks!
Activity
[-]/copy command copies the entire conversation, including thinking process and executed commands[/-][+][FEATURE]: /copy command copies the entire conversation, including thinking process and executed commands[/+]github-actions commentedon Oct 5, 2026
Thanks for updating the issue with the feature verification, title, description, and reproduction details!
github-actions commentedon Oct 5, 2026
Thanks for updating the issue with the feature verification, clear description, and reproduction details!
Quantum-Quasar commentedon Oct 10, 2026
Same request here on opencode 2.0.26 (Linux TUI).
/copygrabs the whole transcript and my use case is narrower: I want only the latest assistant response's text — no thinking blocks, no tool calls/results, no earlier turns, none of my own prompts. Typical case: the agent just produced the final answer and I want exactly that on the clipboard.Something like
/copy --last(or a keybind / config default for it) would cover it. Thanks!