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
Taskis the core unit of action for A2A.- TaskId
- Opaque unique identifier for a
Task. - Task
Status - A container for the status of a task
- Task
Version - Monotonically increasing version counter for optimistic concurrency control.
Enums§
- Task
State - Defines the possible lifecycle states of a
Task.