refactor: trim core command dead exports · openclaw/openclaw@c2ffe77
steipete
·
2026-05-01
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -569,9 +569,3 @@ export const TOOL_DISPLAY_CONFIG: ToolDisplayConfig = {
|
569 | 569 | }, |
570 | 570 | }, |
571 | 571 | }; |
572 | | - |
573 | | -export function serializeToolDisplayConfig( |
574 | | -config: ToolDisplayConfig = TOOL_DISPLAY_CONFIG, |
575 | | -): string { |
576 | | -return `${JSON.stringify(config, null, 2)}\n`; |
577 | | -} |
| Original file line number | Diff line number | Diff line change |
|---|
@@ -54,7 +54,6 @@ export type {
|
54 | 54 | CommandDetection, |
55 | 55 | CommandNormalizeOptions, |
56 | 56 | CommandScope, |
57 | | -CommandTier, |
58 | 57 | NativeCommandSpec, |
59 | 58 | ShouldHandleTextCommandsParams, |
60 | 59 | } from "./commands-registry.types.js"; |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -2,7 +2,7 @@ import type { OpenClawConfig } from "../config/types.js";
|
2 | 2 | import type { CommandArgValues } from "./commands-args.types.js"; |
3 | 3 | import type { ThinkingCatalogEntry } from "./thinking.shared.js"; |
4 | 4 | |
5 | | -export type { CommandArgValue, CommandArgValues, CommandArgs } from "./commands-args.types.js"; |
| 5 | +export type { CommandArgValues, CommandArgs } from "./commands-args.types.js"; |
6 | 6 | |
7 | 7 | export type CommandScope = "text" | "native" | "both"; |
8 | 8 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。