Repository navigation
Labels
Description
Summary
inference-gateway/typescript-adk#250 makes the TypeScript ADK pass the full A2A v1.0.1 TCK JSON-RPC suite. It changes user-visible behaviour and public API that typescript-adk.md describes differently today:
SendMessage: the handler is now async and waits until the task reaches a terminal or interrupted state unlessconfiguration.returnImmediatelyis true (spec 3.2.2); it honourshistoryLength. The page still calls it a "synchronous" handler.- New
respondToMessageoption oncreateMessageSendHandler(typeMessageResponder): returning a message makesSendMessagereply with it directly and create no task. - Follow-up messages resume the paused task named by
taskId; messages to a terminal task return UnsupportedOperation (-32004) and a mismatchingcontextIdreturns InvalidParams (-32602). - A
taskPushNotificationConfigsent inline in the message configuration is registered; deleting a push notification config is idempotent. - Push notifications are posted as an A2A
StreamResponse({ task }) withContent-Type: application/a2a+json. TheTaskUpdateNotificationtype and thetask_updatepayload are gone. SubscribeToTaskreturns UnsupportedOperation for a terminal task and, without a live stream, follows the task until it terminates.- The agent card is served with
ETagandLast-Modifiedand answers a matchingIf-None-Matchwith 304. examples/tck-sutis a reference server using the above; CI runs the TCK against it.
Affected page: typescript-adk.md
- "What ships today" table:
createMessageSendHandlerandHTTPPushNotificationSenderrows. - "The
SendMessageJSON-RPC method": blocking behaviour,returnImmediately,historyLength,respondToMessage,taskIdresume and the new errors in the validation contract. - "Push notifications (
HTTPPushNotificationSender)": replace the "Wire payload (TaskUpdateNotification)" section with theStreamResponsepayload and content type; note idempotent delete. - New short sections for
SubscribeToTasksemantics and the agent card caching headers.
Source: inference-gateway/typescript-adk#250 (issue inference-gateway/typescript-adk#249). The Go counterpart is tracked in #932.
Acceptance Criteria
-
typescript-adk.mddocuments the blockingSendMessage,returnImmediatelyandhistoryLength -
respondToMessageis documented with an example - The push notification section shows the
StreamResponsepayload and dropsTaskUpdateNotification -
SubscribeToTaskterminal/interrupted semantics and the agent card caching headers are mentioned
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
edenreich commentedon Oct 3, 2026
@claude can you work on this? use /ponytail:ponytail
inference-gateway-maintainer commentedon Oct 3, 2026
Claude finished @edenreich's task in 5m 13s —— View job •
docs/issue-933-20261003-1531• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-933-20261003-1531?quick_pull=1&title=Issue%20%23933%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23933%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Done
typescript-adk.mdand the upstream typescript-adk sourceSendMessage,returnImmediately,historyLengthrespondToMessagewith an exampleTaskUpdateNotificationwith theStreamResponsepush payloadSubscribeToTasksemantics + agent card caching headerslint:md,format:check,buildall pass)What changed in
typescript-adk.mdSendMessageis now described as blocking: async handler waiting for a terminal or interrupted state (spec 3.2.2) unlessconfiguration.returnImmediatelyis set, honouringhistoryLength. Updated the "What ships today" row, the method intro, the old "returns synchronously" paragraph and the Go-parity bullet.respondToMessage) section with aMessageResponderexample, plus the handler-options row and the{ message }response form.returnImmediatelyandhistoryLengthsection covering the threeSendMessageConfigurationfields including inlinetaskPushNotificationConfigregistration.-32001(unknown task),-32004(terminal task) and-32602(mismatchingcontextId).StreamResponse) replaces theTaskUpdateNotificationsection,Content-Typeisapplication/a2a+json, every remainingtask_updatereference is gone,SendMessageConfiguration.pushNotificationConfigcorrected totaskPushNotificationConfig, and the idempotent delete is noted.SubscribeToTaskJSON-RPC method and Agent card caching headers sections.examples/tck-sutlinked from Related resources.Nothing left out.
Create a PR - already opened as #935.
| Branch
inference-gateway-releaser commentedon Oct 4, 2026
🎉 This issue has been resolved in version 0.9.21 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀