Skip to content

[FEATURE]: /export /copy missing most agent activity #6089

Closed

Description

@rektide

Feature hasn't been suggested before.

  • 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
``

Activity

  1. added
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    on Dec 24, 2025
  2. github-actions commented on Dec 24, 2025

    @github-actions
    Contributor

    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.

  3. rektide commented on Dec 24, 2025

    @rektide
    ContributorAuthor

    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.)

  4. emyasnikov commented on Jul 30, 2026

    @emyasnikov

    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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

discussionUsed for feature requests, proposals, ideas, etc. Open discussion

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions