Skip to content

chore(a2apb): regenerate protos from the v1.1 spec - #644

Merged
polchernikova-w merged 1 commit into
release/v1.1from
v1.1-wire-plumbing
Nov 29, 2026
Merged

polchernikova-w merged 1 commit into
release/v1.1from
v1.1-wire-plumbing

Conversation

@polchernikova-w

Copy link
Copy Markdown
Contributor

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.

@yarolegovich

Copy link
Copy Markdown
Member

Base automatically changed from v1.1-core-types to release/v1.1 November 29, 2026 15:14
@polchernikova-w
polchernikova-w merged commit 70a254a into release/v1.1 Nov 29, 2026
5 checks passed
@polchernikova-w
polchernikova-w deleted the v1.1-wire-plumbing branch November 29, 2026 15:18
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`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants