anomalyco / anomalyco/opencode

Nested Folder Issue

Open
#47,046 1 comment 0 reactions 1 assignee View on GitHub

@Hona is already working on this.

Since Sep 3, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Description
  • OpenCode Desktop v1.18.27
  • Operating System: Windows
  • Repro: Nested folder scenario (C:\Workspace parent + C:\Workspace... child projects already registered) → new session gets project_id=global, directory=C:/ instead of the intended parent project.
  • OpenCode does not show the session from C:\Workspace after the app closed
Plugins

No response

OpenCode version

1.18.27

Steps to reproduce
  1. Multiple child projects in a parent folder (eg: Parent folder is C:\Workspace, Child folders C:\Workspace\API, C:\Workspace\UI etc.)
  2. Register UI and API folders as a separate projects
  3. Register 'C:\Workspace' folder as a new project
Screenshot and/or share link

No response

Operating System

Windows 11

Terminal

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.