You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]: New endpoint for v2 configuration only #58495
Thanks for the suggestion! As I understand it, you'd like a published JSON schema that describes only the v2 configuration, e.g. at https://opencode.ai/v2/config.json, separate from the current https://opencode.ai/config.json.
For context: https://opencode.ai/config.json is currently built on purpose to accept both v1 and v2 configs, since v2 reads v1 fields and converts them when it loads the config. v1-only fields are marked as deprecated rather than rejected. A strict v2-only schema would let editors flag leftover v1 keys in a fully migrated config. If that's your use case, or if you have a different one, a short note on what you need it for would help.
Activity
opencode-agent commentedon Oct 23, 2026
Thanks for the suggestion! As I understand it, you'd like a published JSON schema that describes only the v2 configuration, e.g. at
https://opencode.ai/v2/config.json, separate from the currenthttps://opencode.ai/config.json.For context:
https://opencode.ai/config.jsonis currently built on purpose to accept both v1 and v2 configs, since v2 reads v1 fields and converts them when it loads the config. v1-only fields are marked as deprecated rather than rejected. A strict v2-only schema would let editors flag leftover v1 keys in a fully migrated config. If that's your use case, or if you have a different one, a short note on what you need it for would help.Related:
/v2/config.json; it was closed without being merged, and the combined schema shipped instead/config.jsonaccept both v1 and v2The maintainers will consider this request.