fix: remove managed plugin files on uninstall

This commit is contained in:
Shakker
2026-04-26 04:15:56 +01:00
parent 48ba3a4198
commit 862b39976d
4 changed files with 51 additions and 6 deletions

View File

@@ -261,13 +261,10 @@ openclaw plugins uninstall <id> --keep-files
`uninstall` removes plugin records from `plugins.entries`, the persisted plugin
index, the plugin allowlist, and linked `plugins.load.paths` entries when
applicable.
applicable. Unless `--keep-files` is set, uninstall also removes the tracked
managed install directory when it is inside OpenClaw's plugin extensions root.
For active memory plugins, the memory slot resets to `memory-core`.
By default, uninstall also removes the plugin install directory under the active
state-dir plugin root. Use
`--keep-files` to keep files on disk.
`--keep-config` is supported as a deprecated alias for `--keep-files`.
### Update