@kici-dev/engine 0.1.23 → 0.1.24

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.
Files changed (49) hide show
  1. package/dist/approval/types.d.ts +1 -1
  2. package/dist/audit/access-log-policy.d.ts +4 -1
  3. package/dist/audit/access-log-policy.js +9 -1
  4. package/dist/audit/activity.d.ts +2 -2
  5. package/dist/audit/retention-policy.js +2 -0
  6. package/dist/environment/index.d.ts +2 -0
  7. package/dist/environment/index.js +3 -1
  8. package/dist/environment/multi-env.d.ts +30 -0
  9. package/dist/environment/multi-env.js +38 -0
  10. package/dist/environment/types.d.ts +8 -2
  11. package/dist/environment/types.js +18 -1
  12. package/dist/index.d.ts +3 -0
  13. package/dist/index.js +14 -8
  14. package/dist/inputs/index.d.ts +1 -0
  15. package/dist/inputs/index.js +2 -1
  16. package/dist/inputs/schedule.d.ts +19 -0
  17. package/dist/inputs/schedule.js +33 -0
  18. package/dist/mcp/tool-schemas.d.ts +41 -0
  19. package/dist/mcp/tool-schemas.js +49 -0
  20. package/dist/metrics/metric-catalog.generated.d.ts +20 -0
  21. package/dist/metrics/metric-catalog.generated.js +24 -0
  22. package/dist/protocol/messages/access-log.d.ts +29 -15
  23. package/dist/protocol/messages/access-log.js +3 -1
  24. package/dist/protocol/messages/actor.d.ts +8 -0
  25. package/dist/protocol/messages/actor.js +17 -3
  26. package/dist/protocol/messages/agent-run-result.d.ts +350 -0
  27. package/dist/protocol/messages/agent-run-result.js +123 -0
  28. package/dist/protocol/messages/auth.d.ts +2 -0
  29. package/dist/protocol/messages/auth.js +10 -1
  30. package/dist/protocol/messages/capabilities.d.ts +2 -0
  31. package/dist/protocol/messages/capabilities.js +15 -2
  32. package/dist/protocol/messages/dashboard-global-workflows.d.ts +8 -0
  33. package/dist/protocol/messages/dashboard.d.ts +1376 -42
  34. package/dist/protocol/messages/dashboard.js +161 -6
  35. package/dist/protocol/messages/execution-status.d.ts +52 -1
  36. package/dist/protocol/messages/execution-status.js +115 -54
  37. package/dist/protocol/messages/orchestrator-agent.d.ts +21 -5
  38. package/dist/protocol/messages/orchestrator-agent.js +5 -1
  39. package/dist/protocol/messages/pat-kind.d.ts +16 -0
  40. package/dist/protocol/messages/pat-kind.js +17 -0
  41. package/dist/protocol/messages/peer.d.ts +7 -7
  42. package/dist/protocol/messages/platform-orchestrator.d.ts +393 -7
  43. package/dist/protocol/messages/platform-orchestrator.js +3 -3
  44. package/dist/protocol/messages/run-events.d.ts +5 -1
  45. package/dist/provider/check-run-conclusion.d.ts +1 -1
  46. package/dist/trigger/types.d.ts +35 -7
  47. package/dist/trigger/types.js +7 -2
  48. package/package.json +1 -1
  49. package/sbom.spdx.json +5 -5
@@ -6,6 +6,10 @@ export declare const dashboardRunDetailRequestSchema: z.ZodObject<{
6
6
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
7
7
  type: z.ZodLiteral<"user">;
8
8
  sub: z.ZodString;
9
+ agent: z.ZodOptional<z.ZodObject<{
10
+ patId: z.ZodString;
11
+ label: z.ZodString;
12
+ }, z.core.$strip>>;
9
13
  }, z.core.$strip>, z.ZodObject<{
10
14
  type: z.ZodLiteral<"api_key">;
11
15
  keyId: z.ZodString;
@@ -24,6 +28,203 @@ export declare const dashboardRunDetailRequestSchema: z.ZodObject<{
24
28
  }, z.core.$strip>], "type">;
25
29
  runId: z.ZodString;
26
30
  }, z.core.$strip>;
31
+ /**
32
+ * Request the machine-first, provenance-tagged structured run result from the
33
+ * orchestrator (user-plane equivalent of the orchestrator-admin
34
+ * `/runs/:id/structured` endpoint). Reuses the Phase-1 `AgentRunResult` shape.
35
+ */
36
+ export declare const dashboardRunStructuredRequestSchema: z.ZodObject<{
37
+ type: z.ZodLiteral<"dashboard.run.structured">;
38
+ requestId: z.ZodString;
39
+ actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
40
+ type: z.ZodLiteral<"user">;
41
+ sub: z.ZodString;
42
+ agent: z.ZodOptional<z.ZodObject<{
43
+ patId: z.ZodString;
44
+ label: z.ZodString;
45
+ }, z.core.$strip>>;
46
+ }, z.core.$strip>, z.ZodObject<{
47
+ type: z.ZodLiteral<"api_key">;
48
+ keyId: z.ZodString;
49
+ ownerSub: z.ZodString;
50
+ }, z.core.$strip>, z.ZodObject<{
51
+ type: z.ZodLiteral<"service_account">;
52
+ id: z.ZodString;
53
+ }, z.core.$strip>, z.ZodObject<{
54
+ type: z.ZodLiteral<"platform_operator">;
55
+ sub: z.ZodString;
56
+ reason: z.ZodString;
57
+ sessionId: z.ZodOptional<z.ZodString>;
58
+ }, z.core.$strip>, z.ZodObject<{
59
+ type: z.ZodLiteral<"system">;
60
+ component: z.ZodString;
61
+ }, z.core.$strip>], "type">;
62
+ runId: z.ZodString;
63
+ }, z.core.$strip>;
64
+ export type DashboardRunStructuredRequest = z.infer<typeof dashboardRunStructuredRequestSchema>;
65
+ /** Response carrying the provenance-tagged AgentRunResult (null when not found). */
66
+ export declare const dashboardRunStructuredResponseSchema: z.ZodObject<{
67
+ type: z.ZodLiteral<"dashboard.run.structured.response">;
68
+ requestId: z.ZodString;
69
+ result: z.ZodNullable<z.ZodObject<{
70
+ runId: z.ZodString;
71
+ workflowName: z.ZodObject<{
72
+ untrusted: z.ZodLiteral<true>;
73
+ value: z.ZodString;
74
+ }, z.core.$strip>;
75
+ status: z.ZodEnum<{
76
+ success: "success";
77
+ pending: "pending";
78
+ running: "running";
79
+ failed: "failed";
80
+ cancelled: "cancelled";
81
+ cancelling: "cancelling";
82
+ held: "held";
83
+ }>;
84
+ provider: z.ZodString;
85
+ repoIdentifier: z.ZodObject<{
86
+ untrusted: z.ZodLiteral<true>;
87
+ value: z.ZodString;
88
+ }, z.core.$strip>;
89
+ ref: z.ZodObject<{
90
+ untrusted: z.ZodLiteral<true>;
91
+ value: z.ZodString;
92
+ }, z.core.$strip>;
93
+ sha: z.ZodString;
94
+ baseSha: z.ZodNullable<z.ZodString>;
95
+ startedAt: z.ZodNullable<z.ZodString>;
96
+ completedAt: z.ZodNullable<z.ZodString>;
97
+ durationMs: z.ZodNullable<z.ZodNumber>;
98
+ trustTier: z.ZodNullable<z.ZodEnum<{
99
+ unknown: "unknown";
100
+ known: "known";
101
+ trusted: "trusted";
102
+ }>>;
103
+ contributorUsername: z.ZodNullable<z.ZodObject<{
104
+ untrusted: z.ZodLiteral<true>;
105
+ value: z.ZodString;
106
+ }, z.core.$strip>>;
107
+ failureCategory: z.ZodNullable<z.ZodEnum<{
108
+ unknown: "unknown";
109
+ cancelled: "cancelled";
110
+ init_failure: "init_failure";
111
+ timed_out: "timed_out";
112
+ step_failed: "step_failed";
113
+ infra: "infra";
114
+ }>>;
115
+ failureReason: z.ZodNullable<z.ZodObject<{
116
+ untrusted: z.ZodLiteral<true>;
117
+ value: z.ZodString;
118
+ }, z.core.$strip>>;
119
+ triggeredBy: z.ZodNullable<z.ZodString>;
120
+ jobs: z.ZodArray<z.ZodObject<{
121
+ jobId: z.ZodString;
122
+ jobName: z.ZodObject<{
123
+ untrusted: z.ZodLiteral<true>;
124
+ value: z.ZodString;
125
+ }, z.core.$strip>;
126
+ status: z.ZodEnum<{
127
+ skipped: "skipped";
128
+ success: "success";
129
+ pending: "pending";
130
+ running: "running";
131
+ failed: "failed";
132
+ cancelled: "cancelled";
133
+ cancelling: "cancelling";
134
+ queued: "queued";
135
+ recovering: "recovering";
136
+ timed_out_stale: "timed_out_stale";
137
+ drift_dropped: "drift_dropped";
138
+ }>;
139
+ startedAt: z.ZodNullable<z.ZodString>;
140
+ completedAt: z.ZodNullable<z.ZodString>;
141
+ durationMs: z.ZodNullable<z.ZodNumber>;
142
+ agentId: z.ZodNullable<z.ZodString>;
143
+ errorMessage: z.ZodNullable<z.ZodObject<{
144
+ untrusted: z.ZodLiteral<true>;
145
+ value: z.ZodString;
146
+ }, z.core.$strip>>;
147
+ initFailure: z.ZodNullable<z.ZodObject<{
148
+ scope: z.ZodEnum<{
149
+ run: "run";
150
+ job: "job";
151
+ }>;
152
+ category: z.ZodEnum<{
153
+ secret_resolution: "secret_resolution";
154
+ install_secrets: "install_secrets";
155
+ lock_resolution: "lock_resolution";
156
+ build_coordination: "build_coordination";
157
+ environment_rules: "environment_rules";
158
+ dynamic_eval: "dynamic_eval";
159
+ no_agent: "no_agent";
160
+ matrix_expansion: "matrix_expansion";
161
+ }>;
162
+ message: z.ZodObject<{
163
+ untrusted: z.ZodLiteral<true>;
164
+ value: z.ZodString;
165
+ }, z.core.$strip>;
166
+ }, z.core.$strip>>;
167
+ needs: z.ZodArray<z.ZodObject<{
168
+ ref: z.ZodObject<{
169
+ untrusted: z.ZodLiteral<true>;
170
+ value: z.ZodString;
171
+ }, z.core.$strip>;
172
+ runOn: z.ZodArray<z.ZodEnum<{
173
+ skipped: "skipped";
174
+ success: "success";
175
+ pending: "pending";
176
+ running: "running";
177
+ failed: "failed";
178
+ cancelled: "cancelled";
179
+ cancelling: "cancelling";
180
+ queued: "queued";
181
+ recovering: "recovering";
182
+ timed_out_stale: "timed_out_stale";
183
+ drift_dropped: "drift_dropped";
184
+ }>>;
185
+ }, z.core.$strip>>;
186
+ outputs: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
187
+ untrusted: z.ZodLiteral<true>;
188
+ value: z.ZodString;
189
+ }, z.core.$strip>>>;
190
+ secretOutputKeys: z.ZodArray<z.ZodString>;
191
+ steps: z.ZodArray<z.ZodObject<{
192
+ stepIndex: z.ZodNumber;
193
+ stepName: z.ZodObject<{
194
+ untrusted: z.ZodLiteral<true>;
195
+ value: z.ZodString;
196
+ }, z.core.$strip>;
197
+ status: z.ZodEnum<{
198
+ skipped: "skipped";
199
+ success: "success";
200
+ pending: "pending";
201
+ running: "running";
202
+ failed: "failed";
203
+ cancelled: "cancelled";
204
+ }>;
205
+ exitCode: z.ZodNullable<z.ZodNumber>;
206
+ durationMs: z.ZodNullable<z.ZodNumber>;
207
+ startedAt: z.ZodNullable<z.ZodString>;
208
+ completedAt: z.ZodNullable<z.ZodString>;
209
+ errorMessage: z.ZodNullable<z.ZodObject<{
210
+ untrusted: z.ZodLiteral<true>;
211
+ value: z.ZodString;
212
+ }, z.core.$strip>>;
213
+ stepType: z.ZodString;
214
+ checkOutcome: z.ZodNullable<z.ZodEnum<{
215
+ skipped: "skipped";
216
+ applied: "applied";
217
+ declined: "declined";
218
+ "dry-run": "dry-run";
219
+ no_check: "no_check";
220
+ }>>;
221
+ secretsAccessed: z.ZodArray<z.ZodString>;
222
+ }, z.core.$strip>>;
223
+ }, z.core.$strip>>;
224
+ }, z.core.$strip>>;
225
+ error: z.ZodOptional<z.ZodString>;
226
+ }, z.core.$strip>;
227
+ export type DashboardRunStructuredResponse = z.infer<typeof dashboardRunStructuredResponseSchema>;
27
228
  /** Request step logs from orchestrator. */
28
229
  export declare const dashboardStepLogsRequestSchema: z.ZodObject<{
29
230
  type: z.ZodLiteral<"dashboard.step.logs">;
@@ -31,6 +232,10 @@ export declare const dashboardStepLogsRequestSchema: z.ZodObject<{
31
232
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
32
233
  type: z.ZodLiteral<"user">;
33
234
  sub: z.ZodString;
235
+ agent: z.ZodOptional<z.ZodObject<{
236
+ patId: z.ZodString;
237
+ label: z.ZodString;
238
+ }, z.core.$strip>>;
34
239
  }, z.core.$strip>, z.ZodObject<{
35
240
  type: z.ZodLiteral<"api_key">;
36
241
  keyId: z.ZodString;
@@ -67,6 +272,7 @@ export declare const dashboardJobDetailSchema: z.ZodObject<{
67
272
  orchestratorId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
273
  errorMessage: z.ZodNullable<z.ZodString>;
69
274
  runsOnLabels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
275
+ environments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
70
276
  outputs: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
71
277
  secretOutputKeys: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
72
278
  initFailure: z.ZodOptional<z.ZodObject<{
@@ -122,6 +328,12 @@ export declare const dashboardJobDetailSchema: z.ZodObject<{
122
328
  no_check: "no_check";
123
329
  }>>>;
124
330
  driftSummary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
331
+ concurrencyKind: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
332
+ sequential: "sequential";
333
+ "parallel-child": "parallel-child";
334
+ "parallel-group": "parallel-group";
335
+ }>>>;
336
+ groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
125
337
  }, z.core.$strip>>;
126
338
  }, z.core.$strip>;
127
339
  /** Response with full run detail (correlates to dashboard.run.detail). */
@@ -143,6 +355,7 @@ export declare const dashboardRunDetailResponseSchema: z.ZodObject<{
143
355
  orchestratorId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
144
356
  errorMessage: z.ZodNullable<z.ZodString>;
145
357
  runsOnLabels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
358
+ environments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
146
359
  outputs: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
147
360
  secretOutputKeys: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
148
361
  initFailure: z.ZodOptional<z.ZodObject<{
@@ -198,13 +411,19 @@ export declare const dashboardRunDetailResponseSchema: z.ZodObject<{
198
411
  no_check: "no_check";
199
412
  }>>>;
200
413
  driftSummary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
414
+ concurrencyKind: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
415
+ sequential: "sequential";
416
+ "parallel-child": "parallel-child";
417
+ "parallel-group": "parallel-group";
418
+ }>>>;
419
+ groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
201
420
  }, z.core.$strip>>;
202
421
  }, z.core.$strip>>;
203
422
  trustContext: z.ZodOptional<z.ZodObject<{
204
423
  trustTier: z.ZodNullable<z.ZodEnum<{
205
424
  unknown: "unknown";
206
- trusted: "trusted";
207
425
  known: "known";
426
+ trusted: "trusted";
208
427
  }>>;
209
428
  lockFileSource: z.ZodNullable<z.ZodEnum<{
210
429
  head: "head";
@@ -247,6 +466,10 @@ export declare const dashboardAttestationsListRequestSchema: z.ZodObject<{
247
466
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
248
467
  type: z.ZodLiteral<"user">;
249
468
  sub: z.ZodString;
469
+ agent: z.ZodOptional<z.ZodObject<{
470
+ patId: z.ZodString;
471
+ label: z.ZodString;
472
+ }, z.core.$strip>>;
250
473
  }, z.core.$strip>, z.ZodObject<{
251
474
  type: z.ZodLiteral<"api_key">;
252
475
  keyId: z.ZodString;
@@ -266,6 +489,23 @@ export declare const dashboardAttestationsListRequestSchema: z.ZodObject<{
266
489
  runId: z.ZodString;
267
490
  }, z.core.$strip>;
268
491
  export type DashboardAttestationsListRequest = z.infer<typeof dashboardAttestationsListRequestSchema>;
492
+ /**
493
+ * Server-side verification verdict for an attestation, computed at ingest.
494
+ * - `verified` — `verifyKiciBundle` succeeded.
495
+ * - `failed` — verification ran and the bundle failed (signature / identity /
496
+ * build-context / unsupported mode). A provenance-integrity signal.
497
+ * - `unverifiable` — no verdict could be computed (no trust root configured, or
498
+ * the JWKS / bundle could not be read). NOT a forgery signal.
499
+ * - `pending` — verdict not yet computed (pre-backfill row, or ingest raced the
500
+ * trust root).
501
+ */
502
+ export declare const attestationVerifyStatusSchema: z.ZodEnum<{
503
+ pending: "pending";
504
+ failed: "failed";
505
+ verified: "verified";
506
+ unverifiable: "unverifiable";
507
+ }>;
508
+ export type AttestationVerifyStatus = z.infer<typeof attestationVerifyStatusSchema>;
269
509
  /**
270
510
  * Single attestation in the list response, with its bundle inlined from object
271
511
  * storage so the dashboard verifies it without a second fetch. The bundle is a
@@ -295,6 +535,14 @@ export declare const attestationListItemSchema: z.ZodObject<{
295
535
  identityToken: z.ZodString;
296
536
  }, z.core.$strip>;
297
537
  }, z.core.$strip>;
538
+ runId: z.ZodOptional<z.ZodString>;
539
+ verifyStatus: z.ZodOptional<z.ZodEnum<{
540
+ pending: "pending";
541
+ failed: "failed";
542
+ verified: "verified";
543
+ unverifiable: "unverifiable";
544
+ }>>;
545
+ verifyReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
298
546
  }, z.core.$strip>;
299
547
  export type AttestationListItem = z.infer<typeof attestationListItemSchema>;
300
548
  /** Response with the run's attestations (correlates to dashboard.attestations.list). */
@@ -325,10 +573,207 @@ export declare const dashboardAttestationsListResponseSchema: z.ZodObject<{
325
573
  identityToken: z.ZodString;
326
574
  }, z.core.$strip>;
327
575
  }, z.core.$strip>;
576
+ runId: z.ZodOptional<z.ZodString>;
577
+ verifyStatus: z.ZodOptional<z.ZodEnum<{
578
+ pending: "pending";
579
+ failed: "failed";
580
+ verified: "verified";
581
+ unverifiable: "unverifiable";
582
+ }>>;
583
+ verifyReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
328
584
  }, z.core.$strip>>;
329
585
  error: z.ZodOptional<z.ZodString>;
330
586
  }, z.core.$strip>;
331
587
  export type DashboardAttestationsListResponse = z.infer<typeof dashboardAttestationsListResponseSchema>;
588
+ /**
589
+ * Metadata-only summary row for the org-wide list. No inlined bundle (keeps the
590
+ * list cheap). `repository` / `workflow` are joined from `execution_runs` when
591
+ * available.
592
+ */
593
+ export declare const attestationListSummarySchema: z.ZodObject<{
594
+ id: z.ZodString;
595
+ runId: z.ZodString;
596
+ jobId: z.ZodString;
597
+ jobName: z.ZodNullable<z.ZodString>;
598
+ subjectName: z.ZodString;
599
+ subjectDigest: z.ZodString;
600
+ mode: z.ZodString;
601
+ mediaType: z.ZodString;
602
+ createdAt: z.ZodString;
603
+ verifyStatus: z.ZodEnum<{
604
+ pending: "pending";
605
+ failed: "failed";
606
+ verified: "verified";
607
+ unverifiable: "unverifiable";
608
+ }>;
609
+ verifyReason: z.ZodNullable<z.ZodString>;
610
+ repository: z.ZodNullable<z.ZodString>;
611
+ workflow: z.ZodNullable<z.ZodString>;
612
+ }, z.core.$strip>;
613
+ export type AttestationListSummary = z.infer<typeof attestationListSummarySchema>;
614
+ /** Filters for the org-wide attestations list. */
615
+ export declare const attestationListFiltersSchema: z.ZodObject<{
616
+ digest: z.ZodOptional<z.ZodString>;
617
+ name: z.ZodOptional<z.ZodString>;
618
+ status: z.ZodOptional<z.ZodEnum<{
619
+ pending: "pending";
620
+ failed: "failed";
621
+ verified: "verified";
622
+ unverifiable: "unverifiable";
623
+ }>>;
624
+ repository: z.ZodOptional<z.ZodString>;
625
+ workflow: z.ZodOptional<z.ZodString>;
626
+ job: z.ZodOptional<z.ZodString>;
627
+ createdAfter: z.ZodOptional<z.ZodString>;
628
+ createdBefore: z.ZodOptional<z.ZodString>;
629
+ }, z.core.$strip>;
630
+ export type AttestationListFilters = z.infer<typeof attestationListFiltersSchema>;
631
+ /** Request the org-wide, paginated, filtered list of attestations. */
632
+ export declare const dashboardAttestationsListAllRequestSchema: z.ZodObject<{
633
+ type: z.ZodLiteral<"dashboard.attestations.list.all">;
634
+ requestId: z.ZodString;
635
+ actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
636
+ type: z.ZodLiteral<"user">;
637
+ sub: z.ZodString;
638
+ agent: z.ZodOptional<z.ZodObject<{
639
+ patId: z.ZodString;
640
+ label: z.ZodString;
641
+ }, z.core.$strip>>;
642
+ }, z.core.$strip>, z.ZodObject<{
643
+ type: z.ZodLiteral<"api_key">;
644
+ keyId: z.ZodString;
645
+ ownerSub: z.ZodString;
646
+ }, z.core.$strip>, z.ZodObject<{
647
+ type: z.ZodLiteral<"service_account">;
648
+ id: z.ZodString;
649
+ }, z.core.$strip>, z.ZodObject<{
650
+ type: z.ZodLiteral<"platform_operator">;
651
+ sub: z.ZodString;
652
+ reason: z.ZodString;
653
+ sessionId: z.ZodOptional<z.ZodString>;
654
+ }, z.core.$strip>, z.ZodObject<{
655
+ type: z.ZodLiteral<"system">;
656
+ component: z.ZodString;
657
+ }, z.core.$strip>], "type">;
658
+ page: z.ZodNumber;
659
+ sort: z.ZodOptional<z.ZodString>;
660
+ filters: z.ZodDefault<z.ZodObject<{
661
+ digest: z.ZodOptional<z.ZodString>;
662
+ name: z.ZodOptional<z.ZodString>;
663
+ status: z.ZodOptional<z.ZodEnum<{
664
+ pending: "pending";
665
+ failed: "failed";
666
+ verified: "verified";
667
+ unverifiable: "unverifiable";
668
+ }>>;
669
+ repository: z.ZodOptional<z.ZodString>;
670
+ workflow: z.ZodOptional<z.ZodString>;
671
+ job: z.ZodOptional<z.ZodString>;
672
+ createdAfter: z.ZodOptional<z.ZodString>;
673
+ createdBefore: z.ZodOptional<z.ZodString>;
674
+ }, z.core.$strip>>;
675
+ }, z.core.$strip>;
676
+ export type DashboardAttestationsListAllRequest = z.infer<typeof dashboardAttestationsListAllRequestSchema>;
677
+ /** Response with one page of org-wide attestation summaries. */
678
+ export declare const dashboardAttestationsListAllResponseSchema: z.ZodObject<{
679
+ type: z.ZodLiteral<"dashboard.attestations.list.all.response">;
680
+ requestId: z.ZodString;
681
+ attestations: z.ZodArray<z.ZodObject<{
682
+ id: z.ZodString;
683
+ runId: z.ZodString;
684
+ jobId: z.ZodString;
685
+ jobName: z.ZodNullable<z.ZodString>;
686
+ subjectName: z.ZodString;
687
+ subjectDigest: z.ZodString;
688
+ mode: z.ZodString;
689
+ mediaType: z.ZodString;
690
+ createdAt: z.ZodString;
691
+ verifyStatus: z.ZodEnum<{
692
+ pending: "pending";
693
+ failed: "failed";
694
+ verified: "verified";
695
+ unverifiable: "unverifiable";
696
+ }>;
697
+ verifyReason: z.ZodNullable<z.ZodString>;
698
+ repository: z.ZodNullable<z.ZodString>;
699
+ workflow: z.ZodNullable<z.ZodString>;
700
+ }, z.core.$strip>>;
701
+ page: z.ZodNumber;
702
+ pageSize: z.ZodNumber;
703
+ total: z.ZodNumber;
704
+ error: z.ZodOptional<z.ZodString>;
705
+ }, z.core.$strip>;
706
+ export type DashboardAttestationsListAllResponse = z.infer<typeof dashboardAttestationsListAllResponseSchema>;
707
+ /** Request a single attestation by id (detail page; inlines the one bundle). */
708
+ export declare const dashboardAttestationGetRequestSchema: z.ZodObject<{
709
+ type: z.ZodLiteral<"dashboard.attestation.get">;
710
+ requestId: z.ZodString;
711
+ actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
712
+ type: z.ZodLiteral<"user">;
713
+ sub: z.ZodString;
714
+ agent: z.ZodOptional<z.ZodObject<{
715
+ patId: z.ZodString;
716
+ label: z.ZodString;
717
+ }, z.core.$strip>>;
718
+ }, z.core.$strip>, z.ZodObject<{
719
+ type: z.ZodLiteral<"api_key">;
720
+ keyId: z.ZodString;
721
+ ownerSub: z.ZodString;
722
+ }, z.core.$strip>, z.ZodObject<{
723
+ type: z.ZodLiteral<"service_account">;
724
+ id: z.ZodString;
725
+ }, z.core.$strip>, z.ZodObject<{
726
+ type: z.ZodLiteral<"platform_operator">;
727
+ sub: z.ZodString;
728
+ reason: z.ZodString;
729
+ sessionId: z.ZodOptional<z.ZodString>;
730
+ }, z.core.$strip>, z.ZodObject<{
731
+ type: z.ZodLiteral<"system">;
732
+ component: z.ZodString;
733
+ }, z.core.$strip>], "type">;
734
+ attestationId: z.ZodString;
735
+ }, z.core.$strip>;
736
+ export type DashboardAttestationGetRequest = z.infer<typeof dashboardAttestationGetRequestSchema>;
737
+ /** Response with one attestation (the existing item shape with bundle), or null. */
738
+ export declare const dashboardAttestationGetResponseSchema: z.ZodObject<{
739
+ type: z.ZodLiteral<"dashboard.attestation.get.response">;
740
+ requestId: z.ZodString;
741
+ attestation: z.ZodNullable<z.ZodObject<{
742
+ id: z.ZodString;
743
+ jobId: z.ZodString;
744
+ jobName: z.ZodNullable<z.ZodString>;
745
+ subjectName: z.ZodString;
746
+ subjectDigest: z.ZodString;
747
+ mode: z.ZodString;
748
+ mediaType: z.ZodString;
749
+ createdAt: z.ZodString;
750
+ bundle: z.ZodObject<{
751
+ mediaType: z.ZodLiteral<"application/vnd.kici.provenance.bundle+json;version=0.1">;
752
+ dsseEnvelope: z.ZodObject<{
753
+ payloadType: z.ZodString;
754
+ payload: z.ZodString;
755
+ signatures: z.ZodArray<z.ZodObject<{
756
+ keyid: z.ZodString;
757
+ sig: z.ZodString;
758
+ }, z.core.$strip>>;
759
+ }, z.core.$strip>;
760
+ verificationMaterial: z.ZodObject<{
761
+ publicKey: z.ZodRecord<z.ZodString, z.ZodUnknown>;
762
+ identityToken: z.ZodString;
763
+ }, z.core.$strip>;
764
+ }, z.core.$strip>;
765
+ runId: z.ZodOptional<z.ZodString>;
766
+ verifyStatus: z.ZodOptional<z.ZodEnum<{
767
+ pending: "pending";
768
+ failed: "failed";
769
+ verified: "verified";
770
+ unverifiable: "unverifiable";
771
+ }>>;
772
+ verifyReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
773
+ }, z.core.$strip>>;
774
+ error: z.ZodOptional<z.ZodString>;
775
+ }, z.core.$strip>;
776
+ export type DashboardAttestationGetResponse = z.infer<typeof dashboardAttestationGetResponseSchema>;
332
777
  /**
333
778
  * Run-summary projection from the orchestrator's execution_runs table.
334
779
  *
@@ -350,6 +795,7 @@ export declare const dashboardRunSummarySchema: z.ZodObject<{
350
795
  triggerEvent: z.ZodOptional<z.ZodString>;
351
796
  commitMessage: z.ZodOptional<z.ZodString>;
352
797
  jobCount: z.ZodOptional<z.ZodNumber>;
798
+ environments: z.ZodOptional<z.ZodArray<z.ZodString>>;
353
799
  startedAt: z.ZodOptional<z.ZodString>;
354
800
  completedAt: z.ZodOptional<z.ZodString>;
355
801
  durationMs: z.ZodOptional<z.ZodNumber>;
@@ -375,6 +821,10 @@ export declare const dashboardRunsListRequestSchema: z.ZodObject<{
375
821
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
376
822
  type: z.ZodLiteral<"user">;
377
823
  sub: z.ZodString;
824
+ agent: z.ZodOptional<z.ZodObject<{
825
+ patId: z.ZodString;
826
+ label: z.ZodString;
827
+ }, z.core.$strip>>;
378
828
  }, z.core.$strip>, z.ZodObject<{
379
829
  type: z.ZodLiteral<"api_key">;
380
830
  keyId: z.ZodString;
@@ -413,6 +863,7 @@ export declare const dashboardRunsListResponseSchema: z.ZodObject<{
413
863
  triggerEvent: z.ZodOptional<z.ZodString>;
414
864
  commitMessage: z.ZodOptional<z.ZodString>;
415
865
  jobCount: z.ZodOptional<z.ZodNumber>;
866
+ environments: z.ZodOptional<z.ZodArray<z.ZodString>>;
416
867
  startedAt: z.ZodOptional<z.ZodString>;
417
868
  completedAt: z.ZodOptional<z.ZodString>;
418
869
  durationMs: z.ZodOptional<z.ZodNumber>;
@@ -441,6 +892,10 @@ export declare const dashboardRunsFiltersRequestSchema: z.ZodObject<{
441
892
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
442
893
  type: z.ZodLiteral<"user">;
443
894
  sub: z.ZodString;
895
+ agent: z.ZodOptional<z.ZodObject<{
896
+ patId: z.ZodString;
897
+ label: z.ZodString;
898
+ }, z.core.$strip>>;
444
899
  }, z.core.$strip>, z.ZodObject<{
445
900
  type: z.ZodLiteral<"api_key">;
446
901
  keyId: z.ZodString;
@@ -497,6 +952,10 @@ export declare const dashboardSourcesListRequestSchema: z.ZodObject<{
497
952
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
498
953
  type: z.ZodLiteral<"user">;
499
954
  sub: z.ZodString;
955
+ agent: z.ZodOptional<z.ZodObject<{
956
+ patId: z.ZodString;
957
+ label: z.ZodString;
958
+ }, z.core.$strip>>;
500
959
  }, z.core.$strip>, z.ZodObject<{
501
960
  type: z.ZodLiteral<"api_key">;
502
961
  keyId: z.ZodString;
@@ -545,6 +1004,10 @@ export declare const runRerunRequestSchema: z.ZodObject<{
545
1004
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
546
1005
  type: z.ZodLiteral<"user">;
547
1006
  sub: z.ZodString;
1007
+ agent: z.ZodOptional<z.ZodObject<{
1008
+ patId: z.ZodString;
1009
+ label: z.ZodString;
1010
+ }, z.core.$strip>>;
548
1011
  }, z.core.$strip>, z.ZodObject<{
549
1012
  type: z.ZodLiteral<"api_key">;
550
1013
  keyId: z.ZodString;
@@ -571,6 +1034,10 @@ export declare const manualScheduleRequestSchema: z.ZodObject<{
571
1034
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
572
1035
  type: z.ZodLiteral<"user">;
573
1036
  sub: z.ZodString;
1037
+ agent: z.ZodOptional<z.ZodObject<{
1038
+ patId: z.ZodString;
1039
+ label: z.ZodString;
1040
+ }, z.core.$strip>>;
574
1041
  }, z.core.$strip>, z.ZodObject<{
575
1042
  type: z.ZodLiteral<"api_key">;
576
1043
  keyId: z.ZodString;
@@ -596,6 +1063,10 @@ export declare const runCancelRequestSchema: z.ZodObject<{
596
1063
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
597
1064
  type: z.ZodLiteral<"user">;
598
1065
  sub: z.ZodString;
1066
+ agent: z.ZodOptional<z.ZodObject<{
1067
+ patId: z.ZodString;
1068
+ label: z.ZodString;
1069
+ }, z.core.$strip>>;
599
1070
  }, z.core.$strip>, z.ZodObject<{
600
1071
  type: z.ZodLiteral<"api_key">;
601
1072
  keyId: z.ZodString;
@@ -622,6 +1093,10 @@ export declare const dashboardPayloadRequestSchema: z.ZodObject<{
622
1093
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
623
1094
  type: z.ZodLiteral<"user">;
624
1095
  sub: z.ZodString;
1096
+ agent: z.ZodOptional<z.ZodObject<{
1097
+ patId: z.ZodString;
1098
+ label: z.ZodString;
1099
+ }, z.core.$strip>>;
625
1100
  }, z.core.$strip>, z.ZodObject<{
626
1101
  type: z.ZodLiteral<"api_key">;
627
1102
  keyId: z.ZodString;
@@ -688,6 +1163,10 @@ export declare const dashboardEventLogListRequestSchema: z.ZodObject<{
688
1163
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
689
1164
  type: z.ZodLiteral<"user">;
690
1165
  sub: z.ZodString;
1166
+ agent: z.ZodOptional<z.ZodObject<{
1167
+ patId: z.ZodString;
1168
+ label: z.ZodString;
1169
+ }, z.core.$strip>>;
691
1170
  }, z.core.$strip>, z.ZodObject<{
692
1171
  type: z.ZodLiteral<"api_key">;
693
1172
  keyId: z.ZodString;
@@ -767,6 +1246,10 @@ export declare const dashboardEventLogDetailRequestSchema: z.ZodObject<{
767
1246
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
768
1247
  type: z.ZodLiteral<"user">;
769
1248
  sub: z.ZodString;
1249
+ agent: z.ZodOptional<z.ZodObject<{
1250
+ patId: z.ZodString;
1251
+ label: z.ZodString;
1252
+ }, z.core.$strip>>;
770
1253
  }, z.core.$strip>, z.ZodObject<{
771
1254
  type: z.ZodLiteral<"api_key">;
772
1255
  keyId: z.ZodString;
@@ -865,6 +1348,10 @@ export declare const dashboardEventLogPayloadStreamRequestSchema: z.ZodObject<{
865
1348
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
866
1349
  type: z.ZodLiteral<"user">;
867
1350
  sub: z.ZodString;
1351
+ agent: z.ZodOptional<z.ZodObject<{
1352
+ patId: z.ZodString;
1353
+ label: z.ZodString;
1354
+ }, z.core.$strip>>;
868
1355
  }, z.core.$strip>, z.ZodObject<{
869
1356
  type: z.ZodLiteral<"api_key">;
870
1357
  keyId: z.ZodString;
@@ -960,6 +1447,10 @@ export declare const dashboardEventDlqListRequestSchema: z.ZodObject<{
960
1447
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
961
1448
  type: z.ZodLiteral<"user">;
962
1449
  sub: z.ZodString;
1450
+ agent: z.ZodOptional<z.ZodObject<{
1451
+ patId: z.ZodString;
1452
+ label: z.ZodString;
1453
+ }, z.core.$strip>>;
963
1454
  }, z.core.$strip>, z.ZodObject<{
964
1455
  type: z.ZodLiteral<"api_key">;
965
1456
  keyId: z.ZodString;
@@ -1008,6 +1499,10 @@ export declare const dashboardEventDlqCountRequestSchema: z.ZodObject<{
1008
1499
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1009
1500
  type: z.ZodLiteral<"user">;
1010
1501
  sub: z.ZodString;
1502
+ agent: z.ZodOptional<z.ZodObject<{
1503
+ patId: z.ZodString;
1504
+ label: z.ZodString;
1505
+ }, z.core.$strip>>;
1011
1506
  }, z.core.$strip>, z.ZodObject<{
1012
1507
  type: z.ZodLiteral<"api_key">;
1013
1508
  keyId: z.ZodString;
@@ -1039,6 +1534,10 @@ export declare const dashboardEventDlqRetryRequestSchema: z.ZodObject<{
1039
1534
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1040
1535
  type: z.ZodLiteral<"user">;
1041
1536
  sub: z.ZodString;
1537
+ agent: z.ZodOptional<z.ZodObject<{
1538
+ patId: z.ZodString;
1539
+ label: z.ZodString;
1540
+ }, z.core.$strip>>;
1042
1541
  }, z.core.$strip>, z.ZodObject<{
1043
1542
  type: z.ZodLiteral<"api_key">;
1044
1543
  keyId: z.ZodString;
@@ -1071,6 +1570,10 @@ export declare const dashboardEventDlqDiscardRequestSchema: z.ZodObject<{
1071
1570
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1072
1571
  type: z.ZodLiteral<"user">;
1073
1572
  sub: z.ZodString;
1573
+ agent: z.ZodOptional<z.ZodObject<{
1574
+ patId: z.ZodString;
1575
+ label: z.ZodString;
1576
+ }, z.core.$strip>>;
1074
1577
  }, z.core.$strip>, z.ZodObject<{
1075
1578
  type: z.ZodLiteral<"api_key">;
1076
1579
  keyId: z.ZodString;
@@ -1103,6 +1606,10 @@ export declare const envListRequestSchema: z.ZodObject<{
1103
1606
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1104
1607
  type: z.ZodLiteral<"user">;
1105
1608
  sub: z.ZodString;
1609
+ agent: z.ZodOptional<z.ZodObject<{
1610
+ patId: z.ZodString;
1611
+ label: z.ZodString;
1612
+ }, z.core.$strip>>;
1106
1613
  }, z.core.$strip>, z.ZodObject<{
1107
1614
  type: z.ZodLiteral<"api_key">;
1108
1615
  keyId: z.ZodString;
@@ -1129,8 +1636,8 @@ declare const envListResponseSchema: z.ZodObject<{
1129
1636
  id: z.ZodString;
1130
1637
  name: z.ZodString;
1131
1638
  type: z.ZodEnum<{
1132
- glob: "glob";
1133
1639
  fixed: "fixed";
1640
+ glob: "glob";
1134
1641
  }>;
1135
1642
  globPattern: z.ZodNullable<z.ZodString>;
1136
1643
  enabled: z.ZodBoolean;
@@ -1148,6 +1655,10 @@ export declare const envGetRequestSchema: z.ZodObject<{
1148
1655
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1149
1656
  type: z.ZodLiteral<"user">;
1150
1657
  sub: z.ZodString;
1658
+ agent: z.ZodOptional<z.ZodObject<{
1659
+ patId: z.ZodString;
1660
+ label: z.ZodString;
1661
+ }, z.core.$strip>>;
1151
1662
  }, z.core.$strip>, z.ZodObject<{
1152
1663
  type: z.ZodLiteral<"api_key">;
1153
1664
  keyId: z.ZodString;
@@ -1173,8 +1684,8 @@ declare const envGetResponseSchema: z.ZodObject<{
1173
1684
  id: z.ZodString;
1174
1685
  name: z.ZodString;
1175
1686
  type: z.ZodEnum<{
1176
- glob: "glob";
1177
1687
  fixed: "fixed";
1688
+ glob: "glob";
1178
1689
  }>;
1179
1690
  globPattern: z.ZodNullable<z.ZodString>;
1180
1691
  branchRestrictions: z.ZodNullable<z.ZodArray<z.ZodString>>;
@@ -1200,6 +1711,10 @@ export declare const envCreateRequestSchema: z.ZodObject<{
1200
1711
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1201
1712
  type: z.ZodLiteral<"user">;
1202
1713
  sub: z.ZodString;
1714
+ agent: z.ZodOptional<z.ZodObject<{
1715
+ patId: z.ZodString;
1716
+ label: z.ZodString;
1717
+ }, z.core.$strip>>;
1203
1718
  }, z.core.$strip>, z.ZodObject<{
1204
1719
  type: z.ZodLiteral<"api_key">;
1205
1720
  keyId: z.ZodString;
@@ -1218,8 +1733,8 @@ export declare const envCreateRequestSchema: z.ZodObject<{
1218
1733
  }, z.core.$strip>], "type">;
1219
1734
  name: z.ZodString;
1220
1735
  envType: z.ZodEnum<{
1221
- glob: "glob";
1222
1736
  fixed: "fixed";
1737
+ glob: "glob";
1223
1738
  }>;
1224
1739
  globPattern: z.ZodOptional<z.ZodString>;
1225
1740
  branchRestrictions: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -1240,6 +1755,10 @@ export declare const envUpdateRequestSchema: z.ZodObject<{
1240
1755
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1241
1756
  type: z.ZodLiteral<"user">;
1242
1757
  sub: z.ZodString;
1758
+ agent: z.ZodOptional<z.ZodObject<{
1759
+ patId: z.ZodString;
1760
+ label: z.ZodString;
1761
+ }, z.core.$strip>>;
1243
1762
  }, z.core.$strip>, z.ZodObject<{
1244
1763
  type: z.ZodLiteral<"api_key">;
1245
1764
  keyId: z.ZodString;
@@ -1260,8 +1779,8 @@ export declare const envUpdateRequestSchema: z.ZodObject<{
1260
1779
  updates: z.ZodObject<{
1261
1780
  name: z.ZodOptional<z.ZodString>;
1262
1781
  envType: z.ZodOptional<z.ZodEnum<{
1263
- glob: "glob";
1264
1782
  fixed: "fixed";
1783
+ glob: "glob";
1265
1784
  }>>;
1266
1785
  globPattern: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1267
1786
  branchRestrictions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
@@ -1283,6 +1802,10 @@ export declare const envTestAccessSetRequestSchema: z.ZodObject<{
1283
1802
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1284
1803
  type: z.ZodLiteral<"user">;
1285
1804
  sub: z.ZodString;
1805
+ agent: z.ZodOptional<z.ZodObject<{
1806
+ patId: z.ZodString;
1807
+ label: z.ZodString;
1808
+ }, z.core.$strip>>;
1286
1809
  }, z.core.$strip>, z.ZodObject<{
1287
1810
  type: z.ZodLiteral<"api_key">;
1288
1811
  keyId: z.ZodString;
@@ -1309,6 +1832,10 @@ export declare const envDeleteRequestSchema: z.ZodObject<{
1309
1832
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1310
1833
  type: z.ZodLiteral<"user">;
1311
1834
  sub: z.ZodString;
1835
+ agent: z.ZodOptional<z.ZodObject<{
1836
+ patId: z.ZodString;
1837
+ label: z.ZodString;
1838
+ }, z.core.$strip>>;
1312
1839
  }, z.core.$strip>, z.ZodObject<{
1313
1840
  type: z.ZodLiteral<"api_key">;
1314
1841
  keyId: z.ZodString;
@@ -1348,6 +1875,10 @@ export declare const envVarsListRequestSchema: z.ZodObject<{
1348
1875
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1349
1876
  type: z.ZodLiteral<"user">;
1350
1877
  sub: z.ZodString;
1878
+ agent: z.ZodOptional<z.ZodObject<{
1879
+ patId: z.ZodString;
1880
+ label: z.ZodString;
1881
+ }, z.core.$strip>>;
1351
1882
  }, z.core.$strip>, z.ZodObject<{
1352
1883
  type: z.ZodLiteral<"api_key">;
1353
1884
  keyId: z.ZodString;
@@ -1383,6 +1914,10 @@ export declare const envVarSetRequestSchema: z.ZodObject<{
1383
1914
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1384
1915
  type: z.ZodLiteral<"user">;
1385
1916
  sub: z.ZodString;
1917
+ agent: z.ZodOptional<z.ZodObject<{
1918
+ patId: z.ZodString;
1919
+ label: z.ZodString;
1920
+ }, z.core.$strip>>;
1386
1921
  }, z.core.$strip>, z.ZodObject<{
1387
1922
  type: z.ZodLiteral<"api_key">;
1388
1923
  keyId: z.ZodString;
@@ -1411,6 +1946,10 @@ export declare const envVarDeleteRequestSchema: z.ZodObject<{
1411
1946
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1412
1947
  type: z.ZodLiteral<"user">;
1413
1948
  sub: z.ZodString;
1949
+ agent: z.ZodOptional<z.ZodObject<{
1950
+ patId: z.ZodString;
1951
+ label: z.ZodString;
1952
+ }, z.core.$strip>>;
1414
1953
  }, z.core.$strip>, z.ZodObject<{
1415
1954
  type: z.ZodLiteral<"api_key">;
1416
1955
  keyId: z.ZodString;
@@ -1437,6 +1976,10 @@ export declare const envSourceOverridesListRequestSchema: z.ZodObject<{
1437
1976
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1438
1977
  type: z.ZodLiteral<"user">;
1439
1978
  sub: z.ZodString;
1979
+ agent: z.ZodOptional<z.ZodObject<{
1980
+ patId: z.ZodString;
1981
+ label: z.ZodString;
1982
+ }, z.core.$strip>>;
1440
1983
  }, z.core.$strip>, z.ZodObject<{
1441
1984
  type: z.ZodLiteral<"api_key">;
1442
1985
  keyId: z.ZodString;
@@ -1463,6 +2006,10 @@ export declare const envSourceOverrideSetRequestSchema: z.ZodObject<{
1463
2006
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1464
2007
  type: z.ZodLiteral<"user">;
1465
2008
  sub: z.ZodString;
2009
+ agent: z.ZodOptional<z.ZodObject<{
2010
+ patId: z.ZodString;
2011
+ label: z.ZodString;
2012
+ }, z.core.$strip>>;
1466
2013
  }, z.core.$strip>, z.ZodObject<{
1467
2014
  type: z.ZodLiteral<"api_key">;
1468
2015
  keyId: z.ZodString;
@@ -1491,6 +2038,10 @@ export declare const envSourceOverrideDeleteRequestSchema: z.ZodObject<{
1491
2038
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1492
2039
  type: z.ZodLiteral<"user">;
1493
2040
  sub: z.ZodString;
2041
+ agent: z.ZodOptional<z.ZodObject<{
2042
+ patId: z.ZodString;
2043
+ label: z.ZodString;
2044
+ }, z.core.$strip>>;
1494
2045
  }, z.core.$strip>, z.ZodObject<{
1495
2046
  type: z.ZodLiteral<"api_key">;
1496
2047
  keyId: z.ZodString;
@@ -1528,6 +2079,10 @@ export declare const envBindingsListRequestSchema: z.ZodObject<{
1528
2079
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1529
2080
  type: z.ZodLiteral<"user">;
1530
2081
  sub: z.ZodString;
2082
+ agent: z.ZodOptional<z.ZodObject<{
2083
+ patId: z.ZodString;
2084
+ label: z.ZodString;
2085
+ }, z.core.$strip>>;
1531
2086
  }, z.core.$strip>, z.ZodObject<{
1532
2087
  type: z.ZodLiteral<"api_key">;
1533
2088
  keyId: z.ZodString;
@@ -1553,6 +2108,10 @@ export declare const envBindingsSetRequestSchema: z.ZodObject<{
1553
2108
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1554
2109
  type: z.ZodLiteral<"user">;
1555
2110
  sub: z.ZodString;
2111
+ agent: z.ZodOptional<z.ZodObject<{
2112
+ patId: z.ZodString;
2113
+ label: z.ZodString;
2114
+ }, z.core.$strip>>;
1556
2115
  }, z.core.$strip>, z.ZodObject<{
1557
2116
  type: z.ZodLiteral<"api_key">;
1558
2117
  keyId: z.ZodString;
@@ -1582,6 +2141,10 @@ export declare const envSecretsListRequestSchema: z.ZodObject<{
1582
2141
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1583
2142
  type: z.ZodLiteral<"user">;
1584
2143
  sub: z.ZodString;
2144
+ agent: z.ZodOptional<z.ZodObject<{
2145
+ patId: z.ZodString;
2146
+ label: z.ZodString;
2147
+ }, z.core.$strip>>;
1585
2148
  }, z.core.$strip>, z.ZodObject<{
1586
2149
  type: z.ZodLiteral<"api_key">;
1587
2150
  keyId: z.ZodString;
@@ -1606,6 +2169,10 @@ export declare const envSecretSetRequestSchema: z.ZodObject<{
1606
2169
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1607
2170
  type: z.ZodLiteral<"user">;
1608
2171
  sub: z.ZodString;
2172
+ agent: z.ZodOptional<z.ZodObject<{
2173
+ patId: z.ZodString;
2174
+ label: z.ZodString;
2175
+ }, z.core.$strip>>;
1609
2176
  }, z.core.$strip>, z.ZodObject<{
1610
2177
  type: z.ZodLiteral<"api_key">;
1611
2178
  keyId: z.ZodString;
@@ -1633,6 +2200,10 @@ export declare const envSecretDeleteRequestSchema: z.ZodObject<{
1633
2200
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1634
2201
  type: z.ZodLiteral<"user">;
1635
2202
  sub: z.ZodString;
2203
+ agent: z.ZodOptional<z.ZodObject<{
2204
+ patId: z.ZodString;
2205
+ label: z.ZodString;
2206
+ }, z.core.$strip>>;
1636
2207
  }, z.core.$strip>, z.ZodObject<{
1637
2208
  type: z.ZodLiteral<"api_key">;
1638
2209
  keyId: z.ZodString;
@@ -1659,6 +2230,10 @@ export declare const envSecretScopeCreateRequestSchema: z.ZodObject<{
1659
2230
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1660
2231
  type: z.ZodLiteral<"user">;
1661
2232
  sub: z.ZodString;
2233
+ agent: z.ZodOptional<z.ZodObject<{
2234
+ patId: z.ZodString;
2235
+ label: z.ZodString;
2236
+ }, z.core.$strip>>;
1662
2237
  }, z.core.$strip>, z.ZodObject<{
1663
2238
  type: z.ZodLiteral<"api_key">;
1664
2239
  keyId: z.ZodString;
@@ -1684,6 +2259,10 @@ export declare const envSecretScopeRenameRequestSchema: z.ZodObject<{
1684
2259
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1685
2260
  type: z.ZodLiteral<"user">;
1686
2261
  sub: z.ZodString;
2262
+ agent: z.ZodOptional<z.ZodObject<{
2263
+ patId: z.ZodString;
2264
+ label: z.ZodString;
2265
+ }, z.core.$strip>>;
1687
2266
  }, z.core.$strip>, z.ZodObject<{
1688
2267
  type: z.ZodLiteral<"api_key">;
1689
2268
  keyId: z.ZodString;
@@ -1710,6 +2289,10 @@ export declare const envSecretScopeDeleteRequestSchema: z.ZodObject<{
1710
2289
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1711
2290
  type: z.ZodLiteral<"user">;
1712
2291
  sub: z.ZodString;
2292
+ agent: z.ZodOptional<z.ZodObject<{
2293
+ patId: z.ZodString;
2294
+ label: z.ZodString;
2295
+ }, z.core.$strip>>;
1713
2296
  }, z.core.$strip>, z.ZodObject<{
1714
2297
  type: z.ZodLiteral<"api_key">;
1715
2298
  keyId: z.ZodString;
@@ -1735,6 +2318,10 @@ export declare const envHistoryRequestSchema: z.ZodObject<{
1735
2318
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1736
2319
  type: z.ZodLiteral<"user">;
1737
2320
  sub: z.ZodString;
2321
+ agent: z.ZodOptional<z.ZodObject<{
2322
+ patId: z.ZodString;
2323
+ label: z.ZodString;
2324
+ }, z.core.$strip>>;
1738
2325
  }, z.core.$strip>, z.ZodObject<{
1739
2326
  type: z.ZodLiteral<"api_key">;
1740
2327
  keyId: z.ZodString;
@@ -1758,8 +2345,8 @@ export declare const envHistoryRequestSchema: z.ZodObject<{
1758
2345
  /** Status values for held runs (approval queue). */
1759
2346
  export declare const HeldRunStatus: z.ZodEnum<{
1760
2347
  pending: "pending";
1761
- rejected: "rejected";
1762
2348
  approved: "approved";
2349
+ rejected: "rejected";
1763
2350
  expired: "expired";
1764
2351
  }>;
1765
2352
  export type HeldRunStatus = z.infer<typeof HeldRunStatus>;
@@ -1776,6 +2363,10 @@ export declare const heldRunsListRequestSchema: z.ZodObject<{
1776
2363
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1777
2364
  type: z.ZodLiteral<"user">;
1778
2365
  sub: z.ZodString;
2366
+ agent: z.ZodOptional<z.ZodObject<{
2367
+ patId: z.ZodString;
2368
+ label: z.ZodString;
2369
+ }, z.core.$strip>>;
1779
2370
  }, z.core.$strip>, z.ZodObject<{
1780
2371
  type: z.ZodLiteral<"api_key">;
1781
2372
  keyId: z.ZodString;
@@ -1794,8 +2385,8 @@ export declare const heldRunsListRequestSchema: z.ZodObject<{
1794
2385
  }, z.core.$strip>], "type">;
1795
2386
  status: z.ZodOptional<z.ZodEnum<{
1796
2387
  pending: "pending";
1797
- rejected: "rejected";
1798
2388
  approved: "approved";
2389
+ rejected: "rejected";
1799
2390
  expired: "expired";
1800
2391
  }>>;
1801
2392
  queueType: z.ZodOptional<z.ZodEnum<{
@@ -1819,8 +2410,8 @@ declare const heldRunsListResponseSchema: z.ZodObject<{
1819
2410
  }>;
1820
2411
  status: z.ZodEnum<{
1821
2412
  pending: "pending";
1822
- rejected: "rejected";
1823
2413
  approved: "approved";
2414
+ rejected: "rejected";
1824
2415
  expired: "expired";
1825
2416
  }>;
1826
2417
  requestedAt: z.ZodCoercedString<unknown>;
@@ -1833,8 +2424,8 @@ declare const heldRunsListResponseSchema: z.ZodObject<{
1833
2424
  jobId: z.ZodOptional<z.ZodString>;
1834
2425
  holdScope: z.ZodOptional<z.ZodEnum<{
1835
2426
  job: "job";
1836
- step: "step";
1837
2427
  workflow: "workflow";
2428
+ step: "step";
1838
2429
  }>>;
1839
2430
  stepIndex: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1840
2431
  requirement: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -1872,6 +2463,10 @@ export declare const heldRunApproveRequestSchema: z.ZodObject<{
1872
2463
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1873
2464
  type: z.ZodLiteral<"user">;
1874
2465
  sub: z.ZodString;
2466
+ agent: z.ZodOptional<z.ZodObject<{
2467
+ patId: z.ZodString;
2468
+ label: z.ZodString;
2469
+ }, z.core.$strip>>;
1875
2470
  }, z.core.$strip>, z.ZodObject<{
1876
2471
  type: z.ZodLiteral<"api_key">;
1877
2472
  keyId: z.ZodString;
@@ -1898,6 +2493,10 @@ export declare const heldRunRejectRequestSchema: z.ZodObject<{
1898
2493
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1899
2494
  type: z.ZodLiteral<"user">;
1900
2495
  sub: z.ZodString;
2496
+ agent: z.ZodOptional<z.ZodObject<{
2497
+ patId: z.ZodString;
2498
+ label: z.ZodString;
2499
+ }, z.core.$strip>>;
1901
2500
  }, z.core.$strip>, z.ZodObject<{
1902
2501
  type: z.ZodLiteral<"api_key">;
1903
2502
  keyId: z.ZodString;
@@ -1924,6 +2523,10 @@ export declare const dashboardDiagnosticsRequestSchema: z.ZodObject<{
1924
2523
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1925
2524
  type: z.ZodLiteral<"user">;
1926
2525
  sub: z.ZodString;
2526
+ agent: z.ZodOptional<z.ZodObject<{
2527
+ patId: z.ZodString;
2528
+ label: z.ZodString;
2529
+ }, z.core.$strip>>;
1927
2530
  }, z.core.$strip>, z.ZodObject<{
1928
2531
  type: z.ZodLiteral<"api_key">;
1929
2532
  keyId: z.ZodString;
@@ -1990,6 +2593,10 @@ export declare const dashboardFleetHostsRequestSchema: z.ZodObject<{
1990
2593
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1991
2594
  type: z.ZodLiteral<"user">;
1992
2595
  sub: z.ZodString;
2596
+ agent: z.ZodOptional<z.ZodObject<{
2597
+ patId: z.ZodString;
2598
+ label: z.ZodString;
2599
+ }, z.core.$strip>>;
1993
2600
  }, z.core.$strip>, z.ZodObject<{
1994
2601
  type: z.ZodLiteral<"api_key">;
1995
2602
  keyId: z.ZodString;
@@ -2013,6 +2620,10 @@ export declare const dashboardFleetHostRequestSchema: z.ZodObject<{
2013
2620
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2014
2621
  type: z.ZodLiteral<"user">;
2015
2622
  sub: z.ZodString;
2623
+ agent: z.ZodOptional<z.ZodObject<{
2624
+ patId: z.ZodString;
2625
+ label: z.ZodString;
2626
+ }, z.core.$strip>>;
2016
2627
  }, z.core.$strip>, z.ZodObject<{
2017
2628
  type: z.ZodLiteral<"api_key">;
2018
2629
  keyId: z.ZodString;
@@ -2037,6 +2648,10 @@ export declare const dashboardFleetPreviewRequestSchema: z.ZodObject<{
2037
2648
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2038
2649
  type: z.ZodLiteral<"user">;
2039
2650
  sub: z.ZodString;
2651
+ agent: z.ZodOptional<z.ZodObject<{
2652
+ patId: z.ZodString;
2653
+ label: z.ZodString;
2654
+ }, z.core.$strip>>;
2040
2655
  }, z.core.$strip>, z.ZodObject<{
2041
2656
  type: z.ZodLiteral<"api_key">;
2042
2657
  keyId: z.ZodString;
@@ -2134,9 +2749,9 @@ export declare const dashboardFleetPreviewResponseSchema: z.ZodObject<{
2134
2749
  }>;
2135
2750
  }, z.core.$strip>>;
2136
2751
  onUnreachable: z.ZodEnum<{
2752
+ hold: "hold";
2137
2753
  skip: "skip";
2138
2754
  fail: "fail";
2139
- hold: "hold";
2140
2755
  }>;
2141
2756
  estimatedChildCount: z.ZodNumber;
2142
2757
  }, z.core.$strip>;
@@ -2153,6 +2768,10 @@ export declare const dashboardFleetWorkflowsForHostRequestSchema: z.ZodObject<{
2153
2768
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2154
2769
  type: z.ZodLiteral<"user">;
2155
2770
  sub: z.ZodString;
2771
+ agent: z.ZodOptional<z.ZodObject<{
2772
+ patId: z.ZodString;
2773
+ label: z.ZodString;
2774
+ }, z.core.$strip>>;
2156
2775
  }, z.core.$strip>, z.ZodObject<{
2157
2776
  type: z.ZodLiteral<"api_key">;
2158
2777
  keyId: z.ZodString;
@@ -2177,9 +2796,9 @@ export declare const fleetHostWorkflowSchema: z.ZodObject<{
2177
2796
  repoIdentifier: z.ZodString;
2178
2797
  sourceFile: z.ZodNullable<z.ZodString>;
2179
2798
  onUnreachable: z.ZodEnum<{
2799
+ hold: "hold";
2180
2800
  skip: "skip";
2181
2801
  fail: "fail";
2182
- hold: "hold";
2183
2802
  }>;
2184
2803
  disposition: z.ZodEnum<{
2185
2804
  target: "target";
@@ -2196,9 +2815,9 @@ export declare const dashboardFleetWorkflowsForHostResponseSchema: z.ZodObject<{
2196
2815
  repoIdentifier: z.ZodString;
2197
2816
  sourceFile: z.ZodNullable<z.ZodString>;
2198
2817
  onUnreachable: z.ZodEnum<{
2818
+ hold: "hold";
2199
2819
  skip: "skip";
2200
2820
  fail: "fail";
2201
- hold: "hold";
2202
2821
  }>;
2203
2822
  disposition: z.ZodEnum<{
2204
2823
  target: "target";
@@ -2216,6 +2835,10 @@ export declare const fleetHostDeclareRequestSchema: z.ZodObject<{
2216
2835
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2217
2836
  type: z.ZodLiteral<"user">;
2218
2837
  sub: z.ZodString;
2838
+ agent: z.ZodOptional<z.ZodObject<{
2839
+ patId: z.ZodString;
2840
+ label: z.ZodString;
2841
+ }, z.core.$strip>>;
2219
2842
  }, z.core.$strip>, z.ZodObject<{
2220
2843
  type: z.ZodLiteral<"api_key">;
2221
2844
  keyId: z.ZodString;
@@ -2251,6 +2874,10 @@ export declare const fleetHostRemoveRequestSchema: z.ZodObject<{
2251
2874
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2252
2875
  type: z.ZodLiteral<"user">;
2253
2876
  sub: z.ZodString;
2877
+ agent: z.ZodOptional<z.ZodObject<{
2878
+ patId: z.ZodString;
2879
+ label: z.ZodString;
2880
+ }, z.core.$strip>>;
2254
2881
  }, z.core.$strip>, z.ZodObject<{
2255
2882
  type: z.ZodLiteral<"api_key">;
2256
2883
  keyId: z.ZodString;
@@ -2320,8 +2947,8 @@ declare const diagnosticsPeerSchema: z.ZodObject<{
2320
2947
  dependencyHealth: z.ZodOptional<z.ZodArray<z.ZodObject<{
2321
2948
  name: z.ZodString;
2322
2949
  status: z.ZodEnum<{
2323
- fail: "fail";
2324
2950
  pass: "pass";
2951
+ fail: "fail";
2325
2952
  warn: "warn";
2326
2953
  }>;
2327
2954
  message: z.ZodNullable<z.ZodString>;
@@ -2445,8 +3072,8 @@ export declare const dashboardDiagnosticsResponseSchema: z.ZodObject<{
2445
3072
  dependencyHealth: z.ZodOptional<z.ZodArray<z.ZodObject<{
2446
3073
  name: z.ZodString;
2447
3074
  status: z.ZodEnum<{
2448
- fail: "fail";
2449
3075
  pass: "pass";
3076
+ fail: "fail";
2450
3077
  warn: "warn";
2451
3078
  }>;
2452
3079
  message: z.ZodNullable<z.ZodString>;
@@ -2465,6 +3092,10 @@ export declare const dashboardScalerCapacityRequestSchema: z.ZodObject<{
2465
3092
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2466
3093
  type: z.ZodLiteral<"user">;
2467
3094
  sub: z.ZodString;
3095
+ agent: z.ZodOptional<z.ZodObject<{
3096
+ patId: z.ZodString;
3097
+ label: z.ZodString;
3098
+ }, z.core.$strip>>;
2468
3099
  }, z.core.$strip>, z.ZodObject<{
2469
3100
  type: z.ZodLiteral<"api_key">;
2470
3101
  keyId: z.ZodString;
@@ -2502,6 +3133,10 @@ export declare const dashboardScalerAgentsRequestSchema: z.ZodObject<{
2502
3133
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2503
3134
  type: z.ZodLiteral<"user">;
2504
3135
  sub: z.ZodString;
3136
+ agent: z.ZodOptional<z.ZodObject<{
3137
+ patId: z.ZodString;
3138
+ label: z.ZodString;
3139
+ }, z.core.$strip>>;
2505
3140
  }, z.core.$strip>, z.ZodObject<{
2506
3141
  type: z.ZodLiteral<"api_key">;
2507
3142
  keyId: z.ZodString;
@@ -2557,6 +3192,10 @@ export declare const registrationDisableRequestSchema: z.ZodObject<{
2557
3192
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2558
3193
  type: z.ZodLiteral<"user">;
2559
3194
  sub: z.ZodString;
3195
+ agent: z.ZodOptional<z.ZodObject<{
3196
+ patId: z.ZodString;
3197
+ label: z.ZodString;
3198
+ }, z.core.$strip>>;
2560
3199
  }, z.core.$strip>, z.ZodObject<{
2561
3200
  type: z.ZodLiteral<"api_key">;
2562
3201
  keyId: z.ZodString;
@@ -2583,6 +3222,10 @@ export declare const registrationDeleteRequestSchema: z.ZodObject<{
2583
3222
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2584
3223
  type: z.ZodLiteral<"user">;
2585
3224
  sub: z.ZodString;
3225
+ agent: z.ZodOptional<z.ZodObject<{
3226
+ patId: z.ZodString;
3227
+ label: z.ZodString;
3228
+ }, z.core.$strip>>;
2586
3229
  }, z.core.$strip>, z.ZodObject<{
2587
3230
  type: z.ZodLiteral<"api_key">;
2588
3231
  keyId: z.ZodString;
@@ -2609,6 +3252,10 @@ export declare const registrationsListRequestSchema: z.ZodObject<{
2609
3252
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2610
3253
  type: z.ZodLiteral<"user">;
2611
3254
  sub: z.ZodString;
3255
+ agent: z.ZodOptional<z.ZodObject<{
3256
+ patId: z.ZodString;
3257
+ label: z.ZodString;
3258
+ }, z.core.$strip>>;
2612
3259
  }, z.core.$strip>, z.ZodObject<{
2613
3260
  type: z.ZodLiteral<"api_key">;
2614
3261
  keyId: z.ZodString;
@@ -2696,6 +3343,10 @@ export declare const backendsListRequestSchema: z.ZodObject<{
2696
3343
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2697
3344
  type: z.ZodLiteral<"user">;
2698
3345
  sub: z.ZodString;
3346
+ agent: z.ZodOptional<z.ZodObject<{
3347
+ patId: z.ZodString;
3348
+ label: z.ZodString;
3349
+ }, z.core.$strip>>;
2699
3350
  }, z.core.$strip>, z.ZodObject<{
2700
3351
  type: z.ZodLiteral<"api_key">;
2701
3352
  keyId: z.ZodString;
@@ -2773,6 +3424,10 @@ export declare const backendGetRequestSchema: z.ZodObject<{
2773
3424
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2774
3425
  type: z.ZodLiteral<"user">;
2775
3426
  sub: z.ZodString;
3427
+ agent: z.ZodOptional<z.ZodObject<{
3428
+ patId: z.ZodString;
3429
+ label: z.ZodString;
3430
+ }, z.core.$strip>>;
2776
3431
  }, z.core.$strip>, z.ZodObject<{
2777
3432
  type: z.ZodLiteral<"api_key">;
2778
3433
  keyId: z.ZodString;
@@ -2827,6 +3482,10 @@ export declare const backendsSyncAllRequestSchema: z.ZodObject<{
2827
3482
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2828
3483
  type: z.ZodLiteral<"user">;
2829
3484
  sub: z.ZodString;
3485
+ agent: z.ZodOptional<z.ZodObject<{
3486
+ patId: z.ZodString;
3487
+ label: z.ZodString;
3488
+ }, z.core.$strip>>;
2830
3489
  }, z.core.$strip>, z.ZodObject<{
2831
3490
  type: z.ZodLiteral<"api_key">;
2832
3491
  keyId: z.ZodString;
@@ -2858,6 +3517,10 @@ export declare const backendSyncRequestSchema: z.ZodObject<{
2858
3517
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2859
3518
  type: z.ZodLiteral<"user">;
2860
3519
  sub: z.ZodString;
3520
+ agent: z.ZodOptional<z.ZodObject<{
3521
+ patId: z.ZodString;
3522
+ label: z.ZodString;
3523
+ }, z.core.$strip>>;
2861
3524
  }, z.core.$strip>, z.ZodObject<{
2862
3525
  type: z.ZodLiteral<"api_key">;
2863
3526
  keyId: z.ZodString;
@@ -2891,6 +3554,10 @@ export declare const backendTestRequestSchema: z.ZodObject<{
2891
3554
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2892
3555
  type: z.ZodLiteral<"user">;
2893
3556
  sub: z.ZodString;
3557
+ agent: z.ZodOptional<z.ZodObject<{
3558
+ patId: z.ZodString;
3559
+ label: z.ZodString;
3560
+ }, z.core.$strip>>;
2894
3561
  }, z.core.$strip>, z.ZodObject<{
2895
3562
  type: z.ZodLiteral<"api_key">;
2896
3563
  keyId: z.ZodString;
@@ -2933,6 +3600,10 @@ export declare const testRelayUploadsInitRequestSchema: z.ZodObject<{
2933
3600
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2934
3601
  type: z.ZodLiteral<"user">;
2935
3602
  sub: z.ZodString;
3603
+ agent: z.ZodOptional<z.ZodObject<{
3604
+ patId: z.ZodString;
3605
+ label: z.ZodString;
3606
+ }, z.core.$strip>>;
2936
3607
  }, z.core.$strip>, z.ZodObject<{
2937
3608
  type: z.ZodLiteral<"api_key">;
2938
3609
  keyId: z.ZodString;
@@ -2973,6 +3644,10 @@ export declare const testRelayTriggerRequestSchema: z.ZodObject<{
2973
3644
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2974
3645
  type: z.ZodLiteral<"user">;
2975
3646
  sub: z.ZodString;
3647
+ agent: z.ZodOptional<z.ZodObject<{
3648
+ patId: z.ZodString;
3649
+ label: z.ZodString;
3650
+ }, z.core.$strip>>;
2976
3651
  }, z.core.$strip>, z.ZodObject<{
2977
3652
  type: z.ZodLiteral<"api_key">;
2978
3653
  keyId: z.ZodString;
@@ -3042,8 +3717,8 @@ export declare const testRelayTriggerResponseSchema: z.ZodObject<{
3042
3717
  requestId: z.ZodString;
3043
3718
  runId: z.ZodOptional<z.ZodString>;
3044
3719
  status: z.ZodOptional<z.ZodEnum<{
3045
- accepted: "accepted";
3046
3720
  rejected: "rejected";
3721
+ accepted: "accepted";
3047
3722
  }>>;
3048
3723
  reason: z.ZodOptional<z.ZodString>;
3049
3724
  jobIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -3057,6 +3732,10 @@ export declare const testRelayRunStatusRequestSchema: z.ZodObject<{
3057
3732
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3058
3733
  type: z.ZodLiteral<"user">;
3059
3734
  sub: z.ZodString;
3735
+ agent: z.ZodOptional<z.ZodObject<{
3736
+ patId: z.ZodString;
3737
+ label: z.ZodString;
3738
+ }, z.core.$strip>>;
3060
3739
  }, z.core.$strip>, z.ZodObject<{
3061
3740
  type: z.ZodLiteral<"api_key">;
3062
3741
  keyId: z.ZodString;
@@ -3100,6 +3779,10 @@ export declare const testRelayRunLogsRequestSchema: z.ZodObject<{
3100
3779
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3101
3780
  type: z.ZodLiteral<"user">;
3102
3781
  sub: z.ZodString;
3782
+ agent: z.ZodOptional<z.ZodObject<{
3783
+ patId: z.ZodString;
3784
+ label: z.ZodString;
3785
+ }, z.core.$strip>>;
3103
3786
  }, z.core.$strip>, z.ZodObject<{
3104
3787
  type: z.ZodLiteral<"api_key">;
3105
3788
  keyId: z.ZodString;
@@ -3137,6 +3820,10 @@ export declare const testRelayCancelRequestSchema: z.ZodObject<{
3137
3820
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3138
3821
  type: z.ZodLiteral<"user">;
3139
3822
  sub: z.ZodString;
3823
+ agent: z.ZodOptional<z.ZodObject<{
3824
+ patId: z.ZodString;
3825
+ label: z.ZodString;
3826
+ }, z.core.$strip>>;
3140
3827
  }, z.core.$strip>, z.ZodObject<{
3141
3828
  type: z.ZodLiteral<"api_key">;
3142
3829
  keyId: z.ZodString;
@@ -3174,6 +3861,93 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3174
3861
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3175
3862
  type: z.ZodLiteral<"user">;
3176
3863
  sub: z.ZodString;
3864
+ agent: z.ZodOptional<z.ZodObject<{
3865
+ patId: z.ZodString;
3866
+ label: z.ZodString;
3867
+ }, z.core.$strip>>;
3868
+ }, z.core.$strip>, z.ZodObject<{
3869
+ type: z.ZodLiteral<"api_key">;
3870
+ keyId: z.ZodString;
3871
+ ownerSub: z.ZodString;
3872
+ }, z.core.$strip>, z.ZodObject<{
3873
+ type: z.ZodLiteral<"service_account">;
3874
+ id: z.ZodString;
3875
+ }, z.core.$strip>, z.ZodObject<{
3876
+ type: z.ZodLiteral<"platform_operator">;
3877
+ sub: z.ZodString;
3878
+ reason: z.ZodString;
3879
+ sessionId: z.ZodOptional<z.ZodString>;
3880
+ }, z.core.$strip>, z.ZodObject<{
3881
+ type: z.ZodLiteral<"system">;
3882
+ component: z.ZodString;
3883
+ }, z.core.$strip>], "type">;
3884
+ runId: z.ZodString;
3885
+ }, z.core.$strip>, z.ZodObject<{
3886
+ type: z.ZodLiteral<"dashboard.run.structured">;
3887
+ requestId: z.ZodString;
3888
+ actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3889
+ type: z.ZodLiteral<"user">;
3890
+ sub: z.ZodString;
3891
+ agent: z.ZodOptional<z.ZodObject<{
3892
+ patId: z.ZodString;
3893
+ label: z.ZodString;
3894
+ }, z.core.$strip>>;
3895
+ }, z.core.$strip>, z.ZodObject<{
3896
+ type: z.ZodLiteral<"api_key">;
3897
+ keyId: z.ZodString;
3898
+ ownerSub: z.ZodString;
3899
+ }, z.core.$strip>, z.ZodObject<{
3900
+ type: z.ZodLiteral<"service_account">;
3901
+ id: z.ZodString;
3902
+ }, z.core.$strip>, z.ZodObject<{
3903
+ type: z.ZodLiteral<"platform_operator">;
3904
+ sub: z.ZodString;
3905
+ reason: z.ZodString;
3906
+ sessionId: z.ZodOptional<z.ZodString>;
3907
+ }, z.core.$strip>, z.ZodObject<{
3908
+ type: z.ZodLiteral<"system">;
3909
+ component: z.ZodString;
3910
+ }, z.core.$strip>], "type">;
3911
+ runId: z.ZodString;
3912
+ }, z.core.$strip>, z.ZodObject<{
3913
+ type: z.ZodLiteral<"dashboard.step.logs">;
3914
+ requestId: z.ZodString;
3915
+ actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3916
+ type: z.ZodLiteral<"user">;
3917
+ sub: z.ZodString;
3918
+ agent: z.ZodOptional<z.ZodObject<{
3919
+ patId: z.ZodString;
3920
+ label: z.ZodString;
3921
+ }, z.core.$strip>>;
3922
+ }, z.core.$strip>, z.ZodObject<{
3923
+ type: z.ZodLiteral<"api_key">;
3924
+ keyId: z.ZodString;
3925
+ ownerSub: z.ZodString;
3926
+ }, z.core.$strip>, z.ZodObject<{
3927
+ type: z.ZodLiteral<"service_account">;
3928
+ id: z.ZodString;
3929
+ }, z.core.$strip>, z.ZodObject<{
3930
+ type: z.ZodLiteral<"platform_operator">;
3931
+ sub: z.ZodString;
3932
+ reason: z.ZodString;
3933
+ sessionId: z.ZodOptional<z.ZodString>;
3934
+ }, z.core.$strip>, z.ZodObject<{
3935
+ type: z.ZodLiteral<"system">;
3936
+ component: z.ZodString;
3937
+ }, z.core.$strip>], "type">;
3938
+ runId: z.ZodString;
3939
+ jobId: z.ZodString;
3940
+ stepIndex: z.ZodNumber;
3941
+ }, z.core.$strip>, z.ZodObject<{
3942
+ type: z.ZodLiteral<"dashboard.attestations.list">;
3943
+ requestId: z.ZodString;
3944
+ actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3945
+ type: z.ZodLiteral<"user">;
3946
+ sub: z.ZodString;
3947
+ agent: z.ZodOptional<z.ZodObject<{
3948
+ patId: z.ZodString;
3949
+ label: z.ZodString;
3950
+ }, z.core.$strip>>;
3177
3951
  }, z.core.$strip>, z.ZodObject<{
3178
3952
  type: z.ZodLiteral<"api_key">;
3179
3953
  keyId: z.ZodString;
@@ -3192,11 +3966,15 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3192
3966
  }, z.core.$strip>], "type">;
3193
3967
  runId: z.ZodString;
3194
3968
  }, z.core.$strip>, z.ZodObject<{
3195
- type: z.ZodLiteral<"dashboard.step.logs">;
3969
+ type: z.ZodLiteral<"dashboard.attestations.list.all">;
3196
3970
  requestId: z.ZodString;
3197
3971
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3198
3972
  type: z.ZodLiteral<"user">;
3199
3973
  sub: z.ZodString;
3974
+ agent: z.ZodOptional<z.ZodObject<{
3975
+ patId: z.ZodString;
3976
+ label: z.ZodString;
3977
+ }, z.core.$strip>>;
3200
3978
  }, z.core.$strip>, z.ZodObject<{
3201
3979
  type: z.ZodLiteral<"api_key">;
3202
3980
  keyId: z.ZodString;
@@ -3213,15 +3991,33 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3213
3991
  type: z.ZodLiteral<"system">;
3214
3992
  component: z.ZodString;
3215
3993
  }, z.core.$strip>], "type">;
3216
- runId: z.ZodString;
3217
- jobId: z.ZodString;
3218
- stepIndex: z.ZodNumber;
3994
+ page: z.ZodNumber;
3995
+ sort: z.ZodOptional<z.ZodString>;
3996
+ filters: z.ZodDefault<z.ZodObject<{
3997
+ digest: z.ZodOptional<z.ZodString>;
3998
+ name: z.ZodOptional<z.ZodString>;
3999
+ status: z.ZodOptional<z.ZodEnum<{
4000
+ pending: "pending";
4001
+ failed: "failed";
4002
+ verified: "verified";
4003
+ unverifiable: "unverifiable";
4004
+ }>>;
4005
+ repository: z.ZodOptional<z.ZodString>;
4006
+ workflow: z.ZodOptional<z.ZodString>;
4007
+ job: z.ZodOptional<z.ZodString>;
4008
+ createdAfter: z.ZodOptional<z.ZodString>;
4009
+ createdBefore: z.ZodOptional<z.ZodString>;
4010
+ }, z.core.$strip>>;
3219
4011
  }, z.core.$strip>, z.ZodObject<{
3220
- type: z.ZodLiteral<"dashboard.attestations.list">;
4012
+ type: z.ZodLiteral<"dashboard.attestation.get">;
3221
4013
  requestId: z.ZodString;
3222
4014
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3223
4015
  type: z.ZodLiteral<"user">;
3224
4016
  sub: z.ZodString;
4017
+ agent: z.ZodOptional<z.ZodObject<{
4018
+ patId: z.ZodString;
4019
+ label: z.ZodString;
4020
+ }, z.core.$strip>>;
3225
4021
  }, z.core.$strip>, z.ZodObject<{
3226
4022
  type: z.ZodLiteral<"api_key">;
3227
4023
  keyId: z.ZodString;
@@ -3238,13 +4034,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3238
4034
  type: z.ZodLiteral<"system">;
3239
4035
  component: z.ZodString;
3240
4036
  }, z.core.$strip>], "type">;
3241
- runId: z.ZodString;
4037
+ attestationId: z.ZodString;
3242
4038
  }, z.core.$strip>, z.ZodObject<{
3243
4039
  type: z.ZodLiteral<"dashboard.runs.list">;
3244
4040
  requestId: z.ZodString;
3245
4041
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3246
4042
  type: z.ZodLiteral<"user">;
3247
4043
  sub: z.ZodString;
4044
+ agent: z.ZodOptional<z.ZodObject<{
4045
+ patId: z.ZodString;
4046
+ label: z.ZodString;
4047
+ }, z.core.$strip>>;
3248
4048
  }, z.core.$strip>, z.ZodObject<{
3249
4049
  type: z.ZodLiteral<"api_key">;
3250
4050
  keyId: z.ZodString;
@@ -3269,6 +4069,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3269
4069
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3270
4070
  type: z.ZodLiteral<"user">;
3271
4071
  sub: z.ZodString;
4072
+ agent: z.ZodOptional<z.ZodObject<{
4073
+ patId: z.ZodString;
4074
+ label: z.ZodString;
4075
+ }, z.core.$strip>>;
3272
4076
  }, z.core.$strip>, z.ZodObject<{
3273
4077
  type: z.ZodLiteral<"api_key">;
3274
4078
  keyId: z.ZodString;
@@ -3291,6 +4095,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3291
4095
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3292
4096
  type: z.ZodLiteral<"user">;
3293
4097
  sub: z.ZodString;
4098
+ agent: z.ZodOptional<z.ZodObject<{
4099
+ patId: z.ZodString;
4100
+ label: z.ZodString;
4101
+ }, z.core.$strip>>;
3294
4102
  }, z.core.$strip>, z.ZodObject<{
3295
4103
  type: z.ZodLiteral<"api_key">;
3296
4104
  keyId: z.ZodString;
@@ -3315,6 +4123,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3315
4123
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3316
4124
  type: z.ZodLiteral<"user">;
3317
4125
  sub: z.ZodString;
4126
+ agent: z.ZodOptional<z.ZodObject<{
4127
+ patId: z.ZodString;
4128
+ label: z.ZodString;
4129
+ }, z.core.$strip>>;
3318
4130
  }, z.core.$strip>, z.ZodObject<{
3319
4131
  type: z.ZodLiteral<"api_key">;
3320
4132
  keyId: z.ZodString;
@@ -3339,6 +4151,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3339
4151
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3340
4152
  type: z.ZodLiteral<"user">;
3341
4153
  sub: z.ZodString;
4154
+ agent: z.ZodOptional<z.ZodObject<{
4155
+ patId: z.ZodString;
4156
+ label: z.ZodString;
4157
+ }, z.core.$strip>>;
3342
4158
  }, z.core.$strip>, z.ZodObject<{
3343
4159
  type: z.ZodLiteral<"api_key">;
3344
4160
  keyId: z.ZodString;
@@ -3362,6 +4178,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3362
4178
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3363
4179
  type: z.ZodLiteral<"user">;
3364
4180
  sub: z.ZodString;
4181
+ agent: z.ZodOptional<z.ZodObject<{
4182
+ patId: z.ZodString;
4183
+ label: z.ZodString;
4184
+ }, z.core.$strip>>;
3365
4185
  }, z.core.$strip>, z.ZodObject<{
3366
4186
  type: z.ZodLiteral<"api_key">;
3367
4187
  keyId: z.ZodString;
@@ -3386,6 +4206,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3386
4206
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3387
4207
  type: z.ZodLiteral<"user">;
3388
4208
  sub: z.ZodString;
4209
+ agent: z.ZodOptional<z.ZodObject<{
4210
+ patId: z.ZodString;
4211
+ label: z.ZodString;
4212
+ }, z.core.$strip>>;
3389
4213
  }, z.core.$strip>, z.ZodObject<{
3390
4214
  type: z.ZodLiteral<"api_key">;
3391
4215
  keyId: z.ZodString;
@@ -3409,6 +4233,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3409
4233
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3410
4234
  type: z.ZodLiteral<"user">;
3411
4235
  sub: z.ZodString;
4236
+ agent: z.ZodOptional<z.ZodObject<{
4237
+ patId: z.ZodString;
4238
+ label: z.ZodString;
4239
+ }, z.core.$strip>>;
3412
4240
  }, z.core.$strip>, z.ZodObject<{
3413
4241
  type: z.ZodLiteral<"api_key">;
3414
4242
  keyId: z.ZodString;
@@ -3433,6 +4261,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3433
4261
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3434
4262
  type: z.ZodLiteral<"user">;
3435
4263
  sub: z.ZodString;
4264
+ agent: z.ZodOptional<z.ZodObject<{
4265
+ patId: z.ZodString;
4266
+ label: z.ZodString;
4267
+ }, z.core.$strip>>;
3436
4268
  }, z.core.$strip>, z.ZodObject<{
3437
4269
  type: z.ZodLiteral<"api_key">;
3438
4270
  keyId: z.ZodString;
@@ -3457,6 +4289,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3457
4289
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3458
4290
  type: z.ZodLiteral<"user">;
3459
4291
  sub: z.ZodString;
4292
+ agent: z.ZodOptional<z.ZodObject<{
4293
+ patId: z.ZodString;
4294
+ label: z.ZodString;
4295
+ }, z.core.$strip>>;
3460
4296
  }, z.core.$strip>, z.ZodObject<{
3461
4297
  type: z.ZodLiteral<"api_key">;
3462
4298
  keyId: z.ZodString;
@@ -3480,6 +4316,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3480
4316
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3481
4317
  type: z.ZodLiteral<"user">;
3482
4318
  sub: z.ZodString;
4319
+ agent: z.ZodOptional<z.ZodObject<{
4320
+ patId: z.ZodString;
4321
+ label: z.ZodString;
4322
+ }, z.core.$strip>>;
3483
4323
  }, z.core.$strip>, z.ZodObject<{
3484
4324
  type: z.ZodLiteral<"api_key">;
3485
4325
  keyId: z.ZodString;
@@ -3498,8 +4338,8 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3498
4338
  }, z.core.$strip>], "type">;
3499
4339
  name: z.ZodString;
3500
4340
  envType: z.ZodEnum<{
3501
- glob: "glob";
3502
4341
  fixed: "fixed";
4342
+ glob: "glob";
3503
4343
  }>;
3504
4344
  globPattern: z.ZodOptional<z.ZodString>;
3505
4345
  branchRestrictions: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -3518,6 +4358,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3518
4358
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3519
4359
  type: z.ZodLiteral<"user">;
3520
4360
  sub: z.ZodString;
4361
+ agent: z.ZodOptional<z.ZodObject<{
4362
+ patId: z.ZodString;
4363
+ label: z.ZodString;
4364
+ }, z.core.$strip>>;
3521
4365
  }, z.core.$strip>, z.ZodObject<{
3522
4366
  type: z.ZodLiteral<"api_key">;
3523
4367
  keyId: z.ZodString;
@@ -3538,8 +4382,8 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3538
4382
  updates: z.ZodObject<{
3539
4383
  name: z.ZodOptional<z.ZodString>;
3540
4384
  envType: z.ZodOptional<z.ZodEnum<{
3541
- glob: "glob";
3542
4385
  fixed: "fixed";
4386
+ glob: "glob";
3543
4387
  }>>;
3544
4388
  globPattern: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3545
4389
  branchRestrictions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
@@ -3559,6 +4403,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3559
4403
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3560
4404
  type: z.ZodLiteral<"user">;
3561
4405
  sub: z.ZodString;
4406
+ agent: z.ZodOptional<z.ZodObject<{
4407
+ patId: z.ZodString;
4408
+ label: z.ZodString;
4409
+ }, z.core.$strip>>;
3562
4410
  }, z.core.$strip>, z.ZodObject<{
3563
4411
  type: z.ZodLiteral<"api_key">;
3564
4412
  keyId: z.ZodString;
@@ -3583,6 +4431,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3583
4431
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3584
4432
  type: z.ZodLiteral<"user">;
3585
4433
  sub: z.ZodString;
4434
+ agent: z.ZodOptional<z.ZodObject<{
4435
+ patId: z.ZodString;
4436
+ label: z.ZodString;
4437
+ }, z.core.$strip>>;
3586
4438
  }, z.core.$strip>, z.ZodObject<{
3587
4439
  type: z.ZodLiteral<"api_key">;
3588
4440
  keyId: z.ZodString;
@@ -3606,6 +4458,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3606
4458
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3607
4459
  type: z.ZodLiteral<"user">;
3608
4460
  sub: z.ZodString;
4461
+ agent: z.ZodOptional<z.ZodObject<{
4462
+ patId: z.ZodString;
4463
+ label: z.ZodString;
4464
+ }, z.core.$strip>>;
3609
4465
  }, z.core.$strip>, z.ZodObject<{
3610
4466
  type: z.ZodLiteral<"api_key">;
3611
4467
  keyId: z.ZodString;
@@ -3629,6 +4485,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3629
4485
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3630
4486
  type: z.ZodLiteral<"user">;
3631
4487
  sub: z.ZodString;
4488
+ agent: z.ZodOptional<z.ZodObject<{
4489
+ patId: z.ZodString;
4490
+ label: z.ZodString;
4491
+ }, z.core.$strip>>;
3632
4492
  }, z.core.$strip>, z.ZodObject<{
3633
4493
  type: z.ZodLiteral<"api_key">;
3634
4494
  keyId: z.ZodString;
@@ -3655,6 +4515,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3655
4515
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3656
4516
  type: z.ZodLiteral<"user">;
3657
4517
  sub: z.ZodString;
4518
+ agent: z.ZodOptional<z.ZodObject<{
4519
+ patId: z.ZodString;
4520
+ label: z.ZodString;
4521
+ }, z.core.$strip>>;
3658
4522
  }, z.core.$strip>, z.ZodObject<{
3659
4523
  type: z.ZodLiteral<"api_key">;
3660
4524
  keyId: z.ZodString;
@@ -3679,6 +4543,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3679
4543
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3680
4544
  type: z.ZodLiteral<"user">;
3681
4545
  sub: z.ZodString;
4546
+ agent: z.ZodOptional<z.ZodObject<{
4547
+ patId: z.ZodString;
4548
+ label: z.ZodString;
4549
+ }, z.core.$strip>>;
3682
4550
  }, z.core.$strip>, z.ZodObject<{
3683
4551
  type: z.ZodLiteral<"api_key">;
3684
4552
  keyId: z.ZodString;
@@ -3703,6 +4571,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3703
4571
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3704
4572
  type: z.ZodLiteral<"user">;
3705
4573
  sub: z.ZodString;
4574
+ agent: z.ZodOptional<z.ZodObject<{
4575
+ patId: z.ZodString;
4576
+ label: z.ZodString;
4577
+ }, z.core.$strip>>;
3706
4578
  }, z.core.$strip>, z.ZodObject<{
3707
4579
  type: z.ZodLiteral<"api_key">;
3708
4580
  keyId: z.ZodString;
@@ -3729,6 +4601,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3729
4601
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3730
4602
  type: z.ZodLiteral<"user">;
3731
4603
  sub: z.ZodString;
4604
+ agent: z.ZodOptional<z.ZodObject<{
4605
+ patId: z.ZodString;
4606
+ label: z.ZodString;
4607
+ }, z.core.$strip>>;
3732
4608
  }, z.core.$strip>, z.ZodObject<{
3733
4609
  type: z.ZodLiteral<"api_key">;
3734
4610
  keyId: z.ZodString;
@@ -3754,6 +4630,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3754
4630
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3755
4631
  type: z.ZodLiteral<"user">;
3756
4632
  sub: z.ZodString;
4633
+ agent: z.ZodOptional<z.ZodObject<{
4634
+ patId: z.ZodString;
4635
+ label: z.ZodString;
4636
+ }, z.core.$strip>>;
3757
4637
  }, z.core.$strip>, z.ZodObject<{
3758
4638
  type: z.ZodLiteral<"api_key">;
3759
4639
  keyId: z.ZodString;
@@ -3777,6 +4657,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3777
4657
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3778
4658
  type: z.ZodLiteral<"user">;
3779
4659
  sub: z.ZodString;
4660
+ agent: z.ZodOptional<z.ZodObject<{
4661
+ patId: z.ZodString;
4662
+ label: z.ZodString;
4663
+ }, z.core.$strip>>;
3780
4664
  }, z.core.$strip>, z.ZodObject<{
3781
4665
  type: z.ZodLiteral<"api_key">;
3782
4666
  keyId: z.ZodString;
@@ -3804,6 +4688,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3804
4688
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3805
4689
  type: z.ZodLiteral<"user">;
3806
4690
  sub: z.ZodString;
4691
+ agent: z.ZodOptional<z.ZodObject<{
4692
+ patId: z.ZodString;
4693
+ label: z.ZodString;
4694
+ }, z.core.$strip>>;
3807
4695
  }, z.core.$strip>, z.ZodObject<{
3808
4696
  type: z.ZodLiteral<"api_key">;
3809
4697
  keyId: z.ZodString;
@@ -3826,6 +4714,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3826
4714
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3827
4715
  type: z.ZodLiteral<"user">;
3828
4716
  sub: z.ZodString;
4717
+ agent: z.ZodOptional<z.ZodObject<{
4718
+ patId: z.ZodString;
4719
+ label: z.ZodString;
4720
+ }, z.core.$strip>>;
3829
4721
  }, z.core.$strip>, z.ZodObject<{
3830
4722
  type: z.ZodLiteral<"api_key">;
3831
4723
  keyId: z.ZodString;
@@ -3851,6 +4743,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3851
4743
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3852
4744
  type: z.ZodLiteral<"user">;
3853
4745
  sub: z.ZodString;
4746
+ agent: z.ZodOptional<z.ZodObject<{
4747
+ patId: z.ZodString;
4748
+ label: z.ZodString;
4749
+ }, z.core.$strip>>;
3854
4750
  }, z.core.$strip>, z.ZodObject<{
3855
4751
  type: z.ZodLiteral<"api_key">;
3856
4752
  keyId: z.ZodString;
@@ -3875,6 +4771,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3875
4771
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3876
4772
  type: z.ZodLiteral<"user">;
3877
4773
  sub: z.ZodString;
4774
+ agent: z.ZodOptional<z.ZodObject<{
4775
+ patId: z.ZodString;
4776
+ label: z.ZodString;
4777
+ }, z.core.$strip>>;
3878
4778
  }, z.core.$strip>, z.ZodObject<{
3879
4779
  type: z.ZodLiteral<"api_key">;
3880
4780
  keyId: z.ZodString;
@@ -3898,6 +4798,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3898
4798
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3899
4799
  type: z.ZodLiteral<"user">;
3900
4800
  sub: z.ZodString;
4801
+ agent: z.ZodOptional<z.ZodObject<{
4802
+ patId: z.ZodString;
4803
+ label: z.ZodString;
4804
+ }, z.core.$strip>>;
3901
4805
  }, z.core.$strip>, z.ZodObject<{
3902
4806
  type: z.ZodLiteral<"api_key">;
3903
4807
  keyId: z.ZodString;
@@ -3922,6 +4826,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3922
4826
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3923
4827
  type: z.ZodLiteral<"user">;
3924
4828
  sub: z.ZodString;
4829
+ agent: z.ZodOptional<z.ZodObject<{
4830
+ patId: z.ZodString;
4831
+ label: z.ZodString;
4832
+ }, z.core.$strip>>;
3925
4833
  }, z.core.$strip>, z.ZodObject<{
3926
4834
  type: z.ZodLiteral<"api_key">;
3927
4835
  keyId: z.ZodString;
@@ -3945,6 +4853,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3945
4853
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3946
4854
  type: z.ZodLiteral<"user">;
3947
4855
  sub: z.ZodString;
4856
+ agent: z.ZodOptional<z.ZodObject<{
4857
+ patId: z.ZodString;
4858
+ label: z.ZodString;
4859
+ }, z.core.$strip>>;
3948
4860
  }, z.core.$strip>, z.ZodObject<{
3949
4861
  type: z.ZodLiteral<"api_key">;
3950
4862
  keyId: z.ZodString;
@@ -3970,6 +4882,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3970
4882
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3971
4883
  type: z.ZodLiteral<"user">;
3972
4884
  sub: z.ZodString;
4885
+ agent: z.ZodOptional<z.ZodObject<{
4886
+ patId: z.ZodString;
4887
+ label: z.ZodString;
4888
+ }, z.core.$strip>>;
3973
4889
  }, z.core.$strip>, z.ZodObject<{
3974
4890
  type: z.ZodLiteral<"api_key">;
3975
4891
  keyId: z.ZodString;
@@ -3988,8 +4904,8 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3988
4904
  }, z.core.$strip>], "type">;
3989
4905
  status: z.ZodOptional<z.ZodEnum<{
3990
4906
  pending: "pending";
3991
- rejected: "rejected";
3992
4907
  approved: "approved";
4908
+ rejected: "rejected";
3993
4909
  expired: "expired";
3994
4910
  }>>;
3995
4911
  queueType: z.ZodOptional<z.ZodEnum<{
@@ -4003,6 +4919,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4003
4919
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4004
4920
  type: z.ZodLiteral<"user">;
4005
4921
  sub: z.ZodString;
4922
+ agent: z.ZodOptional<z.ZodObject<{
4923
+ patId: z.ZodString;
4924
+ label: z.ZodString;
4925
+ }, z.core.$strip>>;
4006
4926
  }, z.core.$strip>, z.ZodObject<{
4007
4927
  type: z.ZodLiteral<"api_key">;
4008
4928
  keyId: z.ZodString;
@@ -4027,6 +4947,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4027
4947
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4028
4948
  type: z.ZodLiteral<"user">;
4029
4949
  sub: z.ZodString;
4950
+ agent: z.ZodOptional<z.ZodObject<{
4951
+ patId: z.ZodString;
4952
+ label: z.ZodString;
4953
+ }, z.core.$strip>>;
4030
4954
  }, z.core.$strip>, z.ZodObject<{
4031
4955
  type: z.ZodLiteral<"api_key">;
4032
4956
  keyId: z.ZodString;
@@ -4051,6 +4975,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4051
4975
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4052
4976
  type: z.ZodLiteral<"user">;
4053
4977
  sub: z.ZodString;
4978
+ agent: z.ZodOptional<z.ZodObject<{
4979
+ patId: z.ZodString;
4980
+ label: z.ZodString;
4981
+ }, z.core.$strip>>;
4054
4982
  }, z.core.$strip>, z.ZodObject<{
4055
4983
  type: z.ZodLiteral<"api_key">;
4056
4984
  keyId: z.ZodString;
@@ -4075,6 +5003,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4075
5003
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4076
5004
  type: z.ZodLiteral<"user">;
4077
5005
  sub: z.ZodString;
5006
+ agent: z.ZodOptional<z.ZodObject<{
5007
+ patId: z.ZodString;
5008
+ label: z.ZodString;
5009
+ }, z.core.$strip>>;
4078
5010
  }, z.core.$strip>, z.ZodObject<{
4079
5011
  type: z.ZodLiteral<"api_key">;
4080
5012
  keyId: z.ZodString;
@@ -4099,6 +5031,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4099
5031
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4100
5032
  type: z.ZodLiteral<"user">;
4101
5033
  sub: z.ZodString;
5034
+ agent: z.ZodOptional<z.ZodObject<{
5035
+ patId: z.ZodString;
5036
+ label: z.ZodString;
5037
+ }, z.core.$strip>>;
4102
5038
  }, z.core.$strip>, z.ZodObject<{
4103
5039
  type: z.ZodLiteral<"api_key">;
4104
5040
  keyId: z.ZodString;
@@ -4123,6 +5059,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4123
5059
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4124
5060
  type: z.ZodLiteral<"user">;
4125
5061
  sub: z.ZodString;
5062
+ agent: z.ZodOptional<z.ZodObject<{
5063
+ patId: z.ZodString;
5064
+ label: z.ZodString;
5065
+ }, z.core.$strip>>;
4126
5066
  }, z.core.$strip>, z.ZodObject<{
4127
5067
  type: z.ZodLiteral<"api_key">;
4128
5068
  keyId: z.ZodString;
@@ -4146,6 +5086,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4146
5086
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4147
5087
  type: z.ZodLiteral<"user">;
4148
5088
  sub: z.ZodString;
5089
+ agent: z.ZodOptional<z.ZodObject<{
5090
+ patId: z.ZodString;
5091
+ label: z.ZodString;
5092
+ }, z.core.$strip>>;
4149
5093
  }, z.core.$strip>, z.ZodObject<{
4150
5094
  type: z.ZodLiteral<"api_key">;
4151
5095
  keyId: z.ZodString;
@@ -4168,6 +5112,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4168
5112
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4169
5113
  type: z.ZodLiteral<"user">;
4170
5114
  sub: z.ZodString;
5115
+ agent: z.ZodOptional<z.ZodObject<{
5116
+ patId: z.ZodString;
5117
+ label: z.ZodString;
5118
+ }, z.core.$strip>>;
4171
5119
  }, z.core.$strip>, z.ZodObject<{
4172
5120
  type: z.ZodLiteral<"api_key">;
4173
5121
  keyId: z.ZodString;
@@ -4191,6 +5139,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4191
5139
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4192
5140
  type: z.ZodLiteral<"user">;
4193
5141
  sub: z.ZodString;
5142
+ agent: z.ZodOptional<z.ZodObject<{
5143
+ patId: z.ZodString;
5144
+ label: z.ZodString;
5145
+ }, z.core.$strip>>;
4194
5146
  }, z.core.$strip>, z.ZodObject<{
4195
5147
  type: z.ZodLiteral<"api_key">;
4196
5148
  keyId: z.ZodString;
@@ -4214,6 +5166,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4214
5166
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4215
5167
  type: z.ZodLiteral<"user">;
4216
5168
  sub: z.ZodString;
5169
+ agent: z.ZodOptional<z.ZodObject<{
5170
+ patId: z.ZodString;
5171
+ label: z.ZodString;
5172
+ }, z.core.$strip>>;
4217
5173
  }, z.core.$strip>, z.ZodObject<{
4218
5174
  type: z.ZodLiteral<"api_key">;
4219
5175
  keyId: z.ZodString;
@@ -4237,6 +5193,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4237
5193
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4238
5194
  type: z.ZodLiteral<"user">;
4239
5195
  sub: z.ZodString;
5196
+ agent: z.ZodOptional<z.ZodObject<{
5197
+ patId: z.ZodString;
5198
+ label: z.ZodString;
5199
+ }, z.core.$strip>>;
4240
5200
  }, z.core.$strip>, z.ZodObject<{
4241
5201
  type: z.ZodLiteral<"api_key">;
4242
5202
  keyId: z.ZodString;
@@ -4263,6 +5223,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4263
5223
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4264
5224
  type: z.ZodLiteral<"user">;
4265
5225
  sub: z.ZodString;
5226
+ agent: z.ZodOptional<z.ZodObject<{
5227
+ patId: z.ZodString;
5228
+ label: z.ZodString;
5229
+ }, z.core.$strip>>;
4266
5230
  }, z.core.$strip>, z.ZodObject<{
4267
5231
  type: z.ZodLiteral<"api_key">;
4268
5232
  keyId: z.ZodString;
@@ -4286,6 +5250,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4286
5250
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4287
5251
  type: z.ZodLiteral<"user">;
4288
5252
  sub: z.ZodString;
5253
+ agent: z.ZodOptional<z.ZodObject<{
5254
+ patId: z.ZodString;
5255
+ label: z.ZodString;
5256
+ }, z.core.$strip>>;
4289
5257
  }, z.core.$strip>, z.ZodObject<{
4290
5258
  type: z.ZodLiteral<"api_key">;
4291
5259
  keyId: z.ZodString;
@@ -4308,6 +5276,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4308
5276
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4309
5277
  type: z.ZodLiteral<"user">;
4310
5278
  sub: z.ZodString;
5279
+ agent: z.ZodOptional<z.ZodObject<{
5280
+ patId: z.ZodString;
5281
+ label: z.ZodString;
5282
+ }, z.core.$strip>>;
4311
5283
  }, z.core.$strip>, z.ZodObject<{
4312
5284
  type: z.ZodLiteral<"api_key">;
4313
5285
  keyId: z.ZodString;
@@ -4331,6 +5303,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4331
5303
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4332
5304
  type: z.ZodLiteral<"user">;
4333
5305
  sub: z.ZodString;
5306
+ agent: z.ZodOptional<z.ZodObject<{
5307
+ patId: z.ZodString;
5308
+ label: z.ZodString;
5309
+ }, z.core.$strip>>;
4334
5310
  }, z.core.$strip>, z.ZodObject<{
4335
5311
  type: z.ZodLiteral<"api_key">;
4336
5312
  keyId: z.ZodString;
@@ -4353,6 +5329,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4353
5329
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4354
5330
  type: z.ZodLiteral<"user">;
4355
5331
  sub: z.ZodString;
5332
+ agent: z.ZodOptional<z.ZodObject<{
5333
+ patId: z.ZodString;
5334
+ label: z.ZodString;
5335
+ }, z.core.$strip>>;
4356
5336
  }, z.core.$strip>, z.ZodObject<{
4357
5337
  type: z.ZodLiteral<"api_key">;
4358
5338
  keyId: z.ZodString;
@@ -4376,6 +5356,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4376
5356
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4377
5357
  type: z.ZodLiteral<"user">;
4378
5358
  sub: z.ZodString;
5359
+ agent: z.ZodOptional<z.ZodObject<{
5360
+ patId: z.ZodString;
5361
+ label: z.ZodString;
5362
+ }, z.core.$strip>>;
4379
5363
  }, z.core.$strip>, z.ZodObject<{
4380
5364
  type: z.ZodLiteral<"api_key">;
4381
5365
  keyId: z.ZodString;
@@ -4398,6 +5382,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4398
5382
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4399
5383
  type: z.ZodLiteral<"user">;
4400
5384
  sub: z.ZodString;
5385
+ agent: z.ZodOptional<z.ZodObject<{
5386
+ patId: z.ZodString;
5387
+ label: z.ZodString;
5388
+ }, z.core.$strip>>;
4401
5389
  }, z.core.$strip>, z.ZodObject<{
4402
5390
  type: z.ZodLiteral<"api_key">;
4403
5391
  keyId: z.ZodString;
@@ -4421,6 +5409,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4421
5409
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4422
5410
  type: z.ZodLiteral<"user">;
4423
5411
  sub: z.ZodString;
5412
+ agent: z.ZodOptional<z.ZodObject<{
5413
+ patId: z.ZodString;
5414
+ label: z.ZodString;
5415
+ }, z.core.$strip>>;
4424
5416
  }, z.core.$strip>, z.ZodObject<{
4425
5417
  type: z.ZodLiteral<"api_key">;
4426
5418
  keyId: z.ZodString;
@@ -4444,6 +5436,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4444
5436
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4445
5437
  type: z.ZodLiteral<"user">;
4446
5438
  sub: z.ZodString;
5439
+ agent: z.ZodOptional<z.ZodObject<{
5440
+ patId: z.ZodString;
5441
+ label: z.ZodString;
5442
+ }, z.core.$strip>>;
4447
5443
  }, z.core.$strip>, z.ZodObject<{
4448
5444
  type: z.ZodLiteral<"api_key">;
4449
5445
  keyId: z.ZodString;
@@ -4482,6 +5478,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4482
5478
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4483
5479
  type: z.ZodLiteral<"user">;
4484
5480
  sub: z.ZodString;
5481
+ agent: z.ZodOptional<z.ZodObject<{
5482
+ patId: z.ZodString;
5483
+ label: z.ZodString;
5484
+ }, z.core.$strip>>;
4485
5485
  }, z.core.$strip>, z.ZodObject<{
4486
5486
  type: z.ZodLiteral<"api_key">;
4487
5487
  keyId: z.ZodString;
@@ -4507,6 +5507,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4507
5507
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4508
5508
  type: z.ZodLiteral<"user">;
4509
5509
  sub: z.ZodString;
5510
+ agent: z.ZodOptional<z.ZodObject<{
5511
+ patId: z.ZodString;
5512
+ label: z.ZodString;
5513
+ }, z.core.$strip>>;
4510
5514
  }, z.core.$strip>, z.ZodObject<{
4511
5515
  type: z.ZodLiteral<"api_key">;
4512
5516
  keyId: z.ZodString;
@@ -4532,6 +5536,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4532
5536
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4533
5537
  type: z.ZodLiteral<"user">;
4534
5538
  sub: z.ZodString;
5539
+ agent: z.ZodOptional<z.ZodObject<{
5540
+ patId: z.ZodString;
5541
+ label: z.ZodString;
5542
+ }, z.core.$strip>>;
4535
5543
  }, z.core.$strip>, z.ZodObject<{
4536
5544
  type: z.ZodLiteral<"api_key">;
4537
5545
  keyId: z.ZodString;
@@ -4557,6 +5565,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4557
5565
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4558
5566
  type: z.ZodLiteral<"user">;
4559
5567
  sub: z.ZodString;
5568
+ agent: z.ZodOptional<z.ZodObject<{
5569
+ patId: z.ZodString;
5570
+ label: z.ZodString;
5571
+ }, z.core.$strip>>;
4560
5572
  }, z.core.$strip>, z.ZodObject<{
4561
5573
  type: z.ZodLiteral<"api_key">;
4562
5574
  keyId: z.ZodString;
@@ -4580,6 +5592,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4580
5592
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4581
5593
  type: z.ZodLiteral<"user">;
4582
5594
  sub: z.ZodString;
5595
+ agent: z.ZodOptional<z.ZodObject<{
5596
+ patId: z.ZodString;
5597
+ label: z.ZodString;
5598
+ }, z.core.$strip>>;
4583
5599
  }, z.core.$strip>, z.ZodObject<{
4584
5600
  type: z.ZodLiteral<"api_key">;
4585
5601
  keyId: z.ZodString;
@@ -4604,6 +5620,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4604
5620
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4605
5621
  type: z.ZodLiteral<"user">;
4606
5622
  sub: z.ZodString;
5623
+ agent: z.ZodOptional<z.ZodObject<{
5624
+ patId: z.ZodString;
5625
+ label: z.ZodString;
5626
+ }, z.core.$strip>>;
4607
5627
  }, z.core.$strip>, z.ZodObject<{
4608
5628
  type: z.ZodLiteral<"api_key">;
4609
5629
  keyId: z.ZodString;
@@ -4628,6 +5648,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4628
5648
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4629
5649
  type: z.ZodLiteral<"user">;
4630
5650
  sub: z.ZodString;
5651
+ agent: z.ZodOptional<z.ZodObject<{
5652
+ patId: z.ZodString;
5653
+ label: z.ZodString;
5654
+ }, z.core.$strip>>;
4631
5655
  }, z.core.$strip>, z.ZodObject<{
4632
5656
  type: z.ZodLiteral<"api_key">;
4633
5657
  keyId: z.ZodString;
@@ -4650,6 +5674,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4650
5674
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4651
5675
  type: z.ZodLiteral<"user">;
4652
5676
  sub: z.ZodString;
5677
+ agent: z.ZodOptional<z.ZodObject<{
5678
+ patId: z.ZodString;
5679
+ label: z.ZodString;
5680
+ }, z.core.$strip>>;
4653
5681
  }, z.core.$strip>, z.ZodObject<{
4654
5682
  type: z.ZodLiteral<"api_key">;
4655
5683
  keyId: z.ZodString;
@@ -4685,6 +5713,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4685
5713
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4686
5714
  type: z.ZodLiteral<"user">;
4687
5715
  sub: z.ZodString;
5716
+ agent: z.ZodOptional<z.ZodObject<{
5717
+ patId: z.ZodString;
5718
+ label: z.ZodString;
5719
+ }, z.core.$strip>>;
4688
5720
  }, z.core.$strip>, z.ZodObject<{
4689
5721
  type: z.ZodLiteral<"api_key">;
4690
5722
  keyId: z.ZodString;
@@ -4719,6 +5751,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4719
5751
  "fleet.host.declare": "fleet.host.declare";
4720
5752
  "fleet.host.remove": "fleet.host.remove";
4721
5753
  "run.detail.read": "run.detail.read";
5754
+ "run.structured.read": "run.structured.read";
4722
5755
  "runs.list.read": "runs.list.read";
4723
5756
  "runs.filters.read": "runs.filters.read";
4724
5757
  "sources.list.read": "sources.list.read";
@@ -4782,10 +5815,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4782
5815
  purge_chunk: "purge_chunk";
4783
5816
  }>>;
4784
5817
  source: z.ZodOptional<z.ZodEnum<{
5818
+ agent: "agent";
4785
5819
  platform_proxy: "platform_proxy";
4786
5820
  admin_http: "admin_http";
4787
5821
  admin_cli: "admin_cli";
4788
- agent: "agent";
4789
5822
  }>>;
4790
5823
  outcome: z.ZodOptional<z.ZodEnum<{
4791
5824
  error: "error";
@@ -4795,12 +5828,12 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4795
5828
  targetType: z.ZodOptional<z.ZodEnum<{
4796
5829
  run: "run";
4797
5830
  job: "job";
4798
- payload: "payload";
4799
5831
  step: "step";
5832
+ environment: "environment";
5833
+ payload: "payload";
4800
5834
  event_log: "event_log";
4801
5835
  event_log_payload: "event_log_payload";
4802
5836
  secret_scope: "secret_scope";
4803
- environment: "environment";
4804
5837
  registration: "registration";
4805
5838
  backend: "backend";
4806
5839
  diagnostics: "diagnostics";
@@ -4811,6 +5844,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4811
5844
  event_dlq: "event_dlq";
4812
5845
  org_settings: "org_settings";
4813
5846
  cluster_meta: "cluster_meta";
5847
+ attestation: "attestation";
4814
5848
  }>>;
4815
5849
  targetId: z.ZodOptional<z.ZodString>;
4816
5850
  fromTimestamp: z.ZodOptional<z.ZodString>;
@@ -4824,6 +5858,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4824
5858
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4825
5859
  type: z.ZodLiteral<"user">;
4826
5860
  sub: z.ZodString;
5861
+ agent: z.ZodOptional<z.ZodObject<{
5862
+ patId: z.ZodString;
5863
+ label: z.ZodString;
5864
+ }, z.core.$strip>>;
4827
5865
  }, z.core.$strip>, z.ZodObject<{
4828
5866
  type: z.ZodLiteral<"api_key">;
4829
5867
  keyId: z.ZodString;
@@ -4850,6 +5888,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4850
5888
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4851
5889
  type: z.ZodLiteral<"user">;
4852
5890
  sub: z.ZodString;
5891
+ agent: z.ZodOptional<z.ZodObject<{
5892
+ patId: z.ZodString;
5893
+ label: z.ZodString;
5894
+ }, z.core.$strip>>;
4853
5895
  }, z.core.$strip>, z.ZodObject<{
4854
5896
  type: z.ZodLiteral<"api_key">;
4855
5897
  keyId: z.ZodString;
@@ -4917,6 +5959,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4917
5959
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4918
5960
  type: z.ZodLiteral<"user">;
4919
5961
  sub: z.ZodString;
5962
+ agent: z.ZodOptional<z.ZodObject<{
5963
+ patId: z.ZodString;
5964
+ label: z.ZodString;
5965
+ }, z.core.$strip>>;
4920
5966
  }, z.core.$strip>, z.ZodObject<{
4921
5967
  type: z.ZodLiteral<"api_key">;
4922
5968
  keyId: z.ZodString;
@@ -4940,6 +5986,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4940
5986
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4941
5987
  type: z.ZodLiteral<"user">;
4942
5988
  sub: z.ZodString;
5989
+ agent: z.ZodOptional<z.ZodObject<{
5990
+ patId: z.ZodString;
5991
+ label: z.ZodString;
5992
+ }, z.core.$strip>>;
4943
5993
  }, z.core.$strip>, z.ZodObject<{
4944
5994
  type: z.ZodLiteral<"api_key">;
4945
5995
  keyId: z.ZodString;
@@ -4964,6 +6014,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4964
6014
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4965
6015
  type: z.ZodLiteral<"user">;
4966
6016
  sub: z.ZodString;
6017
+ agent: z.ZodOptional<z.ZodObject<{
6018
+ patId: z.ZodString;
6019
+ label: z.ZodString;
6020
+ }, z.core.$strip>>;
4967
6021
  }, z.core.$strip>, z.ZodObject<{
4968
6022
  type: z.ZodLiteral<"api_key">;
4969
6023
  keyId: z.ZodString;
@@ -5002,6 +6056,7 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
5002
6056
  orchestratorId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5003
6057
  errorMessage: z.ZodNullable<z.ZodString>;
5004
6058
  runsOnLabels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
6059
+ environments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
5005
6060
  outputs: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
5006
6061
  secretOutputKeys: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
5007
6062
  initFailure: z.ZodOptional<z.ZodObject<{
@@ -5057,13 +6112,19 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
5057
6112
  no_check: "no_check";
5058
6113
  }>>>;
5059
6114
  driftSummary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6115
+ concurrencyKind: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
6116
+ sequential: "sequential";
6117
+ "parallel-child": "parallel-child";
6118
+ "parallel-group": "parallel-group";
6119
+ }>>>;
6120
+ groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5060
6121
  }, z.core.$strip>>;
5061
6122
  }, z.core.$strip>>;
5062
6123
  trustContext: z.ZodOptional<z.ZodObject<{
5063
6124
  trustTier: z.ZodNullable<z.ZodEnum<{
5064
6125
  unknown: "unknown";
5065
- trusted: "trusted";
5066
6126
  known: "known";
6127
+ trusted: "trusted";
5067
6128
  }>>;
5068
6129
  lockFileSource: z.ZodNullable<z.ZodEnum<{
5069
6130
  head: "head";
@@ -5090,6 +6151,166 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
5090
6151
  jobName: z.ZodOptional<z.ZodString>;
5091
6152
  }, z.core.$strip>>;
5092
6153
  error: z.ZodOptional<z.ZodString>;
6154
+ }, z.core.$strip>, z.ZodObject<{
6155
+ type: z.ZodLiteral<"dashboard.run.structured.response">;
6156
+ requestId: z.ZodString;
6157
+ result: z.ZodNullable<z.ZodObject<{
6158
+ runId: z.ZodString;
6159
+ workflowName: z.ZodObject<{
6160
+ untrusted: z.ZodLiteral<true>;
6161
+ value: z.ZodString;
6162
+ }, z.core.$strip>;
6163
+ status: z.ZodEnum<{
6164
+ success: "success";
6165
+ pending: "pending";
6166
+ running: "running";
6167
+ failed: "failed";
6168
+ cancelled: "cancelled";
6169
+ cancelling: "cancelling";
6170
+ held: "held";
6171
+ }>;
6172
+ provider: z.ZodString;
6173
+ repoIdentifier: z.ZodObject<{
6174
+ untrusted: z.ZodLiteral<true>;
6175
+ value: z.ZodString;
6176
+ }, z.core.$strip>;
6177
+ ref: z.ZodObject<{
6178
+ untrusted: z.ZodLiteral<true>;
6179
+ value: z.ZodString;
6180
+ }, z.core.$strip>;
6181
+ sha: z.ZodString;
6182
+ baseSha: z.ZodNullable<z.ZodString>;
6183
+ startedAt: z.ZodNullable<z.ZodString>;
6184
+ completedAt: z.ZodNullable<z.ZodString>;
6185
+ durationMs: z.ZodNullable<z.ZodNumber>;
6186
+ trustTier: z.ZodNullable<z.ZodEnum<{
6187
+ unknown: "unknown";
6188
+ known: "known";
6189
+ trusted: "trusted";
6190
+ }>>;
6191
+ contributorUsername: z.ZodNullable<z.ZodObject<{
6192
+ untrusted: z.ZodLiteral<true>;
6193
+ value: z.ZodString;
6194
+ }, z.core.$strip>>;
6195
+ failureCategory: z.ZodNullable<z.ZodEnum<{
6196
+ unknown: "unknown";
6197
+ cancelled: "cancelled";
6198
+ init_failure: "init_failure";
6199
+ timed_out: "timed_out";
6200
+ step_failed: "step_failed";
6201
+ infra: "infra";
6202
+ }>>;
6203
+ failureReason: z.ZodNullable<z.ZodObject<{
6204
+ untrusted: z.ZodLiteral<true>;
6205
+ value: z.ZodString;
6206
+ }, z.core.$strip>>;
6207
+ triggeredBy: z.ZodNullable<z.ZodString>;
6208
+ jobs: z.ZodArray<z.ZodObject<{
6209
+ jobId: z.ZodString;
6210
+ jobName: z.ZodObject<{
6211
+ untrusted: z.ZodLiteral<true>;
6212
+ value: z.ZodString;
6213
+ }, z.core.$strip>;
6214
+ status: z.ZodEnum<{
6215
+ skipped: "skipped";
6216
+ success: "success";
6217
+ pending: "pending";
6218
+ running: "running";
6219
+ failed: "failed";
6220
+ cancelled: "cancelled";
6221
+ cancelling: "cancelling";
6222
+ queued: "queued";
6223
+ recovering: "recovering";
6224
+ timed_out_stale: "timed_out_stale";
6225
+ drift_dropped: "drift_dropped";
6226
+ }>;
6227
+ startedAt: z.ZodNullable<z.ZodString>;
6228
+ completedAt: z.ZodNullable<z.ZodString>;
6229
+ durationMs: z.ZodNullable<z.ZodNumber>;
6230
+ agentId: z.ZodNullable<z.ZodString>;
6231
+ errorMessage: z.ZodNullable<z.ZodObject<{
6232
+ untrusted: z.ZodLiteral<true>;
6233
+ value: z.ZodString;
6234
+ }, z.core.$strip>>;
6235
+ initFailure: z.ZodNullable<z.ZodObject<{
6236
+ scope: z.ZodEnum<{
6237
+ run: "run";
6238
+ job: "job";
6239
+ }>;
6240
+ category: z.ZodEnum<{
6241
+ secret_resolution: "secret_resolution";
6242
+ install_secrets: "install_secrets";
6243
+ lock_resolution: "lock_resolution";
6244
+ build_coordination: "build_coordination";
6245
+ environment_rules: "environment_rules";
6246
+ dynamic_eval: "dynamic_eval";
6247
+ no_agent: "no_agent";
6248
+ matrix_expansion: "matrix_expansion";
6249
+ }>;
6250
+ message: z.ZodObject<{
6251
+ untrusted: z.ZodLiteral<true>;
6252
+ value: z.ZodString;
6253
+ }, z.core.$strip>;
6254
+ }, z.core.$strip>>;
6255
+ needs: z.ZodArray<z.ZodObject<{
6256
+ ref: z.ZodObject<{
6257
+ untrusted: z.ZodLiteral<true>;
6258
+ value: z.ZodString;
6259
+ }, z.core.$strip>;
6260
+ runOn: z.ZodArray<z.ZodEnum<{
6261
+ skipped: "skipped";
6262
+ success: "success";
6263
+ pending: "pending";
6264
+ running: "running";
6265
+ failed: "failed";
6266
+ cancelled: "cancelled";
6267
+ cancelling: "cancelling";
6268
+ queued: "queued";
6269
+ recovering: "recovering";
6270
+ timed_out_stale: "timed_out_stale";
6271
+ drift_dropped: "drift_dropped";
6272
+ }>>;
6273
+ }, z.core.$strip>>;
6274
+ outputs: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
6275
+ untrusted: z.ZodLiteral<true>;
6276
+ value: z.ZodString;
6277
+ }, z.core.$strip>>>;
6278
+ secretOutputKeys: z.ZodArray<z.ZodString>;
6279
+ steps: z.ZodArray<z.ZodObject<{
6280
+ stepIndex: z.ZodNumber;
6281
+ stepName: z.ZodObject<{
6282
+ untrusted: z.ZodLiteral<true>;
6283
+ value: z.ZodString;
6284
+ }, z.core.$strip>;
6285
+ status: z.ZodEnum<{
6286
+ skipped: "skipped";
6287
+ success: "success";
6288
+ pending: "pending";
6289
+ running: "running";
6290
+ failed: "failed";
6291
+ cancelled: "cancelled";
6292
+ }>;
6293
+ exitCode: z.ZodNullable<z.ZodNumber>;
6294
+ durationMs: z.ZodNullable<z.ZodNumber>;
6295
+ startedAt: z.ZodNullable<z.ZodString>;
6296
+ completedAt: z.ZodNullable<z.ZodString>;
6297
+ errorMessage: z.ZodNullable<z.ZodObject<{
6298
+ untrusted: z.ZodLiteral<true>;
6299
+ value: z.ZodString;
6300
+ }, z.core.$strip>>;
6301
+ stepType: z.ZodString;
6302
+ checkOutcome: z.ZodNullable<z.ZodEnum<{
6303
+ skipped: "skipped";
6304
+ applied: "applied";
6305
+ declined: "declined";
6306
+ "dry-run": "dry-run";
6307
+ no_check: "no_check";
6308
+ }>>;
6309
+ secretsAccessed: z.ZodArray<z.ZodString>;
6310
+ }, z.core.$strip>>;
6311
+ }, z.core.$strip>>;
6312
+ }, z.core.$strip>>;
6313
+ error: z.ZodOptional<z.ZodString>;
5093
6314
  }, z.core.$strip>, z.ZodObject<{
5094
6315
  type: z.ZodLiteral<"dashboard.step.logs.response">;
5095
6316
  requestId: z.ZodString;
@@ -5123,6 +6344,78 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
5123
6344
  identityToken: z.ZodString;
5124
6345
  }, z.core.$strip>;
5125
6346
  }, z.core.$strip>;
6347
+ runId: z.ZodOptional<z.ZodString>;
6348
+ verifyStatus: z.ZodOptional<z.ZodEnum<{
6349
+ pending: "pending";
6350
+ failed: "failed";
6351
+ verified: "verified";
6352
+ unverifiable: "unverifiable";
6353
+ }>>;
6354
+ verifyReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6355
+ }, z.core.$strip>>;
6356
+ error: z.ZodOptional<z.ZodString>;
6357
+ }, z.core.$strip>, z.ZodObject<{
6358
+ type: z.ZodLiteral<"dashboard.attestations.list.all.response">;
6359
+ requestId: z.ZodString;
6360
+ attestations: z.ZodArray<z.ZodObject<{
6361
+ id: z.ZodString;
6362
+ runId: z.ZodString;
6363
+ jobId: z.ZodString;
6364
+ jobName: z.ZodNullable<z.ZodString>;
6365
+ subjectName: z.ZodString;
6366
+ subjectDigest: z.ZodString;
6367
+ mode: z.ZodString;
6368
+ mediaType: z.ZodString;
6369
+ createdAt: z.ZodString;
6370
+ verifyStatus: z.ZodEnum<{
6371
+ pending: "pending";
6372
+ failed: "failed";
6373
+ verified: "verified";
6374
+ unverifiable: "unverifiable";
6375
+ }>;
6376
+ verifyReason: z.ZodNullable<z.ZodString>;
6377
+ repository: z.ZodNullable<z.ZodString>;
6378
+ workflow: z.ZodNullable<z.ZodString>;
6379
+ }, z.core.$strip>>;
6380
+ page: z.ZodNumber;
6381
+ pageSize: z.ZodNumber;
6382
+ total: z.ZodNumber;
6383
+ error: z.ZodOptional<z.ZodString>;
6384
+ }, z.core.$strip>, z.ZodObject<{
6385
+ type: z.ZodLiteral<"dashboard.attestation.get.response">;
6386
+ requestId: z.ZodString;
6387
+ attestation: z.ZodNullable<z.ZodObject<{
6388
+ id: z.ZodString;
6389
+ jobId: z.ZodString;
6390
+ jobName: z.ZodNullable<z.ZodString>;
6391
+ subjectName: z.ZodString;
6392
+ subjectDigest: z.ZodString;
6393
+ mode: z.ZodString;
6394
+ mediaType: z.ZodString;
6395
+ createdAt: z.ZodString;
6396
+ bundle: z.ZodObject<{
6397
+ mediaType: z.ZodLiteral<"application/vnd.kici.provenance.bundle+json;version=0.1">;
6398
+ dsseEnvelope: z.ZodObject<{
6399
+ payloadType: z.ZodString;
6400
+ payload: z.ZodString;
6401
+ signatures: z.ZodArray<z.ZodObject<{
6402
+ keyid: z.ZodString;
6403
+ sig: z.ZodString;
6404
+ }, z.core.$strip>>;
6405
+ }, z.core.$strip>;
6406
+ verificationMaterial: z.ZodObject<{
6407
+ publicKey: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6408
+ identityToken: z.ZodString;
6409
+ }, z.core.$strip>;
6410
+ }, z.core.$strip>;
6411
+ runId: z.ZodOptional<z.ZodString>;
6412
+ verifyStatus: z.ZodOptional<z.ZodEnum<{
6413
+ pending: "pending";
6414
+ failed: "failed";
6415
+ verified: "verified";
6416
+ unverifiable: "unverifiable";
6417
+ }>>;
6418
+ verifyReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5126
6419
  }, z.core.$strip>>;
5127
6420
  error: z.ZodOptional<z.ZodString>;
5128
6421
  }, z.core.$strip>, z.ZodObject<{
@@ -5142,6 +6435,7 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
5142
6435
  triggerEvent: z.ZodOptional<z.ZodString>;
5143
6436
  commitMessage: z.ZodOptional<z.ZodString>;
5144
6437
  jobCount: z.ZodOptional<z.ZodNumber>;
6438
+ environments: z.ZodOptional<z.ZodArray<z.ZodString>>;
5145
6439
  startedAt: z.ZodOptional<z.ZodString>;
5146
6440
  completedAt: z.ZodOptional<z.ZodString>;
5147
6441
  durationMs: z.ZodOptional<z.ZodNumber>;
@@ -5226,8 +6520,8 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
5226
6520
  id: z.ZodString;
5227
6521
  name: z.ZodString;
5228
6522
  type: z.ZodEnum<{
5229
- glob: "glob";
5230
6523
  fixed: "fixed";
6524
+ glob: "glob";
5231
6525
  }>;
5232
6526
  globPattern: z.ZodNullable<z.ZodString>;
5233
6527
  enabled: z.ZodBoolean;
@@ -5244,8 +6538,8 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
5244
6538
  id: z.ZodString;
5245
6539
  name: z.ZodString;
5246
6540
  type: z.ZodEnum<{
5247
- glob: "glob";
5248
6541
  fixed: "fixed";
6542
+ glob: "glob";
5249
6543
  }>;
5250
6544
  globPattern: z.ZodNullable<z.ZodString>;
5251
6545
  branchRestrictions: z.ZodNullable<z.ZodArray<z.ZodString>>;
@@ -5388,8 +6682,8 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
5388
6682
  }>;
5389
6683
  status: z.ZodEnum<{
5390
6684
  pending: "pending";
5391
- rejected: "rejected";
5392
6685
  approved: "approved";
6686
+ rejected: "rejected";
5393
6687
  expired: "expired";
5394
6688
  }>;
5395
6689
  requestedAt: z.ZodCoercedString<unknown>;
@@ -5402,8 +6696,8 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
5402
6696
  jobId: z.ZodOptional<z.ZodString>;
5403
6697
  holdScope: z.ZodOptional<z.ZodEnum<{
5404
6698
  job: "job";
5405
- step: "step";
5406
6699
  workflow: "workflow";
6700
+ step: "step";
5407
6701
  }>>;
5408
6702
  stepIndex: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5409
6703
  requirement: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -5596,8 +6890,8 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
5596
6890
  dependencyHealth: z.ZodOptional<z.ZodArray<z.ZodObject<{
5597
6891
  name: z.ZodString;
5598
6892
  status: z.ZodEnum<{
5599
- fail: "fail";
5600
6893
  pass: "pass";
6894
+ fail: "fail";
5601
6895
  warn: "warn";
5602
6896
  }>;
5603
6897
  message: z.ZodNullable<z.ZodString>;
@@ -5685,9 +6979,9 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
5685
6979
  }>;
5686
6980
  }, z.core.$strip>>;
5687
6981
  onUnreachable: z.ZodEnum<{
6982
+ hold: "hold";
5688
6983
  skip: "skip";
5689
6984
  fail: "fail";
5690
- hold: "hold";
5691
6985
  }>;
5692
6986
  estimatedChildCount: z.ZodNumber;
5693
6987
  }, z.core.$strip>, z.ZodObject<{
@@ -5698,9 +6992,9 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
5698
6992
  repoIdentifier: z.ZodString;
5699
6993
  sourceFile: z.ZodNullable<z.ZodString>;
5700
6994
  onUnreachable: z.ZodEnum<{
6995
+ hold: "hold";
5701
6996
  skip: "skip";
5702
6997
  fail: "fail";
5703
- hold: "hold";
5704
6998
  }>;
5705
6999
  disposition: z.ZodEnum<{
5706
7000
  target: "target";
@@ -6023,6 +7317,7 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
6023
7317
  "fleet.host.declare": "fleet.host.declare";
6024
7318
  "fleet.host.remove": "fleet.host.remove";
6025
7319
  "run.detail.read": "run.detail.read";
7320
+ "run.structured.read": "run.structured.read";
6026
7321
  "runs.list.read": "runs.list.read";
6027
7322
  "runs.filters.read": "runs.filters.read";
6028
7323
  "sources.list.read": "sources.list.read";
@@ -6088,12 +7383,12 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
6088
7383
  targetType: z.ZodNullable<z.ZodEnum<{
6089
7384
  run: "run";
6090
7385
  job: "job";
6091
- payload: "payload";
6092
7386
  step: "step";
7387
+ environment: "environment";
7388
+ payload: "payload";
6093
7389
  event_log: "event_log";
6094
7390
  event_log_payload: "event_log_payload";
6095
7391
  secret_scope: "secret_scope";
6096
- environment: "environment";
6097
7392
  registration: "registration";
6098
7393
  backend: "backend";
6099
7394
  diagnostics: "diagnostics";
@@ -6104,14 +7399,15 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
6104
7399
  event_dlq: "event_dlq";
6105
7400
  org_settings: "org_settings";
6106
7401
  cluster_meta: "cluster_meta";
7402
+ attestation: "attestation";
6107
7403
  }>>;
6108
7404
  targetId: z.ZodNullable<z.ZodString>;
6109
7405
  requestId: z.ZodNullable<z.ZodString>;
6110
7406
  source: z.ZodEnum<{
7407
+ agent: "agent";
6111
7408
  platform_proxy: "platform_proxy";
6112
7409
  admin_http: "admin_http";
6113
7410
  admin_cli: "admin_cli";
6114
- agent: "agent";
6115
7411
  }>;
6116
7412
  outcome: z.ZodEnum<{
6117
7413
  error: "error";
@@ -6136,8 +7432,8 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
6136
7432
  requestId: z.ZodString;
6137
7433
  runId: z.ZodOptional<z.ZodString>;
6138
7434
  status: z.ZodOptional<z.ZodEnum<{
6139
- accepted: "accepted";
6140
7435
  rejected: "rejected";
7436
+ accepted: "accepted";
6141
7437
  }>>;
6142
7438
  reason: z.ZodOptional<z.ZodString>;
6143
7439
  jobIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -6252,6 +7548,7 @@ export declare const dashboardRunDetailApiResponseSchema: z.ZodObject<{
6252
7548
  orchestratorId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6253
7549
  errorMessage: z.ZodNullable<z.ZodString>;
6254
7550
  runsOnLabels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
7551
+ environments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
6255
7552
  outputs: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
6256
7553
  secretOutputKeys: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
6257
7554
  initFailure: z.ZodOptional<z.ZodObject<{
@@ -6307,13 +7604,19 @@ export declare const dashboardRunDetailApiResponseSchema: z.ZodObject<{
6307
7604
  no_check: "no_check";
6308
7605
  }>>>;
6309
7606
  driftSummary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7607
+ concurrencyKind: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
7608
+ sequential: "sequential";
7609
+ "parallel-child": "parallel-child";
7610
+ "parallel-group": "parallel-group";
7611
+ }>>>;
7612
+ groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6310
7613
  }, z.core.$strip>>;
6311
7614
  }, z.core.$strip>>;
6312
7615
  trustContext: z.ZodOptional<z.ZodObject<{
6313
7616
  trustTier: z.ZodNullable<z.ZodEnum<{
6314
7617
  unknown: "unknown";
6315
- trusted: "trusted";
6316
7618
  known: "known";
7619
+ trusted: "trusted";
6317
7620
  }>>;
6318
7621
  lockFileSource: z.ZodNullable<z.ZodEnum<{
6319
7622
  head: "head";
@@ -6387,6 +7690,14 @@ export declare const dashboardAttestationsApiResponseSchema: z.ZodObject<{
6387
7690
  identityToken: z.ZodString;
6388
7691
  }, z.core.$strip>;
6389
7692
  }, z.core.$strip>;
7693
+ runId: z.ZodOptional<z.ZodString>;
7694
+ verifyStatus: z.ZodOptional<z.ZodEnum<{
7695
+ pending: "pending";
7696
+ failed: "failed";
7697
+ verified: "verified";
7698
+ unverifiable: "unverifiable";
7699
+ }>>;
7700
+ verifyReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6390
7701
  }, z.core.$strip>>;
6391
7702
  }, z.core.$strip>;
6392
7703
  /** Single run summary in the paginated run list. */
@@ -6420,6 +7731,9 @@ export declare const runListItemSchema: z.ZodObject<{
6420
7731
  failureReason: z.ZodOptional<z.ZodString>;
6421
7732
  hadCompileJob: z.ZodBoolean;
6422
7733
  compileJobId: z.ZodNullable<z.ZodString>;
7734
+ environments: z.ZodOptional<z.ZodArray<z.ZodString>>;
7735
+ repoProvider: z.ZodNullable<z.ZodString>;
7736
+ localWorkingTree: z.ZodBoolean;
6423
7737
  source: z.ZodNullable<z.ZodObject<{
6424
7738
  routingKey: z.ZodString;
6425
7739
  name: z.ZodNullable<z.ZodString>;
@@ -6465,6 +7779,9 @@ export declare const runListResponseSchema: z.ZodObject<{
6465
7779
  failureReason: z.ZodOptional<z.ZodString>;
6466
7780
  hadCompileJob: z.ZodBoolean;
6467
7781
  compileJobId: z.ZodNullable<z.ZodString>;
7782
+ environments: z.ZodOptional<z.ZodArray<z.ZodString>>;
7783
+ repoProvider: z.ZodNullable<z.ZodString>;
7784
+ localWorkingTree: z.ZodBoolean;
6468
7785
  source: z.ZodNullable<z.ZodObject<{
6469
7786
  routingKey: z.ZodString;
6470
7787
  name: z.ZodNullable<z.ZodString>;
@@ -6587,8 +7904,8 @@ declare const diagnosticsInfraOrchestratorSchema: z.ZodObject<{
6587
7904
  dependencyHealth: z.ZodOptional<z.ZodArray<z.ZodObject<{
6588
7905
  name: z.ZodString;
6589
7906
  status: z.ZodEnum<{
6590
- fail: "fail";
6591
7907
  pass: "pass";
7908
+ fail: "fail";
6592
7909
  warn: "warn";
6593
7910
  }>;
6594
7911
  message: z.ZodNullable<z.ZodString>;
@@ -6679,8 +7996,8 @@ export declare const diagnosticsInfrastructureResponseSchema: z.ZodObject<{
6679
7996
  dependencyHealth: z.ZodOptional<z.ZodArray<z.ZodObject<{
6680
7997
  name: z.ZodString;
6681
7998
  status: z.ZodEnum<{
6682
- fail: "fail";
6683
7999
  pass: "pass";
8000
+ fail: "fail";
6684
8001
  warn: "warn";
6685
8002
  }>;
6686
8003
  message: z.ZodNullable<z.ZodString>;
@@ -6820,5 +8137,22 @@ export declare const memberListResponseSchema: z.ZodObject<{
6820
8137
  }, z.core.$strip>;
6821
8138
  export type OrgMember = z.infer<typeof orgMemberSchema>;
6822
8139
  export type MemberListResponse = z.infer<typeof memberListResponseSchema>;
8140
+ /**
8141
+ * Every dashboard request type the local build understands, derived from the
8142
+ * discriminated union so it can never drift. A component advertises this set to
8143
+ * describe ITSELF; gating decisions always compare against the REMOTE's
8144
+ * advertised set, never this local one.
8145
+ */
8146
+ export declare const DASHBOARD_REQUEST_TYPES: readonly string[];
8147
+ /** Membership-test form of {@link DASHBOARD_REQUEST_TYPES}. */
8148
+ export declare const DASHBOARD_REQUEST_TYPE_SET: ReadonlySet<string>;
8149
+ /** Structured error code on a dashboard `*.response` frame's `code` field. */
8150
+ export declare const DashboardResponseErrorCode: z.ZodEnum<{
8151
+ unsupported_request_type: "unsupported_request_type";
8152
+ invalid_payload: "invalid_payload";
8153
+ unsupported_message_type: "unsupported_message_type";
8154
+ internal_error: "internal_error";
8155
+ }>;
8156
+ export type DashboardResponseErrorCode = z.infer<typeof DashboardResponseErrorCode>;
6823
8157
  export {};
6824
8158
  //# sourceMappingURL=dashboard.d.ts.map