-
Notifications
You must be signed in to change notification settings - Fork 109
feat: introduce transport agnostic client #198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
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
This reverts commit 72916c3.
guglielmo-san
approved these changes
Nov 26, 2025
yarolegovich
approved these changes
Nov 27, 2025
ishymko
added a commit
that referenced
this pull request
Nov 28, 2025
# Description Propagate `RequestOptions` down to `Transport`. Re #198, was missing in the original PR - wasn't release yet, so no impact.
This was referenced Dec 10, 2025
ishymko
added a commit
that referenced
this pull request
Dec 10, 2025
# Description 1. Update README.md, sample agents and sample CLI to use new APIs introduced in #162 (extract middlewares from `A2AExpressApp`) and #198 (transport-agnostic client). 2. Mark `A2AExpressApp` and `A2AClient` as deprecated. 3. Ensure samples and TCK import via index files only to "test" that all required types are exported. 4. Consolidate all `@example` tags to use ` ```ts `.
ishymko
added a commit
that referenced
this pull request
Dec 10, 2025
🤖 I have created a release *beep* *boop* --- ## [0.3.6](v0.3.5...v0.3.6) (2025-12-10) ### Features * add support for extendedAgentCard on client side ([#234](#234)) ([3073376](3073376)) * Add support for extension headers on client side ([#227](#227)) ([8c57002](8c57002)) * implement client interceptors ([#223](#223)) ([5694c22](5694c22)) * Implement extended card support on server side ([#197](#197)) ([45014ac](45014ac)) * implement server http+json ([#142](#142)) ([f20e662](f20e662)) * introduce AgentCardResolver ([#225](#225)) ([ddaf7de](ddaf7de)) * introduce transport agnostic client ([#198](#198)) ([94a9848](94a9848)) * server side support for extensions ([5ef7396](5ef7396)) * support authentication on server side ([#195](#195)) ([9872d93](9872d93)) ### Bug Fixes * handle errors occurred in non-blocking sendMessage ([#187](#187)) ([e55c0f4](e55c0f4)) ### Miscellaneous Chores * set version to 0.3.6 ([#191](#191)) ([3f8cea0](3f8cea0)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: Ivan Shymko <ishymko@google.com>
4 tasks
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.
Description
As a next step after #169, define a transport agnostic client.
Changes
Main
Clientbuilt around core types, not JSON-RPC wrappers.ClientFactoryto dynamically select transport among available based on agent card and factory level preferences.Misc
A2ATransporttoTransport(this type is not yet exported viaindex.ts).AbortSignaltoTransportand new client for cancellation.sendMessageandsendMessageStreamusing server SDK wired up with real expressjs app and invoked via newly created client.getTaskPushNotificationConfigtypes in transport.TODOs
Re #137, #142
Release-As: 0.3.6