({
file_path
}: Partial<Input>)
| 64 | return <FilePathLink filePath={file_path}>{displayPath}</FilePathLink>; |
| 65 | } |
| 66 | export function renderToolUseTag({ |
| 67 | file_path |
| 68 | }: Partial<Input>): React.ReactNode { |
| 69 | const agentTaskId = file_path ? getAgentOutputTaskId(file_path) : null; |
| 70 | |
| 71 | // Show agent task ID for Read tool when reading agent output |
| 72 | if (!agentTaskId) { |
| 73 | return null; |
| 74 | } |
| 75 | return <Text dimColor> {agentTaskId}</Text>; |
| 76 | } |
| 77 | export function renderToolResultMessage(output: Output): React.ReactNode { |
| 78 | // TODO: Render recursively |
| 79 | switch (output.type) { |
nothing calls this directly
no test coverage detected