@livekit/protocol 1.45.5 → 1.45.7
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 +78 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +116 -2
- package/dist/index.d.mts +116 -2
- package/dist/index.d.ts +116 -2
- package/dist/index.mjs +79 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/agent/livekit_agent_inference_pb.d.ts +996 -0
- package/src/gen/agent/livekit_agent_inference_pb.js +358 -0
- package/src/gen/agent/livekit_agent_session_pb.d.ts +86 -1
- package/src/gen/agent/livekit_agent_session_pb.js +32 -1
- package/src/gen/livekit_agent_dispatch_pb.d.ts +15 -0
- package/src/gen/livekit_agent_dispatch_pb.js +3 -0
- package/src/gen/livekit_agent_pb.d.ts +10 -0
- package/src/gen/livekit_agent_pb.js +2 -0
- package/src/gen/version.js +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { proto3, Timestamp,
|
|
1
|
+
import { proto3, Timestamp, Duration, Struct, Any } from '@bufbuild/protobuf';
|
|
2
2
|
export { Timestamp, protoInt64 } from '@bufbuild/protobuf';
|
|
3
3
|
|
|
4
4
|
const ChatRole = /* @__PURE__ */ proto3.makeEnum(
|
|
@@ -28,6 +28,17 @@ const UserState = /* @__PURE__ */ proto3.makeEnum(
|
|
|
28
28
|
{ no: 2, name: "US_AWAY" }
|
|
29
29
|
]
|
|
30
30
|
);
|
|
31
|
+
const AmdCategory = /* @__PURE__ */ proto3.makeEnum(
|
|
32
|
+
"livekit.agent.AmdCategory",
|
|
33
|
+
[
|
|
34
|
+
{ no: 0, name: "AMD_UNKNOWN" },
|
|
35
|
+
{ no: 1, name: "AMD_HUMAN" },
|
|
36
|
+
{ no: 2, name: "AMD_MACHINE_IVR" },
|
|
37
|
+
{ no: 3, name: "AMD_MACHINE_VM" },
|
|
38
|
+
{ no: 4, name: "AMD_MACHINE_UNAVAILABLE" },
|
|
39
|
+
{ no: 5, name: "AMD_UNCERTAIN" }
|
|
40
|
+
]
|
|
41
|
+
);
|
|
31
42
|
const MetricsReport = /* @__PURE__ */ proto3.makeMessageType(
|
|
32
43
|
"livekit.agent.MetricsReport",
|
|
33
44
|
() => [
|
|
@@ -465,7 +476,8 @@ const AgentSessionEvent = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
465
476
|
{ no: 14, name: "function_tools_executed", kind: "message", T: AgentSessionEvent_FunctionToolsExecuted, oneof: "event" },
|
|
466
477
|
{ no: 15, name: "error", kind: "message", T: AgentSessionEvent_Error, oneof: "event" },
|
|
467
478
|
{ no: 16, name: "overlapping_speech", kind: "message", T: AgentSessionEvent_OverlappingSpeech, oneof: "event" },
|
|
468
|
-
{ no: 17, name: "session_usage_updated", kind: "message", T: AgentSessionEvent_SessionUsageUpdated, oneof: "event" }
|
|
479
|
+
{ no: 17, name: "session_usage_updated", kind: "message", T: AgentSessionEvent_SessionUsageUpdated, oneof: "event" },
|
|
480
|
+
{ no: 18, name: "amd_prediction", kind: "message", T: AgentSessionEvent_AmdPrediction, oneof: "event" }
|
|
469
481
|
]
|
|
470
482
|
);
|
|
471
483
|
const AgentSessionEvent_AgentStateChanged = /* @__PURE__ */ proto3.makeMessageType(
|
|
@@ -555,6 +567,29 @@ const AgentSessionEvent_OverlappingSpeech = /* @__PURE__ */ proto3.makeMessageTy
|
|
|
555
567
|
],
|
|
556
568
|
{ localName: "AgentSessionEvent_OverlappingSpeech" }
|
|
557
569
|
);
|
|
570
|
+
const AgentSessionEvent_AmdPrediction = /* @__PURE__ */ proto3.makeMessageType(
|
|
571
|
+
"livekit.agent.AgentSessionEvent.AmdPrediction",
|
|
572
|
+
() => [
|
|
573
|
+
{ no: 1, name: "speech_duration", kind: "message", T: Duration },
|
|
574
|
+
{ no: 2, name: "category", kind: "enum", T: proto3.getEnumType(AmdCategory) },
|
|
575
|
+
{
|
|
576
|
+
no: 3,
|
|
577
|
+
name: "reason",
|
|
578
|
+
kind: "scalar",
|
|
579
|
+
T: 9
|
|
580
|
+
/* ScalarType.STRING */
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
no: 4,
|
|
584
|
+
name: "transcript",
|
|
585
|
+
kind: "scalar",
|
|
586
|
+
T: 9
|
|
587
|
+
/* ScalarType.STRING */
|
|
588
|
+
},
|
|
589
|
+
{ no: 5, name: "delay", kind: "message", T: Duration }
|
|
590
|
+
],
|
|
591
|
+
{ localName: "AgentSessionEvent_AmdPrediction" }
|
|
592
|
+
);
|
|
558
593
|
const AgentSessionEvent_SessionUsageUpdated = /* @__PURE__ */ proto3.makeMessageType(
|
|
559
594
|
"livekit.agent.AgentSessionEvent.SessionUsageUpdated",
|
|
560
595
|
() => [
|
|
@@ -817,6 +852,7 @@ const livekit_agent_session_pb = {
|
|
|
817
852
|
AgentHandoff: AgentHandoff,
|
|
818
853
|
AgentSessionEvent: AgentSessionEvent,
|
|
819
854
|
AgentSessionEvent_AgentStateChanged: AgentSessionEvent_AgentStateChanged,
|
|
855
|
+
AgentSessionEvent_AmdPrediction: AgentSessionEvent_AmdPrediction,
|
|
820
856
|
AgentSessionEvent_ConversationItemAdded: AgentSessionEvent_ConversationItemAdded,
|
|
821
857
|
AgentSessionEvent_Error: AgentSessionEvent_Error,
|
|
822
858
|
AgentSessionEvent_FunctionToolsExecuted: AgentSessionEvent_FunctionToolsExecuted,
|
|
@@ -832,6 +868,7 @@ const livekit_agent_session_pb = {
|
|
|
832
868
|
AgentSessionMessage_ConsoleIO_AudioPlaybackFlush: AgentSessionMessage_ConsoleIO_AudioPlaybackFlush,
|
|
833
869
|
AgentSessionUsage: AgentSessionUsage,
|
|
834
870
|
AgentState: AgentState,
|
|
871
|
+
AmdCategory: AmdCategory,
|
|
835
872
|
ChatContext: ChatContext,
|
|
836
873
|
ChatContext_ChatItem: ChatContext_ChatItem,
|
|
837
874
|
ChatMessage: ChatMessage$1,
|
|
@@ -3211,6 +3248,13 @@ const Job = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
3211
3248
|
kind: "scalar",
|
|
3212
3249
|
T: 8
|
|
3213
3250
|
/* ScalarType.BOOL */
|
|
3251
|
+
},
|
|
3252
|
+
{
|
|
3253
|
+
no: 11,
|
|
3254
|
+
name: "environment",
|
|
3255
|
+
kind: "scalar",
|
|
3256
|
+
T: 9
|
|
3257
|
+
/* ScalarType.STRING */
|
|
3214
3258
|
}
|
|
3215
3259
|
]
|
|
3216
3260
|
);
|
|
@@ -3356,7 +3400,14 @@ const RegisterWorkerRequest = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
3356
3400
|
/* ScalarType.UINT32 */
|
|
3357
3401
|
},
|
|
3358
3402
|
{ no: 6, name: "namespace", kind: "scalar", T: 9, opt: true },
|
|
3359
|
-
{ no: 7, name: "allowed_permissions", kind: "message", T: ParticipantPermission }
|
|
3403
|
+
{ no: 7, name: "allowed_permissions", kind: "message", T: ParticipantPermission },
|
|
3404
|
+
{
|
|
3405
|
+
no: 9,
|
|
3406
|
+
name: "environment",
|
|
3407
|
+
kind: "scalar",
|
|
3408
|
+
T: 9
|
|
3409
|
+
/* ScalarType.STRING */
|
|
3410
|
+
}
|
|
3360
3411
|
]
|
|
3361
3412
|
);
|
|
3362
3413
|
const RegisterWorkerResponse = /* @__PURE__ */ proto3.makeMessageType(
|
|
@@ -3548,7 +3599,14 @@ const CreateAgentDispatchRequest = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
3548
3599
|
T: 9
|
|
3549
3600
|
/* ScalarType.STRING */
|
|
3550
3601
|
},
|
|
3551
|
-
{ no: 4, name: "restart_policy", kind: "enum", T: proto3.getEnumType(JobRestartPolicy) }
|
|
3602
|
+
{ no: 4, name: "restart_policy", kind: "enum", T: proto3.getEnumType(JobRestartPolicy) },
|
|
3603
|
+
{
|
|
3604
|
+
no: 5,
|
|
3605
|
+
name: "environment",
|
|
3606
|
+
kind: "scalar",
|
|
3607
|
+
T: 9
|
|
3608
|
+
/* ScalarType.STRING */
|
|
3609
|
+
}
|
|
3552
3610
|
]
|
|
3553
3611
|
);
|
|
3554
3612
|
const RoomAgentDispatch = /* @__PURE__ */ proto3.makeMessageType(
|
|
@@ -3568,7 +3626,14 @@ const RoomAgentDispatch = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
3568
3626
|
T: 9
|
|
3569
3627
|
/* ScalarType.STRING */
|
|
3570
3628
|
},
|
|
3571
|
-
{ no: 3, name: "restart_policy", kind: "enum", T: proto3.getEnumType(JobRestartPolicy) }
|
|
3629
|
+
{ no: 3, name: "restart_policy", kind: "enum", T: proto3.getEnumType(JobRestartPolicy) },
|
|
3630
|
+
{
|
|
3631
|
+
no: 4,
|
|
3632
|
+
name: "environment",
|
|
3633
|
+
kind: "scalar",
|
|
3634
|
+
T: 9
|
|
3635
|
+
/* ScalarType.STRING */
|
|
3636
|
+
}
|
|
3572
3637
|
]
|
|
3573
3638
|
);
|
|
3574
3639
|
const DeleteAgentDispatchRequest = /* @__PURE__ */ proto3.makeMessageType(
|
|
@@ -3647,7 +3712,14 @@ const AgentDispatch = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
3647
3712
|
/* ScalarType.STRING */
|
|
3648
3713
|
},
|
|
3649
3714
|
{ no: 5, name: "state", kind: "message", T: AgentDispatchState },
|
|
3650
|
-
{ no: 6, name: "restart_policy", kind: "enum", T: proto3.getEnumType(JobRestartPolicy) }
|
|
3715
|
+
{ no: 6, name: "restart_policy", kind: "enum", T: proto3.getEnumType(JobRestartPolicy) },
|
|
3716
|
+
{
|
|
3717
|
+
no: 7,
|
|
3718
|
+
name: "environment",
|
|
3719
|
+
kind: "scalar",
|
|
3720
|
+
T: 9
|
|
3721
|
+
/* ScalarType.STRING */
|
|
3722
|
+
}
|
|
3651
3723
|
]
|
|
3652
3724
|
);
|
|
3653
3725
|
const AgentDispatchState = /* @__PURE__ */ proto3.makeMessageType(
|
|
@@ -9852,7 +9924,7 @@ const WebhookEvent = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
9852
9924
|
]
|
|
9853
9925
|
);
|
|
9854
9926
|
|
|
9855
|
-
const version = "1.45.
|
|
9927
|
+
const version = "1.45.7";
|
|
9856
9928
|
|
|
9857
9929
|
export { APICallInfo, APICallRequest, AcceptWhatsAppCallRequest, AcceptWhatsAppCallResponse, ActiveSpeakerUpdate, AddTrackRequest, AgentDispatch, AgentDispatchState, livekit_agent_session_pb as AgentSession, AliOSSUpload, AnalyticsClientMeta, AnalyticsEvent, AnalyticsEventType, AnalyticsEvents, AnalyticsNodeRooms, AnalyticsRoom, AnalyticsRoomParticipant, AnalyticsStat, AnalyticsStats, AnalyticsStream, AnalyticsVideoLayer, AudioChannel, AudioCodec, AudioConfig, AudioMixing, AudioRoute, AudioTrackFeature, AutoParticipantEgress, AutoTrackEgress, AvailabilityRequest, AvailabilityResponse, AzureBlobUpload, BackupCodecPolicy, CandidateProtocol, ChatMessage, ClientConfigSetting, ClientConfiguration, ClientInfo, ClientInfo_Capability, ClientInfo_SDK, Codec, ConnectTwilioCallRequest, ConnectTwilioCallRequest_TwilioCallDirection, ConnectTwilioCallResponse, ConnectWhatsAppCallRequest, ConnectWhatsAppCallResponse, ConnectionQuality, ConnectionQualityInfo, ConnectionQualityUpdate, ConnectionSettings, ConnectorType, CreateAgentDispatchRequest, CreateIngressRequest, CreateRoomRequest, CreateSIPDispatchRuleRequest, CreateSIPInboundTrunkRequest, CreateSIPOutboundTrunkRequest, CreateSIPParticipantRequest, CreateSIPTrunkRequest, DataChannelInfo, DataChannelReceiveState, DataConfig, DataPacket, DataPacket_Kind, DataSelector, DataStream, DataStream_ByteHeader, DataStream_Chunk, DataStream_Header, DataStream_OperationType, DataStream_TextHeader, DataStream_Trailer, DataTrackExtensionID, DataTrackExtensionParticipantSid, DataTrackInfo, DataTrackSubscriberHandles, DataTrackSubscriberHandles_PublishedDataTrack, DataTrackSubscriptionOptions, DeleteAgentDispatchRequest, DeleteIngressRequest, DeleteRoomRequest, DeleteRoomResponse, DeleteSIPDispatchRuleRequest, DeleteSIPTrunkRequest, Destination, DialWhatsAppCallRequest, DialWhatsAppCallResponse, DirectFileOutput, DisabledCodecs, DisconnectReason, DisconnectWhatsAppCallRequest, DisconnectWhatsAppCallRequest_DisconnectReason, DisconnectWhatsAppCallResponse, EgressInfo, EgressSourceType, EgressStatus, EncodedFileOutput, EncodedFileType, EncodingOptions, EncodingOptionsPreset, EncryptedPacket, EncryptedPacketPayload, Encryption, Encryption_Type, EventMetric, ExportReplayRequest, FeatureUsageInfo, FeatureUsageInfo_Feature, FileInfo, FileOutput, FilterParams, ForwardParticipantRequest, ForwardParticipantResponse, GCPUpload, GetSIPInboundTrunkRequest, GetSIPInboundTrunkResponse, GetSIPOutboundTrunkRequest, GetSIPOutboundTrunkResponse, ICEServer, ImageCodec, ImageFileSuffix, ImageOutput, ImagesInfo, IngressAudioEncodingOptions, IngressAudioEncodingPreset, IngressAudioOptions, IngressInfo, IngressInput, IngressState, IngressState_Status, IngressVideoEncodingOptions, IngressVideoEncodingPreset, IngressVideoOptions, InputAudioState, InputVideoState, Job, JobAssignment, JobRestartPolicy, JobState, JobStatus, JobTermination, JobType, JoinRequest, JoinResponse, LeaveRequest, LeaveRequest_Action, ListAgentDispatchRequest, ListAgentDispatchResponse, ListEgressRequest, ListEgressResponse, ListIngressRequest, ListIngressResponse, ListParticipantsRequest, ListParticipantsResponse, ListRoomsRequest, ListRoomsResponse, ListSIPDispatchRuleRequest, ListSIPDispatchRuleResponse, ListSIPInboundTrunkRequest, ListSIPInboundTrunkResponse, ListSIPOutboundTrunkRequest, ListSIPOutboundTrunkResponse, ListSIPTrunkRequest, ListSIPTrunkResponse, ListUpdate, MediaSectionsRequirement, MediaSource, MetricLabel, MetricSample, MetricsBatch, MetricsRecordingHeader, MigrateJobRequest, MoveParticipantRequest, MoveParticipantResponse, MuteRoomTrackRequest, MuteRoomTrackResponse, MuteTrackRequest, Output, PacketTrailerFeature, Pagination, ParticipantEgressRequest, ParticipantInfo, ParticipantInfo_Kind, ParticipantInfo_KindDetail, ParticipantInfo_State, ParticipantPermission, ParticipantTracks, ParticipantUpdate, ParticipantVideo, PerformRpcRequest, PerformRpcResponse, Ping, PlayoutDelay, Pong, ProviderInfo, ProviderType, ProxyConfig, PublishDataTrackRequest, PublishDataTrackResponse, RTCPSenderReportState, RTPDrift, RTPForwarderState, RTPMungerState, RTPStats, ReconnectReason, ReconnectResponse, RegionInfo, RegionSettings, RegisterWorkerRequest, RegisterWorkerResponse, RemoveParticipantResponse, ReportInfo, RequestResponse, RequestResponse_Reason, Room, RoomAgent, RoomAgentDispatch, RoomCompositeEgressRequest, RoomConfiguration, RoomEgress, RoomMovedResponse, RoomParticipantIdentity, RoomUpdate, RpcAck, RpcError, RpcRequest, RpcResponse, S3Upload, SIPCallDirection, SIPCallInfo, SIPCallStatus, SIPDispatchRule, SIPDispatchRuleCallee, SIPDispatchRuleDirect, SIPDispatchRuleIndividual, SIPDispatchRuleInfo, SIPDispatchRuleUpdate, SIPFeature, SIPHeaderOptions, SIPInboundTrunkInfo, SIPInboundTrunkUpdate, SIPMediaEncryption, SIPOutboundConfig, SIPOutboundTrunkInfo, SIPOutboundTrunkUpdate, SIPParticipantInfo, SIPStatus, SIPStatusCode, SIPTransferInfo, SIPTransferStatus, SIPTransport, SIPTrunkInfo, SIPTrunkInfo_TrunkKind, SIPUri, SegmentedFileOutput, SegmentedFileProtocol, SegmentedFileSuffix, SegmentsInfo, SendDataRequest, SendDataResponse, ServerInfo, ServerInfo_Edition, ServerMessage, SessionDescription, SignalRequest, SignalResponse, SignalTarget, SimulateJobRequest, SimulateScenario, SimulcastCodec, SimulcastCodecInfo, SipDTMF, SpeakerInfo, SpeakersChanged, StartEgressRequest, StopEgressRequest, StorageConfig, StreamInfo, StreamInfoList, StreamInfo_Status, StreamOutput, StreamProtocol, StreamState, StreamStateInfo, StreamStateUpdate, StreamType, SubscribedAudioCodec, SubscribedAudioCodecUpdate, SubscribedCodec, SubscribedQuality, SubscribedQualityUpdate, SubscriptionError, SubscriptionPermission, SubscriptionPermissionUpdate, SubscriptionResponse, SyncState, TemplateSource, TimeRange, TimeSeriesMetric, TimedVersion, TokenPagination, TokenSourceRequest, TokenSourceResponse, TrackCompositeEgressRequest, TrackEgressRequest, TrackInfo, TrackPermission, TrackPublishedResponse, TrackSource, TrackSubscribed, TrackType, TrackUnpublishedResponse, Transcription, TranscriptionSegment, TransferSIPParticipantRequest, TrickleRequest, UnpublishDataTrackRequest, UnpublishDataTrackResponse, UpdateDataSubscription, UpdateDataSubscription_Update, UpdateEgressRequest, UpdateIngressRequest, UpdateJobStatus, UpdateLayoutRequest, UpdateLocalAudioTrack, UpdateLocalVideoTrack, UpdateParticipantMetadata, UpdateParticipantRequest, UpdateRoomMetadataRequest, UpdateSIPDispatchRuleRequest, UpdateSIPInboundTrunkRequest, UpdateSIPOutboundTrunkRequest, UpdateStreamRequest, UpdateSubscription, UpdateSubscriptionsRequest, UpdateSubscriptionsResponse, UpdateTrackSettings, UpdateVideoLayers, UpdateWorkerStatus, UserPacket, VP8MungerState, VideoCodec, VideoConfiguration, VideoLayer, VideoLayer_Mode, VideoQuality, WebEgressRequest, WebSource, WebhookConfig, WebhookEvent, WebhookInfo, WhatsAppCall, WhatsAppCallDirection, WorkerMessage, WorkerPing, WorkerPong, WorkerStatus, WrappedJoinRequest, WrappedJoinRequest_Compression, version };
|
|
9858
9930
|
//# sourceMappingURL=index.mjs.map
|