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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user