Skip to content

Desktop add workspace uses Windows picker for WSL localhost server #27674

@0xYiliu

Description

@0xYiliu

Description

On Windows Desktop, if OpenCode connects to a server running inside WSL through localhost on port 4096, Add Workspace is treated like a local Desktop sidecar connection and opens the native Windows directory picker.

That makes it impossible to browse the WSL server filesystem through the in-app picker.

Plugins

None

OpenCode version

Desktop current dev branch

Steps to reproduce

  1. On Windows, run opencode serve inside WSL
  2. Connect OpenCode Desktop to localhost:4096
  3. Switch to that server
  4. Click Add Workspace in the sidebar

Expected: the in-app directory picker opens so the remote/WSL filesystem can be browsed.

Actual: the native Windows picker opens.

Screenshot and/or share link

None

Operating System

Windows 11 + WSL

Terminal

Windows Terminal

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions