@livekit/protocol 1.50.1 → 1.50.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/index.cjs CHANGED
@@ -4762,6 +4762,768 @@ const AgentDispatchState = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4762
4762
  ]
4763
4763
  );
4764
4764
 
4765
+ const PresignedPostRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4766
+ "livekit.PresignedPostRequest",
4767
+ () => [
4768
+ {
4769
+ no: 1,
4770
+ name: "url",
4771
+ kind: "scalar",
4772
+ T: 9
4773
+ /* ScalarType.STRING */
4774
+ },
4775
+ { no: 2, name: "values", kind: "map", K: 9, V: {
4776
+ kind: "scalar",
4777
+ T: 9
4778
+ /* ScalarType.STRING */
4779
+ } }
4780
+ ]
4781
+ );
4782
+
4783
+ const SimulationMode = /* @__PURE__ */ protobuf.proto3.makeEnum(
4784
+ "livekit.SimulationMode",
4785
+ [
4786
+ { no: 0, name: "SIMULATION_MODE_UNSPECIFIED", localName: "UNSPECIFIED" },
4787
+ { no: 1, name: "SIMULATION_MODE_TEXT", localName: "TEXT" },
4788
+ { no: 2, name: "SIMULATION_MODE_AUDIO", localName: "AUDIO" }
4789
+ ]
4790
+ );
4791
+ const SimulationRunSummary = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4792
+ "livekit.SimulationRunSummary",
4793
+ () => [
4794
+ {
4795
+ no: 1,
4796
+ name: "passed",
4797
+ kind: "scalar",
4798
+ T: 5
4799
+ /* ScalarType.INT32 */
4800
+ },
4801
+ {
4802
+ no: 2,
4803
+ name: "failed",
4804
+ kind: "scalar",
4805
+ T: 5
4806
+ /* ScalarType.INT32 */
4807
+ },
4808
+ {
4809
+ no: 3,
4810
+ name: "going_well",
4811
+ kind: "scalar",
4812
+ T: 9
4813
+ /* ScalarType.STRING */
4814
+ },
4815
+ {
4816
+ no: 4,
4817
+ name: "to_improve",
4818
+ kind: "scalar",
4819
+ T: 9
4820
+ /* ScalarType.STRING */
4821
+ },
4822
+ { no: 5, name: "issues", kind: "message", T: SimulationRunSummary_Issue, repeated: true },
4823
+ { no: 6, name: "chat_history", kind: "map", K: 9, V: { kind: "message", T: ChatContext } }
4824
+ ]
4825
+ );
4826
+ const SimulationRunSummary_Issue = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4827
+ "livekit.SimulationRunSummary.Issue",
4828
+ () => [
4829
+ {
4830
+ no: 1,
4831
+ name: "description",
4832
+ kind: "scalar",
4833
+ T: 9
4834
+ /* ScalarType.STRING */
4835
+ },
4836
+ {
4837
+ no: 2,
4838
+ name: "suggestion",
4839
+ kind: "scalar",
4840
+ T: 9
4841
+ /* ScalarType.STRING */
4842
+ },
4843
+ {
4844
+ no: 3,
4845
+ name: "label",
4846
+ kind: "scalar",
4847
+ T: 9
4848
+ /* ScalarType.STRING */
4849
+ }
4850
+ ],
4851
+ { localName: "SimulationRunSummary_Issue" }
4852
+ );
4853
+ const SimulationRun = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4854
+ "livekit.SimulationRun",
4855
+ () => [
4856
+ {
4857
+ no: 1,
4858
+ name: "id",
4859
+ kind: "scalar",
4860
+ T: 9
4861
+ /* ScalarType.STRING */
4862
+ },
4863
+ {
4864
+ no: 2,
4865
+ name: "project_id",
4866
+ kind: "scalar",
4867
+ T: 9
4868
+ /* ScalarType.STRING */
4869
+ },
4870
+ { no: 3, name: "status", kind: "enum", T: protobuf.proto3.getEnumType(SimulationRun_Status) },
4871
+ {
4872
+ no: 4,
4873
+ name: "agent_description",
4874
+ kind: "scalar",
4875
+ T: 9
4876
+ /* ScalarType.STRING */
4877
+ },
4878
+ {
4879
+ no: 5,
4880
+ name: "error",
4881
+ kind: "scalar",
4882
+ T: 9
4883
+ /* ScalarType.STRING */
4884
+ },
4885
+ { no: 6, name: "created_at", kind: "message", T: protobuf.Timestamp },
4886
+ { no: 7, name: "jobs", kind: "message", T: SimulationRun_Job, repeated: true },
4887
+ {
4888
+ no: 9,
4889
+ name: "agent_name",
4890
+ kind: "scalar",
4891
+ T: 9
4892
+ /* ScalarType.STRING */
4893
+ },
4894
+ { no: 10, name: "scenario_group", kind: "message", T: ScenarioGroup },
4895
+ { no: 11, name: "ended_at", kind: "message", T: protobuf.Timestamp },
4896
+ {
4897
+ no: 12,
4898
+ name: "job_count",
4899
+ kind: "scalar",
4900
+ T: 5
4901
+ /* ScalarType.INT32 */
4902
+ },
4903
+ {
4904
+ no: 13,
4905
+ name: "passed_count",
4906
+ kind: "scalar",
4907
+ T: 5
4908
+ /* ScalarType.INT32 */
4909
+ },
4910
+ {
4911
+ no: 14,
4912
+ name: "failed_count",
4913
+ kind: "scalar",
4914
+ T: 5
4915
+ /* ScalarType.INT32 */
4916
+ },
4917
+ {
4918
+ no: 15,
4919
+ name: "num_simulations",
4920
+ kind: "scalar",
4921
+ T: 5
4922
+ /* ScalarType.INT32 */
4923
+ },
4924
+ { no: 16, name: "usage", kind: "message", T: SimulationRun_Usage },
4925
+ {
4926
+ no: 17,
4927
+ name: "concurrency",
4928
+ kind: "scalar",
4929
+ T: 5
4930
+ /* ScalarType.INT32 */
4931
+ },
4932
+ { no: 18, name: "mode", kind: "enum", T: protobuf.proto3.getEnumType(SimulationMode) },
4933
+ { no: 19, name: "metrics", kind: "message", T: SimulationRun_RunMetrics },
4934
+ {
4935
+ no: 20,
4936
+ name: "summary_zstd",
4937
+ kind: "scalar",
4938
+ T: 12
4939
+ /* ScalarType.BYTES */
4940
+ }
4941
+ ]
4942
+ );
4943
+ const SimulationRun_Status = /* @__PURE__ */ protobuf.proto3.makeEnum(
4944
+ "livekit.SimulationRun.Status",
4945
+ [
4946
+ { no: 0, name: "STATUS_PENDING_UPLOAD", localName: "PENDING_UPLOAD" },
4947
+ { no: 1, name: "STATUS_GENERATING", localName: "GENERATING" },
4948
+ { no: 2, name: "STATUS_RUNNING", localName: "RUNNING" },
4949
+ { no: 3, name: "STATUS_SUMMARIZING", localName: "SUMMARIZING" },
4950
+ { no: 4, name: "STATUS_COMPLETED", localName: "COMPLETED" },
4951
+ { no: 5, name: "STATUS_FAILED", localName: "FAILED" },
4952
+ { no: 6, name: "STATUS_CANCELLED", localName: "CANCELLED" }
4953
+ ]
4954
+ );
4955
+ const SimulationRun_Job = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4956
+ "livekit.SimulationRun.Job",
4957
+ () => [
4958
+ {
4959
+ no: 1,
4960
+ name: "id",
4961
+ kind: "scalar",
4962
+ T: 9
4963
+ /* ScalarType.STRING */
4964
+ },
4965
+ { no: 2, name: "status", kind: "enum", T: protobuf.proto3.getEnumType(SimulationRun_Job_Status) },
4966
+ {
4967
+ no: 3,
4968
+ name: "instructions",
4969
+ kind: "scalar",
4970
+ T: 9
4971
+ /* ScalarType.STRING */
4972
+ },
4973
+ {
4974
+ no: 4,
4975
+ name: "error",
4976
+ kind: "scalar",
4977
+ T: 9
4978
+ /* ScalarType.STRING */
4979
+ },
4980
+ {
4981
+ no: 5,
4982
+ name: "agent_expectations",
4983
+ kind: "scalar",
4984
+ T: 9
4985
+ /* ScalarType.STRING */
4986
+ },
4987
+ {
4988
+ no: 6,
4989
+ name: "label",
4990
+ kind: "scalar",
4991
+ T: 9
4992
+ /* ScalarType.STRING */
4993
+ },
4994
+ { no: 7, name: "tags", kind: "scalar", T: 9, repeated: true },
4995
+ {
4996
+ no: 8,
4997
+ name: "room_name",
4998
+ kind: "scalar",
4999
+ T: 9
5000
+ /* ScalarType.STRING */
5001
+ },
5002
+ { no: 10, name: "started_at", kind: "message", T: protobuf.Timestamp },
5003
+ { no: 11, name: "ended_at", kind: "message", T: protobuf.Timestamp },
5004
+ {
5005
+ no: 12,
5006
+ name: "room_id",
5007
+ kind: "scalar",
5008
+ T: 9
5009
+ /* ScalarType.STRING */
5010
+ },
5011
+ { no: 13, name: "usage", kind: "message", T: SimulationRun_Job_Usage },
5012
+ { no: 14, name: "metrics", kind: "message", T: SimulationRun_JobMetrics }
5013
+ ],
5014
+ { localName: "SimulationRun_Job" }
5015
+ );
5016
+ const SimulationRun_Job_Status = /* @__PURE__ */ protobuf.proto3.makeEnum(
5017
+ "livekit.SimulationRun.Job.Status",
5018
+ [
5019
+ { no: 0, name: "STATUS_PENDING", localName: "PENDING" },
5020
+ { no: 1, name: "STATUS_RUNNING", localName: "RUNNING" },
5021
+ { no: 2, name: "STATUS_COMPLETED", localName: "COMPLETED" },
5022
+ { no: 3, name: "STATUS_FAILED", localName: "FAILED" },
5023
+ { no: 4, name: "STATUS_CANCELLED", localName: "CANCELLED" }
5024
+ ]
5025
+ );
5026
+ const SimulationRun_Job_Usage = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5027
+ "livekit.SimulationRun.Job.Usage",
5028
+ () => [
5029
+ {
5030
+ no: 1,
5031
+ name: "text_turns_count",
5032
+ kind: "scalar",
5033
+ T: 5
5034
+ /* ScalarType.INT32 */
5035
+ },
5036
+ {
5037
+ no: 2,
5038
+ name: "audio_turns_count",
5039
+ kind: "scalar",
5040
+ T: 5
5041
+ /* ScalarType.INT32 */
5042
+ }
5043
+ ],
5044
+ { localName: "SimulationRun_Job_Usage" }
5045
+ );
5046
+ const SimulationRun_JobMetrics = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5047
+ "livekit.SimulationRun.JobMetrics",
5048
+ () => [
5049
+ { no: 1, name: "accuracy_score", kind: "scalar", T: 2, opt: true },
5050
+ { no: 2, name: "experience_score", kind: "scalar", T: 2, opt: true },
5051
+ { no: 3, name: "task_completion", kind: "scalar", T: 2, opt: true },
5052
+ { no: 4, name: "stt", kind: "message", T: SimulationRun_JobMetrics_STT },
5053
+ { no: 5, name: "llm", kind: "message", T: SimulationRun_JobMetrics_LLM },
5054
+ { no: 6, name: "tts", kind: "message", T: SimulationRun_JobMetrics_TTS },
5055
+ { no: 7, name: "conversation", kind: "message", T: SimulationRun_JobMetrics_Conversation },
5056
+ { no: 8, name: "simulator", kind: "message", T: SimulationRun_JobMetrics_Simulator },
5057
+ { no: 9, name: "turns", kind: "message", T: SimulationRun_JobMetrics_Turn, repeated: true },
5058
+ {
5059
+ no: 10,
5060
+ name: "judge_model",
5061
+ kind: "scalar",
5062
+ T: 9
5063
+ /* ScalarType.STRING */
5064
+ },
5065
+ {
5066
+ no: 11,
5067
+ name: "audio_judge_model",
5068
+ kind: "scalar",
5069
+ T: 9
5070
+ /* ScalarType.STRING */
5071
+ },
5072
+ {
5073
+ no: 12,
5074
+ name: "has_remote_session",
5075
+ kind: "scalar",
5076
+ T: 8
5077
+ /* ScalarType.BOOL */
5078
+ },
5079
+ { no: 13, name: "t0", kind: "message", T: protobuf.Timestamp }
5080
+ ],
5081
+ { localName: "SimulationRun_JobMetrics" }
5082
+ );
5083
+ const SimulationRun_JobMetrics_STT = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5084
+ "livekit.SimulationRun.JobMetrics.STT",
5085
+ () => [
5086
+ { no: 1, name: "wer", kind: "scalar", T: 2, opt: true },
5087
+ { no: 2, name: "words", kind: "scalar", T: 13, opt: true },
5088
+ { no: 3, name: "word_errors", kind: "scalar", T: 13, opt: true },
5089
+ { no: 4, name: "cer", kind: "scalar", T: 2, opt: true },
5090
+ { no: 9, name: "chars", kind: "scalar", T: 13, opt: true },
5091
+ { no: 10, name: "char_errors", kind: "scalar", T: 13, opt: true },
5092
+ { no: 5, name: "keyterm_recall", kind: "scalar", T: 2, opt: true },
5093
+ { no: 6, name: "keyterms_uttered", kind: "scalar", T: 13, opt: true },
5094
+ { no: 7, name: "keyterms_recognized", kind: "scalar", T: 13, opt: true },
5095
+ { no: 8, name: "transcription_latency_ms", kind: "scalar", T: 13, opt: true }
5096
+ ],
5097
+ { localName: "SimulationRun_JobMetrics_STT" }
5098
+ );
5099
+ const SimulationRun_JobMetrics_LLM = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5100
+ "livekit.SimulationRun.JobMetrics.LLM",
5101
+ () => [
5102
+ { no: 1, name: "ttft_ms", kind: "scalar", T: 13, opt: true },
5103
+ { no: 2, name: "ttfs_ms", kind: "scalar", T: 13, opt: true },
5104
+ { no: 3, name: "tokens_per_second", kind: "scalar", T: 2, opt: true },
5105
+ { no: 4, name: "conciseness_score", kind: "scalar", T: 2, opt: true }
5106
+ ],
5107
+ { localName: "SimulationRun_JobMetrics_LLM" }
5108
+ );
5109
+ const SimulationRun_JobMetrics_TTS = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5110
+ "livekit.SimulationRun.JobMetrics.TTS",
5111
+ () => [
5112
+ { no: 1, name: "ttfa_ms", kind: "scalar", T: 13, opt: true },
5113
+ { no: 2, name: "ttfb_ms", kind: "scalar", T: 13, opt: true },
5114
+ { no: 3, name: "wer", kind: "scalar", T: 2, opt: true },
5115
+ { no: 7, name: "words", kind: "scalar", T: 13, opt: true },
5116
+ { no: 8, name: "word_errors", kind: "scalar", T: 13, opt: true },
5117
+ { no: 9, name: "cer", kind: "scalar", T: 2, opt: true },
5118
+ { no: 10, name: "chars", kind: "scalar", T: 13, opt: true },
5119
+ { no: 11, name: "char_errors", kind: "scalar", T: 13, opt: true },
5120
+ { no: 4, name: "speech_rate_wpm", kind: "scalar", T: 2, opt: true },
5121
+ { no: 12, name: "heard_words", kind: "scalar", T: 13, opt: true },
5122
+ { no: 13, name: "speech_ms", kind: "scalar", T: 13, opt: true },
5123
+ { no: 5, name: "naturalness_score", kind: "scalar", T: 2, opt: true },
5124
+ { no: 6, name: "enunciation_score", kind: "scalar", T: 2, opt: true }
5125
+ ],
5126
+ { localName: "SimulationRun_JobMetrics_TTS" }
5127
+ );
5128
+ const SimulationRun_JobMetrics_Conversation = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5129
+ "livekit.SimulationRun.JobMetrics.Conversation",
5130
+ () => [
5131
+ { no: 1, name: "turn_taking_score", kind: "scalar", T: 2, opt: true },
5132
+ { no: 2, name: "response_latency_p50_ms", kind: "scalar", T: 5, opt: true },
5133
+ { no: 3, name: "response_latency_p95_ms", kind: "scalar", T: 5, opt: true },
5134
+ { no: 4, name: "response_latency_p99_ms", kind: "scalar", T: 5, opt: true },
5135
+ { no: 16, name: "response_latency_ms", kind: "scalar", T: 5, opt: true },
5136
+ { no: 5, name: "agent_yield_latency_ms", kind: "scalar", T: 13, opt: true },
5137
+ { no: 6, name: "eot_misprediction_count", kind: "scalar", T: 13, opt: true },
5138
+ { no: 7, name: "overlap_ratio", kind: "scalar", T: 2, opt: true },
5139
+ { no: 8, name: "overlap_speech_ms", kind: "scalar", T: 13, opt: true },
5140
+ { no: 9, name: "total_speech_ms", kind: "scalar", T: 13, opt: true },
5141
+ { no: 10, name: "silence_total_ms", kind: "scalar", T: 13, opt: true },
5142
+ { no: 11, name: "awkward_silence_count", kind: "scalar", T: 13, opt: true },
5143
+ { no: 12, name: "unanswered_persona_turns", kind: "scalar", T: 13, opt: true },
5144
+ { no: 13, name: "false_interruption_count", kind: "scalar", T: 13, opt: true },
5145
+ { no: 14, name: "false_interruption_unrecovered_count", kind: "scalar", T: 13, opt: true },
5146
+ { no: 15, name: "agent_reported_e2e_latency_ms", kind: "scalar", T: 13, opt: true }
5147
+ ],
5148
+ { localName: "SimulationRun_JobMetrics_Conversation" }
5149
+ );
5150
+ const SimulationRun_JobMetrics_Simulator = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5151
+ "livekit.SimulationRun.JobMetrics.Simulator",
5152
+ () => [
5153
+ { no: 1, name: "early_termination", kind: "scalar", T: 8, opt: true },
5154
+ { no: 2, name: "late_termination", kind: "scalar", T: 8, opt: true }
5155
+ ],
5156
+ { localName: "SimulationRun_JobMetrics_Simulator" }
5157
+ );
5158
+ const SimulationRun_JobMetrics_Turn = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5159
+ "livekit.SimulationRun.JobMetrics.Turn",
5160
+ () => [
5161
+ {
5162
+ no: 1,
5163
+ name: "index",
5164
+ kind: "scalar",
5165
+ T: 13
5166
+ /* ScalarType.UINT32 */
5167
+ },
5168
+ { no: 2, name: "role", kind: "enum", T: protobuf.proto3.getEnumType(ChatRole) },
5169
+ { no: 3, name: "start_ms", kind: "scalar", T: 13, opt: true },
5170
+ { no: 4, name: "end_ms", kind: "scalar", T: 13, opt: true },
5171
+ { no: 5, name: "stt", kind: "message", T: SimulationRun_JobMetrics_STT },
5172
+ { no: 6, name: "llm", kind: "message", T: SimulationRun_JobMetrics_LLM },
5173
+ { no: 7, name: "tts", kind: "message", T: SimulationRun_JobMetrics_TTS },
5174
+ { no: 8, name: "conversation", kind: "message", T: SimulationRun_JobMetrics_Conversation }
5175
+ ],
5176
+ { localName: "SimulationRun_JobMetrics_Turn" }
5177
+ );
5178
+ const SimulationRun_RunMetrics = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5179
+ "livekit.SimulationRun.RunMetrics",
5180
+ () => [
5181
+ { no: 1, name: "accuracy_score", kind: "scalar", T: 2, opt: true },
5182
+ { no: 2, name: "experience_score", kind: "scalar", T: 2, opt: true },
5183
+ { no: 3, name: "scenario_pass_rate", kind: "scalar", T: 2, opt: true },
5184
+ { no: 4, name: "stt", kind: "message", T: SimulationRun_JobMetrics_STT },
5185
+ { no: 5, name: "llm", kind: "message", T: SimulationRun_JobMetrics_LLM },
5186
+ { no: 6, name: "tts", kind: "message", T: SimulationRun_JobMetrics_TTS },
5187
+ { no: 7, name: "conversation", kind: "message", T: SimulationRun_JobMetrics_Conversation },
5188
+ {
5189
+ no: 9,
5190
+ name: "jobs_total",
5191
+ kind: "scalar",
5192
+ T: 13
5193
+ /* ScalarType.UINT32 */
5194
+ },
5195
+ {
5196
+ no: 10,
5197
+ name: "jobs_measured",
5198
+ kind: "scalar",
5199
+ T: 13
5200
+ /* ScalarType.UINT32 */
5201
+ },
5202
+ {
5203
+ no: 11,
5204
+ name: "jobs_simulator_fault",
5205
+ kind: "scalar",
5206
+ T: 13
5207
+ /* ScalarType.UINT32 */
5208
+ }
5209
+ ],
5210
+ { localName: "SimulationRun_RunMetrics" }
5211
+ );
5212
+ const SimulationRun_Create = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5213
+ "livekit.SimulationRun.Create",
5214
+ [],
5215
+ { localName: "SimulationRun_Create" }
5216
+ );
5217
+ const SimulationRun_Create_Request = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5218
+ "livekit.SimulationRun.Create.Request",
5219
+ () => [
5220
+ {
5221
+ no: 1,
5222
+ name: "project_id",
5223
+ kind: "scalar",
5224
+ T: 9
5225
+ /* ScalarType.STRING */
5226
+ },
5227
+ {
5228
+ no: 2,
5229
+ name: "agent_name",
5230
+ kind: "scalar",
5231
+ T: 9
5232
+ /* ScalarType.STRING */
5233
+ },
5234
+ {
5235
+ no: 4,
5236
+ name: "num_simulations",
5237
+ kind: "scalar",
5238
+ T: 5
5239
+ /* ScalarType.INT32 */
5240
+ },
5241
+ {
5242
+ no: 6,
5243
+ name: "region",
5244
+ kind: "scalar",
5245
+ T: 9
5246
+ /* ScalarType.STRING */
5247
+ },
5248
+ { no: 7, name: "scenario_group", kind: "message", T: ScenarioGroup, opt: true },
5249
+ { no: 8, name: "concurrency", kind: "scalar", T: 5, opt: true },
5250
+ { no: 9, name: "mode", kind: "enum", T: protobuf.proto3.getEnumType(SimulationMode) }
5251
+ ],
5252
+ { localName: "SimulationRun_Create_Request" }
5253
+ );
5254
+ const SimulationRun_Create_Response = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5255
+ "livekit.SimulationRun.Create.Response",
5256
+ () => [
5257
+ {
5258
+ no: 1,
5259
+ name: "simulation_run_id",
5260
+ kind: "scalar",
5261
+ T: 9
5262
+ /* ScalarType.STRING */
5263
+ },
5264
+ { no: 2, name: "presigned_post_request", kind: "message", T: PresignedPostRequest }
5265
+ ],
5266
+ { localName: "SimulationRun_Create_Response" }
5267
+ );
5268
+ const SimulationRun_ConfirmSourceUpload = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5269
+ "livekit.SimulationRun.ConfirmSourceUpload",
5270
+ [],
5271
+ { localName: "SimulationRun_ConfirmSourceUpload" }
5272
+ );
5273
+ const SimulationRun_ConfirmSourceUpload_Request = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5274
+ "livekit.SimulationRun.ConfirmSourceUpload.Request",
5275
+ () => [
5276
+ {
5277
+ no: 1,
5278
+ name: "project_id",
5279
+ kind: "scalar",
5280
+ T: 9
5281
+ /* ScalarType.STRING */
5282
+ },
5283
+ {
5284
+ no: 2,
5285
+ name: "simulation_run_id",
5286
+ kind: "scalar",
5287
+ T: 9
5288
+ /* ScalarType.STRING */
5289
+ },
5290
+ {
5291
+ no: 3,
5292
+ name: "code_entrypoint",
5293
+ kind: "scalar",
5294
+ T: 9
5295
+ /* ScalarType.STRING */
5296
+ }
5297
+ ],
5298
+ { localName: "SimulationRun_ConfirmSourceUpload_Request" }
5299
+ );
5300
+ const SimulationRun_ConfirmSourceUpload_Response = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5301
+ "livekit.SimulationRun.ConfirmSourceUpload.Response",
5302
+ [],
5303
+ { localName: "SimulationRun_ConfirmSourceUpload_Response" }
5304
+ );
5305
+ const SimulationRun_Get = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5306
+ "livekit.SimulationRun.Get",
5307
+ [],
5308
+ { localName: "SimulationRun_Get" }
5309
+ );
5310
+ const SimulationRun_Get_Request = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5311
+ "livekit.SimulationRun.Get.Request",
5312
+ () => [
5313
+ {
5314
+ no: 1,
5315
+ name: "project_id",
5316
+ kind: "scalar",
5317
+ T: 9
5318
+ /* ScalarType.STRING */
5319
+ },
5320
+ {
5321
+ no: 2,
5322
+ name: "simulation_run_id",
5323
+ kind: "scalar",
5324
+ T: 9
5325
+ /* ScalarType.STRING */
5326
+ }
5327
+ ],
5328
+ { localName: "SimulationRun_Get_Request" }
5329
+ );
5330
+ const SimulationRun_Get_Response = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5331
+ "livekit.SimulationRun.Get.Response",
5332
+ () => [
5333
+ { no: 1, name: "run", kind: "message", T: SimulationRun }
5334
+ ],
5335
+ { localName: "SimulationRun_Get_Response" }
5336
+ );
5337
+ const SimulationRun_List = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5338
+ "livekit.SimulationRun.List",
5339
+ [],
5340
+ { localName: "SimulationRun_List" }
5341
+ );
5342
+ const SimulationRun_List_Request = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5343
+ "livekit.SimulationRun.List.Request",
5344
+ () => [
5345
+ {
5346
+ no: 1,
5347
+ name: "project_id",
5348
+ kind: "scalar",
5349
+ T: 9
5350
+ /* ScalarType.STRING */
5351
+ },
5352
+ { no: 2, name: "status", kind: "enum", T: protobuf.proto3.getEnumType(SimulationRun_Status), opt: true },
5353
+ { no: 3, name: "page_token", kind: "message", T: TokenPagination, opt: true }
5354
+ ],
5355
+ { localName: "SimulationRun_List_Request" }
5356
+ );
5357
+ const SimulationRun_List_Response = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5358
+ "livekit.SimulationRun.List.Response",
5359
+ () => [
5360
+ { no: 1, name: "runs", kind: "message", T: SimulationRun, repeated: true },
5361
+ { no: 2, name: "next_page_token", kind: "message", T: TokenPagination }
5362
+ ],
5363
+ { localName: "SimulationRun_List_Response" }
5364
+ );
5365
+ const SimulationRun_Cancel = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5366
+ "livekit.SimulationRun.Cancel",
5367
+ [],
5368
+ { localName: "SimulationRun_Cancel" }
5369
+ );
5370
+ const SimulationRun_Cancel_Request = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5371
+ "livekit.SimulationRun.Cancel.Request",
5372
+ () => [
5373
+ {
5374
+ no: 1,
5375
+ name: "project_id",
5376
+ kind: "scalar",
5377
+ T: 9
5378
+ /* ScalarType.STRING */
5379
+ },
5380
+ {
5381
+ no: 2,
5382
+ name: "simulation_run_id",
5383
+ kind: "scalar",
5384
+ T: 9
5385
+ /* ScalarType.STRING */
5386
+ }
5387
+ ],
5388
+ { localName: "SimulationRun_Cancel_Request" }
5389
+ );
5390
+ const SimulationRun_Cancel_Response = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5391
+ "livekit.SimulationRun.Cancel.Response",
5392
+ [],
5393
+ { localName: "SimulationRun_Cancel_Response" }
5394
+ );
5395
+ const SimulationRun_Usage = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5396
+ "livekit.SimulationRun.Usage",
5397
+ () => [
5398
+ {
5399
+ no: 1,
5400
+ name: "text_turns_count",
5401
+ kind: "scalar",
5402
+ T: 5
5403
+ /* ScalarType.INT32 */
5404
+ },
5405
+ {
5406
+ no: 2,
5407
+ name: "audio_turns_count",
5408
+ kind: "scalar",
5409
+ T: 5
5410
+ /* ScalarType.INT32 */
5411
+ }
5412
+ ],
5413
+ { localName: "SimulationRun_Usage" }
5414
+ );
5415
+ const Scenario = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5416
+ "livekit.Scenario",
5417
+ () => [
5418
+ {
5419
+ no: 1,
5420
+ name: "label",
5421
+ kind: "scalar",
5422
+ T: 9
5423
+ /* ScalarType.STRING */
5424
+ },
5425
+ {
5426
+ no: 2,
5427
+ name: "instructions",
5428
+ kind: "scalar",
5429
+ T: 9
5430
+ /* ScalarType.STRING */
5431
+ },
5432
+ {
5433
+ no: 3,
5434
+ name: "agent_expectations",
5435
+ kind: "scalar",
5436
+ T: 9
5437
+ /* ScalarType.STRING */
5438
+ },
5439
+ { no: 4, name: "tags", kind: "map", K: 9, V: {
5440
+ kind: "scalar",
5441
+ T: 9
5442
+ /* ScalarType.STRING */
5443
+ } },
5444
+ {
5445
+ no: 5,
5446
+ name: "userdata",
5447
+ kind: "scalar",
5448
+ T: 9
5449
+ /* ScalarType.STRING */
5450
+ }
5451
+ ]
5452
+ );
5453
+ const Scenario_CreateFromSession = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5454
+ "livekit.Scenario.CreateFromSession",
5455
+ [],
5456
+ { localName: "Scenario_CreateFromSession" }
5457
+ );
5458
+ const Scenario_CreateFromSession_Request = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5459
+ "livekit.Scenario.CreateFromSession.Request",
5460
+ () => [
5461
+ {
5462
+ no: 1,
5463
+ name: "project_id",
5464
+ kind: "scalar",
5465
+ T: 9
5466
+ /* ScalarType.STRING */
5467
+ },
5468
+ {
5469
+ no: 2,
5470
+ name: "room_id",
5471
+ kind: "scalar",
5472
+ T: 9
5473
+ /* ScalarType.STRING */
5474
+ },
5475
+ {
5476
+ no: 3,
5477
+ name: "region",
5478
+ kind: "scalar",
5479
+ T: 9
5480
+ /* ScalarType.STRING */
5481
+ }
5482
+ ],
5483
+ { localName: "Scenario_CreateFromSession_Request" }
5484
+ );
5485
+ const Scenario_CreateFromSession_Response = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5486
+ "livekit.Scenario.CreateFromSession.Response",
5487
+ () => [
5488
+ { no: 1, name: "scenario", kind: "message", T: Scenario }
5489
+ ],
5490
+ { localName: "Scenario_CreateFromSession_Response" }
5491
+ );
5492
+ const ScenarioGroup = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5493
+ "livekit.ScenarioGroup",
5494
+ () => [
5495
+ {
5496
+ no: 1,
5497
+ name: "name",
5498
+ kind: "scalar",
5499
+ T: 9
5500
+ /* ScalarType.STRING */
5501
+ },
5502
+ { no: 2, name: "scenarios", kind: "message", T: Scenario, repeated: true }
5503
+ ]
5504
+ );
5505
+ const SimulationDispatch = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5506
+ "livekit.SimulationDispatch",
5507
+ () => [
5508
+ {
5509
+ no: 1,
5510
+ name: "simulation_run_id",
5511
+ kind: "scalar",
5512
+ T: 9
5513
+ /* ScalarType.STRING */
5514
+ },
5515
+ {
5516
+ no: 2,
5517
+ name: "job_id",
5518
+ kind: "scalar",
5519
+ T: 9
5520
+ /* ScalarType.STRING */
5521
+ },
5522
+ { no: 3, name: "scenario", kind: "message", T: Scenario },
5523
+ { no: 4, name: "mode", kind: "enum", T: protobuf.proto3.getEnumType(SimulationMode) }
5524
+ ]
5525
+ );
5526
+
4765
5527
  const AudioChannel = /* @__PURE__ */ protobuf.proto3.makeEnum(
4766
5528
  "livekit.AudioChannel",
4767
5529
  [
@@ -11112,7 +11874,7 @@ const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
11112
11874
  ]
11113
11875
  );
11114
11876
 
11115
- const version = "1.50.1";
11877
+ const version = "1.50.3";
11116
11878
 
11117
11879
  exports.Timestamp = protobuf.Timestamp;
11118
11880
  exports.protoInt64 = protobuf.protoInt64;
@@ -11387,6 +12149,11 @@ exports.SIPTransport = SIPTransport;
11387
12149
  exports.SIPTrunkInfo = SIPTrunkInfo;
11388
12150
  exports.SIPTrunkInfo_TrunkKind = SIPTrunkInfo_TrunkKind;
11389
12151
  exports.SIPUri = SIPUri;
12152
+ exports.Scenario = Scenario;
12153
+ exports.ScenarioGroup = ScenarioGroup;
12154
+ exports.Scenario_CreateFromSession = Scenario_CreateFromSession;
12155
+ exports.Scenario_CreateFromSession_Request = Scenario_CreateFromSession_Request;
12156
+ exports.Scenario_CreateFromSession_Response = Scenario_CreateFromSession_Response;
11390
12157
  exports.SegmentedFileOutput = SegmentedFileOutput;
11391
12158
  exports.SegmentedFileProtocol = SegmentedFileProtocol;
11392
12159
  exports.SegmentedFileSuffix = SegmentedFileSuffix;
@@ -11402,6 +12169,39 @@ exports.SignalResponse = SignalResponse;
11402
12169
  exports.SignalTarget = SignalTarget;
11403
12170
  exports.SimulateJobRequest = SimulateJobRequest;
11404
12171
  exports.SimulateScenario = SimulateScenario;
12172
+ exports.SimulationDispatch = SimulationDispatch;
12173
+ exports.SimulationMode = SimulationMode;
12174
+ exports.SimulationRun = SimulationRun;
12175
+ exports.SimulationRunSummary = SimulationRunSummary;
12176
+ exports.SimulationRunSummary_Issue = SimulationRunSummary_Issue;
12177
+ exports.SimulationRun_Cancel = SimulationRun_Cancel;
12178
+ exports.SimulationRun_Cancel_Request = SimulationRun_Cancel_Request;
12179
+ exports.SimulationRun_Cancel_Response = SimulationRun_Cancel_Response;
12180
+ exports.SimulationRun_ConfirmSourceUpload = SimulationRun_ConfirmSourceUpload;
12181
+ exports.SimulationRun_ConfirmSourceUpload_Request = SimulationRun_ConfirmSourceUpload_Request;
12182
+ exports.SimulationRun_ConfirmSourceUpload_Response = SimulationRun_ConfirmSourceUpload_Response;
12183
+ exports.SimulationRun_Create = SimulationRun_Create;
12184
+ exports.SimulationRun_Create_Request = SimulationRun_Create_Request;
12185
+ exports.SimulationRun_Create_Response = SimulationRun_Create_Response;
12186
+ exports.SimulationRun_Get = SimulationRun_Get;
12187
+ exports.SimulationRun_Get_Request = SimulationRun_Get_Request;
12188
+ exports.SimulationRun_Get_Response = SimulationRun_Get_Response;
12189
+ exports.SimulationRun_Job = SimulationRun_Job;
12190
+ exports.SimulationRun_JobMetrics = SimulationRun_JobMetrics;
12191
+ exports.SimulationRun_JobMetrics_Conversation = SimulationRun_JobMetrics_Conversation;
12192
+ exports.SimulationRun_JobMetrics_LLM = SimulationRun_JobMetrics_LLM;
12193
+ exports.SimulationRun_JobMetrics_STT = SimulationRun_JobMetrics_STT;
12194
+ exports.SimulationRun_JobMetrics_Simulator = SimulationRun_JobMetrics_Simulator;
12195
+ exports.SimulationRun_JobMetrics_TTS = SimulationRun_JobMetrics_TTS;
12196
+ exports.SimulationRun_JobMetrics_Turn = SimulationRun_JobMetrics_Turn;
12197
+ exports.SimulationRun_Job_Status = SimulationRun_Job_Status;
12198
+ exports.SimulationRun_Job_Usage = SimulationRun_Job_Usage;
12199
+ exports.SimulationRun_List = SimulationRun_List;
12200
+ exports.SimulationRun_List_Request = SimulationRun_List_Request;
12201
+ exports.SimulationRun_List_Response = SimulationRun_List_Response;
12202
+ exports.SimulationRun_RunMetrics = SimulationRun_RunMetrics;
12203
+ exports.SimulationRun_Status = SimulationRun_Status;
12204
+ exports.SimulationRun_Usage = SimulationRun_Usage;
11405
12205
  exports.SimulcastCodec = SimulcastCodec;
11406
12206
  exports.SimulcastCodecInfo = SimulcastCodecInfo;
11407
12207
  exports.SipDTMF = SipDTMF;