Skip to content

Folder restriction in Web UI #25685

Description

@driksed

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Feature Request: Folder restriction in Web UI

Description:
When launching opencode web from a specific folder, users can still browse the entire filesystem when creating a new project. It would be great to have a "locked" or "read-only" mode that restricts access to only the current working directory.

Use case:
I want to share OpenCode Web with a colleague, but only give them access to a specific project folder, not my entire filesystem.

Proposed solution:
Either:

  1. Add a --project flag that locks the web UI to a specific directory
  2. Or disable the "New Project" / file browser in web UI when a working directory is specified

Workaround (if any):
Currently using opencode attach but it's not ideal

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions