Repository navigation
docs: add TypeScript ADK page for message/send JSON-RPC handler - #64
Conversation
Introduces typescript-adk.md documenting the synchronous message/send handler shipped in inference-gateway/typescript-adk#66: handler registration via createMessageSendHandler, request shape (MessageSendParams), wire-format Task response, -32602 validation contract, id semantics (always-mint task id, reuse-or-mint contextId and messageId), and the synchronous-from-caller contract. Includes a runnable curl + raw JSON-RPC example mirroring the integration fixtures, calls out parity with the Go ADK, and flags the pre-1.0 status of @inference-gateway/adk. Wires the new page into themeConfig.sidebar (Agent-To-Agent group) and themeConfig.nav (Protocols menu), and cross-links from a2a.md so newcomers building TypeScript agents discover the ADK from the A2A landing page. Refs #62 Co-authored-by: Eden Reich <[email protected]>
|
@claude CI is failing. |
|
Claude finished @edenreich's task in 2m 19s —— View job CI failure diagnosis
Root causeThe Build job passes. Only the Lint job fails, at the The drift is a single character on trigger-phrase: "@infer" # current (double quotes)
trigger-phrase: '@infer' # prettier wants single quotes (singleQuote: true)It was introduced by commit Why I can't fix it from this PRThe GitHub App that runs this action does not have the How to clear itAny maintainer with workflow write can run this once on npx prettier --write .github/workflows/infer.yml
git add .github/workflows/infer.yml
git commit -m "style: prettier single-quote infer.yml trigger-phrase"
git pushThen re-run CI on this PR (the merge commit will pick up the fix from AlternativeIf you want me to keep momentum on the PR, you can also merge as-is — the |
Summary
Adds
typescript-adk.mddocumenting the synchronousmessage/sendJSON-RPC handler shipped in inference-gateway/typescript-adk#66. The new page covers handler registration viacreateMessageSendHandler, request shape (MessageSendParams), wire-formatTaskresponse (including the internalPENDING-> wireTASK_STATE_SUBMITTEDmapping), -32602 validation contract, id semantics (always-mint task id, reuse-or-mintcontextId/messageId), the synchronous-from-caller contract, parity with the Go ADK, and a runnable curl + raw JSON-RPC example mirroringtests/server/message-send.test.ts.Wires the page into the left sidebar (
Agent-To-Agent (A2A)group) and the top nav (Protocolsmenu), and cross-links froma2a.mdso newcomers landing on the A2A page discover the TypeScript ADK.Closes #62
Test plan
npm run lint:mdnpm run format:check(clean for files touched by this PR; pre-existing drift in.github/workflows/infer.ymlis unrelated and not modifiable by the bot)npm run build- new page rendered intodist/typescript-adk.html, sitemap updatedPre-existing CI note
.github/workflows/infer.ymlhas a single-character prettier formatting drift onmain(double-quote vs single-quote ontrigger-phrase) introduced by the precedingchore: update infer.ymlcommit. The Claude bot cannot edit.github/workflows/. A one-shotprettier --writeon that file clears the warning independently of this PR.Generated with Claude Code