Description
In opencode web, opening Add Project initially shows "No folders found" even though the startup/home directory contains folders.
The empty filter is sent to /find/file as query=, which returns an empty list. Entering a path makes folders appear, so project selection is not discoverable on first open.
Plugins
Reproduces without plugins.
OpenCode version
1.18.2
Steps to reproduce
- Run
opencode web --hostname 0.0.0.0 --port 8088.
- Open the Web UI.
- Click Add Project.
- Observe that the picker says no folders were found.
Expected: list folders in the startup/home directory.
Actual: empty picker until text is entered.
Screenshot and/or share link
Network request: GET /find/file?directory=<home>&query=&type=directory&limit=50 returns [].
Operating System
macOS
Terminal
iTerm2
Description
In
opencode web, opening Add Project initially shows "No folders found" even though the startup/home directory contains folders.The empty filter is sent to
/find/fileasquery=, which returns an empty list. Entering a path makes folders appear, so project selection is not discoverable on first open.Plugins
Reproduces without plugins.
OpenCode version
1.18.2
Steps to reproduce
opencode web --hostname 0.0.0.0 --port 8088.Expected: list folders in the startup/home directory.
Actual: empty picker until text is entered.
Screenshot and/or share link
Network request:
GET /find/file?directory=<home>&query=&type=directory&limit=50returns[].Operating System
macOS
Terminal
iTerm2