@livekit/protocol 1.45.8 → 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 +717 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2039 -140
- package/dist/index.d.mts +2039 -140
- package/dist/index.d.ts +2039 -140
- package/dist/index.mjs +713 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/agent/livekit_agent_session_pb.d.ts +238 -0
- package/src/gen/agent/livekit_agent_session_pb.js +88 -0
- package/src/gen/livekit_agent_simulation_pb.d.ts +70 -0
- package/src/gen/livekit_agent_simulation_pb.js +14 -0
- package/src/gen/livekit_agent_worker_pb.d.ts +71 -0
- package/src/gen/livekit_agent_worker_pb.js +36 -0
- package/src/gen/livekit_analytics_pb.d.ts +5 -0
- package/src/gen/livekit_analytics_pb.js +1 -0
- package/src/gen/livekit_cloud_agent_pb.d.ts +19 -14
- package/src/gen/livekit_cloud_agent_pb.js +8 -7
- package/src/gen/livekit_egress_pb.d.ts +15 -1
- package/src/gen/livekit_egress_pb.js +3 -1
- package/src/gen/livekit_room_pb.d.ts +8 -0
- package/src/gen/livekit_room_pb.js +1 -0
- package/src/gen/livekit_sip_pb.d.ts +120 -1
- package/src/gen/livekit_sip_pb.js +29 -0
- package/src/gen/version.js +1 -1
- package/src/index.d.ts +3 -0
- package/src/index.js +3 -0
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,9 @@ 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" },
|
|
510
|
+
{ no: 20, name: "function_tools_started", kind: "message", T: AgentSessionEvent_FunctionToolsStarted, oneof: "event" }
|
|
482
511
|
]
|
|
483
512
|
);
|
|
484
513
|
const AgentSessionEvent_AgentStateChanged = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -525,6 +554,13 @@ const AgentSessionEvent_UserInputTranscribed = /* @__PURE__ */ protobuf.proto3.m
|
|
|
525
554
|
],
|
|
526
555
|
{ localName: "AgentSessionEvent_UserInputTranscribed" }
|
|
527
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
|
+
);
|
|
528
564
|
const AgentSessionEvent_FunctionToolsExecuted = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
529
565
|
"livekit.agent.AgentSessionEvent.FunctionToolsExecuted",
|
|
530
566
|
() => [
|
|
@@ -591,6 +627,28 @@ const AgentSessionEvent_AmdPrediction = /* @__PURE__ */ protobuf.proto3.makeMess
|
|
|
591
627
|
],
|
|
592
628
|
{ localName: "AgentSessionEvent_AmdPrediction" }
|
|
593
629
|
);
|
|
630
|
+
const AgentSessionEvent_EotPrediction = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
631
|
+
"livekit.agent.AgentSessionEvent.EotPrediction",
|
|
632
|
+
() => [
|
|
633
|
+
{
|
|
634
|
+
no: 1,
|
|
635
|
+
name: "probability",
|
|
636
|
+
kind: "scalar",
|
|
637
|
+
T: 2
|
|
638
|
+
/* ScalarType.FLOAT */
|
|
639
|
+
},
|
|
640
|
+
{
|
|
641
|
+
no: 2,
|
|
642
|
+
name: "threshold",
|
|
643
|
+
kind: "scalar",
|
|
644
|
+
T: 2
|
|
645
|
+
/* ScalarType.FLOAT */
|
|
646
|
+
},
|
|
647
|
+
{ no: 3, name: "inference_duration", kind: "message", T: protobuf.Duration },
|
|
648
|
+
{ no: 4, name: "delay", kind: "message", T: protobuf.Duration }
|
|
649
|
+
],
|
|
650
|
+
{ localName: "AgentSessionEvent_EotPrediction" }
|
|
651
|
+
);
|
|
594
652
|
const AgentSessionEvent_SessionUsageUpdated = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
595
653
|
"livekit.agent.AgentSessionEvent.SessionUsageUpdated",
|
|
596
654
|
() => [
|
|
@@ -615,7 +673,8 @@ const SessionRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
615
673
|
{ no: 7, name: "get_session_state", kind: "message", T: SessionRequest_GetSessionState, oneof: "request" },
|
|
616
674
|
{ no: 8, name: "get_rtc_stats", kind: "message", T: SessionRequest_GetRTCStats, oneof: "request" },
|
|
617
675
|
{ 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" }
|
|
676
|
+
{ no: 10, name: "get_framework_info", kind: "message", T: SessionRequest_GetFrameworkInfo, oneof: "request" },
|
|
677
|
+
{ no: 11, name: "update_io", kind: "message", T: SessionRequest_UpdateIO, oneof: "request" }
|
|
619
678
|
]
|
|
620
679
|
);
|
|
621
680
|
const SessionRequest_Ping = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -666,6 +725,31 @@ const SessionRequest_GetFrameworkInfo = /* @__PURE__ */ protobuf.proto3.makeMess
|
|
|
666
725
|
[],
|
|
667
726
|
{ localName: "SessionRequest_GetFrameworkInfo" }
|
|
668
727
|
);
|
|
728
|
+
const SessionRequest_UpdateIO = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
729
|
+
"livekit.agent.SessionRequest.UpdateIO",
|
|
730
|
+
() => [
|
|
731
|
+
{ no: 1, name: "input", kind: "message", T: SessionRequest_UpdateIO_Input, opt: true },
|
|
732
|
+
{ no: 2, name: "output", kind: "message", T: SessionRequest_UpdateIO_Output, opt: true }
|
|
733
|
+
],
|
|
734
|
+
{ localName: "SessionRequest_UpdateIO" }
|
|
735
|
+
);
|
|
736
|
+
const SessionRequest_UpdateIO_Input = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
737
|
+
"livekit.agent.SessionRequest.UpdateIO.Input",
|
|
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
|
+
],
|
|
742
|
+
{ localName: "SessionRequest_UpdateIO_Input" }
|
|
743
|
+
);
|
|
744
|
+
const SessionRequest_UpdateIO_Output = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
745
|
+
"livekit.agent.SessionRequest.UpdateIO.Output",
|
|
746
|
+
() => [
|
|
747
|
+
{ no: 1, name: "audio_enabled", kind: "scalar", T: 8, opt: true },
|
|
748
|
+
{ no: 2, name: "video_enabled", kind: "scalar", T: 8, opt: true },
|
|
749
|
+
{ no: 3, name: "transcription_enabled", kind: "scalar", T: 8, opt: true }
|
|
750
|
+
],
|
|
751
|
+
{ localName: "SessionRequest_UpdateIO_Output" }
|
|
752
|
+
);
|
|
669
753
|
const SessionResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
670
754
|
"livekit.agent.SessionResponse",
|
|
671
755
|
() => [
|
|
@@ -684,7 +768,8 @@ const SessionResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
684
768
|
{ no: 8, name: "get_session_state", kind: "message", T: SessionResponse_GetSessionStateResponse, oneof: "response" },
|
|
685
769
|
{ no: 9, name: "get_rtc_stats", kind: "message", T: SessionResponse_GetRTCStatsResponse, oneof: "response" },
|
|
686
770
|
{ 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" }
|
|
771
|
+
{ no: 11, name: "get_framework_info", kind: "message", T: SessionResponse_GetFrameworkInfoResponse, oneof: "response" },
|
|
772
|
+
{ no: 12, name: "update_io", kind: "message", T: SessionResponse_UpdateIOResponse, oneof: "response" }
|
|
688
773
|
]
|
|
689
774
|
);
|
|
690
775
|
const SessionResponse_Pong = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -779,6 +864,11 @@ const SessionResponse_GetFrameworkInfoResponse = /* @__PURE__ */ protobuf.proto3
|
|
|
779
864
|
],
|
|
780
865
|
{ localName: "SessionResponse_GetFrameworkInfoResponse" }
|
|
781
866
|
);
|
|
867
|
+
const SessionResponse_UpdateIOResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
868
|
+
"livekit.agent.SessionResponse.UpdateIOResponse",
|
|
869
|
+
[],
|
|
870
|
+
{ localName: "SessionResponse_UpdateIOResponse" }
|
|
871
|
+
);
|
|
782
872
|
const AgentSessionMessage = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
783
873
|
"livekit.agent.AgentSessionMessage",
|
|
784
874
|
() => [
|
|
@@ -855,8 +945,10 @@ const livekit_agent_session_pb = {
|
|
|
855
945
|
AgentSessionEvent_AgentStateChanged: AgentSessionEvent_AgentStateChanged,
|
|
856
946
|
AgentSessionEvent_AmdPrediction: AgentSessionEvent_AmdPrediction,
|
|
857
947
|
AgentSessionEvent_ConversationItemAdded: AgentSessionEvent_ConversationItemAdded,
|
|
948
|
+
AgentSessionEvent_EotPrediction: AgentSessionEvent_EotPrediction,
|
|
858
949
|
AgentSessionEvent_Error: AgentSessionEvent_Error,
|
|
859
950
|
AgentSessionEvent_FunctionToolsExecuted: AgentSessionEvent_FunctionToolsExecuted,
|
|
951
|
+
AgentSessionEvent_FunctionToolsStarted: AgentSessionEvent_FunctionToolsStarted,
|
|
860
952
|
AgentSessionEvent_OverlappingSpeech: AgentSessionEvent_OverlappingSpeech,
|
|
861
953
|
AgentSessionEvent_SessionUsageUpdated: AgentSessionEvent_SessionUsageUpdated,
|
|
862
954
|
AgentSessionEvent_UserInputTranscribed: AgentSessionEvent_UserInputTranscribed,
|
|
@@ -875,6 +967,7 @@ const livekit_agent_session_pb = {
|
|
|
875
967
|
ChatMessage: ChatMessage$1,
|
|
876
968
|
ChatMessage_ChatContent: ChatMessage_ChatContent,
|
|
877
969
|
ChatRole: ChatRole,
|
|
970
|
+
EotModelUsage: EotModelUsage,
|
|
878
971
|
FunctionCall: FunctionCall,
|
|
879
972
|
FunctionCallOutput: FunctionCallOutput,
|
|
880
973
|
InterruptionModelUsage: InterruptionModelUsage,
|
|
@@ -891,6 +984,9 @@ const livekit_agent_session_pb = {
|
|
|
891
984
|
SessionRequest_GetSessionUsage: SessionRequest_GetSessionUsage,
|
|
892
985
|
SessionRequest_Ping: SessionRequest_Ping,
|
|
893
986
|
SessionRequest_RunInput: SessionRequest_RunInput,
|
|
987
|
+
SessionRequest_UpdateIO: SessionRequest_UpdateIO,
|
|
988
|
+
SessionRequest_UpdateIO_Input: SessionRequest_UpdateIO_Input,
|
|
989
|
+
SessionRequest_UpdateIO_Output: SessionRequest_UpdateIO_Output,
|
|
894
990
|
SessionResponse: SessionResponse,
|
|
895
991
|
SessionResponse_GetAgentInfoResponse: SessionResponse_GetAgentInfoResponse,
|
|
896
992
|
SessionResponse_GetChatHistoryResponse: SessionResponse_GetChatHistoryResponse,
|
|
@@ -900,11 +996,575 @@ const livekit_agent_session_pb = {
|
|
|
900
996
|
SessionResponse_GetSessionUsageResponse: SessionResponse_GetSessionUsageResponse,
|
|
901
997
|
SessionResponse_Pong: SessionResponse_Pong,
|
|
902
998
|
SessionResponse_RunInputResponse: SessionResponse_RunInputResponse,
|
|
999
|
+
SessionResponse_UpdateIOResponse: SessionResponse_UpdateIOResponse,
|
|
903
1000
|
TTSModelUsage: TTSModelUsage,
|
|
904
1001
|
TimedString: TimedString,
|
|
905
1002
|
UserState: UserState
|
|
906
1003
|
};
|
|
907
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
|
+
|
|
908
1568
|
const MetricLabel = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
909
1569
|
"livekit.MetricLabel",
|
|
910
1570
|
[
|
|
@@ -4413,13 +5073,15 @@ const ListEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
4413
5073
|
kind: "scalar",
|
|
4414
5074
|
T: 8
|
|
4415
5075
|
/* ScalarType.BOOL */
|
|
4416
|
-
}
|
|
5076
|
+
},
|
|
5077
|
+
{ no: 4, name: "page_token", kind: "message", T: TokenPagination }
|
|
4417
5078
|
]
|
|
4418
5079
|
);
|
|
4419
5080
|
const ListEgressResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
4420
5081
|
"livekit.ListEgressResponse",
|
|
4421
5082
|
() => [
|
|
4422
|
-
{ no: 1, name: "items", kind: "message", T: EgressInfo, repeated: true }
|
|
5083
|
+
{ no: 1, name: "items", kind: "message", T: EgressInfo, repeated: true },
|
|
5084
|
+
{ no: 2, name: "next_page_token", kind: "message", T: TokenPagination }
|
|
4423
5085
|
]
|
|
4424
5086
|
);
|
|
4425
5087
|
const UpdateEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -5747,6 +6409,13 @@ const RoomParticipantIdentity = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
5747
6409
|
kind: "scalar",
|
|
5748
6410
|
T: 9
|
|
5749
6411
|
/* ScalarType.STRING */
|
|
6412
|
+
},
|
|
6413
|
+
{
|
|
6414
|
+
no: 3,
|
|
6415
|
+
name: "revoke_token_ts",
|
|
6416
|
+
kind: "scalar",
|
|
6417
|
+
T: 3
|
|
6418
|
+
/* ScalarType.INT64 */
|
|
5750
6419
|
}
|
|
5751
6420
|
]
|
|
5752
6421
|
);
|
|
@@ -6352,7 +7021,8 @@ const SIPMediaConfig = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
6352
7021
|
/* ScalarType.BOOL */
|
|
6353
7022
|
},
|
|
6354
7023
|
{ no: 2, name: "codecs", kind: "message", T: SIPCodec, repeated: true },
|
|
6355
|
-
{ no: 3, name: "encryption", kind: "enum", T: protobuf.proto3.getEnumType(SIPMediaEncryption), opt: true }
|
|
7024
|
+
{ no: 3, name: "encryption", kind: "enum", T: protobuf.proto3.getEnumType(SIPMediaEncryption), opt: true },
|
|
7025
|
+
{ no: 4, name: "media_timeout", kind: "message", T: protobuf.Duration, opt: true }
|
|
6356
7026
|
]
|
|
6357
7027
|
);
|
|
6358
7028
|
const ProviderInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -6524,6 +7194,13 @@ const SIPInboundTrunkInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
6524
7194
|
T: 9
|
|
6525
7195
|
/* ScalarType.STRING */
|
|
6526
7196
|
},
|
|
7197
|
+
{
|
|
7198
|
+
no: 19,
|
|
7199
|
+
name: "auth_realm",
|
|
7200
|
+
kind: "scalar",
|
|
7201
|
+
T: 9
|
|
7202
|
+
/* ScalarType.STRING */
|
|
7203
|
+
},
|
|
6527
7204
|
{ no: 9, name: "headers", kind: "map", K: 9, V: {
|
|
6528
7205
|
kind: "scalar",
|
|
6529
7206
|
T: 9
|
|
@@ -6562,6 +7239,7 @@ const SIPInboundTrunkUpdate = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
6562
7239
|
{ no: 3, name: "allowed_numbers", kind: "message", T: ListUpdate },
|
|
6563
7240
|
{ no: 4, name: "auth_username", kind: "scalar", T: 9, opt: true },
|
|
6564
7241
|
{ no: 5, name: "auth_password", kind: "scalar", T: 9, opt: true },
|
|
7242
|
+
{ no: 9, name: "auth_realm", kind: "scalar", T: 9, opt: true },
|
|
6565
7243
|
{ no: 6, name: "name", kind: "scalar", T: 9, opt: true },
|
|
6566
7244
|
{ no: 7, name: "metadata", kind: "scalar", T: 9, opt: true },
|
|
6567
7245
|
{ no: 8, name: "media_encryption", kind: "enum", T: protobuf.proto3.getEnumType(SIPMediaEncryption), opt: true }
|
|
@@ -7073,6 +7751,9 @@ const CreateSIPParticipantRequest = /* @__PURE__ */ protobuf.proto3.makeMessageT
|
|
|
7073
7751
|
/* ScalarType.STRING */
|
|
7074
7752
|
},
|
|
7075
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 },
|
|
7076
7757
|
{
|
|
7077
7758
|
no: 2,
|
|
7078
7759
|
name: "sip_call_to",
|
|
@@ -7476,6 +8157,27 @@ const SIPUri = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
7476
8157
|
{ no: 5, name: "transport", kind: "enum", T: protobuf.proto3.getEnumType(SIPTransport) }
|
|
7477
8158
|
]
|
|
7478
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
|
+
);
|
|
7479
8181
|
const Destination = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
7480
8182
|
"livekit.Destination",
|
|
7481
8183
|
() => [
|
|
@@ -8119,7 +8821,8 @@ const FeatureUsageInfo_Feature = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
|
8119
8821
|
[
|
|
8120
8822
|
{ no: 0, name: "KRISP_NOISE_CANCELLATION" },
|
|
8121
8823
|
{ no: 1, name: "KRISP_BACKGROUND_VOICE_CANCELLATION" },
|
|
8122
|
-
{ no: 2, name: "AIC_AUDIO_ENHANCEMENT" }
|
|
8824
|
+
{ no: 2, name: "AIC_AUDIO_ENHANCEMENT" },
|
|
8825
|
+
{ no: 3, name: "KRISP_VIVA" }
|
|
8123
8826
|
]
|
|
8124
8827
|
);
|
|
8125
8828
|
const APICallRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -9961,7 +10664,7 @@ const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
9961
10664
|
]
|
|
9962
10665
|
);
|
|
9963
10666
|
|
|
9964
|
-
const version = "1.
|
|
10667
|
+
const version = "1.46.2";
|
|
9965
10668
|
|
|
9966
10669
|
exports.Timestamp = protobuf.Timestamp;
|
|
9967
10670
|
exports.protoInt64 = protobuf.protoInt64;
|
|
@@ -9971,9 +10674,12 @@ exports.AcceptWhatsAppCallRequest = AcceptWhatsAppCallRequest;
|
|
|
9971
10674
|
exports.AcceptWhatsAppCallResponse = AcceptWhatsAppCallResponse;
|
|
9972
10675
|
exports.ActiveSpeakerUpdate = ActiveSpeakerUpdate;
|
|
9973
10676
|
exports.AddTrackRequest = AddTrackRequest;
|
|
10677
|
+
exports.AgentDev = livekit_agent_dev_pb;
|
|
9974
10678
|
exports.AgentDispatch = AgentDispatch;
|
|
9975
10679
|
exports.AgentDispatchState = AgentDispatchState;
|
|
10680
|
+
exports.AgentInference = livekit_agent_inference_pb;
|
|
9976
10681
|
exports.AgentSession = livekit_agent_session_pb;
|
|
10682
|
+
exports.AgentText = livekit_agent_text_pb;
|
|
9977
10683
|
exports.AliOSSUpload = AliOSSUpload;
|
|
9978
10684
|
exports.AnalyticsClientMeta = AnalyticsClientMeta;
|
|
9979
10685
|
exports.AnalyticsEvent = AnalyticsEvent;
|
|
@@ -10209,10 +10915,12 @@ exports.SIPInboundTrunkInfo = SIPInboundTrunkInfo;
|
|
|
10209
10915
|
exports.SIPInboundTrunkUpdate = SIPInboundTrunkUpdate;
|
|
10210
10916
|
exports.SIPMediaConfig = SIPMediaConfig;
|
|
10211
10917
|
exports.SIPMediaEncryption = SIPMediaEncryption;
|
|
10918
|
+
exports.SIPNamedDest = SIPNamedDest;
|
|
10212
10919
|
exports.SIPOutboundConfig = SIPOutboundConfig;
|
|
10213
10920
|
exports.SIPOutboundTrunkInfo = SIPOutboundTrunkInfo;
|
|
10214
10921
|
exports.SIPOutboundTrunkUpdate = SIPOutboundTrunkUpdate;
|
|
10215
10922
|
exports.SIPParticipantInfo = SIPParticipantInfo;
|
|
10923
|
+
exports.SIPRequestDest = SIPRequestDest;
|
|
10216
10924
|
exports.SIPStatus = SIPStatus;
|
|
10217
10925
|
exports.SIPStatusCode = SIPStatusCode;
|
|
10218
10926
|
exports.SIPTransferInfo = SIPTransferInfo;
|