@livekit/protocol 1.53.2 → 1.53.3
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 +123 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +229 -3
- package/dist/index.d.mts +229 -3
- package/dist/index.d.ts +229 -3
- package/dist/index.mjs +122 -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 +80 -0
- package/src/gen/agent/livekit_agent_session_pb.js +22 -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,8 @@ 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" }
|
|
556
559
|
]
|
|
557
560
|
);
|
|
558
561
|
const AgentSessionEvent_AgentStateChanged = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -668,10 +671,41 @@ const AgentSessionEvent_AmdPrediction = /* @__PURE__ */ protobuf.proto3.makeMess
|
|
|
668
671
|
T: 9
|
|
669
672
|
/* ScalarType.STRING */
|
|
670
673
|
},
|
|
671
|
-
{ no: 5, name: "delay", kind: "message", T: protobuf.Duration }
|
|
674
|
+
{ no: 5, name: "delay", kind: "message", T: protobuf.Duration },
|
|
675
|
+
{
|
|
676
|
+
no: 6,
|
|
677
|
+
name: "turn_id",
|
|
678
|
+
kind: "scalar",
|
|
679
|
+
T: 13
|
|
680
|
+
/* ScalarType.UINT32 */
|
|
681
|
+
},
|
|
682
|
+
{ no: 7, name: "stage", kind: "enum", T: protobuf.proto3.getEnumType(AmdCategory) },
|
|
683
|
+
{ no: 8, name: "inference_duration", kind: "message", T: protobuf.Duration }
|
|
672
684
|
],
|
|
673
685
|
{ localName: "AgentSessionEvent_AmdPrediction" }
|
|
674
686
|
);
|
|
687
|
+
const AgentSessionEvent_AmdCompleted = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
688
|
+
"livekit.agent.AgentSessionEvent.AmdCompleted",
|
|
689
|
+
() => [
|
|
690
|
+
{ no: 1, name: "category", kind: "enum", T: protobuf.proto3.getEnumType(AmdCategory) },
|
|
691
|
+
{
|
|
692
|
+
no: 2,
|
|
693
|
+
name: "reason",
|
|
694
|
+
kind: "scalar",
|
|
695
|
+
T: 9
|
|
696
|
+
/* ScalarType.STRING */
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
no: 3,
|
|
700
|
+
name: "voicemail_message_played",
|
|
701
|
+
kind: "scalar",
|
|
702
|
+
T: 8
|
|
703
|
+
/* ScalarType.BOOL */
|
|
704
|
+
},
|
|
705
|
+
{ no: 4, name: "prediction", kind: "message", T: AgentSessionEvent_AmdPrediction }
|
|
706
|
+
],
|
|
707
|
+
{ localName: "AgentSessionEvent_AmdCompleted" }
|
|
708
|
+
);
|
|
675
709
|
const AgentSessionEvent_EotPrediction = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
676
710
|
"livekit.agent.AgentSessionEvent.EotPrediction",
|
|
677
711
|
() => [
|
|
@@ -1132,6 +1166,7 @@ const livekit_agent_session_pb = {
|
|
|
1132
1166
|
AgentSessionEvent: AgentSessionEvent,
|
|
1133
1167
|
AgentSessionEvent_AgentFalseInterruption: AgentSessionEvent_AgentFalseInterruption,
|
|
1134
1168
|
AgentSessionEvent_AgentStateChanged: AgentSessionEvent_AgentStateChanged,
|
|
1169
|
+
AgentSessionEvent_AmdCompleted: AgentSessionEvent_AmdCompleted,
|
|
1135
1170
|
AgentSessionEvent_AmdPrediction: AgentSessionEvent_AmdPrediction,
|
|
1136
1171
|
AgentSessionEvent_ConversationItemAdded: AgentSessionEvent_ConversationItemAdded,
|
|
1137
1172
|
AgentSessionEvent_EotPrediction: AgentSessionEvent_EotPrediction,
|
|
@@ -1664,6 +1699,13 @@ const InferenceStart = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
1664
1699
|
kind: "scalar",
|
|
1665
1700
|
T: 9
|
|
1666
1701
|
/* ScalarType.STRING */
|
|
1702
|
+
},
|
|
1703
|
+
{
|
|
1704
|
+
no: 2,
|
|
1705
|
+
name: "turn_samples",
|
|
1706
|
+
kind: "scalar",
|
|
1707
|
+
T: 13
|
|
1708
|
+
/* ScalarType.UINT32 */
|
|
1667
1709
|
}
|
|
1668
1710
|
]
|
|
1669
1711
|
);
|
|
@@ -6089,6 +6131,13 @@ const SimulationRun_Create_Request = /* @__PURE__ */ protobuf.proto3.makeMessage
|
|
|
6089
6131
|
kind: "scalar",
|
|
6090
6132
|
T: 9
|
|
6091
6133
|
/* ScalarType.STRING */
|
|
6134
|
+
},
|
|
6135
|
+
{
|
|
6136
|
+
no: 18,
|
|
6137
|
+
name: "deployment",
|
|
6138
|
+
kind: "scalar",
|
|
6139
|
+
T: 9
|
|
6140
|
+
/* ScalarType.STRING */
|
|
6092
6141
|
}
|
|
6093
6142
|
],
|
|
6094
6143
|
{ localName: "SimulationRun_Create_Request" }
|
|
@@ -6483,7 +6532,8 @@ const EncodedFileType = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
|
6483
6532
|
{ no: 0, name: "DEFAULT_FILETYPE" },
|
|
6484
6533
|
{ no: 1, name: "MP4" },
|
|
6485
6534
|
{ no: 2, name: "OGG" },
|
|
6486
|
-
{ no: 3, name: "MP3" }
|
|
6535
|
+
{ no: 3, name: "MP3" },
|
|
6536
|
+
{ no: 4, name: "MCAP" }
|
|
6487
6537
|
]
|
|
6488
6538
|
);
|
|
6489
6539
|
const StreamProtocol = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
@@ -6636,7 +6686,9 @@ const MediaSource = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
6636
6686
|
() => [
|
|
6637
6687
|
{ no: 1, name: "video_track_id", kind: "scalar", T: 9, oneof: "video" },
|
|
6638
6688
|
{ no: 2, name: "participant_video", kind: "message", T: ParticipantVideo, oneof: "video" },
|
|
6639
|
-
{ no:
|
|
6689
|
+
{ no: 5, name: "videos", kind: "message", T: VideoConfig, oneof: "video" },
|
|
6690
|
+
{ no: 3, name: "audio", kind: "message", T: AudioConfig },
|
|
6691
|
+
{ no: 4, name: "data", kind: "message", T: DataConfig }
|
|
6640
6692
|
]
|
|
6641
6693
|
);
|
|
6642
6694
|
const ParticipantVideo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -6658,6 +6710,40 @@ const ParticipantVideo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
6658
6710
|
}
|
|
6659
6711
|
]
|
|
6660
6712
|
);
|
|
6713
|
+
const VideoConfig = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
6714
|
+
"livekit.VideoConfig",
|
|
6715
|
+
() => [
|
|
6716
|
+
{
|
|
6717
|
+
no: 1,
|
|
6718
|
+
name: "capture_all",
|
|
6719
|
+
kind: "scalar",
|
|
6720
|
+
T: 8
|
|
6721
|
+
/* ScalarType.BOOL */
|
|
6722
|
+
},
|
|
6723
|
+
{ no: 2, name: "selectors", kind: "message", T: VideoSelector, repeated: true }
|
|
6724
|
+
]
|
|
6725
|
+
);
|
|
6726
|
+
const VideoSelector = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
6727
|
+
"livekit.VideoSelector",
|
|
6728
|
+
() => [
|
|
6729
|
+
{ no: 1, name: "track_id", kind: "scalar", T: 9, oneof: "match" },
|
|
6730
|
+
{ no: 2, name: "participant_identity", kind: "scalar", T: 9, oneof: "match" },
|
|
6731
|
+
{
|
|
6732
|
+
no: 3,
|
|
6733
|
+
name: "track_name",
|
|
6734
|
+
kind: "scalar",
|
|
6735
|
+
T: 9
|
|
6736
|
+
/* ScalarType.STRING */
|
|
6737
|
+
},
|
|
6738
|
+
{
|
|
6739
|
+
no: 4,
|
|
6740
|
+
name: "exclude",
|
|
6741
|
+
kind: "scalar",
|
|
6742
|
+
T: 8
|
|
6743
|
+
/* ScalarType.BOOL */
|
|
6744
|
+
}
|
|
6745
|
+
]
|
|
6746
|
+
);
|
|
6661
6747
|
const AudioConfig = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
6662
6748
|
"livekit.AudioConfig",
|
|
6663
6749
|
() => [
|
|
@@ -6677,6 +6763,20 @@ const AudioRoute = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
6677
6763
|
{ no: 1, name: "track_id", kind: "scalar", T: 9, oneof: "match" },
|
|
6678
6764
|
{ no: 2, name: "participant_identity", kind: "scalar", T: 9, oneof: "match" },
|
|
6679
6765
|
{ no: 3, name: "participant_kind", kind: "enum", T: protobuf.proto3.getEnumType(ParticipantInfo_Kind), oneof: "match" },
|
|
6766
|
+
{
|
|
6767
|
+
no: 5,
|
|
6768
|
+
name: "track_name",
|
|
6769
|
+
kind: "scalar",
|
|
6770
|
+
T: 9
|
|
6771
|
+
/* ScalarType.STRING */
|
|
6772
|
+
},
|
|
6773
|
+
{
|
|
6774
|
+
no: 6,
|
|
6775
|
+
name: "exclude",
|
|
6776
|
+
kind: "scalar",
|
|
6777
|
+
T: 8
|
|
6778
|
+
/* ScalarType.BOOL */
|
|
6779
|
+
},
|
|
6680
6780
|
{ no: 4, name: "channel", kind: "enum", T: protobuf.proto3.getEnumType(AudioChannel) }
|
|
6681
6781
|
]
|
|
6682
6782
|
);
|
|
@@ -6697,7 +6797,21 @@ const DataSelector = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
6697
6797
|
"livekit.DataSelector",
|
|
6698
6798
|
() => [
|
|
6699
6799
|
{ no: 1, name: "track_id", kind: "scalar", T: 9, oneof: "match" },
|
|
6700
|
-
{ no: 2, name: "participant_identity", kind: "scalar", T: 9, oneof: "match" }
|
|
6800
|
+
{ no: 2, name: "participant_identity", kind: "scalar", T: 9, oneof: "match" },
|
|
6801
|
+
{
|
|
6802
|
+
no: 3,
|
|
6803
|
+
name: "track_name",
|
|
6804
|
+
kind: "scalar",
|
|
6805
|
+
T: 9
|
|
6806
|
+
/* ScalarType.STRING */
|
|
6807
|
+
},
|
|
6808
|
+
{
|
|
6809
|
+
no: 4,
|
|
6810
|
+
name: "exclude",
|
|
6811
|
+
kind: "scalar",
|
|
6812
|
+
T: 8
|
|
6813
|
+
/* ScalarType.BOOL */
|
|
6814
|
+
}
|
|
6701
6815
|
]
|
|
6702
6816
|
);
|
|
6703
6817
|
const EncodingOptions = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -12898,7 +13012,7 @@ const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
12898
13012
|
]
|
|
12899
13013
|
);
|
|
12900
13014
|
|
|
12901
|
-
const version = "1.53.
|
|
13015
|
+
const version = "1.53.3";
|
|
12902
13016
|
|
|
12903
13017
|
exports.Timestamp = protobuf.Timestamp;
|
|
12904
13018
|
exports.protoInt64 = protobuf.protoInt64;
|
|
@@ -13327,10 +13441,12 @@ exports.UpdateWorkerStatus = UpdateWorkerStatus;
|
|
|
13327
13441
|
exports.UserPacket = UserPacket;
|
|
13328
13442
|
exports.VP8MungerState = VP8MungerState;
|
|
13329
13443
|
exports.VideoCodec = VideoCodec;
|
|
13444
|
+
exports.VideoConfig = VideoConfig;
|
|
13330
13445
|
exports.VideoConfiguration = VideoConfiguration;
|
|
13331
13446
|
exports.VideoLayer = VideoLayer;
|
|
13332
13447
|
exports.VideoLayer_Mode = VideoLayer_Mode;
|
|
13333
13448
|
exports.VideoQuality = VideoQuality;
|
|
13449
|
+
exports.VideoSelector = VideoSelector;
|
|
13334
13450
|
exports.WebEgressRequest = WebEgressRequest;
|
|
13335
13451
|
exports.WebSource = WebSource;
|
|
13336
13452
|
exports.WebhookConfig = WebhookConfig;
|