Skip to content

feat(tui): add /export and /copy commands#3883

Merged
rekram1-node merged 3 commits into
anomalyco:devfrom
paralin:fix-export
Nov 5, 2025
Merged

feat(tui): add /export and /copy commands#3883
rekram1-node merged 3 commits into
anomalyco:devfrom
paralin:fix-export

Conversation

@paralin
Copy link
Copy Markdown
Contributor

@paralin paralin commented Nov 4, 2025

Fixes: #3748

Restores old /export behavior
Adds a /copy to clipboard command

@paralin paralin changed the title feat: add export to keyboard and agent guidelines feat: add export to clipborad Nov 4, 2025
@paralin paralin changed the title feat: add export to clipborad feat: add export to clipboard Nov 4, 2025
@paralin paralin changed the title feat: add export to clipboard feat(tui): add /export to clipboard command Nov 4, 2025
Fixes: anomalyco#3748

Signed-off-by: Christian Stewart <christian@aperture.us>
Renames the clipboard export functionality from /export to /copy to make
room for a new /export command that will save to file and open in EDITOR.
Adds a new /export command that:
- Formats the session transcript as markdown
- Saves to ~/.local/share/opencode/exports/ directory
- Opens the file with $EDITOR if available for editing
- Allows user to review/edit before finalizing

The /copy command now handles clipboard-only operations while /export
handles file-based exports with editor integration.
@paralin paralin changed the title feat(tui): add /export to clipboard command feat(tui): add /export and /copy commands Nov 4, 2025
@rekram1-node rekram1-node merged commit b90c0b5 into anomalyco:dev Nov 5, 2025
3 checks passed
xywsxp pushed a commit to xywsxp/opencode that referenced this pull request Apr 24, 2026
Signed-off-by: Christian Stewart <christian@aperture.us>
Rwanbt pushed a commit to Rwanbt/opencode that referenced this pull request May 5, 2026
Signed-off-by: Christian Stewart <christian@aperture.us>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Export functionality seems to be missing in opentui version

2 participants