anomalyco / anomalyco/opencode
[FEATURE]: Reopen plugin enable/disable support; PR #12490 remains unmerged
@kitlangton is already working on this.
Since Aug 23, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Feature has not been delivered yet
This request follows up on #7687, #11743, and the still-open PR #12490.
- #11743 proposed
disabled_plugins, plusplugin list,plugin disable, andplugin enablecommands. - In this comment, the author acknowledged that the request duplicated #7687, closed #11743, and stated that they would work on a PR.
- PR #12490 was subsequently opened to implement the feature and is still open and unmerged.
- Nevertheless, #7687 was closed by
github-actions[bot]ascompletedon April 4, 2026. - As of OpenCode 1.18.21, the feature is still absent: the official config schema has
pluginanddisabled_providers, but nodisabled_plugins; the CLI also has no plugin list/enable/disable management commands.
Use case
Users need to keep a plugin declaration for a reversible configuration while temporarily preventing the plugin from loading.
A concrete example is migrating from LM Studio to oMLX. The LM Studio provider can be disabled with disabled_providers, but the opencode-lmstudio plugin must currently be removed from the plugin array to stop it from loading. This loses the declarative record from valid JSON. JSON comments are not available, and switching to JSONC solely for this workaround should not be necessary.
Desired configuration:
{
"plugin": [
"opencode-lmstudio",
"@warp-dot-dev/opencode-warp"
],
"disabled_plugins": [
"opencode-lmstudio"
]
}
Requested action
Please reopen #7687 until the feature is actually delivered and review/merge PR #12490. If that PR is no longer suitable for the current codebase, please provide the required changes or invite a refreshed PR instead of leaving the tracking issue marked as completed.
Acceptance criteria
- Add
disabled_plugins: string[]to the supported configuration schema. - Skip loading external plugins whose configured package/module identifier is listed in
disabled_plugins. - Add CLI commands to list, disable, and enable configured plugins without uninstalling them.
- Preserve existing
pluginentries when disabling a plugin. - Document the feature and add configuration/plugin-loading tests.
Related: #7687, #11743, #12490
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.