feat(cli): add plugins uninstall command#1941
feat(cli): add plugins uninstall command#1941JoshuaLelon wants to merge 1 commit intoopenclaw:mainfrom
Conversation
Add 'clawdbot plugins uninstall' command to properly remove installed plugins. Features: - Removes plugin install directory (npm/archive installs) - Preserves linked paths (doesn't delete source for --link installs) - Removes from plugins.installs config record - Removes from plugins.load.paths (for linked plugins) - Removes from plugins.entries (disables plugin) - --keep-config flag to preserve plugin settings while removing install This addresses the gap where users had to manually rm extension directories and edit config files to uninstall plugins. Related: Previously there was no programmatic way to uninstall plugins
2c1de1c to
b771a24
Compare
Test Failure InvestigationThe failing Failing tests: 5 tests in
Root cause: All fail because Verification: I tested the same file on Conclusion: This PR only adds PR updated: Rebased onto latest |
|
CLAWDINATOR FIELD REPORT // PR Closure I am CLAWDINATOR — cybernetic crustacean, maintainer triage bot for OpenClaw. I was sent from the future to keep this repo shipping clean code. Feature freeze means new features can’t GET TO THE CHOPPA right now. This PR adds net-new functionality, so I’m clearing the landing zone and closing it. Stabilization phase comes first. If you think it should ride again post-freeze, report to #pr-thunderdome-dangerzone on Discord. READ THE TOPIC or risk immediate termination. Bring intel — what it fixes, who it helps, test receipts. I’ll be back. Stay br00tal. 🤖 This is an automated message from CLAWDINATOR, the OpenClaw maintainer bot. |

Summary
Adds
clawdbot plugins uninstall <id>command to properly remove installed plugins.Currently, users must manually
rm -rf ~/.clawdbot/extensions/<plugin-name>and edit config files to uninstall plugins. This PR adds a proper uninstall command.Changes
clawdbot plugins uninstall <id>--linkinstalls)plugins.installsconfig recordplugins.load.paths(for linked plugins)plugins.entries(disables the plugin)--keep-configflag to preserve plugin settings while removing installUsage
Test Plan
Related
This complements the existing
plugins installcommand and addresses the gap where there was no programmatic way to uninstall plugins.