@skippr/live-agent-sdk 0.27.0 → 0.28.0

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
@@ -7,7 +7,7 @@ Embed an autonomous product specialist that sees, speaks, and acts in real time
7
7
  ## Key Features
8
8
 
9
9
  - **Real-time voice** — two-way audio with live transcription
10
- - **Screen sharing** — user shares their screen so the agent can see and guide
10
+ - **Capture modes** — `screenshare` (user shares screen) or `auto` (DOM capture)
11
11
  - **Chat + transcript** — text messaging with voice transcripts merged into one thread
12
12
  - **Session agenda** — structured phases with progress tracking
13
13
  - **Flexible auth** — email OTP (direct auth) or backend-signed JWT (secret mode)
@@ -193,6 +193,7 @@ Self-contained widget component. Renders a floating button that opens a sidebar
193
193
  | `welcomeMessage` | `string` | — | Message shown on the minimized bubble |
194
194
  | `startSessionLabel` | `string` | `'Talk to Skippr'` | Label for the start-session button |
195
195
  | `autoFocusChat` | `boolean` | `true` | Whether the chat input auto-focuses when opened |
196
+ | `captureMode` | `'screenshare' \| 'auto'` | `'screenshare'` | How the agent sees the page - `'screenshare'` prompts the user to share, `'auto'` uses DOM capture (no permission prompt) |
196
197
  | `showAgentStateBanner` | `boolean` | `true` | Whether to show the top-pinned status banner (talking / thinking / listening / observing) while connected |
197
198
 
198
199
  ### `useLiveAgent()`