openclaw/extensions/memory-wiki/src
Mara 🌿 7f5789575e
fix(memory-wiki): skip bridge pruning when memory-core is not loaded (#71764)
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
2026-04-25 17:10:31 -04:00
..
apply.test.ts
apply.ts
bridge.test.ts
bridge.ts fix(memory-wiki): skip bridge pruning when memory-core is not loaded (#71764) 2026-04-25 17:10:31 -04:00
chatgpt-import.ts
claim-health.test.ts
claim-health.ts
cli.test.ts
cli.ts
compile.test.ts
compile.ts
config-compat.test.ts
config-compat.ts
config.test.ts refactor: type config schemas as typebox-compatible 2026-04-23 05:22:16 +01:00
config.ts
corpus-supplement.ts
gateway.test.ts
gateway.ts
import-insights.test.ts
import-insights.ts
import-runs.ts
ingest.test.ts
ingest.ts
lint.test.ts
lint.ts
log.ts
markdown.test.ts
markdown.ts
memory-palace.test.ts
memory-palace.ts
obsidian.test.ts
obsidian.ts
prompt-section.test.ts
prompt-section.ts
query.test.ts
query.ts lint: enforce exhaustive switches 2026-04-23 06:02:12 +01:00
source-page-shared.ts
source-path-shared.ts
source-sync-state.ts
source-sync.test.ts
source-sync.ts
status.test.ts
status.ts
test-helpers.ts
tool.ts
unsafe-local.test.ts
unsafe-local.ts
vault.test.ts
vault.ts