Show Paseo logo and nice names for Paseo MCP tool calls

Detect Paseo MCP tool names across provider formats (Claude's
mcp__paseo__*, Codex's paseo.*) and display humanized leaf names
with the Paseo SVG logo instead of raw namespaced strings.
This commit is contained in:
Mohamed Boudra
2026-04-11 13:02:22 +07:00
parent cff41d78ab
commit 6897a400e5
5 changed files with 144 additions and 0 deletions
+5
View File
@@ -11,6 +11,8 @@ import {
Wrench,
} from "lucide-react-native";
import type { ToolCallDetail, ToolCallIconName } from "@server/server/agent/agent-sdk-types";
import { isPaseoToolName } from "@server/server/agent/tool-name-normalization";
import { PaseoLogo } from "@/components/icons/paseo-logo";
export type ToolCallIconComponent = ComponentType<{ size?: number; color?: string }>;
@@ -57,6 +59,9 @@ export function resolveToolCallIcon(
if (lowerName === "speak") {
return MicVocal;
}
if (isPaseoToolName(lowerName)) {
return PaseoLogo;
}
if (lowerName === "task") {
return Bot;
}