refactor(commands): hide doctor state helper types · openclaw/openclaw@0c909ea
vincentkoc
·
2026-06-17
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -27,7 +27,7 @@ type CachedSnapshotPath = {
|
27 | 27 | path: string; |
28 | 28 | }; |
29 | 29 | |
30 | | -export type StaleSessionSnapshotPathFinding = { |
| 30 | +type StaleSessionSnapshotPathFinding = { |
31 | 31 | sessionKey: string; |
32 | 32 | field: SnapshotPathSource; |
33 | 33 | cachedPath: string; |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -130,13 +130,13 @@ export function storeMayContainPluginSessionRouteState(
|
130 | 130 | return Object.values(store).some((entry) => entryMayContainPluginSessionRouteState(entry)); |
131 | 131 | } |
132 | 132 | |
133 | | -export type DoctorSessionRouteState = { |
| 133 | +type DoctorSessionRouteState = { |
134 | 134 | defaultProvider: string; |
135 | 135 | configuredModelRefs: string[]; |
136 | 136 | runtime?: string; |
137 | 137 | }; |
138 | 138 | |
139 | | -export type DoctorSessionRouteStateRepair = { |
| 139 | +type DoctorSessionRouteStateRepair = { |
140 | 140 | key: string; |
141 | 141 | ownerId: string; |
142 | 142 | ownerLabel: string; |
@@ -145,13 +145,13 @@ export type DoctorSessionRouteStateRepair = {
|
145 | 145 | cliSessionKeys: string[]; |
146 | 146 | }; |
147 | 147 | |
148 | | -export type DoctorSessionRouteStateManualReview = { |
| 148 | +type DoctorSessionRouteStateManualReview = { |
149 | 149 | key: string; |
150 | 150 | ownerLabel: string; |
151 | 151 | message: string; |
152 | 152 | }; |
153 | 153 | |
154 | | -export type DoctorSessionRouteStateScan = { |
| 154 | +type DoctorSessionRouteStateScan = { |
155 | 155 | repairs: DoctorSessionRouteStateRepair[]; |
156 | 156 | manualReview: DoctorSessionRouteStateManualReview[]; |
157 | 157 | }; |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -332,7 +332,7 @@ type LinuxMountInfoEntry = {
|
332 | 332 | source: string; |
333 | 333 | }; |
334 | 334 | |
335 | | -export type LinuxSdBackedStateDir = { |
| 335 | +type LinuxSdBackedStateDir = { |
336 | 336 | path: string; |
337 | 337 | mountPoint: string; |
338 | 338 | fsType: string; |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -13,7 +13,7 @@ import { listTasksForFlowId } from "../tasks/runtime-internal.js";
|
13 | 13 | import { listTaskFlowRecords } from "../tasks/task-flow-runtime-internal.js"; |
14 | 14 | import { detectLegacyWorkspaceDirs, formatLegacyWorkspaceWarning } from "./doctor-workspace.js"; |
15 | 15 | |
16 | | -export type NoteWorkspaceStatusOptions = { |
| 16 | +type NoteWorkspaceStatusOptions = { |
17 | 17 | pluginVersionDrift?: PluginVersionDriftReport; |
18 | 18 | }; |
19 | 19 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。