@streamoji/aitwin 0.5.6 → 0.5.8
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/dist/aitwin.cjs +6 -6
- package/dist/aitwin.js +2391 -2258
- package/dist/index.d.ts +12 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -209,6 +209,11 @@ export declare type AiTwinWidgetProps = {
|
|
|
209
209
|
* When omitted, uses getAiTwin `knowledgeContextId` if available.
|
|
210
210
|
*/
|
|
211
211
|
personaId?: string;
|
|
212
|
+
/**
|
|
213
|
+
* Optional poster shown (blurred) behind the face-loading overlay
|
|
214
|
+
* while sil/atlas/idle assets load.
|
|
215
|
+
*/
|
|
216
|
+
loadingThumbnailUrl?: string;
|
|
212
217
|
onReady?: () => void;
|
|
213
218
|
onStatusChange?: (status: AvatarTtsLipsyncStatus) => void;
|
|
214
219
|
onError?: (message: string) => void;
|
|
@@ -546,6 +551,13 @@ export declare type VoiceConnectOptions = {
|
|
|
546
551
|
speakingRate?: number;
|
|
547
552
|
/** Default true — server streams TTS + avatar messages. */
|
|
548
553
|
ttsStream?: boolean;
|
|
554
|
+
/**
|
|
555
|
+
* Recall meetings only: listen and store transcript until someone says `avatarName`,
|
|
556
|
+
* then reply once. Do not set for widget / normal twin Start Talk.
|
|
557
|
+
*/
|
|
558
|
+
speakOnlyWhenSpokenTo?: boolean;
|
|
559
|
+
/** Wake name used with `speakOnlyWhenSpokenTo` (e.g. twin.agentName). */
|
|
560
|
+
avatarName?: string;
|
|
549
561
|
/** HTTP API base; default `https://ai.aitwin.me`. */
|
|
550
562
|
apiBase?: string;
|
|
551
563
|
/** Full WebSocket URL override. Query params must be included. */
|