@vellumai/plugin-api 0.11.5-dev.202608251431.7cda5a9 → 0.11.5-dev.202608251519.0054ebb
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/index.d.ts +17 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -5087,6 +5087,23 @@ declare interface LiveVoiceReadyServerFrame extends LiveVoiceServerFrameBase {
|
|
|
5087
5087
|
* (older daemons) means "manual".
|
|
5088
5088
|
*/
|
|
5089
5089
|
readonly turnDetection?: LiveVoiceTurnDetectionMode;
|
|
5090
|
+
/**
|
|
5091
|
+
* Whether this daemon will accept `text` frames on the session. Absent
|
|
5092
|
+
* (older daemons) means no, which is what lets a client that asked for
|
|
5093
|
+
* `textInput` fall back rather than type into a socket that would answer
|
|
5094
|
+
* every typed turn with an `unknown_type` error.
|
|
5095
|
+
*/
|
|
5096
|
+
readonly textInput?: boolean;
|
|
5097
|
+
/**
|
|
5098
|
+
* Whether the session's speech-to-text leg is live. Absent means yes, which
|
|
5099
|
+
* is the only thing an older daemon can have meant: it rejects a session it
|
|
5100
|
+
* cannot transcribe, so every session it readies can hear.
|
|
5101
|
+
*
|
|
5102
|
+
* False is reachable only for a client that declared `textInput`, and tells
|
|
5103
|
+
* it to present the session as typed rather than draw a microphone that
|
|
5104
|
+
* will never hear anything.
|
|
5105
|
+
*/
|
|
5106
|
+
readonly audioInput?: boolean;
|
|
5090
5107
|
}
|
|
5091
5108
|
|
|
5092
5109
|
export declare type LiveVoiceServerFrame = LiveVoiceReadyServerFrame | LiveVoiceBusyServerFrame | LiveVoiceSpeechStartedServerFrame | LiveVoiceUtteranceEndServerFrame | LiveVoiceUtteranceDiscardedServerFrame | LiveVoiceSttPartialServerFrame | LiveVoiceSttFinalServerFrame | LiveVoiceThinkingServerFrame | LiveVoiceActivityServerFrame | LiveVoiceAssistantTextDeltaServerFrame | LiveVoiceTtsAudioServerFrame | LiveVoiceTtsDoneServerFrame | LiveVoiceTurnCancelledServerFrame | LiveVoiceMinimizeRoomServerFrame | LiveVoiceMetricsServerFrame | LiveVoiceArchivedServerFrame | LiveVoiceErrorServerFrame;
|
package/package.json
CHANGED