(input: Partial<Input> | undefined)
| 163 | return <FallbackToolUseErrorMessage result={result} verbose={verbose} />; |
| 164 | } |
| 165 | export function userFacingName(input: Partial<Input> | undefined): string { |
| 166 | if (input?.file_path?.startsWith(getPlansDirectory())) { |
| 167 | return 'Reading Plan'; |
| 168 | } |
| 169 | if (input?.file_path && getAgentOutputTaskId(input.file_path)) { |
| 170 | return 'Read agent output'; |
| 171 | } |
| 172 | return 'Read'; |
| 173 | } |
| 174 | export function getToolUseSummary(input: Partial<Input> | undefined): string | null { |
| 175 | if (!input?.file_path) { |
| 176 | return null; |
nothing calls this directly
no test coverage detected