Feature hasn't been suggested before.
Describe the enhancement you want to request
I want to split my opencode.jsonc into separate files. Right now if you have a lot of MCP servers, agent configs, or provider settings, the single config file gets long and messy. You can work around it with .opencode/ directory configs and OPENCODE_CONFIG env vars, but those are workarounds, not a proper composition mechanism.
I'd like a field that lets you reference other JSON/JSONC files and have them merged in
Examples:
Extended files would merge in array order, with the main config taking precedence on conflicts. Extended files should be able to their own files too, with circular reference detection so it doesn't loop forever.
Feature hasn't been suggested before.
Describe the enhancement you want to request
I want to split my opencode.jsonc into separate files. Right now if you have a lot of MCP servers, agent configs, or provider settings, the single config file gets long and messy. You can work around it with .opencode/ directory configs and OPENCODE_CONFIG env vars, but those are workarounds, not a proper composition mechanism.
I'd like a field that lets you reference other JSON/JSONC files and have them merged in
Examples:
Extended files would merge in array order, with the main config taking precedence on conflicts. Extended files should be able to their own files too, with circular reference detection so it doesn't loop forever.