[PR #9061] feat(config): support config.d/ directory for split configuration #12972

Open
opened 2026-02-16 18:17:51 -05:00 by yindo · 0 comments
Owner

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

State: open
Merged: No


Allow users to organize configuration into multiple files within a config.d/ directory. Files are loaded alphabetically and merged after the main config file, making it easier to manage modular config setups (e.g., separate files for permissions, plugins, theming).

Supports both ~/.config/opencode/config.d/ (global) and .opencode/config.d/ (project-specific) locations.

How did you verify your code works?

added testcases

Closes #9062

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/9061 **State:** open **Merged:** No --- Allow users to organize configuration into multiple files within a config.d/ directory. Files are loaded alphabetically and merged after the main config file, making it easier to manage modular config setups (e.g., separate files for permissions, plugins, theming). Supports both ~/.config/opencode/config.d/ (global) and .opencode/config.d/ (project-specific) locations. ### How did you verify your code works? added testcases Closes #9062
yindo added the pull-request label 2026-02-16 18:17:51 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12972