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

Copy Markdown View Source

Represents a file diff emitted by the agent, including per-path change metadata and completion status.

Summary

Types

change()

@type change() :: %{
  :path => String.t(),
  :kind => change_kind(),
  optional(:diff) => String.t(),
  optional(:move_path) => String.t() | nil
}

change_kind()

@type change_kind() :: :add | :delete | :update

status()

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

t()

@type t() :: %Codex.Items.FileChange{
  changes: [change()],
  id: String.t() | nil,
  status: status(),
  type: :file_change
}