Export session on Windows disables opencode #8407

Open
opened 2026-02-16 18:09:54 -05:00 by yindo · 1 comment
Owner

Originally created by @pawelel on GitHub (Feb 3, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

Using PowersShell exporting session doesn't return to opencode anymore.

Plugins

none

OpenCode version

1.1.49

Steps to reproduce

write something big, exceed token limit
/export
see the file
chat is gone, no way back

Screenshot and/or share link

No response

Operating System

Windows 11

Terminal

Windows Terminal

Originally created by @pawelel on GitHub (Feb 3, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description Using PowersShell exporting session doesn't return to opencode anymore. ### Plugins none ### OpenCode version 1.1.49 ### Steps to reproduce write something big, exceed token limit `/export` see the file chat is gone, no way back ### Screenshot and/or share link _No response_ ### Operating System Windows 11 ### Terminal Windows Terminal
yindo added the windowsbug labels 2026-02-16 18:09:54 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 3, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #10159: Export only exports visible viewport content, not full session history - could cause context loss
  • #7426: Export outputs messages in wrong order for long sessions
  • #9797: Windows-specific bug where Unix-style export commands cause shell command failures and excessive retries
  • #6625: Sessions disappear on Windows even though saved in .local directory
  • #8661: Session goes missing after opencode collapse on Windows 11
  • #631: General Windows support meta-issue tracking platform compatibility challenges

The underlying issues appear to be Windows-specific problems with export functionality, session persistence, and data integrity that could collectively cause the behavior you're experiencing.

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Feb 3, 2026): This issue might be a duplicate of existing issues. Please check: - #10159: Export only exports visible viewport content, not full session history - could cause context loss - #7426: Export outputs messages in wrong order for long sessions - #9797: Windows-specific bug where Unix-style export commands cause shell command failures and excessive retries - #6625: Sessions disappear on Windows even though saved in .local directory - #8661: Session goes missing after opencode collapse on Windows 11 - #631: General Windows support meta-issue tracking platform compatibility challenges The underlying issues appear to be Windows-specific problems with export functionality, session persistence, and data integrity that could collectively cause the behavior you're experiencing. Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8407