You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of OpenCode 1.18.21, the feature is still absent: the official config schema has plugin and disabled_providers, but no disabled_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.
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 plugin entries when disabling a plugin.
Document the feature and add configuration/plugin-loading tests.
Partly done: V2's plugins config list accepts a -name entry that disables a plugin while keeping it declared (packages/core/src/config/plugin/source.ts, packages/core/src/plugin/supervisor.ts). There are no CLI enable/disable commands yet, and the docs don't mention the -name form. Closing this one. If you need the CLI commands, a new issue just for those is easier to pick up.
Activity
neriousy commentedon Oct 22, 2026
Partly done: V2's
pluginsconfig list accepts a-nameentry that disables a plugin while keeping it declared (packages/core/src/config/plugin/source.ts, packages/core/src/plugin/supervisor.ts). There are no CLI enable/disable commands yet, and the docs don't mention the-nameform. Closing this one. If you need the CLI commands, a new issue just for those is easier to pick up.