Codex.Events.TurnPlanUpdated (Codex SDK v0.6.0)

Copy Markdown View Source

Event emitted when the app-server publishes an updated plan for the current turn.

Summary

Types

plan_step()

@type plan_step() :: %{step: String.t(), status: plan_step_status()}

plan_step_status()

@type plan_step_status() :: :pending | :in_progress | :completed

t()

@type t() :: %Codex.Events.TurnPlanUpdated{
  explanation: String.t() | nil,
  plan: [plan_step()],
  thread_id: String.t() | nil,
  turn_id: String.t() | nil
}