@livekit/protocol 1.52.1 → 1.53.1

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.ts CHANGED
@@ -133,6 +133,46 @@ declare enum ToolReplyStatus {
133
133
  TR_SKIPPED = 3,
134
134
  }
135
135
 
136
+ /**
137
+ * Why an agent session closed. Agent evals read it from the recording upload's session
138
+ * summary (MetricsRecordingHeader.session_summary), as the value name.
139
+ *
140
+ * @generated from enum livekit.agent.CloseReason
141
+ */
142
+ declare enum CloseReason {
143
+ /**
144
+ * not reported, or an SDK-specific reason
145
+ *
146
+ * @generated from enum value: CR_UNKNOWN = 0;
147
+ */
148
+ CR_UNKNOWN = 0,
149
+
150
+ /**
151
+ * @generated from enum value: CR_ERROR = 1;
152
+ */
153
+ CR_ERROR = 1,
154
+
155
+ /**
156
+ * @generated from enum value: CR_JOB_SHUTDOWN = 2;
157
+ */
158
+ CR_JOB_SHUTDOWN = 2,
159
+
160
+ /**
161
+ * @generated from enum value: CR_PARTICIPANT_DISCONNECTED = 3;
162
+ */
163
+ CR_PARTICIPANT_DISCONNECTED = 3,
164
+
165
+ /**
166
+ * @generated from enum value: CR_USER_INITIATED = 4;
167
+ */
168
+ CR_USER_INITIATED = 4,
169
+
170
+ /**
171
+ * @generated from enum value: CR_COMPLETED = 5;
172
+ */
173
+ CR_COMPLETED = 5,
174
+ }
175
+
136
176
  /**
137
177
  * @generated from enum livekit.agent.AmdCategory
138
178
  */
@@ -404,6 +444,15 @@ declare class FunctionCall extends Message<FunctionCall> {
404
444
  */
405
445
  createdAt?: Timestamp;
406
446
 
447
+ /**
448
+ * Framework metadata recorded on the call, kept with the history. A delegating call records
449
+ * where the request went: lk.delegation.task_id, lk.delegation.endpoint,
450
+ * lk.delegation.transport and lk.delegation.profile.
451
+ *
452
+ * @generated from field: map<string, string> extra = 6;
453
+ */
454
+ extra: { [key: string]: string };
455
+
407
456
  constructor(data?: PartialMessage<FunctionCall>);
408
457
 
409
458
  static readonly runtime: typeof proto3;
@@ -2684,6 +2733,8 @@ type livekit_agent_session_pb_d_ChatMessage_ChatContent = ChatMessage_ChatConten
2684
2733
  declare const livekit_agent_session_pb_d_ChatMessage_ChatContent: typeof ChatMessage_ChatContent;
2685
2734
  type livekit_agent_session_pb_d_ChatRole = ChatRole;
2686
2735
  declare const livekit_agent_session_pb_d_ChatRole: typeof ChatRole;
2736
+ type livekit_agent_session_pb_d_CloseReason = CloseReason;
2737
+ declare const livekit_agent_session_pb_d_CloseReason: typeof CloseReason;
2687
2738
  type livekit_agent_session_pb_d_DebugMessage = DebugMessage;
2688
2739
  declare const livekit_agent_session_pb_d_DebugMessage: typeof DebugMessage;
2689
2740
  type livekit_agent_session_pb_d_EotModelUsage = EotModelUsage;
@@ -2798,6 +2849,7 @@ declare namespace livekit_agent_session_pb_d {
2798
2849
  ChatMessage$1 as ChatMessage,
2799
2850
  livekit_agent_session_pb_d_ChatMessage_ChatContent as ChatMessage_ChatContent,
2800
2851
  livekit_agent_session_pb_d_ChatRole as ChatRole,
2852
+ livekit_agent_session_pb_d_CloseReason as CloseReason,
2801
2853
  livekit_agent_session_pb_d_DebugMessage as DebugMessage,
2802
2854
  livekit_agent_session_pb_d_EotModelUsage as EotModelUsage,
2803
2855
  livekit_agent_session_pb_d_FunctionCall as FunctionCall,
@@ -2857,341 +2909,1040 @@ declare namespace livekit_agent_session_pb_d {
2857
2909
 
2858
2910
 
2859
2911
  /**
2860
- * @generated from enum livekit.agent.AudioEncoding
2912
+ * @generated from message livekit.agent.AgentThread
2861
2913
  */
2862
- declare enum AudioEncoding {
2863
- /**
2864
- * @generated from enum value: AUDIO_ENCODING_PCM_S16LE = 0;
2865
- */
2866
- PCM_S16LE = 0,
2914
+ declare class AgentThread extends Message<AgentThread> {
2915
+ constructor(data?: PartialMessage<AgentThread>);
2867
2916
 
2868
- /**
2869
- * @generated from enum value: AUDIO_ENCODING_OPUS = 1;
2870
- */
2871
- OPUS = 1,
2917
+ static readonly runtime: typeof proto3;
2918
+ static readonly typeName = "livekit.agent.AgentThread";
2919
+ static readonly fields: FieldList;
2920
+
2921
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentThread;
2922
+
2923
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentThread;
2924
+
2925
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentThread;
2926
+
2927
+ static equals(a: AgentThread | PlainMessage<AgentThread> | undefined, b: AgentThread | PlainMessage<AgentThread> | undefined): boolean;
2872
2928
  }
2873
2929
 
2874
2930
  /**
2875
- * @generated from message livekit.agent.SessionSettings
2931
+ * Direction of a listing. Each request documents what unset means.
2932
+ *
2933
+ * @generated from enum livekit.agent.AgentThread.SortOrder
2876
2934
  */
2877
- declare class SessionSettings extends Message<SessionSettings> {
2935
+ declare enum AgentThread_SortOrder {
2878
2936
  /**
2879
- * @generated from field: uint32 sample_rate = 1;
2937
+ * @generated from enum value: SORT_ORDER_UNSPECIFIED = 0;
2880
2938
  */
2881
- sampleRate: number;
2939
+ UNSPECIFIED = 0,
2882
2940
 
2883
2941
  /**
2884
- * @generated from field: livekit.agent.AudioEncoding encoding = 2;
2942
+ * @generated from enum value: SORT_ORDER_ASC = 1;
2885
2943
  */
2886
- encoding: AudioEncoding;
2944
+ ASC = 1,
2887
2945
 
2888
2946
  /**
2889
- * @generated from oneof livekit.agent.SessionSettings.type_settings
2947
+ * @generated from enum value: SORT_ORDER_DESC = 2;
2890
2948
  */
2891
- typeSettings: {
2892
- /**
2893
- * @generated from field: livekit.agent.EotSettings eot_settings = 3;
2894
- */
2895
- value: EotSettings;
2896
- case: "eotSettings";
2897
- } | {
2898
- /**
2899
- * @generated from field: livekit.agent.InterruptionSettings interruption_settings = 4;
2900
- */
2901
- value: InterruptionSettings;
2902
- case: "interruptionSettings";
2903
- } | { case: undefined; value?: undefined };
2904
-
2905
- constructor(data?: PartialMessage<SessionSettings>);
2906
-
2907
- static readonly runtime: typeof proto3;
2908
- static readonly typeName = "livekit.agent.SessionSettings";
2909
- static readonly fields: FieldList;
2910
-
2911
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionSettings;
2912
-
2913
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionSettings;
2914
-
2915
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionSettings;
2916
-
2917
- static equals(a: SessionSettings | PlainMessage<SessionSettings> | undefined, b: SessionSettings | PlainMessage<SessionSettings> | undefined): boolean;
2949
+ DESC = 2,
2918
2950
  }
2919
2951
 
2920
2952
  /**
2921
- * @generated from message livekit.agent.InferenceError
2953
+ * @generated from message livekit.agent.AgentThread.CreateRequest
2922
2954
  */
2923
- declare class InferenceError extends Message<InferenceError> {
2955
+ declare class AgentThread_CreateRequest extends Message<AgentThread_CreateRequest> {
2924
2956
  /**
2925
- * @generated from field: string message = 1;
2957
+ * Groups threads, e.g. by user: an application-defined value, typically the
2958
+ * user's identity. An AgentThreadGrant is scoped by it.
2959
+ *
2960
+ * @generated from field: string scope = 1;
2926
2961
  */
2927
- message: string;
2962
+ scope: string;
2928
2963
 
2929
2964
  /**
2930
- * error code follows the HTTP status code convention
2931
- * 4xx for client errors
2932
- * 5xx for server errors
2965
+ * @generated from field: map<string, string> attributes = 2;
2966
+ */
2967
+ attributes: { [key: string]: string };
2968
+
2969
+ /**
2970
+ * Unset takes the server default.
2933
2971
  *
2934
- * @generated from field: uint32 code = 2;
2972
+ * @generated from field: google.protobuf.Duration idle_ttl = 3;
2935
2973
  */
2936
- code: number;
2974
+ idleTtl?: Duration;
2937
2975
 
2938
- constructor(data?: PartialMessage<InferenceError>);
2976
+ constructor(data?: PartialMessage<AgentThread_CreateRequest>);
2939
2977
 
2940
2978
  static readonly runtime: typeof proto3;
2941
- static readonly typeName = "livekit.agent.InferenceError";
2979
+ static readonly typeName = "livekit.agent.AgentThread.CreateRequest";
2942
2980
  static readonly fields: FieldList;
2943
2981
 
2944
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InferenceError;
2982
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentThread_CreateRequest;
2945
2983
 
2946
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InferenceError;
2984
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentThread_CreateRequest;
2947
2985
 
2948
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InferenceError;
2986
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentThread_CreateRequest;
2949
2987
 
2950
- static equals(a: InferenceError | PlainMessage<InferenceError> | undefined, b: InferenceError | PlainMessage<InferenceError> | undefined): boolean;
2988
+ static equals(a: AgentThread_CreateRequest | PlainMessage<AgentThread_CreateRequest> | undefined, b: AgentThread_CreateRequest | PlainMessage<AgentThread_CreateRequest> | undefined): boolean;
2951
2989
  }
2952
2990
 
2953
2991
  /**
2954
- * @generated from message livekit.agent.EotSettings
2992
+ * @generated from message livekit.agent.AgentThread.GetRequest
2955
2993
  */
2956
- declare class EotSettings extends Message<EotSettings> {
2994
+ declare class AgentThread_GetRequest extends Message<AgentThread_GetRequest> {
2957
2995
  /**
2958
- * @generated from field: google.protobuf.Duration detection_interval = 1;
2996
+ * @generated from field: string thread_id = 1;
2959
2997
  */
2960
- detectionInterval?: Duration;
2998
+ threadId: string;
2961
2999
 
2962
- constructor(data?: PartialMessage<EotSettings>);
3000
+ constructor(data?: PartialMessage<AgentThread_GetRequest>);
2963
3001
 
2964
3002
  static readonly runtime: typeof proto3;
2965
- static readonly typeName = "livekit.agent.EotSettings";
3003
+ static readonly typeName = "livekit.agent.AgentThread.GetRequest";
2966
3004
  static readonly fields: FieldList;
2967
3005
 
2968
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EotSettings;
3006
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentThread_GetRequest;
2969
3007
 
2970
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EotSettings;
3008
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentThread_GetRequest;
2971
3009
 
2972
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EotSettings;
3010
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentThread_GetRequest;
2973
3011
 
2974
- static equals(a: EotSettings | PlainMessage<EotSettings> | undefined, b: EotSettings | PlainMessage<EotSettings> | undefined): boolean;
3012
+ static equals(a: AgentThread_GetRequest | PlainMessage<AgentThread_GetRequest> | undefined, b: AgentThread_GetRequest | PlainMessage<AgentThread_GetRequest> | undefined): boolean;
2975
3013
  }
2976
3014
 
2977
3015
  /**
2978
- * @generated from message livekit.agent.InterruptionSettings
3016
+ * The threads of one scope, newest first.
3017
+ *
3018
+ * @generated from message livekit.agent.AgentThread.ListRequest
2979
3019
  */
2980
- declare class InterruptionSettings extends Message<InterruptionSettings> {
3020
+ declare class AgentThread_ListRequest extends Message<AgentThread_ListRequest> {
2981
3021
  /**
2982
- * detection threshold in range [0.0, 1.0]; higher values are less sensitive
2983
- *
2984
- * @generated from field: float threshold = 1;
3022
+ * @generated from field: string scope = 1;
2985
3023
  */
2986
- threshold: number;
3024
+ scope: string;
2987
3025
 
2988
3026
  /**
2989
- * minimum number of frames with probability greater than threshold to trigger an interruption
3027
+ * next_page_token of the previous ListResponse; empty for the first page.
2990
3028
  *
2991
- * @generated from field: uint32 min_frames = 2;
2992
- */
2993
- minFrames: number;
2994
-
2995
- /**
2996
- * @generated from field: google.protobuf.Duration max_audio_duration = 3;
2997
- */
2998
- maxAudioDuration?: Duration;
2999
-
3000
- /**
3001
- * @generated from field: google.protobuf.Duration audio_prefix_duration = 4;
3029
+ * @generated from field: string page_token = 2;
3002
3030
  */
3003
- audioPrefixDuration?: Duration;
3031
+ pageToken: string;
3004
3032
 
3005
3033
  /**
3006
- * @generated from field: google.protobuf.Duration detection_interval = 5;
3034
+ * @generated from field: int32 limit = 3;
3007
3035
  */
3008
- detectionInterval?: Duration;
3036
+ limit: number;
3009
3037
 
3010
- constructor(data?: PartialMessage<InterruptionSettings>);
3038
+ constructor(data?: PartialMessage<AgentThread_ListRequest>);
3011
3039
 
3012
3040
  static readonly runtime: typeof proto3;
3013
- static readonly typeName = "livekit.agent.InterruptionSettings";
3041
+ static readonly typeName = "livekit.agent.AgentThread.ListRequest";
3014
3042
  static readonly fields: FieldList;
3015
3043
 
3016
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InterruptionSettings;
3044
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentThread_ListRequest;
3017
3045
 
3018
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InterruptionSettings;
3046
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentThread_ListRequest;
3019
3047
 
3020
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InterruptionSettings;
3048
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentThread_ListRequest;
3021
3049
 
3022
- static equals(a: InterruptionSettings | PlainMessage<InterruptionSettings> | undefined, b: InterruptionSettings | PlainMessage<InterruptionSettings> | undefined): boolean;
3050
+ static equals(a: AgentThread_ListRequest | PlainMessage<AgentThread_ListRequest> | undefined, b: AgentThread_ListRequest | PlainMessage<AgentThread_ListRequest> | undefined): boolean;
3023
3051
  }
3024
3052
 
3025
3053
  /**
3026
- * @generated from message livekit.agent.SessionCreate
3054
+ * @generated from message livekit.agent.AgentThread.ListResponse
3027
3055
  */
3028
- declare class SessionCreate extends Message<SessionCreate> {
3056
+ declare class AgentThread_ListResponse extends Message<AgentThread_ListResponse> {
3029
3057
  /**
3030
- * @generated from field: livekit.agent.SessionSettings settings = 1;
3058
+ * @generated from field: repeated livekit.agent.AgentThread.Thread threads = 1;
3031
3059
  */
3032
- settings?: SessionSettings;
3060
+ threads: AgentThread_Thread[];
3033
3061
 
3034
- constructor(data?: PartialMessage<SessionCreate>);
3062
+ /**
3063
+ * Empty when exhausted.
3064
+ *
3065
+ * @generated from field: string next_page_token = 2;
3066
+ */
3067
+ nextPageToken: string;
3068
+
3069
+ constructor(data?: PartialMessage<AgentThread_ListResponse>);
3035
3070
 
3036
3071
  static readonly runtime: typeof proto3;
3037
- static readonly typeName = "livekit.agent.SessionCreate";
3072
+ static readonly typeName = "livekit.agent.AgentThread.ListResponse";
3038
3073
  static readonly fields: FieldList;
3039
3074
 
3040
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionCreate;
3075
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentThread_ListResponse;
3041
3076
 
3042
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionCreate;
3077
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentThread_ListResponse;
3043
3078
 
3044
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionCreate;
3079
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentThread_ListResponse;
3045
3080
 
3046
- static equals(a: SessionCreate | PlainMessage<SessionCreate> | undefined, b: SessionCreate | PlainMessage<SessionCreate> | undefined): boolean;
3081
+ static equals(a: AgentThread_ListResponse | PlainMessage<AgentThread_ListResponse> | undefined, b: AgentThread_ListResponse | PlainMessage<AgentThread_ListResponse> | undefined): boolean;
3047
3082
  }
3048
3083
 
3049
3084
  /**
3050
- * @generated from message livekit.agent.InputAudio
3085
+ * @generated from message livekit.agent.AgentThread.UpdateRequest
3051
3086
  */
3052
- declare class InputAudio extends Message<InputAudio> {
3087
+ declare class AgentThread_UpdateRequest extends Message<AgentThread_UpdateRequest> {
3053
3088
  /**
3054
- * @generated from field: bytes audio = 1;
3089
+ * @generated from field: string thread_id = 1;
3055
3090
  */
3056
- audio: Uint8Array;
3091
+ threadId: string;
3057
3092
 
3058
3093
  /**
3059
- * @generated from field: google.protobuf.Timestamp created_at = 2;
3094
+ * Added to the existing attributes; an empty value deletes the entry.
3095
+ *
3096
+ * @generated from field: map<string, string> attributes = 2;
3060
3097
  */
3061
- createdAt?: Timestamp;
3098
+ attributes: { [key: string]: string };
3062
3099
 
3063
3100
  /**
3064
- * @generated from field: uint32 num_samples = 3;
3101
+ * Every update counts as activity and pushes expires_at out by idle_ttl.
3102
+ *
3103
+ * @generated from field: google.protobuf.Duration idle_ttl = 3;
3065
3104
  */
3066
- numSamples: number;
3105
+ idleTtl?: Duration;
3067
3106
 
3068
- constructor(data?: PartialMessage<InputAudio>);
3107
+ constructor(data?: PartialMessage<AgentThread_UpdateRequest>);
3069
3108
 
3070
3109
  static readonly runtime: typeof proto3;
3071
- static readonly typeName = "livekit.agent.InputAudio";
3110
+ static readonly typeName = "livekit.agent.AgentThread.UpdateRequest";
3072
3111
  static readonly fields: FieldList;
3073
3112
 
3074
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InputAudio;
3113
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentThread_UpdateRequest;
3075
3114
 
3076
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InputAudio;
3115
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentThread_UpdateRequest;
3077
3116
 
3078
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InputAudio;
3117
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentThread_UpdateRequest;
3079
3118
 
3080
- static equals(a: InputAudio | PlainMessage<InputAudio> | undefined, b: InputAudio | PlainMessage<InputAudio> | undefined): boolean;
3119
+ static equals(a: AgentThread_UpdateRequest | PlainMessage<AgentThread_UpdateRequest> | undefined, b: AgentThread_UpdateRequest | PlainMessage<AgentThread_UpdateRequest> | undefined): boolean;
3081
3120
  }
3082
3121
 
3083
3122
  /**
3084
- * @generated from message livekit.agent.EotInputChatContext
3123
+ * @generated from message livekit.agent.AgentThread.DeleteRequest
3085
3124
  */
3086
- declare class EotInputChatContext extends Message<EotInputChatContext> {
3125
+ declare class AgentThread_DeleteRequest extends Message<AgentThread_DeleteRequest> {
3087
3126
  /**
3088
- * @generated from field: repeated livekit.agent.ChatMessage messages = 1;
3127
+ * @generated from field: string thread_id = 1;
3089
3128
  */
3090
- messages: ChatMessage$1[];
3129
+ threadId: string;
3091
3130
 
3092
- constructor(data?: PartialMessage<EotInputChatContext>);
3131
+ constructor(data?: PartialMessage<AgentThread_DeleteRequest>);
3093
3132
 
3094
3133
  static readonly runtime: typeof proto3;
3095
- static readonly typeName = "livekit.agent.EotInputChatContext";
3134
+ static readonly typeName = "livekit.agent.AgentThread.DeleteRequest";
3096
3135
  static readonly fields: FieldList;
3097
3136
 
3098
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EotInputChatContext;
3137
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentThread_DeleteRequest;
3099
3138
 
3100
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EotInputChatContext;
3139
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentThread_DeleteRequest;
3101
3140
 
3102
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EotInputChatContext;
3141
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentThread_DeleteRequest;
3103
3142
 
3104
- static equals(a: EotInputChatContext | PlainMessage<EotInputChatContext> | undefined, b: EotInputChatContext | PlainMessage<EotInputChatContext> | undefined): boolean;
3143
+ static equals(a: AgentThread_DeleteRequest | PlainMessage<AgentThread_DeleteRequest> | undefined, b: AgentThread_DeleteRequest | PlainMessage<AgentThread_DeleteRequest> | undefined): boolean;
3105
3144
  }
3106
3145
 
3107
3146
  /**
3108
- * @generated from message livekit.agent.SessionFlush
3147
+ * @generated from message livekit.agent.AgentThread.DeleteResponse
3109
3148
  */
3110
- declare class SessionFlush extends Message<SessionFlush> {
3111
- constructor(data?: PartialMessage<SessionFlush>);
3149
+ declare class AgentThread_DeleteResponse extends Message<AgentThread_DeleteResponse> {
3150
+ constructor(data?: PartialMessage<AgentThread_DeleteResponse>);
3112
3151
 
3113
3152
  static readonly runtime: typeof proto3;
3114
- static readonly typeName = "livekit.agent.SessionFlush";
3153
+ static readonly typeName = "livekit.agent.AgentThread.DeleteResponse";
3115
3154
  static readonly fields: FieldList;
3116
3155
 
3117
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionFlush;
3156
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentThread_DeleteResponse;
3118
3157
 
3119
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionFlush;
3158
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentThread_DeleteResponse;
3120
3159
 
3121
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionFlush;
3160
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentThread_DeleteResponse;
3122
3161
 
3123
- static equals(a: SessionFlush | PlainMessage<SessionFlush> | undefined, b: SessionFlush | PlainMessage<SessionFlush> | undefined): boolean;
3162
+ static equals(a: AgentThread_DeleteResponse | PlainMessage<AgentThread_DeleteResponse> | undefined, b: AgentThread_DeleteResponse | PlainMessage<AgentThread_DeleteResponse> | undefined): boolean;
3124
3163
  }
3125
3164
 
3126
3165
  /**
3127
- * @generated from message livekit.agent.SessionClose
3166
+ * The thread's chat items, oldest first unless sort_order says otherwise.
3167
+ *
3168
+ * @generated from message livekit.agent.AgentThread.GetItemsRequest
3128
3169
  */
3129
- declare class SessionClose extends Message<SessionClose> {
3130
- constructor(data?: PartialMessage<SessionClose>);
3170
+ declare class AgentThread_GetItemsRequest extends Message<AgentThread_GetItemsRequest> {
3171
+ /**
3172
+ * @generated from field: string thread_id = 1;
3173
+ */
3174
+ threadId: string;
3175
+
3176
+ /**
3177
+ * One agent's items; empty for every agent's.
3178
+ *
3179
+ * @generated from field: string agent = 2;
3180
+ */
3181
+ agent: string;
3182
+
3183
+ /**
3184
+ * next_page_token of the previous GetItemsResponse; empty for the first page.
3185
+ *
3186
+ * @generated from field: string page_token = 3;
3187
+ */
3188
+ pageToken: string;
3189
+
3190
+ /**
3191
+ * @generated from field: int32 limit = 4;
3192
+ */
3193
+ limit: number;
3194
+
3195
+ /**
3196
+ * Unset or ASC is oldest first. DESC starts from the latest item and each
3197
+ * next_page_token walks back through older ones.
3198
+ *
3199
+ * @generated from field: livekit.agent.AgentThread.SortOrder sort_order = 5;
3200
+ */
3201
+ sortOrder: AgentThread_SortOrder;
3202
+
3203
+ constructor(data?: PartialMessage<AgentThread_GetItemsRequest>);
3131
3204
 
3132
3205
  static readonly runtime: typeof proto3;
3133
- static readonly typeName = "livekit.agent.SessionClose";
3206
+ static readonly typeName = "livekit.agent.AgentThread.GetItemsRequest";
3134
3207
  static readonly fields: FieldList;
3135
3208
 
3136
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionClose;
3209
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentThread_GetItemsRequest;
3137
3210
 
3138
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionClose;
3211
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentThread_GetItemsRequest;
3139
3212
 
3140
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionClose;
3213
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentThread_GetItemsRequest;
3141
3214
 
3142
- static equals(a: SessionClose | PlainMessage<SessionClose> | undefined, b: SessionClose | PlainMessage<SessionClose> | undefined): boolean;
3215
+ static equals(a: AgentThread_GetItemsRequest | PlainMessage<AgentThread_GetItemsRequest> | undefined, b: AgentThread_GetItemsRequest | PlainMessage<AgentThread_GetItemsRequest> | undefined): boolean;
3143
3216
  }
3144
3217
 
3145
3218
  /**
3146
- * @generated from message livekit.agent.InferenceStart
3219
+ * @generated from message livekit.agent.AgentThread.GetItemsResponse
3147
3220
  */
3148
- declare class InferenceStart extends Message<InferenceStart> {
3221
+ declare class AgentThread_GetItemsResponse extends Message<AgentThread_GetItemsResponse> {
3149
3222
  /**
3150
- * @generated from field: string request_id = 1;
3223
+ * @generated from field: repeated livekit.agent.AgentThread.Item items = 1;
3151
3224
  */
3152
- requestId: string;
3225
+ items: AgentThread_Item[];
3153
3226
 
3154
- constructor(data?: PartialMessage<InferenceStart>);
3227
+ /**
3228
+ * Empty when exhausted.
3229
+ *
3230
+ * @generated from field: string next_page_token = 2;
3231
+ */
3232
+ nextPageToken: string;
3233
+
3234
+ constructor(data?: PartialMessage<AgentThread_GetItemsResponse>);
3155
3235
 
3156
3236
  static readonly runtime: typeof proto3;
3157
- static readonly typeName = "livekit.agent.InferenceStart";
3237
+ static readonly typeName = "livekit.agent.AgentThread.GetItemsResponse";
3158
3238
  static readonly fields: FieldList;
3159
3239
 
3160
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InferenceStart;
3240
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentThread_GetItemsResponse;
3161
3241
 
3162
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InferenceStart;
3242
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentThread_GetItemsResponse;
3163
3243
 
3164
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InferenceStart;
3244
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentThread_GetItemsResponse;
3165
3245
 
3166
- static equals(a: InferenceStart | PlainMessage<InferenceStart> | undefined, b: InferenceStart | PlainMessage<InferenceStart> | undefined): boolean;
3246
+ static equals(a: AgentThread_GetItemsResponse | PlainMessage<AgentThread_GetItemsResponse> | undefined, b: AgentThread_GetItemsResponse | PlainMessage<AgentThread_GetItemsResponse> | undefined): boolean;
3167
3247
  }
3168
3248
 
3169
3249
  /**
3170
- * @generated from message livekit.agent.InferenceStop
3250
+ * One chat item of an agent. Stored as the JSON of
3251
+ * ChatContext.ChatItem (items.payload in thread_schema_v1.sql).
3252
+ *
3253
+ * @generated from message livekit.agent.AgentThread.Item
3171
3254
  */
3172
- declare class InferenceStop extends Message<InferenceStop> {
3255
+ declare class AgentThread_Item extends Message<AgentThread_Item> {
3173
3256
  /**
3174
- * @generated from field: string request_id = 1;
3257
+ * @generated from field: string agent = 1;
3175
3258
  */
3176
- requestId: string;
3259
+ agent: string;
3177
3260
 
3178
- constructor(data?: PartialMessage<InferenceStop>);
3261
+ /**
3262
+ * Position in the agent's history.
3263
+ *
3264
+ * @generated from field: int64 seq = 2;
3265
+ */
3266
+ seq: bigint;
3267
+
3268
+ /**
3269
+ * The A2A message the item came from.
3270
+ *
3271
+ * @generated from field: string message_id = 3;
3272
+ */
3273
+ messageId: string;
3274
+
3275
+ /**
3276
+ * @generated from field: livekit.agent.ChatContext.ChatItem item = 4;
3277
+ */
3278
+ item?: ChatContext_ChatItem;
3279
+
3280
+ constructor(data?: PartialMessage<AgentThread_Item>);
3179
3281
 
3180
3282
  static readonly runtime: typeof proto3;
3181
- static readonly typeName = "livekit.agent.InferenceStop";
3283
+ static readonly typeName = "livekit.agent.AgentThread.Item";
3182
3284
  static readonly fields: FieldList;
3183
3285
 
3184
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InferenceStop;
3286
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentThread_Item;
3185
3287
 
3186
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InferenceStop;
3288
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentThread_Item;
3187
3289
 
3188
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InferenceStop;
3290
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentThread_Item;
3189
3291
 
3190
- static equals(a: InferenceStop | PlainMessage<InferenceStop> | undefined, b: InferenceStop | PlainMessage<InferenceStop> | undefined): boolean;
3292
+ static equals(a: AgentThread_Item | PlainMessage<AgentThread_Item> | undefined, b: AgentThread_Item | PlainMessage<AgentThread_Item> | undefined): boolean;
3191
3293
  }
3192
3294
 
3193
3295
  /**
3194
- * audio buffer sentinel messages
3296
+ * @generated from message livekit.agent.AgentThread.Thread
3297
+ */
3298
+ declare class AgentThread_Thread extends Message<AgentThread_Thread> {
3299
+ /**
3300
+ * @generated from field: string thread_id = 1;
3301
+ */
3302
+ threadId: string;
3303
+
3304
+ /**
3305
+ * @generated from field: string scope = 2;
3306
+ */
3307
+ scope: string;
3308
+
3309
+ /**
3310
+ * @generated from field: map<string, string> attributes = 3;
3311
+ */
3312
+ attributes: { [key: string]: string };
3313
+
3314
+ /**
3315
+ * @generated from field: google.protobuf.Timestamp created_at = 4;
3316
+ */
3317
+ createdAt?: Timestamp;
3318
+
3319
+ /**
3320
+ * @generated from field: google.protobuf.Timestamp last_active = 5;
3321
+ */
3322
+ lastActive?: Timestamp;
3323
+
3324
+ /**
3325
+ * last_active + idle_ttl; every update pushes it out. The thread and its
3326
+ * database are deleted once it passes.
3327
+ *
3328
+ * @generated from field: google.protobuf.Timestamp expires_at = 6;
3329
+ */
3330
+ expiresAt?: Timestamp;
3331
+
3332
+ /**
3333
+ * @generated from field: google.protobuf.Duration idle_ttl = 7;
3334
+ */
3335
+ idleTtl?: Duration;
3336
+
3337
+ /**
3338
+ * The thread's database ("DB_..."), created with the thread.
3339
+ *
3340
+ * @generated from field: string database_id = 8;
3341
+ */
3342
+ databaseId: string;
3343
+
3344
+ constructor(data?: PartialMessage<AgentThread_Thread>);
3345
+
3346
+ static readonly runtime: typeof proto3;
3347
+ static readonly typeName = "livekit.agent.AgentThread.Thread";
3348
+ static readonly fields: FieldList;
3349
+
3350
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentThread_Thread;
3351
+
3352
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentThread_Thread;
3353
+
3354
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentThread_Thread;
3355
+
3356
+ static equals(a: AgentThread_Thread | PlainMessage<AgentThread_Thread> | undefined, b: AgentThread_Thread | PlainMessage<AgentThread_Thread> | undefined): boolean;
3357
+ }
3358
+
3359
+ /**
3360
+ * AgentTask: background work an agent runs within a thread, such as a booking
3361
+ * that takes minutes.
3362
+ *
3363
+ * @generated from message livekit.agent.AgentTask
3364
+ */
3365
+ declare class AgentTask extends Message<AgentTask> {
3366
+ constructor(data?: PartialMessage<AgentTask>);
3367
+
3368
+ static readonly runtime: typeof proto3;
3369
+ static readonly typeName = "livekit.agent.AgentTask";
3370
+ static readonly fields: FieldList;
3371
+
3372
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentTask;
3373
+
3374
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentTask;
3375
+
3376
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentTask;
3377
+
3378
+ static equals(a: AgentTask | PlainMessage<AgentTask> | undefined, b: AgentTask | PlainMessage<AgentTask> | undefined): boolean;
3379
+ }
3380
+
3381
+ /**
3382
+ * A task is never UNSPECIFIED.
3383
+ *
3384
+ * @generated from enum livekit.agent.AgentTask.Status
3385
+ */
3386
+ declare enum AgentTask_Status {
3387
+ /**
3388
+ * @generated from enum value: UNSPECIFIED = 0;
3389
+ */
3390
+ UNSPECIFIED = 0,
3391
+
3392
+ /**
3393
+ * @generated from enum value: RUNNING = 1;
3394
+ */
3395
+ RUNNING = 1,
3396
+
3397
+ /**
3398
+ * @generated from enum value: COMPLETED = 2;
3399
+ */
3400
+ COMPLETED = 2,
3401
+
3402
+ /**
3403
+ * @generated from enum value: FAILED = 3;
3404
+ */
3405
+ FAILED = 3,
3406
+
3407
+ /**
3408
+ * @generated from enum value: CANCELED = 4;
3409
+ */
3410
+ CANCELED = 4,
3411
+ }
3412
+
3413
+ /**
3414
+ * A thread's tasks, oldest first.
3415
+ *
3416
+ * @generated from message livekit.agent.AgentTask.GetTasksRequest
3417
+ */
3418
+ declare class AgentTask_GetTasksRequest extends Message<AgentTask_GetTasksRequest> {
3419
+ /**
3420
+ * @generated from field: string thread_id = 1;
3421
+ */
3422
+ threadId: string;
3423
+
3424
+ /**
3425
+ * Unset for every status.
3426
+ *
3427
+ * @generated from field: optional livekit.agent.AgentTask.Status status = 2;
3428
+ */
3429
+ status?: AgentTask_Status;
3430
+
3431
+ /**
3432
+ * next_page_token of the previous GetTasksResponse; empty for the first page.
3433
+ *
3434
+ * @generated from field: string page_token = 3;
3435
+ */
3436
+ pageToken: string;
3437
+
3438
+ /**
3439
+ * @generated from field: int32 limit = 4;
3440
+ */
3441
+ limit: number;
3442
+
3443
+ constructor(data?: PartialMessage<AgentTask_GetTasksRequest>);
3444
+
3445
+ static readonly runtime: typeof proto3;
3446
+ static readonly typeName = "livekit.agent.AgentTask.GetTasksRequest";
3447
+ static readonly fields: FieldList;
3448
+
3449
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentTask_GetTasksRequest;
3450
+
3451
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentTask_GetTasksRequest;
3452
+
3453
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentTask_GetTasksRequest;
3454
+
3455
+ static equals(a: AgentTask_GetTasksRequest | PlainMessage<AgentTask_GetTasksRequest> | undefined, b: AgentTask_GetTasksRequest | PlainMessage<AgentTask_GetTasksRequest> | undefined): boolean;
3456
+ }
3457
+
3458
+ /**
3459
+ * @generated from message livekit.agent.AgentTask.GetTasksResponse
3460
+ */
3461
+ declare class AgentTask_GetTasksResponse extends Message<AgentTask_GetTasksResponse> {
3462
+ /**
3463
+ * @generated from field: repeated livekit.agent.AgentTask.Task tasks = 1;
3464
+ */
3465
+ tasks: AgentTask_Task[];
3466
+
3467
+ /**
3468
+ * Empty when exhausted.
3469
+ *
3470
+ * @generated from field: string next_page_token = 2;
3471
+ */
3472
+ nextPageToken: string;
3473
+
3474
+ constructor(data?: PartialMessage<AgentTask_GetTasksResponse>);
3475
+
3476
+ static readonly runtime: typeof proto3;
3477
+ static readonly typeName = "livekit.agent.AgentTask.GetTasksResponse";
3478
+ static readonly fields: FieldList;
3479
+
3480
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentTask_GetTasksResponse;
3481
+
3482
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentTask_GetTasksResponse;
3483
+
3484
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentTask_GetTasksResponse;
3485
+
3486
+ static equals(a: AgentTask_GetTasksResponse | PlainMessage<AgentTask_GetTasksResponse> | undefined, b: AgentTask_GetTasksResponse | PlainMessage<AgentTask_GetTasksResponse> | undefined): boolean;
3487
+ }
3488
+
3489
+ /**
3490
+ * @generated from message livekit.agent.AgentTask.Task
3491
+ */
3492
+ declare class AgentTask_Task extends Message<AgentTask_Task> {
3493
+ /**
3494
+ * @generated from field: string task_id = 1;
3495
+ */
3496
+ taskId: string;
3497
+
3498
+ /**
3499
+ * @generated from field: string thread_id = 2;
3500
+ */
3501
+ threadId: string;
3502
+
3503
+ /**
3504
+ * The task's name, as the agent defines it.
3505
+ *
3506
+ * @generated from field: string name = 3;
3507
+ */
3508
+ name: string;
3509
+
3510
+ /**
3511
+ * @generated from field: livekit.agent.AgentTask.Status status = 4;
3512
+ */
3513
+ status: AgentTask_Status;
3514
+
3515
+ /**
3516
+ * @generated from field: google.protobuf.Timestamp updated_at = 5;
3517
+ */
3518
+ updatedAt?: Timestamp;
3519
+
3520
+ constructor(data?: PartialMessage<AgentTask_Task>);
3521
+
3522
+ static readonly runtime: typeof proto3;
3523
+ static readonly typeName = "livekit.agent.AgentTask.Task";
3524
+ static readonly fields: FieldList;
3525
+
3526
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentTask_Task;
3527
+
3528
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentTask_Task;
3529
+
3530
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentTask_Task;
3531
+
3532
+ static equals(a: AgentTask_Task | PlainMessage<AgentTask_Task> | undefined, b: AgentTask_Task | PlainMessage<AgentTask_Task> | undefined): boolean;
3533
+ }
3534
+
3535
+ type livekit_agent_thread_pb_d_AgentTask = AgentTask;
3536
+ declare const livekit_agent_thread_pb_d_AgentTask: typeof AgentTask;
3537
+ type livekit_agent_thread_pb_d_AgentTask_GetTasksRequest = AgentTask_GetTasksRequest;
3538
+ declare const livekit_agent_thread_pb_d_AgentTask_GetTasksRequest: typeof AgentTask_GetTasksRequest;
3539
+ type livekit_agent_thread_pb_d_AgentTask_GetTasksResponse = AgentTask_GetTasksResponse;
3540
+ declare const livekit_agent_thread_pb_d_AgentTask_GetTasksResponse: typeof AgentTask_GetTasksResponse;
3541
+ type livekit_agent_thread_pb_d_AgentTask_Status = AgentTask_Status;
3542
+ declare const livekit_agent_thread_pb_d_AgentTask_Status: typeof AgentTask_Status;
3543
+ type livekit_agent_thread_pb_d_AgentTask_Task = AgentTask_Task;
3544
+ declare const livekit_agent_thread_pb_d_AgentTask_Task: typeof AgentTask_Task;
3545
+ type livekit_agent_thread_pb_d_AgentThread = AgentThread;
3546
+ declare const livekit_agent_thread_pb_d_AgentThread: typeof AgentThread;
3547
+ type livekit_agent_thread_pb_d_AgentThread_CreateRequest = AgentThread_CreateRequest;
3548
+ declare const livekit_agent_thread_pb_d_AgentThread_CreateRequest: typeof AgentThread_CreateRequest;
3549
+ type livekit_agent_thread_pb_d_AgentThread_DeleteRequest = AgentThread_DeleteRequest;
3550
+ declare const livekit_agent_thread_pb_d_AgentThread_DeleteRequest: typeof AgentThread_DeleteRequest;
3551
+ type livekit_agent_thread_pb_d_AgentThread_DeleteResponse = AgentThread_DeleteResponse;
3552
+ declare const livekit_agent_thread_pb_d_AgentThread_DeleteResponse: typeof AgentThread_DeleteResponse;
3553
+ type livekit_agent_thread_pb_d_AgentThread_GetItemsRequest = AgentThread_GetItemsRequest;
3554
+ declare const livekit_agent_thread_pb_d_AgentThread_GetItemsRequest: typeof AgentThread_GetItemsRequest;
3555
+ type livekit_agent_thread_pb_d_AgentThread_GetItemsResponse = AgentThread_GetItemsResponse;
3556
+ declare const livekit_agent_thread_pb_d_AgentThread_GetItemsResponse: typeof AgentThread_GetItemsResponse;
3557
+ type livekit_agent_thread_pb_d_AgentThread_GetRequest = AgentThread_GetRequest;
3558
+ declare const livekit_agent_thread_pb_d_AgentThread_GetRequest: typeof AgentThread_GetRequest;
3559
+ type livekit_agent_thread_pb_d_AgentThread_Item = AgentThread_Item;
3560
+ declare const livekit_agent_thread_pb_d_AgentThread_Item: typeof AgentThread_Item;
3561
+ type livekit_agent_thread_pb_d_AgentThread_ListRequest = AgentThread_ListRequest;
3562
+ declare const livekit_agent_thread_pb_d_AgentThread_ListRequest: typeof AgentThread_ListRequest;
3563
+ type livekit_agent_thread_pb_d_AgentThread_ListResponse = AgentThread_ListResponse;
3564
+ declare const livekit_agent_thread_pb_d_AgentThread_ListResponse: typeof AgentThread_ListResponse;
3565
+ type livekit_agent_thread_pb_d_AgentThread_SortOrder = AgentThread_SortOrder;
3566
+ declare const livekit_agent_thread_pb_d_AgentThread_SortOrder: typeof AgentThread_SortOrder;
3567
+ type livekit_agent_thread_pb_d_AgentThread_Thread = AgentThread_Thread;
3568
+ declare const livekit_agent_thread_pb_d_AgentThread_Thread: typeof AgentThread_Thread;
3569
+ type livekit_agent_thread_pb_d_AgentThread_UpdateRequest = AgentThread_UpdateRequest;
3570
+ declare const livekit_agent_thread_pb_d_AgentThread_UpdateRequest: typeof AgentThread_UpdateRequest;
3571
+ declare namespace livekit_agent_thread_pb_d {
3572
+ export {
3573
+ livekit_agent_thread_pb_d_AgentTask as AgentTask,
3574
+ livekit_agent_thread_pb_d_AgentTask_GetTasksRequest as AgentTask_GetTasksRequest,
3575
+ livekit_agent_thread_pb_d_AgentTask_GetTasksResponse as AgentTask_GetTasksResponse,
3576
+ livekit_agent_thread_pb_d_AgentTask_Status as AgentTask_Status,
3577
+ livekit_agent_thread_pb_d_AgentTask_Task as AgentTask_Task,
3578
+ livekit_agent_thread_pb_d_AgentThread as AgentThread,
3579
+ livekit_agent_thread_pb_d_AgentThread_CreateRequest as AgentThread_CreateRequest,
3580
+ livekit_agent_thread_pb_d_AgentThread_DeleteRequest as AgentThread_DeleteRequest,
3581
+ livekit_agent_thread_pb_d_AgentThread_DeleteResponse as AgentThread_DeleteResponse,
3582
+ livekit_agent_thread_pb_d_AgentThread_GetItemsRequest as AgentThread_GetItemsRequest,
3583
+ livekit_agent_thread_pb_d_AgentThread_GetItemsResponse as AgentThread_GetItemsResponse,
3584
+ livekit_agent_thread_pb_d_AgentThread_GetRequest as AgentThread_GetRequest,
3585
+ livekit_agent_thread_pb_d_AgentThread_Item as AgentThread_Item,
3586
+ livekit_agent_thread_pb_d_AgentThread_ListRequest as AgentThread_ListRequest,
3587
+ livekit_agent_thread_pb_d_AgentThread_ListResponse as AgentThread_ListResponse,
3588
+ livekit_agent_thread_pb_d_AgentThread_SortOrder as AgentThread_SortOrder,
3589
+ livekit_agent_thread_pb_d_AgentThread_Thread as AgentThread_Thread,
3590
+ livekit_agent_thread_pb_d_AgentThread_UpdateRequest as AgentThread_UpdateRequest,
3591
+ };
3592
+ }
3593
+
3594
+ // Copyright 2026 LiveKit, Inc.
3595
+ //
3596
+ // Licensed under the Apache License, Version 2.0 (the "License");
3597
+ // you may not use this file except in compliance with the License.
3598
+ // You may obtain a copy of the License at
3599
+ //
3600
+ // http://www.apache.org/licenses/LICENSE-2.0
3601
+ //
3602
+ // Unless required by applicable law or agreed to in writing, software
3603
+ // distributed under the License is distributed on an "AS IS" BASIS,
3604
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3605
+ // See the License for the specific language governing permissions and
3606
+ // limitations under the License.
3607
+
3608
+
3609
+
3610
+ /**
3611
+ * @generated from enum livekit.agent.AudioEncoding
3612
+ */
3613
+ declare enum AudioEncoding {
3614
+ /**
3615
+ * @generated from enum value: AUDIO_ENCODING_PCM_S16LE = 0;
3616
+ */
3617
+ PCM_S16LE = 0,
3618
+
3619
+ /**
3620
+ * @generated from enum value: AUDIO_ENCODING_OPUS = 1;
3621
+ */
3622
+ OPUS = 1,
3623
+ }
3624
+
3625
+ /**
3626
+ * @generated from message livekit.agent.SessionSettings
3627
+ */
3628
+ declare class SessionSettings extends Message<SessionSettings> {
3629
+ /**
3630
+ * @generated from field: uint32 sample_rate = 1;
3631
+ */
3632
+ sampleRate: number;
3633
+
3634
+ /**
3635
+ * @generated from field: livekit.agent.AudioEncoding encoding = 2;
3636
+ */
3637
+ encoding: AudioEncoding;
3638
+
3639
+ /**
3640
+ * @generated from oneof livekit.agent.SessionSettings.type_settings
3641
+ */
3642
+ typeSettings: {
3643
+ /**
3644
+ * @generated from field: livekit.agent.EotSettings eot_settings = 3;
3645
+ */
3646
+ value: EotSettings;
3647
+ case: "eotSettings";
3648
+ } | {
3649
+ /**
3650
+ * @generated from field: livekit.agent.InterruptionSettings interruption_settings = 4;
3651
+ */
3652
+ value: InterruptionSettings;
3653
+ case: "interruptionSettings";
3654
+ } | { case: undefined; value?: undefined };
3655
+
3656
+ constructor(data?: PartialMessage<SessionSettings>);
3657
+
3658
+ static readonly runtime: typeof proto3;
3659
+ static readonly typeName = "livekit.agent.SessionSettings";
3660
+ static readonly fields: FieldList;
3661
+
3662
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionSettings;
3663
+
3664
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionSettings;
3665
+
3666
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionSettings;
3667
+
3668
+ static equals(a: SessionSettings | PlainMessage<SessionSettings> | undefined, b: SessionSettings | PlainMessage<SessionSettings> | undefined): boolean;
3669
+ }
3670
+
3671
+ /**
3672
+ * @generated from message livekit.agent.InferenceError
3673
+ */
3674
+ declare class InferenceError extends Message<InferenceError> {
3675
+ /**
3676
+ * @generated from field: string message = 1;
3677
+ */
3678
+ message: string;
3679
+
3680
+ /**
3681
+ * error code follows the HTTP status code convention
3682
+ * 4xx for client errors
3683
+ * 5xx for server errors
3684
+ *
3685
+ * @generated from field: uint32 code = 2;
3686
+ */
3687
+ code: number;
3688
+
3689
+ constructor(data?: PartialMessage<InferenceError>);
3690
+
3691
+ static readonly runtime: typeof proto3;
3692
+ static readonly typeName = "livekit.agent.InferenceError";
3693
+ static readonly fields: FieldList;
3694
+
3695
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InferenceError;
3696
+
3697
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InferenceError;
3698
+
3699
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InferenceError;
3700
+
3701
+ static equals(a: InferenceError | PlainMessage<InferenceError> | undefined, b: InferenceError | PlainMessage<InferenceError> | undefined): boolean;
3702
+ }
3703
+
3704
+ /**
3705
+ * @generated from message livekit.agent.EotSettings
3706
+ */
3707
+ declare class EotSettings extends Message<EotSettings> {
3708
+ /**
3709
+ * @generated from field: google.protobuf.Duration detection_interval = 1;
3710
+ */
3711
+ detectionInterval?: Duration;
3712
+
3713
+ constructor(data?: PartialMessage<EotSettings>);
3714
+
3715
+ static readonly runtime: typeof proto3;
3716
+ static readonly typeName = "livekit.agent.EotSettings";
3717
+ static readonly fields: FieldList;
3718
+
3719
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EotSettings;
3720
+
3721
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EotSettings;
3722
+
3723
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EotSettings;
3724
+
3725
+ static equals(a: EotSettings | PlainMessage<EotSettings> | undefined, b: EotSettings | PlainMessage<EotSettings> | undefined): boolean;
3726
+ }
3727
+
3728
+ /**
3729
+ * @generated from message livekit.agent.InterruptionSettings
3730
+ */
3731
+ declare class InterruptionSettings extends Message<InterruptionSettings> {
3732
+ /**
3733
+ * detection threshold in range [0.0, 1.0]; higher values are less sensitive
3734
+ *
3735
+ * @generated from field: float threshold = 1;
3736
+ */
3737
+ threshold: number;
3738
+
3739
+ /**
3740
+ * minimum number of frames with probability greater than threshold to trigger an interruption
3741
+ *
3742
+ * @generated from field: uint32 min_frames = 2;
3743
+ */
3744
+ minFrames: number;
3745
+
3746
+ /**
3747
+ * @generated from field: google.protobuf.Duration max_audio_duration = 3;
3748
+ */
3749
+ maxAudioDuration?: Duration;
3750
+
3751
+ /**
3752
+ * @generated from field: google.protobuf.Duration audio_prefix_duration = 4;
3753
+ */
3754
+ audioPrefixDuration?: Duration;
3755
+
3756
+ /**
3757
+ * @generated from field: google.protobuf.Duration detection_interval = 5;
3758
+ */
3759
+ detectionInterval?: Duration;
3760
+
3761
+ constructor(data?: PartialMessage<InterruptionSettings>);
3762
+
3763
+ static readonly runtime: typeof proto3;
3764
+ static readonly typeName = "livekit.agent.InterruptionSettings";
3765
+ static readonly fields: FieldList;
3766
+
3767
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InterruptionSettings;
3768
+
3769
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InterruptionSettings;
3770
+
3771
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InterruptionSettings;
3772
+
3773
+ static equals(a: InterruptionSettings | PlainMessage<InterruptionSettings> | undefined, b: InterruptionSettings | PlainMessage<InterruptionSettings> | undefined): boolean;
3774
+ }
3775
+
3776
+ /**
3777
+ * @generated from message livekit.agent.SessionCreate
3778
+ */
3779
+ declare class SessionCreate extends Message<SessionCreate> {
3780
+ /**
3781
+ * @generated from field: livekit.agent.SessionSettings settings = 1;
3782
+ */
3783
+ settings?: SessionSettings;
3784
+
3785
+ constructor(data?: PartialMessage<SessionCreate>);
3786
+
3787
+ static readonly runtime: typeof proto3;
3788
+ static readonly typeName = "livekit.agent.SessionCreate";
3789
+ static readonly fields: FieldList;
3790
+
3791
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionCreate;
3792
+
3793
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionCreate;
3794
+
3795
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionCreate;
3796
+
3797
+ static equals(a: SessionCreate | PlainMessage<SessionCreate> | undefined, b: SessionCreate | PlainMessage<SessionCreate> | undefined): boolean;
3798
+ }
3799
+
3800
+ /**
3801
+ * @generated from message livekit.agent.InputAudio
3802
+ */
3803
+ declare class InputAudio extends Message<InputAudio> {
3804
+ /**
3805
+ * @generated from field: bytes audio = 1;
3806
+ */
3807
+ audio: Uint8Array;
3808
+
3809
+ /**
3810
+ * @generated from field: google.protobuf.Timestamp created_at = 2;
3811
+ */
3812
+ createdAt?: Timestamp;
3813
+
3814
+ /**
3815
+ * @generated from field: uint32 num_samples = 3;
3816
+ */
3817
+ numSamples: number;
3818
+
3819
+ constructor(data?: PartialMessage<InputAudio>);
3820
+
3821
+ static readonly runtime: typeof proto3;
3822
+ static readonly typeName = "livekit.agent.InputAudio";
3823
+ static readonly fields: FieldList;
3824
+
3825
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InputAudio;
3826
+
3827
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InputAudio;
3828
+
3829
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InputAudio;
3830
+
3831
+ static equals(a: InputAudio | PlainMessage<InputAudio> | undefined, b: InputAudio | PlainMessage<InputAudio> | undefined): boolean;
3832
+ }
3833
+
3834
+ /**
3835
+ * @generated from message livekit.agent.EotInputChatContext
3836
+ */
3837
+ declare class EotInputChatContext extends Message<EotInputChatContext> {
3838
+ /**
3839
+ * @generated from field: repeated livekit.agent.ChatMessage messages = 1;
3840
+ */
3841
+ messages: ChatMessage$1[];
3842
+
3843
+ constructor(data?: PartialMessage<EotInputChatContext>);
3844
+
3845
+ static readonly runtime: typeof proto3;
3846
+ static readonly typeName = "livekit.agent.EotInputChatContext";
3847
+ static readonly fields: FieldList;
3848
+
3849
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EotInputChatContext;
3850
+
3851
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EotInputChatContext;
3852
+
3853
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EotInputChatContext;
3854
+
3855
+ static equals(a: EotInputChatContext | PlainMessage<EotInputChatContext> | undefined, b: EotInputChatContext | PlainMessage<EotInputChatContext> | undefined): boolean;
3856
+ }
3857
+
3858
+ /**
3859
+ * @generated from message livekit.agent.SessionFlush
3860
+ */
3861
+ declare class SessionFlush extends Message<SessionFlush> {
3862
+ constructor(data?: PartialMessage<SessionFlush>);
3863
+
3864
+ static readonly runtime: typeof proto3;
3865
+ static readonly typeName = "livekit.agent.SessionFlush";
3866
+ static readonly fields: FieldList;
3867
+
3868
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionFlush;
3869
+
3870
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionFlush;
3871
+
3872
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionFlush;
3873
+
3874
+ static equals(a: SessionFlush | PlainMessage<SessionFlush> | undefined, b: SessionFlush | PlainMessage<SessionFlush> | undefined): boolean;
3875
+ }
3876
+
3877
+ /**
3878
+ * @generated from message livekit.agent.SessionClose
3879
+ */
3880
+ declare class SessionClose extends Message<SessionClose> {
3881
+ constructor(data?: PartialMessage<SessionClose>);
3882
+
3883
+ static readonly runtime: typeof proto3;
3884
+ static readonly typeName = "livekit.agent.SessionClose";
3885
+ static readonly fields: FieldList;
3886
+
3887
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionClose;
3888
+
3889
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionClose;
3890
+
3891
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionClose;
3892
+
3893
+ static equals(a: SessionClose | PlainMessage<SessionClose> | undefined, b: SessionClose | PlainMessage<SessionClose> | undefined): boolean;
3894
+ }
3895
+
3896
+ /**
3897
+ * @generated from message livekit.agent.InferenceStart
3898
+ */
3899
+ declare class InferenceStart extends Message<InferenceStart> {
3900
+ /**
3901
+ * @generated from field: string request_id = 1;
3902
+ */
3903
+ requestId: string;
3904
+
3905
+ constructor(data?: PartialMessage<InferenceStart>);
3906
+
3907
+ static readonly runtime: typeof proto3;
3908
+ static readonly typeName = "livekit.agent.InferenceStart";
3909
+ static readonly fields: FieldList;
3910
+
3911
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InferenceStart;
3912
+
3913
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InferenceStart;
3914
+
3915
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InferenceStart;
3916
+
3917
+ static equals(a: InferenceStart | PlainMessage<InferenceStart> | undefined, b: InferenceStart | PlainMessage<InferenceStart> | undefined): boolean;
3918
+ }
3919
+
3920
+ /**
3921
+ * @generated from message livekit.agent.InferenceStop
3922
+ */
3923
+ declare class InferenceStop extends Message<InferenceStop> {
3924
+ /**
3925
+ * @generated from field: string request_id = 1;
3926
+ */
3927
+ requestId: string;
3928
+
3929
+ constructor(data?: PartialMessage<InferenceStop>);
3930
+
3931
+ static readonly runtime: typeof proto3;
3932
+ static readonly typeName = "livekit.agent.InferenceStop";
3933
+ static readonly fields: FieldList;
3934
+
3935
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InferenceStop;
3936
+
3937
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InferenceStop;
3938
+
3939
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InferenceStop;
3940
+
3941
+ static equals(a: InferenceStop | PlainMessage<InferenceStop> | undefined, b: InferenceStop | PlainMessage<InferenceStop> | undefined): boolean;
3942
+ }
3943
+
3944
+ /**
3945
+ * audio buffer sentinel messages
3195
3946
  *
3196
3947
  * @generated from message livekit.agent.BufferStart
3197
3948
  */
@@ -4886,6 +5637,15 @@ declare class MetricsRecordingHeader extends Message<MetricsRecordingHeader> {
4886
5637
  */
4887
5638
  redactionEnabled: boolean;
4888
5639
 
5640
+ /**
5641
+ * JSON object of session facts for agent evals, at most 16 KiB. Its schema is
5642
+ * evalschema/session-summary.schema.json in livekit/cloud-protocol. The collector
5643
+ * stores it without reading individual keys.
5644
+ *
5645
+ * @generated from field: string session_summary = 11;
5646
+ */
5647
+ sessionSummary: string;
5648
+
4889
5649
  constructor(data?: PartialMessage<MetricsRecordingHeader>);
4890
5650
 
4891
5651
  static readonly runtime: typeof proto3;
@@ -5076,9 +5836,19 @@ declare enum DataTrackExtensionID {
5076
5836
  DTEI_INVALID = 0,
5077
5837
 
5078
5838
  /**
5079
- * @generated from enum value: DTEI_PARTICIPANT_SID = 1;
5839
+ * @generated from enum value: DTEI_E2EE = 1;
5840
+ */
5841
+ DTEI_E2EE = 1,
5842
+
5843
+ /**
5844
+ * @generated from enum value: DTEI_USER_TIMESTAMP = 2;
5845
+ */
5846
+ DTEI_USER_TIMESTAMP = 2,
5847
+
5848
+ /**
5849
+ * @generated from enum value: DTEI_PARTICIPANT_SID = 255;
5080
5850
  */
5081
- DTEI_PARTICIPANT_SID = 1,
5851
+ DTEI_PARTICIPANT_SID = 255,
5082
5852
  }
5083
5853
 
5084
5854
  /**
@@ -8406,6 +9176,11 @@ declare class RTPForwarderState extends Message<RTPForwarderState> {
8406
9176
  */
8407
9177
  senderReportState: RTCPSenderReportState[];
8408
9178
 
9179
+ /**
9180
+ * @generated from field: livekit.DependencyDescriptorForwarderState dependency_descriptor_forwarder = 9;
9181
+ */
9182
+ dependencyDescriptorForwarder?: DependencyDescriptorForwarderState;
9183
+
8409
9184
  constructor(data?: PartialMessage<RTPForwarderState>);
8410
9185
 
8411
9186
  static readonly runtime: typeof proto3;
@@ -8421,6 +9196,35 @@ declare class RTPForwarderState extends Message<RTPForwarderState> {
8421
9196
  static equals(a: RTPForwarderState | PlainMessage<RTPForwarderState> | undefined, b: RTPForwarderState | PlainMessage<RTPForwarderState> | undefined): boolean;
8422
9197
  }
8423
9198
 
9199
+ /**
9200
+ * State of a forwarder that writes the dependency descriptor for the subscriber, so
9201
+ * its frame numbers continue on a migrated subscriber.
9202
+ *
9203
+ * @generated from message livekit.DependencyDescriptorForwarderState
9204
+ */
9205
+ declare class DependencyDescriptorForwarderState extends Message<DependencyDescriptorForwarderState> {
9206
+ /**
9207
+ * highest extended frame number sent to the subscriber
9208
+ *
9209
+ * @generated from field: uint64 ext_last_frame_number = 1;
9210
+ */
9211
+ extLastFrameNumber: bigint;
9212
+
9213
+ constructor(data?: PartialMessage<DependencyDescriptorForwarderState>);
9214
+
9215
+ static readonly runtime: typeof proto3;
9216
+ static readonly typeName = "livekit.DependencyDescriptorForwarderState";
9217
+ static readonly fields: FieldList;
9218
+
9219
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DependencyDescriptorForwarderState;
9220
+
9221
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DependencyDescriptorForwarderState;
9222
+
9223
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DependencyDescriptorForwarderState;
9224
+
9225
+ static equals(a: DependencyDescriptorForwarderState | PlainMessage<DependencyDescriptorForwarderState> | undefined, b: DependencyDescriptorForwarderState | PlainMessage<DependencyDescriptorForwarderState> | undefined): boolean;
9226
+ }
9227
+
8424
9228
  /**
8425
9229
  * @generated from message livekit.RTPMungerState
8426
9230
  */
@@ -9060,6 +9864,51 @@ declare enum JobStatus {
9060
9864
  * @generated from enum value: JS_FAILED = 3;
9061
9865
  */
9062
9866
  JS_FAILED = 3,
9867
+
9868
+ /**
9869
+ * the job ended before it was assigned to an agent
9870
+ *
9871
+ * @generated from enum value: JS_CANCELLED = 4;
9872
+ */
9873
+ JS_CANCELLED = 4,
9874
+ }
9875
+
9876
+ /**
9877
+ * @generated from enum livekit.JobStateReason
9878
+ */
9879
+ declare enum JobStateReason {
9880
+ /**
9881
+ * @generated from enum value: JSR_UNSPECIFIED = 0;
9882
+ */
9883
+ JSR_UNSPECIFIED = 0,
9884
+
9885
+ /**
9886
+ * no agent was available to accept the job
9887
+ *
9888
+ * @generated from enum value: JSR_NO_CAPACITY = 1;
9889
+ */
9890
+ JSR_NO_CAPACITY = 1,
9891
+
9892
+ /**
9893
+ * the room closed before an agent was assigned
9894
+ *
9895
+ * @generated from enum value: JSR_ROOM_CLOSED = 2;
9896
+ */
9897
+ JSR_ROOM_CLOSED = 2,
9898
+
9899
+ /**
9900
+ * the dispatch was deleted before an agent was assigned
9901
+ *
9902
+ * @generated from enum value: JSR_DISPATCH_DELETED = 3;
9903
+ */
9904
+ JSR_DISPATCH_DELETED = 3,
9905
+
9906
+ /**
9907
+ * the job failed and is being dispatched again
9908
+ *
9909
+ * @generated from enum value: JSR_RETRYING = 4;
9910
+ */
9911
+ JSR_RETRYING = 4,
9063
9912
  }
9064
9913
 
9065
9914
  /**
@@ -9191,6 +10040,13 @@ declare class JobState extends Message<JobState> {
9191
10040
  */
9192
10041
  agentId: string;
9193
10042
 
10043
+ /**
10044
+ * why the job has no agent, for JS_PENDING and JS_CANCELLED jobs
10045
+ *
10046
+ * @generated from field: livekit.JobStateReason reason = 9;
10047
+ */
10048
+ reason: JobStateReason;
10049
+
9194
10050
  constructor(data?: PartialMessage<JobState>);
9195
10051
 
9196
10052
  static readonly runtime: typeof proto3;
@@ -9323,8 +10179,17 @@ declare class ServerMessage extends Message<ServerMessage> {
9323
10179
  /**
9324
10180
  * @generated from field: livekit.WorkerPong pong = 4;
9325
10181
  */
9326
- value: WorkerPong;
9327
- case: "pong";
10182
+ value: WorkerPong;
10183
+ case: "pong";
10184
+ } | {
10185
+ /**
10186
+ * the server is draining this control connection: re-register elsewhere,
10187
+ * in-flight agent HTTP streams run to completion
10188
+ *
10189
+ * @generated from field: livekit.AgentHttp.GoAway go_away = 6;
10190
+ */
10191
+ value: AgentHttp_GoAway;
10192
+ case: "goAway";
9328
10193
  } | { case: undefined; value?: undefined };
9329
10194
 
9330
10195
  constructor(data?: PartialMessage<ServerMessage>);
@@ -9444,15 +10309,11 @@ declare class RegisterWorkerRequest extends Message<RegisterWorkerRequest> {
9444
10309
  agentName: string;
9445
10310
 
9446
10311
  /**
9447
- * string worker_id = 2;
9448
- *
9449
10312
  * @generated from field: string version = 3;
9450
10313
  */
9451
10314
  version: string;
9452
10315
 
9453
10316
  /**
9454
- * string name = 4 [deprecated = true];
9455
- *
9456
10317
  * @generated from field: uint32 ping_interval = 5;
9457
10318
  */
9458
10319
  pingInterval: number;
@@ -9472,6 +10333,29 @@ declare class RegisterWorkerRequest extends Message<RegisterWorkerRequest> {
9472
10333
  */
9473
10334
  deployment: string;
9474
10335
 
10336
+ /**
10337
+ * HTTP endpoints this worker serves through the data plane, in route order.
10338
+ * Empty means the worker exposes no endpoints and needs no data connections.
10339
+ *
10340
+ * @generated from field: repeated livekit.AgentHttp.AgentEndpoint endpoints = 10;
10341
+ */
10342
+ endpoints: AgentHttp_AgentEndpoint[];
10343
+
10344
+ /**
10345
+ * random per process; a re-registration with a new instance_id supersedes the
10346
+ * previous epoch and closes its remaining connections
10347
+ *
10348
+ * @generated from field: string instance_id = 11;
10349
+ */
10350
+ instanceId: string;
10351
+
10352
+ /**
10353
+ * highest data-plane protocol version the worker supports; 0 = unsupported
10354
+ *
10355
+ * @generated from field: uint32 endpoint_protocol = 12;
10356
+ */
10357
+ endpointProtocol: number;
10358
+
9475
10359
  constructor(data?: PartialMessage<RegisterWorkerRequest>);
9476
10360
 
9477
10361
  static readonly runtime: typeof proto3;
@@ -9501,6 +10385,13 @@ declare class RegisterWorkerResponse extends Message<RegisterWorkerResponse> {
9501
10385
  */
9502
10386
  serverInfo?: ServerInfo;
9503
10387
 
10388
+ /**
10389
+ * present iff the registration carried endpoints and the server supports the data plane
10390
+ *
10391
+ * @generated from field: livekit.AgentHttp.AgentEndpointSettings endpoint_settings = 4;
10392
+ */
10393
+ endpointSettings?: AgentHttp_AgentEndpointSettings;
10394
+
9504
10395
  constructor(data?: PartialMessage<RegisterWorkerResponse>);
9505
10396
 
9506
10397
  static readonly runtime: typeof proto3;
@@ -9527,6 +10418,14 @@ declare class MigrateJobRequest extends Message<MigrateJobRequest> {
9527
10418
  */
9528
10419
  jobIds: string[];
9529
10420
 
10421
+ /**
10422
+ * the jobs in job_ids as they were assigned, with state.participant_identity
10423
+ * set to the identity the worker accepted them with
10424
+ *
10425
+ * @generated from field: repeated livekit.Job jobs = 3;
10426
+ */
10427
+ jobs: Job[];
10428
+
9530
10429
  constructor(data?: PartialMessage<MigrateJobRequest>);
9531
10430
 
9532
10431
  static readonly runtime: typeof proto3;
@@ -9609,162 +10508,487 @@ declare class AvailabilityResponse extends Message<AvailabilityResponse> {
9609
10508
  participantIdentity: string;
9610
10509
 
9611
10510
  /**
9612
- * @generated from field: string participant_metadata = 6;
10511
+ * @generated from field: string participant_metadata = 6;
10512
+ */
10513
+ participantMetadata: string;
10514
+
10515
+ /**
10516
+ * NEXT_ID: 9
10517
+ *
10518
+ * @generated from field: map<string, string> participant_attributes = 7;
10519
+ */
10520
+ participantAttributes: { [key: string]: string };
10521
+
10522
+ constructor(data?: PartialMessage<AvailabilityResponse>);
10523
+
10524
+ static readonly runtime: typeof proto3;
10525
+ static readonly typeName = "livekit.AvailabilityResponse";
10526
+ static readonly fields: FieldList;
10527
+
10528
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AvailabilityResponse;
10529
+
10530
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AvailabilityResponse;
10531
+
10532
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AvailabilityResponse;
10533
+
10534
+ static equals(a: AvailabilityResponse | PlainMessage<AvailabilityResponse> | undefined, b: AvailabilityResponse | PlainMessage<AvailabilityResponse> | undefined): boolean;
10535
+ }
10536
+
10537
+ /**
10538
+ * @generated from message livekit.UpdateJobStatus
10539
+ */
10540
+ declare class UpdateJobStatus extends Message<UpdateJobStatus> {
10541
+ /**
10542
+ * @generated from field: string job_id = 1;
10543
+ */
10544
+ jobId: string;
10545
+
10546
+ /**
10547
+ * The worker can indicate the job end by either specifying SUCCESS or FAILED
10548
+ *
10549
+ * @generated from field: livekit.JobStatus status = 2;
10550
+ */
10551
+ status: JobStatus;
10552
+
10553
+ /**
10554
+ * metadata shown on the dashboard, useful for debugging
10555
+ *
10556
+ * @generated from field: string error = 3;
10557
+ */
10558
+ error: string;
10559
+
10560
+ constructor(data?: PartialMessage<UpdateJobStatus>);
10561
+
10562
+ static readonly runtime: typeof proto3;
10563
+ static readonly typeName = "livekit.UpdateJobStatus";
10564
+ static readonly fields: FieldList;
10565
+
10566
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateJobStatus;
10567
+
10568
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateJobStatus;
10569
+
10570
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateJobStatus;
10571
+
10572
+ static equals(a: UpdateJobStatus | PlainMessage<UpdateJobStatus> | undefined, b: UpdateJobStatus | PlainMessage<UpdateJobStatus> | undefined): boolean;
10573
+ }
10574
+
10575
+ /**
10576
+ * @generated from message livekit.UpdateWorkerStatus
10577
+ */
10578
+ declare class UpdateWorkerStatus extends Message<UpdateWorkerStatus> {
10579
+ /**
10580
+ * @generated from field: optional livekit.WorkerStatus status = 1;
10581
+ */
10582
+ status?: WorkerStatus;
10583
+
10584
+ /**
10585
+ * @generated from field: float load = 3;
10586
+ */
10587
+ load: number;
10588
+
10589
+ /**
10590
+ * @generated from field: uint32 job_count = 4;
10591
+ */
10592
+ jobCount: number;
10593
+
10594
+ /**
10595
+ * worker wants no new streams; existing streams run to completion
10596
+ *
10597
+ * @generated from field: bool draining = 5;
10598
+ */
10599
+ draining: boolean;
10600
+
10601
+ /**
10602
+ * monotonic per registration; status updates may interleave across connections
10603
+ * and a stale report must not regress newer state
10604
+ *
10605
+ * @generated from field: uint64 seq = 6;
10606
+ */
10607
+ seq: bigint;
10608
+
10609
+ constructor(data?: PartialMessage<UpdateWorkerStatus>);
10610
+
10611
+ static readonly runtime: typeof proto3;
10612
+ static readonly typeName = "livekit.UpdateWorkerStatus";
10613
+ static readonly fields: FieldList;
10614
+
10615
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateWorkerStatus;
10616
+
10617
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateWorkerStatus;
10618
+
10619
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateWorkerStatus;
10620
+
10621
+ static equals(a: UpdateWorkerStatus | PlainMessage<UpdateWorkerStatus> | undefined, b: UpdateWorkerStatus | PlainMessage<UpdateWorkerStatus> | undefined): boolean;
10622
+ }
10623
+
10624
+ /**
10625
+ * @generated from message livekit.JobAssignment
10626
+ */
10627
+ declare class JobAssignment extends Message<JobAssignment> {
10628
+ /**
10629
+ * @generated from field: livekit.Job job = 1;
10630
+ */
10631
+ job?: Job;
10632
+
10633
+ /**
10634
+ * @generated from field: optional string url = 2;
10635
+ */
10636
+ url?: string;
10637
+
10638
+ /**
10639
+ * @generated from field: string token = 3;
10640
+ */
10641
+ token: string;
10642
+
10643
+ constructor(data?: PartialMessage<JobAssignment>);
10644
+
10645
+ static readonly runtime: typeof proto3;
10646
+ static readonly typeName = "livekit.JobAssignment";
10647
+ static readonly fields: FieldList;
10648
+
10649
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobAssignment;
10650
+
10651
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobAssignment;
10652
+
10653
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobAssignment;
10654
+
10655
+ static equals(a: JobAssignment | PlainMessage<JobAssignment> | undefined, b: JobAssignment | PlainMessage<JobAssignment> | undefined): boolean;
10656
+ }
10657
+
10658
+ /**
10659
+ * @generated from message livekit.JobTermination
10660
+ */
10661
+ declare class JobTermination extends Message<JobTermination> {
10662
+ /**
10663
+ * @generated from field: string job_id = 1;
10664
+ */
10665
+ jobId: string;
10666
+
10667
+ constructor(data?: PartialMessage<JobTermination>);
10668
+
10669
+ static readonly runtime: typeof proto3;
10670
+ static readonly typeName = "livekit.JobTermination";
10671
+ static readonly fields: FieldList;
10672
+
10673
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobTermination;
10674
+
10675
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobTermination;
10676
+
10677
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobTermination;
10678
+
10679
+ static equals(a: JobTermination | PlainMessage<JobTermination> | undefined, b: JobTermination | PlainMessage<JobTermination> | undefined): boolean;
10680
+ }
10681
+
10682
+ /**
10683
+ * ----- agent HTTP endpoints data plane -----
10684
+ *
10685
+ * AgentHttp namespaces the data plane: workers expose HTTP endpoints served at
10686
+ * /agents/{agent_name}/{deployment}/{path} without binding any local listener.
10687
+ * The worker opens ONE WebTransport (QUIC) session to /agent that carries both
10688
+ * its control stream (the same WorkerMessage/ServerMessage exchange as the
10689
+ * WebSocket control connection, length-delimited) and every HTTP exchange: the
10690
+ * node opens one bidirectional QUIC stream per request. QUIC provides the
10691
+ * multiplexing and per-stream flow control, so there is no credit accounting
10692
+ * and no attach handshake.
10693
+ *
10694
+ * Each exchange stream is:
10695
+ *
10696
+ * [len:u32be][StreamPreamble] the only LiveKit framing
10697
+ * [ ... opaque bytes ... ] one HTTP/1.1 exchange, to FIN or RESET_STREAM
10698
+ *
10699
+ * After the preamble the stream is byte-transparent: the node writes a
10700
+ * canonical HTTP/1.1 request and the worker replies with an HTTP/1.1 response,
10701
+ * each parsed by whatever HTTP implementation the side already has. A WebSocket
10702
+ * upgrade is therefore an ordinary request whose response is a 101, after which
10703
+ * the stream is a byte pipe. The protocol evolves by version negotiation at
10704
+ * registration, so the preamble carries no version of its own.
10705
+ *
10706
+ * Bodies use ordinary HTTP/1.1 framing, Content-Length or chunked, and are
10707
+ * unbounded: a body may be many gigabytes and must be streamed. Request and
10708
+ * response size limits are policy for the layer above.
10709
+ *
10710
+ * How one direction ends:
10711
+ *
10712
+ * success end of message per the body's own framing, then FIN.
10713
+ * failed mid-body chunked trailer fields x-lk-completion and x-lk-error,
10714
+ * in band, so the outcome cannot race the bytes it
10715
+ * describes.
10716
+ * failed before any RESET_STREAM carrying an HttpStreamResetCode, sound
10717
+ * bytes only here, where nothing is in flight.
10718
+ *
10719
+ * FIN before the body's own framing says it is complete is truncation, and a
10720
+ * receiver must surface it as such.
10721
+ *
10722
+ * The x-lk- header prefix is reserved for this signalling in both directions.
10723
+ * A node strips it from client-supplied request headers, so a client cannot
10724
+ * forge one, and strips it from responses, so it never reaches the end client.
10725
+ *
10726
+ * @generated from message livekit.AgentHttp
10727
+ */
10728
+ declare class AgentHttp extends Message<AgentHttp> {
10729
+ constructor(data?: PartialMessage<AgentHttp>);
10730
+
10731
+ static readonly runtime: typeof proto3;
10732
+ static readonly typeName = "livekit.AgentHttp";
10733
+ static readonly fields: FieldList;
10734
+
10735
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentHttp;
10736
+
10737
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentHttp;
10738
+
10739
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentHttp;
10740
+
10741
+ static equals(a: AgentHttp | PlainMessage<AgentHttp> | undefined, b: AgentHttp | PlainMessage<AgentHttp> | undefined): boolean;
10742
+ }
10743
+
10744
+ /**
10745
+ * @generated from enum livekit.AgentHttp.AgentEndpointKind
10746
+ */
10747
+ declare enum AgentHttp_AgentEndpointKind {
10748
+ /**
10749
+ * @generated from enum value: AEK_HTTP = 0;
10750
+ */
10751
+ AEK_HTTP = 0,
10752
+
10753
+ /**
10754
+ * reserved for future text-mode endpoints
10755
+ *
10756
+ * @generated from enum value: AEK_TEXT = 1;
10757
+ */
10758
+ AEK_TEXT = 1,
10759
+ }
10760
+
10761
+ /**
10762
+ * why a stream was reset before any HTTP bytes flowed. This travels as the
10763
+ * QUIC RESET_STREAM / STOP_SENDING error code, so it is a number with no room
10764
+ * for detail: the reason string is logged by the side that reset and joined
10765
+ * to this by request_id. An outcome after bytes have flowed travels in
10766
+ * trailers instead, where it cannot race them.
10767
+ *
10768
+ * @generated from enum livekit.AgentHttp.HttpStreamResetCode
10769
+ */
10770
+ declare enum AgentHttp_HttpStreamResetCode {
10771
+ /**
10772
+ * no information. The ordinary cancel code, sent whenever a stream is torn
10773
+ * down without a specific outcome, so it must stay the zero value and must
10774
+ * not imply that anything was or was not applied.
10775
+ *
10776
+ * @generated from enum value: HSR_ABORT = 0;
10777
+ */
10778
+ HSR_ABORT = 0,
10779
+
10780
+ /**
10781
+ * the worker aborted before any application code observed the request, so
10782
+ * nothing was applied and the exchange is safe to retry. Requires that the
10783
+ * application was never entered; a 404 it returned is an ordinary response.
10784
+ *
10785
+ * @generated from enum value: HSR_REFUSED = 1;
10786
+ */
10787
+ HSR_REFUSED = 1,
10788
+
10789
+ /**
10790
+ * the application was entered and then failed before producing a response
10791
+ * head; side effects may already have happened, so this is not safe to
10792
+ * retry.
10793
+ *
10794
+ * @generated from enum value: HSR_INTERNAL = 2;
10795
+ */
10796
+ HSR_INTERNAL = 2,
10797
+
10798
+ /**
10799
+ * the deadline elapsed before a response head was produced
10800
+ *
10801
+ * @generated from enum value: HSR_TIMEOUT = 3;
10802
+ */
10803
+ HSR_TIMEOUT = 3,
10804
+
10805
+ /**
10806
+ * the peer's bytes were not valid HTTP/1.1
10807
+ *
10808
+ * @generated from enum value: HSR_PROTOCOL = 4;
10809
+ */
10810
+ HSR_PROTOCOL = 4,
10811
+ }
10812
+
10813
+ /**
10814
+ * @generated from message livekit.AgentHttp.AgentEndpoint
10815
+ */
10816
+ declare class AgentHttp_AgentEndpoint extends Message<AgentHttp_AgentEndpoint> {
10817
+ /**
10818
+ * starlette-style path template rooted at '/': {name} (one segment, default),
10819
+ * {name:int}, {name:float}, {name:uuid} (constrained single segments),
10820
+ * {name:path} (multi-segment). Custom converters are rejected.
10821
+ *
10822
+ * @generated from field: string path = 1;
10823
+ */
10824
+ path: string;
10825
+
10826
+ /**
10827
+ * uppercase, exactly as the application routes them (FastAPI does not imply
10828
+ * HEAD from GET)
10829
+ *
10830
+ * @generated from field: repeated string methods = 2;
10831
+ */
10832
+ methods: string[];
10833
+
10834
+ /**
10835
+ * @generated from field: livekit.AgentHttp.AgentEndpointKind kind = 3;
9613
10836
  */
9614
- participantMetadata: string;
10837
+ kind: AgentHttp_AgentEndpointKind;
9615
10838
 
9616
10839
  /**
9617
- * NEXT_ID: 9
10840
+ * reachable without a project token
9618
10841
  *
9619
- * @generated from field: map<string, string> participant_attributes = 7;
10842
+ * @generated from field: bool public = 4;
9620
10843
  */
9621
- participantAttributes: { [key: string]: string };
10844
+ public: boolean;
9622
10845
 
9623
- constructor(data?: PartialMessage<AvailabilityResponse>);
10846
+ constructor(data?: PartialMessage<AgentHttp_AgentEndpoint>);
9624
10847
 
9625
10848
  static readonly runtime: typeof proto3;
9626
- static readonly typeName = "livekit.AvailabilityResponse";
10849
+ static readonly typeName = "livekit.AgentHttp.AgentEndpoint";
9627
10850
  static readonly fields: FieldList;
9628
10851
 
9629
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AvailabilityResponse;
10852
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentHttp_AgentEndpoint;
9630
10853
 
9631
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AvailabilityResponse;
10854
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentHttp_AgentEndpoint;
9632
10855
 
9633
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AvailabilityResponse;
10856
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentHttp_AgentEndpoint;
9634
10857
 
9635
- static equals(a: AvailabilityResponse | PlainMessage<AvailabilityResponse> | undefined, b: AvailabilityResponse | PlainMessage<AvailabilityResponse> | undefined): boolean;
10858
+ static equals(a: AgentHttp_AgentEndpoint | PlainMessage<AgentHttp_AgentEndpoint> | undefined, b: AgentHttp_AgentEndpoint | PlainMessage<AgentHttp_AgentEndpoint> | undefined): boolean;
9636
10859
  }
9637
10860
 
9638
10861
  /**
9639
- * @generated from message livekit.UpdateJobStatus
10862
+ * registration-level settings negotiated on the control connection, returned
10863
+ * in RegisterWorkerResponse when the worker declares endpoints and the server
10864
+ * supports the data plane.
10865
+ *
10866
+ * @generated from message livekit.AgentHttp.AgentEndpointSettings
9640
10867
  */
9641
- declare class UpdateJobStatus extends Message<UpdateJobStatus> {
9642
- /**
9643
- * @generated from field: string job_id = 1;
9644
- */
9645
- jobId: string;
9646
-
9647
- /**
9648
- * The worker can indicate the job end by either specifying SUCCESS or FAILED
9649
- *
9650
- * @generated from field: livekit.JobStatus status = 2;
9651
- */
9652
- status: JobStatus;
9653
-
10868
+ declare class AgentHttp_AgentEndpointSettings extends Message<AgentHttp_AgentEndpointSettings> {
9654
10869
  /**
9655
- * metadata shown on the dashboard, useful for debugging
10870
+ * the negotiated data-plane protocol version; the worker speaks exactly this
10871
+ * or closes the session
9656
10872
  *
9657
- * @generated from field: string error = 3;
10873
+ * @generated from field: uint32 protocol = 1;
9658
10874
  */
9659
- error: string;
10875
+ protocol: number;
9660
10876
 
9661
- constructor(data?: PartialMessage<UpdateJobStatus>);
10877
+ constructor(data?: PartialMessage<AgentHttp_AgentEndpointSettings>);
9662
10878
 
9663
10879
  static readonly runtime: typeof proto3;
9664
- static readonly typeName = "livekit.UpdateJobStatus";
10880
+ static readonly typeName = "livekit.AgentHttp.AgentEndpointSettings";
9665
10881
  static readonly fields: FieldList;
9666
10882
 
9667
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateJobStatus;
10883
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentHttp_AgentEndpointSettings;
9668
10884
 
9669
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateJobStatus;
10885
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentHttp_AgentEndpointSettings;
9670
10886
 
9671
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateJobStatus;
10887
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentHttp_AgentEndpointSettings;
9672
10888
 
9673
- static equals(a: UpdateJobStatus | PlainMessage<UpdateJobStatus> | undefined, b: UpdateJobStatus | PlainMessage<UpdateJobStatus> | undefined): boolean;
10889
+ static equals(a: AgentHttp_AgentEndpointSettings | PlainMessage<AgentHttp_AgentEndpointSettings> | undefined, b: AgentHttp_AgentEndpointSettings | PlainMessage<AgentHttp_AgentEndpointSettings> | undefined): boolean;
9674
10890
  }
9675
10891
 
9676
10892
  /**
9677
- * @generated from message livekit.UpdateWorkerStatus
10893
+ * the first thing on every exchange stream, node -> worker. It carries only
10894
+ * what the worker cannot derive from the HTTP bytes that follow and what it
10895
+ * must not infer from client-supplied headers - identity above all.
10896
+ *
10897
+ * @generated from message livekit.AgentHttp.StreamPreamble
9678
10898
  */
9679
- declare class UpdateWorkerStatus extends Message<UpdateWorkerStatus> {
10899
+ declare class AgentHttp_StreamPreamble extends Message<AgentHttp_StreamPreamble> {
9680
10900
  /**
9681
- * @generated from field: optional livekit.WorkerStatus status = 1;
10901
+ * what the bytes after this preamble are. A field rather than a framing
10902
+ * tag, so a new stream semantic costs no new mechanism.
10903
+ *
10904
+ * @generated from field: livekit.AgentHttp.AgentEndpointKind kind = 1;
9682
10905
  */
9683
- status?: WorkerStatus;
10906
+ kind: AgentHttp_AgentEndpointKind;
9684
10907
 
9685
10908
  /**
9686
- * optional string metadata = 2 [deprecated=true];
9687
- *
9688
- * @generated from field: float load = 3;
10909
+ * @generated from field: string request_id = 2;
9689
10910
  */
9690
- load: number;
10911
+ requestId: string;
9691
10912
 
9692
10913
  /**
9693
- * @generated from field: uint32 job_count = 4;
10914
+ * the caller holds agent-endpoint call permission for this agent and
10915
+ * deployment. Always true on a non-public route.
10916
+ *
10917
+ * @generated from field: bool authorized = 3;
9694
10918
  */
9695
- jobCount: number;
9696
-
9697
- constructor(data?: PartialMessage<UpdateWorkerStatus>);
9698
-
9699
- static readonly runtime: typeof proto3;
9700
- static readonly typeName = "livekit.UpdateWorkerStatus";
9701
- static readonly fields: FieldList;
9702
-
9703
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateWorkerStatus;
9704
-
9705
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateWorkerStatus;
9706
-
9707
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateWorkerStatus;
10919
+ authorized: boolean;
9708
10920
 
9709
- static equals(a: UpdateWorkerStatus | PlainMessage<UpdateWorkerStatus> | undefined, b: UpdateWorkerStatus | PlainMessage<UpdateWorkerStatus> | undefined): boolean;
9710
- }
10921
+ /**
10922
+ * the manifest template that matched, e.g. "/items/{id}"
10923
+ *
10924
+ * @generated from field: string route = 4;
10925
+ */
10926
+ route: string;
9711
10927
 
9712
- /**
9713
- * @generated from message livekit.JobAssignment
9714
- */
9715
- declare class JobAssignment extends Message<JobAssignment> {
9716
10928
  /**
9717
- * @generated from field: livekit.Job job = 1;
10929
+ * relative, because node and worker clocks are not synchronized. 0 imposes
10930
+ * no deadline.
10931
+ *
10932
+ * @generated from field: uint32 timeout_ms = 5;
9718
10933
  */
9719
- job?: Job;
10934
+ timeoutMs: number;
9720
10935
 
9721
10936
  /**
9722
- * @generated from field: optional string url = 2;
10937
+ * end client address, host only
10938
+ *
10939
+ * @generated from field: string client_addr = 6;
9723
10940
  */
9724
- url?: string;
10941
+ clientAddr: string;
9725
10942
 
9726
10943
  /**
9727
- * @generated from field: string token = 3;
10944
+ * "http" or "https" as the end client saw it; not derivable worker-side
10945
+ *
10946
+ * NEXT_ID: 8
10947
+ *
10948
+ * @generated from field: string scheme = 7;
9728
10949
  */
9729
- token: string;
10950
+ scheme: string;
9730
10951
 
9731
- constructor(data?: PartialMessage<JobAssignment>);
10952
+ constructor(data?: PartialMessage<AgentHttp_StreamPreamble>);
9732
10953
 
9733
10954
  static readonly runtime: typeof proto3;
9734
- static readonly typeName = "livekit.JobAssignment";
10955
+ static readonly typeName = "livekit.AgentHttp.StreamPreamble";
9735
10956
  static readonly fields: FieldList;
9736
10957
 
9737
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobAssignment;
10958
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentHttp_StreamPreamble;
9738
10959
 
9739
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobAssignment;
10960
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentHttp_StreamPreamble;
9740
10961
 
9741
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobAssignment;
10962
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentHttp_StreamPreamble;
9742
10963
 
9743
- static equals(a: JobAssignment | PlainMessage<JobAssignment> | undefined, b: JobAssignment | PlainMessage<JobAssignment> | undefined): boolean;
10964
+ static equals(a: AgentHttp_StreamPreamble | PlainMessage<AgentHttp_StreamPreamble> | undefined, b: AgentHttp_StreamPreamble | PlainMessage<AgentHttp_StreamPreamble> | undefined): boolean;
9744
10965
  }
9745
10966
 
9746
10967
  /**
9747
- * @generated from message livekit.JobTermination
10968
+ * the server is draining: the worker should re-register elsewhere; in-flight
10969
+ * HTTP exchanges run to completion
10970
+ *
10971
+ * @generated from message livekit.AgentHttp.GoAway
9748
10972
  */
9749
- declare class JobTermination extends Message<JobTermination> {
10973
+ declare class AgentHttp_GoAway extends Message<AgentHttp_GoAway> {
9750
10974
  /**
9751
- * @generated from field: string job_id = 1;
10975
+ * @generated from field: string reason = 1;
9752
10976
  */
9753
- jobId: string;
10977
+ reason: string;
9754
10978
 
9755
- constructor(data?: PartialMessage<JobTermination>);
10979
+ constructor(data?: PartialMessage<AgentHttp_GoAway>);
9756
10980
 
9757
10981
  static readonly runtime: typeof proto3;
9758
- static readonly typeName = "livekit.JobTermination";
10982
+ static readonly typeName = "livekit.AgentHttp.GoAway";
9759
10983
  static readonly fields: FieldList;
9760
10984
 
9761
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobTermination;
10985
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentHttp_GoAway;
9762
10986
 
9763
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobTermination;
10987
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentHttp_GoAway;
9764
10988
 
9765
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobTermination;
10989
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentHttp_GoAway;
9766
10990
 
9767
- static equals(a: JobTermination | PlainMessage<JobTermination> | undefined, b: JobTermination | PlainMessage<JobTermination> | undefined): boolean;
10991
+ static equals(a: AgentHttp_GoAway | PlainMessage<AgentHttp_GoAway> | undefined, b: AgentHttp_GoAway | PlainMessage<AgentHttp_GoAway> | undefined): boolean;
9768
10992
  }
9769
10993
 
9770
10994
  // Copyright 2023 LiveKit, Inc.
@@ -10382,9 +11606,9 @@ declare class SimulationRun extends Message<SimulationRun> {
10382
11606
  /**
10383
11607
  * Absent when the run ran each scenario once and required it to pass.
10384
11608
  *
10385
- * @generated from field: optional livekit.SimulationRun.Sampling sampling = 23;
11609
+ * @generated from field: optional livekit.SimulationRun.SamplingOptions sampling = 23;
10386
11610
  */
10387
- sampling?: SimulationRun_Sampling;
11611
+ sampling?: SimulationRun_SamplingOptions;
10388
11612
 
10389
11613
  constructor(data?: PartialMessage<SimulationRun>);
10390
11614
 
@@ -10528,6 +11752,13 @@ declare class SimulationRun_Job extends Message<SimulationRun_Job> {
10528
11752
  */
10529
11753
  sample: number;
10530
11754
 
11755
+ /**
11756
+ * Set on a failed job whose cause is known; error stays the detail.
11757
+ *
11758
+ * @generated from field: livekit.SimulationRun.Job.FailureReason failure_reason = 19;
11759
+ */
11760
+ failureReason: SimulationRun_Job_FailureReason;
11761
+
10531
11762
  constructor(data?: PartialMessage<SimulationRun_Job>);
10532
11763
 
10533
11764
  static readonly runtime: typeof proto3;
@@ -10573,6 +11804,23 @@ declare enum SimulationRun_Job_Status {
10573
11804
  CANCELLED = 4,
10574
11805
  }
10575
11806
 
11807
+ /**
11808
+ * @generated from enum livekit.SimulationRun.Job.FailureReason
11809
+ */
11810
+ declare enum SimulationRun_Job_FailureReason {
11811
+ /**
11812
+ * @generated from enum value: FAILURE_REASON_UNSPECIFIED = 0;
11813
+ */
11814
+ UNSPECIFIED = 0,
11815
+
11816
+ /**
11817
+ * The agent under test never joined the simulation's room.
11818
+ *
11819
+ * @generated from enum value: FAILURE_REASON_AGENT_JOIN_TIMEOUT = 1;
11820
+ */
11821
+ AGENT_JOIN_TIMEOUT = 1,
11822
+ }
11823
+
10576
11824
  /**
10577
11825
  * @generated from message livekit.SimulationRun.Job.Usage
10578
11826
  */
@@ -10706,6 +11954,36 @@ declare class SimulationRun_JobMetrics extends Message<SimulationRun_JobMetrics>
10706
11954
  */
10707
11955
  conversationProgression?: number;
10708
11956
 
11957
+ /**
11958
+ * How the call ended. A failing end also sets the job's error.
11959
+ *
11960
+ * @generated from field: livekit.SimulationRun.JobMetrics.EndReason end_reason = 21;
11961
+ */
11962
+ endReason: SimulationRun_JobMetrics_EndReason;
11963
+
11964
+ /**
11965
+ * The simulated caller's language, as a language tag: what it spoke or wrote.
11966
+ *
11967
+ * @generated from field: string caller_language = 22;
11968
+ */
11969
+ callerLanguage: string;
11970
+
11971
+ /**
11972
+ * Audio only: the language the caller transcribed the agent in; "" means
11973
+ * caller_language.
11974
+ *
11975
+ * @generated from field: string caller_listen_language = 23;
11976
+ */
11977
+ callerListenLanguage: string;
11978
+
11979
+ /**
11980
+ * Audio only: what the caller's audio went through before the agent heard
11981
+ * it. Absent for a clean call.
11982
+ *
11983
+ * @generated from field: livekit.SimulationImpairments impairments = 24;
11984
+ */
11985
+ impairments?: SimulationImpairments;
11986
+
10709
11987
  constructor(data?: PartialMessage<SimulationRun_JobMetrics>);
10710
11988
 
10711
11989
  static readonly runtime: typeof proto3;
@@ -10721,6 +11999,58 @@ declare class SimulationRun_JobMetrics extends Message<SimulationRun_JobMetrics>
10721
11999
  static equals(a: SimulationRun_JobMetrics | PlainMessage<SimulationRun_JobMetrics> | undefined, b: SimulationRun_JobMetrics | PlainMessage<SimulationRun_JobMetrics> | undefined): boolean;
10722
12000
  }
10723
12001
 
12002
+ /**
12003
+ * @generated from enum livekit.SimulationRun.JobMetrics.EndReason
12004
+ */
12005
+ declare enum SimulationRun_JobMetrics_EndReason {
12006
+ /**
12007
+ * @generated from enum value: END_REASON_UNSPECIFIED = 0;
12008
+ */
12009
+ UNSPECIFIED = 0,
12010
+
12011
+ /**
12012
+ * the caller finished the scenario
12013
+ *
12014
+ * @generated from enum value: END_REASON_SCENARIO_COMPLETED = 1;
12015
+ */
12016
+ SCENARIO_COMPLETED = 1,
12017
+
12018
+ /**
12019
+ * the agent under test ended the call
12020
+ *
12021
+ * @generated from enum value: END_REASON_AGENT_ENDED = 2;
12022
+ */
12023
+ AGENT_ENDED = 2,
12024
+
12025
+ /**
12026
+ * the agent under test went silent
12027
+ *
12028
+ * @generated from enum value: END_REASON_INACTIVITY = 3;
12029
+ */
12030
+ INACTIVITY = 3,
12031
+
12032
+ /**
12033
+ * the caller ran out of turns
12034
+ *
12035
+ * @generated from enum value: END_REASON_TURN_LIMIT = 4;
12036
+ */
12037
+ TURN_LIMIT = 4,
12038
+
12039
+ /**
12040
+ * the agent under test kept replying with nothing
12041
+ *
12042
+ * @generated from enum value: END_REASON_EMPTY_RESPONSE = 5;
12043
+ */
12044
+ EMPTY_RESPONSE = 5,
12045
+
12046
+ /**
12047
+ * the agent under test failed mid-call
12048
+ *
12049
+ * @generated from enum value: END_REASON_AGENT_ERROR = 6;
12050
+ */
12051
+ AGENT_ERROR = 6,
12052
+ }
12053
+
10724
12054
  /**
10725
12055
  * The agent's perception of the caller. Audio only.
10726
12056
  *
@@ -11068,6 +12398,13 @@ declare class SimulationRun_JobMetrics_Conversation extends Message<SimulationRu
11068
12398
  */
11069
12399
  e2eLatencyMs?: number;
11070
12400
 
12401
+ /**
12402
+ * the caller's acknowledgements over the agent's speech
12403
+ *
12404
+ * @generated from field: optional uint32 backchannel_count = 16;
12405
+ */
12406
+ backchannelCount?: number;
12407
+
11071
12408
  constructor(data?: PartialMessage<SimulationRun_JobMetrics_Conversation>);
11072
12409
 
11073
12410
  static readonly runtime: typeof proto3;
@@ -11104,6 +12441,15 @@ declare class SimulationRun_JobMetrics_Turn extends Message<SimulationRun_JobMet
11104
12441
  */
11105
12442
  role: ChatRole;
11106
12443
 
12444
+ /**
12445
+ * The words the judges read for this turn: the speaker's own, or as the
12446
+ * other side heard them when those are unknown (the agent's, without a
12447
+ * RemoteSession).
12448
+ *
12449
+ * @generated from field: string text = 18;
12450
+ */
12451
+ text: string;
12452
+
11107
12453
  /**
11108
12454
  * audio only; relative to t0; unset if the turn could not be aligned to the audio
11109
12455
  *
@@ -11342,9 +12688,9 @@ declare class SimulationRun_CI extends Message<SimulationRun_CI> {
11342
12688
  * Runs each scenario more than once, so a flaky sample is distinguishable
11343
12689
  * from a broken scenario. Both fields are required when it is present.
11344
12690
  *
11345
- * @generated from message livekit.SimulationRun.Sampling
12691
+ * @generated from message livekit.SimulationRun.SamplingOptions
11346
12692
  */
11347
- declare class SimulationRun_Sampling extends Message<SimulationRun_Sampling> {
12693
+ declare class SimulationRun_SamplingOptions extends Message<SimulationRun_SamplingOptions> {
11348
12694
  /**
11349
12695
  * Samples per scenario, > 1. The run holds scenarios × samples jobs,
11350
12696
  * subject to the usual job cap.
@@ -11362,19 +12708,19 @@ declare class SimulationRun_Sampling extends Message<SimulationRun_Sampling> {
11362
12708
  */
11363
12709
  passRate: number;
11364
12710
 
11365
- constructor(data?: PartialMessage<SimulationRun_Sampling>);
12711
+ constructor(data?: PartialMessage<SimulationRun_SamplingOptions>);
11366
12712
 
11367
12713
  static readonly runtime: typeof proto3;
11368
- static readonly typeName = "livekit.SimulationRun.Sampling";
12714
+ static readonly typeName = "livekit.SimulationRun.SamplingOptions";
11369
12715
  static readonly fields: FieldList;
11370
12716
 
11371
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SimulationRun_Sampling;
12717
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SimulationRun_SamplingOptions;
11372
12718
 
11373
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SimulationRun_Sampling;
12719
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SimulationRun_SamplingOptions;
11374
12720
 
11375
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SimulationRun_Sampling;
12721
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SimulationRun_SamplingOptions;
11376
12722
 
11377
- static equals(a: SimulationRun_Sampling | PlainMessage<SimulationRun_Sampling> | undefined, b: SimulationRun_Sampling | PlainMessage<SimulationRun_Sampling> | undefined): boolean;
12723
+ static equals(a: SimulationRun_SamplingOptions | PlainMessage<SimulationRun_SamplingOptions> | undefined, b: SimulationRun_SamplingOptions | PlainMessage<SimulationRun_SamplingOptions> | undefined): boolean;
11378
12724
  }
11379
12725
 
11380
12726
  /**
@@ -11445,6 +12791,7 @@ declare class SimulationRun_Create_Request extends Message<SimulationRun_Create_
11445
12791
 
11446
12792
  /**
11447
12793
  * Impairments applied to the simulated user's audio; AUDIO mode only.
12794
+ * TODO(u9g): migrate these to SimulationImpairments.
11448
12795
  *
11449
12796
  * @generated from field: bool background_noise = 10;
11450
12797
  */
@@ -11470,9 +12817,9 @@ declare class SimulationRun_Create_Request extends Message<SimulationRun_Create_
11470
12817
  * scenario_group. The run fails if any scenario fails; pass@k and
11471
12818
  * pass^k report over scenarios and neither gates.
11472
12819
  *
11473
- * @generated from field: optional livekit.SimulationRun.Sampling sampling = 14;
12820
+ * @generated from field: optional livekit.SimulationRun.SamplingOptions sampling = 14;
11474
12821
  */
11475
- sampling?: SimulationRun_Sampling;
12822
+ sampling?: SimulationRun_SamplingOptions;
11476
12823
 
11477
12824
  constructor(data?: PartialMessage<SimulationRun_Create_Request>);
11478
12825
 
@@ -12035,7 +13382,7 @@ declare class Scenario extends Message<Scenario> {
12035
13382
  agentExpectations: string;
12036
13383
 
12037
13384
  /**
12038
- * Set as participant attributes on the simulation participant's access token.
13385
+ * Surfaced to the agent under test as SimulationContext scenario tags.
12039
13386
  *
12040
13387
  * @generated from field: map<string, string> tags = 4;
12041
13388
  */
@@ -12189,8 +13536,45 @@ declare class ScenarioGroup extends Message<ScenarioGroup> {
12189
13536
  }
12190
13537
 
12191
13538
  /**
12192
- * Carried (protojson-encoded) in the simulation room's metadata so the agent
12193
- * under test can read the scenario + run identity synchronously at connect.
13539
+ * What the simulated caller's audio went through before the agent heard it.
13540
+ *
13541
+ * @generated from message livekit.SimulationImpairments
13542
+ */
13543
+ declare class SimulationImpairments extends Message<SimulationImpairments> {
13544
+ /**
13545
+ * @generated from field: bool background_noise = 1;
13546
+ */
13547
+ backgroundNoise: boolean;
13548
+
13549
+ /**
13550
+ * @generated from field: bool low_quality_microphone = 2;
13551
+ */
13552
+ lowQualityMicrophone: boolean;
13553
+
13554
+ /**
13555
+ * @generated from field: bool packet_loss = 3;
13556
+ */
13557
+ packetLoss: boolean;
13558
+
13559
+ constructor(data?: PartialMessage<SimulationImpairments>);
13560
+
13561
+ static readonly runtime: typeof proto3;
13562
+ static readonly typeName = "livekit.SimulationImpairments";
13563
+ static readonly fields: FieldList;
13564
+
13565
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SimulationImpairments;
13566
+
13567
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SimulationImpairments;
13568
+
13569
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SimulationImpairments;
13570
+
13571
+ static equals(a: SimulationImpairments | PlainMessage<SimulationImpairments> | undefined, b: SimulationImpairments | PlainMessage<SimulationImpairments> | undefined): boolean;
13572
+ }
13573
+
13574
+ /**
13575
+ * Carried (protojson-encoded) in the Job's lk.simulator.dispatch attribute, set
13576
+ * on the agent dispatch, so the agent under test can read the scenario + run
13577
+ * identity synchronously at job start.
12194
13578
  *
12195
13579
  * @generated from message livekit.SimulationDispatch
12196
13580
  */
@@ -12398,9 +13782,18 @@ declare enum SegmentedFileProtocol {
12398
13782
  DEFAULT_SEGMENTED_FILE_PROTOCOL = 0,
12399
13783
 
12400
13784
  /**
13785
+ * MPEG-TS segments
13786
+ *
12401
13787
  * @generated from enum value: HLS_PROTOCOL = 1;
12402
13788
  */
12403
13789
  HLS_PROTOCOL = 1,
13790
+
13791
+ /**
13792
+ * fragmented MP4 segments
13793
+ *
13794
+ * @generated from enum value: HLS_FMP4_PROTOCOL = 2;
13795
+ */
13796
+ HLS_FMP4_PROTOCOL = 2,
12404
13797
  }
12405
13798
 
12406
13799
  /**
@@ -13119,12 +14512,19 @@ declare class StreamOutput extends Message<StreamOutput> {
13119
14512
  protocol: StreamProtocol;
13120
14513
 
13121
14514
  /**
13122
- * required
14515
+ * urls or destinations required
13123
14516
  *
13124
14517
  * @generated from field: repeated string urls = 2;
13125
14518
  */
13126
14519
  urls: string[];
13127
14520
 
14521
+ /**
14522
+ * urls or destinations required
14523
+ *
14524
+ * @generated from field: repeated livekit.StreamDestination destinations = 3;
14525
+ */
14526
+ destinations: StreamDestination[];
14527
+
13128
14528
  constructor(data?: PartialMessage<StreamOutput>);
13129
14529
 
13130
14530
  static readonly runtime: typeof proto3;
@@ -13140,6 +14540,39 @@ declare class StreamOutput extends Message<StreamOutput> {
13140
14540
  static equals(a: StreamOutput | PlainMessage<StreamOutput> | undefined, b: StreamOutput | PlainMessage<StreamOutput> | undefined): boolean;
13141
14541
  }
13142
14542
 
14543
+ /**
14544
+ * @generated from message livekit.StreamDestination
14545
+ */
14546
+ declare class StreamDestination extends Message<StreamDestination> {
14547
+ /**
14548
+ * required
14549
+ *
14550
+ * @generated from field: string id = 1;
14551
+ */
14552
+ id: string;
14553
+
14554
+ /**
14555
+ * required
14556
+ *
14557
+ * @generated from field: string url = 2;
14558
+ */
14559
+ url: string;
14560
+
14561
+ constructor(data?: PartialMessage<StreamDestination>);
14562
+
14563
+ static readonly runtime: typeof proto3;
14564
+ static readonly typeName = "livekit.StreamDestination";
14565
+ static readonly fields: FieldList;
14566
+
14567
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamDestination;
14568
+
14569
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamDestination;
14570
+
14571
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamDestination;
14572
+
14573
+ static equals(a: StreamDestination | PlainMessage<StreamDestination> | undefined, b: StreamDestination | PlainMessage<StreamDestination> | undefined): boolean;
14574
+ }
14575
+
13143
14576
  /**
13144
14577
  * Used to generate HLS segments or other kind of segmented output
13145
14578
  *
@@ -13960,6 +15393,13 @@ declare class StreamInfo extends Message<StreamInfo> {
13960
15393
  */
13961
15394
  retries: number;
13962
15395
 
15396
+ /**
15397
+ * StreamDestination.id this stream was started from; empty for plain urls
15398
+ *
15399
+ * @generated from field: string id = 9;
15400
+ */
15401
+ id: string;
15402
+
13963
15403
  constructor(data?: PartialMessage<StreamInfo>);
13964
15404
 
13965
15405
  static readonly runtime: typeof proto3;
@@ -14970,6 +16410,11 @@ declare class UpdateStreamRequest extends Message<UpdateStreamRequest> {
14970
16410
  */
14971
16411
  removeOutputUrls: string[];
14972
16412
 
16413
+ /**
16414
+ * @generated from field: repeated livekit.StreamDestination add_destinations = 4;
16415
+ */
16416
+ addDestinations: StreamDestination[];
16417
+
14973
16418
  constructor(data?: PartialMessage<UpdateStreamRequest>);
14974
16419
 
14975
16420
  static readonly runtime: typeof proto3;
@@ -18056,6 +19501,13 @@ declare class SIPInboundTrunkInfo extends Message<SIPInboundTrunkInfo> {
18056
19501
  */
18057
19502
  ringingTimeout?: Duration;
18058
19503
 
19504
+ /**
19505
+ * SIP status code if ringing_timeout elapses. Unset means using system default.
19506
+ *
19507
+ * @generated from field: livekit.SIPStatusCode ringing_timeout_status = 21;
19508
+ */
19509
+ ringingTimeoutStatus: SIPStatusCode;
19510
+
18059
19511
  /**
18060
19512
  * Max call duration.
18061
19513
  *
@@ -21822,6 +23274,31 @@ declare enum StreamState {
21822
23274
  PAUSED = 1,
21823
23275
  }
21824
23276
 
23277
+ /**
23278
+ * @generated from enum livekit.NegotiatedDataChannelID
23279
+ */
23280
+ declare enum NegotiatedDataChannelID {
23281
+ /**
23282
+ * @generated from enum value: NDCI_INVALID = 0;
23283
+ */
23284
+ NDCI_INVALID = 0,
23285
+
23286
+ /**
23287
+ * @generated from enum value: NDCI_RELIABLE = 100;
23288
+ */
23289
+ NDCI_RELIABLE = 100,
23290
+
23291
+ /**
23292
+ * @generated from enum value: NDCI_LOSSY = 101;
23293
+ */
23294
+ NDCI_LOSSY = 101,
23295
+
23296
+ /**
23297
+ * @generated from enum value: NDCI_DATA_TRACK = 102;
23298
+ */
23299
+ NDCI_DATA_TRACK = 102,
23300
+ }
23301
+
21825
23302
  /**
21826
23303
  * @generated from enum livekit.CandidateProtocol
21827
23304
  */
@@ -25351,7 +26828,7 @@ declare class WebhookEvent extends Message<WebhookEvent> {
25351
26828
  /**
25352
26829
  * one of room_started, room_finished, participant_joined, participant_left, participant_connection_aborted,
25353
26830
  * track_published, track_unpublished, egress_started, egress_updated, egress_ended,
25354
- * ingress_started, ingress_ended, agent_job_started, agent_job_ended
26831
+ * ingress_started, ingress_ended, agent_job_pending, agent_job_started, agent_job_ended
25355
26832
  *
25356
26833
  * @generated from field: string event = 1;
25357
26834
  */
@@ -25441,4 +26918,4 @@ declare class WebhookEvent extends Message<WebhookEvent> {
25441
26918
 
25442
26919
  declare const version: string;
25443
26920
 
25444
- export { APICallInfo, APICallRequest, AcceptWhatsAppCallRequest, AcceptWhatsAppCallResponse, ActiveSpeakerUpdate, AddTrackRequest, livekit_agent_dev_pb_d as AgentDev, AgentDispatch, AgentDispatchState, livekit_agent_inference_pb_d as AgentInference, livekit_agent_session_pb_d as AgentSession, livekit_agent_text_pb_d 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, DataBlob, DataBlobKey, DataChannelInfo, DataChannelReceiveState, DataConfig, DataPacket, DataPacket_Kind, DataSelector, DataStream, DataStream_ByteHeader, DataStream_Chunk, DataStream_CompressionType, DataStream_Header, DataStream_OperationType, DataStream_TextHeader, DataStream_Trailer, DataTrackExtensionID, DataTrackExtensionParticipantSid, DataTrackFrameEncoding, DataTrackFrameEncoding_WellKnownFrameEncoding, DataTrackInfo, DataTrackSchemaEncoding, DataTrackSchemaEncoding_WellKnownSchemaEncoding, DataTrackSchemaId, 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, GetDataBlobRequest, GetDataBlobResponse, 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, RoomEndReason, 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, SIPTransferError, SIPTransferInfo, SIPTransferReason, SIPTransferStatus, SIPTransport, SIPTrunkInfo, SIPTrunkInfo_TrunkKind, SIPUri, Scenario, ScenarioGroup, Scenario_CreateFromSession, Scenario_CreateFromSession_Request, Scenario_CreateFromSession_Response, SegmentedFileOutput, SegmentedFileProtocol, SegmentedFileSuffix, SegmentsInfo, SendDataRequest, SendDataResponse, ServerInfo, ServerInfo_Edition, ServerMessage, SessionDescription, SignalRequest, SignalResponse, SignalTarget, SimulateJobRequest, SimulateScenario, SimulationDispatch, SimulationMode, SimulationRun, SimulationRunSummary, SimulationRunSummary_Issue, SimulationRun_CI, SimulationRun_Cancel, SimulationRun_Cancel_Request, SimulationRun_Cancel_Response, SimulationRun_ConfirmSourceUpload, SimulationRun_ConfirmSourceUpload_Request, SimulationRun_ConfirmSourceUpload_Response, SimulationRun_Counts, SimulationRun_Counts_Bucket, SimulationRun_Counts_Request, SimulationRun_Counts_Response, SimulationRun_Create, SimulationRun_Create_Request, SimulationRun_Create_Response, SimulationRun_Get, SimulationRun_Get_Request, SimulationRun_Get_Response, SimulationRun_Job, SimulationRun_JobMetrics, SimulationRun_JobMetrics_Conversation, SimulationRun_JobMetrics_LLM, SimulationRun_JobMetrics_STT, SimulationRun_JobMetrics_TTS, SimulationRun_JobMetrics_Turn, SimulationRun_Job_Status, SimulationRun_Job_Usage, SimulationRun_List, SimulationRun_List_Request, SimulationRun_List_Response, SimulationRun_RunMetrics, SimulationRun_Sampling, SimulationRun_Status, SimulationRun_Usage, SimulcastCodec, SimulcastCodecInfo, SipDTMF, SpeakerInfo, SpeakersChanged, StartEgressRequest, StopEgressRequest, StorageConfig, StoreDataBlobRequest, StoreDataBlobResponse, 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, TransferSIPParticipantResponse, TrickleRequest, UnpublishDataTrackRequest, UnpublishDataTrackResponse, UpdateDataSubscription, UpdateDataSubscription_Update, 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 };
26921
+ export { APICallInfo, APICallRequest, AcceptWhatsAppCallRequest, AcceptWhatsAppCallResponse, ActiveSpeakerUpdate, AddTrackRequest, livekit_agent_dev_pb_d as AgentDev, AgentDispatch, AgentDispatchState, AgentHttp, AgentHttp_AgentEndpoint, AgentHttp_AgentEndpointKind, AgentHttp_AgentEndpointSettings, AgentHttp_GoAway, AgentHttp_HttpStreamResetCode, AgentHttp_StreamPreamble, livekit_agent_inference_pb_d as AgentInference, livekit_agent_session_pb_d as AgentSession, livekit_agent_text_pb_d as AgentText, livekit_agent_thread_pb_d as AgentThread, 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, DataBlob, DataBlobKey, DataChannelInfo, DataChannelReceiveState, DataConfig, DataPacket, DataPacket_Kind, DataSelector, DataStream, DataStream_ByteHeader, DataStream_Chunk, DataStream_CompressionType, DataStream_Header, DataStream_OperationType, DataStream_TextHeader, DataStream_Trailer, DataTrackExtensionID, DataTrackExtensionParticipantSid, DataTrackFrameEncoding, DataTrackFrameEncoding_WellKnownFrameEncoding, DataTrackInfo, DataTrackSchemaEncoding, DataTrackSchemaEncoding_WellKnownSchemaEncoding, DataTrackSchemaId, DataTrackSubscriberHandles, DataTrackSubscriberHandles_PublishedDataTrack, DataTrackSubscriptionOptions, DeleteAgentDispatchRequest, DeleteIngressRequest, DeleteRoomRequest, DeleteRoomResponse, DeleteSIPDispatchRuleRequest, DeleteSIPTrunkRequest, DependencyDescriptorForwarderState, 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, GetDataBlobRequest, GetDataBlobResponse, 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, JobStateReason, 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, NegotiatedDataChannelID, 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, RoomEndReason, 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, SIPTransferError, SIPTransferInfo, SIPTransferReason, SIPTransferStatus, SIPTransport, SIPTrunkInfo, SIPTrunkInfo_TrunkKind, SIPUri, Scenario, ScenarioGroup, Scenario_CreateFromSession, Scenario_CreateFromSession_Request, Scenario_CreateFromSession_Response, SegmentedFileOutput, SegmentedFileProtocol, SegmentedFileSuffix, SegmentsInfo, SendDataRequest, SendDataResponse, ServerInfo, ServerInfo_Edition, ServerMessage, SessionDescription, SignalRequest, SignalResponse, SignalTarget, SimulateJobRequest, SimulateScenario, SimulationDispatch, SimulationImpairments, SimulationMode, SimulationRun, SimulationRunSummary, SimulationRunSummary_Issue, SimulationRun_CI, SimulationRun_Cancel, SimulationRun_Cancel_Request, SimulationRun_Cancel_Response, SimulationRun_ConfirmSourceUpload, SimulationRun_ConfirmSourceUpload_Request, SimulationRun_ConfirmSourceUpload_Response, SimulationRun_Counts, SimulationRun_Counts_Bucket, SimulationRun_Counts_Request, SimulationRun_Counts_Response, SimulationRun_Create, SimulationRun_Create_Request, SimulationRun_Create_Response, SimulationRun_Get, SimulationRun_Get_Request, SimulationRun_Get_Response, SimulationRun_Job, SimulationRun_JobMetrics, SimulationRun_JobMetrics_Conversation, SimulationRun_JobMetrics_EndReason, SimulationRun_JobMetrics_LLM, SimulationRun_JobMetrics_STT, SimulationRun_JobMetrics_TTS, SimulationRun_JobMetrics_Turn, SimulationRun_Job_FailureReason, SimulationRun_Job_Status, SimulationRun_Job_Usage, SimulationRun_List, SimulationRun_List_Request, SimulationRun_List_Response, SimulationRun_RunMetrics, SimulationRun_SamplingOptions, SimulationRun_Status, SimulationRun_Usage, SimulcastCodec, SimulcastCodecInfo, SipDTMF, SpeakerInfo, SpeakersChanged, StartEgressRequest, StopEgressRequest, StorageConfig, StoreDataBlobRequest, StoreDataBlobResponse, StreamDestination, 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, TransferSIPParticipantResponse, TrickleRequest, UnpublishDataTrackRequest, UnpublishDataTrackResponse, UpdateDataSubscription, UpdateDataSubscription_Update, 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 };