Skip to content

[Bug]: opencode.json discoverability #202

@s-KaiNet

Description

@s-KaiNet

App Variant

Electron

Operating System & Version

win11

Issue Summary

The opencode.json is ignored under certain conditions

Steps to Reproduce

I have a solution, which is git-controlled. The root of the solution contains folders with specific projects. Every folder has it's own opencode.json with a set of mcps and other things. I don't keep opencode.json in the root (in the same folder where .git is located).

  1. Run the CodeNomad from project folder - it shows no mcp, despite there is a opencode.json file.
  2. If you run opencode from that folder, it correctly shows running mcps.
  3. If I add opencode.json in the root folder, then CodeNomad loads that root config and ignores the dedicated opencode.json in sub-folder (from where CodeNomad is running).

Expected Behavior

When you run CodeNomad in a folder with opencode.json, it should read and load it.

Logs & Screenshots

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    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