-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
spec-complianceA2UI specification compliance gapA2UI specification compliance gap
Description
Spec reference
Current behavior
- We parse
sendDataModelfromcreateSurfacebut do not echo the data model back in client-to-server messages. - We do not parse
catalogIdfromcreateSurface. - We do not parse or apply
themeproperties.
Required behavior
sendDataModel sync: When sendDataModel: true is set on createSurface, the client must include the full data model in the A2A message metadata when sending actions back to the server.
Catalog ID: The createSurface message includes a catalogId field specifying which component catalog the server chose. The renderer should parse and store this value.
Theme support: The createSurface message can include theme parameters (e.g., primaryColor). The renderer should apply these to component styling.
Affected files
src/A2UI.Blazor/Services/A2UIStreamClient.cs— include data model in action metadatasrc/A2UI.Blazor/Services/SurfaceManager.cs— parse catalogId and themesrc/A2UI.Blazor/Components/— apply theme properties to rendered components
SPECIFICATION.md reference
- Client-to-Server Communication:
sendDataModel syncrow - Protocol Features:
Catalog ID in createSurfacerow - Protocol Features:
Theme supportrow
Acceptance criteria
- Implementation matches spec
- Tests added (red-green-refactor)
- SPECIFICATION.md updated (gap → compliant)
- Sample servers updated if affected (parity)
- Sample apps updated if affected (parity)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
spec-complianceA2UI specification compliance gapA2UI specification compliance gap