From bdc46fa28de3364ed95d89e6916002ca159fcd6e Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Thu, 18 Jun 2026 11:24:02 +0800 Subject: [PATCH] refactor(memory): remove unused session file exports --- .../memory-host-sdk/src/host/session-files.ts | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/packages/memory-host-sdk/src/host/session-files.ts b/packages/memory-host-sdk/src/host/session-files.ts index 5595a15c8e0..e78c440263c 100644 --- a/packages/memory-host-sdk/src/host/session-files.ts +++ b/packages/memory-host-sdk/src/host/session-files.ts @@ -217,13 +217,6 @@ function resolveSessionStoreTranscriptPath( return null; } -export function loadDreamingNarrativeTranscriptPathSetForSessionsDir( - sessionsDir: string, -): ReadonlySet { - return loadSessionTranscriptClassificationForSessionsDir(sessionsDir) - .dreamingNarrativeTranscriptPaths; -} - export function loadSessionTranscriptClassificationForSessionsDir( sessionsDir: string, ): SessionTranscriptClassification { @@ -493,17 +486,6 @@ function sanitizeSessionText(text: string, role: "user" | "assistant"): string | return normalized; } -export function extractSessionText( - content: unknown, - role: "user" | "assistant" = "assistant", -): string | null { - const rawText = collectRawSessionText(content); - if (rawText === null) { - return null; - } - return sanitizeSessionText(rawText, role); -} - function parseSessionTimestampMs( record: { timestamp?: unknown }, message: { timestamp?: unknown },