@livekit/protocol 1.46.0 → 1.46.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -506,7 +506,8 @@ const AgentSessionEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
506
506
  { no: 16, name: "overlapping_speech", kind: "message", T: AgentSessionEvent_OverlappingSpeech, oneof: "event" },
507
507
  { no: 17, name: "session_usage_updated", kind: "message", T: AgentSessionEvent_SessionUsageUpdated, oneof: "event" },
508
508
  { no: 18, name: "amd_prediction", kind: "message", T: AgentSessionEvent_AmdPrediction, oneof: "event" },
509
- { no: 19, name: "eot_prediction", kind: "message", T: AgentSessionEvent_EotPrediction, oneof: "event" }
509
+ { no: 19, name: "eot_prediction", kind: "message", T: AgentSessionEvent_EotPrediction, oneof: "event" },
510
+ { no: 20, name: "function_tools_started", kind: "message", T: AgentSessionEvent_FunctionToolsStarted, oneof: "event" }
510
511
  ]
511
512
  );
512
513
  const AgentSessionEvent_AgentStateChanged = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -553,6 +554,13 @@ const AgentSessionEvent_UserInputTranscribed = /* @__PURE__ */ protobuf.proto3.m
553
554
  ],
554
555
  { localName: "AgentSessionEvent_UserInputTranscribed" }
555
556
  );
557
+ const AgentSessionEvent_FunctionToolsStarted = /* @__PURE__ */ protobuf.proto3.makeMessageType(
558
+ "livekit.agent.AgentSessionEvent.FunctionToolsStarted",
559
+ () => [
560
+ { no: 1, name: "function_calls", kind: "message", T: FunctionCall, repeated: true }
561
+ ],
562
+ { localName: "AgentSessionEvent_FunctionToolsStarted" }
563
+ );
556
564
  const AgentSessionEvent_FunctionToolsExecuted = /* @__PURE__ */ protobuf.proto3.makeMessageType(
557
565
  "livekit.agent.AgentSessionEvent.FunctionToolsExecuted",
558
566
  () => [
@@ -940,6 +948,7 @@ const livekit_agent_session_pb = {
940
948
  AgentSessionEvent_EotPrediction: AgentSessionEvent_EotPrediction,
941
949
  AgentSessionEvent_Error: AgentSessionEvent_Error,
942
950
  AgentSessionEvent_FunctionToolsExecuted: AgentSessionEvent_FunctionToolsExecuted,
951
+ AgentSessionEvent_FunctionToolsStarted: AgentSessionEvent_FunctionToolsStarted,
943
952
  AgentSessionEvent_OverlappingSpeech: AgentSessionEvent_OverlappingSpeech,
944
953
  AgentSessionEvent_SessionUsageUpdated: AgentSessionEvent_SessionUsageUpdated,
945
954
  AgentSessionEvent_UserInputTranscribed: AgentSessionEvent_UserInputTranscribed,
@@ -993,6 +1002,569 @@ const livekit_agent_session_pb = {
993
1002
  UserState: UserState
994
1003
  };
995
1004
 
1005
+ const AudioEncoding = /* @__PURE__ */ protobuf.proto3.makeEnum(
1006
+ "livekit.agent.AudioEncoding",
1007
+ [
1008
+ { no: 0, name: "AUDIO_ENCODING_PCM_S16LE", localName: "PCM_S16LE" },
1009
+ { no: 1, name: "AUDIO_ENCODING_OPUS", localName: "OPUS" }
1010
+ ]
1011
+ );
1012
+ const SessionSettings = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1013
+ "livekit.agent.SessionSettings",
1014
+ () => [
1015
+ {
1016
+ no: 1,
1017
+ name: "sample_rate",
1018
+ kind: "scalar",
1019
+ T: 13
1020
+ /* ScalarType.UINT32 */
1021
+ },
1022
+ { no: 2, name: "encoding", kind: "enum", T: protobuf.proto3.getEnumType(AudioEncoding) },
1023
+ { no: 3, name: "eot_settings", kind: "message", T: EotSettings, oneof: "type_settings" },
1024
+ { no: 4, name: "interruption_settings", kind: "message", T: InterruptionSettings, oneof: "type_settings" }
1025
+ ]
1026
+ );
1027
+ const InferenceError = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1028
+ "livekit.agent.InferenceError",
1029
+ () => [
1030
+ {
1031
+ no: 1,
1032
+ name: "message",
1033
+ kind: "scalar",
1034
+ T: 9
1035
+ /* ScalarType.STRING */
1036
+ },
1037
+ {
1038
+ no: 2,
1039
+ name: "code",
1040
+ kind: "scalar",
1041
+ T: 13
1042
+ /* ScalarType.UINT32 */
1043
+ }
1044
+ ]
1045
+ );
1046
+ const EotSettings = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1047
+ "livekit.agent.EotSettings",
1048
+ () => [
1049
+ { no: 1, name: "detection_interval", kind: "message", T: protobuf.Duration }
1050
+ ]
1051
+ );
1052
+ const InterruptionSettings = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1053
+ "livekit.agent.InterruptionSettings",
1054
+ () => [
1055
+ {
1056
+ no: 1,
1057
+ name: "threshold",
1058
+ kind: "scalar",
1059
+ T: 2
1060
+ /* ScalarType.FLOAT */
1061
+ },
1062
+ {
1063
+ no: 2,
1064
+ name: "min_frames",
1065
+ kind: "scalar",
1066
+ T: 13
1067
+ /* ScalarType.UINT32 */
1068
+ },
1069
+ { no: 3, name: "max_audio_duration", kind: "message", T: protobuf.Duration },
1070
+ { no: 4, name: "audio_prefix_duration", kind: "message", T: protobuf.Duration },
1071
+ { no: 5, name: "detection_interval", kind: "message", T: protobuf.Duration }
1072
+ ]
1073
+ );
1074
+ const SessionCreate = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1075
+ "livekit.agent.SessionCreate",
1076
+ () => [
1077
+ { no: 1, name: "settings", kind: "message", T: SessionSettings }
1078
+ ]
1079
+ );
1080
+ const InputAudio = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1081
+ "livekit.agent.InputAudio",
1082
+ () => [
1083
+ {
1084
+ no: 1,
1085
+ name: "audio",
1086
+ kind: "scalar",
1087
+ T: 12
1088
+ /* ScalarType.BYTES */
1089
+ },
1090
+ { no: 2, name: "created_at", kind: "message", T: protobuf.Timestamp },
1091
+ {
1092
+ no: 3,
1093
+ name: "num_samples",
1094
+ kind: "scalar",
1095
+ T: 13
1096
+ /* ScalarType.UINT32 */
1097
+ }
1098
+ ]
1099
+ );
1100
+ const EotInputChatContext = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1101
+ "livekit.agent.EotInputChatContext",
1102
+ () => [
1103
+ { no: 1, name: "messages", kind: "message", T: ChatMessage$1, repeated: true }
1104
+ ]
1105
+ );
1106
+ const SessionFlush = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1107
+ "livekit.agent.SessionFlush",
1108
+ []
1109
+ );
1110
+ const SessionClose = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1111
+ "livekit.agent.SessionClose",
1112
+ []
1113
+ );
1114
+ const InferenceStart = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1115
+ "livekit.agent.InferenceStart",
1116
+ () => [
1117
+ {
1118
+ no: 1,
1119
+ name: "request_id",
1120
+ kind: "scalar",
1121
+ T: 9
1122
+ /* ScalarType.STRING */
1123
+ }
1124
+ ]
1125
+ );
1126
+ const InferenceStop = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1127
+ "livekit.agent.InferenceStop",
1128
+ () => [
1129
+ {
1130
+ no: 1,
1131
+ name: "request_id",
1132
+ kind: "scalar",
1133
+ T: 9
1134
+ /* ScalarType.STRING */
1135
+ }
1136
+ ]
1137
+ );
1138
+ const BufferStart = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1139
+ "livekit.agent.BufferStart",
1140
+ []
1141
+ );
1142
+ const BufferStop = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1143
+ "livekit.agent.BufferStop",
1144
+ []
1145
+ );
1146
+ const ClientMessage = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1147
+ "livekit.agent.ClientMessage",
1148
+ () => [
1149
+ { no: 1, name: "created_at", kind: "message", T: protobuf.Timestamp },
1150
+ { no: 2, name: "session_create", kind: "message", T: SessionCreate, oneof: "message" },
1151
+ { no: 3, name: "input_audio", kind: "message", T: InputAudio, oneof: "message" },
1152
+ { no: 4, name: "session_flush", kind: "message", T: SessionFlush, oneof: "message" },
1153
+ { no: 5, name: "session_close", kind: "message", T: SessionClose, oneof: "message" },
1154
+ { no: 6, name: "inference_start", kind: "message", T: InferenceStart, oneof: "message" },
1155
+ { no: 7, name: "inference_stop", kind: "message", T: InferenceStop, oneof: "message" },
1156
+ { no: 8, name: "buffer_start", kind: "message", T: BufferStart, oneof: "message" },
1157
+ { no: 9, name: "buffer_stop", kind: "message", T: BufferStop, oneof: "message" },
1158
+ { no: 10, name: "eot_input_chat_context", kind: "message", T: EotInputChatContext, oneof: "message" }
1159
+ ]
1160
+ );
1161
+ const EotInferenceRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1162
+ "livekit.agent.EotInferenceRequest",
1163
+ () => [
1164
+ {
1165
+ no: 1,
1166
+ name: "audio",
1167
+ kind: "scalar",
1168
+ T: 12
1169
+ /* ScalarType.BYTES */
1170
+ },
1171
+ {
1172
+ no: 2,
1173
+ name: "assistant_text",
1174
+ kind: "scalar",
1175
+ T: 9
1176
+ /* ScalarType.STRING */
1177
+ },
1178
+ { no: 3, name: "encoding", kind: "enum", T: protobuf.proto3.getEnumType(AudioEncoding) },
1179
+ {
1180
+ no: 4,
1181
+ name: "sample_rate",
1182
+ kind: "scalar",
1183
+ T: 13
1184
+ /* ScalarType.UINT32 */
1185
+ }
1186
+ ]
1187
+ );
1188
+ const InterruptionInferenceRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1189
+ "livekit.agent.InterruptionInferenceRequest",
1190
+ () => [
1191
+ {
1192
+ no: 1,
1193
+ name: "audio",
1194
+ kind: "scalar",
1195
+ T: 12
1196
+ /* ScalarType.BYTES */
1197
+ },
1198
+ { no: 2, name: "encoding", kind: "enum", T: protobuf.proto3.getEnumType(AudioEncoding) },
1199
+ {
1200
+ no: 3,
1201
+ name: "sample_rate",
1202
+ kind: "scalar",
1203
+ T: 13
1204
+ /* ScalarType.UINT32 */
1205
+ }
1206
+ ]
1207
+ );
1208
+ const InferenceRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1209
+ "livekit.agent.InferenceRequest",
1210
+ () => [
1211
+ { no: 1, name: "eot_inference_request", kind: "message", T: EotInferenceRequest, oneof: "request" },
1212
+ { no: 2, name: "interruption_inference_request", kind: "message", T: InterruptionInferenceRequest, oneof: "request" }
1213
+ ]
1214
+ );
1215
+ const InferenceStats = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1216
+ "livekit.agent.InferenceStats",
1217
+ () => [
1218
+ { no: 1, name: "earliest_client_created_at", kind: "message", T: protobuf.Timestamp, opt: true },
1219
+ { no: 2, name: "latest_client_created_at", kind: "message", T: protobuf.Timestamp, opt: true },
1220
+ { no: 3, name: "client_e2e_latency", kind: "message", T: protobuf.Duration, opt: true },
1221
+ { no: 4, name: "server_e2e_latency", kind: "message", T: protobuf.Duration },
1222
+ { no: 5, name: "preprocessing_duration", kind: "message", T: protobuf.Duration },
1223
+ { no: 6, name: "inference_duration", kind: "message", T: protobuf.Duration }
1224
+ ]
1225
+ );
1226
+ const EotInferenceResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1227
+ "livekit.agent.EotInferenceResponse",
1228
+ () => [
1229
+ {
1230
+ no: 1,
1231
+ name: "probability",
1232
+ kind: "scalar",
1233
+ T: 2
1234
+ /* ScalarType.FLOAT */
1235
+ },
1236
+ { no: 2, name: "stats", kind: "message", T: InferenceStats }
1237
+ ]
1238
+ );
1239
+ const InterruptionInferenceResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1240
+ "livekit.agent.InterruptionInferenceResponse",
1241
+ () => [
1242
+ {
1243
+ no: 1,
1244
+ name: "is_interruption",
1245
+ kind: "scalar",
1246
+ T: 8
1247
+ /* ScalarType.BOOL */
1248
+ },
1249
+ { no: 2, name: "probabilities", kind: "scalar", T: 2, repeated: true },
1250
+ { no: 3, name: "stats", kind: "message", T: InferenceStats }
1251
+ ]
1252
+ );
1253
+ const InferenceResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1254
+ "livekit.agent.InferenceResponse",
1255
+ () => [
1256
+ { no: 1, name: "eot_inference_response", kind: "message", T: EotInferenceResponse, oneof: "response" },
1257
+ { no: 2, name: "interruption_inference_response", kind: "message", T: InterruptionInferenceResponse, oneof: "response" }
1258
+ ]
1259
+ );
1260
+ const SessionCreated = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1261
+ "livekit.agent.SessionCreated",
1262
+ []
1263
+ );
1264
+ const InferenceStarted = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1265
+ "livekit.agent.InferenceStarted",
1266
+ []
1267
+ );
1268
+ const InferenceStopped = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1269
+ "livekit.agent.InferenceStopped",
1270
+ []
1271
+ );
1272
+ const SessionClosed = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1273
+ "livekit.agent.SessionClosed",
1274
+ []
1275
+ );
1276
+ const EotPrediction = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1277
+ "livekit.agent.EotPrediction",
1278
+ () => [
1279
+ {
1280
+ no: 1,
1281
+ name: "probability",
1282
+ kind: "scalar",
1283
+ T: 2
1284
+ /* ScalarType.FLOAT */
1285
+ },
1286
+ { no: 2, name: "inference_stats", kind: "message", T: InferenceStats },
1287
+ { no: 3, name: "backend", kind: "enum", T: protobuf.proto3.getEnumType(EotPrediction_EotBackend) }
1288
+ ]
1289
+ );
1290
+ const EotPrediction_EotBackend = /* @__PURE__ */ protobuf.proto3.makeEnum(
1291
+ "livekit.agent.EotPrediction.EotBackend",
1292
+ [
1293
+ { no: 0, name: "EOT_BACKEND_UNKNOWN", localName: "UNKNOWN" },
1294
+ { no: 1, name: "EOT_BACKEND_MULTIMODAL", localName: "MULTIMODAL" },
1295
+ { no: 2, name: "EOT_BACKEND_TEXT", localName: "TEXT" }
1296
+ ]
1297
+ );
1298
+ const InterruptionPrediction = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1299
+ "livekit.agent.InterruptionPrediction",
1300
+ () => [
1301
+ {
1302
+ no: 1,
1303
+ name: "is_interruption",
1304
+ kind: "scalar",
1305
+ T: 8
1306
+ /* ScalarType.BOOL */
1307
+ },
1308
+ { no: 2, name: "probabilities", kind: "scalar", T: 2, repeated: true },
1309
+ { no: 3, name: "inference_stats", kind: "message", T: InferenceStats }
1310
+ ]
1311
+ );
1312
+ const ServerMessage$1 = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1313
+ "livekit.agent.ServerMessage",
1314
+ () => [
1315
+ { no: 1, name: "server_created_at", kind: "message", T: protobuf.Timestamp },
1316
+ { no: 2, name: "request_id", kind: "scalar", T: 9, opt: true },
1317
+ { no: 3, name: "client_created_at", kind: "message", T: protobuf.Timestamp, opt: true },
1318
+ { no: 4, name: "session_created", kind: "message", T: SessionCreated, oneof: "message" },
1319
+ { no: 5, name: "inference_started", kind: "message", T: InferenceStarted, oneof: "message" },
1320
+ { no: 6, name: "inference_stopped", kind: "message", T: InferenceStopped, oneof: "message" },
1321
+ { no: 7, name: "session_closed", kind: "message", T: SessionClosed, oneof: "message" },
1322
+ { no: 8, name: "error", kind: "message", T: InferenceError, oneof: "message" },
1323
+ { no: 9, name: "eot_prediction", kind: "message", T: EotPrediction, oneof: "message" },
1324
+ { no: 10, name: "interruption_prediction", kind: "message", T: InterruptionPrediction, oneof: "message" }
1325
+ ]
1326
+ );
1327
+
1328
+ const livekit_agent_inference_pb = {
1329
+ __proto__: null,
1330
+ AudioEncoding: AudioEncoding,
1331
+ BufferStart: BufferStart,
1332
+ BufferStop: BufferStop,
1333
+ ClientMessage: ClientMessage,
1334
+ EotInferenceRequest: EotInferenceRequest,
1335
+ EotInferenceResponse: EotInferenceResponse,
1336
+ EotInputChatContext: EotInputChatContext,
1337
+ EotPrediction: EotPrediction,
1338
+ EotPrediction_EotBackend: EotPrediction_EotBackend,
1339
+ EotSettings: EotSettings,
1340
+ InferenceError: InferenceError,
1341
+ InferenceRequest: InferenceRequest,
1342
+ InferenceResponse: InferenceResponse,
1343
+ InferenceStart: InferenceStart,
1344
+ InferenceStarted: InferenceStarted,
1345
+ InferenceStats: InferenceStats,
1346
+ InferenceStop: InferenceStop,
1347
+ InferenceStopped: InferenceStopped,
1348
+ InputAudio: InputAudio,
1349
+ InterruptionInferenceRequest: InterruptionInferenceRequest,
1350
+ InterruptionInferenceResponse: InterruptionInferenceResponse,
1351
+ InterruptionPrediction: InterruptionPrediction,
1352
+ InterruptionSettings: InterruptionSettings,
1353
+ ServerMessage: ServerMessage$1,
1354
+ SessionClose: SessionClose,
1355
+ SessionClosed: SessionClosed,
1356
+ SessionCreate: SessionCreate,
1357
+ SessionCreated: SessionCreated,
1358
+ SessionFlush: SessionFlush,
1359
+ SessionSettings: SessionSettings
1360
+ };
1361
+
1362
+ const TextMessageErrorCode = /* @__PURE__ */ protobuf.proto3.makeEnum(
1363
+ "livekit.agent.TextMessageErrorCode",
1364
+ [
1365
+ { no: 0, name: "INTERNAL_ERROR" },
1366
+ { no: 1, name: "SESSION_STATE_NOT_FOUND" },
1367
+ { no: 2, name: "TEXT_HANDLER_ERROR" },
1368
+ { no: 3, name: "PROCESS_CLOSED" }
1369
+ ]
1370
+ );
1371
+ const TextMessageRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1372
+ "livekit.agent.TextMessageRequest",
1373
+ () => [
1374
+ {
1375
+ no: 1,
1376
+ name: "text",
1377
+ kind: "scalar",
1378
+ T: 9
1379
+ /* ScalarType.STRING */
1380
+ },
1381
+ {
1382
+ no: 2,
1383
+ name: "message_id",
1384
+ kind: "scalar",
1385
+ T: 9
1386
+ /* ScalarType.STRING */
1387
+ },
1388
+ {
1389
+ no: 3,
1390
+ name: "session_id",
1391
+ kind: "scalar",
1392
+ T: 9
1393
+ /* ScalarType.STRING */
1394
+ },
1395
+ {
1396
+ no: 4,
1397
+ name: "agent_name",
1398
+ kind: "scalar",
1399
+ T: 9
1400
+ /* ScalarType.STRING */
1401
+ },
1402
+ {
1403
+ no: 5,
1404
+ name: "metadata",
1405
+ kind: "scalar",
1406
+ T: 9
1407
+ /* ScalarType.STRING */
1408
+ },
1409
+ { no: 6, name: "session_state", kind: "message", T: AgentSessionState, opt: true }
1410
+ ]
1411
+ );
1412
+ const TextMessageResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1413
+ "livekit.agent.TextMessageResponse",
1414
+ () => [
1415
+ {
1416
+ no: 1,
1417
+ name: "message_id",
1418
+ kind: "scalar",
1419
+ T: 9
1420
+ /* ScalarType.STRING */
1421
+ },
1422
+ {
1423
+ no: 2,
1424
+ name: "session_id",
1425
+ kind: "scalar",
1426
+ T: 9
1427
+ /* ScalarType.STRING */
1428
+ },
1429
+ { no: 3, name: "message", kind: "message", T: ChatMessage$1, oneof: "event" },
1430
+ { no: 4, name: "function_call", kind: "message", T: FunctionCall, oneof: "event" },
1431
+ { no: 5, name: "function_call_output", kind: "message", T: FunctionCallOutput, oneof: "event" },
1432
+ { no: 6, name: "agent_handoff", kind: "message", T: AgentHandoff, oneof: "event" },
1433
+ { no: 7, name: "complete", kind: "message", T: TextMessageComplete, oneof: "event" }
1434
+ ]
1435
+ );
1436
+ const TextMessageComplete = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1437
+ "livekit.agent.TextMessageComplete",
1438
+ () => [
1439
+ { no: 1, name: "session_state", kind: "message", T: AgentSessionState, oneof: "result" },
1440
+ { no: 2, name: "error", kind: "message", T: TextMessageError, oneof: "result" }
1441
+ ]
1442
+ );
1443
+ const AgentSessionState = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1444
+ "livekit.agent.AgentSessionState",
1445
+ () => [
1446
+ {
1447
+ no: 1,
1448
+ name: "version",
1449
+ kind: "scalar",
1450
+ T: 4
1451
+ /* ScalarType.UINT64 */
1452
+ },
1453
+ { no: 2, name: "snapshot", kind: "scalar", T: 12, oneof: "data" },
1454
+ { no: 3, name: "delta", kind: "scalar", T: 12, oneof: "data" }
1455
+ ]
1456
+ );
1457
+ const TextMessageError = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1458
+ "livekit.agent.TextMessageError",
1459
+ () => [
1460
+ {
1461
+ no: 1,
1462
+ name: "message",
1463
+ kind: "scalar",
1464
+ T: 9
1465
+ /* ScalarType.STRING */
1466
+ },
1467
+ { no: 2, name: "code", kind: "enum", T: protobuf.proto3.getEnumType(TextMessageErrorCode) }
1468
+ ]
1469
+ );
1470
+
1471
+ const livekit_agent_text_pb = {
1472
+ __proto__: null,
1473
+ AgentSessionState: AgentSessionState,
1474
+ TextMessageComplete: TextMessageComplete,
1475
+ TextMessageError: TextMessageError,
1476
+ TextMessageErrorCode: TextMessageErrorCode,
1477
+ TextMessageRequest: TextMessageRequest,
1478
+ TextMessageResponse: TextMessageResponse
1479
+ };
1480
+
1481
+ const AgentDevMessage = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1482
+ "livekit.agent.AgentDevMessage",
1483
+ () => [
1484
+ { no: 1, name: "get_running_jobs_request", kind: "message", T: GetRunningAgentJobsRequest, oneof: "message" },
1485
+ { no: 2, name: "get_running_jobs_response", kind: "message", T: GetRunningAgentJobsResponse, oneof: "message" }
1486
+ ]
1487
+ );
1488
+ const GetRunningAgentJobsRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1489
+ "livekit.agent.GetRunningAgentJobsRequest",
1490
+ []
1491
+ );
1492
+ const GetRunningAgentJobsResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1493
+ "livekit.agent.GetRunningAgentJobsResponse",
1494
+ () => [
1495
+ { no: 1, name: "jobs", kind: "message", T: RunningAgentJobInfo, repeated: true }
1496
+ ]
1497
+ );
1498
+ const RunningAgentJobInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1499
+ "livekit.agent.RunningAgentJobInfo",
1500
+ () => [
1501
+ {
1502
+ no: 1,
1503
+ name: "job",
1504
+ kind: "scalar",
1505
+ T: 12
1506
+ /* ScalarType.BYTES */
1507
+ },
1508
+ {
1509
+ no: 2,
1510
+ name: "accept_name",
1511
+ kind: "scalar",
1512
+ T: 9
1513
+ /* ScalarType.STRING */
1514
+ },
1515
+ {
1516
+ no: 3,
1517
+ name: "accept_identity",
1518
+ kind: "scalar",
1519
+ T: 9
1520
+ /* ScalarType.STRING */
1521
+ },
1522
+ {
1523
+ no: 4,
1524
+ name: "accept_metadata",
1525
+ kind: "scalar",
1526
+ T: 9
1527
+ /* ScalarType.STRING */
1528
+ },
1529
+ {
1530
+ no: 5,
1531
+ name: "url",
1532
+ kind: "scalar",
1533
+ T: 9
1534
+ /* ScalarType.STRING */
1535
+ },
1536
+ {
1537
+ no: 6,
1538
+ name: "token",
1539
+ kind: "scalar",
1540
+ T: 9
1541
+ /* ScalarType.STRING */
1542
+ },
1543
+ {
1544
+ no: 7,
1545
+ name: "worker_id",
1546
+ kind: "scalar",
1547
+ T: 9
1548
+ /* ScalarType.STRING */
1549
+ },
1550
+ {
1551
+ no: 8,
1552
+ name: "mock_job",
1553
+ kind: "scalar",
1554
+ T: 8
1555
+ /* ScalarType.BOOL */
1556
+ }
1557
+ ]
1558
+ );
1559
+
1560
+ const livekit_agent_dev_pb = {
1561
+ __proto__: null,
1562
+ AgentDevMessage: AgentDevMessage,
1563
+ GetRunningAgentJobsRequest: GetRunningAgentJobsRequest,
1564
+ GetRunningAgentJobsResponse: GetRunningAgentJobsResponse,
1565
+ RunningAgentJobInfo: RunningAgentJobInfo
1566
+ };
1567
+
996
1568
  const MetricLabel = /* @__PURE__ */ protobuf.proto3.makeEnum(
997
1569
  "livekit.MetricLabel",
998
1570
  [
@@ -5837,6 +6409,13 @@ const RoomParticipantIdentity = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5837
6409
  kind: "scalar",
5838
6410
  T: 9
5839
6411
  /* ScalarType.STRING */
6412
+ },
6413
+ {
6414
+ no: 3,
6415
+ name: "revoke_token_ts",
6416
+ kind: "scalar",
6417
+ T: 3
6418
+ /* ScalarType.INT64 */
5840
6419
  }
5841
6420
  ]
5842
6421
  );
@@ -7172,6 +7751,9 @@ const CreateSIPParticipantRequest = /* @__PURE__ */ protobuf.proto3.makeMessageT
7172
7751
  /* ScalarType.STRING */
7173
7752
  },
7174
7753
  { no: 20, name: "trunk", kind: "message", T: SIPOutboundConfig },
7754
+ { no: 24, name: "sip_request_uri", kind: "message", T: SIPRequestDest },
7755
+ { no: 25, name: "sip_to_header", kind: "message", T: SIPNamedDest },
7756
+ { no: 26, name: "sip_from_header", kind: "message", T: SIPNamedDest },
7175
7757
  {
7176
7758
  no: 2,
7177
7759
  name: "sip_call_to",
@@ -7575,6 +8157,27 @@ const SIPUri = /* @__PURE__ */ protobuf.proto3.makeMessageType(
7575
8157
  { no: 5, name: "transport", kind: "enum", T: protobuf.proto3.getEnumType(SIPTransport) }
7576
8158
  ]
7577
8159
  );
8160
+ const SIPRequestDest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
8161
+ "livekit.SIPRequestDest",
8162
+ () => [
8163
+ { no: 1, name: "raw", kind: "scalar", T: 9, oneof: "uri" },
8164
+ { no: 2, name: "values", kind: "message", T: SIPUri, oneof: "uri" }
8165
+ ]
8166
+ );
8167
+ const SIPNamedDest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
8168
+ "livekit.SIPNamedDest",
8169
+ () => [
8170
+ {
8171
+ no: 3,
8172
+ name: "display_name",
8173
+ kind: "scalar",
8174
+ T: 9
8175
+ /* ScalarType.STRING */
8176
+ },
8177
+ { no: 1, name: "raw", kind: "scalar", T: 9, oneof: "uri" },
8178
+ { no: 2, name: "values", kind: "message", T: SIPUri, oneof: "uri" }
8179
+ ]
8180
+ );
7578
8181
  const Destination = /* @__PURE__ */ protobuf.proto3.makeMessageType(
7579
8182
  "livekit.Destination",
7580
8183
  () => [
@@ -8218,7 +8821,8 @@ const FeatureUsageInfo_Feature = /* @__PURE__ */ protobuf.proto3.makeEnum(
8218
8821
  [
8219
8822
  { no: 0, name: "KRISP_NOISE_CANCELLATION" },
8220
8823
  { no: 1, name: "KRISP_BACKGROUND_VOICE_CANCELLATION" },
8221
- { no: 2, name: "AIC_AUDIO_ENHANCEMENT" }
8824
+ { no: 2, name: "AIC_AUDIO_ENHANCEMENT" },
8825
+ { no: 3, name: "KRISP_VIVA" }
8222
8826
  ]
8223
8827
  );
8224
8828
  const APICallRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -10060,7 +10664,7 @@ const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
10060
10664
  ]
10061
10665
  );
10062
10666
 
10063
- const version = "1.46.0";
10667
+ const version = "1.46.2";
10064
10668
 
10065
10669
  exports.Timestamp = protobuf.Timestamp;
10066
10670
  exports.protoInt64 = protobuf.protoInt64;
@@ -10070,9 +10674,12 @@ exports.AcceptWhatsAppCallRequest = AcceptWhatsAppCallRequest;
10070
10674
  exports.AcceptWhatsAppCallResponse = AcceptWhatsAppCallResponse;
10071
10675
  exports.ActiveSpeakerUpdate = ActiveSpeakerUpdate;
10072
10676
  exports.AddTrackRequest = AddTrackRequest;
10677
+ exports.AgentDev = livekit_agent_dev_pb;
10073
10678
  exports.AgentDispatch = AgentDispatch;
10074
10679
  exports.AgentDispatchState = AgentDispatchState;
10680
+ exports.AgentInference = livekit_agent_inference_pb;
10075
10681
  exports.AgentSession = livekit_agent_session_pb;
10682
+ exports.AgentText = livekit_agent_text_pb;
10076
10683
  exports.AliOSSUpload = AliOSSUpload;
10077
10684
  exports.AnalyticsClientMeta = AnalyticsClientMeta;
10078
10685
  exports.AnalyticsEvent = AnalyticsEvent;
@@ -10308,10 +10915,12 @@ exports.SIPInboundTrunkInfo = SIPInboundTrunkInfo;
10308
10915
  exports.SIPInboundTrunkUpdate = SIPInboundTrunkUpdate;
10309
10916
  exports.SIPMediaConfig = SIPMediaConfig;
10310
10917
  exports.SIPMediaEncryption = SIPMediaEncryption;
10918
+ exports.SIPNamedDest = SIPNamedDest;
10311
10919
  exports.SIPOutboundConfig = SIPOutboundConfig;
10312
10920
  exports.SIPOutboundTrunkInfo = SIPOutboundTrunkInfo;
10313
10921
  exports.SIPOutboundTrunkUpdate = SIPOutboundTrunkUpdate;
10314
10922
  exports.SIPParticipantInfo = SIPParticipantInfo;
10923
+ exports.SIPRequestDest = SIPRequestDest;
10315
10924
  exports.SIPStatus = SIPStatus;
10316
10925
  exports.SIPStatusCode = SIPStatusCode;
10317
10926
  exports.SIPTransferInfo = SIPTransferInfo;