diff --git a/src/agents/provider-attribution.ts b/src/agents/provider-attribution.ts index c3a2b7b48c1..dc435debe30 100644 --- a/src/agents/provider-attribution.ts +++ b/src/agents/provider-attribution.ts @@ -8,13 +8,13 @@ import type { RuntimeVersionEnv } from "../version.js"; import { resolveRuntimeServiceVersion } from "../version.js"; import { normalizeProviderId } from "./provider-id.js"; -export type ProviderAttributionVerification = +type ProviderAttributionVerification = | "vendor-documented" | "vendor-hidden-api-spec" | "vendor-sdk-hook-only" | "internal-runtime"; -export type ProviderAttributionHook = +type ProviderAttributionHook = | "request-headers" | "default-headers" | "user-agent-extra" diff --git a/src/agents/tool-display-config.ts b/src/agents/tool-display-config.ts index f6c6f08b6ac..d38f7029292 100644 --- a/src/agents/tool-display-config.ts +++ b/src/agents/tool-display-config.ts @@ -1,10 +1,10 @@ import type { ToolDisplaySpec as ToolDisplaySpecBase } from "./tool-display-common.js"; -export type ToolDisplaySpec = ToolDisplaySpecBase & { +type ToolDisplaySpec = ToolDisplaySpecBase & { emoji?: string; }; -export type ToolDisplayConfig = { +type ToolDisplayConfig = { version: number; fallback: ToolDisplaySpec; tools: Record; diff --git a/src/auto-reply/commands-registry.types.ts b/src/auto-reply/commands-registry.types.ts index ec8c44f6608..560cac303f2 100644 --- a/src/auto-reply/commands-registry.types.ts +++ b/src/auto-reply/commands-registry.types.ts @@ -23,7 +23,7 @@ export type CommandCategory = | "tools" | "docks"; -export type CommandArgType = "string" | "number" | "boolean"; +type CommandArgType = "string" | "number" | "boolean"; export type CommandArgChoiceContext = { cfg?: OpenClawConfig; @@ -36,7 +36,7 @@ export type CommandArgChoiceContext = { export type CommandArgChoice = string | { value: string; label: string }; -export type CommandArgChoicesProvider = (context: CommandArgChoiceContext) => CommandArgChoice[]; +type CommandArgChoicesProvider = (context: CommandArgChoiceContext) => CommandArgChoice[]; export type CommandArgDefinition = { name: string;