From a6e35eaf65f7caba30a5ef695ac42802a0d44989 Mon Sep 17 00:00:00 2001 From: weishu Date: Mon, 12 Jan 2026 21:21:57 +0800 Subject: [PATCH] fix: add shell_command tool to knownTools registry Codex API sends 'shell_command' as the tool name for bash commands, but the web app didn't recognize it, falling back to a generic wrench icon. This adds proper presentation with a terminal icon, matching Claude's Bash tool display. --- web/src/components/ToolCard/knownTools.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/web/src/components/ToolCard/knownTools.tsx b/web/src/components/ToolCard/knownTools.tsx index dc3b3923..0006cd80 100644 --- a/web/src/components/ToolCard/knownTools.tsx +++ b/web/src/components/ToolCard/knownTools.tsx @@ -137,6 +137,12 @@ export const knownTools: Record , + title: (opts) => opts.description ?? 'Terminal', + subtitle: (opts) => getInputStringAny(opts.input, ['command', 'cmd']), + minimal: true + }, Read: { icon: () => , title: (opts) => {