For debugging, you can use:
diff --git a/src/components/Tooltip.tsx b/src/components/Tooltip.tsx
index 4d85b6458..e6d32b1e9 100644
--- a/src/components/Tooltip.tsx
+++ b/src/components/Tooltip.tsx
@@ -221,7 +221,7 @@ export const Tooltip: React.FC = ({
className={cn(
"bg-modal-bg text-foreground text-left rounded px-[10px] py-[6px] z-[9999]",
"text-[11px] font-normal font-sans border border-separator-light shadow-[0_2px_8px_rgba(0,0,0,0.4)]",
- width === "wide" ? "whitespace-normal max-w-[300px] w-max" : "whitespace-nowrap",
+ width === "wide" ? "whitespace-normal max-w-80 w-max" : "whitespace-nowrap",
interactive ? "pointer-events-auto" : "pointer-events-none",
className
)}
@@ -245,7 +245,7 @@ export const HelpIndicator: React.FC<{ className?: string; children?: React.Reac
= ({
{showLineNumbers && (
(
{showLineNumbers && (
= ({
🔧
bash
-
+
{args.script}
= ({
✏️
{toolName}
-
+
{filePath}
diff --git a/src/components/tools/FileReadToolCall.tsx b/src/components/tools/FileReadToolCall.tsx
index 39d98f672..fa29ff947 100644
--- a/src/components/tools/FileReadToolCall.tsx
+++ b/src/components/tools/FileReadToolCall.tsx
@@ -82,7 +82,7 @@ export const FileReadToolCall: React.FC
= ({
📖
file_read
-
+
{filePath}
{result && result.success && parsedContent && (
@@ -131,7 +131,7 @@ export const FileReadToolCall: React.FC = ({
Content
-
+
{parsedContent.lineNumbers.map((lineNum, i) => (
{lineNum}
))}