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

Function getSpawnedAgentTypes

agents/e2e/base-deep.e2e.test.ts:102–105  ·  view source on GitHub ↗
(events: PrintModeEvent[])

Source from the content-addressed store, hash-verified

100 .map((event) => event.toolName)
101
102 const getSpawnedAgentTypes = (events: PrintModeEvent[]) =>
103 events
104 .filter((event) => event.type === 'subagent_start')
105 .map((event) => event.agentType)
106
107 const countThinkerToolErrors = (events: PrintModeEvent[]) => {
108 let count = 0

Callers 2

writeTraceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected