Codex.Protocol.CollabAgentState (Codex SDK v0.14.0)

Copy Markdown View Source

Typed representation of a collaboration agent lifecycle state.

Summary

Types

status()

@type status() ::
  :pending_init
  | :running
  | :completed
  | :errored
  | :shutdown
  | :not_found
  | String.t()

t()

@type t() :: %Codex.Protocol.CollabAgentState{
  message: (String.t() | nil) | nil,
  status: status()
}

Functions

from_map(state)

@spec from_map(map() | atom() | String.t() | t() | nil) :: t()

to_event_value(collab_agent_state)

@spec to_event_value(t()) :: map() | String.t()

to_map(state)

@spec to_map(t()) :: map()