diff --git a/src/components/ToolWidgets.tsx b/src/components/ToolWidgets.tsx index fdb00e81..5036fb30 100644 --- a/src/components/ToolWidgets.tsx +++ b/src/components/ToolWidgets.tsx @@ -505,8 +505,8 @@ export const ReadResultWidget: React.FC<{ content: string; filePath?: string }> const isLargeFile = lineCount > 20; return ( -
-
+
+
@@ -560,7 +560,7 @@ export const ReadResultWidget: React.FC<{ content: string; filePath?: string }> )} {isLargeFile && !isExpanded && ( -
+
Click "Expand" to view the full file
)} @@ -654,8 +654,8 @@ export const BashWidget: React.FC<{ } return ( -
-
+
+
Terminal {description && ( @@ -760,9 +760,9 @@ export const WriteWidget: React.FC<{ filePath: string; content: string; result?: /> {/* Modal content */} -
+
{/* Header */} -
+
{filePath} @@ -803,7 +803,7 @@ export const WriteWidget: React.FC<{ filePath: string; content: string; result?: const CodePreview = ({ codeContent, truncated }: { codeContent: string; truncated: boolean }) => (
-
+
Preview {isLargeContent && truncated && (
@@ -1019,7 +1019,7 @@ export const GrepWidget: React.FC<{ {isExpanded && ( -
+
{grepResults.map((match, idx) => { const fileName = match.file.split('/').pop() || match.file; @@ -1029,7 +1029,7 @@ export const GrepWidget: React.FC<{
@@ -1145,7 +1145,7 @@ export const EditWidget: React.FC<{
-
+
{diffResult.map((part, index) => { const partClass = part.added @@ -1156,7 +1156,7 @@ export const EditWidget: React.FC<{ if (!part.added && !part.removed && part.count && part.count > 8) { return ( -
+
... {part.count} unchanged lines ...
); @@ -1241,7 +1241,7 @@ export const EditResultWidget: React.FC<{ content: string }> = ({ content }) => const language = getLanguage(filePath); return ( -
+
Edit Result @@ -1395,10 +1395,10 @@ export const MCPWidget: React.FC<{ )}>
-
+
Parameters
@@ -1425,7 +1425,7 @@ export const MCPWidget: React.FC<{ {/* Gradient fade for collapsed view */} {!isExpanded && isLargeInput && ( -
+
)}
@@ -1464,8 +1464,8 @@ export const CommandWidget: React.FC<{ commandArgs?: string; }> = ({ commandName, commandMessage, commandArgs }) => { return ( -
-
+
+
Command
@@ -1544,8 +1544,8 @@ export const CommandOutputWidget: React.FC<{ }; return ( -
-
+
+
Output
@@ -1632,7 +1632,7 @@ export const MultiEditWidget: React.FC<{ return (
Edit {index + 1}
-
+
{diffResult.map((part, partIndex) => { const partClass = part.added @@ -1643,7 +1643,7 @@ export const MultiEditWidget: React.FC<{ if (!part.added && !part.removed && part.count && part.count > 8) { return ( -
+
... {part.count} unchanged lines ...
); diff --git a/src/components/widgets/BashWidget.tsx b/src/components/widgets/BashWidget.tsx index 02c2551f..bfeff3ee 100644 --- a/src/components/widgets/BashWidget.tsx +++ b/src/components/widgets/BashWidget.tsx @@ -31,8 +31,8 @@ export const BashWidget: React.FC = ({ command, description, re } return ( -
-
+
+
Terminal {description && ( @@ -59,8 +59,8 @@ export const BashWidget: React.FC = ({ command, description, re
{resultContent || (isError ? "Command failed" : "Command completed")}
diff --git a/src/styles.css b/src/styles.css index 30658f5c..24d418bb 100644 --- a/src/styles.css +++ b/src/styles.css @@ -726,7 +726,7 @@ html.is-macos body { } .prose.dark\:prose-invert pre { - background-color: rgb(13, 17, 23); + /*background-color: rgb(13, 17, 23);*/ border: 1px solid var(--color-border); }