Projects outside homedir are not loaded #9374

Closed
opened 2026-02-16 18:12:18 -05:00 by yindo · 4 comments
Owner

Originally created by @kvokka on GitHub (Feb 14, 2026).

Originally assigned to: @thdxr on GitHub.

Description

All the projects that are represented in TUI must be in ~, but since i'm using the tool from devcontainer, the reasonable default for the project homedir is /workspace, and the project is NOT included in the project list and i can not add it manually or change anything, but open a few different sessions.

As the desirable fix, it would be great to see some var, that allows to extend or override (for my case, any option will be ok) the hardcoded home_dir

Attach the screenhot for clarity

Plugins

OpenCode version

2.0.2

Steps to reproduce

  1. Open WEB interface
  2. try to pick the project that is outside of ~
  3. 😢

Screenshot and/or share link

Image

Operating System

Macos 15.5 + Ubuntu 24.04 (for devcontainer)

Terminal

iTerm2

Originally created by @kvokka on GitHub (Feb 14, 2026). Originally assigned to: @thdxr on GitHub. ### Description All the projects that are represented in TUI must be in `~`, but since i'm using the tool from devcontainer, the reasonable default for the project homedir is `/workspace`, and the project is NOT included in the project list and i can not add it manually or change anything, but open a few different sessions. As the desirable fix, it would be great to see some var, that allows to extend or override (for my case, any option will be ok) the hardcoded home_dir Attach the screenhot for clarity ### Plugins - ### OpenCode version 2.0.2 ### Steps to reproduce 1. Open WEB interface 2. try to pick the project that is outside of `~` 3. 😢 ### Screenshot and/or share link <img width="1188" height="756" alt="Image" src="https://github.com/user-attachments/assets/9e03a2ee-30dd-4c1e-89ff-0d0f48241f61" /> ### Operating System Macos 15.5 + Ubuntu 24.04 (for devcontainer) ### Terminal iTerm2
yindo added the bugweb labels 2026-02-16 18:12:18 -05:00
yindo closed this issue 2026-02-16 18:12:18 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 14, 2026):

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

  • #6978: Can not switch the project in web mode - reports the same problem with projects outside the home directory in devcontainer
  • #12392: [FEATURE]: Configurable data/history directory for repo/devcontainer - requests a feature to configure the data/project directory specifically for devcontainer use
  • #5900: Opencode doesn't work in devcontainer (M1 rosetta) - another devcontainer-related issue

You may want to check if your use case is covered by any of these existing issues or if they should be consolidated.

@github-actions[bot] commented on GitHub (Feb 14, 2026): This issue might be a duplicate of existing issues. Please check: - #6978: Can not switch the project in web mode - reports the same problem with projects outside the home directory in devcontainer - #12392: [FEATURE]: Configurable data/history directory for repo/devcontainer - requests a feature to configure the data/project directory specifically for devcontainer use - #5900: Opencode doesn't work in devcontainer (M1 rosetta) - another devcontainer-related issue You may want to check if your use case is covered by any of these existing issues or if they should be consolidated.
Author
Owner

@neriousy commented on GitHub (Feb 15, 2026):

I believe you can type /path/to/project without having to rely on the ~

@neriousy commented on GitHub (Feb 15, 2026): I believe you can type `/path/to/project` without having to rely on the `~`
Author
Owner

@kvokka commented on GitHub (Feb 15, 2026):

And you are right! 🤦 Thank you

@kvokka commented on GitHub (Feb 15, 2026): And you are right! 🤦 Thank you
Author
Owner

@neriousy commented on GitHub (Feb 15, 2026):

Please close the issue if no code changes are needed!

@neriousy commented on GitHub (Feb 15, 2026): Please close the issue if no code changes are needed!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9374