From 3d171b6aa0aa301ecf513fa826de79538a34749d Mon Sep 17 00:00:00 2001 From: ciregenz Date: Tue, 4 Aug 2026 00:30:44 -0700 Subject: [PATCH] [eric] chat: standalone tool rows rest flat, the elevated card only materializes on expand --- .../tool-bubbles/DefaultToolBubble.tsx | 40 +++++++++---------- 1 file changed, 19 insertions(+), 21 deletions(-) diff --git a/frontend/src/app/pages/AgentChat/tool-bubbles/DefaultToolBubble.tsx b/frontend/src/app/pages/AgentChat/tool-bubbles/DefaultToolBubble.tsx index a21c1775..90ee3dae 100644 --- a/frontend/src/app/pages/AgentChat/tool-bubbles/DefaultToolBubble.tsx +++ b/frontend/src/app/pages/AgentChat/tool-bubbles/DefaultToolBubble.tsx @@ -87,33 +87,27 @@ export const DefaultToolBubble: React.FC = ({ @@ -154,7 +148,9 @@ export const DefaultToolBubble: React.FC = ({ {mcpInfo.serverSlug} )} - {inputSummary && !isStreaming && ( + {/* A Bash label is already input-derived ("Checked location"), so its raw command fragment + is noise at rest; it reappears with the expanded card where the full output lives. */} + {inputSummary && !isStreaming && (!/^bash$/i.test(toolName) || showBody || mcpCompact) ? ( {webDomain && } = ({ {inputSummary} - )} - {!inputSummary && } + ) : !isStreaming ? : null} {isStreaming && } {isDenied && ( @@ -192,12 +187,15 @@ export const DefaultToolBubble: React.FC = ({ )} )} + {/* Timings are debug detail, not content: ghosted at rest, legible on row hover. */} {resultElapsedMs != null && ( {formatElapsed(resultElapsedMs)} @@ -208,7 +206,7 @@ export const DefaultToolBubble: React.FC = ({ {showTimer && } {canToggleDetails && ( - + {showBody ? ( ) : (