feat: /copy slash command — copy session transcript to clipboard #296
Labels
No labels
backend
bug
chore
duplication
effort:complex
effort:medium
effort:trivial
enhancement
frontend
fullstack
priority:high
ready-for-agent
refactor
security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dries/ocman#296
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of OpenCode command parity (transparent-layer goal). OpenCode's TUI has
/copy(title "Copy session transcript") which formats the whole session and writes it to the clipboard, honouring the current thinking/tool-detail/metadata display toggles.Scope
copytoBUILTIN_COMMANDS(frontend/src/lib/commands/builtinCommands.ts).Reference
Sibling of #291 (/export): same transcript formatter, different sink (clipboard vs download).
Notes
Browser Clipboard API needs a secure context (localhost is treated as secure). Fall back to a select-and-copy or toast-with-error if write() is unavailable.