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]: /export /copy missing most agent activity #6089
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
The /copy and /export commands added in #3748 do not export most of the agent's activity: no tool calling, no thinking. I would like a transcript of what the session is that better encompass what has happened during my session. Currently I do not know of any ways to capture what happens in a session, and make it known, and that is making me very sad!
(I do have a very early pass at a plugin to emit MCP Semantic Conventions but it is extremely crude & not usable at this time, and frankly, is too complex to be useful at the moment)
Example transcript (the actual transcript uses 3x backticks but I have deleted the third in each to preserve the overall formatting:
## User
do this crazy complex task that i want you to do
---
## Assistant
``
Tool: read
``
``
Tool: read
``
``
Tool: read
``
``
## Assistant
``
Tool: write
``
---
## Assistant
``
Tool: write
``
Both of these issues request the same functionality - including tool use, inputs, outputs, and thinking/reasoning in the export command. Feel free to ignore if this addresses a specific case not covered by those issues.
Thank you github-actions for the links. I did search for related issues & have joined a couple & enjoyed, but I missed #1118 and #4609 both of which already excellently advocate for taking the wonderful amazing things that happen inside opencode & getting them into the world. I can close this issue; apologies for the duplicate!
(I am considering trying to open a MCP Semantic Conventions issue, but want to see how far the plugin API gets today; ideally we can find gaps in the plugin api and open issues for that, as well as improve opencode's observability stance by perhaps building such capabilities into opencode directly.)
Unfortunately, a lot of my initial prompts vanished due to compaction and later /export. In my case I do not rely on markdown exports anymore. I just implemented own plugin to avoid this and store everything like sub-agents and tool calling (https://github.com/emyasnikov/opencode-session-store). I would like to see this as an built-in feature to avoid installing extra plugin for this (#39641).
Activity
github-actions commentedon Dec 24, 2025
This issue might be a duplicate of existing issues. Please check:
Both of these issues request the same functionality - including tool use, inputs, outputs, and thinking/reasoning in the export command. Feel free to ignore if this addresses a specific case not covered by those issues.
rektide commentedon Dec 24, 2025
Thank you github-actions for the links. I did search for related issues & have joined a couple & enjoyed, but I missed #1118 and #4609 both of which already excellently advocate for taking the wonderful amazing things that happen inside opencode & getting them into the world. I can close this issue; apologies for the duplicate!
(I am considering trying to open a MCP Semantic Conventions issue, but want to see how far the plugin API gets today; ideally we can find gaps in the plugin api and open issues for that, as well as improve opencode's observability stance by perhaps building such capabilities into opencode directly.)
emyasnikov commentedon Jul 30, 2026
Unfortunately, a lot of my initial prompts vanished due to compaction and later /export. In my case I do not rely on markdown exports anymore. I just implemented own plugin to avoid this and store everything like sub-agents and tool calling (https://github.com/emyasnikov/opencode-session-store). I would like to see this as an built-in feature to avoid installing extra plugin for this (#39641).