Can not switch the project in web mode #4251

Open
opened 2026-02-16 17:43:10 -05:00 by yindo · 3 comments
Owner

Originally created by @kvokka on GitHub (Jan 5, 2026).

Originally assigned to: @adamdotdevin on GitHub.

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

Originally created by @kvokka on GitHub (Jan 5, 2026). Originally assigned to: @adamdotdevin on GitHub. ### 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 <img width="690" height="610" alt="Image" src="https://github.com/user-attachments/assets/ef545d4f-f079-490d-9062-5b54bb5c6f25" /> ```shell $ 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_
yindo added the bugweb labels 2026-02-16 17:43:10 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 5, 2026):

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

  • #6307: Cannot 'open project' in Web mode (closed, but related UI issue)
  • #6490: opencode web UI cannot browse or select folders outside the default user profile (Windows path selection limitation)
  • #6336: opencode web - thinks it is in root (/) path (related path recognition issue)

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.

@github-actions[bot] commented on GitHub (Jan 5, 2026): This issue might be a duplicate of existing issues. Please check: - #6307: Cannot 'open project' in Web mode (closed, but related UI issue) - #6490: opencode web UI cannot browse or select folders outside the default user profile (Windows path selection limitation) - #6336: opencode web - thinks it is in root (/) path (related path recognition issue) 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.
Author
Owner

@ebalo55 commented on GitHub (Jan 18, 2026):

same issue here

@ebalo55 commented on GitHub (Jan 18, 2026): same issue here
Author
Owner

@kriskonina commented on GitHub (Jan 30, 2026):

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

@kriskonina commented on GitHub (Jan 30, 2026): one workaround that worked for me is to modify the `opencode.global.dat:server` key in localStorage
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4251