@streamoji/aitwin 0.2.7 → 0.2.9
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 +4 -2
- package/dist/aitwin.js +1466 -1309
- package/dist/index.d.ts +4 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -79,6 +79,8 @@ export declare type AiTwinRecord = {
|
|
|
79
79
|
faceId: string;
|
|
80
80
|
ttsEngineId: TtsEngineId;
|
|
81
81
|
voiceId?: string;
|
|
82
|
+
/** Bearer JWT for TTS / voice WebSocket (same as `getAuthToken`). */
|
|
83
|
+
authToken?: string;
|
|
82
84
|
/** When set, passed as `personaId` on voice WebSocket connect. */
|
|
83
85
|
knowledgeContextId?: string;
|
|
84
86
|
gender?: string;
|
|
@@ -151,10 +153,10 @@ export declare function normalizeOculusViseme(symbol: string | null | undefined)
|
|
|
151
153
|
/** Oculus viseme ids for Talking Lady stills and pair transitions (15 standard). */
|
|
152
154
|
export declare const OCULUS_VISEME_IDS: readonly ["aa", "CH", "DD", "E", "FF", "I", "O", "PP", "RR", "SS", "TH", "U", "kk", "nn", "sil"];
|
|
153
155
|
|
|
154
|
-
export declare const PLAYBACK_SAMPLE_RATE =
|
|
156
|
+
export declare const PLAYBACK_SAMPLE_RATE = 16000;
|
|
155
157
|
|
|
156
158
|
export declare type RealtimeLipsyncDebugSnapshot = {
|
|
157
|
-
event: "metadata" | "audio_chunk" | "lipsync" | "bot_started" | "bot_stopped" | "user_started" | "reset";
|
|
159
|
+
event: "metadata" | "audio_chunk" | "lipsync" | "bot_started" | "bot_stopped" | "user_started" | "interrupt" | "reset";
|
|
158
160
|
spokenText: string;
|
|
159
161
|
mood: string;
|
|
160
162
|
/** performance.now() anchor — elapsed = performance.now() - playbackAnchorPerf */
|