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
- On Windows, run
opencode serve inside WSL
- Connect OpenCode Desktop to localhost:4096
- Switch to that server
- 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
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
opencode serveinside WSLExpected: 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