Files
openclaw/src/auto-reply/reply/dispatch-from-config.runtime.ts
T
Peter Steinberger 6f29fc88e9 refactor(sessions): migrate pure readers to read-only session accessors (#112568)
* refactor(sessions): migrate pure readers to read-only session accessors

* test(sessions): teach mocks and declarations the read-only accessors

* test(sessions): align remaining harnesses with read-only accessors
2026-07-22 01:16:35 -07:00

18 lines
717 B
TypeScript

/** Runtime-only dispatch dependencies shared by config-driven reply delivery. */
/** Runtime-only dispatch dependencies shared by config-driven reply delivery. */
import { loadSessionEntryReadOnly } from "../../config/sessions/session-accessor.js";
import type { SessionEntry } from "../../config/sessions/types.js";
export { resolveStorePath } from "../../config/sessions/paths.js";
export { createInternalHookEvent, triggerInternalHook } from "../../hooks/internal-hooks.js";
export function loadSessionStoreEntry(params: {
agentId?: string;
storePath: string;
sessionKey: string;
readConsistency?: "latest";
clone?: boolean;
}): SessionEntry | undefined {
return loadSessionEntryReadOnly(params);
}