@hamsa-ai/voice-agents-sdk 0.6.0-beta.4 → 0.6.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 +5 -4
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/types/classes/livekit-tool-registry.d.ts +32 -9
package/README.md
CHANGED
|
@@ -141,10 +141,11 @@ agent.end();
|
|
|
141
141
|
| `end()` | End the chat session. |
|
|
142
142
|
|
|
143
143
|
> **Note:** Use `chatMessageReceived` for chat UIs — it is dedicated to chat and
|
|
144
|
-
> deterministic.
|
|
145
|
-
>
|
|
146
|
-
> chat
|
|
147
|
-
>
|
|
144
|
+
> deterministic. It surfaces the agent's text in chat-only sessions regardless of
|
|
145
|
+
> the underlying delivery channel. The generic `messageReceived` event also fires
|
|
146
|
+
> for chat, but it is dual-sourced (it additionally fires for voice
|
|
147
|
+
> transcriptions), so prefer `chatMessageReceived`. In a chat-only session the
|
|
148
|
+
> voice events (`answerReceived`, `transcriptionReceived`) and audio events do not fire.
|
|
148
149
|
|
|
149
150
|
## Advanced Audio Controls
|
|
150
151
|
|