diff --git a/src/agents/tool-display-config.ts b/src/agents/tool-display-config.ts index 844faf45e78..f6c6f08b6ac 100644 --- a/src/agents/tool-display-config.ts +++ b/src/agents/tool-display-config.ts @@ -569,9 +569,3 @@ export const TOOL_DISPLAY_CONFIG: ToolDisplayConfig = { }, }, }; - -export function serializeToolDisplayConfig( - config: ToolDisplayConfig = TOOL_DISPLAY_CONFIG, -): string { - return `${JSON.stringify(config, null, 2)}\n`; -} diff --git a/src/auto-reply/commands-registry.ts b/src/auto-reply/commands-registry.ts index 880c514eba5..2f59c777382 100644 --- a/src/auto-reply/commands-registry.ts +++ b/src/auto-reply/commands-registry.ts @@ -54,7 +54,6 @@ export type { CommandDetection, CommandNormalizeOptions, CommandScope, - CommandTier, NativeCommandSpec, ShouldHandleTextCommandsParams, } from "./commands-registry.types.js"; diff --git a/src/auto-reply/commands-registry.types.ts b/src/auto-reply/commands-registry.types.ts index 1c0e3f71196..46f63b76763 100644 --- a/src/auto-reply/commands-registry.types.ts +++ b/src/auto-reply/commands-registry.types.ts @@ -2,7 +2,7 @@ import type { OpenClawConfig } from "../config/types.js"; import type { CommandArgValues } from "./commands-args.types.js"; import type { ThinkingCatalogEntry } from "./thinking.shared.js"; -export type { CommandArgValue, CommandArgValues, CommandArgs } from "./commands-args.types.js"; +export type { CommandArgValues, CommandArgs } from "./commands-args.types.js"; export type CommandScope = "text" | "native" | "both";