@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.
@@ -23,6 +23,32 @@ import type { ChatContext } from "./agent/livekit_agent_session_pb.js";
23
23
  import type { PresignedPostRequest } from "./livekit_cloud_agent_pb.js";
24
24
  import type { TokenPagination } from "./livekit_models_pb.js";
25
25
 
26
+ /**
27
+ * How the simulated user interacts with the agent under test.
28
+ *
29
+ * @generated from enum livekit.SimulationMode
30
+ */
31
+ export declare enum SimulationMode {
32
+ /**
33
+ * @generated from enum value: SIMULATION_MODE_UNSPECIFIED = 0;
34
+ */
35
+ UNSPECIFIED = 0,
36
+
37
+ /**
38
+ * The simulator chats over text streams (no audio).
39
+ *
40
+ * @generated from enum value: SIMULATION_MODE_TEXT = 1;
41
+ */
42
+ TEXT = 1,
43
+
44
+ /**
45
+ * The simulator publishes/subscribes audio in the room.
46
+ *
47
+ * @generated from enum value: SIMULATION_MODE_AUDIO = 2;
48
+ */
49
+ AUDIO = 2,
50
+ }
51
+
26
52
  /**
27
53
  * @generated from message livekit.SimulationRunSummary
28
54
  */
@@ -192,6 +218,13 @@ export declare class SimulationRun extends Message<SimulationRun> {
192
218
  */
193
219
  usage?: SimulationRun_Usage;
194
220
 
221
+ /**
222
+ * Maximum simulate jobs running in parallel for this run (0 = server default).
223
+ *
224
+ * @generated from field: int32 concurrency = 17;
225
+ */
226
+ concurrency: number;
227
+
195
228
  constructor(data?: PartialMessage<SimulationRun>);
196
229
 
197
230
  static readonly runtime: typeof proto3;
@@ -291,11 +324,6 @@ export declare class SimulationRun_Job extends Message<SimulationRun_Job> {
291
324
  */
292
325
  roomName: string;
293
326
 
294
- /**
295
- * @generated from field: string scenario_id = 9;
296
- */
297
- scenarioId: string;
298
-
299
327
  /**
300
328
  * @generated from field: google.protobuf.Timestamp started_at = 10;
301
329
  */
@@ -409,69 +437,6 @@ export declare class SimulationRun_Create extends Message<SimulationRun_Create>
409
437
  static equals(a: SimulationRun_Create | PlainMessage<SimulationRun_Create> | undefined, b: SimulationRun_Create | PlainMessage<SimulationRun_Create> | undefined): boolean;
410
438
  }
411
439
 
412
- /**
413
- * @generated from message livekit.SimulationRun.Create.Scenario
414
- */
415
- export declare class SimulationRun_Create_Scenario extends Message<SimulationRun_Create_Scenario> {
416
- /**
417
- * @generated from field: string instructions = 1;
418
- */
419
- instructions: string;
420
-
421
- /**
422
- * @generated from field: string agent_expectations = 2;
423
- */
424
- agentExpectations: string;
425
-
426
- /**
427
- * @generated from field: map<string, string> metadata = 3;
428
- */
429
- metadata: { [key: string]: string };
430
-
431
- /**
432
- * @generated from field: string label = 4;
433
- */
434
- label: string;
435
-
436
- constructor(data?: PartialMessage<SimulationRun_Create_Scenario>);
437
-
438
- static readonly runtime: typeof proto3;
439
- static readonly typeName = "livekit.SimulationRun.Create.Scenario";
440
- static readonly fields: FieldList;
441
-
442
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SimulationRun_Create_Scenario;
443
-
444
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SimulationRun_Create_Scenario;
445
-
446
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SimulationRun_Create_Scenario;
447
-
448
- static equals(a: SimulationRun_Create_Scenario | PlainMessage<SimulationRun_Create_Scenario> | undefined, b: SimulationRun_Create_Scenario | PlainMessage<SimulationRun_Create_Scenario> | undefined): boolean;
449
- }
450
-
451
- /**
452
- * @generated from message livekit.SimulationRun.Create.Scenarios
453
- */
454
- export declare class SimulationRun_Create_Scenarios extends Message<SimulationRun_Create_Scenarios> {
455
- /**
456
- * @generated from field: repeated livekit.SimulationRun.Create.Scenario scenarios = 1;
457
- */
458
- scenarios: SimulationRun_Create_Scenario[];
459
-
460
- constructor(data?: PartialMessage<SimulationRun_Create_Scenarios>);
461
-
462
- static readonly runtime: typeof proto3;
463
- static readonly typeName = "livekit.SimulationRun.Create.Scenarios";
464
- static readonly fields: FieldList;
465
-
466
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SimulationRun_Create_Scenarios;
467
-
468
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SimulationRun_Create_Scenarios;
469
-
470
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SimulationRun_Create_Scenarios;
471
-
472
- static equals(a: SimulationRun_Create_Scenarios | PlainMessage<SimulationRun_Create_Scenarios> | undefined, b: SimulationRun_Create_Scenarios | PlainMessage<SimulationRun_Create_Scenarios> | undefined): boolean;
473
- }
474
-
475
440
  /**
476
441
  * @generated from message livekit.SimulationRun.Create.Request
477
442
  */
@@ -486,11 +451,6 @@ export declare class SimulationRun_Create_Request extends Message<SimulationRun_
486
451
  */
487
452
  agentName: string;
488
453
 
489
- /**
490
- * @generated from field: string agent_description = 3;
491
- */
492
- agentDescription: string;
493
-
494
454
  /**
495
455
  * @generated from field: int32 num_simulations = 4;
496
456
  */
@@ -502,21 +462,20 @@ export declare class SimulationRun_Create_Request extends Message<SimulationRun_
502
462
  region: string;
503
463
 
504
464
  /**
505
- * @generated from oneof livekit.SimulationRun.Create.Request.source
465
+ * When set, run these scenarios (loaded from a scenarios.yaml).
466
+ * When unset, generate num_simulations scenarios from the uploaded agent source.
467
+ *
468
+ * @generated from field: optional livekit.ScenarioGroup scenario_group = 7;
506
469
  */
507
- source: {
508
- /**
509
- * @generated from field: livekit.SimulationRun.Create.Scenarios scenarios = 7;
510
- */
511
- value: SimulationRun_Create_Scenarios;
512
- case: "scenarios";
513
- } | {
514
- /**
515
- * @generated from field: string group_id = 5;
516
- */
517
- value: string;
518
- case: "groupId";
519
- } | { case: undefined; value?: undefined };
470
+ scenarioGroup?: ScenarioGroup;
471
+
472
+ /**
473
+ * Maximum simulate jobs running in parallel for this run. Clamped to the
474
+ * project's concurrency quota; 0/unset uses the server default.
475
+ *
476
+ * @generated from field: optional int32 concurrency = 8;
477
+ */
478
+ concurrency?: number;
520
479
 
521
480
  constructor(data?: PartialMessage<SimulationRun_Create_Request>);
522
481
 
@@ -885,65 +844,41 @@ export declare class SimulationRun_Usage extends Message<SimulationRun_Usage> {
885
844
  }
886
845
 
887
846
  /**
847
+ * A single scenario, mirroring one entry in a scenarios.yaml file. Scenarios
848
+ * are no longer stored server-side; the yaml file is the source of truth.
849
+ *
888
850
  * @generated from message livekit.Scenario
889
851
  */
890
852
  export declare class Scenario extends Message<Scenario> {
891
853
  /**
892
- * @generated from field: string id = 1;
893
- */
894
- id: string;
895
-
896
- /**
897
- * @generated from field: string project_id = 2;
898
- */
899
- projectId: string;
900
-
901
- /**
902
- * @generated from field: string label = 3;
854
+ * @generated from field: string label = 1;
903
855
  */
904
856
  label: string;
905
857
 
906
858
  /**
907
- * @generated from field: string instructions = 4;
859
+ * @generated from field: string instructions = 2;
908
860
  */
909
861
  instructions: string;
910
862
 
911
863
  /**
912
- * @generated from field: string agent_expectations = 5;
864
+ * @generated from field: string agent_expectations = 3;
913
865
  */
914
866
  agentExpectations: string;
915
867
 
916
868
  /**
917
- * @generated from field: string source_room_id = 6;
918
- */
919
- sourceRoomId: string;
920
-
921
- /**
922
- * @generated from field: google.protobuf.Timestamp created_at = 7;
923
- */
924
- createdAt?: Timestamp;
925
-
926
- /**
927
- * @generated from field: livekit.Scenario.Status status = 8;
928
- */
929
- status: Scenario_Status;
930
-
931
- /**
932
- * @generated from field: string error = 9;
933
- */
934
- error: string;
935
-
936
- /**
937
- * @generated from field: string group_id = 10;
869
+ * Set as participant attributes on the simulation participant's access token.
870
+ *
871
+ * @generated from field: map<string, string> tags = 4;
938
872
  */
939
- groupId: string;
873
+ tags: { [key: string]: string };
940
874
 
941
875
  /**
942
- * Set as participant attributes on the simulation participant's access token.
876
+ * Arbitrary JSON-encoded object, surfaced to the agent under test as
877
+ * SimulationContext userdata (e.g. inputs and benchmark target state).
943
878
  *
944
- * @generated from field: map<string, string> metadata = 11;
879
+ * @generated from field: string userdata = 5;
945
880
  */
946
- metadata: { [key: string]: string };
881
+ userdata: string;
947
882
 
948
883
  constructor(data?: PartialMessage<Scenario>);
949
884
 
@@ -960,121 +895,6 @@ export declare class Scenario extends Message<Scenario> {
960
895
  static equals(a: Scenario | PlainMessage<Scenario> | undefined, b: Scenario | PlainMessage<Scenario> | undefined): boolean;
961
896
  }
962
897
 
963
- /**
964
- * @generated from enum livekit.Scenario.Status
965
- */
966
- export declare enum Scenario_Status {
967
- /**
968
- * Scenario is being generated from a session by an LLM.
969
- * instructions and agent_expectations are not yet available.
970
- *
971
- * @generated from enum value: STATUS_GENERATING = 0;
972
- */
973
- GENERATING = 0,
974
-
975
- /**
976
- * @generated from enum value: STATUS_READY = 1;
977
- */
978
- READY = 1,
979
-
980
- /**
981
- * @generated from enum value: STATUS_FAILED = 2;
982
- */
983
- FAILED = 2,
984
- }
985
-
986
- /**
987
- * @generated from message livekit.Scenario.Create
988
- */
989
- export declare class Scenario_Create extends Message<Scenario_Create> {
990
- constructor(data?: PartialMessage<Scenario_Create>);
991
-
992
- static readonly runtime: typeof proto3;
993
- static readonly typeName = "livekit.Scenario.Create";
994
- static readonly fields: FieldList;
995
-
996
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Scenario_Create;
997
-
998
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Scenario_Create;
999
-
1000
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Scenario_Create;
1001
-
1002
- static equals(a: Scenario_Create | PlainMessage<Scenario_Create> | undefined, b: Scenario_Create | PlainMessage<Scenario_Create> | undefined): boolean;
1003
- }
1004
-
1005
- /**
1006
- * @generated from message livekit.Scenario.Create.Request
1007
- */
1008
- export declare class Scenario_Create_Request extends Message<Scenario_Create_Request> {
1009
- /**
1010
- * @generated from field: string project_id = 1;
1011
- */
1012
- projectId: string;
1013
-
1014
- /**
1015
- * @generated from field: string label = 2;
1016
- */
1017
- label: string;
1018
-
1019
- /**
1020
- * @generated from field: string instructions = 3;
1021
- */
1022
- instructions: string;
1023
-
1024
- /**
1025
- * @generated from field: string agent_expectations = 4;
1026
- */
1027
- agentExpectations: string;
1028
-
1029
- /**
1030
- * @generated from field: string group_id = 5;
1031
- */
1032
- groupId: string;
1033
-
1034
- /**
1035
- * @generated from field: map<string, string> metadata = 6;
1036
- */
1037
- metadata: { [key: string]: string };
1038
-
1039
- constructor(data?: PartialMessage<Scenario_Create_Request>);
1040
-
1041
- static readonly runtime: typeof proto3;
1042
- static readonly typeName = "livekit.Scenario.Create.Request";
1043
- static readonly fields: FieldList;
1044
-
1045
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Scenario_Create_Request;
1046
-
1047
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Scenario_Create_Request;
1048
-
1049
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Scenario_Create_Request;
1050
-
1051
- static equals(a: Scenario_Create_Request | PlainMessage<Scenario_Create_Request> | undefined, b: Scenario_Create_Request | PlainMessage<Scenario_Create_Request> | undefined): boolean;
1052
- }
1053
-
1054
- /**
1055
- * @generated from message livekit.Scenario.Create.Response
1056
- */
1057
- export declare class Scenario_Create_Response extends Message<Scenario_Create_Response> {
1058
- /**
1059
- * @generated from field: livekit.Scenario scenario = 1;
1060
- */
1061
- scenario?: Scenario;
1062
-
1063
- constructor(data?: PartialMessage<Scenario_Create_Response>);
1064
-
1065
- static readonly runtime: typeof proto3;
1066
- static readonly typeName = "livekit.Scenario.Create.Response";
1067
- static readonly fields: FieldList;
1068
-
1069
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Scenario_Create_Response;
1070
-
1071
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Scenario_Create_Response;
1072
-
1073
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Scenario_Create_Response;
1074
-
1075
- static equals(a: Scenario_Create_Response | PlainMessage<Scenario_Create_Response> | undefined, b: Scenario_Create_Response | PlainMessage<Scenario_Create_Response> | undefined): boolean;
1076
- }
1077
-
1078
898
  /**
1079
899
  * @generated from message livekit.Scenario.CreateFromSession
1080
900
  */
@@ -1109,17 +929,7 @@ export declare class Scenario_CreateFromSession_Request extends Message<Scenario
1109
929
  roomId: string;
1110
930
 
1111
931
  /**
1112
- * @generated from field: string group_id = 3;
1113
- */
1114
- groupId: string;
1115
-
1116
- /**
1117
- * @generated from field: string label = 4;
1118
- */
1119
- label: string;
1120
-
1121
- /**
1122
- * @generated from field: string region = 5;
932
+ * @generated from field: string region = 3;
1123
933
  */
1124
934
  region: string;
1125
935
 
@@ -1163,275 +973,21 @@ export declare class Scenario_CreateFromSession_Response extends Message<Scenari
1163
973
  }
1164
974
 
1165
975
  /**
1166
- * @generated from message livekit.Scenario.Delete
1167
- */
1168
- export declare class Scenario_Delete extends Message<Scenario_Delete> {
1169
- constructor(data?: PartialMessage<Scenario_Delete>);
1170
-
1171
- static readonly runtime: typeof proto3;
1172
- static readonly typeName = "livekit.Scenario.Delete";
1173
- static readonly fields: FieldList;
1174
-
1175
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Scenario_Delete;
1176
-
1177
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Scenario_Delete;
1178
-
1179
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Scenario_Delete;
1180
-
1181
- static equals(a: Scenario_Delete | PlainMessage<Scenario_Delete> | undefined, b: Scenario_Delete | PlainMessage<Scenario_Delete> | undefined): boolean;
1182
- }
1183
-
1184
- /**
1185
- * @generated from message livekit.Scenario.Delete.Request
1186
- */
1187
- export declare class Scenario_Delete_Request extends Message<Scenario_Delete_Request> {
1188
- /**
1189
- * @generated from field: string project_id = 1;
1190
- */
1191
- projectId: string;
1192
-
1193
- /**
1194
- * @generated from field: string scenario_id = 2;
1195
- */
1196
- scenarioId: string;
1197
-
1198
- constructor(data?: PartialMessage<Scenario_Delete_Request>);
1199
-
1200
- static readonly runtime: typeof proto3;
1201
- static readonly typeName = "livekit.Scenario.Delete.Request";
1202
- static readonly fields: FieldList;
1203
-
1204
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Scenario_Delete_Request;
1205
-
1206
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Scenario_Delete_Request;
1207
-
1208
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Scenario_Delete_Request;
1209
-
1210
- static equals(a: Scenario_Delete_Request | PlainMessage<Scenario_Delete_Request> | undefined, b: Scenario_Delete_Request | PlainMessage<Scenario_Delete_Request> | undefined): boolean;
1211
- }
1212
-
1213
- /**
1214
- * @generated from message livekit.Scenario.Delete.Response
1215
- */
1216
- export declare class Scenario_Delete_Response extends Message<Scenario_Delete_Response> {
1217
- constructor(data?: PartialMessage<Scenario_Delete_Response>);
1218
-
1219
- static readonly runtime: typeof proto3;
1220
- static readonly typeName = "livekit.Scenario.Delete.Response";
1221
- static readonly fields: FieldList;
1222
-
1223
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Scenario_Delete_Response;
1224
-
1225
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Scenario_Delete_Response;
1226
-
1227
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Scenario_Delete_Response;
1228
-
1229
- static equals(a: Scenario_Delete_Response | PlainMessage<Scenario_Delete_Response> | undefined, b: Scenario_Delete_Response | PlainMessage<Scenario_Delete_Response> | undefined): boolean;
1230
- }
1231
-
1232
- /**
1233
- * @generated from message livekit.Scenario.Update
1234
- */
1235
- export declare class Scenario_Update extends Message<Scenario_Update> {
1236
- constructor(data?: PartialMessage<Scenario_Update>);
1237
-
1238
- static readonly runtime: typeof proto3;
1239
- static readonly typeName = "livekit.Scenario.Update";
1240
- static readonly fields: FieldList;
1241
-
1242
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Scenario_Update;
1243
-
1244
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Scenario_Update;
1245
-
1246
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Scenario_Update;
1247
-
1248
- static equals(a: Scenario_Update | PlainMessage<Scenario_Update> | undefined, b: Scenario_Update | PlainMessage<Scenario_Update> | undefined): boolean;
1249
- }
1250
-
1251
- /**
1252
- * @generated from message livekit.Scenario.Update.Request
1253
- */
1254
- export declare class Scenario_Update_Request extends Message<Scenario_Update_Request> {
1255
- /**
1256
- * @generated from field: string project_id = 1;
1257
- */
1258
- projectId: string;
1259
-
1260
- /**
1261
- * @generated from field: string scenario_id = 2;
1262
- */
1263
- scenarioId: string;
1264
-
1265
- /**
1266
- * @generated from field: string label = 3;
1267
- */
1268
- label: string;
1269
-
1270
- /**
1271
- * @generated from field: string instructions = 4;
1272
- */
1273
- instructions: string;
1274
-
1275
- /**
1276
- * @generated from field: string agent_expectations = 5;
1277
- */
1278
- agentExpectations: string;
1279
-
1280
- /**
1281
- * @generated from field: string group_id = 6;
1282
- */
1283
- groupId: string;
1284
-
1285
- /**
1286
- * @generated from field: map<string, string> metadata = 7;
1287
- */
1288
- metadata: { [key: string]: string };
1289
-
1290
- constructor(data?: PartialMessage<Scenario_Update_Request>);
1291
-
1292
- static readonly runtime: typeof proto3;
1293
- static readonly typeName = "livekit.Scenario.Update.Request";
1294
- static readonly fields: FieldList;
1295
-
1296
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Scenario_Update_Request;
1297
-
1298
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Scenario_Update_Request;
1299
-
1300
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Scenario_Update_Request;
1301
-
1302
- static equals(a: Scenario_Update_Request | PlainMessage<Scenario_Update_Request> | undefined, b: Scenario_Update_Request | PlainMessage<Scenario_Update_Request> | undefined): boolean;
1303
- }
1304
-
1305
- /**
1306
- * @generated from message livekit.Scenario.Update.Response
1307
- */
1308
- export declare class Scenario_Update_Response extends Message<Scenario_Update_Response> {
1309
- /**
1310
- * @generated from field: livekit.Scenario scenario = 1;
1311
- */
1312
- scenario?: Scenario;
1313
-
1314
- constructor(data?: PartialMessage<Scenario_Update_Response>);
1315
-
1316
- static readonly runtime: typeof proto3;
1317
- static readonly typeName = "livekit.Scenario.Update.Response";
1318
- static readonly fields: FieldList;
1319
-
1320
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Scenario_Update_Response;
1321
-
1322
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Scenario_Update_Response;
1323
-
1324
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Scenario_Update_Response;
1325
-
1326
- static equals(a: Scenario_Update_Response | PlainMessage<Scenario_Update_Response> | undefined, b: Scenario_Update_Response | PlainMessage<Scenario_Update_Response> | undefined): boolean;
1327
- }
1328
-
1329
- /**
1330
- * @generated from message livekit.Scenario.List
1331
- */
1332
- export declare class Scenario_List extends Message<Scenario_List> {
1333
- constructor(data?: PartialMessage<Scenario_List>);
1334
-
1335
- static readonly runtime: typeof proto3;
1336
- static readonly typeName = "livekit.Scenario.List";
1337
- static readonly fields: FieldList;
1338
-
1339
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Scenario_List;
1340
-
1341
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Scenario_List;
1342
-
1343
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Scenario_List;
1344
-
1345
- static equals(a: Scenario_List | PlainMessage<Scenario_List> | undefined, b: Scenario_List | PlainMessage<Scenario_List> | undefined): boolean;
1346
- }
1347
-
1348
- /**
1349
- * @generated from message livekit.Scenario.List.Request
1350
- */
1351
- export declare class Scenario_List_Request extends Message<Scenario_List_Request> {
1352
- /**
1353
- * @generated from field: string project_id = 1;
1354
- */
1355
- projectId: string;
1356
-
1357
- /**
1358
- * @generated from field: string group_id = 2;
1359
- */
1360
- groupId: string;
1361
-
1362
- constructor(data?: PartialMessage<Scenario_List_Request>);
1363
-
1364
- static readonly runtime: typeof proto3;
1365
- static readonly typeName = "livekit.Scenario.List.Request";
1366
- static readonly fields: FieldList;
1367
-
1368
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Scenario_List_Request;
1369
-
1370
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Scenario_List_Request;
1371
-
1372
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Scenario_List_Request;
1373
-
1374
- static equals(a: Scenario_List_Request | PlainMessage<Scenario_List_Request> | undefined, b: Scenario_List_Request | PlainMessage<Scenario_List_Request> | undefined): boolean;
1375
- }
1376
-
1377
- /**
1378
- * @generated from message livekit.Scenario.List.Response
1379
- */
1380
- export declare class Scenario_List_Response extends Message<Scenario_List_Response> {
1381
- /**
1382
- * @generated from field: repeated livekit.Scenario scenarios = 1;
1383
- */
1384
- scenarios: Scenario[];
1385
-
1386
- constructor(data?: PartialMessage<Scenario_List_Response>);
1387
-
1388
- static readonly runtime: typeof proto3;
1389
- static readonly typeName = "livekit.Scenario.List.Response";
1390
- static readonly fields: FieldList;
1391
-
1392
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Scenario_List_Response;
1393
-
1394
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Scenario_List_Response;
1395
-
1396
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Scenario_List_Response;
1397
-
1398
- static equals(a: Scenario_List_Response | PlainMessage<Scenario_List_Response> | undefined, b: Scenario_List_Response | PlainMessage<Scenario_List_Response> | undefined): boolean;
1399
- }
1400
-
1401
- /**
976
+ * A named group of scenarios, mirroring a whole scenarios.yaml file.
977
+ *
1402
978
  * @generated from message livekit.ScenarioGroup
1403
979
  */
1404
980
  export declare class ScenarioGroup extends Message<ScenarioGroup> {
1405
981
  /**
1406
- * @generated from field: string id = 1;
1407
- */
1408
- id: string;
1409
-
1410
- /**
1411
- * @generated from field: string project_id = 2;
1412
- */
1413
- projectId: string;
1414
-
1415
- /**
1416
- * @generated from field: string label = 3;
1417
- */
1418
- label: string;
1419
-
1420
- /**
1421
- * @generated from field: google.protobuf.Timestamp created_at = 4;
982
+ * @generated from field: string name = 1;
1422
983
  */
1423
- createdAt?: Timestamp;
984
+ name: string;
1424
985
 
1425
986
  /**
1426
- * @generated from field: repeated livekit.Scenario scenarios = 5;
987
+ * @generated from field: repeated livekit.Scenario scenarios = 2;
1427
988
  */
1428
989
  scenarios: Scenario[];
1429
990
 
1430
- /**
1431
- * @generated from field: int32 scenario_count = 6;
1432
- */
1433
- scenarioCount: number;
1434
-
1435
991
  constructor(data?: PartialMessage<ScenarioGroup>);
1436
992
 
1437
993
  static readonly runtime: typeof proto3;
@@ -1448,208 +1004,44 @@ export declare class ScenarioGroup extends Message<ScenarioGroup> {
1448
1004
  }
1449
1005
 
1450
1006
  /**
1451
- * @generated from message livekit.ScenarioGroup.Create
1452
- */
1453
- export declare class ScenarioGroup_Create extends Message<ScenarioGroup_Create> {
1454
- constructor(data?: PartialMessage<ScenarioGroup_Create>);
1455
-
1456
- static readonly runtime: typeof proto3;
1457
- static readonly typeName = "livekit.ScenarioGroup.Create";
1458
- static readonly fields: FieldList;
1459
-
1460
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ScenarioGroup_Create;
1461
-
1462
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ScenarioGroup_Create;
1463
-
1464
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ScenarioGroup_Create;
1465
-
1466
- static equals(a: ScenarioGroup_Create | PlainMessage<ScenarioGroup_Create> | undefined, b: ScenarioGroup_Create | PlainMessage<ScenarioGroup_Create> | undefined): boolean;
1467
- }
1468
-
1469
- /**
1470
- * @generated from message livekit.ScenarioGroup.Create.Request
1471
- */
1472
- export declare class ScenarioGroup_Create_Request extends Message<ScenarioGroup_Create_Request> {
1473
- /**
1474
- * @generated from field: string project_id = 1;
1475
- */
1476
- projectId: string;
1477
-
1478
- /**
1479
- * @generated from field: string label = 2;
1480
- */
1481
- label: string;
1482
-
1483
- constructor(data?: PartialMessage<ScenarioGroup_Create_Request>);
1484
-
1485
- static readonly runtime: typeof proto3;
1486
- static readonly typeName = "livekit.ScenarioGroup.Create.Request";
1487
- static readonly fields: FieldList;
1488
-
1489
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ScenarioGroup_Create_Request;
1490
-
1491
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ScenarioGroup_Create_Request;
1492
-
1493
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ScenarioGroup_Create_Request;
1494
-
1495
- static equals(a: ScenarioGroup_Create_Request | PlainMessage<ScenarioGroup_Create_Request> | undefined, b: ScenarioGroup_Create_Request | PlainMessage<ScenarioGroup_Create_Request> | undefined): boolean;
1496
- }
1497
-
1498
- /**
1499
- * @generated from message livekit.ScenarioGroup.Create.Response
1007
+ * Carried (protojson-encoded) in the simulation room's metadata so the agent
1008
+ * under test can read the scenario + run identity synchronously at connect.
1009
+ *
1010
+ * @generated from message livekit.SimulationDispatch
1500
1011
  */
1501
- export declare class ScenarioGroup_Create_Response extends Message<ScenarioGroup_Create_Response> {
1012
+ export declare class SimulationDispatch extends Message<SimulationDispatch> {
1502
1013
  /**
1503
- * @generated from field: livekit.ScenarioGroup scenario_group = 1;
1504
- */
1505
- scenarioGroup?: ScenarioGroup;
1506
-
1507
- constructor(data?: PartialMessage<ScenarioGroup_Create_Response>);
1508
-
1509
- static readonly runtime: typeof proto3;
1510
- static readonly typeName = "livekit.ScenarioGroup.Create.Response";
1511
- static readonly fields: FieldList;
1512
-
1513
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ScenarioGroup_Create_Response;
1514
-
1515
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ScenarioGroup_Create_Response;
1516
-
1517
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ScenarioGroup_Create_Response;
1518
-
1519
- static equals(a: ScenarioGroup_Create_Response | PlainMessage<ScenarioGroup_Create_Response> | undefined, b: ScenarioGroup_Create_Response | PlainMessage<ScenarioGroup_Create_Response> | undefined): boolean;
1520
- }
1521
-
1522
- /**
1523
- * @generated from message livekit.ScenarioGroup.Delete
1524
- */
1525
- export declare class ScenarioGroup_Delete extends Message<ScenarioGroup_Delete> {
1526
- constructor(data?: PartialMessage<ScenarioGroup_Delete>);
1527
-
1528
- static readonly runtime: typeof proto3;
1529
- static readonly typeName = "livekit.ScenarioGroup.Delete";
1530
- static readonly fields: FieldList;
1531
-
1532
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ScenarioGroup_Delete;
1533
-
1534
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ScenarioGroup_Delete;
1535
-
1536
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ScenarioGroup_Delete;
1537
-
1538
- static equals(a: ScenarioGroup_Delete | PlainMessage<ScenarioGroup_Delete> | undefined, b: ScenarioGroup_Delete | PlainMessage<ScenarioGroup_Delete> | undefined): boolean;
1539
- }
1540
-
1541
- /**
1542
- * @generated from message livekit.ScenarioGroup.Delete.Request
1543
- */
1544
- export declare class ScenarioGroup_Delete_Request extends Message<ScenarioGroup_Delete_Request> {
1545
- /**
1546
- * @generated from field: string project_id = 1;
1014
+ * @generated from field: string simulation_run_id = 1;
1547
1015
  */
1548
- projectId: string;
1016
+ simulationRunId: string;
1549
1017
 
1550
1018
  /**
1551
- * @generated from field: string group_id = 2;
1019
+ * @generated from field: string job_id = 2;
1552
1020
  */
1553
- groupId: string;
1554
-
1555
- constructor(data?: PartialMessage<ScenarioGroup_Delete_Request>);
1556
-
1557
- static readonly runtime: typeof proto3;
1558
- static readonly typeName = "livekit.ScenarioGroup.Delete.Request";
1559
- static readonly fields: FieldList;
1560
-
1561
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ScenarioGroup_Delete_Request;
1021
+ jobId: string;
1562
1022
 
1563
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ScenarioGroup_Delete_Request;
1564
-
1565
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ScenarioGroup_Delete_Request;
1566
-
1567
- static equals(a: ScenarioGroup_Delete_Request | PlainMessage<ScenarioGroup_Delete_Request> | undefined, b: ScenarioGroup_Delete_Request | PlainMessage<ScenarioGroup_Delete_Request> | undefined): boolean;
1568
- }
1569
-
1570
- /**
1571
- * @generated from message livekit.ScenarioGroup.Delete.Response
1572
- */
1573
- export declare class ScenarioGroup_Delete_Response extends Message<ScenarioGroup_Delete_Response> {
1574
- constructor(data?: PartialMessage<ScenarioGroup_Delete_Response>);
1575
-
1576
- static readonly runtime: typeof proto3;
1577
- static readonly typeName = "livekit.ScenarioGroup.Delete.Response";
1578
- static readonly fields: FieldList;
1579
-
1580
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ScenarioGroup_Delete_Response;
1581
-
1582
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ScenarioGroup_Delete_Response;
1583
-
1584
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ScenarioGroup_Delete_Response;
1585
-
1586
- static equals(a: ScenarioGroup_Delete_Response | PlainMessage<ScenarioGroup_Delete_Response> | undefined, b: ScenarioGroup_Delete_Response | PlainMessage<ScenarioGroup_Delete_Response> | undefined): boolean;
1587
- }
1588
-
1589
- /**
1590
- * @generated from message livekit.ScenarioGroup.List
1591
- */
1592
- export declare class ScenarioGroup_List extends Message<ScenarioGroup_List> {
1593
- constructor(data?: PartialMessage<ScenarioGroup_List>);
1594
-
1595
- static readonly runtime: typeof proto3;
1596
- static readonly typeName = "livekit.ScenarioGroup.List";
1597
- static readonly fields: FieldList;
1598
-
1599
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ScenarioGroup_List;
1600
-
1601
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ScenarioGroup_List;
1602
-
1603
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ScenarioGroup_List;
1604
-
1605
- static equals(a: ScenarioGroup_List | PlainMessage<ScenarioGroup_List> | undefined, b: ScenarioGroup_List | PlainMessage<ScenarioGroup_List> | undefined): boolean;
1606
- }
1607
-
1608
- /**
1609
- * @generated from message livekit.ScenarioGroup.List.Request
1610
- */
1611
- export declare class ScenarioGroup_List_Request extends Message<ScenarioGroup_List_Request> {
1612
1023
  /**
1613
- * @generated from field: string project_id = 1;
1024
+ * @generated from field: livekit.Scenario scenario = 3;
1614
1025
  */
1615
- projectId: string;
1616
-
1617
- constructor(data?: PartialMessage<ScenarioGroup_List_Request>);
1618
-
1619
- static readonly runtime: typeof proto3;
1620
- static readonly typeName = "livekit.ScenarioGroup.List.Request";
1621
- static readonly fields: FieldList;
1622
-
1623
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ScenarioGroup_List_Request;
1624
-
1625
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ScenarioGroup_List_Request;
1626
-
1627
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ScenarioGroup_List_Request;
1628
-
1629
- static equals(a: ScenarioGroup_List_Request | PlainMessage<ScenarioGroup_List_Request> | undefined, b: ScenarioGroup_List_Request | PlainMessage<ScenarioGroup_List_Request> | undefined): boolean;
1630
- }
1026
+ scenario?: Scenario;
1631
1027
 
1632
- /**
1633
- * @generated from message livekit.ScenarioGroup.List.Response
1634
- */
1635
- export declare class ScenarioGroup_List_Response extends Message<ScenarioGroup_List_Response> {
1636
1028
  /**
1637
- * @generated from field: repeated livekit.ScenarioGroup scenario_groups = 1;
1029
+ * @generated from field: livekit.SimulationMode mode = 4;
1638
1030
  */
1639
- scenarioGroups: ScenarioGroup[];
1031
+ mode: SimulationMode;
1640
1032
 
1641
- constructor(data?: PartialMessage<ScenarioGroup_List_Response>);
1033
+ constructor(data?: PartialMessage<SimulationDispatch>);
1642
1034
 
1643
1035
  static readonly runtime: typeof proto3;
1644
- static readonly typeName = "livekit.ScenarioGroup.List.Response";
1036
+ static readonly typeName = "livekit.SimulationDispatch";
1645
1037
  static readonly fields: FieldList;
1646
1038
 
1647
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ScenarioGroup_List_Response;
1039
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SimulationDispatch;
1648
1040
 
1649
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ScenarioGroup_List_Response;
1041
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SimulationDispatch;
1650
1042
 
1651
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ScenarioGroup_List_Response;
1043
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SimulationDispatch;
1652
1044
 
1653
- static equals(a: ScenarioGroup_List_Response | PlainMessage<ScenarioGroup_List_Response> | undefined, b: ScenarioGroup_List_Response | PlainMessage<ScenarioGroup_List_Response> | undefined): boolean;
1045
+ static equals(a: SimulationDispatch | PlainMessage<SimulationDispatch> | undefined, b: SimulationDispatch | PlainMessage<SimulationDispatch> | undefined): boolean;
1654
1046
  }
1655
1047