Multi-turn runner that orchestrates agent execution over Codex threads.
Summary
Functions
Resolves and filters handoffs configured on the agent, returning only enabled entries.
Functions
@spec get_handoffs(Codex.Agent.t(), map()) :: {:ok, [Codex.Handoff.t()]}
Resolves and filters handoffs configured on the agent, returning only enabled entries.
@spec run(Codex.Thread.t(), String.t() | [map()], map() | keyword()) :: {:ok, Codex.Turn.Result.t()} | {:error, term()}
@spec run_streamed(Codex.Thread.t(), String.t() | [map()], map() | keyword()) :: {:ok, Codex.RunResultStreaming.t()} | {:error, term()}