You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]:Allow copying code or file changes from the macOS desktop app conversation history #29913
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
I recently lost some local code due to an accidental error. Fortunately, I noticed that the file changes shown in my previous conversation history within the OpenCode macOS desktop application still preserved my lost code. However, I currently cannot select or copy the code text from the app's chat interface to paste it back into my editor, which is a critical and urgent need in data-loss recovery scenarios.
Describe the solution you'd like
I would love to see a feature that allows users to copy code or file historical diffs directly from the desktop application's chat interface. Specifically:
1.Allow direct text selection and copying ($Cmd + C$) within the message bubbles showing code/file changes.
2.(Optional but awesome) Add a "Copy Code" button at the top-level container of the file change blocks.
Describe alternatives you've considered
Currently, I have to manually re-type the code by looking at the application interface, which is time-consuming and prone to human error when the code snippet is long.
Additional context
This feature would be a lifesaver for developers who accidentally overwrite their files and need to quickly rollback or recover snippets that the AI has previously generated or modified.
Activity
github-actions commentedon Jul 29, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.