diff --git a/packages/core/src/context/utils/snapshotGenerator.ts b/packages/core/src/context/utils/snapshotGenerator.ts index e8cb8cf439..b017ed3a0c 100644 --- a/packages/core/src/context/utils/snapshotGenerator.ts +++ b/packages/core/src/context/utils/snapshotGenerator.ts @@ -10,6 +10,9 @@ import { LlmRole } from '../../telemetry/llmRole.js'; import { formatNodesForLlm } from './formatNodesForLlm.js'; import { randomUUID } from 'node:crypto'; import { isRecord } from '../../utils/markdownUtils.js'; +import type { LiveInbox } from '../pipeline/inbox.js'; +import type { ContextEngineState } from '../../services/chatRecordingTypes.js'; +import { debugLogger } from '../../utils/debugLogger.js'; function isStringArray(value: unknown): value is string[] { return ( @@ -80,10 +83,6 @@ export function findLatestSnapshotBaseline( return undefined; } -import type { LiveInbox } from '../pipeline/inbox.js'; -import type { ContextEngineState } from '../../services/chatRecordingTypes.js'; -import { debugLogger } from '../../utils/debugLogger.js'; - export const SnapshotStateHelper = { exportState(nodes: readonly ConcreteNode[]): ContextEngineState { const baseline = findLatestSnapshotBaseline(nodes);