diff --git a/desktop/src/components/chat/CodeViewer.tsx b/desktop/src/components/chat/CodeViewer.tsx index f75721e5..4098915e 100644 --- a/desktop/src/components/chat/CodeViewer.tsx +++ b/desktop/src/components/chat/CodeViewer.tsx @@ -67,7 +67,7 @@ export function CodeViewer({ code, language, maxLines = 20, showLineNumbers = tr )} diff --git a/desktop/src/components/chat/PermissionDialog.tsx b/desktop/src/components/chat/PermissionDialog.tsx index 7446dfd3..2097a6ef 100644 --- a/desktop/src/components/chat/PermissionDialog.tsx +++ b/desktop/src/components/chat/PermissionDialog.tsx @@ -98,7 +98,7 @@ function renderPermissionPreview(toolName: string, input: unknown) { if (toolName === 'Bash' && typeof obj.command === 'string') { return (
-
+        
           $ {obj.command}
         
@@ -209,7 +209,7 @@ export function PermissionDialog({ requestId, toolName, input, description }: Pr )} {allowRawToggle && showRaw && ( -
+          
             {rawInput}
           
)} diff --git a/desktop/src/components/chat/ToolCallBlock.tsx b/desktop/src/components/chat/ToolCallBlock.tsx index 63516c60..c826b2a0 100644 --- a/desktop/src/components/chat/ToolCallBlock.tsx +++ b/desktop/src/components/chat/ToolCallBlock.tsx @@ -110,7 +110,7 @@ function renderPreview( if (toolName === 'Bash' && typeof obj.command === 'string') { return ( -
+
$ {obj.command}
@@ -125,7 +125,7 @@ function renderPreview( const text = extractTextContent(result.content) if (text) { return ( -
) { const text = JSON.stringify(obj, null, 2) return ( -
+
Tool Input