(input: Partial<{
description: string;
prompt: string;
subagent_type: string;
name: string;
team_name: string;
}> | undefined)
| 758 | </Box>; |
| 759 | } |
| 760 | export function userFacingName(input: Partial<{ |
| 761 | description: string; |
| 762 | prompt: string; |
| 763 | subagent_type: string; |
| 764 | name: string; |
| 765 | team_name: string; |
| 766 | }> | undefined): string { |
| 767 | if (input?.subagent_type && input.subagent_type !== GENERAL_PURPOSE_AGENT.agentType) { |
| 768 | // Display "worker" agents as "Agent" for cleaner UI |
| 769 | if (input.subagent_type === 'worker') { |
| 770 | return 'Agent'; |
| 771 | } |
| 772 | return input.subagent_type; |
| 773 | } |
| 774 | return 'Agent'; |
| 775 | } |
| 776 | export function userFacingNameBackgroundColor(input: Partial<{ |
| 777 | description: string; |
| 778 | prompt: string; |
no outgoing calls
no test coverage detected