{"_id":"@agents-js/agui-types","_rev":"10-454bb6036575655beeaa65d1e1865e66","name":"@agents-js/agui-types","dist-tags":{"rc1":"0.3.1-rc1","latest":"0.5.1"},"versions":{"0.2.0":{"name":"@agents-js/agui-types","version":"0.2.0","keywords":["ag-ui","agents","events","types"],"author":{"name":"Jens Bodal"},"license":"MIT","_id":"@agents-js/agui-types@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":"6e918b4039cb3bdeec6038b1b1827de6a9e04afe","tarball":"https://registry.npmjs.org/@agents-js/agui-types/-/agui-types-0.2.0.tgz","fileCount":14,"integrity":"sha512-BIP7yJ+7XJfZ/Qu19NtJPq1N2hTJve2WIJHUF6Z11KnMq82NHFqkiGXsOmKe5OyQ92jpEhK1Hap0OKdgSgBKiw==","signatures":[{"sig":"MEUCIQCElUaH+KDWTugtl+A4rdIxD34QPVEmdchhuJ/CMUATeAIgeggpKfCp6d8CNPzQ4MxBDDTGdbOfmCZe0UPLu2yb9+0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37952},"main":"dist/index.mjs","type":"module","_from":"file:/var/folders/ws/wl7n084x6hncz0nppv2p_2p00000gn/T/agents-js-publish-agui-types-nye67s/agents-js-agui-types-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"}},"scripts":{"test":"bun test tests","build":"bunx tsdown src/index.ts --format esm --dts --out-dir dist --clean","prepack":"bun run build"},"_npmUser":{"name":"jensbodal_dev","email":"jensbodal@gmail.com"},"_resolved":"/var/folders/ws/wl7n084x6hncz0nppv2p_2p00000gn/T/agents-js-publish-agui-types-nye67s/agents-js-agui-types-0.2.0.tgz","_integrity":"sha512-BIP7yJ+7XJfZ/Qu19NtJPq1N2hTJve2WIJHUF6Z11KnMq82NHFqkiGXsOmKe5OyQ92jpEhK1Hap0OKdgSgBKiw==","repository":{"url":"git+https://github.com/jensbodal/agents-js.git","type":"git","directory":"packages/agui-types"},"_npmVersion":"11.13.0","description":"AG-UI core re-exports plus first-party message, reasoning, run, tool-call, and stream helpers for agents-js.","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{"@ag-ui/core":"0.0.53"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"1.3.13"},"_npmOperationalInternal":{"tmp":"tmp/agui-types_0.2.0_1778309177589_0.046194786791916354","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@agents-js/agui-types","version":"0.2.1","keywords":["ag-ui","agents","events","types"],"author":{"name":"Jens Bodal"},"license":"MIT","_id":"@agents-js/agui-types@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":"ab9eef84b9c965db3487bda284e4a914f4a04d2b","tarball":"https://registry.npmjs.org/@agents-js/agui-types/-/agui-types-0.2.1.tgz","fileCount":14,"integrity":"sha512-p14tFeZpDKb9HBsoOyk4LtvYJRAYEnSB6AVndAJ7oJpuv5wRpFTaOEf7ildqp7W14ij7x4cGQxKlZMVQ1jx06Q==","signatures":[{"sig":"MEQCID5u1f1sne36Fyped0Jvf98fydKOHxO2Mg5ACUw+vALZAiAWfML46kAXwMox2HHBQIA2W5YOHurakfm6YQG5+RVxHw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37952},"main":"dist/index.mjs","type":"module","_from":"file:/var/folders/ws/wl7n084x6hncz0nppv2p_2p00000gn/T/agents-js-publish-agui-types-kuP5OK/agents-js-agui-types-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"}},"scripts":{"test":"bun test tests","build":"bunx tsdown src/index.ts --format esm --dts --out-dir dist --clean","prepack":"bun run build"},"_npmUser":{"name":"jensbodal_dev","email":"jensbodal@gmail.com"},"_resolved":"/var/folders/ws/wl7n084x6hncz0nppv2p_2p00000gn/T/agents-js-publish-agui-types-kuP5OK/agents-js-agui-types-0.2.1.tgz","_integrity":"sha512-p14tFeZpDKb9HBsoOyk4LtvYJRAYEnSB6AVndAJ7oJpuv5wRpFTaOEf7ildqp7W14ij7x4cGQxKlZMVQ1jx06Q==","repository":{"url":"git+https://github.com/jensbodal/agents-js.git","type":"git","directory":"packages/agui-types"},"_npmVersion":"11.13.0","description":"AG-UI core re-exports plus first-party message, reasoning, run, tool-call, and stream helpers for agents-js.","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{"@ag-ui/core":"0.0.53"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"1.3.13"},"_npmOperationalInternal":{"tmp":"tmp/agui-types_0.2.1_1778339125004_0.1097804010689789","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@agents-js/agui-types","version":"0.2.2","keywords":["ag-ui","agents","events","types"],"author":{"name":"Jens Bodal"},"license":"MIT","_id":"@agents-js/agui-types@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":"890d454cb30d88d4afc10641a7598523c55c40ed","tarball":"https://registry.npmjs.org/@agents-js/agui-types/-/agui-types-0.2.2.tgz","fileCount":14,"integrity":"sha512-OmYX7Z8egbzP+0CYP8KtXjopbqVTR7t4lAhhaoDyFWVDrajwym7WYJuvqUYnMmYxVXIVhflnF1JUjFM+q0egfA==","signatures":[{"sig":"MEQCIBl/C2si43DgMQti8wTsRRvH4ET1Jcy65y0XMr3IX9kOAiBnq5+44XyBbE8tydmvROpjYBAd9xhuwHucL2FFTJzL3A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37952},"main":"dist/index.mjs","type":"module","_from":"file:/var/folders/ws/wl7n084x6hncz0nppv2p_2p00000gn/T/agents-js-publish-agui-types-WxoWOa/agents-js-agui-types-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"}},"scripts":{"test":"bun test tests","build":"bunx tsdown src/index.ts --format esm --dts --out-dir dist --clean","prepack":"bun run build"},"_npmUser":{"name":"jensbodal_dev","email":"jensbodal@gmail.com"},"_resolved":"/var/folders/ws/wl7n084x6hncz0nppv2p_2p00000gn/T/agents-js-publish-agui-types-WxoWOa/agents-js-agui-types-0.2.2.tgz","_integrity":"sha512-OmYX7Z8egbzP+0CYP8KtXjopbqVTR7t4lAhhaoDyFWVDrajwym7WYJuvqUYnMmYxVXIVhflnF1JUjFM+q0egfA==","repository":{"url":"git+https://github.com/jensbodal/agents-js.git","type":"git","directory":"packages/agui-types"},"_npmVersion":"11.13.0","description":"AG-UI core re-exports plus first-party message, reasoning, run, tool-call, and stream helpers for agents-js.","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{"@ag-ui/core":"0.0.53"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"1.3.13"},"_npmOperationalInternal":{"tmp":"tmp/agui-types_0.2.2_1778343631762_0.8910979418288822","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@agents-js/agui-types","version":"0.3.0","keywords":["ag-ui","agents","events","types"],"author":{"name":"Jens Bodal"},"license":"MIT","_id":"@agents-js/agui-types@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":"468119eaaf859eb69cda43b3d71493916a32daa6","tarball":"https://registry.npmjs.org/@agents-js/agui-types/-/agui-types-0.3.0.tgz","fileCount":14,"integrity":"sha512-rranJJoBlvTgI2h+IrLvhBNl/FlpELgT1Xyoe9GaxftphCncE+46wIsBddpiqd04ki6E3hSTOcTxovddLOjxfw==","signatures":[{"sig":"MEYCIQDiiE0aSPh6uCns2SzqRI+n6NOA9EOmLrZhUDYchRqMOAIhAOyD/oSjKkrVlPWhx2LDgeesUMbFnluPTs4LKp94tvRD","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37952},"main":"dist/index.mjs","type":"module","_from":"file:/var/folders/ws/wl7n084x6hncz0nppv2p_2p00000gn/T/agents-js-publish-agui-types-IRrwDm/agents-js-agui-types-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"}},"scripts":{"test":"bun test tests","build":"bunx tsdown src/index.ts --format esm --dts --out-dir dist --clean","prepack":"bun run build"},"_npmUser":{"name":"jensbodal_dev","email":"jensbodal@gmail.com"},"_resolved":"/var/folders/ws/wl7n084x6hncz0nppv2p_2p00000gn/T/agents-js-publish-agui-types-IRrwDm/agents-js-agui-types-0.3.0.tgz","_integrity":"sha512-rranJJoBlvTgI2h+IrLvhBNl/FlpELgT1Xyoe9GaxftphCncE+46wIsBddpiqd04ki6E3hSTOcTxovddLOjxfw==","repository":{"url":"git+https://github.com/jensbodal/agents-js.git","type":"git","directory":"packages/agui-types"},"_npmVersion":"11.13.0","description":"AG-UI core re-exports plus first-party message, reasoning, run, tool-call, and stream helpers for agents-js.","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{"@ag-ui/core":"0.0.53"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"1.3.13"},"_npmOperationalInternal":{"tmp":"tmp/agui-types_0.3.0_1778351280898_0.7263085854611262","host":"s3://npm-registry-packages-npm-production"}},"0.3.1-rc1":{"name":"@agents-js/agui-types","version":"0.3.1-rc1","keywords":["ag-ui","agents","events","types"],"author":{"name":"Jens Bodal"},"license":"MIT","_id":"@agents-js/agui-types@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":"58499cffa5cb9790e3de193bf48e59870e0740c5","tarball":"https://registry.npmjs.org/@agents-js/agui-types/-/agui-types-0.3.1-rc1.tgz","fileCount":14,"integrity":"sha512-QLg11mW9yZdzs24S1JgG6rEIDg/oLhkfQatDi89sRpNPcsKOuppAFiMK683GBvXNpAqp7bL4PgPO/5RRAjYcow==","signatures":[{"sig":"MEYCIQCjXBu6eZqc77DuML9cTyHdsXw5fh5u4fdg8pA2Ou5bPQIhAMe+Y7hwLpGCuH0wOc9Hm4talJ3BKrWYzTenSpeX+r9s","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agents-js%2fagui-types@0.3.1-rc1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":37956},"main":"dist/index.mjs","type":"module","_from":"file:/tmp/agents-js-publish-agui-types-1eOel9/agents-js-agui-types-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"}},"scripts":{"test":"bun test tests","build":"bunx tsdown src/index.ts --format esm --dts --out-dir dist --clean","prepack":"bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b371273b-87c6-4877-b1cc-e0da399b41f3"}},"_resolved":"/tmp/agents-js-publish-agui-types-1eOel9/agents-js-agui-types-0.3.1-rc1.tgz","_integrity":"sha512-QLg11mW9yZdzs24S1JgG6rEIDg/oLhkfQatDi89sRpNPcsKOuppAFiMK683GBvXNpAqp7bL4PgPO/5RRAjYcow==","repository":{"url":"git+https://github.com/jensbodal/agents-js.git","type":"git","directory":"packages/agui-types"},"_npmVersion":"11.12.1","description":"AG-UI core re-exports plus first-party message, reasoning, run, tool-call, and stream helpers for agents-js.","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{"@ag-ui/core":"0.0.53"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@types/bun":"1.3.13"},"_npmOperationalInternal":{"tmp":"tmp/agui-types_0.3.1-rc1_1778355269672_0.5564091831571287","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@agents-js/agui-types","version":"0.3.1","keywords":["ag-ui","agents","events","types"],"author":{"name":"Jens Bodal"},"license":"MIT","_id":"@agents-js/agui-types@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":"117cac34f43d9ac24efd7207d0eaa2f6f0175799","tarball":"https://registry.npmjs.org/@agents-js/agui-types/-/agui-types-0.3.1.tgz","fileCount":14,"integrity":"sha512-RAvWK0D3m2ahUK7/RgXqwpVDv69CIqnWdcYDpnuA8+wnYVwZUkQyIQ0we4AZLETNt5qWGBeoY/FbnYUxUWoWfQ==","signatures":[{"sig":"MEQCICLPEIK+7Y8qUGlarsXk0FZsvd9oTyhOI5GSqsAx1VG7AiB09OdK6kxsWwoN+RjB4GiaMTzwmL2qozVu5THtKh9qYQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agents-js%2fagui-types@0.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":37952},"main":"dist/index.mjs","type":"module","_from":"file:/tmp/agents-js-publish-agui-types-e4jzXE/agents-js-agui-types-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"}},"scripts":{"test":"bun test tests","build":"bunx tsdown src/index.ts --format esm --dts --out-dir dist --clean","prepack":"bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b371273b-87c6-4877-b1cc-e0da399b41f3"}},"_resolved":"/tmp/agents-js-publish-agui-types-e4jzXE/agents-js-agui-types-0.3.1.tgz","_integrity":"sha512-RAvWK0D3m2ahUK7/RgXqwpVDv69CIqnWdcYDpnuA8+wnYVwZUkQyIQ0we4AZLETNt5qWGBeoY/FbnYUxUWoWfQ==","repository":{"url":"git+https://github.com/jensbodal/agents-js.git","type":"git","directory":"packages/agui-types"},"_npmVersion":"11.12.1","description":"AG-UI core re-exports plus first-party message, reasoning, run, tool-call, and stream helpers for agents-js.","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{"@ag-ui/core":"0.0.53"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"1.3.13"},"_npmOperationalInternal":{"tmp":"tmp/agui-types_0.3.1_1778356991792_0.24534036811318516","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"@agents-js/agui-types","version":"0.3.2","keywords":["ag-ui","agents","events","types"],"author":{"name":"Jens Bodal"},"license":"MIT","_id":"@agents-js/agui-types@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":"b1a9ccf3abdd1a96f96805d8b73713ee9c26bf6f","tarball":"https://registry.npmjs.org/@agents-js/agui-types/-/agui-types-0.3.2.tgz","fileCount":14,"integrity":"sha512-vlvL/qn/H9TqPX1UTU2lGCVsr6D55bVlCxEUnwwQhoJeRU01oQ5St5zE70v5ZONzc3nWfMR27Gz+KIhXuxNC5g==","signatures":[{"sig":"MEQCIAxCkDL8hDuWQkvRFmGO+Q9Yrso4/26j3IYqvqEhseu9AiB6CIcfj4t/Fp5tvn9zfVtoTbNx3MejwfgkmOT8x87YnA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agents-js%2fagui-types@0.3.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":37952},"main":"dist/index.mjs","type":"module","_from":"file:/tmp/agents-js-publish-agui-types-iT35YM/agents-js-agui-types-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"}},"scripts":{"test":"bun test tests","build":"bunx tsdown src/index.ts --format esm --dts --out-dir dist --clean","prepack":"bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b371273b-87c6-4877-b1cc-e0da399b41f3"}},"_resolved":"/tmp/agents-js-publish-agui-types-iT35YM/agents-js-agui-types-0.3.2.tgz","_integrity":"sha512-vlvL/qn/H9TqPX1UTU2lGCVsr6D55bVlCxEUnwwQhoJeRU01oQ5St5zE70v5ZONzc3nWfMR27Gz+KIhXuxNC5g==","repository":{"url":"git+https://github.com/jensbodal/agents-js.git","type":"git","directory":"packages/agui-types"},"_npmVersion":"11.12.1","description":"AG-UI core re-exports plus first-party message, reasoning, run, tool-call, and stream helpers for agents-js.","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{"@ag-ui/core":"0.0.53"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"1.3.13"},"_npmOperationalInternal":{"tmp":"tmp/agui-types_0.3.2_1778372103172_0.7409934557779445","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@agents-js/agui-types","version":"0.4.0","keywords":["ag-ui","agents","events","types"],"author":{"name":"Jens Bodal"},"license":"MIT","_id":"@agents-js/agui-types@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":"d83c9c74a20b14333cec2ceca66a499c4b4588c4","tarball":"https://registry.npmjs.org/@agents-js/agui-types/-/agui-types-0.4.0.tgz","fileCount":14,"integrity":"sha512-T271zYnUGKZNjUyFTSBKI+UlnVsbJUUXbtjbfX5q7jdOzdeWNMqpADfCTlDCEeZ9pRT6nh/QAh0MAJ4ivB/N+Q==","signatures":[{"sig":"MEUCIQCRWdVlE+rPOwX319vnqSLahLjjGN2RKqWCErxUUhNrFwIgb6p4+glq0Z42czHMyJTUDYVUT++aZnLmq9ao4UKVSyU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agents-js%2fagui-types@0.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":37952},"main":"dist/index.mjs","type":"module","_from":"file:/tmp/agents-js-publish-agui-types-N4fgdh/agents-js-agui-types-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"}},"scripts":{"test":"bun test tests","build":"bunx tsdown src/index.ts --format esm --dts --out-dir dist --clean","prepack":"bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b371273b-87c6-4877-b1cc-e0da399b41f3"}},"_resolved":"/tmp/agents-js-publish-agui-types-N4fgdh/agents-js-agui-types-0.4.0.tgz","_integrity":"sha512-T271zYnUGKZNjUyFTSBKI+UlnVsbJUUXbtjbfX5q7jdOzdeWNMqpADfCTlDCEeZ9pRT6nh/QAh0MAJ4ivB/N+Q==","repository":{"url":"git+https://github.com/jensbodal/agents-js.git","type":"git","directory":"packages/agui-types"},"_npmVersion":"11.12.1","description":"AG-UI core re-exports plus first-party message, reasoning, run, tool-call, and stream helpers for agents-js.","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{"@ag-ui/core":"0.0.53"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"1.3.13"},"_npmOperationalInternal":{"tmp":"tmp/agui-types_0.4.0_1778531273910_0.41781786218303285","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@agents-js/agui-types","version":"0.5.0","keywords":["ag-ui","agents","events","types"],"author":{"name":"Jens Bodal"},"license":"MIT","_id":"@agents-js/agui-types@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":"0ccc781dd6065723ccbc2d06322c0df8748950c0","tarball":"https://registry.npmjs.org/@agents-js/agui-types/-/agui-types-0.5.0.tgz","fileCount":14,"integrity":"sha512-ef2RqtcbbSXfsZH7aekuDGk3k+xo45bRnzqtQwtTP63VoWmJH4Su+IgND2zxYXcHTLKYWqpXg6UBLdmbQjO7Lw==","signatures":[{"sig":"MEUCICKDmxXhX0oKUyMRqMzzRN7HlQ1pY0gfzWYhEE1xE93pAiEAh2+FowmXgKAq5jLy7pSilrnBfL8YOc5OhoVw/7NN1MI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agents-js%2fagui-types@0.5.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":37952},"main":"dist/index.mjs","type":"module","_from":"file:/tmp/agents-js-publish-agui-types-44fiU3/agents-js-agui-types-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"}},"scripts":{"test":"bun test tests","build":"bunx tsdown src/index.ts --format esm --dts --out-dir dist --clean","prepack":"bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b371273b-87c6-4877-b1cc-e0da399b41f3"}},"_resolved":"/tmp/agents-js-publish-agui-types-44fiU3/agents-js-agui-types-0.5.0.tgz","_integrity":"sha512-ef2RqtcbbSXfsZH7aekuDGk3k+xo45bRnzqtQwtTP63VoWmJH4Su+IgND2zxYXcHTLKYWqpXg6UBLdmbQjO7Lw==","repository":{"url":"git+https://github.com/jensbodal/agents-js.git","type":"git","directory":"packages/agui-types"},"_npmVersion":"11.12.1","description":"AG-UI core re-exports plus first-party message, reasoning, run, tool-call, and stream helpers for agents-js.","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{"@ag-ui/core":"0.0.53"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"1.3.13"},"_npmOperationalInternal":{"tmp":"tmp/agui-types_0.5.0_1779063573609_0.6200120173851456","host":"s3://npm-registry-packages-npm-production"}},"0.5.1":{"name":"@agents-js/agui-types","version":"0.5.1","type":"module","sideEffects":false,"description":"AG-UI core re-exports plus first-party message, reasoning, run, tool-call, and stream helpers for agents-js.","author":{"name":"Jens Bodal"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/jensbodal/agents-js.git","directory":"packages/agui-types"},"homepage":"https://agents-js.bodal.dev/","bugs":{"url":"https://github.com/jensbodal/agents-js/issues"},"keywords":["ag-ui","agents","events","types"],"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"}},"scripts":{"build":"bunx tsdown src/index.ts --format esm --dts --out-dir dist --clean","prepack":"bun run build","test":"bun test tests"},"dependencies":{"@ag-ui/core":"0.0.53"},"devDependencies":{"@types/bun":"1.3.13"},"publishConfig":{"access":"public"},"_id":"@agents-js/agui-types@0.5.1","_integrity":"sha512-TP9CgXKSlh5f57Pi/ddsw5t/i15p/FTT9kc4mcGawNAORQ1PFQW7iKIOZLheIYEO/pmS+PMFCeB7seNWTpGhgg==","_resolved":"/tmp/agents-js-publish-agui-types-2r4OWt/agents-js-agui-types-0.5.1.tgz","_from":"file:/tmp/agents-js-publish-agui-types-2r4OWt/agents-js-agui-types-0.5.1.tgz","_nodeVersion":"24.15.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-TP9CgXKSlh5f57Pi/ddsw5t/i15p/FTT9kc4mcGawNAORQ1PFQW7iKIOZLheIYEO/pmS+PMFCeB7seNWTpGhgg==","shasum":"53f1560dcd41074f4b218b0cb8150ff9a5026d10","tarball":"https://registry.npmjs.org/@agents-js/agui-types/-/agui-types-0.5.1.tgz","fileCount":14,"unpackedSize":37952,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agents-js%2fagui-types@0.5.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDMSnUfrpES0pcIVpIOlcLKDnGqPHWMw+B+sXS7+hg1kAiAdhRncwc+foekUtENiv5/Tkb9cVyFV9gSPcIi2K6J0Fw=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b371273b-87c6-4877-b1cc-e0da399b41f3"}},"directories":{},"maintainers":[{"name":"jensbodal_dev","email":"jensbodal@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/agui-types_0.5.1_1779076374331_0.408522411748097"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-09T06:46:17.422Z","modified":"2026-05-18T03:52:54.749Z","0.2.0":"2026-05-09T06:46:17.752Z","0.2.1":"2026-05-09T15:05:25.206Z","0.2.2":"2026-05-09T16:20:31.919Z","0.3.0":"2026-05-09T18:28:01.041Z","0.3.1-rc1":"2026-05-09T19:34:29.818Z","0.3.1":"2026-05-09T20:03:11.935Z","0.3.2":"2026-05-10T00:15:03.308Z","0.4.0":"2026-05-11T20:27:54.070Z","0.5.0":"2026-05-18T00:19:33.768Z","0.5.1":"2026-05-18T03:52:54.473Z"},"bugs":{"url":"https://github.com/jensbodal/agents-js/issues"},"author":{"name":"Jens Bodal"},"license":"MIT","homepage":"https://agents-js.bodal.dev/","keywords":["ag-ui","agents","events","types"],"repository":{"type":"git","url":"git+https://github.com/jensbodal/agents-js.git","directory":"packages/agui-types"},"description":"AG-UI core re-exports plus first-party message, reasoning, run, tool-call, and stream helpers for agents-js.","maintainers":[{"name":"jensbodal_dev","email":"jensbodal@gmail.com"}],"readme":"# @agents-js/agui-types\n\n> AG-UI core re-exports plus first-party adapters for the agents-js streaming model — text messages, tool calls, reasoning, run lifecycle, and custom events.\n\n`@agents-js/agui-types` re-exports the canonical AG-UI event schemas from\n[`@ag-ui/core`](https://www.npmjs.com/package/@ag-ui/core) and adds the\nstateful builder agents-js gateways and runtimes use to emit AG-UI event\nstreams without re-implementing the open-message / tool-call dedup\nbookkeeping every time. It also pins the AG-UI core schema version it was\nbuilt against (`AGUI_CORE_VERSION`) so consumers can assert protocol\ncompatibility at startup.\n\n## Installation\n\n```sh\nnpm install @agents-js/agui-types\n```\n\n```sh\nbun add @agents-js/agui-types\n```\n\n## Usage\n\nBuild an AG-UI event stream for a single agent run:\n\n```ts\nimport { createAguiEventStream } from \"@agents-js/agui-types\";\n\nconst stream = createAguiEventStream();\n\nfor (const event of stream.textMessageStart({ messageId: \"m1\", role: \"assistant\" })) {\n  yield event;\n}\n\nlet acc = \"\";\nfor (const chunk of llmTokenStream) {\n  acc += chunk;\n  for (const event of stream.textMessageContent({ messageId: \"m1\", text: acc, previousText: acc.slice(0, -chunk.length) })) {\n    yield event;\n  }\n}\n\nfor (const event of stream.textMessageEnd({ messageId: \"m1\" })) {\n  yield event;\n}\n\nfor (const event of stream.runFinished({ runId: \"r1\" })) {\n  yield event;\n}\n```\n\nTranslate a single agents-js signal into the canonical AG-UI shape:\n\n```ts\nimport { AGUI_CORE_VERSION, toAguiToolCallStart } from \"@agents-js/agui-types\";\n\nconsole.log(`emitting events compatible with ag-ui core ${AGUI_CORE_VERSION}`);\n\nconst event = toAguiToolCallStart({\n  toolCallId: \"tc-7\",\n  toolCallName: \"fetch_context\",\n  parentMessageId: \"m1\",\n});\ntransport.send(event);\n```\n\n## Documentation\n\nFull API reference and protocol guides: <https://agents-js.bodal.dev/>.\n\n## License\n\nMIT — see [LICENSE](./LICENSE).\n\n<!-- This README is hand-maintained. -->\n","readmeFilename":"README.md"}