@mycadet/plugin-api 0.12.11 → 0.13.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/index.d.ts +1 -17
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1309,7 +1309,6 @@ declare const AssistantConfigSchema: z.ZodObject<{
|
|
|
1309
1309
|
}, z.core.$strip>>;
|
|
1310
1310
|
stt: z.ZodDefault<z.ZodObject<{
|
|
1311
1311
|
provider: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodEnum<{
|
|
1312
|
-
cadet: "cadet";
|
|
1313
1312
|
"openai-whisper": "openai-whisper";
|
|
1314
1313
|
deepgram: "deepgram";
|
|
1315
1314
|
"google-gemini": "google-gemini";
|
|
@@ -1325,7 +1324,6 @@ declare const AssistantConfigSchema: z.ZodObject<{
|
|
|
1325
1324
|
batch: "batch";
|
|
1326
1325
|
}> & z.core.$partial, z.ZodObject<{
|
|
1327
1326
|
provider: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodEnum<{
|
|
1328
|
-
cadet: "cadet";
|
|
1329
1327
|
"openai-whisper": "openai-whisper";
|
|
1330
1328
|
deepgram: "deepgram";
|
|
1331
1329
|
"google-gemini": "google-gemini";
|
|
@@ -1336,7 +1334,6 @@ declare const AssistantConfigSchema: z.ZodObject<{
|
|
|
1336
1334
|
}, z.core.$strip>>;
|
|
1337
1335
|
tts: z.ZodDefault<z.ZodObject<{
|
|
1338
1336
|
provider: z.ZodDefault<z.ZodEnum<{
|
|
1339
|
-
cadet: "cadet";
|
|
1340
1337
|
deepgram: "deepgram";
|
|
1341
1338
|
xai: "xai";
|
|
1342
1339
|
elevenlabs: "elevenlabs";
|
|
@@ -1389,12 +1386,6 @@ declare const AssistantConfigSchema: z.ZodObject<{
|
|
|
1389
1386
|
sampleRate: z.ZodDefault<z.ZodNumber>;
|
|
1390
1387
|
bitRate: z.ZodDefault<z.ZodNumber>;
|
|
1391
1388
|
}, z.core.$strip>>;
|
|
1392
|
-
cadet: z.ZodDefault<z.ZodObject<{
|
|
1393
|
-
model: z.ZodOptional<z.ZodString>;
|
|
1394
|
-
languageVoices: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodString>, z.ZodTransform<{
|
|
1395
|
-
[k: string]: string;
|
|
1396
|
-
}, Record<string, string>>>, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
1397
|
-
}, z.core.$strip>>;
|
|
1398
1389
|
}, z.core.$strip>>;
|
|
1399
1390
|
}, z.core.$strip>>;
|
|
1400
1391
|
"google-oauth": z.ZodDefault<z.ZodObject<{
|
|
@@ -23525,14 +23516,7 @@ export declare type SttProviderId = "openai-whisper" | "deepgram"
|
|
|
23525
23516
|
* Deepgram's Flux conversational speech model. Shares the `deepgram`
|
|
23526
23517
|
* credential and is streaming-only: Flux has no batch endpoint.
|
|
23527
23518
|
*/
|
|
23528
|
-
| "deepgram-flux" | "google-gemini" | "xai"
|
|
23529
|
-
/**
|
|
23530
|
-
* Cloud Flux: the same conversational model as `deepgram-flux`, reached
|
|
23531
|
-
* through the cloud's speech relay instead of a Deepgram key. Dials the
|
|
23532
|
-
* relay's STT v2 endpoint asking for native Flux frames, so it keeps the
|
|
23533
|
-
* turn events the relay's default v1-shaped translation drops.
|
|
23534
|
-
*/
|
|
23535
|
-
| "cadet-flux";
|
|
23519
|
+
| "deepgram-flux" | "google-gemini" | "xai";
|
|
23536
23520
|
|
|
23537
23521
|
/** The streaming session has closed (no more events will be emitted). */
|
|
23538
23522
|
export declare interface SttStreamServerClosedEvent {
|