Get subagent chunks for a specific agent
(agentId: string)
| 84 | |
| 85 | /** Get subagent chunks for a specific agent */ |
| 86 | getSubagentChunks(agentId: string): string[] { |
| 87 | return this.streamChunks |
| 88 | .filter( |
| 89 | (c): c is Extract<StreamChunk, { type: 'subagent_chunk' }> => |
| 90 | typeof c !== 'string' && c.type === 'subagent_chunk' && c.agentId === agentId, |
| 91 | ) |
| 92 | .map((c) => c.chunk) |
| 93 | } |
| 94 | |
| 95 | /** Check event ordering - returns true if events appear in the expected order */ |
| 96 | verifyEventOrder(expectedOrder: PrintModeEvent['type'][]): boolean { |
no outgoing calls
no test coverage detected