@livekit/protocol 1.50.1 → 1.50.2

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,772 @@ 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: 5, name: "naturalness_score", kind: "scalar", T: 2, opt: true },
5122
+ { no: 6, name: "enunciation_score", kind: "scalar", T: 2, opt: true }
5123
+ ],
5124
+ { localName: "SimulationRun_JobMetrics_TTS" }
5125
+ );
5126
+ const SimulationRun_JobMetrics_Conversation = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5127
+ "livekit.SimulationRun.JobMetrics.Conversation",
5128
+ () => [
5129
+ { no: 1, name: "turn_taking_score", kind: "scalar", T: 2, opt: true },
5130
+ { no: 2, name: "response_latency_p50_ms", kind: "scalar", T: 5, opt: true },
5131
+ { no: 3, name: "response_latency_p95_ms", kind: "scalar", T: 5, opt: true },
5132
+ { no: 4, name: "response_latency_p99_ms", kind: "scalar", T: 5, opt: true },
5133
+ { no: 5, name: "agent_yield_latency_ms", kind: "scalar", T: 13, opt: true },
5134
+ { no: 6, name: "eot_misprediction_count", kind: "scalar", T: 13, opt: true },
5135
+ { no: 7, name: "overlap_ratio", kind: "scalar", T: 2, opt: true },
5136
+ { no: 8, name: "overlap_speech_ms", kind: "scalar", T: 13, opt: true },
5137
+ { no: 9, name: "total_speech_ms", kind: "scalar", T: 13, opt: true },
5138
+ { no: 10, name: "silence_total_ms", kind: "scalar", T: 13, opt: true },
5139
+ { no: 11, name: "awkward_silence_count", kind: "scalar", T: 13, opt: true },
5140
+ { no: 12, name: "unanswered_persona_turns", kind: "scalar", T: 13, opt: true },
5141
+ { no: 13, name: "false_interruption_count", kind: "scalar", T: 13, opt: true },
5142
+ { no: 14, name: "false_interruption_unrecovered_count", kind: "scalar", T: 13, opt: true },
5143
+ { no: 15, name: "agent_reported_e2e_latency_ms", kind: "scalar", T: 13, opt: true }
5144
+ ],
5145
+ { localName: "SimulationRun_JobMetrics_Conversation" }
5146
+ );
5147
+ const SimulationRun_JobMetrics_Simulator = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5148
+ "livekit.SimulationRun.JobMetrics.Simulator",
5149
+ () => [
5150
+ { no: 1, name: "early_termination", kind: "scalar", T: 8, opt: true },
5151
+ { no: 2, name: "late_termination", kind: "scalar", T: 8, opt: true }
5152
+ ],
5153
+ { localName: "SimulationRun_JobMetrics_Simulator" }
5154
+ );
5155
+ const SimulationRun_JobMetrics_Turn = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5156
+ "livekit.SimulationRun.JobMetrics.Turn",
5157
+ () => [
5158
+ {
5159
+ no: 1,
5160
+ name: "index",
5161
+ kind: "scalar",
5162
+ T: 13
5163
+ /* ScalarType.UINT32 */
5164
+ },
5165
+ { no: 2, name: "role", kind: "enum", T: protobuf.proto3.getEnumType(ChatRole) },
5166
+ { no: 3, name: "start_ms", kind: "scalar", T: 13, opt: true },
5167
+ { no: 4, name: "end_ms", kind: "scalar", T: 13, opt: true },
5168
+ { no: 5, name: "response_latency_ms", kind: "scalar", T: 5, opt: true },
5169
+ { no: 6, name: "transcription_delay_ms", kind: "scalar", T: 13, opt: true },
5170
+ { no: 7, name: "llm_ttft_ms", kind: "scalar", T: 13, opt: true },
5171
+ { no: 8, name: "llm_ttfs_ms", kind: "scalar", T: 13, opt: true },
5172
+ { no: 9, name: "tts_ttfa_ms", kind: "scalar", T: 13, opt: true },
5173
+ { no: 10, name: "tts_ttfb_ms", kind: "scalar", T: 13, opt: true },
5174
+ { no: 11, name: "agent_reported_e2e_latency_ms", kind: "scalar", T: 13, opt: true },
5175
+ { no: 12, name: "conciseness_score", kind: "scalar", T: 2, opt: true },
5176
+ { no: 13, name: "naturalness_score", kind: "scalar", T: 2, opt: true },
5177
+ { no: 14, name: "enunciation_score", kind: "scalar", T: 2, opt: true },
5178
+ { no: 15, name: "flags", kind: "scalar", T: 9, repeated: true }
5179
+ ],
5180
+ { localName: "SimulationRun_JobMetrics_Turn" }
5181
+ );
5182
+ const SimulationRun_RunMetrics = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5183
+ "livekit.SimulationRun.RunMetrics",
5184
+ () => [
5185
+ { no: 1, name: "accuracy_score", kind: "scalar", T: 2, opt: true },
5186
+ { no: 2, name: "experience_score", kind: "scalar", T: 2, opt: true },
5187
+ { no: 3, name: "scenario_pass_rate", kind: "scalar", T: 2, opt: true },
5188
+ { no: 4, name: "stt", kind: "message", T: SimulationRun_JobMetrics_STT },
5189
+ { no: 5, name: "llm", kind: "message", T: SimulationRun_JobMetrics_LLM },
5190
+ { no: 6, name: "tts", kind: "message", T: SimulationRun_JobMetrics_TTS },
5191
+ { no: 7, name: "conversation", kind: "message", T: SimulationRun_JobMetrics_Conversation },
5192
+ {
5193
+ no: 9,
5194
+ name: "jobs_total",
5195
+ kind: "scalar",
5196
+ T: 13
5197
+ /* ScalarType.UINT32 */
5198
+ },
5199
+ {
5200
+ no: 10,
5201
+ name: "jobs_measured",
5202
+ kind: "scalar",
5203
+ T: 13
5204
+ /* ScalarType.UINT32 */
5205
+ },
5206
+ {
5207
+ no: 11,
5208
+ name: "jobs_simulator_fault",
5209
+ kind: "scalar",
5210
+ T: 13
5211
+ /* ScalarType.UINT32 */
5212
+ }
5213
+ ],
5214
+ { localName: "SimulationRun_RunMetrics" }
5215
+ );
5216
+ const SimulationRun_Create = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5217
+ "livekit.SimulationRun.Create",
5218
+ [],
5219
+ { localName: "SimulationRun_Create" }
5220
+ );
5221
+ const SimulationRun_Create_Request = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5222
+ "livekit.SimulationRun.Create.Request",
5223
+ () => [
5224
+ {
5225
+ no: 1,
5226
+ name: "project_id",
5227
+ kind: "scalar",
5228
+ T: 9
5229
+ /* ScalarType.STRING */
5230
+ },
5231
+ {
5232
+ no: 2,
5233
+ name: "agent_name",
5234
+ kind: "scalar",
5235
+ T: 9
5236
+ /* ScalarType.STRING */
5237
+ },
5238
+ {
5239
+ no: 4,
5240
+ name: "num_simulations",
5241
+ kind: "scalar",
5242
+ T: 5
5243
+ /* ScalarType.INT32 */
5244
+ },
5245
+ {
5246
+ no: 6,
5247
+ name: "region",
5248
+ kind: "scalar",
5249
+ T: 9
5250
+ /* ScalarType.STRING */
5251
+ },
5252
+ { no: 7, name: "scenario_group", kind: "message", T: ScenarioGroup, opt: true },
5253
+ { no: 8, name: "concurrency", kind: "scalar", T: 5, opt: true },
5254
+ { no: 9, name: "mode", kind: "enum", T: protobuf.proto3.getEnumType(SimulationMode) }
5255
+ ],
5256
+ { localName: "SimulationRun_Create_Request" }
5257
+ );
5258
+ const SimulationRun_Create_Response = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5259
+ "livekit.SimulationRun.Create.Response",
5260
+ () => [
5261
+ {
5262
+ no: 1,
5263
+ name: "simulation_run_id",
5264
+ kind: "scalar",
5265
+ T: 9
5266
+ /* ScalarType.STRING */
5267
+ },
5268
+ { no: 2, name: "presigned_post_request", kind: "message", T: PresignedPostRequest }
5269
+ ],
5270
+ { localName: "SimulationRun_Create_Response" }
5271
+ );
5272
+ const SimulationRun_ConfirmSourceUpload = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5273
+ "livekit.SimulationRun.ConfirmSourceUpload",
5274
+ [],
5275
+ { localName: "SimulationRun_ConfirmSourceUpload" }
5276
+ );
5277
+ const SimulationRun_ConfirmSourceUpload_Request = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5278
+ "livekit.SimulationRun.ConfirmSourceUpload.Request",
5279
+ () => [
5280
+ {
5281
+ no: 1,
5282
+ name: "project_id",
5283
+ kind: "scalar",
5284
+ T: 9
5285
+ /* ScalarType.STRING */
5286
+ },
5287
+ {
5288
+ no: 2,
5289
+ name: "simulation_run_id",
5290
+ kind: "scalar",
5291
+ T: 9
5292
+ /* ScalarType.STRING */
5293
+ },
5294
+ {
5295
+ no: 3,
5296
+ name: "code_entrypoint",
5297
+ kind: "scalar",
5298
+ T: 9
5299
+ /* ScalarType.STRING */
5300
+ }
5301
+ ],
5302
+ { localName: "SimulationRun_ConfirmSourceUpload_Request" }
5303
+ );
5304
+ const SimulationRun_ConfirmSourceUpload_Response = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5305
+ "livekit.SimulationRun.ConfirmSourceUpload.Response",
5306
+ [],
5307
+ { localName: "SimulationRun_ConfirmSourceUpload_Response" }
5308
+ );
5309
+ const SimulationRun_Get = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5310
+ "livekit.SimulationRun.Get",
5311
+ [],
5312
+ { localName: "SimulationRun_Get" }
5313
+ );
5314
+ const SimulationRun_Get_Request = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5315
+ "livekit.SimulationRun.Get.Request",
5316
+ () => [
5317
+ {
5318
+ no: 1,
5319
+ name: "project_id",
5320
+ kind: "scalar",
5321
+ T: 9
5322
+ /* ScalarType.STRING */
5323
+ },
5324
+ {
5325
+ no: 2,
5326
+ name: "simulation_run_id",
5327
+ kind: "scalar",
5328
+ T: 9
5329
+ /* ScalarType.STRING */
5330
+ }
5331
+ ],
5332
+ { localName: "SimulationRun_Get_Request" }
5333
+ );
5334
+ const SimulationRun_Get_Response = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5335
+ "livekit.SimulationRun.Get.Response",
5336
+ () => [
5337
+ { no: 1, name: "run", kind: "message", T: SimulationRun }
5338
+ ],
5339
+ { localName: "SimulationRun_Get_Response" }
5340
+ );
5341
+ const SimulationRun_List = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5342
+ "livekit.SimulationRun.List",
5343
+ [],
5344
+ { localName: "SimulationRun_List" }
5345
+ );
5346
+ const SimulationRun_List_Request = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5347
+ "livekit.SimulationRun.List.Request",
5348
+ () => [
5349
+ {
5350
+ no: 1,
5351
+ name: "project_id",
5352
+ kind: "scalar",
5353
+ T: 9
5354
+ /* ScalarType.STRING */
5355
+ },
5356
+ { no: 2, name: "status", kind: "enum", T: protobuf.proto3.getEnumType(SimulationRun_Status), opt: true },
5357
+ { no: 3, name: "page_token", kind: "message", T: TokenPagination, opt: true }
5358
+ ],
5359
+ { localName: "SimulationRun_List_Request" }
5360
+ );
5361
+ const SimulationRun_List_Response = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5362
+ "livekit.SimulationRun.List.Response",
5363
+ () => [
5364
+ { no: 1, name: "runs", kind: "message", T: SimulationRun, repeated: true },
5365
+ { no: 2, name: "next_page_token", kind: "message", T: TokenPagination }
5366
+ ],
5367
+ { localName: "SimulationRun_List_Response" }
5368
+ );
5369
+ const SimulationRun_Cancel = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5370
+ "livekit.SimulationRun.Cancel",
5371
+ [],
5372
+ { localName: "SimulationRun_Cancel" }
5373
+ );
5374
+ const SimulationRun_Cancel_Request = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5375
+ "livekit.SimulationRun.Cancel.Request",
5376
+ () => [
5377
+ {
5378
+ no: 1,
5379
+ name: "project_id",
5380
+ kind: "scalar",
5381
+ T: 9
5382
+ /* ScalarType.STRING */
5383
+ },
5384
+ {
5385
+ no: 2,
5386
+ name: "simulation_run_id",
5387
+ kind: "scalar",
5388
+ T: 9
5389
+ /* ScalarType.STRING */
5390
+ }
5391
+ ],
5392
+ { localName: "SimulationRun_Cancel_Request" }
5393
+ );
5394
+ const SimulationRun_Cancel_Response = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5395
+ "livekit.SimulationRun.Cancel.Response",
5396
+ [],
5397
+ { localName: "SimulationRun_Cancel_Response" }
5398
+ );
5399
+ const SimulationRun_Usage = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5400
+ "livekit.SimulationRun.Usage",
5401
+ () => [
5402
+ {
5403
+ no: 1,
5404
+ name: "text_turns_count",
5405
+ kind: "scalar",
5406
+ T: 5
5407
+ /* ScalarType.INT32 */
5408
+ },
5409
+ {
5410
+ no: 2,
5411
+ name: "audio_turns_count",
5412
+ kind: "scalar",
5413
+ T: 5
5414
+ /* ScalarType.INT32 */
5415
+ }
5416
+ ],
5417
+ { localName: "SimulationRun_Usage" }
5418
+ );
5419
+ const Scenario = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5420
+ "livekit.Scenario",
5421
+ () => [
5422
+ {
5423
+ no: 1,
5424
+ name: "label",
5425
+ kind: "scalar",
5426
+ T: 9
5427
+ /* ScalarType.STRING */
5428
+ },
5429
+ {
5430
+ no: 2,
5431
+ name: "instructions",
5432
+ kind: "scalar",
5433
+ T: 9
5434
+ /* ScalarType.STRING */
5435
+ },
5436
+ {
5437
+ no: 3,
5438
+ name: "agent_expectations",
5439
+ kind: "scalar",
5440
+ T: 9
5441
+ /* ScalarType.STRING */
5442
+ },
5443
+ { no: 4, name: "tags", kind: "map", K: 9, V: {
5444
+ kind: "scalar",
5445
+ T: 9
5446
+ /* ScalarType.STRING */
5447
+ } },
5448
+ {
5449
+ no: 5,
5450
+ name: "userdata",
5451
+ kind: "scalar",
5452
+ T: 9
5453
+ /* ScalarType.STRING */
5454
+ }
5455
+ ]
5456
+ );
5457
+ const Scenario_CreateFromSession = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5458
+ "livekit.Scenario.CreateFromSession",
5459
+ [],
5460
+ { localName: "Scenario_CreateFromSession" }
5461
+ );
5462
+ const Scenario_CreateFromSession_Request = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5463
+ "livekit.Scenario.CreateFromSession.Request",
5464
+ () => [
5465
+ {
5466
+ no: 1,
5467
+ name: "project_id",
5468
+ kind: "scalar",
5469
+ T: 9
5470
+ /* ScalarType.STRING */
5471
+ },
5472
+ {
5473
+ no: 2,
5474
+ name: "room_id",
5475
+ kind: "scalar",
5476
+ T: 9
5477
+ /* ScalarType.STRING */
5478
+ },
5479
+ {
5480
+ no: 3,
5481
+ name: "region",
5482
+ kind: "scalar",
5483
+ T: 9
5484
+ /* ScalarType.STRING */
5485
+ }
5486
+ ],
5487
+ { localName: "Scenario_CreateFromSession_Request" }
5488
+ );
5489
+ const Scenario_CreateFromSession_Response = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5490
+ "livekit.Scenario.CreateFromSession.Response",
5491
+ () => [
5492
+ { no: 1, name: "scenario", kind: "message", T: Scenario }
5493
+ ],
5494
+ { localName: "Scenario_CreateFromSession_Response" }
5495
+ );
5496
+ const ScenarioGroup = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5497
+ "livekit.ScenarioGroup",
5498
+ () => [
5499
+ {
5500
+ no: 1,
5501
+ name: "name",
5502
+ kind: "scalar",
5503
+ T: 9
5504
+ /* ScalarType.STRING */
5505
+ },
5506
+ { no: 2, name: "scenarios", kind: "message", T: Scenario, repeated: true }
5507
+ ]
5508
+ );
5509
+ const SimulationDispatch = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5510
+ "livekit.SimulationDispatch",
5511
+ () => [
5512
+ {
5513
+ no: 1,
5514
+ name: "simulation_run_id",
5515
+ kind: "scalar",
5516
+ T: 9
5517
+ /* ScalarType.STRING */
5518
+ },
5519
+ {
5520
+ no: 2,
5521
+ name: "job_id",
5522
+ kind: "scalar",
5523
+ T: 9
5524
+ /* ScalarType.STRING */
5525
+ },
5526
+ { no: 3, name: "scenario", kind: "message", T: Scenario },
5527
+ { no: 4, name: "mode", kind: "enum", T: protobuf.proto3.getEnumType(SimulationMode) }
5528
+ ]
5529
+ );
5530
+
4765
5531
  const AudioChannel = /* @__PURE__ */ protobuf.proto3.makeEnum(
4766
5532
  "livekit.AudioChannel",
4767
5533
  [
@@ -11112,7 +11878,7 @@ const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
11112
11878
  ]
11113
11879
  );
11114
11880
 
11115
- const version = "1.50.1";
11881
+ const version = "1.50.2";
11116
11882
 
11117
11883
  exports.Timestamp = protobuf.Timestamp;
11118
11884
  exports.protoInt64 = protobuf.protoInt64;
@@ -11387,6 +12153,11 @@ exports.SIPTransport = SIPTransport;
11387
12153
  exports.SIPTrunkInfo = SIPTrunkInfo;
11388
12154
  exports.SIPTrunkInfo_TrunkKind = SIPTrunkInfo_TrunkKind;
11389
12155
  exports.SIPUri = SIPUri;
12156
+ exports.Scenario = Scenario;
12157
+ exports.ScenarioGroup = ScenarioGroup;
12158
+ exports.Scenario_CreateFromSession = Scenario_CreateFromSession;
12159
+ exports.Scenario_CreateFromSession_Request = Scenario_CreateFromSession_Request;
12160
+ exports.Scenario_CreateFromSession_Response = Scenario_CreateFromSession_Response;
11390
12161
  exports.SegmentedFileOutput = SegmentedFileOutput;
11391
12162
  exports.SegmentedFileProtocol = SegmentedFileProtocol;
11392
12163
  exports.SegmentedFileSuffix = SegmentedFileSuffix;
@@ -11402,6 +12173,39 @@ exports.SignalResponse = SignalResponse;
11402
12173
  exports.SignalTarget = SignalTarget;
11403
12174
  exports.SimulateJobRequest = SimulateJobRequest;
11404
12175
  exports.SimulateScenario = SimulateScenario;
12176
+ exports.SimulationDispatch = SimulationDispatch;
12177
+ exports.SimulationMode = SimulationMode;
12178
+ exports.SimulationRun = SimulationRun;
12179
+ exports.SimulationRunSummary = SimulationRunSummary;
12180
+ exports.SimulationRunSummary_Issue = SimulationRunSummary_Issue;
12181
+ exports.SimulationRun_Cancel = SimulationRun_Cancel;
12182
+ exports.SimulationRun_Cancel_Request = SimulationRun_Cancel_Request;
12183
+ exports.SimulationRun_Cancel_Response = SimulationRun_Cancel_Response;
12184
+ exports.SimulationRun_ConfirmSourceUpload = SimulationRun_ConfirmSourceUpload;
12185
+ exports.SimulationRun_ConfirmSourceUpload_Request = SimulationRun_ConfirmSourceUpload_Request;
12186
+ exports.SimulationRun_ConfirmSourceUpload_Response = SimulationRun_ConfirmSourceUpload_Response;
12187
+ exports.SimulationRun_Create = SimulationRun_Create;
12188
+ exports.SimulationRun_Create_Request = SimulationRun_Create_Request;
12189
+ exports.SimulationRun_Create_Response = SimulationRun_Create_Response;
12190
+ exports.SimulationRun_Get = SimulationRun_Get;
12191
+ exports.SimulationRun_Get_Request = SimulationRun_Get_Request;
12192
+ exports.SimulationRun_Get_Response = SimulationRun_Get_Response;
12193
+ exports.SimulationRun_Job = SimulationRun_Job;
12194
+ exports.SimulationRun_JobMetrics = SimulationRun_JobMetrics;
12195
+ exports.SimulationRun_JobMetrics_Conversation = SimulationRun_JobMetrics_Conversation;
12196
+ exports.SimulationRun_JobMetrics_LLM = SimulationRun_JobMetrics_LLM;
12197
+ exports.SimulationRun_JobMetrics_STT = SimulationRun_JobMetrics_STT;
12198
+ exports.SimulationRun_JobMetrics_Simulator = SimulationRun_JobMetrics_Simulator;
12199
+ exports.SimulationRun_JobMetrics_TTS = SimulationRun_JobMetrics_TTS;
12200
+ exports.SimulationRun_JobMetrics_Turn = SimulationRun_JobMetrics_Turn;
12201
+ exports.SimulationRun_Job_Status = SimulationRun_Job_Status;
12202
+ exports.SimulationRun_Job_Usage = SimulationRun_Job_Usage;
12203
+ exports.SimulationRun_List = SimulationRun_List;
12204
+ exports.SimulationRun_List_Request = SimulationRun_List_Request;
12205
+ exports.SimulationRun_List_Response = SimulationRun_List_Response;
12206
+ exports.SimulationRun_RunMetrics = SimulationRun_RunMetrics;
12207
+ exports.SimulationRun_Status = SimulationRun_Status;
12208
+ exports.SimulationRun_Usage = SimulationRun_Usage;
11405
12209
  exports.SimulcastCodec = SimulcastCodec;
11406
12210
  exports.SimulcastCodecInfo = SimulcastCodecInfo;
11407
12211
  exports.SipDTMF = SipDTMF;