lua-cli 3.51.0 → 3.52.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 +26 -18
- package/dist/api-exports.js +12 -0
- package/dist/api-exports.js.map +1 -1
- package/dist/index.js +34 -3
- package/dist/index.js.map +1 -1
- package/dist/voice/test/index.d.ts +18 -18
- package/dist/workflow-builder.js +5 -0
- package/dist/workflow-builder.js.map +1 -1
- package/docs/README.md +3 -3
- package/docs/api/Data.md +38 -1
- package/package.json +1 -1
- package/template/package.json +1 -1
|
@@ -255,15 +255,15 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
255
255
|
*/
|
|
256
256
|
options: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
257
257
|
}, "strip", z.ZodTypeAny, {
|
|
258
|
-
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
259
258
|
options: Record<string, unknown>;
|
|
260
259
|
provider: "deepgram" | "elevenlabs";
|
|
261
260
|
kind: "plugin";
|
|
262
|
-
}, {
|
|
263
261
|
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
262
|
+
}, {
|
|
264
263
|
options: Record<string, unknown>;
|
|
265
264
|
provider: "deepgram" | "elevenlabs";
|
|
266
265
|
kind: "plugin";
|
|
266
|
+
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
267
267
|
}>, z.ZodObject<{
|
|
268
268
|
kind: z.ZodLiteral<"realtime">;
|
|
269
269
|
provider: z.ZodEnum<["openai", "google", "xai"]>;
|
|
@@ -321,15 +321,15 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
321
321
|
*/
|
|
322
322
|
options: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
323
323
|
}, "strip", z.ZodTypeAny, {
|
|
324
|
-
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
325
324
|
options: Record<string, unknown>;
|
|
326
325
|
provider: "deepgram" | "elevenlabs";
|
|
327
326
|
kind: "plugin";
|
|
328
|
-
}, {
|
|
329
327
|
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
328
|
+
}, {
|
|
330
329
|
options: Record<string, unknown>;
|
|
331
330
|
provider: "deepgram" | "elevenlabs";
|
|
332
331
|
kind: "plugin";
|
|
332
|
+
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
333
333
|
}>, z.ZodObject<{
|
|
334
334
|
kind: z.ZodLiteral<"realtime">;
|
|
335
335
|
provider: z.ZodEnum<["openai", "google", "xai"]>;
|
|
@@ -387,15 +387,15 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
387
387
|
*/
|
|
388
388
|
options: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
389
389
|
}, "strip", z.ZodTypeAny, {
|
|
390
|
-
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
391
390
|
options: Record<string, unknown>;
|
|
392
391
|
provider: "deepgram" | "elevenlabs";
|
|
393
392
|
kind: "plugin";
|
|
394
|
-
}, {
|
|
395
393
|
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
394
|
+
}, {
|
|
396
395
|
options: Record<string, unknown>;
|
|
397
396
|
provider: "deepgram" | "elevenlabs";
|
|
398
397
|
kind: "plugin";
|
|
398
|
+
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
399
399
|
}>, z.ZodObject<{
|
|
400
400
|
kind: z.ZodLiteral<"realtime">;
|
|
401
401
|
provider: z.ZodEnum<["openai", "google", "xai"]>;
|
|
@@ -577,10 +577,10 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
577
577
|
voice?: string | undefined;
|
|
578
578
|
options?: Record<string, unknown> | undefined;
|
|
579
579
|
} | {
|
|
580
|
-
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
581
580
|
options: Record<string, unknown>;
|
|
582
581
|
provider: "deepgram" | "elevenlabs";
|
|
583
582
|
kind: "plugin";
|
|
583
|
+
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
584
584
|
} | {
|
|
585
585
|
options: Record<string, unknown>;
|
|
586
586
|
provider: "openai" | "google" | "xai";
|
|
@@ -594,10 +594,10 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
594
594
|
voice?: string | undefined;
|
|
595
595
|
options?: Record<string, unknown> | undefined;
|
|
596
596
|
} | {
|
|
597
|
-
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
598
597
|
options: Record<string, unknown>;
|
|
599
598
|
provider: "deepgram" | "elevenlabs";
|
|
600
599
|
kind: "plugin";
|
|
600
|
+
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
601
601
|
} | {
|
|
602
602
|
options: Record<string, unknown>;
|
|
603
603
|
provider: "openai" | "google" | "xai";
|
|
@@ -610,10 +610,10 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
610
610
|
voice?: string | undefined;
|
|
611
611
|
options?: Record<string, unknown> | undefined;
|
|
612
612
|
} | {
|
|
613
|
-
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
614
613
|
options: Record<string, unknown>;
|
|
615
614
|
provider: "deepgram" | "elevenlabs";
|
|
616
615
|
kind: "plugin";
|
|
616
|
+
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
617
617
|
} | {
|
|
618
618
|
options: Record<string, unknown>;
|
|
619
619
|
provider: "openai" | "google" | "xai";
|
|
@@ -671,10 +671,10 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
671
671
|
voice?: string | undefined;
|
|
672
672
|
options?: Record<string, unknown> | undefined;
|
|
673
673
|
} | {
|
|
674
|
-
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
675
674
|
options: Record<string, unknown>;
|
|
676
675
|
provider: "deepgram" | "elevenlabs";
|
|
677
676
|
kind: "plugin";
|
|
677
|
+
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
678
678
|
} | {
|
|
679
679
|
options: Record<string, unknown>;
|
|
680
680
|
provider: "openai" | "google" | "xai";
|
|
@@ -688,10 +688,10 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
688
688
|
voice?: string | undefined;
|
|
689
689
|
options?: Record<string, unknown> | undefined;
|
|
690
690
|
} | {
|
|
691
|
-
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
692
691
|
options: Record<string, unknown>;
|
|
693
692
|
provider: "deepgram" | "elevenlabs";
|
|
694
693
|
kind: "plugin";
|
|
694
|
+
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
695
695
|
} | {
|
|
696
696
|
options: Record<string, unknown>;
|
|
697
697
|
provider: "openai" | "google" | "xai";
|
|
@@ -704,10 +704,10 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
704
704
|
voice?: string | undefined;
|
|
705
705
|
options?: Record<string, unknown> | undefined;
|
|
706
706
|
} | {
|
|
707
|
-
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
708
707
|
options: Record<string, unknown>;
|
|
709
708
|
provider: "deepgram" | "elevenlabs";
|
|
710
709
|
kind: "plugin";
|
|
710
|
+
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
711
711
|
} | {
|
|
712
712
|
options: Record<string, unknown>;
|
|
713
713
|
provider: "openai" | "google" | "xai";
|
|
@@ -765,10 +765,10 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
765
765
|
voice?: string | undefined;
|
|
766
766
|
options?: Record<string, unknown> | undefined;
|
|
767
767
|
} | {
|
|
768
|
-
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
769
768
|
options: Record<string, unknown>;
|
|
770
769
|
provider: "deepgram" | "elevenlabs";
|
|
771
770
|
kind: "plugin";
|
|
771
|
+
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
772
772
|
} | {
|
|
773
773
|
options: Record<string, unknown>;
|
|
774
774
|
provider: "openai" | "google" | "xai";
|
|
@@ -782,10 +782,10 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
782
782
|
voice?: string | undefined;
|
|
783
783
|
options?: Record<string, unknown> | undefined;
|
|
784
784
|
} | {
|
|
785
|
-
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
786
785
|
options: Record<string, unknown>;
|
|
787
786
|
provider: "deepgram" | "elevenlabs";
|
|
788
787
|
kind: "plugin";
|
|
788
|
+
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
789
789
|
} | {
|
|
790
790
|
options: Record<string, unknown>;
|
|
791
791
|
provider: "openai" | "google" | "xai";
|
|
@@ -798,10 +798,10 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
798
798
|
voice?: string | undefined;
|
|
799
799
|
options?: Record<string, unknown> | undefined;
|
|
800
800
|
} | {
|
|
801
|
-
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
802
801
|
options: Record<string, unknown>;
|
|
803
802
|
provider: "deepgram" | "elevenlabs";
|
|
804
803
|
kind: "plugin";
|
|
804
|
+
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
805
805
|
} | {
|
|
806
806
|
options: Record<string, unknown>;
|
|
807
807
|
provider: "openai" | "google" | "xai";
|
|
@@ -859,10 +859,10 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
859
859
|
voice?: string | undefined;
|
|
860
860
|
options?: Record<string, unknown> | undefined;
|
|
861
861
|
} | {
|
|
862
|
-
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
863
862
|
options: Record<string, unknown>;
|
|
864
863
|
provider: "deepgram" | "elevenlabs";
|
|
865
864
|
kind: "plugin";
|
|
865
|
+
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
866
866
|
} | {
|
|
867
867
|
options: Record<string, unknown>;
|
|
868
868
|
provider: "openai" | "google" | "xai";
|
|
@@ -876,10 +876,10 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
876
876
|
voice?: string | undefined;
|
|
877
877
|
options?: Record<string, unknown> | undefined;
|
|
878
878
|
} | {
|
|
879
|
-
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
880
879
|
options: Record<string, unknown>;
|
|
881
880
|
provider: "deepgram" | "elevenlabs";
|
|
882
881
|
kind: "plugin";
|
|
882
|
+
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
883
883
|
} | {
|
|
884
884
|
options: Record<string, unknown>;
|
|
885
885
|
provider: "openai" | "google" | "xai";
|
|
@@ -892,10 +892,10 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
892
892
|
voice?: string | undefined;
|
|
893
893
|
options?: Record<string, unknown> | undefined;
|
|
894
894
|
} | {
|
|
895
|
-
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
896
895
|
options: Record<string, unknown>;
|
|
897
896
|
provider: "deepgram" | "elevenlabs";
|
|
898
897
|
kind: "plugin";
|
|
898
|
+
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
899
899
|
} | {
|
|
900
900
|
options: Record<string, unknown>;
|
|
901
901
|
provider: "openai" | "google" | "xai";
|
package/dist/workflow-builder.js
CHANGED
|
@@ -11730,6 +11730,11 @@ function isWebRouteInput(value3) {
|
|
|
11730
11730
|
}
|
|
11731
11731
|
__name(isWebRouteInput, "isWebRouteInput");
|
|
11732
11732
|
__name4(isWebRouteInput, "isWebRouteInput");
|
|
11733
|
+
function agentPaneEnabled(version) {
|
|
11734
|
+
return version?.agentPane !== false;
|
|
11735
|
+
}
|
|
11736
|
+
__name(agentPaneEnabled, "agentPaneEnabled");
|
|
11737
|
+
__name4(agentPaneEnabled, "agentPaneEnabled");
|
|
11733
11738
|
var WEB_APP_ENTRY_HTML_MAX_CHARS = 256 * 1024;
|
|
11734
11739
|
var WEB_APP_MAX_ASSET_BYTES = 8 * 1024 * 1024;
|
|
11735
11740
|
var EVIDENCE_SESSION_IDLE_MS = 30 * 6e4;
|