Repository navigation
Saved-file conversation handoffs for OpenCode workflows: a small Markdown converter preview #1834
Eldorado-ling
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
For OpenCode workflows where you already exported a session and want a readable conversation to pass to a colleague or another agent, I maintain a small standalone preview: OpenCode Share.
It reads the saved, supported v2 JSON file and keeps user/assistant text in source order. Tools, reasoning, shell/system notices, attachments and session metadata are left out, with omission counts in the output. Retained text is copied rather than summarized.
Conversion uses Python 3.10+ with no third-party packages or running server. The preview download includes an invented input that can be tried without a real session:
The example turns four source records into two conversation messages. This is a manual saved-file step; I have not tested a Slim runtime integration. It does not restore agent state or recover messages missing from the export. Keep the raw JSON for native re-import, and review the filtered output before sharing: secrets in visible text remain.
For a handoff like this, would a conversation-only file be useful, or do you need selected title/time metadata retained? A workflow description or invented example is enough—please do not post private transcripts.
All reactions