From b31849549cac3aadcfaf657dee0a7ee751a6eb74 Mon Sep 17 00:00:00 2001 From: helwd Date: Thu, 12 Mar 2026 22:53:03 +0800 Subject: [PATCH] feat: add missing agent icons for cline, goose, autohand, codebuddy, corust, minion, stakpak - Add ClineMono and GooseMono from @lobehub/icons (already in the library but not wired up) - Add hand-crafted SVG fallbacks for agents not yet in @lobehub/icons: autohand, codebuddy_code, corust_agent, minion_code, stakpak - All 20 agent types now render a distinct icon instead of a plain dot --- src/components/agent-icon.tsx | 97 +++++++++++++++++++++++++++++++++++ 1 file changed, 97 insertions(+) diff --git a/src/components/agent-icon.tsx b/src/components/agent-icon.tsx index ab893aa..2353ad7 100644 --- a/src/components/agent-icon.tsx +++ b/src/components/agent-icon.tsx @@ -3,8 +3,10 @@ import { AGENT_COLORS } from "@/lib/types" import { cn } from "@/lib/utils" import ClaudeColor from "@lobehub/icons/es/Claude/components/Color" +import ClineMono from "@lobehub/icons/es/Cline/components/Mono" import GeminiColor from "@lobehub/icons/es/Gemini/components/Color" import GithubCopilotMono from "@lobehub/icons/es/GithubCopilot/components/Mono" +import GooseMono from "@lobehub/icons/es/Goose/components/Mono" import QwenColor from "@lobehub/icons/es/Qwen/components/Color" import KimiColor from "@lobehub/icons/es/Kimi/components/Color" import MistralColor from "@lobehub/icons/es/Mistral/components/Color" @@ -32,16 +34,25 @@ const MONO_ICONS: Partial> = { codex: OpenAI, open_code: OpenCode, github_copilot: GithubCopilotMono, + cline: ClineMono, + goose: GooseMono, } // Text-color versions for Mono icons and SVG fallbacks const AGENT_TEXT_COLORS: Partial> = { open_code: "text-blue-500", auggie: "text-purple-500", + autohand: "text-emerald-500", + cline: "text-rose-500", + codebuddy_code: "text-violet-500", + corust_agent: "text-amber-500", github_copilot: "text-gray-700 dark:text-gray-300", + goose: "text-lime-500", junie: "text-pink-500", + minion_code: "text-fuchsia-500", qoder: "text-teal-500", factory_droid: "text-yellow-600", + stakpak: "text-slate-500", } function FallbackIcon({ @@ -110,6 +121,92 @@ function FallbackIcon({ /> ) + case "autohand": + return ( + + + + ) + case "codebuddy_code": + return ( + + + + ) + case "corust_agent": + return ( + + + + ) + case "minion_code": + return ( + + + + + + + ) + case "stakpak": + return ( + + + + + + ) default: return (