@kici-dev/engine 0.1.27 → 0.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/dist/approval/types.d.ts +8 -1
- package/dist/approval/types.js +8 -1
- package/dist/artifacts/name.d.ts +60 -0
- package/dist/artifacts/name.js +71 -0
- package/dist/audit/access-log-policy.d.ts +1 -1
- package/dist/audit/access-log-policy.js +8 -0
- package/dist/audit/activity.d.ts +12 -12
- package/dist/audit/retention-policy.js +16 -0
- package/dist/billing/plan-type.d.ts +53 -0
- package/dist/billing/plan-type.js +70 -0
- package/dist/bundler/rolldown-config.d.ts +3 -3
- package/dist/check-mode.d.ts +1 -1
- package/dist/context/concurrency-strategy.d.ts +34 -0
- package/dist/context/concurrency-strategy.js +35 -0
- package/dist/context/held-run-job-id.d.ts +45 -0
- package/dist/context/held-run-job-id.js +56 -0
- package/dist/context/held-run-status.d.ts +33 -0
- package/dist/context/held-run-status.js +37 -0
- package/dist/context/hold-expiry.d.ts +20 -0
- package/dist/context/hold-expiry.js +25 -0
- package/dist/context/hold-reason.d.ts +33 -0
- package/dist/context/hold-reason.js +23 -0
- package/dist/context/hold-type.d.ts +40 -0
- package/dist/context/hold-type.js +61 -0
- package/dist/context/index.d.ts +9 -1
- package/dist/context/index.js +9 -2
- package/dist/context/multi-context.d.ts +3 -3
- package/dist/context/scope-name.d.ts +29 -0
- package/dist/context/scope-name.js +49 -0
- package/dist/context/scope-resolver.d.ts +33 -0
- package/dist/context/scope-resolver.js +45 -15
- package/dist/context/types.d.ts +8 -5
- package/dist/dev-ops/operations.d.ts +8 -0
- package/dist/dev-ops/operations.js +36 -19
- package/dist/diagnostics/infra-alert.d.ts +71 -0
- package/dist/diagnostics/infra-alert.js +60 -0
- package/dist/env/environment-allowlist.d.ts +4 -4
- package/dist/fanout/materialize.d.ts +16 -0
- package/dist/fanout/materialize.js +32 -3
- package/dist/index.d.ts +15 -6
- package/dist/index.js +34 -19
- package/dist/inputs/descriptor.d.ts +9 -9
- package/dist/inventory.d.ts +4 -4
- package/dist/labels.d.ts +82 -2
- package/dist/labels.js +119 -1
- package/dist/matrix/expand.d.ts +49 -2
- package/dist/matrix/expand.js +102 -13
- package/dist/matrix/format.d.ts +6 -1
- package/dist/matrix/format.js +6 -1
- package/dist/mcp/held-run-resolve.d.ts +7 -10
- package/dist/mcp/held-run-resolve.js +33 -7
- package/dist/metrics/catalog-policy.js +4 -4
- package/dist/metrics/metric-catalog.generated.d.ts +959 -739
- package/dist/metrics/metric-catalog.generated.js +284 -20
- package/dist/metrics/metric-kind-compat.d.ts +26 -0
- package/dist/metrics/metric-kind-compat.js +33 -0
- package/dist/protocol/analytics-events.d.ts +6 -6
- package/dist/protocol/dashboard-api-errors.d.ts +1 -0
- package/dist/protocol/dashboard-api-errors.js +5 -1
- package/dist/protocol/dashboard-write-operations.d.ts +143 -86
- package/dist/protocol/dashboard-write-operations.js +91 -17
- package/dist/protocol/messages/access-log.d.ts +437 -392
- package/dist/protocol/messages/access-log.js +11 -2
- package/dist/protocol/messages/actor.d.ts +2 -2
- package/dist/protocol/messages/agent-dev-ops.d.ts +4 -2
- package/dist/protocol/messages/agent-dev-ops.js +2 -5
- package/dist/protocol/messages/agent-run-result.d.ts +72 -62
- package/dist/protocol/messages/auth.d.ts +35 -23
- package/dist/protocol/messages/browser.d.ts +81 -5
- package/dist/protocol/messages/browser.js +53 -2
- package/dist/protocol/messages/capabilities.d.ts +106 -31
- package/dist/protocol/messages/capabilities.js +94 -10
- package/dist/protocol/messages/common.d.ts +45 -2
- package/dist/protocol/messages/common.js +64 -3
- package/dist/protocol/messages/dashboard-sealed-write.d.ts +52 -0
- package/dist/protocol/messages/dashboard-sealed-write.js +57 -0
- package/dist/protocol/messages/dashboard.d.ts +1026 -498
- package/dist/protocol/messages/dashboard.js +208 -31
- package/dist/protocol/messages/deployment-identity.d.ts +37 -10
- package/dist/protocol/messages/deployment-identity.js +30 -3
- package/dist/protocol/messages/event-log.d.ts +5 -5
- package/dist/protocol/messages/execution-status.d.ts +189 -53
- package/dist/protocol/messages/execution-status.js +108 -40
- package/dist/protocol/messages/heartbeat-health.d.ts +83 -0
- package/dist/protocol/messages/heartbeat-health.js +87 -0
- package/dist/protocol/messages/log-stream.d.ts +18 -0
- package/dist/protocol/messages/log-stream.js +19 -0
- package/dist/protocol/messages/oidc-mint.d.ts +7 -0
- package/dist/protocol/messages/oidc-mint.js +7 -0
- package/dist/protocol/messages/orchestrator-agent.d.ts +264 -67
- package/dist/protocol/messages/orchestrator-agent.js +170 -5
- package/dist/protocol/messages/pat-kind.d.ts +1 -1
- package/dist/protocol/messages/peer.d.ts +122 -58
- package/dist/protocol/messages/peer.js +37 -2
- package/dist/protocol/messages/platform-orchestrator.d.ts +561 -217
- package/dist/protocol/messages/platform-orchestrator.js +131 -21
- package/dist/protocol/messages/run-events.d.ts +5 -5
- package/dist/protocol/messages/scaler-event.d.ts +3 -3
- package/dist/protocol/messages/source-registration.d.ts +56 -13
- package/dist/protocol/messages/source-registration.js +49 -6
- package/dist/protocol/source-origin.d.ts +1 -1
- package/dist/provenance/attestation-origin.d.ts +1 -1
- package/dist/provenance/schema.d.ts +11 -11
- package/dist/provenance/verify.js +2 -1
- package/dist/provider/changed-files-fetcher.d.ts +21 -2
- package/dist/provider/check-run-conclusion.d.ts +2 -2
- package/dist/provider/check-status-poster.d.ts +23 -0
- package/dist/provider/index.d.ts +2 -2
- package/dist/registration/registerable-trigger-type.d.ts +14 -13
- package/dist/registration/registerable-trigger-type.js +1 -0
- package/dist/sandbox/capabilities.d.ts +6 -0
- package/dist/sandbox/capabilities.js +57 -0
- package/dist/scaler/scaler-backend-type.d.ts +1 -1
- package/dist/status/presentation.d.ts +89 -0
- package/dist/status/presentation.js +163 -0
- package/dist/trigger/compiled-matchers.d.ts +13 -0
- package/dist/trigger/compiled-matchers.js +44 -0
- package/dist/trigger/event-buckets.d.ts +44 -0
- package/dist/trigger/event-buckets.js +93 -0
- package/dist/trigger/matcher.d.ts +7 -3
- package/dist/trigger/matcher.js +53 -15
- package/dist/trigger/schedule-key.d.ts +14 -0
- package/dist/trigger/schedule-key.js +21 -0
- package/dist/trigger/trigger-event-type.d.ts +1 -1
- package/dist/trigger/trigger-event-type.js +2 -0
- package/dist/trigger/types.d.ts +173 -43
- package/dist/trigger/types.js +82 -25
- package/dist/webhook/event-types.d.ts +56 -0
- package/dist/webhook/event-types.js +59 -0
- package/dist/ws/ws-like.d.ts +13 -0
- package/package.json +12 -4
- package/sbom.spdx.json +10 -10
- package/dist/environment/host-match.d.ts +0 -25
- package/dist/environment/index.d.ts +0 -6
- package/dist/environment/multi-env.d.ts +0 -30
- package/dist/environment/scope-resolver.d.ts +0 -46
- package/dist/environment/scope-template.d.ts +0 -18
- package/dist/environment/types.d.ts +0 -119
- package/dist/package-manager.d.ts +0 -20
- package/dist/protocol/messages/observe.d.ts +0 -76
- package/dist/protocol/messages/saas-orchestrator.d.ts +0 -2179
- package/dist/protocol/messages/test-run.d.ts +0 -59
- package/dist/state-machine/index.d.ts +0 -2
- package/dist/state-machine/index.js +0 -3
- package/dist/state-machine/machine.d.ts +0 -34
- package/dist/state-machine/machine.js +0 -103
- package/dist/state-machine/types.d.ts +0 -34
- package/dist/state-machine/types.js +0 -15
|
@@ -79,13 +79,13 @@ export declare const dashboardRunStructuredResponseSchema: z.ZodObject<{
|
|
|
79
79
|
value: z.ZodString;
|
|
80
80
|
}, z.core.$strip>;
|
|
81
81
|
status: z.ZodEnum<{
|
|
82
|
-
success: "success";
|
|
83
|
-
pending: "pending";
|
|
84
|
-
running: "running";
|
|
85
|
-
failed: "failed";
|
|
86
82
|
cancelled: "cancelled";
|
|
87
83
|
cancelling: "cancelling";
|
|
84
|
+
failed: "failed";
|
|
88
85
|
held: "held";
|
|
86
|
+
pending: "pending";
|
|
87
|
+
running: "running";
|
|
88
|
+
success: "success";
|
|
89
89
|
}>;
|
|
90
90
|
provider: z.ZodString;
|
|
91
91
|
repoIdentifier: z.ZodObject<{
|
|
@@ -102,21 +102,21 @@ export declare const dashboardRunStructuredResponseSchema: z.ZodObject<{
|
|
|
102
102
|
completedAt: z.ZodNullable<z.ZodString>;
|
|
103
103
|
durationMs: z.ZodNullable<z.ZodNumber>;
|
|
104
104
|
trustTier: z.ZodNullable<z.ZodEnum<{
|
|
105
|
-
unknown: "unknown";
|
|
106
105
|
known: "known";
|
|
107
106
|
trusted: "trusted";
|
|
107
|
+
unknown: "unknown";
|
|
108
108
|
}>>;
|
|
109
109
|
contributorUsername: z.ZodNullable<z.ZodObject<{
|
|
110
110
|
untrusted: z.ZodLiteral<true>;
|
|
111
111
|
value: z.ZodString;
|
|
112
112
|
}, z.core.$strip>>;
|
|
113
113
|
failureCategory: z.ZodNullable<z.ZodEnum<{
|
|
114
|
-
unknown: "unknown";
|
|
115
114
|
cancelled: "cancelled";
|
|
115
|
+
infra: "infra";
|
|
116
116
|
init_failure: "init_failure";
|
|
117
|
-
timed_out: "timed_out";
|
|
118
117
|
step_failed: "step_failed";
|
|
119
|
-
|
|
118
|
+
timed_out: "timed_out";
|
|
119
|
+
unknown: "unknown";
|
|
120
120
|
}>>;
|
|
121
121
|
failureReason: z.ZodNullable<z.ZodObject<{
|
|
122
122
|
untrusted: z.ZodLiteral<true>;
|
|
@@ -131,17 +131,18 @@ export declare const dashboardRunStructuredResponseSchema: z.ZodObject<{
|
|
|
131
131
|
value: z.ZodString;
|
|
132
132
|
}, z.core.$strip>;
|
|
133
133
|
status: z.ZodEnum<{
|
|
134
|
-
skipped: "skipped";
|
|
135
|
-
success: "success";
|
|
136
|
-
pending: "pending";
|
|
137
|
-
running: "running";
|
|
138
|
-
failed: "failed";
|
|
139
134
|
cancelled: "cancelled";
|
|
140
135
|
cancelling: "cancelling";
|
|
136
|
+
drift_dropped: "drift_dropped";
|
|
137
|
+
failed: "failed";
|
|
138
|
+
pending: "pending";
|
|
141
139
|
queued: "queued";
|
|
142
140
|
recovering: "recovering";
|
|
141
|
+
running: "running";
|
|
142
|
+
skipped: "skipped";
|
|
143
|
+
success: "success";
|
|
143
144
|
timed_out_stale: "timed_out_stale";
|
|
144
|
-
|
|
145
|
+
unroutable: "unroutable";
|
|
145
146
|
}>;
|
|
146
147
|
startedAt: z.ZodNullable<z.ZodString>;
|
|
147
148
|
completedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -157,14 +158,17 @@ export declare const dashboardRunStructuredResponseSchema: z.ZodObject<{
|
|
|
157
158
|
run: "run";
|
|
158
159
|
}>;
|
|
159
160
|
category: z.ZodEnum<{
|
|
160
|
-
|
|
161
|
-
install_secrets: "install_secrets";
|
|
162
|
-
lock_resolution: "lock_resolution";
|
|
161
|
+
approval_misconfig: "approval_misconfig";
|
|
163
162
|
build_coordination: "build_coordination";
|
|
164
163
|
context_rules: "context_rules";
|
|
165
164
|
dynamic_eval: "dynamic_eval";
|
|
166
|
-
|
|
165
|
+
install_secrets: "install_secrets";
|
|
166
|
+
lock_resolution: "lock_resolution";
|
|
167
167
|
matrix_expansion: "matrix_expansion";
|
|
168
|
+
no_agent: "no_agent";
|
|
169
|
+
sandbox_denied: "sandbox_denied";
|
|
170
|
+
secret_resolution: "secret_resolution";
|
|
171
|
+
trust_policy: "trust_policy";
|
|
168
172
|
}>;
|
|
169
173
|
message: z.ZodObject<{
|
|
170
174
|
untrusted: z.ZodLiteral<true>;
|
|
@@ -177,17 +181,18 @@ export declare const dashboardRunStructuredResponseSchema: z.ZodObject<{
|
|
|
177
181
|
value: z.ZodString;
|
|
178
182
|
}, z.core.$strip>;
|
|
179
183
|
runOn: z.ZodArray<z.ZodEnum<{
|
|
180
|
-
skipped: "skipped";
|
|
181
|
-
success: "success";
|
|
182
|
-
pending: "pending";
|
|
183
|
-
running: "running";
|
|
184
|
-
failed: "failed";
|
|
185
184
|
cancelled: "cancelled";
|
|
186
185
|
cancelling: "cancelling";
|
|
186
|
+
drift_dropped: "drift_dropped";
|
|
187
|
+
failed: "failed";
|
|
188
|
+
pending: "pending";
|
|
187
189
|
queued: "queued";
|
|
188
190
|
recovering: "recovering";
|
|
191
|
+
running: "running";
|
|
192
|
+
skipped: "skipped";
|
|
193
|
+
success: "success";
|
|
189
194
|
timed_out_stale: "timed_out_stale";
|
|
190
|
-
|
|
195
|
+
unroutable: "unroutable";
|
|
191
196
|
}>>;
|
|
192
197
|
}, z.core.$strip>>;
|
|
193
198
|
outputs: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -202,12 +207,12 @@ export declare const dashboardRunStructuredResponseSchema: z.ZodObject<{
|
|
|
202
207
|
value: z.ZodString;
|
|
203
208
|
}, z.core.$strip>;
|
|
204
209
|
status: z.ZodEnum<{
|
|
205
|
-
|
|
206
|
-
|
|
210
|
+
cancelled: "cancelled";
|
|
211
|
+
failed: "failed";
|
|
207
212
|
pending: "pending";
|
|
208
213
|
running: "running";
|
|
209
|
-
|
|
210
|
-
|
|
214
|
+
skipped: "skipped";
|
|
215
|
+
success: "success";
|
|
211
216
|
}>;
|
|
212
217
|
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
213
218
|
durationMs: z.ZodNullable<z.ZodNumber>;
|
|
@@ -219,11 +224,11 @@ export declare const dashboardRunStructuredResponseSchema: z.ZodObject<{
|
|
|
219
224
|
}, z.core.$strip>>;
|
|
220
225
|
stepType: z.ZodString;
|
|
221
226
|
checkOutcome: z.ZodNullable<z.ZodEnum<{
|
|
222
|
-
skipped: "skipped";
|
|
223
227
|
applied: "applied";
|
|
224
228
|
declined: "declined";
|
|
225
229
|
"dry-run": "dry-run";
|
|
226
230
|
no_check: "no_check";
|
|
231
|
+
skipped: "skipped";
|
|
227
232
|
}>>;
|
|
228
233
|
secretsAccessed: z.ZodArray<z.ZodString>;
|
|
229
234
|
}, z.core.$strip>>;
|
|
@@ -232,6 +237,104 @@ export declare const dashboardRunStructuredResponseSchema: z.ZodObject<{
|
|
|
232
237
|
error: z.ZodOptional<z.ZodString>;
|
|
233
238
|
}, z.core.$strip>;
|
|
234
239
|
export type DashboardRunStructuredResponse = z.infer<typeof dashboardRunStructuredResponseSchema>;
|
|
240
|
+
/**
|
|
241
|
+
* Request the current mirror-projection state of a single run from the
|
|
242
|
+
* orchestrator. Unlike `dashboard.run.detail` (a user-plane read that
|
|
243
|
+
* access-logs), this is a **system reconciliation read**: the Platform's
|
|
244
|
+
* `RunMirrorReconciler` issues it for a run stuck non-terminal in the mirror to
|
|
245
|
+
* recover a terminal frame dropped on a live connection. The `actor` is always a
|
|
246
|
+
* `system` principal, and the orchestrator does NOT write an access-log row.
|
|
247
|
+
*/
|
|
248
|
+
export declare const dashboardRunStateRequestSchema: z.ZodObject<{
|
|
249
|
+
type: z.ZodLiteral<"dashboard.run.state">;
|
|
250
|
+
requestId: z.ZodString;
|
|
251
|
+
actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
252
|
+
type: z.ZodLiteral<"user">;
|
|
253
|
+
sub: z.ZodString;
|
|
254
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
255
|
+
patId: z.ZodString;
|
|
256
|
+
label: z.ZodString;
|
|
257
|
+
}, z.core.$strip>>;
|
|
258
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
259
|
+
type: z.ZodLiteral<"api_key">;
|
|
260
|
+
keyId: z.ZodString;
|
|
261
|
+
ownerSub: z.ZodString;
|
|
262
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
263
|
+
label: z.ZodString;
|
|
264
|
+
}, z.core.$strip>>;
|
|
265
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
266
|
+
type: z.ZodLiteral<"service_account">;
|
|
267
|
+
id: z.ZodString;
|
|
268
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
269
|
+
type: z.ZodLiteral<"platform_operator">;
|
|
270
|
+
sub: z.ZodString;
|
|
271
|
+
reason: z.ZodString;
|
|
272
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
273
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
274
|
+
type: z.ZodLiteral<"system">;
|
|
275
|
+
component: z.ZodString;
|
|
276
|
+
}, z.core.$strip>], "type">;
|
|
277
|
+
runId: z.ZodString;
|
|
278
|
+
}, z.core.$strip>;
|
|
279
|
+
export type DashboardRunStateRequest = z.infer<typeof dashboardRunStateRequestSchema>;
|
|
280
|
+
/**
|
|
281
|
+
* Response carrying the run's current `StateReplayRun` mirror-projection shape
|
|
282
|
+
* (the same shape `state.replay` carries), or `run: null` when the orchestrator
|
|
283
|
+
* has no such run. Consumed by `upsertRunMirror` on the Platform side.
|
|
284
|
+
*/
|
|
285
|
+
export declare const dashboardRunStateResponseSchema: z.ZodObject<{
|
|
286
|
+
type: z.ZodLiteral<"dashboard.run.state.response">;
|
|
287
|
+
requestId: z.ZodString;
|
|
288
|
+
run: z.ZodNullable<z.ZodObject<{
|
|
289
|
+
runId: z.ZodString;
|
|
290
|
+
workflowName: z.ZodString;
|
|
291
|
+
status: z.ZodEnum<{
|
|
292
|
+
cancelled: "cancelled";
|
|
293
|
+
cancelling: "cancelling";
|
|
294
|
+
failed: "failed";
|
|
295
|
+
held: "held";
|
|
296
|
+
pending: "pending";
|
|
297
|
+
running: "running";
|
|
298
|
+
success: "success";
|
|
299
|
+
}>;
|
|
300
|
+
routingKey: z.ZodOptional<z.ZodString>;
|
|
301
|
+
repoIdentifier: z.ZodOptional<z.ZodString>;
|
|
302
|
+
sha: z.ZodOptional<z.ZodString>;
|
|
303
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
304
|
+
triggerEvent: z.ZodOptional<z.ZodString>;
|
|
305
|
+
commitMessage: z.ZodOptional<z.ZodString>;
|
|
306
|
+
jobCount: z.ZodNumber;
|
|
307
|
+
startedAt: z.ZodNumber;
|
|
308
|
+
completedAt: z.ZodOptional<z.ZodNumber>;
|
|
309
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
310
|
+
parentRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
311
|
+
originalRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
312
|
+
triggeredBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
313
|
+
triggeredByAgentLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
314
|
+
failureReason: z.ZodOptional<z.ZodString>;
|
|
315
|
+
failureClass: z.ZodOptional<z.ZodEnum<{
|
|
316
|
+
cancelled: "cancelled";
|
|
317
|
+
dead_orchestrator: "dead_orchestrator";
|
|
318
|
+
never_started: "never_started";
|
|
319
|
+
step_failure: "step_failure";
|
|
320
|
+
timed_out: "timed_out";
|
|
321
|
+
}>>;
|
|
322
|
+
jobs: z.ZodArray<z.ZodObject<{
|
|
323
|
+
jobId: z.ZodString;
|
|
324
|
+
jobName: z.ZodString;
|
|
325
|
+
status: z.ZodString;
|
|
326
|
+
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
327
|
+
completedAt: z.ZodOptional<z.ZodNumber>;
|
|
328
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
329
|
+
errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
330
|
+
agentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
331
|
+
runsOnLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
332
|
+
contexts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
333
|
+
}, z.core.$strip>>;
|
|
334
|
+
}, z.core.$strip>>;
|
|
335
|
+
error: z.ZodOptional<z.ZodString>;
|
|
336
|
+
}, z.core.$strip>;
|
|
337
|
+
export type DashboardRunStateResponse = z.infer<typeof dashboardRunStateResponseSchema>;
|
|
235
338
|
/** Request step logs from orchestrator. */
|
|
236
339
|
export declare const dashboardStepLogsRequestSchema: z.ZodObject<{
|
|
237
340
|
type: z.ZodLiteral<"dashboard.step.logs">;
|
|
@@ -283,6 +386,7 @@ export declare const dashboardJobDetailSchema: z.ZodObject<{
|
|
|
283
386
|
agentId: z.ZodNullable<z.ZodString>;
|
|
284
387
|
orchestratorId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
285
388
|
errorMessage: z.ZodNullable<z.ZodString>;
|
|
389
|
+
routingReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
286
390
|
runsOnLabels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
287
391
|
contexts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
288
392
|
skippedContexts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -295,14 +399,17 @@ export declare const dashboardJobDetailSchema: z.ZodObject<{
|
|
|
295
399
|
run: "run";
|
|
296
400
|
}>;
|
|
297
401
|
category: z.ZodEnum<{
|
|
298
|
-
|
|
299
|
-
install_secrets: "install_secrets";
|
|
300
|
-
lock_resolution: "lock_resolution";
|
|
402
|
+
approval_misconfig: "approval_misconfig";
|
|
301
403
|
build_coordination: "build_coordination";
|
|
302
404
|
context_rules: "context_rules";
|
|
303
405
|
dynamic_eval: "dynamic_eval";
|
|
304
|
-
|
|
406
|
+
install_secrets: "install_secrets";
|
|
407
|
+
lock_resolution: "lock_resolution";
|
|
305
408
|
matrix_expansion: "matrix_expansion";
|
|
409
|
+
no_agent: "no_agent";
|
|
410
|
+
sandbox_denied: "sandbox_denied";
|
|
411
|
+
secret_resolution: "secret_resolution";
|
|
412
|
+
trust_policy: "trust_policy";
|
|
306
413
|
}>;
|
|
307
414
|
message: z.ZodString;
|
|
308
415
|
jobName: z.ZodOptional<z.ZodString>;
|
|
@@ -310,17 +417,18 @@ export declare const dashboardJobDetailSchema: z.ZodObject<{
|
|
|
310
417
|
needs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
311
418
|
upstreamName: z.ZodString;
|
|
312
419
|
runOn: z.ZodArray<z.ZodEnum<{
|
|
313
|
-
skipped: "skipped";
|
|
314
|
-
success: "success";
|
|
315
|
-
pending: "pending";
|
|
316
|
-
running: "running";
|
|
317
|
-
failed: "failed";
|
|
318
420
|
cancelled: "cancelled";
|
|
319
421
|
cancelling: "cancelling";
|
|
422
|
+
drift_dropped: "drift_dropped";
|
|
423
|
+
failed: "failed";
|
|
424
|
+
pending: "pending";
|
|
320
425
|
queued: "queued";
|
|
321
426
|
recovering: "recovering";
|
|
427
|
+
running: "running";
|
|
428
|
+
skipped: "skipped";
|
|
429
|
+
success: "success";
|
|
322
430
|
timed_out_stale: "timed_out_stale";
|
|
323
|
-
|
|
431
|
+
unroutable: "unroutable";
|
|
324
432
|
}>>;
|
|
325
433
|
}, z.core.$strip>>>>;
|
|
326
434
|
steps: z.ZodArray<z.ZodObject<{
|
|
@@ -335,17 +443,17 @@ export declare const dashboardJobDetailSchema: z.ZodObject<{
|
|
|
335
443
|
stepType: z.ZodOptional<z.ZodString>;
|
|
336
444
|
secretsAccessed: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
337
445
|
checkOutcome: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
338
|
-
skipped: "skipped";
|
|
339
446
|
applied: "applied";
|
|
340
447
|
declined: "declined";
|
|
341
448
|
"dry-run": "dry-run";
|
|
342
449
|
no_check: "no_check";
|
|
450
|
+
skipped: "skipped";
|
|
343
451
|
}>>>;
|
|
344
452
|
driftSummary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
345
453
|
concurrencyKind: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
346
|
-
sequential: "sequential";
|
|
347
454
|
"parallel-child": "parallel-child";
|
|
348
455
|
"parallel-group": "parallel-group";
|
|
456
|
+
sequential: "sequential";
|
|
349
457
|
}>>>;
|
|
350
458
|
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
351
459
|
}, z.core.$strip>>;
|
|
@@ -368,6 +476,7 @@ export declare const dashboardRunDetailResponseSchema: z.ZodObject<{
|
|
|
368
476
|
agentId: z.ZodNullable<z.ZodString>;
|
|
369
477
|
orchestratorId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
370
478
|
errorMessage: z.ZodNullable<z.ZodString>;
|
|
479
|
+
routingReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
371
480
|
runsOnLabels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
372
481
|
contexts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
373
482
|
skippedContexts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -380,14 +489,17 @@ export declare const dashboardRunDetailResponseSchema: z.ZodObject<{
|
|
|
380
489
|
run: "run";
|
|
381
490
|
}>;
|
|
382
491
|
category: z.ZodEnum<{
|
|
383
|
-
|
|
384
|
-
install_secrets: "install_secrets";
|
|
385
|
-
lock_resolution: "lock_resolution";
|
|
492
|
+
approval_misconfig: "approval_misconfig";
|
|
386
493
|
build_coordination: "build_coordination";
|
|
387
494
|
context_rules: "context_rules";
|
|
388
495
|
dynamic_eval: "dynamic_eval";
|
|
389
|
-
|
|
496
|
+
install_secrets: "install_secrets";
|
|
497
|
+
lock_resolution: "lock_resolution";
|
|
390
498
|
matrix_expansion: "matrix_expansion";
|
|
499
|
+
no_agent: "no_agent";
|
|
500
|
+
sandbox_denied: "sandbox_denied";
|
|
501
|
+
secret_resolution: "secret_resolution";
|
|
502
|
+
trust_policy: "trust_policy";
|
|
391
503
|
}>;
|
|
392
504
|
message: z.ZodString;
|
|
393
505
|
jobName: z.ZodOptional<z.ZodString>;
|
|
@@ -395,17 +507,18 @@ export declare const dashboardRunDetailResponseSchema: z.ZodObject<{
|
|
|
395
507
|
needs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
396
508
|
upstreamName: z.ZodString;
|
|
397
509
|
runOn: z.ZodArray<z.ZodEnum<{
|
|
398
|
-
skipped: "skipped";
|
|
399
|
-
success: "success";
|
|
400
|
-
pending: "pending";
|
|
401
|
-
running: "running";
|
|
402
|
-
failed: "failed";
|
|
403
510
|
cancelled: "cancelled";
|
|
404
511
|
cancelling: "cancelling";
|
|
512
|
+
drift_dropped: "drift_dropped";
|
|
513
|
+
failed: "failed";
|
|
514
|
+
pending: "pending";
|
|
405
515
|
queued: "queued";
|
|
406
516
|
recovering: "recovering";
|
|
517
|
+
running: "running";
|
|
518
|
+
skipped: "skipped";
|
|
519
|
+
success: "success";
|
|
407
520
|
timed_out_stale: "timed_out_stale";
|
|
408
|
-
|
|
521
|
+
unroutable: "unroutable";
|
|
409
522
|
}>>;
|
|
410
523
|
}, z.core.$strip>>>>;
|
|
411
524
|
steps: z.ZodArray<z.ZodObject<{
|
|
@@ -420,30 +533,30 @@ export declare const dashboardRunDetailResponseSchema: z.ZodObject<{
|
|
|
420
533
|
stepType: z.ZodOptional<z.ZodString>;
|
|
421
534
|
secretsAccessed: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
422
535
|
checkOutcome: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
423
|
-
skipped: "skipped";
|
|
424
536
|
applied: "applied";
|
|
425
537
|
declined: "declined";
|
|
426
538
|
"dry-run": "dry-run";
|
|
427
539
|
no_check: "no_check";
|
|
540
|
+
skipped: "skipped";
|
|
428
541
|
}>>>;
|
|
429
542
|
driftSummary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
430
543
|
concurrencyKind: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
431
|
-
sequential: "sequential";
|
|
432
544
|
"parallel-child": "parallel-child";
|
|
433
545
|
"parallel-group": "parallel-group";
|
|
546
|
+
sequential: "sequential";
|
|
434
547
|
}>>>;
|
|
435
548
|
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
436
549
|
}, z.core.$strip>>;
|
|
437
550
|
}, z.core.$strip>>;
|
|
438
551
|
trustContext: z.ZodOptional<z.ZodObject<{
|
|
439
552
|
trustTier: z.ZodNullable<z.ZodEnum<{
|
|
440
|
-
unknown: "unknown";
|
|
441
553
|
known: "known";
|
|
442
554
|
trusted: "trusted";
|
|
555
|
+
unknown: "unknown";
|
|
443
556
|
}>>;
|
|
444
557
|
lockFileSource: z.ZodNullable<z.ZodEnum<{
|
|
445
|
-
head: "head";
|
|
446
558
|
base: "base";
|
|
559
|
+
head: "head";
|
|
447
560
|
}>>;
|
|
448
561
|
contributorUsername: z.ZodNullable<z.ZodString>;
|
|
449
562
|
}, z.core.$strip>>;
|
|
@@ -453,14 +566,17 @@ export declare const dashboardRunDetailResponseSchema: z.ZodObject<{
|
|
|
453
566
|
run: "run";
|
|
454
567
|
}>;
|
|
455
568
|
category: z.ZodEnum<{
|
|
456
|
-
|
|
457
|
-
install_secrets: "install_secrets";
|
|
458
|
-
lock_resolution: "lock_resolution";
|
|
569
|
+
approval_misconfig: "approval_misconfig";
|
|
459
570
|
build_coordination: "build_coordination";
|
|
460
571
|
context_rules: "context_rules";
|
|
461
572
|
dynamic_eval: "dynamic_eval";
|
|
462
|
-
|
|
573
|
+
install_secrets: "install_secrets";
|
|
574
|
+
lock_resolution: "lock_resolution";
|
|
463
575
|
matrix_expansion: "matrix_expansion";
|
|
576
|
+
no_agent: "no_agent";
|
|
577
|
+
sandbox_denied: "sandbox_denied";
|
|
578
|
+
secret_resolution: "secret_resolution";
|
|
579
|
+
trust_policy: "trust_policy";
|
|
464
580
|
}>;
|
|
465
581
|
message: z.ZodString;
|
|
466
582
|
jobName: z.ZodOptional<z.ZodString>;
|
|
@@ -520,10 +636,10 @@ export type DashboardAttestationsListRequest = z.infer<typeof dashboardAttestati
|
|
|
520
636
|
* trust root).
|
|
521
637
|
*/
|
|
522
638
|
export declare const attestationVerifyStatusSchema: z.ZodEnum<{
|
|
523
|
-
pending: "pending";
|
|
524
639
|
failed: "failed";
|
|
525
|
-
|
|
640
|
+
pending: "pending";
|
|
526
641
|
unverifiable: "unverifiable";
|
|
642
|
+
verified: "verified";
|
|
527
643
|
}>;
|
|
528
644
|
export type AttestationVerifyStatus = z.infer<typeof attestationVerifyStatusSchema>;
|
|
529
645
|
/**
|
|
@@ -557,20 +673,20 @@ export declare const attestationListItemSchema: z.ZodObject<{
|
|
|
557
673
|
}, z.core.$strip>;
|
|
558
674
|
runId: z.ZodOptional<z.ZodString>;
|
|
559
675
|
verifyStatus: z.ZodOptional<z.ZodEnum<{
|
|
560
|
-
pending: "pending";
|
|
561
676
|
failed: "failed";
|
|
562
|
-
|
|
677
|
+
pending: "pending";
|
|
563
678
|
unverifiable: "unverifiable";
|
|
679
|
+
verified: "verified";
|
|
564
680
|
}>>;
|
|
565
681
|
verifyReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
566
682
|
sourceOrigin: z.ZodOptional<z.ZodEnum<{
|
|
567
|
-
triggered: "triggered";
|
|
568
683
|
"run-remote": "run-remote";
|
|
684
|
+
triggered: "triggered";
|
|
569
685
|
}>>;
|
|
570
686
|
originOrgId: z.ZodOptional<z.ZodString>;
|
|
571
687
|
attestationOrigin: z.ZodOptional<z.ZodEnum<{
|
|
572
|
-
live: "live";
|
|
573
688
|
deferred: "deferred";
|
|
689
|
+
live: "live";
|
|
574
690
|
"offline-backfill": "offline-backfill";
|
|
575
691
|
}>>;
|
|
576
692
|
}, z.core.$strip>;
|
|
@@ -605,26 +721,90 @@ export declare const dashboardAttestationsListResponseSchema: z.ZodObject<{
|
|
|
605
721
|
}, z.core.$strip>;
|
|
606
722
|
runId: z.ZodOptional<z.ZodString>;
|
|
607
723
|
verifyStatus: z.ZodOptional<z.ZodEnum<{
|
|
608
|
-
pending: "pending";
|
|
609
724
|
failed: "failed";
|
|
610
|
-
|
|
725
|
+
pending: "pending";
|
|
611
726
|
unverifiable: "unverifiable";
|
|
727
|
+
verified: "verified";
|
|
612
728
|
}>>;
|
|
613
729
|
verifyReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
614
730
|
sourceOrigin: z.ZodOptional<z.ZodEnum<{
|
|
615
|
-
triggered: "triggered";
|
|
616
731
|
"run-remote": "run-remote";
|
|
732
|
+
triggered: "triggered";
|
|
617
733
|
}>>;
|
|
618
734
|
originOrgId: z.ZodOptional<z.ZodString>;
|
|
619
735
|
attestationOrigin: z.ZodOptional<z.ZodEnum<{
|
|
620
|
-
live: "live";
|
|
621
736
|
deferred: "deferred";
|
|
737
|
+
live: "live";
|
|
622
738
|
"offline-backfill": "offline-backfill";
|
|
623
739
|
}>>;
|
|
624
740
|
}, z.core.$strip>>;
|
|
741
|
+
trustedIssuer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
625
742
|
error: z.ZodOptional<z.ZodString>;
|
|
626
743
|
}, z.core.$strip>;
|
|
627
744
|
export type DashboardAttestationsListResponse = z.infer<typeof dashboardAttestationsListResponseSchema>;
|
|
745
|
+
/** Request the named artifacts uploaded by a run. */
|
|
746
|
+
export declare const dashboardArtifactsListRequestSchema: z.ZodObject<{
|
|
747
|
+
type: z.ZodLiteral<"dashboard.artifacts.list">;
|
|
748
|
+
requestId: z.ZodString;
|
|
749
|
+
actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
750
|
+
type: z.ZodLiteral<"user">;
|
|
751
|
+
sub: z.ZodString;
|
|
752
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
753
|
+
patId: z.ZodString;
|
|
754
|
+
label: z.ZodString;
|
|
755
|
+
}, z.core.$strip>>;
|
|
756
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
757
|
+
type: z.ZodLiteral<"api_key">;
|
|
758
|
+
keyId: z.ZodString;
|
|
759
|
+
ownerSub: z.ZodString;
|
|
760
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
761
|
+
label: z.ZodString;
|
|
762
|
+
}, z.core.$strip>>;
|
|
763
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
764
|
+
type: z.ZodLiteral<"service_account">;
|
|
765
|
+
id: z.ZodString;
|
|
766
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
767
|
+
type: z.ZodLiteral<"platform_operator">;
|
|
768
|
+
sub: z.ZodString;
|
|
769
|
+
reason: z.ZodString;
|
|
770
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
771
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
772
|
+
type: z.ZodLiteral<"system">;
|
|
773
|
+
component: z.ZodString;
|
|
774
|
+
}, z.core.$strip>], "type">;
|
|
775
|
+
runId: z.ZodString;
|
|
776
|
+
}, z.core.$strip>;
|
|
777
|
+
export type DashboardArtifactsListRequest = z.infer<typeof dashboardArtifactsListRequestSchema>;
|
|
778
|
+
/**
|
|
779
|
+
* Single artifact in the list response. `downloadUrl` is a presigned GET the
|
|
780
|
+
* dashboard links directly; it is omitted when the backing object could not be
|
|
781
|
+
* resolved (expired / missing), in which case the row still lists the metadata.
|
|
782
|
+
*/
|
|
783
|
+
export declare const artifactListItemSchema: z.ZodObject<{
|
|
784
|
+
name: z.ZodString;
|
|
785
|
+
jobId: z.ZodString;
|
|
786
|
+
sizeBytes: z.ZodNumber;
|
|
787
|
+
sha256: z.ZodString;
|
|
788
|
+
createdAt: z.ZodString;
|
|
789
|
+
downloadUrl: z.ZodOptional<z.ZodString>;
|
|
790
|
+
}, z.core.$strip>;
|
|
791
|
+
export type ArtifactListItem = z.infer<typeof artifactListItemSchema>;
|
|
792
|
+
/** Response with the run's artifacts (correlates to dashboard.artifacts.list). */
|
|
793
|
+
export declare const dashboardArtifactsListResponseSchema: z.ZodObject<{
|
|
794
|
+
type: z.ZodLiteral<"dashboard.artifacts.list.response">;
|
|
795
|
+
requestId: z.ZodString;
|
|
796
|
+
artifacts: z.ZodArray<z.ZodObject<{
|
|
797
|
+
name: z.ZodString;
|
|
798
|
+
jobId: z.ZodString;
|
|
799
|
+
sizeBytes: z.ZodNumber;
|
|
800
|
+
sha256: z.ZodString;
|
|
801
|
+
createdAt: z.ZodString;
|
|
802
|
+
downloadUrl: z.ZodOptional<z.ZodString>;
|
|
803
|
+
}, z.core.$strip>>;
|
|
804
|
+
downloadUrlExpiresInSeconds: z.ZodOptional<z.ZodNumber>;
|
|
805
|
+
error: z.ZodOptional<z.ZodString>;
|
|
806
|
+
}, z.core.$strip>;
|
|
807
|
+
export type DashboardArtifactsListResponse = z.infer<typeof dashboardArtifactsListResponseSchema>;
|
|
628
808
|
/**
|
|
629
809
|
* Metadata-only summary row for the org-wide list. No inlined bundle (keeps the
|
|
630
810
|
* list cheap). `repository` / `workflow` are joined from `execution_runs` when
|
|
@@ -641,21 +821,21 @@ export declare const attestationListSummarySchema: z.ZodObject<{
|
|
|
641
821
|
mediaType: z.ZodString;
|
|
642
822
|
createdAt: z.ZodString;
|
|
643
823
|
verifyStatus: z.ZodEnum<{
|
|
644
|
-
pending: "pending";
|
|
645
824
|
failed: "failed";
|
|
646
|
-
|
|
825
|
+
pending: "pending";
|
|
647
826
|
unverifiable: "unverifiable";
|
|
827
|
+
verified: "verified";
|
|
648
828
|
}>;
|
|
649
829
|
verifyReason: z.ZodNullable<z.ZodString>;
|
|
650
830
|
repository: z.ZodNullable<z.ZodString>;
|
|
651
831
|
workflow: z.ZodNullable<z.ZodString>;
|
|
652
832
|
sourceOrigin: z.ZodOptional<z.ZodEnum<{
|
|
653
|
-
triggered: "triggered";
|
|
654
833
|
"run-remote": "run-remote";
|
|
834
|
+
triggered: "triggered";
|
|
655
835
|
}>>;
|
|
656
836
|
attestationOrigin: z.ZodOptional<z.ZodEnum<{
|
|
657
|
-
live: "live";
|
|
658
837
|
deferred: "deferred";
|
|
838
|
+
live: "live";
|
|
659
839
|
"offline-backfill": "offline-backfill";
|
|
660
840
|
}>>;
|
|
661
841
|
pending: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -666,10 +846,10 @@ export declare const attestationListFiltersSchema: z.ZodObject<{
|
|
|
666
846
|
digest: z.ZodOptional<z.ZodString>;
|
|
667
847
|
name: z.ZodOptional<z.ZodString>;
|
|
668
848
|
status: z.ZodOptional<z.ZodEnum<{
|
|
669
|
-
pending: "pending";
|
|
670
849
|
failed: "failed";
|
|
671
|
-
|
|
850
|
+
pending: "pending";
|
|
672
851
|
unverifiable: "unverifiable";
|
|
852
|
+
verified: "verified";
|
|
673
853
|
}>>;
|
|
674
854
|
repository: z.ZodOptional<z.ZodString>;
|
|
675
855
|
workflow: z.ZodOptional<z.ZodString>;
|
|
@@ -714,10 +894,10 @@ export declare const dashboardAttestationsListAllRequestSchema: z.ZodObject<{
|
|
|
714
894
|
digest: z.ZodOptional<z.ZodString>;
|
|
715
895
|
name: z.ZodOptional<z.ZodString>;
|
|
716
896
|
status: z.ZodOptional<z.ZodEnum<{
|
|
717
|
-
pending: "pending";
|
|
718
897
|
failed: "failed";
|
|
719
|
-
|
|
898
|
+
pending: "pending";
|
|
720
899
|
unverifiable: "unverifiable";
|
|
900
|
+
verified: "verified";
|
|
721
901
|
}>>;
|
|
722
902
|
repository: z.ZodOptional<z.ZodString>;
|
|
723
903
|
workflow: z.ZodOptional<z.ZodString>;
|
|
@@ -742,21 +922,21 @@ export declare const dashboardAttestationsListAllResponseSchema: z.ZodObject<{
|
|
|
742
922
|
mediaType: z.ZodString;
|
|
743
923
|
createdAt: z.ZodString;
|
|
744
924
|
verifyStatus: z.ZodEnum<{
|
|
745
|
-
pending: "pending";
|
|
746
925
|
failed: "failed";
|
|
747
|
-
|
|
926
|
+
pending: "pending";
|
|
748
927
|
unverifiable: "unverifiable";
|
|
928
|
+
verified: "verified";
|
|
749
929
|
}>;
|
|
750
930
|
verifyReason: z.ZodNullable<z.ZodString>;
|
|
751
931
|
repository: z.ZodNullable<z.ZodString>;
|
|
752
932
|
workflow: z.ZodNullable<z.ZodString>;
|
|
753
933
|
sourceOrigin: z.ZodOptional<z.ZodEnum<{
|
|
754
|
-
triggered: "triggered";
|
|
755
934
|
"run-remote": "run-remote";
|
|
935
|
+
triggered: "triggered";
|
|
756
936
|
}>>;
|
|
757
937
|
attestationOrigin: z.ZodOptional<z.ZodEnum<{
|
|
758
|
-
live: "live";
|
|
759
938
|
deferred: "deferred";
|
|
939
|
+
live: "live";
|
|
760
940
|
"offline-backfill": "offline-backfill";
|
|
761
941
|
}>>;
|
|
762
942
|
pending: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -764,6 +944,7 @@ export declare const dashboardAttestationsListAllResponseSchema: z.ZodObject<{
|
|
|
764
944
|
page: z.ZodNumber;
|
|
765
945
|
pageSize: z.ZodNumber;
|
|
766
946
|
total: z.ZodNumber;
|
|
947
|
+
trustedIssuer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
767
948
|
error: z.ZodOptional<z.ZodString>;
|
|
768
949
|
}, z.core.$strip>;
|
|
769
950
|
export type DashboardAttestationsListAllResponse = z.infer<typeof dashboardAttestationsListAllResponseSchema>;
|
|
@@ -830,20 +1011,20 @@ export declare const dashboardAttestationGetResponseSchema: z.ZodObject<{
|
|
|
830
1011
|
}, z.core.$strip>;
|
|
831
1012
|
runId: z.ZodOptional<z.ZodString>;
|
|
832
1013
|
verifyStatus: z.ZodOptional<z.ZodEnum<{
|
|
833
|
-
pending: "pending";
|
|
834
1014
|
failed: "failed";
|
|
835
|
-
|
|
1015
|
+
pending: "pending";
|
|
836
1016
|
unverifiable: "unverifiable";
|
|
1017
|
+
verified: "verified";
|
|
837
1018
|
}>>;
|
|
838
1019
|
verifyReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
839
1020
|
sourceOrigin: z.ZodOptional<z.ZodEnum<{
|
|
840
|
-
triggered: "triggered";
|
|
841
1021
|
"run-remote": "run-remote";
|
|
1022
|
+
triggered: "triggered";
|
|
842
1023
|
}>>;
|
|
843
1024
|
originOrgId: z.ZodOptional<z.ZodString>;
|
|
844
1025
|
attestationOrigin: z.ZodOptional<z.ZodEnum<{
|
|
845
|
-
live: "live";
|
|
846
1026
|
deferred: "deferred";
|
|
1027
|
+
live: "live";
|
|
847
1028
|
"offline-backfill": "offline-backfill";
|
|
848
1029
|
}>>;
|
|
849
1030
|
}, z.core.$strip>>;
|
|
@@ -1064,10 +1245,10 @@ export declare const dashboardSourceSummarySchema: z.ZodObject<{
|
|
|
1064
1245
|
name: z.ZodNullable<z.ZodString>;
|
|
1065
1246
|
provider: z.ZodString;
|
|
1066
1247
|
subtype: z.ZodEnum<{
|
|
1067
|
-
github_app: "github_app";
|
|
1068
1248
|
generic_webhook: "generic_webhook";
|
|
1069
|
-
|
|
1249
|
+
github_app: "github_app";
|
|
1070
1250
|
local: "local";
|
|
1251
|
+
universal_git: "universal_git";
|
|
1071
1252
|
}>;
|
|
1072
1253
|
enabled: z.ZodBoolean;
|
|
1073
1254
|
createdAt: z.ZodString;
|
|
@@ -1116,10 +1297,10 @@ export declare const dashboardSourcesListResponseSchema: z.ZodObject<{
|
|
|
1116
1297
|
name: z.ZodNullable<z.ZodString>;
|
|
1117
1298
|
provider: z.ZodString;
|
|
1118
1299
|
subtype: z.ZodEnum<{
|
|
1119
|
-
github_app: "github_app";
|
|
1120
1300
|
generic_webhook: "generic_webhook";
|
|
1121
|
-
|
|
1301
|
+
github_app: "github_app";
|
|
1122
1302
|
local: "local";
|
|
1303
|
+
universal_git: "universal_git";
|
|
1123
1304
|
}>;
|
|
1124
1305
|
enabled: z.ZodBoolean;
|
|
1125
1306
|
createdAt: z.ZodString;
|
|
@@ -1274,19 +1455,19 @@ export declare const eventLogListItemSchema: z.ZodObject<{
|
|
|
1274
1455
|
event: z.ZodString;
|
|
1275
1456
|
action: z.ZodNullable<z.ZodString>;
|
|
1276
1457
|
source: z.ZodEnum<{
|
|
1277
|
-
relay: "relay";
|
|
1278
1458
|
direct: "direct";
|
|
1459
|
+
relay: "relay";
|
|
1279
1460
|
}>;
|
|
1280
1461
|
provider: z.ZodString;
|
|
1281
1462
|
repoIdentifier: z.ZodNullable<z.ZodString>;
|
|
1282
1463
|
ref: z.ZodNullable<z.ZodString>;
|
|
1283
1464
|
status: z.ZodEnum<{
|
|
1284
|
-
failed: "failed";
|
|
1285
|
-
received: "received";
|
|
1286
|
-
processed: "processed";
|
|
1287
1465
|
duplicate: "duplicate";
|
|
1288
|
-
|
|
1466
|
+
failed: "failed";
|
|
1289
1467
|
lockfile_corrupt: "lockfile_corrupt";
|
|
1468
|
+
lockfile_missing: "lockfile_missing";
|
|
1469
|
+
processed: "processed";
|
|
1470
|
+
received: "received";
|
|
1290
1471
|
}>;
|
|
1291
1472
|
matchedCount: z.ZodNumber;
|
|
1292
1473
|
runId: z.ZodNullable<z.ZodString>;
|
|
@@ -1334,12 +1515,12 @@ export declare const dashboardEventLogListRequestSchema: z.ZodObject<{
|
|
|
1334
1515
|
routingKey: z.ZodOptional<z.ZodString>;
|
|
1335
1516
|
event: z.ZodOptional<z.ZodString>;
|
|
1336
1517
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1337
|
-
failed: "failed";
|
|
1338
|
-
received: "received";
|
|
1339
|
-
processed: "processed";
|
|
1340
1518
|
duplicate: "duplicate";
|
|
1341
|
-
|
|
1519
|
+
failed: "failed";
|
|
1342
1520
|
lockfile_corrupt: "lockfile_corrupt";
|
|
1521
|
+
lockfile_missing: "lockfile_missing";
|
|
1522
|
+
processed: "processed";
|
|
1523
|
+
received: "received";
|
|
1343
1524
|
}>>;
|
|
1344
1525
|
fromTimestamp: z.ZodOptional<z.ZodString>;
|
|
1345
1526
|
toTimestamp: z.ZodOptional<z.ZodString>;
|
|
@@ -1357,19 +1538,19 @@ declare const dashboardEventLogListResponseSchema: z.ZodObject<{
|
|
|
1357
1538
|
event: z.ZodString;
|
|
1358
1539
|
action: z.ZodNullable<z.ZodString>;
|
|
1359
1540
|
source: z.ZodEnum<{
|
|
1360
|
-
relay: "relay";
|
|
1361
1541
|
direct: "direct";
|
|
1542
|
+
relay: "relay";
|
|
1362
1543
|
}>;
|
|
1363
1544
|
provider: z.ZodString;
|
|
1364
1545
|
repoIdentifier: z.ZodNullable<z.ZodString>;
|
|
1365
1546
|
ref: z.ZodNullable<z.ZodString>;
|
|
1366
1547
|
status: z.ZodEnum<{
|
|
1367
|
-
failed: "failed";
|
|
1368
|
-
received: "received";
|
|
1369
|
-
processed: "processed";
|
|
1370
1548
|
duplicate: "duplicate";
|
|
1371
|
-
|
|
1549
|
+
failed: "failed";
|
|
1372
1550
|
lockfile_corrupt: "lockfile_corrupt";
|
|
1551
|
+
lockfile_missing: "lockfile_missing";
|
|
1552
|
+
processed: "processed";
|
|
1553
|
+
received: "received";
|
|
1373
1554
|
}>;
|
|
1374
1555
|
matchedCount: z.ZodNumber;
|
|
1375
1556
|
runId: z.ZodNullable<z.ZodString>;
|
|
@@ -1435,19 +1616,19 @@ declare const dashboardEventLogDetailResponseSchema: z.ZodObject<{
|
|
|
1435
1616
|
event: z.ZodString;
|
|
1436
1617
|
action: z.ZodNullable<z.ZodString>;
|
|
1437
1618
|
source: z.ZodEnum<{
|
|
1438
|
-
relay: "relay";
|
|
1439
1619
|
direct: "direct";
|
|
1620
|
+
relay: "relay";
|
|
1440
1621
|
}>;
|
|
1441
1622
|
provider: z.ZodString;
|
|
1442
1623
|
repoIdentifier: z.ZodNullable<z.ZodString>;
|
|
1443
1624
|
ref: z.ZodNullable<z.ZodString>;
|
|
1444
1625
|
status: z.ZodEnum<{
|
|
1445
|
-
failed: "failed";
|
|
1446
|
-
received: "received";
|
|
1447
|
-
processed: "processed";
|
|
1448
1626
|
duplicate: "duplicate";
|
|
1449
|
-
|
|
1627
|
+
failed: "failed";
|
|
1450
1628
|
lockfile_corrupt: "lockfile_corrupt";
|
|
1629
|
+
lockfile_missing: "lockfile_missing";
|
|
1630
|
+
processed: "processed";
|
|
1631
|
+
received: "received";
|
|
1451
1632
|
}>;
|
|
1452
1633
|
matchedCount: z.ZodNumber;
|
|
1453
1634
|
runId: z.ZodNullable<z.ZodString>;
|
|
@@ -1463,6 +1644,66 @@ declare const dashboardEventLogDetailResponseSchema: z.ZodObject<{
|
|
|
1463
1644
|
}, z.core.$strip>>;
|
|
1464
1645
|
error: z.ZodOptional<z.ZodString>;
|
|
1465
1646
|
}, z.core.$strip>;
|
|
1647
|
+
/** Aggregate webhook-activity counts for a time window (org-scoped).
|
|
1648
|
+
* Powers the Runs-page misconfig strip + the `kici runs` hint. No payloads,
|
|
1649
|
+
* no repo identifiers — safe for all org members. */
|
|
1650
|
+
export declare const dashboardEventLogActivityRequestSchema: z.ZodObject<{
|
|
1651
|
+
type: z.ZodLiteral<"dashboard.event-log.activity">;
|
|
1652
|
+
requestId: z.ZodString;
|
|
1653
|
+
actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1654
|
+
type: z.ZodLiteral<"user">;
|
|
1655
|
+
sub: z.ZodString;
|
|
1656
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
1657
|
+
patId: z.ZodString;
|
|
1658
|
+
label: z.ZodString;
|
|
1659
|
+
}, z.core.$strip>>;
|
|
1660
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1661
|
+
type: z.ZodLiteral<"api_key">;
|
|
1662
|
+
keyId: z.ZodString;
|
|
1663
|
+
ownerSub: z.ZodString;
|
|
1664
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
1665
|
+
label: z.ZodString;
|
|
1666
|
+
}, z.core.$strip>>;
|
|
1667
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1668
|
+
type: z.ZodLiteral<"service_account">;
|
|
1669
|
+
id: z.ZodString;
|
|
1670
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1671
|
+
type: z.ZodLiteral<"platform_operator">;
|
|
1672
|
+
sub: z.ZodString;
|
|
1673
|
+
reason: z.ZodString;
|
|
1674
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1675
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1676
|
+
type: z.ZodLiteral<"system">;
|
|
1677
|
+
component: z.ZodString;
|
|
1678
|
+
}, z.core.$strip>], "type">;
|
|
1679
|
+
orgId: z.ZodString;
|
|
1680
|
+
fromTimestamp: z.ZodString;
|
|
1681
|
+
toTimestamp: z.ZodString;
|
|
1682
|
+
}, z.core.$strip>;
|
|
1683
|
+
/** Orchestrator-only bucketed counts over the window. `matched`/`unmatched`
|
|
1684
|
+
* distinguish a trigger-no-match delivery from one that produced a run — a
|
|
1685
|
+
* fact the Platform relay cannot compute (see the two-table architecture). */
|
|
1686
|
+
export declare const eventLogActivityCountsSchema: z.ZodObject<{
|
|
1687
|
+
total: z.ZodNumber;
|
|
1688
|
+
matched: z.ZodNumber;
|
|
1689
|
+
unmatched: z.ZodNumber;
|
|
1690
|
+
lockfileMissing: z.ZodNumber;
|
|
1691
|
+
lockfileCorrupt: z.ZodNumber;
|
|
1692
|
+
failed: z.ZodNumber;
|
|
1693
|
+
}, z.core.$strip>;
|
|
1694
|
+
export declare const dashboardEventLogActivityResponseSchema: z.ZodObject<{
|
|
1695
|
+
type: z.ZodLiteral<"dashboard.event-log.activity.response">;
|
|
1696
|
+
requestId: z.ZodString;
|
|
1697
|
+
counts: z.ZodOptional<z.ZodObject<{
|
|
1698
|
+
total: z.ZodNumber;
|
|
1699
|
+
matched: z.ZodNumber;
|
|
1700
|
+
unmatched: z.ZodNumber;
|
|
1701
|
+
lockfileMissing: z.ZodNumber;
|
|
1702
|
+
lockfileCorrupt: z.ZodNumber;
|
|
1703
|
+
failed: z.ZodNumber;
|
|
1704
|
+
}, z.core.$strip>>;
|
|
1705
|
+
error: z.ZodOptional<z.ZodString>;
|
|
1706
|
+
}, z.core.$strip>;
|
|
1466
1707
|
/**
|
|
1467
1708
|
* Reasons a chunked event-log payload stream may terminate without a body.
|
|
1468
1709
|
* The terminal chunk carries `isLast=true` plus one of these codes in
|
|
@@ -1483,12 +1724,12 @@ declare const dashboardEventLogDetailResponseSchema: z.ZodObject<{
|
|
|
1483
1724
|
* connection for the request (synthesized on Platform side).
|
|
1484
1725
|
*/
|
|
1485
1726
|
export declare const EventLogPayloadStreamError: z.ZodEnum<{
|
|
1486
|
-
payload_unavailable: "payload_unavailable";
|
|
1487
|
-
not_found: "not_found";
|
|
1488
|
-
read_failed: "read_failed";
|
|
1489
1727
|
forbidden: "forbidden";
|
|
1728
|
+
not_found: "not_found";
|
|
1490
1729
|
orch_stream_timeout: "orch_stream_timeout";
|
|
1491
1730
|
orchestrator_unavailable: "orchestrator_unavailable";
|
|
1731
|
+
payload_unavailable: "payload_unavailable";
|
|
1732
|
+
read_failed: "read_failed";
|
|
1492
1733
|
}>;
|
|
1493
1734
|
export type EventLogPayloadStreamError = z.infer<typeof EventLogPayloadStreamError>;
|
|
1494
1735
|
/** Platform → orchestrator: begin streaming the body for a delivery. */
|
|
@@ -1546,12 +1787,12 @@ export declare const dashboardEventLogPayloadChunkSchema: z.ZodObject<{
|
|
|
1546
1787
|
data: z.ZodString;
|
|
1547
1788
|
isLast: z.ZodBoolean;
|
|
1548
1789
|
error: z.ZodOptional<z.ZodEnum<{
|
|
1549
|
-
payload_unavailable: "payload_unavailable";
|
|
1550
|
-
not_found: "not_found";
|
|
1551
|
-
read_failed: "read_failed";
|
|
1552
1790
|
forbidden: "forbidden";
|
|
1791
|
+
not_found: "not_found";
|
|
1553
1792
|
orch_stream_timeout: "orch_stream_timeout";
|
|
1554
1793
|
orchestrator_unavailable: "orchestrator_unavailable";
|
|
1794
|
+
payload_unavailable: "payload_unavailable";
|
|
1795
|
+
read_failed: "read_failed";
|
|
1555
1796
|
}>>;
|
|
1556
1797
|
totalBytes: z.ZodOptional<z.ZodNumber>;
|
|
1557
1798
|
}, z.core.$strip>;
|
|
@@ -1568,12 +1809,12 @@ export declare const browserEventLogPayloadChunkSchema: z.ZodObject<{
|
|
|
1568
1809
|
data: z.ZodString;
|
|
1569
1810
|
isLast: z.ZodBoolean;
|
|
1570
1811
|
error: z.ZodOptional<z.ZodEnum<{
|
|
1571
|
-
payload_unavailable: "payload_unavailable";
|
|
1572
|
-
not_found: "not_found";
|
|
1573
|
-
read_failed: "read_failed";
|
|
1574
1812
|
forbidden: "forbidden";
|
|
1813
|
+
not_found: "not_found";
|
|
1575
1814
|
orch_stream_timeout: "orch_stream_timeout";
|
|
1576
1815
|
orchestrator_unavailable: "orchestrator_unavailable";
|
|
1816
|
+
payload_unavailable: "payload_unavailable";
|
|
1817
|
+
read_failed: "read_failed";
|
|
1577
1818
|
}>>;
|
|
1578
1819
|
totalBytes: z.ZodOptional<z.ZodNumber>;
|
|
1579
1820
|
}, z.core.$strip>;
|
|
@@ -1862,8 +2103,8 @@ declare const contextGetResponseSchema: z.ZodObject<{
|
|
|
1862
2103
|
branchRestrictions: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
1863
2104
|
concurrencyLimit: z.ZodNullable<z.ZodNumber>;
|
|
1864
2105
|
concurrencyStrategy: z.ZodNullable<z.ZodEnum<{
|
|
1865
|
-
queue: "queue";
|
|
1866
2106
|
"cancel-pending": "cancel-pending";
|
|
2107
|
+
queue: "queue";
|
|
1867
2108
|
}>>;
|
|
1868
2109
|
requiredReviewers: z.ZodNullable<z.ZodNumber>;
|
|
1869
2110
|
waitTimerSeconds: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1914,8 +2155,8 @@ export declare const contextCreateRequestSchema: z.ZodObject<{
|
|
|
1914
2155
|
branchRestrictions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1915
2156
|
concurrencyLimit: z.ZodOptional<z.ZodNumber>;
|
|
1916
2157
|
concurrencyStrategy: z.ZodOptional<z.ZodEnum<{
|
|
1917
|
-
queue: "queue";
|
|
1918
2158
|
"cancel-pending": "cancel-pending";
|
|
2159
|
+
queue: "queue";
|
|
1919
2160
|
}>>;
|
|
1920
2161
|
requiredReviewers: z.ZodOptional<z.ZodNumber>;
|
|
1921
2162
|
waitTimerSeconds: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1963,8 +2204,8 @@ export declare const contextUpdateRequestSchema: z.ZodObject<{
|
|
|
1963
2204
|
branchRestrictions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
1964
2205
|
concurrencyLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1965
2206
|
concurrencyStrategy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1966
|
-
queue: "queue";
|
|
1967
2207
|
"cancel-pending": "cancel-pending";
|
|
2208
|
+
queue: "queue";
|
|
1968
2209
|
}>>>;
|
|
1969
2210
|
requiredReviewers: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1970
2211
|
waitTimerSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -2093,7 +2334,15 @@ declare const contextVarsListResponseSchema: z.ZodObject<{
|
|
|
2093
2334
|
}, z.core.$strip>>>;
|
|
2094
2335
|
error: z.ZodOptional<z.ZodString>;
|
|
2095
2336
|
}, z.core.$strip>;
|
|
2096
|
-
/**
|
|
2337
|
+
/**
|
|
2338
|
+
* Set (create or update) a variable on an context.
|
|
2339
|
+
*
|
|
2340
|
+
* Under the `permissive` posture the browser sends the plaintext `value`.
|
|
2341
|
+
* Under the `encrypted` posture it sends a `sealed` envelope instead (the value
|
|
2342
|
+
* sealed to the orchestrator's X25519 key in the browser). Exactly one of
|
|
2343
|
+
* `value` / `sealed` is present; `value` stays optional for backward
|
|
2344
|
+
* compatibility with older dashboards that only ever send plaintext.
|
|
2345
|
+
*/
|
|
2097
2346
|
export declare const contextVarSetRequestSchema: z.ZodObject<{
|
|
2098
2347
|
type: z.ZodLiteral<"dashboard.contexts.variables.set">;
|
|
2099
2348
|
requestId: z.ZodString;
|
|
@@ -2125,7 +2374,12 @@ export declare const contextVarSetRequestSchema: z.ZodObject<{
|
|
|
2125
2374
|
}, z.core.$strip>], "type">;
|
|
2126
2375
|
contextId: z.ZodString;
|
|
2127
2376
|
key: z.ZodString;
|
|
2128
|
-
value: z.ZodString
|
|
2377
|
+
value: z.ZodOptional<z.ZodString>;
|
|
2378
|
+
sealed: z.ZodOptional<z.ZodObject<{
|
|
2379
|
+
keyId: z.ZodString;
|
|
2380
|
+
ephemeralPublicKey: z.ZodString;
|
|
2381
|
+
encrypted: z.ZodString;
|
|
2382
|
+
}, z.core.$strip>>;
|
|
2129
2383
|
locked: z.ZodOptional<z.ZodBoolean>;
|
|
2130
2384
|
}, z.core.$strip>;
|
|
2131
2385
|
/** Delete a variable from an context. */
|
|
@@ -2372,7 +2626,15 @@ export declare const contextSecretsListRequestSchema: z.ZodObject<{
|
|
|
2372
2626
|
component: z.ZodString;
|
|
2373
2627
|
}, z.core.$strip>], "type">;
|
|
2374
2628
|
}, z.core.$strip>;
|
|
2375
|
-
/**
|
|
2629
|
+
/**
|
|
2630
|
+
* Set (create or update) a scoped secret.
|
|
2631
|
+
*
|
|
2632
|
+
* Under the `permissive` posture the browser sends the plaintext `value`.
|
|
2633
|
+
* Under the `encrypted` posture it sends a `sealed` envelope instead (the value
|
|
2634
|
+
* sealed to the orchestrator's X25519 key in the browser). Exactly one of
|
|
2635
|
+
* `value` / `sealed` is present; `value` stays optional for backward
|
|
2636
|
+
* compatibility with older dashboards that only ever send plaintext.
|
|
2637
|
+
*/
|
|
2376
2638
|
export declare const contextSecretSetRequestSchema: z.ZodObject<{
|
|
2377
2639
|
type: z.ZodLiteral<"dashboard.contexts.secrets.set">;
|
|
2378
2640
|
requestId: z.ZodString;
|
|
@@ -2404,7 +2666,12 @@ export declare const contextSecretSetRequestSchema: z.ZodObject<{
|
|
|
2404
2666
|
}, z.core.$strip>], "type">;
|
|
2405
2667
|
scope: z.ZodString;
|
|
2406
2668
|
key: z.ZodString;
|
|
2407
|
-
value: z.ZodString
|
|
2669
|
+
value: z.ZodOptional<z.ZodString>;
|
|
2670
|
+
sealed: z.ZodOptional<z.ZodObject<{
|
|
2671
|
+
keyId: z.ZodString;
|
|
2672
|
+
ephemeralPublicKey: z.ZodString;
|
|
2673
|
+
encrypted: z.ZodString;
|
|
2674
|
+
}, z.core.$strip>>;
|
|
2408
2675
|
}, z.core.$strip>;
|
|
2409
2676
|
/** Delete a scoped secret. */
|
|
2410
2677
|
export declare const contextSecretDeleteRequestSchema: z.ZodObject<{
|
|
@@ -2570,14 +2837,36 @@ export declare const contextHistoryRequestSchema: z.ZodObject<{
|
|
|
2570
2837
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
2571
2838
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
2572
2839
|
}, z.core.$strip>;
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2840
|
+
export declare const contextHistoryResponseSchema: z.ZodObject<{
|
|
2841
|
+
type: z.ZodLiteral<"dashboard.contexts.history.response">;
|
|
2842
|
+
requestId: z.ZodString;
|
|
2843
|
+
runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2844
|
+
id: z.ZodString;
|
|
2845
|
+
runId: z.ZodString;
|
|
2846
|
+
workflowName: z.ZodString;
|
|
2847
|
+
status: z.ZodString;
|
|
2848
|
+
branch: z.ZodNullable<z.ZodString>;
|
|
2849
|
+
commitSha: z.ZodNullable<z.ZodString>;
|
|
2850
|
+
startedAt: z.ZodNullable<z.ZodCoercedString<unknown>>;
|
|
2851
|
+
completedAt: z.ZodNullable<z.ZodCoercedString<unknown>>;
|
|
2852
|
+
context: z.ZodNullable<z.ZodString>;
|
|
2853
|
+
}, z.core.$strip>>>;
|
|
2854
|
+
hasMore: z.ZodOptional<z.ZodBoolean>;
|
|
2855
|
+
error: z.ZodOptional<z.ZodString>;
|
|
2856
|
+
}, z.core.$strip>;
|
|
2857
|
+
/**
|
|
2858
|
+
* Known held-run statuses — the vocabulary the dashboard renders a labelled
|
|
2859
|
+
* badge and a queue tab for, and the vocabulary a client may filter the list
|
|
2860
|
+
* by. Defined in `context/held-run-status.ts` and re-exported here so the
|
|
2861
|
+
* domain types and the wire schema cannot carry divergent copies; a parity test
|
|
2862
|
+
* in the orchestrator asserts these options match every status it persists.
|
|
2863
|
+
*
|
|
2864
|
+
* This is deliberately NOT the wire type of the response field:
|
|
2865
|
+
* `held_runs.status` is a plain-text column owned by a customer-deployed
|
|
2866
|
+
* orchestrator, so the response carries `z.string()` (see
|
|
2867
|
+
* `heldRunsListResponseSchema`) and this enum is what the UI switches on.
|
|
2868
|
+
*/
|
|
2869
|
+
export { HeldRunStatus } from '../../context/held-run-status.js';
|
|
2581
2870
|
/** Queue type for held runs. */
|
|
2582
2871
|
export declare const HeldRunQueueType: z.ZodEnum<{
|
|
2583
2872
|
context: "context";
|
|
@@ -2615,16 +2904,18 @@ export declare const heldRunsListRequestSchema: z.ZodObject<{
|
|
|
2615
2904
|
component: z.ZodString;
|
|
2616
2905
|
}, z.core.$strip>], "type">;
|
|
2617
2906
|
status: z.ZodOptional<z.ZodEnum<{
|
|
2618
|
-
pending: "pending";
|
|
2619
2907
|
approved: "approved";
|
|
2620
|
-
rejected: "rejected";
|
|
2621
2908
|
expired: "expired";
|
|
2909
|
+
pending: "pending";
|
|
2910
|
+
rejected: "rejected";
|
|
2911
|
+
released: "released";
|
|
2622
2912
|
}>>;
|
|
2623
2913
|
queueType: z.ZodOptional<z.ZodEnum<{
|
|
2624
2914
|
context: "context";
|
|
2625
2915
|
security: "security";
|
|
2626
2916
|
}>>;
|
|
2627
2917
|
runId: z.ZodOptional<z.ZodString>;
|
|
2918
|
+
heldRunId: z.ZodOptional<z.ZodString>;
|
|
2628
2919
|
orgId: z.ZodOptional<z.ZodString>;
|
|
2629
2920
|
}, z.core.$strip>;
|
|
2630
2921
|
declare const heldRunsListResponseSchema: z.ZodObject<{
|
|
@@ -2636,16 +2927,8 @@ declare const heldRunsListResponseSchema: z.ZodObject<{
|
|
|
2636
2927
|
contextId: z.ZodNullable<z.ZodString>;
|
|
2637
2928
|
contextName: z.ZodNullable<z.ZodString>;
|
|
2638
2929
|
holdType: z.ZodString;
|
|
2639
|
-
queueType: z.
|
|
2640
|
-
|
|
2641
|
-
security: "security";
|
|
2642
|
-
}>;
|
|
2643
|
-
status: z.ZodEnum<{
|
|
2644
|
-
pending: "pending";
|
|
2645
|
-
approved: "approved";
|
|
2646
|
-
rejected: "rejected";
|
|
2647
|
-
expired: "expired";
|
|
2648
|
-
}>;
|
|
2930
|
+
queueType: z.ZodString;
|
|
2931
|
+
status: z.ZodString;
|
|
2649
2932
|
requestedAt: z.ZodCoercedString<unknown>;
|
|
2650
2933
|
resolvedAt: z.ZodNullable<z.ZodCoercedString<unknown>>;
|
|
2651
2934
|
resolvedBy: z.ZodNullable<z.ZodString>;
|
|
@@ -2655,9 +2938,9 @@ declare const heldRunsListResponseSchema: z.ZodObject<{
|
|
|
2655
2938
|
trustTier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2656
2939
|
jobId: z.ZodOptional<z.ZodString>;
|
|
2657
2940
|
holdScope: z.ZodOptional<z.ZodEnum<{
|
|
2658
|
-
workflow: "workflow";
|
|
2659
2941
|
job: "job";
|
|
2660
2942
|
step: "step";
|
|
2943
|
+
workflow: "workflow";
|
|
2661
2944
|
}>>;
|
|
2662
2945
|
stepIndex: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2663
2946
|
requirement: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -2798,9 +3081,9 @@ export declare const fleetPinnedRunSchema: z.ZodObject<{
|
|
|
2798
3081
|
export type FleetPinnedRun = z.infer<typeof fleetPinnedRunSchema>;
|
|
2799
3082
|
/** How a runsOnAll fan-out would treat one host, given its current reachability. */
|
|
2800
3083
|
export declare const FleetHostDisposition: z.ZodEnum<{
|
|
3084
|
+
"skipped-ephemeral": "skipped-ephemeral";
|
|
2801
3085
|
target: "target";
|
|
2802
3086
|
"unreachable-durable": "unreachable-durable";
|
|
2803
|
-
"skipped-ephemeral": "skipped-ephemeral";
|
|
2804
3087
|
}>;
|
|
2805
3088
|
export type FleetHostDisposition = z.infer<typeof FleetHostDisposition>;
|
|
2806
3089
|
/** A host matched by a runsOnAll preview, plus how the fan-out would treat it. */
|
|
@@ -2813,20 +3096,20 @@ export declare const fleetPreviewHostSchema: z.ZodObject<{
|
|
|
2813
3096
|
platform: z.ZodNullable<z.ZodString>;
|
|
2814
3097
|
arch: z.ZodNullable<z.ZodString>;
|
|
2815
3098
|
lifecycleClass: z.ZodEnum<{
|
|
2816
|
-
static: "static";
|
|
2817
3099
|
ephemeral: "ephemeral";
|
|
3100
|
+
static: "static";
|
|
2818
3101
|
}>;
|
|
2819
3102
|
status: z.ZodEnum<{
|
|
2820
3103
|
ready: "ready";
|
|
2821
|
-
unreachable: "unreachable";
|
|
2822
3104
|
stale: "stale";
|
|
3105
|
+
unreachable: "unreachable";
|
|
2823
3106
|
}>;
|
|
2824
3107
|
lastSeen: z.ZodString;
|
|
2825
3108
|
}, z.core.$strip>;
|
|
2826
3109
|
disposition: z.ZodEnum<{
|
|
3110
|
+
"skipped-ephemeral": "skipped-ephemeral";
|
|
2827
3111
|
target: "target";
|
|
2828
3112
|
"unreachable-durable": "unreachable-durable";
|
|
2829
|
-
"skipped-ephemeral": "skipped-ephemeral";
|
|
2830
3113
|
}>;
|
|
2831
3114
|
}, z.core.$strip>;
|
|
2832
3115
|
export type FleetPreviewHost = z.infer<typeof fleetPreviewHostSchema>;
|
|
@@ -2933,13 +3216,13 @@ export declare const dashboardFleetHostsResponseSchema: z.ZodObject<{
|
|
|
2933
3216
|
platform: z.ZodNullable<z.ZodString>;
|
|
2934
3217
|
arch: z.ZodNullable<z.ZodString>;
|
|
2935
3218
|
lifecycleClass: z.ZodEnum<{
|
|
2936
|
-
static: "static";
|
|
2937
3219
|
ephemeral: "ephemeral";
|
|
3220
|
+
static: "static";
|
|
2938
3221
|
}>;
|
|
2939
3222
|
status: z.ZodEnum<{
|
|
2940
3223
|
ready: "ready";
|
|
2941
|
-
unreachable: "unreachable";
|
|
2942
3224
|
stale: "stale";
|
|
3225
|
+
unreachable: "unreachable";
|
|
2943
3226
|
}>;
|
|
2944
3227
|
lastSeen: z.ZodString;
|
|
2945
3228
|
}, z.core.$strip>>;
|
|
@@ -2955,13 +3238,13 @@ export declare const dashboardFleetHostResponseSchema: z.ZodObject<{
|
|
|
2955
3238
|
platform: z.ZodNullable<z.ZodString>;
|
|
2956
3239
|
arch: z.ZodNullable<z.ZodString>;
|
|
2957
3240
|
lifecycleClass: z.ZodEnum<{
|
|
2958
|
-
static: "static";
|
|
2959
3241
|
ephemeral: "ephemeral";
|
|
3242
|
+
static: "static";
|
|
2960
3243
|
}>;
|
|
2961
3244
|
status: z.ZodEnum<{
|
|
2962
3245
|
ready: "ready";
|
|
2963
|
-
unreachable: "unreachable";
|
|
2964
3246
|
stale: "stale";
|
|
3247
|
+
unreachable: "unreachable";
|
|
2965
3248
|
}>;
|
|
2966
3249
|
lastSeen: z.ZodString;
|
|
2967
3250
|
}, z.core.$strip>>;
|
|
@@ -2984,26 +3267,26 @@ export declare const dashboardFleetPreviewResponseSchema: z.ZodObject<{
|
|
|
2984
3267
|
platform: z.ZodNullable<z.ZodString>;
|
|
2985
3268
|
arch: z.ZodNullable<z.ZodString>;
|
|
2986
3269
|
lifecycleClass: z.ZodEnum<{
|
|
2987
|
-
static: "static";
|
|
2988
3270
|
ephemeral: "ephemeral";
|
|
3271
|
+
static: "static";
|
|
2989
3272
|
}>;
|
|
2990
3273
|
status: z.ZodEnum<{
|
|
2991
3274
|
ready: "ready";
|
|
2992
|
-
unreachable: "unreachable";
|
|
2993
3275
|
stale: "stale";
|
|
3276
|
+
unreachable: "unreachable";
|
|
2994
3277
|
}>;
|
|
2995
3278
|
lastSeen: z.ZodString;
|
|
2996
3279
|
}, z.core.$strip>;
|
|
2997
3280
|
disposition: z.ZodEnum<{
|
|
3281
|
+
"skipped-ephemeral": "skipped-ephemeral";
|
|
2998
3282
|
target: "target";
|
|
2999
3283
|
"unreachable-durable": "unreachable-durable";
|
|
3000
|
-
"skipped-ephemeral": "skipped-ephemeral";
|
|
3001
3284
|
}>;
|
|
3002
3285
|
}, z.core.$strip>>;
|
|
3003
3286
|
onUnreachable: z.ZodEnum<{
|
|
3287
|
+
fail: "fail";
|
|
3004
3288
|
hold: "hold";
|
|
3005
3289
|
skip: "skip";
|
|
3006
|
-
fail: "fail";
|
|
3007
3290
|
}>;
|
|
3008
3291
|
estimatedChildCount: z.ZodNumber;
|
|
3009
3292
|
}, z.core.$strip>;
|
|
@@ -3051,14 +3334,14 @@ export declare const fleetHostWorkflowSchema: z.ZodObject<{
|
|
|
3051
3334
|
repoIdentifier: z.ZodString;
|
|
3052
3335
|
sourceFile: z.ZodNullable<z.ZodString>;
|
|
3053
3336
|
onUnreachable: z.ZodEnum<{
|
|
3337
|
+
fail: "fail";
|
|
3054
3338
|
hold: "hold";
|
|
3055
3339
|
skip: "skip";
|
|
3056
|
-
fail: "fail";
|
|
3057
3340
|
}>;
|
|
3058
3341
|
disposition: z.ZodEnum<{
|
|
3342
|
+
"skipped-ephemeral": "skipped-ephemeral";
|
|
3059
3343
|
target: "target";
|
|
3060
3344
|
"unreachable-durable": "unreachable-durable";
|
|
3061
|
-
"skipped-ephemeral": "skipped-ephemeral";
|
|
3062
3345
|
}>;
|
|
3063
3346
|
}, z.core.$strip>;
|
|
3064
3347
|
export type FleetHostWorkflow = z.infer<typeof fleetHostWorkflowSchema>;
|
|
@@ -3070,14 +3353,14 @@ export declare const dashboardFleetWorkflowsForHostResponseSchema: z.ZodObject<{
|
|
|
3070
3353
|
repoIdentifier: z.ZodString;
|
|
3071
3354
|
sourceFile: z.ZodNullable<z.ZodString>;
|
|
3072
3355
|
onUnreachable: z.ZodEnum<{
|
|
3356
|
+
fail: "fail";
|
|
3073
3357
|
hold: "hold";
|
|
3074
3358
|
skip: "skip";
|
|
3075
|
-
fail: "fail";
|
|
3076
3359
|
}>;
|
|
3077
3360
|
disposition: z.ZodEnum<{
|
|
3361
|
+
"skipped-ephemeral": "skipped-ephemeral";
|
|
3078
3362
|
target: "target";
|
|
3079
3363
|
"unreachable-durable": "unreachable-durable";
|
|
3080
|
-
"skipped-ephemeral": "skipped-ephemeral";
|
|
3081
3364
|
}>;
|
|
3082
3365
|
}, z.core.$strip>>;
|
|
3083
3366
|
}, z.core.$strip>;
|
|
@@ -3208,8 +3491,8 @@ declare const diagnosticsPeerSchema: z.ZodObject<{
|
|
|
3208
3491
|
dependencyHealth: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3209
3492
|
name: z.ZodString;
|
|
3210
3493
|
status: z.ZodEnum<{
|
|
3211
|
-
pass: "pass";
|
|
3212
3494
|
fail: "fail";
|
|
3495
|
+
pass: "pass";
|
|
3213
3496
|
warn: "warn";
|
|
3214
3497
|
}>;
|
|
3215
3498
|
message: z.ZodNullable<z.ZodString>;
|
|
@@ -3247,8 +3530,8 @@ export declare const dashboardDiagnosticsResponseSchema: z.ZodObject<{
|
|
|
3247
3530
|
runningAsUser: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3248
3531
|
runningAsUid: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3249
3532
|
raftRole: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
3250
|
-
follower: "follower";
|
|
3251
3533
|
candidate: "candidate";
|
|
3534
|
+
follower: "follower";
|
|
3252
3535
|
leader: "leader";
|
|
3253
3536
|
}>>>;
|
|
3254
3537
|
raftTerm: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -3282,8 +3565,8 @@ export declare const dashboardDiagnosticsResponseSchema: z.ZodObject<{
|
|
|
3282
3565
|
scalers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3283
3566
|
name: z.ZodString;
|
|
3284
3567
|
type: z.ZodEnum<{
|
|
3285
|
-
container: "container";
|
|
3286
3568
|
"bare-metal": "bare-metal";
|
|
3569
|
+
container: "container";
|
|
3287
3570
|
firecracker: "firecracker";
|
|
3288
3571
|
kubernetes: "kubernetes";
|
|
3289
3572
|
}>;
|
|
@@ -3333,8 +3616,8 @@ export declare const dashboardDiagnosticsResponseSchema: z.ZodObject<{
|
|
|
3333
3616
|
dependencyHealth: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3334
3617
|
name: z.ZodString;
|
|
3335
3618
|
status: z.ZodEnum<{
|
|
3336
|
-
pass: "pass";
|
|
3337
3619
|
fail: "fail";
|
|
3620
|
+
pass: "pass";
|
|
3338
3621
|
warn: "warn";
|
|
3339
3622
|
}>;
|
|
3340
3623
|
message: z.ZodNullable<z.ZodString>;
|
|
@@ -3570,10 +3853,10 @@ export declare const registrationItemSchema: z.ZodObject<{
|
|
|
3570
3853
|
routingKey: z.ZodString;
|
|
3571
3854
|
name: z.ZodNullable<z.ZodString>;
|
|
3572
3855
|
subtype: z.ZodNullable<z.ZodEnum<{
|
|
3573
|
-
github_app: "github_app";
|
|
3574
3856
|
generic_webhook: "generic_webhook";
|
|
3575
|
-
|
|
3857
|
+
github_app: "github_app";
|
|
3576
3858
|
local: "local";
|
|
3859
|
+
universal_git: "universal_git";
|
|
3577
3860
|
}>>;
|
|
3578
3861
|
provider: z.ZodString;
|
|
3579
3862
|
}, z.core.$strip>>>;
|
|
@@ -3600,10 +3883,10 @@ export declare const registrationsListResponseSchema: z.ZodObject<{
|
|
|
3600
3883
|
routingKey: z.ZodString;
|
|
3601
3884
|
name: z.ZodNullable<z.ZodString>;
|
|
3602
3885
|
subtype: z.ZodNullable<z.ZodEnum<{
|
|
3603
|
-
github_app: "github_app";
|
|
3604
3886
|
generic_webhook: "generic_webhook";
|
|
3605
|
-
|
|
3887
|
+
github_app: "github_app";
|
|
3606
3888
|
local: "local";
|
|
3889
|
+
universal_git: "universal_git";
|
|
3607
3890
|
}>>;
|
|
3608
3891
|
provider: z.ZodString;
|
|
3609
3892
|
}, z.core.$strip>>>;
|
|
@@ -3655,10 +3938,10 @@ export declare const backendItemSchema: z.ZodObject<{
|
|
|
3655
3938
|
syncIntervalMs: z.ZodNumber;
|
|
3656
3939
|
enabled: z.ZodBoolean;
|
|
3657
3940
|
healthStatus: z.ZodEnum<{
|
|
3941
|
+
degraded: "degraded";
|
|
3942
|
+
healthy: "healthy";
|
|
3658
3943
|
unknown: "unknown";
|
|
3659
3944
|
unreachable: "unreachable";
|
|
3660
|
-
healthy: "healthy";
|
|
3661
|
-
degraded: "degraded";
|
|
3662
3945
|
}>;
|
|
3663
3946
|
scopeCount: z.ZodNumber;
|
|
3664
3947
|
lastSyncAt: z.ZodNullable<z.ZodString>;
|
|
@@ -3682,10 +3965,10 @@ export declare const backendsListResponseSchema: z.ZodObject<{
|
|
|
3682
3965
|
syncIntervalMs: z.ZodNumber;
|
|
3683
3966
|
enabled: z.ZodBoolean;
|
|
3684
3967
|
healthStatus: z.ZodEnum<{
|
|
3968
|
+
degraded: "degraded";
|
|
3969
|
+
healthy: "healthy";
|
|
3685
3970
|
unknown: "unknown";
|
|
3686
3971
|
unreachable: "unreachable";
|
|
3687
|
-
healthy: "healthy";
|
|
3688
|
-
degraded: "degraded";
|
|
3689
3972
|
}>;
|
|
3690
3973
|
scopeCount: z.ZodNumber;
|
|
3691
3974
|
lastSyncAt: z.ZodNullable<z.ZodString>;
|
|
@@ -3743,10 +4026,10 @@ export declare const backendGetResponseSchema: z.ZodObject<{
|
|
|
3743
4026
|
syncIntervalMs: z.ZodNumber;
|
|
3744
4027
|
enabled: z.ZodBoolean;
|
|
3745
4028
|
healthStatus: z.ZodEnum<{
|
|
4029
|
+
degraded: "degraded";
|
|
4030
|
+
healthy: "healthy";
|
|
3746
4031
|
unknown: "unknown";
|
|
3747
4032
|
unreachable: "unreachable";
|
|
3748
|
-
healthy: "healthy";
|
|
3749
|
-
degraded: "degraded";
|
|
3750
4033
|
}>;
|
|
3751
4034
|
scopeCount: z.ZodNumber;
|
|
3752
4035
|
lastSyncAt: z.ZodNullable<z.ZodString>;
|
|
@@ -3877,11 +4160,11 @@ export declare const backendTestResponseSchema: z.ZodObject<{
|
|
|
3877
4160
|
}, z.core.$strip>;
|
|
3878
4161
|
/** Enum of the five test-relay control message types (request side). */
|
|
3879
4162
|
export declare const TestRelayType: z.ZodEnum<{
|
|
3880
|
-
"test.relay.uploads.init": "test.relay.uploads.init";
|
|
3881
|
-
"test.relay.trigger": "test.relay.trigger";
|
|
3882
|
-
"test.relay.run.status": "test.relay.run.status";
|
|
3883
|
-
"test.relay.run.logs": "test.relay.run.logs";
|
|
3884
4163
|
"test.relay.cancel": "test.relay.cancel";
|
|
4164
|
+
"test.relay.run.logs": "test.relay.run.logs";
|
|
4165
|
+
"test.relay.run.status": "test.relay.run.status";
|
|
4166
|
+
"test.relay.trigger": "test.relay.trigger";
|
|
4167
|
+
"test.relay.uploads.init": "test.relay.uploads.init";
|
|
3885
4168
|
}>;
|
|
3886
4169
|
export type TestRelayType = z.infer<typeof TestRelayType>;
|
|
3887
4170
|
/** Request an external presigned upload URL for the overlay tarball. */
|
|
@@ -4014,8 +4297,8 @@ export declare const testRelayTriggerResponseSchema: z.ZodObject<{
|
|
|
4014
4297
|
requestId: z.ZodString;
|
|
4015
4298
|
runId: z.ZodOptional<z.ZodString>;
|
|
4016
4299
|
status: z.ZodOptional<z.ZodEnum<{
|
|
4017
|
-
rejected: "rejected";
|
|
4018
4300
|
accepted: "accepted";
|
|
4301
|
+
rejected: "rejected";
|
|
4019
4302
|
}>>;
|
|
4020
4303
|
reason: z.ZodOptional<z.ZodString>;
|
|
4021
4304
|
jobIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -4222,6 +4505,36 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
4222
4505
|
component: z.ZodString;
|
|
4223
4506
|
}, z.core.$strip>], "type">;
|
|
4224
4507
|
runId: z.ZodString;
|
|
4508
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4509
|
+
type: z.ZodLiteral<"dashboard.run.state">;
|
|
4510
|
+
requestId: z.ZodString;
|
|
4511
|
+
actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4512
|
+
type: z.ZodLiteral<"user">;
|
|
4513
|
+
sub: z.ZodString;
|
|
4514
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
4515
|
+
patId: z.ZodString;
|
|
4516
|
+
label: z.ZodString;
|
|
4517
|
+
}, z.core.$strip>>;
|
|
4518
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4519
|
+
type: z.ZodLiteral<"api_key">;
|
|
4520
|
+
keyId: z.ZodString;
|
|
4521
|
+
ownerSub: z.ZodString;
|
|
4522
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
4523
|
+
label: z.ZodString;
|
|
4524
|
+
}, z.core.$strip>>;
|
|
4525
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4526
|
+
type: z.ZodLiteral<"service_account">;
|
|
4527
|
+
id: z.ZodString;
|
|
4528
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4529
|
+
type: z.ZodLiteral<"platform_operator">;
|
|
4530
|
+
sub: z.ZodString;
|
|
4531
|
+
reason: z.ZodString;
|
|
4532
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
4533
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4534
|
+
type: z.ZodLiteral<"system">;
|
|
4535
|
+
component: z.ZodString;
|
|
4536
|
+
}, z.core.$strip>], "type">;
|
|
4537
|
+
runId: z.ZodString;
|
|
4225
4538
|
}, z.core.$strip>, z.ZodObject<{
|
|
4226
4539
|
type: z.ZodLiteral<"dashboard.step.logs">;
|
|
4227
4540
|
requestId: z.ZodString;
|
|
@@ -4321,10 +4634,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
4321
4634
|
digest: z.ZodOptional<z.ZodString>;
|
|
4322
4635
|
name: z.ZodOptional<z.ZodString>;
|
|
4323
4636
|
status: z.ZodOptional<z.ZodEnum<{
|
|
4324
|
-
pending: "pending";
|
|
4325
4637
|
failed: "failed";
|
|
4326
|
-
|
|
4638
|
+
pending: "pending";
|
|
4327
4639
|
unverifiable: "unverifiable";
|
|
4640
|
+
verified: "verified";
|
|
4328
4641
|
}>>;
|
|
4329
4642
|
repository: z.ZodOptional<z.ZodString>;
|
|
4330
4643
|
workflow: z.ZodOptional<z.ZodString>;
|
|
@@ -4392,6 +4705,36 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
4392
4705
|
component: z.ZodString;
|
|
4393
4706
|
}, z.core.$strip>], "type">;
|
|
4394
4707
|
runId: z.ZodOptional<z.ZodString>;
|
|
4708
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4709
|
+
type: z.ZodLiteral<"dashboard.artifacts.list">;
|
|
4710
|
+
requestId: z.ZodString;
|
|
4711
|
+
actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4712
|
+
type: z.ZodLiteral<"user">;
|
|
4713
|
+
sub: z.ZodString;
|
|
4714
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
4715
|
+
patId: z.ZodString;
|
|
4716
|
+
label: z.ZodString;
|
|
4717
|
+
}, z.core.$strip>>;
|
|
4718
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4719
|
+
type: z.ZodLiteral<"api_key">;
|
|
4720
|
+
keyId: z.ZodString;
|
|
4721
|
+
ownerSub: z.ZodString;
|
|
4722
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
4723
|
+
label: z.ZodString;
|
|
4724
|
+
}, z.core.$strip>>;
|
|
4725
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4726
|
+
type: z.ZodLiteral<"service_account">;
|
|
4727
|
+
id: z.ZodString;
|
|
4728
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4729
|
+
type: z.ZodLiteral<"platform_operator">;
|
|
4730
|
+
sub: z.ZodString;
|
|
4731
|
+
reason: z.ZodString;
|
|
4732
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
4733
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4734
|
+
type: z.ZodLiteral<"system">;
|
|
4735
|
+
component: z.ZodString;
|
|
4736
|
+
}, z.core.$strip>], "type">;
|
|
4737
|
+
runId: z.ZodString;
|
|
4395
4738
|
}, z.core.$strip>, z.ZodObject<{
|
|
4396
4739
|
type: z.ZodLiteral<"dashboard.runs.list">;
|
|
4397
4740
|
requestId: z.ZodString;
|
|
@@ -4736,8 +5079,8 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
4736
5079
|
branchRestrictions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4737
5080
|
concurrencyLimit: z.ZodOptional<z.ZodNumber>;
|
|
4738
5081
|
concurrencyStrategy: z.ZodOptional<z.ZodEnum<{
|
|
4739
|
-
queue: "queue";
|
|
4740
5082
|
"cancel-pending": "cancel-pending";
|
|
5083
|
+
queue: "queue";
|
|
4741
5084
|
}>>;
|
|
4742
5085
|
requiredReviewers: z.ZodOptional<z.ZodNumber>;
|
|
4743
5086
|
waitTimerSeconds: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4783,8 +5126,8 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
4783
5126
|
branchRestrictions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
4784
5127
|
concurrencyLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4785
5128
|
concurrencyStrategy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
4786
|
-
queue: "queue";
|
|
4787
5129
|
"cancel-pending": "cancel-pending";
|
|
5130
|
+
queue: "queue";
|
|
4788
5131
|
}>>>;
|
|
4789
5132
|
requiredReviewers: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4790
5133
|
waitTimerSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -4913,7 +5256,12 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
4913
5256
|
}, z.core.$strip>], "type">;
|
|
4914
5257
|
contextId: z.ZodString;
|
|
4915
5258
|
key: z.ZodString;
|
|
4916
|
-
value: z.ZodString
|
|
5259
|
+
value: z.ZodOptional<z.ZodString>;
|
|
5260
|
+
sealed: z.ZodOptional<z.ZodObject<{
|
|
5261
|
+
keyId: z.ZodString;
|
|
5262
|
+
ephemeralPublicKey: z.ZodString;
|
|
5263
|
+
encrypted: z.ZodString;
|
|
5264
|
+
}, z.core.$strip>>;
|
|
4917
5265
|
locked: z.ZodOptional<z.ZodBoolean>;
|
|
4918
5266
|
}, z.core.$strip>, z.ZodObject<{
|
|
4919
5267
|
type: z.ZodLiteral<"dashboard.contexts.variables.delete">;
|
|
@@ -5166,7 +5514,12 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
5166
5514
|
}, z.core.$strip>], "type">;
|
|
5167
5515
|
scope: z.ZodString;
|
|
5168
5516
|
key: z.ZodString;
|
|
5169
|
-
value: z.ZodString
|
|
5517
|
+
value: z.ZodOptional<z.ZodString>;
|
|
5518
|
+
sealed: z.ZodOptional<z.ZodObject<{
|
|
5519
|
+
keyId: z.ZodString;
|
|
5520
|
+
ephemeralPublicKey: z.ZodString;
|
|
5521
|
+
encrypted: z.ZodString;
|
|
5522
|
+
}, z.core.$strip>>;
|
|
5170
5523
|
}, z.core.$strip>, z.ZodObject<{
|
|
5171
5524
|
type: z.ZodLiteral<"dashboard.contexts.secrets.delete">;
|
|
5172
5525
|
requestId: z.ZodString;
|
|
@@ -5351,16 +5704,18 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
5351
5704
|
component: z.ZodString;
|
|
5352
5705
|
}, z.core.$strip>], "type">;
|
|
5353
5706
|
status: z.ZodOptional<z.ZodEnum<{
|
|
5354
|
-
pending: "pending";
|
|
5355
5707
|
approved: "approved";
|
|
5356
|
-
rejected: "rejected";
|
|
5357
5708
|
expired: "expired";
|
|
5709
|
+
pending: "pending";
|
|
5710
|
+
rejected: "rejected";
|
|
5711
|
+
released: "released";
|
|
5358
5712
|
}>>;
|
|
5359
5713
|
queueType: z.ZodOptional<z.ZodEnum<{
|
|
5360
5714
|
context: "context";
|
|
5361
5715
|
security: "security";
|
|
5362
5716
|
}>>;
|
|
5363
5717
|
runId: z.ZodOptional<z.ZodString>;
|
|
5718
|
+
heldRunId: z.ZodOptional<z.ZodString>;
|
|
5364
5719
|
orgId: z.ZodOptional<z.ZodString>;
|
|
5365
5720
|
}, z.core.$strip>, z.ZodObject<{
|
|
5366
5721
|
type: z.ZodLiteral<"dashboard.held-runs.approve">;
|
|
@@ -5971,18 +6326,50 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
5971
6326
|
routingKey: z.ZodOptional<z.ZodString>;
|
|
5972
6327
|
event: z.ZodOptional<z.ZodString>;
|
|
5973
6328
|
status: z.ZodOptional<z.ZodEnum<{
|
|
5974
|
-
failed: "failed";
|
|
5975
|
-
received: "received";
|
|
5976
|
-
processed: "processed";
|
|
5977
6329
|
duplicate: "duplicate";
|
|
5978
|
-
|
|
6330
|
+
failed: "failed";
|
|
5979
6331
|
lockfile_corrupt: "lockfile_corrupt";
|
|
6332
|
+
lockfile_missing: "lockfile_missing";
|
|
6333
|
+
processed: "processed";
|
|
6334
|
+
received: "received";
|
|
5980
6335
|
}>>;
|
|
5981
6336
|
fromTimestamp: z.ZodOptional<z.ZodString>;
|
|
5982
6337
|
toTimestamp: z.ZodOptional<z.ZodString>;
|
|
5983
6338
|
deliveryId: z.ZodOptional<z.ZodString>;
|
|
5984
6339
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
5985
6340
|
cursor: z.ZodOptional<z.ZodString>;
|
|
6341
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6342
|
+
type: z.ZodLiteral<"dashboard.event-log.activity">;
|
|
6343
|
+
requestId: z.ZodString;
|
|
6344
|
+
actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6345
|
+
type: z.ZodLiteral<"user">;
|
|
6346
|
+
sub: z.ZodString;
|
|
6347
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
6348
|
+
patId: z.ZodString;
|
|
6349
|
+
label: z.ZodString;
|
|
6350
|
+
}, z.core.$strip>>;
|
|
6351
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6352
|
+
type: z.ZodLiteral<"api_key">;
|
|
6353
|
+
keyId: z.ZodString;
|
|
6354
|
+
ownerSub: z.ZodString;
|
|
6355
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
6356
|
+
label: z.ZodString;
|
|
6357
|
+
}, z.core.$strip>>;
|
|
6358
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6359
|
+
type: z.ZodLiteral<"service_account">;
|
|
6360
|
+
id: z.ZodString;
|
|
6361
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6362
|
+
type: z.ZodLiteral<"platform_operator">;
|
|
6363
|
+
sub: z.ZodString;
|
|
6364
|
+
reason: z.ZodString;
|
|
6365
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
6366
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6367
|
+
type: z.ZodLiteral<"system">;
|
|
6368
|
+
component: z.ZodString;
|
|
6369
|
+
}, z.core.$strip>], "type">;
|
|
6370
|
+
orgId: z.ZodString;
|
|
6371
|
+
fromTimestamp: z.ZodString;
|
|
6372
|
+
toTimestamp: z.ZodString;
|
|
5986
6373
|
}, z.core.$strip>, z.ZodObject<{
|
|
5987
6374
|
type: z.ZodLiteral<"dashboard.event-log.detail">;
|
|
5988
6375
|
requestId: z.ZodString;
|
|
@@ -6273,117 +6660,126 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
6273
6660
|
}, z.core.$strip>], "type">;
|
|
6274
6661
|
orgId: z.ZodString;
|
|
6275
6662
|
actorType: z.ZodOptional<z.ZodEnum<{
|
|
6276
|
-
user: "user";
|
|
6277
6663
|
api_key: "api_key";
|
|
6278
|
-
service_account: "service_account";
|
|
6279
6664
|
platform_operator: "platform_operator";
|
|
6665
|
+
service_account: "service_account";
|
|
6280
6666
|
system: "system";
|
|
6667
|
+
user: "user";
|
|
6281
6668
|
}>>;
|
|
6282
6669
|
actorId: z.ZodOptional<z.ZodString>;
|
|
6283
6670
|
action: z.ZodOptional<z.ZodEnum<{
|
|
6284
|
-
"
|
|
6285
|
-
|
|
6286
|
-
"
|
|
6287
|
-
"
|
|
6288
|
-
"global_workflows.update": "global_workflows.update";
|
|
6289
|
-
"fleet.host.declare": "fleet.host.declare";
|
|
6290
|
-
"fleet.host.remove": "fleet.host.remove";
|
|
6291
|
-
"run.detail.read": "run.detail.read";
|
|
6292
|
-
"run.structured.read": "run.structured.read";
|
|
6293
|
-
"runs.list.read": "runs.list.read";
|
|
6294
|
-
"runs.filters.read": "runs.filters.read";
|
|
6295
|
-
"sources.list.read": "sources.list.read";
|
|
6296
|
-
"run.payload.read": "run.payload.read";
|
|
6297
|
-
"run.orch_logs.read": "run.orch_logs.read";
|
|
6298
|
-
"step.logs.read": "step.logs.read";
|
|
6671
|
+
"access_log.list.read": "access_log.list.read";
|
|
6672
|
+
archive_chunk: "archive_chunk";
|
|
6673
|
+
"artifacts.read": "artifacts.read";
|
|
6674
|
+
"attestation.retry": "attestation.retry";
|
|
6299
6675
|
"attestations.read": "attestations.read";
|
|
6300
|
-
"
|
|
6301
|
-
"
|
|
6302
|
-
"
|
|
6303
|
-
"
|
|
6304
|
-
"
|
|
6305
|
-
"
|
|
6306
|
-
"event_log.detail.read": "event_log.detail.read";
|
|
6307
|
-
"event_log.payload.read": "event_log.payload.read";
|
|
6308
|
-
"context.list.read": "context.list.read";
|
|
6309
|
-
"context.get.read": "context.get.read";
|
|
6676
|
+
"backend.get.read": "backend.get.read";
|
|
6677
|
+
"backend.list.read": "backend.list.read";
|
|
6678
|
+
"backend.sync": "backend.sync";
|
|
6679
|
+
"backend.sync.one": "backend.sync.one";
|
|
6680
|
+
"backend.test": "backend.test";
|
|
6681
|
+
"cluster_name.update": "cluster_name.update";
|
|
6310
6682
|
"context.create": "context.create";
|
|
6311
|
-
"context.update": "context.update";
|
|
6312
6683
|
"context.delete": "context.delete";
|
|
6313
|
-
"
|
|
6314
|
-
"
|
|
6315
|
-
"
|
|
6316
|
-
"
|
|
6317
|
-
"source_override.set": "source_override.set";
|
|
6318
|
-
"source_override.delete": "source_override.delete";
|
|
6684
|
+
"context.get.read": "context.get.read";
|
|
6685
|
+
"context.history.read": "context.history.read";
|
|
6686
|
+
"context.list.read": "context.list.read";
|
|
6687
|
+
"context.update": "context.update";
|
|
6319
6688
|
"context_binding.list.read": "context_binding.list.read";
|
|
6320
6689
|
"context_binding.set": "context_binding.set";
|
|
6321
|
-
"
|
|
6322
|
-
"
|
|
6323
|
-
"
|
|
6324
|
-
"
|
|
6325
|
-
"
|
|
6326
|
-
"
|
|
6327
|
-
"
|
|
6328
|
-
"
|
|
6329
|
-
"
|
|
6330
|
-
"held_run.approve": "held_run.approve";
|
|
6331
|
-
"held_run.auto_approve": "held_run.auto_approve";
|
|
6332
|
-
"held_run.reject": "held_run.reject";
|
|
6333
|
-
"held_run.request": "held_run.request";
|
|
6334
|
-
"held_run.expire": "held_run.expire";
|
|
6335
|
-
"registration.list.read": "registration.list.read";
|
|
6690
|
+
"context_var.delete": "context_var.delete";
|
|
6691
|
+
"context_var.list.read": "context_var.list.read";
|
|
6692
|
+
"context_var.set": "context_var.set";
|
|
6693
|
+
"db.create_readonly_user": "db.create_readonly_user";
|
|
6694
|
+
"db.create_role": "db.create_role";
|
|
6695
|
+
"db.ensure": "db.ensure";
|
|
6696
|
+
"db.fresh": "db.fresh";
|
|
6697
|
+
"db.refresh_collation_version": "db.refresh_collation_version";
|
|
6698
|
+
"db.reindex": "db.reindex";
|
|
6336
6699
|
"diagnostics.read": "diagnostics.read";
|
|
6337
|
-
"
|
|
6338
|
-
"
|
|
6339
|
-
"
|
|
6700
|
+
"event_dlq.discard": "event_dlq.discard";
|
|
6701
|
+
"event_dlq.list.read": "event_dlq.list.read";
|
|
6702
|
+
"event_dlq.retry": "event_dlq.retry";
|
|
6703
|
+
"event_log.detail.read": "event_log.detail.read";
|
|
6704
|
+
"event_log.list.read": "event_log.list.read";
|
|
6705
|
+
"event_log.payload.read": "event_log.payload.read";
|
|
6706
|
+
"fleet.host.declare": "fleet.host.declare";
|
|
6707
|
+
"fleet.host.remove": "fleet.host.remove";
|
|
6340
6708
|
"fleet.init_runner.bringup": "fleet.init_runner.bringup";
|
|
6341
6709
|
"fleet.pre_boot.send": "fleet.pre_boot.send";
|
|
6342
|
-
"
|
|
6343
|
-
"backend.get.read": "backend.get.read";
|
|
6344
|
-
"backend.sync": "backend.sync";
|
|
6345
|
-
"backend.sync.one": "backend.sync.one";
|
|
6346
|
-
"backend.test": "backend.test";
|
|
6710
|
+
"fleet.read": "fleet.read";
|
|
6347
6711
|
"global_workflows.get.read": "global_workflows.get.read";
|
|
6712
|
+
"global_workflows.update": "global_workflows.update";
|
|
6713
|
+
"held_run.approve": "held_run.approve";
|
|
6714
|
+
"held_run.auto_approve": "held_run.auto_approve";
|
|
6715
|
+
"held_run.expire": "held_run.expire";
|
|
6716
|
+
"held_run.list.read": "held_run.list.read";
|
|
6717
|
+
"held_run.reject": "held_run.reject";
|
|
6718
|
+
"held_run.request": "held_run.request";
|
|
6719
|
+
"job.cancel": "job.cancel";
|
|
6348
6720
|
"org_settings.dashboard_write_policy.update": "org_settings.dashboard_write_policy.update";
|
|
6349
|
-
"cluster_name.update": "cluster_name.update";
|
|
6350
|
-
"attestation.retry": "attestation.retry";
|
|
6351
|
-
"access_log.list.read": "access_log.list.read";
|
|
6352
|
-
"event_dlq.list.read": "event_dlq.list.read";
|
|
6353
|
-
archive_chunk: "archive_chunk";
|
|
6354
6721
|
purge_chunk: "purge_chunk";
|
|
6722
|
+
"registration.delete": "registration.delete";
|
|
6723
|
+
"registration.disable": "registration.disable";
|
|
6724
|
+
"registration.list.read": "registration.list.read";
|
|
6725
|
+
"run.cancel": "run.cancel";
|
|
6726
|
+
"run.detail.read": "run.detail.read";
|
|
6727
|
+
"run.manual_schedule": "run.manual_schedule";
|
|
6728
|
+
"run.orch_logs.read": "run.orch_logs.read";
|
|
6729
|
+
"run.payload.read": "run.payload.read";
|
|
6730
|
+
"run.rerun": "run.rerun";
|
|
6731
|
+
"run.structured.read": "run.structured.read";
|
|
6732
|
+
"run.trigger": "run.trigger";
|
|
6733
|
+
"runs.filters.read": "runs.filters.read";
|
|
6734
|
+
"runs.list.read": "runs.list.read";
|
|
6735
|
+
"scaler.agents.read": "scaler.agents.read";
|
|
6736
|
+
"scaler.capacity.read": "scaler.capacity.read";
|
|
6737
|
+
"secret.delete": "secret.delete";
|
|
6738
|
+
"secret.list.read": "secret.list.read";
|
|
6739
|
+
"secret.reveal": "secret.reveal";
|
|
6740
|
+
"secret.set": "secret.set";
|
|
6741
|
+
"secret_scope.create": "secret_scope.create";
|
|
6742
|
+
"secret_scope.delete": "secret_scope.delete";
|
|
6743
|
+
"secret_scope.rename": "secret_scope.rename";
|
|
6744
|
+
"source_override.delete": "source_override.delete";
|
|
6745
|
+
"source_override.list.read": "source_override.list.read";
|
|
6746
|
+
"source_override.set": "source_override.set";
|
|
6747
|
+
"sources.list.read": "sources.list.read";
|
|
6748
|
+
"step.logs.read": "step.logs.read";
|
|
6749
|
+
"trust_policy.updated": "trust_policy.updated";
|
|
6355
6750
|
}>>;
|
|
6356
6751
|
source: z.ZodOptional<z.ZodEnum<{
|
|
6357
|
-
agent: "agent";
|
|
6358
|
-
platform_proxy: "platform_proxy";
|
|
6359
|
-
admin_http: "admin_http";
|
|
6360
6752
|
admin_cli: "admin_cli";
|
|
6753
|
+
admin_http: "admin_http";
|
|
6754
|
+
agent: "agent";
|
|
6755
|
+
platform_proxy: "platform_proxy";
|
|
6361
6756
|
}>>;
|
|
6362
6757
|
outcome: z.ZodOptional<z.ZodEnum<{
|
|
6363
|
-
error: "error";
|
|
6364
6758
|
allowed: "allowed";
|
|
6365
6759
|
denied: "denied";
|
|
6760
|
+
error: "error";
|
|
6366
6761
|
}>>;
|
|
6367
6762
|
targetType: z.ZodOptional<z.ZodEnum<{
|
|
6368
|
-
|
|
6369
|
-
|
|
6370
|
-
|
|
6763
|
+
access_log: "access_log";
|
|
6764
|
+
attestation: "attestation";
|
|
6765
|
+
backend: "backend";
|
|
6766
|
+
cluster_meta: "cluster_meta";
|
|
6371
6767
|
context: "context";
|
|
6372
|
-
|
|
6768
|
+
database: "database";
|
|
6769
|
+
diagnostics: "diagnostics";
|
|
6770
|
+
event_dlq: "event_dlq";
|
|
6373
6771
|
event_log: "event_log";
|
|
6374
6772
|
event_log_payload: "event_log_payload";
|
|
6375
|
-
secret_scope: "secret_scope";
|
|
6376
|
-
registration: "registration";
|
|
6377
|
-
backend: "backend";
|
|
6378
|
-
diagnostics: "diagnostics";
|
|
6379
|
-
scaler: "scaler";
|
|
6380
6773
|
fleet: "fleet";
|
|
6381
6774
|
held_run: "held_run";
|
|
6382
|
-
|
|
6383
|
-
event_dlq: "event_dlq";
|
|
6775
|
+
job: "job";
|
|
6384
6776
|
org_settings: "org_settings";
|
|
6385
|
-
|
|
6386
|
-
|
|
6777
|
+
payload: "payload";
|
|
6778
|
+
registration: "registration";
|
|
6779
|
+
run: "run";
|
|
6780
|
+
scaler: "scaler";
|
|
6781
|
+
secret_scope: "secret_scope";
|
|
6782
|
+
step: "step";
|
|
6387
6783
|
}>>;
|
|
6388
6784
|
targetId: z.ZodOptional<z.ZodString>;
|
|
6389
6785
|
fromTimestamp: z.ZodOptional<z.ZodString>;
|
|
@@ -6611,6 +7007,7 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
6611
7007
|
agentId: z.ZodNullable<z.ZodString>;
|
|
6612
7008
|
orchestratorId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6613
7009
|
errorMessage: z.ZodNullable<z.ZodString>;
|
|
7010
|
+
routingReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6614
7011
|
runsOnLabels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
6615
7012
|
contexts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
6616
7013
|
skippedContexts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -6623,14 +7020,17 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
6623
7020
|
run: "run";
|
|
6624
7021
|
}>;
|
|
6625
7022
|
category: z.ZodEnum<{
|
|
6626
|
-
|
|
6627
|
-
install_secrets: "install_secrets";
|
|
6628
|
-
lock_resolution: "lock_resolution";
|
|
7023
|
+
approval_misconfig: "approval_misconfig";
|
|
6629
7024
|
build_coordination: "build_coordination";
|
|
6630
7025
|
context_rules: "context_rules";
|
|
6631
7026
|
dynamic_eval: "dynamic_eval";
|
|
6632
|
-
|
|
7027
|
+
install_secrets: "install_secrets";
|
|
7028
|
+
lock_resolution: "lock_resolution";
|
|
6633
7029
|
matrix_expansion: "matrix_expansion";
|
|
7030
|
+
no_agent: "no_agent";
|
|
7031
|
+
sandbox_denied: "sandbox_denied";
|
|
7032
|
+
secret_resolution: "secret_resolution";
|
|
7033
|
+
trust_policy: "trust_policy";
|
|
6634
7034
|
}>;
|
|
6635
7035
|
message: z.ZodString;
|
|
6636
7036
|
jobName: z.ZodOptional<z.ZodString>;
|
|
@@ -6638,17 +7038,18 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
6638
7038
|
needs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
6639
7039
|
upstreamName: z.ZodString;
|
|
6640
7040
|
runOn: z.ZodArray<z.ZodEnum<{
|
|
6641
|
-
skipped: "skipped";
|
|
6642
|
-
success: "success";
|
|
6643
|
-
pending: "pending";
|
|
6644
|
-
running: "running";
|
|
6645
|
-
failed: "failed";
|
|
6646
7041
|
cancelled: "cancelled";
|
|
6647
7042
|
cancelling: "cancelling";
|
|
7043
|
+
drift_dropped: "drift_dropped";
|
|
7044
|
+
failed: "failed";
|
|
7045
|
+
pending: "pending";
|
|
6648
7046
|
queued: "queued";
|
|
6649
7047
|
recovering: "recovering";
|
|
7048
|
+
running: "running";
|
|
7049
|
+
skipped: "skipped";
|
|
7050
|
+
success: "success";
|
|
6650
7051
|
timed_out_stale: "timed_out_stale";
|
|
6651
|
-
|
|
7052
|
+
unroutable: "unroutable";
|
|
6652
7053
|
}>>;
|
|
6653
7054
|
}, z.core.$strip>>>>;
|
|
6654
7055
|
steps: z.ZodArray<z.ZodObject<{
|
|
@@ -6663,30 +7064,30 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
6663
7064
|
stepType: z.ZodOptional<z.ZodString>;
|
|
6664
7065
|
secretsAccessed: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
6665
7066
|
checkOutcome: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
6666
|
-
skipped: "skipped";
|
|
6667
7067
|
applied: "applied";
|
|
6668
7068
|
declined: "declined";
|
|
6669
7069
|
"dry-run": "dry-run";
|
|
6670
7070
|
no_check: "no_check";
|
|
7071
|
+
skipped: "skipped";
|
|
6671
7072
|
}>>>;
|
|
6672
7073
|
driftSummary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6673
7074
|
concurrencyKind: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
6674
|
-
sequential: "sequential";
|
|
6675
7075
|
"parallel-child": "parallel-child";
|
|
6676
7076
|
"parallel-group": "parallel-group";
|
|
7077
|
+
sequential: "sequential";
|
|
6677
7078
|
}>>>;
|
|
6678
7079
|
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6679
7080
|
}, z.core.$strip>>;
|
|
6680
7081
|
}, z.core.$strip>>;
|
|
6681
7082
|
trustContext: z.ZodOptional<z.ZodObject<{
|
|
6682
7083
|
trustTier: z.ZodNullable<z.ZodEnum<{
|
|
6683
|
-
unknown: "unknown";
|
|
6684
7084
|
known: "known";
|
|
6685
7085
|
trusted: "trusted";
|
|
7086
|
+
unknown: "unknown";
|
|
6686
7087
|
}>>;
|
|
6687
7088
|
lockFileSource: z.ZodNullable<z.ZodEnum<{
|
|
6688
|
-
head: "head";
|
|
6689
7089
|
base: "base";
|
|
7090
|
+
head: "head";
|
|
6690
7091
|
}>>;
|
|
6691
7092
|
contributorUsername: z.ZodNullable<z.ZodString>;
|
|
6692
7093
|
}, z.core.$strip>>;
|
|
@@ -6696,14 +7097,17 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
6696
7097
|
run: "run";
|
|
6697
7098
|
}>;
|
|
6698
7099
|
category: z.ZodEnum<{
|
|
6699
|
-
|
|
6700
|
-
install_secrets: "install_secrets";
|
|
6701
|
-
lock_resolution: "lock_resolution";
|
|
7100
|
+
approval_misconfig: "approval_misconfig";
|
|
6702
7101
|
build_coordination: "build_coordination";
|
|
6703
7102
|
context_rules: "context_rules";
|
|
6704
7103
|
dynamic_eval: "dynamic_eval";
|
|
6705
|
-
|
|
7104
|
+
install_secrets: "install_secrets";
|
|
7105
|
+
lock_resolution: "lock_resolution";
|
|
6706
7106
|
matrix_expansion: "matrix_expansion";
|
|
7107
|
+
no_agent: "no_agent";
|
|
7108
|
+
sandbox_denied: "sandbox_denied";
|
|
7109
|
+
secret_resolution: "secret_resolution";
|
|
7110
|
+
trust_policy: "trust_policy";
|
|
6707
7111
|
}>;
|
|
6708
7112
|
message: z.ZodString;
|
|
6709
7113
|
jobName: z.ZodOptional<z.ZodString>;
|
|
@@ -6719,13 +7123,13 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
6719
7123
|
value: z.ZodString;
|
|
6720
7124
|
}, z.core.$strip>;
|
|
6721
7125
|
status: z.ZodEnum<{
|
|
6722
|
-
success: "success";
|
|
6723
|
-
pending: "pending";
|
|
6724
|
-
running: "running";
|
|
6725
|
-
failed: "failed";
|
|
6726
7126
|
cancelled: "cancelled";
|
|
6727
7127
|
cancelling: "cancelling";
|
|
7128
|
+
failed: "failed";
|
|
6728
7129
|
held: "held";
|
|
7130
|
+
pending: "pending";
|
|
7131
|
+
running: "running";
|
|
7132
|
+
success: "success";
|
|
6729
7133
|
}>;
|
|
6730
7134
|
provider: z.ZodString;
|
|
6731
7135
|
repoIdentifier: z.ZodObject<{
|
|
@@ -6742,21 +7146,21 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
6742
7146
|
completedAt: z.ZodNullable<z.ZodString>;
|
|
6743
7147
|
durationMs: z.ZodNullable<z.ZodNumber>;
|
|
6744
7148
|
trustTier: z.ZodNullable<z.ZodEnum<{
|
|
6745
|
-
unknown: "unknown";
|
|
6746
7149
|
known: "known";
|
|
6747
7150
|
trusted: "trusted";
|
|
7151
|
+
unknown: "unknown";
|
|
6748
7152
|
}>>;
|
|
6749
7153
|
contributorUsername: z.ZodNullable<z.ZodObject<{
|
|
6750
7154
|
untrusted: z.ZodLiteral<true>;
|
|
6751
7155
|
value: z.ZodString;
|
|
6752
7156
|
}, z.core.$strip>>;
|
|
6753
7157
|
failureCategory: z.ZodNullable<z.ZodEnum<{
|
|
6754
|
-
unknown: "unknown";
|
|
6755
7158
|
cancelled: "cancelled";
|
|
7159
|
+
infra: "infra";
|
|
6756
7160
|
init_failure: "init_failure";
|
|
6757
|
-
timed_out: "timed_out";
|
|
6758
7161
|
step_failed: "step_failed";
|
|
6759
|
-
|
|
7162
|
+
timed_out: "timed_out";
|
|
7163
|
+
unknown: "unknown";
|
|
6760
7164
|
}>>;
|
|
6761
7165
|
failureReason: z.ZodNullable<z.ZodObject<{
|
|
6762
7166
|
untrusted: z.ZodLiteral<true>;
|
|
@@ -6771,17 +7175,18 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
6771
7175
|
value: z.ZodString;
|
|
6772
7176
|
}, z.core.$strip>;
|
|
6773
7177
|
status: z.ZodEnum<{
|
|
6774
|
-
skipped: "skipped";
|
|
6775
|
-
success: "success";
|
|
6776
|
-
pending: "pending";
|
|
6777
|
-
running: "running";
|
|
6778
|
-
failed: "failed";
|
|
6779
7178
|
cancelled: "cancelled";
|
|
6780
7179
|
cancelling: "cancelling";
|
|
7180
|
+
drift_dropped: "drift_dropped";
|
|
7181
|
+
failed: "failed";
|
|
7182
|
+
pending: "pending";
|
|
6781
7183
|
queued: "queued";
|
|
6782
7184
|
recovering: "recovering";
|
|
7185
|
+
running: "running";
|
|
7186
|
+
skipped: "skipped";
|
|
7187
|
+
success: "success";
|
|
6783
7188
|
timed_out_stale: "timed_out_stale";
|
|
6784
|
-
|
|
7189
|
+
unroutable: "unroutable";
|
|
6785
7190
|
}>;
|
|
6786
7191
|
startedAt: z.ZodNullable<z.ZodString>;
|
|
6787
7192
|
completedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -6797,14 +7202,17 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
6797
7202
|
run: "run";
|
|
6798
7203
|
}>;
|
|
6799
7204
|
category: z.ZodEnum<{
|
|
6800
|
-
|
|
6801
|
-
install_secrets: "install_secrets";
|
|
6802
|
-
lock_resolution: "lock_resolution";
|
|
7205
|
+
approval_misconfig: "approval_misconfig";
|
|
6803
7206
|
build_coordination: "build_coordination";
|
|
6804
7207
|
context_rules: "context_rules";
|
|
6805
7208
|
dynamic_eval: "dynamic_eval";
|
|
6806
|
-
|
|
7209
|
+
install_secrets: "install_secrets";
|
|
7210
|
+
lock_resolution: "lock_resolution";
|
|
6807
7211
|
matrix_expansion: "matrix_expansion";
|
|
7212
|
+
no_agent: "no_agent";
|
|
7213
|
+
sandbox_denied: "sandbox_denied";
|
|
7214
|
+
secret_resolution: "secret_resolution";
|
|
7215
|
+
trust_policy: "trust_policy";
|
|
6808
7216
|
}>;
|
|
6809
7217
|
message: z.ZodObject<{
|
|
6810
7218
|
untrusted: z.ZodLiteral<true>;
|
|
@@ -6817,17 +7225,18 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
6817
7225
|
value: z.ZodString;
|
|
6818
7226
|
}, z.core.$strip>;
|
|
6819
7227
|
runOn: z.ZodArray<z.ZodEnum<{
|
|
6820
|
-
skipped: "skipped";
|
|
6821
|
-
success: "success";
|
|
6822
|
-
pending: "pending";
|
|
6823
|
-
running: "running";
|
|
6824
|
-
failed: "failed";
|
|
6825
7228
|
cancelled: "cancelled";
|
|
6826
7229
|
cancelling: "cancelling";
|
|
7230
|
+
drift_dropped: "drift_dropped";
|
|
7231
|
+
failed: "failed";
|
|
7232
|
+
pending: "pending";
|
|
6827
7233
|
queued: "queued";
|
|
6828
7234
|
recovering: "recovering";
|
|
7235
|
+
running: "running";
|
|
7236
|
+
skipped: "skipped";
|
|
7237
|
+
success: "success";
|
|
6829
7238
|
timed_out_stale: "timed_out_stale";
|
|
6830
|
-
|
|
7239
|
+
unroutable: "unroutable";
|
|
6831
7240
|
}>>;
|
|
6832
7241
|
}, z.core.$strip>>;
|
|
6833
7242
|
outputs: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -6842,12 +7251,12 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
6842
7251
|
value: z.ZodString;
|
|
6843
7252
|
}, z.core.$strip>;
|
|
6844
7253
|
status: z.ZodEnum<{
|
|
6845
|
-
|
|
6846
|
-
|
|
7254
|
+
cancelled: "cancelled";
|
|
7255
|
+
failed: "failed";
|
|
6847
7256
|
pending: "pending";
|
|
6848
7257
|
running: "running";
|
|
6849
|
-
|
|
6850
|
-
|
|
7258
|
+
skipped: "skipped";
|
|
7259
|
+
success: "success";
|
|
6851
7260
|
}>;
|
|
6852
7261
|
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
6853
7262
|
durationMs: z.ZodNullable<z.ZodNumber>;
|
|
@@ -6859,17 +7268,68 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
6859
7268
|
}, z.core.$strip>>;
|
|
6860
7269
|
stepType: z.ZodString;
|
|
6861
7270
|
checkOutcome: z.ZodNullable<z.ZodEnum<{
|
|
6862
|
-
skipped: "skipped";
|
|
6863
7271
|
applied: "applied";
|
|
6864
7272
|
declined: "declined";
|
|
6865
7273
|
"dry-run": "dry-run";
|
|
6866
7274
|
no_check: "no_check";
|
|
7275
|
+
skipped: "skipped";
|
|
6867
7276
|
}>>;
|
|
6868
7277
|
secretsAccessed: z.ZodArray<z.ZodString>;
|
|
6869
7278
|
}, z.core.$strip>>;
|
|
6870
7279
|
}, z.core.$strip>>;
|
|
6871
7280
|
}, z.core.$strip>>;
|
|
6872
7281
|
error: z.ZodOptional<z.ZodString>;
|
|
7282
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7283
|
+
type: z.ZodLiteral<"dashboard.run.state.response">;
|
|
7284
|
+
requestId: z.ZodString;
|
|
7285
|
+
run: z.ZodNullable<z.ZodObject<{
|
|
7286
|
+
runId: z.ZodString;
|
|
7287
|
+
workflowName: z.ZodString;
|
|
7288
|
+
status: z.ZodEnum<{
|
|
7289
|
+
cancelled: "cancelled";
|
|
7290
|
+
cancelling: "cancelling";
|
|
7291
|
+
failed: "failed";
|
|
7292
|
+
held: "held";
|
|
7293
|
+
pending: "pending";
|
|
7294
|
+
running: "running";
|
|
7295
|
+
success: "success";
|
|
7296
|
+
}>;
|
|
7297
|
+
routingKey: z.ZodOptional<z.ZodString>;
|
|
7298
|
+
repoIdentifier: z.ZodOptional<z.ZodString>;
|
|
7299
|
+
sha: z.ZodOptional<z.ZodString>;
|
|
7300
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
7301
|
+
triggerEvent: z.ZodOptional<z.ZodString>;
|
|
7302
|
+
commitMessage: z.ZodOptional<z.ZodString>;
|
|
7303
|
+
jobCount: z.ZodNumber;
|
|
7304
|
+
startedAt: z.ZodNumber;
|
|
7305
|
+
completedAt: z.ZodOptional<z.ZodNumber>;
|
|
7306
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
7307
|
+
parentRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7308
|
+
originalRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7309
|
+
triggeredBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7310
|
+
triggeredByAgentLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7311
|
+
failureReason: z.ZodOptional<z.ZodString>;
|
|
7312
|
+
failureClass: z.ZodOptional<z.ZodEnum<{
|
|
7313
|
+
cancelled: "cancelled";
|
|
7314
|
+
dead_orchestrator: "dead_orchestrator";
|
|
7315
|
+
never_started: "never_started";
|
|
7316
|
+
step_failure: "step_failure";
|
|
7317
|
+
timed_out: "timed_out";
|
|
7318
|
+
}>>;
|
|
7319
|
+
jobs: z.ZodArray<z.ZodObject<{
|
|
7320
|
+
jobId: z.ZodString;
|
|
7321
|
+
jobName: z.ZodString;
|
|
7322
|
+
status: z.ZodString;
|
|
7323
|
+
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
7324
|
+
completedAt: z.ZodOptional<z.ZodNumber>;
|
|
7325
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
7326
|
+
errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7327
|
+
agentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7328
|
+
runsOnLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7329
|
+
contexts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7330
|
+
}, z.core.$strip>>;
|
|
7331
|
+
}, z.core.$strip>>;
|
|
7332
|
+
error: z.ZodOptional<z.ZodString>;
|
|
6873
7333
|
}, z.core.$strip>, z.ZodObject<{
|
|
6874
7334
|
type: z.ZodLiteral<"dashboard.step.logs.response">;
|
|
6875
7335
|
requestId: z.ZodString;
|
|
@@ -6906,23 +7366,24 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
6906
7366
|
}, z.core.$strip>;
|
|
6907
7367
|
runId: z.ZodOptional<z.ZodString>;
|
|
6908
7368
|
verifyStatus: z.ZodOptional<z.ZodEnum<{
|
|
6909
|
-
pending: "pending";
|
|
6910
7369
|
failed: "failed";
|
|
6911
|
-
|
|
7370
|
+
pending: "pending";
|
|
6912
7371
|
unverifiable: "unverifiable";
|
|
7372
|
+
verified: "verified";
|
|
6913
7373
|
}>>;
|
|
6914
7374
|
verifyReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6915
7375
|
sourceOrigin: z.ZodOptional<z.ZodEnum<{
|
|
6916
|
-
triggered: "triggered";
|
|
6917
7376
|
"run-remote": "run-remote";
|
|
7377
|
+
triggered: "triggered";
|
|
6918
7378
|
}>>;
|
|
6919
7379
|
originOrgId: z.ZodOptional<z.ZodString>;
|
|
6920
7380
|
attestationOrigin: z.ZodOptional<z.ZodEnum<{
|
|
6921
|
-
live: "live";
|
|
6922
7381
|
deferred: "deferred";
|
|
7382
|
+
live: "live";
|
|
6923
7383
|
"offline-backfill": "offline-backfill";
|
|
6924
7384
|
}>>;
|
|
6925
7385
|
}, z.core.$strip>>;
|
|
7386
|
+
trustedIssuer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6926
7387
|
error: z.ZodOptional<z.ZodString>;
|
|
6927
7388
|
}, z.core.$strip>, z.ZodObject<{
|
|
6928
7389
|
type: z.ZodLiteral<"dashboard.attestations.list.all.response">;
|
|
@@ -6938,21 +7399,21 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
6938
7399
|
mediaType: z.ZodString;
|
|
6939
7400
|
createdAt: z.ZodString;
|
|
6940
7401
|
verifyStatus: z.ZodEnum<{
|
|
6941
|
-
pending: "pending";
|
|
6942
7402
|
failed: "failed";
|
|
6943
|
-
|
|
7403
|
+
pending: "pending";
|
|
6944
7404
|
unverifiable: "unverifiable";
|
|
7405
|
+
verified: "verified";
|
|
6945
7406
|
}>;
|
|
6946
7407
|
verifyReason: z.ZodNullable<z.ZodString>;
|
|
6947
7408
|
repository: z.ZodNullable<z.ZodString>;
|
|
6948
7409
|
workflow: z.ZodNullable<z.ZodString>;
|
|
6949
7410
|
sourceOrigin: z.ZodOptional<z.ZodEnum<{
|
|
6950
|
-
triggered: "triggered";
|
|
6951
7411
|
"run-remote": "run-remote";
|
|
7412
|
+
triggered: "triggered";
|
|
6952
7413
|
}>>;
|
|
6953
7414
|
attestationOrigin: z.ZodOptional<z.ZodEnum<{
|
|
6954
|
-
live: "live";
|
|
6955
7415
|
deferred: "deferred";
|
|
7416
|
+
live: "live";
|
|
6956
7417
|
"offline-backfill": "offline-backfill";
|
|
6957
7418
|
}>>;
|
|
6958
7419
|
pending: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -6960,6 +7421,7 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
6960
7421
|
page: z.ZodNumber;
|
|
6961
7422
|
pageSize: z.ZodNumber;
|
|
6962
7423
|
total: z.ZodNumber;
|
|
7424
|
+
trustedIssuer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6963
7425
|
error: z.ZodOptional<z.ZodString>;
|
|
6964
7426
|
}, z.core.$strip>, z.ZodObject<{
|
|
6965
7427
|
type: z.ZodLiteral<"dashboard.attestation.get.response">;
|
|
@@ -6990,20 +7452,20 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
6990
7452
|
}, z.core.$strip>;
|
|
6991
7453
|
runId: z.ZodOptional<z.ZodString>;
|
|
6992
7454
|
verifyStatus: z.ZodOptional<z.ZodEnum<{
|
|
6993
|
-
pending: "pending";
|
|
6994
7455
|
failed: "failed";
|
|
6995
|
-
|
|
7456
|
+
pending: "pending";
|
|
6996
7457
|
unverifiable: "unverifiable";
|
|
7458
|
+
verified: "verified";
|
|
6997
7459
|
}>>;
|
|
6998
7460
|
verifyReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6999
7461
|
sourceOrigin: z.ZodOptional<z.ZodEnum<{
|
|
7000
|
-
triggered: "triggered";
|
|
7001
7462
|
"run-remote": "run-remote";
|
|
7463
|
+
triggered: "triggered";
|
|
7002
7464
|
}>>;
|
|
7003
7465
|
originOrgId: z.ZodOptional<z.ZodString>;
|
|
7004
7466
|
attestationOrigin: z.ZodOptional<z.ZodEnum<{
|
|
7005
|
-
live: "live";
|
|
7006
7467
|
deferred: "deferred";
|
|
7468
|
+
live: "live";
|
|
7007
7469
|
"offline-backfill": "offline-backfill";
|
|
7008
7470
|
}>>;
|
|
7009
7471
|
}, z.core.$strip>>;
|
|
@@ -7014,6 +7476,19 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
7014
7476
|
minted: z.ZodNumber;
|
|
7015
7477
|
stillPending: z.ZodNumber;
|
|
7016
7478
|
error: z.ZodOptional<z.ZodString>;
|
|
7479
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7480
|
+
type: z.ZodLiteral<"dashboard.artifacts.list.response">;
|
|
7481
|
+
requestId: z.ZodString;
|
|
7482
|
+
artifacts: z.ZodArray<z.ZodObject<{
|
|
7483
|
+
name: z.ZodString;
|
|
7484
|
+
jobId: z.ZodString;
|
|
7485
|
+
sizeBytes: z.ZodNumber;
|
|
7486
|
+
sha256: z.ZodString;
|
|
7487
|
+
createdAt: z.ZodString;
|
|
7488
|
+
downloadUrl: z.ZodOptional<z.ZodString>;
|
|
7489
|
+
}, z.core.$strip>>;
|
|
7490
|
+
downloadUrlExpiresInSeconds: z.ZodOptional<z.ZodNumber>;
|
|
7491
|
+
error: z.ZodOptional<z.ZodString>;
|
|
7017
7492
|
}, z.core.$strip>, z.ZodObject<{
|
|
7018
7493
|
type: z.ZodLiteral<"dashboard.runs.list.response">;
|
|
7019
7494
|
requestId: z.ZodString;
|
|
@@ -7074,10 +7549,10 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
7074
7549
|
name: z.ZodNullable<z.ZodString>;
|
|
7075
7550
|
provider: z.ZodString;
|
|
7076
7551
|
subtype: z.ZodEnum<{
|
|
7077
|
-
github_app: "github_app";
|
|
7078
7552
|
generic_webhook: "generic_webhook";
|
|
7079
|
-
|
|
7553
|
+
github_app: "github_app";
|
|
7080
7554
|
local: "local";
|
|
7555
|
+
universal_git: "universal_git";
|
|
7081
7556
|
}>;
|
|
7082
7557
|
enabled: z.ZodBoolean;
|
|
7083
7558
|
createdAt: z.ZodString;
|
|
@@ -7099,6 +7574,7 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
7099
7574
|
type: z.ZodLiteral<"run.cancel.response">;
|
|
7100
7575
|
requestId: z.ZodString;
|
|
7101
7576
|
cancelledJobs: z.ZodOptional<z.ZodNumber>;
|
|
7577
|
+
alreadyTerminal: z.ZodOptional<z.ZodBoolean>;
|
|
7102
7578
|
error: z.ZodOptional<z.ZodString>;
|
|
7103
7579
|
}, z.core.$strip>, z.ZodObject<{
|
|
7104
7580
|
type: z.ZodLiteral<"dashboard.payload.response">;
|
|
@@ -7143,8 +7619,8 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
7143
7619
|
branchRestrictions: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
7144
7620
|
concurrencyLimit: z.ZodNullable<z.ZodNumber>;
|
|
7145
7621
|
concurrencyStrategy: z.ZodNullable<z.ZodEnum<{
|
|
7146
|
-
queue: "queue";
|
|
7147
7622
|
"cancel-pending": "cancel-pending";
|
|
7623
|
+
queue: "queue";
|
|
7148
7624
|
}>>;
|
|
7149
7625
|
requiredReviewers: z.ZodNullable<z.ZodNumber>;
|
|
7150
7626
|
waitTimerSeconds: z.ZodNullable<z.ZodNumber>;
|
|
@@ -7264,6 +7740,7 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
7264
7740
|
completedAt: z.ZodNullable<z.ZodCoercedString<unknown>>;
|
|
7265
7741
|
context: z.ZodNullable<z.ZodString>;
|
|
7266
7742
|
}, z.core.$strip>>>;
|
|
7743
|
+
hasMore: z.ZodOptional<z.ZodBoolean>;
|
|
7267
7744
|
error: z.ZodOptional<z.ZodString>;
|
|
7268
7745
|
}, z.core.$strip>, z.ZodObject<{
|
|
7269
7746
|
type: z.ZodLiteral<"dashboard.held-runs.list.response">;
|
|
@@ -7274,16 +7751,8 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
7274
7751
|
contextId: z.ZodNullable<z.ZodString>;
|
|
7275
7752
|
contextName: z.ZodNullable<z.ZodString>;
|
|
7276
7753
|
holdType: z.ZodString;
|
|
7277
|
-
queueType: z.
|
|
7278
|
-
|
|
7279
|
-
security: "security";
|
|
7280
|
-
}>;
|
|
7281
|
-
status: z.ZodEnum<{
|
|
7282
|
-
pending: "pending";
|
|
7283
|
-
approved: "approved";
|
|
7284
|
-
rejected: "rejected";
|
|
7285
|
-
expired: "expired";
|
|
7286
|
-
}>;
|
|
7754
|
+
queueType: z.ZodString;
|
|
7755
|
+
status: z.ZodString;
|
|
7287
7756
|
requestedAt: z.ZodCoercedString<unknown>;
|
|
7288
7757
|
resolvedAt: z.ZodNullable<z.ZodCoercedString<unknown>>;
|
|
7289
7758
|
resolvedBy: z.ZodNullable<z.ZodString>;
|
|
@@ -7293,9 +7762,9 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
7293
7762
|
trustTier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7294
7763
|
jobId: z.ZodOptional<z.ZodString>;
|
|
7295
7764
|
holdScope: z.ZodOptional<z.ZodEnum<{
|
|
7296
|
-
workflow: "workflow";
|
|
7297
7765
|
job: "job";
|
|
7298
7766
|
step: "step";
|
|
7767
|
+
workflow: "workflow";
|
|
7299
7768
|
}>>;
|
|
7300
7769
|
stepIndex: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7301
7770
|
requirement: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -7354,10 +7823,10 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
7354
7823
|
routingKey: z.ZodString;
|
|
7355
7824
|
name: z.ZodNullable<z.ZodString>;
|
|
7356
7825
|
subtype: z.ZodNullable<z.ZodEnum<{
|
|
7357
|
-
github_app: "github_app";
|
|
7358
7826
|
generic_webhook: "generic_webhook";
|
|
7359
|
-
|
|
7827
|
+
github_app: "github_app";
|
|
7360
7828
|
local: "local";
|
|
7829
|
+
universal_git: "universal_git";
|
|
7361
7830
|
}>>;
|
|
7362
7831
|
provider: z.ZodString;
|
|
7363
7832
|
}, z.core.$strip>>>;
|
|
@@ -7402,8 +7871,8 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
7402
7871
|
runningAsUser: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7403
7872
|
runningAsUid: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7404
7873
|
raftRole: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
7405
|
-
follower: "follower";
|
|
7406
7874
|
candidate: "candidate";
|
|
7875
|
+
follower: "follower";
|
|
7407
7876
|
leader: "leader";
|
|
7408
7877
|
}>>>;
|
|
7409
7878
|
raftTerm: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -7437,8 +7906,8 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
7437
7906
|
scalers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7438
7907
|
name: z.ZodString;
|
|
7439
7908
|
type: z.ZodEnum<{
|
|
7440
|
-
container: "container";
|
|
7441
7909
|
"bare-metal": "bare-metal";
|
|
7910
|
+
container: "container";
|
|
7442
7911
|
firecracker: "firecracker";
|
|
7443
7912
|
kubernetes: "kubernetes";
|
|
7444
7913
|
}>;
|
|
@@ -7488,8 +7957,8 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
7488
7957
|
dependencyHealth: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7489
7958
|
name: z.ZodString;
|
|
7490
7959
|
status: z.ZodEnum<{
|
|
7491
|
-
pass: "pass";
|
|
7492
7960
|
fail: "fail";
|
|
7961
|
+
pass: "pass";
|
|
7493
7962
|
warn: "warn";
|
|
7494
7963
|
}>;
|
|
7495
7964
|
message: z.ZodNullable<z.ZodString>;
|
|
@@ -7511,13 +7980,13 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
7511
7980
|
platform: z.ZodNullable<z.ZodString>;
|
|
7512
7981
|
arch: z.ZodNullable<z.ZodString>;
|
|
7513
7982
|
lifecycleClass: z.ZodEnum<{
|
|
7514
|
-
static: "static";
|
|
7515
7983
|
ephemeral: "ephemeral";
|
|
7984
|
+
static: "static";
|
|
7516
7985
|
}>;
|
|
7517
7986
|
status: z.ZodEnum<{
|
|
7518
7987
|
ready: "ready";
|
|
7519
|
-
unreachable: "unreachable";
|
|
7520
7988
|
stale: "stale";
|
|
7989
|
+
unreachable: "unreachable";
|
|
7521
7990
|
}>;
|
|
7522
7991
|
lastSeen: z.ZodString;
|
|
7523
7992
|
}, z.core.$strip>>;
|
|
@@ -7532,13 +8001,13 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
7532
8001
|
platform: z.ZodNullable<z.ZodString>;
|
|
7533
8002
|
arch: z.ZodNullable<z.ZodString>;
|
|
7534
8003
|
lifecycleClass: z.ZodEnum<{
|
|
7535
|
-
static: "static";
|
|
7536
8004
|
ephemeral: "ephemeral";
|
|
8005
|
+
static: "static";
|
|
7537
8006
|
}>;
|
|
7538
8007
|
status: z.ZodEnum<{
|
|
7539
8008
|
ready: "ready";
|
|
7540
|
-
unreachable: "unreachable";
|
|
7541
8009
|
stale: "stale";
|
|
8010
|
+
unreachable: "unreachable";
|
|
7542
8011
|
}>;
|
|
7543
8012
|
lastSeen: z.ZodString;
|
|
7544
8013
|
}, z.core.$strip>>;
|
|
@@ -7560,26 +8029,26 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
7560
8029
|
platform: z.ZodNullable<z.ZodString>;
|
|
7561
8030
|
arch: z.ZodNullable<z.ZodString>;
|
|
7562
8031
|
lifecycleClass: z.ZodEnum<{
|
|
7563
|
-
static: "static";
|
|
7564
8032
|
ephemeral: "ephemeral";
|
|
8033
|
+
static: "static";
|
|
7565
8034
|
}>;
|
|
7566
8035
|
status: z.ZodEnum<{
|
|
7567
8036
|
ready: "ready";
|
|
7568
|
-
unreachable: "unreachable";
|
|
7569
8037
|
stale: "stale";
|
|
8038
|
+
unreachable: "unreachable";
|
|
7570
8039
|
}>;
|
|
7571
8040
|
lastSeen: z.ZodString;
|
|
7572
8041
|
}, z.core.$strip>;
|
|
7573
8042
|
disposition: z.ZodEnum<{
|
|
8043
|
+
"skipped-ephemeral": "skipped-ephemeral";
|
|
7574
8044
|
target: "target";
|
|
7575
8045
|
"unreachable-durable": "unreachable-durable";
|
|
7576
|
-
"skipped-ephemeral": "skipped-ephemeral";
|
|
7577
8046
|
}>;
|
|
7578
8047
|
}, z.core.$strip>>;
|
|
7579
8048
|
onUnreachable: z.ZodEnum<{
|
|
8049
|
+
fail: "fail";
|
|
7580
8050
|
hold: "hold";
|
|
7581
8051
|
skip: "skip";
|
|
7582
|
-
fail: "fail";
|
|
7583
8052
|
}>;
|
|
7584
8053
|
estimatedChildCount: z.ZodNumber;
|
|
7585
8054
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -7590,14 +8059,14 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
7590
8059
|
repoIdentifier: z.ZodString;
|
|
7591
8060
|
sourceFile: z.ZodNullable<z.ZodString>;
|
|
7592
8061
|
onUnreachable: z.ZodEnum<{
|
|
8062
|
+
fail: "fail";
|
|
7593
8063
|
hold: "hold";
|
|
7594
8064
|
skip: "skip";
|
|
7595
|
-
fail: "fail";
|
|
7596
8065
|
}>;
|
|
7597
8066
|
disposition: z.ZodEnum<{
|
|
8067
|
+
"skipped-ephemeral": "skipped-ephemeral";
|
|
7598
8068
|
target: "target";
|
|
7599
8069
|
"unreachable-durable": "unreachable-durable";
|
|
7600
|
-
"skipped-ephemeral": "skipped-ephemeral";
|
|
7601
8070
|
}>;
|
|
7602
8071
|
}, z.core.$strip>>;
|
|
7603
8072
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -7664,10 +8133,10 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
7664
8133
|
syncIntervalMs: z.ZodNumber;
|
|
7665
8134
|
enabled: z.ZodBoolean;
|
|
7666
8135
|
healthStatus: z.ZodEnum<{
|
|
8136
|
+
degraded: "degraded";
|
|
8137
|
+
healthy: "healthy";
|
|
7667
8138
|
unknown: "unknown";
|
|
7668
8139
|
unreachable: "unreachable";
|
|
7669
|
-
healthy: "healthy";
|
|
7670
|
-
degraded: "degraded";
|
|
7671
8140
|
}>;
|
|
7672
8141
|
scopeCount: z.ZodNumber;
|
|
7673
8142
|
lastSyncAt: z.ZodNullable<z.ZodString>;
|
|
@@ -7691,10 +8160,10 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
7691
8160
|
syncIntervalMs: z.ZodNumber;
|
|
7692
8161
|
enabled: z.ZodBoolean;
|
|
7693
8162
|
healthStatus: z.ZodEnum<{
|
|
8163
|
+
degraded: "degraded";
|
|
8164
|
+
healthy: "healthy";
|
|
7694
8165
|
unknown: "unknown";
|
|
7695
8166
|
unreachable: "unreachable";
|
|
7696
|
-
healthy: "healthy";
|
|
7697
|
-
degraded: "degraded";
|
|
7698
8167
|
}>;
|
|
7699
8168
|
scopeCount: z.ZodNumber;
|
|
7700
8169
|
lastSyncAt: z.ZodNullable<z.ZodString>;
|
|
@@ -7730,19 +8199,19 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
7730
8199
|
event: z.ZodString;
|
|
7731
8200
|
action: z.ZodNullable<z.ZodString>;
|
|
7732
8201
|
source: z.ZodEnum<{
|
|
7733
|
-
relay: "relay";
|
|
7734
8202
|
direct: "direct";
|
|
8203
|
+
relay: "relay";
|
|
7735
8204
|
}>;
|
|
7736
8205
|
provider: z.ZodString;
|
|
7737
8206
|
repoIdentifier: z.ZodNullable<z.ZodString>;
|
|
7738
8207
|
ref: z.ZodNullable<z.ZodString>;
|
|
7739
8208
|
status: z.ZodEnum<{
|
|
7740
|
-
failed: "failed";
|
|
7741
|
-
received: "received";
|
|
7742
|
-
processed: "processed";
|
|
7743
8209
|
duplicate: "duplicate";
|
|
7744
|
-
|
|
8210
|
+
failed: "failed";
|
|
7745
8211
|
lockfile_corrupt: "lockfile_corrupt";
|
|
8212
|
+
lockfile_missing: "lockfile_missing";
|
|
8213
|
+
processed: "processed";
|
|
8214
|
+
received: "received";
|
|
7746
8215
|
}>;
|
|
7747
8216
|
matchedCount: z.ZodNumber;
|
|
7748
8217
|
runId: z.ZodNullable<z.ZodString>;
|
|
@@ -7758,6 +8227,18 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
7758
8227
|
}, z.core.$strip>>>;
|
|
7759
8228
|
nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7760
8229
|
error: z.ZodOptional<z.ZodString>;
|
|
8230
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
8231
|
+
type: z.ZodLiteral<"dashboard.event-log.activity.response">;
|
|
8232
|
+
requestId: z.ZodString;
|
|
8233
|
+
counts: z.ZodOptional<z.ZodObject<{
|
|
8234
|
+
total: z.ZodNumber;
|
|
8235
|
+
matched: z.ZodNumber;
|
|
8236
|
+
unmatched: z.ZodNumber;
|
|
8237
|
+
lockfileMissing: z.ZodNumber;
|
|
8238
|
+
lockfileCorrupt: z.ZodNumber;
|
|
8239
|
+
failed: z.ZodNumber;
|
|
8240
|
+
}, z.core.$strip>>;
|
|
8241
|
+
error: z.ZodOptional<z.ZodString>;
|
|
7761
8242
|
}, z.core.$strip>, z.ZodObject<{
|
|
7762
8243
|
type: z.ZodLiteral<"dashboard.event-log.detail.response">;
|
|
7763
8244
|
requestId: z.ZodString;
|
|
@@ -7767,19 +8248,19 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
7767
8248
|
event: z.ZodString;
|
|
7768
8249
|
action: z.ZodNullable<z.ZodString>;
|
|
7769
8250
|
source: z.ZodEnum<{
|
|
7770
|
-
relay: "relay";
|
|
7771
8251
|
direct: "direct";
|
|
8252
|
+
relay: "relay";
|
|
7772
8253
|
}>;
|
|
7773
8254
|
provider: z.ZodString;
|
|
7774
8255
|
repoIdentifier: z.ZodNullable<z.ZodString>;
|
|
7775
8256
|
ref: z.ZodNullable<z.ZodString>;
|
|
7776
8257
|
status: z.ZodEnum<{
|
|
7777
|
-
failed: "failed";
|
|
7778
|
-
received: "received";
|
|
7779
|
-
processed: "processed";
|
|
7780
8258
|
duplicate: "duplicate";
|
|
7781
|
-
|
|
8259
|
+
failed: "failed";
|
|
7782
8260
|
lockfile_corrupt: "lockfile_corrupt";
|
|
8261
|
+
lockfile_missing: "lockfile_missing";
|
|
8262
|
+
processed: "processed";
|
|
8263
|
+
received: "received";
|
|
7783
8264
|
}>;
|
|
7784
8265
|
matchedCount: z.ZodNumber;
|
|
7785
8266
|
runId: z.ZodNullable<z.ZodString>;
|
|
@@ -7801,12 +8282,12 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
7801
8282
|
data: z.ZodString;
|
|
7802
8283
|
isLast: z.ZodBoolean;
|
|
7803
8284
|
error: z.ZodOptional<z.ZodEnum<{
|
|
7804
|
-
payload_unavailable: "payload_unavailable";
|
|
7805
|
-
not_found: "not_found";
|
|
7806
|
-
read_failed: "read_failed";
|
|
7807
8285
|
forbidden: "forbidden";
|
|
8286
|
+
not_found: "not_found";
|
|
7808
8287
|
orch_stream_timeout: "orch_stream_timeout";
|
|
7809
8288
|
orchestrator_unavailable: "orchestrator_unavailable";
|
|
8289
|
+
payload_unavailable: "payload_unavailable";
|
|
8290
|
+
read_failed: "read_failed";
|
|
7810
8291
|
}>>;
|
|
7811
8292
|
totalBytes: z.ZodOptional<z.ZodNumber>;
|
|
7812
8293
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -7896,122 +8377,131 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
7896
8377
|
orgId: z.ZodNullable<z.ZodString>;
|
|
7897
8378
|
routingKey: z.ZodNullable<z.ZodString>;
|
|
7898
8379
|
actorType: z.ZodEnum<{
|
|
7899
|
-
user: "user";
|
|
7900
8380
|
api_key: "api_key";
|
|
7901
|
-
service_account: "service_account";
|
|
7902
8381
|
platform_operator: "platform_operator";
|
|
8382
|
+
service_account: "service_account";
|
|
7903
8383
|
system: "system";
|
|
8384
|
+
user: "user";
|
|
7904
8385
|
}>;
|
|
7905
8386
|
actorId: z.ZodString;
|
|
7906
8387
|
actorMeta: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
7907
8388
|
actorEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7908
8389
|
actorDisplayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7909
8390
|
action: z.ZodEnum<{
|
|
7910
|
-
"
|
|
7911
|
-
|
|
7912
|
-
"
|
|
7913
|
-
"
|
|
7914
|
-
"global_workflows.update": "global_workflows.update";
|
|
7915
|
-
"fleet.host.declare": "fleet.host.declare";
|
|
7916
|
-
"fleet.host.remove": "fleet.host.remove";
|
|
7917
|
-
"run.detail.read": "run.detail.read";
|
|
7918
|
-
"run.structured.read": "run.structured.read";
|
|
7919
|
-
"runs.list.read": "runs.list.read";
|
|
7920
|
-
"runs.filters.read": "runs.filters.read";
|
|
7921
|
-
"sources.list.read": "sources.list.read";
|
|
7922
|
-
"run.payload.read": "run.payload.read";
|
|
7923
|
-
"run.orch_logs.read": "run.orch_logs.read";
|
|
7924
|
-
"step.logs.read": "step.logs.read";
|
|
8391
|
+
"access_log.list.read": "access_log.list.read";
|
|
8392
|
+
archive_chunk: "archive_chunk";
|
|
8393
|
+
"artifacts.read": "artifacts.read";
|
|
8394
|
+
"attestation.retry": "attestation.retry";
|
|
7925
8395
|
"attestations.read": "attestations.read";
|
|
7926
|
-
"
|
|
7927
|
-
"
|
|
7928
|
-
"
|
|
7929
|
-
"
|
|
7930
|
-
"
|
|
7931
|
-
"
|
|
7932
|
-
"event_log.detail.read": "event_log.detail.read";
|
|
7933
|
-
"event_log.payload.read": "event_log.payload.read";
|
|
7934
|
-
"context.list.read": "context.list.read";
|
|
7935
|
-
"context.get.read": "context.get.read";
|
|
8396
|
+
"backend.get.read": "backend.get.read";
|
|
8397
|
+
"backend.list.read": "backend.list.read";
|
|
8398
|
+
"backend.sync": "backend.sync";
|
|
8399
|
+
"backend.sync.one": "backend.sync.one";
|
|
8400
|
+
"backend.test": "backend.test";
|
|
8401
|
+
"cluster_name.update": "cluster_name.update";
|
|
7936
8402
|
"context.create": "context.create";
|
|
7937
|
-
"context.update": "context.update";
|
|
7938
8403
|
"context.delete": "context.delete";
|
|
7939
|
-
"
|
|
7940
|
-
"
|
|
7941
|
-
"
|
|
7942
|
-
"
|
|
7943
|
-
"source_override.set": "source_override.set";
|
|
7944
|
-
"source_override.delete": "source_override.delete";
|
|
8404
|
+
"context.get.read": "context.get.read";
|
|
8405
|
+
"context.history.read": "context.history.read";
|
|
8406
|
+
"context.list.read": "context.list.read";
|
|
8407
|
+
"context.update": "context.update";
|
|
7945
8408
|
"context_binding.list.read": "context_binding.list.read";
|
|
7946
8409
|
"context_binding.set": "context_binding.set";
|
|
7947
|
-
"
|
|
7948
|
-
"
|
|
7949
|
-
"
|
|
7950
|
-
"
|
|
7951
|
-
"
|
|
7952
|
-
"
|
|
7953
|
-
"
|
|
7954
|
-
"
|
|
7955
|
-
"
|
|
7956
|
-
"held_run.approve": "held_run.approve";
|
|
7957
|
-
"held_run.auto_approve": "held_run.auto_approve";
|
|
7958
|
-
"held_run.reject": "held_run.reject";
|
|
7959
|
-
"held_run.request": "held_run.request";
|
|
7960
|
-
"held_run.expire": "held_run.expire";
|
|
7961
|
-
"registration.list.read": "registration.list.read";
|
|
8410
|
+
"context_var.delete": "context_var.delete";
|
|
8411
|
+
"context_var.list.read": "context_var.list.read";
|
|
8412
|
+
"context_var.set": "context_var.set";
|
|
8413
|
+
"db.create_readonly_user": "db.create_readonly_user";
|
|
8414
|
+
"db.create_role": "db.create_role";
|
|
8415
|
+
"db.ensure": "db.ensure";
|
|
8416
|
+
"db.fresh": "db.fresh";
|
|
8417
|
+
"db.refresh_collation_version": "db.refresh_collation_version";
|
|
8418
|
+
"db.reindex": "db.reindex";
|
|
7962
8419
|
"diagnostics.read": "diagnostics.read";
|
|
7963
|
-
"
|
|
7964
|
-
"
|
|
7965
|
-
"
|
|
8420
|
+
"event_dlq.discard": "event_dlq.discard";
|
|
8421
|
+
"event_dlq.list.read": "event_dlq.list.read";
|
|
8422
|
+
"event_dlq.retry": "event_dlq.retry";
|
|
8423
|
+
"event_log.detail.read": "event_log.detail.read";
|
|
8424
|
+
"event_log.list.read": "event_log.list.read";
|
|
8425
|
+
"event_log.payload.read": "event_log.payload.read";
|
|
8426
|
+
"fleet.host.declare": "fleet.host.declare";
|
|
8427
|
+
"fleet.host.remove": "fleet.host.remove";
|
|
7966
8428
|
"fleet.init_runner.bringup": "fleet.init_runner.bringup";
|
|
7967
8429
|
"fleet.pre_boot.send": "fleet.pre_boot.send";
|
|
7968
|
-
"
|
|
7969
|
-
"backend.get.read": "backend.get.read";
|
|
7970
|
-
"backend.sync": "backend.sync";
|
|
7971
|
-
"backend.sync.one": "backend.sync.one";
|
|
7972
|
-
"backend.test": "backend.test";
|
|
8430
|
+
"fleet.read": "fleet.read";
|
|
7973
8431
|
"global_workflows.get.read": "global_workflows.get.read";
|
|
8432
|
+
"global_workflows.update": "global_workflows.update";
|
|
8433
|
+
"held_run.approve": "held_run.approve";
|
|
8434
|
+
"held_run.auto_approve": "held_run.auto_approve";
|
|
8435
|
+
"held_run.expire": "held_run.expire";
|
|
8436
|
+
"held_run.list.read": "held_run.list.read";
|
|
8437
|
+
"held_run.reject": "held_run.reject";
|
|
8438
|
+
"held_run.request": "held_run.request";
|
|
8439
|
+
"job.cancel": "job.cancel";
|
|
7974
8440
|
"org_settings.dashboard_write_policy.update": "org_settings.dashboard_write_policy.update";
|
|
7975
|
-
"cluster_name.update": "cluster_name.update";
|
|
7976
|
-
"attestation.retry": "attestation.retry";
|
|
7977
|
-
"access_log.list.read": "access_log.list.read";
|
|
7978
|
-
"event_dlq.list.read": "event_dlq.list.read";
|
|
7979
|
-
archive_chunk: "archive_chunk";
|
|
7980
8441
|
purge_chunk: "purge_chunk";
|
|
8442
|
+
"registration.delete": "registration.delete";
|
|
8443
|
+
"registration.disable": "registration.disable";
|
|
8444
|
+
"registration.list.read": "registration.list.read";
|
|
8445
|
+
"run.cancel": "run.cancel";
|
|
8446
|
+
"run.detail.read": "run.detail.read";
|
|
8447
|
+
"run.manual_schedule": "run.manual_schedule";
|
|
8448
|
+
"run.orch_logs.read": "run.orch_logs.read";
|
|
8449
|
+
"run.payload.read": "run.payload.read";
|
|
8450
|
+
"run.rerun": "run.rerun";
|
|
8451
|
+
"run.structured.read": "run.structured.read";
|
|
8452
|
+
"run.trigger": "run.trigger";
|
|
8453
|
+
"runs.filters.read": "runs.filters.read";
|
|
8454
|
+
"runs.list.read": "runs.list.read";
|
|
8455
|
+
"scaler.agents.read": "scaler.agents.read";
|
|
8456
|
+
"scaler.capacity.read": "scaler.capacity.read";
|
|
8457
|
+
"secret.delete": "secret.delete";
|
|
8458
|
+
"secret.list.read": "secret.list.read";
|
|
8459
|
+
"secret.reveal": "secret.reveal";
|
|
8460
|
+
"secret.set": "secret.set";
|
|
8461
|
+
"secret_scope.create": "secret_scope.create";
|
|
8462
|
+
"secret_scope.delete": "secret_scope.delete";
|
|
8463
|
+
"secret_scope.rename": "secret_scope.rename";
|
|
8464
|
+
"source_override.delete": "source_override.delete";
|
|
8465
|
+
"source_override.list.read": "source_override.list.read";
|
|
8466
|
+
"source_override.set": "source_override.set";
|
|
8467
|
+
"sources.list.read": "sources.list.read";
|
|
8468
|
+
"step.logs.read": "step.logs.read";
|
|
8469
|
+
"trust_policy.updated": "trust_policy.updated";
|
|
7981
8470
|
}>;
|
|
7982
8471
|
targetType: z.ZodNullable<z.ZodEnum<{
|
|
7983
|
-
|
|
7984
|
-
|
|
7985
|
-
|
|
8472
|
+
access_log: "access_log";
|
|
8473
|
+
attestation: "attestation";
|
|
8474
|
+
backend: "backend";
|
|
8475
|
+
cluster_meta: "cluster_meta";
|
|
7986
8476
|
context: "context";
|
|
7987
|
-
|
|
8477
|
+
database: "database";
|
|
8478
|
+
diagnostics: "diagnostics";
|
|
8479
|
+
event_dlq: "event_dlq";
|
|
7988
8480
|
event_log: "event_log";
|
|
7989
8481
|
event_log_payload: "event_log_payload";
|
|
7990
|
-
secret_scope: "secret_scope";
|
|
7991
|
-
registration: "registration";
|
|
7992
|
-
backend: "backend";
|
|
7993
|
-
diagnostics: "diagnostics";
|
|
7994
|
-
scaler: "scaler";
|
|
7995
8482
|
fleet: "fleet";
|
|
7996
8483
|
held_run: "held_run";
|
|
7997
|
-
|
|
7998
|
-
event_dlq: "event_dlq";
|
|
8484
|
+
job: "job";
|
|
7999
8485
|
org_settings: "org_settings";
|
|
8000
|
-
|
|
8001
|
-
|
|
8486
|
+
payload: "payload";
|
|
8487
|
+
registration: "registration";
|
|
8488
|
+
run: "run";
|
|
8489
|
+
scaler: "scaler";
|
|
8490
|
+
secret_scope: "secret_scope";
|
|
8491
|
+
step: "step";
|
|
8002
8492
|
}>>;
|
|
8003
8493
|
targetId: z.ZodNullable<z.ZodString>;
|
|
8004
8494
|
requestId: z.ZodNullable<z.ZodString>;
|
|
8005
8495
|
source: z.ZodEnum<{
|
|
8496
|
+
admin_cli: "admin_cli";
|
|
8497
|
+
admin_http: "admin_http";
|
|
8006
8498
|
agent: "agent";
|
|
8007
8499
|
platform_proxy: "platform_proxy";
|
|
8008
|
-
admin_http: "admin_http";
|
|
8009
|
-
admin_cli: "admin_cli";
|
|
8010
8500
|
}>;
|
|
8011
8501
|
outcome: z.ZodEnum<{
|
|
8012
|
-
error: "error";
|
|
8013
8502
|
allowed: "allowed";
|
|
8014
8503
|
denied: "denied";
|
|
8504
|
+
error: "error";
|
|
8015
8505
|
}>;
|
|
8016
8506
|
errorMessage: z.ZodNullable<z.ZodString>;
|
|
8017
8507
|
agentLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -8032,8 +8522,8 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
8032
8522
|
requestId: z.ZodString;
|
|
8033
8523
|
runId: z.ZodOptional<z.ZodString>;
|
|
8034
8524
|
status: z.ZodOptional<z.ZodEnum<{
|
|
8035
|
-
rejected: "rejected";
|
|
8036
8525
|
accepted: "accepted";
|
|
8526
|
+
rejected: "rejected";
|
|
8037
8527
|
}>>;
|
|
8038
8528
|
reason: z.ZodOptional<z.ZodString>;
|
|
8039
8529
|
jobIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -8076,6 +8566,9 @@ export type DashboardPlatformToOrchMessage = z.infer<typeof dashboardPlatformToO
|
|
|
8076
8566
|
export type EventLogListItem = z.infer<typeof eventLogListItemSchema>;
|
|
8077
8567
|
export type DashboardEventLogListRequest = z.infer<typeof dashboardEventLogListRequestSchema>;
|
|
8078
8568
|
export type DashboardEventLogListResponse = z.infer<typeof dashboardEventLogListResponseSchema>;
|
|
8569
|
+
export type EventLogActivityCounts = z.infer<typeof eventLogActivityCountsSchema>;
|
|
8570
|
+
export type DashboardEventLogActivityRequest = z.infer<typeof dashboardEventLogActivityRequestSchema>;
|
|
8571
|
+
export type DashboardEventLogActivityResponse = z.infer<typeof dashboardEventLogActivityResponseSchema>;
|
|
8079
8572
|
export type DashboardEventLogDetailRequest = z.infer<typeof dashboardEventLogDetailRequestSchema>;
|
|
8080
8573
|
export type DashboardEventLogDetailResponse = z.infer<typeof dashboardEventLogDetailResponseSchema>;
|
|
8081
8574
|
export type DashboardEventLogPayloadStreamRequest = z.infer<typeof dashboardEventLogPayloadStreamRequestSchema>;
|
|
@@ -8148,6 +8641,7 @@ export declare const dashboardRunDetailApiResponseSchema: z.ZodObject<{
|
|
|
8148
8641
|
agentId: z.ZodNullable<z.ZodString>;
|
|
8149
8642
|
orchestratorId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8150
8643
|
errorMessage: z.ZodNullable<z.ZodString>;
|
|
8644
|
+
routingReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8151
8645
|
runsOnLabels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
8152
8646
|
contexts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
8153
8647
|
skippedContexts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -8160,14 +8654,17 @@ export declare const dashboardRunDetailApiResponseSchema: z.ZodObject<{
|
|
|
8160
8654
|
run: "run";
|
|
8161
8655
|
}>;
|
|
8162
8656
|
category: z.ZodEnum<{
|
|
8163
|
-
|
|
8164
|
-
install_secrets: "install_secrets";
|
|
8165
|
-
lock_resolution: "lock_resolution";
|
|
8657
|
+
approval_misconfig: "approval_misconfig";
|
|
8166
8658
|
build_coordination: "build_coordination";
|
|
8167
8659
|
context_rules: "context_rules";
|
|
8168
8660
|
dynamic_eval: "dynamic_eval";
|
|
8169
|
-
|
|
8661
|
+
install_secrets: "install_secrets";
|
|
8662
|
+
lock_resolution: "lock_resolution";
|
|
8170
8663
|
matrix_expansion: "matrix_expansion";
|
|
8664
|
+
no_agent: "no_agent";
|
|
8665
|
+
sandbox_denied: "sandbox_denied";
|
|
8666
|
+
secret_resolution: "secret_resolution";
|
|
8667
|
+
trust_policy: "trust_policy";
|
|
8171
8668
|
}>;
|
|
8172
8669
|
message: z.ZodString;
|
|
8173
8670
|
jobName: z.ZodOptional<z.ZodString>;
|
|
@@ -8175,17 +8672,18 @@ export declare const dashboardRunDetailApiResponseSchema: z.ZodObject<{
|
|
|
8175
8672
|
needs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
8176
8673
|
upstreamName: z.ZodString;
|
|
8177
8674
|
runOn: z.ZodArray<z.ZodEnum<{
|
|
8178
|
-
skipped: "skipped";
|
|
8179
|
-
success: "success";
|
|
8180
|
-
pending: "pending";
|
|
8181
|
-
running: "running";
|
|
8182
|
-
failed: "failed";
|
|
8183
8675
|
cancelled: "cancelled";
|
|
8184
8676
|
cancelling: "cancelling";
|
|
8677
|
+
drift_dropped: "drift_dropped";
|
|
8678
|
+
failed: "failed";
|
|
8679
|
+
pending: "pending";
|
|
8185
8680
|
queued: "queued";
|
|
8186
8681
|
recovering: "recovering";
|
|
8682
|
+
running: "running";
|
|
8683
|
+
skipped: "skipped";
|
|
8684
|
+
success: "success";
|
|
8187
8685
|
timed_out_stale: "timed_out_stale";
|
|
8188
|
-
|
|
8686
|
+
unroutable: "unroutable";
|
|
8189
8687
|
}>>;
|
|
8190
8688
|
}, z.core.$strip>>>>;
|
|
8191
8689
|
steps: z.ZodArray<z.ZodObject<{
|
|
@@ -8200,30 +8698,30 @@ export declare const dashboardRunDetailApiResponseSchema: z.ZodObject<{
|
|
|
8200
8698
|
stepType: z.ZodOptional<z.ZodString>;
|
|
8201
8699
|
secretsAccessed: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
8202
8700
|
checkOutcome: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
8203
|
-
skipped: "skipped";
|
|
8204
8701
|
applied: "applied";
|
|
8205
8702
|
declined: "declined";
|
|
8206
8703
|
"dry-run": "dry-run";
|
|
8207
8704
|
no_check: "no_check";
|
|
8705
|
+
skipped: "skipped";
|
|
8208
8706
|
}>>>;
|
|
8209
8707
|
driftSummary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8210
8708
|
concurrencyKind: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
8211
|
-
sequential: "sequential";
|
|
8212
8709
|
"parallel-child": "parallel-child";
|
|
8213
8710
|
"parallel-group": "parallel-group";
|
|
8711
|
+
sequential: "sequential";
|
|
8214
8712
|
}>>>;
|
|
8215
8713
|
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8216
8714
|
}, z.core.$strip>>;
|
|
8217
8715
|
}, z.core.$strip>>;
|
|
8218
8716
|
trustContext: z.ZodOptional<z.ZodObject<{
|
|
8219
8717
|
trustTier: z.ZodNullable<z.ZodEnum<{
|
|
8220
|
-
unknown: "unknown";
|
|
8221
8718
|
known: "known";
|
|
8222
8719
|
trusted: "trusted";
|
|
8720
|
+
unknown: "unknown";
|
|
8223
8721
|
}>>;
|
|
8224
8722
|
lockFileSource: z.ZodNullable<z.ZodEnum<{
|
|
8225
|
-
head: "head";
|
|
8226
8723
|
base: "base";
|
|
8724
|
+
head: "head";
|
|
8227
8725
|
}>>;
|
|
8228
8726
|
contributorUsername: z.ZodNullable<z.ZodString>;
|
|
8229
8727
|
}, z.core.$strip>>;
|
|
@@ -8238,14 +8736,17 @@ export declare const dashboardRunDetailApiResponseSchema: z.ZodObject<{
|
|
|
8238
8736
|
run: "run";
|
|
8239
8737
|
}>;
|
|
8240
8738
|
category: z.ZodEnum<{
|
|
8241
|
-
|
|
8242
|
-
install_secrets: "install_secrets";
|
|
8243
|
-
lock_resolution: "lock_resolution";
|
|
8739
|
+
approval_misconfig: "approval_misconfig";
|
|
8244
8740
|
build_coordination: "build_coordination";
|
|
8245
8741
|
context_rules: "context_rules";
|
|
8246
8742
|
dynamic_eval: "dynamic_eval";
|
|
8247
|
-
|
|
8743
|
+
install_secrets: "install_secrets";
|
|
8744
|
+
lock_resolution: "lock_resolution";
|
|
8248
8745
|
matrix_expansion: "matrix_expansion";
|
|
8746
|
+
no_agent: "no_agent";
|
|
8747
|
+
sandbox_denied: "sandbox_denied";
|
|
8748
|
+
secret_resolution: "secret_resolution";
|
|
8749
|
+
trust_policy: "trust_policy";
|
|
8249
8750
|
}>;
|
|
8250
8751
|
message: z.ZodString;
|
|
8251
8752
|
jobName: z.ZodOptional<z.ZodString>;
|
|
@@ -8296,20 +8797,20 @@ export declare const dashboardAttestationsApiResponseSchema: z.ZodObject<{
|
|
|
8296
8797
|
}, z.core.$strip>;
|
|
8297
8798
|
runId: z.ZodOptional<z.ZodString>;
|
|
8298
8799
|
verifyStatus: z.ZodOptional<z.ZodEnum<{
|
|
8299
|
-
pending: "pending";
|
|
8300
8800
|
failed: "failed";
|
|
8301
|
-
|
|
8801
|
+
pending: "pending";
|
|
8302
8802
|
unverifiable: "unverifiable";
|
|
8803
|
+
verified: "verified";
|
|
8303
8804
|
}>>;
|
|
8304
8805
|
verifyReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8305
8806
|
sourceOrigin: z.ZodOptional<z.ZodEnum<{
|
|
8306
|
-
triggered: "triggered";
|
|
8307
8807
|
"run-remote": "run-remote";
|
|
8808
|
+
triggered: "triggered";
|
|
8308
8809
|
}>>;
|
|
8309
8810
|
originOrgId: z.ZodOptional<z.ZodString>;
|
|
8310
8811
|
attestationOrigin: z.ZodOptional<z.ZodEnum<{
|
|
8311
|
-
live: "live";
|
|
8312
8812
|
deferred: "deferred";
|
|
8813
|
+
live: "live";
|
|
8313
8814
|
"offline-backfill": "offline-backfill";
|
|
8314
8815
|
}>>;
|
|
8315
8816
|
}, z.core.$strip>>;
|
|
@@ -8354,16 +8855,23 @@ export declare const runListItemSchema: z.ZodObject<{
|
|
|
8354
8855
|
routingKey: z.ZodString;
|
|
8355
8856
|
name: z.ZodNullable<z.ZodString>;
|
|
8356
8857
|
subtype: z.ZodNullable<z.ZodEnum<{
|
|
8357
|
-
github_app: "github_app";
|
|
8358
8858
|
generic_webhook: "generic_webhook";
|
|
8359
|
-
|
|
8859
|
+
github_app: "github_app";
|
|
8360
8860
|
local: "local";
|
|
8861
|
+
universal_git: "universal_git";
|
|
8361
8862
|
}>>;
|
|
8362
8863
|
provider: z.ZodString;
|
|
8363
8864
|
}, z.core.$strip>>;
|
|
8364
8865
|
}, z.core.$strip>;
|
|
8365
8866
|
export type RunListItem = z.infer<typeof runListItemSchema>;
|
|
8366
|
-
/**
|
|
8867
|
+
/**
|
|
8868
|
+
* Cursor-paginated run list response envelope.
|
|
8869
|
+
*
|
|
8870
|
+
* Keyset (cursor) pagination: `nextCursor` fetches the next (older) page,
|
|
8871
|
+
* `prevCursor` the previous (newer) page — both opaque, `null` when there is no
|
|
8872
|
+
* such page. `hasMore` is true when an older page exists. `approxTotal` is a
|
|
8873
|
+
* cached, approximate match count for the "~N runs" label (not an exact total).
|
|
8874
|
+
*/
|
|
8367
8875
|
export declare const runListResponseSchema: z.ZodObject<{
|
|
8368
8876
|
runs: z.ZodArray<z.ZodObject<{
|
|
8369
8877
|
runId: z.ZodString;
|
|
@@ -8404,18 +8912,19 @@ export declare const runListResponseSchema: z.ZodObject<{
|
|
|
8404
8912
|
routingKey: z.ZodString;
|
|
8405
8913
|
name: z.ZodNullable<z.ZodString>;
|
|
8406
8914
|
subtype: z.ZodNullable<z.ZodEnum<{
|
|
8407
|
-
github_app: "github_app";
|
|
8408
8915
|
generic_webhook: "generic_webhook";
|
|
8409
|
-
|
|
8916
|
+
github_app: "github_app";
|
|
8410
8917
|
local: "local";
|
|
8918
|
+
universal_git: "universal_git";
|
|
8411
8919
|
}>>;
|
|
8412
8920
|
provider: z.ZodString;
|
|
8413
8921
|
}, z.core.$strip>>;
|
|
8414
8922
|
}, z.core.$strip>>;
|
|
8415
|
-
|
|
8416
|
-
|
|
8417
|
-
pageSize: z.ZodNumber;
|
|
8923
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
8924
|
+
prevCursor: z.ZodNullable<z.ZodString>;
|
|
8418
8925
|
hasMore: z.ZodBoolean;
|
|
8926
|
+
approxTotal: z.ZodNumber;
|
|
8927
|
+
pageSize: z.ZodNumber;
|
|
8419
8928
|
}, z.core.$strip>;
|
|
8420
8929
|
export type RunListResponse = z.infer<typeof runListResponseSchema>;
|
|
8421
8930
|
declare const diagnosticsInfraAgentSchema: z.ZodObject<{
|
|
@@ -8458,17 +8967,19 @@ declare const diagnosticsInfraOrchestratorSchema: z.ZodObject<{
|
|
|
8458
8967
|
scalerBackends: z.ZodArray<z.ZodString>;
|
|
8459
8968
|
deployment: z.ZodObject<{
|
|
8460
8969
|
mode: z.ZodEnum<{
|
|
8461
|
-
|
|
8462
|
-
systemd: "systemd";
|
|
8970
|
+
compose: "compose";
|
|
8463
8971
|
launchd: "launchd";
|
|
8972
|
+
systemd: "systemd";
|
|
8973
|
+
unknown: "unknown";
|
|
8464
8974
|
windows: "windows";
|
|
8465
|
-
compose: "compose";
|
|
8466
8975
|
}>;
|
|
8467
8976
|
containerName: z.ZodNullable<z.ZodString>;
|
|
8468
8977
|
containerRuntime: z.ZodNullable<z.ZodEnum<{
|
|
8469
|
-
podman: "podman";
|
|
8470
8978
|
docker: "docker";
|
|
8979
|
+
podman: "podman";
|
|
8471
8980
|
}>>;
|
|
8981
|
+
adminInvocation: z.ZodNullable<z.ZodString>;
|
|
8982
|
+
adminPath: z.ZodNullable<z.ZodString>;
|
|
8472
8983
|
}, z.core.$strip>;
|
|
8473
8984
|
s3LogAccess: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
8474
8985
|
agentCount: z.ZodNumber;
|
|
@@ -8522,8 +9033,8 @@ declare const diagnosticsInfraOrchestratorSchema: z.ZodObject<{
|
|
|
8522
9033
|
dependencyHealth: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8523
9034
|
name: z.ZodString;
|
|
8524
9035
|
status: z.ZodEnum<{
|
|
8525
|
-
pass: "pass";
|
|
8526
9036
|
fail: "fail";
|
|
9037
|
+
pass: "pass";
|
|
8527
9038
|
warn: "warn";
|
|
8528
9039
|
}>;
|
|
8529
9040
|
message: z.ZodNullable<z.ZodString>;
|
|
@@ -8532,6 +9043,22 @@ declare const diagnosticsInfraOrchestratorSchema: z.ZodObject<{
|
|
|
8532
9043
|
}, z.core.$strip>>>;
|
|
8533
9044
|
error: z.ZodOptional<z.ZodString>;
|
|
8534
9045
|
}, z.core.$strip>;
|
|
9046
|
+
/**
|
|
9047
|
+
* A single infrastructure health alert.
|
|
9048
|
+
*
|
|
9049
|
+
* Both vocabulary fields are `z.string()` on purpose. `InfraAlertType` and
|
|
9050
|
+
* `InfraAlertSeverity` (`diagnostics/infra-alert.ts`) name the *known*
|
|
9051
|
+
* vocabulary the producer mints from and the read-side consumers colour by; the
|
|
9052
|
+
* wire stays permissive because the `kici` CLI hard-parses this response while
|
|
9053
|
+
* pinned to an older version than the hosted Platform it is talking to. A
|
|
9054
|
+
* strict enum would fail the whole response rather than degrade one row.
|
|
9055
|
+
*/
|
|
9056
|
+
export declare const diagnosticsInfraAlertSchema: z.ZodObject<{
|
|
9057
|
+
type: z.ZodString;
|
|
9058
|
+
message: z.ZodString;
|
|
9059
|
+
severity: z.ZodString;
|
|
9060
|
+
}, z.core.$strip>;
|
|
9061
|
+
export type DiagnosticsInfraAlert = z.infer<typeof diagnosticsInfraAlertSchema>;
|
|
8535
9062
|
export declare const diagnosticsInfrastructureResponseSchema: z.ZodObject<{
|
|
8536
9063
|
orchestrators: z.ZodArray<z.ZodObject<{
|
|
8537
9064
|
connectionId: z.ZodString;
|
|
@@ -8550,17 +9077,19 @@ export declare const diagnosticsInfrastructureResponseSchema: z.ZodObject<{
|
|
|
8550
9077
|
scalerBackends: z.ZodArray<z.ZodString>;
|
|
8551
9078
|
deployment: z.ZodObject<{
|
|
8552
9079
|
mode: z.ZodEnum<{
|
|
8553
|
-
|
|
8554
|
-
systemd: "systemd";
|
|
9080
|
+
compose: "compose";
|
|
8555
9081
|
launchd: "launchd";
|
|
9082
|
+
systemd: "systemd";
|
|
9083
|
+
unknown: "unknown";
|
|
8556
9084
|
windows: "windows";
|
|
8557
|
-
compose: "compose";
|
|
8558
9085
|
}>;
|
|
8559
9086
|
containerName: z.ZodNullable<z.ZodString>;
|
|
8560
9087
|
containerRuntime: z.ZodNullable<z.ZodEnum<{
|
|
8561
|
-
podman: "podman";
|
|
8562
9088
|
docker: "docker";
|
|
9089
|
+
podman: "podman";
|
|
8563
9090
|
}>>;
|
|
9091
|
+
adminInvocation: z.ZodNullable<z.ZodString>;
|
|
9092
|
+
adminPath: z.ZodNullable<z.ZodString>;
|
|
8564
9093
|
}, z.core.$strip>;
|
|
8565
9094
|
s3LogAccess: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
8566
9095
|
agentCount: z.ZodNumber;
|
|
@@ -8614,8 +9143,8 @@ export declare const diagnosticsInfrastructureResponseSchema: z.ZodObject<{
|
|
|
8614
9143
|
dependencyHealth: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8615
9144
|
name: z.ZodString;
|
|
8616
9145
|
status: z.ZodEnum<{
|
|
8617
|
-
pass: "pass";
|
|
8618
9146
|
fail: "fail";
|
|
9147
|
+
pass: "pass";
|
|
8619
9148
|
warn: "warn";
|
|
8620
9149
|
}>;
|
|
8621
9150
|
message: z.ZodNullable<z.ZodString>;
|
|
@@ -8766,11 +9295,10 @@ export declare const DASHBOARD_REQUEST_TYPES: readonly string[];
|
|
|
8766
9295
|
export declare const DASHBOARD_REQUEST_TYPE_SET: ReadonlySet<string>;
|
|
8767
9296
|
/** Structured error code on a dashboard `*.response` frame's `code` field. */
|
|
8768
9297
|
export declare const DashboardResponseErrorCode: z.ZodEnum<{
|
|
8769
|
-
|
|
9298
|
+
internal_error: "internal_error";
|
|
8770
9299
|
invalid_payload: "invalid_payload";
|
|
8771
9300
|
unsupported_message_type: "unsupported_message_type";
|
|
8772
|
-
|
|
9301
|
+
unsupported_request_type: "unsupported_request_type";
|
|
8773
9302
|
}>;
|
|
8774
9303
|
export type DashboardResponseErrorCode = z.infer<typeof DashboardResponseErrorCode>;
|
|
8775
|
-
export {};
|
|
8776
9304
|
//# sourceMappingURL=dashboard.d.ts.map
|