mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-13 19:26:02 +00:00
refactor(config): hide session helper types
This commit is contained in:
@@ -34,7 +34,7 @@ type ConfigClobberSnapshotFs = {
|
||||
): unknown;
|
||||
};
|
||||
|
||||
export type ConfigClobberSnapshotDeps = {
|
||||
type ConfigClobberSnapshotDeps = {
|
||||
fs: ConfigClobberSnapshotFs;
|
||||
logger: Pick<typeof console, "warn">;
|
||||
};
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
import { hasSessionAutoModelFallbackProvenance } from "./model-override-provenance.js";
|
||||
import type { SessionEntry } from "./types.js";
|
||||
|
||||
export type ResetPreservedSelectionState = Pick<
|
||||
type ResetPreservedSelectionState = Pick<
|
||||
SessionEntry,
|
||||
| "providerOverride"
|
||||
| "modelOverride"
|
||||
|
||||
@@ -464,7 +464,7 @@ export async function appendSessionTranscriptMessageWithOwnedWriteLock<TMessage>
|
||||
return await activeLockRunner(() => appendSessionTranscriptMessageLocked(params));
|
||||
}
|
||||
|
||||
export type AppendSessionTranscriptEventParams = {
|
||||
type AppendSessionTranscriptEventParams = {
|
||||
config?: OpenClawConfig;
|
||||
event: unknown;
|
||||
transcriptPath: string;
|
||||
|
||||
@@ -3,7 +3,7 @@ import { randomUUID } from "node:crypto";
|
||||
import { CURRENT_SESSION_VERSION } from "./version.js";
|
||||
|
||||
/** Inputs for the first JSONL entry in a session transcript. */
|
||||
export type SessionTranscriptHeaderParams = {
|
||||
type SessionTranscriptHeaderParams = {
|
||||
sessionId?: string;
|
||||
cwd?: string;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user