@kici-dev/engine 0.1.22 → 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 (72) 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 +11 -1
  4. package/dist/audit/activity.d.ts +3 -1
  5. package/dist/audit/activity.js +8 -16
  6. package/dist/audit/retention-policy.js +6 -0
  7. package/dist/environment/host-match.d.ts +25 -0
  8. package/dist/environment/host-match.js +67 -0
  9. package/dist/environment/index.d.ts +3 -0
  10. package/dist/environment/index.js +3 -1
  11. package/dist/environment/multi-env.d.ts +30 -0
  12. package/dist/environment/multi-env.js +38 -0
  13. package/dist/environment/scope-resolver.d.ts +15 -4
  14. package/dist/environment/scope-resolver.js +55 -15
  15. package/dist/environment/scope-template.d.ts +18 -0
  16. package/dist/environment/scope-template.js +43 -0
  17. package/dist/environment/types.d.ts +15 -2
  18. package/dist/environment/types.js +18 -1
  19. package/dist/fanout/materialize.d.ts +34 -0
  20. package/dist/fanout/materialize.js +72 -45
  21. package/dist/index.d.ts +5 -1
  22. package/dist/index.js +21 -10
  23. package/dist/inputs/build.d.ts +9 -0
  24. package/dist/inputs/build.js +44 -0
  25. package/dist/inputs/coerce.d.ts +25 -0
  26. package/dist/inputs/coerce.js +51 -0
  27. package/dist/inputs/descriptor.d.ts +53 -0
  28. package/dist/inputs/descriptor.js +42 -0
  29. package/dist/inputs/extract.d.ts +15 -0
  30. package/dist/inputs/extract.js +117 -0
  31. package/dist/inputs/index.d.ts +6 -0
  32. package/dist/inputs/index.js +7 -0
  33. package/dist/inputs/schedule.d.ts +19 -0
  34. package/dist/inputs/schedule.js +33 -0
  35. package/dist/labels/compile.d.ts +9 -0
  36. package/dist/labels/compile.js +10 -1
  37. package/dist/labels.d.ts +29 -0
  38. package/dist/labels.js +32 -1
  39. package/dist/mcp/tool-schemas.d.ts +41 -0
  40. package/dist/mcp/tool-schemas.js +49 -0
  41. package/dist/metrics/catalog-policy.d.ts +7 -0
  42. package/dist/metrics/catalog-policy.js +11 -12
  43. package/dist/metrics/metric-catalog.generated.d.ts +22 -2
  44. package/dist/metrics/metric-catalog.generated.js +34 -2
  45. package/dist/protocol/messages/access-log.d.ts +39 -10
  46. package/dist/protocol/messages/access-log.js +7 -2
  47. package/dist/protocol/messages/actor.d.ts +8 -0
  48. package/dist/protocol/messages/actor.js +17 -3
  49. package/dist/protocol/messages/agent-run-result.d.ts +350 -0
  50. package/dist/protocol/messages/agent-run-result.js +123 -0
  51. package/dist/protocol/messages/auth.d.ts +2 -0
  52. package/dist/protocol/messages/auth.js +10 -1
  53. package/dist/protocol/messages/capabilities.d.ts +2 -0
  54. package/dist/protocol/messages/capabilities.js +15 -2
  55. package/dist/protocol/messages/dashboard-global-workflows.d.ts +8 -0
  56. package/dist/protocol/messages/dashboard.d.ts +1513 -39
  57. package/dist/protocol/messages/dashboard.js +210 -15
  58. package/dist/protocol/messages/execution-status.d.ts +52 -1
  59. package/dist/protocol/messages/execution-status.js +115 -54
  60. package/dist/protocol/messages/orchestrator-agent.d.ts +21 -5
  61. package/dist/protocol/messages/orchestrator-agent.js +5 -1
  62. package/dist/protocol/messages/pat-kind.d.ts +16 -0
  63. package/dist/protocol/messages/pat-kind.js +17 -0
  64. package/dist/protocol/messages/peer.d.ts +7 -7
  65. package/dist/protocol/messages/platform-orchestrator.d.ts +424 -8
  66. package/dist/protocol/messages/platform-orchestrator.js +3 -3
  67. package/dist/protocol/messages/run-events.d.ts +5 -1
  68. package/dist/provider/check-run-conclusion.d.ts +1 -1
  69. package/dist/trigger/types.d.ts +75 -7
  70. package/dist/trigger/types.js +19 -2
  71. package/package.json +9 -1
  72. 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;
@@ -1511,6 +2062,16 @@ export declare const envSourceOverrideDeleteRequestSchema: z.ZodObject<{
1511
2062
  routingKey: z.ZodString;
1512
2063
  key: z.ZodString;
1513
2064
  }, z.core.$strip>;
2065
+ /**
2066
+ * A scope→environment binding with its host selector. `hostPattern` is the host
2067
+ * the binding applies to (`'**'` = all hosts); exact / glob / regex over a
2068
+ * fan-out child's agentId / hostname / labels.
2069
+ */
2070
+ export declare const envBindingEntrySchema: z.ZodObject<{
2071
+ scopePattern: z.ZodString;
2072
+ hostPattern: z.ZodString;
2073
+ }, z.core.$strip>;
2074
+ export type EnvBindingEntry = z.infer<typeof envBindingEntrySchema>;
1514
2075
  /** List bindings for an environment. */
1515
2076
  export declare const envBindingsListRequestSchema: z.ZodObject<{
1516
2077
  type: z.ZodLiteral<"dashboard.environments.bindings.list">;
@@ -1518,6 +2079,10 @@ export declare const envBindingsListRequestSchema: z.ZodObject<{
1518
2079
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1519
2080
  type: z.ZodLiteral<"user">;
1520
2081
  sub: z.ZodString;
2082
+ agent: z.ZodOptional<z.ZodObject<{
2083
+ patId: z.ZodString;
2084
+ label: z.ZodString;
2085
+ }, z.core.$strip>>;
1521
2086
  }, z.core.$strip>, z.ZodObject<{
1522
2087
  type: z.ZodLiteral<"api_key">;
1523
2088
  keyId: z.ZodString;
@@ -1536,13 +2101,17 @@ export declare const envBindingsListRequestSchema: z.ZodObject<{
1536
2101
  }, z.core.$strip>], "type">;
1537
2102
  environmentId: z.ZodString;
1538
2103
  }, z.core.$strip>;
1539
- /** Set bindings (scope patterns) for an environment. */
2104
+ /** Set bindings (scope + host patterns) for an environment. */
1540
2105
  export declare const envBindingsSetRequestSchema: z.ZodObject<{
1541
2106
  type: z.ZodLiteral<"dashboard.environments.bindings.set">;
1542
2107
  requestId: z.ZodString;
1543
2108
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1544
2109
  type: z.ZodLiteral<"user">;
1545
2110
  sub: z.ZodString;
2111
+ agent: z.ZodOptional<z.ZodObject<{
2112
+ patId: z.ZodString;
2113
+ label: z.ZodString;
2114
+ }, z.core.$strip>>;
1546
2115
  }, z.core.$strip>, z.ZodObject<{
1547
2116
  type: z.ZodLiteral<"api_key">;
1548
2117
  keyId: z.ZodString;
@@ -1560,7 +2129,10 @@ export declare const envBindingsSetRequestSchema: z.ZodObject<{
1560
2129
  component: z.ZodString;
1561
2130
  }, z.core.$strip>], "type">;
1562
2131
  environmentId: z.ZodString;
1563
- scopePatterns: z.ZodArray<z.ZodString>;
2132
+ bindings: z.ZodArray<z.ZodObject<{
2133
+ scopePattern: z.ZodString;
2134
+ hostPattern: z.ZodString;
2135
+ }, z.core.$strip>>;
1564
2136
  }, z.core.$strip>;
1565
2137
  /** List all scoped secrets for the org. */
1566
2138
  export declare const envSecretsListRequestSchema: z.ZodObject<{
@@ -1569,6 +2141,10 @@ export declare const envSecretsListRequestSchema: z.ZodObject<{
1569
2141
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1570
2142
  type: z.ZodLiteral<"user">;
1571
2143
  sub: z.ZodString;
2144
+ agent: z.ZodOptional<z.ZodObject<{
2145
+ patId: z.ZodString;
2146
+ label: z.ZodString;
2147
+ }, z.core.$strip>>;
1572
2148
  }, z.core.$strip>, z.ZodObject<{
1573
2149
  type: z.ZodLiteral<"api_key">;
1574
2150
  keyId: z.ZodString;
@@ -1593,6 +2169,10 @@ export declare const envSecretSetRequestSchema: z.ZodObject<{
1593
2169
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1594
2170
  type: z.ZodLiteral<"user">;
1595
2171
  sub: z.ZodString;
2172
+ agent: z.ZodOptional<z.ZodObject<{
2173
+ patId: z.ZodString;
2174
+ label: z.ZodString;
2175
+ }, z.core.$strip>>;
1596
2176
  }, z.core.$strip>, z.ZodObject<{
1597
2177
  type: z.ZodLiteral<"api_key">;
1598
2178
  keyId: z.ZodString;
@@ -1620,6 +2200,10 @@ export declare const envSecretDeleteRequestSchema: z.ZodObject<{
1620
2200
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1621
2201
  type: z.ZodLiteral<"user">;
1622
2202
  sub: z.ZodString;
2203
+ agent: z.ZodOptional<z.ZodObject<{
2204
+ patId: z.ZodString;
2205
+ label: z.ZodString;
2206
+ }, z.core.$strip>>;
1623
2207
  }, z.core.$strip>, z.ZodObject<{
1624
2208
  type: z.ZodLiteral<"api_key">;
1625
2209
  keyId: z.ZodString;
@@ -1646,6 +2230,10 @@ export declare const envSecretScopeCreateRequestSchema: z.ZodObject<{
1646
2230
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1647
2231
  type: z.ZodLiteral<"user">;
1648
2232
  sub: z.ZodString;
2233
+ agent: z.ZodOptional<z.ZodObject<{
2234
+ patId: z.ZodString;
2235
+ label: z.ZodString;
2236
+ }, z.core.$strip>>;
1649
2237
  }, z.core.$strip>, z.ZodObject<{
1650
2238
  type: z.ZodLiteral<"api_key">;
1651
2239
  keyId: z.ZodString;
@@ -1671,6 +2259,10 @@ export declare const envSecretScopeRenameRequestSchema: z.ZodObject<{
1671
2259
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1672
2260
  type: z.ZodLiteral<"user">;
1673
2261
  sub: z.ZodString;
2262
+ agent: z.ZodOptional<z.ZodObject<{
2263
+ patId: z.ZodString;
2264
+ label: z.ZodString;
2265
+ }, z.core.$strip>>;
1674
2266
  }, z.core.$strip>, z.ZodObject<{
1675
2267
  type: z.ZodLiteral<"api_key">;
1676
2268
  keyId: z.ZodString;
@@ -1697,6 +2289,10 @@ export declare const envSecretScopeDeleteRequestSchema: z.ZodObject<{
1697
2289
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1698
2290
  type: z.ZodLiteral<"user">;
1699
2291
  sub: z.ZodString;
2292
+ agent: z.ZodOptional<z.ZodObject<{
2293
+ patId: z.ZodString;
2294
+ label: z.ZodString;
2295
+ }, z.core.$strip>>;
1700
2296
  }, z.core.$strip>, z.ZodObject<{
1701
2297
  type: z.ZodLiteral<"api_key">;
1702
2298
  keyId: z.ZodString;
@@ -1722,6 +2318,10 @@ export declare const envHistoryRequestSchema: z.ZodObject<{
1722
2318
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1723
2319
  type: z.ZodLiteral<"user">;
1724
2320
  sub: z.ZodString;
2321
+ agent: z.ZodOptional<z.ZodObject<{
2322
+ patId: z.ZodString;
2323
+ label: z.ZodString;
2324
+ }, z.core.$strip>>;
1725
2325
  }, z.core.$strip>, z.ZodObject<{
1726
2326
  type: z.ZodLiteral<"api_key">;
1727
2327
  keyId: z.ZodString;
@@ -1745,8 +2345,8 @@ export declare const envHistoryRequestSchema: z.ZodObject<{
1745
2345
  /** Status values for held runs (approval queue). */
1746
2346
  export declare const HeldRunStatus: z.ZodEnum<{
1747
2347
  pending: "pending";
1748
- rejected: "rejected";
1749
2348
  approved: "approved";
2349
+ rejected: "rejected";
1750
2350
  expired: "expired";
1751
2351
  }>;
1752
2352
  export type HeldRunStatus = z.infer<typeof HeldRunStatus>;
@@ -1763,6 +2363,10 @@ export declare const heldRunsListRequestSchema: z.ZodObject<{
1763
2363
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1764
2364
  type: z.ZodLiteral<"user">;
1765
2365
  sub: z.ZodString;
2366
+ agent: z.ZodOptional<z.ZodObject<{
2367
+ patId: z.ZodString;
2368
+ label: z.ZodString;
2369
+ }, z.core.$strip>>;
1766
2370
  }, z.core.$strip>, z.ZodObject<{
1767
2371
  type: z.ZodLiteral<"api_key">;
1768
2372
  keyId: z.ZodString;
@@ -1781,8 +2385,8 @@ export declare const heldRunsListRequestSchema: z.ZodObject<{
1781
2385
  }, z.core.$strip>], "type">;
1782
2386
  status: z.ZodOptional<z.ZodEnum<{
1783
2387
  pending: "pending";
1784
- rejected: "rejected";
1785
2388
  approved: "approved";
2389
+ rejected: "rejected";
1786
2390
  expired: "expired";
1787
2391
  }>>;
1788
2392
  queueType: z.ZodOptional<z.ZodEnum<{
@@ -1806,8 +2410,8 @@ declare const heldRunsListResponseSchema: z.ZodObject<{
1806
2410
  }>;
1807
2411
  status: z.ZodEnum<{
1808
2412
  pending: "pending";
1809
- rejected: "rejected";
1810
2413
  approved: "approved";
2414
+ rejected: "rejected";
1811
2415
  expired: "expired";
1812
2416
  }>;
1813
2417
  requestedAt: z.ZodCoercedString<unknown>;
@@ -1820,8 +2424,8 @@ declare const heldRunsListResponseSchema: z.ZodObject<{
1820
2424
  jobId: z.ZodOptional<z.ZodString>;
1821
2425
  holdScope: z.ZodOptional<z.ZodEnum<{
1822
2426
  job: "job";
1823
- step: "step";
1824
2427
  workflow: "workflow";
2428
+ step: "step";
1825
2429
  }>>;
1826
2430
  stepIndex: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1827
2431
  requirement: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -1859,6 +2463,10 @@ export declare const heldRunApproveRequestSchema: z.ZodObject<{
1859
2463
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1860
2464
  type: z.ZodLiteral<"user">;
1861
2465
  sub: z.ZodString;
2466
+ agent: z.ZodOptional<z.ZodObject<{
2467
+ patId: z.ZodString;
2468
+ label: z.ZodString;
2469
+ }, z.core.$strip>>;
1862
2470
  }, z.core.$strip>, z.ZodObject<{
1863
2471
  type: z.ZodLiteral<"api_key">;
1864
2472
  keyId: z.ZodString;
@@ -1885,6 +2493,10 @@ export declare const heldRunRejectRequestSchema: z.ZodObject<{
1885
2493
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1886
2494
  type: z.ZodLiteral<"user">;
1887
2495
  sub: z.ZodString;
2496
+ agent: z.ZodOptional<z.ZodObject<{
2497
+ patId: z.ZodString;
2498
+ label: z.ZodString;
2499
+ }, z.core.$strip>>;
1888
2500
  }, z.core.$strip>, z.ZodObject<{
1889
2501
  type: z.ZodLiteral<"api_key">;
1890
2502
  keyId: z.ZodString;
@@ -1911,6 +2523,10 @@ export declare const dashboardDiagnosticsRequestSchema: z.ZodObject<{
1911
2523
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1912
2524
  type: z.ZodLiteral<"user">;
1913
2525
  sub: z.ZodString;
2526
+ agent: z.ZodOptional<z.ZodObject<{
2527
+ patId: z.ZodString;
2528
+ label: z.ZodString;
2529
+ }, z.core.$strip>>;
1914
2530
  }, z.core.$strip>, z.ZodObject<{
1915
2531
  type: z.ZodLiteral<"api_key">;
1916
2532
  keyId: z.ZodString;
@@ -1937,6 +2553,13 @@ export declare const fleetPinnedRunSchema: z.ZodObject<{
1937
2553
  createdAt: z.ZodString;
1938
2554
  }, z.core.$strip>;
1939
2555
  export type FleetPinnedRun = z.infer<typeof fleetPinnedRunSchema>;
2556
+ /** How a runsOnAll fan-out would treat one host, given its current reachability. */
2557
+ export declare const FleetHostDisposition: z.ZodEnum<{
2558
+ target: "target";
2559
+ "unreachable-durable": "unreachable-durable";
2560
+ "skipped-ephemeral": "skipped-ephemeral";
2561
+ }>;
2562
+ export type FleetHostDisposition = z.infer<typeof FleetHostDisposition>;
1940
2563
  /** A host matched by a runsOnAll preview, plus how the fan-out would treat it. */
1941
2564
  export declare const fleetPreviewHostSchema: z.ZodObject<{
1942
2565
  entry: z.ZodObject<{
@@ -1970,6 +2593,10 @@ export declare const dashboardFleetHostsRequestSchema: z.ZodObject<{
1970
2593
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1971
2594
  type: z.ZodLiteral<"user">;
1972
2595
  sub: z.ZodString;
2596
+ agent: z.ZodOptional<z.ZodObject<{
2597
+ patId: z.ZodString;
2598
+ label: z.ZodString;
2599
+ }, z.core.$strip>>;
1973
2600
  }, z.core.$strip>, z.ZodObject<{
1974
2601
  type: z.ZodLiteral<"api_key">;
1975
2602
  keyId: z.ZodString;
@@ -1993,6 +2620,10 @@ export declare const dashboardFleetHostRequestSchema: z.ZodObject<{
1993
2620
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1994
2621
  type: z.ZodLiteral<"user">;
1995
2622
  sub: z.ZodString;
2623
+ agent: z.ZodOptional<z.ZodObject<{
2624
+ patId: z.ZodString;
2625
+ label: z.ZodString;
2626
+ }, z.core.$strip>>;
1996
2627
  }, z.core.$strip>, z.ZodObject<{
1997
2628
  type: z.ZodLiteral<"api_key">;
1998
2629
  keyId: z.ZodString;
@@ -2017,6 +2648,10 @@ export declare const dashboardFleetPreviewRequestSchema: z.ZodObject<{
2017
2648
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2018
2649
  type: z.ZodLiteral<"user">;
2019
2650
  sub: z.ZodString;
2651
+ agent: z.ZodOptional<z.ZodObject<{
2652
+ patId: z.ZodString;
2653
+ label: z.ZodString;
2654
+ }, z.core.$strip>>;
2020
2655
  }, z.core.$strip>, z.ZodObject<{
2021
2656
  type: z.ZodLiteral<"api_key">;
2022
2657
  keyId: z.ZodString;
@@ -2114,9 +2749,9 @@ export declare const dashboardFleetPreviewResponseSchema: z.ZodObject<{
2114
2749
  }>;
2115
2750
  }, z.core.$strip>>;
2116
2751
  onUnreachable: z.ZodEnum<{
2752
+ hold: "hold";
2117
2753
  skip: "skip";
2118
2754
  fail: "fail";
2119
- hold: "hold";
2120
2755
  }>;
2121
2756
  estimatedChildCount: z.ZodNumber;
2122
2757
  }, z.core.$strip>;
@@ -2126,6 +2761,73 @@ export type DashboardFleetPreviewRequest = z.infer<typeof dashboardFleetPreviewR
2126
2761
  export type DashboardFleetHostsResponse = z.infer<typeof dashboardFleetHostsResponseSchema>;
2127
2762
  export type DashboardFleetHostResponse = z.infer<typeof dashboardFleetHostResponseSchema>;
2128
2763
  export type DashboardFleetPreviewResponse = z.infer<typeof dashboardFleetPreviewResponseSchema>;
2764
+ /** Request: which registered runsOnAll fan-outs target this host? */
2765
+ export declare const dashboardFleetWorkflowsForHostRequestSchema: z.ZodObject<{
2766
+ type: z.ZodLiteral<"dashboard.fleet.workflows-for-host">;
2767
+ requestId: z.ZodString;
2768
+ actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2769
+ type: z.ZodLiteral<"user">;
2770
+ sub: z.ZodString;
2771
+ agent: z.ZodOptional<z.ZodObject<{
2772
+ patId: z.ZodString;
2773
+ label: z.ZodString;
2774
+ }, z.core.$strip>>;
2775
+ }, z.core.$strip>, z.ZodObject<{
2776
+ type: z.ZodLiteral<"api_key">;
2777
+ keyId: z.ZodString;
2778
+ ownerSub: z.ZodString;
2779
+ }, z.core.$strip>, z.ZodObject<{
2780
+ type: z.ZodLiteral<"service_account">;
2781
+ id: z.ZodString;
2782
+ }, z.core.$strip>, z.ZodObject<{
2783
+ type: z.ZodLiteral<"platform_operator">;
2784
+ sub: z.ZodString;
2785
+ reason: z.ZodString;
2786
+ sessionId: z.ZodOptional<z.ZodString>;
2787
+ }, z.core.$strip>, z.ZodObject<{
2788
+ type: z.ZodLiteral<"system">;
2789
+ component: z.ZodString;
2790
+ }, z.core.$strip>], "type">;
2791
+ agentId: z.ZodString;
2792
+ }, z.core.$strip>;
2793
+ /** One registered runsOnAll workflow whose selector matches the host. */
2794
+ export declare const fleetHostWorkflowSchema: z.ZodObject<{
2795
+ workflowName: z.ZodString;
2796
+ repoIdentifier: z.ZodString;
2797
+ sourceFile: z.ZodNullable<z.ZodString>;
2798
+ onUnreachable: z.ZodEnum<{
2799
+ hold: "hold";
2800
+ skip: "skip";
2801
+ fail: "fail";
2802
+ }>;
2803
+ disposition: z.ZodEnum<{
2804
+ target: "target";
2805
+ "unreachable-durable": "unreachable-durable";
2806
+ "skipped-ephemeral": "skipped-ephemeral";
2807
+ }>;
2808
+ }, z.core.$strip>;
2809
+ export type FleetHostWorkflow = z.infer<typeof fleetHostWorkflowSchema>;
2810
+ export declare const dashboardFleetWorkflowsForHostResponseSchema: z.ZodObject<{
2811
+ type: z.ZodLiteral<"dashboard.fleet.workflows-for-host.response">;
2812
+ requestId: z.ZodString;
2813
+ workflows: z.ZodArray<z.ZodObject<{
2814
+ workflowName: z.ZodString;
2815
+ repoIdentifier: z.ZodString;
2816
+ sourceFile: z.ZodNullable<z.ZodString>;
2817
+ onUnreachable: z.ZodEnum<{
2818
+ hold: "hold";
2819
+ skip: "skip";
2820
+ fail: "fail";
2821
+ }>;
2822
+ disposition: z.ZodEnum<{
2823
+ target: "target";
2824
+ "unreachable-durable": "unreachable-durable";
2825
+ "skipped-ephemeral": "skipped-ephemeral";
2826
+ }>;
2827
+ }, z.core.$strip>>;
2828
+ }, z.core.$strip>;
2829
+ export type DashboardFleetWorkflowsForHostRequest = z.infer<typeof dashboardFleetWorkflowsForHostRequestSchema>;
2830
+ export type DashboardFleetWorkflowsForHostResponse = z.infer<typeof dashboardFleetWorkflowsForHostResponseSchema>;
2129
2831
  /** Declare a static host into the roster (wraps HostRosterStore.declareStatic). */
2130
2832
  export declare const fleetHostDeclareRequestSchema: z.ZodObject<{
2131
2833
  type: z.ZodLiteral<"dashboard.fleet.host.declare">;
@@ -2133,6 +2835,10 @@ export declare const fleetHostDeclareRequestSchema: z.ZodObject<{
2133
2835
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2134
2836
  type: z.ZodLiteral<"user">;
2135
2837
  sub: z.ZodString;
2838
+ agent: z.ZodOptional<z.ZodObject<{
2839
+ patId: z.ZodString;
2840
+ label: z.ZodString;
2841
+ }, z.core.$strip>>;
2136
2842
  }, z.core.$strip>, z.ZodObject<{
2137
2843
  type: z.ZodLiteral<"api_key">;
2138
2844
  keyId: z.ZodString;
@@ -2150,7 +2856,7 @@ export declare const fleetHostDeclareRequestSchema: z.ZodObject<{
2150
2856
  component: z.ZodString;
2151
2857
  }, z.core.$strip>], "type">;
2152
2858
  agentId: z.ZodString;
2153
- labels: z.ZodArray<z.ZodString>;
2859
+ labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
2154
2860
  hostname: z.ZodOptional<z.ZodString>;
2155
2861
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
2156
2862
  }, z.core.$strip>;
@@ -2158,6 +2864,7 @@ export declare const fleetHostDeclareResponseSchema: z.ZodObject<{
2158
2864
  type: z.ZodLiteral<"dashboard.fleet.host.declare.response">;
2159
2865
  requestId: z.ZodString;
2160
2866
  declared: z.ZodOptional<z.ZodBoolean>;
2867
+ created: z.ZodOptional<z.ZodBoolean>;
2161
2868
  error: z.ZodOptional<z.ZodString>;
2162
2869
  }, z.core.$strip>;
2163
2870
  /** Remove a host from the roster by agent id (HostRosterStore.removeStatic). */
@@ -2167,6 +2874,10 @@ export declare const fleetHostRemoveRequestSchema: z.ZodObject<{
2167
2874
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2168
2875
  type: z.ZodLiteral<"user">;
2169
2876
  sub: z.ZodString;
2877
+ agent: z.ZodOptional<z.ZodObject<{
2878
+ patId: z.ZodString;
2879
+ label: z.ZodString;
2880
+ }, z.core.$strip>>;
2170
2881
  }, z.core.$strip>, z.ZodObject<{
2171
2882
  type: z.ZodLiteral<"api_key">;
2172
2883
  keyId: z.ZodString;
@@ -2236,8 +2947,8 @@ declare const diagnosticsPeerSchema: z.ZodObject<{
2236
2947
  dependencyHealth: z.ZodOptional<z.ZodArray<z.ZodObject<{
2237
2948
  name: z.ZodString;
2238
2949
  status: z.ZodEnum<{
2239
- fail: "fail";
2240
2950
  pass: "pass";
2951
+ fail: "fail";
2241
2952
  warn: "warn";
2242
2953
  }>;
2243
2954
  message: z.ZodNullable<z.ZodString>;
@@ -2361,8 +3072,8 @@ export declare const dashboardDiagnosticsResponseSchema: z.ZodObject<{
2361
3072
  dependencyHealth: z.ZodOptional<z.ZodArray<z.ZodObject<{
2362
3073
  name: z.ZodString;
2363
3074
  status: z.ZodEnum<{
2364
- fail: "fail";
2365
3075
  pass: "pass";
3076
+ fail: "fail";
2366
3077
  warn: "warn";
2367
3078
  }>;
2368
3079
  message: z.ZodNullable<z.ZodString>;
@@ -2381,6 +3092,10 @@ export declare const dashboardScalerCapacityRequestSchema: z.ZodObject<{
2381
3092
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2382
3093
  type: z.ZodLiteral<"user">;
2383
3094
  sub: z.ZodString;
3095
+ agent: z.ZodOptional<z.ZodObject<{
3096
+ patId: z.ZodString;
3097
+ label: z.ZodString;
3098
+ }, z.core.$strip>>;
2384
3099
  }, z.core.$strip>, z.ZodObject<{
2385
3100
  type: z.ZodLiteral<"api_key">;
2386
3101
  keyId: z.ZodString;
@@ -2418,6 +3133,10 @@ export declare const dashboardScalerAgentsRequestSchema: z.ZodObject<{
2418
3133
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2419
3134
  type: z.ZodLiteral<"user">;
2420
3135
  sub: z.ZodString;
3136
+ agent: z.ZodOptional<z.ZodObject<{
3137
+ patId: z.ZodString;
3138
+ label: z.ZodString;
3139
+ }, z.core.$strip>>;
2421
3140
  }, z.core.$strip>, z.ZodObject<{
2422
3141
  type: z.ZodLiteral<"api_key">;
2423
3142
  keyId: z.ZodString;
@@ -2473,6 +3192,10 @@ export declare const registrationDisableRequestSchema: z.ZodObject<{
2473
3192
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2474
3193
  type: z.ZodLiteral<"user">;
2475
3194
  sub: z.ZodString;
3195
+ agent: z.ZodOptional<z.ZodObject<{
3196
+ patId: z.ZodString;
3197
+ label: z.ZodString;
3198
+ }, z.core.$strip>>;
2476
3199
  }, z.core.$strip>, z.ZodObject<{
2477
3200
  type: z.ZodLiteral<"api_key">;
2478
3201
  keyId: z.ZodString;
@@ -2499,6 +3222,10 @@ export declare const registrationDeleteRequestSchema: z.ZodObject<{
2499
3222
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2500
3223
  type: z.ZodLiteral<"user">;
2501
3224
  sub: z.ZodString;
3225
+ agent: z.ZodOptional<z.ZodObject<{
3226
+ patId: z.ZodString;
3227
+ label: z.ZodString;
3228
+ }, z.core.$strip>>;
2502
3229
  }, z.core.$strip>, z.ZodObject<{
2503
3230
  type: z.ZodLiteral<"api_key">;
2504
3231
  keyId: z.ZodString;
@@ -2525,6 +3252,10 @@ export declare const registrationsListRequestSchema: z.ZodObject<{
2525
3252
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2526
3253
  type: z.ZodLiteral<"user">;
2527
3254
  sub: z.ZodString;
3255
+ agent: z.ZodOptional<z.ZodObject<{
3256
+ patId: z.ZodString;
3257
+ label: z.ZodString;
3258
+ }, z.core.$strip>>;
2528
3259
  }, z.core.$strip>, z.ZodObject<{
2529
3260
  type: z.ZodLiteral<"api_key">;
2530
3261
  keyId: z.ZodString;
@@ -2612,6 +3343,10 @@ export declare const backendsListRequestSchema: z.ZodObject<{
2612
3343
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2613
3344
  type: z.ZodLiteral<"user">;
2614
3345
  sub: z.ZodString;
3346
+ agent: z.ZodOptional<z.ZodObject<{
3347
+ patId: z.ZodString;
3348
+ label: z.ZodString;
3349
+ }, z.core.$strip>>;
2615
3350
  }, z.core.$strip>, z.ZodObject<{
2616
3351
  type: z.ZodLiteral<"api_key">;
2617
3352
  keyId: z.ZodString;
@@ -2689,6 +3424,10 @@ export declare const backendGetRequestSchema: z.ZodObject<{
2689
3424
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2690
3425
  type: z.ZodLiteral<"user">;
2691
3426
  sub: z.ZodString;
3427
+ agent: z.ZodOptional<z.ZodObject<{
3428
+ patId: z.ZodString;
3429
+ label: z.ZodString;
3430
+ }, z.core.$strip>>;
2692
3431
  }, z.core.$strip>, z.ZodObject<{
2693
3432
  type: z.ZodLiteral<"api_key">;
2694
3433
  keyId: z.ZodString;
@@ -2743,6 +3482,10 @@ export declare const backendsSyncAllRequestSchema: z.ZodObject<{
2743
3482
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2744
3483
  type: z.ZodLiteral<"user">;
2745
3484
  sub: z.ZodString;
3485
+ agent: z.ZodOptional<z.ZodObject<{
3486
+ patId: z.ZodString;
3487
+ label: z.ZodString;
3488
+ }, z.core.$strip>>;
2746
3489
  }, z.core.$strip>, z.ZodObject<{
2747
3490
  type: z.ZodLiteral<"api_key">;
2748
3491
  keyId: z.ZodString;
@@ -2774,6 +3517,10 @@ export declare const backendSyncRequestSchema: z.ZodObject<{
2774
3517
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2775
3518
  type: z.ZodLiteral<"user">;
2776
3519
  sub: z.ZodString;
3520
+ agent: z.ZodOptional<z.ZodObject<{
3521
+ patId: z.ZodString;
3522
+ label: z.ZodString;
3523
+ }, z.core.$strip>>;
2777
3524
  }, z.core.$strip>, z.ZodObject<{
2778
3525
  type: z.ZodLiteral<"api_key">;
2779
3526
  keyId: z.ZodString;
@@ -2807,6 +3554,10 @@ export declare const backendTestRequestSchema: z.ZodObject<{
2807
3554
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2808
3555
  type: z.ZodLiteral<"user">;
2809
3556
  sub: z.ZodString;
3557
+ agent: z.ZodOptional<z.ZodObject<{
3558
+ patId: z.ZodString;
3559
+ label: z.ZodString;
3560
+ }, z.core.$strip>>;
2810
3561
  }, z.core.$strip>, z.ZodObject<{
2811
3562
  type: z.ZodLiteral<"api_key">;
2812
3563
  keyId: z.ZodString;
@@ -2849,6 +3600,10 @@ export declare const testRelayUploadsInitRequestSchema: z.ZodObject<{
2849
3600
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2850
3601
  type: z.ZodLiteral<"user">;
2851
3602
  sub: z.ZodString;
3603
+ agent: z.ZodOptional<z.ZodObject<{
3604
+ patId: z.ZodString;
3605
+ label: z.ZodString;
3606
+ }, z.core.$strip>>;
2852
3607
  }, z.core.$strip>, z.ZodObject<{
2853
3608
  type: z.ZodLiteral<"api_key">;
2854
3609
  keyId: z.ZodString;
@@ -2889,6 +3644,10 @@ export declare const testRelayTriggerRequestSchema: z.ZodObject<{
2889
3644
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2890
3645
  type: z.ZodLiteral<"user">;
2891
3646
  sub: z.ZodString;
3647
+ agent: z.ZodOptional<z.ZodObject<{
3648
+ patId: z.ZodString;
3649
+ label: z.ZodString;
3650
+ }, z.core.$strip>>;
2892
3651
  }, z.core.$strip>, z.ZodObject<{
2893
3652
  type: z.ZodLiteral<"api_key">;
2894
3653
  keyId: z.ZodString;
@@ -2946,6 +3705,7 @@ export declare const testRelayTriggerRequestSchema: z.ZodObject<{
2946
3705
  }, z.core.$strip>>;
2947
3706
  allowEmpty: z.ZodBoolean;
2948
3707
  }, z.core.$strip>>;
3708
+ dispatchInputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2949
3709
  secrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2950
3710
  encryptedSecrets: z.ZodOptional<z.ZodString>;
2951
3711
  encryptedSecretsKey: z.ZodOptional<z.ZodString>;
@@ -2957,8 +3717,8 @@ export declare const testRelayTriggerResponseSchema: z.ZodObject<{
2957
3717
  requestId: z.ZodString;
2958
3718
  runId: z.ZodOptional<z.ZodString>;
2959
3719
  status: z.ZodOptional<z.ZodEnum<{
2960
- accepted: "accepted";
2961
3720
  rejected: "rejected";
3721
+ accepted: "accepted";
2962
3722
  }>>;
2963
3723
  reason: z.ZodOptional<z.ZodString>;
2964
3724
  jobIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -2972,6 +3732,10 @@ export declare const testRelayRunStatusRequestSchema: z.ZodObject<{
2972
3732
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2973
3733
  type: z.ZodLiteral<"user">;
2974
3734
  sub: z.ZodString;
3735
+ agent: z.ZodOptional<z.ZodObject<{
3736
+ patId: z.ZodString;
3737
+ label: z.ZodString;
3738
+ }, z.core.$strip>>;
2975
3739
  }, z.core.$strip>, z.ZodObject<{
2976
3740
  type: z.ZodLiteral<"api_key">;
2977
3741
  keyId: z.ZodString;
@@ -3015,6 +3779,10 @@ export declare const testRelayRunLogsRequestSchema: z.ZodObject<{
3015
3779
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3016
3780
  type: z.ZodLiteral<"user">;
3017
3781
  sub: z.ZodString;
3782
+ agent: z.ZodOptional<z.ZodObject<{
3783
+ patId: z.ZodString;
3784
+ label: z.ZodString;
3785
+ }, z.core.$strip>>;
3018
3786
  }, z.core.$strip>, z.ZodObject<{
3019
3787
  type: z.ZodLiteral<"api_key">;
3020
3788
  keyId: z.ZodString;
@@ -3052,6 +3820,10 @@ export declare const testRelayCancelRequestSchema: z.ZodObject<{
3052
3820
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3053
3821
  type: z.ZodLiteral<"user">;
3054
3822
  sub: z.ZodString;
3823
+ agent: z.ZodOptional<z.ZodObject<{
3824
+ patId: z.ZodString;
3825
+ label: z.ZodString;
3826
+ }, z.core.$strip>>;
3055
3827
  }, z.core.$strip>, z.ZodObject<{
3056
3828
  type: z.ZodLiteral<"api_key">;
3057
3829
  keyId: z.ZodString;
@@ -3089,6 +3861,37 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3089
3861
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3090
3862
  type: z.ZodLiteral<"user">;
3091
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>>;
3092
3895
  }, z.core.$strip>, z.ZodObject<{
3093
3896
  type: z.ZodLiteral<"api_key">;
3094
3897
  keyId: z.ZodString;
@@ -3112,6 +3915,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3112
3915
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3113
3916
  type: z.ZodLiteral<"user">;
3114
3917
  sub: z.ZodString;
3918
+ agent: z.ZodOptional<z.ZodObject<{
3919
+ patId: z.ZodString;
3920
+ label: z.ZodString;
3921
+ }, z.core.$strip>>;
3115
3922
  }, z.core.$strip>, z.ZodObject<{
3116
3923
  type: z.ZodLiteral<"api_key">;
3117
3924
  keyId: z.ZodString;
@@ -3132,11 +3939,85 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3132
3939
  jobId: z.ZodString;
3133
3940
  stepIndex: z.ZodNumber;
3134
3941
  }, z.core.$strip>, z.ZodObject<{
3135
- type: z.ZodLiteral<"dashboard.attestations.list">;
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>>;
3951
+ }, z.core.$strip>, z.ZodObject<{
3952
+ type: z.ZodLiteral<"api_key">;
3953
+ keyId: z.ZodString;
3954
+ ownerSub: z.ZodString;
3955
+ }, z.core.$strip>, z.ZodObject<{
3956
+ type: z.ZodLiteral<"service_account">;
3957
+ id: z.ZodString;
3958
+ }, z.core.$strip>, z.ZodObject<{
3959
+ type: z.ZodLiteral<"platform_operator">;
3960
+ sub: z.ZodString;
3961
+ reason: z.ZodString;
3962
+ sessionId: z.ZodOptional<z.ZodString>;
3963
+ }, z.core.$strip>, z.ZodObject<{
3964
+ type: z.ZodLiteral<"system">;
3965
+ component: z.ZodString;
3966
+ }, z.core.$strip>], "type">;
3967
+ runId: z.ZodString;
3968
+ }, z.core.$strip>, z.ZodObject<{
3969
+ type: z.ZodLiteral<"dashboard.attestations.list.all">;
3970
+ requestId: z.ZodString;
3971
+ actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3972
+ type: z.ZodLiteral<"user">;
3973
+ sub: z.ZodString;
3974
+ agent: z.ZodOptional<z.ZodObject<{
3975
+ patId: z.ZodString;
3976
+ label: z.ZodString;
3977
+ }, z.core.$strip>>;
3978
+ }, z.core.$strip>, z.ZodObject<{
3979
+ type: z.ZodLiteral<"api_key">;
3980
+ keyId: z.ZodString;
3981
+ ownerSub: z.ZodString;
3982
+ }, z.core.$strip>, z.ZodObject<{
3983
+ type: z.ZodLiteral<"service_account">;
3984
+ id: z.ZodString;
3985
+ }, z.core.$strip>, z.ZodObject<{
3986
+ type: z.ZodLiteral<"platform_operator">;
3987
+ sub: z.ZodString;
3988
+ reason: z.ZodString;
3989
+ sessionId: z.ZodOptional<z.ZodString>;
3990
+ }, z.core.$strip>, z.ZodObject<{
3991
+ type: z.ZodLiteral<"system">;
3992
+ component: z.ZodString;
3993
+ }, z.core.$strip>], "type">;
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>>;
4011
+ }, z.core.$strip>, z.ZodObject<{
4012
+ type: z.ZodLiteral<"dashboard.attestation.get">;
3136
4013
  requestId: z.ZodString;
3137
4014
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3138
4015
  type: z.ZodLiteral<"user">;
3139
4016
  sub: z.ZodString;
4017
+ agent: z.ZodOptional<z.ZodObject<{
4018
+ patId: z.ZodString;
4019
+ label: z.ZodString;
4020
+ }, z.core.$strip>>;
3140
4021
  }, z.core.$strip>, z.ZodObject<{
3141
4022
  type: z.ZodLiteral<"api_key">;
3142
4023
  keyId: z.ZodString;
@@ -3153,13 +4034,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3153
4034
  type: z.ZodLiteral<"system">;
3154
4035
  component: z.ZodString;
3155
4036
  }, z.core.$strip>], "type">;
3156
- runId: z.ZodString;
4037
+ attestationId: z.ZodString;
3157
4038
  }, z.core.$strip>, z.ZodObject<{
3158
4039
  type: z.ZodLiteral<"dashboard.runs.list">;
3159
4040
  requestId: z.ZodString;
3160
4041
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3161
4042
  type: z.ZodLiteral<"user">;
3162
4043
  sub: z.ZodString;
4044
+ agent: z.ZodOptional<z.ZodObject<{
4045
+ patId: z.ZodString;
4046
+ label: z.ZodString;
4047
+ }, z.core.$strip>>;
3163
4048
  }, z.core.$strip>, z.ZodObject<{
3164
4049
  type: z.ZodLiteral<"api_key">;
3165
4050
  keyId: z.ZodString;
@@ -3184,6 +4069,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3184
4069
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3185
4070
  type: z.ZodLiteral<"user">;
3186
4071
  sub: z.ZodString;
4072
+ agent: z.ZodOptional<z.ZodObject<{
4073
+ patId: z.ZodString;
4074
+ label: z.ZodString;
4075
+ }, z.core.$strip>>;
3187
4076
  }, z.core.$strip>, z.ZodObject<{
3188
4077
  type: z.ZodLiteral<"api_key">;
3189
4078
  keyId: z.ZodString;
@@ -3206,6 +4095,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3206
4095
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3207
4096
  type: z.ZodLiteral<"user">;
3208
4097
  sub: z.ZodString;
4098
+ agent: z.ZodOptional<z.ZodObject<{
4099
+ patId: z.ZodString;
4100
+ label: z.ZodString;
4101
+ }, z.core.$strip>>;
3209
4102
  }, z.core.$strip>, z.ZodObject<{
3210
4103
  type: z.ZodLiteral<"api_key">;
3211
4104
  keyId: z.ZodString;
@@ -3230,6 +4123,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3230
4123
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3231
4124
  type: z.ZodLiteral<"user">;
3232
4125
  sub: z.ZodString;
4126
+ agent: z.ZodOptional<z.ZodObject<{
4127
+ patId: z.ZodString;
4128
+ label: z.ZodString;
4129
+ }, z.core.$strip>>;
3233
4130
  }, z.core.$strip>, z.ZodObject<{
3234
4131
  type: z.ZodLiteral<"api_key">;
3235
4132
  keyId: z.ZodString;
@@ -3254,6 +4151,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3254
4151
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3255
4152
  type: z.ZodLiteral<"user">;
3256
4153
  sub: z.ZodString;
4154
+ agent: z.ZodOptional<z.ZodObject<{
4155
+ patId: z.ZodString;
4156
+ label: z.ZodString;
4157
+ }, z.core.$strip>>;
3257
4158
  }, z.core.$strip>, z.ZodObject<{
3258
4159
  type: z.ZodLiteral<"api_key">;
3259
4160
  keyId: z.ZodString;
@@ -3277,6 +4178,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3277
4178
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3278
4179
  type: z.ZodLiteral<"user">;
3279
4180
  sub: z.ZodString;
4181
+ agent: z.ZodOptional<z.ZodObject<{
4182
+ patId: z.ZodString;
4183
+ label: z.ZodString;
4184
+ }, z.core.$strip>>;
3280
4185
  }, z.core.$strip>, z.ZodObject<{
3281
4186
  type: z.ZodLiteral<"api_key">;
3282
4187
  keyId: z.ZodString;
@@ -3301,6 +4206,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3301
4206
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3302
4207
  type: z.ZodLiteral<"user">;
3303
4208
  sub: z.ZodString;
4209
+ agent: z.ZodOptional<z.ZodObject<{
4210
+ patId: z.ZodString;
4211
+ label: z.ZodString;
4212
+ }, z.core.$strip>>;
3304
4213
  }, z.core.$strip>, z.ZodObject<{
3305
4214
  type: z.ZodLiteral<"api_key">;
3306
4215
  keyId: z.ZodString;
@@ -3324,6 +4233,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3324
4233
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3325
4234
  type: z.ZodLiteral<"user">;
3326
4235
  sub: z.ZodString;
4236
+ agent: z.ZodOptional<z.ZodObject<{
4237
+ patId: z.ZodString;
4238
+ label: z.ZodString;
4239
+ }, z.core.$strip>>;
3327
4240
  }, z.core.$strip>, z.ZodObject<{
3328
4241
  type: z.ZodLiteral<"api_key">;
3329
4242
  keyId: z.ZodString;
@@ -3348,6 +4261,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3348
4261
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3349
4262
  type: z.ZodLiteral<"user">;
3350
4263
  sub: z.ZodString;
4264
+ agent: z.ZodOptional<z.ZodObject<{
4265
+ patId: z.ZodString;
4266
+ label: z.ZodString;
4267
+ }, z.core.$strip>>;
3351
4268
  }, z.core.$strip>, z.ZodObject<{
3352
4269
  type: z.ZodLiteral<"api_key">;
3353
4270
  keyId: z.ZodString;
@@ -3372,6 +4289,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3372
4289
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3373
4290
  type: z.ZodLiteral<"user">;
3374
4291
  sub: z.ZodString;
4292
+ agent: z.ZodOptional<z.ZodObject<{
4293
+ patId: z.ZodString;
4294
+ label: z.ZodString;
4295
+ }, z.core.$strip>>;
3375
4296
  }, z.core.$strip>, z.ZodObject<{
3376
4297
  type: z.ZodLiteral<"api_key">;
3377
4298
  keyId: z.ZodString;
@@ -3395,6 +4316,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3395
4316
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3396
4317
  type: z.ZodLiteral<"user">;
3397
4318
  sub: z.ZodString;
4319
+ agent: z.ZodOptional<z.ZodObject<{
4320
+ patId: z.ZodString;
4321
+ label: z.ZodString;
4322
+ }, z.core.$strip>>;
3398
4323
  }, z.core.$strip>, z.ZodObject<{
3399
4324
  type: z.ZodLiteral<"api_key">;
3400
4325
  keyId: z.ZodString;
@@ -3413,8 +4338,8 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3413
4338
  }, z.core.$strip>], "type">;
3414
4339
  name: z.ZodString;
3415
4340
  envType: z.ZodEnum<{
3416
- glob: "glob";
3417
4341
  fixed: "fixed";
4342
+ glob: "glob";
3418
4343
  }>;
3419
4344
  globPattern: z.ZodOptional<z.ZodString>;
3420
4345
  branchRestrictions: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -3433,6 +4358,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3433
4358
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3434
4359
  type: z.ZodLiteral<"user">;
3435
4360
  sub: z.ZodString;
4361
+ agent: z.ZodOptional<z.ZodObject<{
4362
+ patId: z.ZodString;
4363
+ label: z.ZodString;
4364
+ }, z.core.$strip>>;
3436
4365
  }, z.core.$strip>, z.ZodObject<{
3437
4366
  type: z.ZodLiteral<"api_key">;
3438
4367
  keyId: z.ZodString;
@@ -3453,8 +4382,8 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3453
4382
  updates: z.ZodObject<{
3454
4383
  name: z.ZodOptional<z.ZodString>;
3455
4384
  envType: z.ZodOptional<z.ZodEnum<{
3456
- glob: "glob";
3457
4385
  fixed: "fixed";
4386
+ glob: "glob";
3458
4387
  }>>;
3459
4388
  globPattern: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3460
4389
  branchRestrictions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
@@ -3474,6 +4403,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3474
4403
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3475
4404
  type: z.ZodLiteral<"user">;
3476
4405
  sub: z.ZodString;
4406
+ agent: z.ZodOptional<z.ZodObject<{
4407
+ patId: z.ZodString;
4408
+ label: z.ZodString;
4409
+ }, z.core.$strip>>;
3477
4410
  }, z.core.$strip>, z.ZodObject<{
3478
4411
  type: z.ZodLiteral<"api_key">;
3479
4412
  keyId: z.ZodString;
@@ -3498,6 +4431,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3498
4431
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3499
4432
  type: z.ZodLiteral<"user">;
3500
4433
  sub: z.ZodString;
4434
+ agent: z.ZodOptional<z.ZodObject<{
4435
+ patId: z.ZodString;
4436
+ label: z.ZodString;
4437
+ }, z.core.$strip>>;
3501
4438
  }, z.core.$strip>, z.ZodObject<{
3502
4439
  type: z.ZodLiteral<"api_key">;
3503
4440
  keyId: z.ZodString;
@@ -3521,6 +4458,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3521
4458
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3522
4459
  type: z.ZodLiteral<"user">;
3523
4460
  sub: z.ZodString;
4461
+ agent: z.ZodOptional<z.ZodObject<{
4462
+ patId: z.ZodString;
4463
+ label: z.ZodString;
4464
+ }, z.core.$strip>>;
3524
4465
  }, z.core.$strip>, z.ZodObject<{
3525
4466
  type: z.ZodLiteral<"api_key">;
3526
4467
  keyId: z.ZodString;
@@ -3544,6 +4485,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3544
4485
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3545
4486
  type: z.ZodLiteral<"user">;
3546
4487
  sub: z.ZodString;
4488
+ agent: z.ZodOptional<z.ZodObject<{
4489
+ patId: z.ZodString;
4490
+ label: z.ZodString;
4491
+ }, z.core.$strip>>;
3547
4492
  }, z.core.$strip>, z.ZodObject<{
3548
4493
  type: z.ZodLiteral<"api_key">;
3549
4494
  keyId: z.ZodString;
@@ -3570,6 +4515,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3570
4515
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3571
4516
  type: z.ZodLiteral<"user">;
3572
4517
  sub: z.ZodString;
4518
+ agent: z.ZodOptional<z.ZodObject<{
4519
+ patId: z.ZodString;
4520
+ label: z.ZodString;
4521
+ }, z.core.$strip>>;
3573
4522
  }, z.core.$strip>, z.ZodObject<{
3574
4523
  type: z.ZodLiteral<"api_key">;
3575
4524
  keyId: z.ZodString;
@@ -3594,6 +4543,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3594
4543
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3595
4544
  type: z.ZodLiteral<"user">;
3596
4545
  sub: z.ZodString;
4546
+ agent: z.ZodOptional<z.ZodObject<{
4547
+ patId: z.ZodString;
4548
+ label: z.ZodString;
4549
+ }, z.core.$strip>>;
3597
4550
  }, z.core.$strip>, z.ZodObject<{
3598
4551
  type: z.ZodLiteral<"api_key">;
3599
4552
  keyId: z.ZodString;
@@ -3618,6 +4571,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3618
4571
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3619
4572
  type: z.ZodLiteral<"user">;
3620
4573
  sub: z.ZodString;
4574
+ agent: z.ZodOptional<z.ZodObject<{
4575
+ patId: z.ZodString;
4576
+ label: z.ZodString;
4577
+ }, z.core.$strip>>;
3621
4578
  }, z.core.$strip>, z.ZodObject<{
3622
4579
  type: z.ZodLiteral<"api_key">;
3623
4580
  keyId: z.ZodString;
@@ -3644,6 +4601,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3644
4601
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3645
4602
  type: z.ZodLiteral<"user">;
3646
4603
  sub: z.ZodString;
4604
+ agent: z.ZodOptional<z.ZodObject<{
4605
+ patId: z.ZodString;
4606
+ label: z.ZodString;
4607
+ }, z.core.$strip>>;
3647
4608
  }, z.core.$strip>, z.ZodObject<{
3648
4609
  type: z.ZodLiteral<"api_key">;
3649
4610
  keyId: z.ZodString;
@@ -3669,6 +4630,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3669
4630
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3670
4631
  type: z.ZodLiteral<"user">;
3671
4632
  sub: z.ZodString;
4633
+ agent: z.ZodOptional<z.ZodObject<{
4634
+ patId: z.ZodString;
4635
+ label: z.ZodString;
4636
+ }, z.core.$strip>>;
3672
4637
  }, z.core.$strip>, z.ZodObject<{
3673
4638
  type: z.ZodLiteral<"api_key">;
3674
4639
  keyId: z.ZodString;
@@ -3692,6 +4657,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3692
4657
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3693
4658
  type: z.ZodLiteral<"user">;
3694
4659
  sub: z.ZodString;
4660
+ agent: z.ZodOptional<z.ZodObject<{
4661
+ patId: z.ZodString;
4662
+ label: z.ZodString;
4663
+ }, z.core.$strip>>;
3695
4664
  }, z.core.$strip>, z.ZodObject<{
3696
4665
  type: z.ZodLiteral<"api_key">;
3697
4666
  keyId: z.ZodString;
@@ -3709,13 +4678,20 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3709
4678
  component: z.ZodString;
3710
4679
  }, z.core.$strip>], "type">;
3711
4680
  environmentId: z.ZodString;
3712
- scopePatterns: z.ZodArray<z.ZodString>;
4681
+ bindings: z.ZodArray<z.ZodObject<{
4682
+ scopePattern: z.ZodString;
4683
+ hostPattern: z.ZodString;
4684
+ }, z.core.$strip>>;
3713
4685
  }, z.core.$strip>, z.ZodObject<{
3714
4686
  type: z.ZodLiteral<"dashboard.environments.secrets.list">;
3715
4687
  requestId: z.ZodString;
3716
4688
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3717
4689
  type: z.ZodLiteral<"user">;
3718
4690
  sub: z.ZodString;
4691
+ agent: z.ZodOptional<z.ZodObject<{
4692
+ patId: z.ZodString;
4693
+ label: z.ZodString;
4694
+ }, z.core.$strip>>;
3719
4695
  }, z.core.$strip>, z.ZodObject<{
3720
4696
  type: z.ZodLiteral<"api_key">;
3721
4697
  keyId: z.ZodString;
@@ -3738,6 +4714,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3738
4714
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3739
4715
  type: z.ZodLiteral<"user">;
3740
4716
  sub: z.ZodString;
4717
+ agent: z.ZodOptional<z.ZodObject<{
4718
+ patId: z.ZodString;
4719
+ label: z.ZodString;
4720
+ }, z.core.$strip>>;
3741
4721
  }, z.core.$strip>, z.ZodObject<{
3742
4722
  type: z.ZodLiteral<"api_key">;
3743
4723
  keyId: z.ZodString;
@@ -3763,6 +4743,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3763
4743
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3764
4744
  type: z.ZodLiteral<"user">;
3765
4745
  sub: z.ZodString;
4746
+ agent: z.ZodOptional<z.ZodObject<{
4747
+ patId: z.ZodString;
4748
+ label: z.ZodString;
4749
+ }, z.core.$strip>>;
3766
4750
  }, z.core.$strip>, z.ZodObject<{
3767
4751
  type: z.ZodLiteral<"api_key">;
3768
4752
  keyId: z.ZodString;
@@ -3787,6 +4771,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3787
4771
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3788
4772
  type: z.ZodLiteral<"user">;
3789
4773
  sub: z.ZodString;
4774
+ agent: z.ZodOptional<z.ZodObject<{
4775
+ patId: z.ZodString;
4776
+ label: z.ZodString;
4777
+ }, z.core.$strip>>;
3790
4778
  }, z.core.$strip>, z.ZodObject<{
3791
4779
  type: z.ZodLiteral<"api_key">;
3792
4780
  keyId: z.ZodString;
@@ -3810,6 +4798,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3810
4798
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3811
4799
  type: z.ZodLiteral<"user">;
3812
4800
  sub: z.ZodString;
4801
+ agent: z.ZodOptional<z.ZodObject<{
4802
+ patId: z.ZodString;
4803
+ label: z.ZodString;
4804
+ }, z.core.$strip>>;
3813
4805
  }, z.core.$strip>, z.ZodObject<{
3814
4806
  type: z.ZodLiteral<"api_key">;
3815
4807
  keyId: z.ZodString;
@@ -3834,6 +4826,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3834
4826
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3835
4827
  type: z.ZodLiteral<"user">;
3836
4828
  sub: z.ZodString;
4829
+ agent: z.ZodOptional<z.ZodObject<{
4830
+ patId: z.ZodString;
4831
+ label: z.ZodString;
4832
+ }, z.core.$strip>>;
3837
4833
  }, z.core.$strip>, z.ZodObject<{
3838
4834
  type: z.ZodLiteral<"api_key">;
3839
4835
  keyId: z.ZodString;
@@ -3857,6 +4853,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3857
4853
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3858
4854
  type: z.ZodLiteral<"user">;
3859
4855
  sub: z.ZodString;
4856
+ agent: z.ZodOptional<z.ZodObject<{
4857
+ patId: z.ZodString;
4858
+ label: z.ZodString;
4859
+ }, z.core.$strip>>;
3860
4860
  }, z.core.$strip>, z.ZodObject<{
3861
4861
  type: z.ZodLiteral<"api_key">;
3862
4862
  keyId: z.ZodString;
@@ -3882,6 +4882,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3882
4882
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3883
4883
  type: z.ZodLiteral<"user">;
3884
4884
  sub: z.ZodString;
4885
+ agent: z.ZodOptional<z.ZodObject<{
4886
+ patId: z.ZodString;
4887
+ label: z.ZodString;
4888
+ }, z.core.$strip>>;
3885
4889
  }, z.core.$strip>, z.ZodObject<{
3886
4890
  type: z.ZodLiteral<"api_key">;
3887
4891
  keyId: z.ZodString;
@@ -3900,8 +4904,8 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3900
4904
  }, z.core.$strip>], "type">;
3901
4905
  status: z.ZodOptional<z.ZodEnum<{
3902
4906
  pending: "pending";
3903
- rejected: "rejected";
3904
4907
  approved: "approved";
4908
+ rejected: "rejected";
3905
4909
  expired: "expired";
3906
4910
  }>>;
3907
4911
  queueType: z.ZodOptional<z.ZodEnum<{
@@ -3915,6 +4919,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3915
4919
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3916
4920
  type: z.ZodLiteral<"user">;
3917
4921
  sub: z.ZodString;
4922
+ agent: z.ZodOptional<z.ZodObject<{
4923
+ patId: z.ZodString;
4924
+ label: z.ZodString;
4925
+ }, z.core.$strip>>;
3918
4926
  }, z.core.$strip>, z.ZodObject<{
3919
4927
  type: z.ZodLiteral<"api_key">;
3920
4928
  keyId: z.ZodString;
@@ -3939,6 +4947,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3939
4947
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3940
4948
  type: z.ZodLiteral<"user">;
3941
4949
  sub: z.ZodString;
4950
+ agent: z.ZodOptional<z.ZodObject<{
4951
+ patId: z.ZodString;
4952
+ label: z.ZodString;
4953
+ }, z.core.$strip>>;
3942
4954
  }, z.core.$strip>, z.ZodObject<{
3943
4955
  type: z.ZodLiteral<"api_key">;
3944
4956
  keyId: z.ZodString;
@@ -3963,6 +4975,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3963
4975
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3964
4976
  type: z.ZodLiteral<"user">;
3965
4977
  sub: z.ZodString;
4978
+ agent: z.ZodOptional<z.ZodObject<{
4979
+ patId: z.ZodString;
4980
+ label: z.ZodString;
4981
+ }, z.core.$strip>>;
3966
4982
  }, z.core.$strip>, z.ZodObject<{
3967
4983
  type: z.ZodLiteral<"api_key">;
3968
4984
  keyId: z.ZodString;
@@ -3987,6 +5003,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3987
5003
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3988
5004
  type: z.ZodLiteral<"user">;
3989
5005
  sub: z.ZodString;
5006
+ agent: z.ZodOptional<z.ZodObject<{
5007
+ patId: z.ZodString;
5008
+ label: z.ZodString;
5009
+ }, z.core.$strip>>;
3990
5010
  }, z.core.$strip>, z.ZodObject<{
3991
5011
  type: z.ZodLiteral<"api_key">;
3992
5012
  keyId: z.ZodString;
@@ -4011,6 +5031,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4011
5031
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4012
5032
  type: z.ZodLiteral<"user">;
4013
5033
  sub: z.ZodString;
5034
+ agent: z.ZodOptional<z.ZodObject<{
5035
+ patId: z.ZodString;
5036
+ label: z.ZodString;
5037
+ }, z.core.$strip>>;
4014
5038
  }, z.core.$strip>, z.ZodObject<{
4015
5039
  type: z.ZodLiteral<"api_key">;
4016
5040
  keyId: z.ZodString;
@@ -4035,6 +5059,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4035
5059
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4036
5060
  type: z.ZodLiteral<"user">;
4037
5061
  sub: z.ZodString;
5062
+ agent: z.ZodOptional<z.ZodObject<{
5063
+ patId: z.ZodString;
5064
+ label: z.ZodString;
5065
+ }, z.core.$strip>>;
4038
5066
  }, z.core.$strip>, z.ZodObject<{
4039
5067
  type: z.ZodLiteral<"api_key">;
4040
5068
  keyId: z.ZodString;
@@ -4058,6 +5086,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4058
5086
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4059
5087
  type: z.ZodLiteral<"user">;
4060
5088
  sub: z.ZodString;
5089
+ agent: z.ZodOptional<z.ZodObject<{
5090
+ patId: z.ZodString;
5091
+ label: z.ZodString;
5092
+ }, z.core.$strip>>;
4061
5093
  }, z.core.$strip>, z.ZodObject<{
4062
5094
  type: z.ZodLiteral<"api_key">;
4063
5095
  keyId: z.ZodString;
@@ -4080,6 +5112,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4080
5112
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4081
5113
  type: z.ZodLiteral<"user">;
4082
5114
  sub: z.ZodString;
5115
+ agent: z.ZodOptional<z.ZodObject<{
5116
+ patId: z.ZodString;
5117
+ label: z.ZodString;
5118
+ }, z.core.$strip>>;
4083
5119
  }, z.core.$strip>, z.ZodObject<{
4084
5120
  type: z.ZodLiteral<"api_key">;
4085
5121
  keyId: z.ZodString;
@@ -4103,6 +5139,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4103
5139
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4104
5140
  type: z.ZodLiteral<"user">;
4105
5141
  sub: z.ZodString;
5142
+ agent: z.ZodOptional<z.ZodObject<{
5143
+ patId: z.ZodString;
5144
+ label: z.ZodString;
5145
+ }, z.core.$strip>>;
4106
5146
  }, z.core.$strip>, z.ZodObject<{
4107
5147
  type: z.ZodLiteral<"api_key">;
4108
5148
  keyId: z.ZodString;
@@ -4120,12 +5160,43 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4120
5160
  component: z.ZodString;
4121
5161
  }, z.core.$strip>], "type">;
4122
5162
  workflowName: z.ZodString;
5163
+ }, z.core.$strip>, z.ZodObject<{
5164
+ type: z.ZodLiteral<"dashboard.fleet.workflows-for-host">;
5165
+ requestId: z.ZodString;
5166
+ actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
5167
+ type: z.ZodLiteral<"user">;
5168
+ sub: z.ZodString;
5169
+ agent: z.ZodOptional<z.ZodObject<{
5170
+ patId: z.ZodString;
5171
+ label: z.ZodString;
5172
+ }, z.core.$strip>>;
5173
+ }, z.core.$strip>, z.ZodObject<{
5174
+ type: z.ZodLiteral<"api_key">;
5175
+ keyId: z.ZodString;
5176
+ ownerSub: z.ZodString;
5177
+ }, z.core.$strip>, z.ZodObject<{
5178
+ type: z.ZodLiteral<"service_account">;
5179
+ id: z.ZodString;
5180
+ }, z.core.$strip>, z.ZodObject<{
5181
+ type: z.ZodLiteral<"platform_operator">;
5182
+ sub: z.ZodString;
5183
+ reason: z.ZodString;
5184
+ sessionId: z.ZodOptional<z.ZodString>;
5185
+ }, z.core.$strip>, z.ZodObject<{
5186
+ type: z.ZodLiteral<"system">;
5187
+ component: z.ZodString;
5188
+ }, z.core.$strip>], "type">;
5189
+ agentId: z.ZodString;
4123
5190
  }, z.core.$strip>, z.ZodObject<{
4124
5191
  type: z.ZodLiteral<"dashboard.fleet.host.declare">;
4125
5192
  requestId: z.ZodString;
4126
5193
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4127
5194
  type: z.ZodLiteral<"user">;
4128
5195
  sub: z.ZodString;
5196
+ agent: z.ZodOptional<z.ZodObject<{
5197
+ patId: z.ZodString;
5198
+ label: z.ZodString;
5199
+ }, z.core.$strip>>;
4129
5200
  }, z.core.$strip>, z.ZodObject<{
4130
5201
  type: z.ZodLiteral<"api_key">;
4131
5202
  keyId: z.ZodString;
@@ -4143,7 +5214,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4143
5214
  component: z.ZodString;
4144
5215
  }, z.core.$strip>], "type">;
4145
5216
  agentId: z.ZodString;
4146
- labels: z.ZodArray<z.ZodString>;
5217
+ labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
4147
5218
  hostname: z.ZodOptional<z.ZodString>;
4148
5219
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
4149
5220
  }, z.core.$strip>, z.ZodObject<{
@@ -4152,6 +5223,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4152
5223
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4153
5224
  type: z.ZodLiteral<"user">;
4154
5225
  sub: z.ZodString;
5226
+ agent: z.ZodOptional<z.ZodObject<{
5227
+ patId: z.ZodString;
5228
+ label: z.ZodString;
5229
+ }, z.core.$strip>>;
4155
5230
  }, z.core.$strip>, z.ZodObject<{
4156
5231
  type: z.ZodLiteral<"api_key">;
4157
5232
  keyId: z.ZodString;
@@ -4175,6 +5250,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4175
5250
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4176
5251
  type: z.ZodLiteral<"user">;
4177
5252
  sub: z.ZodString;
5253
+ agent: z.ZodOptional<z.ZodObject<{
5254
+ patId: z.ZodString;
5255
+ label: z.ZodString;
5256
+ }, z.core.$strip>>;
4178
5257
  }, z.core.$strip>, z.ZodObject<{
4179
5258
  type: z.ZodLiteral<"api_key">;
4180
5259
  keyId: z.ZodString;
@@ -4197,6 +5276,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4197
5276
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4198
5277
  type: z.ZodLiteral<"user">;
4199
5278
  sub: z.ZodString;
5279
+ agent: z.ZodOptional<z.ZodObject<{
5280
+ patId: z.ZodString;
5281
+ label: z.ZodString;
5282
+ }, z.core.$strip>>;
4200
5283
  }, z.core.$strip>, z.ZodObject<{
4201
5284
  type: z.ZodLiteral<"api_key">;
4202
5285
  keyId: z.ZodString;
@@ -4220,6 +5303,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4220
5303
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4221
5304
  type: z.ZodLiteral<"user">;
4222
5305
  sub: z.ZodString;
5306
+ agent: z.ZodOptional<z.ZodObject<{
5307
+ patId: z.ZodString;
5308
+ label: z.ZodString;
5309
+ }, z.core.$strip>>;
4223
5310
  }, z.core.$strip>, z.ZodObject<{
4224
5311
  type: z.ZodLiteral<"api_key">;
4225
5312
  keyId: z.ZodString;
@@ -4242,6 +5329,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4242
5329
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4243
5330
  type: z.ZodLiteral<"user">;
4244
5331
  sub: z.ZodString;
5332
+ agent: z.ZodOptional<z.ZodObject<{
5333
+ patId: z.ZodString;
5334
+ label: z.ZodString;
5335
+ }, z.core.$strip>>;
4245
5336
  }, z.core.$strip>, z.ZodObject<{
4246
5337
  type: z.ZodLiteral<"api_key">;
4247
5338
  keyId: z.ZodString;
@@ -4265,6 +5356,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4265
5356
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4266
5357
  type: z.ZodLiteral<"user">;
4267
5358
  sub: z.ZodString;
5359
+ agent: z.ZodOptional<z.ZodObject<{
5360
+ patId: z.ZodString;
5361
+ label: z.ZodString;
5362
+ }, z.core.$strip>>;
4268
5363
  }, z.core.$strip>, z.ZodObject<{
4269
5364
  type: z.ZodLiteral<"api_key">;
4270
5365
  keyId: z.ZodString;
@@ -4287,6 +5382,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4287
5382
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4288
5383
  type: z.ZodLiteral<"user">;
4289
5384
  sub: z.ZodString;
5385
+ agent: z.ZodOptional<z.ZodObject<{
5386
+ patId: z.ZodString;
5387
+ label: z.ZodString;
5388
+ }, z.core.$strip>>;
4290
5389
  }, z.core.$strip>, z.ZodObject<{
4291
5390
  type: z.ZodLiteral<"api_key">;
4292
5391
  keyId: z.ZodString;
@@ -4310,6 +5409,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4310
5409
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4311
5410
  type: z.ZodLiteral<"user">;
4312
5411
  sub: z.ZodString;
5412
+ agent: z.ZodOptional<z.ZodObject<{
5413
+ patId: z.ZodString;
5414
+ label: z.ZodString;
5415
+ }, z.core.$strip>>;
4313
5416
  }, z.core.$strip>, z.ZodObject<{
4314
5417
  type: z.ZodLiteral<"api_key">;
4315
5418
  keyId: z.ZodString;
@@ -4333,6 +5436,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4333
5436
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4334
5437
  type: z.ZodLiteral<"user">;
4335
5438
  sub: z.ZodString;
5439
+ agent: z.ZodOptional<z.ZodObject<{
5440
+ patId: z.ZodString;
5441
+ label: z.ZodString;
5442
+ }, z.core.$strip>>;
4336
5443
  }, z.core.$strip>, z.ZodObject<{
4337
5444
  type: z.ZodLiteral<"api_key">;
4338
5445
  keyId: z.ZodString;
@@ -4371,6 +5478,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4371
5478
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4372
5479
  type: z.ZodLiteral<"user">;
4373
5480
  sub: z.ZodString;
5481
+ agent: z.ZodOptional<z.ZodObject<{
5482
+ patId: z.ZodString;
5483
+ label: z.ZodString;
5484
+ }, z.core.$strip>>;
4374
5485
  }, z.core.$strip>, z.ZodObject<{
4375
5486
  type: z.ZodLiteral<"api_key">;
4376
5487
  keyId: z.ZodString;
@@ -4396,6 +5507,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4396
5507
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4397
5508
  type: z.ZodLiteral<"user">;
4398
5509
  sub: z.ZodString;
5510
+ agent: z.ZodOptional<z.ZodObject<{
5511
+ patId: z.ZodString;
5512
+ label: z.ZodString;
5513
+ }, z.core.$strip>>;
4399
5514
  }, z.core.$strip>, z.ZodObject<{
4400
5515
  type: z.ZodLiteral<"api_key">;
4401
5516
  keyId: z.ZodString;
@@ -4421,6 +5536,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4421
5536
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4422
5537
  type: z.ZodLiteral<"user">;
4423
5538
  sub: z.ZodString;
5539
+ agent: z.ZodOptional<z.ZodObject<{
5540
+ patId: z.ZodString;
5541
+ label: z.ZodString;
5542
+ }, z.core.$strip>>;
4424
5543
  }, z.core.$strip>, z.ZodObject<{
4425
5544
  type: z.ZodLiteral<"api_key">;
4426
5545
  keyId: z.ZodString;
@@ -4446,6 +5565,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4446
5565
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4447
5566
  type: z.ZodLiteral<"user">;
4448
5567
  sub: z.ZodString;
5568
+ agent: z.ZodOptional<z.ZodObject<{
5569
+ patId: z.ZodString;
5570
+ label: z.ZodString;
5571
+ }, z.core.$strip>>;
4449
5572
  }, z.core.$strip>, z.ZodObject<{
4450
5573
  type: z.ZodLiteral<"api_key">;
4451
5574
  keyId: z.ZodString;
@@ -4469,6 +5592,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4469
5592
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4470
5593
  type: z.ZodLiteral<"user">;
4471
5594
  sub: z.ZodString;
5595
+ agent: z.ZodOptional<z.ZodObject<{
5596
+ patId: z.ZodString;
5597
+ label: z.ZodString;
5598
+ }, z.core.$strip>>;
4472
5599
  }, z.core.$strip>, z.ZodObject<{
4473
5600
  type: z.ZodLiteral<"api_key">;
4474
5601
  keyId: z.ZodString;
@@ -4493,6 +5620,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4493
5620
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4494
5621
  type: z.ZodLiteral<"user">;
4495
5622
  sub: z.ZodString;
5623
+ agent: z.ZodOptional<z.ZodObject<{
5624
+ patId: z.ZodString;
5625
+ label: z.ZodString;
5626
+ }, z.core.$strip>>;
4496
5627
  }, z.core.$strip>, z.ZodObject<{
4497
5628
  type: z.ZodLiteral<"api_key">;
4498
5629
  keyId: z.ZodString;
@@ -4517,6 +5648,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4517
5648
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4518
5649
  type: z.ZodLiteral<"user">;
4519
5650
  sub: z.ZodString;
5651
+ agent: z.ZodOptional<z.ZodObject<{
5652
+ patId: z.ZodString;
5653
+ label: z.ZodString;
5654
+ }, z.core.$strip>>;
4520
5655
  }, z.core.$strip>, z.ZodObject<{
4521
5656
  type: z.ZodLiteral<"api_key">;
4522
5657
  keyId: z.ZodString;
@@ -4539,6 +5674,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4539
5674
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4540
5675
  type: z.ZodLiteral<"user">;
4541
5676
  sub: z.ZodString;
5677
+ agent: z.ZodOptional<z.ZodObject<{
5678
+ patId: z.ZodString;
5679
+ label: z.ZodString;
5680
+ }, z.core.$strip>>;
4542
5681
  }, z.core.$strip>, z.ZodObject<{
4543
5682
  type: z.ZodLiteral<"api_key">;
4544
5683
  keyId: z.ZodString;
@@ -4574,6 +5713,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4574
5713
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4575
5714
  type: z.ZodLiteral<"user">;
4576
5715
  sub: z.ZodString;
5716
+ agent: z.ZodOptional<z.ZodObject<{
5717
+ patId: z.ZodString;
5718
+ label: z.ZodString;
5719
+ }, z.core.$strip>>;
4577
5720
  }, z.core.$strip>, z.ZodObject<{
4578
5721
  type: z.ZodLiteral<"api_key">;
4579
5722
  keyId: z.ZodString;
@@ -4608,6 +5751,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4608
5751
  "fleet.host.declare": "fleet.host.declare";
4609
5752
  "fleet.host.remove": "fleet.host.remove";
4610
5753
  "run.detail.read": "run.detail.read";
5754
+ "run.structured.read": "run.structured.read";
4611
5755
  "runs.list.read": "runs.list.read";
4612
5756
  "runs.filters.read": "runs.filters.read";
4613
5757
  "sources.list.read": "sources.list.read";
@@ -4655,6 +5799,8 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4655
5799
  "scaler.capacity.read": "scaler.capacity.read";
4656
5800
  "scaler.agents.read": "scaler.agents.read";
4657
5801
  "fleet.read": "fleet.read";
5802
+ "fleet.init_runner.bringup": "fleet.init_runner.bringup";
5803
+ "fleet.pre_boot.send": "fleet.pre_boot.send";
4658
5804
  "backend.list.read": "backend.list.read";
4659
5805
  "backend.get.read": "backend.get.read";
4660
5806
  "backend.sync": "backend.sync";
@@ -4669,6 +5815,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4669
5815
  purge_chunk: "purge_chunk";
4670
5816
  }>>;
4671
5817
  source: z.ZodOptional<z.ZodEnum<{
5818
+ agent: "agent";
4672
5819
  platform_proxy: "platform_proxy";
4673
5820
  admin_http: "admin_http";
4674
5821
  admin_cli: "admin_cli";
@@ -4681,12 +5828,12 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4681
5828
  targetType: z.ZodOptional<z.ZodEnum<{
4682
5829
  run: "run";
4683
5830
  job: "job";
4684
- payload: "payload";
4685
5831
  step: "step";
5832
+ environment: "environment";
5833
+ payload: "payload";
4686
5834
  event_log: "event_log";
4687
5835
  event_log_payload: "event_log_payload";
4688
5836
  secret_scope: "secret_scope";
4689
- environment: "environment";
4690
5837
  registration: "registration";
4691
5838
  backend: "backend";
4692
5839
  diagnostics: "diagnostics";
@@ -4697,6 +5844,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4697
5844
  event_dlq: "event_dlq";
4698
5845
  org_settings: "org_settings";
4699
5846
  cluster_meta: "cluster_meta";
5847
+ attestation: "attestation";
4700
5848
  }>>;
4701
5849
  targetId: z.ZodOptional<z.ZodString>;
4702
5850
  fromTimestamp: z.ZodOptional<z.ZodString>;
@@ -4710,6 +5858,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4710
5858
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4711
5859
  type: z.ZodLiteral<"user">;
4712
5860
  sub: z.ZodString;
5861
+ agent: z.ZodOptional<z.ZodObject<{
5862
+ patId: z.ZodString;
5863
+ label: z.ZodString;
5864
+ }, z.core.$strip>>;
4713
5865
  }, z.core.$strip>, z.ZodObject<{
4714
5866
  type: z.ZodLiteral<"api_key">;
4715
5867
  keyId: z.ZodString;
@@ -4736,6 +5888,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4736
5888
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4737
5889
  type: z.ZodLiteral<"user">;
4738
5890
  sub: z.ZodString;
5891
+ agent: z.ZodOptional<z.ZodObject<{
5892
+ patId: z.ZodString;
5893
+ label: z.ZodString;
5894
+ }, z.core.$strip>>;
4739
5895
  }, z.core.$strip>, z.ZodObject<{
4740
5896
  type: z.ZodLiteral<"api_key">;
4741
5897
  keyId: z.ZodString;
@@ -4793,6 +5949,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4793
5949
  }, z.core.$strip>>;
4794
5950
  allowEmpty: z.ZodBoolean;
4795
5951
  }, z.core.$strip>>;
5952
+ dispatchInputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4796
5953
  secrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4797
5954
  encryptedSecrets: z.ZodOptional<z.ZodString>;
4798
5955
  encryptedSecretsKey: z.ZodOptional<z.ZodString>;
@@ -4802,6 +5959,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4802
5959
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4803
5960
  type: z.ZodLiteral<"user">;
4804
5961
  sub: z.ZodString;
5962
+ agent: z.ZodOptional<z.ZodObject<{
5963
+ patId: z.ZodString;
5964
+ label: z.ZodString;
5965
+ }, z.core.$strip>>;
4805
5966
  }, z.core.$strip>, z.ZodObject<{
4806
5967
  type: z.ZodLiteral<"api_key">;
4807
5968
  keyId: z.ZodString;
@@ -4825,6 +5986,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4825
5986
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4826
5987
  type: z.ZodLiteral<"user">;
4827
5988
  sub: z.ZodString;
5989
+ agent: z.ZodOptional<z.ZodObject<{
5990
+ patId: z.ZodString;
5991
+ label: z.ZodString;
5992
+ }, z.core.$strip>>;
4828
5993
  }, z.core.$strip>, z.ZodObject<{
4829
5994
  type: z.ZodLiteral<"api_key">;
4830
5995
  keyId: z.ZodString;
@@ -4849,6 +6014,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4849
6014
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4850
6015
  type: z.ZodLiteral<"user">;
4851
6016
  sub: z.ZodString;
6017
+ agent: z.ZodOptional<z.ZodObject<{
6018
+ patId: z.ZodString;
6019
+ label: z.ZodString;
6020
+ }, z.core.$strip>>;
4852
6021
  }, z.core.$strip>, z.ZodObject<{
4853
6022
  type: z.ZodLiteral<"api_key">;
4854
6023
  keyId: z.ZodString;
@@ -4887,6 +6056,7 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
4887
6056
  orchestratorId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4888
6057
  errorMessage: z.ZodNullable<z.ZodString>;
4889
6058
  runsOnLabels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
6059
+ environments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
4890
6060
  outputs: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
4891
6061
  secretOutputKeys: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
4892
6062
  initFailure: z.ZodOptional<z.ZodObject<{
@@ -4942,13 +6112,19 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
4942
6112
  no_check: "no_check";
4943
6113
  }>>>;
4944
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>>;
4945
6121
  }, z.core.$strip>>;
4946
6122
  }, z.core.$strip>>;
4947
6123
  trustContext: z.ZodOptional<z.ZodObject<{
4948
6124
  trustTier: z.ZodNullable<z.ZodEnum<{
4949
6125
  unknown: "unknown";
4950
- trusted: "trusted";
4951
6126
  known: "known";
6127
+ trusted: "trusted";
4952
6128
  }>>;
4953
6129
  lockFileSource: z.ZodNullable<z.ZodEnum<{
4954
6130
  head: "head";
@@ -4975,6 +6151,166 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
4975
6151
  jobName: z.ZodOptional<z.ZodString>;
4976
6152
  }, z.core.$strip>>;
4977
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>;
4978
6314
  }, z.core.$strip>, z.ZodObject<{
4979
6315
  type: z.ZodLiteral<"dashboard.step.logs.response">;
4980
6316
  requestId: z.ZodString;
@@ -5008,6 +6344,78 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
5008
6344
  identityToken: z.ZodString;
5009
6345
  }, z.core.$strip>;
5010
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>>;
5011
6419
  }, z.core.$strip>>;
5012
6420
  error: z.ZodOptional<z.ZodString>;
5013
6421
  }, z.core.$strip>, z.ZodObject<{
@@ -5027,6 +6435,7 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
5027
6435
  triggerEvent: z.ZodOptional<z.ZodString>;
5028
6436
  commitMessage: z.ZodOptional<z.ZodString>;
5029
6437
  jobCount: z.ZodOptional<z.ZodNumber>;
6438
+ environments: z.ZodOptional<z.ZodArray<z.ZodString>>;
5030
6439
  startedAt: z.ZodOptional<z.ZodString>;
5031
6440
  completedAt: z.ZodOptional<z.ZodString>;
5032
6441
  durationMs: z.ZodOptional<z.ZodNumber>;
@@ -5111,8 +6520,8 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
5111
6520
  id: z.ZodString;
5112
6521
  name: z.ZodString;
5113
6522
  type: z.ZodEnum<{
5114
- glob: "glob";
5115
6523
  fixed: "fixed";
6524
+ glob: "glob";
5116
6525
  }>;
5117
6526
  globPattern: z.ZodNullable<z.ZodString>;
5118
6527
  enabled: z.ZodBoolean;
@@ -5129,8 +6538,8 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
5129
6538
  id: z.ZodString;
5130
6539
  name: z.ZodString;
5131
6540
  type: z.ZodEnum<{
5132
- glob: "glob";
5133
6541
  fixed: "fixed";
6542
+ glob: "glob";
5134
6543
  }>;
5135
6544
  globPattern: z.ZodNullable<z.ZodString>;
5136
6545
  branchRestrictions: z.ZodNullable<z.ZodArray<z.ZodString>>;
@@ -5204,7 +6613,10 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
5204
6613
  }, z.core.$strip>, z.ZodObject<{
5205
6614
  type: z.ZodLiteral<"dashboard.environments.bindings.list.response">;
5206
6615
  requestId: z.ZodString;
5207
- scopePatterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
6616
+ bindings: z.ZodOptional<z.ZodArray<z.ZodObject<{
6617
+ scopePattern: z.ZodString;
6618
+ hostPattern: z.ZodString;
6619
+ }, z.core.$strip>>>;
5208
6620
  error: z.ZodOptional<z.ZodString>;
5209
6621
  }, z.core.$strip>, z.ZodObject<{
5210
6622
  type: z.ZodLiteral<"dashboard.environments.bindings.set.response">;
@@ -5270,8 +6682,8 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
5270
6682
  }>;
5271
6683
  status: z.ZodEnum<{
5272
6684
  pending: "pending";
5273
- rejected: "rejected";
5274
6685
  approved: "approved";
6686
+ rejected: "rejected";
5275
6687
  expired: "expired";
5276
6688
  }>;
5277
6689
  requestedAt: z.ZodCoercedString<unknown>;
@@ -5284,8 +6696,8 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
5284
6696
  jobId: z.ZodOptional<z.ZodString>;
5285
6697
  holdScope: z.ZodOptional<z.ZodEnum<{
5286
6698
  job: "job";
5287
- step: "step";
5288
6699
  workflow: "workflow";
6700
+ step: "step";
5289
6701
  }>>;
5290
6702
  stepIndex: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5291
6703
  requirement: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -5478,8 +6890,8 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
5478
6890
  dependencyHealth: z.ZodOptional<z.ZodArray<z.ZodObject<{
5479
6891
  name: z.ZodString;
5480
6892
  status: z.ZodEnum<{
5481
- fail: "fail";
5482
6893
  pass: "pass";
6894
+ fail: "fail";
5483
6895
  warn: "warn";
5484
6896
  }>;
5485
6897
  message: z.ZodNullable<z.ZodString>;
@@ -5567,15 +6979,34 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
5567
6979
  }>;
5568
6980
  }, z.core.$strip>>;
5569
6981
  onUnreachable: z.ZodEnum<{
6982
+ hold: "hold";
5570
6983
  skip: "skip";
5571
6984
  fail: "fail";
5572
- hold: "hold";
5573
6985
  }>;
5574
6986
  estimatedChildCount: z.ZodNumber;
6987
+ }, z.core.$strip>, z.ZodObject<{
6988
+ type: z.ZodLiteral<"dashboard.fleet.workflows-for-host.response">;
6989
+ requestId: z.ZodString;
6990
+ workflows: z.ZodArray<z.ZodObject<{
6991
+ workflowName: z.ZodString;
6992
+ repoIdentifier: z.ZodString;
6993
+ sourceFile: z.ZodNullable<z.ZodString>;
6994
+ onUnreachable: z.ZodEnum<{
6995
+ hold: "hold";
6996
+ skip: "skip";
6997
+ fail: "fail";
6998
+ }>;
6999
+ disposition: z.ZodEnum<{
7000
+ target: "target";
7001
+ "unreachable-durable": "unreachable-durable";
7002
+ "skipped-ephemeral": "skipped-ephemeral";
7003
+ }>;
7004
+ }, z.core.$strip>>;
5575
7005
  }, z.core.$strip>, z.ZodObject<{
5576
7006
  type: z.ZodLiteral<"dashboard.fleet.host.declare.response">;
5577
7007
  requestId: z.ZodString;
5578
7008
  declared: z.ZodOptional<z.ZodBoolean>;
7009
+ created: z.ZodOptional<z.ZodBoolean>;
5579
7010
  error: z.ZodOptional<z.ZodString>;
5580
7011
  }, z.core.$strip>, z.ZodObject<{
5581
7012
  type: z.ZodLiteral<"dashboard.fleet.host.remove.response">;
@@ -5886,6 +7317,7 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
5886
7317
  "fleet.host.declare": "fleet.host.declare";
5887
7318
  "fleet.host.remove": "fleet.host.remove";
5888
7319
  "run.detail.read": "run.detail.read";
7320
+ "run.structured.read": "run.structured.read";
5889
7321
  "runs.list.read": "runs.list.read";
5890
7322
  "runs.filters.read": "runs.filters.read";
5891
7323
  "sources.list.read": "sources.list.read";
@@ -5933,6 +7365,8 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
5933
7365
  "scaler.capacity.read": "scaler.capacity.read";
5934
7366
  "scaler.agents.read": "scaler.agents.read";
5935
7367
  "fleet.read": "fleet.read";
7368
+ "fleet.init_runner.bringup": "fleet.init_runner.bringup";
7369
+ "fleet.pre_boot.send": "fleet.pre_boot.send";
5936
7370
  "backend.list.read": "backend.list.read";
5937
7371
  "backend.get.read": "backend.get.read";
5938
7372
  "backend.sync": "backend.sync";
@@ -5949,12 +7383,12 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
5949
7383
  targetType: z.ZodNullable<z.ZodEnum<{
5950
7384
  run: "run";
5951
7385
  job: "job";
5952
- payload: "payload";
5953
7386
  step: "step";
7387
+ environment: "environment";
7388
+ payload: "payload";
5954
7389
  event_log: "event_log";
5955
7390
  event_log_payload: "event_log_payload";
5956
7391
  secret_scope: "secret_scope";
5957
- environment: "environment";
5958
7392
  registration: "registration";
5959
7393
  backend: "backend";
5960
7394
  diagnostics: "diagnostics";
@@ -5965,10 +7399,12 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
5965
7399
  event_dlq: "event_dlq";
5966
7400
  org_settings: "org_settings";
5967
7401
  cluster_meta: "cluster_meta";
7402
+ attestation: "attestation";
5968
7403
  }>>;
5969
7404
  targetId: z.ZodNullable<z.ZodString>;
5970
7405
  requestId: z.ZodNullable<z.ZodString>;
5971
7406
  source: z.ZodEnum<{
7407
+ agent: "agent";
5972
7408
  platform_proxy: "platform_proxy";
5973
7409
  admin_http: "admin_http";
5974
7410
  admin_cli: "admin_cli";
@@ -5996,8 +7432,8 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
5996
7432
  requestId: z.ZodString;
5997
7433
  runId: z.ZodOptional<z.ZodString>;
5998
7434
  status: z.ZodOptional<z.ZodEnum<{
5999
- accepted: "accepted";
6000
7435
  rejected: "rejected";
7436
+ accepted: "accepted";
6001
7437
  }>>;
6002
7438
  reason: z.ZodOptional<z.ZodString>;
6003
7439
  jobIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -6112,6 +7548,7 @@ export declare const dashboardRunDetailApiResponseSchema: z.ZodObject<{
6112
7548
  orchestratorId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6113
7549
  errorMessage: z.ZodNullable<z.ZodString>;
6114
7550
  runsOnLabels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
7551
+ environments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
6115
7552
  outputs: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
6116
7553
  secretOutputKeys: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
6117
7554
  initFailure: z.ZodOptional<z.ZodObject<{
@@ -6167,13 +7604,19 @@ export declare const dashboardRunDetailApiResponseSchema: z.ZodObject<{
6167
7604
  no_check: "no_check";
6168
7605
  }>>>;
6169
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>>;
6170
7613
  }, z.core.$strip>>;
6171
7614
  }, z.core.$strip>>;
6172
7615
  trustContext: z.ZodOptional<z.ZodObject<{
6173
7616
  trustTier: z.ZodNullable<z.ZodEnum<{
6174
7617
  unknown: "unknown";
6175
- trusted: "trusted";
6176
7618
  known: "known";
7619
+ trusted: "trusted";
6177
7620
  }>>;
6178
7621
  lockFileSource: z.ZodNullable<z.ZodEnum<{
6179
7622
  head: "head";
@@ -6247,6 +7690,14 @@ export declare const dashboardAttestationsApiResponseSchema: z.ZodObject<{
6247
7690
  identityToken: z.ZodString;
6248
7691
  }, z.core.$strip>;
6249
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>>;
6250
7701
  }, z.core.$strip>>;
6251
7702
  }, z.core.$strip>;
6252
7703
  /** Single run summary in the paginated run list. */
@@ -6280,6 +7731,9 @@ export declare const runListItemSchema: z.ZodObject<{
6280
7731
  failureReason: z.ZodOptional<z.ZodString>;
6281
7732
  hadCompileJob: z.ZodBoolean;
6282
7733
  compileJobId: z.ZodNullable<z.ZodString>;
7734
+ environments: z.ZodOptional<z.ZodArray<z.ZodString>>;
7735
+ repoProvider: z.ZodNullable<z.ZodString>;
7736
+ localWorkingTree: z.ZodBoolean;
6283
7737
  source: z.ZodNullable<z.ZodObject<{
6284
7738
  routingKey: z.ZodString;
6285
7739
  name: z.ZodNullable<z.ZodString>;
@@ -6325,6 +7779,9 @@ export declare const runListResponseSchema: z.ZodObject<{
6325
7779
  failureReason: z.ZodOptional<z.ZodString>;
6326
7780
  hadCompileJob: z.ZodBoolean;
6327
7781
  compileJobId: z.ZodNullable<z.ZodString>;
7782
+ environments: z.ZodOptional<z.ZodArray<z.ZodString>>;
7783
+ repoProvider: z.ZodNullable<z.ZodString>;
7784
+ localWorkingTree: z.ZodBoolean;
6328
7785
  source: z.ZodNullable<z.ZodObject<{
6329
7786
  routingKey: z.ZodString;
6330
7787
  name: z.ZodNullable<z.ZodString>;
@@ -6447,8 +7904,8 @@ declare const diagnosticsInfraOrchestratorSchema: z.ZodObject<{
6447
7904
  dependencyHealth: z.ZodOptional<z.ZodArray<z.ZodObject<{
6448
7905
  name: z.ZodString;
6449
7906
  status: z.ZodEnum<{
6450
- fail: "fail";
6451
7907
  pass: "pass";
7908
+ fail: "fail";
6452
7909
  warn: "warn";
6453
7910
  }>;
6454
7911
  message: z.ZodNullable<z.ZodString>;
@@ -6539,8 +7996,8 @@ export declare const diagnosticsInfrastructureResponseSchema: z.ZodObject<{
6539
7996
  dependencyHealth: z.ZodOptional<z.ZodArray<z.ZodObject<{
6540
7997
  name: z.ZodString;
6541
7998
  status: z.ZodEnum<{
6542
- fail: "fail";
6543
7999
  pass: "pass";
8000
+ fail: "fail";
6544
8001
  warn: "warn";
6545
8002
  }>;
6546
8003
  message: z.ZodNullable<z.ZodString>;
@@ -6680,5 +8137,22 @@ export declare const memberListResponseSchema: z.ZodObject<{
6680
8137
  }, z.core.$strip>;
6681
8138
  export type OrgMember = z.infer<typeof orgMemberSchema>;
6682
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>;
6683
8157
  export {};
6684
8158
  //# sourceMappingURL=dashboard.d.ts.map