(agentType: string)
| 53 | * Check if an agent should be collapsed by default |
| 54 | */ |
| 55 | export const shouldCollapseByDefault = (agentType: string): boolean => { |
| 56 | return COLLAPSED_BY_DEFAULT_AGENT_IDS.some((collapsedId) => |
| 57 | agentType.includes(collapsedId), |
| 58 | ) |
| 59 | } |
| 60 | |
| 61 | /** |
| 62 | * Rules for collapsing child agents when spawned by specific parent agents. |
no outgoing calls
no test coverage detected