Skip to content

[FEATURE]: New endpoint for v2 configuration only #58495

Open

Description

@d3bt3ch

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Can we have a new schema endpoint for v2 configuration only. As an example https://opencode.ai/v2/config.json

Activity

  1. opencode-agent commented on Oct 23, 2026

    @opencode-agent
    Contributor

    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.

    Related:

    The maintainers will consider this request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions