refactor: prune stale extension helpers

This commit is contained in:
Peter Steinberger
2026-05-01 10:57:24 +01:00
parent ca620eaf35
commit 90554ea048
6 changed files with 0 additions and 59 deletions

View File

@@ -1,13 +0,0 @@
import type { OpenClawConfig } from "openclaw/plugin-sdk/memory-core-host-engine-foundation";
import { getMemorySearchManager, type MemoryIndexManager } from "./index.js";
export async function createMemoryManagerOrThrow(
cfg: OpenClawConfig,
agentId = "main",
): Promise<MemoryIndexManager> {
const result = await getMemorySearchManager({ cfg, agentId });
if (!result.manager) {
throw new Error("manager missing");
}
return result.manager as unknown as MemoryIndexManager;
}