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:
parent
bf41b13cb6
commit
7e73cd4719
|
|
@ -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') {
|
||||
|
|
|
|||
|
|
@ -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) })
|
||||
)
|
||||
})
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in New Issue