Claudio.A2A.Task (Claudio v0.5.0)
View SourceA2A Task — the fundamental unit of work in the A2A protocol.
Tasks have a lifecycle: submitted → working → input_required → completed/failed/canceled.
Summary
Types
@type state() ::
:submitted
| :working
| :input_required
| :completed
| :failed
| :canceled
| :rejected
| :auth_required
@type t() :: %Claudio.A2A.Task{ artifacts: [Claudio.A2A.Artifact.t()], context_id: String.t() | nil, history: [Claudio.A2A.Message.t()], id: String.t(), metadata: map() | nil, status: task_status() }
@type task_status() :: %{ state: state(), message: Claudio.A2A.Message.t() | nil, timestamp: String.t() | nil }