@livekit/protocol 1.46.3 → 1.46.5

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
@@ -493,17 +493,10 @@ const AgentSessionUsage = /* @__PURE__ */ protobuf.proto3.makeMessageType(
493
493
  { no: 1, name: "model_usage", kind: "message", T: ModelUsage, repeated: true }
494
494
  ]
495
495
  );
496
- const CustomEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
497
- "livekit.agent.CustomEvent",
496
+ const DebugMessage = /* @__PURE__ */ protobuf.proto3.makeMessageType(
497
+ "livekit.agent.DebugMessage",
498
498
  () => [
499
- {
500
- no: 1,
501
- name: "type",
502
- kind: "scalar",
503
- T: 9
504
- /* ScalarType.STRING */
505
- },
506
- { no: 2, name: "payload", kind: "message", T: protobuf.Struct }
499
+ { no: 1, name: "payload", kind: "message", T: protobuf.Struct }
507
500
  ]
508
501
  );
509
502
  const AgentSessionEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -521,7 +514,7 @@ const AgentSessionEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
521
514
  { no: 18, name: "amd_prediction", kind: "message", T: AgentSessionEvent_AmdPrediction, oneof: "event" },
522
515
  { no: 19, name: "eot_prediction", kind: "message", T: AgentSessionEvent_EotPrediction, oneof: "event" },
523
516
  { no: 20, name: "function_tools_started", kind: "message", T: AgentSessionEvent_FunctionToolsStarted, oneof: "event" },
524
- { no: 21, name: "custom_event", kind: "message", T: CustomEvent, oneof: "event" }
517
+ { no: 21, name: "debug_message", kind: "message", T: DebugMessage, oneof: "event" }
525
518
  ]
526
519
  );
527
520
  const AgentSessionEvent_AgentStateChanged = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -981,7 +974,7 @@ const livekit_agent_session_pb = {
981
974
  ChatMessage: ChatMessage$1,
982
975
  ChatMessage_ChatContent: ChatMessage_ChatContent,
983
976
  ChatRole: ChatRole,
984
- CustomEvent: CustomEvent,
977
+ DebugMessage: DebugMessage,
985
978
  EotModelUsage: EotModelUsage,
986
979
  FunctionCall: FunctionCall,
987
980
  FunctionCallOutput: FunctionCallOutput,
@@ -1274,7 +1267,20 @@ const InferenceResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1274
1267
  );
1275
1268
  const SessionCreated = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1276
1269
  "livekit.agent.SessionCreated",
1277
- []
1270
+ () => [
1271
+ { no: 1, name: "default_thresholds", kind: "map", K: 9, V: {
1272
+ kind: "scalar",
1273
+ T: 2
1274
+ /* ScalarType.FLOAT */
1275
+ } },
1276
+ {
1277
+ no: 2,
1278
+ name: "default_threshold",
1279
+ kind: "scalar",
1280
+ T: 2
1281
+ /* ScalarType.FLOAT */
1282
+ }
1283
+ ]
1278
1284
  );
1279
1285
  const InferenceStarted = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1280
1286
  "livekit.agent.InferenceStarted",
@@ -4598,8 +4604,7 @@ const MediaSource = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4598
4604
  () => [
4599
4605
  { no: 1, name: "video_track_id", kind: "scalar", T: 9, oneof: "video" },
4600
4606
  { no: 2, name: "participant_video", kind: "message", T: ParticipantVideo, oneof: "video" },
4601
- { no: 3, name: "audio", kind: "message", T: AudioConfig },
4602
- { no: 4, name: "data", kind: "message", T: DataConfig }
4607
+ { no: 3, name: "audio", kind: "message", T: AudioConfig }
4603
4608
  ]
4604
4609
  );
4605
4610
  const ParticipantVideo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -4624,7 +4629,14 @@ const ParticipantVideo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4624
4629
  const AudioConfig = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4625
4630
  "livekit.AudioConfig",
4626
4631
  () => [
4627
- { no: 1, name: "routes", kind: "message", T: AudioRoute, repeated: true }
4632
+ {
4633
+ no: 1,
4634
+ name: "capture_all",
4635
+ kind: "scalar",
4636
+ T: 8
4637
+ /* ScalarType.BOOL */
4638
+ },
4639
+ { no: 2, name: "routes", kind: "message", T: AudioRoute, repeated: true }
4628
4640
  ]
4629
4641
  );
4630
4642
  const AudioRoute = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -4639,15 +4651,21 @@ const AudioRoute = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4639
4651
  const DataConfig = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4640
4652
  "livekit.DataConfig",
4641
4653
  () => [
4642
- { no: 1, name: "selectors", kind: "message", T: DataSelector, repeated: true }
4654
+ {
4655
+ no: 1,
4656
+ name: "capture_all",
4657
+ kind: "scalar",
4658
+ T: 8
4659
+ /* ScalarType.BOOL */
4660
+ },
4661
+ { no: 2, name: "selectors", kind: "message", T: DataSelector, repeated: true }
4643
4662
  ]
4644
4663
  );
4645
4664
  const DataSelector = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4646
4665
  "livekit.DataSelector",
4647
4666
  () => [
4648
4667
  { no: 1, name: "track_id", kind: "scalar", T: 9, oneof: "match" },
4649
- { no: 2, name: "participant_identity", kind: "scalar", T: 9, oneof: "match" },
4650
- { no: 3, name: "topic", kind: "scalar", T: 9, oneof: "match" }
4668
+ { no: 2, name: "participant_identity", kind: "scalar", T: 9, oneof: "match" }
4651
4669
  ]
4652
4670
  );
4653
4671
  const EncodingOptions = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -5186,6 +5204,7 @@ const EgressInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5186
5204
  T: 3
5187
5205
  /* ScalarType.INT64 */
5188
5206
  },
5207
+ { no: 29, name: "egress", kind: "message", T: StartEgressRequest, oneof: "request" },
5189
5208
  { no: 30, name: "replay", kind: "message", T: ExportReplayRequest, oneof: "request" },
5190
5209
  { no: 4, name: "room_composite", kind: "message", T: RoomCompositeEgressRequest, oneof: "request" },
5191
5210
  { no: 14, name: "web", kind: "message", T: WebEgressRequest, oneof: "request" },
@@ -10679,7 +10698,7 @@ const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
10679
10698
  ]
10680
10699
  );
10681
10700
 
10682
- const version = "1.46.3";
10701
+ const version = "1.46.5";
10683
10702
 
10684
10703
  exports.Timestamp = protobuf.Timestamp;
10685
10704
  exports.protoInt64 = protobuf.protoInt64;