Files
openclaw/src/gateway/session-utils.ts
Peter Steinberger be815ae5c9 refactor(gateway): split session utilities (#113118)
* refactor(gateway): split session utilities

* fix(gateway): privatize thinking row projection
2026-07-23 12:26:10 -07:00

35 lines
2.0 KiB
TypeScript

export {
resolveSessionHistoryTranscriptPathAsync,
resolveSessionTranscriptCandidates,
} from "./session-utils.fs.js";
export { canonicalizeSpawnedByForAgent, resolveSessionStoreKey } from "./session-store-key.js";
export type {
GatewaySessionRow,
SessionsListResult,
SessionsPatchResult,
SessionsPreviewEntry,
SessionsPreviewResult,
} from "./session-utils.types.js";
export { resolveSessionModelRef } from "../agents/session-model-ref.js";
export { loadCombinedSessionStoreForGateway } from "../config/sessions/combined-store-gateway.js";
export { deriveSessionTitle } from "./session-utils-core.js";
export { resolveDeletedAgentIdFromSessionKey } from "./session-utils-store.js";
export { loadSessionEntry } from "./session-utils-store.js";
export { loadSessionEntryReadOnly } from "./session-utils-store.js";
export { resolveFreshestSessionStoreMatchFromStoreKeys } from "./session-utils-store.js";
export { resolveFreshestSessionEntryFromStoreKeys } from "./session-utils-store.js";
export { migrateAndPruneGatewaySessionStoreKey } from "./session-utils-store.js";
export { listAgentsForGateway } from "./session-utils-store.js";
export { resolveGatewaySessionStoreTargetWithStore } from "./session-utils-store-lookup.js";
export { resolveGatewaySessionStoreTarget } from "./session-utils-store-lookup.js";
export { resolveGatewaySessionThinkingProjection } from "./session-utils-model.js";
export { getSessionDefaults } from "./session-utils-model.js";
export { resolveGatewayModelSupportsImages } from "./session-utils-model.js";
export { resolveSessionDisplayModelIdentityRef } from "./session-utils-model.js";
export { buildGatewaySessionRow } from "./session-utils-row.js";
export { loadGatewaySessionRow } from "./session-utils-search.js";
export { buildGatewaySessionInfo } from "./session-utils-search.js";
export { filterAndSortSessionEntries } from "./session-utils-list.js";
export { listSessionsFromStore } from "./session-utils-list.js";
export { listSessionsFromStoreAsync } from "./session-utils-list.js";