From 45841c3f948dabcc177d2306246020bc339709ae Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Mon, 1 Dec 2025 14:13:41 -0500 Subject: Show tool call arguments inline instead of JSON blob - Add formatToolCallSummary to extract key argument from JSON - Shows run_bash command, file paths for read/edit/write, patterns for search - Display summary inline in tool call header (e.g., run_bash: `ls -la`) - Increase token guardrail from 1M to 2M to prevent premature stops Task-Id: t-212 --- Omni/Jr/Web/Style.hs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Omni/Jr/Web') diff --git a/Omni/Jr/Web/Style.hs b/Omni/Jr/Web/Style.hs index 9a0c12d..bb74ce9 100644 --- a/Omni/Jr/Web/Style.hs +++ b/Omni/Jr/Web/Style.hs @@ -1488,6 +1488,11 @@ timelineEventStyles = do ".tool-name" ? do fontFamily ["SF Mono", "Monaco", "Consolas", "monospace"] [monospace] color "#3b82f6" + ".tool-summary" ? do + fontFamily ["SF Mono", "Monaco", "Consolas", "monospace"] [monospace] + fontSize (px 12) + color "#6b7280" + marginLeft (px 8) ".tool-args" ? do marginTop (px 4) paddingLeft (px 20) -- cgit v1.2.3