refactor(commands): hide doctor utility types · openclaw/openclaw@9b8102d
vincentkoc
·
2026-06-17
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -22,7 +22,7 @@ import {
|
22 | 22 | import { formatHealthCheckFailure } from "./health-format.js"; |
23 | 23 | import type { StatusSummary } from "./status.types.js"; |
24 | 24 | |
25 | | -export type GatewayMemoryProbe = { |
| 25 | +type GatewayMemoryProbe = { |
26 | 26 | checked: boolean; |
27 | 27 | ready: boolean; |
28 | 28 | error?: string; |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -33,7 +33,7 @@ type TranscriptHeartbeatSummary = {
|
33 | 33 | heartbeatOkAssistantMessages: number; |
34 | 34 | }; |
35 | 35 | |
36 | | -export type HeartbeatMainSessionRepairCandidate = { |
| 36 | +type HeartbeatMainSessionRepairCandidate = { |
37 | 37 | reason: "metadata" | "transcript"; |
38 | 38 | summary?: TranscriptHeartbeatSummary; |
39 | 39 | }; |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -87,7 +87,7 @@ const KNOWN_REPAIRABLE_DIRTY_HEARTBEAT_TEMPLATES = [
|
87 | 87 | DOCS_HEARTBEAT_TEMPLATE_PAGE_AS_TEMPLATE, |
88 | 88 | ] as const; |
89 | 89 | |
90 | | -export type HeartbeatTemplateRepairAnalysis = |
| 90 | +type HeartbeatTemplateRepairAnalysis = |
91 | 91 | | { status: "clean" } |
92 | 92 | | { status: "dirty-template" } |
93 | 93 | | { status: "dirty-template-with-custom-content"; customLines: string[] }; |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -12,7 +12,7 @@ import {
|
12 | 12 | type InstallPolicyStaticValidation, |
13 | 13 | } from "../security/install-policy.js"; |
14 | 14 | |
15 | | -export type InstallPolicyHealthOptions = { |
| 15 | +type InstallPolicyHealthOptions = { |
16 | 16 | deep?: boolean; |
17 | 17 | env?: NodeJS.ProcessEnv; |
18 | 18 | }; |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -19,7 +19,7 @@ import {
|
19 | 19 | } from "../flows/health-checks.js"; |
20 | 20 | import type { RuntimeEnv } from "../runtime.js"; |
21 | 21 | |
22 | | -export interface DoctorLintCliOptions { |
| 22 | +interface DoctorLintCliOptions { |
23 | 23 | readonly json?: boolean; |
24 | 24 | readonly severityMin?: string; |
25 | 25 | readonly skipIds?: readonly string[]; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。