diff --git a/src/commands/agents.providers.ts b/src/commands/agents.providers.ts index 0642b79393b..11dac97252d 100644 --- a/src/commands/agents.providers.ts +++ b/src/commands/agents.providers.ts @@ -19,7 +19,7 @@ type ProviderAccountStatus = { visibleInConfiguredLists?: boolean; }; -export type ProviderSummaryMetadata = { +type ProviderSummaryMetadata = { label: string; defaultAccountId: string; visibleInConfiguredLists: boolean; diff --git a/src/commands/channel-account-context.ts b/src/commands/channel-account-context.ts index e5ca076ebed..39b856af855 100644 --- a/src/commands/channel-account-context.ts +++ b/src/commands/channel-account-context.ts @@ -5,7 +5,7 @@ import type { OpenClawConfig } from "../config/types.openclaw.js"; import { formatErrorMessage } from "../infra/errors.js"; import { isRecord } from "../utils.js"; -export type ChannelDefaultAccountContext = { +type ChannelDefaultAccountContext = { accountIds: string[]; defaultAccountId: string; account: unknown; @@ -19,7 +19,7 @@ export type ChannelDefaultAccountContext = { degraded: boolean; }; -export type ChannelAccountContextMode = "strict" | "read_only"; +type ChannelAccountContextMode = "strict" | "read_only"; function getBooleanField(value: unknown, key: string): boolean | undefined { const record = isRecord(value) ? value : null; diff --git a/src/commands/cleanup-utils.ts b/src/commands/cleanup-utils.ts index 8256265f97e..f7ddd16d2d0 100644 --- a/src/commands/cleanup-utils.ts +++ b/src/commands/cleanup-utils.ts @@ -5,12 +5,12 @@ import type { OpenClawConfig } from "../config/types.openclaw.js"; import type { RuntimeEnv } from "../runtime.js"; import { resolveHomeDir, resolveUserPath, shortenHomeInString } from "../utils.js"; -export type RemovalResult = { +type RemovalResult = { ok: boolean; skipped?: boolean; }; -export type CleanupResolvedPaths = { +type CleanupResolvedPaths = { stateDir: string; configPath: string; oauthDir: string; diff --git a/src/commands/export-trajectory.ts b/src/commands/export-trajectory.ts index 9cab6b099ac..ebe41bfa350 100644 --- a/src/commands/export-trajectory.ts +++ b/src/commands/export-trajectory.ts @@ -15,7 +15,7 @@ import { formatTrajectoryCommandExportSummary, } from "../trajectory/command-export.js"; -export type ExportTrajectoryCommandOptions = { +type ExportTrajectoryCommandOptions = { sessionKey?: string; output?: string; store?: string; diff --git a/src/commands/onboard-core-auth-flags.ts b/src/commands/onboard-core-auth-flags.ts index 140652c8668..720aaca75bb 100644 --- a/src/commands/onboard-core-auth-flags.ts +++ b/src/commands/onboard-core-auth-flags.ts @@ -2,7 +2,7 @@ import type { AuthChoice, OnboardOptions } from "./onboard-types.js"; type OnboardCoreAuthOptionKey = Extract; -export type OnboardCoreAuthFlag = { +type OnboardCoreAuthFlag = { optionKey: OnboardCoreAuthOptionKey; authChoice: AuthChoice; cliFlag: `--${string}`;