Repository navigation
v0.2.0
Conformance work against A2A v1.0.1, maintainer documentation, and interop testing against three reference SDKs.
Breaking changes
Five changes are visible to a running deployment. Each says what to set to keep the old behaviour.
blocking_timeoutdefaults toinfinity. A send withreturnImmediatelyunset or false now waits for a terminal or interrupted state, as the specification requires, and ends early if the peer disconnects. Setblocking_timeout => 30000for the old deadline, remembering that answering a blocking send with a non-final task is a deviation.GetExtendedAgentCardrefuses an anonymous caller withunauthenticated. A server runningauth => nonehas no authenticated agent to serve it to; configure an authentication scheme, or supply aprincipalin the request context if your embedding authenticates the peer.- A duplicate JSON key keeps the last occurrence, as ProtoJSON requires. It previously kept the first.
- An explicit
ListTaskspageSizeoutside 1 to 100 is rejected rather than clamped.ListTaskPushNotificationConfigsis unaffected: the specification gives it no bounds. - Unknown request fields are ignored by default, for forward compatibility. Set
validate_schema => strictto reject them as before.
Conformance
ListTasks applies authorization inside the registry filter, so totalSize and nextPageToken no longer describe rows the caller cannot see, and statusTimestampAfter is inclusive. validate_schema => all now covers streamed events, not only unary replies. Push delivery never discards an event to make room: a full queue counts as a delivery failure, so a receiver that cannot keep up loses its configuration rather than silently missing notifications. A field sent as JSON null is read as unset, which is what ProtoJSON requires.
Resource bounds
Every buffer a peer can fill is bounded with a stated policy: task follow-ups (max_task_queue), stream subscribers (max_subscriber_queue), the push queue and worker mailbox (max_queue), client stream listeners (max_listener_queue), client replies and Agent Cards (max_body), and webhook responses. max_history optionally caps stored task history, defaulting to unlimited. A failed init/1 cleans up after itself, and losing a supervisor or the task store's writer stops the server so it is rebuilt.
Added
- Pluggable task storage:
barrel_a2a_task_storewith ETS and DETS backends. - Maintainer documentation under
docs/internals/anddocs/decisions/. - Interop tests against
a2a-python,@a2a-js/sdkanda2a-go: 102 cases, both directions, both HTTP bindings. make check-vectors, which compares the vendored schema and proto against what upstream publishes.
Full detail in CHANGELOG.md.