RunStream
What agent.stream() returns.
Iterate it for the run's events as they are appended to the log, plus transient text deltas and status items; await result for the RunResult.
A handle returned by the library.
Properties
resultPromise<RunResult<Output>>requiredThe HTTP form is host-api RunOutcome (ids instead of handles).