Skip to content

Can not switch the project in web mode #6978

Closed as not planned
Closed as not planned

Description

@kvokka

Description

opencode is executed in a devcontainer, and it works for the project where it was started. But I can not change it.
When the user clicks on the Open project button, there is no way to enter a custom path.
The only folder that is respected is ~/Library, and its subfolders, but the symlinks are not. meaning that if I make a soft symlink to /workspace/service, it's not recognised, as well as any other paths with the code. only the ~/Library is on the list.

But it would be great to have the ability to work on several projects within 1 web interface

Plugins

"opencode-gemini-auth@latest"

OpenCode version

1.1.2

Steps to reproduce

  1. start opencode serve
  2. open in the browser
  3. try to switch to another project

Screenshot and/or share link

Image
$ ll ~/Library
total 12
drwxr-xr-x  3 vscode vscode 4096 Jan  5 13:42 ./
drwxr-x--- 21 vscode vscode 4096 Jan  5 18:06 ../
lrwxrwxrwx  1 vscode vscode   18 Jan  5 13:41 backend -> /workspace/backend/
drwxr-xr-x  3 vscode vscode 4096 Jan  5 13:42 foo/
lrwxrwxrwx  1 vscode vscode   19 Jan  5 13:41 frontend -> /workspace/frontend/

It's not a duplicate of #6307

Operating System

macOS 15 on the host, ubuntu 22.04 on the dev container

Terminal

No response

Activity

  1. github-actions commented on Jan 5, 2026

    @github-actions
    Contributor

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

    These issues all relate to project/path selection and recognition in web mode. Feel free to ignore if none of these address your specific case.

  2. ebalo55 commented on Jan 18, 2026

    @ebalo55

    same issue here

  3. kriskonina commented on Jan 30, 2026

    @kriskonina

    one workaround that worked for me is to modify the opencode.global.dat:server key in localStorage

  4. jkrauss82 commented on Mar 2, 2026

    @jkrauss82

    the workaround gets overwritten when starting new.

    given the amount of confusion around this issue of opening a project within the web ui I think it needs further investigation.

    there are many open issues which are potential duplicates. it would be good if this could be solved as it is very confusing to see several folders (even hidden files) in my home dir available but none of the workspace folders.

    I expect the following behavior: when I start opencode serve within a folder, this folder and all its children are becoming part of the scope and may be opened as projects. none of the parent folders become available.

    currently, it seems to default to open the last session regardless from where I start opencode and I am not able to change the current project or open a new one.

    EDIT: even when I open a new opencode session within another folder and use this session id for navigating to it in the web ui, the project folder remains the same.

  5. github-actions commented on May 2, 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.

  6. matthewn4444 commented on May 19, 2026

    @matthewn4444

    Why is this closed when this is clearly still broken? Maybe i shouldnt use opencode anymore

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwebRelates to opencode on web / desktop

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions