@anam-ai/agent-widget 0.4.0-alpha.1 → 0.5.0-alpha.1

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
@@ -57,6 +57,7 @@ Configure the widget entirely via HTML attributes. All are optional except `agen
57
57
  | `ui-mute-button` | `true` \| `false` | `true` | Show microphone mute toggle. |
58
58
  | `ui-text-input` | `true` \| `false` | `true` | Show text message input. |
59
59
  | `ui-captions` | `true` \| `false` | `false` | Show conversation captions. |
60
+ | `ui-transcript` | `true` \| `false` | `true` | Show the expandable transcript pane during a call. |
60
61
  | `call-to-action` | string | `Talk to our assistant` | Text on the start button. |
61
62
  | `avatar-url` | string | — | Override avatar thumbnail image URL. |
62
63
  | `avatar-video-url` | string | — | Override avatar preview video URL. |
@@ -123,6 +124,8 @@ The widget dispatches custom DOM events on the `<anam-agent>` element:
123
124
  | `anam-agent:message-sent` | `{ content }` | Text message sent |
124
125
  | `anam-agent:expanded` | `{}` | Widget expanded from orb |
125
126
  | `anam-agent:collapsed` | `{}` | Widget collapsed to orb |
127
+ | `anam-agent:transcript-opened` | `{}` | Transcript pane opened |
128
+ | `anam-agent:transcript-closed` | `{}` | Transcript pane closed |
126
129
  | `anam-agent:error` | `{ code, message }` | Error occurred |
127
130
  | `anam-agent:mic-muted` | `{}` | Microphone muted |
128
131
  | `anam-agent:mic-unmuted` | `{}` | Microphone unmuted |