Repository navigation
chore(a2apb): regenerate protos from the v1.1 spec - #644
Merged
Merged
Conversation
Member
|
did you use https://github.com/a2aproject/a2a-go/blob/main/tools/proto_gen.sh ? let's update commit hash there |
yarolegovich
approved these changes
Nov 27, 2026
polchernikova-w
force-pushed
the
v1.1-wire-plumbing
branch
from
November 29, 2026 15:14
bae2f67 to
c31aa59
Compare
polchernikova-w
added a commit
that referenced
this pull request
Nov 29, 2026
… transports (#646) Depends on #644. Part of the A2A v1.1 work on `release/v1.1`. Carries the v1.1 core types over gRPC and REST, and maps the new error on every transport. No behavior changes: the SDK does not set or use the new fields yet. This PR addresses the following from the [v1.1 spec](https://github.com/a2aproject/A2A/blob/dev-1.1/docs/specification.md): - [§3.2.7](https://github.com/a2aproject/A2A/blob/dev-1.1/docs/specification.md#327-task-generation-semantics), [§3.2.8](https://github.com/a2aproject/A2A/blob/dev-1.1/docs/specification.md#328-task-timeline-semantics), [§4.2.3](https://github.com/a2aproject/A2A/blob/dev-1.1/docs/specification.md#423-taskmessageupdateevent): pbconv maps generation, timeline, timestamps, artifact start/end generation, and the `messageUpdate` stream payload in both directions. - [§3.2.2](https://github.com/a2aproject/A2A/blob/dev-1.1/docs/specification.md#322-sendmessageconfiguration), [§3.1.3](https://github.com/a2aproject/A2A/blob/dev-1.1/docs/specification.md#313-get-task), [§3.1.6](https://github.com/a2aproject/A2A/blob/dev-1.1/docs/specification.md#316-subscribe-to-task), Task View ([A2A#2399](a2aproject/A2A#2399)): pbconv maps `ifGenerationMatch`, `taskView`, `currentGeneration`, `view`, `lastSeenGeneration`. - [§11.5 Query Parameter Naming](https://github.com/a2aproject/A2A/blob/dev-1.1/docs/specification.md#115-query-parameter-naming-for-request-parameters): REST client and server pass `currentGeneration`, `view` and `lastSeenGeneration` as query params; the REST stream parser reads `messageUpdate`. - [§5.4 Error Code Mappings](https://github.com/a2aproject/A2A/blob/dev-1.1/docs/specification.md#54-error-code-mappings): `ErrTaskGenerationMismatch` maps to JSON-RPC `-32010`, gRPC `ABORTED`, HTTP `409`, and is added to the errors whose message the server returns to clients. Backward compatibility: with 1.0 peers nothing changes on the wire. Our server never sets the new fields, so proto3 and JSON omit them, and 1.0 clients never send the new params. One edge case: a gRPC `ABORTED` without A2A error details now maps to `ErrTaskGenerationMismatch` instead of `ErrInternalError` (same code-only fallback as the other mappings). 1.0 servers do not return `ABORTED`.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
chore(a2apb): regenerate protos from the v1.1 spec
Part of the A2A v1.1 work on release/v1.1 (#612, #619).
Regenerates a2apb/v1 from the v1.1 proto. Generated code only, no hand-written changes.
No behavior changes. The new fields are not mapped by pbconv yet, so they stay zero and are not sent. SendLiveMessage returns gRPC Unimplemented through the embedded UnimplementedA2AServiceServer.