feat(memory-core): bridge wiki corpus into memory tools

This commit is contained in:
Vincent Koc
2026-04-05 22:14:16 +01:00
parent 64f889cd4b
commit 2f72363984
19 changed files with 487 additions and 33 deletions

View File

@@ -24,6 +24,7 @@ import {
registerMemoryEmbeddingProvider,
} from "./memory-embedding-providers.js";
import {
registerMemoryCorpusSupplement,
registerMemoryFlushPlanResolver,
registerMemoryPromptSupplement,
registerMemoryPromptSection,
@@ -1120,6 +1121,9 @@ export function createPluginRegistry(registryParams: PluginRegistryParams) {
registerMemoryPromptSupplement: (builder) => {
registerMemoryPromptSupplement(record.id, builder);
},
registerMemoryCorpusSupplement: (supplement) => {
registerMemoryCorpusSupplement(record.id, supplement);
},
registerMemoryFlushPlan: (resolver) => {
if (!hasKind(record.kind, "memory")) {
pushDiagnostic({