Skip to content

feat(schema)!: define the complete A2A 1.1 wire model - #385

Draft
msardara wants to merge 15 commits into
a2a-1.1/1-baselinefrom
a2a-1.1/2-schema
Draft

msardara wants to merge 15 commits into
a2a-1.1/1-baselinefrom
a2a-1.1/2-schema

Conversation

@msardara

@msardara msardara commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Stacked on #384.

Add the A2A 1.1 wire model and conversions for generations, timelines, conditional requests, live exchanges, and artifact ownership. Keep the advertised version at 1.0 until #388; client negotiation lands in #387.

Validation: wire-model regressions and idle-task cancellation across executor styles passed.

@msardara
msardara added this pull request to stack #389 October 27, 2026 10:32
@codecov

codecov Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 98.63946% with 16 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
a2a/src/types.rs 97.05% 4 Missing ⚠️
a2a-server/src/handler.rs 98.92% 3 Missing ⚠️
a2a-grpc/src/server.rs 0.00% 2 Missing ⚠️
a2a-pb/src/pbconv.rs 99.23% 2 Missing ⚠️
a2a-server/src/jsonrpc.rs 50.00% 2 Missing ⚠️
a2a-server/src/rest.rs 84.61% 2 Missing ⚠️
a2acli/src/lib.rs 98.92% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@msardara
msardara force-pushed the a2a-1.1/2-schema branch 2 times, most recently from dcc6fd2 to cdc3d97 Compare October 27, 2026 14:58
@msardara msardara changed the title feat!: add the A2A 1.1 schema to the proto and native model feat(schema)!: define the complete A2A 1.1 wire model Oct 30, 2026
@msardara
msardara removed this pull request from stack #389 October 30, 2026 17:27
@msardara
msardara added this pull request to stack #398 October 30, 2026 17:28
@msardara
msardara force-pushed the a2a-1.1/2-schema branch 2 times, most recently from 3e2eeb6 to 6a136af Compare November 3, 2026 14:47
@msardara
msardara force-pushed the a2a-1.1/2-schema branch 3 times, most recently from a763897 to 6e4c336 Compare November 11, 2026 10:35
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Preserve the upstream CLI features with A2A 1.1 fields and save file parts carried by task message updates.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Stop fabricating messages during protobuf conversion. Add checked stream decoding for binary transports and extend the HTTP decoder and fuzz oracle to recognize the 1.1 payload kinds, preserving unknown-event skipping.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Represent timelines without recognized entries as None in native serde, matching protobuf and ProtoJSON. Cover empty and unknown-only timelines, mixed entry kinds, round trips, and preserved task and entry generations.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Ignore client message notifications and client-origin artifacts when saving response attachments. Keep stream output intact and preserve legacy agent artifacts without an explicit role.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Skip unknown timeline payloads while preserving a generation-only Unknown entry in native JSON and protobuf conversions. Keep generation accounting intact across unknown-only and mixed timelines and all wire round trips.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Exclude only client-owned messages, preserving file attachment compatibility for responses with ROLE_UNSPECIFIED.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Signed-off-by: Mauro Sardara <msardara@cisco.com>

This branch has not been deployed

No deployments
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.

1 participant