{"_id":"@agents-js/a2a-client","_rev":"10-46d1102f4bab2f5dc79d7a453b7f1aec","name":"@agents-js/a2a-client","dist-tags":{"rc1":"0.3.1-rc1","latest":"0.5.1"},"versions":{"0.2.0":{"name":"@agents-js/a2a-client","version":"0.2.0","keywords":["a2a","client","ag-ui","agent","discovery","registry"],"author":{"name":"Jens Bodal"},"license":"MIT","_id":"@agents-js/a2a-client@0.2.0","maintainers":[{"name":"jensbodal_dev","email":"jensbodal@gmail.com"}],"homepage":"https://agents-js.bodal.dev/","bugs":{"url":"https://github.com/jensbodal/agents-js/issues"},"dist":{"shasum":"ac021f02407519f3ec4f6cde18f87e0100149787","tarball":"https://registry.npmjs.org/@agents-js/a2a-client/-/a2a-client-0.2.0.tgz","fileCount":33,"integrity":"sha512-U7IqC0Ed3hRcvYTY5TUYLVj/4wp4pZ/5qFugEXcfgjR0FreJlg7Nwoea/4RlWkpFTp36EE18MWrOZdZle5cAnQ==","signatures":[{"sig":"MEUCICCLGSe0zM1D5TDcoZ0IRM2TUBF9wKH5RmfKuqfEYth8AiEApSi1lUqx/AC0eYj5yaZKJhO4bVHvSPDjELDyHon8ndc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":493594},"main":"dist/index.mjs","type":"module","_from":"file:/var/folders/ws/wl7n084x6hncz0nppv2p_2p00000gn/T/agents-js-publish-a2a-client-NVTNT4/agents-js-a2a-client-0.2.0.tgz","types":"dist/index.d.mts","engines":{"bun":">=1.3.11","node":">=20.19.0"},"exports":{".":{"bun":"./src/index.ts","types":"./dist/index.d.mts","import":"./dist/index.mjs","default":"./dist/index.mjs"},"./node":{"bun":"./src/node.ts","types":"./dist/node.d.mts","import":"./dist/node.mjs","default":"./dist/node.mjs"}},"scripts":{"test":"bun test tests","build":"bunx tsdown src/index.ts src/node.ts --format esm --dts --out-dir dist --clean","prepack":"bun run build","test:integration":"bun test tests/integration.test.ts"},"_npmUser":{"name":"jensbodal_dev","email":"jensbodal@gmail.com"},"_resolved":"/var/folders/ws/wl7n084x6hncz0nppv2p_2p00000gn/T/agents-js-publish-a2a-client-NVTNT4/agents-js-a2a-client-0.2.0.tgz","_integrity":"sha512-U7IqC0Ed3hRcvYTY5TUYLVj/4wp4pZ/5qFugEXcfgjR0FreJlg7Nwoea/4RlWkpFTp36EE18MWrOZdZle5cAnQ==","repository":{"url":"git+https://github.com/jensbodal/agents-js.git","type":"git","directory":"packages/a2a-client"},"_npmVersion":"11.13.0","description":"A2A client transport, AG-UI adapter, target registry, session view-model, and discovery helpers for agents-js consumers.","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{"@a2a-js/sdk":"0.3.13","@agents-js/a2a":"0.2.0","@agents-js/agui-types":"0.2.0","@agents-js/validation":"0.2.0","@agentclientprotocol/sdk":"0.21.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/a2a-client_0.2.0_1778309208721_0.05442173831870023","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@agents-js/a2a-client","version":"0.2.1","keywords":["a2a","client","ag-ui","agent","discovery","registry"],"author":{"name":"Jens Bodal"},"license":"MIT","_id":"@agents-js/a2a-client@0.2.1","maintainers":[{"name":"jensbodal_dev","email":"jensbodal@gmail.com"}],"homepage":"https://agents-js.bodal.dev/","bugs":{"url":"https://github.com/jensbodal/agents-js/issues"},"dist":{"shasum":"627eb42a34bfcb1014ecddaca1bcc4af2235d782","tarball":"https://registry.npmjs.org/@agents-js/a2a-client/-/a2a-client-0.2.1.tgz","fileCount":33,"integrity":"sha512-5HY464UqqIBpFlGVjrwvVN1xFlHCEp2Z6G3eMEO6CkXPaL6V+I5LmrLDXJH9QNIwsAtS3N9q4yh6wHaRgg4UFw==","signatures":[{"sig":"MEYCIQDVuaf/nBPjuJb5ycWLkdq+JTMr1IcXo/SY0Ed7O/K9VAIhAMik1vTtfVy0BmJoT12bvfCiT8Tin3or3HI9LZ/craJ+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":493594},"main":"dist/index.mjs","type":"module","_from":"file:/var/folders/ws/wl7n084x6hncz0nppv2p_2p00000gn/T/agents-js-publish-a2a-client-rx7R74/agents-js-a2a-client-0.2.1.tgz","types":"dist/index.d.mts","engines":{"bun":">=1.3.11","node":">=20.19.0"},"exports":{".":{"bun":"./src/index.ts","types":"./dist/index.d.mts","import":"./dist/index.mjs","default":"./dist/index.mjs"},"./node":{"bun":"./src/node.ts","types":"./dist/node.d.mts","import":"./dist/node.mjs","default":"./dist/node.mjs"}},"scripts":{"test":"bun test tests","build":"bunx tsdown src/index.ts src/node.ts --format esm --dts --out-dir dist --clean","prepack":"bun run build","test:integration":"bun test tests/integration.test.ts"},"_npmUser":{"name":"jensbodal_dev","email":"jensbodal@gmail.com"},"_resolved":"/var/folders/ws/wl7n084x6hncz0nppv2p_2p00000gn/T/agents-js-publish-a2a-client-rx7R74/agents-js-a2a-client-0.2.1.tgz","_integrity":"sha512-5HY464UqqIBpFlGVjrwvVN1xFlHCEp2Z6G3eMEO6CkXPaL6V+I5LmrLDXJH9QNIwsAtS3N9q4yh6wHaRgg4UFw==","repository":{"url":"git+https://github.com/jensbodal/agents-js.git","type":"git","directory":"packages/a2a-client"},"_npmVersion":"11.13.0","description":"A2A client transport, AG-UI adapter, target registry, session view-model, and discovery helpers for agents-js consumers.","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{"@a2a-js/sdk":"0.3.13","@agents-js/a2a":"0.2.1","@agents-js/agui-types":"0.2.1","@agents-js/validation":"0.2.1","@agentclientprotocol/sdk":"0.21.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/a2a-client_0.2.1_1778339156744_0.8790846645107764","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@agents-js/a2a-client","version":"0.2.2","keywords":["a2a","client","ag-ui","agent","discovery","registry"],"author":{"name":"Jens Bodal"},"license":"MIT","_id":"@agents-js/a2a-client@0.2.2","maintainers":[{"name":"jensbodal_dev","email":"jensbodal@gmail.com"}],"homepage":"https://agents-js.bodal.dev/","bugs":{"url":"https://github.com/jensbodal/agents-js/issues"},"dist":{"shasum":"414bdff0624d17dca9e5255cba2707e2630be2a4","tarball":"https://registry.npmjs.org/@agents-js/a2a-client/-/a2a-client-0.2.2.tgz","fileCount":33,"integrity":"sha512-Z4KjpCJm70wRxliy0l42W3Op31Da6hPC9nH32ZSIiOtSOSYfEavyurIHIqV0tH+CnLI/ySbyAhPBSaQBGvakpA==","signatures":[{"sig":"MEQCIDmjdhQ0nfKYOJxJm2sBf1rEovPgp1sctyw9kzROsmq7AiBTJovJwhcpQ+FCRiyN2icbEzHIphzuCh7oOATEEKGpFw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":493594},"main":"dist/index.mjs","type":"module","_from":"file:/var/folders/ws/wl7n084x6hncz0nppv2p_2p00000gn/T/agents-js-publish-a2a-client-OOkydh/agents-js-a2a-client-0.2.2.tgz","types":"dist/index.d.mts","engines":{"bun":">=1.3.11","node":">=20.19.0"},"exports":{".":{"bun":"./src/index.ts","types":"./dist/index.d.mts","import":"./dist/index.mjs","default":"./dist/index.mjs"},"./node":{"bun":"./src/node.ts","types":"./dist/node.d.mts","import":"./dist/node.mjs","default":"./dist/node.mjs"}},"scripts":{"test":"bun test tests","build":"bunx tsdown src/index.ts src/node.ts --format esm --dts --out-dir dist --clean","prepack":"bun run build","test:integration":"bun test tests/integration.test.ts"},"_npmUser":{"name":"jensbodal_dev","email":"jensbodal@gmail.com"},"_resolved":"/var/folders/ws/wl7n084x6hncz0nppv2p_2p00000gn/T/agents-js-publish-a2a-client-OOkydh/agents-js-a2a-client-0.2.2.tgz","_integrity":"sha512-Z4KjpCJm70wRxliy0l42W3Op31Da6hPC9nH32ZSIiOtSOSYfEavyurIHIqV0tH+CnLI/ySbyAhPBSaQBGvakpA==","repository":{"url":"git+https://github.com/jensbodal/agents-js.git","type":"git","directory":"packages/a2a-client"},"_npmVersion":"11.13.0","description":"A2A client transport, AG-UI adapter, target registry, session view-model, and discovery helpers for agents-js consumers.","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{"@a2a-js/sdk":"0.3.13","@agents-js/a2a":"0.2.2","@agents-js/agui-types":"0.2.2","@agents-js/validation":"0.2.2","@agentclientprotocol/sdk":"0.21.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/a2a-client_0.2.2_1778343664677_0.4193497947822449","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@agents-js/a2a-client","version":"0.3.0","keywords":["a2a","client","ag-ui","agent","discovery","registry"],"author":{"name":"Jens Bodal"},"license":"MIT","_id":"@agents-js/a2a-client@0.3.0","maintainers":[{"name":"jensbodal_dev","email":"jensbodal@gmail.com"}],"homepage":"https://agents-js.bodal.dev/","bugs":{"url":"https://github.com/jensbodal/agents-js/issues"},"dist":{"shasum":"9904f599488dfc1af84482fc33f3239ac3c0de94","tarball":"https://registry.npmjs.org/@agents-js/a2a-client/-/a2a-client-0.3.0.tgz","fileCount":33,"integrity":"sha512-R/+m7brikhrqeRQnDC8TaIcFGL+7ZIqzrhZ2eGCpglbwJY+ygohIDhFVpagji88tk47bTSpQZQRHyra9lAJBkQ==","signatures":[{"sig":"MEYCIQDDJqZowda4QYqEAuHOrYBDphokf5mlzCQaZq3/SSDYVAIhAPAfCMGDHvwmB9QFhxTFnEawdt+9rFlJIxvq95iz7LiT","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":493594},"main":"dist/index.mjs","type":"module","_from":"file:/var/folders/ws/wl7n084x6hncz0nppv2p_2p00000gn/T/agents-js-publish-a2a-client-BK1xlR/agents-js-a2a-client-0.3.0.tgz","types":"dist/index.d.mts","engines":{"bun":">=1.3.11","node":">=20.19.0"},"exports":{".":{"bun":"./src/index.ts","types":"./dist/index.d.mts","import":"./dist/index.mjs","default":"./dist/index.mjs"},"./node":{"bun":"./src/node.ts","types":"./dist/node.d.mts","import":"./dist/node.mjs","default":"./dist/node.mjs"}},"scripts":{"test":"bun test tests","build":"bunx tsdown src/index.ts src/node.ts --format esm --dts --out-dir dist --clean","prepack":"bun run build","test:integration":"bun test tests/integration.test.ts"},"_npmUser":{"name":"jensbodal_dev","email":"jensbodal@gmail.com"},"_resolved":"/var/folders/ws/wl7n084x6hncz0nppv2p_2p00000gn/T/agents-js-publish-a2a-client-BK1xlR/agents-js-a2a-client-0.3.0.tgz","_integrity":"sha512-R/+m7brikhrqeRQnDC8TaIcFGL+7ZIqzrhZ2eGCpglbwJY+ygohIDhFVpagji88tk47bTSpQZQRHyra9lAJBkQ==","repository":{"url":"git+https://github.com/jensbodal/agents-js.git","type":"git","directory":"packages/a2a-client"},"_npmVersion":"11.13.0","description":"A2A client transport, AG-UI adapter, target registry, session view-model, and discovery helpers for agents-js consumers.","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{"@a2a-js/sdk":"0.3.13","@agents-js/a2a":"0.3.0","@agents-js/agui-types":"0.3.0","@agents-js/validation":"0.3.0","@agentclientprotocol/sdk":"0.21.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/a2a-client_0.3.0_1778351314059_0.19811200069273616","host":"s3://npm-registry-packages-npm-production"}},"0.3.1-rc1":{"name":"@agents-js/a2a-client","version":"0.3.1-rc1","keywords":["a2a","client","ag-ui","agent","discovery","registry"],"author":{"name":"Jens Bodal"},"license":"MIT","_id":"@agents-js/a2a-client@0.3.1-rc1","maintainers":[{"name":"jensbodal_dev","email":"jensbodal@gmail.com"}],"homepage":"https://agents-js.bodal.dev/","bugs":{"url":"https://github.com/jensbodal/agents-js/issues"},"dist":{"shasum":"0288cb6fe0fb1a6ab4e55ed3760a21a41827e684","tarball":"https://registry.npmjs.org/@agents-js/a2a-client/-/a2a-client-0.3.1-rc1.tgz","fileCount":33,"integrity":"sha512-7QT4yatNBuh6tFSk57n8j8MzvEsy3N8Ve+KuSzPJZLV1AjaZOsKzU07VOPu5jN/6M9cNh21oJAf15JWIHSZong==","signatures":[{"sig":"MEUCIQDHrYj/D6PVZUNP9ru2mCfhK8hCk3/CWzF8vwKA4M22IgIgOBzbTMOpGGFI5sQjv00RBnpzqK6fayKeldU6fkY2wVU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agents-js%2fa2a-client@0.3.1-rc1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":493610},"main":"dist/index.mjs","type":"module","_from":"file:/tmp/agents-js-publish-a2a-client-sMOryJ/agents-js-a2a-client-0.3.1-rc1.tgz","types":"dist/index.d.mts","engines":{"bun":">=1.3.11","node":">=20.19.0"},"exports":{".":{"bun":"./src/index.ts","types":"./dist/index.d.mts","import":"./dist/index.mjs","default":"./dist/index.mjs"},"./node":{"bun":"./src/node.ts","types":"./dist/node.d.mts","import":"./dist/node.mjs","default":"./dist/node.mjs"}},"scripts":{"test":"bun test tests","build":"bunx tsdown src/index.ts src/node.ts --format esm --dts --out-dir dist --clean","prepack":"bun run build","test:integration":"bun test tests/integration.test.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:8485f77d-64a7-4d94-ae6e-d76a233ab216"}},"_resolved":"/tmp/agents-js-publish-a2a-client-sMOryJ/agents-js-a2a-client-0.3.1-rc1.tgz","_integrity":"sha512-7QT4yatNBuh6tFSk57n8j8MzvEsy3N8Ve+KuSzPJZLV1AjaZOsKzU07VOPu5jN/6M9cNh21oJAf15JWIHSZong==","repository":{"url":"git+https://github.com/jensbodal/agents-js.git","type":"git","directory":"packages/a2a-client"},"_npmVersion":"11.12.1","description":"A2A client transport, AG-UI adapter, target registry, session view-model, and discovery helpers for agents-js consumers.","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{"@a2a-js/sdk":"0.3.13","@agents-js/a2a":"0.3.1-rc1","@agents-js/agui-types":"0.3.1-rc1","@agents-js/validation":"0.3.1-rc1","@agentclientprotocol/sdk":"0.21.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/a2a-client_0.3.1-rc1_1778355340810_0.8378657844148107","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@agents-js/a2a-client","version":"0.3.1","keywords":["a2a","client","ag-ui","agent","discovery","registry"],"author":{"name":"Jens Bodal"},"license":"MIT","_id":"@agents-js/a2a-client@0.3.1","maintainers":[{"name":"jensbodal_dev","email":"jensbodal@gmail.com"}],"homepage":"https://agents-js.bodal.dev/","bugs":{"url":"https://github.com/jensbodal/agents-js/issues"},"dist":{"shasum":"a054630bb99bd651a64e3091e6372985a0c090e6","tarball":"https://registry.npmjs.org/@agents-js/a2a-client/-/a2a-client-0.3.1.tgz","fileCount":33,"integrity":"sha512-fAuIJfzdi4zYF2PFaNuV9zFgNkHuNoLBIWlD6A2vHOMRmz70OCvfYdLyqj6645NCK1Li8JzXUBtm6cBT6iFyZQ==","signatures":[{"sig":"MEQCIC4Bfw4B3yD6DzJkoZ/7bj8TkSDEg9xrWrf5siA8ZQOAAiBjRdOuMsACz8LoIcBHPf3NoemkwUBGUwHXQRs6Ie2e9g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agents-js%2fa2a-client@0.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":493594},"main":"dist/index.mjs","type":"module","_from":"file:/tmp/agents-js-publish-a2a-client-9aNglM/agents-js-a2a-client-0.3.1.tgz","types":"dist/index.d.mts","engines":{"bun":">=1.3.11","node":">=20.19.0"},"exports":{".":{"bun":"./src/index.ts","types":"./dist/index.d.mts","import":"./dist/index.mjs","default":"./dist/index.mjs"},"./node":{"bun":"./src/node.ts","types":"./dist/node.d.mts","import":"./dist/node.mjs","default":"./dist/node.mjs"}},"scripts":{"test":"bun test tests","build":"bunx tsdown src/index.ts src/node.ts --format esm --dts --out-dir dist --clean","prepack":"bun run build","test:integration":"bun test tests/integration.test.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:8485f77d-64a7-4d94-ae6e-d76a233ab216"}},"_resolved":"/tmp/agents-js-publish-a2a-client-9aNglM/agents-js-a2a-client-0.3.1.tgz","_integrity":"sha512-fAuIJfzdi4zYF2PFaNuV9zFgNkHuNoLBIWlD6A2vHOMRmz70OCvfYdLyqj6645NCK1Li8JzXUBtm6cBT6iFyZQ==","repository":{"url":"git+https://github.com/jensbodal/agents-js.git","type":"git","directory":"packages/a2a-client"},"_npmVersion":"11.12.1","description":"A2A client transport, AG-UI adapter, target registry, session view-model, and discovery helpers for agents-js consumers.","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{"@a2a-js/sdk":"0.3.13","@agents-js/a2a":"0.3.1","@agents-js/agui-types":"0.3.1","@agents-js/validation":"0.3.1","@agentclientprotocol/sdk":"0.21.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/a2a-client_0.3.1_1778357062174_0.8541777899343888","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"@agents-js/a2a-client","version":"0.3.2","keywords":["a2a","client","ag-ui","agent","discovery","registry"],"author":{"name":"Jens Bodal"},"license":"MIT","_id":"@agents-js/a2a-client@0.3.2","maintainers":[{"name":"jensbodal_dev","email":"jensbodal@gmail.com"}],"homepage":"https://agents-js.bodal.dev/","bugs":{"url":"https://github.com/jensbodal/agents-js/issues"},"dist":{"shasum":"f48725015b3da6035def5b5ed4d70349c8bf6e92","tarball":"https://registry.npmjs.org/@agents-js/a2a-client/-/a2a-client-0.3.2.tgz","fileCount":33,"integrity":"sha512-8vXI85eV35gVtH2rDgllCZATPXLmFVCmKbYZrCq0JuMKT21QpJsaMF45j0Lm0ef7g1OGn/HTt9Gsw8T6uq/r3w==","signatures":[{"sig":"MEUCIQCf12bxLwPBFT5wm5uFwCbp3BBIQwpEjAdgAk94C8PwVQIgJQsifEQt61MXLpWFgRzp+RZOhZAyYP7mL+BF3iU04C4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agents-js%2fa2a-client@0.3.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":493594},"main":"dist/index.mjs","type":"module","_from":"file:/tmp/agents-js-publish-a2a-client-YonV4c/agents-js-a2a-client-0.3.2.tgz","types":"dist/index.d.mts","engines":{"bun":">=1.3.11","node":">=20.19.0"},"exports":{".":{"bun":"./src/index.ts","types":"./dist/index.d.mts","import":"./dist/index.mjs","default":"./dist/index.mjs"},"./node":{"bun":"./src/node.ts","types":"./dist/node.d.mts","import":"./dist/node.mjs","default":"./dist/node.mjs"}},"scripts":{"test":"bun test tests","build":"bunx tsdown src/index.ts src/node.ts --format esm --dts --out-dir dist --clean","prepack":"bun run build","test:integration":"bun test tests/integration.test.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:8485f77d-64a7-4d94-ae6e-d76a233ab216"}},"_resolved":"/tmp/agents-js-publish-a2a-client-YonV4c/agents-js-a2a-client-0.3.2.tgz","_integrity":"sha512-8vXI85eV35gVtH2rDgllCZATPXLmFVCmKbYZrCq0JuMKT21QpJsaMF45j0Lm0ef7g1OGn/HTt9Gsw8T6uq/r3w==","repository":{"url":"git+https://github.com/jensbodal/agents-js.git","type":"git","directory":"packages/a2a-client"},"_npmVersion":"11.12.1","description":"A2A client transport, AG-UI adapter, target registry, session view-model, and discovery helpers for agents-js consumers.","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{"@a2a-js/sdk":"0.3.13","@agents-js/a2a":"0.3.2","@agents-js/agui-types":"0.3.2","@agents-js/validation":"0.3.2","@agentclientprotocol/sdk":"0.21.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/a2a-client_0.3.2_1778372174717_0.439865869206977","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@agents-js/a2a-client","version":"0.4.0","keywords":["a2a","client","ag-ui","agent","discovery","registry"],"author":{"name":"Jens Bodal"},"license":"MIT","_id":"@agents-js/a2a-client@0.4.0","maintainers":[{"name":"jensbodal_dev","email":"jensbodal@gmail.com"}],"homepage":"https://agents-js.bodal.dev/","bugs":{"url":"https://github.com/jensbodal/agents-js/issues"},"dist":{"shasum":"c7768ce890e4d13b876db804b9ad987899316da2","tarball":"https://registry.npmjs.org/@agents-js/a2a-client/-/a2a-client-0.4.0.tgz","fileCount":33,"integrity":"sha512-GyZCN/6BEuU45fgtUZdu3c6i3+q34JBqJ5KsCTWP9M83/CBXugxqpZqunUQGIoz1exQN0UbTTioWlmLuviwuJA==","signatures":[{"sig":"MEQCIFKG61nYimw51n59rbAbRIoi7/CDzh2KfWI0ijrVS7Q5AiAmDTYhm9cw1KHs4W1Ap7eKX+WRAM5nmRA0Ad/90KN9rw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agents-js%2fa2a-client@0.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":537039},"main":"dist/index.mjs","type":"module","_from":"file:/tmp/agents-js-publish-a2a-client-YV8khy/agents-js-a2a-client-0.4.0.tgz","types":"dist/index.d.mts","engines":{"bun":">=1.3.11","node":">=20.19.0"},"exports":{".":{"bun":"./src/index.ts","types":"./dist/index.d.mts","import":"./dist/index.mjs","default":"./dist/index.mjs"},"./node":{"bun":"./src/node.ts","types":"./dist/node.d.mts","import":"./dist/node.mjs","default":"./dist/node.mjs"}},"scripts":{"test":"bun test tests","build":"bunx tsdown src/index.ts src/node.ts --format esm --dts --out-dir dist --clean","prepack":"bun run build","test:integration":"bun test tests/integration.test.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:8485f77d-64a7-4d94-ae6e-d76a233ab216"}},"_resolved":"/tmp/agents-js-publish-a2a-client-YV8khy/agents-js-a2a-client-0.4.0.tgz","_integrity":"sha512-GyZCN/6BEuU45fgtUZdu3c6i3+q34JBqJ5KsCTWP9M83/CBXugxqpZqunUQGIoz1exQN0UbTTioWlmLuviwuJA==","repository":{"url":"git+https://github.com/jensbodal/agents-js.git","type":"git","directory":"packages/a2a-client"},"_npmVersion":"11.12.1","description":"A2A client transport, AG-UI adapter, target registry, session view-model, and discovery helpers for agents-js consumers.","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{"@a2a-js/sdk":"0.3.13","@agents-js/a2a":"0.4.0","@agents-js/agui-types":"0.4.0","@agents-js/validation":"0.4.0","@agentclientprotocol/sdk":"0.21.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/a2a-client_0.4.0_1778531422707_0.7445170967136274","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@agents-js/a2a-client","version":"0.5.0","keywords":["a2a","client","ag-ui","agent","discovery","registry"],"author":{"name":"Jens Bodal"},"license":"MIT","_id":"@agents-js/a2a-client@0.5.0","maintainers":[{"name":"jensbodal_dev","email":"jensbodal@gmail.com"}],"homepage":"https://agents-js.bodal.dev/","bugs":{"url":"https://github.com/jensbodal/agents-js/issues"},"dist":{"shasum":"50f5d9a4827a0cc8606280e92dad0d496bf9e909","tarball":"https://registry.npmjs.org/@agents-js/a2a-client/-/a2a-client-0.5.0.tgz","fileCount":36,"integrity":"sha512-mtVTDqvXsPOUJatWcAPAM69h5CKaCNqV/O6mHXW/dlre9WPAhACxuqWiJ5p1lu8U3L/+ytzmRfAFMfn01Yq4ew==","signatures":[{"sig":"MEQCICZtC/KVHqrojhWE1Hsl9fCAf2HDIPi6HlAblHrrD70JAiBZwRDBzTj27KRJVVjZG6hA2dP4SwKfgX92tpthg9w3dg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agents-js%2fa2a-client@0.5.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":550157},"main":"dist/index.mjs","type":"module","_from":"file:/tmp/agents-js-publish-a2a-client-PDs4xV/agents-js-a2a-client-0.5.0.tgz","types":"dist/index.d.mts","engines":{"bun":">=1.3.11","node":">=20.19.0"},"exports":{".":{"bun":"./src/index.ts","types":"./dist/index.d.mts","import":"./dist/index.mjs","default":"./dist/index.mjs"},"./node":{"bun":"./src/node.ts","types":"./dist/node.d.mts","import":"./dist/node.mjs","default":"./dist/node.mjs"},"./federation-conformance":{"bun":"./src/federation-conformance.ts","types":"./dist/federation-conformance.d.mts","import":"./dist/federation-conformance.mjs","default":"./dist/federation-conformance.mjs"}},"scripts":{"test":"bun test tests","build":"bunx tsdown src/index.ts src/node.ts src/federation-conformance.ts --format esm --dts --out-dir dist --clean","prepack":"bun run build","test:integration":"bun test tests/integration.test.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:8485f77d-64a7-4d94-ae6e-d76a233ab216"}},"_resolved":"/tmp/agents-js-publish-a2a-client-PDs4xV/agents-js-a2a-client-0.5.0.tgz","_integrity":"sha512-mtVTDqvXsPOUJatWcAPAM69h5CKaCNqV/O6mHXW/dlre9WPAhACxuqWiJ5p1lu8U3L/+ytzmRfAFMfn01Yq4ew==","repository":{"url":"git+https://github.com/jensbodal/agents-js.git","type":"git","directory":"packages/a2a-client"},"_npmVersion":"11.12.1","description":"A2A client transport, AG-UI adapter, target registry, session view-model, and discovery helpers for agents-js consumers.","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{"@a2a-js/sdk":"0.3.13","@agents-js/a2a":"0.5.0","@agents-js/agui-types":"0.5.0","@agents-js/validation":"0.5.0","@agentclientprotocol/sdk":"0.21.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/a2a-client_0.5.0_1779063665216_0.22351215722527518","host":"s3://npm-registry-packages-npm-production"}},"0.5.1":{"name":"@agents-js/a2a-client","version":"0.5.1","type":"module","sideEffects":false,"description":"A2A client transport, AG-UI adapter, target registry, session view-model, and discovery helpers for agents-js consumers.","author":{"name":"Jens Bodal"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/jensbodal/agents-js.git","directory":"packages/a2a-client"},"homepage":"https://agents-js.bodal.dev/","bugs":{"url":"https://github.com/jensbodal/agents-js/issues"},"keywords":["a2a","client","ag-ui","agent","discovery","registry"],"engines":{"node":">=20.19.0","bun":">=1.3.11"},"main":"dist/index.mjs","types":"dist/index.d.mts","exports":{".":{"types":"./dist/index.d.mts","bun":"./src/index.ts","import":"./dist/index.mjs","default":"./dist/index.mjs"},"./node":{"types":"./dist/node.d.mts","bun":"./src/node.ts","import":"./dist/node.mjs","default":"./dist/node.mjs"},"./federation-conformance":{"types":"./dist/federation-conformance.d.mts","bun":"./src/federation-conformance.ts","import":"./dist/federation-conformance.mjs","default":"./dist/federation-conformance.mjs"}},"scripts":{"build":"bunx tsdown src/index.ts src/node.ts src/federation-conformance.ts --format esm --dts --out-dir dist --clean","prepack":"bun run build","test":"bun test tests","test:integration":"bun test tests/integration.test.ts"},"dependencies":{"@agentclientprotocol/sdk":"0.21.0","@a2a-js/sdk":"0.3.13","@agents-js/a2a":"0.5.1","@agents-js/agui-types":"0.5.1","@agents-js/validation":"0.5.1"},"publishConfig":{"access":"public"},"_id":"@agents-js/a2a-client@0.5.1","_integrity":"sha512-HbpHzNByL6wic2z8nA0gyfhtMcqxsygSpLiWbl/OqyDY4LFUNrBABAUEDnAMJiv735jAv4eSXtOt+34TdcDEAQ==","_resolved":"/tmp/agents-js-publish-a2a-client-4uckeJ/agents-js-a2a-client-0.5.1.tgz","_from":"file:/tmp/agents-js-publish-a2a-client-4uckeJ/agents-js-a2a-client-0.5.1.tgz","_nodeVersion":"24.15.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-HbpHzNByL6wic2z8nA0gyfhtMcqxsygSpLiWbl/OqyDY4LFUNrBABAUEDnAMJiv735jAv4eSXtOt+34TdcDEAQ==","shasum":"5e7917d57ab806a82796b249a07c3d90996a40b8","tarball":"https://registry.npmjs.org/@agents-js/a2a-client/-/a2a-client-0.5.1.tgz","fileCount":36,"unpackedSize":550157,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agents-js%2fa2a-client@0.5.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBWreg+vsjCNbQKvx+vZ6YZlfVDAFbMmKpWRgLzaPRMIAiBNuPObv19HEAt+CRIZz5bXPV1NiCMvSMZ7aa9QyKgYGw=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:8485f77d-64a7-4d94-ae6e-d76a233ab216"}},"directories":{},"maintainers":[{"name":"jensbodal_dev","email":"jensbodal@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/a2a-client_0.5.1_1779076468715_0.1349799852799749"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-09T06:46:48.609Z","modified":"2026-05-18T03:54:29.179Z","0.2.0":"2026-05-09T06:46:48.868Z","0.2.1":"2026-05-09T15:05:56.916Z","0.2.2":"2026-05-09T16:21:04.891Z","0.3.0":"2026-05-09T18:28:34.225Z","0.3.1-rc1":"2026-05-09T19:35:41.007Z","0.3.1":"2026-05-09T20:04:22.325Z","0.3.2":"2026-05-10T00:16:14.872Z","0.4.0":"2026-05-11T20:30:22.922Z","0.5.0":"2026-05-18T00:21:05.430Z","0.5.1":"2026-05-18T03:54:28.901Z"},"bugs":{"url":"https://github.com/jensbodal/agents-js/issues"},"author":{"name":"Jens Bodal"},"license":"MIT","homepage":"https://agents-js.bodal.dev/","keywords":["a2a","client","ag-ui","agent","discovery","registry"],"repository":{"type":"git","url":"git+https://github.com/jensbodal/agents-js.git","directory":"packages/a2a-client"},"description":"A2A client transport, AG-UI adapter, target registry, session view-model, and discovery helpers for agents-js consumers.","maintainers":[{"name":"jensbodal_dev","email":"jensbodal@gmail.com"}],"readme":"# @agents-js/a2a-client\n\n> A2A client transport, AG-UI adapter, target registry, session view-model, and discovery helpers for agents-js consumers.\n\n## Installation\n\n```sh\nbun add @agents-js/a2a-client\n```\n\n## API\n\n<!-- Auto-generated from JSDoc -->\n\n### Classes\n\n- **`A2AClientController`**\n- **`A2AClientProvider`** — Event-driven A2A client provider -- the **Provider** layer for A2A communication. Orchestrates turn execution (send, stream, resume), target resolution, and event emission. Delegates all protocol I...\n- **`AgentRegistry`** — Agent registry that resolves `-name` references to A2A endpoints. Reads agent entries from a JSON config file and fetches + caches agent cards from the resolved URLs. `kind: \"acp\"` entries are pars...\n- **`AgentRegistryConfigError`** — Thrown when the registry config file cannot be read or parsed.\n- **`AGUIStreamError`** — Thrown by {parseAguiSseStream} / {AGUITransport} when the server-sent event stream is malformed, emits an invalid AG-UI event, or is torn down unexpectedly.\n- **`AguiToA2ATransportAdapter`** — Adapts an {AGUITransport} so it can sit behind the existing `A2AClientProvider` and session reducer without them knowing about the underlying protocol. Semantic bridging: - `sendMessageStream(param...\n- **`AGUITransport`** — Native AG-UI client transport. This is a **parallel** surface to {A2ATransport}, not a subtype. AG-UI has no task lifecycle, so the task-shaped methods on `A2ATransport` have no AG-UI counterpart. ...\n- **`AGUIUnsupportedOperationError`** — Thrown by {AguiToA2ATransportAdapter} when a caller invokes an A2A task-shaped method that has no AG-UI counterpart (e.g. `getTask`, `cancelTask`, push-notification config). AG-UI has no task lifec...\n- **`PeerSyncError`** — Thrown when a peer's sync endpoint is unreachable, non-200, or returns an invalid payload.\n- **`SdkA2ATransport`** — Default A2A transport implementation backed by the A2A SDK. Handles HTTP/SSE communication with A2A agents: target resolution via agent card discovery, message sending (immediate and streaming), ta...\n\n### Functions\n\n- **`adaptTarget`** — Orchestrates the probe → auth → transform pipeline for a given TargetAdapter. 1. Constructs the probe URL from baseUrl + adapter.probePath 2. Calls adapter.authHeader (if defined) to get an Authori...\n- **`applyJsonPatch`** — Apply an array of JSON Patch (RFC 6902) operations to a state object immutably. Returns a new state object with all operations applied. The input state is not modified. Throws descriptive errors fo...\n- **`autoRegister`** — Idempotent auto-registration. Writes a v2 record for `options.name`, replacing any prior entry with the same name. Synthesizes provenance (`gateway_id`, `source=auto-reg`, `registered_at`, `agent_i...\n- **`buildA2ADelegationFramingText`** — Build the framing prompt that wraps a remote agent's response so the receiving LLM recognizes it as \"the answer from ``\" rather than ambient context. Without this framing, Claude tends to ignore an...\n- **`buildAcpElicitationResponseMetadata`**\n- **`buildSyncPayload`** — Produce the wire payload this gateway would serve at its sync endpoint. Three filters apply, in order: 1. `source !== \"sync\"` — loop prevention on the send side; we never re-serve records we receiv...\n- **`collectTextParts`**\n- **`createA2AMentionMiddleware`**\n- **`createDebugFetch`**\n- **`createInitialSessionState`**\n- **`createSharedAgentRegistry`**\n- **`createSyncEndpointHandler`** — Build a `(req: Request) => Promise<Response | null>` compatible with `UniversalA2AServerOptions.additionalFetch`. The gateway wires this into its existing fetch hook so the sync endpoint lives on t...\n- **`describeSessionStatus`** — Map an {A2ASessionState} to a polished, protocol-neutral {SessionStatusViewModel} suitable for rendering in UI clients (Raycast, web-ui, Obsidian plugin, terminal CLIs, etc.). Discriminator priorit...\n- **`escapeA2ADelegationInnerText`** — Escape a delegated agent's response so it cannot break out of the outer `<a2a-delegation-response>` markers. Rewrites any literal occurrences of the open or close tags inside `innerText` with zero-...\n- **`extractA2AResponseText`**\n- **`extractAcpAuthRequiredMetadata`**\n- **`extractAcpElicitationMetadata`**\n- **`extractLatestAgentMessage`**\n- **`extractLatestAgentText`**\n- **`extractMessageText`**\n- **`fetchPeerRecords`** — GET the peer gateway's sync endpoint and return the records it serves. Throws {PeerSyncError} on network failure, non-2xx, or malformed payload.\n- **`groupDiscoveredTargets`** — Group/dedupe a raw list of discovered targets by `name`, picking a canonical `preferred` entry per group under the configured policy. The function is pure and opt-in — passing no `options` (or `{}`...\n- **`isTerminalTaskState`**\n- **`mergeRecords`** — Pure-function merge surface — exported for white-box tests of the matrix.\n- **`normalizeAgentTargetInput`**\n- **`normalizeHeaders`**\n- **`originCardFallback`** — Returns an origin-level variant of `normalized` when the base path is non-empty. Used as a resolution fallback for the common misuse pattern where the caller passes a JSON-RPC endpoint URL (e.g. `h...\n- **`parseAgentMentions`** — Extracts `-name` mentions from text content. Returns an array of {ParsedMention} objects describing each valid mention found. Email addresses (e.g. `user.com`) are NOT matched because the `@` must ...\n- **`parseDispatchDirective`** — Parses a `@-name payload` dispatch directive from the user text. Unlike `` which are annotations that can appear anywhere, `@@` is a deterministic routing directive: the entire message is consumed ...\n- **`randomUuid`** — Secure-context-safe RFC 4122 v4 UUID generator. Browsers only expose `crypto.randomUUID()` in secure contexts (HTTPS origins or `localhost` / `127.0.0.1`). Serving the reference web-ui over plain H...\n- **`readAgentRegistryRecords`** — Read the v2 record shape, applying v1→v2 migration in-memory. Returns an empty map when the file is absent or unparsable (fails open).\n- **`reduceA2ASessionState`**\n- **`resolveSharedAgentRegistryPath`**\n- **`runFederationTransportConformanceTests`** — Federation transport conformance suite. v1 surface only — test bodies are `test.todo` and become real assertions in v2 when an actual transport implementation lands (likely the HTTP A2A RemoteHarne...\n- **`serializeRecords`** — Build the on-disk JSON payload from a record map, preserving v2 shape. Exported so the sync module can write the merged state using the same serializer autoRegister uses — one source of truth for t...\n- **`startRegistrySync`** — Wire auto-registration and peer-sync into a gateway startup path. Returns immediately — auto-registration is fire-and-forget. ```ts const sync = startRegistrySync({ name: \"my-gateway\", url: baseUrl...\n- **`stripMention`** — Removes a previously-parsed mention from the source text. Returns the text with the mention's `fullMatch` removed at the correct position. Trailing whitespace immediately after the mention is colla...\n- **`summarizeCapabilities`**\n- **`syncFromPeer`** — Pull-sync from a single peer. Fetches the peer's sync endpoint, drops self-originated records, merges the rest into the local registry, and writes the result to disk. Returns a {SyncSummary} descri...\n- **`truncateText`**\n\n### Interfaces\n\n- **`A2AAbortSendEvent`** — Send was aborted by an `AbortSignal` before any transport request was issued. Emitted instead of `error` when {SendTurnOptions.signal} is already aborted on entry to `sendTurn`/`resumeTurn`, or whe...\n- **`A2AAbortStreamEvent`** — Send/resume stream was aborted by an `AbortSignal` mid-flight. Emitted when the abort fires after the streaming connection opened but before it reaches a terminal task state. Distinguishes user-ini...\n- **`A2AAgentEntry`** — A registry entry describing a remote A2A agent reachable over HTTP. `A2AAgentEntry` is also the v1 dispatch primitive for parent→child gateway federation when a `HarnessCapabilityEntry` carries `so...\n- **`A2AAuthRequiredState`** — Lightweight typed view of an active auth-required prompt for UI consumers. Each `authMethods[]` entry carries the protocol-level method id alongside optional human-presentable fields. `link` is the...\n- **`A2AAvailableCommandsUpdatedEvent`** — The set of slash-commands currently available from the harness. Replaces state wholesale on receipt.\n- **`A2ACancellationFailedEvent`** — Remote-side `cancelTask` rejected. The corresponding `error` event carries the underlying transport message; this event lets consumers distinguish cancellation-failure from a generic operation error.\n- **`A2ACancellationRequestedEvent`** — Local cancellation was requested by the caller. Useful for UI consumers that want to render a \"canceling...\" state before a remote-cancel result (`cancellation.succeeded` / `cancellation.failed`) l...\n- **`A2ACancellationSucceededEvent`** — Remote-side `cancelTask` completed successfully. UI consumers can use this to confirm to the user that the remote agent actually accepted the cancellation, vs falling back to local-only teardown (w...\n- **`A2AClientControllerOptions`**\n- **`A2ACustomEvent`**\n- **`A2ADebugRecordEvent`**\n- **`A2ADelegationFramingTemplate`** — Declarative template for the delegation framing prompt. Consumers (tests, host integrations, alternate `buildResponseBlock` implementations) should import this rather than rebuild the literal strin...\n- **`A2AErrorEvent`**\n- **`A2AMentionDispatchError`**\n- **`A2AMentionDispatchOptions`**\n- **`A2AMentionDispatchSuccess`**\n- **`A2AMentionResponseBlockOptions`**\n- **`A2AMessageCompletedEvent`**\n- **`A2AMessageDeltaEvent`** — A partial message update. **Note on `text` vs `delta` semantics:** - `text` carries the **accumulated** message text (all content so far). - `delta` (AG-UI spec alias) carries the **incremental** c...\n- **`A2AMessageEndEvent`**\n- **`A2AMessageStartEvent`** — Signals the start of a new message. The `role` union is widened beyond the AG-UI spec to keep `\"agent\"` as an agents-js-local alias for `\"assistant\"` (pre-existing semantics). All spec values (`\"de...\n- **`A2AModeChangedEvent`** — Mode transition reported by the harness (e.g. plan→execute, model swap). ACP `current_mode_update` carries only the new `modeId`; the available-modes list lives in session metadata.\n- **`A2APlanUpdatedEvent`** — The agent's structured todo-list. ACP `plan` notifications always carry the FULL set of entries; receivers replace state wholesale.\n- **`A2AReasoningEncryptedEvent`** — Encrypted reasoning payload. `data` is the agents-js legacy field carrying the encrypted value. The AG-UI spec shape uses `subtype`, `entityId`, and `encryptedValue`. When an emitter populates the ...\n- **`A2AReasoningEndEvent`**\n- **`A2AReasoningMessageChunkEvent`** — Streams an incremental reasoning chunk. Emitters should populate both `text` (agents-js legacy) and `delta` (AG-UI spec alias) with the same value during the transition window.\n- **`A2AReasoningMessageContentEvent`** — Streams a full reasoning content block. Emitters should populate both `text` (agents-js legacy) and `delta` (AG-UI spec alias) with the same value during the transition window.\n- **`A2AReasoningMessageEndEvent`**\n- **`A2AReasoningMessageStartEvent`**\n- **`A2AReasoningStartEvent`**\n- **`A2ARequestSentEvent`** — Lifecycle signals for streaming/non-streaming sends. Lifecycle events are pure diagnostics: they never participate in `transcript` / `pendingAgentText` / task-state transitions. UI consumers can re...\n- **`A2ARunErrorEvent`** — AG-UI spec: signals that an agent run failed. Emitted alongside the existing agents-js `error` event during the transition window. `runId`/`threadId` are populated when an in-flight turn context is...\n- **`A2ARunFinishedEvent`** — AG-UI spec: signals the successful completion of an agent run. Emitted alongside the existing agents-js `message.completed` event during the transition window. Shares `runId`/`threadId` with the pr...\n- **`A2ARunStartedEvent`** — AG-UI spec: signals the start of an agent run (one user turn). Emitted alongside the existing agents-js `turn.started` event during the transition window. `runId` is unique per turn; `threadId` is ...\n- **`A2ASessionInfoUpdatedEvent`** — Session-level metadata mutation from ACP `session_info_update`. Both fields use three-state semantics: omitted (`undefined`) → no change, `null` → explicit clear, string → replacement. Receivers me...\n- **`A2ASessionState`**\n- **`A2ASessionUpdatedEvent`**\n- **`A2AStepFinishedEvent`**\n- **`A2AStepStartedEvent`**\n- **`A2AStreamClosedEvent`** — Stream closed cleanly (terminal task state reached or generator exhausted).\n- **`A2AStreamFirstEventEvent`** — First event has been received from the stream (or first response from non-streaming).\n- **`A2AStreamIdleEvent`** — Stream has been silent for the configured idle threshold without reaching a terminal state. UI consumers should surface a user-facing \"no stream event for N seconds\" warning. Idle timer clears on e...\n- **`A2AStreamLastEventEvent`** — A new event has arrived; useful for clients that want to track last-activity.\n- **`A2AStreamOpenedEvent`**\n- **`A2ATargetResolvedEvent`**\n- **`A2ATaskArtifactUpdatedEvent`**\n- **`A2ATaskStatusUpdatedEvent`**\n- **`A2ATaskUpdatedEvent`**\n- **`A2AToolCallArgsEvent`** — Incremental JSON argument chunk for a tool call. Emitters should populate both `argsChunk` (agents-js legacy) and `delta` (AG-UI spec alias) with the same value during the transition window.\n- **`A2AToolCallEndEvent`** — Marks the end of a tool call. Emitted once per `toolCallId` after all `tool_call.args` events and when the underlying tool call reaches a terminal state (completed or failed). Carries the final ACP...\n- **`A2AToolCallProgressEvent`** — Non-terminal mid-call update. ACP `tool_call_update` notifications carry status transitions (`pending` → `in_progress`) and/or payload mutations (content/locations/raw I/O) without ending the call....\n- **`A2AToolCallStartEvent`** — Marks the start of a tool call. Emitted once per `toolCallId` before any `tool_call.args` or `tool_call.end` event. Carries the full ACP `ToolCall` payload forwarded from the wire so receivers can ...\n- **`A2ATransport`** — Transport interface for A2A protocol I/O. This is the **Transport** port in the Ports & Adapters architecture. The default implementation is {SdkA2ATransport} (HTTP/SSE via the A2A SDK). Implement ...\n- **`A2ATurnStartedEvent`**\n- **`A2AUsageUpdatedEvent`** — Token-budget telemetry. `size` = total context window tokens, `used` = consumed so far, `cost` = structured `Cost` from the SDK (`{ amount, currency }`) preserved verbatim — `null` is a valid harne...\n- **`ACPA2AElicitation`**\n- **`ACPA2AElicitationResponse`**\n- **`ACPA2AElicitationSchema`**\n- **`ACPAgentEntry`** — A registry entry describing a locally spawnable ACP harness.\n- **`ActiveToolCall`** — Snapshot of a single in-flight or recently-completed tool call. Mirrored on session state so the TUI can render an inline status row that swaps in place as the call progresses. Optional fields mirr...\n- **`AdaptedTarget`** — Result of a successful adapt flow.\n- **`AdaptTargetContext`** — Context passed to TargetAdapter hooks during card adaptation.\n- **`AdaptTargetOptions`** — Options for adaptTarget. Allows injecting a custom fetch for testing.\n- **`AgentMentionRegistry`**\n- **`AgentRegistryOptions`** — Options for constructing an {AgentRegistry}.\n- **`AgentRegistryRecord`** — Full v2 on-disk record shape.\n- **`AgentsJsRegistrySyncPayload`** — Wire-format payload served by the sync endpoint and consumed by peers. Records are typed as the wire shape — `kind=\"acp\"` and the operator- controlled launch fields (`command`, `args`, `env`, `work...\n- **`AgentTargetInput`**\n- **`AGUIRunResult`** — Result of a single AG-UI `runAgent` call.\n- **`AGUITransportOptions`** — Options for constructing an {AGUITransport}.\n- **`AutoRegisterA2AOptions`** — Transport-a2a auto-reg options.\n- **`AutoRegisterACPOptions`** — Transport-acp auto-reg options.\n- **`AutoRegisterOptionsBase`** — Options shared by all {autoRegister} calls.\n- **`CancelTaskOptions`** — Options for {A2AClientController.cancelTask}. When `taskId` is omitted, the controller defaults to the active session's `taskId` if present, falling back to `resumableTaskId`. This matches what UI ...\n- **`CapabilitySummary`**\n- **`CreateA2AMentionMiddlewareOptions`**\n- **`DebugRecord`**\n- **`DiscoveredTarget`** — Input shape consumed by {groupDiscoveredTargets}. Wraps a registry record with the optional probe-derived reachability + error reason. Consumers produce these from `AgentRegistry.list()` results pa...\n- **`DiscoveredTargetGroup`** — Output of {groupDiscoveredTargets} — one bucket per unique agent name. The `preferred` entry is the canonical pick under the configured policy; `alternates` carries the rest of the duplicates (gate...\n- **`FederationConformanceOptions`** — Options to construct the conformance harness against a candidate federation transport implementation. Mirrors the `runProviderConformanceTests` signature shape from `-js/memory/testing`.\n- **`FederationTransport`** — Contract any federation transport must satisfy to participate in parent→child gateway dispatch under the v1 federation contract (see `docs/federation/v1-contract.md`). Mirrors the `runProviderConfo...\n- **`FetchPeerRecordsOptions`** — Options for {fetchPeerRecords}.\n- **`GroupDiscoveredTargetsOptions`** — Behavior knobs for {groupDiscoveredTargets}. All flags default to `false` so the helper is a pass-through unless callers opt in.\n- **`JsonPatchOperation`** — A single JSON Patch (RFC 6902) operation.\n- **`NormalizedAgentTargetInput`**\n- **`ParsedDispatchDirective`**\n- **`ParsedMention`** — Pure functions for parsing `-name` mentions from text content. Agent names are alphanumeric + hyphens (e.g. `knowledge-compiler`, `code-reviewer`). A mention is valid when preceded by whitespace or...\n- **`ProbeResult`**\n- **`RegistrySyncHandle`** — Handle returned by {startRegistrySync}.\n- **`ResolvedAgentTarget`**\n- **`ResumeTurnOptions`**\n- **`SendTurnOptions`**\n- **`SharedAgentRegistry`**\n- **`SharedAgentRegistryOptions`**\n- **`StartRegistrySyncOptions`** — Options for {startRegistrySync}.\n- **`SyncEndpointHandlerOptions`** — Options for {createSyncEndpointHandler}.\n- **`SyncFromPeerOptions`** — Options for {syncFromPeer}.\n- **`SyncLogger`** — Logger shape — compatible with `console` and the gateway's A2ALogger subset we use.\n- **`SyncSummary`** — Summary returned by {syncFromPeer}. Each record surfaces in exactly one array + one action.\n- **`TargetAdapter`** — Adapter interface for non-standard A2A agents. Implement this to teach `adaptTarget` how to: 1. Find the agent card at a non-standard path (`probePath`) 2. Optionally authenticate the probe (`authH...\n- **`TargetInspection`**\n- **`TranscriptEntry`**\n\n### Types\n\n- **`A2AEvent`**\n- **`A2AEventListener`**\n- **`A2ASendResult`**\n- **`A2AStreamEvent`** — AG-UI event types that may appear in SSE streams alongside standard A2A events.\n- **`ACPA2AElicitationContentValue`**\n- **`AgentActorType`** — Who or what is behind an agent. Governance classifier; distinct from transport `kind`.\n- **`AgentEntry`** — A single entry from the registry config file (discriminated on `kind`).\n- **`AgentKind`** — Kind of agent transport — `a2a` entries are routable over HTTP A2A; `acp` entries describe a spawnable ACP harness.\n- **`AgentMentionMap`**\n- **`AgentMentionResolver`**\n- **`AgentRegistrySource`** — How a registry record got here on this gateway.\n- **`AgentTargetMode`**\n- **`AutoRegisterOptions`**\n- **`CancelTaskResult`** — Result of {A2AClientController.cancelTask}. `outcome` distinguishes: - `\"canceled\"` — the transport's `cancelTask` call resolved successfully. `task` carries the resulting Task (typically with stat...\n- **`FetchLike`**\n- **`RawAgentCard`** — Raw card shape returned by a non-standard agent probe endpoint. Kept as a loose record to avoid over-constraining what Agent Zero returns.\n- **`SessionStatus`**\n- **`SessionStatusAction`** — Re-export for convenience — consumers can override action labels.\n- **`SessionStatusViewModel`** — Re-export for convenience — consumers can override action labels.\n- **`StartupLogger`** — Console-shaped logger subset used by {startRegistrySync}.\n- **`SyncAction`** — Why a single record changed (or did not change) during a sync merge.\n- **`TargetInspectionStatus`**\n- **`TargetReachability`** — Per-target health/probe status as seen by a UI client. Discovery implementations can map their own probe results to this triplet: `online` (target responded), `offline` (probe failed), `unknown` (p...\n\n### Constants\n\n- **`A2A_DELEGATION_FRAMING_TEMPLATE`** — Canonical framing template used by `defaultBuildResponseBlock`. Exported so the framing-contract regression test can assert against the exact strings, and so downstream consumers that emit equivale...\n- **`A2A_DELEGATION_RESPONSE_CLOSE_TAG`** — Outer close-tag for the A2A delegation framing. Paired with `A2A_DELEGATION_RESPONSE_OPEN_TAG`.\n- **`A2A_DELEGATION_RESPONSE_OPEN_TAG`** — Outer open-tag for the A2A delegation framing. Consumers (tests, host integrations, alternate `buildResponseBlock` implementations) should import this constant rather than hardcode the string.\n- **`ACP_A2A_AUTH_REQUIRED_METADATA_KEY`**\n- **`ACP_A2A_ELICITATION_METADATA_KEY`**\n- **`ACP_A2A_ELICITATION_RESPONSE_METADATA_KEY`**\n- **`AGENTS_JS_REGISTRY_WELL_KNOWN_PATH`** — Well-known path the peer sync endpoint is mounted at.\n\n### Exports\n\n- **`parseAguiSseStream`**\n- **`type A2AClientControllerOptions`**\n\n\n## Dependencies\n\n- `@agentclientprotocol/sdk`\n- `@a2a-js/sdk`\n- `@agents-js/a2a`\n- `@agents-js/agui-types`\n- `@agents-js/validation`\n\n## License\n\nMIT\n\n<!-- AUTO-GENERATED by scripts/generate-package-readmes.ts — do not edit -->\n","readmeFilename":"README.md"}