MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / isImplementorAgent

Function isImplementorAgent

cli/src/utils/implementor-helpers.ts:52–60  ·  view source on GitHub ↗
(
  agentBlock: Pick<AgentContentBlock, 'agentType' | 'blocks'>,
)

Source from the content-addressed store, hash-verified

50 * These agents are rendered differently (as simple status lines instead of full agent blocks).
51 */
52export 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.

Callers 7

processBlocksFunction · 0.90
getImplementorIndexFunction · 0.85
getMultiPromptProgressFunction · 0.85

Calls 1

hasProposedToolsFunction · 0.85

Tested by

no test coverage detected