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
`uninstall` removes plugin records from `plugins.entries`, the persisted plugin index, plugin allow/deny list entries, and linked `plugins.load.paths` entries when applicable. Unless `--keep-files` is set, uninstall also removes the tracked managed install directory, but only when it resolves inside OpenClaw's plugin extensions root. If the plugin currently owns the `memory` or `contextEngine` slot, that slot resets to its default (`memory-core` for memory, `legacy` for context engine).
419
+
`uninstall` removes plugin records from `plugins.entries`, the persisted plugin index, plugin allow/deny list entries, and linked `plugins.load.paths` entries when applicable. Unless `--keep-files` is set, uninstall also removes the tracked managed install directory, but only when it resolves inside OpenClaw's plugin extensions root. If the plugin currently owns `plugins.slots.contextEngine`, that slot resets to `legacy`; if it owns an active memory role slot such as `plugins.slots["memory.recall"]`, that role slot resets to `memory-core`.
420
420
421
421
`uninstall` prints a preview of what will be removed, then prompts `Uninstall plugin "<id>"?` before making changes. Pass `--force` to skip the confirmation prompt (useful for scripts and non-interactive runs); without it, uninstall requires an interactive TTY. `--dry-run` prints the same preview and exits without prompting or changing anything.
Copy file name to clipboardExpand all lines: docs/concepts/context-engine.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -359,7 +359,7 @@ The slot is exclusive at run time - only one registered context engine is resolv
359
359
</Note>
360
360
361
361
<Note>
362
-
**Plugin uninstall:** when you uninstall the plugin currently selected as `plugins.slots.contextEngine`, OpenClaw resets the slot back to the default (`legacy`). The same reset behavior applies to `plugins.slots.memory`. No manual config edit is required.
362
+
**Plugin uninstall:** when you uninstall the plugin currently selected as `plugins.slots.contextEngine`, OpenClaw resets the slot back to the default (`legacy`). The same reset behavior applies to the memory role slots, including `plugins.slots["memory.recall"]`. No manual config edit is required.
363
363
</Note>
364
364
365
365
## Relationship to compaction and memory
@@ -369,7 +369,7 @@ The slot is exclusive at run time - only one registered context engine is resolv
369
369
Compaction is one responsibility of the context engine. The legacy engine delegates to OpenClaw's built-in summarization. Plugin engines can implement any compaction strategy (DAG summaries, vector retrieval, etc.).
370
370
</Accordion>
371
371
<Accordiontitle="Memory plugins">
372
-
Memory plugins (`plugins.slots.memory`) are separate from context engines. Memory plugins provide search/retrieval; context engines control what the model sees. They can work together - a context engine might use memory plugin data during assembly. Plugin engines that want the active memory prompt path should prefer `buildMemorySystemPromptAddition(...)` from `openclaw/plugin-sdk/core`, which converts the active memory prompt sections into a ready-to-prepend `systemPromptAddition`. If an engine needs lower-level control, it can still pull raw lines from `openclaw/plugin-sdk/memory-host-core` via `buildActiveMemoryPromptSection(...)`.
372
+
Memory recall plugins (`plugins.slots["memory.recall"]`) are separate from context engines. Memory plugins provide search/retrieval; context engines control what the model sees. They can work together - a context engine might use memory plugin data during assembly. Plugin engines that want the active memory prompt path should prefer `buildMemorySystemPromptAddition(...)` from `openclaw/plugin-sdk/core`, which converts the active memory prompt sections into a ready-to-prepend `systemPromptAddition`. If an engine needs lower-level control, it can still pull raw lines from `openclaw/plugin-sdk/memory-host-core` via `buildActiveMemoryPromptSection(...)`.
373
373
</Accordion>
374
374
<Accordiontitle="Session pruning">
375
375
Trimming old tool results in-memory still runs regardless of which context engine is active.
- Enabled Claude bundle plugins can also contribute embedded OpenClaw defaults from `settings.json`; OpenClaw applies those as sanitized agent settings, not as raw OpenClaw config patches.
388
-
-`plugins.slots.memory`: pick the active memory plugin id, or `"none"` to disable memory plugins.
388
+
-`plugins.slots["memory.recall"]`: pick the active factual memory recall plugin id, or `"none"` to disable recall. The legacy `plugins.slots.memory` selector is deprecated; run `openclaw doctor --fix` to migrate it when possible.
389
+
-`plugins.slots["memory.compaction"]`, `plugins.slots["memory.capture"]`, `plugins.slots["memory.dreaming"]`, and `plugins.slots["memory.userModel"]`: optional role-specific memory plugin slots for memory-aware compaction, capture hooks, dreaming/consolidation, and user modeling.
390
+
-`agents.list[].plugins.slots`: optional per-agent overrides for the same memory role slots.
389
391
-`plugins.slots.contextEngine`: pick the active context engine plugin id; defaults to `"legacy"` unless you install and select another engine.
0 commit comments