Codex.Items.CommandExecution (Codex SDK v0.6.0)

Copy Markdown View Source

Captures an execution request made by the agent, including aggregated output and status metadata.

Summary

Types

status()

@type status() :: :in_progress | :completed | :failed | :declined

t()

@type t() :: %Codex.Items.CommandExecution{
  aggregated_output: String.t(),
  command: String.t(),
  command_actions: [map()],
  cwd: String.t() | nil,
  duration_ms: integer() | nil,
  exit_code: integer() | nil,
  id: String.t() | nil,
  process_id: String.t() | nil,
  status: status(),
  type: :command_execution
}