fix(mobile): use Claude icon for Agent Teams

Use the Claude logo for the Claude Agent Teams option on mobile.
This commit is contained in:
Jinwoo Hong 2026-06-11 14:38:36 -07:00 committed by GitHub
parent bf41b13cb6
commit 7e73cd4719
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 2 deletions

View File

@ -79,7 +79,7 @@ function AgentLetterIcon({ letter, size = 16 }: { letter: string; size?: number
}
export function MobileAgentIcon({ agentId, size = 16 }: { agentId: string; size?: number }) {
if (agentId === 'claude') {
if (agentId === 'claude' || agentId === 'claude-agent-teams') {
return <ClaudeIcon size={size} />
}
if (agentId === 'codex') {

View File

@ -38,4 +38,10 @@ describe('mobile agent catalog', () => {
new Set(parseDesktopConfiguredAgents())
)
})
it('uses the bundled Claude icon path for Claude Agent Teams', () => {
expect(MOBILE_AGENT_CATALOG.find((agent) => agent.id === 'claude-agent-teams')).toEqual(
expect.not.objectContaining({ faviconDomain: expect.any(String) })
)
})
})

View File

@ -72,7 +72,6 @@ export const MOBILE_TUI_AGENT_LABELS: Record<TuiAgent, string> = {
}
export const MOBILE_TUI_AGENT_FAVICON_DOMAINS: Partial<Record<TuiAgent, string>> = {
'claude-agent-teams': 'anthropic.com',
openclaude: 'openclaude.gitlawb.com',
grok: 'x.ai',
copilot: 'github.com',