Skip to content

[FEATURE]: Add ability to download generated file from remote server in Desktop preview #58957

Closed as duplicate

Description

@grzesiek1711

Feature hasn't been suggested before.

  • 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

  1. Connect OpenCode Desktop (macOS, 2.1.4) to remote server (Linux 6.8.12-9-pve, 2.1.4).
  2. Ask agent to generate a text file (e.g. test.txt) on the server.
  3. Open the file in the right-side preview pane.
  4. Right-click the text preview - no menu appears, no Save/Download button.
  5. Compare: open a generated PDF -> Save works; open a generated image -> "Save image as" works.
  6. 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

Activity

  1. opencode-agent commented on Oct 25, 2026

    @opencode-agent
    Contributor

    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:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions