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
Open Project dialog cannot access directories outside home #9795
The "Open project" dialog in the web UI is limited to the user's home directory.
It's not possible to open projects located elsewhere on the filesystem
(e.g. /develop/software).
Root Cause
The /find/file endpoint ignores the directory parameter sent by the client
File.search() always searches within Instance.directory
The dialog component doesn't properly handle absolute path input
Steps to Reproduce
Run opencode web
Press Cmd+O / Ctrl+O to open "Open project" dialog
Type /develop or any absolute path outside home
Dialog shows "No folders found" or only returns results from home
Expected Behavior
Typing /develop/ should list directories inside /develop/.
Related
Follow-up to #8325 which fixed the initial "No folders found" issue but
didn't address paths outside the home directory.
Reacted by KorigamiK, Thomas Raffray, Dongdong Kong, Janos Muzsi, 0x269, kuze6969 and CGArtLab
This is a huge headache for Windows users, and it's been 3 weeks since someone first reported. We even have 3 open PRs trying to solve this issue.
I don't see the reason for setting it aside for so long, especially considering the rapid iteration of this project. This should definitely be prioritized.
The problem was solved in old UI but in new UI (with tabs) you can no longer open projects outside $HOME.
I like to keep my projects in /workspace directory. Linking directory doesn't work properly. Mounting /workspace to $HOME/workspace is the only option I have: sudo mount --bind /workspace $HOME/workspace
I can also report that file picker is broken for the current web UI. I am launching opencode from my $HOME dir on Debian, I have all my projects, or links to projects, in there. The "add project" window only sees 1/10th of the dirs.
This is the third outstanding issue I have found in opencode, and I have only been using it for two days.
Activity
github-actions commentedon Jan 21, 2026
This issue might be a duplicate of existing issues. Please check:
Related to #8325 which was recently closed (2026-01-21) as a partial fix but appears to have not fully addressed paths outside the home directory.
Feel free to ignore if your specific case differs from these.
fix(web): allow opening projects outside home directory
djdembeck commentedon Jan 22, 2026
Would be great to get this merged, seeing this issue as well
truemogician commentedon Jan 24, 2026
This is a huge headache for Windows users, and it's been 3 weeks since someone first reported. We even have 3 open PRs trying to solve this issue.
I don't see the reason for setting it aside for so long, especially considering the rapid iteration of this project. This should definitely be prioritized.
tisDDM commentedon Jan 27, 2026
Fixed upstream in a8018dc and 972cb01 (v1.1.33+). Verified working.
eadwu commentedon Feb 8, 2026
Just putting it here that it hasn't been fixed.
Simple Docker container that has
/workspaceas workdir and it never shows up regardless of working directory.Putting it under
/rootmakes it show up fine.uukelele commentedon Jul 20, 2026
This is also a problem when working from GitHub codespaces as the main directory is
/workspaces/<repo-name>instead of/home/userArsalankhan315 commentedon Jul 20, 2026
Arsalankhan315 commentedon Jul 20, 2026
AliSananS commentedon Sep 24, 2026
The problem was solved in old UI but in new UI (with tabs) you can no longer open projects outside $HOME.
I like to keep my projects in
/workspacedirectory. Linking directory doesn't work properly. Mounting/workspaceto$HOME/workspaceis the only option I have:sudo mount --bind /workspace $HOME/workspaceCharlesScoville commentedon Oct 13, 2026
I can also report that file picker is broken for the current web UI. I am launching opencode from my $HOME dir on Debian, I have all my projects, or links to projects, in there. The "add project" window only sees 1/10th of the dirs.
This is the third outstanding issue I have found in opencode, and I have only been using it for two days.
... this whole project is broken.