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

Function shouldCollapseByDefault

cli/src/utils/constants.ts:55–59  ·  view source on GitHub ↗
(agentType: string)

Source from the content-addressed store, hash-verified

53 * Check if an agent should be collapsed by default
54 */
55export const shouldCollapseByDefault = (agentType: string): boolean => {
56 return COLLAPSED_BY_DEFAULT_AGENT_IDS.some((collapsedId) =>
57 agentType.includes(collapsedId),
58 )
59}
60
61/**
62 * Rules for collapsing child agents when spawned by specific parent agents.

Callers 2

createAgentBlockFunction · 0.90
splitByAgentSizeFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected