Skip to content

[BUG] Cannot open project from opencode server in Opencode Desktop #18040

Description

@damho1104

Description

Summary

When using OpenCode Desktop connected to a remote opencode server, clicking "Open Project" shows folders from the local machine instead of folders from the remote server.

However, when connecting to the same server through a web browser and performing the same action, the project picker correctly shows and searches the server's filesystem.

This makes the desktop app behave differently from the browser client and prevents opening remote projects as expected.

Actual behavior

In OpenCode Desktop, the project picker shows/searches local filesystem paths.

Example from screenshot:

  • local-looking path shown: ~/Postman/files/

Expected behavior

The project picker should show/search the remote server's filesystem, the same way it does in the browser client.

Example from browser screenshot:

  • remote server path shown: ~/src/omni/

Comparison

  • Desktop app: shows local folders
  • Web browser: shows remote server folders correctly

This suggests the desktop client may be resolving the project list/search against the local machine instead of the connected server.

Environment

  • Client: OpenCode Desktop
  • Server: opencode server
  • Access method comparison:
    • OpenCode Desktop -> incorrect behavior
    • Web browser -> correct behavior
  • Remote server address used in screenshots: 192.168.0.40:1455
$ opencode web --hostname 0.0.0.0 --port 1455 --log-level INFO

Notes

The same server is used in both cases.
Only the desktop client shows the wrong filesystem context, while the browser client works as expected.

Plugins

oh-my-opencode, opencode-openai-codex-auth

OpenCode version

v1.2.27

Steps to reproduce

  1. Run opencode server on a remote machine.
  2. Connect to that server from OpenCode Desktop.
  3. Click "Open Project".
  4. Search for a folder/project name (example: omni).
  • The path is ~/src/omni

Screenshot and/or share link

Screenshots

Desktop app (incorrect: local filesystem is shown)

Image

Browser (correct: remote server filesystem is shown)

Image

Operating System

Server: Ubuntu 22.04 LTS, Local: macOS 26.2

Terminal

No response

Metadata

Metadata

Assignees

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