( toolName: string, )
| 106 | ]) |
| 107 | |
| 108 | const isHiddenToolName = ( |
| 109 | toolName: string, |
| 110 | ): toolName is ToolName | 'spawn_agent_inline' => |
| 111 | hiddenToolNames.has(toolName as ToolName | 'spawn_agent_inline') |
| 112 | |
| 113 | const ensureStreaming = (state: EventHandlerState) => { |
| 114 | if (!state.message.hasReceivedContentRef.current) { |