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
Desktop app uses Windows file picker for projects when connected to WSL2 server #25264
When the OpenCode Desktop app connects to a server running inside WSL2 (via http://localhost:4096), clicking "Add Project" opens a Windows native file picker that only browses Windows drives (C:\, D:\, etc.). WSL2 paths like /home/user/project are not accessible. The only workaround is to start opencode serve from inside the target project directory, which defeats the purpose of the desktop app's project management.
What did you expect to happen?
When connected to a WSL2 server, the project picker should detect that the remote environment is Linux and either:
Open a WSL-aware directory browser, or
Provide a text input field where the user can type a WSL2 absolute path (e.g., /home/user/projects/my-repo).
Steps to reproduce
In WSL2, start a server:
opencode serve --hostname 0.0.0.0 --port 4096
On Windows, open OpenCode Desktop and connect to http://localhost:4096.
Click "+ Add Project" in the sidebar.
A Windows file dialog opens — WSL2 directories are not reachable.
Activity
github-actions commentedon May 1, 2026
This issue might be a duplicate of existing issues. Please check:
If your issue is distinct from those, feel free to clarify the differences.
github-actions commentedon Jul 3, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.