The accumulated outcome of a whole run — what Session.run/2 and message/2 deliver.
transcript is the provider's client-held history when the provider exports
transcript/1 (potentially large); nil for server-held providers.
in_flight: :unknown means additional provider work may be unmeasured;
:none marks a completed local boundary. usage.complete? describes the
represented contributions, so neither flag alone certifies total billed cost.
Summary
Types
@type t() :: %ReqManagedAgents.SessionResult{ custom_tool_uses: [ReqManagedAgents.ToolUse.t()], events: [map()], in_flight: :none | :unknown, server_tool_uses: [ReqManagedAgents.ToolUse.t()], session_id: String.t() | nil, stop_reason: String.t() | map() | atom() | nil, terminal: ReqManagedAgents.Provider.terminal(), text: String.t(), transcript: [map()] | nil, turns: non_neg_integer(), usage: ReqManagedAgents.Usage.t() }