@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.d.cts CHANGED
@@ -898,34 +898,30 @@ declare class AgentSessionUsage extends Message<AgentSessionUsage> {
898
898
  }
899
899
 
900
900
  /**
901
- * Application-defined event carried over the remote session wire.
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.CustomEvent
904
+ * @generated from message livekit.agent.DebugMessage
904
905
  */
905
- declare class CustomEvent extends Message<CustomEvent> {
906
+ declare class DebugMessage extends Message<DebugMessage> {
906
907
  /**
907
- * @generated from field: string type = 1;
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<CustomEvent>);
912
+ constructor(data?: PartialMessage<DebugMessage>);
917
913
 
918
914
  static readonly runtime: typeof proto3;
919
- static readonly typeName = "livekit.agent.CustomEvent";
915
+ static readonly typeName = "livekit.agent.DebugMessage";
920
916
  static readonly fields: FieldList;
921
917
 
922
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CustomEvent;
918
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DebugMessage;
923
919
 
924
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CustomEvent;
920
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DebugMessage;
925
921
 
926
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CustomEvent;
922
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DebugMessage;
927
923
 
928
- static equals(a: CustomEvent | PlainMessage<CustomEvent> | undefined, b: CustomEvent | PlainMessage<CustomEvent> | undefined): boolean;
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.CustomEvent custom_event = 21;
1007
+ * @generated from field: livekit.agent.DebugMessage debug_message = 21;
1012
1008
  */
1013
- value: CustomEvent;
1014
- case: "customEvent";
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 livekit_agent_session_pb_d_CustomEvent = CustomEvent;
2289
- declare const livekit_agent_session_pb_d_CustomEvent: typeof CustomEvent;
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, livekit_agent_session_pb_d_CustomEvent as CustomEvent, 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 };
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 empty, all audio captured in both channels.
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: repeated livekit.AudioRoute routes = 1;
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
- * If empty, all data tracks captured.
9583
- * If non-empty, only matching data tracks are captured.
9584
- *
9585
- * @generated from field: repeated livekit.DataSelector selectors = 1;
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
- * 5 reserved for mcap;
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.d.mts CHANGED
@@ -898,34 +898,30 @@ declare class AgentSessionUsage extends Message<AgentSessionUsage> {
898
898
  }
899
899
 
900
900
  /**
901
- * Application-defined event carried over the remote session wire.
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.CustomEvent
904
+ * @generated from message livekit.agent.DebugMessage
904
905
  */
905
- declare class CustomEvent extends Message<CustomEvent> {
906
+ declare class DebugMessage extends Message<DebugMessage> {
906
907
  /**
907
- * @generated from field: string type = 1;
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<CustomEvent>);
912
+ constructor(data?: PartialMessage<DebugMessage>);
917
913
 
918
914
  static readonly runtime: typeof proto3;
919
- static readonly typeName = "livekit.agent.CustomEvent";
915
+ static readonly typeName = "livekit.agent.DebugMessage";
920
916
  static readonly fields: FieldList;
921
917
 
922
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CustomEvent;
918
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DebugMessage;
923
919
 
924
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CustomEvent;
920
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DebugMessage;
925
921
 
926
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CustomEvent;
922
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DebugMessage;
927
923
 
928
- static equals(a: CustomEvent | PlainMessage<CustomEvent> | undefined, b: CustomEvent | PlainMessage<CustomEvent> | undefined): boolean;
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.CustomEvent custom_event = 21;
1007
+ * @generated from field: livekit.agent.DebugMessage debug_message = 21;
1012
1008
  */
1013
- value: CustomEvent;
1014
- case: "customEvent";
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 livekit_agent_session_pb_d_CustomEvent = CustomEvent;
2289
- declare const livekit_agent_session_pb_d_CustomEvent: typeof CustomEvent;
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, livekit_agent_session_pb_d_CustomEvent as CustomEvent, 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 };
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 empty, all audio captured in both channels.
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: repeated livekit.AudioRoute routes = 1;
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
- * If empty, all data tracks captured.
9583
- * If non-empty, only matching data tracks are captured.
9584
- *
9585
- * @generated from field: repeated livekit.DataSelector selectors = 1;
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
- * 5 reserved for mcap;
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;