Whether the run was interrupted (a lifecycle "interrupted" event
was received). Mirrors the in-process run.interrupted.
Interrupt payloads collected during the run, if any.
Mirrors the in-process run.interrupts.
Thread ID this transport is bound to.
High-level wrapper around a protocol connection to a specific thread.
In the thread-centric protocol, threads are durable (backed by
checkpoints) and connections are ephemeral. A ThreadStream is the
client-side handle for interacting with a thread: starting runs,
subscribing to events, consuming assembled projections (messages,
values, toolCalls, etc.), and responding to interrupts.
Construct via client.threads.stream(threadId?, { assistantId? }).