lua-cli 3.39.2 → 3.39.3
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/api-exports.d.ts +72 -72
- package/dist/api-exports.js +1 -0
- package/dist/api-exports.js.map +1 -1
- package/dist/index.js +32 -10
- package/dist/index.js.map +1 -1
- package/dist/voice/test/index.d.ts +72 -72
- package/dist/workflow-builder.js +1 -0
- package/dist/workflow-builder.js.map +1 -1
- package/package.json +3 -3
- package/template/package.json +1 -1
package/dist/api-exports.d.ts
CHANGED
|
@@ -4201,14 +4201,14 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4201
4201
|
*/
|
|
4202
4202
|
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4203
4203
|
}, "strip", z.ZodTypeAny, {
|
|
4204
|
+
voice?: string;
|
|
4204
4205
|
kind?: "inference";
|
|
4205
4206
|
options?: Record<string, unknown>;
|
|
4206
|
-
voice?: string;
|
|
4207
4207
|
model?: string;
|
|
4208
4208
|
}, {
|
|
4209
|
+
voice?: string;
|
|
4209
4210
|
kind?: "inference";
|
|
4210
4211
|
options?: Record<string, unknown>;
|
|
4211
|
-
voice?: string;
|
|
4212
4212
|
model?: string;
|
|
4213
4213
|
}>, z.ZodObject<{
|
|
4214
4214
|
kind: z.ZodLiteral<"plugin">;
|
|
@@ -4222,15 +4222,15 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4222
4222
|
*/
|
|
4223
4223
|
options: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4224
4224
|
}, "strip", z.ZodTypeAny, {
|
|
4225
|
+
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
4226
|
+
provider?: "deepgram" | "elevenlabs";
|
|
4225
4227
|
kind?: "plugin";
|
|
4226
4228
|
options?: Record<string, unknown>;
|
|
4227
|
-
provider?: "deepgram" | "elevenlabs";
|
|
4228
|
-
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
4229
4229
|
}, {
|
|
4230
|
+
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
4231
|
+
provider?: "deepgram" | "elevenlabs";
|
|
4230
4232
|
kind?: "plugin";
|
|
4231
4233
|
options?: Record<string, unknown>;
|
|
4232
|
-
provider?: "deepgram" | "elevenlabs";
|
|
4233
|
-
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
4234
4234
|
}>, z.ZodObject<{
|
|
4235
4235
|
kind: z.ZodLiteral<"realtime">;
|
|
4236
4236
|
provider: z.ZodEnum<["openai", "google", "xai"]>;
|
|
@@ -4242,13 +4242,13 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4242
4242
|
*/
|
|
4243
4243
|
options: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4244
4244
|
}, "strip", z.ZodTypeAny, {
|
|
4245
|
+
provider?: "google" | "xai" | "openai";
|
|
4245
4246
|
kind?: "realtime";
|
|
4246
4247
|
options?: Record<string, unknown>;
|
|
4247
|
-
provider?: "google" | "xai" | "openai";
|
|
4248
4248
|
}, {
|
|
4249
|
+
provider?: "google" | "xai" | "openai";
|
|
4249
4250
|
kind?: "realtime";
|
|
4250
4251
|
options?: Record<string, unknown>;
|
|
4251
|
-
provider?: "google" | "xai" | "openai";
|
|
4252
4252
|
}>]>;
|
|
4253
4253
|
stt: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
4254
4254
|
kind: z.ZodLiteral<"inference">;
|
|
@@ -4267,14 +4267,14 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4267
4267
|
*/
|
|
4268
4268
|
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4269
4269
|
}, "strip", z.ZodTypeAny, {
|
|
4270
|
+
voice?: string;
|
|
4270
4271
|
kind?: "inference";
|
|
4271
4272
|
options?: Record<string, unknown>;
|
|
4272
|
-
voice?: string;
|
|
4273
4273
|
model?: string;
|
|
4274
4274
|
}, {
|
|
4275
|
+
voice?: string;
|
|
4275
4276
|
kind?: "inference";
|
|
4276
4277
|
options?: Record<string, unknown>;
|
|
4277
|
-
voice?: string;
|
|
4278
4278
|
model?: string;
|
|
4279
4279
|
}>, z.ZodObject<{
|
|
4280
4280
|
kind: z.ZodLiteral<"plugin">;
|
|
@@ -4288,15 +4288,15 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4288
4288
|
*/
|
|
4289
4289
|
options: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4290
4290
|
}, "strip", z.ZodTypeAny, {
|
|
4291
|
+
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
4292
|
+
provider?: "deepgram" | "elevenlabs";
|
|
4291
4293
|
kind?: "plugin";
|
|
4292
4294
|
options?: Record<string, unknown>;
|
|
4293
|
-
provider?: "deepgram" | "elevenlabs";
|
|
4294
|
-
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
4295
4295
|
}, {
|
|
4296
|
+
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
4297
|
+
provider?: "deepgram" | "elevenlabs";
|
|
4296
4298
|
kind?: "plugin";
|
|
4297
4299
|
options?: Record<string, unknown>;
|
|
4298
|
-
provider?: "deepgram" | "elevenlabs";
|
|
4299
|
-
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
4300
4300
|
}>, z.ZodObject<{
|
|
4301
4301
|
kind: z.ZodLiteral<"realtime">;
|
|
4302
4302
|
provider: z.ZodEnum<["openai", "google", "xai"]>;
|
|
@@ -4308,13 +4308,13 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4308
4308
|
*/
|
|
4309
4309
|
options: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4310
4310
|
}, "strip", z.ZodTypeAny, {
|
|
4311
|
+
provider?: "google" | "xai" | "openai";
|
|
4311
4312
|
kind?: "realtime";
|
|
4312
4313
|
options?: Record<string, unknown>;
|
|
4313
|
-
provider?: "google" | "xai" | "openai";
|
|
4314
4314
|
}, {
|
|
4315
|
+
provider?: "google" | "xai" | "openai";
|
|
4315
4316
|
kind?: "realtime";
|
|
4316
4317
|
options?: Record<string, unknown>;
|
|
4317
|
-
provider?: "google" | "xai" | "openai";
|
|
4318
4318
|
}>]>>;
|
|
4319
4319
|
tts: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
4320
4320
|
kind: z.ZodLiteral<"inference">;
|
|
@@ -4333,14 +4333,14 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4333
4333
|
*/
|
|
4334
4334
|
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4335
4335
|
}, "strip", z.ZodTypeAny, {
|
|
4336
|
+
voice?: string;
|
|
4336
4337
|
kind?: "inference";
|
|
4337
4338
|
options?: Record<string, unknown>;
|
|
4338
|
-
voice?: string;
|
|
4339
4339
|
model?: string;
|
|
4340
4340
|
}, {
|
|
4341
|
+
voice?: string;
|
|
4341
4342
|
kind?: "inference";
|
|
4342
4343
|
options?: Record<string, unknown>;
|
|
4343
|
-
voice?: string;
|
|
4344
4344
|
model?: string;
|
|
4345
4345
|
}>, z.ZodObject<{
|
|
4346
4346
|
kind: z.ZodLiteral<"plugin">;
|
|
@@ -4354,15 +4354,15 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4354
4354
|
*/
|
|
4355
4355
|
options: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4356
4356
|
}, "strip", z.ZodTypeAny, {
|
|
4357
|
+
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
4358
|
+
provider?: "deepgram" | "elevenlabs";
|
|
4357
4359
|
kind?: "plugin";
|
|
4358
4360
|
options?: Record<string, unknown>;
|
|
4359
|
-
provider?: "deepgram" | "elevenlabs";
|
|
4360
|
-
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
4361
4361
|
}, {
|
|
4362
|
+
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
4363
|
+
provider?: "deepgram" | "elevenlabs";
|
|
4362
4364
|
kind?: "plugin";
|
|
4363
4365
|
options?: Record<string, unknown>;
|
|
4364
|
-
provider?: "deepgram" | "elevenlabs";
|
|
4365
|
-
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
4366
4366
|
}>, z.ZodObject<{
|
|
4367
4367
|
kind: z.ZodLiteral<"realtime">;
|
|
4368
4368
|
provider: z.ZodEnum<["openai", "google", "xai"]>;
|
|
@@ -4374,13 +4374,13 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4374
4374
|
*/
|
|
4375
4375
|
options: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4376
4376
|
}, "strip", z.ZodTypeAny, {
|
|
4377
|
+
provider?: "google" | "xai" | "openai";
|
|
4377
4378
|
kind?: "realtime";
|
|
4378
4379
|
options?: Record<string, unknown>;
|
|
4379
|
-
provider?: "google" | "xai" | "openai";
|
|
4380
4380
|
}, {
|
|
4381
|
+
provider?: "google" | "xai" | "openai";
|
|
4381
4382
|
kind?: "realtime";
|
|
4382
4383
|
options?: Record<string, unknown>;
|
|
4383
|
-
provider?: "google" | "xai" | "openai";
|
|
4384
4384
|
}>]>>;
|
|
4385
4385
|
vad: z.ZodOptional<z.ZodString>;
|
|
4386
4386
|
vadOptions: z.ZodOptional<z.ZodObject<{
|
|
@@ -4541,50 +4541,50 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4541
4541
|
name?: string;
|
|
4542
4542
|
vad?: string;
|
|
4543
4543
|
stt?: {
|
|
4544
|
+
voice?: string;
|
|
4544
4545
|
kind?: "inference";
|
|
4545
4546
|
options?: Record<string, unknown>;
|
|
4546
|
-
voice?: string;
|
|
4547
4547
|
model?: string;
|
|
4548
4548
|
} | {
|
|
4549
|
+
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
4550
|
+
provider?: "deepgram" | "elevenlabs";
|
|
4549
4551
|
kind?: "plugin";
|
|
4550
4552
|
options?: Record<string, unknown>;
|
|
4551
|
-
provider?: "deepgram" | "elevenlabs";
|
|
4552
|
-
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
4553
4553
|
} | {
|
|
4554
|
+
provider?: "google" | "xai" | "openai";
|
|
4554
4555
|
kind?: "realtime";
|
|
4555
4556
|
options?: Record<string, unknown>;
|
|
4556
|
-
provider?: "google" | "xai" | "openai";
|
|
4557
4557
|
};
|
|
4558
4558
|
volume?: number;
|
|
4559
4559
|
llm?: {
|
|
4560
|
+
voice?: string;
|
|
4560
4561
|
kind?: "inference";
|
|
4561
4562
|
options?: Record<string, unknown>;
|
|
4562
|
-
voice?: string;
|
|
4563
4563
|
model?: string;
|
|
4564
4564
|
} | {
|
|
4565
|
+
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
4566
|
+
provider?: "deepgram" | "elevenlabs";
|
|
4565
4567
|
kind?: "plugin";
|
|
4566
4568
|
options?: Record<string, unknown>;
|
|
4567
|
-
provider?: "deepgram" | "elevenlabs";
|
|
4568
|
-
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
4569
4569
|
} | {
|
|
4570
|
+
provider?: "google" | "xai" | "openai";
|
|
4570
4571
|
kind?: "realtime";
|
|
4571
4572
|
options?: Record<string, unknown>;
|
|
4572
|
-
provider?: "google" | "xai" | "openai";
|
|
4573
4573
|
};
|
|
4574
4574
|
tts?: {
|
|
4575
|
+
voice?: string;
|
|
4575
4576
|
kind?: "inference";
|
|
4576
4577
|
options?: Record<string, unknown>;
|
|
4577
|
-
voice?: string;
|
|
4578
4578
|
model?: string;
|
|
4579
4579
|
} | {
|
|
4580
|
+
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
4581
|
+
provider?: "deepgram" | "elevenlabs";
|
|
4580
4582
|
kind?: "plugin";
|
|
4581
4583
|
options?: Record<string, unknown>;
|
|
4582
|
-
provider?: "deepgram" | "elevenlabs";
|
|
4583
|
-
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
4584
4584
|
} | {
|
|
4585
|
+
provider?: "google" | "xai" | "openai";
|
|
4585
4586
|
kind?: "realtime";
|
|
4586
4587
|
options?: Record<string, unknown>;
|
|
4587
|
-
provider?: "google" | "xai" | "openai";
|
|
4588
4588
|
};
|
|
4589
4589
|
vadOptions?: {
|
|
4590
4590
|
minSpeechDuration?: number;
|
|
@@ -4635,50 +4635,50 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4635
4635
|
name?: string;
|
|
4636
4636
|
vad?: string;
|
|
4637
4637
|
stt?: {
|
|
4638
|
+
voice?: string;
|
|
4638
4639
|
kind?: "inference";
|
|
4639
4640
|
options?: Record<string, unknown>;
|
|
4640
|
-
voice?: string;
|
|
4641
4641
|
model?: string;
|
|
4642
4642
|
} | {
|
|
4643
|
+
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
4644
|
+
provider?: "deepgram" | "elevenlabs";
|
|
4643
4645
|
kind?: "plugin";
|
|
4644
4646
|
options?: Record<string, unknown>;
|
|
4645
|
-
provider?: "deepgram" | "elevenlabs";
|
|
4646
|
-
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
4647
4647
|
} | {
|
|
4648
|
+
provider?: "google" | "xai" | "openai";
|
|
4648
4649
|
kind?: "realtime";
|
|
4649
4650
|
options?: Record<string, unknown>;
|
|
4650
|
-
provider?: "google" | "xai" | "openai";
|
|
4651
4651
|
};
|
|
4652
4652
|
volume?: number;
|
|
4653
4653
|
llm?: {
|
|
4654
|
+
voice?: string;
|
|
4654
4655
|
kind?: "inference";
|
|
4655
4656
|
options?: Record<string, unknown>;
|
|
4656
|
-
voice?: string;
|
|
4657
4657
|
model?: string;
|
|
4658
4658
|
} | {
|
|
4659
|
+
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
4660
|
+
provider?: "deepgram" | "elevenlabs";
|
|
4659
4661
|
kind?: "plugin";
|
|
4660
4662
|
options?: Record<string, unknown>;
|
|
4661
|
-
provider?: "deepgram" | "elevenlabs";
|
|
4662
|
-
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
4663
4663
|
} | {
|
|
4664
|
+
provider?: "google" | "xai" | "openai";
|
|
4664
4665
|
kind?: "realtime";
|
|
4665
4666
|
options?: Record<string, unknown>;
|
|
4666
|
-
provider?: "google" | "xai" | "openai";
|
|
4667
4667
|
};
|
|
4668
4668
|
tts?: {
|
|
4669
|
+
voice?: string;
|
|
4669
4670
|
kind?: "inference";
|
|
4670
4671
|
options?: Record<string, unknown>;
|
|
4671
|
-
voice?: string;
|
|
4672
4672
|
model?: string;
|
|
4673
4673
|
} | {
|
|
4674
|
+
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
4675
|
+
provider?: "deepgram" | "elevenlabs";
|
|
4674
4676
|
kind?: "plugin";
|
|
4675
4677
|
options?: Record<string, unknown>;
|
|
4676
|
-
provider?: "deepgram" | "elevenlabs";
|
|
4677
|
-
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
4678
4678
|
} | {
|
|
4679
|
+
provider?: "google" | "xai" | "openai";
|
|
4679
4680
|
kind?: "realtime";
|
|
4680
4681
|
options?: Record<string, unknown>;
|
|
4681
|
-
provider?: "google" | "xai" | "openai";
|
|
4682
4682
|
};
|
|
4683
4683
|
vadOptions?: {
|
|
4684
4684
|
minSpeechDuration?: number;
|
|
@@ -4729,50 +4729,50 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4729
4729
|
name?: string;
|
|
4730
4730
|
vad?: string;
|
|
4731
4731
|
stt?: {
|
|
4732
|
+
voice?: string;
|
|
4732
4733
|
kind?: "inference";
|
|
4733
4734
|
options?: Record<string, unknown>;
|
|
4734
|
-
voice?: string;
|
|
4735
4735
|
model?: string;
|
|
4736
4736
|
} | {
|
|
4737
|
+
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
4738
|
+
provider?: "deepgram" | "elevenlabs";
|
|
4737
4739
|
kind?: "plugin";
|
|
4738
4740
|
options?: Record<string, unknown>;
|
|
4739
|
-
provider?: "deepgram" | "elevenlabs";
|
|
4740
|
-
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
4741
4741
|
} | {
|
|
4742
|
+
provider?: "google" | "xai" | "openai";
|
|
4742
4743
|
kind?: "realtime";
|
|
4743
4744
|
options?: Record<string, unknown>;
|
|
4744
|
-
provider?: "google" | "xai" | "openai";
|
|
4745
4745
|
};
|
|
4746
4746
|
volume?: number;
|
|
4747
4747
|
llm?: {
|
|
4748
|
+
voice?: string;
|
|
4748
4749
|
kind?: "inference";
|
|
4749
4750
|
options?: Record<string, unknown>;
|
|
4750
|
-
voice?: string;
|
|
4751
4751
|
model?: string;
|
|
4752
4752
|
} | {
|
|
4753
|
+
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
4754
|
+
provider?: "deepgram" | "elevenlabs";
|
|
4753
4755
|
kind?: "plugin";
|
|
4754
4756
|
options?: Record<string, unknown>;
|
|
4755
|
-
provider?: "deepgram" | "elevenlabs";
|
|
4756
|
-
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
4757
4757
|
} | {
|
|
4758
|
+
provider?: "google" | "xai" | "openai";
|
|
4758
4759
|
kind?: "realtime";
|
|
4759
4760
|
options?: Record<string, unknown>;
|
|
4760
|
-
provider?: "google" | "xai" | "openai";
|
|
4761
4761
|
};
|
|
4762
4762
|
tts?: {
|
|
4763
|
+
voice?: string;
|
|
4763
4764
|
kind?: "inference";
|
|
4764
4765
|
options?: Record<string, unknown>;
|
|
4765
|
-
voice?: string;
|
|
4766
4766
|
model?: string;
|
|
4767
4767
|
} | {
|
|
4768
|
+
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
4769
|
+
provider?: "deepgram" | "elevenlabs";
|
|
4768
4770
|
kind?: "plugin";
|
|
4769
4771
|
options?: Record<string, unknown>;
|
|
4770
|
-
provider?: "deepgram" | "elevenlabs";
|
|
4771
|
-
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
4772
4772
|
} | {
|
|
4773
|
+
provider?: "google" | "xai" | "openai";
|
|
4773
4774
|
kind?: "realtime";
|
|
4774
4775
|
options?: Record<string, unknown>;
|
|
4775
|
-
provider?: "google" | "xai" | "openai";
|
|
4776
4776
|
};
|
|
4777
4777
|
vadOptions?: {
|
|
4778
4778
|
minSpeechDuration?: number;
|
|
@@ -4823,50 +4823,50 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4823
4823
|
name?: string;
|
|
4824
4824
|
vad?: string;
|
|
4825
4825
|
stt?: {
|
|
4826
|
+
voice?: string;
|
|
4826
4827
|
kind?: "inference";
|
|
4827
4828
|
options?: Record<string, unknown>;
|
|
4828
|
-
voice?: string;
|
|
4829
4829
|
model?: string;
|
|
4830
4830
|
} | {
|
|
4831
|
+
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
4832
|
+
provider?: "deepgram" | "elevenlabs";
|
|
4831
4833
|
kind?: "plugin";
|
|
4832
4834
|
options?: Record<string, unknown>;
|
|
4833
|
-
provider?: "deepgram" | "elevenlabs";
|
|
4834
|
-
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
4835
4835
|
} | {
|
|
4836
|
+
provider?: "google" | "xai" | "openai";
|
|
4836
4837
|
kind?: "realtime";
|
|
4837
4838
|
options?: Record<string, unknown>;
|
|
4838
|
-
provider?: "google" | "xai" | "openai";
|
|
4839
4839
|
};
|
|
4840
4840
|
volume?: number;
|
|
4841
4841
|
llm?: {
|
|
4842
|
+
voice?: string;
|
|
4842
4843
|
kind?: "inference";
|
|
4843
4844
|
options?: Record<string, unknown>;
|
|
4844
|
-
voice?: string;
|
|
4845
4845
|
model?: string;
|
|
4846
4846
|
} | {
|
|
4847
|
+
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
4848
|
+
provider?: "deepgram" | "elevenlabs";
|
|
4847
4849
|
kind?: "plugin";
|
|
4848
4850
|
options?: Record<string, unknown>;
|
|
4849
|
-
provider?: "deepgram" | "elevenlabs";
|
|
4850
|
-
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
4851
4851
|
} | {
|
|
4852
|
+
provider?: "google" | "xai" | "openai";
|
|
4852
4853
|
kind?: "realtime";
|
|
4853
4854
|
options?: Record<string, unknown>;
|
|
4854
|
-
provider?: "google" | "xai" | "openai";
|
|
4855
4855
|
};
|
|
4856
4856
|
tts?: {
|
|
4857
|
+
voice?: string;
|
|
4857
4858
|
kind?: "inference";
|
|
4858
4859
|
options?: Record<string, unknown>;
|
|
4859
|
-
voice?: string;
|
|
4860
4860
|
model?: string;
|
|
4861
4861
|
} | {
|
|
4862
|
+
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
4863
|
+
provider?: "deepgram" | "elevenlabs";
|
|
4862
4864
|
kind?: "plugin";
|
|
4863
4865
|
options?: Record<string, unknown>;
|
|
4864
|
-
provider?: "deepgram" | "elevenlabs";
|
|
4865
|
-
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
4866
4866
|
} | {
|
|
4867
|
+
provider?: "google" | "xai" | "openai";
|
|
4867
4868
|
kind?: "realtime";
|
|
4868
4869
|
options?: Record<string, unknown>;
|
|
4869
|
-
provider?: "google" | "xai" | "openai";
|
|
4870
4870
|
};
|
|
4871
4871
|
vadOptions?: {
|
|
4872
4872
|
minSpeechDuration?: number;
|
package/dist/api-exports.js
CHANGED
|
@@ -764,6 +764,7 @@ function utf8Bytes(value3) {
|
|
|
764
764
|
}
|
|
765
765
|
function isPlainFieldKey(key) {
|
|
766
766
|
if (!LOG_FIELD_KEY_PATTERN.test(key)) return false;
|
|
767
|
+
if (key === LOG_FIELDS_CLAMPED_KEY) return false;
|
|
767
768
|
return !LOG_FIELD_SECRET_SHAPED_KEY_PATTERNS.some((pattern) => pattern.test(key));
|
|
768
769
|
}
|
|
769
770
|
function describeAgentLogFieldsViolation(value3) {
|