@volley/recognition-client-sdk 0.1.689 → 0.1.707

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.
@@ -21,6 +21,7 @@ declare enum RecognitionProvider {
21
21
  MISTRAL_VOXTRAL = "mistral-voxtral",
22
22
  CARTESIA = "cartesia",
23
23
  DASHSCOPE = "dashscope",
24
+ BEDROCK = "bedrock",
24
25
  TEST_ASR_PROVIDER_QUOTA = "test-asr-provider-quota",
25
26
  TEST_ASR_STREAMING = "test-asr-streaming"
26
27
  }
@@ -119,6 +120,15 @@ declare enum DashScopeModel {
119
120
  QWEN3_ASR_FLASH_REALTIME_2602 = "qwen3-asr-flash-realtime-2026-02-10",
120
121
  QWEN3_ASR_FLASH_REALTIME = "qwen3-asr-flash-realtime"
121
122
  }
123
+ /**
124
+ * AWS Bedrock batch transcription models
125
+ * Accessed via AWS Bedrock InvokeModelWithResponseStream
126
+ * @see https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters-mistral.html
127
+ */
128
+ declare enum BedrockModel {
129
+ VOXTRAL_MINI_3B_2507 = "mistral.voxtral-mini-3b-2507",
130
+ VOXTRAL_SMALL_24B_2507 = "mistral.voxtral-small-24b-2507"
131
+ }
122
132
  /**
123
133
  * Self-serve vLLM batch transcription models
124
134
  * Backed by recognition-inference / RunPod `/transcribe`
@@ -129,7 +139,7 @@ declare enum SelfServeVllmModel {
129
139
  /**
130
140
  * Type alias for any model from any provider
131
141
  */
132
- type RecognitionModel = DeepgramModel | GoogleModel | FireworksModel | GladiaModel | ElevenLabsModel | OpenAIRealtimeModel | MistralVoxtralModel | CartesiaModel | DashScopeModel | SelfServeVllmModel | string;
142
+ type RecognitionModel = DeepgramModel | GoogleModel | FireworksModel | GladiaModel | ElevenLabsModel | OpenAIRealtimeModel | MistralVoxtralModel | CartesiaModel | DashScopeModel | SelfServeVllmModel | BedrockModel | string;
133
143
 
134
144
  /**
135
145
  * Audio encoding types
@@ -1145,6 +1155,8 @@ interface IRecognitionClientConfig {
1145
1155
  platform?: string;
1146
1156
  /** Experiment cohort (optional). Defaults to 'control' if not provided. */
1147
1157
  experimentCohort?: 'treatment' | 'control';
1158
+ /** Explicit major version for ASR config selection (e.g. 1, 3). Takes precedence over experimentCohort. */
1159
+ experimentMajorVersion?: number;
1148
1160
  /** Callback when transcript is received */
1149
1161
  onTranscript?: (result: TranscriptionResultV1) => void;
1150
1162
  /**
@@ -90,6 +90,11 @@ export declare class ConfigBuilder {
90
90
  * Set experiment cohort (optional, defaults to 'control')
91
91
  */
92
92
  experimentCohort(cohort: 'treatment' | 'control'): this;
93
+ /**
94
+ * Set explicit major version for ASR config selection.
95
+ * Takes precedence over experimentCohort-based version resolution.
96
+ */
97
+ experimentMajorVersion(version: number): this;
93
98
  /**
94
99
  * Set transcript callback
95
100
  */
@@ -1 +1 @@
1
- {"version":3,"file":"config-builder.d.ts","sourceRoot":"","sources":["../src/config-builder.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EACV,8CAA8C,EAC9C,sBAAsB,EACvB,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EACV,gBAAgB,EAChB,aAAa,EACb,qBAAqB,EACrB,gBAAgB,EAChB,mBAAmB,EACnB,aAAa,EACb,KAAK,EACN,MAAM,qBAAqB,CAAC;AAE7B;;;;;;;;;;;;;;;;;;GAkBG;AACH,qBAAa,aAAa;IACxB,OAAO,CAAC,MAAM,CAA+D;IAE7E;;;OAGG;IACH,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAKtB;;;;;;;;OAQG;IACH,KAAK,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,GAAG,IAAI;IAKlC;;OAEG;IACH,gBAAgB,CAAC,MAAM,EAAE,gBAAgB,GAAG,IAAI;IAKhD;;OAEG;IACH,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;IAKzC;;;OAGG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM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jC;;OAEG;IACH,oBAAoB,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAK3C;;OAEG;IACH,eAAe,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;IAKrC;;OAEG;IACH,MAAM,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,GAAG,KAAK,IAAI,GAAG,IAAI;IAKvG;;OAEG;IACH,KAAK,IAAI,8CAA8C;CAGxD"}
@@ -21,6 +21,7 @@ declare enum RecognitionProvider {
21
21
  MISTRAL_VOXTRAL = "mistral-voxtral",
22
22
  CARTESIA = "cartesia",
23
23
  DASHSCOPE = "dashscope",
24
+ BEDROCK = "bedrock",
24
25
  TEST_ASR_PROVIDER_QUOTA = "test-asr-provider-quota",
25
26
  TEST_ASR_STREAMING = "test-asr-streaming"
26
27
  }
@@ -119,6 +120,15 @@ declare enum DashScopeModel {
119
120
  QWEN3_ASR_FLASH_REALTIME_2602 = "qwen3-asr-flash-realtime-2026-02-10",
120
121
  QWEN3_ASR_FLASH_REALTIME = "qwen3-asr-flash-realtime"
121
122
  }
123
+ /**
124
+ * AWS Bedrock batch transcription models
125
+ * Accessed via AWS Bedrock InvokeModelWithResponseStream
126
+ * @see https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters-mistral.html
127
+ */
128
+ declare enum BedrockModel {
129
+ VOXTRAL_MINI_3B_2507 = "mistral.voxtral-mini-3b-2507",
130
+ VOXTRAL_SMALL_24B_2507 = "mistral.voxtral-small-24b-2507"
131
+ }
122
132
  /**
123
133
  * Self-serve vLLM batch transcription models
124
134
  * Backed by recognition-inference / RunPod `/transcribe`
@@ -129,7 +139,7 @@ declare enum SelfServeVllmModel {
129
139
  /**
130
140
  * Type alias for any model from any provider
131
141
  */
132
- type RecognitionModel = DeepgramModel | GoogleModel | FireworksModel | GladiaModel | ElevenLabsModel | OpenAIRealtimeModel | MistralVoxtralModel | CartesiaModel | DashScopeModel | SelfServeVllmModel | string;
142
+ type RecognitionModel = DeepgramModel | GoogleModel | FireworksModel | GladiaModel | ElevenLabsModel | OpenAIRealtimeModel | MistralVoxtralModel | CartesiaModel | DashScopeModel | SelfServeVllmModel | BedrockModel | string;
133
143
 
134
144
  /**
135
145
  * Audio encoding types
@@ -611,9 +621,9 @@ declare const AuthenticationExceptionSchema: z.ZodObject<{
611
621
  code: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
612
622
  message: z.ZodString;
613
623
  provider: z.ZodOptional<z.ZodNativeEnum<typeof RecognitionProvider>>;
624
+ description: z.ZodOptional<z.ZodString>;
614
625
  audioUtteranceId: z.ZodOptional<z.ZodString>;
615
626
  timestamp: z.ZodOptional<z.ZodNumber>;
616
- description: z.ZodOptional<z.ZodString>;
617
627
  errorType: z.ZodLiteral<ErrorTypeV1.AUTHENTICATION_ERROR>;
618
628
  isImmediatelyAvailable: z.ZodLiteral<false>;
619
629
  service: z.ZodOptional<z.ZodString>;
@@ -624,9 +634,9 @@ declare const AuthenticationExceptionSchema: z.ZodObject<{
624
634
  isImmediatelyAvailable: false;
625
635
  code?: string | number | undefined;
626
636
  provider?: RecognitionProvider | undefined;
637
+ description?: string | undefined;
627
638
  audioUtteranceId?: string | undefined;
628
639
  timestamp?: number | undefined;
629
- description?: string | undefined;
630
640
  service?: string | undefined;
631
641
  authMethod?: string | undefined;
632
642
  }, {
@@ -635,9 +645,9 @@ declare const AuthenticationExceptionSchema: z.ZodObject<{
635
645
  isImmediatelyAvailable: false;
636
646
  code?: string | number | undefined;
637
647
  provider?: RecognitionProvider | undefined;
648
+ description?: string | undefined;
638
649
  audioUtteranceId?: string | undefined;
639
650
  timestamp?: number | undefined;
640
- description?: string | undefined;
641
651
  service?: string | undefined;
642
652
  authMethod?: string | undefined;
643
653
  }>;
@@ -651,9 +661,9 @@ declare const ValidationExceptionSchema: z.ZodObject<{
651
661
  code: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
652
662
  message: z.ZodString;
653
663
  provider: z.ZodOptional<z.ZodNativeEnum<typeof RecognitionProvider>>;
664
+ description: z.ZodOptional<z.ZodString>;
654
665
  audioUtteranceId: z.ZodOptional<z.ZodString>;
655
666
  timestamp: z.ZodOptional<z.ZodNumber>;
656
- description: z.ZodOptional<z.ZodString>;
657
667
  errorType: z.ZodLiteral<ErrorTypeV1.VALIDATION_ERROR>;
658
668
  isImmediatelyAvailable: z.ZodLiteral<true>;
659
669
  field: z.ZodOptional<z.ZodString>;
@@ -665,9 +675,9 @@ declare const ValidationExceptionSchema: z.ZodObject<{
665
675
  isImmediatelyAvailable: true;
666
676
  code?: string | number | undefined;
667
677
  provider?: RecognitionProvider | undefined;
678
+ description?: string | undefined;
668
679
  audioUtteranceId?: string | undefined;
669
680
  timestamp?: number | undefined;
670
- description?: string | undefined;
671
681
  field?: string | undefined;
672
682
  expected?: string | undefined;
673
683
  received?: string | undefined;
@@ -677,9 +687,9 @@ declare const ValidationExceptionSchema: z.ZodObject<{
677
687
  isImmediatelyAvailable: true;
678
688
  code?: string | number | undefined;
679
689
  provider?: RecognitionProvider | undefined;
690
+ description?: string | undefined;
680
691
  audioUtteranceId?: string | undefined;
681
692
  timestamp?: number | undefined;
682
- description?: string | undefined;
683
693
  field?: string | undefined;
684
694
  expected?: string | undefined;
685
695
  received?: string | undefined;
@@ -693,9 +703,9 @@ type ValidationException = z.infer<typeof ValidationExceptionSchema>;
693
703
  declare const ProviderExceptionSchema: z.ZodObject<{
694
704
  code: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
695
705
  message: z.ZodString;
706
+ description: z.ZodOptional<z.ZodString>;
696
707
  audioUtteranceId: z.ZodOptional<z.ZodString>;
697
708
  timestamp: z.ZodOptional<z.ZodNumber>;
698
- description: z.ZodOptional<z.ZodString>;
699
709
  errorType: z.ZodLiteral<ErrorTypeV1.PROVIDER_ERROR>;
700
710
  isImmediatelyAvailable: z.ZodLiteral<false>;
701
711
  provider: z.ZodOptional<z.ZodString>;
@@ -706,9 +716,9 @@ declare const ProviderExceptionSchema: z.ZodObject<{
706
716
  errorType: ErrorTypeV1.PROVIDER_ERROR;
707
717
  isImmediatelyAvailable: false;
708
718
  code?: string | number | undefined;
719
+ description?: string | undefined;
709
720
  audioUtteranceId?: string | undefined;
710
721
  timestamp?: number | undefined;
711
- description?: string | undefined;
712
722
  provider?: string | undefined;
713
723
  providerErrorCode?: string | number | undefined;
714
724
  isTransient?: boolean | undefined;
@@ -717,9 +727,9 @@ declare const ProviderExceptionSchema: z.ZodObject<{
717
727
  errorType: ErrorTypeV1.PROVIDER_ERROR;
718
728
  isImmediatelyAvailable: false;
719
729
  code?: string | number | undefined;
730
+ description?: string | undefined;
720
731
  audioUtteranceId?: string | undefined;
721
732
  timestamp?: number | undefined;
722
- description?: string | undefined;
723
733
  provider?: string | undefined;
724
734
  providerErrorCode?: string | number | undefined;
725
735
  isTransient?: boolean | undefined;
@@ -734,9 +744,9 @@ declare const TimeoutExceptionSchema: z.ZodObject<{
734
744
  code: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
735
745
  message: z.ZodString;
736
746
  provider: z.ZodOptional<z.ZodNativeEnum<typeof RecognitionProvider>>;
747
+ description: z.ZodOptional<z.ZodString>;
737
748
  audioUtteranceId: z.ZodOptional<z.ZodString>;
738
749
  timestamp: z.ZodOptional<z.ZodNumber>;
739
- description: z.ZodOptional<z.ZodString>;
740
750
  errorType: z.ZodLiteral<ErrorTypeV1.TIMEOUT_ERROR>;
741
751
  isImmediatelyAvailable: z.ZodLiteral<true>;
742
752
  timeoutMs: z.ZodOptional<z.ZodNumber>;
@@ -747,9 +757,9 @@ declare const TimeoutExceptionSchema: z.ZodObject<{
747
757
  isImmediatelyAvailable: true;
748
758
  code?: string | number | undefined;
749
759
  provider?: RecognitionProvider | undefined;
760
+ description?: string | undefined;
750
761
  audioUtteranceId?: string | undefined;
751
762
  timestamp?: number | undefined;
752
- description?: string | undefined;
753
763
  timeoutMs?: number | undefined;
754
764
  operation?: string | undefined;
755
765
  }, {
@@ -758,9 +768,9 @@ declare const TimeoutExceptionSchema: z.ZodObject<{
758
768
  isImmediatelyAvailable: true;
759
769
  code?: string | number | undefined;
760
770
  provider?: RecognitionProvider | undefined;
771
+ description?: string | undefined;
761
772
  audioUtteranceId?: string | undefined;
762
773
  timestamp?: number | undefined;
763
- description?: string | undefined;
764
774
  timeoutMs?: number | undefined;
765
775
  operation?: string | undefined;
766
776
  }>;
@@ -774,9 +784,9 @@ declare const QuotaExceededExceptionSchema: z.ZodObject<{
774
784
  code: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
775
785
  message: z.ZodString;
776
786
  provider: z.ZodOptional<z.ZodNativeEnum<typeof RecognitionProvider>>;
787
+ description: z.ZodOptional<z.ZodString>;
777
788
  audioUtteranceId: z.ZodOptional<z.ZodString>;
778
789
  timestamp: z.ZodOptional<z.ZodNumber>;
779
- description: z.ZodOptional<z.ZodString>;
780
790
  errorType: z.ZodLiteral<ErrorTypeV1.QUOTA_EXCEEDED>;
781
791
  isImmediatelyAvailable: z.ZodLiteral<true>;
782
792
  quotaType: z.ZodOptional<z.ZodString>;
@@ -788,9 +798,9 @@ declare const QuotaExceededExceptionSchema: z.ZodObject<{
788
798
  isImmediatelyAvailable: true;
789
799
  code?: string | number | undefined;
790
800
  provider?: RecognitionProvider | undefined;
801
+ description?: string | undefined;
791
802
  audioUtteranceId?: string | undefined;
792
803
  timestamp?: number | undefined;
793
- description?: string | undefined;
794
804
  quotaType?: string | undefined;
795
805
  resetAt?: number | undefined;
796
806
  retryAfterSeconds?: number | undefined;
@@ -800,9 +810,9 @@ declare const QuotaExceededExceptionSchema: z.ZodObject<{
800
810
  isImmediatelyAvailable: true;
801
811
  code?: string | number | undefined;
802
812
  provider?: RecognitionProvider | undefined;
813
+ description?: string | undefined;
803
814
  audioUtteranceId?: string | undefined;
804
815
  timestamp?: number | undefined;
805
- description?: string | undefined;
806
816
  quotaType?: string | undefined;
807
817
  resetAt?: number | undefined;
808
818
  retryAfterSeconds?: number | undefined;
@@ -817,9 +827,9 @@ declare const ConnectionExceptionSchema: z.ZodObject<{
817
827
  code: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
818
828
  message: z.ZodString;
819
829
  provider: z.ZodOptional<z.ZodNativeEnum<typeof RecognitionProvider>>;
830
+ description: z.ZodOptional<z.ZodString>;
820
831
  audioUtteranceId: z.ZodOptional<z.ZodString>;
821
832
  timestamp: z.ZodOptional<z.ZodNumber>;
822
- description: z.ZodOptional<z.ZodString>;
823
833
  errorType: z.ZodLiteral<ErrorTypeV1.CONNECTION_ERROR>;
824
834
  isImmediatelyAvailable: z.ZodLiteral<true>;
825
835
  attempts: z.ZodOptional<z.ZodNumber>;
@@ -831,9 +841,9 @@ declare const ConnectionExceptionSchema: z.ZodObject<{
831
841
  isImmediatelyAvailable: true;
832
842
  code?: string | number | undefined;
833
843
  provider?: RecognitionProvider | undefined;
844
+ description?: string | undefined;
834
845
  audioUtteranceId?: string | undefined;
835
846
  timestamp?: number | undefined;
836
- description?: string | undefined;
837
847
  attempts?: number | undefined;
838
848
  url?: string | undefined;
839
849
  underlyingError?: string | undefined;
@@ -843,9 +853,9 @@ declare const ConnectionExceptionSchema: z.ZodObject<{
843
853
  isImmediatelyAvailable: true;
844
854
  code?: string | number | undefined;
845
855
  provider?: RecognitionProvider | undefined;
856
+ description?: string | undefined;
846
857
  audioUtteranceId?: string | undefined;
847
858
  timestamp?: number | undefined;
848
- description?: string | undefined;
849
859
  attempts?: number | undefined;
850
860
  url?: string | undefined;
851
861
  underlyingError?: string | undefined;
@@ -860,9 +870,9 @@ declare const UnknownExceptionSchema: z.ZodObject<{
860
870
  code: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
861
871
  message: z.ZodString;
862
872
  provider: z.ZodOptional<z.ZodNativeEnum<typeof RecognitionProvider>>;
873
+ description: z.ZodOptional<z.ZodString>;
863
874
  audioUtteranceId: z.ZodOptional<z.ZodString>;
864
875
  timestamp: z.ZodOptional<z.ZodNumber>;
865
- description: z.ZodOptional<z.ZodString>;
866
876
  errorType: z.ZodLiteral<ErrorTypeV1.UNKNOWN_ERROR>;
867
877
  isImmediatelyAvailable: z.ZodLiteral<false>;
868
878
  stack: z.ZodOptional<z.ZodString>;
@@ -873,9 +883,9 @@ declare const UnknownExceptionSchema: z.ZodObject<{
873
883
  isImmediatelyAvailable: false;
874
884
  code?: string | number | undefined;
875
885
  provider?: RecognitionProvider | undefined;
886
+ description?: string | undefined;
876
887
  audioUtteranceId?: string | undefined;
877
888
  timestamp?: number | undefined;
878
- description?: string | undefined;
879
889
  stack?: string | undefined;
880
890
  context?: Record<string, unknown> | undefined;
881
891
  }, {
@@ -884,9 +894,9 @@ declare const UnknownExceptionSchema: z.ZodObject<{
884
894
  isImmediatelyAvailable: false;
885
895
  code?: string | number | undefined;
886
896
  provider?: RecognitionProvider | undefined;
897
+ description?: string | undefined;
887
898
  audioUtteranceId?: string | undefined;
888
899
  timestamp?: number | undefined;
889
- description?: string | undefined;
890
900
  stack?: string | undefined;
891
901
  context?: Record<string, unknown> | undefined;
892
902
  }>;
@@ -899,9 +909,9 @@ declare const RecognitionExceptionSchema: z.ZodDiscriminatedUnion<"errorType", [
899
909
  code: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
900
910
  message: z.ZodString;
901
911
  provider: z.ZodOptional<z.ZodNativeEnum<typeof RecognitionProvider>>;
912
+ description: z.ZodOptional<z.ZodString>;
902
913
  audioUtteranceId: z.ZodOptional<z.ZodString>;
903
914
  timestamp: z.ZodOptional<z.ZodNumber>;
904
- description: z.ZodOptional<z.ZodString>;
905
915
  errorType: z.ZodLiteral<ErrorTypeV1.AUTHENTICATION_ERROR>;
906
916
  isImmediatelyAvailable: z.ZodLiteral<false>;
907
917
  service: z.ZodOptional<z.ZodString>;
@@ -912,9 +922,9 @@ declare const RecognitionExceptionSchema: z.ZodDiscriminatedUnion<"errorType", [
912
922
  isImmediatelyAvailable: false;
913
923
  code?: string | number | undefined;
914
924
  provider?: RecognitionProvider | undefined;
925
+ description?: string | undefined;
915
926
  audioUtteranceId?: string | undefined;
916
927
  timestamp?: number | undefined;
917
- description?: string | undefined;
918
928
  service?: string | undefined;
919
929
  authMethod?: string | undefined;
920
930
  }, {
@@ -923,18 +933,18 @@ declare const RecognitionExceptionSchema: z.ZodDiscriminatedUnion<"errorType", [
923
933
  isImmediatelyAvailable: false;
924
934
  code?: string | number | undefined;
925
935
  provider?: RecognitionProvider | undefined;
936
+ description?: string | undefined;
926
937
  audioUtteranceId?: string | undefined;
927
938
  timestamp?: number | undefined;
928
- description?: string | undefined;
929
939
  service?: string | undefined;
930
940
  authMethod?: string | undefined;
931
941
  }>, z.ZodObject<{
932
942
  code: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
933
943
  message: z.ZodString;
934
944
  provider: z.ZodOptional<z.ZodNativeEnum<typeof RecognitionProvider>>;
945
+ description: z.ZodOptional<z.ZodString>;
935
946
  audioUtteranceId: z.ZodOptional<z.ZodString>;
936
947
  timestamp: z.ZodOptional<z.ZodNumber>;
937
- description: z.ZodOptional<z.ZodString>;
938
948
  errorType: z.ZodLiteral<ErrorTypeV1.VALIDATION_ERROR>;
939
949
  isImmediatelyAvailable: z.ZodLiteral<true>;
940
950
  field: z.ZodOptional<z.ZodString>;
@@ -946,9 +956,9 @@ declare const RecognitionExceptionSchema: z.ZodDiscriminatedUnion<"errorType", [
946
956
  isImmediatelyAvailable: true;
947
957
  code?: string | number | undefined;
948
958
  provider?: RecognitionProvider | undefined;
959
+ description?: string | undefined;
949
960
  audioUtteranceId?: string | undefined;
950
961
  timestamp?: number | undefined;
951
- description?: string | undefined;
952
962
  field?: string | undefined;
953
963
  expected?: string | undefined;
954
964
  received?: string | undefined;
@@ -958,18 +968,18 @@ declare const RecognitionExceptionSchema: z.ZodDiscriminatedUnion<"errorType", [
958
968
  isImmediatelyAvailable: true;
959
969
  code?: string | number | undefined;
960
970
  provider?: RecognitionProvider | undefined;
971
+ description?: string | undefined;
961
972
  audioUtteranceId?: string | undefined;
962
973
  timestamp?: number | undefined;
963
- description?: string | undefined;
964
974
  field?: string | undefined;
965
975
  expected?: string | undefined;
966
976
  received?: string | undefined;
967
977
  }>, z.ZodObject<{
968
978
  code: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
969
979
  message: z.ZodString;
980
+ description: z.ZodOptional<z.ZodString>;
970
981
  audioUtteranceId: z.ZodOptional<z.ZodString>;
971
982
  timestamp: z.ZodOptional<z.ZodNumber>;
972
- description: z.ZodOptional<z.ZodString>;
973
983
  errorType: z.ZodLiteral<ErrorTypeV1.PROVIDER_ERROR>;
974
984
  isImmediatelyAvailable: z.ZodLiteral<false>;
975
985
  provider: z.ZodOptional<z.ZodString>;
@@ -980,9 +990,9 @@ declare const RecognitionExceptionSchema: z.ZodDiscriminatedUnion<"errorType", [
980
990
  errorType: ErrorTypeV1.PROVIDER_ERROR;
981
991
  isImmediatelyAvailable: false;
982
992
  code?: string | number | undefined;
993
+ description?: string | undefined;
983
994
  audioUtteranceId?: string | undefined;
984
995
  timestamp?: number | undefined;
985
- description?: string | undefined;
986
996
  provider?: string | undefined;
987
997
  providerErrorCode?: string | number | undefined;
988
998
  isTransient?: boolean | undefined;
@@ -991,9 +1001,9 @@ declare const RecognitionExceptionSchema: z.ZodDiscriminatedUnion<"errorType", [
991
1001
  errorType: ErrorTypeV1.PROVIDER_ERROR;
992
1002
  isImmediatelyAvailable: false;
993
1003
  code?: string | number | undefined;
1004
+ description?: string | undefined;
994
1005
  audioUtteranceId?: string | undefined;
995
1006
  timestamp?: number | undefined;
996
- description?: string | undefined;
997
1007
  provider?: string | undefined;
998
1008
  providerErrorCode?: string | number | undefined;
999
1009
  isTransient?: boolean | undefined;
@@ -1001,9 +1011,9 @@ declare const RecognitionExceptionSchema: z.ZodDiscriminatedUnion<"errorType", [
1001
1011
  code: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
1002
1012
  message: z.ZodString;
1003
1013
  provider: z.ZodOptional<z.ZodNativeEnum<typeof RecognitionProvider>>;
1014
+ description: z.ZodOptional<z.ZodString>;
1004
1015
  audioUtteranceId: z.ZodOptional<z.ZodString>;
1005
1016
  timestamp: z.ZodOptional<z.ZodNumber>;
1006
- description: z.ZodOptional<z.ZodString>;
1007
1017
  errorType: z.ZodLiteral<ErrorTypeV1.TIMEOUT_ERROR>;
1008
1018
  isImmediatelyAvailable: z.ZodLiteral<true>;
1009
1019
  timeoutMs: z.ZodOptional<z.ZodNumber>;
@@ -1014,9 +1024,9 @@ declare const RecognitionExceptionSchema: z.ZodDiscriminatedUnion<"errorType", [
1014
1024
  isImmediatelyAvailable: true;
1015
1025
  code?: string | number | undefined;
1016
1026
  provider?: RecognitionProvider | undefined;
1027
+ description?: string | undefined;
1017
1028
  audioUtteranceId?: string | undefined;
1018
1029
  timestamp?: number | undefined;
1019
- description?: string | undefined;
1020
1030
  timeoutMs?: number | undefined;
1021
1031
  operation?: string | undefined;
1022
1032
  }, {
@@ -1025,18 +1035,18 @@ declare const RecognitionExceptionSchema: z.ZodDiscriminatedUnion<"errorType", [
1025
1035
  isImmediatelyAvailable: true;
1026
1036
  code?: string | number | undefined;
1027
1037
  provider?: RecognitionProvider | undefined;
1038
+ description?: string | undefined;
1028
1039
  audioUtteranceId?: string | undefined;
1029
1040
  timestamp?: number | undefined;
1030
- description?: string | undefined;
1031
1041
  timeoutMs?: number | undefined;
1032
1042
  operation?: string | undefined;
1033
1043
  }>, z.ZodObject<{
1034
1044
  code: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
1035
1045
  message: z.ZodString;
1036
1046
  provider: z.ZodOptional<z.ZodNativeEnum<typeof RecognitionProvider>>;
1047
+ description: z.ZodOptional<z.ZodString>;
1037
1048
  audioUtteranceId: z.ZodOptional<z.ZodString>;
1038
1049
  timestamp: z.ZodOptional<z.ZodNumber>;
1039
- description: z.ZodOptional<z.ZodString>;
1040
1050
  errorType: z.ZodLiteral<ErrorTypeV1.QUOTA_EXCEEDED>;
1041
1051
  isImmediatelyAvailable: z.ZodLiteral<true>;
1042
1052
  quotaType: z.ZodOptional<z.ZodString>;
@@ -1048,9 +1058,9 @@ declare const RecognitionExceptionSchema: z.ZodDiscriminatedUnion<"errorType", [
1048
1058
  isImmediatelyAvailable: true;
1049
1059
  code?: string | number | undefined;
1050
1060
  provider?: RecognitionProvider | undefined;
1061
+ description?: string | undefined;
1051
1062
  audioUtteranceId?: string | undefined;
1052
1063
  timestamp?: number | undefined;
1053
- description?: string | undefined;
1054
1064
  quotaType?: string | undefined;
1055
1065
  resetAt?: number | undefined;
1056
1066
  retryAfterSeconds?: number | undefined;
@@ -1060,9 +1070,9 @@ declare const RecognitionExceptionSchema: z.ZodDiscriminatedUnion<"errorType", [
1060
1070
  isImmediatelyAvailable: true;
1061
1071
  code?: string | number | undefined;
1062
1072
  provider?: RecognitionProvider | undefined;
1073
+ description?: string | undefined;
1063
1074
  audioUtteranceId?: string | undefined;
1064
1075
  timestamp?: number | undefined;
1065
- description?: string | undefined;
1066
1076
  quotaType?: string | undefined;
1067
1077
  resetAt?: number | undefined;
1068
1078
  retryAfterSeconds?: number | undefined;
@@ -1070,9 +1080,9 @@ declare const RecognitionExceptionSchema: z.ZodDiscriminatedUnion<"errorType", [
1070
1080
  code: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
1071
1081
  message: z.ZodString;
1072
1082
  provider: z.ZodOptional<z.ZodNativeEnum<typeof RecognitionProvider>>;
1083
+ description: z.ZodOptional<z.ZodString>;
1073
1084
  audioUtteranceId: z.ZodOptional<z.ZodString>;
1074
1085
  timestamp: z.ZodOptional<z.ZodNumber>;
1075
- description: z.ZodOptional<z.ZodString>;
1076
1086
  errorType: z.ZodLiteral<ErrorTypeV1.CONNECTION_ERROR>;
1077
1087
  isImmediatelyAvailable: z.ZodLiteral<true>;
1078
1088
  attempts: z.ZodOptional<z.ZodNumber>;
@@ -1084,9 +1094,9 @@ declare const RecognitionExceptionSchema: z.ZodDiscriminatedUnion<"errorType", [
1084
1094
  isImmediatelyAvailable: true;
1085
1095
  code?: string | number | undefined;
1086
1096
  provider?: RecognitionProvider | undefined;
1097
+ description?: string | undefined;
1087
1098
  audioUtteranceId?: string | undefined;
1088
1099
  timestamp?: number | undefined;
1089
- description?: string | undefined;
1090
1100
  attempts?: number | undefined;
1091
1101
  url?: string | undefined;
1092
1102
  underlyingError?: string | undefined;
@@ -1096,18 +1106,18 @@ declare const RecognitionExceptionSchema: z.ZodDiscriminatedUnion<"errorType", [
1096
1106
  isImmediatelyAvailable: true;
1097
1107
  code?: string | number | undefined;
1098
1108
  provider?: RecognitionProvider | undefined;
1109
+ description?: string | undefined;
1099
1110
  audioUtteranceId?: string | undefined;
1100
1111
  timestamp?: number | undefined;
1101
- description?: string | undefined;
1102
1112
  attempts?: number | undefined;
1103
1113
  url?: string | undefined;
1104
1114
  underlyingError?: string | undefined;
1105
1115
  }>, z.ZodObject<{
1106
1116
  code: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
1107
1117
  message: z.ZodString;
1118
+ description: z.ZodOptional<z.ZodString>;
1108
1119
  audioUtteranceId: z.ZodOptional<z.ZodString>;
1109
1120
  timestamp: z.ZodOptional<z.ZodNumber>;
1110
- description: z.ZodOptional<z.ZodString>;
1111
1121
  errorType: z.ZodLiteral<ErrorTypeV1.CIRCUIT_BREAKER_OPEN>;
1112
1122
  isImmediatelyAvailable: z.ZodLiteral<true>;
1113
1123
  provider: z.ZodOptional<z.ZodNativeEnum<typeof RecognitionProvider>>;
@@ -1117,9 +1127,9 @@ declare const RecognitionExceptionSchema: z.ZodDiscriminatedUnion<"errorType", [
1117
1127
  errorType: ErrorTypeV1.CIRCUIT_BREAKER_OPEN;
1118
1128
  isImmediatelyAvailable: true;
1119
1129
  code?: string | number | undefined;
1130
+ description?: string | undefined;
1120
1131
  audioUtteranceId?: string | undefined;
1121
1132
  timestamp?: number | undefined;
1122
- description?: string | undefined;
1123
1133
  provider?: RecognitionProvider | undefined;
1124
1134
  model?: string | undefined;
1125
1135
  }, {
@@ -1127,18 +1137,18 @@ declare const RecognitionExceptionSchema: z.ZodDiscriminatedUnion<"errorType", [
1127
1137
  errorType: ErrorTypeV1.CIRCUIT_BREAKER_OPEN;
1128
1138
  isImmediatelyAvailable: true;
1129
1139
  code?: string | number | undefined;
1140
+ description?: string | undefined;
1130
1141
  audioUtteranceId?: string | undefined;
1131
1142
  timestamp?: number | undefined;
1132
- description?: string | undefined;
1133
1143
  provider?: RecognitionProvider | undefined;
1134
1144
  model?: string | undefined;
1135
1145
  }>, z.ZodObject<{
1136
1146
  code: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
1137
1147
  message: z.ZodString;
1138
1148
  provider: z.ZodOptional<z.ZodNativeEnum<typeof RecognitionProvider>>;
1149
+ description: z.ZodOptional<z.ZodString>;
1139
1150
  audioUtteranceId: z.ZodOptional<z.ZodString>;
1140
1151
  timestamp: z.ZodOptional<z.ZodNumber>;
1141
- description: z.ZodOptional<z.ZodString>;
1142
1152
  errorType: z.ZodLiteral<ErrorTypeV1.UNKNOWN_ERROR>;
1143
1153
  isImmediatelyAvailable: z.ZodLiteral<false>;
1144
1154
  stack: z.ZodOptional<z.ZodString>;
@@ -1149,9 +1159,9 @@ declare const RecognitionExceptionSchema: z.ZodDiscriminatedUnion<"errorType", [
1149
1159
  isImmediatelyAvailable: false;
1150
1160
  code?: string | number | undefined;
1151
1161
  provider?: RecognitionProvider | undefined;
1162
+ description?: string | undefined;
1152
1163
  audioUtteranceId?: string | undefined;
1153
1164
  timestamp?: number | undefined;
1154
- description?: string | undefined;
1155
1165
  stack?: string | undefined;
1156
1166
  context?: Record<string, unknown> | undefined;
1157
1167
  }, {
@@ -1160,9 +1170,9 @@ declare const RecognitionExceptionSchema: z.ZodDiscriminatedUnion<"errorType", [
1160
1170
  isImmediatelyAvailable: false;
1161
1171
  code?: string | number | undefined;
1162
1172
  provider?: RecognitionProvider | undefined;
1173
+ description?: string | undefined;
1163
1174
  audioUtteranceId?: string | undefined;
1164
1175
  timestamp?: number | undefined;
1165
- description?: string | undefined;
1166
1176
  stack?: string | undefined;
1167
1177
  context?: Record<string, unknown> | undefined;
1168
1178
  }>]>;
@@ -1905,6 +1915,8 @@ interface IRecognitionClientConfig {
1905
1915
  platform?: string;
1906
1916
  /** Experiment cohort (optional). Defaults to 'control' if not provided. */
1907
1917
  experimentCohort?: 'treatment' | 'control';
1918
+ /** Explicit major version for ASR config selection (e.g. 1, 3). Takes precedence over experimentCohort. */
1919
+ experimentMajorVersion?: number;
1908
1920
  /** Callback when transcript is received */
1909
1921
  onTranscript?: (result: TranscriptionResultV1) => void;
1910
1922
  /**
@@ -2346,6 +2358,11 @@ declare class ConfigBuilder {
2346
2358
  * Set experiment cohort (optional, defaults to 'control')
2347
2359
  */
2348
2360
  experimentCohort(cohort: 'treatment' | 'control'): this;
2361
+ /**
2362
+ * Set explicit major version for ASR config selection.
2363
+ * Takes precedence over experimentCohort-based version resolution.
2364
+ */
2365
+ experimentMajorVersion(version: number): this;
2349
2366
  /**
2350
2367
  * Set transcript callback
2351
2368
  */
@@ -2820,5 +2837,5 @@ declare function getRecognitionConductorHttpBase(stage?: Stage | string | null |
2820
2837
  declare function getRecognitionConductorWsBase(stage?: Stage | string | null | undefined): string;
2821
2838
  declare function getRecognitionConductorHost(stage?: Stage | string | null | undefined): string;
2822
2839
 
2823
- export { AudioEncoding, CartesiaModel, ClientControlActionV1, ClientState, ConfigBuilder, ConnectionError, ControlSignalTypeV1 as ControlSignal, ControlSignalTypeV1, DashScopeModel, DeepgramModel, ElevenLabsModel, ErrorTypeV1, FinalTranscriptStability, FireworksModel, GeminiModel, GladiaModel, GoogleModel, Language, MistralVoxtralModel, OpenAIModel, OpenAIRealtimeModel, RECOGNITION_CONDUCTOR_BASES, RECOGNITION_SERVICE_BASES, RealTimeTwoWayWebSocketRecognitionClient, RecognitionContextTypeV1, RecognitionError, RecognitionProvider, RecognitionResultTypeV1, RecognitionVGFStateSchema, RecordingStatus, STAGES, SampleRate, SelfServeVllmModel, SimplifiedVGFRecognitionClient, TimeoutError, TranscriptionStatus, ValidationError, createClient, createClientWithBuilder, createDefaultASRConfig, createInitialRecognitionState, createSimplifiedVGFClient, getRecognitionConductorBase, getRecognitionConductorHost, getRecognitionConductorHttpBase, getRecognitionConductorWsBase, getRecognitionServiceBase, getRecognitionServiceHost, getRecognitionServiceHttpBase, getRecognitionServiceWsBase, getUserFriendlyMessage, isExceptionImmediatelyAvailable, isNormalDisconnection, isValidRecordingStatusTransition, normalizeStage, resetRecognitionVGFState };
2840
+ export { AudioEncoding, BedrockModel, CartesiaModel, ClientControlActionV1, ClientState, ConfigBuilder, ConnectionError, ControlSignalTypeV1 as ControlSignal, ControlSignalTypeV1, DashScopeModel, DeepgramModel, ElevenLabsModel, ErrorTypeV1, FinalTranscriptStability, FireworksModel, GeminiModel, GladiaModel, GoogleModel, Language, MistralVoxtralModel, OpenAIModel, OpenAIRealtimeModel, RECOGNITION_CONDUCTOR_BASES, RECOGNITION_SERVICE_BASES, RealTimeTwoWayWebSocketRecognitionClient, RecognitionContextTypeV1, RecognitionError, RecognitionProvider, RecognitionResultTypeV1, RecognitionVGFStateSchema, RecordingStatus, STAGES, SampleRate, SelfServeVllmModel, SimplifiedVGFRecognitionClient, TimeoutError, TranscriptionStatus, ValidationError, createClient, createClientWithBuilder, createDefaultASRConfig, createInitialRecognitionState, createSimplifiedVGFClient, getRecognitionConductorBase, getRecognitionConductorHost, getRecognitionConductorHttpBase, getRecognitionConductorWsBase, getRecognitionServiceBase, getRecognitionServiceHost, getRecognitionServiceHttpBase, getRecognitionServiceWsBase, getUserFriendlyMessage, isExceptionImmediatelyAvailable, isNormalDisconnection, isValidRecordingStatusTransition, normalizeStage, resetRecognitionVGFState };
2824
2841
  export type { ASRRequestConfig, ASRRequestV1, AuthenticationException, ConnectionException, ErrorResultV1, FunctionCallResultV1, GameContextV1, IRecognitionClient, IRecognitionClientConfig, IRecognitionClientStats, ISimplifiedVGFRecognitionClient, MetadataResultV1, ProviderException, QuotaExceededException, RealTimeTwoWayWebSocketRecognitionClientConfig, RecognitionCallbackUrl, RecognitionException, RecognitionState, RecordingStatusType, SimplifiedVGFClientConfig, SlotMap, Stage, TimeoutException, TranscriptionResult, TranscriptionResultV1, TranscriptionStatusType, UnknownException, ValidationException };
package/dist/index.d.ts CHANGED
@@ -11,6 +11,6 @@ export { type RecognitionState, RecognitionVGFStateSchema, RecordingStatus, Tran
11
11
  export { resetRecognitionVGFState } from './vgf-recognition-mapper.js';
12
12
  export { AudioEncoding } from '@recog/websocket';
13
13
  export { type GameContextV1, type SlotMap, RecognitionContextTypeV1, ControlSignalTypeV1, ControlSignalTypeV1 as ControlSignal, // Alias for backward compatibility
14
- type TranscriptionResultV1, type FunctionCallResultV1, type MetadataResultV1, type ErrorResultV1, RecognitionResultTypeV1, ClientControlActionV1, type ASRRequestConfig, type ASRRequestV1, FinalTranscriptStability, createDefaultASRConfig, RecognitionProvider, DeepgramModel, ElevenLabsModel, FireworksModel, GladiaModel, GoogleModel, GeminiModel, OpenAIModel, SelfServeVllmModel, OpenAIRealtimeModel, MistralVoxtralModel, CartesiaModel, DashScopeModel, Language, SampleRate, STAGES, type Stage } from '@recog/shared-types';
14
+ type TranscriptionResultV1, type FunctionCallResultV1, type MetadataResultV1, type ErrorResultV1, RecognitionResultTypeV1, ClientControlActionV1, type ASRRequestConfig, type ASRRequestV1, FinalTranscriptStability, createDefaultASRConfig, RecognitionProvider, DeepgramModel, ElevenLabsModel, FireworksModel, GladiaModel, GoogleModel, GeminiModel, OpenAIModel, SelfServeVllmModel, OpenAIRealtimeModel, MistralVoxtralModel, CartesiaModel, DashScopeModel, BedrockModel, Language, SampleRate, STAGES, type Stage } from '@recog/shared-types';
15
15
  export { getRecognitionServiceBase, getRecognitionServiceHttpBase, getRecognitionServiceWsBase, getRecognitionServiceHost, getRecognitionConductorBase, getRecognitionConductorHttpBase, getRecognitionConductorWsBase, getRecognitionConductorHost, normalizeStage, RECOGNITION_SERVICE_BASES, RECOGNITION_CONDUCTOR_BASES } from '@recog/shared-config';
16
16
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,wCAAwC,EACxC,KAAK,8CAA8C,EACnD,KAAK,mBAAmB,EACxB,qBAAqB,EACtB,MAAM,yBAAyB,CAAC;AAGjC,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,WAAW,EACZ,MAAM,+BAA+B,CAAC;AAGvC,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAGpD,OAAO,EAAE,YAAY,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AAGrE,OAAO,EACL,gBAAgB,EAChB,eAAe,EACf,YAAY,EACZ,eAAe,EAChB,MAAM,aAAa,CAAC;AAGrB,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAGlD,YAAY,EACV,oBAAoB,EACpB,mBAAmB,EACnB,gBAAgB,EAChB,mBAAmB,EACnB,uBAAuB,EACvB,iBAAiB,EACjB,sBAAsB,EACtB,gBAAgB,EACjB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EACL,+BAA+B,EAC/B,sBAAsB,EACvB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EACL,8BAA8B,EAC9B,yBAAyB,EACzB,KAAK,+BAA+B,EACpC,KAAK,yBAAyB,EAC/B,MAAM,wCAAwC,CAAC;AAEhD,OAAO,EACL,KAAK,gBAAgB,EACrB,yBAAyB,EACzB,eAAe,EACf,mBAAmB,EACnB,K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