@livekit/protocol 1.46.3 → 1.46.5
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 +39 -20
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +62 -42
- package/dist/index.d.mts +62 -42
- package/dist/index.d.ts +62 -42
- package/dist/index.mjs +39 -20
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/agent/livekit_agent_inference_pb.d.ts +17 -0
- package/src/gen/agent/livekit_agent_inference_pb.js +4 -1
- package/src/gen/agent/livekit_agent_session_pb.d.ts +14 -18
- package/src/gen/agent/livekit_agent_session_pb.js +7 -7
- package/src/gen/livekit_agent_simulation_pb.d.ts +75 -0
- package/src/gen/livekit_agent_simulation_pb.js +27 -0
- package/src/gen/livekit_egress_pb.d.ts +28 -21
- package/src/gen/livekit_egress_pb.js +5 -4
- package/src/gen/version.js +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -898,34 +898,30 @@ declare class AgentSessionUsage extends Message<AgentSessionUsage> {
|
|
|
898
898
|
}
|
|
899
899
|
|
|
900
900
|
/**
|
|
901
|
-
*
|
|
901
|
+
* Debug/trace payload carried over the remote session wire.
|
|
902
|
+
* Internal: surfaced only to the debugger/recorder, not to user code.
|
|
902
903
|
*
|
|
903
|
-
* @generated from message livekit.agent.
|
|
904
|
+
* @generated from message livekit.agent.DebugMessage
|
|
904
905
|
*/
|
|
905
|
-
declare class
|
|
906
|
+
declare class DebugMessage extends Message<DebugMessage> {
|
|
906
907
|
/**
|
|
907
|
-
* @generated from field:
|
|
908
|
-
*/
|
|
909
|
-
type: string;
|
|
910
|
-
|
|
911
|
-
/**
|
|
912
|
-
* @generated from field: google.protobuf.Struct payload = 2;
|
|
908
|
+
* @generated from field: google.protobuf.Struct payload = 1;
|
|
913
909
|
*/
|
|
914
910
|
payload?: Struct;
|
|
915
911
|
|
|
916
|
-
constructor(data?: PartialMessage<
|
|
912
|
+
constructor(data?: PartialMessage<DebugMessage>);
|
|
917
913
|
|
|
918
914
|
static readonly runtime: typeof proto3;
|
|
919
|
-
static readonly typeName = "livekit.agent.
|
|
915
|
+
static readonly typeName = "livekit.agent.DebugMessage";
|
|
920
916
|
static readonly fields: FieldList;
|
|
921
917
|
|
|
922
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
918
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DebugMessage;
|
|
923
919
|
|
|
924
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
920
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DebugMessage;
|
|
925
921
|
|
|
926
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
922
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DebugMessage;
|
|
927
923
|
|
|
928
|
-
static equals(a:
|
|
924
|
+
static equals(a: DebugMessage | PlainMessage<DebugMessage> | undefined, b: DebugMessage | PlainMessage<DebugMessage> | undefined): boolean;
|
|
929
925
|
}
|
|
930
926
|
|
|
931
927
|
/**
|
|
@@ -1008,10 +1004,10 @@ declare class AgentSessionEvent extends Message<AgentSessionEvent> {
|
|
|
1008
1004
|
case: "functionToolsStarted";
|
|
1009
1005
|
} | {
|
|
1010
1006
|
/**
|
|
1011
|
-
* @generated from field: livekit.agent.
|
|
1007
|
+
* @generated from field: livekit.agent.DebugMessage debug_message = 21;
|
|
1012
1008
|
*/
|
|
1013
|
-
value:
|
|
1014
|
-
case: "
|
|
1009
|
+
value: DebugMessage;
|
|
1010
|
+
case: "debugMessage";
|
|
1015
1011
|
} | { case: undefined; value?: undefined };
|
|
1016
1012
|
|
|
1017
1013
|
constructor(data?: PartialMessage<AgentSessionEvent>);
|
|
@@ -2285,8 +2281,8 @@ type livekit_agent_session_pb_d_ChatMessage_ChatContent = ChatMessage_ChatConten
|
|
|
2285
2281
|
declare const livekit_agent_session_pb_d_ChatMessage_ChatContent: typeof ChatMessage_ChatContent;
|
|
2286
2282
|
type livekit_agent_session_pb_d_ChatRole = ChatRole;
|
|
2287
2283
|
declare const livekit_agent_session_pb_d_ChatRole: typeof ChatRole;
|
|
2288
|
-
type
|
|
2289
|
-
declare const
|
|
2284
|
+
type livekit_agent_session_pb_d_DebugMessage = DebugMessage;
|
|
2285
|
+
declare const livekit_agent_session_pb_d_DebugMessage: typeof DebugMessage;
|
|
2290
2286
|
type livekit_agent_session_pb_d_EotModelUsage = EotModelUsage;
|
|
2291
2287
|
declare const livekit_agent_session_pb_d_EotModelUsage: typeof EotModelUsage;
|
|
2292
2288
|
type livekit_agent_session_pb_d_FunctionCall = FunctionCall;
|
|
@@ -2354,7 +2350,7 @@ declare const livekit_agent_session_pb_d_TimedString: typeof TimedString;
|
|
|
2354
2350
|
type livekit_agent_session_pb_d_UserState = UserState;
|
|
2355
2351
|
declare const livekit_agent_session_pb_d_UserState: typeof UserState;
|
|
2356
2352
|
declare namespace livekit_agent_session_pb_d {
|
|
2357
|
-
export { livekit_agent_session_pb_d_AgentConfigUpdate as AgentConfigUpdate, livekit_agent_session_pb_d_AgentHandoff as AgentHandoff, livekit_agent_session_pb_d_AgentSessionEvent as AgentSessionEvent, livekit_agent_session_pb_d_AgentSessionEvent_AgentStateChanged as AgentSessionEvent_AgentStateChanged, livekit_agent_session_pb_d_AgentSessionEvent_AmdPrediction as AgentSessionEvent_AmdPrediction, livekit_agent_session_pb_d_AgentSessionEvent_ConversationItemAdded as AgentSessionEvent_ConversationItemAdded, livekit_agent_session_pb_d_AgentSessionEvent_EotPrediction as AgentSessionEvent_EotPrediction, livekit_agent_session_pb_d_AgentSessionEvent_Error as AgentSessionEvent_Error, livekit_agent_session_pb_d_AgentSessionEvent_FunctionToolsExecuted as AgentSessionEvent_FunctionToolsExecuted, livekit_agent_session_pb_d_AgentSessionEvent_FunctionToolsStarted as AgentSessionEvent_FunctionToolsStarted, livekit_agent_session_pb_d_AgentSessionEvent_OverlappingSpeech as AgentSessionEvent_OverlappingSpeech, livekit_agent_session_pb_d_AgentSessionEvent_SessionUsageUpdated as AgentSessionEvent_SessionUsageUpdated, livekit_agent_session_pb_d_AgentSessionEvent_UserInputTranscribed as AgentSessionEvent_UserInputTranscribed, livekit_agent_session_pb_d_AgentSessionEvent_UserStateChanged as AgentSessionEvent_UserStateChanged, livekit_agent_session_pb_d_AgentSessionMessage as AgentSessionMessage, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO as AgentSessionMessage_ConsoleIO, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioFrame as AgentSessionMessage_ConsoleIO_AudioFrame, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackClear as AgentSessionMessage_ConsoleIO_AudioPlaybackClear, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFinished as AgentSessionMessage_ConsoleIO_AudioPlaybackFinished, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFlush as AgentSessionMessage_ConsoleIO_AudioPlaybackFlush, livekit_agent_session_pb_d_AgentSessionUsage as AgentSessionUsage, livekit_agent_session_pb_d_AgentState as AgentState, livekit_agent_session_pb_d_AmdCategory as AmdCategory, livekit_agent_session_pb_d_ChatContext as ChatContext, livekit_agent_session_pb_d_ChatContext_ChatItem as ChatContext_ChatItem, ChatMessage$1 as ChatMessage, livekit_agent_session_pb_d_ChatMessage_ChatContent as ChatMessage_ChatContent, livekit_agent_session_pb_d_ChatRole as ChatRole,
|
|
2353
|
+
export { livekit_agent_session_pb_d_AgentConfigUpdate as AgentConfigUpdate, livekit_agent_session_pb_d_AgentHandoff as AgentHandoff, livekit_agent_session_pb_d_AgentSessionEvent as AgentSessionEvent, livekit_agent_session_pb_d_AgentSessionEvent_AgentStateChanged as AgentSessionEvent_AgentStateChanged, livekit_agent_session_pb_d_AgentSessionEvent_AmdPrediction as AgentSessionEvent_AmdPrediction, livekit_agent_session_pb_d_AgentSessionEvent_ConversationItemAdded as AgentSessionEvent_ConversationItemAdded, livekit_agent_session_pb_d_AgentSessionEvent_EotPrediction as AgentSessionEvent_EotPrediction, livekit_agent_session_pb_d_AgentSessionEvent_Error as AgentSessionEvent_Error, livekit_agent_session_pb_d_AgentSessionEvent_FunctionToolsExecuted as AgentSessionEvent_FunctionToolsExecuted, livekit_agent_session_pb_d_AgentSessionEvent_FunctionToolsStarted as AgentSessionEvent_FunctionToolsStarted, livekit_agent_session_pb_d_AgentSessionEvent_OverlappingSpeech as AgentSessionEvent_OverlappingSpeech, livekit_agent_session_pb_d_AgentSessionEvent_SessionUsageUpdated as AgentSessionEvent_SessionUsageUpdated, livekit_agent_session_pb_d_AgentSessionEvent_UserInputTranscribed as AgentSessionEvent_UserInputTranscribed, livekit_agent_session_pb_d_AgentSessionEvent_UserStateChanged as AgentSessionEvent_UserStateChanged, livekit_agent_session_pb_d_AgentSessionMessage as AgentSessionMessage, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO as AgentSessionMessage_ConsoleIO, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioFrame as AgentSessionMessage_ConsoleIO_AudioFrame, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackClear as AgentSessionMessage_ConsoleIO_AudioPlaybackClear, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFinished as AgentSessionMessage_ConsoleIO_AudioPlaybackFinished, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFlush as AgentSessionMessage_ConsoleIO_AudioPlaybackFlush, livekit_agent_session_pb_d_AgentSessionUsage as AgentSessionUsage, livekit_agent_session_pb_d_AgentState as AgentState, livekit_agent_session_pb_d_AmdCategory as AmdCategory, livekit_agent_session_pb_d_ChatContext as ChatContext, livekit_agent_session_pb_d_ChatContext_ChatItem as ChatContext_ChatItem, ChatMessage$1 as ChatMessage, livekit_agent_session_pb_d_ChatMessage_ChatContent as ChatMessage_ChatContent, livekit_agent_session_pb_d_ChatRole as ChatRole, livekit_agent_session_pb_d_DebugMessage as DebugMessage, livekit_agent_session_pb_d_EotModelUsage as EotModelUsage, livekit_agent_session_pb_d_FunctionCall as FunctionCall, livekit_agent_session_pb_d_FunctionCallOutput as FunctionCallOutput, livekit_agent_session_pb_d_InterruptionModelUsage as InterruptionModelUsage, livekit_agent_session_pb_d_LLMModelUsage as LLMModelUsage, livekit_agent_session_pb_d_MetricsReport as MetricsReport, livekit_agent_session_pb_d_ModelUsage as ModelUsage, livekit_agent_session_pb_d_STTModelUsage as STTModelUsage, livekit_agent_session_pb_d_SessionRequest as SessionRequest, livekit_agent_session_pb_d_SessionRequest_GetAgentInfo as SessionRequest_GetAgentInfo, livekit_agent_session_pb_d_SessionRequest_GetChatHistory as SessionRequest_GetChatHistory, livekit_agent_session_pb_d_SessionRequest_GetFrameworkInfo as SessionRequest_GetFrameworkInfo, livekit_agent_session_pb_d_SessionRequest_GetRTCStats as SessionRequest_GetRTCStats, livekit_agent_session_pb_d_SessionRequest_GetSessionState as SessionRequest_GetSessionState, livekit_agent_session_pb_d_SessionRequest_GetSessionUsage as SessionRequest_GetSessionUsage, livekit_agent_session_pb_d_SessionRequest_Ping as SessionRequest_Ping, livekit_agent_session_pb_d_SessionRequest_RunInput as SessionRequest_RunInput, livekit_agent_session_pb_d_SessionRequest_UpdateIO as SessionRequest_UpdateIO, livekit_agent_session_pb_d_SessionRequest_UpdateIO_Input as SessionRequest_UpdateIO_Input, livekit_agent_session_pb_d_SessionRequest_UpdateIO_Output as SessionRequest_UpdateIO_Output, livekit_agent_session_pb_d_SessionResponse as SessionResponse, livekit_agent_session_pb_d_SessionResponse_GetAgentInfoResponse as SessionResponse_GetAgentInfoResponse, livekit_agent_session_pb_d_SessionResponse_GetChatHistoryResponse as SessionResponse_GetChatHistoryResponse, livekit_agent_session_pb_d_SessionResponse_GetFrameworkInfoResponse as SessionResponse_GetFrameworkInfoResponse, livekit_agent_session_pb_d_SessionResponse_GetRTCStatsResponse as SessionResponse_GetRTCStatsResponse, livekit_agent_session_pb_d_SessionResponse_GetSessionStateResponse as SessionResponse_GetSessionStateResponse, livekit_agent_session_pb_d_SessionResponse_GetSessionUsageResponse as SessionResponse_GetSessionUsageResponse, livekit_agent_session_pb_d_SessionResponse_Pong as SessionResponse_Pong, livekit_agent_session_pb_d_SessionResponse_RunInputResponse as SessionResponse_RunInputResponse, livekit_agent_session_pb_d_SessionResponse_UpdateIOResponse as SessionResponse_UpdateIOResponse, livekit_agent_session_pb_d_TTSModelUsage as TTSModelUsage, livekit_agent_session_pb_d_TimedString as TimedString, livekit_agent_session_pb_d_UserState as UserState };
|
|
2358
2354
|
}
|
|
2359
2355
|
|
|
2360
2356
|
// Copyright 2026 LiveKit, Inc.
|
|
@@ -3103,6 +3099,23 @@ declare class InferenceResponse extends Message<InferenceResponse> {
|
|
|
3103
3099
|
* @generated from message livekit.agent.SessionCreated
|
|
3104
3100
|
*/
|
|
3105
3101
|
declare class SessionCreated extends Message<SessionCreated> {
|
|
3102
|
+
/**
|
|
3103
|
+
* Server-recommended default detection thresholds keyed by language code
|
|
3104
|
+
* (e.g. "en", "es"). The threshold semantics match the session type: EOT
|
|
3105
|
+
* probability threshold for EOT sessions, interruption threshold for
|
|
3106
|
+
* barge-in sessions.
|
|
3107
|
+
*
|
|
3108
|
+
* @generated from field: map<string, float> default_thresholds = 1;
|
|
3109
|
+
*/
|
|
3110
|
+
defaultThresholds: { [key: string]: number };
|
|
3111
|
+
|
|
3112
|
+
/**
|
|
3113
|
+
* Catch-all default applied to languages not present in default_thresholds.
|
|
3114
|
+
*
|
|
3115
|
+
* @generated from field: float default_threshold = 2;
|
|
3116
|
+
*/
|
|
3117
|
+
defaultThreshold: number;
|
|
3118
|
+
|
|
3106
3119
|
constructor(data?: PartialMessage<SessionCreated>);
|
|
3107
3120
|
|
|
3108
3121
|
static readonly runtime: typeof proto3;
|
|
@@ -9444,15 +9457,12 @@ declare class MediaSource extends Message<MediaSource> {
|
|
|
9444
9457
|
} | { case: undefined; value?: undefined };
|
|
9445
9458
|
|
|
9446
9459
|
/**
|
|
9460
|
+
* TODO: DataConfig data = 4;
|
|
9461
|
+
*
|
|
9447
9462
|
* @generated from field: livekit.AudioConfig audio = 3;
|
|
9448
9463
|
*/
|
|
9449
9464
|
audio?: AudioConfig;
|
|
9450
9465
|
|
|
9451
|
-
/**
|
|
9452
|
-
* @generated from field: livekit.DataConfig data = 4;
|
|
9453
|
-
*/
|
|
9454
|
-
data?: DataConfig;
|
|
9455
|
-
|
|
9456
9466
|
constructor(data?: PartialMessage<MediaSource>);
|
|
9457
9467
|
|
|
9458
9468
|
static readonly runtime: typeof proto3;
|
|
@@ -9505,10 +9515,14 @@ declare class ParticipantVideo extends Message<ParticipantVideo> {
|
|
|
9505
9515
|
*/
|
|
9506
9516
|
declare class AudioConfig extends Message<AudioConfig> {
|
|
9507
9517
|
/**
|
|
9508
|
-
* If
|
|
9509
|
-
* If non-empty, only matching audio is captured and routed. Unmatched is excluded.
|
|
9518
|
+
* If true, all unmatched audio is recorded to both channels
|
|
9510
9519
|
*
|
|
9511
|
-
* @generated from field:
|
|
9520
|
+
* @generated from field: bool capture_all = 1;
|
|
9521
|
+
*/
|
|
9522
|
+
captureAll: boolean;
|
|
9523
|
+
|
|
9524
|
+
/**
|
|
9525
|
+
* @generated from field: repeated livekit.AudioRoute routes = 2;
|
|
9512
9526
|
*/
|
|
9513
9527
|
routes: AudioRoute[];
|
|
9514
9528
|
|
|
@@ -9579,10 +9593,12 @@ declare class AudioRoute extends Message<AudioRoute> {
|
|
|
9579
9593
|
*/
|
|
9580
9594
|
declare class DataConfig extends Message<DataConfig> {
|
|
9581
9595
|
/**
|
|
9582
|
-
*
|
|
9583
|
-
|
|
9584
|
-
|
|
9585
|
-
|
|
9596
|
+
* @generated from field: bool capture_all = 1;
|
|
9597
|
+
*/
|
|
9598
|
+
captureAll: boolean;
|
|
9599
|
+
|
|
9600
|
+
/**
|
|
9601
|
+
* @generated from field: repeated livekit.DataSelector selectors = 2;
|
|
9586
9602
|
*/
|
|
9587
9603
|
selectors: DataSelector[];
|
|
9588
9604
|
|
|
@@ -9620,12 +9636,6 @@ declare class DataSelector extends Message<DataSelector> {
|
|
|
9620
9636
|
*/
|
|
9621
9637
|
value: string;
|
|
9622
9638
|
case: "participantIdentity";
|
|
9623
|
-
} | {
|
|
9624
|
-
/**
|
|
9625
|
-
* @generated from field: string topic = 3;
|
|
9626
|
-
*/
|
|
9627
|
-
value: string;
|
|
9628
|
-
case: "topic";
|
|
9629
9639
|
} | { case: undefined; value?: undefined };
|
|
9630
9640
|
|
|
9631
9641
|
constructor(data?: PartialMessage<DataSelector>);
|
|
@@ -9777,7 +9787,7 @@ declare class Output extends Message<Output> {
|
|
|
9777
9787
|
case: "segments";
|
|
9778
9788
|
} | {
|
|
9779
9789
|
/**
|
|
9780
|
-
*
|
|
9790
|
+
* TODO: DataOutput data = 5;
|
|
9781
9791
|
*
|
|
9782
9792
|
* @generated from field: livekit.ImageOutput images = 4;
|
|
9783
9793
|
*/
|
|
@@ -9933,6 +9943,8 @@ declare class SegmentedFileOutput extends Message<SegmentedFileOutput> {
|
|
|
9933
9943
|
disableManifest: boolean;
|
|
9934
9944
|
|
|
9935
9945
|
/**
|
|
9946
|
+
* TODO: deprecate
|
|
9947
|
+
*
|
|
9936
9948
|
* @generated from oneof livekit.SegmentedFileOutput.output
|
|
9937
9949
|
*/
|
|
9938
9950
|
output: {
|
|
@@ -10032,6 +10044,8 @@ declare class ImageOutput extends Message<ImageOutput> {
|
|
|
10032
10044
|
disableManifest: boolean;
|
|
10033
10045
|
|
|
10034
10046
|
/**
|
|
10047
|
+
* TODO: deprecate
|
|
10048
|
+
*
|
|
10035
10049
|
* @generated from oneof livekit.ImageOutput.output
|
|
10036
10050
|
*/
|
|
10037
10051
|
output: {
|
|
@@ -10556,14 +10570,20 @@ declare class EgressInfo extends Message<EgressInfo> {
|
|
|
10556
10570
|
*/
|
|
10557
10571
|
request: {
|
|
10558
10572
|
/**
|
|
10559
|
-
* StartEgressRequest egress = 29;
|
|
10560
|
-
|
|
10573
|
+
* @generated from field: livekit.StartEgressRequest egress = 29;
|
|
10574
|
+
*/
|
|
10575
|
+
value: StartEgressRequest;
|
|
10576
|
+
case: "egress";
|
|
10577
|
+
} | {
|
|
10578
|
+
/**
|
|
10561
10579
|
* @generated from field: livekit.ExportReplayRequest replay = 30;
|
|
10562
10580
|
*/
|
|
10563
10581
|
value: ExportReplayRequest;
|
|
10564
10582
|
case: "replay";
|
|
10565
10583
|
} | {
|
|
10566
10584
|
/**
|
|
10585
|
+
* TODO: deprecate
|
|
10586
|
+
*
|
|
10567
10587
|
* @generated from field: livekit.RoomCompositeEgressRequest room_composite = 4;
|
|
10568
10588
|
*/
|
|
10569
10589
|
value: RoomCompositeEgressRequest;
|
package/dist/index.mjs
CHANGED
|
@@ -492,17 +492,10 @@ const AgentSessionUsage = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
492
492
|
{ no: 1, name: "model_usage", kind: "message", T: ModelUsage, repeated: true }
|
|
493
493
|
]
|
|
494
494
|
);
|
|
495
|
-
const
|
|
496
|
-
"livekit.agent.
|
|
495
|
+
const DebugMessage = /* @__PURE__ */ proto3.makeMessageType(
|
|
496
|
+
"livekit.agent.DebugMessage",
|
|
497
497
|
() => [
|
|
498
|
-
{
|
|
499
|
-
no: 1,
|
|
500
|
-
name: "type",
|
|
501
|
-
kind: "scalar",
|
|
502
|
-
T: 9
|
|
503
|
-
/* ScalarType.STRING */
|
|
504
|
-
},
|
|
505
|
-
{ no: 2, name: "payload", kind: "message", T: Struct }
|
|
498
|
+
{ no: 1, name: "payload", kind: "message", T: Struct }
|
|
506
499
|
]
|
|
507
500
|
);
|
|
508
501
|
const AgentSessionEvent = /* @__PURE__ */ proto3.makeMessageType(
|
|
@@ -520,7 +513,7 @@ const AgentSessionEvent = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
520
513
|
{ no: 18, name: "amd_prediction", kind: "message", T: AgentSessionEvent_AmdPrediction, oneof: "event" },
|
|
521
514
|
{ no: 19, name: "eot_prediction", kind: "message", T: AgentSessionEvent_EotPrediction, oneof: "event" },
|
|
522
515
|
{ no: 20, name: "function_tools_started", kind: "message", T: AgentSessionEvent_FunctionToolsStarted, oneof: "event" },
|
|
523
|
-
{ no: 21, name: "
|
|
516
|
+
{ no: 21, name: "debug_message", kind: "message", T: DebugMessage, oneof: "event" }
|
|
524
517
|
]
|
|
525
518
|
);
|
|
526
519
|
const AgentSessionEvent_AgentStateChanged = /* @__PURE__ */ proto3.makeMessageType(
|
|
@@ -980,7 +973,7 @@ const livekit_agent_session_pb = {
|
|
|
980
973
|
ChatMessage: ChatMessage$1,
|
|
981
974
|
ChatMessage_ChatContent: ChatMessage_ChatContent,
|
|
982
975
|
ChatRole: ChatRole,
|
|
983
|
-
|
|
976
|
+
DebugMessage: DebugMessage,
|
|
984
977
|
EotModelUsage: EotModelUsage,
|
|
985
978
|
FunctionCall: FunctionCall,
|
|
986
979
|
FunctionCallOutput: FunctionCallOutput,
|
|
@@ -1273,7 +1266,20 @@ const InferenceResponse = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
1273
1266
|
);
|
|
1274
1267
|
const SessionCreated = /* @__PURE__ */ proto3.makeMessageType(
|
|
1275
1268
|
"livekit.agent.SessionCreated",
|
|
1276
|
-
[
|
|
1269
|
+
() => [
|
|
1270
|
+
{ no: 1, name: "default_thresholds", kind: "map", K: 9, V: {
|
|
1271
|
+
kind: "scalar",
|
|
1272
|
+
T: 2
|
|
1273
|
+
/* ScalarType.FLOAT */
|
|
1274
|
+
} },
|
|
1275
|
+
{
|
|
1276
|
+
no: 2,
|
|
1277
|
+
name: "default_threshold",
|
|
1278
|
+
kind: "scalar",
|
|
1279
|
+
T: 2
|
|
1280
|
+
/* ScalarType.FLOAT */
|
|
1281
|
+
}
|
|
1282
|
+
]
|
|
1277
1283
|
);
|
|
1278
1284
|
const InferenceStarted = /* @__PURE__ */ proto3.makeMessageType(
|
|
1279
1285
|
"livekit.agent.InferenceStarted",
|
|
@@ -4597,8 +4603,7 @@ const MediaSource = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
4597
4603
|
() => [
|
|
4598
4604
|
{ no: 1, name: "video_track_id", kind: "scalar", T: 9, oneof: "video" },
|
|
4599
4605
|
{ no: 2, name: "participant_video", kind: "message", T: ParticipantVideo, oneof: "video" },
|
|
4600
|
-
{ no: 3, name: "audio", kind: "message", T: AudioConfig }
|
|
4601
|
-
{ no: 4, name: "data", kind: "message", T: DataConfig }
|
|
4606
|
+
{ no: 3, name: "audio", kind: "message", T: AudioConfig }
|
|
4602
4607
|
]
|
|
4603
4608
|
);
|
|
4604
4609
|
const ParticipantVideo = /* @__PURE__ */ proto3.makeMessageType(
|
|
@@ -4623,7 +4628,14 @@ const ParticipantVideo = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
4623
4628
|
const AudioConfig = /* @__PURE__ */ proto3.makeMessageType(
|
|
4624
4629
|
"livekit.AudioConfig",
|
|
4625
4630
|
() => [
|
|
4626
|
-
{
|
|
4631
|
+
{
|
|
4632
|
+
no: 1,
|
|
4633
|
+
name: "capture_all",
|
|
4634
|
+
kind: "scalar",
|
|
4635
|
+
T: 8
|
|
4636
|
+
/* ScalarType.BOOL */
|
|
4637
|
+
},
|
|
4638
|
+
{ no: 2, name: "routes", kind: "message", T: AudioRoute, repeated: true }
|
|
4627
4639
|
]
|
|
4628
4640
|
);
|
|
4629
4641
|
const AudioRoute = /* @__PURE__ */ proto3.makeMessageType(
|
|
@@ -4638,15 +4650,21 @@ const AudioRoute = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
4638
4650
|
const DataConfig = /* @__PURE__ */ proto3.makeMessageType(
|
|
4639
4651
|
"livekit.DataConfig",
|
|
4640
4652
|
() => [
|
|
4641
|
-
{
|
|
4653
|
+
{
|
|
4654
|
+
no: 1,
|
|
4655
|
+
name: "capture_all",
|
|
4656
|
+
kind: "scalar",
|
|
4657
|
+
T: 8
|
|
4658
|
+
/* ScalarType.BOOL */
|
|
4659
|
+
},
|
|
4660
|
+
{ no: 2, name: "selectors", kind: "message", T: DataSelector, repeated: true }
|
|
4642
4661
|
]
|
|
4643
4662
|
);
|
|
4644
4663
|
const DataSelector = /* @__PURE__ */ proto3.makeMessageType(
|
|
4645
4664
|
"livekit.DataSelector",
|
|
4646
4665
|
() => [
|
|
4647
4666
|
{ no: 1, name: "track_id", kind: "scalar", T: 9, oneof: "match" },
|
|
4648
|
-
{ no: 2, name: "participant_identity", kind: "scalar", T: 9, oneof: "match" }
|
|
4649
|
-
{ no: 3, name: "topic", kind: "scalar", T: 9, oneof: "match" }
|
|
4667
|
+
{ no: 2, name: "participant_identity", kind: "scalar", T: 9, oneof: "match" }
|
|
4650
4668
|
]
|
|
4651
4669
|
);
|
|
4652
4670
|
const EncodingOptions = /* @__PURE__ */ proto3.makeMessageType(
|
|
@@ -5185,6 +5203,7 @@ const EgressInfo = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
5185
5203
|
T: 3
|
|
5186
5204
|
/* ScalarType.INT64 */
|
|
5187
5205
|
},
|
|
5206
|
+
{ no: 29, name: "egress", kind: "message", T: StartEgressRequest, oneof: "request" },
|
|
5188
5207
|
{ no: 30, name: "replay", kind: "message", T: ExportReplayRequest, oneof: "request" },
|
|
5189
5208
|
{ no: 4, name: "room_composite", kind: "message", T: RoomCompositeEgressRequest, oneof: "request" },
|
|
5190
5209
|
{ no: 14, name: "web", kind: "message", T: WebEgressRequest, oneof: "request" },
|
|
@@ -10678,7 +10697,7 @@ const WebhookEvent = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
10678
10697
|
]
|
|
10679
10698
|
);
|
|
10680
10699
|
|
|
10681
|
-
const version = "1.46.
|
|
10700
|
+
const version = "1.46.5";
|
|
10682
10701
|
|
|
10683
10702
|
export { APICallInfo, APICallRequest, AcceptWhatsAppCallRequest, AcceptWhatsAppCallResponse, ActiveSpeakerUpdate, AddTrackRequest, livekit_agent_dev_pb as AgentDev, AgentDispatch, AgentDispatchState, livekit_agent_inference_pb as AgentInference, livekit_agent_session_pb as AgentSession, livekit_agent_text_pb as AgentText, 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, SIPCodec, SIPDispatchRule, SIPDispatchRuleCallee, SIPDispatchRuleDirect, SIPDispatchRuleIndividual, SIPDispatchRuleInfo, SIPDispatchRuleUpdate, SIPFeature, SIPHeaderOptions, SIPInboundTrunkInfo, SIPInboundTrunkUpdate, SIPMediaConfig, SIPMediaEncryption, SIPNamedDest, SIPOutboundConfig, SIPOutboundTrunkInfo, SIPOutboundTrunkUpdate, SIPParticipantInfo, SIPRequestDest, 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 };
|
|
10684
10703
|
//# sourceMappingURL=index.mjs.map
|