(content: Out, progressMessagesForMessage: ProgressMessage<BashProgress>[], {
verbose,
theme: _theme,
tools: _tools,
style: _style
}: {
verbose: boolean;
theme: ThemeName;
tools: Tool[];
style?: 'condensed';
})
| 157 | </MessageResponse>; |
| 158 | } |
| 159 | export function renderToolResultMessage(content: Out, progressMessagesForMessage: ProgressMessage<BashProgress>[], { |
| 160 | verbose, |
| 161 | theme: _theme, |
| 162 | tools: _tools, |
| 163 | style: _style |
| 164 | }: { |
| 165 | verbose: boolean; |
| 166 | theme: ThemeName; |
| 167 | tools: Tool[]; |
| 168 | style?: 'condensed'; |
| 169 | }): React.ReactNode { |
| 170 | const lastProgress = progressMessagesForMessage.at(-1); |
| 171 | const timeoutMs = lastProgress?.data?.timeoutMs; |
| 172 | return <BashToolResultMessage content={content} verbose={verbose} timeoutMs={timeoutMs} />; |
| 173 | } |
| 174 | export function renderToolUseErrorMessage(result: ToolResultBlockParam['content'], { |
| 175 | verbose, |
| 176 | progressMessagesForMessage: _progressMessagesForMessage, |
nothing calls this directly
no outgoing calls
no test coverage detected