renderers/web_core/README.md
The @a2ui/web_core package contains the core logic, state management, and protocol handling for the A2UI framework. It is designed to be framework-agnostic, providing the foundation for specific renderer implementations like Angular, React, or Lit.
@preact/signals-core.The v0_9 architecture centers around a decoupled model where rendering is driven by a SurfaceGroupModel and its constituent SurfaceModels.
DataModel manages the application state, while SurfaceComponentsModel tracks the components rendered on a surface.MessageProcessor translates incoming A2A messages into state updates.Maintains compatibility with the initial A2UI specification version, focusing on static component mapping and direct data binding.
npm install @a2ui/web_core
The package uses wireit for optimized build orchestration:
npm run build
Run the test suite using the native Node.js test runner:
npm test
Generate coverage reports:
npm run test:coverage
This library is part of the A2UI project. Please refer to the top-level documentation for security considerations and developer responsibilities when handling untrusted agent data.