export const LEGACY_SUBAGENT_TOOL_NAME_ALIASES = ['Task', 'Agent'];
export const GENERIC_SUBAGENT_TOOL_NAME_ALIASES = ['SubAgent', ...LEGACY_SUBAGENT_TOOL_NAME_ALIASES];
export function isGenericSubAgentToolName(toolName) {
    return GENERIC_SUBAGENT_TOOL_NAME_ALIASES.includes(toolName);
}
export function canonicalizeGenericSubAgentToolName(toolName) {
    return isGenericSubAgentToolName(toolName) ? 'SubAgent' : null;
}
export function isSubAgentTranscriptToolName(toolName) {
    return toolName === 'SubAgentRun' || isGenericSubAgentToolName(toolName);
}
//# sourceMappingURL=subAgentFamilies.js.map