Patch an OpenClaw config for plugin install or uninstall.
The parsed OpenClaw config object (mutated in place).
The plugin identifier.
Whether to add or remove the plugin.
Array of log messages describing changes made.
Manages plugins.entries.{pluginId} and tools.alsoAllow. Idempotent: adding twice produces no duplicates; removing when absent produces no errors.
plugins.entries.{pluginId}
tools.alsoAllow
Patch an OpenClaw config for plugin install or uninstall.