Skip to content

/export only exports the loaded portion of a long thread #50014

Description

@samebutdiff

Description

In a long thread, /export writes only the part of the conversation that's currently
loaded. The file starts partway in and everything before that is missing. There is no
warning: the export succeeds and the file looks complete.

Scrolling to the top first, so the whole thread loads, gives a correct export. I'd
expect /export to write the full thread regardless of scroll position.

Plugins

No response

OpenCode version

v2.0.10

Steps to reproduce

  1. Open a thread with well over 100 messages, so older messages aren't loaded.
  2. Run /export without scrolling, taking the default options.
  3. Check the first message in the file. It begins partway into the session.
  4. Scroll to the top of the same session, then run /export again.
  5. This file has the full thread. Scroll position is the only difference.

Screenshot and/or share link

No response

Operating System

macOS 27

Terminal

Ghostty

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions