# `Codex.Events.TurnPlanUpdated`
[🔗](https://github.com/nshkrdotcom/codex_sdk/blob/v0.18.1/lib/codex/events.ex#L196)

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

# `plan_step`

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

# `plan_step_status`

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

# `t`

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

---

*Consult [api-reference.md](api-reference.md) for complete listing*
