@agent-factory-platform/client 0.6.0 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -0
- package/dist/gen/agentfactory/agent/v1/agent_pb.d.ts +848 -0
- package/dist/gen/agentfactory/agent/v1/agent_pb.d.ts.map +1 -1
- package/dist/gen/agentfactory/agent/v1/agent_pb.js +216 -86
- package/dist/gen/agentfactory/agent/v1/agent_pb.js.map +1 -1
- package/dist/gen/agentfactory/docs/v1/docs_pb.d.ts +1192 -52
- package/dist/gen/agentfactory/docs/v1/docs_pb.d.ts.map +1 -1
- package/dist/gen/agentfactory/docs/v1/docs_pb.js +258 -57
- package/dist/gen/agentfactory/docs/v1/docs_pb.js.map +1 -1
- package/dist/gen/agentfactory/workflow/v1/workflow_pb.d.ts +1059 -0
- package/dist/gen/agentfactory/workflow/v1/workflow_pb.d.ts.map +1 -0
- package/dist/gen/agentfactory/workflow/v1/workflow_pb.js +240 -0
- package/dist/gen/agentfactory/workflow/v1/workflow_pb.js.map +1 -0
- package/dist/index.d.ts +285 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/migration.d.ts +45 -0
- package/dist/migration.d.ts.map +1 -0
- package/dist/migration.js +57 -0
- package/dist/migration.js.map +1 -0
- package/dist/session-model.d.ts +12 -5
- package/dist/session-model.d.ts.map +1 -1
- package/dist/session-model.js +31 -16
- package/dist/session-model.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,1059 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file agentfactory/workflow/v1/workflow.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_agentfactory_workflow_v1_workflow: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* @generated from message agentfactory.workflow.v1.CatalogRequest
|
|
10
|
+
*/
|
|
11
|
+
export type CatalogRequest = Message<"agentfactory.workflow.v1.CatalogRequest"> & {};
|
|
12
|
+
/**
|
|
13
|
+
* Describes the message agentfactory.workflow.v1.CatalogRequest.
|
|
14
|
+
* Use `create(CatalogRequestSchema)` to create a new message.
|
|
15
|
+
*/
|
|
16
|
+
export declare const CatalogRequestSchema: GenMessage<CatalogRequest>;
|
|
17
|
+
/**
|
|
18
|
+
* @generated from message agentfactory.workflow.v1.Capability
|
|
19
|
+
*/
|
|
20
|
+
export type Capability = Message<"agentfactory.workflow.v1.Capability"> & {
|
|
21
|
+
/**
|
|
22
|
+
* @generated from field: string id = 1;
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
* @generated from field: string contract_version = 2;
|
|
27
|
+
*/
|
|
28
|
+
contractVersion: string;
|
|
29
|
+
/**
|
|
30
|
+
* @generated from field: string content_digest = 3;
|
|
31
|
+
*/
|
|
32
|
+
contentDigest: string;
|
|
33
|
+
/**
|
|
34
|
+
* @generated from field: bytes config_schema_json = 4;
|
|
35
|
+
*/
|
|
36
|
+
configSchemaJson: Uint8Array;
|
|
37
|
+
/**
|
|
38
|
+
* @generated from field: repeated string permissions = 5;
|
|
39
|
+
*/
|
|
40
|
+
permissions: string[];
|
|
41
|
+
/**
|
|
42
|
+
* @generated from field: repeated string modes = 6;
|
|
43
|
+
*/
|
|
44
|
+
modes: string[];
|
|
45
|
+
/**
|
|
46
|
+
* @generated from field: string lifecycle = 7;
|
|
47
|
+
*/
|
|
48
|
+
lifecycle: string;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* Describes the message agentfactory.workflow.v1.Capability.
|
|
52
|
+
* Use `create(CapabilitySchema)` to create a new message.
|
|
53
|
+
*/
|
|
54
|
+
export declare const CapabilitySchema: GenMessage<Capability>;
|
|
55
|
+
/**
|
|
56
|
+
* @generated from message agentfactory.workflow.v1.NodeConfigSchema
|
|
57
|
+
*/
|
|
58
|
+
export type NodeConfigSchema = Message<"agentfactory.workflow.v1.NodeConfigSchema"> & {
|
|
59
|
+
/**
|
|
60
|
+
* @generated from field: string node_type = 1;
|
|
61
|
+
*/
|
|
62
|
+
nodeType: string;
|
|
63
|
+
/**
|
|
64
|
+
* @generated from field: bytes config_schema_json = 2;
|
|
65
|
+
*/
|
|
66
|
+
configSchemaJson: Uint8Array;
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* Describes the message agentfactory.workflow.v1.NodeConfigSchema.
|
|
70
|
+
* Use `create(NodeConfigSchemaSchema)` to create a new message.
|
|
71
|
+
*/
|
|
72
|
+
export declare const NodeConfigSchemaSchema: GenMessage<NodeConfigSchema>;
|
|
73
|
+
/**
|
|
74
|
+
* @generated from message agentfactory.workflow.v1.CatalogResponse
|
|
75
|
+
*/
|
|
76
|
+
export type CatalogResponse = Message<"agentfactory.workflow.v1.CatalogResponse"> & {
|
|
77
|
+
/**
|
|
78
|
+
* @generated from field: repeated agentfactory.workflow.v1.Capability capabilities = 1;
|
|
79
|
+
*/
|
|
80
|
+
capabilities: Capability[];
|
|
81
|
+
/**
|
|
82
|
+
* @generated from field: repeated agentfactory.workflow.v1.NodeConfigSchema node_schemas = 2;
|
|
83
|
+
*/
|
|
84
|
+
nodeSchemas: NodeConfigSchema[];
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* Describes the message agentfactory.workflow.v1.CatalogResponse.
|
|
88
|
+
* Use `create(CatalogResponseSchema)` to create a new message.
|
|
89
|
+
*/
|
|
90
|
+
export declare const CatalogResponseSchema: GenMessage<CatalogResponse>;
|
|
91
|
+
/**
|
|
92
|
+
* @generated from message agentfactory.workflow.v1.ValidateWorkflowRequest
|
|
93
|
+
*/
|
|
94
|
+
export type ValidateWorkflowRequest = Message<"agentfactory.workflow.v1.ValidateWorkflowRequest"> & {
|
|
95
|
+
/**
|
|
96
|
+
* @generated from field: bytes revision_json = 1;
|
|
97
|
+
*/
|
|
98
|
+
revisionJson: Uint8Array;
|
|
99
|
+
/**
|
|
100
|
+
* @generated from field: bytes profile_json = 2;
|
|
101
|
+
*/
|
|
102
|
+
profileJson: Uint8Array;
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* Describes the message agentfactory.workflow.v1.ValidateWorkflowRequest.
|
|
106
|
+
* Use `create(ValidateWorkflowRequestSchema)` to create a new message.
|
|
107
|
+
*/
|
|
108
|
+
export declare const ValidateWorkflowRequestSchema: GenMessage<ValidateWorkflowRequest>;
|
|
109
|
+
/**
|
|
110
|
+
* @generated from message agentfactory.workflow.v1.ValidationError
|
|
111
|
+
*/
|
|
112
|
+
export type ValidationError = Message<"agentfactory.workflow.v1.ValidationError"> & {
|
|
113
|
+
/**
|
|
114
|
+
* @generated from field: string rule_id = 1;
|
|
115
|
+
*/
|
|
116
|
+
ruleId: string;
|
|
117
|
+
/**
|
|
118
|
+
* @generated from field: string branch_id = 2;
|
|
119
|
+
*/
|
|
120
|
+
branchId: string;
|
|
121
|
+
/**
|
|
122
|
+
* @generated from field: string message = 3;
|
|
123
|
+
*/
|
|
124
|
+
message: string;
|
|
125
|
+
};
|
|
126
|
+
/**
|
|
127
|
+
* Describes the message agentfactory.workflow.v1.ValidationError.
|
|
128
|
+
* Use `create(ValidationErrorSchema)` to create a new message.
|
|
129
|
+
*/
|
|
130
|
+
export declare const ValidationErrorSchema: GenMessage<ValidationError>;
|
|
131
|
+
/**
|
|
132
|
+
* @generated from message agentfactory.workflow.v1.ValidateWorkflowResponse
|
|
133
|
+
*/
|
|
134
|
+
export type ValidateWorkflowResponse = Message<"agentfactory.workflow.v1.ValidateWorkflowResponse"> & {
|
|
135
|
+
/**
|
|
136
|
+
* @generated from field: bool valid = 1;
|
|
137
|
+
*/
|
|
138
|
+
valid: boolean;
|
|
139
|
+
/**
|
|
140
|
+
* @generated from field: repeated agentfactory.workflow.v1.ValidationError errors = 2;
|
|
141
|
+
*/
|
|
142
|
+
errors: ValidationError[];
|
|
143
|
+
};
|
|
144
|
+
/**
|
|
145
|
+
* Describes the message agentfactory.workflow.v1.ValidateWorkflowResponse.
|
|
146
|
+
* Use `create(ValidateWorkflowResponseSchema)` to create a new message.
|
|
147
|
+
*/
|
|
148
|
+
export declare const ValidateWorkflowResponseSchema: GenMessage<ValidateWorkflowResponse>;
|
|
149
|
+
/**
|
|
150
|
+
* Keyset order is immutable identity, or numeric revision for ListRevisions.
|
|
151
|
+
* A page is not a snapshot: newly inserted identities before after appear on refresh.
|
|
152
|
+
*
|
|
153
|
+
* @generated from message agentfactory.workflow.v1.Page
|
|
154
|
+
*/
|
|
155
|
+
export type Page = Message<"agentfactory.workflow.v1.Page"> & {
|
|
156
|
+
/**
|
|
157
|
+
* @generated from field: string after = 1;
|
|
158
|
+
*/
|
|
159
|
+
after: string;
|
|
160
|
+
/**
|
|
161
|
+
* 0 defaults to 50; maximum 100.
|
|
162
|
+
*
|
|
163
|
+
* @generated from field: uint32 limit = 2;
|
|
164
|
+
*/
|
|
165
|
+
limit: number;
|
|
166
|
+
};
|
|
167
|
+
/**
|
|
168
|
+
* Describes the message agentfactory.workflow.v1.Page.
|
|
169
|
+
* Use `create(PageSchema)` to create a new message.
|
|
170
|
+
*/
|
|
171
|
+
export declare const PageSchema: GenMessage<Page>;
|
|
172
|
+
/**
|
|
173
|
+
* @generated from message agentfactory.workflow.v1.ListDefinitionsRequest
|
|
174
|
+
*/
|
|
175
|
+
export type ListDefinitionsRequest = Message<"agentfactory.workflow.v1.ListDefinitionsRequest"> & {
|
|
176
|
+
/**
|
|
177
|
+
* @generated from field: agentfactory.workflow.v1.Page page = 1;
|
|
178
|
+
*/
|
|
179
|
+
page?: Page;
|
|
180
|
+
/**
|
|
181
|
+
* @generated from field: bool include_archived = 2;
|
|
182
|
+
*/
|
|
183
|
+
includeArchived: boolean;
|
|
184
|
+
};
|
|
185
|
+
/**
|
|
186
|
+
* Describes the message agentfactory.workflow.v1.ListDefinitionsRequest.
|
|
187
|
+
* Use `create(ListDefinitionsRequestSchema)` to create a new message.
|
|
188
|
+
*/
|
|
189
|
+
export declare const ListDefinitionsRequestSchema: GenMessage<ListDefinitionsRequest>;
|
|
190
|
+
/**
|
|
191
|
+
* @generated from message agentfactory.workflow.v1.ListInstancesRequest
|
|
192
|
+
*/
|
|
193
|
+
export type ListInstancesRequest = Message<"agentfactory.workflow.v1.ListInstancesRequest"> & {
|
|
194
|
+
/**
|
|
195
|
+
* @generated from field: agentfactory.workflow.v1.Page page = 1;
|
|
196
|
+
*/
|
|
197
|
+
page?: Page;
|
|
198
|
+
/**
|
|
199
|
+
* @generated from field: bool include_archived = 2;
|
|
200
|
+
*/
|
|
201
|
+
includeArchived: boolean;
|
|
202
|
+
};
|
|
203
|
+
/**
|
|
204
|
+
* Describes the message agentfactory.workflow.v1.ListInstancesRequest.
|
|
205
|
+
* Use `create(ListInstancesRequestSchema)` to create a new message.
|
|
206
|
+
*/
|
|
207
|
+
export declare const ListInstancesRequestSchema: GenMessage<ListInstancesRequest>;
|
|
208
|
+
/**
|
|
209
|
+
* @generated from message agentfactory.workflow.v1.ListRevisionsRequest
|
|
210
|
+
*/
|
|
211
|
+
export type ListRevisionsRequest = Message<"agentfactory.workflow.v1.ListRevisionsRequest"> & {
|
|
212
|
+
/**
|
|
213
|
+
* @generated from field: string definition_id = 1;
|
|
214
|
+
*/
|
|
215
|
+
definitionId: string;
|
|
216
|
+
/**
|
|
217
|
+
* @generated from field: agentfactory.workflow.v1.Page page = 2;
|
|
218
|
+
*/
|
|
219
|
+
page?: Page;
|
|
220
|
+
};
|
|
221
|
+
/**
|
|
222
|
+
* Describes the message agentfactory.workflow.v1.ListRevisionsRequest.
|
|
223
|
+
* Use `create(ListRevisionsRequestSchema)` to create a new message.
|
|
224
|
+
*/
|
|
225
|
+
export declare const ListRevisionsRequestSchema: GenMessage<ListRevisionsRequest>;
|
|
226
|
+
/**
|
|
227
|
+
* @generated from message agentfactory.workflow.v1.ListRunsRequest
|
|
228
|
+
*/
|
|
229
|
+
export type ListRunsRequest = Message<"agentfactory.workflow.v1.ListRunsRequest"> & {
|
|
230
|
+
/**
|
|
231
|
+
* @generated from field: string instance_id = 1;
|
|
232
|
+
*/
|
|
233
|
+
instanceId: string;
|
|
234
|
+
/**
|
|
235
|
+
* @generated from field: agentfactory.workflow.v1.Page page = 2;
|
|
236
|
+
*/
|
|
237
|
+
page?: Page;
|
|
238
|
+
};
|
|
239
|
+
/**
|
|
240
|
+
* Describes the message agentfactory.workflow.v1.ListRunsRequest.
|
|
241
|
+
* Use `create(ListRunsRequestSchema)` to create a new message.
|
|
242
|
+
*/
|
|
243
|
+
export declare const ListRunsRequestSchema: GenMessage<ListRunsRequest>;
|
|
244
|
+
/**
|
|
245
|
+
* @generated from message agentfactory.workflow.v1.ListStepsRequest
|
|
246
|
+
*/
|
|
247
|
+
export type ListStepsRequest = Message<"agentfactory.workflow.v1.ListStepsRequest"> & {
|
|
248
|
+
/**
|
|
249
|
+
* @generated from field: string run_id = 1;
|
|
250
|
+
*/
|
|
251
|
+
runId: string;
|
|
252
|
+
/**
|
|
253
|
+
* @generated from field: agentfactory.workflow.v1.Page page = 2;
|
|
254
|
+
*/
|
|
255
|
+
page?: Page;
|
|
256
|
+
};
|
|
257
|
+
/**
|
|
258
|
+
* Describes the message agentfactory.workflow.v1.ListStepsRequest.
|
|
259
|
+
* Use `create(ListStepsRequestSchema)` to create a new message.
|
|
260
|
+
*/
|
|
261
|
+
export declare const ListStepsRequestSchema: GenMessage<ListStepsRequest>;
|
|
262
|
+
/**
|
|
263
|
+
* @generated from message agentfactory.workflow.v1.ListActionFactsRequest
|
|
264
|
+
*/
|
|
265
|
+
export type ListActionFactsRequest = Message<"agentfactory.workflow.v1.ListActionFactsRequest"> & {
|
|
266
|
+
/**
|
|
267
|
+
* @generated from field: string instance_id = 1;
|
|
268
|
+
*/
|
|
269
|
+
instanceId: string;
|
|
270
|
+
/**
|
|
271
|
+
* intent, attempt, receipt, or observation.
|
|
272
|
+
*
|
|
273
|
+
* @generated from field: string kind = 2;
|
|
274
|
+
*/
|
|
275
|
+
kind: string;
|
|
276
|
+
/**
|
|
277
|
+
* Omitted for intent pages; required otherwise.
|
|
278
|
+
*
|
|
279
|
+
* @generated from field: optional string action_id = 3;
|
|
280
|
+
*/
|
|
281
|
+
actionId?: string;
|
|
282
|
+
/**
|
|
283
|
+
* @generated from field: agentfactory.workflow.v1.Page page = 4;
|
|
284
|
+
*/
|
|
285
|
+
page?: Page;
|
|
286
|
+
};
|
|
287
|
+
/**
|
|
288
|
+
* Describes the message agentfactory.workflow.v1.ListActionFactsRequest.
|
|
289
|
+
* Use `create(ListActionFactsRequestSchema)` to create a new message.
|
|
290
|
+
*/
|
|
291
|
+
export declare const ListActionFactsRequestSchema: GenMessage<ListActionFactsRequest>;
|
|
292
|
+
/**
|
|
293
|
+
* @generated from message agentfactory.workflow.v1.Definition
|
|
294
|
+
*/
|
|
295
|
+
export type Definition = Message<"agentfactory.workflow.v1.Definition"> & {
|
|
296
|
+
/**
|
|
297
|
+
* @generated from field: string definition_id = 1;
|
|
298
|
+
*/
|
|
299
|
+
definitionId: string;
|
|
300
|
+
/**
|
|
301
|
+
* @generated from field: string name = 2;
|
|
302
|
+
*/
|
|
303
|
+
name: string;
|
|
304
|
+
/**
|
|
305
|
+
* @generated from field: google.protobuf.Timestamp created_at = 3;
|
|
306
|
+
*/
|
|
307
|
+
createdAt?: Timestamp;
|
|
308
|
+
/**
|
|
309
|
+
* @generated from field: uint64 metadata_version = 4;
|
|
310
|
+
*/
|
|
311
|
+
metadataVersion: bigint;
|
|
312
|
+
/**
|
|
313
|
+
* @generated from field: bool archived = 5;
|
|
314
|
+
*/
|
|
315
|
+
archived: boolean;
|
|
316
|
+
/**
|
|
317
|
+
* @generated from field: bool can_manage = 6;
|
|
318
|
+
*/
|
|
319
|
+
canManage: boolean;
|
|
320
|
+
};
|
|
321
|
+
/**
|
|
322
|
+
* Describes the message agentfactory.workflow.v1.Definition.
|
|
323
|
+
* Use `create(DefinitionSchema)` to create a new message.
|
|
324
|
+
*/
|
|
325
|
+
export declare const DefinitionSchema: GenMessage<Definition>;
|
|
326
|
+
/**
|
|
327
|
+
* @generated from message agentfactory.workflow.v1.Instance
|
|
328
|
+
*/
|
|
329
|
+
export type Instance = Message<"agentfactory.workflow.v1.Instance"> & {
|
|
330
|
+
/**
|
|
331
|
+
* @generated from field: string instance_id = 1;
|
|
332
|
+
*/
|
|
333
|
+
instanceId: string;
|
|
334
|
+
/**
|
|
335
|
+
* @generated from field: string definition_id = 2;
|
|
336
|
+
*/
|
|
337
|
+
definitionId: string;
|
|
338
|
+
/**
|
|
339
|
+
* @generated from field: uint64 revision = 3;
|
|
340
|
+
*/
|
|
341
|
+
revision: bigint;
|
|
342
|
+
/**
|
|
343
|
+
* @generated from field: string status = 4;
|
|
344
|
+
*/
|
|
345
|
+
status: string;
|
|
346
|
+
/**
|
|
347
|
+
* @generated from field: google.protobuf.Timestamp next_run_at = 5;
|
|
348
|
+
*/
|
|
349
|
+
nextRunAt?: Timestamp;
|
|
350
|
+
/**
|
|
351
|
+
* @generated from field: optional string last_error = 6;
|
|
352
|
+
*/
|
|
353
|
+
lastError?: string;
|
|
354
|
+
/**
|
|
355
|
+
* Instance control state, separate from lifecycle status.
|
|
356
|
+
*
|
|
357
|
+
* @generated from field: string control_mode = 7;
|
|
358
|
+
*/
|
|
359
|
+
controlMode: string;
|
|
360
|
+
/**
|
|
361
|
+
* @generated from field: string name = 8;
|
|
362
|
+
*/
|
|
363
|
+
name: string;
|
|
364
|
+
/**
|
|
365
|
+
* @generated from field: uint64 metadata_version = 9;
|
|
366
|
+
*/
|
|
367
|
+
metadataVersion: bigint;
|
|
368
|
+
/**
|
|
369
|
+
* @generated from field: bool archived = 10;
|
|
370
|
+
*/
|
|
371
|
+
archived: boolean;
|
|
372
|
+
/**
|
|
373
|
+
* @generated from field: google.protobuf.Timestamp schedule_at = 11;
|
|
374
|
+
*/
|
|
375
|
+
scheduleAt?: Timestamp;
|
|
376
|
+
/**
|
|
377
|
+
* @generated from field: google.protobuf.Timestamp starts_at = 12;
|
|
378
|
+
*/
|
|
379
|
+
startsAt?: Timestamp;
|
|
380
|
+
/**
|
|
381
|
+
* @generated from field: google.protobuf.Timestamp expires_at = 13;
|
|
382
|
+
*/
|
|
383
|
+
expiresAt?: Timestamp;
|
|
384
|
+
/**
|
|
385
|
+
* @generated from field: google.protobuf.Timestamp drain_deadline = 14;
|
|
386
|
+
*/
|
|
387
|
+
drainDeadline?: Timestamp;
|
|
388
|
+
/**
|
|
389
|
+
* @generated from field: bytes lifecycle_json = 15;
|
|
390
|
+
*/
|
|
391
|
+
lifecycleJson: Uint8Array;
|
|
392
|
+
};
|
|
393
|
+
/**
|
|
394
|
+
* Describes the message agentfactory.workflow.v1.Instance.
|
|
395
|
+
* Use `create(InstanceSchema)` to create a new message.
|
|
396
|
+
*/
|
|
397
|
+
export declare const InstanceSchema: GenMessage<Instance>;
|
|
398
|
+
/**
|
|
399
|
+
* @generated from message agentfactory.workflow.v1.Revision
|
|
400
|
+
*/
|
|
401
|
+
export type Revision = Message<"agentfactory.workflow.v1.Revision"> & {
|
|
402
|
+
/**
|
|
403
|
+
* @generated from field: string definition_id = 1;
|
|
404
|
+
*/
|
|
405
|
+
definitionId: string;
|
|
406
|
+
/**
|
|
407
|
+
* @generated from field: uint64 revision = 2;
|
|
408
|
+
*/
|
|
409
|
+
revision: bigint;
|
|
410
|
+
/**
|
|
411
|
+
* @generated from field: string content_digest = 3;
|
|
412
|
+
*/
|
|
413
|
+
contentDigest: string;
|
|
414
|
+
/**
|
|
415
|
+
* Original immutable contract, including Spec JSON when present.
|
|
416
|
+
*
|
|
417
|
+
* @generated from field: bytes contract_json = 4;
|
|
418
|
+
*/
|
|
419
|
+
contractJson: Uint8Array;
|
|
420
|
+
};
|
|
421
|
+
/**
|
|
422
|
+
* Describes the message agentfactory.workflow.v1.Revision.
|
|
423
|
+
* Use `create(RevisionSchema)` to create a new message.
|
|
424
|
+
*/
|
|
425
|
+
export declare const RevisionSchema: GenMessage<Revision>;
|
|
426
|
+
/**
|
|
427
|
+
* @generated from message agentfactory.workflow.v1.Run
|
|
428
|
+
*/
|
|
429
|
+
export type Run = Message<"agentfactory.workflow.v1.Run"> & {
|
|
430
|
+
/**
|
|
431
|
+
* @generated from field: string run_id = 1;
|
|
432
|
+
*/
|
|
433
|
+
runId: string;
|
|
434
|
+
/**
|
|
435
|
+
* @generated from field: string trigger_kind = 2;
|
|
436
|
+
*/
|
|
437
|
+
triggerKind: string;
|
|
438
|
+
/**
|
|
439
|
+
* @generated from field: string status = 3;
|
|
440
|
+
*/
|
|
441
|
+
status: string;
|
|
442
|
+
/**
|
|
443
|
+
* @generated from field: optional string exit_reason = 4;
|
|
444
|
+
*/
|
|
445
|
+
exitReason?: string;
|
|
446
|
+
/**
|
|
447
|
+
* @generated from field: google.protobuf.Timestamp started_at = 5;
|
|
448
|
+
*/
|
|
449
|
+
startedAt?: Timestamp;
|
|
450
|
+
/**
|
|
451
|
+
* @generated from field: google.protobuf.Timestamp finished_at = 6;
|
|
452
|
+
*/
|
|
453
|
+
finishedAt?: Timestamp;
|
|
454
|
+
};
|
|
455
|
+
/**
|
|
456
|
+
* Describes the message agentfactory.workflow.v1.Run.
|
|
457
|
+
* Use `create(RunSchema)` to create a new message.
|
|
458
|
+
*/
|
|
459
|
+
export declare const RunSchema: GenMessage<Run>;
|
|
460
|
+
/**
|
|
461
|
+
* @generated from message agentfactory.workflow.v1.Step
|
|
462
|
+
*/
|
|
463
|
+
export type Step = Message<"agentfactory.workflow.v1.Step"> & {
|
|
464
|
+
/**
|
|
465
|
+
* @generated from field: string step_id = 1;
|
|
466
|
+
*/
|
|
467
|
+
stepId: string;
|
|
468
|
+
/**
|
|
469
|
+
* @generated from field: string node_id = 2;
|
|
470
|
+
*/
|
|
471
|
+
nodeId: string;
|
|
472
|
+
/**
|
|
473
|
+
* @generated from field: string node_type = 3;
|
|
474
|
+
*/
|
|
475
|
+
nodeType: string;
|
|
476
|
+
/**
|
|
477
|
+
* @generated from field: string status = 4;
|
|
478
|
+
*/
|
|
479
|
+
status: string;
|
|
480
|
+
/**
|
|
481
|
+
* @generated from field: optional string exit_reason = 5;
|
|
482
|
+
*/
|
|
483
|
+
exitReason?: string;
|
|
484
|
+
/**
|
|
485
|
+
* @generated from field: bytes detail_json = 6;
|
|
486
|
+
*/
|
|
487
|
+
detailJson: Uint8Array;
|
|
488
|
+
/**
|
|
489
|
+
* @generated from field: google.protobuf.Timestamp created_at = 7;
|
|
490
|
+
*/
|
|
491
|
+
createdAt?: Timestamp;
|
|
492
|
+
};
|
|
493
|
+
/**
|
|
494
|
+
* Describes the message agentfactory.workflow.v1.Step.
|
|
495
|
+
* Use `create(StepSchema)` to create a new message.
|
|
496
|
+
*/
|
|
497
|
+
export declare const StepSchema: GenMessage<Step>;
|
|
498
|
+
/**
|
|
499
|
+
* @generated from message agentfactory.workflow.v1.ListDefinitionsResponse
|
|
500
|
+
*/
|
|
501
|
+
export type ListDefinitionsResponse = Message<"agentfactory.workflow.v1.ListDefinitionsResponse"> & {
|
|
502
|
+
/**
|
|
503
|
+
* @generated from field: repeated agentfactory.workflow.v1.Definition items = 1;
|
|
504
|
+
*/
|
|
505
|
+
items: Definition[];
|
|
506
|
+
/**
|
|
507
|
+
* @generated from field: string next = 2;
|
|
508
|
+
*/
|
|
509
|
+
next: string;
|
|
510
|
+
};
|
|
511
|
+
/**
|
|
512
|
+
* Describes the message agentfactory.workflow.v1.ListDefinitionsResponse.
|
|
513
|
+
* Use `create(ListDefinitionsResponseSchema)` to create a new message.
|
|
514
|
+
*/
|
|
515
|
+
export declare const ListDefinitionsResponseSchema: GenMessage<ListDefinitionsResponse>;
|
|
516
|
+
/**
|
|
517
|
+
* @generated from message agentfactory.workflow.v1.ListInstancesResponse
|
|
518
|
+
*/
|
|
519
|
+
export type ListInstancesResponse = Message<"agentfactory.workflow.v1.ListInstancesResponse"> & {
|
|
520
|
+
/**
|
|
521
|
+
* @generated from field: repeated agentfactory.workflow.v1.Instance items = 1;
|
|
522
|
+
*/
|
|
523
|
+
items: Instance[];
|
|
524
|
+
/**
|
|
525
|
+
* @generated from field: string next = 2;
|
|
526
|
+
*/
|
|
527
|
+
next: string;
|
|
528
|
+
};
|
|
529
|
+
/**
|
|
530
|
+
* Describes the message agentfactory.workflow.v1.ListInstancesResponse.
|
|
531
|
+
* Use `create(ListInstancesResponseSchema)` to create a new message.
|
|
532
|
+
*/
|
|
533
|
+
export declare const ListInstancesResponseSchema: GenMessage<ListInstancesResponse>;
|
|
534
|
+
/**
|
|
535
|
+
* @generated from message agentfactory.workflow.v1.ListRevisionsResponse
|
|
536
|
+
*/
|
|
537
|
+
export type ListRevisionsResponse = Message<"agentfactory.workflow.v1.ListRevisionsResponse"> & {
|
|
538
|
+
/**
|
|
539
|
+
* @generated from field: repeated agentfactory.workflow.v1.Revision items = 1;
|
|
540
|
+
*/
|
|
541
|
+
items: Revision[];
|
|
542
|
+
/**
|
|
543
|
+
* @generated from field: string next = 2;
|
|
544
|
+
*/
|
|
545
|
+
next: string;
|
|
546
|
+
};
|
|
547
|
+
/**
|
|
548
|
+
* Describes the message agentfactory.workflow.v1.ListRevisionsResponse.
|
|
549
|
+
* Use `create(ListRevisionsResponseSchema)` to create a new message.
|
|
550
|
+
*/
|
|
551
|
+
export declare const ListRevisionsResponseSchema: GenMessage<ListRevisionsResponse>;
|
|
552
|
+
/**
|
|
553
|
+
* @generated from message agentfactory.workflow.v1.ListRunsResponse
|
|
554
|
+
*/
|
|
555
|
+
export type ListRunsResponse = Message<"agentfactory.workflow.v1.ListRunsResponse"> & {
|
|
556
|
+
/**
|
|
557
|
+
* @generated from field: repeated agentfactory.workflow.v1.Run items = 1;
|
|
558
|
+
*/
|
|
559
|
+
items: Run[];
|
|
560
|
+
/**
|
|
561
|
+
* @generated from field: string next = 2;
|
|
562
|
+
*/
|
|
563
|
+
next: string;
|
|
564
|
+
};
|
|
565
|
+
/**
|
|
566
|
+
* Describes the message agentfactory.workflow.v1.ListRunsResponse.
|
|
567
|
+
* Use `create(ListRunsResponseSchema)` to create a new message.
|
|
568
|
+
*/
|
|
569
|
+
export declare const ListRunsResponseSchema: GenMessage<ListRunsResponse>;
|
|
570
|
+
/**
|
|
571
|
+
* @generated from message agentfactory.workflow.v1.ListStepsResponse
|
|
572
|
+
*/
|
|
573
|
+
export type ListStepsResponse = Message<"agentfactory.workflow.v1.ListStepsResponse"> & {
|
|
574
|
+
/**
|
|
575
|
+
* @generated from field: repeated agentfactory.workflow.v1.Step items = 1;
|
|
576
|
+
*/
|
|
577
|
+
items: Step[];
|
|
578
|
+
/**
|
|
579
|
+
* @generated from field: string next = 2;
|
|
580
|
+
*/
|
|
581
|
+
next: string;
|
|
582
|
+
};
|
|
583
|
+
/**
|
|
584
|
+
* Describes the message agentfactory.workflow.v1.ListStepsResponse.
|
|
585
|
+
* Use `create(ListStepsResponseSchema)` to create a new message.
|
|
586
|
+
*/
|
|
587
|
+
export declare const ListStepsResponseSchema: GenMessage<ListStepsResponse>;
|
|
588
|
+
/**
|
|
589
|
+
* @generated from message agentfactory.workflow.v1.ActionFact
|
|
590
|
+
*/
|
|
591
|
+
export type ActionFact = Message<"agentfactory.workflow.v1.ActionFact"> & {
|
|
592
|
+
/**
|
|
593
|
+
* @generated from field: bytes fact_json = 1;
|
|
594
|
+
*/
|
|
595
|
+
factJson: Uint8Array;
|
|
596
|
+
};
|
|
597
|
+
/**
|
|
598
|
+
* Describes the message agentfactory.workflow.v1.ActionFact.
|
|
599
|
+
* Use `create(ActionFactSchema)` to create a new message.
|
|
600
|
+
*/
|
|
601
|
+
export declare const ActionFactSchema: GenMessage<ActionFact>;
|
|
602
|
+
/**
|
|
603
|
+
* @generated from message agentfactory.workflow.v1.ListActionFactsResponse
|
|
604
|
+
*/
|
|
605
|
+
export type ListActionFactsResponse = Message<"agentfactory.workflow.v1.ListActionFactsResponse"> & {
|
|
606
|
+
/**
|
|
607
|
+
* @generated from field: repeated agentfactory.workflow.v1.ActionFact items = 1;
|
|
608
|
+
*/
|
|
609
|
+
items: ActionFact[];
|
|
610
|
+
/**
|
|
611
|
+
* @generated from field: string next = 2;
|
|
612
|
+
*/
|
|
613
|
+
next: string;
|
|
614
|
+
};
|
|
615
|
+
/**
|
|
616
|
+
* Describes the message agentfactory.workflow.v1.ListActionFactsResponse.
|
|
617
|
+
* Use `create(ListActionFactsResponseSchema)` to create a new message.
|
|
618
|
+
*/
|
|
619
|
+
export declare const ListActionFactsResponseSchema: GenMessage<ListActionFactsResponse>;
|
|
620
|
+
/**
|
|
621
|
+
* @generated from message agentfactory.workflow.v1.InspectInstanceRequest
|
|
622
|
+
*/
|
|
623
|
+
export type InspectInstanceRequest = Message<"agentfactory.workflow.v1.InspectInstanceRequest"> & {
|
|
624
|
+
/**
|
|
625
|
+
* @generated from field: string instance_id = 1;
|
|
626
|
+
*/
|
|
627
|
+
instanceId: string;
|
|
628
|
+
};
|
|
629
|
+
/**
|
|
630
|
+
* Describes the message agentfactory.workflow.v1.InspectInstanceRequest.
|
|
631
|
+
* Use `create(InspectInstanceRequestSchema)` to create a new message.
|
|
632
|
+
*/
|
|
633
|
+
export declare const InspectInstanceRequestSchema: GenMessage<InspectInstanceRequest>;
|
|
634
|
+
/**
|
|
635
|
+
* @generated from message agentfactory.workflow.v1.InspectInstanceResponse
|
|
636
|
+
*/
|
|
637
|
+
export type InspectInstanceResponse = Message<"agentfactory.workflow.v1.InspectInstanceResponse"> & {
|
|
638
|
+
/**
|
|
639
|
+
* @generated from field: bytes inspection_json = 1;
|
|
640
|
+
*/
|
|
641
|
+
inspectionJson: Uint8Array;
|
|
642
|
+
};
|
|
643
|
+
/**
|
|
644
|
+
* Describes the message agentfactory.workflow.v1.InspectInstanceResponse.
|
|
645
|
+
* Use `create(InspectInstanceResponseSchema)` to create a new message.
|
|
646
|
+
*/
|
|
647
|
+
export declare const InspectInstanceResponseSchema: GenMessage<InspectInstanceResponse>;
|
|
648
|
+
/**
|
|
649
|
+
* @generated from message agentfactory.workflow.v1.ExplainInstanceRequest
|
|
650
|
+
*/
|
|
651
|
+
export type ExplainInstanceRequest = Message<"agentfactory.workflow.v1.ExplainInstanceRequest"> & {
|
|
652
|
+
/**
|
|
653
|
+
* @generated from field: string instance_id = 1;
|
|
654
|
+
*/
|
|
655
|
+
instanceId: string;
|
|
656
|
+
/**
|
|
657
|
+
* @generated from field: int64 after_sequence = 2;
|
|
658
|
+
*/
|
|
659
|
+
afterSequence: bigint;
|
|
660
|
+
/**
|
|
661
|
+
* @generated from field: optional string after_diagnostic_id = 3;
|
|
662
|
+
*/
|
|
663
|
+
afterDiagnosticId?: string;
|
|
664
|
+
/**
|
|
665
|
+
* 0 defaults to 50; maximum 200.
|
|
666
|
+
*
|
|
667
|
+
* @generated from field: uint32 limit = 4;
|
|
668
|
+
*/
|
|
669
|
+
limit: number;
|
|
670
|
+
};
|
|
671
|
+
/**
|
|
672
|
+
* Describes the message agentfactory.workflow.v1.ExplainInstanceRequest.
|
|
673
|
+
* Use `create(ExplainInstanceRequestSchema)` to create a new message.
|
|
674
|
+
*/
|
|
675
|
+
export declare const ExplainInstanceRequestSchema: GenMessage<ExplainInstanceRequest>;
|
|
676
|
+
/**
|
|
677
|
+
* @generated from message agentfactory.workflow.v1.ExplainInstanceResponse
|
|
678
|
+
*/
|
|
679
|
+
export type ExplainInstanceResponse = Message<"agentfactory.workflow.v1.ExplainInstanceResponse"> & {
|
|
680
|
+
/**
|
|
681
|
+
* @generated from field: bytes explanation_json = 1;
|
|
682
|
+
*/
|
|
683
|
+
explanationJson: Uint8Array;
|
|
684
|
+
};
|
|
685
|
+
/**
|
|
686
|
+
* Describes the message agentfactory.workflow.v1.ExplainInstanceResponse.
|
|
687
|
+
* Use `create(ExplainInstanceResponseSchema)` to create a new message.
|
|
688
|
+
*/
|
|
689
|
+
export declare const ExplainInstanceResponseSchema: GenMessage<ExplainInstanceResponse>;
|
|
690
|
+
/**
|
|
691
|
+
* @generated from message agentfactory.workflow.v1.ControlInstanceRequest
|
|
692
|
+
*/
|
|
693
|
+
export type ControlInstanceRequest = Message<"agentfactory.workflow.v1.ControlInstanceRequest"> & {
|
|
694
|
+
/**
|
|
695
|
+
* @generated from field: string instance_id = 1;
|
|
696
|
+
*/
|
|
697
|
+
instanceId: string;
|
|
698
|
+
/**
|
|
699
|
+
* @generated from field: agentfactory.workflow.v1.InstanceControlAction action = 2;
|
|
700
|
+
*/
|
|
701
|
+
action: InstanceControlAction;
|
|
702
|
+
/**
|
|
703
|
+
* @generated from field: string reason = 3;
|
|
704
|
+
*/
|
|
705
|
+
reason: string;
|
|
706
|
+
/**
|
|
707
|
+
* @generated from field: optional string action_id = 4;
|
|
708
|
+
*/
|
|
709
|
+
actionId?: string;
|
|
710
|
+
};
|
|
711
|
+
/**
|
|
712
|
+
* Describes the message agentfactory.workflow.v1.ControlInstanceRequest.
|
|
713
|
+
* Use `create(ControlInstanceRequestSchema)` to create a new message.
|
|
714
|
+
*/
|
|
715
|
+
export declare const ControlInstanceRequestSchema: GenMessage<ControlInstanceRequest>;
|
|
716
|
+
/**
|
|
717
|
+
* @generated from message agentfactory.workflow.v1.ControlInstanceResponse
|
|
718
|
+
*/
|
|
719
|
+
export type ControlInstanceResponse = Message<"agentfactory.workflow.v1.ControlInstanceResponse"> & {
|
|
720
|
+
/**
|
|
721
|
+
* @generated from field: bytes result_json = 1;
|
|
722
|
+
*/
|
|
723
|
+
resultJson: Uint8Array;
|
|
724
|
+
};
|
|
725
|
+
/**
|
|
726
|
+
* Describes the message agentfactory.workflow.v1.ControlInstanceResponse.
|
|
727
|
+
* Use `create(ControlInstanceResponseSchema)` to create a new message.
|
|
728
|
+
*/
|
|
729
|
+
export declare const ControlInstanceResponseSchema: GenMessage<ControlInstanceResponse>;
|
|
730
|
+
/**
|
|
731
|
+
* @generated from message agentfactory.workflow.v1.UpdateMetadataRequest
|
|
732
|
+
*/
|
|
733
|
+
export type UpdateMetadataRequest = Message<"agentfactory.workflow.v1.UpdateMetadataRequest"> & {
|
|
734
|
+
/**
|
|
735
|
+
* @generated from oneof agentfactory.workflow.v1.UpdateMetadataRequest.target
|
|
736
|
+
*/
|
|
737
|
+
target: {
|
|
738
|
+
/**
|
|
739
|
+
* @generated from field: string definition_id = 1;
|
|
740
|
+
*/
|
|
741
|
+
value: string;
|
|
742
|
+
case: "definitionId";
|
|
743
|
+
} | {
|
|
744
|
+
/**
|
|
745
|
+
* @generated from field: string instance_id = 2;
|
|
746
|
+
*/
|
|
747
|
+
value: string;
|
|
748
|
+
case: "instanceId";
|
|
749
|
+
} | {
|
|
750
|
+
case: undefined;
|
|
751
|
+
value?: undefined;
|
|
752
|
+
};
|
|
753
|
+
/**
|
|
754
|
+
* @generated from field: uint64 expected_version = 3;
|
|
755
|
+
*/
|
|
756
|
+
expectedVersion: bigint;
|
|
757
|
+
/**
|
|
758
|
+
* @generated from field: optional string name = 4;
|
|
759
|
+
*/
|
|
760
|
+
name?: string;
|
|
761
|
+
/**
|
|
762
|
+
* @generated from field: optional bool archived = 5;
|
|
763
|
+
*/
|
|
764
|
+
archived?: boolean;
|
|
765
|
+
/**
|
|
766
|
+
* @generated from field: string idempotency_key = 6;
|
|
767
|
+
*/
|
|
768
|
+
idempotencyKey: string;
|
|
769
|
+
};
|
|
770
|
+
/**
|
|
771
|
+
* Describes the message agentfactory.workflow.v1.UpdateMetadataRequest.
|
|
772
|
+
* Use `create(UpdateMetadataRequestSchema)` to create a new message.
|
|
773
|
+
*/
|
|
774
|
+
export declare const UpdateMetadataRequestSchema: GenMessage<UpdateMetadataRequest>;
|
|
775
|
+
/**
|
|
776
|
+
* @generated from message agentfactory.workflow.v1.Metadata
|
|
777
|
+
*/
|
|
778
|
+
export type Metadata = Message<"agentfactory.workflow.v1.Metadata"> & {
|
|
779
|
+
/**
|
|
780
|
+
* @generated from oneof agentfactory.workflow.v1.Metadata.target
|
|
781
|
+
*/
|
|
782
|
+
target: {
|
|
783
|
+
/**
|
|
784
|
+
* @generated from field: string definition_id = 1;
|
|
785
|
+
*/
|
|
786
|
+
value: string;
|
|
787
|
+
case: "definitionId";
|
|
788
|
+
} | {
|
|
789
|
+
/**
|
|
790
|
+
* @generated from field: string instance_id = 2;
|
|
791
|
+
*/
|
|
792
|
+
value: string;
|
|
793
|
+
case: "instanceId";
|
|
794
|
+
} | {
|
|
795
|
+
case: undefined;
|
|
796
|
+
value?: undefined;
|
|
797
|
+
};
|
|
798
|
+
/**
|
|
799
|
+
* @generated from field: uint64 version = 3;
|
|
800
|
+
*/
|
|
801
|
+
version: bigint;
|
|
802
|
+
/**
|
|
803
|
+
* @generated from field: string name = 4;
|
|
804
|
+
*/
|
|
805
|
+
name: string;
|
|
806
|
+
/**
|
|
807
|
+
* @generated from field: bool archived = 5;
|
|
808
|
+
*/
|
|
809
|
+
archived: boolean;
|
|
810
|
+
};
|
|
811
|
+
/**
|
|
812
|
+
* Describes the message agentfactory.workflow.v1.Metadata.
|
|
813
|
+
* Use `create(MetadataSchema)` to create a new message.
|
|
814
|
+
*/
|
|
815
|
+
export declare const MetadataSchema: GenMessage<Metadata>;
|
|
816
|
+
/**
|
|
817
|
+
* proposal_json is af_workflow::WorkflowProposal: immutable name, revision,
|
|
818
|
+
* execution profile and optional activation. It is validated and limited to 1 MiB.
|
|
819
|
+
*
|
|
820
|
+
* @generated from message agentfactory.workflow.v1.ProposeDraftRequest
|
|
821
|
+
*/
|
|
822
|
+
export type ProposeDraftRequest = Message<"agentfactory.workflow.v1.ProposeDraftRequest"> & {
|
|
823
|
+
/**
|
|
824
|
+
* @generated from field: string draft_id = 1;
|
|
825
|
+
*/
|
|
826
|
+
draftId: string;
|
|
827
|
+
/**
|
|
828
|
+
* @generated from field: bytes proposal_json = 2;
|
|
829
|
+
*/
|
|
830
|
+
proposalJson: Uint8Array;
|
|
831
|
+
};
|
|
832
|
+
/**
|
|
833
|
+
* Describes the message agentfactory.workflow.v1.ProposeDraftRequest.
|
|
834
|
+
* Use `create(ProposeDraftRequestSchema)` to create a new message.
|
|
835
|
+
*/
|
|
836
|
+
export declare const ProposeDraftRequestSchema: GenMessage<ProposeDraftRequest>;
|
|
837
|
+
/**
|
|
838
|
+
* @generated from message agentfactory.workflow.v1.GetDraftRequest
|
|
839
|
+
*/
|
|
840
|
+
export type GetDraftRequest = Message<"agentfactory.workflow.v1.GetDraftRequest"> & {
|
|
841
|
+
/**
|
|
842
|
+
* @generated from field: string draft_id = 1;
|
|
843
|
+
*/
|
|
844
|
+
draftId: string;
|
|
845
|
+
};
|
|
846
|
+
/**
|
|
847
|
+
* Describes the message agentfactory.workflow.v1.GetDraftRequest.
|
|
848
|
+
* Use `create(GetDraftRequestSchema)` to create a new message.
|
|
849
|
+
*/
|
|
850
|
+
export declare const GetDraftRequestSchema: GenMessage<GetDraftRequest>;
|
|
851
|
+
/**
|
|
852
|
+
* @generated from message agentfactory.workflow.v1.DecideDraftRequest
|
|
853
|
+
*/
|
|
854
|
+
export type DecideDraftRequest = Message<"agentfactory.workflow.v1.DecideDraftRequest"> & {
|
|
855
|
+
/**
|
|
856
|
+
* @generated from field: string draft_id = 1;
|
|
857
|
+
*/
|
|
858
|
+
draftId: string;
|
|
859
|
+
/**
|
|
860
|
+
* @generated from field: bool accept = 2;
|
|
861
|
+
*/
|
|
862
|
+
accept: boolean;
|
|
863
|
+
};
|
|
864
|
+
/**
|
|
865
|
+
* Describes the message agentfactory.workflow.v1.DecideDraftRequest.
|
|
866
|
+
* Use `create(DecideDraftRequestSchema)` to create a new message.
|
|
867
|
+
*/
|
|
868
|
+
export declare const DecideDraftRequestSchema: GenMessage<DecideDraftRequest>;
|
|
869
|
+
/**
|
|
870
|
+
* @generated from message agentfactory.workflow.v1.WorkflowDraft
|
|
871
|
+
*/
|
|
872
|
+
export type WorkflowDraft = Message<"agentfactory.workflow.v1.WorkflowDraft"> & {
|
|
873
|
+
/**
|
|
874
|
+
* @generated from field: string draft_id = 1;
|
|
875
|
+
*/
|
|
876
|
+
draftId: string;
|
|
877
|
+
/**
|
|
878
|
+
* @generated from field: bytes proposal_json = 2;
|
|
879
|
+
*/
|
|
880
|
+
proposalJson: Uint8Array;
|
|
881
|
+
/**
|
|
882
|
+
* @generated from field: string status = 3;
|
|
883
|
+
*/
|
|
884
|
+
status: string;
|
|
885
|
+
/**
|
|
886
|
+
* @generated from field: google.protobuf.Timestamp created_at = 4;
|
|
887
|
+
*/
|
|
888
|
+
createdAt?: Timestamp;
|
|
889
|
+
/**
|
|
890
|
+
* @generated from field: google.protobuf.Timestamp decided_at = 5;
|
|
891
|
+
*/
|
|
892
|
+
decidedAt?: Timestamp;
|
|
893
|
+
};
|
|
894
|
+
/**
|
|
895
|
+
* Describes the message agentfactory.workflow.v1.WorkflowDraft.
|
|
896
|
+
* Use `create(WorkflowDraftSchema)` to create a new message.
|
|
897
|
+
*/
|
|
898
|
+
export declare const WorkflowDraftSchema: GenMessage<WorkflowDraft>;
|
|
899
|
+
/**
|
|
900
|
+
* @generated from enum agentfactory.workflow.v1.InstanceControlAction
|
|
901
|
+
*/
|
|
902
|
+
export declare enum InstanceControlAction {
|
|
903
|
+
/**
|
|
904
|
+
* @generated from enum value: INSTANCE_CONTROL_ACTION_UNSPECIFIED = 0;
|
|
905
|
+
*/
|
|
906
|
+
UNSPECIFIED = 0,
|
|
907
|
+
/**
|
|
908
|
+
* @generated from enum value: INSTANCE_CONTROL_ACTION_PAUSE = 1;
|
|
909
|
+
*/
|
|
910
|
+
PAUSE = 1,
|
|
911
|
+
/**
|
|
912
|
+
* @generated from enum value: INSTANCE_CONTROL_ACTION_RESUME = 2;
|
|
913
|
+
*/
|
|
914
|
+
RESUME = 2,
|
|
915
|
+
/**
|
|
916
|
+
* @generated from enum value: INSTANCE_CONTROL_ACTION_CANCEL = 3;
|
|
917
|
+
*/
|
|
918
|
+
CANCEL = 3,
|
|
919
|
+
/**
|
|
920
|
+
* @generated from enum value: INSTANCE_CONTROL_ACTION_RETRY = 4;
|
|
921
|
+
*/
|
|
922
|
+
RETRY = 4,
|
|
923
|
+
/**
|
|
924
|
+
* @generated from enum value: INSTANCE_CONTROL_ACTION_RECONCILE = 5;
|
|
925
|
+
*/
|
|
926
|
+
RECONCILE = 5
|
|
927
|
+
}
|
|
928
|
+
/**
|
|
929
|
+
* Describes the enum agentfactory.workflow.v1.InstanceControlAction.
|
|
930
|
+
*/
|
|
931
|
+
export declare const InstanceControlActionSchema: GenEnum<InstanceControlAction>;
|
|
932
|
+
/**
|
|
933
|
+
* All reads delegate to the same Workflow application handler as Agent tools.
|
|
934
|
+
*
|
|
935
|
+
* @generated from service agentfactory.workflow.v1.WorkflowService
|
|
936
|
+
*/
|
|
937
|
+
export declare const WorkflowService: GenService<{
|
|
938
|
+
/**
|
|
939
|
+
* @generated from rpc agentfactory.workflow.v1.WorkflowService.GetCatalog
|
|
940
|
+
*/
|
|
941
|
+
getCatalog: {
|
|
942
|
+
methodKind: "unary";
|
|
943
|
+
input: typeof CatalogRequestSchema;
|
|
944
|
+
output: typeof CatalogResponseSchema;
|
|
945
|
+
};
|
|
946
|
+
/**
|
|
947
|
+
* @generated from rpc agentfactory.workflow.v1.WorkflowService.ValidateWorkflow
|
|
948
|
+
*/
|
|
949
|
+
validateWorkflow: {
|
|
950
|
+
methodKind: "unary";
|
|
951
|
+
input: typeof ValidateWorkflowRequestSchema;
|
|
952
|
+
output: typeof ValidateWorkflowResponseSchema;
|
|
953
|
+
};
|
|
954
|
+
/**
|
|
955
|
+
* @generated from rpc agentfactory.workflow.v1.WorkflowService.ProposeDraft
|
|
956
|
+
*/
|
|
957
|
+
proposeDraft: {
|
|
958
|
+
methodKind: "unary";
|
|
959
|
+
input: typeof ProposeDraftRequestSchema;
|
|
960
|
+
output: typeof WorkflowDraftSchema;
|
|
961
|
+
};
|
|
962
|
+
/**
|
|
963
|
+
* @generated from rpc agentfactory.workflow.v1.WorkflowService.GetDraft
|
|
964
|
+
*/
|
|
965
|
+
getDraft: {
|
|
966
|
+
methodKind: "unary";
|
|
967
|
+
input: typeof GetDraftRequestSchema;
|
|
968
|
+
output: typeof WorkflowDraftSchema;
|
|
969
|
+
};
|
|
970
|
+
/**
|
|
971
|
+
* @generated from rpc agentfactory.workflow.v1.WorkflowService.DecideDraft
|
|
972
|
+
*/
|
|
973
|
+
decideDraft: {
|
|
974
|
+
methodKind: "unary";
|
|
975
|
+
input: typeof DecideDraftRequestSchema;
|
|
976
|
+
output: typeof WorkflowDraftSchema;
|
|
977
|
+
};
|
|
978
|
+
/**
|
|
979
|
+
* @generated from rpc agentfactory.workflow.v1.WorkflowService.UpdateMetadata
|
|
980
|
+
*/
|
|
981
|
+
updateMetadata: {
|
|
982
|
+
methodKind: "unary";
|
|
983
|
+
input: typeof UpdateMetadataRequestSchema;
|
|
984
|
+
output: typeof MetadataSchema;
|
|
985
|
+
};
|
|
986
|
+
/**
|
|
987
|
+
* @generated from rpc agentfactory.workflow.v1.WorkflowService.ListDefinitions
|
|
988
|
+
*/
|
|
989
|
+
listDefinitions: {
|
|
990
|
+
methodKind: "unary";
|
|
991
|
+
input: typeof ListDefinitionsRequestSchema;
|
|
992
|
+
output: typeof ListDefinitionsResponseSchema;
|
|
993
|
+
};
|
|
994
|
+
/**
|
|
995
|
+
* @generated from rpc agentfactory.workflow.v1.WorkflowService.ListInstances
|
|
996
|
+
*/
|
|
997
|
+
listInstances: {
|
|
998
|
+
methodKind: "unary";
|
|
999
|
+
input: typeof ListInstancesRequestSchema;
|
|
1000
|
+
output: typeof ListInstancesResponseSchema;
|
|
1001
|
+
};
|
|
1002
|
+
/**
|
|
1003
|
+
* @generated from rpc agentfactory.workflow.v1.WorkflowService.ListRevisions
|
|
1004
|
+
*/
|
|
1005
|
+
listRevisions: {
|
|
1006
|
+
methodKind: "unary";
|
|
1007
|
+
input: typeof ListRevisionsRequestSchema;
|
|
1008
|
+
output: typeof ListRevisionsResponseSchema;
|
|
1009
|
+
};
|
|
1010
|
+
/**
|
|
1011
|
+
* @generated from rpc agentfactory.workflow.v1.WorkflowService.ListRuns
|
|
1012
|
+
*/
|
|
1013
|
+
listRuns: {
|
|
1014
|
+
methodKind: "unary";
|
|
1015
|
+
input: typeof ListRunsRequestSchema;
|
|
1016
|
+
output: typeof ListRunsResponseSchema;
|
|
1017
|
+
};
|
|
1018
|
+
/**
|
|
1019
|
+
* @generated from rpc agentfactory.workflow.v1.WorkflowService.ListSteps
|
|
1020
|
+
*/
|
|
1021
|
+
listSteps: {
|
|
1022
|
+
methodKind: "unary";
|
|
1023
|
+
input: typeof ListStepsRequestSchema;
|
|
1024
|
+
output: typeof ListStepsResponseSchema;
|
|
1025
|
+
};
|
|
1026
|
+
/**
|
|
1027
|
+
* @generated from rpc agentfactory.workflow.v1.WorkflowService.ListActionFacts
|
|
1028
|
+
*/
|
|
1029
|
+
listActionFacts: {
|
|
1030
|
+
methodKind: "unary";
|
|
1031
|
+
input: typeof ListActionFactsRequestSchema;
|
|
1032
|
+
output: typeof ListActionFactsResponseSchema;
|
|
1033
|
+
};
|
|
1034
|
+
/**
|
|
1035
|
+
* @generated from rpc agentfactory.workflow.v1.WorkflowService.InspectInstance
|
|
1036
|
+
*/
|
|
1037
|
+
inspectInstance: {
|
|
1038
|
+
methodKind: "unary";
|
|
1039
|
+
input: typeof InspectInstanceRequestSchema;
|
|
1040
|
+
output: typeof InspectInstanceResponseSchema;
|
|
1041
|
+
};
|
|
1042
|
+
/**
|
|
1043
|
+
* @generated from rpc agentfactory.workflow.v1.WorkflowService.ExplainInstance
|
|
1044
|
+
*/
|
|
1045
|
+
explainInstance: {
|
|
1046
|
+
methodKind: "unary";
|
|
1047
|
+
input: typeof ExplainInstanceRequestSchema;
|
|
1048
|
+
output: typeof ExplainInstanceResponseSchema;
|
|
1049
|
+
};
|
|
1050
|
+
/**
|
|
1051
|
+
* @generated from rpc agentfactory.workflow.v1.WorkflowService.ControlInstance
|
|
1052
|
+
*/
|
|
1053
|
+
controlInstance: {
|
|
1054
|
+
methodKind: "unary";
|
|
1055
|
+
input: typeof ControlInstanceRequestSchema;
|
|
1056
|
+
output: typeof ControlInstanceResponseSchema;
|
|
1057
|
+
};
|
|
1058
|
+
}>;
|
|
1059
|
+
//# sourceMappingURL=workflow_pb.d.ts.map
|