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
tui: Markdown export omits messages outside loaded history #50732
Markdown /export formats the messages currently loaded in the TUI rather than the full session transcript. In a long session, earlier prompts and responses can be missing from the export. /copy uses the same loaded list. JSON export already fetches the full transcript.
Expected: Markdown export and transcript copy include all recorded session messages.
Plugins
None configured in the development environment.
OpenCode version
v2.0.14 (V2 development checkout)
Steps to reproduce
In the V2 TUI, create a session with a prompt followed by more than 20 session messages.
Without loading the older messages in the TUI, run /export and select Markdown.
Compare it with the JSON export: the Markdown export omits messages outside the loaded page.
Thanks for the report. This is the same issue as #50014, so I'm closing it as a duplicate. #50733 also fixed it: Markdown export and transcript copy now use the full session history from the server instead of only the messages loaded in the TUI.
Activity
github-actions commentedon Sep 22, 2026
This issue might be a duplicate of existing issues. Please check:
/exportonly exports the loaded portion of a long thread, with identical root cause and reproduction steps.neriousy commentedon Oct 20, 2026
Thanks for the report. This is the same issue as #50014, so I'm closing it as a duplicate. #50733 also fixed it: Markdown export and transcript copy now use the full session history from the server instead of only the messages loaded in the TUI.