Skip to content

Docs: Share page references wrong config $schema URL (opncd.ai/config.json is 404) #15043

Closed

Description

@Jei-sKappa

Description

Hi — sorry to bother you for such a small docs nit.

On https://opencode.ai/docs/share/, the config examples use:

{ "$schema": "https://opncd.ai/config.json", "share": "manual" }

but https://opncd.ai/config.json doesn’t serve the JSON schema (it returns a “Not Found” HTML page), so editors can’t resolve/validate the schema from those snippets.

Where it is in the repo (dev branch):

  • packages/web/src/content/docs/share.mdx

Plugins

No response

OpenCode version

No response

Steps to reproduce

  1. Open https://opencode.ai/docs/share/
  2. Copy one of the JSON snippets under “Sharing”
  3. Open the $schema URL shown there: https://opncd.ai/config.json (returns Not Found HTML)
  4. Compare with https://opencode.ai/config.json (valid JSON schema)

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdocs

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions