Summary
Add zero plugins enable <id> and zero plugins disable <id> so installed plugins can be toggled via the enabled field in plugin.json without removing them.
Motivation
Hooks and MCP already support enable/disable. Plugins currently require remove/re-add (or hand-editing plugin.json) to deactivate. EXTENDING.md previously called this out as a gap.
Proposed behavior
zero plugins enable <id> / zero plugins disable <id>
- Flags:
--user (user plugins only), --json
- Idempotent: already-enabled / already-disabled reports a clear no-op message
- Project plugins take precedence over user plugins unless
--user is set
- Preserve existing
plugin.json file mode when rewriting
Related PR
Notes for maintainers
Please add the issue-approved label if this scope is accepted so the linked community PR can proceed under CONTRIBUTING.md.
Summary
Add
zero plugins enable <id>andzero plugins disable <id>so installed plugins can be toggled via theenabledfield inplugin.jsonwithout removing them.Motivation
Hooks and MCP already support enable/disable. Plugins currently require remove/re-add (or hand-editing
plugin.json) to deactivate. EXTENDING.md previously called this out as a gap.Proposed behavior
zero plugins enable <id>/zero plugins disable <id>--user(user plugins only),--json--useris setplugin.jsonfile mode when rewritingRelated PR
Notes for maintainers
Please add the
issue-approvedlabel if this scope is accepted so the linked community PR can proceed under CONTRIBUTING.md.