You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]: The WorkSpace settings in OpenCode Web #14656
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
It is impossible to set and specify the default WorkSpace to enter through any parameters of OpenCode Web. Currently, there are no configuration items or command-line parameters available for this purpose. At present, one can enter the WorkSpace through the URL (base64 encoded path), but it will not create a new WorkSpace in the left sidebar. Currently, a function that supports setting the WorkSpace in OpenCode Web is urgently needed.
Reacted by Dmitry Esenin, Jeffrey Clark, XanderBrooks, xuxiaofei820825, guevaran, Rob and stefaneidelloth
Web mode: project selection screen shows / and hides actual workspace path (Docker)
Description
According to the documentation, OpenCode uses the current working directory as the project root when launching in web mode.
However, when running OpenCode in web mode inside Docker, the UI shows a project selection screen that does not reflect the actual workspace directory.
Instead, it shows / as a recent project, which is misleading.
Screenshot
Observed behavior in the UI:
"Recent projects" shows /
No indication of the actual working directory (/home/opencode/workspace)
No visible link between the UI and the configured workspace
Expected behavior
One of the following:
Automatically open the working directory (/home/opencode/workspace) as the active project
OR clearly display something like:
Current workspace: /home/opencode/workspace
OR list the mounted workspace directory instead of /
Actual behavior
A project selection screen is shown
Only / appears under "Recent projects"
The actual workspace path is not visible anywhere
User must manually guess or re-select the correct directory
Why this matters
This creates confusion, especially in containerized environments:
The working directory is explicitly set (working_dir)
Activity
gitrequests commentedon Mar 22, 2026
Web mode: project selection screen shows
/and hides actual workspace path (Docker)Description
According to the documentation, OpenCode uses the current working directory as the project root when launching in web mode.
However, when running OpenCode in web mode inside Docker, the UI shows a project selection screen that does not reflect the actual workspace directory.
Instead, it shows
/as a recent project, which is misleading.Screenshot
Observed behavior in the UI:
//home/opencode/workspace)Expected behavior
One of the following:
/home/opencode/workspace) as the active project/Actual behavior
/appears under "Recent projects"Why this matters
This creates confusion, especially in containerized environments:
working_dir)This is particularly problematic for:
Docker setup
Suggested improvements
/as the default project when a working directory is explicitly setThanks!
gitrequests commentedon Mar 22, 2026
Related issues:
github-actions commentedon Jul 4, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.