fix(xai): fold namespace tools and restore dispatcher tool calls
- Introduce `xaiNamespaceRestorer` to track and restore folded dispatcher tool calls across SSE and WebSocket response events. - Support unwrapping dispatcher tool calls and arguments in `output_item.added` and `function_call_arguments.done` events. - Normalize historical input namespace tool calls to dispatcher format when namespace folding is active. Closes: #5214
L
Luis Pater committed
9b88808fc75ac012afb84955947aee0a0a62d4ad
Parent: 2555cde