Repository navigation
Labels
documentationImprovements or additions to documentation
Description
Summary
The TypeScript ADK (@inference-gateway/adk) shipped its first A2A JSON-RPC method handler in inference-gateway/typescript-adk#66: a synchronous message/send implementation that mirrors the Go ADK's HandleMessageSend / CreateTaskFromMessage semantics. The handler validates MessageSendParams, creates a PENDING task, persists and enqueues it via TaskStorage, and returns the wire-format Task without waiting for any background worker.
Until now, the docs site's A2A coverage only references the Go ADK. Newcomers building agents in TypeScript will land on a2a.md looking for ADK guidance and find nothing TS-specific. This ticket also creates the opportunity to bootstrap a dedicated TypeScript ADK section if one does not yet exist.
Acceptance Criteria
- New docs section (under
a2a.mdor a dedicatedtypescript-adk.md) covering handler registration viaserver.registerMethod(MESSAGE_SEND_METHOD, createMessageSendHandler({ storage })). - Document the request shape (
MessageSendParamswith requiredmessage, optionalconfiguration, optionalmetadata) and the response shape (wire-formatTaskwith initialPENDINGstatus). - Document the validation contract: missing
message, non-objectmessage, and missing/emptymessage.partsall surface as JSON-RPC-32602 Invalid Params. - Document the id semantics:
message.contextIdis reused when present (otherwise a fresh UUID is minted),message.messageIdis minted when empty, and the taskidis always freshly minted. - Document the synchronous-from-caller contract: the handler enqueues the task and returns immediately; downstream processing happens out of band.
- Call out parity with the Go ADK explicitly so readers can cross-reference Go examples in
inference-gateway/adk. - Add a runnable curl + raw JSON-RPC example mirroring the integration fixtures in
tests/server/message-send.test.ts.
Notes
- Source PR: feat: implement message/send JSON-RPC method typescript-adk#66 (merged).
- Package is
@inference-gateway/adk, ESM-only, Node 24 LTS+, currently in early bootstrap (public API not stable). Flag the pre-1.0 status so readers know the surface may shift. - ASCII-only constraint: no em dash or en dash anywhere in this issue body or the resulting docs PR.
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentation
Type
Projects
- StatusShow more project fieldsDone
Activity
edenreich commentedon May 26, 2026
@claude Can you document this? use /maintainer
claude commentedon May 26, 2026
Claude finished @edenreich's task in 5m 49s —— View job •
claude/issue-62-20260526-2222• Create PR ➔Documenting
message/sendin the TypeScript ADKa2a.md, sidebar,.vitepress/config.ts)typescript-adk.mdunder "Agent-To-Agent (A2A)" sidebar grouptypescript-adk.md(handler registration, validation contract, id semantics, sync contract, curl + raw JSON-RPC example, Go ADK parity callout, pre-1.0 note)themeConfig.sidebarandthemeConfig.nav(Protocols menu)a2a.md(tip block in "Creating Custom Agents" + related-resources entry)npm run lint:md(clean),npm run format:check(clean for files touched by this PR),npm run build(succeeds, page emitted, sitemap entry present)635676eWhat landed
typescript-adk.mdcovering every acceptance-criteria item from the issue:server.registerMethod(MESSAGE_SEND_METHOD, createMessageSendHandler({ storage }))MessageSendParamswith requiredmessage, optionalconfiguration, optionalmetadata)Task) - including thePENDING(internal) ->TASK_STATE_SUBMITTED(wire) status mapping that the source code reveals but the issue body didn't surface-32602 Invalid Paramsvalidation contract for missingmessage, non-objectmessage, missing/emptymessage.partsidalways minted,contextId/messageIdreused-or-mintedtests/server/message-send.test.tsAgent-To-Agent (A2A)in the left sidebar and underProtocolsin the top nav.a2a.md: added a tip in the "Creating Custom Agents" section and a related-resources entry pointing at the new page.Notes for the maintainer
.github/workflows/infer.ymlhas a pre-existing prettier formatting drift (single vs double quote ontrigger-phrase) that was introduced by the recentchore: update infer.ymlcommit.npm run format:checkflags it onmain, so CI on this PR will also flag it. I cannot modify workflow files (GitHub App permission limit). A one-character follow-up commit by you (prettier --write .github/workflows/infer.yml) clears it.ASCII-only constraint honoured throughout - no em or en dashes in the new page, the
a2a.mdedits, or the commit/PR copy.Branch:
claude/issue-62-20260526-2222- Commit:635676edocs: add TypeScript ADK page for message/send JSON-RPC handler
docs: add TypeScript ADK page for message/send JSON-RPC handler (#64)
chore(release): 🔖 0.6.30 [skip ci]