fix(sdk): surface nested interrupts on stream.interrupts (#2672)
Nested `interrupt()` calls (subgraphs / createDeepAgent subagents) never
showed up on `useStream().interrupts` while the run was live —
`#recordRootInterrupt` early-returned on non-root namespaces — but
hydrate seeded them from `state.tasks`, so the same interrupt appeared
after a reload. Mirror every `input.requested` onto
`rootStore.interrupts` with `Interrupt.namespace`, and look that
namespace up in `respond({ interruptId })` when it isn't passed
explicitly. C
Christian Bromann committed
5be518fe18f2497a28957dfec85522997e6df4f3
Parent: f9c0e88
Committed by GitHub <noreply@github.com>
on 8/10/2026, 11:38:49 PM