@threadplane/chat 0.0.57 → 0.0.59

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -178,13 +178,13 @@ Citation display helpers derive the visible source type badge from `sourceType`
178
178
 
179
179
  ### GenUI / A2UI surfaces
180
180
 
181
- `<chat-generative-ui>` renders A2UI surface specs emitted by agents. `<a2ui-surface>` is the underlying host that maps the spec to Angular catalog components (`A2uiButtonComponent`, `A2uiTextFieldComponent`, `A2uiCheckBoxComponent`, etc.).
181
+ `<chat-generative-ui>` renders A2UI v0.9 surfaces emitted by agents. `<a2ui-surface>` is the underlying host that maps a surface to Angular catalog components (`A2uiButtonComponent`, `A2uiTextFieldComponent`, `A2uiChoicePickerComponent`, etc.).
182
182
 
183
- Agents can emit surface specs via `buildA2uiActionMessage(...)`. Actions from catalog components flow back to the agent as structured messages.
183
+ Actions from catalog components flow back to the agent as structured `A2uiActionMessage`s (built via `buildA2uiActionMessage(...)`).
184
184
 
185
185
  The built-in catalog ships via `a2uiBasicCatalog`. Compose a custom catalog with `withViews()` and pass it to the surface.
186
186
 
187
- **Icons.** The catalog `Icon` component renders [Material Symbols](https://fonts.google.com/icons) by name (the A2UI canonical icon set — e.g. `check`, `trending_up`, `star`). For glyphs to render, include the Material Symbols Outlined stylesheet in your app's `<head>` (the library does not inject any web font):
187
+ **Icons.** The catalog `Icon` component renders [Material Symbols](https://fonts.google.com/icons) by name (the A2UI canonical icon set — the v0.9 catalog's camelCase names such as `check`, `trendingUp`, `star` map to the matching ligature). For glyphs to render, include the Material Symbols Outlined stylesheet in your app's `<head>` (the library does not inject any web font):
188
188
 
189
189
  ```html
190
190
  <link
@@ -193,7 +193,7 @@ The built-in catalog ships via `a2uiBasicCatalog`. Compose a custom catalog with
193
193
  />
194
194
  ```
195
195
 
196
- Without the font, the icon name falls back to plain text. Icons inherit `currentColor` and size via the `size` prop.
196
+ Without the font, the icon name falls back to plain text. Icons inherit `currentColor`; an inline `{ svgPath }` name renders a raw SVG path instead of a ligature.
197
197
 
198
198
  ### Streaming markdown
199
199
 
@@ -279,7 +279,7 @@ Use app tokens for app layout and `--tplane-chat-*` tokens at chat boundaries or
279
279
 
280
280
  Material presets map M3 color tokens to the `--a2ui-*` vocabulary with no `@angular/material` runtime dependency.
281
281
 
282
- **Agent-driven theming.** Agents control two knobs per the A2UI v1 wire format, set via `beginRendering.styles`: `font` (font family string) and `primaryColor` (hex `#RRGGBB`). These flow to `<a2ui-surface>` as inline styles and take precedence over `:root` defaults for that surface.
282
+ **Agent-driven theming.** Agents set the surface theme per the A2UI v0.9 wire format via `createSurface.theme`: `primaryColor` (hex `#RRGGBB`) flows to `<a2ui-surface>` as the inline `--a2ui-primary` custom property and takes precedence over `:root` defaults for that surface. (`theme.iconUrl` and `theme.agentDisplayName` identify the agent that owns the surface.)
283
283
 
284
284
  **Custom themes.** Override any token at `:root`:
285
285