fix(hooks): stop memory-core runtime config fallback

This commit is contained in:
Vincent Koc
2026-04-22 13:56:20 -07:00
parent 4cb4aad7b1
commit 0f0d399c71
3 changed files with 80 additions and 4 deletions

View File

@@ -51,6 +51,11 @@ const BUNDLED_LIVE_CONFIG_HOOK_GUARDS = {
'resolvePluginConfigObject(api.runtime.config.loadConfig(), "active-memory")',
"api.runtime.config.loadConfig()",
],
"extensions/memory-core/src/dreaming.ts": [
'params.reason === "runtime"',
"resolveMemoryCorePluginConfig(startupCfg)",
"api.runtime.config?.loadConfig?.() ?? api.config",
],
"extensions/memory-lancedb/index.ts": [
'resolvePluginConfigObject(runtimeConfig, "memory-lancedb")',
"api.runtime.config?.loadConfig?.()",