@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.
@@ -0,0 +1,653 @@
1
+ // Copyright 2026 LiveKit, Inc.
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ // AgentThread: the durable conversation between an agent and a person, across
16
+ // channels and over time. Identified by an "AT_" id. Holds a scope, attributes,
17
+ // an idle TTL and the AgentDB database created with it. Served by
18
+ // cloud-protocol's AgentThreads. The conversation inside follows thread_schema_v1.sql, shared
19
+ // by the agents framework, which writes it, and the platform, which reads it.
20
+
21
+ // @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
22
+ // @generated from file agent/livekit_agent_thread.proto (package livekit.agent, syntax proto3)
23
+ /* eslint-disable */
24
+ // @ts-nocheck
25
+
26
+ import type { BinaryReadOptions, Duration, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Timestamp } from "@bufbuild/protobuf";
27
+ import { Message, proto3 } from "@bufbuild/protobuf";
28
+ import type { ChatContext_ChatItem } from "./livekit_agent_session_pb.js";
29
+
30
+ /**
31
+ * @generated from message livekit.agent.AgentThread
32
+ */
33
+ export declare class AgentThread extends Message<AgentThread> {
34
+ constructor(data?: PartialMessage<AgentThread>);
35
+
36
+ static readonly runtime: typeof proto3;
37
+ static readonly typeName = "livekit.agent.AgentThread";
38
+ static readonly fields: FieldList;
39
+
40
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentThread;
41
+
42
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentThread;
43
+
44
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentThread;
45
+
46
+ static equals(a: AgentThread | PlainMessage<AgentThread> | undefined, b: AgentThread | PlainMessage<AgentThread> | undefined): boolean;
47
+ }
48
+
49
+ /**
50
+ * Direction of a listing. Each request documents what unset means.
51
+ *
52
+ * @generated from enum livekit.agent.AgentThread.SortOrder
53
+ */
54
+ export declare enum AgentThread_SortOrder {
55
+ /**
56
+ * @generated from enum value: SORT_ORDER_UNSPECIFIED = 0;
57
+ */
58
+ UNSPECIFIED = 0,
59
+
60
+ /**
61
+ * @generated from enum value: SORT_ORDER_ASC = 1;
62
+ */
63
+ ASC = 1,
64
+
65
+ /**
66
+ * @generated from enum value: SORT_ORDER_DESC = 2;
67
+ */
68
+ DESC = 2,
69
+ }
70
+
71
+ /**
72
+ * @generated from message livekit.agent.AgentThread.CreateRequest
73
+ */
74
+ export declare class AgentThread_CreateRequest extends Message<AgentThread_CreateRequest> {
75
+ /**
76
+ * Groups threads, e.g. by user: an application-defined value, typically the
77
+ * user's identity. An AgentThreadGrant is scoped by it.
78
+ *
79
+ * @generated from field: string scope = 1;
80
+ */
81
+ scope: string;
82
+
83
+ /**
84
+ * @generated from field: map<string, string> attributes = 2;
85
+ */
86
+ attributes: { [key: string]: string };
87
+
88
+ /**
89
+ * Unset takes the server default.
90
+ *
91
+ * @generated from field: google.protobuf.Duration idle_ttl = 3;
92
+ */
93
+ idleTtl?: Duration;
94
+
95
+ constructor(data?: PartialMessage<AgentThread_CreateRequest>);
96
+
97
+ static readonly runtime: typeof proto3;
98
+ static readonly typeName = "livekit.agent.AgentThread.CreateRequest";
99
+ static readonly fields: FieldList;
100
+
101
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentThread_CreateRequest;
102
+
103
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentThread_CreateRequest;
104
+
105
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentThread_CreateRequest;
106
+
107
+ static equals(a: AgentThread_CreateRequest | PlainMessage<AgentThread_CreateRequest> | undefined, b: AgentThread_CreateRequest | PlainMessage<AgentThread_CreateRequest> | undefined): boolean;
108
+ }
109
+
110
+ /**
111
+ * @generated from message livekit.agent.AgentThread.GetRequest
112
+ */
113
+ export declare class AgentThread_GetRequest extends Message<AgentThread_GetRequest> {
114
+ /**
115
+ * @generated from field: string thread_id = 1;
116
+ */
117
+ threadId: string;
118
+
119
+ constructor(data?: PartialMessage<AgentThread_GetRequest>);
120
+
121
+ static readonly runtime: typeof proto3;
122
+ static readonly typeName = "livekit.agent.AgentThread.GetRequest";
123
+ static readonly fields: FieldList;
124
+
125
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentThread_GetRequest;
126
+
127
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentThread_GetRequest;
128
+
129
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentThread_GetRequest;
130
+
131
+ static equals(a: AgentThread_GetRequest | PlainMessage<AgentThread_GetRequest> | undefined, b: AgentThread_GetRequest | PlainMessage<AgentThread_GetRequest> | undefined): boolean;
132
+ }
133
+
134
+ /**
135
+ * The threads of one scope, newest first.
136
+ *
137
+ * @generated from message livekit.agent.AgentThread.ListRequest
138
+ */
139
+ export declare class AgentThread_ListRequest extends Message<AgentThread_ListRequest> {
140
+ /**
141
+ * @generated from field: string scope = 1;
142
+ */
143
+ scope: string;
144
+
145
+ /**
146
+ * next_page_token of the previous ListResponse; empty for the first page.
147
+ *
148
+ * @generated from field: string page_token = 2;
149
+ */
150
+ pageToken: string;
151
+
152
+ /**
153
+ * @generated from field: int32 limit = 3;
154
+ */
155
+ limit: number;
156
+
157
+ constructor(data?: PartialMessage<AgentThread_ListRequest>);
158
+
159
+ static readonly runtime: typeof proto3;
160
+ static readonly typeName = "livekit.agent.AgentThread.ListRequest";
161
+ static readonly fields: FieldList;
162
+
163
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentThread_ListRequest;
164
+
165
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentThread_ListRequest;
166
+
167
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentThread_ListRequest;
168
+
169
+ static equals(a: AgentThread_ListRequest | PlainMessage<AgentThread_ListRequest> | undefined, b: AgentThread_ListRequest | PlainMessage<AgentThread_ListRequest> | undefined): boolean;
170
+ }
171
+
172
+ /**
173
+ * @generated from message livekit.agent.AgentThread.ListResponse
174
+ */
175
+ export declare class AgentThread_ListResponse extends Message<AgentThread_ListResponse> {
176
+ /**
177
+ * @generated from field: repeated livekit.agent.AgentThread.Thread threads = 1;
178
+ */
179
+ threads: AgentThread_Thread[];
180
+
181
+ /**
182
+ * Empty when exhausted.
183
+ *
184
+ * @generated from field: string next_page_token = 2;
185
+ */
186
+ nextPageToken: string;
187
+
188
+ constructor(data?: PartialMessage<AgentThread_ListResponse>);
189
+
190
+ static readonly runtime: typeof proto3;
191
+ static readonly typeName = "livekit.agent.AgentThread.ListResponse";
192
+ static readonly fields: FieldList;
193
+
194
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentThread_ListResponse;
195
+
196
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentThread_ListResponse;
197
+
198
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentThread_ListResponse;
199
+
200
+ static equals(a: AgentThread_ListResponse | PlainMessage<AgentThread_ListResponse> | undefined, b: AgentThread_ListResponse | PlainMessage<AgentThread_ListResponse> | undefined): boolean;
201
+ }
202
+
203
+ /**
204
+ * @generated from message livekit.agent.AgentThread.UpdateRequest
205
+ */
206
+ export declare class AgentThread_UpdateRequest extends Message<AgentThread_UpdateRequest> {
207
+ /**
208
+ * @generated from field: string thread_id = 1;
209
+ */
210
+ threadId: string;
211
+
212
+ /**
213
+ * Added to the existing attributes; an empty value deletes the entry.
214
+ *
215
+ * @generated from field: map<string, string> attributes = 2;
216
+ */
217
+ attributes: { [key: string]: string };
218
+
219
+ /**
220
+ * Every update counts as activity and pushes expires_at out by idle_ttl.
221
+ *
222
+ * @generated from field: google.protobuf.Duration idle_ttl = 3;
223
+ */
224
+ idleTtl?: Duration;
225
+
226
+ constructor(data?: PartialMessage<AgentThread_UpdateRequest>);
227
+
228
+ static readonly runtime: typeof proto3;
229
+ static readonly typeName = "livekit.agent.AgentThread.UpdateRequest";
230
+ static readonly fields: FieldList;
231
+
232
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentThread_UpdateRequest;
233
+
234
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentThread_UpdateRequest;
235
+
236
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentThread_UpdateRequest;
237
+
238
+ static equals(a: AgentThread_UpdateRequest | PlainMessage<AgentThread_UpdateRequest> | undefined, b: AgentThread_UpdateRequest | PlainMessage<AgentThread_UpdateRequest> | undefined): boolean;
239
+ }
240
+
241
+ /**
242
+ * @generated from message livekit.agent.AgentThread.DeleteRequest
243
+ */
244
+ export declare class AgentThread_DeleteRequest extends Message<AgentThread_DeleteRequest> {
245
+ /**
246
+ * @generated from field: string thread_id = 1;
247
+ */
248
+ threadId: string;
249
+
250
+ constructor(data?: PartialMessage<AgentThread_DeleteRequest>);
251
+
252
+ static readonly runtime: typeof proto3;
253
+ static readonly typeName = "livekit.agent.AgentThread.DeleteRequest";
254
+ static readonly fields: FieldList;
255
+
256
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentThread_DeleteRequest;
257
+
258
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentThread_DeleteRequest;
259
+
260
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentThread_DeleteRequest;
261
+
262
+ static equals(a: AgentThread_DeleteRequest | PlainMessage<AgentThread_DeleteRequest> | undefined, b: AgentThread_DeleteRequest | PlainMessage<AgentThread_DeleteRequest> | undefined): boolean;
263
+ }
264
+
265
+ /**
266
+ * @generated from message livekit.agent.AgentThread.DeleteResponse
267
+ */
268
+ export declare class AgentThread_DeleteResponse extends Message<AgentThread_DeleteResponse> {
269
+ constructor(data?: PartialMessage<AgentThread_DeleteResponse>);
270
+
271
+ static readonly runtime: typeof proto3;
272
+ static readonly typeName = "livekit.agent.AgentThread.DeleteResponse";
273
+ static readonly fields: FieldList;
274
+
275
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentThread_DeleteResponse;
276
+
277
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentThread_DeleteResponse;
278
+
279
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentThread_DeleteResponse;
280
+
281
+ static equals(a: AgentThread_DeleteResponse | PlainMessage<AgentThread_DeleteResponse> | undefined, b: AgentThread_DeleteResponse | PlainMessage<AgentThread_DeleteResponse> | undefined): boolean;
282
+ }
283
+
284
+ /**
285
+ * The thread's chat items, oldest first unless sort_order says otherwise.
286
+ *
287
+ * @generated from message livekit.agent.AgentThread.GetItemsRequest
288
+ */
289
+ export declare class AgentThread_GetItemsRequest extends Message<AgentThread_GetItemsRequest> {
290
+ /**
291
+ * @generated from field: string thread_id = 1;
292
+ */
293
+ threadId: string;
294
+
295
+ /**
296
+ * One agent's items; empty for every agent's.
297
+ *
298
+ * @generated from field: string agent = 2;
299
+ */
300
+ agent: string;
301
+
302
+ /**
303
+ * next_page_token of the previous GetItemsResponse; empty for the first page.
304
+ *
305
+ * @generated from field: string page_token = 3;
306
+ */
307
+ pageToken: string;
308
+
309
+ /**
310
+ * @generated from field: int32 limit = 4;
311
+ */
312
+ limit: number;
313
+
314
+ /**
315
+ * Unset or ASC is oldest first. DESC starts from the latest item and each
316
+ * next_page_token walks back through older ones.
317
+ *
318
+ * @generated from field: livekit.agent.AgentThread.SortOrder sort_order = 5;
319
+ */
320
+ sortOrder: AgentThread_SortOrder;
321
+
322
+ constructor(data?: PartialMessage<AgentThread_GetItemsRequest>);
323
+
324
+ static readonly runtime: typeof proto3;
325
+ static readonly typeName = "livekit.agent.AgentThread.GetItemsRequest";
326
+ static readonly fields: FieldList;
327
+
328
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentThread_GetItemsRequest;
329
+
330
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentThread_GetItemsRequest;
331
+
332
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentThread_GetItemsRequest;
333
+
334
+ static equals(a: AgentThread_GetItemsRequest | PlainMessage<AgentThread_GetItemsRequest> | undefined, b: AgentThread_GetItemsRequest | PlainMessage<AgentThread_GetItemsRequest> | undefined): boolean;
335
+ }
336
+
337
+ /**
338
+ * @generated from message livekit.agent.AgentThread.GetItemsResponse
339
+ */
340
+ export declare class AgentThread_GetItemsResponse extends Message<AgentThread_GetItemsResponse> {
341
+ /**
342
+ * @generated from field: repeated livekit.agent.AgentThread.Item items = 1;
343
+ */
344
+ items: AgentThread_Item[];
345
+
346
+ /**
347
+ * Empty when exhausted.
348
+ *
349
+ * @generated from field: string next_page_token = 2;
350
+ */
351
+ nextPageToken: string;
352
+
353
+ constructor(data?: PartialMessage<AgentThread_GetItemsResponse>);
354
+
355
+ static readonly runtime: typeof proto3;
356
+ static readonly typeName = "livekit.agent.AgentThread.GetItemsResponse";
357
+ static readonly fields: FieldList;
358
+
359
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentThread_GetItemsResponse;
360
+
361
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentThread_GetItemsResponse;
362
+
363
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentThread_GetItemsResponse;
364
+
365
+ static equals(a: AgentThread_GetItemsResponse | PlainMessage<AgentThread_GetItemsResponse> | undefined, b: AgentThread_GetItemsResponse | PlainMessage<AgentThread_GetItemsResponse> | undefined): boolean;
366
+ }
367
+
368
+ /**
369
+ * One chat item of an agent. Stored as the JSON of
370
+ * ChatContext.ChatItem (items.payload in thread_schema_v1.sql).
371
+ *
372
+ * @generated from message livekit.agent.AgentThread.Item
373
+ */
374
+ export declare class AgentThread_Item extends Message<AgentThread_Item> {
375
+ /**
376
+ * @generated from field: string agent = 1;
377
+ */
378
+ agent: string;
379
+
380
+ /**
381
+ * Position in the agent's history.
382
+ *
383
+ * @generated from field: int64 seq = 2;
384
+ */
385
+ seq: bigint;
386
+
387
+ /**
388
+ * The A2A message the item came from.
389
+ *
390
+ * @generated from field: string message_id = 3;
391
+ */
392
+ messageId: string;
393
+
394
+ /**
395
+ * @generated from field: livekit.agent.ChatContext.ChatItem item = 4;
396
+ */
397
+ item?: ChatContext_ChatItem;
398
+
399
+ constructor(data?: PartialMessage<AgentThread_Item>);
400
+
401
+ static readonly runtime: typeof proto3;
402
+ static readonly typeName = "livekit.agent.AgentThread.Item";
403
+ static readonly fields: FieldList;
404
+
405
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentThread_Item;
406
+
407
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentThread_Item;
408
+
409
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentThread_Item;
410
+
411
+ static equals(a: AgentThread_Item | PlainMessage<AgentThread_Item> | undefined, b: AgentThread_Item | PlainMessage<AgentThread_Item> | undefined): boolean;
412
+ }
413
+
414
+ /**
415
+ * @generated from message livekit.agent.AgentThread.Thread
416
+ */
417
+ export declare class AgentThread_Thread extends Message<AgentThread_Thread> {
418
+ /**
419
+ * @generated from field: string thread_id = 1;
420
+ */
421
+ threadId: string;
422
+
423
+ /**
424
+ * @generated from field: string scope = 2;
425
+ */
426
+ scope: string;
427
+
428
+ /**
429
+ * @generated from field: map<string, string> attributes = 3;
430
+ */
431
+ attributes: { [key: string]: string };
432
+
433
+ /**
434
+ * @generated from field: google.protobuf.Timestamp created_at = 4;
435
+ */
436
+ createdAt?: Timestamp;
437
+
438
+ /**
439
+ * @generated from field: google.protobuf.Timestamp last_active = 5;
440
+ */
441
+ lastActive?: Timestamp;
442
+
443
+ /**
444
+ * last_active + idle_ttl; every update pushes it out. The thread and its
445
+ * database are deleted once it passes.
446
+ *
447
+ * @generated from field: google.protobuf.Timestamp expires_at = 6;
448
+ */
449
+ expiresAt?: Timestamp;
450
+
451
+ /**
452
+ * @generated from field: google.protobuf.Duration idle_ttl = 7;
453
+ */
454
+ idleTtl?: Duration;
455
+
456
+ /**
457
+ * The thread's database ("DB_..."), created with the thread.
458
+ *
459
+ * @generated from field: string database_id = 8;
460
+ */
461
+ databaseId: string;
462
+
463
+ constructor(data?: PartialMessage<AgentThread_Thread>);
464
+
465
+ static readonly runtime: typeof proto3;
466
+ static readonly typeName = "livekit.agent.AgentThread.Thread";
467
+ static readonly fields: FieldList;
468
+
469
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentThread_Thread;
470
+
471
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentThread_Thread;
472
+
473
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentThread_Thread;
474
+
475
+ static equals(a: AgentThread_Thread | PlainMessage<AgentThread_Thread> | undefined, b: AgentThread_Thread | PlainMessage<AgentThread_Thread> | undefined): boolean;
476
+ }
477
+
478
+ /**
479
+ * AgentTask: background work an agent runs within a thread, such as a booking
480
+ * that takes minutes.
481
+ *
482
+ * @generated from message livekit.agent.AgentTask
483
+ */
484
+ export declare class AgentTask extends Message<AgentTask> {
485
+ constructor(data?: PartialMessage<AgentTask>);
486
+
487
+ static readonly runtime: typeof proto3;
488
+ static readonly typeName = "livekit.agent.AgentTask";
489
+ static readonly fields: FieldList;
490
+
491
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentTask;
492
+
493
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentTask;
494
+
495
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentTask;
496
+
497
+ static equals(a: AgentTask | PlainMessage<AgentTask> | undefined, b: AgentTask | PlainMessage<AgentTask> | undefined): boolean;
498
+ }
499
+
500
+ /**
501
+ * A task is never UNSPECIFIED.
502
+ *
503
+ * @generated from enum livekit.agent.AgentTask.Status
504
+ */
505
+ export declare enum AgentTask_Status {
506
+ /**
507
+ * @generated from enum value: UNSPECIFIED = 0;
508
+ */
509
+ UNSPECIFIED = 0,
510
+
511
+ /**
512
+ * @generated from enum value: RUNNING = 1;
513
+ */
514
+ RUNNING = 1,
515
+
516
+ /**
517
+ * @generated from enum value: COMPLETED = 2;
518
+ */
519
+ COMPLETED = 2,
520
+
521
+ /**
522
+ * @generated from enum value: FAILED = 3;
523
+ */
524
+ FAILED = 3,
525
+
526
+ /**
527
+ * @generated from enum value: CANCELED = 4;
528
+ */
529
+ CANCELED = 4,
530
+ }
531
+
532
+ /**
533
+ * A thread's tasks, oldest first.
534
+ *
535
+ * @generated from message livekit.agent.AgentTask.GetTasksRequest
536
+ */
537
+ export declare class AgentTask_GetTasksRequest extends Message<AgentTask_GetTasksRequest> {
538
+ /**
539
+ * @generated from field: string thread_id = 1;
540
+ */
541
+ threadId: string;
542
+
543
+ /**
544
+ * Unset for every status.
545
+ *
546
+ * @generated from field: optional livekit.agent.AgentTask.Status status = 2;
547
+ */
548
+ status?: AgentTask_Status;
549
+
550
+ /**
551
+ * next_page_token of the previous GetTasksResponse; empty for the first page.
552
+ *
553
+ * @generated from field: string page_token = 3;
554
+ */
555
+ pageToken: string;
556
+
557
+ /**
558
+ * @generated from field: int32 limit = 4;
559
+ */
560
+ limit: number;
561
+
562
+ constructor(data?: PartialMessage<AgentTask_GetTasksRequest>);
563
+
564
+ static readonly runtime: typeof proto3;
565
+ static readonly typeName = "livekit.agent.AgentTask.GetTasksRequest";
566
+ static readonly fields: FieldList;
567
+
568
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentTask_GetTasksRequest;
569
+
570
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentTask_GetTasksRequest;
571
+
572
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentTask_GetTasksRequest;
573
+
574
+ static equals(a: AgentTask_GetTasksRequest | PlainMessage<AgentTask_GetTasksRequest> | undefined, b: AgentTask_GetTasksRequest | PlainMessage<AgentTask_GetTasksRequest> | undefined): boolean;
575
+ }
576
+
577
+ /**
578
+ * @generated from message livekit.agent.AgentTask.GetTasksResponse
579
+ */
580
+ export declare class AgentTask_GetTasksResponse extends Message<AgentTask_GetTasksResponse> {
581
+ /**
582
+ * @generated from field: repeated livekit.agent.AgentTask.Task tasks = 1;
583
+ */
584
+ tasks: AgentTask_Task[];
585
+
586
+ /**
587
+ * Empty when exhausted.
588
+ *
589
+ * @generated from field: string next_page_token = 2;
590
+ */
591
+ nextPageToken: string;
592
+
593
+ constructor(data?: PartialMessage<AgentTask_GetTasksResponse>);
594
+
595
+ static readonly runtime: typeof proto3;
596
+ static readonly typeName = "livekit.agent.AgentTask.GetTasksResponse";
597
+ static readonly fields: FieldList;
598
+
599
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentTask_GetTasksResponse;
600
+
601
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentTask_GetTasksResponse;
602
+
603
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentTask_GetTasksResponse;
604
+
605
+ static equals(a: AgentTask_GetTasksResponse | PlainMessage<AgentTask_GetTasksResponse> | undefined, b: AgentTask_GetTasksResponse | PlainMessage<AgentTask_GetTasksResponse> | undefined): boolean;
606
+ }
607
+
608
+ /**
609
+ * @generated from message livekit.agent.AgentTask.Task
610
+ */
611
+ export declare class AgentTask_Task extends Message<AgentTask_Task> {
612
+ /**
613
+ * @generated from field: string task_id = 1;
614
+ */
615
+ taskId: string;
616
+
617
+ /**
618
+ * @generated from field: string thread_id = 2;
619
+ */
620
+ threadId: string;
621
+
622
+ /**
623
+ * The task's name, as the agent defines it.
624
+ *
625
+ * @generated from field: string name = 3;
626
+ */
627
+ name: string;
628
+
629
+ /**
630
+ * @generated from field: livekit.agent.AgentTask.Status status = 4;
631
+ */
632
+ status: AgentTask_Status;
633
+
634
+ /**
635
+ * @generated from field: google.protobuf.Timestamp updated_at = 5;
636
+ */
637
+ updatedAt?: Timestamp;
638
+
639
+ constructor(data?: PartialMessage<AgentTask_Task>);
640
+
641
+ static readonly runtime: typeof proto3;
642
+ static readonly typeName = "livekit.agent.AgentTask.Task";
643
+ static readonly fields: FieldList;
644
+
645
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentTask_Task;
646
+
647
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentTask_Task;
648
+
649
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentTask_Task;
650
+
651
+ static equals(a: AgentTask_Task | PlainMessage<AgentTask_Task> | undefined, b: AgentTask_Task | PlainMessage<AgentTask_Task> | undefined): boolean;
652
+ }
653
+