@livekit/protocol 1.46.5 → 1.46.7
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 +183 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +387 -1
- package/dist/index.d.mts +387 -1
- package/dist/index.d.ts +387 -1
- package/dist/index.mjs +183 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/agent/livekit_agent_inference_pb.d.ts +17 -0
- package/src/gen/agent/livekit_agent_inference_pb.js +3 -0
- package/src/gen/agent/livekit_agent_session_pb.d.ts +349 -0
- package/src/gen/agent/livekit_agent_session_pb.js +137 -0
- package/src/gen/livekit_agent_simulation_pb.d.ts +85 -693
- package/src/gen/livekit_agent_simulation_pb.js +40 -283
- package/src/gen/livekit_internal_pb.d.ts +35 -0
- package/src/gen/livekit_internal_pb.js +7 -0
- package/src/gen/version.js +1 -1
|
@@ -22,6 +22,20 @@ import { ChatContext } 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";
|
|
24
24
|
|
|
25
|
+
/**
|
|
26
|
+
* How the simulated user interacts with the agent under test.
|
|
27
|
+
*
|
|
28
|
+
* @generated from enum livekit.SimulationMode
|
|
29
|
+
*/
|
|
30
|
+
export const SimulationMode = /*@__PURE__*/ proto3.makeEnum(
|
|
31
|
+
"livekit.SimulationMode",
|
|
32
|
+
[
|
|
33
|
+
{no: 0, name: "SIMULATION_MODE_UNSPECIFIED", localName: "UNSPECIFIED"},
|
|
34
|
+
{no: 1, name: "SIMULATION_MODE_TEXT", localName: "TEXT"},
|
|
35
|
+
{no: 2, name: "SIMULATION_MODE_AUDIO", localName: "AUDIO"},
|
|
36
|
+
],
|
|
37
|
+
);
|
|
38
|
+
|
|
25
39
|
/**
|
|
26
40
|
* @generated from message livekit.SimulationRunSummary
|
|
27
41
|
*/
|
|
@@ -72,6 +86,7 @@ export const SimulationRun = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
72
86
|
{ no: 14, name: "failed_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
73
87
|
{ no: 15, name: "num_simulations", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
74
88
|
{ no: 16, name: "usage", kind: "message", T: SimulationRun_Usage },
|
|
89
|
+
{ no: 17, name: "concurrency", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
75
90
|
],
|
|
76
91
|
);
|
|
77
92
|
|
|
@@ -105,7 +120,6 @@ export const SimulationRun_Job = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
105
120
|
{ no: 6, name: "label", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
106
121
|
{ no: 7, name: "tags", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
107
122
|
{ no: 8, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
108
|
-
{ no: 9, name: "scenario_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
109
123
|
{ no: 10, name: "started_at", kind: "message", T: Timestamp },
|
|
110
124
|
{ no: 11, name: "ended_at", kind: "message", T: Timestamp },
|
|
111
125
|
{ no: 12, name: "room_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
@@ -149,31 +163,6 @@ export const SimulationRun_Create = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
149
163
|
{localName: "SimulationRun_Create"},
|
|
150
164
|
);
|
|
151
165
|
|
|
152
|
-
/**
|
|
153
|
-
* @generated from message livekit.SimulationRun.Create.Scenario
|
|
154
|
-
*/
|
|
155
|
-
export const SimulationRun_Create_Scenario = /*@__PURE__*/ proto3.makeMessageType(
|
|
156
|
-
"livekit.SimulationRun.Create.Scenario",
|
|
157
|
-
() => [
|
|
158
|
-
{ no: 1, name: "instructions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
159
|
-
{ no: 2, name: "agent_expectations", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
160
|
-
{ no: 3, name: "metadata", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
161
|
-
{ no: 4, name: "label", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
162
|
-
],
|
|
163
|
-
{localName: "SimulationRun_Create_Scenario"},
|
|
164
|
-
);
|
|
165
|
-
|
|
166
|
-
/**
|
|
167
|
-
* @generated from message livekit.SimulationRun.Create.Scenarios
|
|
168
|
-
*/
|
|
169
|
-
export const SimulationRun_Create_Scenarios = /*@__PURE__*/ proto3.makeMessageType(
|
|
170
|
-
"livekit.SimulationRun.Create.Scenarios",
|
|
171
|
-
() => [
|
|
172
|
-
{ no: 1, name: "scenarios", kind: "message", T: SimulationRun_Create_Scenario, repeated: true },
|
|
173
|
-
],
|
|
174
|
-
{localName: "SimulationRun_Create_Scenarios"},
|
|
175
|
-
);
|
|
176
|
-
|
|
177
166
|
/**
|
|
178
167
|
* @generated from message livekit.SimulationRun.Create.Request
|
|
179
168
|
*/
|
|
@@ -182,11 +171,10 @@ export const SimulationRun_Create_Request = /*@__PURE__*/ proto3.makeMessageType
|
|
|
182
171
|
() => [
|
|
183
172
|
{ no: 1, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
184
173
|
{ no: 2, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
185
|
-
{ no: 3, name: "agent_description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
186
174
|
{ no: 4, name: "num_simulations", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
187
175
|
{ no: 6, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
188
|
-
{ no: 7, name: "
|
|
189
|
-
{ no:
|
|
176
|
+
{ no: 7, name: "scenario_group", kind: "message", T: ScenarioGroup, opt: true },
|
|
177
|
+
{ no: 8, name: "concurrency", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
190
178
|
],
|
|
191
179
|
{localName: "SimulationRun_Create_Request"},
|
|
192
180
|
);
|
|
@@ -343,71 +331,20 @@ export const SimulationRun_Usage = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
343
331
|
);
|
|
344
332
|
|
|
345
333
|
/**
|
|
334
|
+
* A single scenario, mirroring one entry in a scenarios.yaml file. Scenarios
|
|
335
|
+
* are no longer stored server-side; the yaml file is the source of truth.
|
|
336
|
+
*
|
|
346
337
|
* @generated from message livekit.Scenario
|
|
347
338
|
*/
|
|
348
339
|
export const Scenario = /*@__PURE__*/ proto3.makeMessageType(
|
|
349
340
|
"livekit.Scenario",
|
|
350
341
|
() => [
|
|
351
|
-
{ no: 1, name: "
|
|
352
|
-
{ no: 2, name: "
|
|
353
|
-
{ no: 3, name: "
|
|
354
|
-
{ no: 4, name: "
|
|
355
|
-
{ no: 5, name: "
|
|
356
|
-
{ no: 6, name: "source_room_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
357
|
-
{ no: 7, name: "created_at", kind: "message", T: Timestamp },
|
|
358
|
-
{ no: 8, name: "status", kind: "enum", T: proto3.getEnumType(Scenario_Status) },
|
|
359
|
-
{ no: 9, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
360
|
-
{ no: 10, name: "group_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
361
|
-
{ no: 11, name: "metadata", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
362
|
-
],
|
|
363
|
-
);
|
|
364
|
-
|
|
365
|
-
/**
|
|
366
|
-
* @generated from enum livekit.Scenario.Status
|
|
367
|
-
*/
|
|
368
|
-
export const Scenario_Status = /*@__PURE__*/ proto3.makeEnum(
|
|
369
|
-
"livekit.Scenario.Status",
|
|
370
|
-
[
|
|
371
|
-
{no: 0, name: "STATUS_GENERATING", localName: "GENERATING"},
|
|
372
|
-
{no: 1, name: "STATUS_READY", localName: "READY"},
|
|
373
|
-
{no: 2, name: "STATUS_FAILED", localName: "FAILED"},
|
|
374
|
-
],
|
|
375
|
-
);
|
|
376
|
-
|
|
377
|
-
/**
|
|
378
|
-
* @generated from message livekit.Scenario.Create
|
|
379
|
-
*/
|
|
380
|
-
export const Scenario_Create = /*@__PURE__*/ proto3.makeMessageType(
|
|
381
|
-
"livekit.Scenario.Create",
|
|
382
|
-
[],
|
|
383
|
-
{localName: "Scenario_Create"},
|
|
384
|
-
);
|
|
385
|
-
|
|
386
|
-
/**
|
|
387
|
-
* @generated from message livekit.Scenario.Create.Request
|
|
388
|
-
*/
|
|
389
|
-
export const Scenario_Create_Request = /*@__PURE__*/ proto3.makeMessageType(
|
|
390
|
-
"livekit.Scenario.Create.Request",
|
|
391
|
-
() => [
|
|
392
|
-
{ no: 1, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
393
|
-
{ no: 2, name: "label", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
394
|
-
{ no: 3, name: "instructions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
395
|
-
{ no: 4, name: "agent_expectations", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
396
|
-
{ no: 5, name: "group_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
397
|
-
{ no: 6, name: "metadata", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
398
|
-
],
|
|
399
|
-
{localName: "Scenario_Create_Request"},
|
|
400
|
-
);
|
|
401
|
-
|
|
402
|
-
/**
|
|
403
|
-
* @generated from message livekit.Scenario.Create.Response
|
|
404
|
-
*/
|
|
405
|
-
export const Scenario_Create_Response = /*@__PURE__*/ proto3.makeMessageType(
|
|
406
|
-
"livekit.Scenario.Create.Response",
|
|
407
|
-
() => [
|
|
408
|
-
{ no: 1, name: "scenario", kind: "message", T: Scenario },
|
|
342
|
+
{ no: 1, name: "label", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
343
|
+
{ no: 2, name: "instructions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
344
|
+
{ no: 3, name: "agent_expectations", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
345
|
+
{ no: 4, name: "tags", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
346
|
+
{ no: 5, name: "userdata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
409
347
|
],
|
|
410
|
-
{localName: "Scenario_Create_Response"},
|
|
411
348
|
);
|
|
412
349
|
|
|
413
350
|
/**
|
|
@@ -427,9 +364,7 @@ export const Scenario_CreateFromSession_Request = /*@__PURE__*/ proto3.makeMessa
|
|
|
427
364
|
() => [
|
|
428
365
|
{ no: 1, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
429
366
|
{ no: 2, name: "room_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
430
|
-
{ no: 3, name: "
|
|
431
|
-
{ no: 4, name: "label", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
432
|
-
{ no: 5, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
367
|
+
{ no: 3, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
433
368
|
],
|
|
434
369
|
{localName: "Scenario_CreateFromSession_Request"},
|
|
435
370
|
);
|
|
@@ -446,209 +381,31 @@ export const Scenario_CreateFromSession_Response = /*@__PURE__*/ proto3.makeMess
|
|
|
446
381
|
);
|
|
447
382
|
|
|
448
383
|
/**
|
|
449
|
-
*
|
|
450
|
-
|
|
451
|
-
export const Scenario_Delete = /*@__PURE__*/ proto3.makeMessageType(
|
|
452
|
-
"livekit.Scenario.Delete",
|
|
453
|
-
[],
|
|
454
|
-
{localName: "Scenario_Delete"},
|
|
455
|
-
);
|
|
456
|
-
|
|
457
|
-
/**
|
|
458
|
-
* @generated from message livekit.Scenario.Delete.Request
|
|
459
|
-
*/
|
|
460
|
-
export const Scenario_Delete_Request = /*@__PURE__*/ proto3.makeMessageType(
|
|
461
|
-
"livekit.Scenario.Delete.Request",
|
|
462
|
-
() => [
|
|
463
|
-
{ no: 1, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
464
|
-
{ no: 2, name: "scenario_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
465
|
-
],
|
|
466
|
-
{localName: "Scenario_Delete_Request"},
|
|
467
|
-
);
|
|
468
|
-
|
|
469
|
-
/**
|
|
470
|
-
* @generated from message livekit.Scenario.Delete.Response
|
|
471
|
-
*/
|
|
472
|
-
export const Scenario_Delete_Response = /*@__PURE__*/ proto3.makeMessageType(
|
|
473
|
-
"livekit.Scenario.Delete.Response",
|
|
474
|
-
[],
|
|
475
|
-
{localName: "Scenario_Delete_Response"},
|
|
476
|
-
);
|
|
477
|
-
|
|
478
|
-
/**
|
|
479
|
-
* @generated from message livekit.Scenario.Update
|
|
480
|
-
*/
|
|
481
|
-
export const Scenario_Update = /*@__PURE__*/ proto3.makeMessageType(
|
|
482
|
-
"livekit.Scenario.Update",
|
|
483
|
-
[],
|
|
484
|
-
{localName: "Scenario_Update"},
|
|
485
|
-
);
|
|
486
|
-
|
|
487
|
-
/**
|
|
488
|
-
* @generated from message livekit.Scenario.Update.Request
|
|
489
|
-
*/
|
|
490
|
-
export const Scenario_Update_Request = /*@__PURE__*/ proto3.makeMessageType(
|
|
491
|
-
"livekit.Scenario.Update.Request",
|
|
492
|
-
() => [
|
|
493
|
-
{ no: 1, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
494
|
-
{ no: 2, name: "scenario_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
495
|
-
{ no: 3, name: "label", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
496
|
-
{ no: 4, name: "instructions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
497
|
-
{ no: 5, name: "agent_expectations", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
498
|
-
{ no: 6, name: "group_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
499
|
-
{ no: 7, name: "metadata", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
500
|
-
],
|
|
501
|
-
{localName: "Scenario_Update_Request"},
|
|
502
|
-
);
|
|
503
|
-
|
|
504
|
-
/**
|
|
505
|
-
* @generated from message livekit.Scenario.Update.Response
|
|
506
|
-
*/
|
|
507
|
-
export const Scenario_Update_Response = /*@__PURE__*/ proto3.makeMessageType(
|
|
508
|
-
"livekit.Scenario.Update.Response",
|
|
509
|
-
() => [
|
|
510
|
-
{ no: 1, name: "scenario", kind: "message", T: Scenario },
|
|
511
|
-
],
|
|
512
|
-
{localName: "Scenario_Update_Response"},
|
|
513
|
-
);
|
|
514
|
-
|
|
515
|
-
/**
|
|
516
|
-
* @generated from message livekit.Scenario.List
|
|
517
|
-
*/
|
|
518
|
-
export const Scenario_List = /*@__PURE__*/ proto3.makeMessageType(
|
|
519
|
-
"livekit.Scenario.List",
|
|
520
|
-
[],
|
|
521
|
-
{localName: "Scenario_List"},
|
|
522
|
-
);
|
|
523
|
-
|
|
524
|
-
/**
|
|
525
|
-
* @generated from message livekit.Scenario.List.Request
|
|
526
|
-
*/
|
|
527
|
-
export const Scenario_List_Request = /*@__PURE__*/ proto3.makeMessageType(
|
|
528
|
-
"livekit.Scenario.List.Request",
|
|
529
|
-
() => [
|
|
530
|
-
{ no: 1, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
531
|
-
{ no: 2, name: "group_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
532
|
-
],
|
|
533
|
-
{localName: "Scenario_List_Request"},
|
|
534
|
-
);
|
|
535
|
-
|
|
536
|
-
/**
|
|
537
|
-
* @generated from message livekit.Scenario.List.Response
|
|
538
|
-
*/
|
|
539
|
-
export const Scenario_List_Response = /*@__PURE__*/ proto3.makeMessageType(
|
|
540
|
-
"livekit.Scenario.List.Response",
|
|
541
|
-
() => [
|
|
542
|
-
{ no: 1, name: "scenarios", kind: "message", T: Scenario, repeated: true },
|
|
543
|
-
],
|
|
544
|
-
{localName: "Scenario_List_Response"},
|
|
545
|
-
);
|
|
546
|
-
|
|
547
|
-
/**
|
|
384
|
+
* A named group of scenarios, mirroring a whole scenarios.yaml file.
|
|
385
|
+
*
|
|
548
386
|
* @generated from message livekit.ScenarioGroup
|
|
549
387
|
*/
|
|
550
388
|
export const ScenarioGroup = /*@__PURE__*/ proto3.makeMessageType(
|
|
551
389
|
"livekit.ScenarioGroup",
|
|
552
390
|
() => [
|
|
553
|
-
{ no: 1, name: "
|
|
554
|
-
{ no: 2, name: "
|
|
555
|
-
{ no: 3, name: "label", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
556
|
-
{ no: 4, name: "created_at", kind: "message", T: Timestamp },
|
|
557
|
-
{ no: 5, name: "scenarios", kind: "message", T: Scenario, repeated: true },
|
|
558
|
-
{ no: 6, name: "scenario_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
391
|
+
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
392
|
+
{ no: 2, name: "scenarios", kind: "message", T: Scenario, repeated: true },
|
|
559
393
|
],
|
|
560
394
|
);
|
|
561
395
|
|
|
562
396
|
/**
|
|
563
|
-
*
|
|
397
|
+
* Carried (protojson-encoded) in the simulation room's metadata so the agent
|
|
398
|
+
* under test can read the scenario + run identity synchronously at connect.
|
|
399
|
+
*
|
|
400
|
+
* @generated from message livekit.SimulationDispatch
|
|
564
401
|
*/
|
|
565
|
-
export const
|
|
566
|
-
"livekit.
|
|
567
|
-
[],
|
|
568
|
-
{localName: "ScenarioGroup_Create"},
|
|
569
|
-
);
|
|
570
|
-
|
|
571
|
-
/**
|
|
572
|
-
* @generated from message livekit.ScenarioGroup.Create.Request
|
|
573
|
-
*/
|
|
574
|
-
export const ScenarioGroup_Create_Request = /*@__PURE__*/ proto3.makeMessageType(
|
|
575
|
-
"livekit.ScenarioGroup.Create.Request",
|
|
402
|
+
export const SimulationDispatch = /*@__PURE__*/ proto3.makeMessageType(
|
|
403
|
+
"livekit.SimulationDispatch",
|
|
576
404
|
() => [
|
|
577
|
-
{ no: 1, name: "
|
|
578
|
-
{ no: 2, name: "
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
);
|
|
582
|
-
|
|
583
|
-
/**
|
|
584
|
-
* @generated from message livekit.ScenarioGroup.Create.Response
|
|
585
|
-
*/
|
|
586
|
-
export const ScenarioGroup_Create_Response = /*@__PURE__*/ proto3.makeMessageType(
|
|
587
|
-
"livekit.ScenarioGroup.Create.Response",
|
|
588
|
-
() => [
|
|
589
|
-
{ no: 1, name: "scenario_group", kind: "message", T: ScenarioGroup },
|
|
590
|
-
],
|
|
591
|
-
{localName: "ScenarioGroup_Create_Response"},
|
|
592
|
-
);
|
|
593
|
-
|
|
594
|
-
/**
|
|
595
|
-
* @generated from message livekit.ScenarioGroup.Delete
|
|
596
|
-
*/
|
|
597
|
-
export const ScenarioGroup_Delete = /*@__PURE__*/ proto3.makeMessageType(
|
|
598
|
-
"livekit.ScenarioGroup.Delete",
|
|
599
|
-
[],
|
|
600
|
-
{localName: "ScenarioGroup_Delete"},
|
|
601
|
-
);
|
|
602
|
-
|
|
603
|
-
/**
|
|
604
|
-
* @generated from message livekit.ScenarioGroup.Delete.Request
|
|
605
|
-
*/
|
|
606
|
-
export const ScenarioGroup_Delete_Request = /*@__PURE__*/ proto3.makeMessageType(
|
|
607
|
-
"livekit.ScenarioGroup.Delete.Request",
|
|
608
|
-
() => [
|
|
609
|
-
{ no: 1, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
610
|
-
{ no: 2, name: "group_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
611
|
-
],
|
|
612
|
-
{localName: "ScenarioGroup_Delete_Request"},
|
|
613
|
-
);
|
|
614
|
-
|
|
615
|
-
/**
|
|
616
|
-
* @generated from message livekit.ScenarioGroup.Delete.Response
|
|
617
|
-
*/
|
|
618
|
-
export const ScenarioGroup_Delete_Response = /*@__PURE__*/ proto3.makeMessageType(
|
|
619
|
-
"livekit.ScenarioGroup.Delete.Response",
|
|
620
|
-
[],
|
|
621
|
-
{localName: "ScenarioGroup_Delete_Response"},
|
|
622
|
-
);
|
|
623
|
-
|
|
624
|
-
/**
|
|
625
|
-
* @generated from message livekit.ScenarioGroup.List
|
|
626
|
-
*/
|
|
627
|
-
export const ScenarioGroup_List = /*@__PURE__*/ proto3.makeMessageType(
|
|
628
|
-
"livekit.ScenarioGroup.List",
|
|
629
|
-
[],
|
|
630
|
-
{localName: "ScenarioGroup_List"},
|
|
631
|
-
);
|
|
632
|
-
|
|
633
|
-
/**
|
|
634
|
-
* @generated from message livekit.ScenarioGroup.List.Request
|
|
635
|
-
*/
|
|
636
|
-
export const ScenarioGroup_List_Request = /*@__PURE__*/ proto3.makeMessageType(
|
|
637
|
-
"livekit.ScenarioGroup.List.Request",
|
|
638
|
-
() => [
|
|
639
|
-
{ no: 1, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
640
|
-
],
|
|
641
|
-
{localName: "ScenarioGroup_List_Request"},
|
|
642
|
-
);
|
|
643
|
-
|
|
644
|
-
/**
|
|
645
|
-
* @generated from message livekit.ScenarioGroup.List.Response
|
|
646
|
-
*/
|
|
647
|
-
export const ScenarioGroup_List_Response = /*@__PURE__*/ proto3.makeMessageType(
|
|
648
|
-
"livekit.ScenarioGroup.List.Response",
|
|
649
|
-
() => [
|
|
650
|
-
{ no: 1, name: "scenario_groups", kind: "message", T: ScenarioGroup, repeated: true },
|
|
405
|
+
{ no: 1, name: "simulation_run_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
406
|
+
{ no: 2, name: "job_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
407
|
+
{ no: 3, name: "scenario", kind: "message", T: Scenario },
|
|
408
|
+
{ no: 4, name: "mode", kind: "enum", T: proto3.getEnumType(SimulationMode) },
|
|
651
409
|
],
|
|
652
|
-
{localName: "ScenarioGroup_List_Response"},
|
|
653
410
|
);
|
|
654
411
|
|
|
@@ -427,6 +427,16 @@ export declare class NodeStats extends Message<NodeStats> {
|
|
|
427
427
|
*/
|
|
428
428
|
participantSignalConnectedPerSec: number;
|
|
429
429
|
|
|
430
|
+
/**
|
|
431
|
+
* @generated from field: uint64 participant_signal_failed = 55;
|
|
432
|
+
*/
|
|
433
|
+
participantSignalFailed: bigint;
|
|
434
|
+
|
|
435
|
+
/**
|
|
436
|
+
* @generated from field: uint64 participant_signal_validation_failed = 56;
|
|
437
|
+
*/
|
|
438
|
+
participantSignalValidationFailed: bigint;
|
|
439
|
+
|
|
430
440
|
/**
|
|
431
441
|
* @generated from field: uint64 participant_rtc_connected = 44;
|
|
432
442
|
*/
|
|
@@ -454,6 +464,11 @@ export declare class NodeStats extends Message<NodeStats> {
|
|
|
454
464
|
*/
|
|
455
465
|
participantRtcCanceled: bigint;
|
|
456
466
|
|
|
467
|
+
/**
|
|
468
|
+
* @generated from field: uint64 participant_rtc_active = 54;
|
|
469
|
+
*/
|
|
470
|
+
participantRtcActive: bigint;
|
|
471
|
+
|
|
457
472
|
/**
|
|
458
473
|
* forward metrics
|
|
459
474
|
*
|
|
@@ -587,6 +602,16 @@ export declare class NodeStatsRate extends Message<NodeStatsRate> {
|
|
|
587
602
|
*/
|
|
588
603
|
participantSignalConnected: number;
|
|
589
604
|
|
|
605
|
+
/**
|
|
606
|
+
* @generated from field: float participant_signal_failed = 28;
|
|
607
|
+
*/
|
|
608
|
+
participantSignalFailed: number;
|
|
609
|
+
|
|
610
|
+
/**
|
|
611
|
+
* @generated from field: float participant_signal_validation_failed = 29;
|
|
612
|
+
*/
|
|
613
|
+
participantSignalValidationFailed: number;
|
|
614
|
+
|
|
590
615
|
/**
|
|
591
616
|
* @generated from field: float participant_rtc_connected = 18;
|
|
592
617
|
*/
|
|
@@ -602,6 +627,11 @@ export declare class NodeStatsRate extends Message<NodeStatsRate> {
|
|
|
602
627
|
*/
|
|
603
628
|
participantRtcCanceled: number;
|
|
604
629
|
|
|
630
|
+
/**
|
|
631
|
+
* @generated from field: float participant_rtc_active = 27;
|
|
632
|
+
*/
|
|
633
|
+
participantRtcActive: number;
|
|
634
|
+
|
|
605
635
|
/**
|
|
606
636
|
* time weighted averages across stats windows forming part of a rate measurement interval
|
|
607
637
|
*
|
|
@@ -756,6 +786,11 @@ export declare class StartSession extends Message<StartSession> {
|
|
|
756
786
|
*/
|
|
757
787
|
useSinglePeerConnection: boolean;
|
|
758
788
|
|
|
789
|
+
/**
|
|
790
|
+
* @generated from field: int64 token_expires_at = 26;
|
|
791
|
+
*/
|
|
792
|
+
tokenExpiresAt: bigint;
|
|
793
|
+
|
|
759
794
|
constructor(data?: PartialMessage<StartSession>);
|
|
760
795
|
|
|
761
796
|
static readonly runtime: typeof proto3;
|
|
@@ -133,11 +133,14 @@ export const NodeStats = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
133
133
|
{ no: 25, name: "retransmit_packets_out_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
134
134
|
{ no: 26, name: "participant_signal_connected", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
135
135
|
{ no: 27, name: "participant_signal_connected_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
136
|
+
{ no: 55, name: "participant_signal_failed", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
137
|
+
{ no: 56, name: "participant_signal_validation_failed", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
136
138
|
{ no: 44, name: "participant_rtc_connected", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
137
139
|
{ no: 45, name: "participant_rtc_connected_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
138
140
|
{ no: 46, name: "participant_rtc_init", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
139
141
|
{ no: 47, name: "participant_rtc_init_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
140
142
|
{ no: 53, name: "participant_rtc_canceled", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
143
|
+
{ no: 54, name: "participant_rtc_active", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
141
144
|
{ no: 48, name: "forward_latency", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
142
145
|
{ no: 49, name: "forward_jitter", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
143
146
|
{ no: 50, name: "rates", kind: "message", T: NodeStatsRate, repeated: true },
|
|
@@ -171,9 +174,12 @@ export const NodeStatsRate = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
171
174
|
{ no: 15, name: "retransmit_bytes_out", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
172
175
|
{ no: 16, name: "retransmit_packets_out", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
173
176
|
{ no: 17, name: "participant_signal_connected", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
177
|
+
{ no: 28, name: "participant_signal_failed", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
178
|
+
{ no: 29, name: "participant_signal_validation_failed", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
174
179
|
{ no: 18, name: "participant_rtc_connected", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
175
180
|
{ no: 19, name: "participant_rtc_init", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
176
181
|
{ no: 26, name: "participant_rtc_canceled", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
182
|
+
{ no: 27, name: "participant_rtc_active", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
177
183
|
{ no: 20, name: "cpu_load", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
178
184
|
{ no: 21, name: "memory_load", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
179
185
|
{ no: 22, name: "memory_used", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
@@ -208,6 +214,7 @@ export const StartSession = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
208
214
|
{ no: 22, name: "publisher_offer", kind: "message", T: SessionDescription },
|
|
209
215
|
{ no: 23, name: "sync_state", kind: "message", T: SyncState },
|
|
210
216
|
{ no: 24, name: "use_single_peer_connection", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
217
|
+
{ no: 26, name: "token_expires_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
211
218
|
],
|
|
212
219
|
);
|
|
213
220
|
|
package/src/gen/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '1.46.
|
|
2
|
+
export const version = '1.46.7';
|