anomalyco / anomalyco/opencode
Nested Folder Issue
Open
@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
- Multiple child projects in a parent folder (eg: Parent folder is C:\Workspace, Child folders C:\Workspace\API, C:\Workspace\UI etc.)
- Register UI and API folders as a separate projects
- Register 'C:\Workspace' folder as a new project
Screenshot and/or share link
No response
Operating System
Windows 11
Terminal
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.