| ... | ... | @@ -2993,7 +2993,7 @@ function buildToolCallExpandedBody( |
| 2993 | 2993 | viewedImagePath: string | null, |
| 2994 | 2994 | ): string | null { |
| 2995 | 2995 | const blocks: string[] = []; |
| 2996 | | const seen = new Set<string>(); |
| 2996 | const seen = new Set<string>([visibleLabel.trim()]); |
| 2997 | 2997 | const addBlock = (value: string | null | undefined) => { |
| 2998 | 2998 | const text = value?.trim(); |
| 2999 | 2999 | if (!text || seen.has(text)) return; |
| ... | ... | @@ -3215,6 +3215,7 @@ const PlainWorkEntryRow = memo(function PlainWorkEntryRow(props: { |
| 3215 | 3215 | : null; |
| 3216 | 3216 | const commandMatchesVisibleLabel = workEntry.command?.trim() === previewText.trim(); |
| 3217 | 3217 | const canExpand = |
| 3218 | (showFailedIndicator && previewText.trim().length > 0) || |
| 3218 | 3219 | (workEntry.itemType === "mcp_tool_call" && workEntry.toolData !== undefined) || |
| 3219 | 3220 | Boolean( |
| 3220 | 3221 | (!commandMatchesVisibleLabel && |