opencode icon indicating copy to clipboard operation
opencode copied to clipboard

[FEATURE]: Manage plugins like providers in configuration

Open itlackey opened this issue 1 week ago • 1 comments

Feature hasn't been suggested before.

  • [x] I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

It would be great to be able to override global plugin settings. This would work similar to providers to allow a default global set of plugins, but allow full control at a project level to customize what is available to that project. It could follow the same (or very similar) configuration pattern.

Global Configuration

{
  "$schema": "https://opencode.ai/config.json",
  "plugin": ["@some/plugin", "@different/plugin"],
}

Project Configuration

{
  "$schema": "https://opencode.ai/config.json",
  "disabled_plugins": [
    "@some/plugin" // Overrides the global config and does not load this plugin
  ],
  "enabled_plugins": [
    "@project/plugin",
    "@different/plugin" //Optional since already in global config
  ]
}

itlackey avatar Jan 14 '26 01:01 itlackey

This issue might be a duplicate of existing issues. Please check:

  • #4393: [FEATURE]: Allow plugins to have their own configuration - nearly identical feature request for plugin configuration
  • #7687: [FEATURE]: Disable plugins via cli - addresses the enable/disable plugins aspect
  • #5013: How to enable/disable mcp server per project - shows the same configuration pattern needed (global default with project override)
  • #7136: Config Flag to mark part of the global config as non-overridable per project - related consideration for project-level overriding

Feel free to ignore if none of these address your specific case.

github-actions[bot] avatar Jan 14 '26 01:01 github-actions[bot]