Skip to content

opencode web UI cannot browse or select folders outside the default user profile (e.g., D:\code\python) #6490

Closed as not planned

Description

@arnabclir

Description

when I try to add a new project in my D drive in windows via the web opencode interface running the "opencode web --port 4096" command, it doesn't allow me to enter windows path and no good way to select it.

it is only showing me things like Downloads folder, Contacts, etc so I am presuming it just shows things inside C:/Users/ folder, for reference this is what I used in terminal->

PS D:\code\python> opencode web --port 4096

AI translation of the issue:

Description
When launching the OpenCode web UI with

PS D:\code\python> opencode web --port 4096

the “New Project” dialog only shows directories that belong to the current Windows user profile (e.g., C:\Users<user>\Downloads, Contacts, …).
It is impossible to type or browse a path that resides on another drive (e.g., D:\code\python). As a result I cannot create a project in the directory where I actually want to work.

OpenCode version

1.0.218 windows

Steps to reproduce

No response

Screenshot and/or share link

Image Image

Operating System

Windows 10

Terminal

Windows Terminal

Activity

  1. github-actions commented on Dec 31, 2025

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    • opencode web - thinks it is in root (/) path #6336: opencode web - thinks it is in root (/) path - While this issue focuses on Linux path detection, it appears to be related to web UI path handling limitations, similar to your experience with the project dialog not allowing navigation outside default directories.

    Feel free to ignore if this doesn't address your specific case.

  2. terabytesoftw commented on Jan 7, 2026

    @terabytesoftw

    Using Omarcy with OpenCode Web is great, but it doesn't allow navigating directories when trying to open a new project, only the first level, same issue.

    Thks.

  3. truemogician commented on Jan 10, 2026

    @truemogician

    Using window.showDirectoryPicker instead of the current lister would be a clean solution, though a fallback approach may still be needed to support Firefox and Safari.

  4. IgorWarzocha commented on Feb 3, 2026

    @IgorWarzocha

    It seems like it could be related to using spaces in fuzzy search? Web does not fuzzy-search outside of home dir so you must use the actual dir. Solution would be to first fuzzy search and then tab to autocomplete. Unsure if this is the actual solution, but this worked for me

    Image Image
  5. rajtslegr commented on Feb 10, 2026

    @rajtslegr

    It seems like it could be related to using spaces in fuzzy search? Web does not fuzzy-search outside of home dir so you must use the actual dir. Solution would be to first fuzzy search and then tab to autocomplete. Unsure if this is the actual solution, but this worked for me

    Yeah, this is right, tab opens the folder you are currently on.

  6. jesperordrup commented on Feb 13, 2026

    @jesperordrup

    I can't tab on mobile?

  7. titusfx commented on Apr 1, 2026

    @titusfx

    It seems like it could be related to using spaces in fuzzy search? Web does not fuzzy-search outside of home dir so you must use the actual dir. Solution would be to first fuzzy search and then tab to autocomplete. Unsure if this is the actual solution, but this worked for me

    Image Image

    Thanks for the workaround

  8. cielhaidir commented on Apr 9, 2026

    @cielhaidir

    i have workaround in windows, open powershell as Administrator and run opencode web there. Works for me tho ;D

  9. CPIDLE commented on Apr 28, 2026

    @CPIDLE

    Workaround for Windows: the picker silently rejects backslashes but accepts forward slashes. Type the path with / instead of \.

    Doesn't work:  D:\code\python
    Works:         D:/code/python
    

    Tested on Windows 11 with opencode 1.3.11 (winget install).

    Still a bug — the input field should normalize separators or at least surface why a path was rejected — but this unblocks people in the meantime.

  10. removed
    bugSomething isn't working
    webRelates to opencode on web / desktop
    on May 3, 2026
  11. silvertakana commented on Jun 11, 2026

    @silvertakana

    i have workaround in windows, open powershell as Administrator and run opencode web there. Works for me tho ;D

    Oh this works for me too!

  12. github-actions commented on Aug 10, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions