@livekit/protocol 1.52.0 → 1.53.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -404,6 +404,15 @@ declare class FunctionCall extends Message<FunctionCall> {
404
404
  */
405
405
  createdAt?: Timestamp;
406
406
 
407
+ /**
408
+ * Framework metadata recorded on the call, kept with the history. A delegating call records
409
+ * where the request went: lk.delegation.task_id, lk.delegation.endpoint,
410
+ * lk.delegation.transport and lk.delegation.profile.
411
+ *
412
+ * @generated from field: map<string, string> extra = 6;
413
+ */
414
+ extra: { [key: string]: string };
415
+
407
416
  constructor(data?: PartialMessage<FunctionCall>);
408
417
 
409
418
  static readonly runtime: typeof proto3;
@@ -2856,6 +2865,705 @@ declare namespace livekit_agent_session_pb_d {
2856
2865
 
2857
2866
 
2858
2867
 
2868
+ /**
2869
+ * @generated from message livekit.agent.AgentThread
2870
+ */
2871
+ declare class AgentThread extends Message<AgentThread> {
2872
+ constructor(data?: PartialMessage<AgentThread>);
2873
+
2874
+ static readonly runtime: typeof proto3;
2875
+ static readonly typeName = "livekit.agent.AgentThread";
2876
+ static readonly fields: FieldList;
2877
+
2878
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentThread;
2879
+
2880
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentThread;
2881
+
2882
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentThread;
2883
+
2884
+ static equals(a: AgentThread | PlainMessage<AgentThread> | undefined, b: AgentThread | PlainMessage<AgentThread> | undefined): boolean;
2885
+ }
2886
+
2887
+ /**
2888
+ * Direction of a listing. Each request documents what unset means.
2889
+ *
2890
+ * @generated from enum livekit.agent.AgentThread.SortOrder
2891
+ */
2892
+ declare enum AgentThread_SortOrder {
2893
+ /**
2894
+ * @generated from enum value: SORT_ORDER_UNSPECIFIED = 0;
2895
+ */
2896
+ UNSPECIFIED = 0,
2897
+
2898
+ /**
2899
+ * @generated from enum value: SORT_ORDER_ASC = 1;
2900
+ */
2901
+ ASC = 1,
2902
+
2903
+ /**
2904
+ * @generated from enum value: SORT_ORDER_DESC = 2;
2905
+ */
2906
+ DESC = 2,
2907
+ }
2908
+
2909
+ /**
2910
+ * @generated from message livekit.agent.AgentThread.CreateRequest
2911
+ */
2912
+ declare class AgentThread_CreateRequest extends Message<AgentThread_CreateRequest> {
2913
+ /**
2914
+ * Groups threads, e.g. by user: an application-defined value, typically the
2915
+ * user's identity. An AgentThreadGrant is scoped by it.
2916
+ *
2917
+ * @generated from field: string scope = 1;
2918
+ */
2919
+ scope: string;
2920
+
2921
+ /**
2922
+ * @generated from field: map<string, string> attributes = 2;
2923
+ */
2924
+ attributes: { [key: string]: string };
2925
+
2926
+ /**
2927
+ * Unset takes the server default.
2928
+ *
2929
+ * @generated from field: google.protobuf.Duration idle_ttl = 3;
2930
+ */
2931
+ idleTtl?: Duration;
2932
+
2933
+ constructor(data?: PartialMessage<AgentThread_CreateRequest>);
2934
+
2935
+ static readonly runtime: typeof proto3;
2936
+ static readonly typeName = "livekit.agent.AgentThread.CreateRequest";
2937
+ static readonly fields: FieldList;
2938
+
2939
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentThread_CreateRequest;
2940
+
2941
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentThread_CreateRequest;
2942
+
2943
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentThread_CreateRequest;
2944
+
2945
+ static equals(a: AgentThread_CreateRequest | PlainMessage<AgentThread_CreateRequest> | undefined, b: AgentThread_CreateRequest | PlainMessage<AgentThread_CreateRequest> | undefined): boolean;
2946
+ }
2947
+
2948
+ /**
2949
+ * @generated from message livekit.agent.AgentThread.GetRequest
2950
+ */
2951
+ declare class AgentThread_GetRequest extends Message<AgentThread_GetRequest> {
2952
+ /**
2953
+ * @generated from field: string thread_id = 1;
2954
+ */
2955
+ threadId: string;
2956
+
2957
+ constructor(data?: PartialMessage<AgentThread_GetRequest>);
2958
+
2959
+ static readonly runtime: typeof proto3;
2960
+ static readonly typeName = "livekit.agent.AgentThread.GetRequest";
2961
+ static readonly fields: FieldList;
2962
+
2963
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentThread_GetRequest;
2964
+
2965
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentThread_GetRequest;
2966
+
2967
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentThread_GetRequest;
2968
+
2969
+ static equals(a: AgentThread_GetRequest | PlainMessage<AgentThread_GetRequest> | undefined, b: AgentThread_GetRequest | PlainMessage<AgentThread_GetRequest> | undefined): boolean;
2970
+ }
2971
+
2972
+ /**
2973
+ * The threads of one scope, newest first.
2974
+ *
2975
+ * @generated from message livekit.agent.AgentThread.ListRequest
2976
+ */
2977
+ declare class AgentThread_ListRequest extends Message<AgentThread_ListRequest> {
2978
+ /**
2979
+ * @generated from field: string scope = 1;
2980
+ */
2981
+ scope: string;
2982
+
2983
+ /**
2984
+ * next_page_token of the previous ListResponse; empty for the first page.
2985
+ *
2986
+ * @generated from field: string page_token = 2;
2987
+ */
2988
+ pageToken: string;
2989
+
2990
+ /**
2991
+ * @generated from field: int32 limit = 3;
2992
+ */
2993
+ limit: number;
2994
+
2995
+ constructor(data?: PartialMessage<AgentThread_ListRequest>);
2996
+
2997
+ static readonly runtime: typeof proto3;
2998
+ static readonly typeName = "livekit.agent.AgentThread.ListRequest";
2999
+ static readonly fields: FieldList;
3000
+
3001
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentThread_ListRequest;
3002
+
3003
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentThread_ListRequest;
3004
+
3005
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentThread_ListRequest;
3006
+
3007
+ static equals(a: AgentThread_ListRequest | PlainMessage<AgentThread_ListRequest> | undefined, b: AgentThread_ListRequest | PlainMessage<AgentThread_ListRequest> | undefined): boolean;
3008
+ }
3009
+
3010
+ /**
3011
+ * @generated from message livekit.agent.AgentThread.ListResponse
3012
+ */
3013
+ declare class AgentThread_ListResponse extends Message<AgentThread_ListResponse> {
3014
+ /**
3015
+ * @generated from field: repeated livekit.agent.AgentThread.Thread threads = 1;
3016
+ */
3017
+ threads: AgentThread_Thread[];
3018
+
3019
+ /**
3020
+ * Empty when exhausted.
3021
+ *
3022
+ * @generated from field: string next_page_token = 2;
3023
+ */
3024
+ nextPageToken: string;
3025
+
3026
+ constructor(data?: PartialMessage<AgentThread_ListResponse>);
3027
+
3028
+ static readonly runtime: typeof proto3;
3029
+ static readonly typeName = "livekit.agent.AgentThread.ListResponse";
3030
+ static readonly fields: FieldList;
3031
+
3032
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentThread_ListResponse;
3033
+
3034
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentThread_ListResponse;
3035
+
3036
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentThread_ListResponse;
3037
+
3038
+ static equals(a: AgentThread_ListResponse | PlainMessage<AgentThread_ListResponse> | undefined, b: AgentThread_ListResponse | PlainMessage<AgentThread_ListResponse> | undefined): boolean;
3039
+ }
3040
+
3041
+ /**
3042
+ * @generated from message livekit.agent.AgentThread.UpdateRequest
3043
+ */
3044
+ declare class AgentThread_UpdateRequest extends Message<AgentThread_UpdateRequest> {
3045
+ /**
3046
+ * @generated from field: string thread_id = 1;
3047
+ */
3048
+ threadId: string;
3049
+
3050
+ /**
3051
+ * Added to the existing attributes; an empty value deletes the entry.
3052
+ *
3053
+ * @generated from field: map<string, string> attributes = 2;
3054
+ */
3055
+ attributes: { [key: string]: string };
3056
+
3057
+ /**
3058
+ * Every update counts as activity and pushes expires_at out by idle_ttl.
3059
+ *
3060
+ * @generated from field: google.protobuf.Duration idle_ttl = 3;
3061
+ */
3062
+ idleTtl?: Duration;
3063
+
3064
+ constructor(data?: PartialMessage<AgentThread_UpdateRequest>);
3065
+
3066
+ static readonly runtime: typeof proto3;
3067
+ static readonly typeName = "livekit.agent.AgentThread.UpdateRequest";
3068
+ static readonly fields: FieldList;
3069
+
3070
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentThread_UpdateRequest;
3071
+
3072
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentThread_UpdateRequest;
3073
+
3074
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentThread_UpdateRequest;
3075
+
3076
+ static equals(a: AgentThread_UpdateRequest | PlainMessage<AgentThread_UpdateRequest> | undefined, b: AgentThread_UpdateRequest | PlainMessage<AgentThread_UpdateRequest> | undefined): boolean;
3077
+ }
3078
+
3079
+ /**
3080
+ * @generated from message livekit.agent.AgentThread.DeleteRequest
3081
+ */
3082
+ declare class AgentThread_DeleteRequest extends Message<AgentThread_DeleteRequest> {
3083
+ /**
3084
+ * @generated from field: string thread_id = 1;
3085
+ */
3086
+ threadId: string;
3087
+
3088
+ constructor(data?: PartialMessage<AgentThread_DeleteRequest>);
3089
+
3090
+ static readonly runtime: typeof proto3;
3091
+ static readonly typeName = "livekit.agent.AgentThread.DeleteRequest";
3092
+ static readonly fields: FieldList;
3093
+
3094
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentThread_DeleteRequest;
3095
+
3096
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentThread_DeleteRequest;
3097
+
3098
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentThread_DeleteRequest;
3099
+
3100
+ static equals(a: AgentThread_DeleteRequest | PlainMessage<AgentThread_DeleteRequest> | undefined, b: AgentThread_DeleteRequest | PlainMessage<AgentThread_DeleteRequest> | undefined): boolean;
3101
+ }
3102
+
3103
+ /**
3104
+ * @generated from message livekit.agent.AgentThread.DeleteResponse
3105
+ */
3106
+ declare class AgentThread_DeleteResponse extends Message<AgentThread_DeleteResponse> {
3107
+ constructor(data?: PartialMessage<AgentThread_DeleteResponse>);
3108
+
3109
+ static readonly runtime: typeof proto3;
3110
+ static readonly typeName = "livekit.agent.AgentThread.DeleteResponse";
3111
+ static readonly fields: FieldList;
3112
+
3113
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentThread_DeleteResponse;
3114
+
3115
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentThread_DeleteResponse;
3116
+
3117
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentThread_DeleteResponse;
3118
+
3119
+ static equals(a: AgentThread_DeleteResponse | PlainMessage<AgentThread_DeleteResponse> | undefined, b: AgentThread_DeleteResponse | PlainMessage<AgentThread_DeleteResponse> | undefined): boolean;
3120
+ }
3121
+
3122
+ /**
3123
+ * The thread's chat items, oldest first unless sort_order says otherwise.
3124
+ *
3125
+ * @generated from message livekit.agent.AgentThread.GetItemsRequest
3126
+ */
3127
+ declare class AgentThread_GetItemsRequest extends Message<AgentThread_GetItemsRequest> {
3128
+ /**
3129
+ * @generated from field: string thread_id = 1;
3130
+ */
3131
+ threadId: string;
3132
+
3133
+ /**
3134
+ * One agent's items; empty for every agent's.
3135
+ *
3136
+ * @generated from field: string agent = 2;
3137
+ */
3138
+ agent: string;
3139
+
3140
+ /**
3141
+ * next_page_token of the previous GetItemsResponse; empty for the first page.
3142
+ *
3143
+ * @generated from field: string page_token = 3;
3144
+ */
3145
+ pageToken: string;
3146
+
3147
+ /**
3148
+ * @generated from field: int32 limit = 4;
3149
+ */
3150
+ limit: number;
3151
+
3152
+ /**
3153
+ * Unset or ASC is oldest first. DESC starts from the latest item and each
3154
+ * next_page_token walks back through older ones.
3155
+ *
3156
+ * @generated from field: livekit.agent.AgentThread.SortOrder sort_order = 5;
3157
+ */
3158
+ sortOrder: AgentThread_SortOrder;
3159
+
3160
+ constructor(data?: PartialMessage<AgentThread_GetItemsRequest>);
3161
+
3162
+ static readonly runtime: typeof proto3;
3163
+ static readonly typeName = "livekit.agent.AgentThread.GetItemsRequest";
3164
+ static readonly fields: FieldList;
3165
+
3166
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentThread_GetItemsRequest;
3167
+
3168
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentThread_GetItemsRequest;
3169
+
3170
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentThread_GetItemsRequest;
3171
+
3172
+ static equals(a: AgentThread_GetItemsRequest | PlainMessage<AgentThread_GetItemsRequest> | undefined, b: AgentThread_GetItemsRequest | PlainMessage<AgentThread_GetItemsRequest> | undefined): boolean;
3173
+ }
3174
+
3175
+ /**
3176
+ * @generated from message livekit.agent.AgentThread.GetItemsResponse
3177
+ */
3178
+ declare class AgentThread_GetItemsResponse extends Message<AgentThread_GetItemsResponse> {
3179
+ /**
3180
+ * @generated from field: repeated livekit.agent.AgentThread.Item items = 1;
3181
+ */
3182
+ items: AgentThread_Item[];
3183
+
3184
+ /**
3185
+ * Empty when exhausted.
3186
+ *
3187
+ * @generated from field: string next_page_token = 2;
3188
+ */
3189
+ nextPageToken: string;
3190
+
3191
+ constructor(data?: PartialMessage<AgentThread_GetItemsResponse>);
3192
+
3193
+ static readonly runtime: typeof proto3;
3194
+ static readonly typeName = "livekit.agent.AgentThread.GetItemsResponse";
3195
+ static readonly fields: FieldList;
3196
+
3197
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentThread_GetItemsResponse;
3198
+
3199
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentThread_GetItemsResponse;
3200
+
3201
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentThread_GetItemsResponse;
3202
+
3203
+ static equals(a: AgentThread_GetItemsResponse | PlainMessage<AgentThread_GetItemsResponse> | undefined, b: AgentThread_GetItemsResponse | PlainMessage<AgentThread_GetItemsResponse> | undefined): boolean;
3204
+ }
3205
+
3206
+ /**
3207
+ * One chat item of an agent. Stored as the JSON of
3208
+ * ChatContext.ChatItem (items.payload in thread_schema_v1.sql).
3209
+ *
3210
+ * @generated from message livekit.agent.AgentThread.Item
3211
+ */
3212
+ declare class AgentThread_Item extends Message<AgentThread_Item> {
3213
+ /**
3214
+ * @generated from field: string agent = 1;
3215
+ */
3216
+ agent: string;
3217
+
3218
+ /**
3219
+ * Position in the agent's history.
3220
+ *
3221
+ * @generated from field: int64 seq = 2;
3222
+ */
3223
+ seq: bigint;
3224
+
3225
+ /**
3226
+ * The A2A message the item came from.
3227
+ *
3228
+ * @generated from field: string message_id = 3;
3229
+ */
3230
+ messageId: string;
3231
+
3232
+ /**
3233
+ * @generated from field: livekit.agent.ChatContext.ChatItem item = 4;
3234
+ */
3235
+ item?: ChatContext_ChatItem;
3236
+
3237
+ constructor(data?: PartialMessage<AgentThread_Item>);
3238
+
3239
+ static readonly runtime: typeof proto3;
3240
+ static readonly typeName = "livekit.agent.AgentThread.Item";
3241
+ static readonly fields: FieldList;
3242
+
3243
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentThread_Item;
3244
+
3245
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentThread_Item;
3246
+
3247
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentThread_Item;
3248
+
3249
+ static equals(a: AgentThread_Item | PlainMessage<AgentThread_Item> | undefined, b: AgentThread_Item | PlainMessage<AgentThread_Item> | undefined): boolean;
3250
+ }
3251
+
3252
+ /**
3253
+ * @generated from message livekit.agent.AgentThread.Thread
3254
+ */
3255
+ declare class AgentThread_Thread extends Message<AgentThread_Thread> {
3256
+ /**
3257
+ * @generated from field: string thread_id = 1;
3258
+ */
3259
+ threadId: string;
3260
+
3261
+ /**
3262
+ * @generated from field: string scope = 2;
3263
+ */
3264
+ scope: string;
3265
+
3266
+ /**
3267
+ * @generated from field: map<string, string> attributes = 3;
3268
+ */
3269
+ attributes: { [key: string]: string };
3270
+
3271
+ /**
3272
+ * @generated from field: google.protobuf.Timestamp created_at = 4;
3273
+ */
3274
+ createdAt?: Timestamp;
3275
+
3276
+ /**
3277
+ * @generated from field: google.protobuf.Timestamp last_active = 5;
3278
+ */
3279
+ lastActive?: Timestamp;
3280
+
3281
+ /**
3282
+ * last_active + idle_ttl; every update pushes it out. The thread and its
3283
+ * database are deleted once it passes.
3284
+ *
3285
+ * @generated from field: google.protobuf.Timestamp expires_at = 6;
3286
+ */
3287
+ expiresAt?: Timestamp;
3288
+
3289
+ /**
3290
+ * @generated from field: google.protobuf.Duration idle_ttl = 7;
3291
+ */
3292
+ idleTtl?: Duration;
3293
+
3294
+ /**
3295
+ * The thread's database ("DB_..."), created with the thread.
3296
+ *
3297
+ * @generated from field: string database_id = 8;
3298
+ */
3299
+ databaseId: string;
3300
+
3301
+ constructor(data?: PartialMessage<AgentThread_Thread>);
3302
+
3303
+ static readonly runtime: typeof proto3;
3304
+ static readonly typeName = "livekit.agent.AgentThread.Thread";
3305
+ static readonly fields: FieldList;
3306
+
3307
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentThread_Thread;
3308
+
3309
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentThread_Thread;
3310
+
3311
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentThread_Thread;
3312
+
3313
+ static equals(a: AgentThread_Thread | PlainMessage<AgentThread_Thread> | undefined, b: AgentThread_Thread | PlainMessage<AgentThread_Thread> | undefined): boolean;
3314
+ }
3315
+
3316
+ /**
3317
+ * AgentTask: background work an agent runs within a thread, such as a booking
3318
+ * that takes minutes.
3319
+ *
3320
+ * @generated from message livekit.agent.AgentTask
3321
+ */
3322
+ declare class AgentTask extends Message<AgentTask> {
3323
+ constructor(data?: PartialMessage<AgentTask>);
3324
+
3325
+ static readonly runtime: typeof proto3;
3326
+ static readonly typeName = "livekit.agent.AgentTask";
3327
+ static readonly fields: FieldList;
3328
+
3329
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentTask;
3330
+
3331
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentTask;
3332
+
3333
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentTask;
3334
+
3335
+ static equals(a: AgentTask | PlainMessage<AgentTask> | undefined, b: AgentTask | PlainMessage<AgentTask> | undefined): boolean;
3336
+ }
3337
+
3338
+ /**
3339
+ * A task is never UNSPECIFIED.
3340
+ *
3341
+ * @generated from enum livekit.agent.AgentTask.Status
3342
+ */
3343
+ declare enum AgentTask_Status {
3344
+ /**
3345
+ * @generated from enum value: UNSPECIFIED = 0;
3346
+ */
3347
+ UNSPECIFIED = 0,
3348
+
3349
+ /**
3350
+ * @generated from enum value: RUNNING = 1;
3351
+ */
3352
+ RUNNING = 1,
3353
+
3354
+ /**
3355
+ * @generated from enum value: COMPLETED = 2;
3356
+ */
3357
+ COMPLETED = 2,
3358
+
3359
+ /**
3360
+ * @generated from enum value: FAILED = 3;
3361
+ */
3362
+ FAILED = 3,
3363
+
3364
+ /**
3365
+ * @generated from enum value: CANCELED = 4;
3366
+ */
3367
+ CANCELED = 4,
3368
+ }
3369
+
3370
+ /**
3371
+ * A thread's tasks, oldest first.
3372
+ *
3373
+ * @generated from message livekit.agent.AgentTask.GetTasksRequest
3374
+ */
3375
+ declare class AgentTask_GetTasksRequest extends Message<AgentTask_GetTasksRequest> {
3376
+ /**
3377
+ * @generated from field: string thread_id = 1;
3378
+ */
3379
+ threadId: string;
3380
+
3381
+ /**
3382
+ * Unset for every status.
3383
+ *
3384
+ * @generated from field: optional livekit.agent.AgentTask.Status status = 2;
3385
+ */
3386
+ status?: AgentTask_Status;
3387
+
3388
+ /**
3389
+ * next_page_token of the previous GetTasksResponse; empty for the first page.
3390
+ *
3391
+ * @generated from field: string page_token = 3;
3392
+ */
3393
+ pageToken: string;
3394
+
3395
+ /**
3396
+ * @generated from field: int32 limit = 4;
3397
+ */
3398
+ limit: number;
3399
+
3400
+ constructor(data?: PartialMessage<AgentTask_GetTasksRequest>);
3401
+
3402
+ static readonly runtime: typeof proto3;
3403
+ static readonly typeName = "livekit.agent.AgentTask.GetTasksRequest";
3404
+ static readonly fields: FieldList;
3405
+
3406
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentTask_GetTasksRequest;
3407
+
3408
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentTask_GetTasksRequest;
3409
+
3410
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentTask_GetTasksRequest;
3411
+
3412
+ static equals(a: AgentTask_GetTasksRequest | PlainMessage<AgentTask_GetTasksRequest> | undefined, b: AgentTask_GetTasksRequest | PlainMessage<AgentTask_GetTasksRequest> | undefined): boolean;
3413
+ }
3414
+
3415
+ /**
3416
+ * @generated from message livekit.agent.AgentTask.GetTasksResponse
3417
+ */
3418
+ declare class AgentTask_GetTasksResponse extends Message<AgentTask_GetTasksResponse> {
3419
+ /**
3420
+ * @generated from field: repeated livekit.agent.AgentTask.Task tasks = 1;
3421
+ */
3422
+ tasks: AgentTask_Task[];
3423
+
3424
+ /**
3425
+ * Empty when exhausted.
3426
+ *
3427
+ * @generated from field: string next_page_token = 2;
3428
+ */
3429
+ nextPageToken: string;
3430
+
3431
+ constructor(data?: PartialMessage<AgentTask_GetTasksResponse>);
3432
+
3433
+ static readonly runtime: typeof proto3;
3434
+ static readonly typeName = "livekit.agent.AgentTask.GetTasksResponse";
3435
+ static readonly fields: FieldList;
3436
+
3437
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentTask_GetTasksResponse;
3438
+
3439
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentTask_GetTasksResponse;
3440
+
3441
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentTask_GetTasksResponse;
3442
+
3443
+ static equals(a: AgentTask_GetTasksResponse | PlainMessage<AgentTask_GetTasksResponse> | undefined, b: AgentTask_GetTasksResponse | PlainMessage<AgentTask_GetTasksResponse> | undefined): boolean;
3444
+ }
3445
+
3446
+ /**
3447
+ * @generated from message livekit.agent.AgentTask.Task
3448
+ */
3449
+ declare class AgentTask_Task extends Message<AgentTask_Task> {
3450
+ /**
3451
+ * @generated from field: string task_id = 1;
3452
+ */
3453
+ taskId: string;
3454
+
3455
+ /**
3456
+ * @generated from field: string thread_id = 2;
3457
+ */
3458
+ threadId: string;
3459
+
3460
+ /**
3461
+ * The task's name, as the agent defines it.
3462
+ *
3463
+ * @generated from field: string name = 3;
3464
+ */
3465
+ name: string;
3466
+
3467
+ /**
3468
+ * @generated from field: livekit.agent.AgentTask.Status status = 4;
3469
+ */
3470
+ status: AgentTask_Status;
3471
+
3472
+ /**
3473
+ * @generated from field: google.protobuf.Timestamp updated_at = 5;
3474
+ */
3475
+ updatedAt?: Timestamp;
3476
+
3477
+ constructor(data?: PartialMessage<AgentTask_Task>);
3478
+
3479
+ static readonly runtime: typeof proto3;
3480
+ static readonly typeName = "livekit.agent.AgentTask.Task";
3481
+ static readonly fields: FieldList;
3482
+
3483
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentTask_Task;
3484
+
3485
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentTask_Task;
3486
+
3487
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentTask_Task;
3488
+
3489
+ static equals(a: AgentTask_Task | PlainMessage<AgentTask_Task> | undefined, b: AgentTask_Task | PlainMessage<AgentTask_Task> | undefined): boolean;
3490
+ }
3491
+
3492
+ type livekit_agent_thread_pb_d_AgentTask = AgentTask;
3493
+ declare const livekit_agent_thread_pb_d_AgentTask: typeof AgentTask;
3494
+ type livekit_agent_thread_pb_d_AgentTask_GetTasksRequest = AgentTask_GetTasksRequest;
3495
+ declare const livekit_agent_thread_pb_d_AgentTask_GetTasksRequest: typeof AgentTask_GetTasksRequest;
3496
+ type livekit_agent_thread_pb_d_AgentTask_GetTasksResponse = AgentTask_GetTasksResponse;
3497
+ declare const livekit_agent_thread_pb_d_AgentTask_GetTasksResponse: typeof AgentTask_GetTasksResponse;
3498
+ type livekit_agent_thread_pb_d_AgentTask_Status = AgentTask_Status;
3499
+ declare const livekit_agent_thread_pb_d_AgentTask_Status: typeof AgentTask_Status;
3500
+ type livekit_agent_thread_pb_d_AgentTask_Task = AgentTask_Task;
3501
+ declare const livekit_agent_thread_pb_d_AgentTask_Task: typeof AgentTask_Task;
3502
+ type livekit_agent_thread_pb_d_AgentThread = AgentThread;
3503
+ declare const livekit_agent_thread_pb_d_AgentThread: typeof AgentThread;
3504
+ type livekit_agent_thread_pb_d_AgentThread_CreateRequest = AgentThread_CreateRequest;
3505
+ declare const livekit_agent_thread_pb_d_AgentThread_CreateRequest: typeof AgentThread_CreateRequest;
3506
+ type livekit_agent_thread_pb_d_AgentThread_DeleteRequest = AgentThread_DeleteRequest;
3507
+ declare const livekit_agent_thread_pb_d_AgentThread_DeleteRequest: typeof AgentThread_DeleteRequest;
3508
+ type livekit_agent_thread_pb_d_AgentThread_DeleteResponse = AgentThread_DeleteResponse;
3509
+ declare const livekit_agent_thread_pb_d_AgentThread_DeleteResponse: typeof AgentThread_DeleteResponse;
3510
+ type livekit_agent_thread_pb_d_AgentThread_GetItemsRequest = AgentThread_GetItemsRequest;
3511
+ declare const livekit_agent_thread_pb_d_AgentThread_GetItemsRequest: typeof AgentThread_GetItemsRequest;
3512
+ type livekit_agent_thread_pb_d_AgentThread_GetItemsResponse = AgentThread_GetItemsResponse;
3513
+ declare const livekit_agent_thread_pb_d_AgentThread_GetItemsResponse: typeof AgentThread_GetItemsResponse;
3514
+ type livekit_agent_thread_pb_d_AgentThread_GetRequest = AgentThread_GetRequest;
3515
+ declare const livekit_agent_thread_pb_d_AgentThread_GetRequest: typeof AgentThread_GetRequest;
3516
+ type livekit_agent_thread_pb_d_AgentThread_Item = AgentThread_Item;
3517
+ declare const livekit_agent_thread_pb_d_AgentThread_Item: typeof AgentThread_Item;
3518
+ type livekit_agent_thread_pb_d_AgentThread_ListRequest = AgentThread_ListRequest;
3519
+ declare const livekit_agent_thread_pb_d_AgentThread_ListRequest: typeof AgentThread_ListRequest;
3520
+ type livekit_agent_thread_pb_d_AgentThread_ListResponse = AgentThread_ListResponse;
3521
+ declare const livekit_agent_thread_pb_d_AgentThread_ListResponse: typeof AgentThread_ListResponse;
3522
+ type livekit_agent_thread_pb_d_AgentThread_SortOrder = AgentThread_SortOrder;
3523
+ declare const livekit_agent_thread_pb_d_AgentThread_SortOrder: typeof AgentThread_SortOrder;
3524
+ type livekit_agent_thread_pb_d_AgentThread_Thread = AgentThread_Thread;
3525
+ declare const livekit_agent_thread_pb_d_AgentThread_Thread: typeof AgentThread_Thread;
3526
+ type livekit_agent_thread_pb_d_AgentThread_UpdateRequest = AgentThread_UpdateRequest;
3527
+ declare const livekit_agent_thread_pb_d_AgentThread_UpdateRequest: typeof AgentThread_UpdateRequest;
3528
+ declare namespace livekit_agent_thread_pb_d {
3529
+ export {
3530
+ livekit_agent_thread_pb_d_AgentTask as AgentTask,
3531
+ livekit_agent_thread_pb_d_AgentTask_GetTasksRequest as AgentTask_GetTasksRequest,
3532
+ livekit_agent_thread_pb_d_AgentTask_GetTasksResponse as AgentTask_GetTasksResponse,
3533
+ livekit_agent_thread_pb_d_AgentTask_Status as AgentTask_Status,
3534
+ livekit_agent_thread_pb_d_AgentTask_Task as AgentTask_Task,
3535
+ livekit_agent_thread_pb_d_AgentThread as AgentThread,
3536
+ livekit_agent_thread_pb_d_AgentThread_CreateRequest as AgentThread_CreateRequest,
3537
+ livekit_agent_thread_pb_d_AgentThread_DeleteRequest as AgentThread_DeleteRequest,
3538
+ livekit_agent_thread_pb_d_AgentThread_DeleteResponse as AgentThread_DeleteResponse,
3539
+ livekit_agent_thread_pb_d_AgentThread_GetItemsRequest as AgentThread_GetItemsRequest,
3540
+ livekit_agent_thread_pb_d_AgentThread_GetItemsResponse as AgentThread_GetItemsResponse,
3541
+ livekit_agent_thread_pb_d_AgentThread_GetRequest as AgentThread_GetRequest,
3542
+ livekit_agent_thread_pb_d_AgentThread_Item as AgentThread_Item,
3543
+ livekit_agent_thread_pb_d_AgentThread_ListRequest as AgentThread_ListRequest,
3544
+ livekit_agent_thread_pb_d_AgentThread_ListResponse as AgentThread_ListResponse,
3545
+ livekit_agent_thread_pb_d_AgentThread_SortOrder as AgentThread_SortOrder,
3546
+ livekit_agent_thread_pb_d_AgentThread_Thread as AgentThread_Thread,
3547
+ livekit_agent_thread_pb_d_AgentThread_UpdateRequest as AgentThread_UpdateRequest,
3548
+ };
3549
+ }
3550
+
3551
+ // Copyright 2026 LiveKit, Inc.
3552
+ //
3553
+ // Licensed under the Apache License, Version 2.0 (the "License");
3554
+ // you may not use this file except in compliance with the License.
3555
+ // You may obtain a copy of the License at
3556
+ //
3557
+ // http://www.apache.org/licenses/LICENSE-2.0
3558
+ //
3559
+ // Unless required by applicable law or agreed to in writing, software
3560
+ // distributed under the License is distributed on an "AS IS" BASIS,
3561
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3562
+ // See the License for the specific language governing permissions and
3563
+ // limitations under the License.
3564
+
3565
+
3566
+
2859
3567
  /**
2860
3568
  * @generated from enum livekit.agent.AudioEncoding
2861
3569
  */
@@ -5076,9 +5784,19 @@ declare enum DataTrackExtensionID {
5076
5784
  DTEI_INVALID = 0,
5077
5785
 
5078
5786
  /**
5079
- * @generated from enum value: DTEI_PARTICIPANT_SID = 1;
5787
+ * @generated from enum value: DTEI_E2EE = 1;
5080
5788
  */
5081
- DTEI_PARTICIPANT_SID = 1,
5789
+ DTEI_E2EE = 1,
5790
+
5791
+ /**
5792
+ * @generated from enum value: DTEI_USER_TIMESTAMP = 2;
5793
+ */
5794
+ DTEI_USER_TIMESTAMP = 2,
5795
+
5796
+ /**
5797
+ * @generated from enum value: DTEI_PARTICIPANT_SID = 255;
5798
+ */
5799
+ DTEI_PARTICIPANT_SID = 255,
5082
5800
  }
5083
5801
 
5084
5802
  /**
@@ -8259,12 +8977,32 @@ declare class RTPStats extends Message<RTPStats> {
8259
8977
  rebasedReportDrift?: RTPDrift;
8260
8978
 
8261
8979
  /**
8262
- * NEXT_ID: 48
8263
- *
8264
8980
  * @generated from field: livekit.RTPDrift received_report_drift = 47;
8265
8981
  */
8266
8982
  receivedReportDrift?: RTPDrift;
8267
8983
 
8984
+ /**
8985
+ * @generated from field: uint32 fec_packets = 48;
8986
+ */
8987
+ fecPackets: number;
8988
+
8989
+ /**
8990
+ * @generated from field: uint64 fec_bytes = 49;
8991
+ */
8992
+ fecBytes: bigint;
8993
+
8994
+ /**
8995
+ * @generated from field: uint32 fec_packets_discarded = 50;
8996
+ */
8997
+ fecPacketsDiscarded: number;
8998
+
8999
+ /**
9000
+ * NEXT_ID: 52
9001
+ *
9002
+ * @generated from field: uint32 fec_packets_recovered = 51;
9003
+ */
9004
+ fecPacketsRecovered: number;
9005
+
8268
9006
  constructor(data?: PartialMessage<RTPStats>);
8269
9007
 
8270
9008
  static readonly runtime: typeof proto3;
@@ -8382,23 +9120,57 @@ declare class RTPForwarderState extends Message<RTPForwarderState> {
8382
9120
  } | { case: undefined; value?: undefined };
8383
9121
 
8384
9122
  /**
8385
- * @generated from field: repeated livekit.RTCPSenderReportState sender_report_state = 8;
9123
+ * @generated from field: repeated livekit.RTCPSenderReportState sender_report_state = 8;
9124
+ */
9125
+ senderReportState: RTCPSenderReportState[];
9126
+
9127
+ /**
9128
+ * @generated from field: livekit.DependencyDescriptorForwarderState dependency_descriptor_forwarder = 9;
9129
+ */
9130
+ dependencyDescriptorForwarder?: DependencyDescriptorForwarderState;
9131
+
9132
+ constructor(data?: PartialMessage<RTPForwarderState>);
9133
+
9134
+ static readonly runtime: typeof proto3;
9135
+ static readonly typeName = "livekit.RTPForwarderState";
9136
+ static readonly fields: FieldList;
9137
+
9138
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RTPForwarderState;
9139
+
9140
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RTPForwarderState;
9141
+
9142
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RTPForwarderState;
9143
+
9144
+ static equals(a: RTPForwarderState | PlainMessage<RTPForwarderState> | undefined, b: RTPForwarderState | PlainMessage<RTPForwarderState> | undefined): boolean;
9145
+ }
9146
+
9147
+ /**
9148
+ * State of a forwarder that writes the dependency descriptor for the subscriber, so
9149
+ * its frame numbers continue on a migrated subscriber.
9150
+ *
9151
+ * @generated from message livekit.DependencyDescriptorForwarderState
9152
+ */
9153
+ declare class DependencyDescriptorForwarderState extends Message<DependencyDescriptorForwarderState> {
9154
+ /**
9155
+ * highest extended frame number sent to the subscriber
9156
+ *
9157
+ * @generated from field: uint64 ext_last_frame_number = 1;
8386
9158
  */
8387
- senderReportState: RTCPSenderReportState[];
9159
+ extLastFrameNumber: bigint;
8388
9160
 
8389
- constructor(data?: PartialMessage<RTPForwarderState>);
9161
+ constructor(data?: PartialMessage<DependencyDescriptorForwarderState>);
8390
9162
 
8391
9163
  static readonly runtime: typeof proto3;
8392
- static readonly typeName = "livekit.RTPForwarderState";
9164
+ static readonly typeName = "livekit.DependencyDescriptorForwarderState";
8393
9165
  static readonly fields: FieldList;
8394
9166
 
8395
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RTPForwarderState;
9167
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DependencyDescriptorForwarderState;
8396
9168
 
8397
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RTPForwarderState;
9169
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DependencyDescriptorForwarderState;
8398
9170
 
8399
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RTPForwarderState;
9171
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DependencyDescriptorForwarderState;
8400
9172
 
8401
- static equals(a: RTPForwarderState | PlainMessage<RTPForwarderState> | undefined, b: RTPForwarderState | PlainMessage<RTPForwarderState> | undefined): boolean;
9173
+ static equals(a: DependencyDescriptorForwarderState | PlainMessage<DependencyDescriptorForwarderState> | undefined, b: DependencyDescriptorForwarderState | PlainMessage<DependencyDescriptorForwarderState> | undefined): boolean;
8402
9174
  }
8403
9175
 
8404
9176
  /**
@@ -9305,6 +10077,15 @@ declare class ServerMessage extends Message<ServerMessage> {
9305
10077
  */
9306
10078
  value: WorkerPong;
9307
10079
  case: "pong";
10080
+ } | {
10081
+ /**
10082
+ * the server is draining this control connection: re-register elsewhere,
10083
+ * in-flight agent HTTP streams run to completion
10084
+ *
10085
+ * @generated from field: livekit.AgentHttp.GoAway go_away = 6;
10086
+ */
10087
+ value: AgentHttp_GoAway;
10088
+ case: "goAway";
9308
10089
  } | { case: undefined; value?: undefined };
9309
10090
 
9310
10091
  constructor(data?: PartialMessage<ServerMessage>);
@@ -9424,15 +10205,11 @@ declare class RegisterWorkerRequest extends Message<RegisterWorkerRequest> {
9424
10205
  agentName: string;
9425
10206
 
9426
10207
  /**
9427
- * string worker_id = 2;
9428
- *
9429
10208
  * @generated from field: string version = 3;
9430
10209
  */
9431
10210
  version: string;
9432
10211
 
9433
10212
  /**
9434
- * string name = 4 [deprecated = true];
9435
- *
9436
10213
  * @generated from field: uint32 ping_interval = 5;
9437
10214
  */
9438
10215
  pingInterval: number;
@@ -9452,6 +10229,29 @@ declare class RegisterWorkerRequest extends Message<RegisterWorkerRequest> {
9452
10229
  */
9453
10230
  deployment: string;
9454
10231
 
10232
+ /**
10233
+ * HTTP endpoints this worker serves through the data plane, in route order.
10234
+ * Empty means the worker exposes no endpoints and needs no data connections.
10235
+ *
10236
+ * @generated from field: repeated livekit.AgentHttp.AgentEndpoint endpoints = 10;
10237
+ */
10238
+ endpoints: AgentHttp_AgentEndpoint[];
10239
+
10240
+ /**
10241
+ * random per process; a re-registration with a new instance_id supersedes the
10242
+ * previous epoch and closes its remaining connections
10243
+ *
10244
+ * @generated from field: string instance_id = 11;
10245
+ */
10246
+ instanceId: string;
10247
+
10248
+ /**
10249
+ * highest data-plane protocol version the worker supports; 0 = unsupported
10250
+ *
10251
+ * @generated from field: uint32 endpoint_protocol = 12;
10252
+ */
10253
+ endpointProtocol: number;
10254
+
9455
10255
  constructor(data?: PartialMessage<RegisterWorkerRequest>);
9456
10256
 
9457
10257
  static readonly runtime: typeof proto3;
@@ -9481,6 +10281,13 @@ declare class RegisterWorkerResponse extends Message<RegisterWorkerResponse> {
9481
10281
  */
9482
10282
  serverInfo?: ServerInfo;
9483
10283
 
10284
+ /**
10285
+ * present iff the registration carried endpoints and the server supports the data plane
10286
+ *
10287
+ * @generated from field: livekit.AgentHttp.AgentEndpointSettings endpoint_settings = 4;
10288
+ */
10289
+ endpointSettings?: AgentHttp_AgentEndpointSettings;
10290
+
9484
10291
  constructor(data?: PartialMessage<RegisterWorkerResponse>);
9485
10292
 
9486
10293
  static readonly runtime: typeof proto3;
@@ -9663,8 +10470,6 @@ declare class UpdateWorkerStatus extends Message<UpdateWorkerStatus> {
9663
10470
  status?: WorkerStatus;
9664
10471
 
9665
10472
  /**
9666
- * optional string metadata = 2 [deprecated=true];
9667
- *
9668
10473
  * @generated from field: float load = 3;
9669
10474
  */
9670
10475
  load: number;
@@ -9674,6 +10479,21 @@ declare class UpdateWorkerStatus extends Message<UpdateWorkerStatus> {
9674
10479
  */
9675
10480
  jobCount: number;
9676
10481
 
10482
+ /**
10483
+ * worker wants no new streams; existing streams run to completion
10484
+ *
10485
+ * @generated from field: bool draining = 5;
10486
+ */
10487
+ draining: boolean;
10488
+
10489
+ /**
10490
+ * monotonic per registration; status updates may interleave across connections
10491
+ * and a stale report must not regress newer state
10492
+ *
10493
+ * @generated from field: uint64 seq = 6;
10494
+ */
10495
+ seq: bigint;
10496
+
9677
10497
  constructor(data?: PartialMessage<UpdateWorkerStatus>);
9678
10498
 
9679
10499
  static readonly runtime: typeof proto3;
@@ -9747,6 +10567,318 @@ declare class JobTermination extends Message<JobTermination> {
9747
10567
  static equals(a: JobTermination | PlainMessage<JobTermination> | undefined, b: JobTermination | PlainMessage<JobTermination> | undefined): boolean;
9748
10568
  }
9749
10569
 
10570
+ /**
10571
+ * ----- agent HTTP endpoints data plane -----
10572
+ *
10573
+ * AgentHttp namespaces the data plane: workers expose HTTP endpoints served at
10574
+ * /agents/{agent_name}/{deployment}/{path} without binding any local listener.
10575
+ * The worker opens ONE WebTransport (QUIC) session to /agent that carries both
10576
+ * its control stream (the same WorkerMessage/ServerMessage exchange as the
10577
+ * WebSocket control connection, length-delimited) and every HTTP exchange: the
10578
+ * node opens one bidirectional QUIC stream per request. QUIC provides the
10579
+ * multiplexing and per-stream flow control, so there is no credit accounting
10580
+ * and no attach handshake.
10581
+ *
10582
+ * Each exchange stream is:
10583
+ *
10584
+ * [len:u32be][StreamPreamble] the only LiveKit framing
10585
+ * [ ... opaque bytes ... ] one HTTP/1.1 exchange, to FIN or RESET_STREAM
10586
+ *
10587
+ * After the preamble the stream is byte-transparent: the node writes a
10588
+ * canonical HTTP/1.1 request and the worker replies with an HTTP/1.1 response,
10589
+ * each parsed by whatever HTTP implementation the side already has. A WebSocket
10590
+ * upgrade is therefore an ordinary request whose response is a 101, after which
10591
+ * the stream is a byte pipe. The protocol evolves by version negotiation at
10592
+ * registration, so the preamble carries no version of its own.
10593
+ *
10594
+ * Bodies use ordinary HTTP/1.1 framing, Content-Length or chunked, and are
10595
+ * unbounded: a body may be many gigabytes and must be streamed. Request and
10596
+ * response size limits are policy for the layer above.
10597
+ *
10598
+ * How one direction ends:
10599
+ *
10600
+ * success end of message per the body's own framing, then FIN.
10601
+ * failed mid-body chunked trailer fields x-lk-completion and x-lk-error,
10602
+ * in band, so the outcome cannot race the bytes it
10603
+ * describes.
10604
+ * failed before any RESET_STREAM carrying an HttpStreamResetCode, sound
10605
+ * bytes only here, where nothing is in flight.
10606
+ *
10607
+ * FIN before the body's own framing says it is complete is truncation, and a
10608
+ * receiver must surface it as such.
10609
+ *
10610
+ * The x-lk- header prefix is reserved for this signalling in both directions.
10611
+ * A node strips it from client-supplied request headers, so a client cannot
10612
+ * forge one, and strips it from responses, so it never reaches the end client.
10613
+ *
10614
+ * @generated from message livekit.AgentHttp
10615
+ */
10616
+ declare class AgentHttp extends Message<AgentHttp> {
10617
+ constructor(data?: PartialMessage<AgentHttp>);
10618
+
10619
+ static readonly runtime: typeof proto3;
10620
+ static readonly typeName = "livekit.AgentHttp";
10621
+ static readonly fields: FieldList;
10622
+
10623
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentHttp;
10624
+
10625
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentHttp;
10626
+
10627
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentHttp;
10628
+
10629
+ static equals(a: AgentHttp | PlainMessage<AgentHttp> | undefined, b: AgentHttp | PlainMessage<AgentHttp> | undefined): boolean;
10630
+ }
10631
+
10632
+ /**
10633
+ * @generated from enum livekit.AgentHttp.AgentEndpointKind
10634
+ */
10635
+ declare enum AgentHttp_AgentEndpointKind {
10636
+ /**
10637
+ * @generated from enum value: AEK_HTTP = 0;
10638
+ */
10639
+ AEK_HTTP = 0,
10640
+
10641
+ /**
10642
+ * reserved for future text-mode endpoints
10643
+ *
10644
+ * @generated from enum value: AEK_TEXT = 1;
10645
+ */
10646
+ AEK_TEXT = 1,
10647
+ }
10648
+
10649
+ /**
10650
+ * why a stream was reset before any HTTP bytes flowed. This travels as the
10651
+ * QUIC RESET_STREAM / STOP_SENDING error code, so it is a number with no room
10652
+ * for detail: the reason string is logged by the side that reset and joined
10653
+ * to this by request_id. An outcome after bytes have flowed travels in
10654
+ * trailers instead, where it cannot race them.
10655
+ *
10656
+ * @generated from enum livekit.AgentHttp.HttpStreamResetCode
10657
+ */
10658
+ declare enum AgentHttp_HttpStreamResetCode {
10659
+ /**
10660
+ * no information. The ordinary cancel code, sent whenever a stream is torn
10661
+ * down without a specific outcome, so it must stay the zero value and must
10662
+ * not imply that anything was or was not applied.
10663
+ *
10664
+ * @generated from enum value: HSR_ABORT = 0;
10665
+ */
10666
+ HSR_ABORT = 0,
10667
+
10668
+ /**
10669
+ * the worker aborted before any application code observed the request, so
10670
+ * nothing was applied and the exchange is safe to retry. Requires that the
10671
+ * application was never entered; a 404 it returned is an ordinary response.
10672
+ *
10673
+ * @generated from enum value: HSR_REFUSED = 1;
10674
+ */
10675
+ HSR_REFUSED = 1,
10676
+
10677
+ /**
10678
+ * the application was entered and then failed before producing a response
10679
+ * head; side effects may already have happened, so this is not safe to
10680
+ * retry.
10681
+ *
10682
+ * @generated from enum value: HSR_INTERNAL = 2;
10683
+ */
10684
+ HSR_INTERNAL = 2,
10685
+
10686
+ /**
10687
+ * the deadline elapsed before a response head was produced
10688
+ *
10689
+ * @generated from enum value: HSR_TIMEOUT = 3;
10690
+ */
10691
+ HSR_TIMEOUT = 3,
10692
+
10693
+ /**
10694
+ * the peer's bytes were not valid HTTP/1.1
10695
+ *
10696
+ * @generated from enum value: HSR_PROTOCOL = 4;
10697
+ */
10698
+ HSR_PROTOCOL = 4,
10699
+ }
10700
+
10701
+ /**
10702
+ * @generated from message livekit.AgentHttp.AgentEndpoint
10703
+ */
10704
+ declare class AgentHttp_AgentEndpoint extends Message<AgentHttp_AgentEndpoint> {
10705
+ /**
10706
+ * starlette-style path template rooted at '/': {name} (one segment, default),
10707
+ * {name:int}, {name:float}, {name:uuid} (constrained single segments),
10708
+ * {name:path} (multi-segment). Custom converters are rejected.
10709
+ *
10710
+ * @generated from field: string path = 1;
10711
+ */
10712
+ path: string;
10713
+
10714
+ /**
10715
+ * uppercase, exactly as the application routes them (FastAPI does not imply
10716
+ * HEAD from GET)
10717
+ *
10718
+ * @generated from field: repeated string methods = 2;
10719
+ */
10720
+ methods: string[];
10721
+
10722
+ /**
10723
+ * @generated from field: livekit.AgentHttp.AgentEndpointKind kind = 3;
10724
+ */
10725
+ kind: AgentHttp_AgentEndpointKind;
10726
+
10727
+ /**
10728
+ * reachable without a project token
10729
+ *
10730
+ * @generated from field: bool public = 4;
10731
+ */
10732
+ public: boolean;
10733
+
10734
+ constructor(data?: PartialMessage<AgentHttp_AgentEndpoint>);
10735
+
10736
+ static readonly runtime: typeof proto3;
10737
+ static readonly typeName = "livekit.AgentHttp.AgentEndpoint";
10738
+ static readonly fields: FieldList;
10739
+
10740
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentHttp_AgentEndpoint;
10741
+
10742
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentHttp_AgentEndpoint;
10743
+
10744
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentHttp_AgentEndpoint;
10745
+
10746
+ static equals(a: AgentHttp_AgentEndpoint | PlainMessage<AgentHttp_AgentEndpoint> | undefined, b: AgentHttp_AgentEndpoint | PlainMessage<AgentHttp_AgentEndpoint> | undefined): boolean;
10747
+ }
10748
+
10749
+ /**
10750
+ * registration-level settings negotiated on the control connection, returned
10751
+ * in RegisterWorkerResponse when the worker declares endpoints and the server
10752
+ * supports the data plane.
10753
+ *
10754
+ * @generated from message livekit.AgentHttp.AgentEndpointSettings
10755
+ */
10756
+ declare class AgentHttp_AgentEndpointSettings extends Message<AgentHttp_AgentEndpointSettings> {
10757
+ /**
10758
+ * the negotiated data-plane protocol version; the worker speaks exactly this
10759
+ * or closes the session
10760
+ *
10761
+ * @generated from field: uint32 protocol = 1;
10762
+ */
10763
+ protocol: number;
10764
+
10765
+ constructor(data?: PartialMessage<AgentHttp_AgentEndpointSettings>);
10766
+
10767
+ static readonly runtime: typeof proto3;
10768
+ static readonly typeName = "livekit.AgentHttp.AgentEndpointSettings";
10769
+ static readonly fields: FieldList;
10770
+
10771
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentHttp_AgentEndpointSettings;
10772
+
10773
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentHttp_AgentEndpointSettings;
10774
+
10775
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentHttp_AgentEndpointSettings;
10776
+
10777
+ static equals(a: AgentHttp_AgentEndpointSettings | PlainMessage<AgentHttp_AgentEndpointSettings> | undefined, b: AgentHttp_AgentEndpointSettings | PlainMessage<AgentHttp_AgentEndpointSettings> | undefined): boolean;
10778
+ }
10779
+
10780
+ /**
10781
+ * the first thing on every exchange stream, node -> worker. It carries only
10782
+ * what the worker cannot derive from the HTTP bytes that follow and what it
10783
+ * must not infer from client-supplied headers - identity above all.
10784
+ *
10785
+ * @generated from message livekit.AgentHttp.StreamPreamble
10786
+ */
10787
+ declare class AgentHttp_StreamPreamble extends Message<AgentHttp_StreamPreamble> {
10788
+ /**
10789
+ * what the bytes after this preamble are. A field rather than a framing
10790
+ * tag, so a new stream semantic costs no new mechanism.
10791
+ *
10792
+ * @generated from field: livekit.AgentHttp.AgentEndpointKind kind = 1;
10793
+ */
10794
+ kind: AgentHttp_AgentEndpointKind;
10795
+
10796
+ /**
10797
+ * @generated from field: string request_id = 2;
10798
+ */
10799
+ requestId: string;
10800
+
10801
+ /**
10802
+ * the caller holds agent-endpoint call permission for this agent and
10803
+ * deployment. Always true on a non-public route.
10804
+ *
10805
+ * @generated from field: bool authorized = 3;
10806
+ */
10807
+ authorized: boolean;
10808
+
10809
+ /**
10810
+ * the manifest template that matched, e.g. "/items/{id}"
10811
+ *
10812
+ * @generated from field: string route = 4;
10813
+ */
10814
+ route: string;
10815
+
10816
+ /**
10817
+ * relative, because node and worker clocks are not synchronized. 0 imposes
10818
+ * no deadline.
10819
+ *
10820
+ * @generated from field: uint32 timeout_ms = 5;
10821
+ */
10822
+ timeoutMs: number;
10823
+
10824
+ /**
10825
+ * end client address, host only
10826
+ *
10827
+ * @generated from field: string client_addr = 6;
10828
+ */
10829
+ clientAddr: string;
10830
+
10831
+ /**
10832
+ * "http" or "https" as the end client saw it; not derivable worker-side
10833
+ *
10834
+ * NEXT_ID: 8
10835
+ *
10836
+ * @generated from field: string scheme = 7;
10837
+ */
10838
+ scheme: string;
10839
+
10840
+ constructor(data?: PartialMessage<AgentHttp_StreamPreamble>);
10841
+
10842
+ static readonly runtime: typeof proto3;
10843
+ static readonly typeName = "livekit.AgentHttp.StreamPreamble";
10844
+ static readonly fields: FieldList;
10845
+
10846
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentHttp_StreamPreamble;
10847
+
10848
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentHttp_StreamPreamble;
10849
+
10850
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentHttp_StreamPreamble;
10851
+
10852
+ static equals(a: AgentHttp_StreamPreamble | PlainMessage<AgentHttp_StreamPreamble> | undefined, b: AgentHttp_StreamPreamble | PlainMessage<AgentHttp_StreamPreamble> | undefined): boolean;
10853
+ }
10854
+
10855
+ /**
10856
+ * the server is draining: the worker should re-register elsewhere; in-flight
10857
+ * HTTP exchanges run to completion
10858
+ *
10859
+ * @generated from message livekit.AgentHttp.GoAway
10860
+ */
10861
+ declare class AgentHttp_GoAway extends Message<AgentHttp_GoAway> {
10862
+ /**
10863
+ * @generated from field: string reason = 1;
10864
+ */
10865
+ reason: string;
10866
+
10867
+ constructor(data?: PartialMessage<AgentHttp_GoAway>);
10868
+
10869
+ static readonly runtime: typeof proto3;
10870
+ static readonly typeName = "livekit.AgentHttp.GoAway";
10871
+ static readonly fields: FieldList;
10872
+
10873
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentHttp_GoAway;
10874
+
10875
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentHttp_GoAway;
10876
+
10877
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentHttp_GoAway;
10878
+
10879
+ static equals(a: AgentHttp_GoAway | PlainMessage<AgentHttp_GoAway> | undefined, b: AgentHttp_GoAway | PlainMessage<AgentHttp_GoAway> | undefined): boolean;
10880
+ }
10881
+
9750
10882
  // Copyright 2023 LiveKit, Inc.
9751
10883
  //
9752
10884
  // Licensed under the Apache License, Version 2.0 (the "License");
@@ -10359,6 +11491,13 @@ declare class SimulationRun extends Message<SimulationRun> {
10359
11491
  */
10360
11492
  ci?: SimulationRun_CI;
10361
11493
 
11494
+ /**
11495
+ * Absent when the run ran each scenario once and required it to pass.
11496
+ *
11497
+ * @generated from field: optional livekit.SimulationRun.SamplingOptions sampling = 23;
11498
+ */
11499
+ sampling?: SimulationRun_SamplingOptions;
11500
+
10362
11501
  constructor(data?: PartialMessage<SimulationRun>);
10363
11502
 
10364
11503
  static readonly runtime: typeof proto3;
@@ -10485,6 +11624,22 @@ declare class SimulationRun_Job extends Message<SimulationRun_Job> {
10485
11624
  */
10486
11625
  metrics?: SimulationRun_JobMetrics;
10487
11626
 
11627
+ /**
11628
+ * The Scenario.id this job ran; empty for generated runs. Every sample
11629
+ * of one scenario shares it, so a run's jobs group back into scenarios.
11630
+ *
11631
+ * @generated from field: string scenario_id = 15;
11632
+ */
11633
+ scenarioId: string;
11634
+
11635
+ /**
11636
+ * 1-based sample of that scenario within the run; always 1 when the run's
11637
+ * samples is 1.
11638
+ *
11639
+ * @generated from field: int32 sample = 16;
11640
+ */
11641
+ sample: number;
11642
+
10488
11643
  constructor(data?: PartialMessage<SimulationRun_Job>);
10489
11644
 
10490
11645
  static readonly runtime: typeof proto3;
@@ -11295,6 +12450,45 @@ declare class SimulationRun_CI extends Message<SimulationRun_CI> {
11295
12450
  static equals(a: SimulationRun_CI | PlainMessage<SimulationRun_CI> | undefined, b: SimulationRun_CI | PlainMessage<SimulationRun_CI> | undefined): boolean;
11296
12451
  }
11297
12452
 
12453
+ /**
12454
+ * Runs each scenario more than once, so a flaky sample is distinguishable
12455
+ * from a broken scenario. Both fields are required when it is present.
12456
+ *
12457
+ * @generated from message livekit.SimulationRun.SamplingOptions
12458
+ */
12459
+ declare class SimulationRun_SamplingOptions extends Message<SimulationRun_SamplingOptions> {
12460
+ /**
12461
+ * Samples per scenario, > 1. The run holds scenarios × samples jobs,
12462
+ * subject to the usual job cap.
12463
+ *
12464
+ * @generated from field: int32 samples = 1;
12465
+ */
12466
+ samples: number;
12467
+
12468
+ /**
12469
+ * The share of a scenario's samples that must pass for that scenario to
12470
+ * pass, 0-1. A scenario needs round(rate × samples) of them, so 1
12471
+ * requires every sample and 0.67 of 3 requires 2.
12472
+ *
12473
+ * @generated from field: double pass_rate = 2;
12474
+ */
12475
+ passRate: number;
12476
+
12477
+ constructor(data?: PartialMessage<SimulationRun_SamplingOptions>);
12478
+
12479
+ static readonly runtime: typeof proto3;
12480
+ static readonly typeName = "livekit.SimulationRun.SamplingOptions";
12481
+ static readonly fields: FieldList;
12482
+
12483
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SimulationRun_SamplingOptions;
12484
+
12485
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SimulationRun_SamplingOptions;
12486
+
12487
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SimulationRun_SamplingOptions;
12488
+
12489
+ static equals(a: SimulationRun_SamplingOptions | PlainMessage<SimulationRun_SamplingOptions> | undefined, b: SimulationRun_SamplingOptions | PlainMessage<SimulationRun_SamplingOptions> | undefined): boolean;
12490
+ }
12491
+
11298
12492
  /**
11299
12493
  * @generated from message livekit.SimulationRun.Create
11300
12494
  */
@@ -11383,6 +12577,15 @@ declare class SimulationRun_Create_Request extends Message<SimulationRun_Create_
11383
12577
  */
11384
12578
  ci?: SimulationRun_CI;
11385
12579
 
12580
+ /**
12581
+ * Absent runs each scenario once and requires it to pass. Requires
12582
+ * scenario_group. The run fails if any scenario fails; pass@k and
12583
+ * pass^k report over scenarios and neither gates.
12584
+ *
12585
+ * @generated from field: optional livekit.SimulationRun.SamplingOptions sampling = 14;
12586
+ */
12587
+ sampling?: SimulationRun_SamplingOptions;
12588
+
11386
12589
  constructor(data?: PartialMessage<SimulationRun_Create_Request>);
11387
12590
 
11388
12591
  static readonly runtime: typeof proto3;
@@ -17965,6 +19168,13 @@ declare class SIPInboundTrunkInfo extends Message<SIPInboundTrunkInfo> {
17965
19168
  */
17966
19169
  ringingTimeout?: Duration;
17967
19170
 
19171
+ /**
19172
+ * SIP status code if ringing_timeout elapses. Unset means using system default.
19173
+ *
19174
+ * @generated from field: livekit.SIPStatusCode ringing_timeout_status = 21;
19175
+ */
19176
+ ringingTimeoutStatus: SIPStatusCode;
19177
+
17968
19178
  /**
17969
19179
  * Max call duration.
17970
19180
  *
@@ -21731,6 +22941,31 @@ declare enum StreamState {
21731
22941
  PAUSED = 1,
21732
22942
  }
21733
22943
 
22944
+ /**
22945
+ * @generated from enum livekit.NegotiatedDataChannelID
22946
+ */
22947
+ declare enum NegotiatedDataChannelID {
22948
+ /**
22949
+ * @generated from enum value: NDCI_INVALID = 0;
22950
+ */
22951
+ NDCI_INVALID = 0,
22952
+
22953
+ /**
22954
+ * @generated from enum value: NDCI_RELIABLE = 100;
22955
+ */
22956
+ NDCI_RELIABLE = 100,
22957
+
22958
+ /**
22959
+ * @generated from enum value: NDCI_LOSSY = 101;
22960
+ */
22961
+ NDCI_LOSSY = 101,
22962
+
22963
+ /**
22964
+ * @generated from enum value: NDCI_DATA_TRACK = 102;
22965
+ */
22966
+ NDCI_DATA_TRACK = 102,
22967
+ }
22968
+
21734
22969
  /**
21735
22970
  * @generated from enum livekit.CandidateProtocol
21736
22971
  */
@@ -25350,4 +26585,4 @@ declare class WebhookEvent extends Message<WebhookEvent> {
25350
26585
 
25351
26586
  declare const version: string;
25352
26587
 
25353
- 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_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 };
26588
+ 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, 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, 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_SamplingOptions, 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 };