(input: Partial<{
file_path: string;
old_string: string;
new_string: string;
replace_all: boolean;
}> | undefined)
| 44 | return 'Update'; |
| 45 | } |
| 46 | export function getToolUseSummary(input: Partial<{ |
| 47 | file_path: string; |
| 48 | old_string: string; |
| 49 | new_string: string; |
| 50 | replace_all: boolean; |
| 51 | }> | undefined): string | null { |
| 52 | if (!input?.file_path) { |
| 53 | return null; |
| 54 | } |
| 55 | return getDisplayPath(input.file_path); |
| 56 | } |
| 57 | export function renderToolUseMessage({ |
| 58 | file_path |
| 59 | }: { |
no test coverage detected