Expand description
Task types for the A2A protocol.
A Task is the stateful unit of work managed by an agent. Its lifecycle
is tracked through TaskStatus and TaskState. The TaskState enum
uses SCREAMING_SNAKE_CASE with type prefix per ProtoJSON convention
(e.g. "TASK_STATE_INPUT_REQUIRED").
§ID newtypes
TaskId, ContextId, and TaskVersion are newtypes over String
(or u64) for compile-time type safety.
Structs§
- Context
Id - Opaque unique identifier for a conversation context.
- Task
- A unit of work managed by an A2A agent.
- TaskId
- Opaque unique identifier for a
Task. - Task
Status - The current status of a
Task, combining state with an optional message and timestamp. - Task
Version - Monotonically increasing version counter for optimistic concurrency control.