mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-07 00:47:29 +02:00
When memory-core plugin is not registered (e.g. CLI context), listActiveMemoryPublicArtifacts returns an empty array. The previous code would then call pruneImportedSourceEntries with an empty activeKeys Set, which removes ALL bridge-imported entries. Now checks getMemoryCapabilityRegistration() instead of relying on artifact count as a proxy, correctly distinguishing between 'plugin not loaded' and 'plugin loaded with no artifacts'. Fixes #68373