lua-cli 3.46.0 → 3.48.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/dist/api-exports.d.ts +397 -76
- package/dist/api-exports.js +2932 -1464
- package/dist/api-exports.js.map +1 -1
- package/dist/index.js +4842 -2513
- package/dist/index.js.map +1 -1
- package/dist/voice/test/index.d.ts +72 -72
- package/dist/workflow-builder.js +2380 -1361
- package/dist/workflow-builder.js.map +1 -1
- package/docs/CLI_REFERENCE.md +78 -1
- package/docs/README.md +4 -4
- package/docs/api/Decisions.md +276 -0
- package/docs/api/Jobs.md +16 -0
- package/docs/api/LuaDecision.md +121 -0
- package/docs/api/User.md +53 -2
- package/docs/api/Workflows.md +12 -0
- package/docs/workflows/schedules.md +1 -1
- package/package.json +1 -1
- package/template/package.json +1 -1
|
@@ -234,15 +234,15 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
234
234
|
*/
|
|
235
235
|
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
236
236
|
}, "strip", z.ZodTypeAny, {
|
|
237
|
-
kind: "inference";
|
|
238
237
|
model: string;
|
|
239
|
-
|
|
238
|
+
kind: "inference";
|
|
240
239
|
voice?: string | undefined;
|
|
240
|
+
options?: Record<string, unknown> | undefined;
|
|
241
241
|
}, {
|
|
242
|
-
kind: "inference";
|
|
243
242
|
model: string;
|
|
244
|
-
|
|
243
|
+
kind: "inference";
|
|
245
244
|
voice?: string | undefined;
|
|
245
|
+
options?: Record<string, unknown> | undefined;
|
|
246
246
|
}>, z.ZodObject<{
|
|
247
247
|
kind: z.ZodLiteral<"plugin">;
|
|
248
248
|
provider: z.ZodEnum<["deepgram", "elevenlabs"]>;
|
|
@@ -255,14 +255,14 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
255
255
|
*/
|
|
256
256
|
options: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
257
257
|
}, "strip", z.ZodTypeAny, {
|
|
258
|
-
kind: "plugin";
|
|
259
258
|
options: Record<string, unknown>;
|
|
260
259
|
provider: "deepgram" | "elevenlabs";
|
|
260
|
+
kind: "plugin";
|
|
261
261
|
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
262
262
|
}, {
|
|
263
|
-
kind: "plugin";
|
|
264
263
|
options: Record<string, unknown>;
|
|
265
264
|
provider: "deepgram" | "elevenlabs";
|
|
265
|
+
kind: "plugin";
|
|
266
266
|
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
267
267
|
}>, z.ZodObject<{
|
|
268
268
|
kind: z.ZodLiteral<"realtime">;
|
|
@@ -275,13 +275,13 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
275
275
|
*/
|
|
276
276
|
options: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
277
277
|
}, "strip", z.ZodTypeAny, {
|
|
278
|
-
kind: "realtime";
|
|
279
278
|
options: Record<string, unknown>;
|
|
280
279
|
provider: "openai" | "google" | "xai";
|
|
281
|
-
}, {
|
|
282
280
|
kind: "realtime";
|
|
281
|
+
}, {
|
|
283
282
|
options: Record<string, unknown>;
|
|
284
283
|
provider: "openai" | "google" | "xai";
|
|
284
|
+
kind: "realtime";
|
|
285
285
|
}>]>;
|
|
286
286
|
stt: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
287
287
|
kind: z.ZodLiteral<"inference">;
|
|
@@ -300,15 +300,15 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
300
300
|
*/
|
|
301
301
|
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
302
302
|
}, "strip", z.ZodTypeAny, {
|
|
303
|
-
kind: "inference";
|
|
304
303
|
model: string;
|
|
305
|
-
|
|
304
|
+
kind: "inference";
|
|
306
305
|
voice?: string | undefined;
|
|
306
|
+
options?: Record<string, unknown> | undefined;
|
|
307
307
|
}, {
|
|
308
|
-
kind: "inference";
|
|
309
308
|
model: string;
|
|
310
|
-
|
|
309
|
+
kind: "inference";
|
|
311
310
|
voice?: string | undefined;
|
|
311
|
+
options?: Record<string, unknown> | undefined;
|
|
312
312
|
}>, z.ZodObject<{
|
|
313
313
|
kind: z.ZodLiteral<"plugin">;
|
|
314
314
|
provider: z.ZodEnum<["deepgram", "elevenlabs"]>;
|
|
@@ -321,14 +321,14 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
321
321
|
*/
|
|
322
322
|
options: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
323
323
|
}, "strip", z.ZodTypeAny, {
|
|
324
|
-
kind: "plugin";
|
|
325
324
|
options: Record<string, unknown>;
|
|
326
325
|
provider: "deepgram" | "elevenlabs";
|
|
326
|
+
kind: "plugin";
|
|
327
327
|
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
328
328
|
}, {
|
|
329
|
-
kind: "plugin";
|
|
330
329
|
options: Record<string, unknown>;
|
|
331
330
|
provider: "deepgram" | "elevenlabs";
|
|
331
|
+
kind: "plugin";
|
|
332
332
|
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
333
333
|
}>, z.ZodObject<{
|
|
334
334
|
kind: z.ZodLiteral<"realtime">;
|
|
@@ -341,13 +341,13 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
341
341
|
*/
|
|
342
342
|
options: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
343
343
|
}, "strip", z.ZodTypeAny, {
|
|
344
|
-
kind: "realtime";
|
|
345
344
|
options: Record<string, unknown>;
|
|
346
345
|
provider: "openai" | "google" | "xai";
|
|
347
|
-
}, {
|
|
348
346
|
kind: "realtime";
|
|
347
|
+
}, {
|
|
349
348
|
options: Record<string, unknown>;
|
|
350
349
|
provider: "openai" | "google" | "xai";
|
|
350
|
+
kind: "realtime";
|
|
351
351
|
}>]>>;
|
|
352
352
|
tts: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
353
353
|
kind: z.ZodLiteral<"inference">;
|
|
@@ -366,15 +366,15 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
366
366
|
*/
|
|
367
367
|
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
368
368
|
}, "strip", z.ZodTypeAny, {
|
|
369
|
-
kind: "inference";
|
|
370
369
|
model: string;
|
|
371
|
-
|
|
370
|
+
kind: "inference";
|
|
372
371
|
voice?: string | undefined;
|
|
372
|
+
options?: Record<string, unknown> | undefined;
|
|
373
373
|
}, {
|
|
374
|
-
kind: "inference";
|
|
375
374
|
model: string;
|
|
376
|
-
|
|
375
|
+
kind: "inference";
|
|
377
376
|
voice?: string | undefined;
|
|
377
|
+
options?: Record<string, unknown> | undefined;
|
|
378
378
|
}>, z.ZodObject<{
|
|
379
379
|
kind: z.ZodLiteral<"plugin">;
|
|
380
380
|
provider: z.ZodEnum<["deepgram", "elevenlabs"]>;
|
|
@@ -387,14 +387,14 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
387
387
|
*/
|
|
388
388
|
options: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
389
389
|
}, "strip", z.ZodTypeAny, {
|
|
390
|
-
kind: "plugin";
|
|
391
390
|
options: Record<string, unknown>;
|
|
392
391
|
provider: "deepgram" | "elevenlabs";
|
|
392
|
+
kind: "plugin";
|
|
393
393
|
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
394
394
|
}, {
|
|
395
|
-
kind: "plugin";
|
|
396
395
|
options: Record<string, unknown>;
|
|
397
396
|
provider: "deepgram" | "elevenlabs";
|
|
397
|
+
kind: "plugin";
|
|
398
398
|
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
399
399
|
}>, z.ZodObject<{
|
|
400
400
|
kind: z.ZodLiteral<"realtime">;
|
|
@@ -407,13 +407,13 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
407
407
|
*/
|
|
408
408
|
options: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
409
409
|
}, "strip", z.ZodTypeAny, {
|
|
410
|
-
kind: "realtime";
|
|
411
410
|
options: Record<string, unknown>;
|
|
412
411
|
provider: "openai" | "google" | "xai";
|
|
413
|
-
}, {
|
|
414
412
|
kind: "realtime";
|
|
413
|
+
}, {
|
|
415
414
|
options: Record<string, unknown>;
|
|
416
415
|
provider: "openai" | "google" | "xai";
|
|
416
|
+
kind: "realtime";
|
|
417
417
|
}>]>>;
|
|
418
418
|
vad: z.ZodOptional<z.ZodString>;
|
|
419
419
|
vadOptions: z.ZodOptional<z.ZodObject<{
|
|
@@ -572,52 +572,52 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
572
572
|
excludeTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
573
573
|
}, "strip", z.ZodTypeAny, {
|
|
574
574
|
llm: {
|
|
575
|
-
kind: "inference";
|
|
576
575
|
model: string;
|
|
577
|
-
|
|
576
|
+
kind: "inference";
|
|
578
577
|
voice?: string | undefined;
|
|
578
|
+
options?: Record<string, unknown> | undefined;
|
|
579
579
|
} | {
|
|
580
|
-
kind: "plugin";
|
|
581
580
|
options: Record<string, unknown>;
|
|
582
581
|
provider: "deepgram" | "elevenlabs";
|
|
582
|
+
kind: "plugin";
|
|
583
583
|
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
584
584
|
} | {
|
|
585
|
-
kind: "realtime";
|
|
586
585
|
options: Record<string, unknown>;
|
|
587
586
|
provider: "openai" | "google" | "xai";
|
|
587
|
+
kind: "realtime";
|
|
588
588
|
};
|
|
589
589
|
name?: string | undefined;
|
|
590
590
|
vad?: string | undefined;
|
|
591
591
|
stt?: {
|
|
592
|
-
kind: "inference";
|
|
593
592
|
model: string;
|
|
594
|
-
|
|
593
|
+
kind: "inference";
|
|
595
594
|
voice?: string | undefined;
|
|
595
|
+
options?: Record<string, unknown> | undefined;
|
|
596
596
|
} | {
|
|
597
|
-
kind: "plugin";
|
|
598
597
|
options: Record<string, unknown>;
|
|
599
598
|
provider: "deepgram" | "elevenlabs";
|
|
599
|
+
kind: "plugin";
|
|
600
600
|
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
601
601
|
} | {
|
|
602
|
-
kind: "realtime";
|
|
603
602
|
options: Record<string, unknown>;
|
|
604
603
|
provider: "openai" | "google" | "xai";
|
|
604
|
+
kind: "realtime";
|
|
605
605
|
} | undefined;
|
|
606
606
|
volume?: number | undefined;
|
|
607
607
|
tts?: {
|
|
608
|
-
kind: "inference";
|
|
609
608
|
model: string;
|
|
610
|
-
|
|
609
|
+
kind: "inference";
|
|
611
610
|
voice?: string | undefined;
|
|
611
|
+
options?: Record<string, unknown> | undefined;
|
|
612
612
|
} | {
|
|
613
|
-
kind: "plugin";
|
|
614
613
|
options: Record<string, unknown>;
|
|
615
614
|
provider: "deepgram" | "elevenlabs";
|
|
615
|
+
kind: "plugin";
|
|
616
616
|
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
617
617
|
} | {
|
|
618
|
-
kind: "realtime";
|
|
619
618
|
options: Record<string, unknown>;
|
|
620
619
|
provider: "openai" | "google" | "xai";
|
|
620
|
+
kind: "realtime";
|
|
621
621
|
} | undefined;
|
|
622
622
|
vadOptions?: {
|
|
623
623
|
minSpeechDuration?: number | undefined;
|
|
@@ -666,52 +666,52 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
666
666
|
excludeTools?: string[] | undefined;
|
|
667
667
|
}, {
|
|
668
668
|
llm: {
|
|
669
|
-
kind: "inference";
|
|
670
669
|
model: string;
|
|
671
|
-
|
|
670
|
+
kind: "inference";
|
|
672
671
|
voice?: string | undefined;
|
|
672
|
+
options?: Record<string, unknown> | undefined;
|
|
673
673
|
} | {
|
|
674
|
-
kind: "plugin";
|
|
675
674
|
options: Record<string, unknown>;
|
|
676
675
|
provider: "deepgram" | "elevenlabs";
|
|
676
|
+
kind: "plugin";
|
|
677
677
|
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
678
678
|
} | {
|
|
679
|
-
kind: "realtime";
|
|
680
679
|
options: Record<string, unknown>;
|
|
681
680
|
provider: "openai" | "google" | "xai";
|
|
681
|
+
kind: "realtime";
|
|
682
682
|
};
|
|
683
683
|
name?: string | undefined;
|
|
684
684
|
vad?: string | undefined;
|
|
685
685
|
stt?: {
|
|
686
|
-
kind: "inference";
|
|
687
686
|
model: string;
|
|
688
|
-
|
|
687
|
+
kind: "inference";
|
|
689
688
|
voice?: string | undefined;
|
|
689
|
+
options?: Record<string, unknown> | undefined;
|
|
690
690
|
} | {
|
|
691
|
-
kind: "plugin";
|
|
692
691
|
options: Record<string, unknown>;
|
|
693
692
|
provider: "deepgram" | "elevenlabs";
|
|
693
|
+
kind: "plugin";
|
|
694
694
|
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
695
695
|
} | {
|
|
696
|
-
kind: "realtime";
|
|
697
696
|
options: Record<string, unknown>;
|
|
698
697
|
provider: "openai" | "google" | "xai";
|
|
698
|
+
kind: "realtime";
|
|
699
699
|
} | undefined;
|
|
700
700
|
volume?: number | undefined;
|
|
701
701
|
tts?: {
|
|
702
|
-
kind: "inference";
|
|
703
702
|
model: string;
|
|
704
|
-
|
|
703
|
+
kind: "inference";
|
|
705
704
|
voice?: string | undefined;
|
|
705
|
+
options?: Record<string, unknown> | undefined;
|
|
706
706
|
} | {
|
|
707
|
-
kind: "plugin";
|
|
708
707
|
options: Record<string, unknown>;
|
|
709
708
|
provider: "deepgram" | "elevenlabs";
|
|
709
|
+
kind: "plugin";
|
|
710
710
|
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
711
711
|
} | {
|
|
712
|
-
kind: "realtime";
|
|
713
712
|
options: Record<string, unknown>;
|
|
714
713
|
provider: "openai" | "google" | "xai";
|
|
714
|
+
kind: "realtime";
|
|
715
715
|
} | undefined;
|
|
716
716
|
vadOptions?: {
|
|
717
717
|
minSpeechDuration?: number | undefined;
|
|
@@ -760,52 +760,52 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
760
760
|
excludeTools?: string[] | undefined;
|
|
761
761
|
}>, {
|
|
762
762
|
llm: {
|
|
763
|
-
kind: "inference";
|
|
764
763
|
model: string;
|
|
765
|
-
|
|
764
|
+
kind: "inference";
|
|
766
765
|
voice?: string | undefined;
|
|
766
|
+
options?: Record<string, unknown> | undefined;
|
|
767
767
|
} | {
|
|
768
|
-
kind: "plugin";
|
|
769
768
|
options: Record<string, unknown>;
|
|
770
769
|
provider: "deepgram" | "elevenlabs";
|
|
770
|
+
kind: "plugin";
|
|
771
771
|
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
772
772
|
} | {
|
|
773
|
-
kind: "realtime";
|
|
774
773
|
options: Record<string, unknown>;
|
|
775
774
|
provider: "openai" | "google" | "xai";
|
|
775
|
+
kind: "realtime";
|
|
776
776
|
};
|
|
777
777
|
name?: string | undefined;
|
|
778
778
|
vad?: string | undefined;
|
|
779
779
|
stt?: {
|
|
780
|
-
kind: "inference";
|
|
781
780
|
model: string;
|
|
782
|
-
|
|
781
|
+
kind: "inference";
|
|
783
782
|
voice?: string | undefined;
|
|
783
|
+
options?: Record<string, unknown> | undefined;
|
|
784
784
|
} | {
|
|
785
|
-
kind: "plugin";
|
|
786
785
|
options: Record<string, unknown>;
|
|
787
786
|
provider: "deepgram" | "elevenlabs";
|
|
787
|
+
kind: "plugin";
|
|
788
788
|
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
789
789
|
} | {
|
|
790
|
-
kind: "realtime";
|
|
791
790
|
options: Record<string, unknown>;
|
|
792
791
|
provider: "openai" | "google" | "xai";
|
|
792
|
+
kind: "realtime";
|
|
793
793
|
} | undefined;
|
|
794
794
|
volume?: number | undefined;
|
|
795
795
|
tts?: {
|
|
796
|
-
kind: "inference";
|
|
797
796
|
model: string;
|
|
798
|
-
|
|
797
|
+
kind: "inference";
|
|
799
798
|
voice?: string | undefined;
|
|
799
|
+
options?: Record<string, unknown> | undefined;
|
|
800
800
|
} | {
|
|
801
|
-
kind: "plugin";
|
|
802
801
|
options: Record<string, unknown>;
|
|
803
802
|
provider: "deepgram" | "elevenlabs";
|
|
803
|
+
kind: "plugin";
|
|
804
804
|
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
805
805
|
} | {
|
|
806
|
-
kind: "realtime";
|
|
807
806
|
options: Record<string, unknown>;
|
|
808
807
|
provider: "openai" | "google" | "xai";
|
|
808
|
+
kind: "realtime";
|
|
809
809
|
} | undefined;
|
|
810
810
|
vadOptions?: {
|
|
811
811
|
minSpeechDuration?: number | undefined;
|
|
@@ -854,52 +854,52 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
854
854
|
excludeTools?: string[] | undefined;
|
|
855
855
|
}, {
|
|
856
856
|
llm: {
|
|
857
|
-
kind: "inference";
|
|
858
857
|
model: string;
|
|
859
|
-
|
|
858
|
+
kind: "inference";
|
|
860
859
|
voice?: string | undefined;
|
|
860
|
+
options?: Record<string, unknown> | undefined;
|
|
861
861
|
} | {
|
|
862
|
-
kind: "plugin";
|
|
863
862
|
options: Record<string, unknown>;
|
|
864
863
|
provider: "deepgram" | "elevenlabs";
|
|
864
|
+
kind: "plugin";
|
|
865
865
|
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
866
866
|
} | {
|
|
867
|
-
kind: "realtime";
|
|
868
867
|
options: Record<string, unknown>;
|
|
869
868
|
provider: "openai" | "google" | "xai";
|
|
869
|
+
kind: "realtime";
|
|
870
870
|
};
|
|
871
871
|
name?: string | undefined;
|
|
872
872
|
vad?: string | undefined;
|
|
873
873
|
stt?: {
|
|
874
|
-
kind: "inference";
|
|
875
874
|
model: string;
|
|
876
|
-
|
|
875
|
+
kind: "inference";
|
|
877
876
|
voice?: string | undefined;
|
|
877
|
+
options?: Record<string, unknown> | undefined;
|
|
878
878
|
} | {
|
|
879
|
-
kind: "plugin";
|
|
880
879
|
options: Record<string, unknown>;
|
|
881
880
|
provider: "deepgram" | "elevenlabs";
|
|
881
|
+
kind: "plugin";
|
|
882
882
|
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
883
883
|
} | {
|
|
884
|
-
kind: "realtime";
|
|
885
884
|
options: Record<string, unknown>;
|
|
886
885
|
provider: "openai" | "google" | "xai";
|
|
886
|
+
kind: "realtime";
|
|
887
887
|
} | undefined;
|
|
888
888
|
volume?: number | undefined;
|
|
889
889
|
tts?: {
|
|
890
|
-
kind: "inference";
|
|
891
890
|
model: string;
|
|
892
|
-
|
|
891
|
+
kind: "inference";
|
|
893
892
|
voice?: string | undefined;
|
|
893
|
+
options?: Record<string, unknown> | undefined;
|
|
894
894
|
} | {
|
|
895
|
-
kind: "plugin";
|
|
896
895
|
options: Record<string, unknown>;
|
|
897
896
|
provider: "deepgram" | "elevenlabs";
|
|
897
|
+
kind: "plugin";
|
|
898
898
|
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
899
899
|
} | {
|
|
900
|
-
kind: "realtime";
|
|
901
900
|
options: Record<string, unknown>;
|
|
902
901
|
provider: "openai" | "google" | "xai";
|
|
902
|
+
kind: "realtime";
|
|
903
903
|
} | undefined;
|
|
904
904
|
vadOptions?: {
|
|
905
905
|
minSpeechDuration?: number | undefined;
|