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]: Add ability to download generated file from remote server in Desktop preview #58957
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
Description
When connected to a remote OpenCode server from OpenCode Desktop, text file (source code file) preview in the right pane has no right-click actions and no way to download/save the file.
PDF preview can be saved, image preview has "Save image as" on right-click. For text files, user must select-all + copy. Other (binary) files are now possible to download at all.
On local workspace the same text preview has "Open in Finder" and "Copy path" on right-click. On remote setup right-click shows nothing.
Impact: generated text files stay on the server with no direct download path from Desktop UI.
Plugins
OpenCode version
2.1.4 (both Desktop client on macOS and remote server v2.1.4)
Steps to reproduce
Connect OpenCode Desktop (macOS, 2.1.4) to remote server (Linux 6.8.12-9-pve, 2.1.4).
Ask agent to generate a text file (e.g. test.txt) on the server.
Open the file in the right-side preview pane.
Right-click the text preview - no menu appears, no Save/Download button.
Compare: open a generated PDF -> Save works; open a generated image -> "Save image as" works.
Compare: same action on local workspace -> right-click shows "Open in Finder" and "Copy path".
Operating System
Client: macOS (Desktop 2.1.4)
Server: Linux 6.8.12-9-pve x86_64 GNU/Linux
Terminal
OpenCode Desktop app (not terminal TUI). Server shell: /bin/bash
Thanks for the detailed request, @grzesiek1711! You're asking for a way to download or save files generated on a remote OpenCode server straight from the Desktop file preview. Text files currently have no context menu or Save action on remote setups, and binary files can't be downloaded at all.
For context: the "Open in Finder" / "Copy path" menu only appears for local servers on purpose, because those actions work on local paths. A download action for remote servers would be a new feature, not a fix. The maintainers will consider it.
Activity
opencode-agent commentedon Oct 25, 2026
Thanks for the detailed request, @grzesiek1711! You're asking for a way to download or save files generated on a remote OpenCode server straight from the Desktop file preview. Text files currently have no context menu or Save action on remote setups, and binary files can't be downloaded at all.
For context: the "Open in Finder" / "Copy path" menu only appears for local servers on purpose, because those actions work on local paths. A download action for remote servers would be a new feature, not a fix. The maintainers will consider it.
Related issues: