From 1616510996ff290f61b688d452c5ffb0649691d7 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Fri, 24 Apr 2026 03:46:18 +0100 Subject: [PATCH] perf: narrow memory core test imports --- extensions/memory-core/index.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/memory-core/index.test.ts b/extensions/memory-core/index.test.ts index 2f8530b875a..b12877352b8 100644 --- a/extensions/memory-core/index.test.ts +++ b/extensions/memory-core/index.test.ts @@ -2,11 +2,11 @@ import type { OpenClawConfig } from "openclaw/plugin-sdk/memory-core"; import { describe, expect, it } from "vitest"; import { buildMemoryFlushPlan, - buildPromptSection, DEFAULT_MEMORY_FLUSH_FORCE_TRANSCRIPT_BYTES, DEFAULT_MEMORY_FLUSH_PROMPT, DEFAULT_MEMORY_FLUSH_SOFT_TOKENS, -} from "./index.js"; +} from "./src/flush-plan.js"; +import { buildPromptSection } from "./src/prompt-section.js"; describe("buildPromptSection", () => { it("returns empty when no memory tools are available", () => {