refactor(config): hide session helper types · openclaw/openclaw@cc451f9
vincentkoc
·
2026-06-17
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -34,7 +34,7 @@ type ConfigClobberSnapshotFs = {
|
34 | 34 | ): unknown; |
35 | 35 | }; |
36 | 36 | |
37 | | -export type ConfigClobberSnapshotDeps = { |
| 37 | +type ConfigClobberSnapshotDeps = { |
38 | 38 | fs: ConfigClobberSnapshotFs; |
39 | 39 | logger: Pick<typeof console, "warn">; |
40 | 40 | }; |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -2,7 +2,7 @@
|
2 | 2 | import { hasSessionAutoModelFallbackProvenance } from "./model-override-provenance.js"; |
3 | 3 | import type { SessionEntry } from "./types.js"; |
4 | 4 | |
5 | | -export type ResetPreservedSelectionState = Pick< |
| 5 | +type ResetPreservedSelectionState = Pick< |
6 | 6 | SessionEntry, |
7 | 7 | | "providerOverride" |
8 | 8 | | "modelOverride" |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -464,7 +464,7 @@ export async function appendSessionTranscriptMessageWithOwnedWriteLock<TMessage>
|
464 | 464 | return await activeLockRunner(() => appendSessionTranscriptMessageLocked(params)); |
465 | 465 | } |
466 | 466 | |
467 | | -export type AppendSessionTranscriptEventParams = { |
| 467 | +type AppendSessionTranscriptEventParams = { |
468 | 468 | config?: OpenClawConfig; |
469 | 469 | event: unknown; |
470 | 470 | transcriptPath: string; |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -3,7 +3,7 @@ import { randomUUID } from "node:crypto";
|
3 | 3 | import { CURRENT_SESSION_VERSION } from "./version.js"; |
4 | 4 | |
5 | 5 | /** Inputs for the first JSONL entry in a session transcript. */ |
6 | | -export type SessionTranscriptHeaderParams = { |
| 6 | +type SessionTranscriptHeaderParams = { |
7 | 7 | sessionId?: string; |
8 | 8 | cwd?: string; |
9 | 9 | }; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。