refactor: trim core command dead exports

This commit is contained in:
Peter Steinberger
2026-05-01 15:10:19 +01:00
parent f0a2b09df6
commit c2ffe77926
3 changed files with 1 additions and 8 deletions

View File

@@ -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`;
}

View File

@@ -54,7 +54,6 @@ export type {
CommandDetection,
CommandNormalizeOptions,
CommandScope,
CommandTier,
NativeCommandSpec,
ShouldHandleTextCommandsParams,
} from "./commands-registry.types.js";

View File

@@ -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";