/** * @opensip-cli/session-store — tool-run session persistence. * * Owns the `sessions` / `session_tool_payload` SQLite schema and the * `SessionRepo` query layer. Holds ZERO tool vocabulary — the per-session * `payload` is opaque to persistence. Extracted from `@opensip-cli/contracts` * so that package carries types only (audit 2026-05-29, contracts split). * * Session replay adds the inverse of persistence: * `decodeSessionPayload` reads a stored payload back into its STRUCTURAL shape * (`{ summary, checks[] }`) so each tool can project it to a `SignalEnvelope`. * The helper that builds replay `Signal` rows is parameterized by tool/category * vocabulary; the vocabulary itself still lives in each engine. * * The raw `sessions` / `sessionToolPayload` Drizzle tables are package-private * (ADR-0009): cross-module access goes through `SessionRepo`, never the raw * schema. `SessionRepo` consumes them via a relative import; they are not * re-exported here and `exports` declares no `./schema` subpath, so no other * package can reach them. */ export { SessionRepo, type SessionListOptions } from './session-repo.js'; export { RunRepo, type RunListOptions, type RunRetentionBatchResult } from './run-repo.js'; export { listParentRuns, resolveParentRun, resolveParentRunEvidence, type ListParentRunsOptions, type ParentRunEvidenceFound, type ParentRunEvidenceInclusion, type ParentRunEvidenceMetadata, type ParentRunEvidenceSnapshot, type ParentRunFound, type ParentRunList, type ParentRunNotFound, type ResolveParentRunEvidenceOptions, type ResolveParentRunEvidenceResult, type ResolveParentRunOptions, type ResolveParentRunResult, } from './run-reads.js'; export { MAX_EVIDENCE_BUNDLE_BYTES, MAX_EVIDENCE_BUNDLE_SESSIONS, MAX_EVIDENCE_BUNDLE_STEPS, commitEvidenceBundle, measureEvidenceBundleBytes, type EvidenceBundleCommitResult, type EvidenceBundleFailureReason, type EvidenceBundleInput, type EvidenceBundlePrecondition, type EvidenceBundleRun, type EvidenceBundleSession, } from './evidence-bundle.js'; export { TASK_CONTEXT_RUN_NAME, readTaskContextRun, type StoredTaskContextRun, type TaskContextRunReadError, type TaskContextRunReadReason, } from './context-manifest-read.js'; export { isSessionCwdWithin } from './session-cwd-scope.js'; export { resolveSession, type SessionReference, type SessionResolveResult, } from './resolve-session.js'; export { generateSessionId, sanitizeForFilename } from './store.js'; export { decodeSessionPayload, decodeSummary, numberField, stringField, booleanField, type DecodedSessionFinding, type DecodedSessionCheck, type DecodedSessionPayload, type DecodeSessionPayloadOptions, type SessionPayloadScalar, } from './session-payload-decode.js'; export { buildReplaySignal, buildReplaySignals, type BuildReplaySignalInput, type BuildReplaySignalsInput, } from './session-replay-signal.js'; export { listSessionSummaries, resolveSessionLedgerReference, type ListSessionSummariesOptions, } from './list-summaries.js'; export { buildSuiteSessionGroups, orderSessionsForSuiteGrouping, type SuiteSessionGroup, } from './suite-session-grouping.js'; export { resolveAndReplaySession, type SessionReplayFn, type ResolveAndReplayOptions, type ReplaySessionOutcome, } from './replay-session.js'; export { bundledReplayResolver } from './bundled-replay.js'; //# sourceMappingURL=index.d.ts.map