{"_id":"@agent-ui-kit/a2ui","_rev":"4-09b14f216053dd1fd4f40b274f5571a0","name":"@agent-ui-kit/a2ui","dist-tags":{"latest":"0.1.0"},"versions":{"0.0.3":{"name":"@agent-ui-kit/a2ui","version":"0.0.3","license":"MIT","_id":"@agent-ui-kit/a2ui@0.0.3","maintainers":[{"name":"kimgish","email":"kim.granlund@gmail.com"}],"homepage":"https://github.com/kimgranlund/agent-ui#readme","bugs":{"url":"https://github.com/kimgranlund/agent-ui/issues"},"dist":{"shasum":"90e2cb68dd088432efacd28ba56b1435a34c4140","tarball":"https://registry.npmjs.org/@agent-ui-kit/a2ui/-/a2ui-0.0.3.tgz","fileCount":128,"integrity":"sha512-Odev/eJHf51XzxeIGhikRNKubnGmOZ1cXrdjXz8hTwWm9Wazgm0hoIshYS9om/m+RR+jlaNpPpay/MjC3fNZbQ==","signatures":[{"sig":"MEQCIDCcC9MbMWQ6snVkmW2YiOwqZSoub/FFj5ax+DQca+6hAiAD3kX2fvtMZP7CjPhq3kW6JWN5bjRKx6WBRHMWwPU+cg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":692472},"type":"module","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./corpus":{"types":"./dist/corpus/index.d.ts","default":"./dist/corpus/index.js"},"./examples":{"types":"./dist/examples/index.d.ts","default":"./dist/examples/index.js"},"./agent/meta-line":{"types":"./dist/agent/meta-line.d.ts","default":"./dist/agent/meta-line.js"}},"gitHead":"e0d88476fd1700cd6ae4c8c4ff2de34a435279c8","_npmUser":{"name":"kimgish","email":"kim.granlund@gmail.com"},"repository":{"url":"git+https://github.com/kimgranlund/agent-ui.git","type":"git","directory":"packages/agent-ui/a2ui"},"_npmVersion":"11.16.0","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@agent-ui-kit/shared":"^0.0.3","@agent-ui-kit/components":"^0.0.3"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/a2ui_0.0.3_1784488736685_0.23942321456784188","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@agent-ui-kit/a2ui","version":"0.0.4","keywords":["agent-ui","web-components","custom-elements","design-system","a2ui","generative-ui","agents","renderer"],"license":"MIT","_id":"@agent-ui-kit/a2ui@0.0.4","maintainers":[{"name":"kimgish","email":"kim.granlund@gmail.com"}],"homepage":"https://github.com/kimgranlund/agent-ui#readme","bugs":{"url":"https://github.com/kimgranlund/agent-ui/issues"},"dist":{"shasum":"8935af97bc5d52da513ba2016511a288ee7505ae","tarball":"https://registry.npmjs.org/@agent-ui-kit/a2ui/-/a2ui-0.0.4.tgz","fileCount":130,"integrity":"sha512-9hyfvqBOJ6hBwViSxJOpdEjIoeoXsjhLx1tpZx/dGLor1zz1J3CL3dUoJ3o7qHRmt5JmMs9MobTNBqTFyF83xg==","signatures":[{"sig":"MEUCIFdNQUBC8aQ4eIF+ScMvfpXagbfuz2rpzBaqsOhDUHETAiEAqMNeWjiHyrN3Blq2b76WrIPp8Yml1FrgjaNE0bqZ92w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":696457},"type":"module","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./corpus":{"types":"./dist/corpus/index.d.ts","default":"./dist/corpus/index.js"},"./examples":{"types":"./dist/examples/index.d.ts","default":"./dist/examples/index.js"},"./agent/meta-line":{"types":"./dist/agent/meta-line.d.ts","default":"./dist/agent/meta-line.js"}},"gitHead":"b591692d7d9708d4e82712652c15f33278ac7bbc","_npmUser":{"name":"kimgish","email":"kim.granlund@gmail.com"},"repository":{"url":"git+https://github.com/kimgranlund/agent-ui.git","type":"git","directory":"packages/agent-ui/a2ui"},"_npmVersion":"11.16.0","description":"A2UI (agent-generated UI) support for the agent-ui family: a zero-dependency renderer for the A2UI wire protocol, a strict message validator, and the default component catalog mapping protocol types onto `ui-*` elements.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@agent-ui-kit/shared":"^0.0.4","@agent-ui-kit/components":"^0.0.4"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/a2ui_0.0.4_1784490222329_0.513665179512049","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"@agent-ui-kit/a2ui","version":"0.0.5","keywords":["agent-ui","web-components","custom-elements","design-system","a2ui","generative-ui","agents","renderer"],"license":"MIT","_id":"@agent-ui-kit/a2ui@0.0.5","maintainers":[{"name":"kimgish","email":"kim.granlund@gmail.com"}],"homepage":"https://github.com/kimgranlund/agent-ui#readme","bugs":{"url":"https://github.com/kimgranlund/agent-ui/issues"},"dist":{"shasum":"e4f72a70350d2f5119a2b2f691e8c5d5b98f2d43","tarball":"https://registry.npmjs.org/@agent-ui-kit/a2ui/-/a2ui-0.0.5.tgz","fileCount":130,"integrity":"sha512-pb2xzYaoe6ASfe9IobzBsBrTY/5N+uD0+Nr3DT8xsVdzNZ9pqw47xHCexT8YP8xAmy8kbn1QAE0vWUEeFix0Kg==","signatures":[{"sig":"MEQCIF6C8HuNGFrdizxQWv2R79S/ajyR871XqD96ecp+qtAvAiAgeRa3pSrWbCm1//bQM79wqxmVD4d725kkDB9xeP3fuQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":696692},"type":"module","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./corpus":{"types":"./dist/corpus/index.d.ts","default":"./dist/corpus/index.js"},"./examples":{"types":"./dist/examples/index.d.ts","default":"./dist/examples/index.js"},"./agent/meta-line":{"types":"./dist/agent/meta-line.d.ts","default":"./dist/agent/meta-line.js"}},"gitHead":"00fb1141077846c047c6c11294ce0c5f675d1912","_npmUser":{"name":"kimgish","email":"kim.granlund@gmail.com"},"repository":{"url":"git+https://github.com/kimgranlund/agent-ui.git","type":"git","directory":"packages/agent-ui/a2ui"},"_npmVersion":"11.16.0","description":"A2UI (agent-generated UI) support for the agent-ui family: a zero-dependency renderer for the A2UI wire protocol, a strict message validator, and the default component catalog mapping protocol types onto `ui-*` elements.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@agent-ui-kit/shared":"^0.0.5","@agent-ui-kit/components":"^0.0.5"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/a2ui_0.0.5_1784490730117_0.731141606404663","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@agent-ui-kit/a2ui","version":"0.1.0","description":"A2UI (agent-generated UI) support for the agent-ui family: a zero-dependency renderer for the A2UI wire protocol, a strict message validator, and the default component catalog mapping protocol types onto `ui-*` elements.","keywords":["agent-ui","web-components","custom-elements","design-system","a2ui","generative-ui","agents","renderer"],"license":"MIT","homepage":"https://github.com/kimgranlund/agent-ui#readme","bugs":{"url":"https://github.com/kimgranlund/agent-ui/issues"},"type":"module","repository":{"type":"git","url":"git+https://github.com/kimgranlund/agent-ui.git","directory":"packages/agent-ui/a2ui"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./examples":{"types":"./dist/examples/index.d.ts","default":"./dist/examples/index.js"},"./corpus":{"types":"./dist/corpus/index.d.ts","default":"./dist/corpus/index.js"},"./agent/meta-line":{"types":"./dist/agent/meta-line.d.ts","default":"./dist/agent/meta-line.js"},"./agent/genui-line":{"types":"./dist/agent/genui-line.d.ts","default":"./dist/agent/genui-line.js"},"./agent/agent-transport":{"types":"./dist/agent/agent-transport.d.ts","default":"./dist/agent/agent-transport.js"}},"dependencies":{"@agent-ui-kit/components":"^0.1.0","@agent-ui-kit/shared":"^0.1.0"},"gitHead":"9a62617f8a6ac15240d47ea58a1ef59ffccc1cf6","_id":"@agent-ui-kit/a2ui@0.1.0","_nodeVersion":"24.19.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-YZAHaIxR0viuFsnLr9bx4pN2C3lY9J7BRy1Gv4P1MZpWRQh2Z7RI0IEULtW7SKAIcat+F5mv5x3oadzCAy5bTw==","shasum":"6b2dd7c622f0a908dec1e866518c6fc439b1e694","tarball":"https://registry.npmjs.org/@agent-ui-kit/a2ui/-/a2ui-0.1.0.tgz","fileCount":206,"unpackedSize":1504117,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCCv0HHyi3EYW3XT71ESyZhAKcPB2kanwQxvt5KbZ96oAIgV5UAPaV0mrFPPrbrCjlb4yykllrvoItvZWiOkemPoyQ="}]},"_npmUser":{"name":"kimgish","email":"kim.granlund@gmail.com"},"directories":{},"maintainers":[{"name":"kimgish","email":"kim.granlund@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/a2ui_0.1.0_1787791061669_0.2727909645353721"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-19T19:18:56.562Z","modified":"2026-08-27T00:37:42.037Z","0.0.3":"2026-07-19T19:18:56.821Z","0.0.4":"2026-07-19T19:43:42.473Z","0.0.5":"2026-07-19T19:52:10.294Z","0.1.0":"2026-08-27T00:37:41.839Z"},"bugs":{"url":"https://github.com/kimgranlund/agent-ui/issues"},"license":"MIT","homepage":"https://github.com/kimgranlund/agent-ui#readme","keywords":["agent-ui","web-components","custom-elements","design-system","a2ui","generative-ui","agents","renderer"],"repository":{"type":"git","url":"git+https://github.com/kimgranlund/agent-ui.git","directory":"packages/agent-ui/a2ui"},"description":"A2UI (agent-generated UI) support for the agent-ui family: a zero-dependency renderer for the A2UI wire protocol, a strict message validator, and the default component catalog mapping protocol types onto `ui-*` elements.","maintainers":[{"name":"kimgish","email":"kim.granlund@gmail.com"}],"readme":"# @agent-ui-kit/a2ui\n\nA2UI (agent-generated UI) support for the agent-ui family: a zero-dependency renderer for the A2UI wire protocol, a strict message validator, and the default component catalog mapping protocol types onto `ui-*` elements.\n\n## Install\n\n```sh\nnpm install @agent-ui-kit/a2ui\n```\n\n## Usage\n\n```js\nimport '@agent-ui-kit/components/foundation-styles.css'\nimport '@agent-ui-kit/components/component-styles.css'\nimport { /* renderer + validator + catalog */ } from '@agent-ui-kit/a2ui'\nimport { /* seed payloads */ } from '@agent-ui-kit/a2ui/examples'\n```\n\nFeed validated A2UI server messages (`createSurface` / `updateComponents` / `updateDataModel`) to the renderer and it maintains live surfaces — two-way input bindings, validity checks, dynamic lists, and action round-trips included. `./examples` ships seed payload transcripts; `./corpus` is the exemplar store.\n\n> The repo's agent-producer toolkit (`./agent`) is intentionally **not** part of the published package — it is node-first, repo-internal machinery. The pure `./agent/meta-line` types ARE published.\n\n## CDN (no build step)\n\n```html\n<!-- styles come from the components/shared sheets (see @agent-ui-kit/components' CDN section) -->\n<script type=\"module\">\n  import * as a2ui from 'https://esm.sh/@agent-ui-kit/a2ui@0.1.0'\n</script>\n```\n\n## The @agent-ui-kit family\n\n| Package | What it is |\n|---|---|\n| [`@agent-ui-kit/components`](https://www.npmjs.com/package/@agent-ui-kit/components) | The component framework: signals kernel, 50+ light-DOM `ui-*` custom elements |\n| [`@agent-ui-kit/shared`](https://www.npmjs.com/package/@agent-ui-kit/shared) | Design tokens + foundation stylesheets (color, dimensions, themes) |\n| [`@agent-ui-kit/icons`](https://www.npmjs.com/package/@agent-ui-kit/icons) | Swappable icon-pack adapter (+ a Phosphor pack) |\n| [`@agent-ui-kit/a2ui`](https://www.npmjs.com/package/@agent-ui-kit/a2ui) | A2UI protocol renderer, validator, and component catalog |\n| [`@agent-ui-kit/a2a`](https://www.npmjs.com/package/@agent-ui-kit/a2a) | A2A (Agent2Agent) protocol wire types + validation (spec v0.3.0) |\n| [`@agent-ui-kit/router`](https://www.npmjs.com/package/@agent-ui-kit/router) | Memory-first SPA router with opt-in URL reflection |\n| [`@agent-ui-kit/code`](https://www.npmjs.com/package/@agent-ui-kit/code) | Code + prose: highlighter registry, markdown renderer, source editor |\n| [`@agent-ui-kit/app`](https://www.npmjs.com/package/@agent-ui-kit/app) | App-surface compositions: shells, conversation, agent admin |\n\nMIT © Kim Granlund · [Docs](https://ui.nonoun.io) · [Source](https://github.com/kimgranlund/agent-ui)\n","readmeFilename":"README.md"}