@shipfox/api-agent-access-dto 21.0.0 → 21.2.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/.turbo/turbo-type.log +0 -1
- package/CHANGELOG.md +19 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/schemas/diagnostic-tools.d.ts +3 -1
- package/dist/schemas/diagnostic-tools.d.ts.map +1 -1
- package/dist/schemas/diagnostic-tools.js +7 -8
- package/dist/schemas/diagnostic-tools.js.map +1 -1
- package/dist/schemas/log-tools.d.ts +215 -0
- package/dist/schemas/log-tools.d.ts.map +1 -0
- package/dist/schemas/log-tools.js +224 -0
- package/dist/schemas/log-tools.js.map +1 -0
- package/dist/schemas/paged-tools.d.ts.map +1 -1
- package/dist/schemas/paged-tools.js +1 -6
- package/dist/schemas/paged-tools.js.map +1 -1
- package/dist/schemas/primitives.d.ts +5 -0
- package/dist/schemas/primitives.d.ts.map +1 -0
- package/dist/schemas/primitives.js +9 -0
- package/dist/schemas/primitives.js.map +1 -0
- package/dist/schemas/workflow-diagnostics.d.ts +862 -0
- package/dist/schemas/workflow-diagnostics.d.ts.map +1 -0
- package/dist/schemas/workflow-diagnostics.js +876 -0
- package/dist/schemas/workflow-diagnostics.js.map +1 -0
- package/dist/schemas/workflow-execution-events.d.ts +272 -0
- package/dist/schemas/workflow-execution-events.d.ts.map +1 -0
- package/dist/schemas/workflow-execution-events.js +250 -0
- package/dist/schemas/workflow-execution-events.js.map +1 -0
- package/dist/schemas/workflow-tools.d.ts +1305 -0
- package/dist/schemas/workflow-tools.d.ts.map +1 -0
- package/dist/schemas/workflow-tools.js +938 -0
- package/dist/schemas/workflow-tools.js.map +1 -0
- package/dist/tsconfig.test.tsbuildinfo +1 -1
- package/package.json +3 -2
- package/src/index.ts +113 -0
- package/src/schemas/diagnostic-tools.test.ts +43 -0
- package/src/schemas/diagnostic-tools.ts +12 -14
- package/src/schemas/log-tools.ts +209 -0
- package/src/schemas/paged-tools.ts +1 -10
- package/src/schemas/primitives.ts +14 -0
- package/src/schemas/workflow-diagnostics.test.ts +277 -0
- package/src/schemas/workflow-diagnostics.ts +693 -0
- package/src/schemas/workflow-execution-events.test.ts +126 -0
- package/src/schemas/workflow-execution-events.ts +217 -0
- package/src/schemas/workflow-tools.test.ts +202 -0
- package/src/schemas/workflow-tools.ts +738 -0
- package/tsconfig.build.tsbuildinfo +1 -1
|
@@ -0,0 +1,862 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/** Smaller per-value allowance used by Agent Access before the common response ceiling. */
|
|
3
|
+
export declare const AGENT_ACCESS_WORKFLOW_DIAGNOSTIC_VALUE_MAX_BYTES: number;
|
|
4
|
+
/** Source is text, but it still needs enough room to be useful in a diagnostic response. */
|
|
5
|
+
export declare const AGENT_ACCESS_WORKFLOW_SOURCE_MAX_BYTES: number;
|
|
6
|
+
export declare const agentAccessWorkflowDiagnosticFieldSchema: z.ZodEnum<{
|
|
7
|
+
authored_config: "authored_config";
|
|
8
|
+
condition: "condition";
|
|
9
|
+
config: "config";
|
|
10
|
+
error: "error";
|
|
11
|
+
evaluation_trace: "evaluation_trace";
|
|
12
|
+
execution_evaluation_trace: "execution_evaluation_trace";
|
|
13
|
+
execution_outputs: "execution_outputs";
|
|
14
|
+
gate_result: "gate_result";
|
|
15
|
+
job_evaluation_trace: "job_evaluation_trace";
|
|
16
|
+
job_outputs: "job_outputs";
|
|
17
|
+
output: "output";
|
|
18
|
+
outputs: "outputs";
|
|
19
|
+
response: "response";
|
|
20
|
+
restart_feedback: "restart_feedback";
|
|
21
|
+
trigger_events: "trigger_events";
|
|
22
|
+
}>;
|
|
23
|
+
export type AgentAccessWorkflowDiagnosticFieldDto = z.infer<typeof agentAccessWorkflowDiagnosticFieldSchema>;
|
|
24
|
+
export declare const agentAccessOversizedFieldSchema: z.ZodObject<{
|
|
25
|
+
field: z.ZodEnum<{
|
|
26
|
+
authored_config: "authored_config";
|
|
27
|
+
condition: "condition";
|
|
28
|
+
config: "config";
|
|
29
|
+
error: "error";
|
|
30
|
+
evaluation_trace: "evaluation_trace";
|
|
31
|
+
execution_evaluation_trace: "execution_evaluation_trace";
|
|
32
|
+
execution_outputs: "execution_outputs";
|
|
33
|
+
gate_result: "gate_result";
|
|
34
|
+
job_evaluation_trace: "job_evaluation_trace";
|
|
35
|
+
job_outputs: "job_outputs";
|
|
36
|
+
output: "output";
|
|
37
|
+
outputs: "outputs";
|
|
38
|
+
response: "response";
|
|
39
|
+
restart_feedback: "restart_feedback";
|
|
40
|
+
trigger_events: "trigger_events";
|
|
41
|
+
}>;
|
|
42
|
+
stored_bytes: z.ZodNumber;
|
|
43
|
+
reason: z.ZodEnum<{
|
|
44
|
+
legacy_value_exceeds_inline_limit: "legacy_value_exceeds_inline_limit";
|
|
45
|
+
value_exceeds_inline_limit: "value_exceeds_inline_limit";
|
|
46
|
+
value_truncated_at_write_limit: "value_truncated_at_write_limit";
|
|
47
|
+
}>;
|
|
48
|
+
}, z.core.$strict>;
|
|
49
|
+
export type AgentAccessOversizedFieldDto = z.infer<typeof agentAccessOversizedFieldSchema>;
|
|
50
|
+
export declare const getWorkflowRunSourceInputSchema: z.ZodObject<{
|
|
51
|
+
run_id: z.ZodString;
|
|
52
|
+
attempt: z.ZodNumber;
|
|
53
|
+
}, z.core.$strict>;
|
|
54
|
+
export declare const getWorkflowExecutionContextInputSchema: z.ZodObject<{
|
|
55
|
+
job_id: z.ZodString;
|
|
56
|
+
execution_id: z.ZodString;
|
|
57
|
+
}, z.core.$strict>;
|
|
58
|
+
export declare const getStepAttemptInputSchema: z.ZodObject<{
|
|
59
|
+
step_id: z.ZodString;
|
|
60
|
+
attempt: z.ZodOptional<z.ZodNumber>;
|
|
61
|
+
}, z.core.$strict>;
|
|
62
|
+
export declare const listWorkflowRunJobExplanationsInputSchema: z.ZodObject<{
|
|
63
|
+
run_id: z.ZodString;
|
|
64
|
+
attempt: z.ZodNumber;
|
|
65
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
66
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
67
|
+
}, z.core.$strict>;
|
|
68
|
+
export type GetWorkflowRunSourceInputDto = z.output<typeof getWorkflowRunSourceInputSchema>;
|
|
69
|
+
export type GetWorkflowExecutionContextInputDto = z.output<typeof getWorkflowExecutionContextInputSchema>;
|
|
70
|
+
export type GetStepAttemptInputDto = z.output<typeof getStepAttemptInputSchema>;
|
|
71
|
+
export type ListWorkflowRunJobExplanationsInputDto = z.output<typeof listWorkflowRunJobExplanationsInputSchema>;
|
|
72
|
+
export declare const getWorkflowRunSourceResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
73
|
+
kind: z.ZodLiteral<"available">;
|
|
74
|
+
workflow_run_id: z.ZodString;
|
|
75
|
+
workflow_run_attempt: z.ZodNumber;
|
|
76
|
+
source_snapshot: z.ZodObject<{
|
|
77
|
+
content: z.ZodString;
|
|
78
|
+
format: z.ZodLiteral<"yaml">;
|
|
79
|
+
}, z.core.$strict>;
|
|
80
|
+
source_snapshot_truncated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
81
|
+
source_snapshot_total_bytes: z.ZodOptional<z.ZodNumber>;
|
|
82
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
83
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
84
|
+
workflow_run_id: z.ZodString;
|
|
85
|
+
workflow_run_attempt: z.ZodNumber;
|
|
86
|
+
reason: z.ZodEnum<{
|
|
87
|
+
legacy_snapshot_too_large: "legacy_snapshot_too_large";
|
|
88
|
+
pre_snapshot_run: "pre_snapshot_run";
|
|
89
|
+
temporary_run: "temporary_run";
|
|
90
|
+
}>;
|
|
91
|
+
}, z.core.$strict>], "kind">;
|
|
92
|
+
export type GetWorkflowRunSourceResultDto = z.infer<typeof getWorkflowRunSourceResultSchema>;
|
|
93
|
+
export declare const getWorkflowExecutionContextResultSchema: z.ZodObject<{
|
|
94
|
+
workflow_run_id: z.ZodString;
|
|
95
|
+
workflow_run_attempt: z.ZodNumber;
|
|
96
|
+
job_id: z.ZodString;
|
|
97
|
+
job_execution_id: z.ZodString;
|
|
98
|
+
job_runner: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
99
|
+
execution_runner: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
100
|
+
job_outputs: z.ZodNullable<z.ZodUnknown>;
|
|
101
|
+
execution_outputs: z.ZodNullable<z.ZodUnknown>;
|
|
102
|
+
trigger_events: z.ZodArray<z.ZodObject<{
|
|
103
|
+
source: z.ZodString;
|
|
104
|
+
event: z.ZodString;
|
|
105
|
+
delivery_id: z.ZodString;
|
|
106
|
+
received_at: z.ZodString;
|
|
107
|
+
project: z.ZodNullable<z.ZodObject<{
|
|
108
|
+
id: z.ZodString;
|
|
109
|
+
}, z.core.$strict>>;
|
|
110
|
+
repository: z.ZodNullable<z.ZodString>;
|
|
111
|
+
ref: z.ZodNullable<z.ZodString>;
|
|
112
|
+
commit: z.ZodNullable<z.ZodString>;
|
|
113
|
+
data: z.ZodUnknown;
|
|
114
|
+
}, z.core.$strict>>;
|
|
115
|
+
trigger_events_truncated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
116
|
+
trigger_events_total_count: z.ZodOptional<z.ZodNumber>;
|
|
117
|
+
job_evaluation_trace: z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
118
|
+
expression: z.ZodString;
|
|
119
|
+
roots: z.ZodArray<z.ZodString>;
|
|
120
|
+
fill_target: z.ZodString;
|
|
121
|
+
evaluated_at: z.ZodString;
|
|
122
|
+
field: z.ZodString;
|
|
123
|
+
value: z.ZodOptional<z.ZodString>;
|
|
124
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
125
|
+
expr_truncated: z.ZodOptional<z.ZodBoolean>;
|
|
126
|
+
reference: z.ZodOptional<z.ZodBoolean>;
|
|
127
|
+
degraded: z.ZodOptional<z.ZodBoolean>;
|
|
128
|
+
env_key: z.ZodOptional<z.ZodString>;
|
|
129
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
130
|
+
truncated: z.ZodLiteral<true>;
|
|
131
|
+
dropped: z.ZodNumber;
|
|
132
|
+
}, z.core.$strict>]>>>;
|
|
133
|
+
execution_evaluation_trace: z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
134
|
+
expression: z.ZodString;
|
|
135
|
+
roots: z.ZodArray<z.ZodString>;
|
|
136
|
+
fill_target: z.ZodString;
|
|
137
|
+
evaluated_at: z.ZodString;
|
|
138
|
+
field: z.ZodString;
|
|
139
|
+
value: z.ZodOptional<z.ZodString>;
|
|
140
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
141
|
+
expr_truncated: z.ZodOptional<z.ZodBoolean>;
|
|
142
|
+
reference: z.ZodOptional<z.ZodBoolean>;
|
|
143
|
+
degraded: z.ZodOptional<z.ZodBoolean>;
|
|
144
|
+
env_key: z.ZodOptional<z.ZodString>;
|
|
145
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
146
|
+
truncated: z.ZodLiteral<true>;
|
|
147
|
+
dropped: z.ZodNumber;
|
|
148
|
+
}, z.core.$strict>]>>>;
|
|
149
|
+
condition: z.ZodNullable<z.ZodString>;
|
|
150
|
+
condition_truncated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
151
|
+
condition_total_bytes: z.ZodOptional<z.ZodNumber>;
|
|
152
|
+
oversized_fields: z.ZodArray<z.ZodObject<{
|
|
153
|
+
field: z.ZodEnum<{
|
|
154
|
+
authored_config: "authored_config";
|
|
155
|
+
condition: "condition";
|
|
156
|
+
config: "config";
|
|
157
|
+
error: "error";
|
|
158
|
+
evaluation_trace: "evaluation_trace";
|
|
159
|
+
execution_evaluation_trace: "execution_evaluation_trace";
|
|
160
|
+
execution_outputs: "execution_outputs";
|
|
161
|
+
gate_result: "gate_result";
|
|
162
|
+
job_evaluation_trace: "job_evaluation_trace";
|
|
163
|
+
job_outputs: "job_outputs";
|
|
164
|
+
output: "output";
|
|
165
|
+
outputs: "outputs";
|
|
166
|
+
response: "response";
|
|
167
|
+
restart_feedback: "restart_feedback";
|
|
168
|
+
trigger_events: "trigger_events";
|
|
169
|
+
}>;
|
|
170
|
+
stored_bytes: z.ZodNumber;
|
|
171
|
+
reason: z.ZodEnum<{
|
|
172
|
+
legacy_value_exceeds_inline_limit: "legacy_value_exceeds_inline_limit";
|
|
173
|
+
value_exceeds_inline_limit: "value_exceeds_inline_limit";
|
|
174
|
+
value_truncated_at_write_limit: "value_truncated_at_write_limit";
|
|
175
|
+
}>;
|
|
176
|
+
}, z.core.$strict>>;
|
|
177
|
+
}, z.core.$strict>;
|
|
178
|
+
export type GetWorkflowExecutionContextResultDto = z.infer<typeof getWorkflowExecutionContextResultSchema>;
|
|
179
|
+
export declare const getStepAttemptResultSchema: z.ZodObject<{
|
|
180
|
+
workflow_run_id: z.ZodString;
|
|
181
|
+
workflow_run_attempt: z.ZodNumber;
|
|
182
|
+
job_id: z.ZodString;
|
|
183
|
+
job_execution_id: z.ZodString;
|
|
184
|
+
step_id: z.ZodString;
|
|
185
|
+
step_attempt_id: z.ZodString;
|
|
186
|
+
attempt: z.ZodNumber;
|
|
187
|
+
authored_config: z.ZodNullable<z.ZodUnknown>;
|
|
188
|
+
config: z.ZodNullable<z.ZodUnknown>;
|
|
189
|
+
session: z.ZodNullable<z.ZodObject<{
|
|
190
|
+
id: z.ZodString;
|
|
191
|
+
key: z.ZodString;
|
|
192
|
+
mode: z.ZodEnum<{
|
|
193
|
+
fork: "fork";
|
|
194
|
+
resume: "resume";
|
|
195
|
+
}>;
|
|
196
|
+
segment: z.ZodNumber;
|
|
197
|
+
}, z.core.$strict>>;
|
|
198
|
+
evaluation_trace: z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
199
|
+
expression: z.ZodString;
|
|
200
|
+
roots: z.ZodArray<z.ZodString>;
|
|
201
|
+
fill_target: z.ZodString;
|
|
202
|
+
evaluated_at: z.ZodString;
|
|
203
|
+
field: z.ZodString;
|
|
204
|
+
value: z.ZodOptional<z.ZodString>;
|
|
205
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
206
|
+
expr_truncated: z.ZodOptional<z.ZodBoolean>;
|
|
207
|
+
reference: z.ZodOptional<z.ZodBoolean>;
|
|
208
|
+
degraded: z.ZodOptional<z.ZodBoolean>;
|
|
209
|
+
env_key: z.ZodOptional<z.ZodString>;
|
|
210
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
211
|
+
truncated: z.ZodLiteral<true>;
|
|
212
|
+
dropped: z.ZodNumber;
|
|
213
|
+
}, z.core.$strict>]>>>;
|
|
214
|
+
output: z.ZodNullable<z.ZodUnknown>;
|
|
215
|
+
outputs: z.ZodNullable<z.ZodUnknown>;
|
|
216
|
+
response: z.ZodNullable<z.ZodString>;
|
|
217
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
218
|
+
message: z.ZodString;
|
|
219
|
+
code: z.ZodOptional<z.ZodString>;
|
|
220
|
+
managed_provider_id: z.ZodOptional<z.ZodString>;
|
|
221
|
+
exit_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
222
|
+
signal: z.ZodOptional<z.ZodString>;
|
|
223
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
224
|
+
agent_config_invalid: "agent_config_invalid";
|
|
225
|
+
agent_harness_unavailable: "agent_harness_unavailable";
|
|
226
|
+
agent_inference_credentials_unavailable: "agent_inference_credentials_unavailable";
|
|
227
|
+
agent_invocation_failed: "agent_invocation_failed";
|
|
228
|
+
agent_session_harness_mismatch: "agent_session_harness_mismatch";
|
|
229
|
+
agent_session_held: "agent_session_held";
|
|
230
|
+
agent_session_key_invalid: "agent_session_key_invalid";
|
|
231
|
+
agent_session_unavailable: "agent_session_unavailable";
|
|
232
|
+
checkout_auth_failed: "checkout_auth_failed";
|
|
233
|
+
checkout_destination_occupied: "checkout_destination_occupied";
|
|
234
|
+
checkout_failed: "checkout_failed";
|
|
235
|
+
checkout_path_invalid: "checkout_path_invalid";
|
|
236
|
+
checkout_unavailable: "checkout_unavailable";
|
|
237
|
+
config_unresolvable: "config_unresolvable";
|
|
238
|
+
diagnostic_too_large: "diagnostic_too_large";
|
|
239
|
+
execution_payload_too_large: "execution_payload_too_large";
|
|
240
|
+
git_unavailable: "git_unavailable";
|
|
241
|
+
invocation_interrupted: "invocation_interrupted";
|
|
242
|
+
output_invalid: "output_invalid";
|
|
243
|
+
setup_aborted: "setup_aborted";
|
|
244
|
+
step_result_too_large: "step_result_too_large";
|
|
245
|
+
tool_config_invalid: "tool_config_invalid";
|
|
246
|
+
tool_error: "tool_error";
|
|
247
|
+
workspace_prep_failed: "workspace_prep_failed";
|
|
248
|
+
}>>;
|
|
249
|
+
field: z.ZodOptional<z.ZodString>;
|
|
250
|
+
source: z.ZodOptional<z.ZodString>;
|
|
251
|
+
agent_config_issue: z.ZodOptional<z.ZodEnum<{
|
|
252
|
+
credentials_invalid: "credentials_invalid";
|
|
253
|
+
model_unavailable: "model_unavailable";
|
|
254
|
+
provider_not_configured: "provider_not_configured";
|
|
255
|
+
provider_unsupported: "provider_unsupported";
|
|
256
|
+
step_config_invalid: "step_config_invalid";
|
|
257
|
+
}>>;
|
|
258
|
+
category: z.ZodOptional<z.ZodEnum<{
|
|
259
|
+
setup: "setup";
|
|
260
|
+
user: "user";
|
|
261
|
+
}>>;
|
|
262
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
263
|
+
limit_bytes: z.ZodOptional<z.ZodNumber>;
|
|
264
|
+
measured_bytes: z.ZodOptional<z.ZodNumber>;
|
|
265
|
+
overshoot_bytes: z.ZodOptional<z.ZodNumber>;
|
|
266
|
+
}, z.core.$strict>>;
|
|
267
|
+
gate_result: z.ZodNullable<z.ZodObject<{
|
|
268
|
+
kind: z.ZodEnum<{
|
|
269
|
+
evaluation_error: "evaluation_error";
|
|
270
|
+
failed: "failed";
|
|
271
|
+
none: "none";
|
|
272
|
+
not_evaluated: "not_evaluated";
|
|
273
|
+
passed: "passed";
|
|
274
|
+
uncheckable: "uncheckable";
|
|
275
|
+
unknown: "unknown";
|
|
276
|
+
}>;
|
|
277
|
+
passed: z.ZodOptional<z.ZodBoolean>;
|
|
278
|
+
source: z.ZodOptional<z.ZodString>;
|
|
279
|
+
exit_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
280
|
+
uncheckable: z.ZodOptional<z.ZodBoolean>;
|
|
281
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
282
|
+
data: z.ZodOptional<z.ZodUnknown>;
|
|
283
|
+
}, z.core.$strict>>;
|
|
284
|
+
invocations: z.ZodArray<z.ZodObject<{
|
|
285
|
+
call_index: z.ZodNumber;
|
|
286
|
+
started_at: z.ZodString;
|
|
287
|
+
finished_at: z.ZodOptional<z.ZodString>;
|
|
288
|
+
outcome: z.ZodOptional<z.ZodString>;
|
|
289
|
+
error_code: z.ZodOptional<z.ZodString>;
|
|
290
|
+
duration_ms: z.ZodOptional<z.ZodNumber>;
|
|
291
|
+
next_due_at: z.ZodOptional<z.ZodString>;
|
|
292
|
+
}, z.core.$strict>>;
|
|
293
|
+
restart_feedback: z.ZodNullable<z.ZodString>;
|
|
294
|
+
restart_feedback_truncated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
295
|
+
restart_feedback_total_bytes: z.ZodOptional<z.ZodNumber>;
|
|
296
|
+
response_text_truncated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
297
|
+
response_text_total_bytes: z.ZodOptional<z.ZodNumber>;
|
|
298
|
+
oversized_fields: z.ZodArray<z.ZodObject<{
|
|
299
|
+
field: z.ZodEnum<{
|
|
300
|
+
authored_config: "authored_config";
|
|
301
|
+
condition: "condition";
|
|
302
|
+
config: "config";
|
|
303
|
+
error: "error";
|
|
304
|
+
evaluation_trace: "evaluation_trace";
|
|
305
|
+
execution_evaluation_trace: "execution_evaluation_trace";
|
|
306
|
+
execution_outputs: "execution_outputs";
|
|
307
|
+
gate_result: "gate_result";
|
|
308
|
+
job_evaluation_trace: "job_evaluation_trace";
|
|
309
|
+
job_outputs: "job_outputs";
|
|
310
|
+
output: "output";
|
|
311
|
+
outputs: "outputs";
|
|
312
|
+
response: "response";
|
|
313
|
+
restart_feedback: "restart_feedback";
|
|
314
|
+
trigger_events: "trigger_events";
|
|
315
|
+
}>;
|
|
316
|
+
stored_bytes: z.ZodNumber;
|
|
317
|
+
reason: z.ZodEnum<{
|
|
318
|
+
legacy_value_exceeds_inline_limit: "legacy_value_exceeds_inline_limit";
|
|
319
|
+
value_exceeds_inline_limit: "value_exceeds_inline_limit";
|
|
320
|
+
value_truncated_at_write_limit: "value_truncated_at_write_limit";
|
|
321
|
+
}>;
|
|
322
|
+
}, z.core.$strict>>;
|
|
323
|
+
}, z.core.$strict>;
|
|
324
|
+
export type GetStepAttemptResultDto = z.infer<typeof getStepAttemptResultSchema>;
|
|
325
|
+
export declare const listWorkflowRunJobExplanationsResultSchema: z.ZodObject<{
|
|
326
|
+
workflow_run_id: z.ZodString;
|
|
327
|
+
workflow_run_attempt: z.ZodNumber;
|
|
328
|
+
explanations: z.ZodArray<z.ZodObject<{
|
|
329
|
+
job_id: z.ZodString;
|
|
330
|
+
job_label: z.ZodString;
|
|
331
|
+
job_position: z.ZodNumber;
|
|
332
|
+
status: z.ZodEnum<{
|
|
333
|
+
failed: "failed";
|
|
334
|
+
skipped: "skipped";
|
|
335
|
+
}>;
|
|
336
|
+
status_reason: z.ZodNullable<z.ZodString>;
|
|
337
|
+
evaluation_trace: z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
338
|
+
expression: z.ZodString;
|
|
339
|
+
roots: z.ZodArray<z.ZodString>;
|
|
340
|
+
fill_target: z.ZodString;
|
|
341
|
+
evaluated_at: z.ZodString;
|
|
342
|
+
field: z.ZodString;
|
|
343
|
+
value: z.ZodOptional<z.ZodString>;
|
|
344
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
345
|
+
expr_truncated: z.ZodOptional<z.ZodBoolean>;
|
|
346
|
+
reference: z.ZodOptional<z.ZodBoolean>;
|
|
347
|
+
degraded: z.ZodOptional<z.ZodBoolean>;
|
|
348
|
+
env_key: z.ZodOptional<z.ZodString>;
|
|
349
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
350
|
+
truncated: z.ZodLiteral<true>;
|
|
351
|
+
dropped: z.ZodNumber;
|
|
352
|
+
}, z.core.$strict>]>>>;
|
|
353
|
+
}, z.core.$strict>>;
|
|
354
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
355
|
+
}, z.core.$strict>;
|
|
356
|
+
export type ListWorkflowRunJobExplanationsResultDto = z.infer<typeof listWorkflowRunJobExplanationsResultSchema>;
|
|
357
|
+
export declare const getWorkflowRunSourceInputJsonSchema: {
|
|
358
|
+
readonly type: 'object';
|
|
359
|
+
readonly properties: {
|
|
360
|
+
readonly run_id: {
|
|
361
|
+
readonly type: 'string';
|
|
362
|
+
readonly format: 'uuid';
|
|
363
|
+
};
|
|
364
|
+
readonly attempt: {
|
|
365
|
+
readonly type: 'integer';
|
|
366
|
+
readonly minimum: 1;
|
|
367
|
+
readonly maximum: 2147483647;
|
|
368
|
+
};
|
|
369
|
+
};
|
|
370
|
+
readonly required: readonly ["run_id", "attempt"];
|
|
371
|
+
readonly additionalProperties: false;
|
|
372
|
+
};
|
|
373
|
+
export declare const getWorkflowExecutionContextInputJsonSchema: {
|
|
374
|
+
readonly type: 'object';
|
|
375
|
+
readonly properties: {
|
|
376
|
+
readonly job_id: {
|
|
377
|
+
readonly type: 'string';
|
|
378
|
+
readonly format: 'uuid';
|
|
379
|
+
};
|
|
380
|
+
readonly execution_id: {
|
|
381
|
+
readonly type: 'string';
|
|
382
|
+
readonly format: 'uuid';
|
|
383
|
+
};
|
|
384
|
+
};
|
|
385
|
+
readonly required: readonly ["job_id", "execution_id"];
|
|
386
|
+
readonly additionalProperties: false;
|
|
387
|
+
};
|
|
388
|
+
export declare const getStepAttemptInputJsonSchema: {
|
|
389
|
+
readonly type: 'object';
|
|
390
|
+
readonly properties: {
|
|
391
|
+
readonly step_id: {
|
|
392
|
+
readonly type: 'string';
|
|
393
|
+
readonly format: 'uuid';
|
|
394
|
+
};
|
|
395
|
+
readonly attempt: {
|
|
396
|
+
readonly type: 'integer';
|
|
397
|
+
readonly minimum: 1;
|
|
398
|
+
readonly maximum: 2147483647;
|
|
399
|
+
};
|
|
400
|
+
};
|
|
401
|
+
readonly required: readonly ["step_id"];
|
|
402
|
+
readonly additionalProperties: false;
|
|
403
|
+
};
|
|
404
|
+
export declare const listWorkflowRunJobExplanationsInputJsonSchema: {
|
|
405
|
+
readonly type: 'object';
|
|
406
|
+
readonly properties: {
|
|
407
|
+
readonly run_id: {
|
|
408
|
+
readonly type: 'string';
|
|
409
|
+
readonly format: 'uuid';
|
|
410
|
+
};
|
|
411
|
+
readonly attempt: {
|
|
412
|
+
readonly type: 'integer';
|
|
413
|
+
readonly minimum: 1;
|
|
414
|
+
readonly maximum: 2147483647;
|
|
415
|
+
};
|
|
416
|
+
readonly limit: {
|
|
417
|
+
readonly type: 'integer';
|
|
418
|
+
readonly minimum: 1;
|
|
419
|
+
readonly maximum: 100;
|
|
420
|
+
readonly default: 100;
|
|
421
|
+
};
|
|
422
|
+
readonly cursor: {
|
|
423
|
+
readonly type: 'string';
|
|
424
|
+
readonly minLength: 1;
|
|
425
|
+
};
|
|
426
|
+
};
|
|
427
|
+
readonly required: readonly ["run_id", "attempt"];
|
|
428
|
+
readonly additionalProperties: false;
|
|
429
|
+
};
|
|
430
|
+
export declare const getWorkflowRunSourceResultJsonSchema: {
|
|
431
|
+
readonly type: 'object';
|
|
432
|
+
readonly properties: {
|
|
433
|
+
readonly kind: {
|
|
434
|
+
readonly type: 'string';
|
|
435
|
+
readonly enum: readonly ["available", "unavailable"];
|
|
436
|
+
};
|
|
437
|
+
readonly workflow_run_id: {
|
|
438
|
+
readonly type: 'string';
|
|
439
|
+
readonly format: 'uuid';
|
|
440
|
+
};
|
|
441
|
+
readonly workflow_run_attempt: {
|
|
442
|
+
readonly type: 'integer';
|
|
443
|
+
readonly minimum: 1;
|
|
444
|
+
readonly maximum: 2147483647;
|
|
445
|
+
};
|
|
446
|
+
readonly source_snapshot: {
|
|
447
|
+
readonly type: 'object';
|
|
448
|
+
readonly properties: {
|
|
449
|
+
readonly content: {
|
|
450
|
+
readonly type: 'string';
|
|
451
|
+
readonly maxLength: number;
|
|
452
|
+
};
|
|
453
|
+
readonly format: {
|
|
454
|
+
readonly const: 'yaml';
|
|
455
|
+
};
|
|
456
|
+
};
|
|
457
|
+
readonly required: readonly ['content', 'format'];
|
|
458
|
+
readonly additionalProperties: false;
|
|
459
|
+
};
|
|
460
|
+
readonly source_snapshot_truncated: {
|
|
461
|
+
readonly const: true;
|
|
462
|
+
};
|
|
463
|
+
readonly source_snapshot_total_bytes: {
|
|
464
|
+
readonly type: 'integer';
|
|
465
|
+
readonly minimum: 0;
|
|
466
|
+
};
|
|
467
|
+
readonly reason: {
|
|
468
|
+
readonly type: 'string';
|
|
469
|
+
readonly enum: readonly ["temporary_run", "pre_snapshot_run", "legacy_snapshot_too_large"];
|
|
470
|
+
};
|
|
471
|
+
};
|
|
472
|
+
readonly required: readonly ["kind", "workflow_run_id", "workflow_run_attempt"];
|
|
473
|
+
readonly additionalProperties: false;
|
|
474
|
+
readonly oneOf: readonly [{
|
|
475
|
+
readonly properties: {
|
|
476
|
+
readonly kind: {
|
|
477
|
+
readonly const: 'available';
|
|
478
|
+
};
|
|
479
|
+
};
|
|
480
|
+
readonly required: readonly ["source_snapshot"];
|
|
481
|
+
readonly not: {
|
|
482
|
+
readonly required: readonly ["reason"];
|
|
483
|
+
};
|
|
484
|
+
}, {
|
|
485
|
+
readonly properties: {
|
|
486
|
+
readonly kind: {
|
|
487
|
+
readonly const: 'unavailable';
|
|
488
|
+
};
|
|
489
|
+
};
|
|
490
|
+
readonly required: readonly ["reason"];
|
|
491
|
+
readonly not: {
|
|
492
|
+
readonly required: readonly ["source_snapshot"];
|
|
493
|
+
};
|
|
494
|
+
}];
|
|
495
|
+
};
|
|
496
|
+
export declare const getWorkflowExecutionContextResultJsonSchema: {
|
|
497
|
+
readonly type: 'object';
|
|
498
|
+
readonly properties: {
|
|
499
|
+
readonly workflow_run_id: {
|
|
500
|
+
readonly type: 'string';
|
|
501
|
+
readonly format: 'uuid';
|
|
502
|
+
};
|
|
503
|
+
readonly workflow_run_attempt: {
|
|
504
|
+
readonly type: 'integer';
|
|
505
|
+
readonly minimum: 1;
|
|
506
|
+
readonly maximum: 2147483647;
|
|
507
|
+
};
|
|
508
|
+
readonly job_id: {
|
|
509
|
+
readonly type: 'string';
|
|
510
|
+
readonly format: 'uuid';
|
|
511
|
+
};
|
|
512
|
+
readonly job_execution_id: {
|
|
513
|
+
readonly type: 'string';
|
|
514
|
+
readonly format: 'uuid';
|
|
515
|
+
};
|
|
516
|
+
readonly job_runner: {
|
|
517
|
+
readonly anyOf: readonly [Record<string, unknown>, {
|
|
518
|
+
readonly type: 'null';
|
|
519
|
+
}];
|
|
520
|
+
};
|
|
521
|
+
readonly execution_runner: {
|
|
522
|
+
readonly anyOf: readonly [Record<string, unknown>, {
|
|
523
|
+
readonly type: 'null';
|
|
524
|
+
}];
|
|
525
|
+
};
|
|
526
|
+
readonly job_outputs: {
|
|
527
|
+
readonly anyOf: readonly [Record<string, unknown>, {
|
|
528
|
+
readonly type: 'null';
|
|
529
|
+
}];
|
|
530
|
+
};
|
|
531
|
+
readonly execution_outputs: {
|
|
532
|
+
readonly anyOf: readonly [Record<string, unknown>, {
|
|
533
|
+
readonly type: 'null';
|
|
534
|
+
}];
|
|
535
|
+
};
|
|
536
|
+
readonly trigger_events: {
|
|
537
|
+
readonly type: 'array';
|
|
538
|
+
readonly maxItems: 100;
|
|
539
|
+
readonly items: {
|
|
540
|
+
readonly type: 'object';
|
|
541
|
+
readonly properties: {
|
|
542
|
+
readonly source: {
|
|
543
|
+
readonly type: 'string';
|
|
544
|
+
readonly maxLength: 512;
|
|
545
|
+
};
|
|
546
|
+
readonly event: {
|
|
547
|
+
readonly type: 'string';
|
|
548
|
+
readonly maxLength: 512;
|
|
549
|
+
};
|
|
550
|
+
readonly delivery_id: {
|
|
551
|
+
readonly type: 'string';
|
|
552
|
+
readonly maxLength: 512;
|
|
553
|
+
};
|
|
554
|
+
readonly received_at: {
|
|
555
|
+
readonly type: 'string';
|
|
556
|
+
readonly format: 'date-time';
|
|
557
|
+
};
|
|
558
|
+
readonly project: {
|
|
559
|
+
readonly anyOf: readonly [Record<string, unknown>, {
|
|
560
|
+
readonly type: 'null';
|
|
561
|
+
}];
|
|
562
|
+
};
|
|
563
|
+
readonly repository: {
|
|
564
|
+
readonly anyOf: readonly [Record<string, unknown>, {
|
|
565
|
+
readonly type: 'null';
|
|
566
|
+
}];
|
|
567
|
+
};
|
|
568
|
+
readonly ref: {
|
|
569
|
+
readonly anyOf: readonly [Record<string, unknown>, {
|
|
570
|
+
readonly type: 'null';
|
|
571
|
+
}];
|
|
572
|
+
};
|
|
573
|
+
readonly commit: {
|
|
574
|
+
readonly anyOf: readonly [Record<string, unknown>, {
|
|
575
|
+
readonly type: 'null';
|
|
576
|
+
}];
|
|
577
|
+
};
|
|
578
|
+
readonly data: {};
|
|
579
|
+
};
|
|
580
|
+
readonly required: readonly ['source', 'event', 'delivery_id', 'received_at', 'project', 'repository', 'ref', 'commit', 'data'];
|
|
581
|
+
readonly additionalProperties: false;
|
|
582
|
+
};
|
|
583
|
+
};
|
|
584
|
+
readonly trigger_events_truncated: {
|
|
585
|
+
readonly const: true;
|
|
586
|
+
};
|
|
587
|
+
readonly trigger_events_total_count: {
|
|
588
|
+
readonly type: 'integer';
|
|
589
|
+
readonly minimum: 0;
|
|
590
|
+
};
|
|
591
|
+
readonly job_evaluation_trace: {
|
|
592
|
+
readonly anyOf: readonly [Record<string, unknown>, {
|
|
593
|
+
readonly type: 'null';
|
|
594
|
+
}];
|
|
595
|
+
};
|
|
596
|
+
readonly execution_evaluation_trace: {
|
|
597
|
+
readonly anyOf: readonly [Record<string, unknown>, {
|
|
598
|
+
readonly type: 'null';
|
|
599
|
+
}];
|
|
600
|
+
};
|
|
601
|
+
readonly condition: {
|
|
602
|
+
readonly anyOf: readonly [Record<string, unknown>, {
|
|
603
|
+
readonly type: 'null';
|
|
604
|
+
}];
|
|
605
|
+
};
|
|
606
|
+
readonly condition_truncated: {
|
|
607
|
+
readonly const: true;
|
|
608
|
+
};
|
|
609
|
+
readonly condition_total_bytes: {
|
|
610
|
+
readonly type: 'integer';
|
|
611
|
+
readonly minimum: 0;
|
|
612
|
+
};
|
|
613
|
+
readonly oversized_fields: {
|
|
614
|
+
readonly type: 'array';
|
|
615
|
+
readonly maxItems: 100;
|
|
616
|
+
readonly items: {
|
|
617
|
+
readonly type: 'object';
|
|
618
|
+
readonly properties: {
|
|
619
|
+
readonly field: {
|
|
620
|
+
readonly type: 'string';
|
|
621
|
+
readonly enum: readonly ["authored_config", "config", "evaluation_trace", "output", "outputs", "response", "error", "gate_result", "restart_feedback", "job_outputs", "execution_outputs", "job_evaluation_trace", "execution_evaluation_trace", "condition", "trigger_events"];
|
|
622
|
+
};
|
|
623
|
+
readonly stored_bytes: {
|
|
624
|
+
readonly type: 'integer';
|
|
625
|
+
readonly minimum: 0;
|
|
626
|
+
};
|
|
627
|
+
readonly reason: {
|
|
628
|
+
readonly type: 'string';
|
|
629
|
+
readonly enum: ("legacy_value_exceeds_inline_limit" | "value_exceeds_inline_limit" | "value_truncated_at_write_limit")[];
|
|
630
|
+
};
|
|
631
|
+
};
|
|
632
|
+
readonly required: readonly ['field', 'stored_bytes', 'reason'];
|
|
633
|
+
readonly additionalProperties: false;
|
|
634
|
+
};
|
|
635
|
+
};
|
|
636
|
+
};
|
|
637
|
+
readonly required: readonly ["workflow_run_id", "workflow_run_attempt", "job_id", "job_execution_id", "job_runner", "execution_runner", "job_outputs", "execution_outputs", "trigger_events", "job_evaluation_trace", "execution_evaluation_trace", "condition", "oversized_fields"];
|
|
638
|
+
readonly additionalProperties: false;
|
|
639
|
+
};
|
|
640
|
+
export declare const getStepAttemptResultJsonSchema: {
|
|
641
|
+
readonly type: 'object';
|
|
642
|
+
readonly properties: {
|
|
643
|
+
readonly workflow_run_id: {
|
|
644
|
+
readonly type: 'string';
|
|
645
|
+
readonly format: 'uuid';
|
|
646
|
+
};
|
|
647
|
+
readonly workflow_run_attempt: {
|
|
648
|
+
readonly type: 'integer';
|
|
649
|
+
readonly minimum: 1;
|
|
650
|
+
readonly maximum: 2147483647;
|
|
651
|
+
};
|
|
652
|
+
readonly job_id: {
|
|
653
|
+
readonly type: 'string';
|
|
654
|
+
readonly format: 'uuid';
|
|
655
|
+
};
|
|
656
|
+
readonly job_execution_id: {
|
|
657
|
+
readonly type: 'string';
|
|
658
|
+
readonly format: 'uuid';
|
|
659
|
+
};
|
|
660
|
+
readonly step_id: {
|
|
661
|
+
readonly type: 'string';
|
|
662
|
+
readonly format: 'uuid';
|
|
663
|
+
};
|
|
664
|
+
readonly step_attempt_id: {
|
|
665
|
+
readonly type: 'string';
|
|
666
|
+
readonly format: 'uuid';
|
|
667
|
+
};
|
|
668
|
+
readonly attempt: {
|
|
669
|
+
readonly type: 'integer';
|
|
670
|
+
readonly minimum: 1;
|
|
671
|
+
readonly maximum: 2147483647;
|
|
672
|
+
};
|
|
673
|
+
readonly authored_config: {
|
|
674
|
+
readonly anyOf: readonly [Record<string, unknown>, {
|
|
675
|
+
readonly type: 'null';
|
|
676
|
+
}];
|
|
677
|
+
};
|
|
678
|
+
readonly config: {
|
|
679
|
+
readonly anyOf: readonly [Record<string, unknown>, {
|
|
680
|
+
readonly type: 'null';
|
|
681
|
+
}];
|
|
682
|
+
};
|
|
683
|
+
readonly session: {
|
|
684
|
+
readonly anyOf: readonly [Record<string, unknown>, {
|
|
685
|
+
readonly type: 'null';
|
|
686
|
+
}];
|
|
687
|
+
};
|
|
688
|
+
readonly evaluation_trace: {
|
|
689
|
+
readonly anyOf: readonly [Record<string, unknown>, {
|
|
690
|
+
readonly type: 'null';
|
|
691
|
+
}];
|
|
692
|
+
};
|
|
693
|
+
readonly output: {
|
|
694
|
+
readonly anyOf: readonly [Record<string, unknown>, {
|
|
695
|
+
readonly type: 'null';
|
|
696
|
+
}];
|
|
697
|
+
};
|
|
698
|
+
readonly outputs: {
|
|
699
|
+
readonly anyOf: readonly [Record<string, unknown>, {
|
|
700
|
+
readonly type: 'null';
|
|
701
|
+
}];
|
|
702
|
+
};
|
|
703
|
+
readonly response: {
|
|
704
|
+
readonly anyOf: readonly [Record<string, unknown>, {
|
|
705
|
+
readonly type: 'null';
|
|
706
|
+
}];
|
|
707
|
+
};
|
|
708
|
+
readonly error: {
|
|
709
|
+
readonly anyOf: readonly [Record<string, unknown>, {
|
|
710
|
+
readonly type: 'null';
|
|
711
|
+
}];
|
|
712
|
+
};
|
|
713
|
+
readonly gate_result: {
|
|
714
|
+
readonly anyOf: readonly [Record<string, unknown>, {
|
|
715
|
+
readonly type: 'null';
|
|
716
|
+
}];
|
|
717
|
+
};
|
|
718
|
+
readonly invocations: {
|
|
719
|
+
readonly type: 'array';
|
|
720
|
+
readonly maxItems: 10;
|
|
721
|
+
readonly items: {
|
|
722
|
+
readonly type: 'object';
|
|
723
|
+
readonly properties: {
|
|
724
|
+
readonly call_index: {
|
|
725
|
+
readonly type: 'integer';
|
|
726
|
+
readonly minimum: 0;
|
|
727
|
+
};
|
|
728
|
+
readonly started_at: {
|
|
729
|
+
readonly type: 'string';
|
|
730
|
+
readonly maxLength: 512;
|
|
731
|
+
};
|
|
732
|
+
readonly finished_at: {
|
|
733
|
+
readonly type: 'string';
|
|
734
|
+
readonly maxLength: 512;
|
|
735
|
+
};
|
|
736
|
+
readonly outcome: {
|
|
737
|
+
readonly type: 'string';
|
|
738
|
+
readonly maxLength: 512;
|
|
739
|
+
};
|
|
740
|
+
readonly error_code: {
|
|
741
|
+
readonly type: 'string';
|
|
742
|
+
readonly maxLength: 512;
|
|
743
|
+
};
|
|
744
|
+
readonly duration_ms: {
|
|
745
|
+
readonly type: 'integer';
|
|
746
|
+
readonly minimum: 0;
|
|
747
|
+
};
|
|
748
|
+
readonly next_due_at: {
|
|
749
|
+
readonly type: 'string';
|
|
750
|
+
readonly maxLength: 512;
|
|
751
|
+
};
|
|
752
|
+
};
|
|
753
|
+
readonly required: readonly ['call_index', 'started_at'];
|
|
754
|
+
readonly additionalProperties: false;
|
|
755
|
+
};
|
|
756
|
+
};
|
|
757
|
+
readonly restart_feedback: {
|
|
758
|
+
readonly anyOf: readonly [Record<string, unknown>, {
|
|
759
|
+
readonly type: 'null';
|
|
760
|
+
}];
|
|
761
|
+
};
|
|
762
|
+
readonly restart_feedback_truncated: {
|
|
763
|
+
readonly const: true;
|
|
764
|
+
};
|
|
765
|
+
readonly restart_feedback_total_bytes: {
|
|
766
|
+
readonly type: 'integer';
|
|
767
|
+
readonly minimum: 0;
|
|
768
|
+
};
|
|
769
|
+
readonly response_text_truncated: {
|
|
770
|
+
readonly const: true;
|
|
771
|
+
};
|
|
772
|
+
readonly response_text_total_bytes: {
|
|
773
|
+
readonly type: 'integer';
|
|
774
|
+
readonly minimum: 0;
|
|
775
|
+
};
|
|
776
|
+
readonly oversized_fields: {
|
|
777
|
+
readonly type: 'array';
|
|
778
|
+
readonly maxItems: 100;
|
|
779
|
+
readonly items: {
|
|
780
|
+
readonly type: 'object';
|
|
781
|
+
readonly properties: {
|
|
782
|
+
readonly field: {
|
|
783
|
+
readonly type: 'string';
|
|
784
|
+
readonly enum: readonly ["authored_config", "config", "evaluation_trace", "output", "outputs", "response", "error", "gate_result", "restart_feedback", "job_outputs", "execution_outputs", "job_evaluation_trace", "execution_evaluation_trace", "condition", "trigger_events"];
|
|
785
|
+
};
|
|
786
|
+
readonly stored_bytes: {
|
|
787
|
+
readonly type: 'integer';
|
|
788
|
+
readonly minimum: 0;
|
|
789
|
+
};
|
|
790
|
+
readonly reason: {
|
|
791
|
+
readonly type: 'string';
|
|
792
|
+
readonly enum: ("legacy_value_exceeds_inline_limit" | "value_exceeds_inline_limit" | "value_truncated_at_write_limit")[];
|
|
793
|
+
};
|
|
794
|
+
};
|
|
795
|
+
readonly required: readonly ['field', 'stored_bytes', 'reason'];
|
|
796
|
+
readonly additionalProperties: false;
|
|
797
|
+
};
|
|
798
|
+
};
|
|
799
|
+
};
|
|
800
|
+
readonly required: readonly ["workflow_run_id", "workflow_run_attempt", "job_id", "job_execution_id", "step_id", "step_attempt_id", "attempt", "authored_config", "config", "session", "evaluation_trace", "output", "outputs", "response", "error", "gate_result", "invocations", "restart_feedback", "oversized_fields"];
|
|
801
|
+
readonly additionalProperties: false;
|
|
802
|
+
};
|
|
803
|
+
export declare const listWorkflowRunJobExplanationsResultJsonSchema: {
|
|
804
|
+
readonly type: 'object';
|
|
805
|
+
readonly properties: {
|
|
806
|
+
readonly workflow_run_id: {
|
|
807
|
+
readonly type: 'string';
|
|
808
|
+
readonly format: 'uuid';
|
|
809
|
+
};
|
|
810
|
+
readonly workflow_run_attempt: {
|
|
811
|
+
readonly type: 'integer';
|
|
812
|
+
readonly minimum: 1;
|
|
813
|
+
readonly maximum: 2147483647;
|
|
814
|
+
};
|
|
815
|
+
readonly explanations: {
|
|
816
|
+
readonly type: 'array';
|
|
817
|
+
readonly maxItems: 100;
|
|
818
|
+
readonly items: {
|
|
819
|
+
readonly type: 'object';
|
|
820
|
+
readonly properties: {
|
|
821
|
+
readonly job_id: {
|
|
822
|
+
readonly type: 'string';
|
|
823
|
+
readonly format: 'uuid';
|
|
824
|
+
};
|
|
825
|
+
readonly job_label: {
|
|
826
|
+
readonly type: 'string';
|
|
827
|
+
readonly maxLength: 512;
|
|
828
|
+
};
|
|
829
|
+
readonly job_position: {
|
|
830
|
+
readonly type: 'integer';
|
|
831
|
+
readonly minimum: 0;
|
|
832
|
+
readonly maximum: 2147483647;
|
|
833
|
+
};
|
|
834
|
+
readonly status: {
|
|
835
|
+
readonly type: 'string';
|
|
836
|
+
readonly enum: readonly ["failed", "skipped"];
|
|
837
|
+
};
|
|
838
|
+
readonly status_reason: {
|
|
839
|
+
readonly anyOf: readonly [Record<string, unknown>, {
|
|
840
|
+
readonly type: 'null';
|
|
841
|
+
}];
|
|
842
|
+
};
|
|
843
|
+
readonly evaluation_trace: {
|
|
844
|
+
readonly anyOf: readonly [Record<string, unknown>, {
|
|
845
|
+
readonly type: 'null';
|
|
846
|
+
}];
|
|
847
|
+
};
|
|
848
|
+
};
|
|
849
|
+
readonly required: readonly ['job_id', 'job_label', 'job_position', 'status', 'status_reason', 'evaluation_trace'];
|
|
850
|
+
readonly additionalProperties: false;
|
|
851
|
+
};
|
|
852
|
+
};
|
|
853
|
+
readonly next_cursor: {
|
|
854
|
+
readonly anyOf: readonly [Record<string, unknown>, {
|
|
855
|
+
readonly type: 'null';
|
|
856
|
+
}];
|
|
857
|
+
};
|
|
858
|
+
};
|
|
859
|
+
readonly required: readonly ["workflow_run_id", "workflow_run_attempt", "explanations", "next_cursor"];
|
|
860
|
+
readonly additionalProperties: false;
|
|
861
|
+
};
|
|
862
|
+
//# sourceMappingURL=workflow-diagnostics.d.ts.map
|