@shipfox/api-workflows-dto 12.1.0 → 12.3.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/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +16 -0
- package/dist/events.d.ts +64 -33
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +31 -1
- package/dist/events.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/inter-module.d.ts +50 -50
- package/dist/inter-module.d.ts.map +1 -1
- package/dist/schemas/evaluation-trace.d.ts +36 -0
- package/dist/schemas/evaluation-trace.d.ts.map +1 -0
- package/dist/schemas/evaluation-trace.js +25 -0
- package/dist/schemas/evaluation-trace.js.map +1 -0
- package/dist/schemas/index.d.ts +3 -2
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +3 -2
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/job-execution.d.ts +48 -27
- package/dist/schemas/job-execution.d.ts.map +1 -1
- package/dist/schemas/job-listening.d.ts +6 -6
- package/dist/schemas/job.d.ts +40 -22
- package/dist/schemas/job.d.ts.map +1 -1
- package/dist/schemas/job.js +4 -0
- package/dist/schemas/job.js.map +1 -1
- package/dist/schemas/log-outcome.d.ts +1 -1
- package/dist/schemas/step.d.ts +125 -36
- package/dist/schemas/step.d.ts.map +1 -1
- package/dist/schemas/step.js +13 -0
- package/dist/schemas/step.js.map +1 -1
- package/dist/schemas/workflow-run-detail.d.ts +295 -84
- package/dist/schemas/workflow-run-detail.d.ts.map +1 -1
- package/dist/schemas/workflow-run-detail.js +11 -1
- package/dist/schemas/workflow-run-detail.js.map +1 -1
- package/dist/schemas/workflow-run.d.ts +27 -27
- package/dist/tsconfig.test.tsbuildinfo +1 -1
- package/dist/working-directory.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/events.test.ts +3 -0
- package/src/events.ts +38 -0
- package/src/index.ts +14 -0
- package/src/schemas/evaluation-trace.test.ts +40 -0
- package/src/schemas/evaluation-trace.ts +30 -0
- package/src/schemas/index.ts +13 -0
- package/src/schemas/job.test.ts +3 -0
- package/src/schemas/job.ts +4 -0
- package/src/schemas/step-source-location.test.ts +2 -0
- package/src/schemas/step.test.ts +17 -1
- package/src/schemas/step.ts +20 -0
- package/src/schemas/workflow-run-detail.ts +14 -1
- package/tsconfig.build.tsbuildinfo +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const jobExecutionStatusSchema: z.ZodEnum<{
|
|
3
3
|
cancelled: "cancelled";
|
|
4
|
+
failed: "failed";
|
|
4
5
|
pending: "pending";
|
|
5
6
|
running: "running";
|
|
6
7
|
succeeded: "succeeded";
|
|
7
|
-
failed: "failed";
|
|
8
8
|
}>;
|
|
9
9
|
export declare const jobExecutionDtoSchema: z.ZodObject<{
|
|
10
10
|
id: z.ZodString;
|
|
@@ -13,12 +13,13 @@ export declare const jobExecutionDtoSchema: z.ZodObject<{
|
|
|
13
13
|
name: z.ZodString;
|
|
14
14
|
status: z.ZodEnum<{
|
|
15
15
|
cancelled: "cancelled";
|
|
16
|
+
failed: "failed";
|
|
16
17
|
pending: "pending";
|
|
17
18
|
running: "running";
|
|
18
19
|
succeeded: "succeeded";
|
|
19
|
-
failed: "failed";
|
|
20
20
|
}>;
|
|
21
21
|
status_reason: z.ZodNullable<z.ZodString>;
|
|
22
|
+
runner: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
22
23
|
trigger_events: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
23
24
|
source: z.ZodString;
|
|
24
25
|
event: z.ZodString;
|
|
@@ -33,6 +34,22 @@ export declare const jobExecutionDtoSchema: z.ZodObject<{
|
|
|
33
34
|
data: z.ZodUnknown;
|
|
34
35
|
}, z.core.$strip>>>;
|
|
35
36
|
outputs: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
37
|
+
evaluation_trace: z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
38
|
+
expression: z.ZodString;
|
|
39
|
+
roots: z.ZodArray<z.ZodString>;
|
|
40
|
+
fill_target: z.ZodString;
|
|
41
|
+
evaluated_at: z.ZodString;
|
|
42
|
+
field: z.ZodString;
|
|
43
|
+
value: z.ZodOptional<z.ZodString>;
|
|
44
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
45
|
+
expr_truncated: z.ZodOptional<z.ZodBoolean>;
|
|
46
|
+
reference: z.ZodOptional<z.ZodBoolean>;
|
|
47
|
+
degraded: z.ZodOptional<z.ZodBoolean>;
|
|
48
|
+
env_key: z.ZodOptional<z.ZodString>;
|
|
49
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
+
truncated: z.ZodLiteral<true>;
|
|
51
|
+
dropped: z.ZodNumber;
|
|
52
|
+
}, z.core.$strip>]>>>;
|
|
36
53
|
queued_at: z.ZodNullable<z.ZodString>;
|
|
37
54
|
started_at: z.ZodNullable<z.ZodString>;
|
|
38
55
|
finished_at: z.ZodNullable<z.ZodString>;
|
|
@@ -51,35 +68,56 @@ export declare const workflowRunStepDetailDtoSchema: z.ZodObject<{
|
|
|
51
68
|
end_line: z.ZodNumber;
|
|
52
69
|
}, z.core.$strip>>;
|
|
53
70
|
status: z.ZodString;
|
|
71
|
+
status_reason: z.ZodNullable<z.ZodEnum<{
|
|
72
|
+
condition_errored: "condition_errored";
|
|
73
|
+
condition_rejected: "condition_rejected";
|
|
74
|
+
default_gate_rejected: "default_gate_rejected";
|
|
75
|
+
}>>;
|
|
54
76
|
type: z.ZodString;
|
|
55
77
|
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
78
|
+
evaluation_trace: z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
79
|
+
expression: z.ZodString;
|
|
80
|
+
roots: z.ZodArray<z.ZodString>;
|
|
81
|
+
fill_target: z.ZodString;
|
|
82
|
+
evaluated_at: z.ZodString;
|
|
83
|
+
field: z.ZodString;
|
|
84
|
+
value: z.ZodOptional<z.ZodString>;
|
|
85
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
86
|
+
expr_truncated: z.ZodOptional<z.ZodBoolean>;
|
|
87
|
+
reference: z.ZodOptional<z.ZodBoolean>;
|
|
88
|
+
degraded: z.ZodOptional<z.ZodBoolean>;
|
|
89
|
+
env_key: z.ZodOptional<z.ZodString>;
|
|
90
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
91
|
+
truncated: z.ZodLiteral<true>;
|
|
92
|
+
dropped: z.ZodNumber;
|
|
93
|
+
}, z.core.$strip>]>>>;
|
|
56
94
|
error: z.ZodNullable<z.ZodObject<{
|
|
57
95
|
message: z.ZodString;
|
|
58
96
|
exit_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
59
97
|
signal: z.ZodOptional<z.ZodString>;
|
|
60
98
|
reason: z.ZodOptional<z.ZodEnum<{
|
|
61
|
-
|
|
99
|
+
agent_config_invalid: "agent_config_invalid";
|
|
100
|
+
agent_harness_unavailable: "agent_harness_unavailable";
|
|
101
|
+
agent_invocation_failed: "agent_invocation_failed";
|
|
62
102
|
checkout_auth_failed: "checkout_auth_failed";
|
|
63
|
-
checkout_unavailable: "checkout_unavailable";
|
|
64
|
-
checkout_path_invalid: "checkout_path_invalid";
|
|
65
103
|
checkout_destination_occupied: "checkout_destination_occupied";
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
104
|
+
checkout_failed: "checkout_failed";
|
|
105
|
+
checkout_path_invalid: "checkout_path_invalid";
|
|
106
|
+
checkout_unavailable: "checkout_unavailable";
|
|
69
107
|
config_unresolvable: "config_unresolvable";
|
|
108
|
+
git_unavailable: "git_unavailable";
|
|
70
109
|
output_invalid: "output_invalid";
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
agent_harness_unavailable: "agent_harness_unavailable";
|
|
110
|
+
setup_aborted: "setup_aborted";
|
|
111
|
+
workspace_prep_failed: "workspace_prep_failed";
|
|
74
112
|
}>>;
|
|
75
113
|
field: z.ZodOptional<z.ZodString>;
|
|
76
114
|
source: z.ZodOptional<z.ZodString>;
|
|
77
115
|
agent_config_issue: z.ZodOptional<z.ZodEnum<{
|
|
78
|
-
|
|
116
|
+
credentials_invalid: "credentials_invalid";
|
|
117
|
+
model_unavailable: "model_unavailable";
|
|
79
118
|
provider_not_configured: "provider_not_configured";
|
|
80
119
|
provider_unsupported: "provider_unsupported";
|
|
81
|
-
|
|
82
|
-
credentials_invalid: "credentials_invalid";
|
|
120
|
+
step_config_invalid: "step_config_invalid";
|
|
83
121
|
}>>;
|
|
84
122
|
category: z.ZodOptional<z.ZodEnum<{
|
|
85
123
|
setup: "setup";
|
|
@@ -166,6 +204,29 @@ export declare const workflowRunStepDetailDtoSchema: z.ZodObject<{
|
|
|
166
204
|
}, z.core.$strip>>;
|
|
167
205
|
}, z.core.$strip>;
|
|
168
206
|
export type WorkflowRunStepDetailDto = z.infer<typeof workflowRunStepDetailDtoSchema>;
|
|
207
|
+
export declare const stepAttemptDetailResponseSchema: z.ZodObject<{
|
|
208
|
+
step_id: z.ZodString;
|
|
209
|
+
attempt: z.ZodNumber;
|
|
210
|
+
authored_config: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
211
|
+
config: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
212
|
+
evaluation_trace: z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
213
|
+
expression: z.ZodString;
|
|
214
|
+
roots: z.ZodArray<z.ZodString>;
|
|
215
|
+
fill_target: z.ZodString;
|
|
216
|
+
evaluated_at: z.ZodString;
|
|
217
|
+
field: z.ZodString;
|
|
218
|
+
value: z.ZodOptional<z.ZodString>;
|
|
219
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
220
|
+
expr_truncated: z.ZodOptional<z.ZodBoolean>;
|
|
221
|
+
reference: z.ZodOptional<z.ZodBoolean>;
|
|
222
|
+
degraded: z.ZodOptional<z.ZodBoolean>;
|
|
223
|
+
env_key: z.ZodOptional<z.ZodString>;
|
|
224
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
225
|
+
truncated: z.ZodLiteral<true>;
|
|
226
|
+
dropped: z.ZodNumber;
|
|
227
|
+
}, z.core.$strip>]>>>;
|
|
228
|
+
}, z.core.$strip>;
|
|
229
|
+
export type StepAttemptDetailResponseDto = z.infer<typeof stepAttemptDetailResponseSchema>;
|
|
169
230
|
export declare const workflowRunJobExecutionDetailDtoSchema: z.ZodObject<{
|
|
170
231
|
id: z.ZodString;
|
|
171
232
|
job_id: z.ZodString;
|
|
@@ -173,12 +234,13 @@ export declare const workflowRunJobExecutionDetailDtoSchema: z.ZodObject<{
|
|
|
173
234
|
name: z.ZodString;
|
|
174
235
|
status: z.ZodEnum<{
|
|
175
236
|
cancelled: "cancelled";
|
|
237
|
+
failed: "failed";
|
|
176
238
|
pending: "pending";
|
|
177
239
|
running: "running";
|
|
178
240
|
succeeded: "succeeded";
|
|
179
|
-
failed: "failed";
|
|
180
241
|
}>;
|
|
181
242
|
status_reason: z.ZodNullable<z.ZodString>;
|
|
243
|
+
runner: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
182
244
|
trigger_events: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
183
245
|
source: z.ZodString;
|
|
184
246
|
event: z.ZodString;
|
|
@@ -193,6 +255,22 @@ export declare const workflowRunJobExecutionDetailDtoSchema: z.ZodObject<{
|
|
|
193
255
|
data: z.ZodUnknown;
|
|
194
256
|
}, z.core.$strip>>>;
|
|
195
257
|
outputs: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
258
|
+
evaluation_trace: z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
259
|
+
expression: z.ZodString;
|
|
260
|
+
roots: z.ZodArray<z.ZodString>;
|
|
261
|
+
fill_target: z.ZodString;
|
|
262
|
+
evaluated_at: z.ZodString;
|
|
263
|
+
field: z.ZodString;
|
|
264
|
+
value: z.ZodOptional<z.ZodString>;
|
|
265
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
266
|
+
expr_truncated: z.ZodOptional<z.ZodBoolean>;
|
|
267
|
+
reference: z.ZodOptional<z.ZodBoolean>;
|
|
268
|
+
degraded: z.ZodOptional<z.ZodBoolean>;
|
|
269
|
+
env_key: z.ZodOptional<z.ZodString>;
|
|
270
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
271
|
+
truncated: z.ZodLiteral<true>;
|
|
272
|
+
dropped: z.ZodNumber;
|
|
273
|
+
}, z.core.$strip>]>>>;
|
|
196
274
|
queued_at: z.ZodNullable<z.ZodString>;
|
|
197
275
|
started_at: z.ZodNullable<z.ZodString>;
|
|
198
276
|
finished_at: z.ZodNullable<z.ZodString>;
|
|
@@ -209,35 +287,56 @@ export declare const workflowRunJobExecutionDetailDtoSchema: z.ZodObject<{
|
|
|
209
287
|
end_line: z.ZodNumber;
|
|
210
288
|
}, z.core.$strip>>;
|
|
211
289
|
status: z.ZodString;
|
|
290
|
+
status_reason: z.ZodNullable<z.ZodEnum<{
|
|
291
|
+
condition_errored: "condition_errored";
|
|
292
|
+
condition_rejected: "condition_rejected";
|
|
293
|
+
default_gate_rejected: "default_gate_rejected";
|
|
294
|
+
}>>;
|
|
212
295
|
type: z.ZodString;
|
|
213
296
|
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
297
|
+
evaluation_trace: z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
298
|
+
expression: z.ZodString;
|
|
299
|
+
roots: z.ZodArray<z.ZodString>;
|
|
300
|
+
fill_target: z.ZodString;
|
|
301
|
+
evaluated_at: z.ZodString;
|
|
302
|
+
field: z.ZodString;
|
|
303
|
+
value: z.ZodOptional<z.ZodString>;
|
|
304
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
305
|
+
expr_truncated: z.ZodOptional<z.ZodBoolean>;
|
|
306
|
+
reference: z.ZodOptional<z.ZodBoolean>;
|
|
307
|
+
degraded: z.ZodOptional<z.ZodBoolean>;
|
|
308
|
+
env_key: z.ZodOptional<z.ZodString>;
|
|
309
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
310
|
+
truncated: z.ZodLiteral<true>;
|
|
311
|
+
dropped: z.ZodNumber;
|
|
312
|
+
}, z.core.$strip>]>>>;
|
|
214
313
|
error: z.ZodNullable<z.ZodObject<{
|
|
215
314
|
message: z.ZodString;
|
|
216
315
|
exit_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
217
316
|
signal: z.ZodOptional<z.ZodString>;
|
|
218
317
|
reason: z.ZodOptional<z.ZodEnum<{
|
|
219
|
-
|
|
318
|
+
agent_config_invalid: "agent_config_invalid";
|
|
319
|
+
agent_harness_unavailable: "agent_harness_unavailable";
|
|
320
|
+
agent_invocation_failed: "agent_invocation_failed";
|
|
220
321
|
checkout_auth_failed: "checkout_auth_failed";
|
|
221
|
-
checkout_unavailable: "checkout_unavailable";
|
|
222
|
-
checkout_path_invalid: "checkout_path_invalid";
|
|
223
322
|
checkout_destination_occupied: "checkout_destination_occupied";
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
323
|
+
checkout_failed: "checkout_failed";
|
|
324
|
+
checkout_path_invalid: "checkout_path_invalid";
|
|
325
|
+
checkout_unavailable: "checkout_unavailable";
|
|
227
326
|
config_unresolvable: "config_unresolvable";
|
|
327
|
+
git_unavailable: "git_unavailable";
|
|
228
328
|
output_invalid: "output_invalid";
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
agent_harness_unavailable: "agent_harness_unavailable";
|
|
329
|
+
setup_aborted: "setup_aborted";
|
|
330
|
+
workspace_prep_failed: "workspace_prep_failed";
|
|
232
331
|
}>>;
|
|
233
332
|
field: z.ZodOptional<z.ZodString>;
|
|
234
333
|
source: z.ZodOptional<z.ZodString>;
|
|
235
334
|
agent_config_issue: z.ZodOptional<z.ZodEnum<{
|
|
236
|
-
|
|
335
|
+
credentials_invalid: "credentials_invalid";
|
|
336
|
+
model_unavailable: "model_unavailable";
|
|
237
337
|
provider_not_configured: "provider_not_configured";
|
|
238
338
|
provider_unsupported: "provider_unsupported";
|
|
239
|
-
|
|
240
|
-
credentials_invalid: "credentials_invalid";
|
|
339
|
+
step_config_invalid: "step_config_invalid";
|
|
241
340
|
}>>;
|
|
242
341
|
category: z.ZodOptional<z.ZodEnum<{
|
|
243
342
|
setup: "setup";
|
|
@@ -331,31 +430,49 @@ export declare const workflowRunJobDetailDtoSchema: z.ZodObject<{
|
|
|
331
430
|
key: z.ZodString;
|
|
332
431
|
name: z.ZodNullable<z.ZodString>;
|
|
333
432
|
mode: z.ZodEnum<{
|
|
334
|
-
one_shot: "one_shot";
|
|
335
433
|
listening: "listening";
|
|
434
|
+
one_shot: "one_shot";
|
|
336
435
|
}>;
|
|
337
436
|
status: z.ZodEnum<{
|
|
338
437
|
cancelled: "cancelled";
|
|
438
|
+
failed: "failed";
|
|
339
439
|
pending: "pending";
|
|
340
440
|
running: "running";
|
|
341
|
-
succeeded: "succeeded";
|
|
342
|
-
failed: "failed";
|
|
343
441
|
skipped: "skipped";
|
|
442
|
+
succeeded: "succeeded";
|
|
344
443
|
}>;
|
|
345
444
|
status_reason: z.ZodNullable<z.ZodEnum<{
|
|
346
|
-
|
|
347
|
-
dependency_not_completed: "dependency_not_completed";
|
|
445
|
+
condition_errored: "condition_errored";
|
|
348
446
|
condition_false: "condition_false";
|
|
349
|
-
default_gate_rejected: "default_gate_rejected";
|
|
350
447
|
condition_rejected: "condition_rejected";
|
|
351
|
-
|
|
352
|
-
|
|
448
|
+
default_gate_rejected: "default_gate_rejected";
|
|
449
|
+
dependency_not_completed: "dependency_not_completed";
|
|
353
450
|
run_cancelled: "run_cancelled";
|
|
354
|
-
timed_out: "timed_out";
|
|
355
451
|
runner_lost: "runner_lost";
|
|
356
452
|
step_failed: "step_failed";
|
|
453
|
+
timed_out: "timed_out";
|
|
454
|
+
unknown: "unknown";
|
|
455
|
+
user_cancelled: "user_cancelled";
|
|
357
456
|
}>>;
|
|
358
457
|
carried_over: z.ZodBoolean;
|
|
458
|
+
success: z.ZodNullable<z.ZodString>;
|
|
459
|
+
runner: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
460
|
+
evaluation_trace: z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
461
|
+
expression: z.ZodString;
|
|
462
|
+
roots: z.ZodArray<z.ZodString>;
|
|
463
|
+
fill_target: z.ZodString;
|
|
464
|
+
evaluated_at: z.ZodString;
|
|
465
|
+
field: z.ZodString;
|
|
466
|
+
value: z.ZodOptional<z.ZodString>;
|
|
467
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
468
|
+
expr_truncated: z.ZodOptional<z.ZodBoolean>;
|
|
469
|
+
reference: z.ZodOptional<z.ZodBoolean>;
|
|
470
|
+
degraded: z.ZodOptional<z.ZodBoolean>;
|
|
471
|
+
env_key: z.ZodOptional<z.ZodString>;
|
|
472
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
473
|
+
truncated: z.ZodLiteral<true>;
|
|
474
|
+
dropped: z.ZodNumber;
|
|
475
|
+
}, z.core.$strip>]>>>;
|
|
359
476
|
listening: z.ZodNullable<z.ZodObject<{
|
|
360
477
|
on: z.ZodArray<z.ZodObject<{
|
|
361
478
|
source: z.ZodString;
|
|
@@ -377,22 +494,22 @@ export declare const workflowRunJobDetailDtoSchema: z.ZodObject<{
|
|
|
377
494
|
max_wait_ms: z.ZodOptional<z.ZodNumber>;
|
|
378
495
|
}, z.core.$strip>>;
|
|
379
496
|
on_resolve: z.ZodEnum<{
|
|
380
|
-
finish: "finish";
|
|
381
497
|
cancel: "cancel";
|
|
498
|
+
finish: "finish";
|
|
382
499
|
}>;
|
|
383
500
|
execution_timeout_ms: z.ZodNullable<z.ZodNumber>;
|
|
384
501
|
name: z.ZodNullable<z.ZodString>;
|
|
385
502
|
}, z.core.$strip>>;
|
|
386
503
|
listener_status: z.ZodEnum<{
|
|
387
|
-
listening: "listening";
|
|
388
504
|
inactive: "inactive";
|
|
505
|
+
listening: "listening";
|
|
389
506
|
resolved: "resolved";
|
|
390
507
|
}>;
|
|
391
508
|
resolution_reason: z.ZodNullable<z.ZodEnum<{
|
|
392
|
-
until: "until";
|
|
393
|
-
timeout: "timeout";
|
|
394
|
-
max_executions: "max_executions";
|
|
395
509
|
cancelled: "cancelled";
|
|
510
|
+
max_executions: "max_executions";
|
|
511
|
+
timeout: "timeout";
|
|
512
|
+
until: "until";
|
|
396
513
|
}>>;
|
|
397
514
|
outputs: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
398
515
|
dependencies: z.ZodArray<z.ZodString>;
|
|
@@ -406,12 +523,13 @@ export declare const workflowRunJobDetailDtoSchema: z.ZodObject<{
|
|
|
406
523
|
name: z.ZodString;
|
|
407
524
|
status: z.ZodEnum<{
|
|
408
525
|
cancelled: "cancelled";
|
|
526
|
+
failed: "failed";
|
|
409
527
|
pending: "pending";
|
|
410
528
|
running: "running";
|
|
411
529
|
succeeded: "succeeded";
|
|
412
|
-
failed: "failed";
|
|
413
530
|
}>;
|
|
414
531
|
status_reason: z.ZodNullable<z.ZodString>;
|
|
532
|
+
runner: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
415
533
|
trigger_events: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
416
534
|
source: z.ZodString;
|
|
417
535
|
event: z.ZodString;
|
|
@@ -426,6 +544,22 @@ export declare const workflowRunJobDetailDtoSchema: z.ZodObject<{
|
|
|
426
544
|
data: z.ZodUnknown;
|
|
427
545
|
}, z.core.$strip>>>;
|
|
428
546
|
outputs: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
547
|
+
evaluation_trace: z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
548
|
+
expression: z.ZodString;
|
|
549
|
+
roots: z.ZodArray<z.ZodString>;
|
|
550
|
+
fill_target: z.ZodString;
|
|
551
|
+
evaluated_at: z.ZodString;
|
|
552
|
+
field: z.ZodString;
|
|
553
|
+
value: z.ZodOptional<z.ZodString>;
|
|
554
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
555
|
+
expr_truncated: z.ZodOptional<z.ZodBoolean>;
|
|
556
|
+
reference: z.ZodOptional<z.ZodBoolean>;
|
|
557
|
+
degraded: z.ZodOptional<z.ZodBoolean>;
|
|
558
|
+
env_key: z.ZodOptional<z.ZodString>;
|
|
559
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
560
|
+
truncated: z.ZodLiteral<true>;
|
|
561
|
+
dropped: z.ZodNumber;
|
|
562
|
+
}, z.core.$strip>]>>>;
|
|
429
563
|
queued_at: z.ZodNullable<z.ZodString>;
|
|
430
564
|
started_at: z.ZodNullable<z.ZodString>;
|
|
431
565
|
finished_at: z.ZodNullable<z.ZodString>;
|
|
@@ -442,35 +576,56 @@ export declare const workflowRunJobDetailDtoSchema: z.ZodObject<{
|
|
|
442
576
|
end_line: z.ZodNumber;
|
|
443
577
|
}, z.core.$strip>>;
|
|
444
578
|
status: z.ZodString;
|
|
579
|
+
status_reason: z.ZodNullable<z.ZodEnum<{
|
|
580
|
+
condition_errored: "condition_errored";
|
|
581
|
+
condition_rejected: "condition_rejected";
|
|
582
|
+
default_gate_rejected: "default_gate_rejected";
|
|
583
|
+
}>>;
|
|
445
584
|
type: z.ZodString;
|
|
446
585
|
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
586
|
+
evaluation_trace: z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
587
|
+
expression: z.ZodString;
|
|
588
|
+
roots: z.ZodArray<z.ZodString>;
|
|
589
|
+
fill_target: z.ZodString;
|
|
590
|
+
evaluated_at: z.ZodString;
|
|
591
|
+
field: z.ZodString;
|
|
592
|
+
value: z.ZodOptional<z.ZodString>;
|
|
593
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
594
|
+
expr_truncated: z.ZodOptional<z.ZodBoolean>;
|
|
595
|
+
reference: z.ZodOptional<z.ZodBoolean>;
|
|
596
|
+
degraded: z.ZodOptional<z.ZodBoolean>;
|
|
597
|
+
env_key: z.ZodOptional<z.ZodString>;
|
|
598
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
599
|
+
truncated: z.ZodLiteral<true>;
|
|
600
|
+
dropped: z.ZodNumber;
|
|
601
|
+
}, z.core.$strip>]>>>;
|
|
447
602
|
error: z.ZodNullable<z.ZodObject<{
|
|
448
603
|
message: z.ZodString;
|
|
449
604
|
exit_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
450
605
|
signal: z.ZodOptional<z.ZodString>;
|
|
451
606
|
reason: z.ZodOptional<z.ZodEnum<{
|
|
452
|
-
|
|
607
|
+
agent_config_invalid: "agent_config_invalid";
|
|
608
|
+
agent_harness_unavailable: "agent_harness_unavailable";
|
|
609
|
+
agent_invocation_failed: "agent_invocation_failed";
|
|
453
610
|
checkout_auth_failed: "checkout_auth_failed";
|
|
454
|
-
checkout_unavailable: "checkout_unavailable";
|
|
455
|
-
checkout_path_invalid: "checkout_path_invalid";
|
|
456
611
|
checkout_destination_occupied: "checkout_destination_occupied";
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
612
|
+
checkout_failed: "checkout_failed";
|
|
613
|
+
checkout_path_invalid: "checkout_path_invalid";
|
|
614
|
+
checkout_unavailable: "checkout_unavailable";
|
|
460
615
|
config_unresolvable: "config_unresolvable";
|
|
616
|
+
git_unavailable: "git_unavailable";
|
|
461
617
|
output_invalid: "output_invalid";
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
agent_harness_unavailable: "agent_harness_unavailable";
|
|
618
|
+
setup_aborted: "setup_aborted";
|
|
619
|
+
workspace_prep_failed: "workspace_prep_failed";
|
|
465
620
|
}>>;
|
|
466
621
|
field: z.ZodOptional<z.ZodString>;
|
|
467
622
|
source: z.ZodOptional<z.ZodString>;
|
|
468
623
|
agent_config_issue: z.ZodOptional<z.ZodEnum<{
|
|
469
|
-
|
|
624
|
+
credentials_invalid: "credentials_invalid";
|
|
625
|
+
model_unavailable: "model_unavailable";
|
|
470
626
|
provider_not_configured: "provider_not_configured";
|
|
471
627
|
provider_unsupported: "provider_unsupported";
|
|
472
|
-
|
|
473
|
-
credentials_invalid: "credentials_invalid";
|
|
628
|
+
step_config_invalid: "step_config_invalid";
|
|
474
629
|
}>>;
|
|
475
630
|
category: z.ZodOptional<z.ZodEnum<{
|
|
476
631
|
setup: "setup";
|
|
@@ -568,10 +723,10 @@ export declare const workflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
568
723
|
workflow_name: z.ZodString;
|
|
569
724
|
status: z.ZodEnum<{
|
|
570
725
|
cancelled: "cancelled";
|
|
726
|
+
failed: "failed";
|
|
571
727
|
pending: "pending";
|
|
572
728
|
running: "running";
|
|
573
729
|
succeeded: "succeeded";
|
|
574
|
-
failed: "failed";
|
|
575
730
|
}>;
|
|
576
731
|
current_attempt: z.ZodNumber;
|
|
577
732
|
latest_attempt: z.ZodNumber;
|
|
@@ -600,17 +755,17 @@ export declare const workflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
600
755
|
attempt: z.ZodNumber;
|
|
601
756
|
status: z.ZodEnum<{
|
|
602
757
|
cancelled: "cancelled";
|
|
758
|
+
failed: "failed";
|
|
603
759
|
pending: "pending";
|
|
604
760
|
running: "running";
|
|
605
761
|
succeeded: "succeeded";
|
|
606
|
-
failed: "failed";
|
|
607
762
|
}>;
|
|
608
763
|
created_at: z.ZodString;
|
|
609
764
|
started_at: z.ZodNullable<z.ZodString>;
|
|
610
765
|
finished_at: z.ZodNullable<z.ZodString>;
|
|
611
766
|
rerun_mode: z.ZodNullable<z.ZodEnum<{
|
|
612
|
-
failed: "failed";
|
|
613
767
|
all: "all";
|
|
768
|
+
failed: "failed";
|
|
614
769
|
}>>;
|
|
615
770
|
}, z.core.$strip>;
|
|
616
771
|
jobs: z.ZodArray<z.ZodObject<{
|
|
@@ -619,31 +774,49 @@ export declare const workflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
619
774
|
key: z.ZodString;
|
|
620
775
|
name: z.ZodNullable<z.ZodString>;
|
|
621
776
|
mode: z.ZodEnum<{
|
|
622
|
-
one_shot: "one_shot";
|
|
623
777
|
listening: "listening";
|
|
778
|
+
one_shot: "one_shot";
|
|
624
779
|
}>;
|
|
625
780
|
status: z.ZodEnum<{
|
|
626
781
|
cancelled: "cancelled";
|
|
782
|
+
failed: "failed";
|
|
627
783
|
pending: "pending";
|
|
628
784
|
running: "running";
|
|
629
|
-
succeeded: "succeeded";
|
|
630
|
-
failed: "failed";
|
|
631
785
|
skipped: "skipped";
|
|
786
|
+
succeeded: "succeeded";
|
|
632
787
|
}>;
|
|
633
788
|
status_reason: z.ZodNullable<z.ZodEnum<{
|
|
634
|
-
|
|
635
|
-
dependency_not_completed: "dependency_not_completed";
|
|
789
|
+
condition_errored: "condition_errored";
|
|
636
790
|
condition_false: "condition_false";
|
|
637
|
-
default_gate_rejected: "default_gate_rejected";
|
|
638
791
|
condition_rejected: "condition_rejected";
|
|
639
|
-
|
|
640
|
-
|
|
792
|
+
default_gate_rejected: "default_gate_rejected";
|
|
793
|
+
dependency_not_completed: "dependency_not_completed";
|
|
641
794
|
run_cancelled: "run_cancelled";
|
|
642
|
-
timed_out: "timed_out";
|
|
643
795
|
runner_lost: "runner_lost";
|
|
644
796
|
step_failed: "step_failed";
|
|
797
|
+
timed_out: "timed_out";
|
|
798
|
+
unknown: "unknown";
|
|
799
|
+
user_cancelled: "user_cancelled";
|
|
645
800
|
}>>;
|
|
646
801
|
carried_over: z.ZodBoolean;
|
|
802
|
+
success: z.ZodNullable<z.ZodString>;
|
|
803
|
+
runner: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
804
|
+
evaluation_trace: z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
805
|
+
expression: z.ZodString;
|
|
806
|
+
roots: z.ZodArray<z.ZodString>;
|
|
807
|
+
fill_target: z.ZodString;
|
|
808
|
+
evaluated_at: z.ZodString;
|
|
809
|
+
field: z.ZodString;
|
|
810
|
+
value: z.ZodOptional<z.ZodString>;
|
|
811
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
812
|
+
expr_truncated: z.ZodOptional<z.ZodBoolean>;
|
|
813
|
+
reference: z.ZodOptional<z.ZodBoolean>;
|
|
814
|
+
degraded: z.ZodOptional<z.ZodBoolean>;
|
|
815
|
+
env_key: z.ZodOptional<z.ZodString>;
|
|
816
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
817
|
+
truncated: z.ZodLiteral<true>;
|
|
818
|
+
dropped: z.ZodNumber;
|
|
819
|
+
}, z.core.$strip>]>>>;
|
|
647
820
|
listening: z.ZodNullable<z.ZodObject<{
|
|
648
821
|
on: z.ZodArray<z.ZodObject<{
|
|
649
822
|
source: z.ZodString;
|
|
@@ -665,22 +838,22 @@ export declare const workflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
665
838
|
max_wait_ms: z.ZodOptional<z.ZodNumber>;
|
|
666
839
|
}, z.core.$strip>>;
|
|
667
840
|
on_resolve: z.ZodEnum<{
|
|
668
|
-
finish: "finish";
|
|
669
841
|
cancel: "cancel";
|
|
842
|
+
finish: "finish";
|
|
670
843
|
}>;
|
|
671
844
|
execution_timeout_ms: z.ZodNullable<z.ZodNumber>;
|
|
672
845
|
name: z.ZodNullable<z.ZodString>;
|
|
673
846
|
}, z.core.$strip>>;
|
|
674
847
|
listener_status: z.ZodEnum<{
|
|
675
|
-
listening: "listening";
|
|
676
848
|
inactive: "inactive";
|
|
849
|
+
listening: "listening";
|
|
677
850
|
resolved: "resolved";
|
|
678
851
|
}>;
|
|
679
852
|
resolution_reason: z.ZodNullable<z.ZodEnum<{
|
|
680
|
-
until: "until";
|
|
681
|
-
timeout: "timeout";
|
|
682
|
-
max_executions: "max_executions";
|
|
683
853
|
cancelled: "cancelled";
|
|
854
|
+
max_executions: "max_executions";
|
|
855
|
+
timeout: "timeout";
|
|
856
|
+
until: "until";
|
|
684
857
|
}>>;
|
|
685
858
|
outputs: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
686
859
|
dependencies: z.ZodArray<z.ZodString>;
|
|
@@ -694,12 +867,13 @@ export declare const workflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
694
867
|
name: z.ZodString;
|
|
695
868
|
status: z.ZodEnum<{
|
|
696
869
|
cancelled: "cancelled";
|
|
870
|
+
failed: "failed";
|
|
697
871
|
pending: "pending";
|
|
698
872
|
running: "running";
|
|
699
873
|
succeeded: "succeeded";
|
|
700
|
-
failed: "failed";
|
|
701
874
|
}>;
|
|
702
875
|
status_reason: z.ZodNullable<z.ZodString>;
|
|
876
|
+
runner: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
703
877
|
trigger_events: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
704
878
|
source: z.ZodString;
|
|
705
879
|
event: z.ZodString;
|
|
@@ -714,6 +888,22 @@ export declare const workflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
714
888
|
data: z.ZodUnknown;
|
|
715
889
|
}, z.core.$strip>>>;
|
|
716
890
|
outputs: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
891
|
+
evaluation_trace: z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
892
|
+
expression: z.ZodString;
|
|
893
|
+
roots: z.ZodArray<z.ZodString>;
|
|
894
|
+
fill_target: z.ZodString;
|
|
895
|
+
evaluated_at: z.ZodString;
|
|
896
|
+
field: z.ZodString;
|
|
897
|
+
value: z.ZodOptional<z.ZodString>;
|
|
898
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
899
|
+
expr_truncated: z.ZodOptional<z.ZodBoolean>;
|
|
900
|
+
reference: z.ZodOptional<z.ZodBoolean>;
|
|
901
|
+
degraded: z.ZodOptional<z.ZodBoolean>;
|
|
902
|
+
env_key: z.ZodOptional<z.ZodString>;
|
|
903
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
904
|
+
truncated: z.ZodLiteral<true>;
|
|
905
|
+
dropped: z.ZodNumber;
|
|
906
|
+
}, z.core.$strip>]>>>;
|
|
717
907
|
queued_at: z.ZodNullable<z.ZodString>;
|
|
718
908
|
started_at: z.ZodNullable<z.ZodString>;
|
|
719
909
|
finished_at: z.ZodNullable<z.ZodString>;
|
|
@@ -730,35 +920,56 @@ export declare const workflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
730
920
|
end_line: z.ZodNumber;
|
|
731
921
|
}, z.core.$strip>>;
|
|
732
922
|
status: z.ZodString;
|
|
923
|
+
status_reason: z.ZodNullable<z.ZodEnum<{
|
|
924
|
+
condition_errored: "condition_errored";
|
|
925
|
+
condition_rejected: "condition_rejected";
|
|
926
|
+
default_gate_rejected: "default_gate_rejected";
|
|
927
|
+
}>>;
|
|
733
928
|
type: z.ZodString;
|
|
734
929
|
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
930
|
+
evaluation_trace: z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
931
|
+
expression: z.ZodString;
|
|
932
|
+
roots: z.ZodArray<z.ZodString>;
|
|
933
|
+
fill_target: z.ZodString;
|
|
934
|
+
evaluated_at: z.ZodString;
|
|
935
|
+
field: z.ZodString;
|
|
936
|
+
value: z.ZodOptional<z.ZodString>;
|
|
937
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
938
|
+
expr_truncated: z.ZodOptional<z.ZodBoolean>;
|
|
939
|
+
reference: z.ZodOptional<z.ZodBoolean>;
|
|
940
|
+
degraded: z.ZodOptional<z.ZodBoolean>;
|
|
941
|
+
env_key: z.ZodOptional<z.ZodString>;
|
|
942
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
943
|
+
truncated: z.ZodLiteral<true>;
|
|
944
|
+
dropped: z.ZodNumber;
|
|
945
|
+
}, z.core.$strip>]>>>;
|
|
735
946
|
error: z.ZodNullable<z.ZodObject<{
|
|
736
947
|
message: z.ZodString;
|
|
737
948
|
exit_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
738
949
|
signal: z.ZodOptional<z.ZodString>;
|
|
739
950
|
reason: z.ZodOptional<z.ZodEnum<{
|
|
740
|
-
|
|
951
|
+
agent_config_invalid: "agent_config_invalid";
|
|
952
|
+
agent_harness_unavailable: "agent_harness_unavailable";
|
|
953
|
+
agent_invocation_failed: "agent_invocation_failed";
|
|
741
954
|
checkout_auth_failed: "checkout_auth_failed";
|
|
742
|
-
checkout_unavailable: "checkout_unavailable";
|
|
743
|
-
checkout_path_invalid: "checkout_path_invalid";
|
|
744
955
|
checkout_destination_occupied: "checkout_destination_occupied";
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
956
|
+
checkout_failed: "checkout_failed";
|
|
957
|
+
checkout_path_invalid: "checkout_path_invalid";
|
|
958
|
+
checkout_unavailable: "checkout_unavailable";
|
|
748
959
|
config_unresolvable: "config_unresolvable";
|
|
960
|
+
git_unavailable: "git_unavailable";
|
|
749
961
|
output_invalid: "output_invalid";
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
agent_harness_unavailable: "agent_harness_unavailable";
|
|
962
|
+
setup_aborted: "setup_aborted";
|
|
963
|
+
workspace_prep_failed: "workspace_prep_failed";
|
|
753
964
|
}>>;
|
|
754
965
|
field: z.ZodOptional<z.ZodString>;
|
|
755
966
|
source: z.ZodOptional<z.ZodString>;
|
|
756
967
|
agent_config_issue: z.ZodOptional<z.ZodEnum<{
|
|
757
|
-
|
|
968
|
+
credentials_invalid: "credentials_invalid";
|
|
969
|
+
model_unavailable: "model_unavailable";
|
|
758
970
|
provider_not_configured: "provider_not_configured";
|
|
759
971
|
provider_unsupported: "provider_unsupported";
|
|
760
|
-
|
|
761
|
-
credentials_invalid: "credentials_invalid";
|
|
972
|
+
step_config_invalid: "step_config_invalid";
|
|
762
973
|
}>>;
|
|
763
974
|
category: z.ZodOptional<z.ZodEnum<{
|
|
764
975
|
setup: "setup";
|