@livekit/protocol 1.53.2 → 1.53.4
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 +133 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +271 -3
- package/dist/index.d.mts +271 -3
- package/dist/index.d.ts +271 -3
- package/dist/index.mjs +132 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/agent/livekit_agent_inference_pb.d.ts +11 -0
- package/src/gen/agent/livekit_agent_inference_pb.js +1 -0
- package/src/gen/agent/livekit_agent_session_pb.d.ts +119 -0
- package/src/gen/agent/livekit_agent_session_pb.js +39 -0
- package/src/gen/livekit_agent_simulation_pb.d.ts +7 -0
- package/src/gen/livekit_agent_simulation_pb.js +1 -0
- package/src/gen/livekit_egress_pb.d.ts +127 -2
- package/src/gen/livekit_egress_pb.js +31 -0
- package/src/gen/version.js +1 -1
package/dist/index.cjs
CHANGED
|
@@ -66,7 +66,9 @@ const AmdCategory = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
|
66
66
|
{ no: 2, name: "AMD_MACHINE_IVR" },
|
|
67
67
|
{ no: 3, name: "AMD_MACHINE_VM" },
|
|
68
68
|
{ no: 4, name: "AMD_MACHINE_UNAVAILABLE" },
|
|
69
|
-
{ no: 5, name: "AMD_UNCERTAIN" }
|
|
69
|
+
{ no: 5, name: "AMD_UNCERTAIN" },
|
|
70
|
+
{ no: 6, name: "AMD_MACHINE_SCREENING" },
|
|
71
|
+
{ no: 7, name: "AMD_WAIT" }
|
|
70
72
|
]
|
|
71
73
|
);
|
|
72
74
|
const MetricsReport = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -552,7 +554,9 @@ const AgentSessionEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
552
554
|
{ no: 20, name: "function_tools_started", kind: "message", T: AgentSessionEvent_FunctionToolsStarted, oneof: "event" },
|
|
553
555
|
{ no: 21, name: "debug_message", kind: "message", T: DebugMessage, oneof: "event" },
|
|
554
556
|
{ no: 22, name: "tool_execution_updated", kind: "message", T: AgentSessionEvent_ToolExecutionUpdated, oneof: "event" },
|
|
555
|
-
{ no: 23, name: "agent_false_interruption", kind: "message", T: AgentSessionEvent_AgentFalseInterruption, oneof: "event" }
|
|
557
|
+
{ no: 23, name: "agent_false_interruption", kind: "message", T: AgentSessionEvent_AgentFalseInterruption, oneof: "event" },
|
|
558
|
+
{ no: 24, name: "amd_completed", kind: "message", T: AgentSessionEvent_AmdCompleted, oneof: "event" },
|
|
559
|
+
{ no: 25, name: "session_closed", kind: "message", T: AgentSessionEvent_SessionClosed, oneof: "event" }
|
|
556
560
|
]
|
|
557
561
|
);
|
|
558
562
|
const AgentSessionEvent_AgentStateChanged = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -668,10 +672,41 @@ const AgentSessionEvent_AmdPrediction = /* @__PURE__ */ protobuf.proto3.makeMess
|
|
|
668
672
|
T: 9
|
|
669
673
|
/* ScalarType.STRING */
|
|
670
674
|
},
|
|
671
|
-
{ no: 5, name: "delay", kind: "message", T: protobuf.Duration }
|
|
675
|
+
{ no: 5, name: "delay", kind: "message", T: protobuf.Duration },
|
|
676
|
+
{
|
|
677
|
+
no: 6,
|
|
678
|
+
name: "turn_id",
|
|
679
|
+
kind: "scalar",
|
|
680
|
+
T: 13
|
|
681
|
+
/* ScalarType.UINT32 */
|
|
682
|
+
},
|
|
683
|
+
{ no: 7, name: "stage", kind: "enum", T: protobuf.proto3.getEnumType(AmdCategory) },
|
|
684
|
+
{ no: 8, name: "inference_duration", kind: "message", T: protobuf.Duration }
|
|
672
685
|
],
|
|
673
686
|
{ localName: "AgentSessionEvent_AmdPrediction" }
|
|
674
687
|
);
|
|
688
|
+
const AgentSessionEvent_AmdCompleted = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
689
|
+
"livekit.agent.AgentSessionEvent.AmdCompleted",
|
|
690
|
+
() => [
|
|
691
|
+
{ no: 1, name: "category", kind: "enum", T: protobuf.proto3.getEnumType(AmdCategory) },
|
|
692
|
+
{
|
|
693
|
+
no: 2,
|
|
694
|
+
name: "reason",
|
|
695
|
+
kind: "scalar",
|
|
696
|
+
T: 9
|
|
697
|
+
/* ScalarType.STRING */
|
|
698
|
+
},
|
|
699
|
+
{
|
|
700
|
+
no: 3,
|
|
701
|
+
name: "voicemail_message_played",
|
|
702
|
+
kind: "scalar",
|
|
703
|
+
T: 8
|
|
704
|
+
/* ScalarType.BOOL */
|
|
705
|
+
},
|
|
706
|
+
{ no: 4, name: "prediction", kind: "message", T: AgentSessionEvent_AmdPrediction }
|
|
707
|
+
],
|
|
708
|
+
{ localName: "AgentSessionEvent_AmdCompleted" }
|
|
709
|
+
);
|
|
675
710
|
const AgentSessionEvent_EotPrediction = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
676
711
|
"livekit.agent.AgentSessionEvent.EotPrediction",
|
|
677
712
|
() => [
|
|
@@ -782,6 +817,14 @@ const AgentSessionEvent_ToolExecutionUpdated_ReplyUpdated = /* @__PURE__ */ prot
|
|
|
782
817
|
],
|
|
783
818
|
{ localName: "AgentSessionEvent_ToolExecutionUpdated_ReplyUpdated" }
|
|
784
819
|
);
|
|
820
|
+
const AgentSessionEvent_SessionClosed = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
821
|
+
"livekit.agent.AgentSessionEvent.SessionClosed",
|
|
822
|
+
() => [
|
|
823
|
+
{ no: 1, name: "reason", kind: "enum", T: protobuf.proto3.getEnumType(CloseReason) },
|
|
824
|
+
{ no: 2, name: "error", kind: "scalar", T: 9, opt: true }
|
|
825
|
+
],
|
|
826
|
+
{ localName: "AgentSessionEvent_SessionClosed" }
|
|
827
|
+
);
|
|
785
828
|
const AgentSessionEvent_AgentFalseInterruption = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
786
829
|
"livekit.agent.AgentSessionEvent.AgentFalseInterruption",
|
|
787
830
|
() => [
|
|
@@ -1132,6 +1175,7 @@ const livekit_agent_session_pb = {
|
|
|
1132
1175
|
AgentSessionEvent: AgentSessionEvent,
|
|
1133
1176
|
AgentSessionEvent_AgentFalseInterruption: AgentSessionEvent_AgentFalseInterruption,
|
|
1134
1177
|
AgentSessionEvent_AgentStateChanged: AgentSessionEvent_AgentStateChanged,
|
|
1178
|
+
AgentSessionEvent_AmdCompleted: AgentSessionEvent_AmdCompleted,
|
|
1135
1179
|
AgentSessionEvent_AmdPrediction: AgentSessionEvent_AmdPrediction,
|
|
1136
1180
|
AgentSessionEvent_ConversationItemAdded: AgentSessionEvent_ConversationItemAdded,
|
|
1137
1181
|
AgentSessionEvent_EotPrediction: AgentSessionEvent_EotPrediction,
|
|
@@ -1139,6 +1183,7 @@ const livekit_agent_session_pb = {
|
|
|
1139
1183
|
AgentSessionEvent_FunctionToolsExecuted: AgentSessionEvent_FunctionToolsExecuted,
|
|
1140
1184
|
AgentSessionEvent_FunctionToolsStarted: AgentSessionEvent_FunctionToolsStarted,
|
|
1141
1185
|
AgentSessionEvent_OverlappingSpeech: AgentSessionEvent_OverlappingSpeech,
|
|
1186
|
+
AgentSessionEvent_SessionClosed: AgentSessionEvent_SessionClosed,
|
|
1142
1187
|
AgentSessionEvent_SessionUsageUpdated: AgentSessionEvent_SessionUsageUpdated,
|
|
1143
1188
|
AgentSessionEvent_ToolExecutionUpdated: AgentSessionEvent_ToolExecutionUpdated,
|
|
1144
1189
|
AgentSessionEvent_ToolExecutionUpdated_CallUpdated: AgentSessionEvent_ToolExecutionUpdated_CallUpdated,
|
|
@@ -1664,6 +1709,13 @@ const InferenceStart = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
1664
1709
|
kind: "scalar",
|
|
1665
1710
|
T: 9
|
|
1666
1711
|
/* ScalarType.STRING */
|
|
1712
|
+
},
|
|
1713
|
+
{
|
|
1714
|
+
no: 2,
|
|
1715
|
+
name: "turn_samples",
|
|
1716
|
+
kind: "scalar",
|
|
1717
|
+
T: 13
|
|
1718
|
+
/* ScalarType.UINT32 */
|
|
1667
1719
|
}
|
|
1668
1720
|
]
|
|
1669
1721
|
);
|
|
@@ -6089,6 +6141,13 @@ const SimulationRun_Create_Request = /* @__PURE__ */ protobuf.proto3.makeMessage
|
|
|
6089
6141
|
kind: "scalar",
|
|
6090
6142
|
T: 9
|
|
6091
6143
|
/* ScalarType.STRING */
|
|
6144
|
+
},
|
|
6145
|
+
{
|
|
6146
|
+
no: 18,
|
|
6147
|
+
name: "deployment",
|
|
6148
|
+
kind: "scalar",
|
|
6149
|
+
T: 9
|
|
6150
|
+
/* ScalarType.STRING */
|
|
6092
6151
|
}
|
|
6093
6152
|
],
|
|
6094
6153
|
{ localName: "SimulationRun_Create_Request" }
|
|
@@ -6483,7 +6542,8 @@ const EncodedFileType = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
|
6483
6542
|
{ no: 0, name: "DEFAULT_FILETYPE" },
|
|
6484
6543
|
{ no: 1, name: "MP4" },
|
|
6485
6544
|
{ no: 2, name: "OGG" },
|
|
6486
|
-
{ no: 3, name: "MP3" }
|
|
6545
|
+
{ no: 3, name: "MP3" },
|
|
6546
|
+
{ no: 4, name: "MCAP" }
|
|
6487
6547
|
]
|
|
6488
6548
|
);
|
|
6489
6549
|
const StreamProtocol = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
@@ -6636,7 +6696,9 @@ const MediaSource = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
6636
6696
|
() => [
|
|
6637
6697
|
{ no: 1, name: "video_track_id", kind: "scalar", T: 9, oneof: "video" },
|
|
6638
6698
|
{ no: 2, name: "participant_video", kind: "message", T: ParticipantVideo, oneof: "video" },
|
|
6639
|
-
{ no:
|
|
6699
|
+
{ no: 5, name: "videos", kind: "message", T: VideoConfig, oneof: "video" },
|
|
6700
|
+
{ no: 3, name: "audio", kind: "message", T: AudioConfig },
|
|
6701
|
+
{ no: 4, name: "data", kind: "message", T: DataConfig }
|
|
6640
6702
|
]
|
|
6641
6703
|
);
|
|
6642
6704
|
const ParticipantVideo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -6658,6 +6720,40 @@ const ParticipantVideo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
6658
6720
|
}
|
|
6659
6721
|
]
|
|
6660
6722
|
);
|
|
6723
|
+
const VideoConfig = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
6724
|
+
"livekit.VideoConfig",
|
|
6725
|
+
() => [
|
|
6726
|
+
{
|
|
6727
|
+
no: 1,
|
|
6728
|
+
name: "capture_all",
|
|
6729
|
+
kind: "scalar",
|
|
6730
|
+
T: 8
|
|
6731
|
+
/* ScalarType.BOOL */
|
|
6732
|
+
},
|
|
6733
|
+
{ no: 2, name: "selectors", kind: "message", T: VideoSelector, repeated: true }
|
|
6734
|
+
]
|
|
6735
|
+
);
|
|
6736
|
+
const VideoSelector = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
6737
|
+
"livekit.VideoSelector",
|
|
6738
|
+
() => [
|
|
6739
|
+
{ no: 1, name: "track_id", kind: "scalar", T: 9, oneof: "match" },
|
|
6740
|
+
{ no: 2, name: "participant_identity", kind: "scalar", T: 9, oneof: "match" },
|
|
6741
|
+
{
|
|
6742
|
+
no: 3,
|
|
6743
|
+
name: "track_name",
|
|
6744
|
+
kind: "scalar",
|
|
6745
|
+
T: 9
|
|
6746
|
+
/* ScalarType.STRING */
|
|
6747
|
+
},
|
|
6748
|
+
{
|
|
6749
|
+
no: 4,
|
|
6750
|
+
name: "exclude",
|
|
6751
|
+
kind: "scalar",
|
|
6752
|
+
T: 8
|
|
6753
|
+
/* ScalarType.BOOL */
|
|
6754
|
+
}
|
|
6755
|
+
]
|
|
6756
|
+
);
|
|
6661
6757
|
const AudioConfig = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
6662
6758
|
"livekit.AudioConfig",
|
|
6663
6759
|
() => [
|
|
@@ -6677,6 +6773,20 @@ const AudioRoute = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
6677
6773
|
{ no: 1, name: "track_id", kind: "scalar", T: 9, oneof: "match" },
|
|
6678
6774
|
{ no: 2, name: "participant_identity", kind: "scalar", T: 9, oneof: "match" },
|
|
6679
6775
|
{ no: 3, name: "participant_kind", kind: "enum", T: protobuf.proto3.getEnumType(ParticipantInfo_Kind), oneof: "match" },
|
|
6776
|
+
{
|
|
6777
|
+
no: 5,
|
|
6778
|
+
name: "track_name",
|
|
6779
|
+
kind: "scalar",
|
|
6780
|
+
T: 9
|
|
6781
|
+
/* ScalarType.STRING */
|
|
6782
|
+
},
|
|
6783
|
+
{
|
|
6784
|
+
no: 6,
|
|
6785
|
+
name: "exclude",
|
|
6786
|
+
kind: "scalar",
|
|
6787
|
+
T: 8
|
|
6788
|
+
/* ScalarType.BOOL */
|
|
6789
|
+
},
|
|
6680
6790
|
{ no: 4, name: "channel", kind: "enum", T: protobuf.proto3.getEnumType(AudioChannel) }
|
|
6681
6791
|
]
|
|
6682
6792
|
);
|
|
@@ -6697,7 +6807,21 @@ const DataSelector = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
6697
6807
|
"livekit.DataSelector",
|
|
6698
6808
|
() => [
|
|
6699
6809
|
{ no: 1, name: "track_id", kind: "scalar", T: 9, oneof: "match" },
|
|
6700
|
-
{ no: 2, name: "participant_identity", kind: "scalar", T: 9, oneof: "match" }
|
|
6810
|
+
{ no: 2, name: "participant_identity", kind: "scalar", T: 9, oneof: "match" },
|
|
6811
|
+
{
|
|
6812
|
+
no: 3,
|
|
6813
|
+
name: "track_name",
|
|
6814
|
+
kind: "scalar",
|
|
6815
|
+
T: 9
|
|
6816
|
+
/* ScalarType.STRING */
|
|
6817
|
+
},
|
|
6818
|
+
{
|
|
6819
|
+
no: 4,
|
|
6820
|
+
name: "exclude",
|
|
6821
|
+
kind: "scalar",
|
|
6822
|
+
T: 8
|
|
6823
|
+
/* ScalarType.BOOL */
|
|
6824
|
+
}
|
|
6701
6825
|
]
|
|
6702
6826
|
);
|
|
6703
6827
|
const EncodingOptions = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -12898,7 +13022,7 @@ const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
12898
13022
|
]
|
|
12899
13023
|
);
|
|
12900
13024
|
|
|
12901
|
-
const version = "1.53.
|
|
13025
|
+
const version = "1.53.4";
|
|
12902
13026
|
|
|
12903
13027
|
exports.Timestamp = protobuf.Timestamp;
|
|
12904
13028
|
exports.protoInt64 = protobuf.protoInt64;
|
|
@@ -13327,10 +13451,12 @@ exports.UpdateWorkerStatus = UpdateWorkerStatus;
|
|
|
13327
13451
|
exports.UserPacket = UserPacket;
|
|
13328
13452
|
exports.VP8MungerState = VP8MungerState;
|
|
13329
13453
|
exports.VideoCodec = VideoCodec;
|
|
13454
|
+
exports.VideoConfig = VideoConfig;
|
|
13330
13455
|
exports.VideoConfiguration = VideoConfiguration;
|
|
13331
13456
|
exports.VideoLayer = VideoLayer;
|
|
13332
13457
|
exports.VideoLayer_Mode = VideoLayer_Mode;
|
|
13333
13458
|
exports.VideoQuality = VideoQuality;
|
|
13459
|
+
exports.VideoSelector = VideoSelector;
|
|
13334
13460
|
exports.WebEgressRequest = WebEgressRequest;
|
|
13335
13461
|
exports.WebSource = WebSource;
|
|
13336
13462
|
exports.WebhookConfig = WebhookConfig;
|