lua-cli 3.50.0 → 3.51.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.
@@ -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";
258
259
  options: Record<string, unknown>;
259
260
  provider: "deepgram" | "elevenlabs";
260
261
  kind: "plugin";
261
- class: "LLM" | "STT" | "STTv2" | "TTS";
262
262
  }, {
263
+ class: "LLM" | "STT" | "STTv2" | "TTS";
263
264
  options: Record<string, unknown>;
264
265
  provider: "deepgram" | "elevenlabs";
265
266
  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";
324
325
  options: Record<string, unknown>;
325
326
  provider: "deepgram" | "elevenlabs";
326
327
  kind: "plugin";
327
- class: "LLM" | "STT" | "STTv2" | "TTS";
328
328
  }, {
329
+ class: "LLM" | "STT" | "STTv2" | "TTS";
329
330
  options: Record<string, unknown>;
330
331
  provider: "deepgram" | "elevenlabs";
331
332
  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";
390
391
  options: Record<string, unknown>;
391
392
  provider: "deepgram" | "elevenlabs";
392
393
  kind: "plugin";
393
- class: "LLM" | "STT" | "STTv2" | "TTS";
394
394
  }, {
395
+ class: "LLM" | "STT" | "STTv2" | "TTS";
395
396
  options: Record<string, unknown>;
396
397
  provider: "deepgram" | "elevenlabs";
397
398
  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";
580
581
  options: Record<string, unknown>;
581
582
  provider: "deepgram" | "elevenlabs";
582
583
  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";
597
598
  options: Record<string, unknown>;
598
599
  provider: "deepgram" | "elevenlabs";
599
600
  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";
613
614
  options: Record<string, unknown>;
614
615
  provider: "deepgram" | "elevenlabs";
615
616
  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";
674
675
  options: Record<string, unknown>;
675
676
  provider: "deepgram" | "elevenlabs";
676
677
  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";
691
692
  options: Record<string, unknown>;
692
693
  provider: "deepgram" | "elevenlabs";
693
694
  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";
707
708
  options: Record<string, unknown>;
708
709
  provider: "deepgram" | "elevenlabs";
709
710
  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";
768
769
  options: Record<string, unknown>;
769
770
  provider: "deepgram" | "elevenlabs";
770
771
  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";
785
786
  options: Record<string, unknown>;
786
787
  provider: "deepgram" | "elevenlabs";
787
788
  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";
801
802
  options: Record<string, unknown>;
802
803
  provider: "deepgram" | "elevenlabs";
803
804
  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";
862
863
  options: Record<string, unknown>;
863
864
  provider: "deepgram" | "elevenlabs";
864
865
  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";
879
880
  options: Record<string, unknown>;
880
881
  provider: "deepgram" | "elevenlabs";
881
882
  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";
895
896
  options: Record<string, unknown>;
896
897
  provider: "deepgram" | "elevenlabs";
897
898
  kind: "plugin";
898
- class: "LLM" | "STT" | "STTv2" | "TTS";
899
899
  } | {
900
900
  options: Record<string, unknown>;
901
901
  provider: "openai" | "google" | "xai";
@@ -9929,6 +9929,16 @@ function luaClientMetricLabels(client) {
9929
9929
  }
9930
9930
  __name(luaClientMetricLabels, "luaClientMetricLabels");
9931
9931
  __name4(luaClientMetricLabels, "luaClientMetricLabels");
9932
+ var WEB_APP_ID_PATTERN = /^[A-Za-z0-9_-]{1,64}$/;
9933
+ function webAppPreviewSessionBinding(webAppId, previewId) {
9934
+ const binding = `${webAppId}--p-${previewId}`;
9935
+ if (!WEB_APP_ID_PATTERN.test(binding)) {
9936
+ throw new Error(`Web app preview session binding does not fit WEB_APP_ID_PATTERN: ${binding.length} characters`);
9937
+ }
9938
+ return binding;
9939
+ }
9940
+ __name(webAppPreviewSessionBinding, "webAppPreviewSessionBinding");
9941
+ __name4(webAppPreviewSessionBinding, "webAppPreviewSessionBinding");
9932
9942
  var AUTHZ_PROJECTION_VERSION = 1;
9933
9943
  var ProjectedScopeSchema = z4.string().min(1).max(128);
9934
9944
  var DisplayRoleSchema = z4.object({