Skip to content

Missing project in workspace: Only 5 projects shown instead of 6 #16835

@trry-hub

Description

@trry-hub

Description

When working in a workspace with 6 projects, opencode only displays 5 projects in the project picker. The missing project is feature-online-interactive-cases, which is located in a different parent directory (/Users/trry/6bt/demand/) compared to the other 5 projects (/Users/trry/6bt/在线病例互动内容征集/).

Expected behavior: All 6 projects should be visible in the project picker, regardless of their parent directory location.

Actual behavior: Only 5 projects are shown. The project in a different parent directory is not discovered.

Comparison with Claude Code: Claude Code correctly identifies all 6 projects:

  • Primary: /Users/trry/6bt/在线病例互动内容征集/ksh-factory_vue
  • Additional: qxs-factory_vue3, qxs-finance-review, qxs-podcast, ksh-doctor
  • Missing in opencode: /Users/trry/6bt/demand/feature-online-interactive-cases

Plugins

None

OpenCode version

Latest version (as of 2026-03-10)

Steps to reproduce

  1. Create a workspace with multiple projects in one parent directory (e.g., /Users/trry/6bt/在线病例互动内容征集/)
  2. Add another project in a different parent directory (e.g., /Users/trry/6bt/demand/feature-online-interactive-cases)
  3. Launch opencode and check the project picker
  4. Observe that only projects from the first parent directory are shown
  5. Verify all projects exist using ls -la in the parent directories

Screenshot and/or share link

Project structure:

/Users/trry/6bt/在线病例互动内容征集/
├── ksh-doctor/
├── ksh-factory_vue/          (current working directory)
├── qxs-factory_vue3/
├── qxs-finance-review/
└── qxs-podcast/

/Users/trry/6bt/demand/
└── feature-online-interactive-cases/  (NOT shown in opencode)

Operating System

macOS (Darwin 25.3.0)

Terminal

VSCode integrated terminal (using opencode VSCode extension)

Metadata

Metadata

Assignees

Labels

coreAnything pertaining to core functionality of the application (opencode server stuff)

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions