( context: AgentContext | undefined, )
| 115 | * Type guard to check if context is a SubagentContext. |
| 116 | */ |
| 117 | export function isSubagentContext( |
| 118 | context: AgentContext | undefined, |
| 119 | ): context is SubagentContext { |
| 120 | return context?.agentType === 'subagent' |
| 121 | } |
| 122 | |
| 123 | /** |
| 124 | * Type guard to check if context is a TeammateAgentContext. |
no outgoing calls
no test coverage detected