Skip to content

Commit 84c8573

Browse files
committed
refactor: trim tool config exports
1 parent f86cb61 commit 84c8573

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

src/agents/tool-display-config.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -569,9 +569,3 @@ export const TOOL_DISPLAY_CONFIG: ToolDisplayConfig = {
569569
},
570570
},
571571
};
572-
573-
export function serializeToolDisplayConfig(
574-
config: ToolDisplayConfig = TOOL_DISPLAY_CONFIG,
575-
): string {
576-
return `${JSON.stringify(config, null, 2)}\n`;
577-
}

src/agents/tool-display-exec-shell.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ export function unwrapShellWrapper(command: string): string {
226226
return inner ? (stripOuterQuotes(inner) ?? command) : command;
227227
}
228228

229-
export function scanTopLevelChars(
229+
function scanTopLevelChars(
230230
command: string,
231231
visit: (char: string, index: number) => boolean | void,
232232
): void {

0 commit comments

Comments
 (0)