opencode: add JSON schema reference to config.json output

- Automatically include "$schema": "https://opencode.ai/config.json" in the generated
  opencode config.json file
- Update documentation to mention the added schema property
- Add corresponding "$schema" entry in test config.json file for validation purposes

Closes #7506
This commit is contained in:
Thierry Delafontaine 2025-07-20 12:23:15 +02:00 committed by Austin Horstman
parent 1df662dde0
commit 64796151f7
2 changed files with 8 additions and 1 deletions

View file

@ -1,4 +1,5 @@
{
"$schema": "https://opencode.ai/config.json",
"autoshare": false,
"autoupdate": true,
"model": "anthropic/claude-sonnet-4-20250514",