diff --git a/src/crestodian/overview.ts b/src/crestodian/overview.ts index 86911e53326..56afb52630f 100644 --- a/src/crestodian/overview.ts +++ b/src/crestodian/overview.ts @@ -19,7 +19,7 @@ import { resolveAgentModelPrimaryValue } from "../config/model-input.js"; import { normalizeAgentId } from "../routing/session-key.js"; import { probeGatewayUrl, probeLocalCommand, type LocalCommandProbe } from "./probes.js"; -export type CrestodianAgentSummary = { +type CrestodianAgentSummary = { id: string; name?: string; isDefault: boolean; @@ -274,7 +274,7 @@ export function formatCrestodianOverview(overview: CrestodianOverview): string { .join("\n"); } -export function recommendCrestodianNextStep(overview: CrestodianOverview): string { +function recommendCrestodianNextStep(overview: CrestodianOverview): string { if (!overview.config.exists) { return 'run "setup" to create a starter config'; } diff --git a/src/flows/doctor-health-contributions.ts b/src/flows/doctor-health-contributions.ts index 8ddef04d820..f4208e7fc20 100644 --- a/src/flows/doctor-health-contributions.ts +++ b/src/flows/doctor-health-contributions.ts @@ -6,16 +6,16 @@ import type { buildGatewayConnectionDetails } from "../gateway/call.js"; import type { RuntimeEnv } from "../runtime.js"; import type { FlowContribution } from "./types.js"; -export type DoctorFlowMode = "local" | "remote"; +type DoctorFlowMode = "local" | "remote"; -export type DoctorConfigResult = { +type DoctorConfigResult = { cfg: OpenClawConfig; path?: string; shouldWriteConfig?: boolean; sourceConfigValid?: boolean; }; -export type DoctorHealthFlowContext = { +type DoctorHealthFlowContext = { runtime: RuntimeEnv; options: DoctorOptions; prompter: DoctorPrompter; @@ -30,13 +30,13 @@ export type DoctorHealthFlowContext = { gatewayMemoryProbe?: Awaited>; }; -export type DoctorHealthContribution = FlowContribution & { +type DoctorHealthContribution = FlowContribution & { kind: "core"; surface: "health"; run: (ctx: DoctorHealthFlowContext) => Promise; }; -export function resolveDoctorMode(cfg: OpenClawConfig): DoctorFlowMode { +function resolveDoctorMode(cfg: OpenClawConfig): DoctorFlowMode { return cfg.gateway?.mode === "remote" ? "remote" : "local"; }