Skip to content

docs: clarify opencode.json/opencode.jsonc as supported config locations#21944

Open
bensantora wants to merge 1 commit intoanomalyco:devfrom
bensantora:fix/issue-18953
Open

docs: clarify opencode.json/opencode.jsonc as supported config locations#21944
bensantora wants to merge 1 commit intoanomalyco:devfrom
bensantora:fix/issue-18953

Conversation

@bensantora
Copy link
Copy Markdown

@bensantora bensantora commented Apr 10, 2026

Issue for this PR

Closes #18953

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Description:
Fixed the config documentation to clarify that .opencode/opencode.json and .opencode/opencode.jsonc are loaded as config sources, not just the directory contents (agents, commands, plugins).

How did you verify your code works?

This was just an adjustment to the documentation. Item 5 in the config precedence list omitted opencode.json / opencode.jsonc as supported locations under .opencode/. The implementation in config.ts does loads them — the docs just didn't say so.

Screenshots / recordings

If this is a UI change, please include a screenshot or recording.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

If you do not follow this template your PR will be automatically rejected.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Config docs should clarify that .opencode/opencode.json{,c} is loaded as a config source

1 participant