@livekit/protocol 1.52.0 → 1.53.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 CHANGED
@@ -157,7 +157,12 @@ const FunctionCall = /* @__PURE__ */ protobuf.proto3.makeMessageType(
157
157
  T: 9
158
158
  /* ScalarType.STRING */
159
159
  },
160
- { no: 5, name: "created_at", kind: "message", T: protobuf.Timestamp }
160
+ { no: 5, name: "created_at", kind: "message", T: protobuf.Timestamp },
161
+ { no: 6, name: "extra", kind: "map", K: 9, V: {
162
+ kind: "scalar",
163
+ T: 9
164
+ /* ScalarType.STRING */
165
+ } }
161
166
  ]
162
167
  );
163
168
  const FunctionCallOutput = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -1186,6 +1191,349 @@ const livekit_agent_session_pb = {
1186
1191
  UserState: UserState
1187
1192
  };
1188
1193
 
1194
+ const AgentThread = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1195
+ "livekit.agent.AgentThread",
1196
+ []
1197
+ );
1198
+ const AgentThread_SortOrder = /* @__PURE__ */ protobuf.proto3.makeEnum(
1199
+ "livekit.agent.AgentThread.SortOrder",
1200
+ [
1201
+ { no: 0, name: "SORT_ORDER_UNSPECIFIED", localName: "UNSPECIFIED" },
1202
+ { no: 1, name: "SORT_ORDER_ASC", localName: "ASC" },
1203
+ { no: 2, name: "SORT_ORDER_DESC", localName: "DESC" }
1204
+ ]
1205
+ );
1206
+ const AgentThread_CreateRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1207
+ "livekit.agent.AgentThread.CreateRequest",
1208
+ () => [
1209
+ {
1210
+ no: 1,
1211
+ name: "scope",
1212
+ kind: "scalar",
1213
+ T: 9
1214
+ /* ScalarType.STRING */
1215
+ },
1216
+ { no: 2, name: "attributes", kind: "map", K: 9, V: {
1217
+ kind: "scalar",
1218
+ T: 9
1219
+ /* ScalarType.STRING */
1220
+ } },
1221
+ { no: 3, name: "idle_ttl", kind: "message", T: protobuf.Duration }
1222
+ ],
1223
+ { localName: "AgentThread_CreateRequest" }
1224
+ );
1225
+ const AgentThread_GetRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1226
+ "livekit.agent.AgentThread.GetRequest",
1227
+ () => [
1228
+ {
1229
+ no: 1,
1230
+ name: "thread_id",
1231
+ kind: "scalar",
1232
+ T: 9
1233
+ /* ScalarType.STRING */
1234
+ }
1235
+ ],
1236
+ { localName: "AgentThread_GetRequest" }
1237
+ );
1238
+ const AgentThread_ListRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1239
+ "livekit.agent.AgentThread.ListRequest",
1240
+ () => [
1241
+ {
1242
+ no: 1,
1243
+ name: "scope",
1244
+ kind: "scalar",
1245
+ T: 9
1246
+ /* ScalarType.STRING */
1247
+ },
1248
+ {
1249
+ no: 2,
1250
+ name: "page_token",
1251
+ kind: "scalar",
1252
+ T: 9
1253
+ /* ScalarType.STRING */
1254
+ },
1255
+ {
1256
+ no: 3,
1257
+ name: "limit",
1258
+ kind: "scalar",
1259
+ T: 5
1260
+ /* ScalarType.INT32 */
1261
+ }
1262
+ ],
1263
+ { localName: "AgentThread_ListRequest" }
1264
+ );
1265
+ const AgentThread_ListResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1266
+ "livekit.agent.AgentThread.ListResponse",
1267
+ () => [
1268
+ { no: 1, name: "threads", kind: "message", T: AgentThread_Thread, repeated: true },
1269
+ {
1270
+ no: 2,
1271
+ name: "next_page_token",
1272
+ kind: "scalar",
1273
+ T: 9
1274
+ /* ScalarType.STRING */
1275
+ }
1276
+ ],
1277
+ { localName: "AgentThread_ListResponse" }
1278
+ );
1279
+ const AgentThread_UpdateRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1280
+ "livekit.agent.AgentThread.UpdateRequest",
1281
+ () => [
1282
+ {
1283
+ no: 1,
1284
+ name: "thread_id",
1285
+ kind: "scalar",
1286
+ T: 9
1287
+ /* ScalarType.STRING */
1288
+ },
1289
+ { no: 2, name: "attributes", kind: "map", K: 9, V: {
1290
+ kind: "scalar",
1291
+ T: 9
1292
+ /* ScalarType.STRING */
1293
+ } },
1294
+ { no: 3, name: "idle_ttl", kind: "message", T: protobuf.Duration }
1295
+ ],
1296
+ { localName: "AgentThread_UpdateRequest" }
1297
+ );
1298
+ const AgentThread_DeleteRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1299
+ "livekit.agent.AgentThread.DeleteRequest",
1300
+ () => [
1301
+ {
1302
+ no: 1,
1303
+ name: "thread_id",
1304
+ kind: "scalar",
1305
+ T: 9
1306
+ /* ScalarType.STRING */
1307
+ }
1308
+ ],
1309
+ { localName: "AgentThread_DeleteRequest" }
1310
+ );
1311
+ const AgentThread_DeleteResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1312
+ "livekit.agent.AgentThread.DeleteResponse",
1313
+ [],
1314
+ { localName: "AgentThread_DeleteResponse" }
1315
+ );
1316
+ const AgentThread_GetItemsRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1317
+ "livekit.agent.AgentThread.GetItemsRequest",
1318
+ () => [
1319
+ {
1320
+ no: 1,
1321
+ name: "thread_id",
1322
+ kind: "scalar",
1323
+ T: 9
1324
+ /* ScalarType.STRING */
1325
+ },
1326
+ {
1327
+ no: 2,
1328
+ name: "agent",
1329
+ kind: "scalar",
1330
+ T: 9
1331
+ /* ScalarType.STRING */
1332
+ },
1333
+ {
1334
+ no: 3,
1335
+ name: "page_token",
1336
+ kind: "scalar",
1337
+ T: 9
1338
+ /* ScalarType.STRING */
1339
+ },
1340
+ {
1341
+ no: 4,
1342
+ name: "limit",
1343
+ kind: "scalar",
1344
+ T: 5
1345
+ /* ScalarType.INT32 */
1346
+ },
1347
+ { no: 5, name: "sort_order", kind: "enum", T: protobuf.proto3.getEnumType(AgentThread_SortOrder) }
1348
+ ],
1349
+ { localName: "AgentThread_GetItemsRequest" }
1350
+ );
1351
+ const AgentThread_GetItemsResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1352
+ "livekit.agent.AgentThread.GetItemsResponse",
1353
+ () => [
1354
+ { no: 1, name: "items", kind: "message", T: AgentThread_Item, repeated: true },
1355
+ {
1356
+ no: 2,
1357
+ name: "next_page_token",
1358
+ kind: "scalar",
1359
+ T: 9
1360
+ /* ScalarType.STRING */
1361
+ }
1362
+ ],
1363
+ { localName: "AgentThread_GetItemsResponse" }
1364
+ );
1365
+ const AgentThread_Item = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1366
+ "livekit.agent.AgentThread.Item",
1367
+ () => [
1368
+ {
1369
+ no: 1,
1370
+ name: "agent",
1371
+ kind: "scalar",
1372
+ T: 9
1373
+ /* ScalarType.STRING */
1374
+ },
1375
+ {
1376
+ no: 2,
1377
+ name: "seq",
1378
+ kind: "scalar",
1379
+ T: 3
1380
+ /* ScalarType.INT64 */
1381
+ },
1382
+ {
1383
+ no: 3,
1384
+ name: "message_id",
1385
+ kind: "scalar",
1386
+ T: 9
1387
+ /* ScalarType.STRING */
1388
+ },
1389
+ { no: 4, name: "item", kind: "message", T: ChatContext_ChatItem }
1390
+ ],
1391
+ { localName: "AgentThread_Item" }
1392
+ );
1393
+ const AgentThread_Thread = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1394
+ "livekit.agent.AgentThread.Thread",
1395
+ () => [
1396
+ {
1397
+ no: 1,
1398
+ name: "thread_id",
1399
+ kind: "scalar",
1400
+ T: 9
1401
+ /* ScalarType.STRING */
1402
+ },
1403
+ {
1404
+ no: 2,
1405
+ name: "scope",
1406
+ kind: "scalar",
1407
+ T: 9
1408
+ /* ScalarType.STRING */
1409
+ },
1410
+ { no: 3, name: "attributes", kind: "map", K: 9, V: {
1411
+ kind: "scalar",
1412
+ T: 9
1413
+ /* ScalarType.STRING */
1414
+ } },
1415
+ { no: 4, name: "created_at", kind: "message", T: protobuf.Timestamp },
1416
+ { no: 5, name: "last_active", kind: "message", T: protobuf.Timestamp },
1417
+ { no: 6, name: "expires_at", kind: "message", T: protobuf.Timestamp },
1418
+ { no: 7, name: "idle_ttl", kind: "message", T: protobuf.Duration },
1419
+ {
1420
+ no: 8,
1421
+ name: "database_id",
1422
+ kind: "scalar",
1423
+ T: 9
1424
+ /* ScalarType.STRING */
1425
+ }
1426
+ ],
1427
+ { localName: "AgentThread_Thread" }
1428
+ );
1429
+ const AgentTask = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1430
+ "livekit.agent.AgentTask",
1431
+ []
1432
+ );
1433
+ const AgentTask_Status = /* @__PURE__ */ protobuf.proto3.makeEnum(
1434
+ "livekit.agent.AgentTask.Status",
1435
+ [
1436
+ { no: 0, name: "UNSPECIFIED" },
1437
+ { no: 1, name: "RUNNING" },
1438
+ { no: 2, name: "COMPLETED" },
1439
+ { no: 3, name: "FAILED" },
1440
+ { no: 4, name: "CANCELED" }
1441
+ ]
1442
+ );
1443
+ const AgentTask_GetTasksRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1444
+ "livekit.agent.AgentTask.GetTasksRequest",
1445
+ () => [
1446
+ {
1447
+ no: 1,
1448
+ name: "thread_id",
1449
+ kind: "scalar",
1450
+ T: 9
1451
+ /* ScalarType.STRING */
1452
+ },
1453
+ { no: 2, name: "status", kind: "enum", T: protobuf.proto3.getEnumType(AgentTask_Status), opt: true },
1454
+ {
1455
+ no: 3,
1456
+ name: "page_token",
1457
+ kind: "scalar",
1458
+ T: 9
1459
+ /* ScalarType.STRING */
1460
+ },
1461
+ {
1462
+ no: 4,
1463
+ name: "limit",
1464
+ kind: "scalar",
1465
+ T: 5
1466
+ /* ScalarType.INT32 */
1467
+ }
1468
+ ],
1469
+ { localName: "AgentTask_GetTasksRequest" }
1470
+ );
1471
+ const AgentTask_GetTasksResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1472
+ "livekit.agent.AgentTask.GetTasksResponse",
1473
+ () => [
1474
+ { no: 1, name: "tasks", kind: "message", T: AgentTask_Task, repeated: true },
1475
+ {
1476
+ no: 2,
1477
+ name: "next_page_token",
1478
+ kind: "scalar",
1479
+ T: 9
1480
+ /* ScalarType.STRING */
1481
+ }
1482
+ ],
1483
+ { localName: "AgentTask_GetTasksResponse" }
1484
+ );
1485
+ const AgentTask_Task = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1486
+ "livekit.agent.AgentTask.Task",
1487
+ () => [
1488
+ {
1489
+ no: 1,
1490
+ name: "task_id",
1491
+ kind: "scalar",
1492
+ T: 9
1493
+ /* ScalarType.STRING */
1494
+ },
1495
+ {
1496
+ no: 2,
1497
+ name: "thread_id",
1498
+ kind: "scalar",
1499
+ T: 9
1500
+ /* ScalarType.STRING */
1501
+ },
1502
+ {
1503
+ no: 3,
1504
+ name: "name",
1505
+ kind: "scalar",
1506
+ T: 9
1507
+ /* ScalarType.STRING */
1508
+ },
1509
+ { no: 4, name: "status", kind: "enum", T: protobuf.proto3.getEnumType(AgentTask_Status) },
1510
+ { no: 5, name: "updated_at", kind: "message", T: protobuf.Timestamp }
1511
+ ],
1512
+ { localName: "AgentTask_Task" }
1513
+ );
1514
+
1515
+ const livekit_agent_thread_pb = {
1516
+ __proto__: null,
1517
+ AgentTask: AgentTask,
1518
+ AgentTask_GetTasksRequest: AgentTask_GetTasksRequest,
1519
+ AgentTask_GetTasksResponse: AgentTask_GetTasksResponse,
1520
+ AgentTask_Status: AgentTask_Status,
1521
+ AgentTask_Task: AgentTask_Task,
1522
+ AgentThread: AgentThread,
1523
+ AgentThread_CreateRequest: AgentThread_CreateRequest,
1524
+ AgentThread_DeleteRequest: AgentThread_DeleteRequest,
1525
+ AgentThread_DeleteResponse: AgentThread_DeleteResponse,
1526
+ AgentThread_GetItemsRequest: AgentThread_GetItemsRequest,
1527
+ AgentThread_GetItemsResponse: AgentThread_GetItemsResponse,
1528
+ AgentThread_GetRequest: AgentThread_GetRequest,
1529
+ AgentThread_Item: AgentThread_Item,
1530
+ AgentThread_ListRequest: AgentThread_ListRequest,
1531
+ AgentThread_ListResponse: AgentThread_ListResponse,
1532
+ AgentThread_SortOrder: AgentThread_SortOrder,
1533
+ AgentThread_Thread: AgentThread_Thread,
1534
+ AgentThread_UpdateRequest: AgentThread_UpdateRequest
1535
+ };
1536
+
1189
1537
  const AudioEncoding = /* @__PURE__ */ protobuf.proto3.makeEnum(
1190
1538
  "livekit.agent.AudioEncoding",
1191
1539
  [
@@ -2059,7 +2407,9 @@ const DataTrackExtensionID = /* @__PURE__ */ protobuf.proto3.makeEnum(
2059
2407
  "livekit.DataTrackExtensionID",
2060
2408
  [
2061
2409
  { no: 0, name: "DTEI_INVALID" },
2062
- { no: 1, name: "DTEI_PARTICIPANT_SID" }
2410
+ { no: 1, name: "DTEI_E2EE" },
2411
+ { no: 2, name: "DTEI_USER_TIMESTAMP" },
2412
+ { no: 255, name: "DTEI_PARTICIPANT_SID" }
2063
2413
  ]
2064
2414
  );
2065
2415
  const VideoQuality = /* @__PURE__ */ protobuf.proto3.makeEnum(
@@ -3761,7 +4111,35 @@ const RTPStats = /* @__PURE__ */ protobuf.proto3.makeMessageType(
3761
4111
  { no: 44, name: "packet_drift", kind: "message", T: RTPDrift },
3762
4112
  { no: 45, name: "ntp_report_drift", kind: "message", T: RTPDrift },
3763
4113
  { no: 46, name: "rebased_report_drift", kind: "message", T: RTPDrift },
3764
- { no: 47, name: "received_report_drift", kind: "message", T: RTPDrift }
4114
+ { no: 47, name: "received_report_drift", kind: "message", T: RTPDrift },
4115
+ {
4116
+ no: 48,
4117
+ name: "fec_packets",
4118
+ kind: "scalar",
4119
+ T: 13
4120
+ /* ScalarType.UINT32 */
4121
+ },
4122
+ {
4123
+ no: 49,
4124
+ name: "fec_bytes",
4125
+ kind: "scalar",
4126
+ T: 4
4127
+ /* ScalarType.UINT64 */
4128
+ },
4129
+ {
4130
+ no: 50,
4131
+ name: "fec_packets_discarded",
4132
+ kind: "scalar",
4133
+ T: 13
4134
+ /* ScalarType.UINT32 */
4135
+ },
4136
+ {
4137
+ no: 51,
4138
+ name: "fec_packets_recovered",
4139
+ kind: "scalar",
4140
+ T: 13
4141
+ /* ScalarType.UINT32 */
4142
+ }
3765
4143
  ]
3766
4144
  );
3767
4145
  const RTCPSenderReportState = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -3858,7 +4236,20 @@ const RTPForwarderState = /* @__PURE__ */ protobuf.proto3.makeMessageType(
3858
4236
  },
3859
4237
  { no: 6, name: "rtp_munger", kind: "message", T: RTPMungerState },
3860
4238
  { no: 7, name: "vp8_munger", kind: "message", T: VP8MungerState, oneof: "codec_munger" },
3861
- { no: 8, name: "sender_report_state", kind: "message", T: RTCPSenderReportState, repeated: true }
4239
+ { no: 8, name: "sender_report_state", kind: "message", T: RTCPSenderReportState, repeated: true },
4240
+ { no: 9, name: "dependency_descriptor_forwarder", kind: "message", T: DependencyDescriptorForwarderState }
4241
+ ]
4242
+ );
4243
+ const DependencyDescriptorForwarderState = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4244
+ "livekit.DependencyDescriptorForwarderState",
4245
+ () => [
4246
+ {
4247
+ no: 1,
4248
+ name: "ext_last_frame_number",
4249
+ kind: "scalar",
4250
+ T: 4
4251
+ /* ScalarType.UINT64 */
4252
+ }
3862
4253
  ]
3863
4254
  );
3864
4255
  const RTPMungerState = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -4363,7 +4754,8 @@ const ServerMessage = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4363
4754
  { no: 2, name: "availability", kind: "message", T: AvailabilityRequest, oneof: "message" },
4364
4755
  { no: 3, name: "assignment", kind: "message", T: JobAssignment, oneof: "message" },
4365
4756
  { no: 5, name: "termination", kind: "message", T: JobTermination, oneof: "message" },
4366
- { no: 4, name: "pong", kind: "message", T: WorkerPong, oneof: "message" }
4757
+ { no: 4, name: "pong", kind: "message", T: WorkerPong, oneof: "message" },
4758
+ { no: 6, name: "go_away", kind: "message", T: AgentHttp_GoAway, oneof: "message" }
4367
4759
  ]
4368
4760
  );
4369
4761
  const SimulateJobRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -4438,6 +4830,21 @@ const RegisterWorkerRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4438
4830
  kind: "scalar",
4439
4831
  T: 9
4440
4832
  /* ScalarType.STRING */
4833
+ },
4834
+ { no: 10, name: "endpoints", kind: "message", T: AgentHttp_AgentEndpoint, repeated: true },
4835
+ {
4836
+ no: 11,
4837
+ name: "instance_id",
4838
+ kind: "scalar",
4839
+ T: 9
4840
+ /* ScalarType.STRING */
4841
+ },
4842
+ {
4843
+ no: 12,
4844
+ name: "endpoint_protocol",
4845
+ kind: "scalar",
4846
+ T: 13
4847
+ /* ScalarType.UINT32 */
4441
4848
  }
4442
4849
  ]
4443
4850
  );
@@ -4451,7 +4858,8 @@ const RegisterWorkerResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4451
4858
  T: 9
4452
4859
  /* ScalarType.STRING */
4453
4860
  },
4454
- { no: 3, name: "server_info", kind: "message", T: ServerInfo }
4861
+ { no: 3, name: "server_info", kind: "message", T: ServerInfo },
4862
+ { no: 4, name: "endpoint_settings", kind: "message", T: AgentHttp_AgentEndpointSettings }
4455
4863
  ]
4456
4864
  );
4457
4865
  const MigrateJobRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -4569,6 +4977,20 @@ const UpdateWorkerStatus = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4569
4977
  kind: "scalar",
4570
4978
  T: 13
4571
4979
  /* ScalarType.UINT32 */
4980
+ },
4981
+ {
4982
+ no: 5,
4983
+ name: "draining",
4984
+ kind: "scalar",
4985
+ T: 8
4986
+ /* ScalarType.BOOL */
4987
+ },
4988
+ {
4989
+ no: 6,
4990
+ name: "seq",
4991
+ kind: "scalar",
4992
+ T: 4
4993
+ /* ScalarType.UINT64 */
4572
4994
  }
4573
4995
  ]
4574
4996
  );
@@ -4598,6 +5020,124 @@ const JobTermination = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4598
5020
  }
4599
5021
  ]
4600
5022
  );
5023
+ const AgentHttp = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5024
+ "livekit.AgentHttp",
5025
+ []
5026
+ );
5027
+ const AgentHttp_AgentEndpointKind = /* @__PURE__ */ protobuf.proto3.makeEnum(
5028
+ "livekit.AgentHttp.AgentEndpointKind",
5029
+ [
5030
+ { no: 0, name: "AEK_HTTP" },
5031
+ { no: 1, name: "AEK_TEXT" }
5032
+ ]
5033
+ );
5034
+ const AgentHttp_HttpStreamResetCode = /* @__PURE__ */ protobuf.proto3.makeEnum(
5035
+ "livekit.AgentHttp.HttpStreamResetCode",
5036
+ [
5037
+ { no: 0, name: "HSR_ABORT" },
5038
+ { no: 1, name: "HSR_REFUSED" },
5039
+ { no: 2, name: "HSR_INTERNAL" },
5040
+ { no: 3, name: "HSR_TIMEOUT" },
5041
+ { no: 4, name: "HSR_PROTOCOL" }
5042
+ ]
5043
+ );
5044
+ const AgentHttp_AgentEndpoint = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5045
+ "livekit.AgentHttp.AgentEndpoint",
5046
+ () => [
5047
+ {
5048
+ no: 1,
5049
+ name: "path",
5050
+ kind: "scalar",
5051
+ T: 9
5052
+ /* ScalarType.STRING */
5053
+ },
5054
+ { no: 2, name: "methods", kind: "scalar", T: 9, repeated: true },
5055
+ { no: 3, name: "kind", kind: "enum", T: protobuf.proto3.getEnumType(AgentHttp_AgentEndpointKind) },
5056
+ {
5057
+ no: 4,
5058
+ name: "public",
5059
+ kind: "scalar",
5060
+ T: 8
5061
+ /* ScalarType.BOOL */
5062
+ }
5063
+ ],
5064
+ { localName: "AgentHttp_AgentEndpoint" }
5065
+ );
5066
+ const AgentHttp_AgentEndpointSettings = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5067
+ "livekit.AgentHttp.AgentEndpointSettings",
5068
+ () => [
5069
+ {
5070
+ no: 1,
5071
+ name: "protocol",
5072
+ kind: "scalar",
5073
+ T: 13
5074
+ /* ScalarType.UINT32 */
5075
+ }
5076
+ ],
5077
+ { localName: "AgentHttp_AgentEndpointSettings" }
5078
+ );
5079
+ const AgentHttp_StreamPreamble = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5080
+ "livekit.AgentHttp.StreamPreamble",
5081
+ () => [
5082
+ { no: 1, name: "kind", kind: "enum", T: protobuf.proto3.getEnumType(AgentHttp_AgentEndpointKind) },
5083
+ {
5084
+ no: 2,
5085
+ name: "request_id",
5086
+ kind: "scalar",
5087
+ T: 9
5088
+ /* ScalarType.STRING */
5089
+ },
5090
+ {
5091
+ no: 3,
5092
+ name: "authorized",
5093
+ kind: "scalar",
5094
+ T: 8
5095
+ /* ScalarType.BOOL */
5096
+ },
5097
+ {
5098
+ no: 4,
5099
+ name: "route",
5100
+ kind: "scalar",
5101
+ T: 9
5102
+ /* ScalarType.STRING */
5103
+ },
5104
+ {
5105
+ no: 5,
5106
+ name: "timeout_ms",
5107
+ kind: "scalar",
5108
+ T: 13
5109
+ /* ScalarType.UINT32 */
5110
+ },
5111
+ {
5112
+ no: 6,
5113
+ name: "client_addr",
5114
+ kind: "scalar",
5115
+ T: 9
5116
+ /* ScalarType.STRING */
5117
+ },
5118
+ {
5119
+ no: 7,
5120
+ name: "scheme",
5121
+ kind: "scalar",
5122
+ T: 9
5123
+ /* ScalarType.STRING */
5124
+ }
5125
+ ],
5126
+ { localName: "AgentHttp_StreamPreamble" }
5127
+ );
5128
+ const AgentHttp_GoAway = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5129
+ "livekit.AgentHttp.GoAway",
5130
+ () => [
5131
+ {
5132
+ no: 1,
5133
+ name: "reason",
5134
+ kind: "scalar",
5135
+ T: 9
5136
+ /* ScalarType.STRING */
5137
+ }
5138
+ ],
5139
+ { localName: "AgentHttp_GoAway" }
5140
+ );
4601
5141
 
4602
5142
  const JobRestartPolicy = /* @__PURE__ */ protobuf.proto3.makeEnum(
4603
5143
  "livekit.JobRestartPolicy",
@@ -4966,7 +5506,8 @@ const SimulationRun = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4966
5506
  /* ScalarType.BYTES */
4967
5507
  },
4968
5508
  { no: 21, name: "issue_count", kind: "scalar", T: 5, opt: true },
4969
- { no: 22, name: "ci", kind: "message", T: SimulationRun_CI, opt: true }
5509
+ { no: 22, name: "ci", kind: "message", T: SimulationRun_CI, opt: true },
5510
+ { no: 23, name: "sampling", kind: "message", T: SimulationRun_SamplingOptions, opt: true }
4970
5511
  ]
4971
5512
  );
4972
5513
  const SimulationRun_Status = /* @__PURE__ */ protobuf.proto3.makeEnum(
@@ -5038,7 +5579,21 @@ const SimulationRun_Job = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5038
5579
  /* ScalarType.STRING */
5039
5580
  },
5040
5581
  { no: 13, name: "usage", kind: "message", T: SimulationRun_Job_Usage },
5041
- { no: 14, name: "metrics", kind: "message", T: SimulationRun_JobMetrics }
5582
+ { no: 14, name: "metrics", kind: "message", T: SimulationRun_JobMetrics },
5583
+ {
5584
+ no: 15,
5585
+ name: "scenario_id",
5586
+ kind: "scalar",
5587
+ T: 9
5588
+ /* ScalarType.STRING */
5589
+ },
5590
+ {
5591
+ no: 16,
5592
+ name: "sample",
5593
+ kind: "scalar",
5594
+ T: 5
5595
+ /* ScalarType.INT32 */
5596
+ }
5042
5597
  ],
5043
5598
  { localName: "SimulationRun_Job" }
5044
5599
  );
@@ -5263,6 +5818,26 @@ const SimulationRun_CI = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5263
5818
  ],
5264
5819
  { localName: "SimulationRun_CI" }
5265
5820
  );
5821
+ const SimulationRun_SamplingOptions = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5822
+ "livekit.SimulationRun.SamplingOptions",
5823
+ () => [
5824
+ {
5825
+ no: 1,
5826
+ name: "samples",
5827
+ kind: "scalar",
5828
+ T: 5
5829
+ /* ScalarType.INT32 */
5830
+ },
5831
+ {
5832
+ no: 2,
5833
+ name: "pass_rate",
5834
+ kind: "scalar",
5835
+ T: 1
5836
+ /* ScalarType.DOUBLE */
5837
+ }
5838
+ ],
5839
+ { localName: "SimulationRun_SamplingOptions" }
5840
+ );
5266
5841
  const SimulationRun_Create = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5267
5842
  "livekit.SimulationRun.Create",
5268
5843
  [],
@@ -5323,7 +5898,8 @@ const SimulationRun_Create_Request = /* @__PURE__ */ protobuf.proto3.makeMessage
5323
5898
  T: 8
5324
5899
  /* ScalarType.BOOL */
5325
5900
  },
5326
- { no: 13, name: "ci", kind: "message", T: SimulationRun_CI, opt: true }
5901
+ { no: 13, name: "ci", kind: "message", T: SimulationRun_CI, opt: true },
5902
+ { no: 14, name: "sampling", kind: "message", T: SimulationRun_SamplingOptions, opt: true }
5327
5903
  ],
5328
5904
  { localName: "SimulationRun_Create_Request" }
5329
5905
  );
@@ -8475,6 +9051,7 @@ const SIPInboundTrunkInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
8475
9051
  } },
8476
9052
  { no: 15, name: "include_headers", kind: "enum", T: protobuf.proto3.getEnumType(SIPHeaderOptions) },
8477
9053
  { no: 11, name: "ringing_timeout", kind: "message", T: protobuf.Duration },
9054
+ { no: 21, name: "ringing_timeout_status", kind: "enum", T: protobuf.proto3.getEnumType(SIPStatusCode) },
8478
9055
  { no: 12, name: "max_call_duration", kind: "message", T: protobuf.Duration },
8479
9056
  {
8480
9057
  no: 13,
@@ -10476,6 +11053,15 @@ const StreamState = /* @__PURE__ */ protobuf.proto3.makeEnum(
10476
11053
  { no: 1, name: "PAUSED" }
10477
11054
  ]
10478
11055
  );
11056
+ const NegotiatedDataChannelID = /* @__PURE__ */ protobuf.proto3.makeEnum(
11057
+ "livekit.NegotiatedDataChannelID",
11058
+ [
11059
+ { no: 0, name: "NDCI_INVALID" },
11060
+ { no: 100, name: "NDCI_RELIABLE" },
11061
+ { no: 101, name: "NDCI_LOSSY" },
11062
+ { no: 102, name: "NDCI_DATA_TRACK" }
11063
+ ]
11064
+ );
10479
11065
  const CandidateProtocol = /* @__PURE__ */ protobuf.proto3.makeEnum(
10480
11066
  "livekit.CandidateProtocol",
10481
11067
  [
@@ -12046,7 +12632,7 @@ const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
12046
12632
  ]
12047
12633
  );
12048
12634
 
12049
- const version = "1.52.0";
12635
+ const version = "1.53.0";
12050
12636
 
12051
12637
  exports.Timestamp = protobuf.Timestamp;
12052
12638
  exports.protoInt64 = protobuf.protoInt64;
@@ -12059,9 +12645,17 @@ exports.AddTrackRequest = AddTrackRequest;
12059
12645
  exports.AgentDev = livekit_agent_dev_pb;
12060
12646
  exports.AgentDispatch = AgentDispatch;
12061
12647
  exports.AgentDispatchState = AgentDispatchState;
12648
+ exports.AgentHttp = AgentHttp;
12649
+ exports.AgentHttp_AgentEndpoint = AgentHttp_AgentEndpoint;
12650
+ exports.AgentHttp_AgentEndpointKind = AgentHttp_AgentEndpointKind;
12651
+ exports.AgentHttp_AgentEndpointSettings = AgentHttp_AgentEndpointSettings;
12652
+ exports.AgentHttp_GoAway = AgentHttp_GoAway;
12653
+ exports.AgentHttp_HttpStreamResetCode = AgentHttp_HttpStreamResetCode;
12654
+ exports.AgentHttp_StreamPreamble = AgentHttp_StreamPreamble;
12062
12655
  exports.AgentInference = livekit_agent_inference_pb;
12063
12656
  exports.AgentSession = livekit_agent_session_pb;
12064
12657
  exports.AgentText = livekit_agent_text_pb;
12658
+ exports.AgentThread = livekit_agent_thread_pb;
12065
12659
  exports.AliOSSUpload = AliOSSUpload;
12066
12660
  exports.AnalyticsClientMeta = AnalyticsClientMeta;
12067
12661
  exports.AnalyticsEvent = AnalyticsEvent;
@@ -12145,6 +12739,7 @@ exports.DeleteRoomRequest = DeleteRoomRequest;
12145
12739
  exports.DeleteRoomResponse = DeleteRoomResponse;
12146
12740
  exports.DeleteSIPDispatchRuleRequest = DeleteSIPDispatchRuleRequest;
12147
12741
  exports.DeleteSIPTrunkRequest = DeleteSIPTrunkRequest;
12742
+ exports.DependencyDescriptorForwarderState = DependencyDescriptorForwarderState;
12148
12743
  exports.Destination = Destination;
12149
12744
  exports.DialWhatsAppCallRequest = DialWhatsAppCallRequest;
12150
12745
  exports.DialWhatsAppCallResponse = DialWhatsAppCallResponse;
@@ -12240,6 +12835,7 @@ exports.MoveParticipantResponse = MoveParticipantResponse;
12240
12835
  exports.MuteRoomTrackRequest = MuteRoomTrackRequest;
12241
12836
  exports.MuteRoomTrackResponse = MuteRoomTrackResponse;
12242
12837
  exports.MuteTrackRequest = MuteTrackRequest;
12838
+ exports.NegotiatedDataChannelID = NegotiatedDataChannelID;
12243
12839
  exports.Output = Output;
12244
12840
  exports.PacketTrailerFeature = PacketTrailerFeature;
12245
12841
  exports.Pagination = Pagination;
@@ -12379,6 +12975,7 @@ exports.SimulationRun_List = SimulationRun_List;
12379
12975
  exports.SimulationRun_List_Request = SimulationRun_List_Request;
12380
12976
  exports.SimulationRun_List_Response = SimulationRun_List_Response;
12381
12977
  exports.SimulationRun_RunMetrics = SimulationRun_RunMetrics;
12978
+ exports.SimulationRun_SamplingOptions = SimulationRun_SamplingOptions;
12382
12979
  exports.SimulationRun_Status = SimulationRun_Status;
12383
12980
  exports.SimulationRun_Usage = SimulationRun_Usage;
12384
12981
  exports.SimulcastCodec = SimulcastCodec;