(fullAgentId: string)
| 143 | } |
| 144 | |
| 145 | export function isFreebuffRootAgent(fullAgentId: string): boolean { |
| 146 | const { publisherId, agentId } = parseAgentId(fullAgentId) |
| 147 | if (!agentId) return false |
| 148 | if (publisherId && publisherId !== 'codebuff') return false |
| 149 | return FREEBUFF_ROOT_AGENT_ID_SET.has(agentId) |
| 150 | } |
| 151 | |
| 152 | export function isFreebuffGeminiThinkerAgent(fullAgentId: string): boolean { |
| 153 | const { publisherId, agentId } = parseAgentId(fullAgentId) |
no test coverage detected