refactor: store memory wiki digests in sqlite

This commit is contained in:
Peter Steinberger
2026-05-08 19:47:14 +01:00
parent 7a954b6d61
commit cdfd09554f
22 changed files with 463 additions and 106 deletions

View File

@@ -77,6 +77,10 @@ const legacyStoreMarkers = [
label: "Memory Wiki import run JSON",
pattern: /\bimport-runs[/\\][A-Za-z0-9._-]+\.json\b/u,
},
{
label: "Memory Wiki compiled digest cache JSON",
pattern: /\b\.openclaw-wiki[/\\]cache[/\\](?:agent-digest\.json|claims\.jsonl)\b/u,
},
{ label: "ClawHub skill lock JSON", pattern: /\b\.clawhub[/\\]lock\.json\b/u },
{ label: "ClawHub skill origin JSON", pattern: /\b\.clawhub[/\\]origin\.json\b/u },
{ label: "installed plugin index JSON", pattern: /\bplugins[/\\]installs\.json\b/u },
@@ -141,7 +145,9 @@ const allowedExactPaths = new Set([
"extensions/imessage/src/state-migrations.ts",
"extensions/matrix/src/state-migrations.ts",
"extensions/matrix/src/legacy-state.ts",
"extensions/memory-wiki/src/digest-state.ts",
"extensions/memory-wiki/src/source-sync-state.ts",
"extensions/memory-wiki/src/source-sync-migration.ts",
"extensions/msteams/src/state-migrations.ts",
"extensions/nostr/src/state-migrations.ts",
"extensions/skill-workshop/src/state-migrations.ts",