@livekit/protocol 1.45.8 → 1.46.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
@@ -451,13 +451,40 @@ const InterruptionModelUsage = /* @__PURE__ */ protobuf.proto3.makeMessageType(
451
451
  }
452
452
  ]
453
453
  );
454
+ const EotModelUsage = /* @__PURE__ */ protobuf.proto3.makeMessageType(
455
+ "livekit.agent.EotModelUsage",
456
+ () => [
457
+ {
458
+ no: 1,
459
+ name: "provider",
460
+ kind: "scalar",
461
+ T: 9
462
+ /* ScalarType.STRING */
463
+ },
464
+ {
465
+ no: 2,
466
+ name: "model",
467
+ kind: "scalar",
468
+ T: 9
469
+ /* ScalarType.STRING */
470
+ },
471
+ {
472
+ no: 3,
473
+ name: "total_requests",
474
+ kind: "scalar",
475
+ T: 5
476
+ /* ScalarType.INT32 */
477
+ }
478
+ ]
479
+ );
454
480
  const ModelUsage = /* @__PURE__ */ protobuf.proto3.makeMessageType(
455
481
  "livekit.agent.ModelUsage",
456
482
  () => [
457
483
  { no: 1, name: "llm", kind: "message", T: LLMModelUsage, oneof: "usage" },
458
484
  { no: 2, name: "tts", kind: "message", T: TTSModelUsage, oneof: "usage" },
459
485
  { no: 3, name: "stt", kind: "message", T: STTModelUsage, oneof: "usage" },
460
- { no: 4, name: "interruption", kind: "message", T: InterruptionModelUsage, oneof: "usage" }
486
+ { no: 4, name: "interruption", kind: "message", T: InterruptionModelUsage, oneof: "usage" },
487
+ { no: 5, name: "eot", kind: "message", T: EotModelUsage, oneof: "usage" }
461
488
  ]
462
489
  );
463
490
  const AgentSessionUsage = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -478,7 +505,8 @@ const AgentSessionEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
478
505
  { no: 15, name: "error", kind: "message", T: AgentSessionEvent_Error, oneof: "event" },
479
506
  { no: 16, name: "overlapping_speech", kind: "message", T: AgentSessionEvent_OverlappingSpeech, oneof: "event" },
480
507
  { no: 17, name: "session_usage_updated", kind: "message", T: AgentSessionEvent_SessionUsageUpdated, oneof: "event" },
481
- { no: 18, name: "amd_prediction", kind: "message", T: AgentSessionEvent_AmdPrediction, oneof: "event" }
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" }
482
510
  ]
483
511
  );
484
512
  const AgentSessionEvent_AgentStateChanged = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -591,6 +619,28 @@ const AgentSessionEvent_AmdPrediction = /* @__PURE__ */ protobuf.proto3.makeMess
591
619
  ],
592
620
  { localName: "AgentSessionEvent_AmdPrediction" }
593
621
  );
622
+ const AgentSessionEvent_EotPrediction = /* @__PURE__ */ protobuf.proto3.makeMessageType(
623
+ "livekit.agent.AgentSessionEvent.EotPrediction",
624
+ () => [
625
+ {
626
+ no: 1,
627
+ name: "probability",
628
+ kind: "scalar",
629
+ T: 2
630
+ /* ScalarType.FLOAT */
631
+ },
632
+ {
633
+ no: 2,
634
+ name: "threshold",
635
+ kind: "scalar",
636
+ T: 2
637
+ /* ScalarType.FLOAT */
638
+ },
639
+ { no: 3, name: "inference_duration", kind: "message", T: protobuf.Duration },
640
+ { no: 4, name: "delay", kind: "message", T: protobuf.Duration }
641
+ ],
642
+ { localName: "AgentSessionEvent_EotPrediction" }
643
+ );
594
644
  const AgentSessionEvent_SessionUsageUpdated = /* @__PURE__ */ protobuf.proto3.makeMessageType(
595
645
  "livekit.agent.AgentSessionEvent.SessionUsageUpdated",
596
646
  () => [
@@ -615,7 +665,8 @@ const SessionRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
615
665
  { no: 7, name: "get_session_state", kind: "message", T: SessionRequest_GetSessionState, oneof: "request" },
616
666
  { no: 8, name: "get_rtc_stats", kind: "message", T: SessionRequest_GetRTCStats, oneof: "request" },
617
667
  { no: 9, name: "get_session_usage", kind: "message", T: SessionRequest_GetSessionUsage, oneof: "request" },
618
- { no: 10, name: "get_framework_info", kind: "message", T: SessionRequest_GetFrameworkInfo, oneof: "request" }
668
+ { no: 10, name: "get_framework_info", kind: "message", T: SessionRequest_GetFrameworkInfo, oneof: "request" },
669
+ { no: 11, name: "update_io", kind: "message", T: SessionRequest_UpdateIO, oneof: "request" }
619
670
  ]
620
671
  );
621
672
  const SessionRequest_Ping = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -666,6 +717,31 @@ const SessionRequest_GetFrameworkInfo = /* @__PURE__ */ protobuf.proto3.makeMess
666
717
  [],
667
718
  { localName: "SessionRequest_GetFrameworkInfo" }
668
719
  );
720
+ const SessionRequest_UpdateIO = /* @__PURE__ */ protobuf.proto3.makeMessageType(
721
+ "livekit.agent.SessionRequest.UpdateIO",
722
+ () => [
723
+ { no: 1, name: "input", kind: "message", T: SessionRequest_UpdateIO_Input, opt: true },
724
+ { no: 2, name: "output", kind: "message", T: SessionRequest_UpdateIO_Output, opt: true }
725
+ ],
726
+ { localName: "SessionRequest_UpdateIO" }
727
+ );
728
+ const SessionRequest_UpdateIO_Input = /* @__PURE__ */ protobuf.proto3.makeMessageType(
729
+ "livekit.agent.SessionRequest.UpdateIO.Input",
730
+ () => [
731
+ { no: 1, name: "audio_enabled", kind: "scalar", T: 8, opt: true },
732
+ { no: 2, name: "video_enabled", kind: "scalar", T: 8, opt: true }
733
+ ],
734
+ { localName: "SessionRequest_UpdateIO_Input" }
735
+ );
736
+ const SessionRequest_UpdateIO_Output = /* @__PURE__ */ protobuf.proto3.makeMessageType(
737
+ "livekit.agent.SessionRequest.UpdateIO.Output",
738
+ () => [
739
+ { no: 1, name: "audio_enabled", kind: "scalar", T: 8, opt: true },
740
+ { no: 2, name: "video_enabled", kind: "scalar", T: 8, opt: true },
741
+ { no: 3, name: "transcription_enabled", kind: "scalar", T: 8, opt: true }
742
+ ],
743
+ { localName: "SessionRequest_UpdateIO_Output" }
744
+ );
669
745
  const SessionResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
670
746
  "livekit.agent.SessionResponse",
671
747
  () => [
@@ -684,7 +760,8 @@ const SessionResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
684
760
  { no: 8, name: "get_session_state", kind: "message", T: SessionResponse_GetSessionStateResponse, oneof: "response" },
685
761
  { no: 9, name: "get_rtc_stats", kind: "message", T: SessionResponse_GetRTCStatsResponse, oneof: "response" },
686
762
  { no: 10, name: "get_session_usage", kind: "message", T: SessionResponse_GetSessionUsageResponse, oneof: "response" },
687
- { no: 11, name: "get_framework_info", kind: "message", T: SessionResponse_GetFrameworkInfoResponse, oneof: "response" }
763
+ { no: 11, name: "get_framework_info", kind: "message", T: SessionResponse_GetFrameworkInfoResponse, oneof: "response" },
764
+ { no: 12, name: "update_io", kind: "message", T: SessionResponse_UpdateIOResponse, oneof: "response" }
688
765
  ]
689
766
  );
690
767
  const SessionResponse_Pong = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -779,6 +856,11 @@ const SessionResponse_GetFrameworkInfoResponse = /* @__PURE__ */ protobuf.proto3
779
856
  ],
780
857
  { localName: "SessionResponse_GetFrameworkInfoResponse" }
781
858
  );
859
+ const SessionResponse_UpdateIOResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
860
+ "livekit.agent.SessionResponse.UpdateIOResponse",
861
+ [],
862
+ { localName: "SessionResponse_UpdateIOResponse" }
863
+ );
782
864
  const AgentSessionMessage = /* @__PURE__ */ protobuf.proto3.makeMessageType(
783
865
  "livekit.agent.AgentSessionMessage",
784
866
  () => [
@@ -855,6 +937,7 @@ const livekit_agent_session_pb = {
855
937
  AgentSessionEvent_AgentStateChanged: AgentSessionEvent_AgentStateChanged,
856
938
  AgentSessionEvent_AmdPrediction: AgentSessionEvent_AmdPrediction,
857
939
  AgentSessionEvent_ConversationItemAdded: AgentSessionEvent_ConversationItemAdded,
940
+ AgentSessionEvent_EotPrediction: AgentSessionEvent_EotPrediction,
858
941
  AgentSessionEvent_Error: AgentSessionEvent_Error,
859
942
  AgentSessionEvent_FunctionToolsExecuted: AgentSessionEvent_FunctionToolsExecuted,
860
943
  AgentSessionEvent_OverlappingSpeech: AgentSessionEvent_OverlappingSpeech,
@@ -875,6 +958,7 @@ const livekit_agent_session_pb = {
875
958
  ChatMessage: ChatMessage$1,
876
959
  ChatMessage_ChatContent: ChatMessage_ChatContent,
877
960
  ChatRole: ChatRole,
961
+ EotModelUsage: EotModelUsage,
878
962
  FunctionCall: FunctionCall,
879
963
  FunctionCallOutput: FunctionCallOutput,
880
964
  InterruptionModelUsage: InterruptionModelUsage,
@@ -891,6 +975,9 @@ const livekit_agent_session_pb = {
891
975
  SessionRequest_GetSessionUsage: SessionRequest_GetSessionUsage,
892
976
  SessionRequest_Ping: SessionRequest_Ping,
893
977
  SessionRequest_RunInput: SessionRequest_RunInput,
978
+ SessionRequest_UpdateIO: SessionRequest_UpdateIO,
979
+ SessionRequest_UpdateIO_Input: SessionRequest_UpdateIO_Input,
980
+ SessionRequest_UpdateIO_Output: SessionRequest_UpdateIO_Output,
894
981
  SessionResponse: SessionResponse,
895
982
  SessionResponse_GetAgentInfoResponse: SessionResponse_GetAgentInfoResponse,
896
983
  SessionResponse_GetChatHistoryResponse: SessionResponse_GetChatHistoryResponse,
@@ -900,6 +987,7 @@ const livekit_agent_session_pb = {
900
987
  SessionResponse_GetSessionUsageResponse: SessionResponse_GetSessionUsageResponse,
901
988
  SessionResponse_Pong: SessionResponse_Pong,
902
989
  SessionResponse_RunInputResponse: SessionResponse_RunInputResponse,
990
+ SessionResponse_UpdateIOResponse: SessionResponse_UpdateIOResponse,
903
991
  TTSModelUsage: TTSModelUsage,
904
992
  TimedString: TimedString,
905
993
  UserState: UserState
@@ -4413,13 +4501,15 @@ const ListEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4413
4501
  kind: "scalar",
4414
4502
  T: 8
4415
4503
  /* ScalarType.BOOL */
4416
- }
4504
+ },
4505
+ { no: 4, name: "page_token", kind: "message", T: TokenPagination }
4417
4506
  ]
4418
4507
  );
4419
4508
  const ListEgressResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4420
4509
  "livekit.ListEgressResponse",
4421
4510
  () => [
4422
- { no: 1, name: "items", kind: "message", T: EgressInfo, repeated: true }
4511
+ { no: 1, name: "items", kind: "message", T: EgressInfo, repeated: true },
4512
+ { no: 2, name: "next_page_token", kind: "message", T: TokenPagination }
4423
4513
  ]
4424
4514
  );
4425
4515
  const UpdateEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -6352,7 +6442,8 @@ const SIPMediaConfig = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6352
6442
  /* ScalarType.BOOL */
6353
6443
  },
6354
6444
  { no: 2, name: "codecs", kind: "message", T: SIPCodec, repeated: true },
6355
- { no: 3, name: "encryption", kind: "enum", T: protobuf.proto3.getEnumType(SIPMediaEncryption), opt: true }
6445
+ { no: 3, name: "encryption", kind: "enum", T: protobuf.proto3.getEnumType(SIPMediaEncryption), opt: true },
6446
+ { no: 4, name: "media_timeout", kind: "message", T: protobuf.Duration, opt: true }
6356
6447
  ]
6357
6448
  );
6358
6449
  const ProviderInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -6524,6 +6615,13 @@ const SIPInboundTrunkInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6524
6615
  T: 9
6525
6616
  /* ScalarType.STRING */
6526
6617
  },
6618
+ {
6619
+ no: 19,
6620
+ name: "auth_realm",
6621
+ kind: "scalar",
6622
+ T: 9
6623
+ /* ScalarType.STRING */
6624
+ },
6527
6625
  { no: 9, name: "headers", kind: "map", K: 9, V: {
6528
6626
  kind: "scalar",
6529
6627
  T: 9
@@ -6562,6 +6660,7 @@ const SIPInboundTrunkUpdate = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6562
6660
  { no: 3, name: "allowed_numbers", kind: "message", T: ListUpdate },
6563
6661
  { no: 4, name: "auth_username", kind: "scalar", T: 9, opt: true },
6564
6662
  { no: 5, name: "auth_password", kind: "scalar", T: 9, opt: true },
6663
+ { no: 9, name: "auth_realm", kind: "scalar", T: 9, opt: true },
6565
6664
  { no: 6, name: "name", kind: "scalar", T: 9, opt: true },
6566
6665
  { no: 7, name: "metadata", kind: "scalar", T: 9, opt: true },
6567
6666
  { no: 8, name: "media_encryption", kind: "enum", T: protobuf.proto3.getEnumType(SIPMediaEncryption), opt: true }
@@ -9961,7 +10060,7 @@ const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
9961
10060
  ]
9962
10061
  );
9963
10062
 
9964
- const version = "1.45.8";
10063
+ const version = "1.46.0";
9965
10064
 
9966
10065
  exports.Timestamp = protobuf.Timestamp;
9967
10066
  exports.protoInt64 = protobuf.protoInt64;