@livekit/protocol 1.50.4 → 1.52.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +264 -100
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +862 -256
- package/dist/index.d.mts +862 -256
- package/dist/index.d.ts +862 -256
- package/dist/index.mjs +256 -99
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/gen/livekit_agent_simulation_pb.d.ts +487 -204
- package/src/gen/livekit_agent_simulation_pb.js +131 -53
- package/src/gen/livekit_agentdb_pb.d.ts +1126 -0
- package/src/gen/livekit_agentdb_pb.js +447 -0
- package/src/gen/livekit_analytics_pb.d.ts +13 -1
- package/src/gen/livekit_analytics_pb.js +3 -1
- package/src/gen/livekit_egress_pb.d.ts +7 -44
- package/src/gen/livekit_egress_pb.js +1 -14
- package/src/gen/livekit_models_pb.d.ts +52 -0
- package/src/gen/livekit_models_pb.js +18 -0
- package/src/gen/livekit_phone_number_pb.d.ts +86 -1
- package/src/gen/livekit_phone_number_pb.js +29 -0
- package/src/gen/livekit_room_pb.d.ts +1 -1
- package/src/gen/livekit_rtc_pb.d.ts +5 -0
- package/src/gen/livekit_rtc_pb.js +1 -0
- package/src/gen/livekit_sip_pb.d.ts +160 -1
- package/src/gen/livekit_sip_pb.js +49 -0
- package/src/gen/livekit_webhook_pb.d.ts +17 -2
- package/src/gen/livekit_webhook_pb.js +4 -1
- package/src/gen/version.js +1 -1
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
/* eslint-disable */
|
|
18
18
|
// @ts-nocheck
|
|
19
19
|
|
|
20
|
-
import { proto3, Timestamp } from "@bufbuild/protobuf";
|
|
20
|
+
import { Duration, proto3, Timestamp } from "@bufbuild/protobuf";
|
|
21
21
|
import { ChatContext, ChatRole } from "./agent/livekit_agent_session_pb.js";
|
|
22
22
|
import { PresignedPostRequest } from "./livekit_cloud_agent_pb.js";
|
|
23
23
|
import { TokenPagination } from "./livekit_models_pb.js";
|
|
@@ -89,6 +89,8 @@ export const SimulationRun = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
89
89
|
{ no: 18, name: "mode", kind: "enum", T: proto3.getEnumType(SimulationMode) },
|
|
90
90
|
{ no: 19, name: "metrics", kind: "message", T: SimulationRun_RunMetrics },
|
|
91
91
|
{ no: 20, name: "summary_zstd", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
92
|
+
{ no: 21, name: "issue_count", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
93
|
+
{ no: 22, name: "ci", kind: "message", T: SimulationRun_CI, opt: true },
|
|
92
94
|
],
|
|
93
95
|
);
|
|
94
96
|
|
|
@@ -163,19 +165,22 @@ export const SimulationRun_Job_Usage = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
163
165
|
export const SimulationRun_JobMetrics = /*@__PURE__*/ proto3.makeMessageType(
|
|
164
166
|
"livekit.SimulationRun.JobMetrics",
|
|
165
167
|
() => [
|
|
166
|
-
{ no: 1, name: "accuracy_score", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
167
|
-
{ no: 2, name: "experience_score", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
168
168
|
{ no: 3, name: "task_completion", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
169
|
+
{ no: 20, name: "overall_score", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
169
170
|
{ no: 4, name: "stt", kind: "message", T: SimulationRun_JobMetrics_STT },
|
|
170
171
|
{ no: 5, name: "llm", kind: "message", T: SimulationRun_JobMetrics_LLM },
|
|
171
172
|
{ no: 6, name: "tts", kind: "message", T: SimulationRun_JobMetrics_TTS },
|
|
172
173
|
{ no: 7, name: "conversation", kind: "message", T: SimulationRun_JobMetrics_Conversation },
|
|
173
|
-
{ no: 8, name: "simulator", kind: "message", T: SimulationRun_JobMetrics_Simulator },
|
|
174
174
|
{ no: 9, name: "turns", kind: "message", T: SimulationRun_JobMetrics_Turn, repeated: true },
|
|
175
175
|
{ no: 10, name: "judge_model", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
176
|
-
{ no: 11, name: "audio_judge_model", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
177
176
|
{ no: 12, name: "has_remote_session", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
178
177
|
{ no: 13, name: "t0", kind: "message", T: Timestamp },
|
|
178
|
+
{ no: 14, name: "conciseness", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
179
|
+
{ no: 15, name: "unnecessary_tool_calls", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
180
|
+
{ no: 16, name: "information_loss", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
181
|
+
{ no: 17, name: "redundant_statements", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
182
|
+
{ no: 18, name: "poor_question_quality", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
183
|
+
{ no: 19, name: "conversation_progression", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
179
184
|
],
|
|
180
185
|
{localName: "SimulationRun_JobMetrics"},
|
|
181
186
|
);
|
|
@@ -194,10 +199,13 @@ export const SimulationRun_JobMetrics_STT = /*@__PURE__*/ proto3.makeMessageType
|
|
|
194
199
|
{ no: 4, name: "cer", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
195
200
|
{ no: 9, name: "chars", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
196
201
|
{ no: 10, name: "char_errors", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
197
|
-
{ no:
|
|
198
|
-
{ no:
|
|
199
|
-
{ no:
|
|
200
|
-
{ no:
|
|
202
|
+
{ no: 8, name: "stt_delay_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
203
|
+
{ no: 11, name: "entity_recognition", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
204
|
+
{ no: 12, name: "entities_uttered", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
205
|
+
{ no: 13, name: "entities_recognized", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
206
|
+
{ no: 14, name: "entity_recall", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
207
|
+
{ no: 15, name: "entities_acquired_uttered", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
208
|
+
{ no: 16, name: "entities_acquired_recognized", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
201
209
|
],
|
|
202
210
|
{localName: "SimulationRun_JobMetrics_STT"},
|
|
203
211
|
);
|
|
@@ -211,20 +219,18 @@ export const SimulationRun_JobMetrics_LLM = /*@__PURE__*/ proto3.makeMessageType
|
|
|
211
219
|
{ no: 1, name: "ttft_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
212
220
|
{ no: 2, name: "ttfs_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
213
221
|
{ no: 3, name: "tokens_per_second", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
214
|
-
{ no: 4, name: "conciseness_score", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
215
222
|
],
|
|
216
223
|
{localName: "SimulationRun_JobMetrics_LLM"},
|
|
217
224
|
);
|
|
218
225
|
|
|
219
226
|
/**
|
|
220
|
-
* The agent's voice.
|
|
227
|
+
* The agent's voice. Audio only.
|
|
221
228
|
*
|
|
222
229
|
* @generated from message livekit.SimulationRun.JobMetrics.TTS
|
|
223
230
|
*/
|
|
224
231
|
export const SimulationRun_JobMetrics_TTS = /*@__PURE__*/ proto3.makeMessageType(
|
|
225
232
|
"livekit.SimulationRun.JobMetrics.TTS",
|
|
226
233
|
() => [
|
|
227
|
-
{ no: 1, name: "ttfa_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
228
234
|
{ no: 2, name: "ttfb_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
229
235
|
{ no: 3, name: "wer", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
230
236
|
{ no: 7, name: "words", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
@@ -232,11 +238,12 @@ export const SimulationRun_JobMetrics_TTS = /*@__PURE__*/ proto3.makeMessageType
|
|
|
232
238
|
{ no: 9, name: "cer", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
233
239
|
{ no: 10, name: "chars", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
234
240
|
{ no: 11, name: "char_errors", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
235
|
-
{ no:
|
|
236
|
-
{ no:
|
|
237
|
-
{ no:
|
|
238
|
-
{ no:
|
|
239
|
-
{ no:
|
|
241
|
+
{ no: 14, name: "entity_recognition", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
242
|
+
{ no: 15, name: "entities_uttered", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
243
|
+
{ no: 16, name: "entities_recognized", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
244
|
+
{ no: 17, name: "entity_recall", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
245
|
+
{ no: 18, name: "entities_acquired_uttered", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
246
|
+
{ no: 19, name: "entities_acquired_recognized", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
240
247
|
],
|
|
241
248
|
{localName: "SimulationRun_JobMetrics_TTS"},
|
|
242
249
|
);
|
|
@@ -250,43 +257,25 @@ export const SimulationRun_JobMetrics_Conversation = /*@__PURE__*/ proto3.makeMe
|
|
|
250
257
|
"livekit.SimulationRun.JobMetrics.Conversation",
|
|
251
258
|
() => [
|
|
252
259
|
{ no: 1, name: "turn_taking_score", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
253
|
-
{ no: 2, name: "
|
|
254
|
-
{ no: 3, name: "
|
|
255
|
-
{ no: 4, name: "
|
|
256
|
-
{ no:
|
|
257
|
-
{ no: 5, name: "agent_yield_latency_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
260
|
+
{ no: 2, name: "heard_e2e_latency_p50_ms", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
261
|
+
{ no: 3, name: "heard_e2e_latency_p95_ms", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
262
|
+
{ no: 4, name: "heard_e2e_latency_p99_ms", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
263
|
+
{ no: 5, name: "time_to_yield_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
258
264
|
{ no: 6, name: "eot_misprediction_count", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
259
265
|
{ no: 7, name: "overlap_ratio", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
260
266
|
{ no: 8, name: "overlap_speech_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
261
267
|
{ no: 9, name: "total_speech_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
262
|
-
{ no: 10, name: "silence_total_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
263
268
|
{ no: 11, name: "awkward_silence_count", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
264
|
-
{ no: 12, name: "
|
|
269
|
+
{ no: 12, name: "unanswered_turns", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
265
270
|
{ no: 13, name: "false_interruption_count", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
266
|
-
{ no:
|
|
267
|
-
{ no: 15, name: "agent_reported_e2e_latency_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
271
|
+
{ no: 15, name: "e2e_latency_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
268
272
|
],
|
|
269
273
|
{localName: "SimulationRun_JobMetrics_Conversation"},
|
|
270
274
|
);
|
|
271
275
|
|
|
272
276
|
/**
|
|
273
|
-
*
|
|
274
|
-
*
|
|
275
|
-
* from the two headline scores.
|
|
276
|
-
*
|
|
277
|
-
* @generated from message livekit.SimulationRun.JobMetrics.Simulator
|
|
278
|
-
*/
|
|
279
|
-
export const SimulationRun_JobMetrics_Simulator = /*@__PURE__*/ proto3.makeMessageType(
|
|
280
|
-
"livekit.SimulationRun.JobMetrics.Simulator",
|
|
281
|
-
() => [
|
|
282
|
-
{ no: 1, name: "early_termination", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
283
|
-
{ no: 2, name: "late_termination", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
284
|
-
],
|
|
285
|
-
{localName: "SimulationRun_JobMetrics_Simulator"},
|
|
286
|
-
);
|
|
287
|
-
|
|
288
|
-
/**
|
|
289
|
-
* Rows exist for text and audio;
|
|
277
|
+
* Rows exist for text and audio. The groups above hold the means and pools
|
|
278
|
+
* over these; anything not measured for a turn stays unset.
|
|
290
279
|
*
|
|
291
280
|
* @generated from message livekit.SimulationRun.JobMetrics.Turn
|
|
292
281
|
*/
|
|
@@ -297,36 +286,63 @@ export const SimulationRun_JobMetrics_Turn = /*@__PURE__*/ proto3.makeMessageTyp
|
|
|
297
286
|
{ no: 2, name: "role", kind: "enum", T: proto3.getEnumType(ChatRole) },
|
|
298
287
|
{ no: 3, name: "start_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
299
288
|
{ no: 4, name: "end_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
300
|
-
{ no: 5, name: "
|
|
301
|
-
{ no: 6, name: "
|
|
302
|
-
{ no: 7, name: "
|
|
303
|
-
{ no: 8, name: "
|
|
289
|
+
{ no: 5, name: "stt_delay_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
290
|
+
{ no: 6, name: "llm_ttft_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
291
|
+
{ no: 7, name: "llm_ttfs_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
292
|
+
{ no: 8, name: "llm_tps", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
293
|
+
{ no: 9, name: "tts_ttfb_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
294
|
+
{ no: 10, name: "e2e_latency_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
295
|
+
{ no: 11, name: "heard_e2e_latency_ms", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
296
|
+
{ no: 12, name: "time_to_yield_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
297
|
+
{ no: 13, name: "turn_taking_score", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
298
|
+
{ no: 14, name: "conciseness", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
299
|
+
{ no: 15, name: "eot_misprediction", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
300
|
+
{ no: 16, name: "awkward_silence", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
301
|
+
{ no: 17, name: "unanswered", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
304
302
|
],
|
|
305
303
|
{localName: "SimulationRun_JobMetrics_Turn"},
|
|
306
304
|
);
|
|
307
305
|
|
|
308
306
|
/**
|
|
309
|
-
* Aggregates over this run's jobs
|
|
307
|
+
* Aggregates over this run's jobs, so a run summary does not have to pull
|
|
308
|
+
* every job and turn. Reuses the JobMetrics group shapes.
|
|
310
309
|
*
|
|
311
310
|
* @generated from message livekit.SimulationRun.RunMetrics
|
|
312
311
|
*/
|
|
313
312
|
export const SimulationRun_RunMetrics = /*@__PURE__*/ proto3.makeMessageType(
|
|
314
313
|
"livekit.SimulationRun.RunMetrics",
|
|
315
314
|
() => [
|
|
316
|
-
{ no: 1, name: "accuracy_score", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
317
|
-
{ no: 2, name: "experience_score", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
318
315
|
{ no: 3, name: "scenario_pass_rate", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
316
|
+
{ no: 10, name: "overall_score", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
319
317
|
{ no: 4, name: "stt", kind: "message", T: SimulationRun_JobMetrics_STT },
|
|
320
318
|
{ no: 5, name: "llm", kind: "message", T: SimulationRun_JobMetrics_LLM },
|
|
321
319
|
{ no: 6, name: "tts", kind: "message", T: SimulationRun_JobMetrics_TTS },
|
|
322
320
|
{ no: 7, name: "conversation", kind: "message", T: SimulationRun_JobMetrics_Conversation },
|
|
323
|
-
{ no:
|
|
324
|
-
{ no:
|
|
325
|
-
{ no: 11, name: "jobs_simulator_fault", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
321
|
+
{ no: 8, name: "conciseness", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
322
|
+
{ no: 9, name: "conversation_progression", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
326
323
|
],
|
|
327
324
|
{localName: "SimulationRun_RunMetrics"},
|
|
328
325
|
);
|
|
329
326
|
|
|
327
|
+
/**
|
|
328
|
+
* The pipeline this run came from. Set by the client from its CI
|
|
329
|
+
* environment; absent for runs not started by a pipeline.
|
|
330
|
+
*
|
|
331
|
+
* @generated from message livekit.SimulationRun.CI
|
|
332
|
+
*/
|
|
333
|
+
export const SimulationRun_CI = /*@__PURE__*/ proto3.makeMessageType(
|
|
334
|
+
"livekit.SimulationRun.CI",
|
|
335
|
+
() => [
|
|
336
|
+
{ no: 1, name: "provider", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
337
|
+
{ no: 2, name: "commit_sha", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
338
|
+
{ no: 3, name: "ref", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
339
|
+
{ no: 4, name: "pull_request", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
340
|
+
{ no: 5, name: "run_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
341
|
+
{ no: 6, name: "actor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
342
|
+
],
|
|
343
|
+
{localName: "SimulationRun_CI"},
|
|
344
|
+
);
|
|
345
|
+
|
|
330
346
|
/**
|
|
331
347
|
* @generated from message livekit.SimulationRun.Create
|
|
332
348
|
*/
|
|
@@ -349,6 +365,10 @@ export const SimulationRun_Create_Request = /*@__PURE__*/ proto3.makeMessageType
|
|
|
349
365
|
{ no: 7, name: "scenario_group", kind: "message", T: ScenarioGroup, opt: true },
|
|
350
366
|
{ no: 8, name: "concurrency", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
351
367
|
{ no: 9, name: "mode", kind: "enum", T: proto3.getEnumType(SimulationMode) },
|
|
368
|
+
{ no: 10, name: "background_noise", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
369
|
+
{ no: 11, name: "low_quality_microphone", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
370
|
+
{ no: 12, name: "packet_loss", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
371
|
+
{ no: 13, name: "ci", kind: "message", T: SimulationRun_CI, opt: true },
|
|
352
372
|
],
|
|
353
373
|
{localName: "SimulationRun_Create_Request"},
|
|
354
374
|
);
|
|
@@ -446,6 +466,10 @@ export const SimulationRun_List_Request = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
446
466
|
{ no: 1, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
447
467
|
{ no: 2, name: "status", kind: "enum", T: proto3.getEnumType(SimulationRun_Status), opt: true },
|
|
448
468
|
{ no: 3, name: "page_token", kind: "message", T: TokenPagination, opt: true },
|
|
469
|
+
{ no: 4, name: "start_time", kind: "message", T: Timestamp, opt: true },
|
|
470
|
+
{ no: 5, name: "end_time", kind: "message", T: Timestamp, opt: true },
|
|
471
|
+
{ no: 6, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
472
|
+
{ no: 7, name: "mode", kind: "enum", T: proto3.getEnumType(SimulationMode), opt: true },
|
|
449
473
|
],
|
|
450
474
|
{localName: "SimulationRun_List_Request"},
|
|
451
475
|
);
|
|
@@ -462,6 +486,58 @@ export const SimulationRun_List_Response = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
462
486
|
{localName: "SimulationRun_List_Response"},
|
|
463
487
|
);
|
|
464
488
|
|
|
489
|
+
/**
|
|
490
|
+
* Counts of the runs `List` would return over the same window, bucketed by
|
|
491
|
+
* created_at instead of paginated.
|
|
492
|
+
*
|
|
493
|
+
* @generated from message livekit.SimulationRun.Counts
|
|
494
|
+
*/
|
|
495
|
+
export const SimulationRun_Counts = /*@__PURE__*/ proto3.makeMessageType(
|
|
496
|
+
"livekit.SimulationRun.Counts",
|
|
497
|
+
[],
|
|
498
|
+
{localName: "SimulationRun_Counts"},
|
|
499
|
+
);
|
|
500
|
+
|
|
501
|
+
/**
|
|
502
|
+
* @generated from message livekit.SimulationRun.Counts.Request
|
|
503
|
+
*/
|
|
504
|
+
export const SimulationRun_Counts_Request = /*@__PURE__*/ proto3.makeMessageType(
|
|
505
|
+
"livekit.SimulationRun.Counts.Request",
|
|
506
|
+
() => [
|
|
507
|
+
{ no: 1, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
508
|
+
{ no: 2, name: "start_time", kind: "message", T: Timestamp },
|
|
509
|
+
{ no: 3, name: "end_time", kind: "message", T: Timestamp },
|
|
510
|
+
{ no: 4, name: "status", kind: "enum", T: proto3.getEnumType(SimulationRun_Status), opt: true },
|
|
511
|
+
{ no: 5, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
512
|
+
{ no: 6, name: "mode", kind: "enum", T: proto3.getEnumType(SimulationMode), opt: true },
|
|
513
|
+
],
|
|
514
|
+
{localName: "SimulationRun_Counts_Request"},
|
|
515
|
+
);
|
|
516
|
+
|
|
517
|
+
/**
|
|
518
|
+
* @generated from message livekit.SimulationRun.Counts.Response
|
|
519
|
+
*/
|
|
520
|
+
export const SimulationRun_Counts_Response = /*@__PURE__*/ proto3.makeMessageType(
|
|
521
|
+
"livekit.SimulationRun.Counts.Response",
|
|
522
|
+
() => [
|
|
523
|
+
{ no: 1, name: "buckets", kind: "message", T: SimulationRun_Counts_Bucket, repeated: true },
|
|
524
|
+
{ no: 2, name: "interval", kind: "message", T: Duration },
|
|
525
|
+
],
|
|
526
|
+
{localName: "SimulationRun_Counts_Response"},
|
|
527
|
+
);
|
|
528
|
+
|
|
529
|
+
/**
|
|
530
|
+
* @generated from message livekit.SimulationRun.Counts.Bucket
|
|
531
|
+
*/
|
|
532
|
+
export const SimulationRun_Counts_Bucket = /*@__PURE__*/ proto3.makeMessageType(
|
|
533
|
+
"livekit.SimulationRun.Counts.Bucket",
|
|
534
|
+
() => [
|
|
535
|
+
{ no: 1, name: "bucket_start", kind: "message", T: Timestamp },
|
|
536
|
+
{ no: 2, name: "count", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
537
|
+
],
|
|
538
|
+
{localName: "SimulationRun_Counts_Bucket"},
|
|
539
|
+
);
|
|
540
|
+
|
|
465
541
|
/**
|
|
466
542
|
* @generated from message livekit.SimulationRun.Cancel
|
|
467
543
|
*/
|
|
@@ -518,6 +594,7 @@ export const Scenario = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
518
594
|
{ no: 3, name: "agent_expectations", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
519
595
|
{ no: 4, name: "tags", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
520
596
|
{ no: 5, name: "userdata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
597
|
+
{ no: 6, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
521
598
|
],
|
|
522
599
|
);
|
|
523
600
|
|
|
@@ -564,6 +641,7 @@ export const ScenarioGroup = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
564
641
|
() => [
|
|
565
642
|
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
566
643
|
{ no: 2, name: "scenarios", kind: "message", T: Scenario, repeated: true },
|
|
644
|
+
{ no: 3, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
567
645
|
],
|
|
568
646
|
);
|
|
569
647
|
|