Repository navigation
refactor(a2a): migrate the A2A client to ADK v0.30.0 (A2A v1.0.1 types) - #1476
Merged
Merged
Conversation
…re types - accept the renamed TASK_STATE_CANCELED state, still reading the pre-v1.0.1 TASK_STATE_CANCELLED spelling for in-flight agents - decode the flattened v1.0.1 parts (part.data of any JSON value, part.url for file URLs) and surface the preferred endpoint from card supportedInterfaces - move to the ADK v0.30.0 request types (GetTaskRequest, CancelTaskRequest, SendMessageRequest) and regenerate mocks
3 tasks
inference-gateway-maintainer
Bot
requested a review
from a team
as a code owner
October 2, 2026 11:45
Remove the inline comment in the task state key map, since the NormalizeTaskState doc already covers the cancelled alias. Use require.Len in the v1.0.1 wire shape test and add a table test for PreferredEndpointURL.
Contributor
|
🎉 This PR is included in version 0.222.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
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.
Resolves #1474
Summary
Bump github.com/inference-gateway/adk from v0.29.0 to v0.30.0 so the CLI speaks the A2A v1.0.1 wire types that freshly generated agents (adl-cli #452 scaffolds) already send. The three wire-level breakages named in the issue are fixed: the renamed canceled task state, the flattened parts, and the SupportedInterfaces-based agent card. On the open question, the CLI stays tolerant of pre-v1.0.1 task-state spellings: NormalizeTaskState accepts both on read, while everything the CLI sends uses the new shape. Nested data parts and file parts from v0.29-era agents are not read, so their structured errors and file-part artifact URLs are dropped. Text parts and the artifact metadata url still work.
Changes
Downstream