@alis-build/lf-a2a-v1 1.9.0 → 1.11.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/lf/a2a/v1/a2a_pb.d.ts +1109 -1
- package/lf/a2a/v1/a2a_pb.js +9 -1
- package/package.json +1 -1
package/lf/a2a/v1/a2a_pb.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Older protoc compilers don't understand edition yet.
|
|
2
|
+
|
|
3
|
+
// @generated by protoc-gen-es v2.16.0 with parameter "target=js+dts,import_extension=js,json_types=true"
|
|
2
4
|
// @generated from file lf/a2a/v1/a2a.proto (package lf.a2a.v1, syntax proto3)
|
|
3
5
|
/* eslint-disable */
|
|
4
6
|
|
|
@@ -12,50 +14,88 @@ import type { EmptySchema, StructJson, Timestamp, TimestampJson, Value, ValueJso
|
|
|
12
14
|
export declare const file_lf_a2a_v1_a2a: GenFile;
|
|
13
15
|
|
|
14
16
|
/**
|
|
17
|
+
* Configuration of a send message request.
|
|
18
|
+
*
|
|
15
19
|
* @generated from message lf.a2a.v1.SendMessageConfiguration
|
|
16
20
|
*/
|
|
17
21
|
export declare type SendMessageConfiguration = Message$1<"lf.a2a.v1.SendMessageConfiguration"> & {
|
|
18
22
|
/**
|
|
23
|
+
* A list of media types the client is prepared to accept for response parts.
|
|
24
|
+
* Agents SHOULD use this to tailor their output.
|
|
25
|
+
*
|
|
19
26
|
* @generated from field: repeated string accepted_output_modes = 1;
|
|
20
27
|
*/
|
|
21
28
|
acceptedOutputModes: string[];
|
|
22
29
|
|
|
23
30
|
/**
|
|
31
|
+
* Configuration for the agent to send push notifications for task updates.
|
|
32
|
+
* Task id should be empty when sending this configuration in a `SendMessage` request.
|
|
33
|
+
*
|
|
24
34
|
* @generated from field: lf.a2a.v1.TaskPushNotificationConfig task_push_notification_config = 2;
|
|
25
35
|
*/
|
|
26
36
|
taskPushNotificationConfig?: TaskPushNotificationConfig | undefined;
|
|
27
37
|
|
|
28
38
|
/**
|
|
39
|
+
* The maximum number of most recent messages from the task's history to retrieve in
|
|
40
|
+
* the response. An unset value means the client does not impose any limit. A
|
|
41
|
+
* value of zero is a request to not include any messages. The server MUST NOT
|
|
42
|
+
* return more messages than the provided value, but MAY apply a lower limit.
|
|
43
|
+
*
|
|
29
44
|
* @generated from field: optional int32 history_length = 3;
|
|
30
45
|
*/
|
|
31
46
|
historyLength?: number | undefined;
|
|
32
47
|
|
|
33
48
|
/**
|
|
49
|
+
* If `true`, the operation returns immediately after creating the task,
|
|
50
|
+
* even if processing is still in progress.
|
|
51
|
+
* If `false` (default), the operation MUST wait until the task reaches a
|
|
52
|
+
* terminal (`COMPLETED`, `FAILED`, `CANCELED`, `REJECTED`) or interrupted
|
|
53
|
+
* (`INPUT_REQUIRED`, `AUTH_REQUIRED`) state before returning.
|
|
54
|
+
*
|
|
34
55
|
* @generated from field: bool return_immediately = 4;
|
|
35
56
|
*/
|
|
36
57
|
returnImmediately: boolean;
|
|
37
58
|
};
|
|
38
59
|
|
|
39
60
|
/**
|
|
61
|
+
* Configuration of a send message request.
|
|
62
|
+
*
|
|
40
63
|
* @generated from message lf.a2a.v1.SendMessageConfiguration
|
|
41
64
|
*/
|
|
42
65
|
export declare type SendMessageConfigurationJson = {
|
|
43
66
|
/**
|
|
67
|
+
* A list of media types the client is prepared to accept for response parts.
|
|
68
|
+
* Agents SHOULD use this to tailor their output.
|
|
69
|
+
*
|
|
44
70
|
* @generated from field: repeated string accepted_output_modes = 1;
|
|
45
71
|
*/
|
|
46
72
|
acceptedOutputModes?: string[];
|
|
47
73
|
|
|
48
74
|
/**
|
|
75
|
+
* Configuration for the agent to send push notifications for task updates.
|
|
76
|
+
* Task id should be empty when sending this configuration in a `SendMessage` request.
|
|
77
|
+
*
|
|
49
78
|
* @generated from field: lf.a2a.v1.TaskPushNotificationConfig task_push_notification_config = 2;
|
|
50
79
|
*/
|
|
51
80
|
taskPushNotificationConfig?: TaskPushNotificationConfigJson;
|
|
52
81
|
|
|
53
82
|
/**
|
|
83
|
+
* The maximum number of most recent messages from the task's history to retrieve in
|
|
84
|
+
* the response. An unset value means the client does not impose any limit. A
|
|
85
|
+
* value of zero is a request to not include any messages. The server MUST NOT
|
|
86
|
+
* return more messages than the provided value, but MAY apply a lower limit.
|
|
87
|
+
*
|
|
54
88
|
* @generated from field: optional int32 history_length = 3;
|
|
55
89
|
*/
|
|
56
90
|
historyLength?: number;
|
|
57
91
|
|
|
58
92
|
/**
|
|
93
|
+
* If `true`, the operation returns immediately after creating the task,
|
|
94
|
+
* even if processing is still in progress.
|
|
95
|
+
* If `false` (default), the operation MUST wait until the task reaches a
|
|
96
|
+
* terminal (`COMPLETED`, `FAILED`, `CANCELED`, `REJECTED`) or interrupted
|
|
97
|
+
* (`INPUT_REQUIRED`, `AUTH_REQUIRED`) state before returning.
|
|
98
|
+
*
|
|
59
99
|
* @generated from field: bool return_immediately = 4;
|
|
60
100
|
*/
|
|
61
101
|
returnImmediately?: boolean;
|
|
@@ -68,70 +108,112 @@ export declare type SendMessageConfigurationJson = {
|
|
|
68
108
|
export declare const SendMessageConfigurationSchema: GenMessage<SendMessageConfiguration, {jsonType: SendMessageConfigurationJson}>;
|
|
69
109
|
|
|
70
110
|
/**
|
|
111
|
+
* `Task` is the core unit of action for A2A. It has a current status
|
|
112
|
+
* and when results are created for the task they are stored in the
|
|
113
|
+
* artifact. If there are multiple turns for a task, these are stored in
|
|
114
|
+
* history.
|
|
115
|
+
*
|
|
71
116
|
* @generated from message lf.a2a.v1.Task
|
|
72
117
|
*/
|
|
73
118
|
export declare type Task = Message$1<"lf.a2a.v1.Task"> & {
|
|
74
119
|
/**
|
|
120
|
+
* Unique identifier (e.g. UUID) for the task, generated by the server for a
|
|
121
|
+
* new task.
|
|
122
|
+
*
|
|
75
123
|
* @generated from field: string id = 1;
|
|
76
124
|
*/
|
|
77
125
|
id: string;
|
|
78
126
|
|
|
79
127
|
/**
|
|
128
|
+
* Unique identifier (e.g. UUID) for the contextual collection of interactions
|
|
129
|
+
* (tasks and messages).
|
|
130
|
+
*
|
|
80
131
|
* @generated from field: string context_id = 2;
|
|
81
132
|
*/
|
|
82
133
|
contextId: string;
|
|
83
134
|
|
|
84
135
|
/**
|
|
136
|
+
* The current status of a `Task`, including `state` and a `message`.
|
|
137
|
+
*
|
|
85
138
|
* @generated from field: lf.a2a.v1.TaskStatus status = 3;
|
|
86
139
|
*/
|
|
87
140
|
status?: TaskStatus | undefined;
|
|
88
141
|
|
|
89
142
|
/**
|
|
143
|
+
* A set of output artifacts for a `Task`.
|
|
144
|
+
*
|
|
90
145
|
* @generated from field: repeated lf.a2a.v1.Artifact artifacts = 4;
|
|
91
146
|
*/
|
|
92
147
|
artifacts: Artifact[];
|
|
93
148
|
|
|
94
149
|
/**
|
|
150
|
+
* protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
|
|
151
|
+
* The history of interactions from a `Task`.
|
|
152
|
+
*
|
|
95
153
|
* @generated from field: repeated lf.a2a.v1.Message history = 5;
|
|
96
154
|
*/
|
|
97
155
|
history: Message[];
|
|
98
156
|
|
|
99
157
|
/**
|
|
158
|
+
* protolint:enable REPEATED_FIELD_NAMES_PLURALIZED
|
|
159
|
+
* A key/value object to store custom metadata about a task.
|
|
160
|
+
*
|
|
100
161
|
* @generated from field: google.protobuf.Struct metadata = 6;
|
|
101
162
|
*/
|
|
102
163
|
metadata?: JsonObject | undefined;
|
|
103
164
|
};
|
|
104
165
|
|
|
105
166
|
/**
|
|
167
|
+
* `Task` is the core unit of action for A2A. It has a current status
|
|
168
|
+
* and when results are created for the task they are stored in the
|
|
169
|
+
* artifact. If there are multiple turns for a task, these are stored in
|
|
170
|
+
* history.
|
|
171
|
+
*
|
|
106
172
|
* @generated from message lf.a2a.v1.Task
|
|
107
173
|
*/
|
|
108
174
|
export declare type TaskJson = {
|
|
109
175
|
/**
|
|
176
|
+
* Unique identifier (e.g. UUID) for the task, generated by the server for a
|
|
177
|
+
* new task.
|
|
178
|
+
*
|
|
110
179
|
* @generated from field: string id = 1;
|
|
111
180
|
*/
|
|
112
181
|
id?: string;
|
|
113
182
|
|
|
114
183
|
/**
|
|
184
|
+
* Unique identifier (e.g. UUID) for the contextual collection of interactions
|
|
185
|
+
* (tasks and messages).
|
|
186
|
+
*
|
|
115
187
|
* @generated from field: string context_id = 2;
|
|
116
188
|
*/
|
|
117
189
|
contextId?: string;
|
|
118
190
|
|
|
119
191
|
/**
|
|
192
|
+
* The current status of a `Task`, including `state` and a `message`.
|
|
193
|
+
*
|
|
120
194
|
* @generated from field: lf.a2a.v1.TaskStatus status = 3;
|
|
121
195
|
*/
|
|
122
196
|
status?: TaskStatusJson;
|
|
123
197
|
|
|
124
198
|
/**
|
|
199
|
+
* A set of output artifacts for a `Task`.
|
|
200
|
+
*
|
|
125
201
|
* @generated from field: repeated lf.a2a.v1.Artifact artifacts = 4;
|
|
126
202
|
*/
|
|
127
203
|
artifacts?: ArtifactJson[];
|
|
128
204
|
|
|
129
205
|
/**
|
|
206
|
+
* protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
|
|
207
|
+
* The history of interactions from a `Task`.
|
|
208
|
+
*
|
|
130
209
|
* @generated from field: repeated lf.a2a.v1.Message history = 5;
|
|
131
210
|
*/
|
|
132
211
|
history?: MessageJson[];
|
|
133
212
|
|
|
134
213
|
/**
|
|
214
|
+
* protolint:enable REPEATED_FIELD_NAMES_PLURALIZED
|
|
215
|
+
* A key/value object to store custom metadata about a task.
|
|
216
|
+
*
|
|
135
217
|
* @generated from field: google.protobuf.Struct metadata = 6;
|
|
136
218
|
*/
|
|
137
219
|
metadata?: StructJson;
|
|
@@ -144,40 +226,58 @@ export declare type TaskJson = {
|
|
|
144
226
|
export declare const TaskSchema: GenMessage<Task, {jsonType: TaskJson}>;
|
|
145
227
|
|
|
146
228
|
/**
|
|
229
|
+
* A container for the status of a task
|
|
230
|
+
*
|
|
147
231
|
* @generated from message lf.a2a.v1.TaskStatus
|
|
148
232
|
*/
|
|
149
233
|
export declare type TaskStatus = Message$1<"lf.a2a.v1.TaskStatus"> & {
|
|
150
234
|
/**
|
|
235
|
+
* The current state of this task.
|
|
236
|
+
*
|
|
151
237
|
* @generated from field: lf.a2a.v1.TaskState state = 1;
|
|
152
238
|
*/
|
|
153
239
|
state: TaskState;
|
|
154
240
|
|
|
155
241
|
/**
|
|
242
|
+
* A message associated with the status.
|
|
243
|
+
*
|
|
156
244
|
* @generated from field: lf.a2a.v1.Message message = 2;
|
|
157
245
|
*/
|
|
158
246
|
message?: Message | undefined;
|
|
159
247
|
|
|
160
248
|
/**
|
|
249
|
+
* ISO 8601 Timestamp when the status was recorded.
|
|
250
|
+
* Example: "2023-10-27T10:00:00Z"
|
|
251
|
+
*
|
|
161
252
|
* @generated from field: google.protobuf.Timestamp timestamp = 3;
|
|
162
253
|
*/
|
|
163
254
|
timestamp?: Timestamp | undefined;
|
|
164
255
|
};
|
|
165
256
|
|
|
166
257
|
/**
|
|
258
|
+
* A container for the status of a task
|
|
259
|
+
*
|
|
167
260
|
* @generated from message lf.a2a.v1.TaskStatus
|
|
168
261
|
*/
|
|
169
262
|
export declare type TaskStatusJson = {
|
|
170
263
|
/**
|
|
264
|
+
* The current state of this task.
|
|
265
|
+
*
|
|
171
266
|
* @generated from field: lf.a2a.v1.TaskState state = 1;
|
|
172
267
|
*/
|
|
173
268
|
state?: TaskStateJson;
|
|
174
269
|
|
|
175
270
|
/**
|
|
271
|
+
* A message associated with the status.
|
|
272
|
+
*
|
|
176
273
|
* @generated from field: lf.a2a.v1.Message message = 2;
|
|
177
274
|
*/
|
|
178
275
|
message?: MessageJson;
|
|
179
276
|
|
|
180
277
|
/**
|
|
278
|
+
* ISO 8601 Timestamp when the status was recorded.
|
|
279
|
+
* Example: "2023-10-27T10:00:00Z"
|
|
280
|
+
*
|
|
181
281
|
* @generated from field: google.protobuf.Timestamp timestamp = 3;
|
|
182
282
|
*/
|
|
183
283
|
timestamp?: TimestampJson;
|
|
@@ -190,6 +290,10 @@ export declare type TaskStatusJson = {
|
|
|
190
290
|
export declare const TaskStatusSchema: GenMessage<TaskStatus, {jsonType: TaskStatusJson}>;
|
|
191
291
|
|
|
192
292
|
/**
|
|
293
|
+
* `Part` represents a container for a section of communication content.
|
|
294
|
+
* Parts can be purely textual, some sort of file (image, video, etc) or
|
|
295
|
+
* a structured data blob (i.e. JSON).
|
|
296
|
+
*
|
|
193
297
|
* @generated from message lf.a2a.v1.Part
|
|
194
298
|
*/
|
|
195
299
|
export declare type Part = Message$1<"lf.a2a.v1.Part"> & {
|
|
@@ -198,24 +302,32 @@ export declare type Part = Message$1<"lf.a2a.v1.Part"> & {
|
|
|
198
302
|
*/
|
|
199
303
|
content: {
|
|
200
304
|
/**
|
|
305
|
+
* The string content of the `text` part.
|
|
306
|
+
*
|
|
201
307
|
* @generated from field: string text = 1;
|
|
202
308
|
*/
|
|
203
309
|
value: string;
|
|
204
310
|
case: "text";
|
|
205
311
|
} | {
|
|
206
312
|
/**
|
|
313
|
+
* The `raw` byte content of a file. In JSON serialization, this is encoded as a base64 string.
|
|
314
|
+
*
|
|
207
315
|
* @generated from field: bytes raw = 2;
|
|
208
316
|
*/
|
|
209
317
|
value: Uint8Array;
|
|
210
318
|
case: "raw";
|
|
211
319
|
} | {
|
|
212
320
|
/**
|
|
321
|
+
* A `url` pointing to the file's content.
|
|
322
|
+
*
|
|
213
323
|
* @generated from field: string url = 3;
|
|
214
324
|
*/
|
|
215
325
|
value: string;
|
|
216
326
|
case: "url";
|
|
217
327
|
} | {
|
|
218
328
|
/**
|
|
329
|
+
* Arbitrary structured `data` as a JSON value (object, array, string, number, boolean, or null).
|
|
330
|
+
*
|
|
219
331
|
* @generated from field: google.protobuf.Value data = 4;
|
|
220
332
|
*/
|
|
221
333
|
value: Value;
|
|
@@ -223,56 +335,82 @@ export declare type Part = Message$1<"lf.a2a.v1.Part"> & {
|
|
|
223
335
|
} | { case: undefined; value?: undefined };
|
|
224
336
|
|
|
225
337
|
/**
|
|
338
|
+
* Optional. metadata associated with this part.
|
|
339
|
+
*
|
|
226
340
|
* @generated from field: google.protobuf.Struct metadata = 5;
|
|
227
341
|
*/
|
|
228
342
|
metadata?: JsonObject | undefined;
|
|
229
343
|
|
|
230
344
|
/**
|
|
345
|
+
* An optional `filename` for the file (e.g., "document.pdf").
|
|
346
|
+
*
|
|
231
347
|
* @generated from field: string filename = 6;
|
|
232
348
|
*/
|
|
233
349
|
filename: string;
|
|
234
350
|
|
|
235
351
|
/**
|
|
352
|
+
* The `media_type` (MIME type) of the part content (e.g., "text/plain", "application/json", "image/png").
|
|
353
|
+
* This field is available for all part types.
|
|
354
|
+
*
|
|
236
355
|
* @generated from field: string media_type = 7;
|
|
237
356
|
*/
|
|
238
357
|
mediaType: string;
|
|
239
358
|
};
|
|
240
359
|
|
|
241
360
|
/**
|
|
361
|
+
* `Part` represents a container for a section of communication content.
|
|
362
|
+
* Parts can be purely textual, some sort of file (image, video, etc) or
|
|
363
|
+
* a structured data blob (i.e. JSON).
|
|
364
|
+
*
|
|
242
365
|
* @generated from message lf.a2a.v1.Part
|
|
243
366
|
*/
|
|
244
367
|
export declare type PartJson = {
|
|
245
368
|
/**
|
|
369
|
+
* The string content of the `text` part.
|
|
370
|
+
*
|
|
246
371
|
* @generated from field: string text = 1;
|
|
247
372
|
*/
|
|
248
373
|
text?: string;
|
|
249
374
|
|
|
250
375
|
/**
|
|
376
|
+
* The `raw` byte content of a file. In JSON serialization, this is encoded as a base64 string.
|
|
377
|
+
*
|
|
251
378
|
* @generated from field: bytes raw = 2;
|
|
252
379
|
*/
|
|
253
380
|
raw?: string;
|
|
254
381
|
|
|
255
382
|
/**
|
|
383
|
+
* A `url` pointing to the file's content.
|
|
384
|
+
*
|
|
256
385
|
* @generated from field: string url = 3;
|
|
257
386
|
*/
|
|
258
387
|
url?: string;
|
|
259
388
|
|
|
260
389
|
/**
|
|
390
|
+
* Arbitrary structured `data` as a JSON value (object, array, string, number, boolean, or null).
|
|
391
|
+
*
|
|
261
392
|
* @generated from field: google.protobuf.Value data = 4;
|
|
262
393
|
*/
|
|
263
394
|
data?: ValueJson;
|
|
264
395
|
|
|
265
396
|
/**
|
|
397
|
+
* Optional. metadata associated with this part.
|
|
398
|
+
*
|
|
266
399
|
* @generated from field: google.protobuf.Struct metadata = 5;
|
|
267
400
|
*/
|
|
268
401
|
metadata?: StructJson;
|
|
269
402
|
|
|
270
403
|
/**
|
|
404
|
+
* An optional `filename` for the file (e.g., "document.pdf").
|
|
405
|
+
*
|
|
271
406
|
* @generated from field: string filename = 6;
|
|
272
407
|
*/
|
|
273
408
|
filename?: string;
|
|
274
409
|
|
|
275
410
|
/**
|
|
411
|
+
* The `media_type` (MIME type) of the part content (e.g., "text/plain", "application/json", "image/png").
|
|
412
|
+
* This field is available for all part types.
|
|
413
|
+
*
|
|
276
414
|
* @generated from field: string media_type = 7;
|
|
277
415
|
*/
|
|
278
416
|
mediaType?: string;
|
|
@@ -285,90 +423,136 @@ export declare type PartJson = {
|
|
|
285
423
|
export declare const PartSchema: GenMessage<Part, {jsonType: PartJson}>;
|
|
286
424
|
|
|
287
425
|
/**
|
|
426
|
+
* `Message` is one unit of communication between client and server. It can be
|
|
427
|
+
* associated with a context and/or a task. For server messages, `context_id` must
|
|
428
|
+
* be provided, and `task_id` only if a task was created. For client messages, both
|
|
429
|
+
* fields are optional, with the caveat that if both are provided, they have to
|
|
430
|
+
* match (the `context_id` has to be the one that is set on the task). If only
|
|
431
|
+
* `task_id` is provided, the server will infer `context_id` from it.
|
|
432
|
+
*
|
|
288
433
|
* @generated from message lf.a2a.v1.Message
|
|
289
434
|
*/
|
|
290
435
|
export declare type Message = Message$1<"lf.a2a.v1.Message"> & {
|
|
291
436
|
/**
|
|
437
|
+
* The unique identifier (e.g. UUID) of the message. This is created by the message creator.
|
|
438
|
+
*
|
|
292
439
|
* @generated from field: string message_id = 1;
|
|
293
440
|
*/
|
|
294
441
|
messageId: string;
|
|
295
442
|
|
|
296
443
|
/**
|
|
444
|
+
* Optional. The context id of the message. If set, the message will be associated with the given context.
|
|
445
|
+
*
|
|
297
446
|
* @generated from field: string context_id = 2;
|
|
298
447
|
*/
|
|
299
448
|
contextId: string;
|
|
300
449
|
|
|
301
450
|
/**
|
|
451
|
+
* Optional. The task id of the message. If set, the message will be associated with the given task.
|
|
452
|
+
*
|
|
302
453
|
* @generated from field: string task_id = 3;
|
|
303
454
|
*/
|
|
304
455
|
taskId: string;
|
|
305
456
|
|
|
306
457
|
/**
|
|
458
|
+
* Identifies the sender of the message.
|
|
459
|
+
*
|
|
307
460
|
* @generated from field: lf.a2a.v1.Role role = 4;
|
|
308
461
|
*/
|
|
309
462
|
role: Role;
|
|
310
463
|
|
|
311
464
|
/**
|
|
465
|
+
* Parts is the container of the message content.
|
|
466
|
+
*
|
|
312
467
|
* @generated from field: repeated lf.a2a.v1.Part parts = 5;
|
|
313
468
|
*/
|
|
314
469
|
parts: Part[];
|
|
315
470
|
|
|
316
471
|
/**
|
|
472
|
+
* Optional. Any metadata to provide along with the message.
|
|
473
|
+
*
|
|
317
474
|
* @generated from field: google.protobuf.Struct metadata = 6;
|
|
318
475
|
*/
|
|
319
476
|
metadata?: JsonObject | undefined;
|
|
320
477
|
|
|
321
478
|
/**
|
|
479
|
+
* The URIs of extensions that are present or contributed to this Message.
|
|
480
|
+
*
|
|
322
481
|
* @generated from field: repeated string extensions = 7;
|
|
323
482
|
*/
|
|
324
483
|
extensions: string[];
|
|
325
484
|
|
|
326
485
|
/**
|
|
486
|
+
* A list of task IDs that this message references for additional context.
|
|
487
|
+
*
|
|
327
488
|
* @generated from field: repeated string reference_task_ids = 8;
|
|
328
489
|
*/
|
|
329
490
|
referenceTaskIds: string[];
|
|
330
491
|
};
|
|
331
492
|
|
|
332
493
|
/**
|
|
494
|
+
* `Message` is one unit of communication between client and server. It can be
|
|
495
|
+
* associated with a context and/or a task. For server messages, `context_id` must
|
|
496
|
+
* be provided, and `task_id` only if a task was created. For client messages, both
|
|
497
|
+
* fields are optional, with the caveat that if both are provided, they have to
|
|
498
|
+
* match (the `context_id` has to be the one that is set on the task). If only
|
|
499
|
+
* `task_id` is provided, the server will infer `context_id` from it.
|
|
500
|
+
*
|
|
333
501
|
* @generated from message lf.a2a.v1.Message
|
|
334
502
|
*/
|
|
335
503
|
export declare type MessageJson = {
|
|
336
504
|
/**
|
|
505
|
+
* The unique identifier (e.g. UUID) of the message. This is created by the message creator.
|
|
506
|
+
*
|
|
337
507
|
* @generated from field: string message_id = 1;
|
|
338
508
|
*/
|
|
339
509
|
messageId?: string;
|
|
340
510
|
|
|
341
511
|
/**
|
|
512
|
+
* Optional. The context id of the message. If set, the message will be associated with the given context.
|
|
513
|
+
*
|
|
342
514
|
* @generated from field: string context_id = 2;
|
|
343
515
|
*/
|
|
344
516
|
contextId?: string;
|
|
345
517
|
|
|
346
518
|
/**
|
|
519
|
+
* Optional. The task id of the message. If set, the message will be associated with the given task.
|
|
520
|
+
*
|
|
347
521
|
* @generated from field: string task_id = 3;
|
|
348
522
|
*/
|
|
349
523
|
taskId?: string;
|
|
350
524
|
|
|
351
525
|
/**
|
|
526
|
+
* Identifies the sender of the message.
|
|
527
|
+
*
|
|
352
528
|
* @generated from field: lf.a2a.v1.Role role = 4;
|
|
353
529
|
*/
|
|
354
530
|
role?: RoleJson;
|
|
355
531
|
|
|
356
532
|
/**
|
|
533
|
+
* Parts is the container of the message content.
|
|
534
|
+
*
|
|
357
535
|
* @generated from field: repeated lf.a2a.v1.Part parts = 5;
|
|
358
536
|
*/
|
|
359
537
|
parts?: PartJson[];
|
|
360
538
|
|
|
361
539
|
/**
|
|
540
|
+
* Optional. Any metadata to provide along with the message.
|
|
541
|
+
*
|
|
362
542
|
* @generated from field: google.protobuf.Struct metadata = 6;
|
|
363
543
|
*/
|
|
364
544
|
metadata?: StructJson;
|
|
365
545
|
|
|
366
546
|
/**
|
|
547
|
+
* The URIs of extensions that are present or contributed to this Message.
|
|
548
|
+
*
|
|
367
549
|
* @generated from field: repeated string extensions = 7;
|
|
368
550
|
*/
|
|
369
551
|
extensions?: string[];
|
|
370
552
|
|
|
371
553
|
/**
|
|
554
|
+
* A list of task IDs that this message references for additional context.
|
|
555
|
+
*
|
|
372
556
|
* @generated from field: repeated string reference_task_ids = 8;
|
|
373
557
|
*/
|
|
374
558
|
referenceTaskIds?: string[];
|
|
@@ -381,70 +565,98 @@ export declare type MessageJson = {
|
|
|
381
565
|
export declare const MessageSchema: GenMessage<Message, {jsonType: MessageJson}>;
|
|
382
566
|
|
|
383
567
|
/**
|
|
568
|
+
* Artifacts represent task outputs.
|
|
569
|
+
*
|
|
384
570
|
* @generated from message lf.a2a.v1.Artifact
|
|
385
571
|
*/
|
|
386
572
|
export declare type Artifact = Message$1<"lf.a2a.v1.Artifact"> & {
|
|
387
573
|
/**
|
|
574
|
+
* Unique identifier (e.g. UUID) for the artifact. It must be unique within a task.
|
|
575
|
+
*
|
|
388
576
|
* @generated from field: string artifact_id = 1;
|
|
389
577
|
*/
|
|
390
578
|
artifactId: string;
|
|
391
579
|
|
|
392
580
|
/**
|
|
581
|
+
* A human readable name for the artifact.
|
|
582
|
+
*
|
|
393
583
|
* @generated from field: string name = 2;
|
|
394
584
|
*/
|
|
395
585
|
name: string;
|
|
396
586
|
|
|
397
587
|
/**
|
|
588
|
+
* Optional. A human readable description of the artifact.
|
|
589
|
+
*
|
|
398
590
|
* @generated from field: string description = 3;
|
|
399
591
|
*/
|
|
400
592
|
description: string;
|
|
401
593
|
|
|
402
594
|
/**
|
|
595
|
+
* The content of the artifact. Must contain at least one part.
|
|
596
|
+
*
|
|
403
597
|
* @generated from field: repeated lf.a2a.v1.Part parts = 4;
|
|
404
598
|
*/
|
|
405
599
|
parts: Part[];
|
|
406
600
|
|
|
407
601
|
/**
|
|
602
|
+
* Optional. Metadata included with the artifact.
|
|
603
|
+
*
|
|
408
604
|
* @generated from field: google.protobuf.Struct metadata = 5;
|
|
409
605
|
*/
|
|
410
606
|
metadata?: JsonObject | undefined;
|
|
411
607
|
|
|
412
608
|
/**
|
|
609
|
+
* The URIs of extensions that are present or contributed to this Artifact.
|
|
610
|
+
*
|
|
413
611
|
* @generated from field: repeated string extensions = 6;
|
|
414
612
|
*/
|
|
415
613
|
extensions: string[];
|
|
416
614
|
};
|
|
417
615
|
|
|
418
616
|
/**
|
|
617
|
+
* Artifacts represent task outputs.
|
|
618
|
+
*
|
|
419
619
|
* @generated from message lf.a2a.v1.Artifact
|
|
420
620
|
*/
|
|
421
621
|
export declare type ArtifactJson = {
|
|
422
622
|
/**
|
|
623
|
+
* Unique identifier (e.g. UUID) for the artifact. It must be unique within a task.
|
|
624
|
+
*
|
|
423
625
|
* @generated from field: string artifact_id = 1;
|
|
424
626
|
*/
|
|
425
627
|
artifactId?: string;
|
|
426
628
|
|
|
427
629
|
/**
|
|
630
|
+
* A human readable name for the artifact.
|
|
631
|
+
*
|
|
428
632
|
* @generated from field: string name = 2;
|
|
429
633
|
*/
|
|
430
634
|
name?: string;
|
|
431
635
|
|
|
432
636
|
/**
|
|
637
|
+
* Optional. A human readable description of the artifact.
|
|
638
|
+
*
|
|
433
639
|
* @generated from field: string description = 3;
|
|
434
640
|
*/
|
|
435
641
|
description?: string;
|
|
436
642
|
|
|
437
643
|
/**
|
|
644
|
+
* The content of the artifact. Must contain at least one part.
|
|
645
|
+
*
|
|
438
646
|
* @generated from field: repeated lf.a2a.v1.Part parts = 4;
|
|
439
647
|
*/
|
|
440
648
|
parts?: PartJson[];
|
|
441
649
|
|
|
442
650
|
/**
|
|
651
|
+
* Optional. Metadata included with the artifact.
|
|
652
|
+
*
|
|
443
653
|
* @generated from field: google.protobuf.Struct metadata = 5;
|
|
444
654
|
*/
|
|
445
655
|
metadata?: StructJson;
|
|
446
656
|
|
|
447
657
|
/**
|
|
658
|
+
* The URIs of extensions that are present or contributed to this Artifact.
|
|
659
|
+
*
|
|
448
660
|
* @generated from field: repeated string extensions = 6;
|
|
449
661
|
*/
|
|
450
662
|
extensions?: string[];
|
|
@@ -457,50 +669,70 @@ export declare type ArtifactJson = {
|
|
|
457
669
|
export declare const ArtifactSchema: GenMessage<Artifact, {jsonType: ArtifactJson}>;
|
|
458
670
|
|
|
459
671
|
/**
|
|
672
|
+
* An event sent by the agent to notify the client of a change in a task's status.
|
|
673
|
+
*
|
|
460
674
|
* @generated from message lf.a2a.v1.TaskStatusUpdateEvent
|
|
461
675
|
*/
|
|
462
676
|
export declare type TaskStatusUpdateEvent = Message$1<"lf.a2a.v1.TaskStatusUpdateEvent"> & {
|
|
463
677
|
/**
|
|
678
|
+
* The ID of the task that has changed.
|
|
679
|
+
*
|
|
464
680
|
* @generated from field: string task_id = 1;
|
|
465
681
|
*/
|
|
466
682
|
taskId: string;
|
|
467
683
|
|
|
468
684
|
/**
|
|
685
|
+
* The ID of the context that the task belongs to.
|
|
686
|
+
*
|
|
469
687
|
* @generated from field: string context_id = 2;
|
|
470
688
|
*/
|
|
471
689
|
contextId: string;
|
|
472
690
|
|
|
473
691
|
/**
|
|
692
|
+
* The new status of the task.
|
|
693
|
+
*
|
|
474
694
|
* @generated from field: lf.a2a.v1.TaskStatus status = 3;
|
|
475
695
|
*/
|
|
476
696
|
status?: TaskStatus | undefined;
|
|
477
697
|
|
|
478
698
|
/**
|
|
699
|
+
* Optional. Metadata associated with the task update.
|
|
700
|
+
*
|
|
479
701
|
* @generated from field: google.protobuf.Struct metadata = 4;
|
|
480
702
|
*/
|
|
481
703
|
metadata?: JsonObject | undefined;
|
|
482
704
|
};
|
|
483
705
|
|
|
484
706
|
/**
|
|
707
|
+
* An event sent by the agent to notify the client of a change in a task's status.
|
|
708
|
+
*
|
|
485
709
|
* @generated from message lf.a2a.v1.TaskStatusUpdateEvent
|
|
486
710
|
*/
|
|
487
711
|
export declare type TaskStatusUpdateEventJson = {
|
|
488
712
|
/**
|
|
713
|
+
* The ID of the task that has changed.
|
|
714
|
+
*
|
|
489
715
|
* @generated from field: string task_id = 1;
|
|
490
716
|
*/
|
|
491
717
|
taskId?: string;
|
|
492
718
|
|
|
493
719
|
/**
|
|
720
|
+
* The ID of the context that the task belongs to.
|
|
721
|
+
*
|
|
494
722
|
* @generated from field: string context_id = 2;
|
|
495
723
|
*/
|
|
496
724
|
contextId?: string;
|
|
497
725
|
|
|
498
726
|
/**
|
|
727
|
+
* The new status of the task.
|
|
728
|
+
*
|
|
499
729
|
* @generated from field: lf.a2a.v1.TaskStatus status = 3;
|
|
500
730
|
*/
|
|
501
731
|
status?: TaskStatusJson;
|
|
502
732
|
|
|
503
733
|
/**
|
|
734
|
+
* Optional. Metadata associated with the task update.
|
|
735
|
+
*
|
|
504
736
|
* @generated from field: google.protobuf.Struct metadata = 4;
|
|
505
737
|
*/
|
|
506
738
|
metadata?: StructJson;
|
|
@@ -513,70 +745,100 @@ export declare type TaskStatusUpdateEventJson = {
|
|
|
513
745
|
export declare const TaskStatusUpdateEventSchema: GenMessage<TaskStatusUpdateEvent, {jsonType: TaskStatusUpdateEventJson}>;
|
|
514
746
|
|
|
515
747
|
/**
|
|
748
|
+
* A task delta where an artifact has been generated.
|
|
749
|
+
*
|
|
516
750
|
* @generated from message lf.a2a.v1.TaskArtifactUpdateEvent
|
|
517
751
|
*/
|
|
518
752
|
export declare type TaskArtifactUpdateEvent = Message$1<"lf.a2a.v1.TaskArtifactUpdateEvent"> & {
|
|
519
753
|
/**
|
|
754
|
+
* The ID of the task for this artifact.
|
|
755
|
+
*
|
|
520
756
|
* @generated from field: string task_id = 1;
|
|
521
757
|
*/
|
|
522
758
|
taskId: string;
|
|
523
759
|
|
|
524
760
|
/**
|
|
761
|
+
* The ID of the context that this task belongs to.
|
|
762
|
+
*
|
|
525
763
|
* @generated from field: string context_id = 2;
|
|
526
764
|
*/
|
|
527
765
|
contextId: string;
|
|
528
766
|
|
|
529
767
|
/**
|
|
768
|
+
* The artifact that was generated or updated.
|
|
769
|
+
*
|
|
530
770
|
* @generated from field: lf.a2a.v1.Artifact artifact = 3;
|
|
531
771
|
*/
|
|
532
772
|
artifact?: Artifact | undefined;
|
|
533
773
|
|
|
534
774
|
/**
|
|
775
|
+
* If true, the content of this artifact should be appended to a previously
|
|
776
|
+
* sent artifact with the same ID.
|
|
777
|
+
*
|
|
535
778
|
* @generated from field: bool append = 4;
|
|
536
779
|
*/
|
|
537
780
|
append: boolean;
|
|
538
781
|
|
|
539
782
|
/**
|
|
783
|
+
* If true, this is the final chunk of the artifact.
|
|
784
|
+
*
|
|
540
785
|
* @generated from field: bool last_chunk = 5;
|
|
541
786
|
*/
|
|
542
787
|
lastChunk: boolean;
|
|
543
788
|
|
|
544
789
|
/**
|
|
790
|
+
* Optional. Metadata associated with the artifact update.
|
|
791
|
+
*
|
|
545
792
|
* @generated from field: google.protobuf.Struct metadata = 6;
|
|
546
793
|
*/
|
|
547
794
|
metadata?: JsonObject | undefined;
|
|
548
795
|
};
|
|
549
796
|
|
|
550
797
|
/**
|
|
798
|
+
* A task delta where an artifact has been generated.
|
|
799
|
+
*
|
|
551
800
|
* @generated from message lf.a2a.v1.TaskArtifactUpdateEvent
|
|
552
801
|
*/
|
|
553
802
|
export declare type TaskArtifactUpdateEventJson = {
|
|
554
803
|
/**
|
|
804
|
+
* The ID of the task for this artifact.
|
|
805
|
+
*
|
|
555
806
|
* @generated from field: string task_id = 1;
|
|
556
807
|
*/
|
|
557
808
|
taskId?: string;
|
|
558
809
|
|
|
559
810
|
/**
|
|
811
|
+
* The ID of the context that this task belongs to.
|
|
812
|
+
*
|
|
560
813
|
* @generated from field: string context_id = 2;
|
|
561
814
|
*/
|
|
562
815
|
contextId?: string;
|
|
563
816
|
|
|
564
817
|
/**
|
|
818
|
+
* The artifact that was generated or updated.
|
|
819
|
+
*
|
|
565
820
|
* @generated from field: lf.a2a.v1.Artifact artifact = 3;
|
|
566
821
|
*/
|
|
567
822
|
artifact?: ArtifactJson;
|
|
568
823
|
|
|
569
824
|
/**
|
|
825
|
+
* If true, the content of this artifact should be appended to a previously
|
|
826
|
+
* sent artifact with the same ID.
|
|
827
|
+
*
|
|
570
828
|
* @generated from field: bool append = 4;
|
|
571
829
|
*/
|
|
572
830
|
append?: boolean;
|
|
573
831
|
|
|
574
832
|
/**
|
|
833
|
+
* If true, this is the final chunk of the artifact.
|
|
834
|
+
*
|
|
575
835
|
* @generated from field: bool last_chunk = 5;
|
|
576
836
|
*/
|
|
577
837
|
lastChunk?: boolean;
|
|
578
838
|
|
|
579
839
|
/**
|
|
840
|
+
* Optional. Metadata associated with the artifact update.
|
|
841
|
+
*
|
|
580
842
|
* @generated from field: google.protobuf.Struct metadata = 6;
|
|
581
843
|
*/
|
|
582
844
|
metadata?: StructJson;
|
|
@@ -589,30 +851,46 @@ export declare type TaskArtifactUpdateEventJson = {
|
|
|
589
851
|
export declare const TaskArtifactUpdateEventSchema: GenMessage<TaskArtifactUpdateEvent, {jsonType: TaskArtifactUpdateEventJson}>;
|
|
590
852
|
|
|
591
853
|
/**
|
|
854
|
+
* Defines authentication details, used for push notifications.
|
|
855
|
+
*
|
|
592
856
|
* @generated from message lf.a2a.v1.AuthenticationInfo
|
|
593
857
|
*/
|
|
594
858
|
export declare type AuthenticationInfo = Message$1<"lf.a2a.v1.AuthenticationInfo"> & {
|
|
595
859
|
/**
|
|
860
|
+
* HTTP Authentication Scheme from the [IANA registry](https://www.iana.org/assignments/http-authschemes/).
|
|
861
|
+
* Examples: `Bearer`, `Basic`, `Digest`.
|
|
862
|
+
* Scheme names are case-insensitive per [RFC 9110 Section 11.1](https://www.rfc-editor.org/rfc/rfc9110#section-11.1).
|
|
863
|
+
*
|
|
596
864
|
* @generated from field: string scheme = 1;
|
|
597
865
|
*/
|
|
598
866
|
scheme: string;
|
|
599
867
|
|
|
600
868
|
/**
|
|
869
|
+
* Push Notification credentials. Format depends on the scheme (e.g., token for Bearer).
|
|
870
|
+
*
|
|
601
871
|
* @generated from field: string credentials = 2;
|
|
602
872
|
*/
|
|
603
873
|
credentials: string;
|
|
604
874
|
};
|
|
605
875
|
|
|
606
876
|
/**
|
|
877
|
+
* Defines authentication details, used for push notifications.
|
|
878
|
+
*
|
|
607
879
|
* @generated from message lf.a2a.v1.AuthenticationInfo
|
|
608
880
|
*/
|
|
609
881
|
export declare type AuthenticationInfoJson = {
|
|
610
882
|
/**
|
|
883
|
+
* HTTP Authentication Scheme from the [IANA registry](https://www.iana.org/assignments/http-authschemes/).
|
|
884
|
+
* Examples: `Bearer`, `Basic`, `Digest`.
|
|
885
|
+
* Scheme names are case-insensitive per [RFC 9110 Section 11.1](https://www.rfc-editor.org/rfc/rfc9110#section-11.1).
|
|
886
|
+
*
|
|
611
887
|
* @generated from field: string scheme = 1;
|
|
612
888
|
*/
|
|
613
889
|
scheme?: string;
|
|
614
890
|
|
|
615
891
|
/**
|
|
892
|
+
* Push Notification credentials. Format depends on the scheme (e.g., token for Bearer).
|
|
893
|
+
*
|
|
616
894
|
* @generated from field: string credentials = 2;
|
|
617
895
|
*/
|
|
618
896
|
credentials?: string;
|
|
@@ -625,50 +903,82 @@ export declare type AuthenticationInfoJson = {
|
|
|
625
903
|
export declare const AuthenticationInfoSchema: GenMessage<AuthenticationInfo, {jsonType: AuthenticationInfoJson}>;
|
|
626
904
|
|
|
627
905
|
/**
|
|
906
|
+
* Declares a combination of a target URL, transport and protocol version for interacting with the agent.
|
|
907
|
+
* This allows agents to expose the same functionality over multiple protocol binding mechanisms.
|
|
908
|
+
*
|
|
628
909
|
* @generated from message lf.a2a.v1.AgentInterface
|
|
629
910
|
*/
|
|
630
911
|
export declare type AgentInterface = Message$1<"lf.a2a.v1.AgentInterface"> & {
|
|
631
912
|
/**
|
|
913
|
+
* The URL where this interface is available. Must be a valid absolute HTTPS URL in production.
|
|
914
|
+
* Example: "https://api.example.com/a2a/v1", "https://grpc.example.com/a2a"
|
|
915
|
+
*
|
|
632
916
|
* @generated from field: string url = 1;
|
|
633
917
|
*/
|
|
634
918
|
url: string;
|
|
635
919
|
|
|
636
920
|
/**
|
|
921
|
+
* The protocol binding supported at this URL. This is an open form string, to be
|
|
922
|
+
* easily extended for other protocol bindings. The core ones officially
|
|
923
|
+
* supported are `JSONRPC`, `GRPC` and `HTTP+JSON`.
|
|
924
|
+
*
|
|
637
925
|
* @generated from field: string protocol_binding = 2;
|
|
638
926
|
*/
|
|
639
927
|
protocolBinding: string;
|
|
640
928
|
|
|
641
929
|
/**
|
|
930
|
+
* Tenant ID to be used in the request when calling the agent.
|
|
931
|
+
*
|
|
642
932
|
* @generated from field: string tenant = 3;
|
|
643
933
|
*/
|
|
644
934
|
tenant: string;
|
|
645
935
|
|
|
646
936
|
/**
|
|
937
|
+
* The version of the A2A protocol this interface exposes.
|
|
938
|
+
* Use the latest supported minor version per major version.
|
|
939
|
+
* Examples: "0.3", "1.0"
|
|
940
|
+
*
|
|
647
941
|
* @generated from field: string protocol_version = 4;
|
|
648
942
|
*/
|
|
649
943
|
protocolVersion: string;
|
|
650
944
|
};
|
|
651
945
|
|
|
652
946
|
/**
|
|
947
|
+
* Declares a combination of a target URL, transport and protocol version for interacting with the agent.
|
|
948
|
+
* This allows agents to expose the same functionality over multiple protocol binding mechanisms.
|
|
949
|
+
*
|
|
653
950
|
* @generated from message lf.a2a.v1.AgentInterface
|
|
654
951
|
*/
|
|
655
952
|
export declare type AgentInterfaceJson = {
|
|
656
953
|
/**
|
|
954
|
+
* The URL where this interface is available. Must be a valid absolute HTTPS URL in production.
|
|
955
|
+
* Example: "https://api.example.com/a2a/v1", "https://grpc.example.com/a2a"
|
|
956
|
+
*
|
|
657
957
|
* @generated from field: string url = 1;
|
|
658
958
|
*/
|
|
659
959
|
url?: string;
|
|
660
960
|
|
|
661
961
|
/**
|
|
962
|
+
* The protocol binding supported at this URL. This is an open form string, to be
|
|
963
|
+
* easily extended for other protocol bindings. The core ones officially
|
|
964
|
+
* supported are `JSONRPC`, `GRPC` and `HTTP+JSON`.
|
|
965
|
+
*
|
|
662
966
|
* @generated from field: string protocol_binding = 2;
|
|
663
967
|
*/
|
|
664
968
|
protocolBinding?: string;
|
|
665
969
|
|
|
666
970
|
/**
|
|
971
|
+
* Tenant ID to be used in the request when calling the agent.
|
|
972
|
+
*
|
|
667
973
|
* @generated from field: string tenant = 3;
|
|
668
974
|
*/
|
|
669
975
|
tenant?: string;
|
|
670
976
|
|
|
671
977
|
/**
|
|
978
|
+
* The version of the A2A protocol this interface exposes.
|
|
979
|
+
* Use the latest supported minor version per major version.
|
|
980
|
+
* Examples: "0.3", "1.0"
|
|
981
|
+
*
|
|
672
982
|
* @generated from field: string protocol_version = 4;
|
|
673
983
|
*/
|
|
674
984
|
protocolVersion?: string;
|
|
@@ -681,150 +991,232 @@ export declare type AgentInterfaceJson = {
|
|
|
681
991
|
export declare const AgentInterfaceSchema: GenMessage<AgentInterface, {jsonType: AgentInterfaceJson}>;
|
|
682
992
|
|
|
683
993
|
/**
|
|
994
|
+
* A self-describing manifest for an agent. It provides essential
|
|
995
|
+
* metadata including the agent's identity, capabilities, skills, supported
|
|
996
|
+
* communication methods, and security requirements.
|
|
997
|
+
* Next ID: 20
|
|
998
|
+
*
|
|
684
999
|
* @generated from message lf.a2a.v1.AgentCard
|
|
685
1000
|
*/
|
|
686
1001
|
export declare type AgentCard = Message$1<"lf.a2a.v1.AgentCard"> & {
|
|
687
1002
|
/**
|
|
1003
|
+
* A human readable name for the agent.
|
|
1004
|
+
* Example: "Recipe Agent"
|
|
1005
|
+
*
|
|
688
1006
|
* @generated from field: string name = 1;
|
|
689
1007
|
*/
|
|
690
1008
|
name: string;
|
|
691
1009
|
|
|
692
1010
|
/**
|
|
1011
|
+
* A human-readable description of the agent, assisting users and other agents
|
|
1012
|
+
* in understanding its purpose.
|
|
1013
|
+
* Example: "Agent that helps users with recipes and cooking."
|
|
1014
|
+
*
|
|
693
1015
|
* @generated from field: string description = 2;
|
|
694
1016
|
*/
|
|
695
1017
|
description: string;
|
|
696
1018
|
|
|
697
1019
|
/**
|
|
1020
|
+
* Ordered list of supported interfaces. The first entry is preferred.
|
|
1021
|
+
*
|
|
698
1022
|
* @generated from field: repeated lf.a2a.v1.AgentInterface supported_interfaces = 3;
|
|
699
1023
|
*/
|
|
700
1024
|
supportedInterfaces: AgentInterface[];
|
|
701
1025
|
|
|
702
1026
|
/**
|
|
1027
|
+
* The service provider of the agent.
|
|
1028
|
+
*
|
|
703
1029
|
* @generated from field: lf.a2a.v1.AgentProvider provider = 4;
|
|
704
1030
|
*/
|
|
705
1031
|
provider?: AgentProvider | undefined;
|
|
706
1032
|
|
|
707
1033
|
/**
|
|
1034
|
+
* The version of the agent.
|
|
1035
|
+
* Example: "1.0.0"
|
|
1036
|
+
*
|
|
708
1037
|
* @generated from field: string version = 5;
|
|
709
1038
|
*/
|
|
710
1039
|
version: string;
|
|
711
1040
|
|
|
712
1041
|
/**
|
|
1042
|
+
* A URL providing additional documentation about the agent.
|
|
1043
|
+
*
|
|
713
1044
|
* @generated from field: optional string documentation_url = 6;
|
|
714
1045
|
*/
|
|
715
1046
|
documentationUrl?: string | undefined;
|
|
716
1047
|
|
|
717
1048
|
/**
|
|
1049
|
+
* A2A Capability set supported by the agent.
|
|
1050
|
+
*
|
|
718
1051
|
* @generated from field: lf.a2a.v1.AgentCapabilities capabilities = 7;
|
|
719
1052
|
*/
|
|
720
1053
|
capabilities?: AgentCapabilities | undefined;
|
|
721
1054
|
|
|
722
1055
|
/**
|
|
1056
|
+
* The security scheme details used for authenticating with this agent.
|
|
1057
|
+
*
|
|
723
1058
|
* @generated from field: map<string, lf.a2a.v1.SecurityScheme> security_schemes = 8;
|
|
724
1059
|
*/
|
|
725
1060
|
securitySchemes: { [key: string]: SecurityScheme };
|
|
726
1061
|
|
|
727
1062
|
/**
|
|
1063
|
+
* Security requirements for contacting the agent.
|
|
1064
|
+
*
|
|
728
1065
|
* @generated from field: repeated lf.a2a.v1.SecurityRequirement security_requirements = 9;
|
|
729
1066
|
*/
|
|
730
1067
|
securityRequirements: SecurityRequirement[];
|
|
731
1068
|
|
|
732
1069
|
/**
|
|
1070
|
+
* protolint:enable REPEATED_FIELD_NAMES_PLURALIZED
|
|
1071
|
+
* The set of interaction modes that the agent supports across all skills.
|
|
1072
|
+
* This can be overridden per skill. Defined as media types.
|
|
1073
|
+
*
|
|
733
1074
|
* @generated from field: repeated string default_input_modes = 10;
|
|
734
1075
|
*/
|
|
735
1076
|
defaultInputModes: string[];
|
|
736
1077
|
|
|
737
1078
|
/**
|
|
1079
|
+
* The media types supported as outputs from this agent.
|
|
1080
|
+
*
|
|
738
1081
|
* @generated from field: repeated string default_output_modes = 11;
|
|
739
1082
|
*/
|
|
740
1083
|
defaultOutputModes: string[];
|
|
741
1084
|
|
|
742
1085
|
/**
|
|
1086
|
+
* Skills represent the abilities of an agent.
|
|
1087
|
+
* It is largely a descriptive concept but represents a more focused set of behaviors that the
|
|
1088
|
+
* agent is likely to succeed at.
|
|
1089
|
+
*
|
|
743
1090
|
* @generated from field: repeated lf.a2a.v1.AgentSkill skills = 12;
|
|
744
1091
|
*/
|
|
745
1092
|
skills: AgentSkill[];
|
|
746
1093
|
|
|
747
1094
|
/**
|
|
1095
|
+
* JSON Web Signatures computed for this `AgentCard`.
|
|
1096
|
+
*
|
|
748
1097
|
* @generated from field: repeated lf.a2a.v1.AgentCardSignature signatures = 13;
|
|
749
1098
|
*/
|
|
750
1099
|
signatures: AgentCardSignature[];
|
|
751
1100
|
|
|
752
1101
|
/**
|
|
1102
|
+
* Optional. A URL to an icon for the agent.
|
|
1103
|
+
*
|
|
753
1104
|
* @generated from field: optional string icon_url = 14;
|
|
754
1105
|
*/
|
|
755
1106
|
iconUrl?: string | undefined;
|
|
756
1107
|
};
|
|
757
1108
|
|
|
758
1109
|
/**
|
|
1110
|
+
* A self-describing manifest for an agent. It provides essential
|
|
1111
|
+
* metadata including the agent's identity, capabilities, skills, supported
|
|
1112
|
+
* communication methods, and security requirements.
|
|
1113
|
+
* Next ID: 20
|
|
1114
|
+
*
|
|
759
1115
|
* @generated from message lf.a2a.v1.AgentCard
|
|
760
1116
|
*/
|
|
761
1117
|
export declare type AgentCardJson = {
|
|
762
1118
|
/**
|
|
1119
|
+
* A human readable name for the agent.
|
|
1120
|
+
* Example: "Recipe Agent"
|
|
1121
|
+
*
|
|
763
1122
|
* @generated from field: string name = 1;
|
|
764
1123
|
*/
|
|
765
1124
|
name?: string;
|
|
766
1125
|
|
|
767
1126
|
/**
|
|
1127
|
+
* A human-readable description of the agent, assisting users and other agents
|
|
1128
|
+
* in understanding its purpose.
|
|
1129
|
+
* Example: "Agent that helps users with recipes and cooking."
|
|
1130
|
+
*
|
|
768
1131
|
* @generated from field: string description = 2;
|
|
769
1132
|
*/
|
|
770
1133
|
description?: string;
|
|
771
1134
|
|
|
772
1135
|
/**
|
|
1136
|
+
* Ordered list of supported interfaces. The first entry is preferred.
|
|
1137
|
+
*
|
|
773
1138
|
* @generated from field: repeated lf.a2a.v1.AgentInterface supported_interfaces = 3;
|
|
774
1139
|
*/
|
|
775
1140
|
supportedInterfaces?: AgentInterfaceJson[];
|
|
776
1141
|
|
|
777
1142
|
/**
|
|
1143
|
+
* The service provider of the agent.
|
|
1144
|
+
*
|
|
778
1145
|
* @generated from field: lf.a2a.v1.AgentProvider provider = 4;
|
|
779
1146
|
*/
|
|
780
1147
|
provider?: AgentProviderJson;
|
|
781
1148
|
|
|
782
1149
|
/**
|
|
1150
|
+
* The version of the agent.
|
|
1151
|
+
* Example: "1.0.0"
|
|
1152
|
+
*
|
|
783
1153
|
* @generated from field: string version = 5;
|
|
784
1154
|
*/
|
|
785
1155
|
version?: string;
|
|
786
1156
|
|
|
787
1157
|
/**
|
|
1158
|
+
* A URL providing additional documentation about the agent.
|
|
1159
|
+
*
|
|
788
1160
|
* @generated from field: optional string documentation_url = 6;
|
|
789
1161
|
*/
|
|
790
1162
|
documentationUrl?: string;
|
|
791
1163
|
|
|
792
1164
|
/**
|
|
1165
|
+
* A2A Capability set supported by the agent.
|
|
1166
|
+
*
|
|
793
1167
|
* @generated from field: lf.a2a.v1.AgentCapabilities capabilities = 7;
|
|
794
1168
|
*/
|
|
795
1169
|
capabilities?: AgentCapabilitiesJson;
|
|
796
1170
|
|
|
797
1171
|
/**
|
|
1172
|
+
* The security scheme details used for authenticating with this agent.
|
|
1173
|
+
*
|
|
798
1174
|
* @generated from field: map<string, lf.a2a.v1.SecurityScheme> security_schemes = 8;
|
|
799
1175
|
*/
|
|
800
1176
|
securitySchemes?: { [key: string]: SecuritySchemeJson };
|
|
801
1177
|
|
|
802
1178
|
/**
|
|
1179
|
+
* Security requirements for contacting the agent.
|
|
1180
|
+
*
|
|
803
1181
|
* @generated from field: repeated lf.a2a.v1.SecurityRequirement security_requirements = 9;
|
|
804
1182
|
*/
|
|
805
1183
|
securityRequirements?: SecurityRequirementJson[];
|
|
806
1184
|
|
|
807
1185
|
/**
|
|
1186
|
+
* protolint:enable REPEATED_FIELD_NAMES_PLURALIZED
|
|
1187
|
+
* The set of interaction modes that the agent supports across all skills.
|
|
1188
|
+
* This can be overridden per skill. Defined as media types.
|
|
1189
|
+
*
|
|
808
1190
|
* @generated from field: repeated string default_input_modes = 10;
|
|
809
1191
|
*/
|
|
810
1192
|
defaultInputModes?: string[];
|
|
811
1193
|
|
|
812
1194
|
/**
|
|
1195
|
+
* The media types supported as outputs from this agent.
|
|
1196
|
+
*
|
|
813
1197
|
* @generated from field: repeated string default_output_modes = 11;
|
|
814
1198
|
*/
|
|
815
1199
|
defaultOutputModes?: string[];
|
|
816
1200
|
|
|
817
1201
|
/**
|
|
1202
|
+
* Skills represent the abilities of an agent.
|
|
1203
|
+
* It is largely a descriptive concept but represents a more focused set of behaviors that the
|
|
1204
|
+
* agent is likely to succeed at.
|
|
1205
|
+
*
|
|
818
1206
|
* @generated from field: repeated lf.a2a.v1.AgentSkill skills = 12;
|
|
819
1207
|
*/
|
|
820
1208
|
skills?: AgentSkillJson[];
|
|
821
1209
|
|
|
822
1210
|
/**
|
|
1211
|
+
* JSON Web Signatures computed for this `AgentCard`.
|
|
1212
|
+
*
|
|
823
1213
|
* @generated from field: repeated lf.a2a.v1.AgentCardSignature signatures = 13;
|
|
824
1214
|
*/
|
|
825
1215
|
signatures?: AgentCardSignatureJson[];
|
|
826
1216
|
|
|
827
1217
|
/**
|
|
1218
|
+
* Optional. A URL to an icon for the agent.
|
|
1219
|
+
*
|
|
828
1220
|
* @generated from field: optional string icon_url = 14;
|
|
829
1221
|
*/
|
|
830
1222
|
iconUrl?: string;
|
|
@@ -837,30 +1229,46 @@ export declare type AgentCardJson = {
|
|
|
837
1229
|
export declare const AgentCardSchema: GenMessage<AgentCard, {jsonType: AgentCardJson}>;
|
|
838
1230
|
|
|
839
1231
|
/**
|
|
1232
|
+
* Represents the service provider of an agent.
|
|
1233
|
+
*
|
|
840
1234
|
* @generated from message lf.a2a.v1.AgentProvider
|
|
841
1235
|
*/
|
|
842
1236
|
export declare type AgentProvider = Message$1<"lf.a2a.v1.AgentProvider"> & {
|
|
843
1237
|
/**
|
|
1238
|
+
* A URL for the agent provider's website or relevant documentation.
|
|
1239
|
+
* Example: "https://ai.google.dev"
|
|
1240
|
+
*
|
|
844
1241
|
* @generated from field: string url = 1;
|
|
845
1242
|
*/
|
|
846
1243
|
url: string;
|
|
847
1244
|
|
|
848
1245
|
/**
|
|
1246
|
+
* The name of the agent provider's organization.
|
|
1247
|
+
* Example: "Google"
|
|
1248
|
+
*
|
|
849
1249
|
* @generated from field: string organization = 2;
|
|
850
1250
|
*/
|
|
851
1251
|
organization: string;
|
|
852
1252
|
};
|
|
853
1253
|
|
|
854
1254
|
/**
|
|
1255
|
+
* Represents the service provider of an agent.
|
|
1256
|
+
*
|
|
855
1257
|
* @generated from message lf.a2a.v1.AgentProvider
|
|
856
1258
|
*/
|
|
857
1259
|
export declare type AgentProviderJson = {
|
|
858
1260
|
/**
|
|
1261
|
+
* A URL for the agent provider's website or relevant documentation.
|
|
1262
|
+
* Example: "https://ai.google.dev"
|
|
1263
|
+
*
|
|
859
1264
|
* @generated from field: string url = 1;
|
|
860
1265
|
*/
|
|
861
1266
|
url?: string;
|
|
862
1267
|
|
|
863
1268
|
/**
|
|
1269
|
+
* The name of the agent provider's organization.
|
|
1270
|
+
* Example: "Google"
|
|
1271
|
+
*
|
|
864
1272
|
* @generated from field: string organization = 2;
|
|
865
1273
|
*/
|
|
866
1274
|
organization?: string;
|
|
@@ -873,50 +1281,70 @@ export declare type AgentProviderJson = {
|
|
|
873
1281
|
export declare const AgentProviderSchema: GenMessage<AgentProvider, {jsonType: AgentProviderJson}>;
|
|
874
1282
|
|
|
875
1283
|
/**
|
|
1284
|
+
* Defines optional capabilities supported by an agent.
|
|
1285
|
+
*
|
|
876
1286
|
* @generated from message lf.a2a.v1.AgentCapabilities
|
|
877
1287
|
*/
|
|
878
1288
|
export declare type AgentCapabilities = Message$1<"lf.a2a.v1.AgentCapabilities"> & {
|
|
879
1289
|
/**
|
|
1290
|
+
* Indicates if the agent supports streaming responses.
|
|
1291
|
+
*
|
|
880
1292
|
* @generated from field: optional bool streaming = 1;
|
|
881
1293
|
*/
|
|
882
1294
|
streaming?: boolean | undefined;
|
|
883
1295
|
|
|
884
1296
|
/**
|
|
1297
|
+
* Indicates if the agent supports sending push notifications for asynchronous task updates.
|
|
1298
|
+
*
|
|
885
1299
|
* @generated from field: optional bool push_notifications = 2;
|
|
886
1300
|
*/
|
|
887
1301
|
pushNotifications?: boolean | undefined;
|
|
888
1302
|
|
|
889
1303
|
/**
|
|
1304
|
+
* A list of protocol extensions supported by the agent.
|
|
1305
|
+
*
|
|
890
1306
|
* @generated from field: repeated lf.a2a.v1.AgentExtension extensions = 3;
|
|
891
1307
|
*/
|
|
892
1308
|
extensions: AgentExtension[];
|
|
893
1309
|
|
|
894
1310
|
/**
|
|
1311
|
+
* Indicates if the agent supports providing an extended agent card when authenticated.
|
|
1312
|
+
*
|
|
895
1313
|
* @generated from field: optional bool extended_agent_card = 4;
|
|
896
1314
|
*/
|
|
897
1315
|
extendedAgentCard?: boolean | undefined;
|
|
898
1316
|
};
|
|
899
1317
|
|
|
900
1318
|
/**
|
|
1319
|
+
* Defines optional capabilities supported by an agent.
|
|
1320
|
+
*
|
|
901
1321
|
* @generated from message lf.a2a.v1.AgentCapabilities
|
|
902
1322
|
*/
|
|
903
1323
|
export declare type AgentCapabilitiesJson = {
|
|
904
1324
|
/**
|
|
1325
|
+
* Indicates if the agent supports streaming responses.
|
|
1326
|
+
*
|
|
905
1327
|
* @generated from field: optional bool streaming = 1;
|
|
906
1328
|
*/
|
|
907
1329
|
streaming?: boolean;
|
|
908
1330
|
|
|
909
1331
|
/**
|
|
1332
|
+
* Indicates if the agent supports sending push notifications for asynchronous task updates.
|
|
1333
|
+
*
|
|
910
1334
|
* @generated from field: optional bool push_notifications = 2;
|
|
911
1335
|
*/
|
|
912
1336
|
pushNotifications?: boolean;
|
|
913
1337
|
|
|
914
1338
|
/**
|
|
1339
|
+
* A list of protocol extensions supported by the agent.
|
|
1340
|
+
*
|
|
915
1341
|
* @generated from field: repeated lf.a2a.v1.AgentExtension extensions = 3;
|
|
916
1342
|
*/
|
|
917
1343
|
extensions?: AgentExtensionJson[];
|
|
918
1344
|
|
|
919
1345
|
/**
|
|
1346
|
+
* Indicates if the agent supports providing an extended agent card when authenticated.
|
|
1347
|
+
*
|
|
920
1348
|
* @generated from field: optional bool extended_agent_card = 4;
|
|
921
1349
|
*/
|
|
922
1350
|
extendedAgentCard?: boolean;
|
|
@@ -929,50 +1357,70 @@ export declare type AgentCapabilitiesJson = {
|
|
|
929
1357
|
export declare const AgentCapabilitiesSchema: GenMessage<AgentCapabilities, {jsonType: AgentCapabilitiesJson}>;
|
|
930
1358
|
|
|
931
1359
|
/**
|
|
1360
|
+
* A declaration of a protocol extension supported by an Agent.
|
|
1361
|
+
*
|
|
932
1362
|
* @generated from message lf.a2a.v1.AgentExtension
|
|
933
1363
|
*/
|
|
934
1364
|
export declare type AgentExtension = Message$1<"lf.a2a.v1.AgentExtension"> & {
|
|
935
1365
|
/**
|
|
1366
|
+
* The unique URI identifying the extension.
|
|
1367
|
+
*
|
|
936
1368
|
* @generated from field: string uri = 1;
|
|
937
1369
|
*/
|
|
938
1370
|
uri: string;
|
|
939
1371
|
|
|
940
1372
|
/**
|
|
1373
|
+
* A human-readable description of how this agent uses the extension.
|
|
1374
|
+
*
|
|
941
1375
|
* @generated from field: string description = 2;
|
|
942
1376
|
*/
|
|
943
1377
|
description: string;
|
|
944
1378
|
|
|
945
1379
|
/**
|
|
1380
|
+
* If true, the client must understand and comply with the extension's requirements.
|
|
1381
|
+
*
|
|
946
1382
|
* @generated from field: bool required = 3;
|
|
947
1383
|
*/
|
|
948
1384
|
required: boolean;
|
|
949
1385
|
|
|
950
1386
|
/**
|
|
1387
|
+
* Optional. Extension-specific configuration parameters.
|
|
1388
|
+
*
|
|
951
1389
|
* @generated from field: google.protobuf.Struct params = 4;
|
|
952
1390
|
*/
|
|
953
1391
|
params?: JsonObject | undefined;
|
|
954
1392
|
};
|
|
955
1393
|
|
|
956
1394
|
/**
|
|
1395
|
+
* A declaration of a protocol extension supported by an Agent.
|
|
1396
|
+
*
|
|
957
1397
|
* @generated from message lf.a2a.v1.AgentExtension
|
|
958
1398
|
*/
|
|
959
1399
|
export declare type AgentExtensionJson = {
|
|
960
1400
|
/**
|
|
1401
|
+
* The unique URI identifying the extension.
|
|
1402
|
+
*
|
|
961
1403
|
* @generated from field: string uri = 1;
|
|
962
1404
|
*/
|
|
963
1405
|
uri?: string;
|
|
964
1406
|
|
|
965
1407
|
/**
|
|
1408
|
+
* A human-readable description of how this agent uses the extension.
|
|
1409
|
+
*
|
|
966
1410
|
* @generated from field: string description = 2;
|
|
967
1411
|
*/
|
|
968
1412
|
description?: string;
|
|
969
1413
|
|
|
970
1414
|
/**
|
|
1415
|
+
* If true, the client must understand and comply with the extension's requirements.
|
|
1416
|
+
*
|
|
971
1417
|
* @generated from field: bool required = 3;
|
|
972
1418
|
*/
|
|
973
1419
|
required?: boolean;
|
|
974
1420
|
|
|
975
1421
|
/**
|
|
1422
|
+
* Optional. Extension-specific configuration parameters.
|
|
1423
|
+
*
|
|
976
1424
|
* @generated from field: google.protobuf.Struct params = 4;
|
|
977
1425
|
*/
|
|
978
1426
|
params?: StructJson;
|
|
@@ -985,90 +1433,126 @@ export declare type AgentExtensionJson = {
|
|
|
985
1433
|
export declare const AgentExtensionSchema: GenMessage<AgentExtension, {jsonType: AgentExtensionJson}>;
|
|
986
1434
|
|
|
987
1435
|
/**
|
|
1436
|
+
* Represents a distinct capability or function that an agent can perform.
|
|
1437
|
+
*
|
|
988
1438
|
* @generated from message lf.a2a.v1.AgentSkill
|
|
989
1439
|
*/
|
|
990
1440
|
export declare type AgentSkill = Message$1<"lf.a2a.v1.AgentSkill"> & {
|
|
991
1441
|
/**
|
|
1442
|
+
* A unique identifier for the agent's skill.
|
|
1443
|
+
*
|
|
992
1444
|
* @generated from field: string id = 1;
|
|
993
1445
|
*/
|
|
994
1446
|
id: string;
|
|
995
1447
|
|
|
996
1448
|
/**
|
|
1449
|
+
* A human-readable name for the skill.
|
|
1450
|
+
*
|
|
997
1451
|
* @generated from field: string name = 2;
|
|
998
1452
|
*/
|
|
999
1453
|
name: string;
|
|
1000
1454
|
|
|
1001
1455
|
/**
|
|
1456
|
+
* A detailed description of the skill.
|
|
1457
|
+
*
|
|
1002
1458
|
* @generated from field: string description = 3;
|
|
1003
1459
|
*/
|
|
1004
1460
|
description: string;
|
|
1005
1461
|
|
|
1006
1462
|
/**
|
|
1463
|
+
* A set of keywords describing the skill's capabilities.
|
|
1464
|
+
*
|
|
1007
1465
|
* @generated from field: repeated string tags = 4;
|
|
1008
1466
|
*/
|
|
1009
1467
|
tags: string[];
|
|
1010
1468
|
|
|
1011
1469
|
/**
|
|
1470
|
+
* Example prompts or scenarios that this skill can handle.
|
|
1471
|
+
*
|
|
1012
1472
|
* @generated from field: repeated string examples = 5;
|
|
1013
1473
|
*/
|
|
1014
1474
|
examples: string[];
|
|
1015
1475
|
|
|
1016
1476
|
/**
|
|
1477
|
+
* The set of supported input media types for this skill, overriding the agent's defaults.
|
|
1478
|
+
*
|
|
1017
1479
|
* @generated from field: repeated string input_modes = 6;
|
|
1018
1480
|
*/
|
|
1019
1481
|
inputModes: string[];
|
|
1020
1482
|
|
|
1021
1483
|
/**
|
|
1484
|
+
* The set of supported output media types for this skill, overriding the agent's defaults.
|
|
1485
|
+
*
|
|
1022
1486
|
* @generated from field: repeated string output_modes = 7;
|
|
1023
1487
|
*/
|
|
1024
1488
|
outputModes: string[];
|
|
1025
1489
|
|
|
1026
1490
|
/**
|
|
1491
|
+
* Security schemes necessary for this skill.
|
|
1492
|
+
*
|
|
1027
1493
|
* @generated from field: repeated lf.a2a.v1.SecurityRequirement security_requirements = 8;
|
|
1028
1494
|
*/
|
|
1029
1495
|
securityRequirements: SecurityRequirement[];
|
|
1030
1496
|
};
|
|
1031
1497
|
|
|
1032
1498
|
/**
|
|
1499
|
+
* Represents a distinct capability or function that an agent can perform.
|
|
1500
|
+
*
|
|
1033
1501
|
* @generated from message lf.a2a.v1.AgentSkill
|
|
1034
1502
|
*/
|
|
1035
1503
|
export declare type AgentSkillJson = {
|
|
1036
1504
|
/**
|
|
1505
|
+
* A unique identifier for the agent's skill.
|
|
1506
|
+
*
|
|
1037
1507
|
* @generated from field: string id = 1;
|
|
1038
1508
|
*/
|
|
1039
1509
|
id?: string;
|
|
1040
1510
|
|
|
1041
1511
|
/**
|
|
1512
|
+
* A human-readable name for the skill.
|
|
1513
|
+
*
|
|
1042
1514
|
* @generated from field: string name = 2;
|
|
1043
1515
|
*/
|
|
1044
1516
|
name?: string;
|
|
1045
1517
|
|
|
1046
1518
|
/**
|
|
1519
|
+
* A detailed description of the skill.
|
|
1520
|
+
*
|
|
1047
1521
|
* @generated from field: string description = 3;
|
|
1048
1522
|
*/
|
|
1049
1523
|
description?: string;
|
|
1050
1524
|
|
|
1051
1525
|
/**
|
|
1526
|
+
* A set of keywords describing the skill's capabilities.
|
|
1527
|
+
*
|
|
1052
1528
|
* @generated from field: repeated string tags = 4;
|
|
1053
1529
|
*/
|
|
1054
1530
|
tags?: string[];
|
|
1055
1531
|
|
|
1056
1532
|
/**
|
|
1533
|
+
* Example prompts or scenarios that this skill can handle.
|
|
1534
|
+
*
|
|
1057
1535
|
* @generated from field: repeated string examples = 5;
|
|
1058
1536
|
*/
|
|
1059
1537
|
examples?: string[];
|
|
1060
1538
|
|
|
1061
1539
|
/**
|
|
1540
|
+
* The set of supported input media types for this skill, overriding the agent's defaults.
|
|
1541
|
+
*
|
|
1062
1542
|
* @generated from field: repeated string input_modes = 6;
|
|
1063
1543
|
*/
|
|
1064
1544
|
inputModes?: string[];
|
|
1065
1545
|
|
|
1066
1546
|
/**
|
|
1547
|
+
* The set of supported output media types for this skill, overriding the agent's defaults.
|
|
1548
|
+
*
|
|
1067
1549
|
* @generated from field: repeated string output_modes = 7;
|
|
1068
1550
|
*/
|
|
1069
1551
|
outputModes?: string[];
|
|
1070
1552
|
|
|
1071
1553
|
/**
|
|
1554
|
+
* Security schemes necessary for this skill.
|
|
1555
|
+
*
|
|
1072
1556
|
* @generated from field: repeated lf.a2a.v1.SecurityRequirement security_requirements = 8;
|
|
1073
1557
|
*/
|
|
1074
1558
|
securityRequirements?: SecurityRequirementJson[];
|
|
@@ -1081,40 +1565,64 @@ export declare type AgentSkillJson = {
|
|
|
1081
1565
|
export declare const AgentSkillSchema: GenMessage<AgentSkill, {jsonType: AgentSkillJson}>;
|
|
1082
1566
|
|
|
1083
1567
|
/**
|
|
1568
|
+
* AgentCardSignature represents a JWS signature of an AgentCard.
|
|
1569
|
+
* This follows the JSON format of an RFC 7515 JSON Web Signature (JWS).
|
|
1570
|
+
*
|
|
1084
1571
|
* @generated from message lf.a2a.v1.AgentCardSignature
|
|
1085
1572
|
*/
|
|
1086
1573
|
export declare type AgentCardSignature = Message$1<"lf.a2a.v1.AgentCardSignature"> & {
|
|
1087
1574
|
/**
|
|
1575
|
+
* (-- api-linter: core::0140::reserved-words=disabled
|
|
1576
|
+
* aip.dev/not-precedent: Backwards compatibility --)
|
|
1577
|
+
* Required. The protected JWS header for the signature. This is always a
|
|
1578
|
+
* base64url-encoded JSON object.
|
|
1579
|
+
*
|
|
1088
1580
|
* @generated from field: string protected = 1;
|
|
1089
1581
|
*/
|
|
1090
1582
|
protected: string;
|
|
1091
1583
|
|
|
1092
1584
|
/**
|
|
1585
|
+
* Required. The computed signature, base64url-encoded.
|
|
1586
|
+
*
|
|
1093
1587
|
* @generated from field: string signature = 2;
|
|
1094
1588
|
*/
|
|
1095
1589
|
signature: string;
|
|
1096
1590
|
|
|
1097
1591
|
/**
|
|
1592
|
+
* The unprotected JWS header values.
|
|
1593
|
+
*
|
|
1098
1594
|
* @generated from field: google.protobuf.Struct header = 3;
|
|
1099
1595
|
*/
|
|
1100
1596
|
header?: JsonObject | undefined;
|
|
1101
1597
|
};
|
|
1102
1598
|
|
|
1103
1599
|
/**
|
|
1600
|
+
* AgentCardSignature represents a JWS signature of an AgentCard.
|
|
1601
|
+
* This follows the JSON format of an RFC 7515 JSON Web Signature (JWS).
|
|
1602
|
+
*
|
|
1104
1603
|
* @generated from message lf.a2a.v1.AgentCardSignature
|
|
1105
1604
|
*/
|
|
1106
1605
|
export declare type AgentCardSignatureJson = {
|
|
1107
1606
|
/**
|
|
1607
|
+
* (-- api-linter: core::0140::reserved-words=disabled
|
|
1608
|
+
* aip.dev/not-precedent: Backwards compatibility --)
|
|
1609
|
+
* Required. The protected JWS header for the signature. This is always a
|
|
1610
|
+
* base64url-encoded JSON object.
|
|
1611
|
+
*
|
|
1108
1612
|
* @generated from field: string protected = 1;
|
|
1109
1613
|
*/
|
|
1110
1614
|
protected?: string;
|
|
1111
1615
|
|
|
1112
1616
|
/**
|
|
1617
|
+
* Required. The computed signature, base64url-encoded.
|
|
1618
|
+
*
|
|
1113
1619
|
* @generated from field: string signature = 2;
|
|
1114
1620
|
*/
|
|
1115
1621
|
signature?: string;
|
|
1116
1622
|
|
|
1117
1623
|
/**
|
|
1624
|
+
* The unprotected JWS header values.
|
|
1625
|
+
*
|
|
1118
1626
|
* @generated from field: google.protobuf.Struct header = 3;
|
|
1119
1627
|
*/
|
|
1120
1628
|
header?: StructJson;
|
|
@@ -1127,70 +1635,100 @@ export declare type AgentCardSignatureJson = {
|
|
|
1127
1635
|
export declare const AgentCardSignatureSchema: GenMessage<AgentCardSignature, {jsonType: AgentCardSignatureJson}>;
|
|
1128
1636
|
|
|
1129
1637
|
/**
|
|
1638
|
+
* A container associating a push notification configuration with a specific task.
|
|
1639
|
+
*
|
|
1130
1640
|
* @generated from message lf.a2a.v1.TaskPushNotificationConfig
|
|
1131
1641
|
*/
|
|
1132
1642
|
export declare type TaskPushNotificationConfig = Message$1<"lf.a2a.v1.TaskPushNotificationConfig"> & {
|
|
1133
1643
|
/**
|
|
1644
|
+
* Optional. Tenant ID.
|
|
1645
|
+
*
|
|
1134
1646
|
* @generated from field: string tenant = 1;
|
|
1135
1647
|
*/
|
|
1136
1648
|
tenant: string;
|
|
1137
1649
|
|
|
1138
1650
|
/**
|
|
1651
|
+
* The push notification configuration details.
|
|
1652
|
+
* A unique identifier (e.g. UUID) for this push notification configuration.
|
|
1653
|
+
*
|
|
1139
1654
|
* @generated from field: string id = 2;
|
|
1140
1655
|
*/
|
|
1141
1656
|
id: string;
|
|
1142
1657
|
|
|
1143
1658
|
/**
|
|
1659
|
+
* The ID of the task this configuration is associated with.
|
|
1660
|
+
*
|
|
1144
1661
|
* @generated from field: string task_id = 3;
|
|
1145
1662
|
*/
|
|
1146
1663
|
taskId: string;
|
|
1147
1664
|
|
|
1148
1665
|
/**
|
|
1666
|
+
* The URL where the notification should be sent.
|
|
1667
|
+
*
|
|
1149
1668
|
* @generated from field: string url = 4;
|
|
1150
1669
|
*/
|
|
1151
1670
|
url: string;
|
|
1152
1671
|
|
|
1153
1672
|
/**
|
|
1673
|
+
* A token unique for this task or session.
|
|
1674
|
+
*
|
|
1154
1675
|
* @generated from field: string token = 5;
|
|
1155
1676
|
*/
|
|
1156
1677
|
token: string;
|
|
1157
1678
|
|
|
1158
1679
|
/**
|
|
1680
|
+
* Authentication information required to send the notification.
|
|
1681
|
+
*
|
|
1159
1682
|
* @generated from field: lf.a2a.v1.AuthenticationInfo authentication = 6;
|
|
1160
1683
|
*/
|
|
1161
1684
|
authentication?: AuthenticationInfo | undefined;
|
|
1162
1685
|
};
|
|
1163
1686
|
|
|
1164
1687
|
/**
|
|
1688
|
+
* A container associating a push notification configuration with a specific task.
|
|
1689
|
+
*
|
|
1165
1690
|
* @generated from message lf.a2a.v1.TaskPushNotificationConfig
|
|
1166
1691
|
*/
|
|
1167
1692
|
export declare type TaskPushNotificationConfigJson = {
|
|
1168
1693
|
/**
|
|
1694
|
+
* Optional. Tenant ID.
|
|
1695
|
+
*
|
|
1169
1696
|
* @generated from field: string tenant = 1;
|
|
1170
1697
|
*/
|
|
1171
1698
|
tenant?: string;
|
|
1172
1699
|
|
|
1173
1700
|
/**
|
|
1701
|
+
* The push notification configuration details.
|
|
1702
|
+
* A unique identifier (e.g. UUID) for this push notification configuration.
|
|
1703
|
+
*
|
|
1174
1704
|
* @generated from field: string id = 2;
|
|
1175
1705
|
*/
|
|
1176
1706
|
id?: string;
|
|
1177
1707
|
|
|
1178
1708
|
/**
|
|
1709
|
+
* The ID of the task this configuration is associated with.
|
|
1710
|
+
*
|
|
1179
1711
|
* @generated from field: string task_id = 3;
|
|
1180
1712
|
*/
|
|
1181
1713
|
taskId?: string;
|
|
1182
1714
|
|
|
1183
1715
|
/**
|
|
1716
|
+
* The URL where the notification should be sent.
|
|
1717
|
+
*
|
|
1184
1718
|
* @generated from field: string url = 4;
|
|
1185
1719
|
*/
|
|
1186
1720
|
url?: string;
|
|
1187
1721
|
|
|
1188
1722
|
/**
|
|
1723
|
+
* A token unique for this task or session.
|
|
1724
|
+
*
|
|
1189
1725
|
* @generated from field: string token = 5;
|
|
1190
1726
|
*/
|
|
1191
1727
|
token?: string;
|
|
1192
1728
|
|
|
1193
1729
|
/**
|
|
1730
|
+
* Authentication information required to send the notification.
|
|
1731
|
+
*
|
|
1194
1732
|
* @generated from field: lf.a2a.v1.AuthenticationInfo authentication = 6;
|
|
1195
1733
|
*/
|
|
1196
1734
|
authentication?: AuthenticationInfoJson;
|
|
@@ -1203,20 +1741,30 @@ export declare type TaskPushNotificationConfigJson = {
|
|
|
1203
1741
|
export declare const TaskPushNotificationConfigSchema: GenMessage<TaskPushNotificationConfig, {jsonType: TaskPushNotificationConfigJson}>;
|
|
1204
1742
|
|
|
1205
1743
|
/**
|
|
1744
|
+
* protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
|
|
1745
|
+
* A list of strings.
|
|
1746
|
+
*
|
|
1206
1747
|
* @generated from message lf.a2a.v1.StringList
|
|
1207
1748
|
*/
|
|
1208
1749
|
export declare type StringList = Message$1<"lf.a2a.v1.StringList"> & {
|
|
1209
1750
|
/**
|
|
1751
|
+
* The individual string values.
|
|
1752
|
+
*
|
|
1210
1753
|
* @generated from field: repeated string list = 1;
|
|
1211
1754
|
*/
|
|
1212
1755
|
list: string[];
|
|
1213
1756
|
};
|
|
1214
1757
|
|
|
1215
1758
|
/**
|
|
1759
|
+
* protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
|
|
1760
|
+
* A list of strings.
|
|
1761
|
+
*
|
|
1216
1762
|
* @generated from message lf.a2a.v1.StringList
|
|
1217
1763
|
*/
|
|
1218
1764
|
export declare type StringListJson = {
|
|
1219
1765
|
/**
|
|
1766
|
+
* The individual string values.
|
|
1767
|
+
*
|
|
1220
1768
|
* @generated from field: repeated string list = 1;
|
|
1221
1769
|
*/
|
|
1222
1770
|
list?: string[];
|
|
@@ -1229,20 +1777,28 @@ export declare type StringListJson = {
|
|
|
1229
1777
|
export declare const StringListSchema: GenMessage<StringList, {jsonType: StringListJson}>;
|
|
1230
1778
|
|
|
1231
1779
|
/**
|
|
1780
|
+
* Defines the security requirements for an agent.
|
|
1781
|
+
*
|
|
1232
1782
|
* @generated from message lf.a2a.v1.SecurityRequirement
|
|
1233
1783
|
*/
|
|
1234
1784
|
export declare type SecurityRequirement = Message$1<"lf.a2a.v1.SecurityRequirement"> & {
|
|
1235
1785
|
/**
|
|
1786
|
+
* A map of security schemes to the required scopes.
|
|
1787
|
+
*
|
|
1236
1788
|
* @generated from field: map<string, lf.a2a.v1.StringList> schemes = 1;
|
|
1237
1789
|
*/
|
|
1238
1790
|
schemes: { [key: string]: StringList };
|
|
1239
1791
|
};
|
|
1240
1792
|
|
|
1241
1793
|
/**
|
|
1794
|
+
* Defines the security requirements for an agent.
|
|
1795
|
+
*
|
|
1242
1796
|
* @generated from message lf.a2a.v1.SecurityRequirement
|
|
1243
1797
|
*/
|
|
1244
1798
|
export declare type SecurityRequirementJson = {
|
|
1245
1799
|
/**
|
|
1800
|
+
* A map of security schemes to the required scopes.
|
|
1801
|
+
*
|
|
1246
1802
|
* @generated from field: map<string, lf.a2a.v1.StringList> schemes = 1;
|
|
1247
1803
|
*/
|
|
1248
1804
|
schemes?: { [key: string]: StringListJson };
|
|
@@ -1255,6 +1811,10 @@ export declare type SecurityRequirementJson = {
|
|
|
1255
1811
|
export declare const SecurityRequirementSchema: GenMessage<SecurityRequirement, {jsonType: SecurityRequirementJson}>;
|
|
1256
1812
|
|
|
1257
1813
|
/**
|
|
1814
|
+
* Defines a security scheme that can be used to secure an agent's endpoints.
|
|
1815
|
+
* This is a discriminated union type based on the OpenAPI 3.2 Security Scheme Object.
|
|
1816
|
+
* See: https://spec.openapis.org/oas/v3.2.0.html#security-scheme-object
|
|
1817
|
+
*
|
|
1258
1818
|
* @generated from message lf.a2a.v1.SecurityScheme
|
|
1259
1819
|
*/
|
|
1260
1820
|
export declare type SecurityScheme = Message$1<"lf.a2a.v1.SecurityScheme"> & {
|
|
@@ -1263,30 +1823,40 @@ export declare type SecurityScheme = Message$1<"lf.a2a.v1.SecurityScheme"> & {
|
|
|
1263
1823
|
*/
|
|
1264
1824
|
scheme: {
|
|
1265
1825
|
/**
|
|
1826
|
+
* API key-based authentication.
|
|
1827
|
+
*
|
|
1266
1828
|
* @generated from field: lf.a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1;
|
|
1267
1829
|
*/
|
|
1268
1830
|
value: APIKeySecurityScheme;
|
|
1269
1831
|
case: "apiKeySecurityScheme";
|
|
1270
1832
|
} | {
|
|
1271
1833
|
/**
|
|
1834
|
+
* HTTP authentication (Basic, Bearer, etc.).
|
|
1835
|
+
*
|
|
1272
1836
|
* @generated from field: lf.a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2;
|
|
1273
1837
|
*/
|
|
1274
1838
|
value: HTTPAuthSecurityScheme;
|
|
1275
1839
|
case: "httpAuthSecurityScheme";
|
|
1276
1840
|
} | {
|
|
1277
1841
|
/**
|
|
1842
|
+
* OAuth 2.0 authentication.
|
|
1843
|
+
*
|
|
1278
1844
|
* @generated from field: lf.a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3;
|
|
1279
1845
|
*/
|
|
1280
1846
|
value: OAuth2SecurityScheme;
|
|
1281
1847
|
case: "oauth2SecurityScheme";
|
|
1282
1848
|
} | {
|
|
1283
1849
|
/**
|
|
1850
|
+
* OpenID Connect authentication.
|
|
1851
|
+
*
|
|
1284
1852
|
* @generated from field: lf.a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4;
|
|
1285
1853
|
*/
|
|
1286
1854
|
value: OpenIdConnectSecurityScheme;
|
|
1287
1855
|
case: "openIdConnectSecurityScheme";
|
|
1288
1856
|
} | {
|
|
1289
1857
|
/**
|
|
1858
|
+
* Mutual TLS authentication.
|
|
1859
|
+
*
|
|
1290
1860
|
* @generated from field: lf.a2a.v1.MutualTlsSecurityScheme mtls_security_scheme = 5;
|
|
1291
1861
|
*/
|
|
1292
1862
|
value: MutualTlsSecurityScheme;
|
|
@@ -1295,30 +1865,44 @@ export declare type SecurityScheme = Message$1<"lf.a2a.v1.SecurityScheme"> & {
|
|
|
1295
1865
|
};
|
|
1296
1866
|
|
|
1297
1867
|
/**
|
|
1868
|
+
* Defines a security scheme that can be used to secure an agent's endpoints.
|
|
1869
|
+
* This is a discriminated union type based on the OpenAPI 3.2 Security Scheme Object.
|
|
1870
|
+
* See: https://spec.openapis.org/oas/v3.2.0.html#security-scheme-object
|
|
1871
|
+
*
|
|
1298
1872
|
* @generated from message lf.a2a.v1.SecurityScheme
|
|
1299
1873
|
*/
|
|
1300
1874
|
export declare type SecuritySchemeJson = {
|
|
1301
1875
|
/**
|
|
1876
|
+
* API key-based authentication.
|
|
1877
|
+
*
|
|
1302
1878
|
* @generated from field: lf.a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1;
|
|
1303
1879
|
*/
|
|
1304
1880
|
apiKeySecurityScheme?: APIKeySecuritySchemeJson;
|
|
1305
1881
|
|
|
1306
1882
|
/**
|
|
1883
|
+
* HTTP authentication (Basic, Bearer, etc.).
|
|
1884
|
+
*
|
|
1307
1885
|
* @generated from field: lf.a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2;
|
|
1308
1886
|
*/
|
|
1309
1887
|
httpAuthSecurityScheme?: HTTPAuthSecuritySchemeJson;
|
|
1310
1888
|
|
|
1311
1889
|
/**
|
|
1890
|
+
* OAuth 2.0 authentication.
|
|
1891
|
+
*
|
|
1312
1892
|
* @generated from field: lf.a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3;
|
|
1313
1893
|
*/
|
|
1314
1894
|
oauth2SecurityScheme?: OAuth2SecuritySchemeJson;
|
|
1315
1895
|
|
|
1316
1896
|
/**
|
|
1897
|
+
* OpenID Connect authentication.
|
|
1898
|
+
*
|
|
1317
1899
|
* @generated from field: lf.a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4;
|
|
1318
1900
|
*/
|
|
1319
1901
|
openIdConnectSecurityScheme?: OpenIdConnectSecuritySchemeJson;
|
|
1320
1902
|
|
|
1321
1903
|
/**
|
|
1904
|
+
* Mutual TLS authentication.
|
|
1905
|
+
*
|
|
1322
1906
|
* @generated from field: lf.a2a.v1.MutualTlsSecurityScheme mtls_security_scheme = 5;
|
|
1323
1907
|
*/
|
|
1324
1908
|
mtlsSecurityScheme?: MutualTlsSecuritySchemeJson;
|
|
@@ -1331,40 +1915,56 @@ export declare type SecuritySchemeJson = {
|
|
|
1331
1915
|
export declare const SecuritySchemeSchema: GenMessage<SecurityScheme, {jsonType: SecuritySchemeJson}>;
|
|
1332
1916
|
|
|
1333
1917
|
/**
|
|
1918
|
+
* Defines a security scheme using an API key.
|
|
1919
|
+
*
|
|
1334
1920
|
* @generated from message lf.a2a.v1.APIKeySecurityScheme
|
|
1335
1921
|
*/
|
|
1336
1922
|
export declare type APIKeySecurityScheme = Message$1<"lf.a2a.v1.APIKeySecurityScheme"> & {
|
|
1337
1923
|
/**
|
|
1924
|
+
* An optional description for the security scheme.
|
|
1925
|
+
*
|
|
1338
1926
|
* @generated from field: string description = 1;
|
|
1339
1927
|
*/
|
|
1340
1928
|
description: string;
|
|
1341
1929
|
|
|
1342
1930
|
/**
|
|
1931
|
+
* The location of the API key. Valid values are "query", "header", or "cookie".
|
|
1932
|
+
*
|
|
1343
1933
|
* @generated from field: string location = 2;
|
|
1344
1934
|
*/
|
|
1345
1935
|
location: string;
|
|
1346
1936
|
|
|
1347
1937
|
/**
|
|
1938
|
+
* The name of the header, query, or cookie parameter to be used.
|
|
1939
|
+
*
|
|
1348
1940
|
* @generated from field: string name = 3;
|
|
1349
1941
|
*/
|
|
1350
1942
|
name: string;
|
|
1351
1943
|
};
|
|
1352
1944
|
|
|
1353
1945
|
/**
|
|
1946
|
+
* Defines a security scheme using an API key.
|
|
1947
|
+
*
|
|
1354
1948
|
* @generated from message lf.a2a.v1.APIKeySecurityScheme
|
|
1355
1949
|
*/
|
|
1356
1950
|
export declare type APIKeySecuritySchemeJson = {
|
|
1357
1951
|
/**
|
|
1952
|
+
* An optional description for the security scheme.
|
|
1953
|
+
*
|
|
1358
1954
|
* @generated from field: string description = 1;
|
|
1359
1955
|
*/
|
|
1360
1956
|
description?: string;
|
|
1361
1957
|
|
|
1362
1958
|
/**
|
|
1959
|
+
* The location of the API key. Valid values are "query", "header", or "cookie".
|
|
1960
|
+
*
|
|
1363
1961
|
* @generated from field: string location = 2;
|
|
1364
1962
|
*/
|
|
1365
1963
|
location?: string;
|
|
1366
1964
|
|
|
1367
1965
|
/**
|
|
1966
|
+
* The name of the header, query, or cookie parameter to be used.
|
|
1967
|
+
*
|
|
1368
1968
|
* @generated from field: string name = 3;
|
|
1369
1969
|
*/
|
|
1370
1970
|
name?: string;
|
|
@@ -1377,40 +1977,62 @@ export declare type APIKeySecuritySchemeJson = {
|
|
|
1377
1977
|
export declare const APIKeySecuritySchemeSchema: GenMessage<APIKeySecurityScheme, {jsonType: APIKeySecuritySchemeJson}>;
|
|
1378
1978
|
|
|
1379
1979
|
/**
|
|
1980
|
+
* Defines a security scheme using HTTP authentication.
|
|
1981
|
+
*
|
|
1380
1982
|
* @generated from message lf.a2a.v1.HTTPAuthSecurityScheme
|
|
1381
1983
|
*/
|
|
1382
1984
|
export declare type HTTPAuthSecurityScheme = Message$1<"lf.a2a.v1.HTTPAuthSecurityScheme"> & {
|
|
1383
1985
|
/**
|
|
1986
|
+
* An optional description for the security scheme.
|
|
1987
|
+
*
|
|
1384
1988
|
* @generated from field: string description = 1;
|
|
1385
1989
|
*/
|
|
1386
1990
|
description: string;
|
|
1387
1991
|
|
|
1388
1992
|
/**
|
|
1993
|
+
* The name of the HTTP Authentication scheme to be used in the Authorization header,
|
|
1994
|
+
* as defined in RFC7235 (e.g., "Bearer").
|
|
1995
|
+
* This value should be registered in the IANA Authentication Scheme registry.
|
|
1996
|
+
*
|
|
1389
1997
|
* @generated from field: string scheme = 2;
|
|
1390
1998
|
*/
|
|
1391
1999
|
scheme: string;
|
|
1392
2000
|
|
|
1393
2001
|
/**
|
|
2002
|
+
* A hint to the client to identify how the bearer token is formatted (e.g., "JWT").
|
|
2003
|
+
* Primarily for documentation purposes.
|
|
2004
|
+
*
|
|
1394
2005
|
* @generated from field: string bearer_format = 3;
|
|
1395
2006
|
*/
|
|
1396
2007
|
bearerFormat: string;
|
|
1397
2008
|
};
|
|
1398
2009
|
|
|
1399
2010
|
/**
|
|
2011
|
+
* Defines a security scheme using HTTP authentication.
|
|
2012
|
+
*
|
|
1400
2013
|
* @generated from message lf.a2a.v1.HTTPAuthSecurityScheme
|
|
1401
2014
|
*/
|
|
1402
2015
|
export declare type HTTPAuthSecuritySchemeJson = {
|
|
1403
2016
|
/**
|
|
2017
|
+
* An optional description for the security scheme.
|
|
2018
|
+
*
|
|
1404
2019
|
* @generated from field: string description = 1;
|
|
1405
2020
|
*/
|
|
1406
2021
|
description?: string;
|
|
1407
2022
|
|
|
1408
2023
|
/**
|
|
2024
|
+
* The name of the HTTP Authentication scheme to be used in the Authorization header,
|
|
2025
|
+
* as defined in RFC7235 (e.g., "Bearer").
|
|
2026
|
+
* This value should be registered in the IANA Authentication Scheme registry.
|
|
2027
|
+
*
|
|
1409
2028
|
* @generated from field: string scheme = 2;
|
|
1410
2029
|
*/
|
|
1411
2030
|
scheme?: string;
|
|
1412
2031
|
|
|
1413
2032
|
/**
|
|
2033
|
+
* A hint to the client to identify how the bearer token is formatted (e.g., "JWT").
|
|
2034
|
+
* Primarily for documentation purposes.
|
|
2035
|
+
*
|
|
1414
2036
|
* @generated from field: string bearer_format = 3;
|
|
1415
2037
|
*/
|
|
1416
2038
|
bearerFormat?: string;
|
|
@@ -1423,40 +2045,58 @@ export declare type HTTPAuthSecuritySchemeJson = {
|
|
|
1423
2045
|
export declare const HTTPAuthSecuritySchemeSchema: GenMessage<HTTPAuthSecurityScheme, {jsonType: HTTPAuthSecuritySchemeJson}>;
|
|
1424
2046
|
|
|
1425
2047
|
/**
|
|
2048
|
+
* Defines a security scheme using OAuth 2.0.
|
|
2049
|
+
*
|
|
1426
2050
|
* @generated from message lf.a2a.v1.OAuth2SecurityScheme
|
|
1427
2051
|
*/
|
|
1428
2052
|
export declare type OAuth2SecurityScheme = Message$1<"lf.a2a.v1.OAuth2SecurityScheme"> & {
|
|
1429
2053
|
/**
|
|
2054
|
+
* An optional description for the security scheme.
|
|
2055
|
+
*
|
|
1430
2056
|
* @generated from field: string description = 1;
|
|
1431
2057
|
*/
|
|
1432
2058
|
description: string;
|
|
1433
2059
|
|
|
1434
2060
|
/**
|
|
2061
|
+
* An object containing configuration information for the supported OAuth 2.0 flows.
|
|
2062
|
+
*
|
|
1435
2063
|
* @generated from field: lf.a2a.v1.OAuthFlows flows = 2;
|
|
1436
2064
|
*/
|
|
1437
2065
|
flows?: OAuthFlows | undefined;
|
|
1438
2066
|
|
|
1439
2067
|
/**
|
|
2068
|
+
* URL to the OAuth2 authorization server metadata [RFC 8414](https://datatracker.ietf.org/doc/html/rfc8414).
|
|
2069
|
+
* TLS is required.
|
|
2070
|
+
*
|
|
1440
2071
|
* @generated from field: string oauth2_metadata_url = 3;
|
|
1441
2072
|
*/
|
|
1442
2073
|
oauth2MetadataUrl: string;
|
|
1443
2074
|
};
|
|
1444
2075
|
|
|
1445
2076
|
/**
|
|
2077
|
+
* Defines a security scheme using OAuth 2.0.
|
|
2078
|
+
*
|
|
1446
2079
|
* @generated from message lf.a2a.v1.OAuth2SecurityScheme
|
|
1447
2080
|
*/
|
|
1448
2081
|
export declare type OAuth2SecuritySchemeJson = {
|
|
1449
2082
|
/**
|
|
2083
|
+
* An optional description for the security scheme.
|
|
2084
|
+
*
|
|
1450
2085
|
* @generated from field: string description = 1;
|
|
1451
2086
|
*/
|
|
1452
2087
|
description?: string;
|
|
1453
2088
|
|
|
1454
2089
|
/**
|
|
2090
|
+
* An object containing configuration information for the supported OAuth 2.0 flows.
|
|
2091
|
+
*
|
|
1455
2092
|
* @generated from field: lf.a2a.v1.OAuthFlows flows = 2;
|
|
1456
2093
|
*/
|
|
1457
2094
|
flows?: OAuthFlowsJson;
|
|
1458
2095
|
|
|
1459
2096
|
/**
|
|
2097
|
+
* URL to the OAuth2 authorization server metadata [RFC 8414](https://datatracker.ietf.org/doc/html/rfc8414).
|
|
2098
|
+
* TLS is required.
|
|
2099
|
+
*
|
|
1460
2100
|
* @generated from field: string oauth2_metadata_url = 3;
|
|
1461
2101
|
*/
|
|
1462
2102
|
oauth2MetadataUrl?: string;
|
|
@@ -1469,30 +2109,42 @@ export declare type OAuth2SecuritySchemeJson = {
|
|
|
1469
2109
|
export declare const OAuth2SecuritySchemeSchema: GenMessage<OAuth2SecurityScheme, {jsonType: OAuth2SecuritySchemeJson}>;
|
|
1470
2110
|
|
|
1471
2111
|
/**
|
|
2112
|
+
* Defines a security scheme using OpenID Connect.
|
|
2113
|
+
*
|
|
1472
2114
|
* @generated from message lf.a2a.v1.OpenIdConnectSecurityScheme
|
|
1473
2115
|
*/
|
|
1474
2116
|
export declare type OpenIdConnectSecurityScheme = Message$1<"lf.a2a.v1.OpenIdConnectSecurityScheme"> & {
|
|
1475
2117
|
/**
|
|
2118
|
+
* An optional description for the security scheme.
|
|
2119
|
+
*
|
|
1476
2120
|
* @generated from field: string description = 1;
|
|
1477
2121
|
*/
|
|
1478
2122
|
description: string;
|
|
1479
2123
|
|
|
1480
2124
|
/**
|
|
2125
|
+
* The [OpenID Connect Discovery URL](https://openid.net/specs/openid-connect-discovery-1_0.html) for the OIDC provider's metadata.
|
|
2126
|
+
*
|
|
1481
2127
|
* @generated from field: string open_id_connect_url = 2;
|
|
1482
2128
|
*/
|
|
1483
2129
|
openIdConnectUrl: string;
|
|
1484
2130
|
};
|
|
1485
2131
|
|
|
1486
2132
|
/**
|
|
2133
|
+
* Defines a security scheme using OpenID Connect.
|
|
2134
|
+
*
|
|
1487
2135
|
* @generated from message lf.a2a.v1.OpenIdConnectSecurityScheme
|
|
1488
2136
|
*/
|
|
1489
2137
|
export declare type OpenIdConnectSecuritySchemeJson = {
|
|
1490
2138
|
/**
|
|
2139
|
+
* An optional description for the security scheme.
|
|
2140
|
+
*
|
|
1491
2141
|
* @generated from field: string description = 1;
|
|
1492
2142
|
*/
|
|
1493
2143
|
description?: string;
|
|
1494
2144
|
|
|
1495
2145
|
/**
|
|
2146
|
+
* The [OpenID Connect Discovery URL](https://openid.net/specs/openid-connect-discovery-1_0.html) for the OIDC provider's metadata.
|
|
2147
|
+
*
|
|
1496
2148
|
* @generated from field: string open_id_connect_url = 2;
|
|
1497
2149
|
*/
|
|
1498
2150
|
openIdConnectUrl?: string;
|
|
@@ -1505,20 +2157,28 @@ export declare type OpenIdConnectSecuritySchemeJson = {
|
|
|
1505
2157
|
export declare const OpenIdConnectSecuritySchemeSchema: GenMessage<OpenIdConnectSecurityScheme, {jsonType: OpenIdConnectSecuritySchemeJson}>;
|
|
1506
2158
|
|
|
1507
2159
|
/**
|
|
2160
|
+
* Defines a security scheme using mTLS authentication.
|
|
2161
|
+
*
|
|
1508
2162
|
* @generated from message lf.a2a.v1.MutualTlsSecurityScheme
|
|
1509
2163
|
*/
|
|
1510
2164
|
export declare type MutualTlsSecurityScheme = Message$1<"lf.a2a.v1.MutualTlsSecurityScheme"> & {
|
|
1511
2165
|
/**
|
|
2166
|
+
* An optional description for the security scheme.
|
|
2167
|
+
*
|
|
1512
2168
|
* @generated from field: string description = 1;
|
|
1513
2169
|
*/
|
|
1514
2170
|
description: string;
|
|
1515
2171
|
};
|
|
1516
2172
|
|
|
1517
2173
|
/**
|
|
2174
|
+
* Defines a security scheme using mTLS authentication.
|
|
2175
|
+
*
|
|
1518
2176
|
* @generated from message lf.a2a.v1.MutualTlsSecurityScheme
|
|
1519
2177
|
*/
|
|
1520
2178
|
export declare type MutualTlsSecuritySchemeJson = {
|
|
1521
2179
|
/**
|
|
2180
|
+
* An optional description for the security scheme.
|
|
2181
|
+
*
|
|
1522
2182
|
* @generated from field: string description = 1;
|
|
1523
2183
|
*/
|
|
1524
2184
|
description?: string;
|
|
@@ -1531,6 +2191,8 @@ export declare type MutualTlsSecuritySchemeJson = {
|
|
|
1531
2191
|
export declare const MutualTlsSecuritySchemeSchema: GenMessage<MutualTlsSecurityScheme, {jsonType: MutualTlsSecuritySchemeJson}>;
|
|
1532
2192
|
|
|
1533
2193
|
/**
|
|
2194
|
+
* Defines the configuration for the supported OAuth 2.0 flows.
|
|
2195
|
+
*
|
|
1534
2196
|
* @generated from message lf.a2a.v1.OAuthFlows
|
|
1535
2197
|
*/
|
|
1536
2198
|
export declare type OAuthFlows = Message$1<"lf.a2a.v1.OAuthFlows"> & {
|
|
@@ -1539,18 +2201,24 @@ export declare type OAuthFlows = Message$1<"lf.a2a.v1.OAuthFlows"> & {
|
|
|
1539
2201
|
*/
|
|
1540
2202
|
flow: {
|
|
1541
2203
|
/**
|
|
2204
|
+
* Configuration for the OAuth Authorization Code flow.
|
|
2205
|
+
*
|
|
1542
2206
|
* @generated from field: lf.a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1;
|
|
1543
2207
|
*/
|
|
1544
2208
|
value: AuthorizationCodeOAuthFlow;
|
|
1545
2209
|
case: "authorizationCode";
|
|
1546
2210
|
} | {
|
|
1547
2211
|
/**
|
|
2212
|
+
* Configuration for the OAuth Client Credentials flow.
|
|
2213
|
+
*
|
|
1548
2214
|
* @generated from field: lf.a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2;
|
|
1549
2215
|
*/
|
|
1550
2216
|
value: ClientCredentialsOAuthFlow;
|
|
1551
2217
|
case: "clientCredentials";
|
|
1552
2218
|
} | {
|
|
1553
2219
|
/**
|
|
2220
|
+
* Deprecated: Use Authorization Code + PKCE instead.
|
|
2221
|
+
*
|
|
1554
2222
|
* @generated from field: lf.a2a.v1.ImplicitOAuthFlow implicit = 3 [deprecated = true];
|
|
1555
2223
|
* @deprecated
|
|
1556
2224
|
*/
|
|
@@ -1558,6 +2226,8 @@ export declare type OAuthFlows = Message$1<"lf.a2a.v1.OAuthFlows"> & {
|
|
|
1558
2226
|
case: "implicit";
|
|
1559
2227
|
} | {
|
|
1560
2228
|
/**
|
|
2229
|
+
* Deprecated: Use Authorization Code + PKCE or Device Code.
|
|
2230
|
+
*
|
|
1561
2231
|
* @generated from field: lf.a2a.v1.PasswordOAuthFlow password = 4 [deprecated = true];
|
|
1562
2232
|
* @deprecated
|
|
1563
2233
|
*/
|
|
@@ -1565,6 +2235,8 @@ export declare type OAuthFlows = Message$1<"lf.a2a.v1.OAuthFlows"> & {
|
|
|
1565
2235
|
case: "password";
|
|
1566
2236
|
} | {
|
|
1567
2237
|
/**
|
|
2238
|
+
* Configuration for the OAuth Device Code flow.
|
|
2239
|
+
*
|
|
1568
2240
|
* @generated from field: lf.a2a.v1.DeviceCodeOAuthFlow device_code = 5;
|
|
1569
2241
|
*/
|
|
1570
2242
|
value: DeviceCodeOAuthFlow;
|
|
@@ -1573,32 +2245,44 @@ export declare type OAuthFlows = Message$1<"lf.a2a.v1.OAuthFlows"> & {
|
|
|
1573
2245
|
};
|
|
1574
2246
|
|
|
1575
2247
|
/**
|
|
2248
|
+
* Defines the configuration for the supported OAuth 2.0 flows.
|
|
2249
|
+
*
|
|
1576
2250
|
* @generated from message lf.a2a.v1.OAuthFlows
|
|
1577
2251
|
*/
|
|
1578
2252
|
export declare type OAuthFlowsJson = {
|
|
1579
2253
|
/**
|
|
2254
|
+
* Configuration for the OAuth Authorization Code flow.
|
|
2255
|
+
*
|
|
1580
2256
|
* @generated from field: lf.a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1;
|
|
1581
2257
|
*/
|
|
1582
2258
|
authorizationCode?: AuthorizationCodeOAuthFlowJson;
|
|
1583
2259
|
|
|
1584
2260
|
/**
|
|
2261
|
+
* Configuration for the OAuth Client Credentials flow.
|
|
2262
|
+
*
|
|
1585
2263
|
* @generated from field: lf.a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2;
|
|
1586
2264
|
*/
|
|
1587
2265
|
clientCredentials?: ClientCredentialsOAuthFlowJson;
|
|
1588
2266
|
|
|
1589
2267
|
/**
|
|
2268
|
+
* Deprecated: Use Authorization Code + PKCE instead.
|
|
2269
|
+
*
|
|
1590
2270
|
* @generated from field: lf.a2a.v1.ImplicitOAuthFlow implicit = 3 [deprecated = true];
|
|
1591
2271
|
* @deprecated
|
|
1592
2272
|
*/
|
|
1593
2273
|
implicit?: ImplicitOAuthFlowJson;
|
|
1594
2274
|
|
|
1595
2275
|
/**
|
|
2276
|
+
* Deprecated: Use Authorization Code + PKCE or Device Code.
|
|
2277
|
+
*
|
|
1596
2278
|
* @generated from field: lf.a2a.v1.PasswordOAuthFlow password = 4 [deprecated = true];
|
|
1597
2279
|
* @deprecated
|
|
1598
2280
|
*/
|
|
1599
2281
|
password?: PasswordOAuthFlowJson;
|
|
1600
2282
|
|
|
1601
2283
|
/**
|
|
2284
|
+
* Configuration for the OAuth Device Code flow.
|
|
2285
|
+
*
|
|
1602
2286
|
* @generated from field: lf.a2a.v1.DeviceCodeOAuthFlow device_code = 5;
|
|
1603
2287
|
*/
|
|
1604
2288
|
deviceCode?: DeviceCodeOAuthFlowJson;
|
|
@@ -1611,60 +2295,86 @@ export declare type OAuthFlowsJson = {
|
|
|
1611
2295
|
export declare const OAuthFlowsSchema: GenMessage<OAuthFlows, {jsonType: OAuthFlowsJson}>;
|
|
1612
2296
|
|
|
1613
2297
|
/**
|
|
2298
|
+
* Defines configuration details for the OAuth 2.0 Authorization Code flow.
|
|
2299
|
+
*
|
|
1614
2300
|
* @generated from message lf.a2a.v1.AuthorizationCodeOAuthFlow
|
|
1615
2301
|
*/
|
|
1616
2302
|
export declare type AuthorizationCodeOAuthFlow = Message$1<"lf.a2a.v1.AuthorizationCodeOAuthFlow"> & {
|
|
1617
2303
|
/**
|
|
2304
|
+
* The authorization URL to be used for this flow.
|
|
2305
|
+
*
|
|
1618
2306
|
* @generated from field: string authorization_url = 1;
|
|
1619
2307
|
*/
|
|
1620
2308
|
authorizationUrl: string;
|
|
1621
2309
|
|
|
1622
2310
|
/**
|
|
2311
|
+
* The token URL to be used for this flow.
|
|
2312
|
+
*
|
|
1623
2313
|
* @generated from field: string token_url = 2;
|
|
1624
2314
|
*/
|
|
1625
2315
|
tokenUrl: string;
|
|
1626
2316
|
|
|
1627
2317
|
/**
|
|
2318
|
+
* The URL to be used for obtaining refresh tokens.
|
|
2319
|
+
*
|
|
1628
2320
|
* @generated from field: string refresh_url = 3;
|
|
1629
2321
|
*/
|
|
1630
2322
|
refreshUrl: string;
|
|
1631
2323
|
|
|
1632
2324
|
/**
|
|
2325
|
+
* The available scopes for the OAuth2 security scheme.
|
|
2326
|
+
*
|
|
1633
2327
|
* @generated from field: map<string, string> scopes = 4;
|
|
1634
2328
|
*/
|
|
1635
2329
|
scopes: { [key: string]: string };
|
|
1636
2330
|
|
|
1637
2331
|
/**
|
|
2332
|
+
* Indicates if PKCE (RFC 7636) is required for this flow.
|
|
2333
|
+
* PKCE should always be used for public clients and is recommended for all clients.
|
|
2334
|
+
*
|
|
1638
2335
|
* @generated from field: bool pkce_required = 5;
|
|
1639
2336
|
*/
|
|
1640
2337
|
pkceRequired: boolean;
|
|
1641
2338
|
};
|
|
1642
2339
|
|
|
1643
2340
|
/**
|
|
2341
|
+
* Defines configuration details for the OAuth 2.0 Authorization Code flow.
|
|
2342
|
+
*
|
|
1644
2343
|
* @generated from message lf.a2a.v1.AuthorizationCodeOAuthFlow
|
|
1645
2344
|
*/
|
|
1646
2345
|
export declare type AuthorizationCodeOAuthFlowJson = {
|
|
1647
2346
|
/**
|
|
2347
|
+
* The authorization URL to be used for this flow.
|
|
2348
|
+
*
|
|
1648
2349
|
* @generated from field: string authorization_url = 1;
|
|
1649
2350
|
*/
|
|
1650
2351
|
authorizationUrl?: string;
|
|
1651
2352
|
|
|
1652
2353
|
/**
|
|
2354
|
+
* The token URL to be used for this flow.
|
|
2355
|
+
*
|
|
1653
2356
|
* @generated from field: string token_url = 2;
|
|
1654
2357
|
*/
|
|
1655
2358
|
tokenUrl?: string;
|
|
1656
2359
|
|
|
1657
2360
|
/**
|
|
2361
|
+
* The URL to be used for obtaining refresh tokens.
|
|
2362
|
+
*
|
|
1658
2363
|
* @generated from field: string refresh_url = 3;
|
|
1659
2364
|
*/
|
|
1660
2365
|
refreshUrl?: string;
|
|
1661
2366
|
|
|
1662
2367
|
/**
|
|
2368
|
+
* The available scopes for the OAuth2 security scheme.
|
|
2369
|
+
*
|
|
1663
2370
|
* @generated from field: map<string, string> scopes = 4;
|
|
1664
2371
|
*/
|
|
1665
2372
|
scopes?: { [key: string]: string };
|
|
1666
2373
|
|
|
1667
2374
|
/**
|
|
2375
|
+
* Indicates if PKCE (RFC 7636) is required for this flow.
|
|
2376
|
+
* PKCE should always be used for public clients and is recommended for all clients.
|
|
2377
|
+
*
|
|
1668
2378
|
* @generated from field: bool pkce_required = 5;
|
|
1669
2379
|
*/
|
|
1670
2380
|
pkceRequired?: boolean;
|
|
@@ -1677,40 +2387,56 @@ export declare type AuthorizationCodeOAuthFlowJson = {
|
|
|
1677
2387
|
export declare const AuthorizationCodeOAuthFlowSchema: GenMessage<AuthorizationCodeOAuthFlow, {jsonType: AuthorizationCodeOAuthFlowJson}>;
|
|
1678
2388
|
|
|
1679
2389
|
/**
|
|
2390
|
+
* Defines configuration details for the OAuth 2.0 Client Credentials flow.
|
|
2391
|
+
*
|
|
1680
2392
|
* @generated from message lf.a2a.v1.ClientCredentialsOAuthFlow
|
|
1681
2393
|
*/
|
|
1682
2394
|
export declare type ClientCredentialsOAuthFlow = Message$1<"lf.a2a.v1.ClientCredentialsOAuthFlow"> & {
|
|
1683
2395
|
/**
|
|
2396
|
+
* The token URL to be used for this flow.
|
|
2397
|
+
*
|
|
1684
2398
|
* @generated from field: string token_url = 1;
|
|
1685
2399
|
*/
|
|
1686
2400
|
tokenUrl: string;
|
|
1687
2401
|
|
|
1688
2402
|
/**
|
|
2403
|
+
* The URL to be used for obtaining refresh tokens.
|
|
2404
|
+
*
|
|
1689
2405
|
* @generated from field: string refresh_url = 2;
|
|
1690
2406
|
*/
|
|
1691
2407
|
refreshUrl: string;
|
|
1692
2408
|
|
|
1693
2409
|
/**
|
|
2410
|
+
* The available scopes for the OAuth2 security scheme.
|
|
2411
|
+
*
|
|
1694
2412
|
* @generated from field: map<string, string> scopes = 3;
|
|
1695
2413
|
*/
|
|
1696
2414
|
scopes: { [key: string]: string };
|
|
1697
2415
|
};
|
|
1698
2416
|
|
|
1699
2417
|
/**
|
|
2418
|
+
* Defines configuration details for the OAuth 2.0 Client Credentials flow.
|
|
2419
|
+
*
|
|
1700
2420
|
* @generated from message lf.a2a.v1.ClientCredentialsOAuthFlow
|
|
1701
2421
|
*/
|
|
1702
2422
|
export declare type ClientCredentialsOAuthFlowJson = {
|
|
1703
2423
|
/**
|
|
2424
|
+
* The token URL to be used for this flow.
|
|
2425
|
+
*
|
|
1704
2426
|
* @generated from field: string token_url = 1;
|
|
1705
2427
|
*/
|
|
1706
2428
|
tokenUrl?: string;
|
|
1707
2429
|
|
|
1708
2430
|
/**
|
|
2431
|
+
* The URL to be used for obtaining refresh tokens.
|
|
2432
|
+
*
|
|
1709
2433
|
* @generated from field: string refresh_url = 2;
|
|
1710
2434
|
*/
|
|
1711
2435
|
refreshUrl?: string;
|
|
1712
2436
|
|
|
1713
2437
|
/**
|
|
2438
|
+
* The available scopes for the OAuth2 security scheme.
|
|
2439
|
+
*
|
|
1714
2440
|
* @generated from field: map<string, string> scopes = 3;
|
|
1715
2441
|
*/
|
|
1716
2442
|
scopes?: { [key: string]: string };
|
|
@@ -1723,40 +2449,62 @@ export declare type ClientCredentialsOAuthFlowJson = {
|
|
|
1723
2449
|
export declare const ClientCredentialsOAuthFlowSchema: GenMessage<ClientCredentialsOAuthFlow, {jsonType: ClientCredentialsOAuthFlowJson}>;
|
|
1724
2450
|
|
|
1725
2451
|
/**
|
|
2452
|
+
* Deprecated: Use Authorization Code + PKCE instead.
|
|
2453
|
+
*
|
|
1726
2454
|
* @generated from message lf.a2a.v1.ImplicitOAuthFlow
|
|
1727
2455
|
*/
|
|
1728
2456
|
export declare type ImplicitOAuthFlow = Message$1<"lf.a2a.v1.ImplicitOAuthFlow"> & {
|
|
1729
2457
|
/**
|
|
2458
|
+
* The authorization URL to be used for this flow. This MUST be in the
|
|
2459
|
+
* form of a URL. The OAuth2 standard requires the use of TLS
|
|
2460
|
+
*
|
|
1730
2461
|
* @generated from field: string authorization_url = 1;
|
|
1731
2462
|
*/
|
|
1732
2463
|
authorizationUrl: string;
|
|
1733
2464
|
|
|
1734
2465
|
/**
|
|
2466
|
+
* The URL to be used for obtaining refresh tokens. This MUST be in the
|
|
2467
|
+
* form of a URL. The OAuth2 standard requires the use of TLS.
|
|
2468
|
+
*
|
|
1735
2469
|
* @generated from field: string refresh_url = 2;
|
|
1736
2470
|
*/
|
|
1737
2471
|
refreshUrl: string;
|
|
1738
2472
|
|
|
1739
2473
|
/**
|
|
2474
|
+
* The available scopes for the OAuth2 security scheme. A map between the
|
|
2475
|
+
* scope name and a short description for it. The map MAY be empty.
|
|
2476
|
+
*
|
|
1740
2477
|
* @generated from field: map<string, string> scopes = 3;
|
|
1741
2478
|
*/
|
|
1742
2479
|
scopes: { [key: string]: string };
|
|
1743
2480
|
};
|
|
1744
2481
|
|
|
1745
2482
|
/**
|
|
2483
|
+
* Deprecated: Use Authorization Code + PKCE instead.
|
|
2484
|
+
*
|
|
1746
2485
|
* @generated from message lf.a2a.v1.ImplicitOAuthFlow
|
|
1747
2486
|
*/
|
|
1748
2487
|
export declare type ImplicitOAuthFlowJson = {
|
|
1749
2488
|
/**
|
|
2489
|
+
* The authorization URL to be used for this flow. This MUST be in the
|
|
2490
|
+
* form of a URL. The OAuth2 standard requires the use of TLS
|
|
2491
|
+
*
|
|
1750
2492
|
* @generated from field: string authorization_url = 1;
|
|
1751
2493
|
*/
|
|
1752
2494
|
authorizationUrl?: string;
|
|
1753
2495
|
|
|
1754
2496
|
/**
|
|
2497
|
+
* The URL to be used for obtaining refresh tokens. This MUST be in the
|
|
2498
|
+
* form of a URL. The OAuth2 standard requires the use of TLS.
|
|
2499
|
+
*
|
|
1755
2500
|
* @generated from field: string refresh_url = 2;
|
|
1756
2501
|
*/
|
|
1757
2502
|
refreshUrl?: string;
|
|
1758
2503
|
|
|
1759
2504
|
/**
|
|
2505
|
+
* The available scopes for the OAuth2 security scheme. A map between the
|
|
2506
|
+
* scope name and a short description for it. The map MAY be empty.
|
|
2507
|
+
*
|
|
1760
2508
|
* @generated from field: map<string, string> scopes = 3;
|
|
1761
2509
|
*/
|
|
1762
2510
|
scopes?: { [key: string]: string };
|
|
@@ -1769,40 +2517,62 @@ export declare type ImplicitOAuthFlowJson = {
|
|
|
1769
2517
|
export declare const ImplicitOAuthFlowSchema: GenMessage<ImplicitOAuthFlow, {jsonType: ImplicitOAuthFlowJson}>;
|
|
1770
2518
|
|
|
1771
2519
|
/**
|
|
2520
|
+
* Deprecated: Use Authorization Code + PKCE or Device Code.
|
|
2521
|
+
*
|
|
1772
2522
|
* @generated from message lf.a2a.v1.PasswordOAuthFlow
|
|
1773
2523
|
*/
|
|
1774
2524
|
export declare type PasswordOAuthFlow = Message$1<"lf.a2a.v1.PasswordOAuthFlow"> & {
|
|
1775
2525
|
/**
|
|
2526
|
+
* The token URL to be used for this flow. This MUST be in the form of a URL.
|
|
2527
|
+
* The OAuth2 standard requires the use of TLS.
|
|
2528
|
+
*
|
|
1776
2529
|
* @generated from field: string token_url = 1;
|
|
1777
2530
|
*/
|
|
1778
2531
|
tokenUrl: string;
|
|
1779
2532
|
|
|
1780
2533
|
/**
|
|
2534
|
+
* The URL to be used for obtaining refresh tokens. This MUST be in the
|
|
2535
|
+
* form of a URL. The OAuth2 standard requires the use of TLS.
|
|
2536
|
+
*
|
|
1781
2537
|
* @generated from field: string refresh_url = 2;
|
|
1782
2538
|
*/
|
|
1783
2539
|
refreshUrl: string;
|
|
1784
2540
|
|
|
1785
2541
|
/**
|
|
2542
|
+
* The available scopes for the OAuth2 security scheme. A map between the
|
|
2543
|
+
* scope name and a short description for it. The map MAY be empty.
|
|
2544
|
+
*
|
|
1786
2545
|
* @generated from field: map<string, string> scopes = 3;
|
|
1787
2546
|
*/
|
|
1788
2547
|
scopes: { [key: string]: string };
|
|
1789
2548
|
};
|
|
1790
2549
|
|
|
1791
2550
|
/**
|
|
2551
|
+
* Deprecated: Use Authorization Code + PKCE or Device Code.
|
|
2552
|
+
*
|
|
1792
2553
|
* @generated from message lf.a2a.v1.PasswordOAuthFlow
|
|
1793
2554
|
*/
|
|
1794
2555
|
export declare type PasswordOAuthFlowJson = {
|
|
1795
2556
|
/**
|
|
2557
|
+
* The token URL to be used for this flow. This MUST be in the form of a URL.
|
|
2558
|
+
* The OAuth2 standard requires the use of TLS.
|
|
2559
|
+
*
|
|
1796
2560
|
* @generated from field: string token_url = 1;
|
|
1797
2561
|
*/
|
|
1798
2562
|
tokenUrl?: string;
|
|
1799
2563
|
|
|
1800
2564
|
/**
|
|
2565
|
+
* The URL to be used for obtaining refresh tokens. This MUST be in the
|
|
2566
|
+
* form of a URL. The OAuth2 standard requires the use of TLS.
|
|
2567
|
+
*
|
|
1801
2568
|
* @generated from field: string refresh_url = 2;
|
|
1802
2569
|
*/
|
|
1803
2570
|
refreshUrl?: string;
|
|
1804
2571
|
|
|
1805
2572
|
/**
|
|
2573
|
+
* The available scopes for the OAuth2 security scheme. A map between the
|
|
2574
|
+
* scope name and a short description for it. The map MAY be empty.
|
|
2575
|
+
*
|
|
1806
2576
|
* @generated from field: map<string, string> scopes = 3;
|
|
1807
2577
|
*/
|
|
1808
2578
|
scopes?: { [key: string]: string };
|
|
@@ -1815,50 +2585,74 @@ export declare type PasswordOAuthFlowJson = {
|
|
|
1815
2585
|
export declare const PasswordOAuthFlowSchema: GenMessage<PasswordOAuthFlow, {jsonType: PasswordOAuthFlowJson}>;
|
|
1816
2586
|
|
|
1817
2587
|
/**
|
|
2588
|
+
* Defines configuration details for the OAuth 2.0 Device Code flow (RFC 8628).
|
|
2589
|
+
* This flow is designed for input-constrained devices such as IoT devices,
|
|
2590
|
+
* and CLI tools where the user authenticates on a separate device.
|
|
2591
|
+
*
|
|
1818
2592
|
* @generated from message lf.a2a.v1.DeviceCodeOAuthFlow
|
|
1819
2593
|
*/
|
|
1820
2594
|
export declare type DeviceCodeOAuthFlow = Message$1<"lf.a2a.v1.DeviceCodeOAuthFlow"> & {
|
|
1821
2595
|
/**
|
|
2596
|
+
* The device authorization endpoint URL.
|
|
2597
|
+
*
|
|
1822
2598
|
* @generated from field: string device_authorization_url = 1;
|
|
1823
2599
|
*/
|
|
1824
2600
|
deviceAuthorizationUrl: string;
|
|
1825
2601
|
|
|
1826
2602
|
/**
|
|
2603
|
+
* The token URL to be used for this flow.
|
|
2604
|
+
*
|
|
1827
2605
|
* @generated from field: string token_url = 2;
|
|
1828
2606
|
*/
|
|
1829
2607
|
tokenUrl: string;
|
|
1830
2608
|
|
|
1831
2609
|
/**
|
|
2610
|
+
* The URL to be used for obtaining refresh tokens.
|
|
2611
|
+
*
|
|
1832
2612
|
* @generated from field: string refresh_url = 3;
|
|
1833
2613
|
*/
|
|
1834
2614
|
refreshUrl: string;
|
|
1835
2615
|
|
|
1836
2616
|
/**
|
|
2617
|
+
* The available scopes for the OAuth2 security scheme.
|
|
2618
|
+
*
|
|
1837
2619
|
* @generated from field: map<string, string> scopes = 4;
|
|
1838
2620
|
*/
|
|
1839
2621
|
scopes: { [key: string]: string };
|
|
1840
2622
|
};
|
|
1841
2623
|
|
|
1842
2624
|
/**
|
|
2625
|
+
* Defines configuration details for the OAuth 2.0 Device Code flow (RFC 8628).
|
|
2626
|
+
* This flow is designed for input-constrained devices such as IoT devices,
|
|
2627
|
+
* and CLI tools where the user authenticates on a separate device.
|
|
2628
|
+
*
|
|
1843
2629
|
* @generated from message lf.a2a.v1.DeviceCodeOAuthFlow
|
|
1844
2630
|
*/
|
|
1845
2631
|
export declare type DeviceCodeOAuthFlowJson = {
|
|
1846
2632
|
/**
|
|
2633
|
+
* The device authorization endpoint URL.
|
|
2634
|
+
*
|
|
1847
2635
|
* @generated from field: string device_authorization_url = 1;
|
|
1848
2636
|
*/
|
|
1849
2637
|
deviceAuthorizationUrl?: string;
|
|
1850
2638
|
|
|
1851
2639
|
/**
|
|
2640
|
+
* The token URL to be used for this flow.
|
|
2641
|
+
*
|
|
1852
2642
|
* @generated from field: string token_url = 2;
|
|
1853
2643
|
*/
|
|
1854
2644
|
tokenUrl?: string;
|
|
1855
2645
|
|
|
1856
2646
|
/**
|
|
2647
|
+
* The URL to be used for obtaining refresh tokens.
|
|
2648
|
+
*
|
|
1857
2649
|
* @generated from field: string refresh_url = 3;
|
|
1858
2650
|
*/
|
|
1859
2651
|
refreshUrl?: string;
|
|
1860
2652
|
|
|
1861
2653
|
/**
|
|
2654
|
+
* The available scopes for the OAuth2 security scheme.
|
|
2655
|
+
*
|
|
1862
2656
|
* @generated from field: map<string, string> scopes = 4;
|
|
1863
2657
|
*/
|
|
1864
2658
|
scopes?: { [key: string]: string };
|
|
@@ -1871,50 +2665,70 @@ export declare type DeviceCodeOAuthFlowJson = {
|
|
|
1871
2665
|
export declare const DeviceCodeOAuthFlowSchema: GenMessage<DeviceCodeOAuthFlow, {jsonType: DeviceCodeOAuthFlowJson}>;
|
|
1872
2666
|
|
|
1873
2667
|
/**
|
|
2668
|
+
* Represents a request for the `SendMessage` method.
|
|
2669
|
+
*
|
|
1874
2670
|
* @generated from message lf.a2a.v1.SendMessageRequest
|
|
1875
2671
|
*/
|
|
1876
2672
|
export declare type SendMessageRequest = Message$1<"lf.a2a.v1.SendMessageRequest"> & {
|
|
1877
2673
|
/**
|
|
2674
|
+
* Optional. Tenant ID, provided as a path parameter.
|
|
2675
|
+
*
|
|
1878
2676
|
* @generated from field: string tenant = 1;
|
|
1879
2677
|
*/
|
|
1880
2678
|
tenant: string;
|
|
1881
2679
|
|
|
1882
2680
|
/**
|
|
2681
|
+
* The message to send to the agent.
|
|
2682
|
+
*
|
|
1883
2683
|
* @generated from field: lf.a2a.v1.Message message = 2;
|
|
1884
2684
|
*/
|
|
1885
2685
|
message?: Message | undefined;
|
|
1886
2686
|
|
|
1887
2687
|
/**
|
|
2688
|
+
* Configuration for the send request.
|
|
2689
|
+
*
|
|
1888
2690
|
* @generated from field: lf.a2a.v1.SendMessageConfiguration configuration = 3;
|
|
1889
2691
|
*/
|
|
1890
2692
|
configuration?: SendMessageConfiguration | undefined;
|
|
1891
2693
|
|
|
1892
2694
|
/**
|
|
2695
|
+
* A flexible key-value map for passing additional context or parameters.
|
|
2696
|
+
*
|
|
1893
2697
|
* @generated from field: google.protobuf.Struct metadata = 4;
|
|
1894
2698
|
*/
|
|
1895
2699
|
metadata?: JsonObject | undefined;
|
|
1896
2700
|
};
|
|
1897
2701
|
|
|
1898
2702
|
/**
|
|
2703
|
+
* Represents a request for the `SendMessage` method.
|
|
2704
|
+
*
|
|
1899
2705
|
* @generated from message lf.a2a.v1.SendMessageRequest
|
|
1900
2706
|
*/
|
|
1901
2707
|
export declare type SendMessageRequestJson = {
|
|
1902
2708
|
/**
|
|
2709
|
+
* Optional. Tenant ID, provided as a path parameter.
|
|
2710
|
+
*
|
|
1903
2711
|
* @generated from field: string tenant = 1;
|
|
1904
2712
|
*/
|
|
1905
2713
|
tenant?: string;
|
|
1906
2714
|
|
|
1907
2715
|
/**
|
|
2716
|
+
* The message to send to the agent.
|
|
2717
|
+
*
|
|
1908
2718
|
* @generated from field: lf.a2a.v1.Message message = 2;
|
|
1909
2719
|
*/
|
|
1910
2720
|
message?: MessageJson;
|
|
1911
2721
|
|
|
1912
2722
|
/**
|
|
2723
|
+
* Configuration for the send request.
|
|
2724
|
+
*
|
|
1913
2725
|
* @generated from field: lf.a2a.v1.SendMessageConfiguration configuration = 3;
|
|
1914
2726
|
*/
|
|
1915
2727
|
configuration?: SendMessageConfigurationJson;
|
|
1916
2728
|
|
|
1917
2729
|
/**
|
|
2730
|
+
* A flexible key-value map for passing additional context or parameters.
|
|
2731
|
+
*
|
|
1918
2732
|
* @generated from field: google.protobuf.Struct metadata = 4;
|
|
1919
2733
|
*/
|
|
1920
2734
|
metadata?: StructJson;
|
|
@@ -1927,40 +2741,62 @@ export declare type SendMessageRequestJson = {
|
|
|
1927
2741
|
export declare const SendMessageRequestSchema: GenMessage<SendMessageRequest, {jsonType: SendMessageRequestJson}>;
|
|
1928
2742
|
|
|
1929
2743
|
/**
|
|
2744
|
+
* Represents a request for the `GetTask` method.
|
|
2745
|
+
*
|
|
1930
2746
|
* @generated from message lf.a2a.v1.GetTaskRequest
|
|
1931
2747
|
*/
|
|
1932
2748
|
export declare type GetTaskRequest = Message$1<"lf.a2a.v1.GetTaskRequest"> & {
|
|
1933
2749
|
/**
|
|
2750
|
+
* Optional. Tenant ID, provided as a path parameter.
|
|
2751
|
+
*
|
|
1934
2752
|
* @generated from field: string tenant = 1;
|
|
1935
2753
|
*/
|
|
1936
2754
|
tenant: string;
|
|
1937
2755
|
|
|
1938
2756
|
/**
|
|
2757
|
+
* The resource ID of the task to retrieve.
|
|
2758
|
+
*
|
|
1939
2759
|
* @generated from field: string id = 2;
|
|
1940
2760
|
*/
|
|
1941
2761
|
id: string;
|
|
1942
2762
|
|
|
1943
2763
|
/**
|
|
2764
|
+
* The maximum number of most recent messages from the task's history to retrieve. An
|
|
2765
|
+
* unset value means the client does not impose any limit. A value of zero is
|
|
2766
|
+
* a request to not include any messages. The server MUST NOT return more
|
|
2767
|
+
* messages than the provided value, but MAY apply a lower limit.
|
|
2768
|
+
*
|
|
1944
2769
|
* @generated from field: optional int32 history_length = 3;
|
|
1945
2770
|
*/
|
|
1946
2771
|
historyLength?: number | undefined;
|
|
1947
2772
|
};
|
|
1948
2773
|
|
|
1949
2774
|
/**
|
|
2775
|
+
* Represents a request for the `GetTask` method.
|
|
2776
|
+
*
|
|
1950
2777
|
* @generated from message lf.a2a.v1.GetTaskRequest
|
|
1951
2778
|
*/
|
|
1952
2779
|
export declare type GetTaskRequestJson = {
|
|
1953
2780
|
/**
|
|
2781
|
+
* Optional. Tenant ID, provided as a path parameter.
|
|
2782
|
+
*
|
|
1954
2783
|
* @generated from field: string tenant = 1;
|
|
1955
2784
|
*/
|
|
1956
2785
|
tenant?: string;
|
|
1957
2786
|
|
|
1958
2787
|
/**
|
|
2788
|
+
* The resource ID of the task to retrieve.
|
|
2789
|
+
*
|
|
1959
2790
|
* @generated from field: string id = 2;
|
|
1960
2791
|
*/
|
|
1961
2792
|
id?: string;
|
|
1962
2793
|
|
|
1963
2794
|
/**
|
|
2795
|
+
* The maximum number of most recent messages from the task's history to retrieve. An
|
|
2796
|
+
* unset value means the client does not impose any limit. A value of zero is
|
|
2797
|
+
* a request to not include any messages. The server MUST NOT return more
|
|
2798
|
+
* messages than the provided value, but MAY apply a lower limit.
|
|
2799
|
+
*
|
|
1964
2800
|
* @generated from field: optional int32 history_length = 3;
|
|
1965
2801
|
*/
|
|
1966
2802
|
historyLength?: number;
|
|
@@ -1973,90 +2809,140 @@ export declare type GetTaskRequestJson = {
|
|
|
1973
2809
|
export declare const GetTaskRequestSchema: GenMessage<GetTaskRequest, {jsonType: GetTaskRequestJson}>;
|
|
1974
2810
|
|
|
1975
2811
|
/**
|
|
2812
|
+
* Parameters for listing tasks with optional filtering criteria.
|
|
2813
|
+
*
|
|
1976
2814
|
* @generated from message lf.a2a.v1.ListTasksRequest
|
|
1977
2815
|
*/
|
|
1978
2816
|
export declare type ListTasksRequest = Message$1<"lf.a2a.v1.ListTasksRequest"> & {
|
|
1979
2817
|
/**
|
|
2818
|
+
* Tenant ID, provided as a path parameter.
|
|
2819
|
+
*
|
|
1980
2820
|
* @generated from field: string tenant = 1;
|
|
1981
2821
|
*/
|
|
1982
2822
|
tenant: string;
|
|
1983
2823
|
|
|
1984
2824
|
/**
|
|
2825
|
+
* Filter tasks by context ID to get tasks from a specific conversation or session.
|
|
2826
|
+
*
|
|
1985
2827
|
* @generated from field: string context_id = 2;
|
|
1986
2828
|
*/
|
|
1987
2829
|
contextId: string;
|
|
1988
2830
|
|
|
1989
2831
|
/**
|
|
2832
|
+
* Filter tasks by their current status state.
|
|
2833
|
+
*
|
|
1990
2834
|
* @generated from field: lf.a2a.v1.TaskState status = 3;
|
|
1991
2835
|
*/
|
|
1992
2836
|
status: TaskState;
|
|
1993
2837
|
|
|
1994
2838
|
/**
|
|
2839
|
+
* The maximum number of tasks to return. The service may return fewer than this value.
|
|
2840
|
+
* If unspecified, at most 50 tasks will be returned.
|
|
2841
|
+
* The minimum value is 1.
|
|
2842
|
+
* The maximum value is 100.
|
|
2843
|
+
*
|
|
1995
2844
|
* @generated from field: optional int32 page_size = 4;
|
|
1996
2845
|
*/
|
|
1997
2846
|
pageSize?: number | undefined;
|
|
1998
2847
|
|
|
1999
2848
|
/**
|
|
2849
|
+
* A page token, received from a previous `ListTasks` call.
|
|
2850
|
+
* `ListTasksResponse.next_page_token`.
|
|
2851
|
+
* Provide this to retrieve the subsequent page.
|
|
2852
|
+
*
|
|
2000
2853
|
* @generated from field: string page_token = 5;
|
|
2001
2854
|
*/
|
|
2002
2855
|
pageToken: string;
|
|
2003
2856
|
|
|
2004
2857
|
/**
|
|
2858
|
+
* The maximum number of messages to include in each task's history.
|
|
2859
|
+
*
|
|
2005
2860
|
* @generated from field: optional int32 history_length = 6;
|
|
2006
2861
|
*/
|
|
2007
2862
|
historyLength?: number | undefined;
|
|
2008
2863
|
|
|
2009
2864
|
/**
|
|
2865
|
+
* Filter tasks which have a status updated after the provided timestamp in ISO 8601 format (e.g., "2023-10-27T10:00:00Z").
|
|
2866
|
+
* Only tasks with a status timestamp time greater than or equal to this value will be returned.
|
|
2867
|
+
*
|
|
2010
2868
|
* @generated from field: google.protobuf.Timestamp status_timestamp_after = 7;
|
|
2011
2869
|
*/
|
|
2012
2870
|
statusTimestampAfter?: Timestamp | undefined;
|
|
2013
2871
|
|
|
2014
2872
|
/**
|
|
2873
|
+
* Whether to include artifacts in the returned tasks.
|
|
2874
|
+
* Defaults to false to reduce payload size.
|
|
2875
|
+
*
|
|
2015
2876
|
* @generated from field: optional bool include_artifacts = 8;
|
|
2016
2877
|
*/
|
|
2017
2878
|
includeArtifacts?: boolean | undefined;
|
|
2018
2879
|
};
|
|
2019
2880
|
|
|
2020
2881
|
/**
|
|
2882
|
+
* Parameters for listing tasks with optional filtering criteria.
|
|
2883
|
+
*
|
|
2021
2884
|
* @generated from message lf.a2a.v1.ListTasksRequest
|
|
2022
2885
|
*/
|
|
2023
2886
|
export declare type ListTasksRequestJson = {
|
|
2024
2887
|
/**
|
|
2888
|
+
* Tenant ID, provided as a path parameter.
|
|
2889
|
+
*
|
|
2025
2890
|
* @generated from field: string tenant = 1;
|
|
2026
2891
|
*/
|
|
2027
2892
|
tenant?: string;
|
|
2028
2893
|
|
|
2029
2894
|
/**
|
|
2895
|
+
* Filter tasks by context ID to get tasks from a specific conversation or session.
|
|
2896
|
+
*
|
|
2030
2897
|
* @generated from field: string context_id = 2;
|
|
2031
2898
|
*/
|
|
2032
2899
|
contextId?: string;
|
|
2033
2900
|
|
|
2034
2901
|
/**
|
|
2902
|
+
* Filter tasks by their current status state.
|
|
2903
|
+
*
|
|
2035
2904
|
* @generated from field: lf.a2a.v1.TaskState status = 3;
|
|
2036
2905
|
*/
|
|
2037
2906
|
status?: TaskStateJson;
|
|
2038
2907
|
|
|
2039
2908
|
/**
|
|
2909
|
+
* The maximum number of tasks to return. The service may return fewer than this value.
|
|
2910
|
+
* If unspecified, at most 50 tasks will be returned.
|
|
2911
|
+
* The minimum value is 1.
|
|
2912
|
+
* The maximum value is 100.
|
|
2913
|
+
*
|
|
2040
2914
|
* @generated from field: optional int32 page_size = 4;
|
|
2041
2915
|
*/
|
|
2042
2916
|
pageSize?: number;
|
|
2043
2917
|
|
|
2044
2918
|
/**
|
|
2919
|
+
* A page token, received from a previous `ListTasks` call.
|
|
2920
|
+
* `ListTasksResponse.next_page_token`.
|
|
2921
|
+
* Provide this to retrieve the subsequent page.
|
|
2922
|
+
*
|
|
2045
2923
|
* @generated from field: string page_token = 5;
|
|
2046
2924
|
*/
|
|
2047
2925
|
pageToken?: string;
|
|
2048
2926
|
|
|
2049
2927
|
/**
|
|
2928
|
+
* The maximum number of messages to include in each task's history.
|
|
2929
|
+
*
|
|
2050
2930
|
* @generated from field: optional int32 history_length = 6;
|
|
2051
2931
|
*/
|
|
2052
2932
|
historyLength?: number;
|
|
2053
2933
|
|
|
2054
2934
|
/**
|
|
2935
|
+
* Filter tasks which have a status updated after the provided timestamp in ISO 8601 format (e.g., "2023-10-27T10:00:00Z").
|
|
2936
|
+
* Only tasks with a status timestamp time greater than or equal to this value will be returned.
|
|
2937
|
+
*
|
|
2055
2938
|
* @generated from field: google.protobuf.Timestamp status_timestamp_after = 7;
|
|
2056
2939
|
*/
|
|
2057
2940
|
statusTimestampAfter?: TimestampJson;
|
|
2058
2941
|
|
|
2059
2942
|
/**
|
|
2943
|
+
* Whether to include artifacts in the returned tasks.
|
|
2944
|
+
* Defaults to false to reduce payload size.
|
|
2945
|
+
*
|
|
2060
2946
|
* @generated from field: optional bool include_artifacts = 8;
|
|
2061
2947
|
*/
|
|
2062
2948
|
includeArtifacts?: boolean;
|
|
@@ -2069,50 +2955,70 @@ export declare type ListTasksRequestJson = {
|
|
|
2069
2955
|
export declare const ListTasksRequestSchema: GenMessage<ListTasksRequest, {jsonType: ListTasksRequestJson}>;
|
|
2070
2956
|
|
|
2071
2957
|
/**
|
|
2958
|
+
* Result object for `ListTasks` method containing an array of tasks and pagination information.
|
|
2959
|
+
*
|
|
2072
2960
|
* @generated from message lf.a2a.v1.ListTasksResponse
|
|
2073
2961
|
*/
|
|
2074
2962
|
export declare type ListTasksResponse = Message$1<"lf.a2a.v1.ListTasksResponse"> & {
|
|
2075
2963
|
/**
|
|
2964
|
+
* Array of tasks matching the specified criteria.
|
|
2965
|
+
*
|
|
2076
2966
|
* @generated from field: repeated lf.a2a.v1.Task tasks = 1;
|
|
2077
2967
|
*/
|
|
2078
2968
|
tasks: Task[];
|
|
2079
2969
|
|
|
2080
2970
|
/**
|
|
2971
|
+
* A token to retrieve the next page of results, or empty if there are no more results in the list.
|
|
2972
|
+
*
|
|
2081
2973
|
* @generated from field: string next_page_token = 2;
|
|
2082
2974
|
*/
|
|
2083
2975
|
nextPageToken: string;
|
|
2084
2976
|
|
|
2085
2977
|
/**
|
|
2978
|
+
* The page size used for this response.
|
|
2979
|
+
*
|
|
2086
2980
|
* @generated from field: int32 page_size = 3;
|
|
2087
2981
|
*/
|
|
2088
2982
|
pageSize: number;
|
|
2089
2983
|
|
|
2090
2984
|
/**
|
|
2985
|
+
* Total number of tasks available (before pagination).
|
|
2986
|
+
*
|
|
2091
2987
|
* @generated from field: int32 total_size = 4;
|
|
2092
2988
|
*/
|
|
2093
2989
|
totalSize: number;
|
|
2094
2990
|
};
|
|
2095
2991
|
|
|
2096
2992
|
/**
|
|
2993
|
+
* Result object for `ListTasks` method containing an array of tasks and pagination information.
|
|
2994
|
+
*
|
|
2097
2995
|
* @generated from message lf.a2a.v1.ListTasksResponse
|
|
2098
2996
|
*/
|
|
2099
2997
|
export declare type ListTasksResponseJson = {
|
|
2100
2998
|
/**
|
|
2999
|
+
* Array of tasks matching the specified criteria.
|
|
3000
|
+
*
|
|
2101
3001
|
* @generated from field: repeated lf.a2a.v1.Task tasks = 1;
|
|
2102
3002
|
*/
|
|
2103
3003
|
tasks?: TaskJson[];
|
|
2104
3004
|
|
|
2105
3005
|
/**
|
|
3006
|
+
* A token to retrieve the next page of results, or empty if there are no more results in the list.
|
|
3007
|
+
*
|
|
2106
3008
|
* @generated from field: string next_page_token = 2;
|
|
2107
3009
|
*/
|
|
2108
3010
|
nextPageToken?: string;
|
|
2109
3011
|
|
|
2110
3012
|
/**
|
|
3013
|
+
* The page size used for this response.
|
|
3014
|
+
*
|
|
2111
3015
|
* @generated from field: int32 page_size = 3;
|
|
2112
3016
|
*/
|
|
2113
3017
|
pageSize?: number;
|
|
2114
3018
|
|
|
2115
3019
|
/**
|
|
3020
|
+
* Total number of tasks available (before pagination).
|
|
3021
|
+
*
|
|
2116
3022
|
* @generated from field: int32 total_size = 4;
|
|
2117
3023
|
*/
|
|
2118
3024
|
totalSize?: number;
|
|
@@ -2125,40 +3031,56 @@ export declare type ListTasksResponseJson = {
|
|
|
2125
3031
|
export declare const ListTasksResponseSchema: GenMessage<ListTasksResponse, {jsonType: ListTasksResponseJson}>;
|
|
2126
3032
|
|
|
2127
3033
|
/**
|
|
3034
|
+
* Represents a request for the `CancelTask` method.
|
|
3035
|
+
*
|
|
2128
3036
|
* @generated from message lf.a2a.v1.CancelTaskRequest
|
|
2129
3037
|
*/
|
|
2130
3038
|
export declare type CancelTaskRequest = Message$1<"lf.a2a.v1.CancelTaskRequest"> & {
|
|
2131
3039
|
/**
|
|
3040
|
+
* Optional. Tenant ID, provided as a path parameter.
|
|
3041
|
+
*
|
|
2132
3042
|
* @generated from field: string tenant = 1;
|
|
2133
3043
|
*/
|
|
2134
3044
|
tenant: string;
|
|
2135
3045
|
|
|
2136
3046
|
/**
|
|
3047
|
+
* The resource ID of the task to cancel.
|
|
3048
|
+
*
|
|
2137
3049
|
* @generated from field: string id = 2;
|
|
2138
3050
|
*/
|
|
2139
3051
|
id: string;
|
|
2140
3052
|
|
|
2141
3053
|
/**
|
|
3054
|
+
* A flexible key-value map for passing additional context or parameters.
|
|
3055
|
+
*
|
|
2142
3056
|
* @generated from field: google.protobuf.Struct metadata = 3;
|
|
2143
3057
|
*/
|
|
2144
3058
|
metadata?: JsonObject | undefined;
|
|
2145
3059
|
};
|
|
2146
3060
|
|
|
2147
3061
|
/**
|
|
3062
|
+
* Represents a request for the `CancelTask` method.
|
|
3063
|
+
*
|
|
2148
3064
|
* @generated from message lf.a2a.v1.CancelTaskRequest
|
|
2149
3065
|
*/
|
|
2150
3066
|
export declare type CancelTaskRequestJson = {
|
|
2151
3067
|
/**
|
|
3068
|
+
* Optional. Tenant ID, provided as a path parameter.
|
|
3069
|
+
*
|
|
2152
3070
|
* @generated from field: string tenant = 1;
|
|
2153
3071
|
*/
|
|
2154
3072
|
tenant?: string;
|
|
2155
3073
|
|
|
2156
3074
|
/**
|
|
3075
|
+
* The resource ID of the task to cancel.
|
|
3076
|
+
*
|
|
2157
3077
|
* @generated from field: string id = 2;
|
|
2158
3078
|
*/
|
|
2159
3079
|
id?: string;
|
|
2160
3080
|
|
|
2161
3081
|
/**
|
|
3082
|
+
* A flexible key-value map for passing additional context or parameters.
|
|
3083
|
+
*
|
|
2162
3084
|
* @generated from field: google.protobuf.Struct metadata = 3;
|
|
2163
3085
|
*/
|
|
2164
3086
|
metadata?: StructJson;
|
|
@@ -2171,40 +3093,56 @@ export declare type CancelTaskRequestJson = {
|
|
|
2171
3093
|
export declare const CancelTaskRequestSchema: GenMessage<CancelTaskRequest, {jsonType: CancelTaskRequestJson}>;
|
|
2172
3094
|
|
|
2173
3095
|
/**
|
|
3096
|
+
* Represents a request for the `GetTaskPushNotificationConfig` method.
|
|
3097
|
+
*
|
|
2174
3098
|
* @generated from message lf.a2a.v1.GetTaskPushNotificationConfigRequest
|
|
2175
3099
|
*/
|
|
2176
3100
|
export declare type GetTaskPushNotificationConfigRequest = Message$1<"lf.a2a.v1.GetTaskPushNotificationConfigRequest"> & {
|
|
2177
3101
|
/**
|
|
3102
|
+
* Optional. Tenant ID, provided as a path parameter.
|
|
3103
|
+
*
|
|
2178
3104
|
* @generated from field: string tenant = 1;
|
|
2179
3105
|
*/
|
|
2180
3106
|
tenant: string;
|
|
2181
3107
|
|
|
2182
3108
|
/**
|
|
3109
|
+
* The parent task resource ID.
|
|
3110
|
+
*
|
|
2183
3111
|
* @generated from field: string task_id = 2;
|
|
2184
3112
|
*/
|
|
2185
3113
|
taskId: string;
|
|
2186
3114
|
|
|
2187
3115
|
/**
|
|
3116
|
+
* The resource ID of the configuration to retrieve.
|
|
3117
|
+
*
|
|
2188
3118
|
* @generated from field: string id = 3;
|
|
2189
3119
|
*/
|
|
2190
3120
|
id: string;
|
|
2191
3121
|
};
|
|
2192
3122
|
|
|
2193
3123
|
/**
|
|
3124
|
+
* Represents a request for the `GetTaskPushNotificationConfig` method.
|
|
3125
|
+
*
|
|
2194
3126
|
* @generated from message lf.a2a.v1.GetTaskPushNotificationConfigRequest
|
|
2195
3127
|
*/
|
|
2196
3128
|
export declare type GetTaskPushNotificationConfigRequestJson = {
|
|
2197
3129
|
/**
|
|
3130
|
+
* Optional. Tenant ID, provided as a path parameter.
|
|
3131
|
+
*
|
|
2198
3132
|
* @generated from field: string tenant = 1;
|
|
2199
3133
|
*/
|
|
2200
3134
|
tenant?: string;
|
|
2201
3135
|
|
|
2202
3136
|
/**
|
|
3137
|
+
* The parent task resource ID.
|
|
3138
|
+
*
|
|
2203
3139
|
* @generated from field: string task_id = 2;
|
|
2204
3140
|
*/
|
|
2205
3141
|
taskId?: string;
|
|
2206
3142
|
|
|
2207
3143
|
/**
|
|
3144
|
+
* The resource ID of the configuration to retrieve.
|
|
3145
|
+
*
|
|
2208
3146
|
* @generated from field: string id = 3;
|
|
2209
3147
|
*/
|
|
2210
3148
|
id?: string;
|
|
@@ -2217,40 +3155,56 @@ export declare type GetTaskPushNotificationConfigRequestJson = {
|
|
|
2217
3155
|
export declare const GetTaskPushNotificationConfigRequestSchema: GenMessage<GetTaskPushNotificationConfigRequest, {jsonType: GetTaskPushNotificationConfigRequestJson}>;
|
|
2218
3156
|
|
|
2219
3157
|
/**
|
|
3158
|
+
* Represents a request for the `DeleteTaskPushNotificationConfig` method.
|
|
3159
|
+
*
|
|
2220
3160
|
* @generated from message lf.a2a.v1.DeleteTaskPushNotificationConfigRequest
|
|
2221
3161
|
*/
|
|
2222
3162
|
export declare type DeleteTaskPushNotificationConfigRequest = Message$1<"lf.a2a.v1.DeleteTaskPushNotificationConfigRequest"> & {
|
|
2223
3163
|
/**
|
|
3164
|
+
* Optional. Tenant ID, provided as a path parameter.
|
|
3165
|
+
*
|
|
2224
3166
|
* @generated from field: string tenant = 1;
|
|
2225
3167
|
*/
|
|
2226
3168
|
tenant: string;
|
|
2227
3169
|
|
|
2228
3170
|
/**
|
|
3171
|
+
* The parent task resource ID.
|
|
3172
|
+
*
|
|
2229
3173
|
* @generated from field: string task_id = 2;
|
|
2230
3174
|
*/
|
|
2231
3175
|
taskId: string;
|
|
2232
3176
|
|
|
2233
3177
|
/**
|
|
3178
|
+
* The resource ID of the configuration to delete.
|
|
3179
|
+
*
|
|
2234
3180
|
* @generated from field: string id = 3;
|
|
2235
3181
|
*/
|
|
2236
3182
|
id: string;
|
|
2237
3183
|
};
|
|
2238
3184
|
|
|
2239
3185
|
/**
|
|
3186
|
+
* Represents a request for the `DeleteTaskPushNotificationConfig` method.
|
|
3187
|
+
*
|
|
2240
3188
|
* @generated from message lf.a2a.v1.DeleteTaskPushNotificationConfigRequest
|
|
2241
3189
|
*/
|
|
2242
3190
|
export declare type DeleteTaskPushNotificationConfigRequestJson = {
|
|
2243
3191
|
/**
|
|
3192
|
+
* Optional. Tenant ID, provided as a path parameter.
|
|
3193
|
+
*
|
|
2244
3194
|
* @generated from field: string tenant = 1;
|
|
2245
3195
|
*/
|
|
2246
3196
|
tenant?: string;
|
|
2247
3197
|
|
|
2248
3198
|
/**
|
|
3199
|
+
* The parent task resource ID.
|
|
3200
|
+
*
|
|
2249
3201
|
* @generated from field: string task_id = 2;
|
|
2250
3202
|
*/
|
|
2251
3203
|
taskId?: string;
|
|
2252
3204
|
|
|
2253
3205
|
/**
|
|
3206
|
+
* The resource ID of the configuration to delete.
|
|
3207
|
+
*
|
|
2254
3208
|
* @generated from field: string id = 3;
|
|
2255
3209
|
*/
|
|
2256
3210
|
id?: string;
|
|
@@ -2263,30 +3217,42 @@ export declare type DeleteTaskPushNotificationConfigRequestJson = {
|
|
|
2263
3217
|
export declare const DeleteTaskPushNotificationConfigRequestSchema: GenMessage<DeleteTaskPushNotificationConfigRequest, {jsonType: DeleteTaskPushNotificationConfigRequestJson}>;
|
|
2264
3218
|
|
|
2265
3219
|
/**
|
|
3220
|
+
* Represents a request for the `SubscribeToTask` method.
|
|
3221
|
+
*
|
|
2266
3222
|
* @generated from message lf.a2a.v1.SubscribeToTaskRequest
|
|
2267
3223
|
*/
|
|
2268
3224
|
export declare type SubscribeToTaskRequest = Message$1<"lf.a2a.v1.SubscribeToTaskRequest"> & {
|
|
2269
3225
|
/**
|
|
3226
|
+
* Optional. Tenant ID, provided as a path parameter.
|
|
3227
|
+
*
|
|
2270
3228
|
* @generated from field: string tenant = 1;
|
|
2271
3229
|
*/
|
|
2272
3230
|
tenant: string;
|
|
2273
3231
|
|
|
2274
3232
|
/**
|
|
3233
|
+
* The resource ID of the task to subscribe to.
|
|
3234
|
+
*
|
|
2275
3235
|
* @generated from field: string id = 2;
|
|
2276
3236
|
*/
|
|
2277
3237
|
id: string;
|
|
2278
3238
|
};
|
|
2279
3239
|
|
|
2280
3240
|
/**
|
|
3241
|
+
* Represents a request for the `SubscribeToTask` method.
|
|
3242
|
+
*
|
|
2281
3243
|
* @generated from message lf.a2a.v1.SubscribeToTaskRequest
|
|
2282
3244
|
*/
|
|
2283
3245
|
export declare type SubscribeToTaskRequestJson = {
|
|
2284
3246
|
/**
|
|
3247
|
+
* Optional. Tenant ID, provided as a path parameter.
|
|
3248
|
+
*
|
|
2285
3249
|
* @generated from field: string tenant = 1;
|
|
2286
3250
|
*/
|
|
2287
3251
|
tenant?: string;
|
|
2288
3252
|
|
|
2289
3253
|
/**
|
|
3254
|
+
* The resource ID of the task to subscribe to.
|
|
3255
|
+
*
|
|
2290
3256
|
* @generated from field: string id = 2;
|
|
2291
3257
|
*/
|
|
2292
3258
|
id?: string;
|
|
@@ -2299,50 +3265,70 @@ export declare type SubscribeToTaskRequestJson = {
|
|
|
2299
3265
|
export declare const SubscribeToTaskRequestSchema: GenMessage<SubscribeToTaskRequest, {jsonType: SubscribeToTaskRequestJson}>;
|
|
2300
3266
|
|
|
2301
3267
|
/**
|
|
3268
|
+
* Represents a request for the `ListTaskPushNotificationConfigs` method.
|
|
3269
|
+
*
|
|
2302
3270
|
* @generated from message lf.a2a.v1.ListTaskPushNotificationConfigsRequest
|
|
2303
3271
|
*/
|
|
2304
3272
|
export declare type ListTaskPushNotificationConfigsRequest = Message$1<"lf.a2a.v1.ListTaskPushNotificationConfigsRequest"> & {
|
|
2305
3273
|
/**
|
|
3274
|
+
* Optional. Tenant ID, provided as a path parameter.
|
|
3275
|
+
*
|
|
2306
3276
|
* @generated from field: string tenant = 4;
|
|
2307
3277
|
*/
|
|
2308
3278
|
tenant: string;
|
|
2309
3279
|
|
|
2310
3280
|
/**
|
|
3281
|
+
* The parent task resource ID.
|
|
3282
|
+
*
|
|
2311
3283
|
* @generated from field: string task_id = 1;
|
|
2312
3284
|
*/
|
|
2313
3285
|
taskId: string;
|
|
2314
3286
|
|
|
2315
3287
|
/**
|
|
3288
|
+
* The maximum number of configurations to return.
|
|
3289
|
+
*
|
|
2316
3290
|
* @generated from field: int32 page_size = 2;
|
|
2317
3291
|
*/
|
|
2318
3292
|
pageSize: number;
|
|
2319
3293
|
|
|
2320
3294
|
/**
|
|
3295
|
+
* A page token received from a previous `ListTaskPushNotificationConfigsRequest` call.
|
|
3296
|
+
*
|
|
2321
3297
|
* @generated from field: string page_token = 3;
|
|
2322
3298
|
*/
|
|
2323
3299
|
pageToken: string;
|
|
2324
3300
|
};
|
|
2325
3301
|
|
|
2326
3302
|
/**
|
|
3303
|
+
* Represents a request for the `ListTaskPushNotificationConfigs` method.
|
|
3304
|
+
*
|
|
2327
3305
|
* @generated from message lf.a2a.v1.ListTaskPushNotificationConfigsRequest
|
|
2328
3306
|
*/
|
|
2329
3307
|
export declare type ListTaskPushNotificationConfigsRequestJson = {
|
|
2330
3308
|
/**
|
|
3309
|
+
* Optional. Tenant ID, provided as a path parameter.
|
|
3310
|
+
*
|
|
2331
3311
|
* @generated from field: string tenant = 4;
|
|
2332
3312
|
*/
|
|
2333
3313
|
tenant?: string;
|
|
2334
3314
|
|
|
2335
3315
|
/**
|
|
3316
|
+
* The parent task resource ID.
|
|
3317
|
+
*
|
|
2336
3318
|
* @generated from field: string task_id = 1;
|
|
2337
3319
|
*/
|
|
2338
3320
|
taskId?: string;
|
|
2339
3321
|
|
|
2340
3322
|
/**
|
|
3323
|
+
* The maximum number of configurations to return.
|
|
3324
|
+
*
|
|
2341
3325
|
* @generated from field: int32 page_size = 2;
|
|
2342
3326
|
*/
|
|
2343
3327
|
pageSize?: number;
|
|
2344
3328
|
|
|
2345
3329
|
/**
|
|
3330
|
+
* A page token received from a previous `ListTaskPushNotificationConfigsRequest` call.
|
|
3331
|
+
*
|
|
2346
3332
|
* @generated from field: string page_token = 3;
|
|
2347
3333
|
*/
|
|
2348
3334
|
pageToken?: string;
|
|
@@ -2355,20 +3341,28 @@ export declare type ListTaskPushNotificationConfigsRequestJson = {
|
|
|
2355
3341
|
export declare const ListTaskPushNotificationConfigsRequestSchema: GenMessage<ListTaskPushNotificationConfigsRequest, {jsonType: ListTaskPushNotificationConfigsRequestJson}>;
|
|
2356
3342
|
|
|
2357
3343
|
/**
|
|
3344
|
+
* Represents a request for the `GetExtendedAgentCard` method.
|
|
3345
|
+
*
|
|
2358
3346
|
* @generated from message lf.a2a.v1.GetExtendedAgentCardRequest
|
|
2359
3347
|
*/
|
|
2360
3348
|
export declare type GetExtendedAgentCardRequest = Message$1<"lf.a2a.v1.GetExtendedAgentCardRequest"> & {
|
|
2361
3349
|
/**
|
|
3350
|
+
* Optional. Tenant ID, provided as a path parameter.
|
|
3351
|
+
*
|
|
2362
3352
|
* @generated from field: string tenant = 1;
|
|
2363
3353
|
*/
|
|
2364
3354
|
tenant: string;
|
|
2365
3355
|
};
|
|
2366
3356
|
|
|
2367
3357
|
/**
|
|
3358
|
+
* Represents a request for the `GetExtendedAgentCard` method.
|
|
3359
|
+
*
|
|
2368
3360
|
* @generated from message lf.a2a.v1.GetExtendedAgentCardRequest
|
|
2369
3361
|
*/
|
|
2370
3362
|
export declare type GetExtendedAgentCardRequestJson = {
|
|
2371
3363
|
/**
|
|
3364
|
+
* Optional. Tenant ID, provided as a path parameter.
|
|
3365
|
+
*
|
|
2372
3366
|
* @generated from field: string tenant = 1;
|
|
2373
3367
|
*/
|
|
2374
3368
|
tenant?: string;
|
|
@@ -2381,20 +3375,28 @@ export declare type GetExtendedAgentCardRequestJson = {
|
|
|
2381
3375
|
export declare const GetExtendedAgentCardRequestSchema: GenMessage<GetExtendedAgentCardRequest, {jsonType: GetExtendedAgentCardRequestJson}>;
|
|
2382
3376
|
|
|
2383
3377
|
/**
|
|
3378
|
+
* Represents the response for the `SendMessage` method.
|
|
3379
|
+
*
|
|
2384
3380
|
* @generated from message lf.a2a.v1.SendMessageResponse
|
|
2385
3381
|
*/
|
|
2386
3382
|
export declare type SendMessageResponse = Message$1<"lf.a2a.v1.SendMessageResponse"> & {
|
|
2387
3383
|
/**
|
|
3384
|
+
* The payload of the response.
|
|
3385
|
+
*
|
|
2388
3386
|
* @generated from oneof lf.a2a.v1.SendMessageResponse.payload
|
|
2389
3387
|
*/
|
|
2390
3388
|
payload: {
|
|
2391
3389
|
/**
|
|
3390
|
+
* The task created or updated by the message.
|
|
3391
|
+
*
|
|
2392
3392
|
* @generated from field: lf.a2a.v1.Task task = 1;
|
|
2393
3393
|
*/
|
|
2394
3394
|
value: Task;
|
|
2395
3395
|
case: "task";
|
|
2396
3396
|
} | {
|
|
2397
3397
|
/**
|
|
3398
|
+
* A message from the agent.
|
|
3399
|
+
*
|
|
2398
3400
|
* @generated from field: lf.a2a.v1.Message message = 2;
|
|
2399
3401
|
*/
|
|
2400
3402
|
value: Message;
|
|
@@ -2403,15 +3405,21 @@ export declare type SendMessageResponse = Message$1<"lf.a2a.v1.SendMessageRespon
|
|
|
2403
3405
|
};
|
|
2404
3406
|
|
|
2405
3407
|
/**
|
|
3408
|
+
* Represents the response for the `SendMessage` method.
|
|
3409
|
+
*
|
|
2406
3410
|
* @generated from message lf.a2a.v1.SendMessageResponse
|
|
2407
3411
|
*/
|
|
2408
3412
|
export declare type SendMessageResponseJson = {
|
|
2409
3413
|
/**
|
|
3414
|
+
* The task created or updated by the message.
|
|
3415
|
+
*
|
|
2410
3416
|
* @generated from field: lf.a2a.v1.Task task = 1;
|
|
2411
3417
|
*/
|
|
2412
3418
|
task?: TaskJson;
|
|
2413
3419
|
|
|
2414
3420
|
/**
|
|
3421
|
+
* A message from the agent.
|
|
3422
|
+
*
|
|
2415
3423
|
* @generated from field: lf.a2a.v1.Message message = 2;
|
|
2416
3424
|
*/
|
|
2417
3425
|
message?: MessageJson;
|
|
@@ -2424,32 +3432,44 @@ export declare type SendMessageResponseJson = {
|
|
|
2424
3432
|
export declare const SendMessageResponseSchema: GenMessage<SendMessageResponse, {jsonType: SendMessageResponseJson}>;
|
|
2425
3433
|
|
|
2426
3434
|
/**
|
|
3435
|
+
* A wrapper object used in streaming operations to encapsulate different types of response data.
|
|
3436
|
+
*
|
|
2427
3437
|
* @generated from message lf.a2a.v1.StreamResponse
|
|
2428
3438
|
*/
|
|
2429
3439
|
export declare type StreamResponse = Message$1<"lf.a2a.v1.StreamResponse"> & {
|
|
2430
3440
|
/**
|
|
3441
|
+
* The payload of the stream response.
|
|
3442
|
+
*
|
|
2431
3443
|
* @generated from oneof lf.a2a.v1.StreamResponse.payload
|
|
2432
3444
|
*/
|
|
2433
3445
|
payload: {
|
|
2434
3446
|
/**
|
|
3447
|
+
* A Task object containing the current state of the task.
|
|
3448
|
+
*
|
|
2435
3449
|
* @generated from field: lf.a2a.v1.Task task = 1;
|
|
2436
3450
|
*/
|
|
2437
3451
|
value: Task;
|
|
2438
3452
|
case: "task";
|
|
2439
3453
|
} | {
|
|
2440
3454
|
/**
|
|
3455
|
+
* A Message object containing a message from the agent.
|
|
3456
|
+
*
|
|
2441
3457
|
* @generated from field: lf.a2a.v1.Message message = 2;
|
|
2442
3458
|
*/
|
|
2443
3459
|
value: Message;
|
|
2444
3460
|
case: "message";
|
|
2445
3461
|
} | {
|
|
2446
3462
|
/**
|
|
3463
|
+
* An event indicating a task status update.
|
|
3464
|
+
*
|
|
2447
3465
|
* @generated from field: lf.a2a.v1.TaskStatusUpdateEvent status_update = 3;
|
|
2448
3466
|
*/
|
|
2449
3467
|
value: TaskStatusUpdateEvent;
|
|
2450
3468
|
case: "statusUpdate";
|
|
2451
3469
|
} | {
|
|
2452
3470
|
/**
|
|
3471
|
+
* An event indicating a task artifact update.
|
|
3472
|
+
*
|
|
2453
3473
|
* @generated from field: lf.a2a.v1.TaskArtifactUpdateEvent artifact_update = 4;
|
|
2454
3474
|
*/
|
|
2455
3475
|
value: TaskArtifactUpdateEvent;
|
|
@@ -2458,25 +3478,35 @@ export declare type StreamResponse = Message$1<"lf.a2a.v1.StreamResponse"> & {
|
|
|
2458
3478
|
};
|
|
2459
3479
|
|
|
2460
3480
|
/**
|
|
3481
|
+
* A wrapper object used in streaming operations to encapsulate different types of response data.
|
|
3482
|
+
*
|
|
2461
3483
|
* @generated from message lf.a2a.v1.StreamResponse
|
|
2462
3484
|
*/
|
|
2463
3485
|
export declare type StreamResponseJson = {
|
|
2464
3486
|
/**
|
|
3487
|
+
* A Task object containing the current state of the task.
|
|
3488
|
+
*
|
|
2465
3489
|
* @generated from field: lf.a2a.v1.Task task = 1;
|
|
2466
3490
|
*/
|
|
2467
3491
|
task?: TaskJson;
|
|
2468
3492
|
|
|
2469
3493
|
/**
|
|
3494
|
+
* A Message object containing a message from the agent.
|
|
3495
|
+
*
|
|
2470
3496
|
* @generated from field: lf.a2a.v1.Message message = 2;
|
|
2471
3497
|
*/
|
|
2472
3498
|
message?: MessageJson;
|
|
2473
3499
|
|
|
2474
3500
|
/**
|
|
3501
|
+
* An event indicating a task status update.
|
|
3502
|
+
*
|
|
2475
3503
|
* @generated from field: lf.a2a.v1.TaskStatusUpdateEvent status_update = 3;
|
|
2476
3504
|
*/
|
|
2477
3505
|
statusUpdate?: TaskStatusUpdateEventJson;
|
|
2478
3506
|
|
|
2479
3507
|
/**
|
|
3508
|
+
* An event indicating a task artifact update.
|
|
3509
|
+
*
|
|
2480
3510
|
* @generated from field: lf.a2a.v1.TaskArtifactUpdateEvent artifact_update = 4;
|
|
2481
3511
|
*/
|
|
2482
3512
|
artifactUpdate?: TaskArtifactUpdateEventJson;
|
|
@@ -2489,30 +3519,44 @@ export declare type StreamResponseJson = {
|
|
|
2489
3519
|
export declare const StreamResponseSchema: GenMessage<StreamResponse, {jsonType: StreamResponseJson}>;
|
|
2490
3520
|
|
|
2491
3521
|
/**
|
|
3522
|
+
* Represents a successful response for the `ListTaskPushNotificationConfigs`
|
|
3523
|
+
* method.
|
|
3524
|
+
*
|
|
2492
3525
|
* @generated from message lf.a2a.v1.ListTaskPushNotificationConfigsResponse
|
|
2493
3526
|
*/
|
|
2494
3527
|
export declare type ListTaskPushNotificationConfigsResponse = Message$1<"lf.a2a.v1.ListTaskPushNotificationConfigsResponse"> & {
|
|
2495
3528
|
/**
|
|
3529
|
+
* The list of push notification configurations.
|
|
3530
|
+
*
|
|
2496
3531
|
* @generated from field: repeated lf.a2a.v1.TaskPushNotificationConfig configs = 1;
|
|
2497
3532
|
*/
|
|
2498
3533
|
configs: TaskPushNotificationConfig[];
|
|
2499
3534
|
|
|
2500
3535
|
/**
|
|
3536
|
+
* A token to retrieve the next page of results, or empty if there are no more results in the list.
|
|
3537
|
+
*
|
|
2501
3538
|
* @generated from field: string next_page_token = 2;
|
|
2502
3539
|
*/
|
|
2503
3540
|
nextPageToken: string;
|
|
2504
3541
|
};
|
|
2505
3542
|
|
|
2506
3543
|
/**
|
|
3544
|
+
* Represents a successful response for the `ListTaskPushNotificationConfigs`
|
|
3545
|
+
* method.
|
|
3546
|
+
*
|
|
2507
3547
|
* @generated from message lf.a2a.v1.ListTaskPushNotificationConfigsResponse
|
|
2508
3548
|
*/
|
|
2509
3549
|
export declare type ListTaskPushNotificationConfigsResponseJson = {
|
|
2510
3550
|
/**
|
|
3551
|
+
* The list of push notification configurations.
|
|
3552
|
+
*
|
|
2511
3553
|
* @generated from field: repeated lf.a2a.v1.TaskPushNotificationConfig configs = 1;
|
|
2512
3554
|
*/
|
|
2513
3555
|
configs?: TaskPushNotificationConfigJson[];
|
|
2514
3556
|
|
|
2515
3557
|
/**
|
|
3558
|
+
* A token to retrieve the next page of results, or empty if there are no more results in the list.
|
|
3559
|
+
*
|
|
2516
3560
|
* @generated from field: string next_page_token = 2;
|
|
2517
3561
|
*/
|
|
2518
3562
|
nextPageToken?: string;
|
|
@@ -2525,56 +3569,80 @@ export declare type ListTaskPushNotificationConfigsResponseJson = {
|
|
|
2525
3569
|
export declare const ListTaskPushNotificationConfigsResponseSchema: GenMessage<ListTaskPushNotificationConfigsResponse, {jsonType: ListTaskPushNotificationConfigsResponseJson}>;
|
|
2526
3570
|
|
|
2527
3571
|
/**
|
|
3572
|
+
* Defines the possible lifecycle states of a `Task`.
|
|
3573
|
+
*
|
|
2528
3574
|
* @generated from enum lf.a2a.v1.TaskState
|
|
2529
3575
|
*/
|
|
2530
3576
|
export enum TaskState {
|
|
2531
3577
|
/**
|
|
3578
|
+
* The task is in an unknown or indeterminate state.
|
|
3579
|
+
*
|
|
2532
3580
|
* @generated from enum value: TASK_STATE_UNSPECIFIED = 0;
|
|
2533
3581
|
*/
|
|
2534
3582
|
UNSPECIFIED = 0,
|
|
2535
3583
|
|
|
2536
3584
|
/**
|
|
3585
|
+
* Indicates that a task has been successfully submitted and acknowledged.
|
|
3586
|
+
*
|
|
2537
3587
|
* @generated from enum value: TASK_STATE_SUBMITTED = 1;
|
|
2538
3588
|
*/
|
|
2539
3589
|
SUBMITTED = 1,
|
|
2540
3590
|
|
|
2541
3591
|
/**
|
|
3592
|
+
* Indicates that a task is actively being processed by the agent.
|
|
3593
|
+
*
|
|
2542
3594
|
* @generated from enum value: TASK_STATE_WORKING = 2;
|
|
2543
3595
|
*/
|
|
2544
3596
|
WORKING = 2,
|
|
2545
3597
|
|
|
2546
3598
|
/**
|
|
3599
|
+
* Indicates that a task has finished successfully. This is a terminal state.
|
|
3600
|
+
*
|
|
2547
3601
|
* @generated from enum value: TASK_STATE_COMPLETED = 3;
|
|
2548
3602
|
*/
|
|
2549
3603
|
COMPLETED = 3,
|
|
2550
3604
|
|
|
2551
3605
|
/**
|
|
3606
|
+
* Indicates that a task has finished with an error. This is a terminal state.
|
|
3607
|
+
*
|
|
2552
3608
|
* @generated from enum value: TASK_STATE_FAILED = 4;
|
|
2553
3609
|
*/
|
|
2554
3610
|
FAILED = 4,
|
|
2555
3611
|
|
|
2556
3612
|
/**
|
|
3613
|
+
* Indicates that a task was canceled before completion. This is a terminal state.
|
|
3614
|
+
*
|
|
2557
3615
|
* @generated from enum value: TASK_STATE_CANCELED = 5;
|
|
2558
3616
|
*/
|
|
2559
3617
|
CANCELED = 5,
|
|
2560
3618
|
|
|
2561
3619
|
/**
|
|
3620
|
+
* Indicates that the agent requires additional user input to proceed. This is an interrupted state.
|
|
3621
|
+
*
|
|
2562
3622
|
* @generated from enum value: TASK_STATE_INPUT_REQUIRED = 6;
|
|
2563
3623
|
*/
|
|
2564
3624
|
INPUT_REQUIRED = 6,
|
|
2565
3625
|
|
|
2566
3626
|
/**
|
|
3627
|
+
* Indicates that the agent has decided to not perform the task.
|
|
3628
|
+
* This may be done during initial task creation or later once an agent
|
|
3629
|
+
* has determined it can't or won't proceed. This is a terminal state.
|
|
3630
|
+
*
|
|
2567
3631
|
* @generated from enum value: TASK_STATE_REJECTED = 7;
|
|
2568
3632
|
*/
|
|
2569
3633
|
REJECTED = 7,
|
|
2570
3634
|
|
|
2571
3635
|
/**
|
|
3636
|
+
* Indicates that authentication is required to proceed. This is an interrupted state.
|
|
3637
|
+
*
|
|
2572
3638
|
* @generated from enum value: TASK_STATE_AUTH_REQUIRED = 8;
|
|
2573
3639
|
*/
|
|
2574
3640
|
AUTH_REQUIRED = 8,
|
|
2575
3641
|
}
|
|
2576
3642
|
|
|
2577
3643
|
/**
|
|
3644
|
+
* Defines the possible lifecycle states of a `Task`.
|
|
3645
|
+
*
|
|
2578
3646
|
* @generated from enum lf.a2a.v1.TaskState
|
|
2579
3647
|
*/
|
|
2580
3648
|
export declare type TaskStateJson = "TASK_STATE_UNSPECIFIED" | "TASK_STATE_SUBMITTED" | "TASK_STATE_WORKING" | "TASK_STATE_COMPLETED" | "TASK_STATE_FAILED" | "TASK_STATE_CANCELED" | "TASK_STATE_INPUT_REQUIRED" | "TASK_STATE_REJECTED" | "TASK_STATE_AUTH_REQUIRED";
|
|
@@ -2585,26 +3653,36 @@ export declare type TaskStateJson = "TASK_STATE_UNSPECIFIED" | "TASK_STATE_SUBMI
|
|
|
2585
3653
|
export declare const TaskStateSchema: GenEnum<TaskState, TaskStateJson>;
|
|
2586
3654
|
|
|
2587
3655
|
/**
|
|
3656
|
+
* Defines the sender of a message in A2A protocol communication.
|
|
3657
|
+
*
|
|
2588
3658
|
* @generated from enum lf.a2a.v1.Role
|
|
2589
3659
|
*/
|
|
2590
3660
|
export enum Role {
|
|
2591
3661
|
/**
|
|
3662
|
+
* The role is unspecified.
|
|
3663
|
+
*
|
|
2592
3664
|
* @generated from enum value: ROLE_UNSPECIFIED = 0;
|
|
2593
3665
|
*/
|
|
2594
3666
|
UNSPECIFIED = 0,
|
|
2595
3667
|
|
|
2596
3668
|
/**
|
|
3669
|
+
* The message is from the client to the server.
|
|
3670
|
+
*
|
|
2597
3671
|
* @generated from enum value: ROLE_USER = 1;
|
|
2598
3672
|
*/
|
|
2599
3673
|
USER = 1,
|
|
2600
3674
|
|
|
2601
3675
|
/**
|
|
3676
|
+
* The message is from the server to the client.
|
|
3677
|
+
*
|
|
2602
3678
|
* @generated from enum value: ROLE_AGENT = 2;
|
|
2603
3679
|
*/
|
|
2604
3680
|
AGENT = 2,
|
|
2605
3681
|
}
|
|
2606
3682
|
|
|
2607
3683
|
/**
|
|
3684
|
+
* Defines the sender of a message in A2A protocol communication.
|
|
3685
|
+
*
|
|
2608
3686
|
* @generated from enum lf.a2a.v1.Role
|
|
2609
3687
|
*/
|
|
2610
3688
|
export declare type RoleJson = "ROLE_UNSPECIFIED" | "ROLE_USER" | "ROLE_AGENT";
|
|
@@ -2615,10 +3693,14 @@ export declare type RoleJson = "ROLE_UNSPECIFIED" | "ROLE_USER" | "ROLE_AGENT";
|
|
|
2615
3693
|
export declare const RoleSchema: GenEnum<Role, RoleJson>;
|
|
2616
3694
|
|
|
2617
3695
|
/**
|
|
3696
|
+
* Provides operations for interacting with agents using the A2A protocol.
|
|
3697
|
+
*
|
|
2618
3698
|
* @generated from service lf.a2a.v1.A2AService
|
|
2619
3699
|
*/
|
|
2620
3700
|
export declare const A2AService: GenService<{
|
|
2621
3701
|
/**
|
|
3702
|
+
* Sends a message to an agent.
|
|
3703
|
+
*
|
|
2622
3704
|
* @generated from rpc lf.a2a.v1.A2AService.SendMessage
|
|
2623
3705
|
*/
|
|
2624
3706
|
sendMessage: {
|
|
@@ -2627,6 +3709,9 @@ export declare const A2AService: GenService<{
|
|
|
2627
3709
|
output: typeof SendMessageResponseSchema;
|
|
2628
3710
|
},
|
|
2629
3711
|
/**
|
|
3712
|
+
* Sends a streaming message to an agent, allowing for real-time interaction and status updates.
|
|
3713
|
+
* Streaming version of `SendMessage`
|
|
3714
|
+
*
|
|
2630
3715
|
* @generated from rpc lf.a2a.v1.A2AService.SendStreamingMessage
|
|
2631
3716
|
*/
|
|
2632
3717
|
sendStreamingMessage: {
|
|
@@ -2635,6 +3720,8 @@ export declare const A2AService: GenService<{
|
|
|
2635
3720
|
output: typeof StreamResponseSchema;
|
|
2636
3721
|
},
|
|
2637
3722
|
/**
|
|
3723
|
+
* Gets the latest state of a task.
|
|
3724
|
+
*
|
|
2638
3725
|
* @generated from rpc lf.a2a.v1.A2AService.GetTask
|
|
2639
3726
|
*/
|
|
2640
3727
|
getTask: {
|
|
@@ -2643,6 +3730,8 @@ export declare const A2AService: GenService<{
|
|
|
2643
3730
|
output: typeof TaskSchema;
|
|
2644
3731
|
},
|
|
2645
3732
|
/**
|
|
3733
|
+
* Lists tasks that match the specified filter.
|
|
3734
|
+
*
|
|
2646
3735
|
* @generated from rpc lf.a2a.v1.A2AService.ListTasks
|
|
2647
3736
|
*/
|
|
2648
3737
|
listTasks: {
|
|
@@ -2651,6 +3740,8 @@ export declare const A2AService: GenService<{
|
|
|
2651
3740
|
output: typeof ListTasksResponseSchema;
|
|
2652
3741
|
},
|
|
2653
3742
|
/**
|
|
3743
|
+
* Cancels a task in progress.
|
|
3744
|
+
*
|
|
2654
3745
|
* @generated from rpc lf.a2a.v1.A2AService.CancelTask
|
|
2655
3746
|
*/
|
|
2656
3747
|
cancelTask: {
|
|
@@ -2659,6 +3750,9 @@ export declare const A2AService: GenService<{
|
|
|
2659
3750
|
output: typeof TaskSchema;
|
|
2660
3751
|
},
|
|
2661
3752
|
/**
|
|
3753
|
+
* Subscribes to task updates for tasks not in a terminal state.
|
|
3754
|
+
* Returns `UnsupportedOperationError` if the task is already in a terminal state (completed, failed, canceled, rejected).
|
|
3755
|
+
*
|
|
2662
3756
|
* @generated from rpc lf.a2a.v1.A2AService.SubscribeToTask
|
|
2663
3757
|
*/
|
|
2664
3758
|
subscribeToTask: {
|
|
@@ -2667,6 +3761,12 @@ export declare const A2AService: GenService<{
|
|
|
2667
3761
|
output: typeof StreamResponseSchema;
|
|
2668
3762
|
},
|
|
2669
3763
|
/**
|
|
3764
|
+
* (-- api-linter: client-libraries::4232::required-fields=disabled
|
|
3765
|
+
* api-linter: core::0133::method-signature=disabled
|
|
3766
|
+
* api-linter: core::0133::request-message-name=disabled
|
|
3767
|
+
* aip.dev/not-precedent: method_signature preserved for backwards compatibility --)
|
|
3768
|
+
* Creates a push notification config for a task.
|
|
3769
|
+
*
|
|
2670
3770
|
* @generated from rpc lf.a2a.v1.A2AService.CreateTaskPushNotificationConfig
|
|
2671
3771
|
*/
|
|
2672
3772
|
createTaskPushNotificationConfig: {
|
|
@@ -2675,6 +3775,8 @@ export declare const A2AService: GenService<{
|
|
|
2675
3775
|
output: typeof TaskPushNotificationConfigSchema;
|
|
2676
3776
|
},
|
|
2677
3777
|
/**
|
|
3778
|
+
* Gets a push notification config for a task.
|
|
3779
|
+
*
|
|
2678
3780
|
* @generated from rpc lf.a2a.v1.A2AService.GetTaskPushNotificationConfig
|
|
2679
3781
|
*/
|
|
2680
3782
|
getTaskPushNotificationConfig: {
|
|
@@ -2683,6 +3785,8 @@ export declare const A2AService: GenService<{
|
|
|
2683
3785
|
output: typeof TaskPushNotificationConfigSchema;
|
|
2684
3786
|
},
|
|
2685
3787
|
/**
|
|
3788
|
+
* Get a list of push notifications configured for a task.
|
|
3789
|
+
*
|
|
2686
3790
|
* @generated from rpc lf.a2a.v1.A2AService.ListTaskPushNotificationConfigs
|
|
2687
3791
|
*/
|
|
2688
3792
|
listTaskPushNotificationConfigs: {
|
|
@@ -2691,6 +3795,8 @@ export declare const A2AService: GenService<{
|
|
|
2691
3795
|
output: typeof ListTaskPushNotificationConfigsResponseSchema;
|
|
2692
3796
|
},
|
|
2693
3797
|
/**
|
|
3798
|
+
* Gets the extended agent card for the authenticated agent.
|
|
3799
|
+
*
|
|
2694
3800
|
* @generated from rpc lf.a2a.v1.A2AService.GetExtendedAgentCard
|
|
2695
3801
|
*/
|
|
2696
3802
|
getExtendedAgentCard: {
|
|
@@ -2699,6 +3805,8 @@ export declare const A2AService: GenService<{
|
|
|
2699
3805
|
output: typeof AgentCardSchema;
|
|
2700
3806
|
},
|
|
2701
3807
|
/**
|
|
3808
|
+
* Deletes a push notification config for a task.
|
|
3809
|
+
*
|
|
2702
3810
|
* @generated from rpc lf.a2a.v1.A2AService.DeleteTaskPushNotificationConfig
|
|
2703
3811
|
*/
|
|
2704
3812
|
deleteTaskPushNotificationConfig: {
|