mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 06:00:43 +00:00
refactor: trim tool config exports
This commit is contained in:
@@ -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`;
|
||||
}
|
||||
|
||||
@@ -226,7 +226,7 @@ export function unwrapShellWrapper(command: string): string {
|
||||
return inner ? (stripOuterQuotes(inner) ?? command) : command;
|
||||
}
|
||||
|
||||
export function scanTopLevelChars(
|
||||
function scanTopLevelChars(
|
||||
command: string,
|
||||
visit: (char: string, index: number) => boolean | void,
|
||||
): void {
|
||||
|
||||
Reference in New Issue
Block a user