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

Function updateSpawnAgentBlocks

cli/src/utils/sdk-event-handlers.ts:426–434  ·  view source on GitHub ↗
(
  blocks: ContentBlock[],
  toolCallId: string,
  results: any[],
)

Source from the content-addressed store, hash-verified

424}
425
426const updateSpawnAgentBlocks = (
427 blocks: ContentBlock[],
428 toolCallId: string,
429 results: any[],
430): ContentBlock[] => {
431 return blocks
432 .map((block) => updateSpawnAgentBlock(block, toolCallId, results))
433 .filter((block): block is ContentBlock => block !== null)
434}
435
436const handleSpawnAgentsResult = (
437 state: EventHandlerState,

Callers 2

updateSpawnAgentBlockFunction · 0.85
handleSpawnAgentsResultFunction · 0.85

Calls 1

updateSpawnAgentBlockFunction · 0.85

Tested by

no test coverage detected