Skip to content

v0.2.0

Choose a tag to compare

@benoitc benoitc released this 20 Sep 18:44
· 37 commits to main since this release
1947a89

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_timeout defaults to infinity. A send with returnImmediately unset or false now waits for a terminal or interrupted state, as the specification requires, and ends early if the peer disconnects. Set blocking_timeout => 30000 for the old deadline, remembering that answering a blocking send with a non-final task is a deviation.
  • GetExtendedAgentCard refuses an anonymous caller with unauthenticated. A server running auth => none has no authenticated agent to serve it to; configure an authentication scheme, or supply a principal in 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 ListTasks pageSize outside 1 to 100 is rejected rather than clamped. ListTaskPushNotificationConfigs is unaffected: the specification gives it no bounds.
  • Unknown request fields are ignored by default, for forward compatibility. Set validate_schema => strict to 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_store with ETS and DETS backends.
  • Maintainer documentation under docs/internals/ and docs/decisions/.
  • Interop tests against a2a-python, @a2a-js/sdk and a2a-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.