opencode
opencode copied to clipboard
Export functionality seems to be missing in opentui version
Description
Pre 1.0.0 we were able to run /export to get an export of the chat. This no longer seems to be available in 1.x
OpenCode version
1.0.11
Steps to reproduce
Attempt to run the /export command.
Screenshot and/or share link
Operating System
Ubuntu 20.04
Terminal
Windows Terminal via ssh
This issue might be a duplicate of existing issues. Please check:
- #3740: Timeline missing from 1.0.x versions - reports similar issue where /timeline command that worked pre-1.0.0 is missing in opentui version
Feel free to ignore if none of these address your specific case.
can you tell me more about how you use this functionality?
I just found this issue as I was hitting this hurdle as a new user. I'm looking to use OpenCode in a more general purpose manner on top of using it as a specialized coding assistant.
Currently I'm using AI a lot for language learning, and now starting to use it to have conversations about my personal markdown-based knowledge base. I was looking for a way to save the entirety of the chat conversation to be able to resume the conversation with full context, as well as having the raw history for my own personal review.
I'm currently using requests to summarize and write as a workaround, but would also like the unedited version.
My $0.02: the main use case I have for this, and why I contributed the feature, was that sometimes I want to do advanced text selection or manipulation to the output I'm getting in the UI, and that's just way faster using my editor than trying to use the UI features for text selection in opencode. I wouldn't expect y'all to add all the crazy awesome modal navigation features you get in neovim into opencode, so the export was an easy escape hatch to let y'all only focus on the core features but still allow something more advanced to happen when needed.
My $0.02: the main use case I have for this, and why I contributed the feature, was that sometimes I want to do advanced text selection or manipulation to the output I'm getting in the UI, and that's just way faster using my editor than trying to use the UI features for text selection in opencode. I wouldn't expect y'all to add all the crazy awesome modal navigation features you get in neovim into opencode, so the export was an easy escape hatch to let y'all only focus on the core features but still allow something more advanced to happen when needed.
+1, My use case was quickly copying session summary, code blocks etc from the chat
Use it basically all the time
Definitely need the export - just to dump the chat to a .md file or any other format
yep fixing
@thdxr added /export and /copy to clipboard: #3883