( agentBlock: Pick<AgentContentBlock, 'agentType' | 'blocks'>, )
| 50 | * These agents are rendered differently (as simple status lines instead of full agent blocks). |
| 51 | */ |
| 52 | export const isImplementorAgent = ( |
| 53 | agentBlock: Pick<AgentContentBlock, 'agentType' | 'blocks'>, |
| 54 | ): boolean => { |
| 55 | if (hasProposedTools(agentBlock.blocks)) { |
| 56 | return true |
| 57 | } |
| 58 | |
| 59 | return IMPLEMENTOR_AGENT_IDS.some((id) => agentBlock.agentType.includes(id)) |
| 60 | } |
| 61 | |
| 62 | /** |
| 63 | * Get the display name for an implementor agent. |
no test coverage detected