From 625711e71824cb3c5436b0a4834a5c4f58ef676b Mon Sep 17 00:00:00 2001
From: Yif <877193178@qq.com>
Date: Sat, 8 Aug 2026 11:04:11 +0800
Subject: [PATCH] fix(client): distinguish grep/glob rows from the web search
row
The grep, glob, and web_search tool rows all rendered as "Search" with
the same magnifier icon, so a transcript full of local searches was
indistinguishable from web searches. Grep and glob now carry their own
command-named titles through TOOL_TITLES, and the web_search row wears
a new globe glyph (IconGlobeOutline14) while keeping its "Search" title.
---
packages/client/ui-primitives/src/icons/index.tsx | 12 ++++++++++++
.../client/ui-primitives/tests/icons.client.spec.tsx | 4 ++--
.../ui-tool/src/client/tool/toolviews/search-row.tsx | 9 +++++++--
.../ui-tool/src/client/tool/toolviews/web-row.tsx | 5 +++--
.../client/ui-tool/tests/search-card.client.spec.tsx | 5 ++++-
.../client/ui-tool/tests/web-card.client.spec.tsx | 3 +++
6 files changed, 31 insertions(+), 7 deletions(-)
diff --git a/packages/client/ui-primitives/src/icons/index.tsx b/packages/client/ui-primitives/src/icons/index.tsx
index 972e0ec14d..2606f54e62 100644
--- a/packages/client/ui-primitives/src/icons/index.tsx
+++ b/packages/client/ui-primitives/src/icons/index.tsx
@@ -31,6 +31,18 @@ export const IconSearchOutline16 = ({ size = 16, className }: IconProps) => (
)
+/** ic_ds_globe_outline_14 — meridian globe (harness-only figma extract). */
+export const IconGlobeOutline14 = ({ size = 14, className }: IconProps) => (
+
+)
+
/** ic_ds_settings_outline_14 */
export const IconSettingsOutline14 = ({ size = 14, className }: IconProps) => (