[PR #4766] support loading local .opencode/config.json config file name #11108

Closed
opened 2026-02-16 18:15:54 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/4766

State: closed
Merged: No


The config.json filename is supported in the global XDG config path, but not from project-specific path (.opencode/config.json ). This PR simply allows config.json to be supported inside .opencode dirs.

The name opencode.json makes sense when only having the json file in the root, but looks a little silly when it's in: .opencode/opencode.json

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/4766 **State:** closed **Merged:** No --- The `config.json` filename is supported in the global XDG config path, but not from project-specific path (`.opencode/config.json` ). This PR simply allows `config.json` to be supported inside `.opencode` dirs. The name `opencode.json` makes sense when only having the json file in the root, but looks a little silly when it's in: `.opencode/opencode.json`
yindo added the pull-request label 2026-02-16 18:15:54 -05:00
yindo closed this issue 2026-02-16 18:15:54 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11108