Skip to content

Can not switch the project in web mode #6978

@kvokka

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

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