@kici-dev/engine 0.1.23 → 0.1.25

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 (146) hide show
  1. package/dist/approval/types.d.ts +1 -1
  2. package/dist/approval/types.js +1 -1
  3. package/dist/audit/access-log-policy.d.ts +4 -1
  4. package/dist/audit/access-log-policy.js +11 -2
  5. package/dist/audit/activity.d.ts +4 -2
  6. package/dist/audit/activity.js +15 -1
  7. package/dist/audit/retention-policy.js +5 -3
  8. package/dist/bundler/index.js +1 -1
  9. package/dist/bundler/rolldown-config.js +1 -1
  10. package/dist/check-mode.js +1 -1
  11. package/dist/dev-ops/operations.d.ts +56 -0
  12. package/dist/dev-ops/operations.js +135 -0
  13. package/dist/env/environment-allowlist.js +1 -1
  14. package/dist/environment/host-match.js +1 -1
  15. package/dist/environment/index.d.ts +2 -0
  16. package/dist/environment/index.js +4 -2
  17. package/dist/environment/multi-env.d.ts +30 -0
  18. package/dist/environment/multi-env.js +38 -0
  19. package/dist/environment/scope-resolver.js +1 -1
  20. package/dist/environment/scope-template.js +1 -1
  21. package/dist/environment/types.d.ts +8 -2
  22. package/dist/environment/types.js +19 -2
  23. package/dist/fanout/materialize.js +3 -3
  24. package/dist/index.d.ts +10 -1
  25. package/dist/index.js +25 -13
  26. package/dist/inputs/build.js +1 -1
  27. package/dist/inputs/coerce.js +1 -1
  28. package/dist/inputs/descriptor.js +1 -1
  29. package/dist/inputs/extract.js +1 -1
  30. package/dist/inputs/index.d.ts +1 -0
  31. package/dist/inputs/index.js +3 -2
  32. package/dist/inputs/schedule.d.ts +19 -0
  33. package/dist/inputs/schedule.js +33 -0
  34. package/dist/inventory.js +1 -1
  35. package/dist/labels/compile.js +1 -1
  36. package/dist/labels-match.js +1 -1
  37. package/dist/labels.js +2 -2
  38. package/dist/matrix/expand.js +1 -1
  39. package/dist/matrix/format.js +1 -1
  40. package/dist/mcp/fence.d.ts +22 -0
  41. package/dist/mcp/fence.js +65 -0
  42. package/dist/mcp/held-run-resolve.d.ts +52 -0
  43. package/dist/mcp/held-run-resolve.js +53 -0
  44. package/dist/mcp/tool-schemas.d.ts +74 -0
  45. package/dist/mcp/tool-schemas.js +78 -0
  46. package/dist/metrics/catalog-policy.js +1 -1
  47. package/dist/metrics/metric-catalog.generated.d.ts +105 -0
  48. package/dist/metrics/metric-catalog.generated.js +127 -1
  49. package/dist/protocol/analytics-events.js +1 -1
  50. package/dist/protocol/cluster-name.js +1 -1
  51. package/dist/protocol/dashboard-global-workflows.js +1 -1
  52. package/dist/protocol/dashboard-write-operations.d.ts +5 -1
  53. package/dist/protocol/dashboard-write-operations.js +13 -2
  54. package/dist/protocol/event-log-payload.js +1 -1
  55. package/dist/protocol/messages/access-log.d.ts +43 -20
  56. package/dist/protocol/messages/access-log.js +16 -2
  57. package/dist/protocol/messages/actor.d.ts +21 -0
  58. package/dist/protocol/messages/actor.js +42 -8
  59. package/dist/protocol/messages/agent-dev-ops.d.ts +118 -0
  60. package/dist/protocol/messages/agent-dev-ops.js +89 -0
  61. package/dist/protocol/messages/agent-run-result.d.ts +425 -0
  62. package/dist/protocol/messages/agent-run-result.js +165 -0
  63. package/dist/protocol/messages/auth.d.ts +3 -0
  64. package/dist/protocol/messages/auth.js +11 -2
  65. package/dist/protocol/messages/browser.js +1 -1
  66. package/dist/protocol/messages/capabilities.d.ts +3 -0
  67. package/dist/protocol/messages/capabilities.js +16 -3
  68. package/dist/protocol/messages/common.js +1 -1
  69. package/dist/protocol/messages/dashboard-global-workflows.d.ts +14 -0
  70. package/dist/protocol/messages/dashboard-global-workflows.js +1 -1
  71. package/dist/protocol/messages/dashboard.d.ts +1998 -48
  72. package/dist/protocol/messages/dashboard.js +269 -15
  73. package/dist/protocol/messages/deployment-identity.js +1 -1
  74. package/dist/protocol/messages/event-log.js +1 -1
  75. package/dist/protocol/messages/execution-status.d.ts +67 -4
  76. package/dist/protocol/messages/execution-status.js +133 -57
  77. package/dist/protocol/messages/join.js +1 -1
  78. package/dist/protocol/messages/log-pull.js +1 -1
  79. package/dist/protocol/messages/oidc-mint.d.ts +51 -0
  80. package/dist/protocol/messages/oidc-mint.js +55 -0
  81. package/dist/protocol/messages/oidc-token-relay.d.ts +31 -4
  82. package/dist/protocol/messages/oidc-token-relay.js +22 -7
  83. package/dist/protocol/messages/orchestrator-agent.d.ts +66 -5
  84. package/dist/protocol/messages/orchestrator-agent.js +35 -3
  85. package/dist/protocol/messages/pat-kind.d.ts +16 -0
  86. package/dist/protocol/messages/pat-kind.js +17 -0
  87. package/dist/protocol/messages/peer.d.ts +7 -7
  88. package/dist/protocol/messages/peer.js +1 -1
  89. package/dist/protocol/messages/platform-orchestrator.d.ts +685 -17
  90. package/dist/protocol/messages/platform-orchestrator.js +8 -5
  91. package/dist/protocol/messages/run-events.d.ts +8 -1
  92. package/dist/protocol/messages/run-events.js +1 -1
  93. package/dist/protocol/messages/scaler-event.js +1 -1
  94. package/dist/protocol/messages/source-registration.js +1 -1
  95. package/dist/protocol/source-origin.d.ts +20 -0
  96. package/dist/protocol/source-origin.js +21 -0
  97. package/dist/protocol/version.js +1 -1
  98. package/dist/provenance/attestation-origin.d.ts +18 -0
  99. package/dist/provenance/attestation-origin.js +22 -0
  100. package/dist/provenance/bundle.js +1 -1
  101. package/dist/provenance/dsse.js +1 -1
  102. package/dist/provenance/schema.d.ts +48 -0
  103. package/dist/provenance/schema.js +21 -7
  104. package/dist/provenance/statement-hash.d.ts +9 -0
  105. package/dist/provenance/statement-hash.js +17 -0
  106. package/dist/provenance/verify.d.ts +7 -0
  107. package/dist/provenance/verify.js +49 -10
  108. package/dist/provider/changed-files-fetcher.js +1 -1
  109. package/dist/provider/check-run-conclusion.d.ts +1 -1
  110. package/dist/provider/check-run-conclusion.js +1 -1
  111. package/dist/provider/check-status-poster.js +1 -1
  112. package/dist/provider/clone-token-provider.js +1 -1
  113. package/dist/provider/contributor-resolver.js +1 -1
  114. package/dist/provider/index.js +1 -1
  115. package/dist/provider/lock-file-fetcher.js +1 -1
  116. package/dist/provider/lock-file-parse-error.js +1 -1
  117. package/dist/provider/repo-url-builder.js +1 -1
  118. package/dist/provider/types.js +1 -1
  119. package/dist/provider/webhook-normalizer.js +1 -1
  120. package/dist/registration/registerable-trigger-type.d.ts +1 -1
  121. package/dist/registration/registerable-trigger-type.js +1 -1
  122. package/dist/{chunk-BTugEXQM.js → rolldown-runtime-ClRpJifh.js} +0 -1
  123. package/dist/scaler/resource-types.js +1 -1
  124. package/dist/scaler/scaler-backend-type.js +1 -1
  125. package/dist/secrets/index.d.ts +1 -1
  126. package/dist/secrets/index.js +1 -1
  127. package/dist/secrets/types.d.ts +0 -24
  128. package/dist/secrets/types.js +1 -1
  129. package/dist/state-machine/index.js +1 -1
  130. package/dist/state-machine/machine.js +1 -1
  131. package/dist/state-machine/types.js +1 -1
  132. package/dist/trigger/decision-trace.js +1 -1
  133. package/dist/trigger/jsonpath-matcher.js +1 -1
  134. package/dist/trigger/matcher.js +1 -1
  135. package/dist/trigger/trigger-event-type.js +1 -1
  136. package/dist/trigger/types.d.ts +35 -7
  137. package/dist/trigger/types.js +8 -3
  138. package/dist/webhook/signature.js +1 -1
  139. package/dist/webhook/webhook-url-format.d.ts +7 -0
  140. package/dist/webhook/webhook-url-format.js +11 -2
  141. package/dist/ws/close-codes.d.ts +8 -2
  142. package/dist/ws/close-codes.js +10 -4
  143. package/dist/ws/rate-limiter.js +1 -1
  144. package/dist/ws/ws-like.js +1 -1
  145. package/package.json +9 -1
  146. package/sbom.spdx.json +5 -5
@@ -6,10 +6,53 @@ 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>>;
13
+ }, z.core.$strip>, z.ZodObject<{
14
+ type: z.ZodLiteral<"api_key">;
15
+ keyId: z.ZodString;
16
+ ownerSub: z.ZodString;
17
+ agent: z.ZodOptional<z.ZodObject<{
18
+ label: z.ZodString;
19
+ }, z.core.$strip>>;
20
+ }, z.core.$strip>, z.ZodObject<{
21
+ type: z.ZodLiteral<"service_account">;
22
+ id: z.ZodString;
23
+ }, z.core.$strip>, z.ZodObject<{
24
+ type: z.ZodLiteral<"platform_operator">;
25
+ sub: z.ZodString;
26
+ reason: z.ZodString;
27
+ sessionId: z.ZodOptional<z.ZodString>;
28
+ }, z.core.$strip>, z.ZodObject<{
29
+ type: z.ZodLiteral<"system">;
30
+ component: z.ZodString;
31
+ }, z.core.$strip>], "type">;
32
+ runId: z.ZodString;
33
+ }, z.core.$strip>;
34
+ /**
35
+ * Request the machine-first, provenance-tagged structured run result from the
36
+ * orchestrator (user-plane equivalent of the orchestrator-admin
37
+ * `/runs/:id/structured` endpoint). Reuses the Phase-1 `AgentRunResult` shape.
38
+ */
39
+ export declare const dashboardRunStructuredRequestSchema: z.ZodObject<{
40
+ type: z.ZodLiteral<"dashboard.run.structured">;
41
+ requestId: z.ZodString;
42
+ actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
43
+ type: z.ZodLiteral<"user">;
44
+ sub: z.ZodString;
45
+ agent: z.ZodOptional<z.ZodObject<{
46
+ patId: z.ZodString;
47
+ label: z.ZodString;
48
+ }, z.core.$strip>>;
9
49
  }, z.core.$strip>, z.ZodObject<{
10
50
  type: z.ZodLiteral<"api_key">;
11
51
  keyId: z.ZodString;
12
52
  ownerSub: z.ZodString;
53
+ agent: z.ZodOptional<z.ZodObject<{
54
+ label: z.ZodString;
55
+ }, z.core.$strip>>;
13
56
  }, z.core.$strip>, z.ZodObject<{
14
57
  type: z.ZodLiteral<"service_account">;
15
58
  id: z.ZodString;
@@ -24,6 +67,171 @@ export declare const dashboardRunDetailRequestSchema: z.ZodObject<{
24
67
  }, z.core.$strip>], "type">;
25
68
  runId: z.ZodString;
26
69
  }, z.core.$strip>;
70
+ export type DashboardRunStructuredRequest = z.infer<typeof dashboardRunStructuredRequestSchema>;
71
+ /** Response carrying the provenance-tagged AgentRunResult (null when not found). */
72
+ export declare const dashboardRunStructuredResponseSchema: z.ZodObject<{
73
+ type: z.ZodLiteral<"dashboard.run.structured.response">;
74
+ requestId: z.ZodString;
75
+ result: z.ZodNullable<z.ZodObject<{
76
+ runId: z.ZodString;
77
+ workflowName: z.ZodObject<{
78
+ untrusted: z.ZodLiteral<true>;
79
+ value: z.ZodString;
80
+ }, z.core.$strip>;
81
+ status: z.ZodEnum<{
82
+ success: "success";
83
+ pending: "pending";
84
+ running: "running";
85
+ failed: "failed";
86
+ cancelled: "cancelled";
87
+ cancelling: "cancelling";
88
+ held: "held";
89
+ }>;
90
+ provider: z.ZodString;
91
+ repoIdentifier: z.ZodObject<{
92
+ untrusted: z.ZodLiteral<true>;
93
+ value: z.ZodString;
94
+ }, z.core.$strip>;
95
+ ref: z.ZodObject<{
96
+ untrusted: z.ZodLiteral<true>;
97
+ value: z.ZodString;
98
+ }, z.core.$strip>;
99
+ sha: z.ZodString;
100
+ baseSha: z.ZodNullable<z.ZodString>;
101
+ startedAt: z.ZodNullable<z.ZodString>;
102
+ completedAt: z.ZodNullable<z.ZodString>;
103
+ durationMs: z.ZodNullable<z.ZodNumber>;
104
+ trustTier: z.ZodNullable<z.ZodEnum<{
105
+ unknown: "unknown";
106
+ known: "known";
107
+ trusted: "trusted";
108
+ }>>;
109
+ contributorUsername: z.ZodNullable<z.ZodObject<{
110
+ untrusted: z.ZodLiteral<true>;
111
+ value: z.ZodString;
112
+ }, z.core.$strip>>;
113
+ failureCategory: z.ZodNullable<z.ZodEnum<{
114
+ unknown: "unknown";
115
+ cancelled: "cancelled";
116
+ init_failure: "init_failure";
117
+ timed_out: "timed_out";
118
+ step_failed: "step_failed";
119
+ infra: "infra";
120
+ }>>;
121
+ failureReason: z.ZodNullable<z.ZodObject<{
122
+ untrusted: z.ZodLiteral<true>;
123
+ value: z.ZodString;
124
+ }, z.core.$strip>>;
125
+ triggeredBy: z.ZodNullable<z.ZodString>;
126
+ triggeredByAgentLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
127
+ jobs: z.ZodArray<z.ZodObject<{
128
+ jobId: z.ZodString;
129
+ jobName: z.ZodObject<{
130
+ untrusted: z.ZodLiteral<true>;
131
+ value: z.ZodString;
132
+ }, z.core.$strip>;
133
+ status: z.ZodEnum<{
134
+ skipped: "skipped";
135
+ success: "success";
136
+ pending: "pending";
137
+ running: "running";
138
+ failed: "failed";
139
+ cancelled: "cancelled";
140
+ cancelling: "cancelling";
141
+ queued: "queued";
142
+ recovering: "recovering";
143
+ timed_out_stale: "timed_out_stale";
144
+ drift_dropped: "drift_dropped";
145
+ }>;
146
+ startedAt: z.ZodNullable<z.ZodString>;
147
+ completedAt: z.ZodNullable<z.ZodString>;
148
+ durationMs: z.ZodNullable<z.ZodNumber>;
149
+ agentId: z.ZodNullable<z.ZodString>;
150
+ errorMessage: z.ZodNullable<z.ZodObject<{
151
+ untrusted: z.ZodLiteral<true>;
152
+ value: z.ZodString;
153
+ }, z.core.$strip>>;
154
+ initFailure: z.ZodNullable<z.ZodObject<{
155
+ scope: z.ZodEnum<{
156
+ job: "job";
157
+ run: "run";
158
+ }>;
159
+ category: z.ZodEnum<{
160
+ secret_resolution: "secret_resolution";
161
+ install_secrets: "install_secrets";
162
+ lock_resolution: "lock_resolution";
163
+ build_coordination: "build_coordination";
164
+ environment_rules: "environment_rules";
165
+ dynamic_eval: "dynamic_eval";
166
+ no_agent: "no_agent";
167
+ matrix_expansion: "matrix_expansion";
168
+ }>;
169
+ message: z.ZodObject<{
170
+ untrusted: z.ZodLiteral<true>;
171
+ value: z.ZodString;
172
+ }, z.core.$strip>;
173
+ }, z.core.$strip>>;
174
+ needs: z.ZodArray<z.ZodObject<{
175
+ ref: z.ZodObject<{
176
+ untrusted: z.ZodLiteral<true>;
177
+ value: z.ZodString;
178
+ }, z.core.$strip>;
179
+ runOn: z.ZodArray<z.ZodEnum<{
180
+ skipped: "skipped";
181
+ success: "success";
182
+ pending: "pending";
183
+ running: "running";
184
+ failed: "failed";
185
+ cancelled: "cancelled";
186
+ cancelling: "cancelling";
187
+ queued: "queued";
188
+ recovering: "recovering";
189
+ timed_out_stale: "timed_out_stale";
190
+ drift_dropped: "drift_dropped";
191
+ }>>;
192
+ }, z.core.$strip>>;
193
+ outputs: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
194
+ untrusted: z.ZodLiteral<true>;
195
+ value: z.ZodString;
196
+ }, z.core.$strip>>>;
197
+ secretOutputKeys: z.ZodArray<z.ZodString>;
198
+ steps: z.ZodArray<z.ZodObject<{
199
+ stepIndex: z.ZodNumber;
200
+ stepName: z.ZodObject<{
201
+ untrusted: z.ZodLiteral<true>;
202
+ value: z.ZodString;
203
+ }, z.core.$strip>;
204
+ status: z.ZodEnum<{
205
+ skipped: "skipped";
206
+ success: "success";
207
+ pending: "pending";
208
+ running: "running";
209
+ failed: "failed";
210
+ cancelled: "cancelled";
211
+ }>;
212
+ exitCode: z.ZodNullable<z.ZodNumber>;
213
+ durationMs: z.ZodNullable<z.ZodNumber>;
214
+ startedAt: z.ZodNullable<z.ZodString>;
215
+ completedAt: z.ZodNullable<z.ZodString>;
216
+ errorMessage: z.ZodNullable<z.ZodObject<{
217
+ untrusted: z.ZodLiteral<true>;
218
+ value: z.ZodString;
219
+ }, z.core.$strip>>;
220
+ stepType: z.ZodString;
221
+ checkOutcome: z.ZodNullable<z.ZodEnum<{
222
+ skipped: "skipped";
223
+ applied: "applied";
224
+ declined: "declined";
225
+ "dry-run": "dry-run";
226
+ no_check: "no_check";
227
+ }>>;
228
+ secretsAccessed: z.ZodArray<z.ZodString>;
229
+ }, z.core.$strip>>;
230
+ }, z.core.$strip>>;
231
+ }, z.core.$strip>>;
232
+ error: z.ZodOptional<z.ZodString>;
233
+ }, z.core.$strip>;
234
+ export type DashboardRunStructuredResponse = z.infer<typeof dashboardRunStructuredResponseSchema>;
27
235
  /** Request step logs from orchestrator. */
28
236
  export declare const dashboardStepLogsRequestSchema: z.ZodObject<{
29
237
  type: z.ZodLiteral<"dashboard.step.logs">;
@@ -31,10 +239,17 @@ export declare const dashboardStepLogsRequestSchema: z.ZodObject<{
31
239
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
32
240
  type: z.ZodLiteral<"user">;
33
241
  sub: z.ZodString;
242
+ agent: z.ZodOptional<z.ZodObject<{
243
+ patId: z.ZodString;
244
+ label: z.ZodString;
245
+ }, z.core.$strip>>;
34
246
  }, z.core.$strip>, z.ZodObject<{
35
247
  type: z.ZodLiteral<"api_key">;
36
248
  keyId: z.ZodString;
37
249
  ownerSub: z.ZodString;
250
+ agent: z.ZodOptional<z.ZodObject<{
251
+ label: z.ZodString;
252
+ }, z.core.$strip>>;
38
253
  }, z.core.$strip>, z.ZodObject<{
39
254
  type: z.ZodLiteral<"service_account">;
40
255
  id: z.ZodString;
@@ -50,6 +265,8 @@ export declare const dashboardStepLogsRequestSchema: z.ZodObject<{
50
265
  runId: z.ZodString;
51
266
  jobId: z.ZodString;
52
267
  stepIndex: z.ZodNumber;
268
+ cursor: z.ZodOptional<z.ZodString>;
269
+ limit: z.ZodOptional<z.ZodNumber>;
53
270
  }, z.core.$strip>;
54
271
  /** Job detail within a run detail response. */
55
272
  export declare const dashboardJobDetailSchema: z.ZodObject<{
@@ -67,12 +284,15 @@ export declare const dashboardJobDetailSchema: z.ZodObject<{
67
284
  orchestratorId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
285
  errorMessage: z.ZodNullable<z.ZodString>;
69
286
  runsOnLabels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
287
+ environments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
288
+ skippedEnvironments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
289
+ envWarning: z.ZodOptional<z.ZodNullable<z.ZodString>>;
70
290
  outputs: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
71
291
  secretOutputKeys: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
72
292
  initFailure: z.ZodOptional<z.ZodObject<{
73
293
  scope: z.ZodEnum<{
74
- run: "run";
75
294
  job: "job";
295
+ run: "run";
76
296
  }>;
77
297
  category: z.ZodEnum<{
78
298
  secret_resolution: "secret_resolution";
@@ -122,6 +342,12 @@ export declare const dashboardJobDetailSchema: z.ZodObject<{
122
342
  no_check: "no_check";
123
343
  }>>>;
124
344
  driftSummary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
345
+ concurrencyKind: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
346
+ sequential: "sequential";
347
+ "parallel-child": "parallel-child";
348
+ "parallel-group": "parallel-group";
349
+ }>>>;
350
+ groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
125
351
  }, z.core.$strip>>;
126
352
  }, z.core.$strip>;
127
353
  /** Response with full run detail (correlates to dashboard.run.detail). */
@@ -143,12 +369,15 @@ export declare const dashboardRunDetailResponseSchema: z.ZodObject<{
143
369
  orchestratorId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
144
370
  errorMessage: z.ZodNullable<z.ZodString>;
145
371
  runsOnLabels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
372
+ environments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
373
+ skippedEnvironments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
374
+ envWarning: z.ZodOptional<z.ZodNullable<z.ZodString>>;
146
375
  outputs: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
147
376
  secretOutputKeys: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
148
377
  initFailure: z.ZodOptional<z.ZodObject<{
149
378
  scope: z.ZodEnum<{
150
- run: "run";
151
379
  job: "job";
380
+ run: "run";
152
381
  }>;
153
382
  category: z.ZodEnum<{
154
383
  secret_resolution: "secret_resolution";
@@ -198,13 +427,19 @@ export declare const dashboardRunDetailResponseSchema: z.ZodObject<{
198
427
  no_check: "no_check";
199
428
  }>>>;
200
429
  driftSummary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
430
+ concurrencyKind: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
431
+ sequential: "sequential";
432
+ "parallel-child": "parallel-child";
433
+ "parallel-group": "parallel-group";
434
+ }>>>;
435
+ groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
201
436
  }, z.core.$strip>>;
202
437
  }, z.core.$strip>>;
203
438
  trustContext: z.ZodOptional<z.ZodObject<{
204
439
  trustTier: z.ZodNullable<z.ZodEnum<{
205
440
  unknown: "unknown";
206
- trusted: "trusted";
207
441
  known: "known";
442
+ trusted: "trusted";
208
443
  }>>;
209
444
  lockFileSource: z.ZodNullable<z.ZodEnum<{
210
445
  head: "head";
@@ -214,8 +449,8 @@ export declare const dashboardRunDetailResponseSchema: z.ZodObject<{
214
449
  }, z.core.$strip>>;
215
450
  initFailure: z.ZodOptional<z.ZodObject<{
216
451
  scope: z.ZodEnum<{
217
- run: "run";
218
452
  job: "job";
453
+ run: "run";
219
454
  }>;
220
455
  category: z.ZodEnum<{
221
456
  secret_resolution: "secret_resolution";
@@ -238,6 +473,7 @@ export declare const dashboardStepLogsResponseSchema: z.ZodObject<{
238
473
  requestId: z.ZodString;
239
474
  lines: z.ZodArray<z.ZodString>;
240
475
  totalLines: z.ZodNumber;
476
+ nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
241
477
  error: z.ZodOptional<z.ZodString>;
242
478
  }, z.core.$strip>;
243
479
  /** Request the build-provenance attestations for a run. */
@@ -247,10 +483,17 @@ export declare const dashboardAttestationsListRequestSchema: z.ZodObject<{
247
483
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
248
484
  type: z.ZodLiteral<"user">;
249
485
  sub: z.ZodString;
486
+ agent: z.ZodOptional<z.ZodObject<{
487
+ patId: z.ZodString;
488
+ label: z.ZodString;
489
+ }, z.core.$strip>>;
250
490
  }, z.core.$strip>, z.ZodObject<{
251
491
  type: z.ZodLiteral<"api_key">;
252
492
  keyId: z.ZodString;
253
493
  ownerSub: z.ZodString;
494
+ agent: z.ZodOptional<z.ZodObject<{
495
+ label: z.ZodString;
496
+ }, z.core.$strip>>;
254
497
  }, z.core.$strip>, z.ZodObject<{
255
498
  type: z.ZodLiteral<"service_account">;
256
499
  id: z.ZodString;
@@ -266,6 +509,23 @@ export declare const dashboardAttestationsListRequestSchema: z.ZodObject<{
266
509
  runId: z.ZodString;
267
510
  }, z.core.$strip>;
268
511
  export type DashboardAttestationsListRequest = z.infer<typeof dashboardAttestationsListRequestSchema>;
512
+ /**
513
+ * Server-side verification verdict for an attestation, computed at ingest.
514
+ * - `verified` — `verifyKiciBundle` succeeded.
515
+ * - `failed` — verification ran and the bundle failed (signature / identity /
516
+ * build-context / unsupported mode). A provenance-integrity signal.
517
+ * - `unverifiable` — no verdict could be computed (no trust root configured, or
518
+ * the JWKS / bundle could not be read). NOT a forgery signal.
519
+ * - `pending` — verdict not yet computed (pre-backfill row, or ingest raced the
520
+ * trust root).
521
+ */
522
+ export declare const attestationVerifyStatusSchema: z.ZodEnum<{
523
+ pending: "pending";
524
+ failed: "failed";
525
+ verified: "verified";
526
+ unverifiable: "unverifiable";
527
+ }>;
528
+ export type AttestationVerifyStatus = z.infer<typeof attestationVerifyStatusSchema>;
269
529
  /**
270
530
  * Single attestation in the list response, with its bundle inlined from object
271
531
  * storage so the dashboard verifies it without a second fetch. The bundle is a
@@ -295,6 +555,24 @@ export declare const attestationListItemSchema: z.ZodObject<{
295
555
  identityToken: z.ZodString;
296
556
  }, z.core.$strip>;
297
557
  }, z.core.$strip>;
558
+ runId: z.ZodOptional<z.ZodString>;
559
+ verifyStatus: z.ZodOptional<z.ZodEnum<{
560
+ pending: "pending";
561
+ failed: "failed";
562
+ verified: "verified";
563
+ unverifiable: "unverifiable";
564
+ }>>;
565
+ verifyReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
566
+ sourceOrigin: z.ZodOptional<z.ZodEnum<{
567
+ triggered: "triggered";
568
+ "run-remote": "run-remote";
569
+ }>>;
570
+ originOrgId: z.ZodOptional<z.ZodString>;
571
+ attestationOrigin: z.ZodOptional<z.ZodEnum<{
572
+ live: "live";
573
+ deferred: "deferred";
574
+ "offline-backfill": "offline-backfill";
575
+ }>>;
298
576
  }, z.core.$strip>;
299
577
  export type AttestationListItem = z.infer<typeof attestationListItemSchema>;
300
578
  /** Response with the run's attestations (correlates to dashboard.attestations.list). */
@@ -325,10 +603,295 @@ export declare const dashboardAttestationsListResponseSchema: z.ZodObject<{
325
603
  identityToken: z.ZodString;
326
604
  }, z.core.$strip>;
327
605
  }, z.core.$strip>;
606
+ runId: z.ZodOptional<z.ZodString>;
607
+ verifyStatus: z.ZodOptional<z.ZodEnum<{
608
+ pending: "pending";
609
+ failed: "failed";
610
+ verified: "verified";
611
+ unverifiable: "unverifiable";
612
+ }>>;
613
+ verifyReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
614
+ sourceOrigin: z.ZodOptional<z.ZodEnum<{
615
+ triggered: "triggered";
616
+ "run-remote": "run-remote";
617
+ }>>;
618
+ originOrgId: z.ZodOptional<z.ZodString>;
619
+ attestationOrigin: z.ZodOptional<z.ZodEnum<{
620
+ live: "live";
621
+ deferred: "deferred";
622
+ "offline-backfill": "offline-backfill";
623
+ }>>;
328
624
  }, z.core.$strip>>;
329
625
  error: z.ZodOptional<z.ZodString>;
330
626
  }, z.core.$strip>;
331
627
  export type DashboardAttestationsListResponse = z.infer<typeof dashboardAttestationsListResponseSchema>;
628
+ /**
629
+ * Metadata-only summary row for the org-wide list. No inlined bundle (keeps the
630
+ * list cheap). `repository` / `workflow` are joined from `execution_runs` when
631
+ * available.
632
+ */
633
+ export declare const attestationListSummarySchema: z.ZodObject<{
634
+ id: z.ZodString;
635
+ runId: z.ZodString;
636
+ jobId: z.ZodString;
637
+ jobName: z.ZodNullable<z.ZodString>;
638
+ subjectName: z.ZodString;
639
+ subjectDigest: z.ZodString;
640
+ mode: z.ZodString;
641
+ mediaType: z.ZodString;
642
+ createdAt: z.ZodString;
643
+ verifyStatus: z.ZodEnum<{
644
+ pending: "pending";
645
+ failed: "failed";
646
+ verified: "verified";
647
+ unverifiable: "unverifiable";
648
+ }>;
649
+ verifyReason: z.ZodNullable<z.ZodString>;
650
+ repository: z.ZodNullable<z.ZodString>;
651
+ workflow: z.ZodNullable<z.ZodString>;
652
+ sourceOrigin: z.ZodOptional<z.ZodEnum<{
653
+ triggered: "triggered";
654
+ "run-remote": "run-remote";
655
+ }>>;
656
+ attestationOrigin: z.ZodOptional<z.ZodEnum<{
657
+ live: "live";
658
+ deferred: "deferred";
659
+ "offline-backfill": "offline-backfill";
660
+ }>>;
661
+ pending: z.ZodOptional<z.ZodBoolean>;
662
+ }, z.core.$strip>;
663
+ export type AttestationListSummary = z.infer<typeof attestationListSummarySchema>;
664
+ /** Filters for the org-wide attestations list. */
665
+ export declare const attestationListFiltersSchema: z.ZodObject<{
666
+ digest: z.ZodOptional<z.ZodString>;
667
+ name: z.ZodOptional<z.ZodString>;
668
+ status: z.ZodOptional<z.ZodEnum<{
669
+ pending: "pending";
670
+ failed: "failed";
671
+ verified: "verified";
672
+ unverifiable: "unverifiable";
673
+ }>>;
674
+ repository: z.ZodOptional<z.ZodString>;
675
+ workflow: z.ZodOptional<z.ZodString>;
676
+ job: z.ZodOptional<z.ZodString>;
677
+ createdAfter: z.ZodOptional<z.ZodString>;
678
+ createdBefore: z.ZodOptional<z.ZodString>;
679
+ }, z.core.$strip>;
680
+ export type AttestationListFilters = z.infer<typeof attestationListFiltersSchema>;
681
+ /** Request the org-wide, paginated, filtered list of attestations. */
682
+ export declare const dashboardAttestationsListAllRequestSchema: z.ZodObject<{
683
+ type: z.ZodLiteral<"dashboard.attestations.list.all">;
684
+ requestId: z.ZodString;
685
+ actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
686
+ type: z.ZodLiteral<"user">;
687
+ sub: z.ZodString;
688
+ agent: z.ZodOptional<z.ZodObject<{
689
+ patId: z.ZodString;
690
+ label: z.ZodString;
691
+ }, z.core.$strip>>;
692
+ }, z.core.$strip>, z.ZodObject<{
693
+ type: z.ZodLiteral<"api_key">;
694
+ keyId: z.ZodString;
695
+ ownerSub: z.ZodString;
696
+ agent: z.ZodOptional<z.ZodObject<{
697
+ label: z.ZodString;
698
+ }, z.core.$strip>>;
699
+ }, z.core.$strip>, z.ZodObject<{
700
+ type: z.ZodLiteral<"service_account">;
701
+ id: z.ZodString;
702
+ }, z.core.$strip>, z.ZodObject<{
703
+ type: z.ZodLiteral<"platform_operator">;
704
+ sub: z.ZodString;
705
+ reason: z.ZodString;
706
+ sessionId: z.ZodOptional<z.ZodString>;
707
+ }, z.core.$strip>, z.ZodObject<{
708
+ type: z.ZodLiteral<"system">;
709
+ component: z.ZodString;
710
+ }, z.core.$strip>], "type">;
711
+ page: z.ZodNumber;
712
+ sort: z.ZodOptional<z.ZodString>;
713
+ filters: z.ZodDefault<z.ZodObject<{
714
+ digest: z.ZodOptional<z.ZodString>;
715
+ name: z.ZodOptional<z.ZodString>;
716
+ status: z.ZodOptional<z.ZodEnum<{
717
+ pending: "pending";
718
+ failed: "failed";
719
+ verified: "verified";
720
+ unverifiable: "unverifiable";
721
+ }>>;
722
+ repository: z.ZodOptional<z.ZodString>;
723
+ workflow: z.ZodOptional<z.ZodString>;
724
+ job: z.ZodOptional<z.ZodString>;
725
+ createdAfter: z.ZodOptional<z.ZodString>;
726
+ createdBefore: z.ZodOptional<z.ZodString>;
727
+ }, z.core.$strip>>;
728
+ }, z.core.$strip>;
729
+ export type DashboardAttestationsListAllRequest = z.infer<typeof dashboardAttestationsListAllRequestSchema>;
730
+ /** Response with one page of org-wide attestation summaries. */
731
+ export declare const dashboardAttestationsListAllResponseSchema: z.ZodObject<{
732
+ type: z.ZodLiteral<"dashboard.attestations.list.all.response">;
733
+ requestId: z.ZodString;
734
+ attestations: z.ZodArray<z.ZodObject<{
735
+ id: z.ZodString;
736
+ runId: z.ZodString;
737
+ jobId: z.ZodString;
738
+ jobName: z.ZodNullable<z.ZodString>;
739
+ subjectName: z.ZodString;
740
+ subjectDigest: z.ZodString;
741
+ mode: z.ZodString;
742
+ mediaType: z.ZodString;
743
+ createdAt: z.ZodString;
744
+ verifyStatus: z.ZodEnum<{
745
+ pending: "pending";
746
+ failed: "failed";
747
+ verified: "verified";
748
+ unverifiable: "unverifiable";
749
+ }>;
750
+ verifyReason: z.ZodNullable<z.ZodString>;
751
+ repository: z.ZodNullable<z.ZodString>;
752
+ workflow: z.ZodNullable<z.ZodString>;
753
+ sourceOrigin: z.ZodOptional<z.ZodEnum<{
754
+ triggered: "triggered";
755
+ "run-remote": "run-remote";
756
+ }>>;
757
+ attestationOrigin: z.ZodOptional<z.ZodEnum<{
758
+ live: "live";
759
+ deferred: "deferred";
760
+ "offline-backfill": "offline-backfill";
761
+ }>>;
762
+ pending: z.ZodOptional<z.ZodBoolean>;
763
+ }, z.core.$strip>>;
764
+ page: z.ZodNumber;
765
+ pageSize: z.ZodNumber;
766
+ total: z.ZodNumber;
767
+ error: z.ZodOptional<z.ZodString>;
768
+ }, z.core.$strip>;
769
+ export type DashboardAttestationsListAllResponse = z.infer<typeof dashboardAttestationsListAllResponseSchema>;
770
+ /** Request a single attestation by id (detail page; inlines the one bundle). */
771
+ export declare const dashboardAttestationGetRequestSchema: z.ZodObject<{
772
+ type: z.ZodLiteral<"dashboard.attestation.get">;
773
+ requestId: z.ZodString;
774
+ actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
775
+ type: z.ZodLiteral<"user">;
776
+ sub: z.ZodString;
777
+ agent: z.ZodOptional<z.ZodObject<{
778
+ patId: z.ZodString;
779
+ label: z.ZodString;
780
+ }, z.core.$strip>>;
781
+ }, z.core.$strip>, z.ZodObject<{
782
+ type: z.ZodLiteral<"api_key">;
783
+ keyId: z.ZodString;
784
+ ownerSub: z.ZodString;
785
+ agent: z.ZodOptional<z.ZodObject<{
786
+ label: z.ZodString;
787
+ }, z.core.$strip>>;
788
+ }, z.core.$strip>, z.ZodObject<{
789
+ type: z.ZodLiteral<"service_account">;
790
+ id: z.ZodString;
791
+ }, z.core.$strip>, z.ZodObject<{
792
+ type: z.ZodLiteral<"platform_operator">;
793
+ sub: z.ZodString;
794
+ reason: z.ZodString;
795
+ sessionId: z.ZodOptional<z.ZodString>;
796
+ }, z.core.$strip>, z.ZodObject<{
797
+ type: z.ZodLiteral<"system">;
798
+ component: z.ZodString;
799
+ }, z.core.$strip>], "type">;
800
+ attestationId: z.ZodString;
801
+ }, z.core.$strip>;
802
+ export type DashboardAttestationGetRequest = z.infer<typeof dashboardAttestationGetRequestSchema>;
803
+ /** Response with one attestation (the existing item shape with bundle), or null. */
804
+ export declare const dashboardAttestationGetResponseSchema: z.ZodObject<{
805
+ type: z.ZodLiteral<"dashboard.attestation.get.response">;
806
+ requestId: z.ZodString;
807
+ attestation: z.ZodNullable<z.ZodObject<{
808
+ id: z.ZodString;
809
+ jobId: z.ZodString;
810
+ jobName: z.ZodNullable<z.ZodString>;
811
+ subjectName: z.ZodString;
812
+ subjectDigest: z.ZodString;
813
+ mode: z.ZodString;
814
+ mediaType: z.ZodString;
815
+ createdAt: z.ZodString;
816
+ bundle: z.ZodObject<{
817
+ mediaType: z.ZodLiteral<"application/vnd.kici.provenance.bundle+json;version=0.1">;
818
+ dsseEnvelope: z.ZodObject<{
819
+ payloadType: z.ZodString;
820
+ payload: z.ZodString;
821
+ signatures: z.ZodArray<z.ZodObject<{
822
+ keyid: z.ZodString;
823
+ sig: z.ZodString;
824
+ }, z.core.$strip>>;
825
+ }, z.core.$strip>;
826
+ verificationMaterial: z.ZodObject<{
827
+ publicKey: z.ZodRecord<z.ZodString, z.ZodUnknown>;
828
+ identityToken: z.ZodString;
829
+ }, z.core.$strip>;
830
+ }, z.core.$strip>;
831
+ runId: z.ZodOptional<z.ZodString>;
832
+ verifyStatus: z.ZodOptional<z.ZodEnum<{
833
+ pending: "pending";
834
+ failed: "failed";
835
+ verified: "verified";
836
+ unverifiable: "unverifiable";
837
+ }>>;
838
+ verifyReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
839
+ sourceOrigin: z.ZodOptional<z.ZodEnum<{
840
+ triggered: "triggered";
841
+ "run-remote": "run-remote";
842
+ }>>;
843
+ originOrgId: z.ZodOptional<z.ZodString>;
844
+ attestationOrigin: z.ZodOptional<z.ZodEnum<{
845
+ live: "live";
846
+ deferred: "deferred";
847
+ "offline-backfill": "offline-backfill";
848
+ }>>;
849
+ }, z.core.$strip>>;
850
+ error: z.ZodOptional<z.ZodString>;
851
+ }, z.core.$strip>;
852
+ export type DashboardAttestationGetResponse = z.infer<typeof dashboardAttestationGetResponseSchema>;
853
+ /** Request an on-demand drain of the deferred-attestation outbox (optionally one run). */
854
+ export declare const dashboardAttestationRetryRequestSchema: z.ZodObject<{
855
+ type: z.ZodLiteral<"dashboard.attestation.retry">;
856
+ requestId: z.ZodString;
857
+ actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
858
+ type: z.ZodLiteral<"user">;
859
+ sub: z.ZodString;
860
+ agent: z.ZodOptional<z.ZodObject<{
861
+ patId: z.ZodString;
862
+ label: z.ZodString;
863
+ }, z.core.$strip>>;
864
+ }, z.core.$strip>, z.ZodObject<{
865
+ type: z.ZodLiteral<"api_key">;
866
+ keyId: z.ZodString;
867
+ ownerSub: z.ZodString;
868
+ agent: z.ZodOptional<z.ZodObject<{
869
+ label: z.ZodString;
870
+ }, z.core.$strip>>;
871
+ }, z.core.$strip>, z.ZodObject<{
872
+ type: z.ZodLiteral<"service_account">;
873
+ id: z.ZodString;
874
+ }, z.core.$strip>, z.ZodObject<{
875
+ type: z.ZodLiteral<"platform_operator">;
876
+ sub: z.ZodString;
877
+ reason: z.ZodString;
878
+ sessionId: z.ZodOptional<z.ZodString>;
879
+ }, z.core.$strip>, z.ZodObject<{
880
+ type: z.ZodLiteral<"system">;
881
+ component: z.ZodString;
882
+ }, z.core.$strip>], "type">;
883
+ runId: z.ZodOptional<z.ZodString>;
884
+ }, z.core.$strip>;
885
+ export type DashboardAttestationRetryRequest = z.infer<typeof dashboardAttestationRetryRequestSchema>;
886
+ /** Response with the drain counts. */
887
+ export declare const dashboardAttestationRetryResponseSchema: z.ZodObject<{
888
+ type: z.ZodLiteral<"dashboard.attestation.retry.response">;
889
+ requestId: z.ZodString;
890
+ minted: z.ZodNumber;
891
+ stillPending: z.ZodNumber;
892
+ error: z.ZodOptional<z.ZodString>;
893
+ }, z.core.$strip>;
894
+ export type DashboardAttestationRetryResponse = z.infer<typeof dashboardAttestationRetryResponseSchema>;
332
895
  /**
333
896
  * Run-summary projection from the orchestrator's execution_runs table.
334
897
  *
@@ -350,13 +913,16 @@ export declare const dashboardRunSummarySchema: z.ZodObject<{
350
913
  triggerEvent: z.ZodOptional<z.ZodString>;
351
914
  commitMessage: z.ZodOptional<z.ZodString>;
352
915
  jobCount: z.ZodOptional<z.ZodNumber>;
916
+ environments: z.ZodOptional<z.ZodArray<z.ZodString>>;
353
917
  startedAt: z.ZodOptional<z.ZodString>;
354
918
  completedAt: z.ZodOptional<z.ZodString>;
355
919
  durationMs: z.ZodOptional<z.ZodNumber>;
356
920
  parentRunId: z.ZodOptional<z.ZodString>;
357
921
  originalRunId: z.ZodOptional<z.ZodString>;
358
922
  triggeredBy: z.ZodOptional<z.ZodString>;
923
+ triggeredByAgentLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
359
924
  cancelledBy: z.ZodOptional<z.ZodString>;
925
+ cancelledByAgentLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
360
926
  failureReason: z.ZodOptional<z.ZodString>;
361
927
  hadCompileJob: z.ZodOptional<z.ZodBoolean>;
362
928
  compileJobId: z.ZodOptional<z.ZodString>;
@@ -375,10 +941,17 @@ export declare const dashboardRunsListRequestSchema: z.ZodObject<{
375
941
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
376
942
  type: z.ZodLiteral<"user">;
377
943
  sub: z.ZodString;
944
+ agent: z.ZodOptional<z.ZodObject<{
945
+ patId: z.ZodString;
946
+ label: z.ZodString;
947
+ }, z.core.$strip>>;
378
948
  }, z.core.$strip>, z.ZodObject<{
379
949
  type: z.ZodLiteral<"api_key">;
380
950
  keyId: z.ZodString;
381
951
  ownerSub: z.ZodString;
952
+ agent: z.ZodOptional<z.ZodObject<{
953
+ label: z.ZodString;
954
+ }, z.core.$strip>>;
382
955
  }, z.core.$strip>, z.ZodObject<{
383
956
  type: z.ZodLiteral<"service_account">;
384
957
  id: z.ZodString;
@@ -413,13 +986,16 @@ export declare const dashboardRunsListResponseSchema: z.ZodObject<{
413
986
  triggerEvent: z.ZodOptional<z.ZodString>;
414
987
  commitMessage: z.ZodOptional<z.ZodString>;
415
988
  jobCount: z.ZodOptional<z.ZodNumber>;
989
+ environments: z.ZodOptional<z.ZodArray<z.ZodString>>;
416
990
  startedAt: z.ZodOptional<z.ZodString>;
417
991
  completedAt: z.ZodOptional<z.ZodString>;
418
992
  durationMs: z.ZodOptional<z.ZodNumber>;
419
993
  parentRunId: z.ZodOptional<z.ZodString>;
420
994
  originalRunId: z.ZodOptional<z.ZodString>;
421
995
  triggeredBy: z.ZodOptional<z.ZodString>;
996
+ triggeredByAgentLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
422
997
  cancelledBy: z.ZodOptional<z.ZodString>;
998
+ cancelledByAgentLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
423
999
  failureReason: z.ZodOptional<z.ZodString>;
424
1000
  hadCompileJob: z.ZodOptional<z.ZodBoolean>;
425
1001
  compileJobId: z.ZodOptional<z.ZodString>;
@@ -441,10 +1017,17 @@ export declare const dashboardRunsFiltersRequestSchema: z.ZodObject<{
441
1017
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
442
1018
  type: z.ZodLiteral<"user">;
443
1019
  sub: z.ZodString;
1020
+ agent: z.ZodOptional<z.ZodObject<{
1021
+ patId: z.ZodString;
1022
+ label: z.ZodString;
1023
+ }, z.core.$strip>>;
444
1024
  }, z.core.$strip>, z.ZodObject<{
445
1025
  type: z.ZodLiteral<"api_key">;
446
1026
  keyId: z.ZodString;
447
1027
  ownerSub: z.ZodString;
1028
+ agent: z.ZodOptional<z.ZodObject<{
1029
+ label: z.ZodString;
1030
+ }, z.core.$strip>>;
448
1031
  }, z.core.$strip>, z.ZodObject<{
449
1032
  type: z.ZodLiteral<"service_account">;
450
1033
  id: z.ZodString;
@@ -497,10 +1080,17 @@ export declare const dashboardSourcesListRequestSchema: z.ZodObject<{
497
1080
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
498
1081
  type: z.ZodLiteral<"user">;
499
1082
  sub: z.ZodString;
1083
+ agent: z.ZodOptional<z.ZodObject<{
1084
+ patId: z.ZodString;
1085
+ label: z.ZodString;
1086
+ }, z.core.$strip>>;
500
1087
  }, z.core.$strip>, z.ZodObject<{
501
1088
  type: z.ZodLiteral<"api_key">;
502
1089
  keyId: z.ZodString;
503
1090
  ownerSub: z.ZodString;
1091
+ agent: z.ZodOptional<z.ZodObject<{
1092
+ label: z.ZodString;
1093
+ }, z.core.$strip>>;
504
1094
  }, z.core.$strip>, z.ZodObject<{
505
1095
  type: z.ZodLiteral<"service_account">;
506
1096
  id: z.ZodString;
@@ -545,10 +1135,17 @@ export declare const runRerunRequestSchema: z.ZodObject<{
545
1135
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
546
1136
  type: z.ZodLiteral<"user">;
547
1137
  sub: z.ZodString;
1138
+ agent: z.ZodOptional<z.ZodObject<{
1139
+ patId: z.ZodString;
1140
+ label: z.ZodString;
1141
+ }, z.core.$strip>>;
548
1142
  }, z.core.$strip>, z.ZodObject<{
549
1143
  type: z.ZodLiteral<"api_key">;
550
1144
  keyId: z.ZodString;
551
1145
  ownerSub: z.ZodString;
1146
+ agent: z.ZodOptional<z.ZodObject<{
1147
+ label: z.ZodString;
1148
+ }, z.core.$strip>>;
552
1149
  }, z.core.$strip>, z.ZodObject<{
553
1150
  type: z.ZodLiteral<"service_account">;
554
1151
  id: z.ZodString;
@@ -571,10 +1168,17 @@ export declare const manualScheduleRequestSchema: z.ZodObject<{
571
1168
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
572
1169
  type: z.ZodLiteral<"user">;
573
1170
  sub: z.ZodString;
1171
+ agent: z.ZodOptional<z.ZodObject<{
1172
+ patId: z.ZodString;
1173
+ label: z.ZodString;
1174
+ }, z.core.$strip>>;
574
1175
  }, z.core.$strip>, z.ZodObject<{
575
1176
  type: z.ZodLiteral<"api_key">;
576
1177
  keyId: z.ZodString;
577
1178
  ownerSub: z.ZodString;
1179
+ agent: z.ZodOptional<z.ZodObject<{
1180
+ label: z.ZodString;
1181
+ }, z.core.$strip>>;
578
1182
  }, z.core.$strip>, z.ZodObject<{
579
1183
  type: z.ZodLiteral<"service_account">;
580
1184
  id: z.ZodString;
@@ -588,6 +1192,7 @@ export declare const manualScheduleRequestSchema: z.ZodObject<{
588
1192
  component: z.ZodString;
589
1193
  }, z.core.$strip>], "type">;
590
1194
  registrationId: z.ZodString;
1195
+ triggeredByAgentLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
591
1196
  }, z.core.$strip>;
592
1197
  /** Request to cancel a running run. */
593
1198
  export declare const runCancelRequestSchema: z.ZodObject<{
@@ -596,10 +1201,17 @@ export declare const runCancelRequestSchema: z.ZodObject<{
596
1201
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
597
1202
  type: z.ZodLiteral<"user">;
598
1203
  sub: z.ZodString;
1204
+ agent: z.ZodOptional<z.ZodObject<{
1205
+ patId: z.ZodString;
1206
+ label: z.ZodString;
1207
+ }, z.core.$strip>>;
599
1208
  }, z.core.$strip>, z.ZodObject<{
600
1209
  type: z.ZodLiteral<"api_key">;
601
1210
  keyId: z.ZodString;
602
1211
  ownerSub: z.ZodString;
1212
+ agent: z.ZodOptional<z.ZodObject<{
1213
+ label: z.ZodString;
1214
+ }, z.core.$strip>>;
603
1215
  }, z.core.$strip>, z.ZodObject<{
604
1216
  type: z.ZodLiteral<"service_account">;
605
1217
  id: z.ZodString;
@@ -622,10 +1234,17 @@ export declare const dashboardPayloadRequestSchema: z.ZodObject<{
622
1234
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
623
1235
  type: z.ZodLiteral<"user">;
624
1236
  sub: z.ZodString;
1237
+ agent: z.ZodOptional<z.ZodObject<{
1238
+ patId: z.ZodString;
1239
+ label: z.ZodString;
1240
+ }, z.core.$strip>>;
625
1241
  }, z.core.$strip>, z.ZodObject<{
626
1242
  type: z.ZodLiteral<"api_key">;
627
1243
  keyId: z.ZodString;
628
1244
  ownerSub: z.ZodString;
1245
+ agent: z.ZodOptional<z.ZodObject<{
1246
+ label: z.ZodString;
1247
+ }, z.core.$strip>>;
629
1248
  }, z.core.$strip>, z.ZodObject<{
630
1249
  type: z.ZodLiteral<"service_account">;
631
1250
  id: z.ZodString;
@@ -688,10 +1307,17 @@ export declare const dashboardEventLogListRequestSchema: z.ZodObject<{
688
1307
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
689
1308
  type: z.ZodLiteral<"user">;
690
1309
  sub: z.ZodString;
1310
+ agent: z.ZodOptional<z.ZodObject<{
1311
+ patId: z.ZodString;
1312
+ label: z.ZodString;
1313
+ }, z.core.$strip>>;
691
1314
  }, z.core.$strip>, z.ZodObject<{
692
1315
  type: z.ZodLiteral<"api_key">;
693
1316
  keyId: z.ZodString;
694
1317
  ownerSub: z.ZodString;
1318
+ agent: z.ZodOptional<z.ZodObject<{
1319
+ label: z.ZodString;
1320
+ }, z.core.$strip>>;
695
1321
  }, z.core.$strip>, z.ZodObject<{
696
1322
  type: z.ZodLiteral<"service_account">;
697
1323
  id: z.ZodString;
@@ -767,10 +1393,17 @@ export declare const dashboardEventLogDetailRequestSchema: z.ZodObject<{
767
1393
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
768
1394
  type: z.ZodLiteral<"user">;
769
1395
  sub: z.ZodString;
1396
+ agent: z.ZodOptional<z.ZodObject<{
1397
+ patId: z.ZodString;
1398
+ label: z.ZodString;
1399
+ }, z.core.$strip>>;
770
1400
  }, z.core.$strip>, z.ZodObject<{
771
1401
  type: z.ZodLiteral<"api_key">;
772
1402
  keyId: z.ZodString;
773
1403
  ownerSub: z.ZodString;
1404
+ agent: z.ZodOptional<z.ZodObject<{
1405
+ label: z.ZodString;
1406
+ }, z.core.$strip>>;
774
1407
  }, z.core.$strip>, z.ZodObject<{
775
1408
  type: z.ZodLiteral<"service_account">;
776
1409
  id: z.ZodString;
@@ -865,10 +1498,17 @@ export declare const dashboardEventLogPayloadStreamRequestSchema: z.ZodObject<{
865
1498
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
866
1499
  type: z.ZodLiteral<"user">;
867
1500
  sub: z.ZodString;
1501
+ agent: z.ZodOptional<z.ZodObject<{
1502
+ patId: z.ZodString;
1503
+ label: z.ZodString;
1504
+ }, z.core.$strip>>;
868
1505
  }, z.core.$strip>, z.ZodObject<{
869
1506
  type: z.ZodLiteral<"api_key">;
870
1507
  keyId: z.ZodString;
871
1508
  ownerSub: z.ZodString;
1509
+ agent: z.ZodOptional<z.ZodObject<{
1510
+ label: z.ZodString;
1511
+ }, z.core.$strip>>;
872
1512
  }, z.core.$strip>, z.ZodObject<{
873
1513
  type: z.ZodLiteral<"service_account">;
874
1514
  id: z.ZodString;
@@ -960,10 +1600,17 @@ export declare const dashboardEventDlqListRequestSchema: z.ZodObject<{
960
1600
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
961
1601
  type: z.ZodLiteral<"user">;
962
1602
  sub: z.ZodString;
1603
+ agent: z.ZodOptional<z.ZodObject<{
1604
+ patId: z.ZodString;
1605
+ label: z.ZodString;
1606
+ }, z.core.$strip>>;
963
1607
  }, z.core.$strip>, z.ZodObject<{
964
1608
  type: z.ZodLiteral<"api_key">;
965
1609
  keyId: z.ZodString;
966
1610
  ownerSub: z.ZodString;
1611
+ agent: z.ZodOptional<z.ZodObject<{
1612
+ label: z.ZodString;
1613
+ }, z.core.$strip>>;
967
1614
  }, z.core.$strip>, z.ZodObject<{
968
1615
  type: z.ZodLiteral<"service_account">;
969
1616
  id: z.ZodString;
@@ -1008,10 +1655,17 @@ export declare const dashboardEventDlqCountRequestSchema: z.ZodObject<{
1008
1655
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1009
1656
  type: z.ZodLiteral<"user">;
1010
1657
  sub: z.ZodString;
1658
+ agent: z.ZodOptional<z.ZodObject<{
1659
+ patId: z.ZodString;
1660
+ label: z.ZodString;
1661
+ }, z.core.$strip>>;
1011
1662
  }, z.core.$strip>, z.ZodObject<{
1012
1663
  type: z.ZodLiteral<"api_key">;
1013
1664
  keyId: z.ZodString;
1014
1665
  ownerSub: z.ZodString;
1666
+ agent: z.ZodOptional<z.ZodObject<{
1667
+ label: z.ZodString;
1668
+ }, z.core.$strip>>;
1015
1669
  }, z.core.$strip>, z.ZodObject<{
1016
1670
  type: z.ZodLiteral<"service_account">;
1017
1671
  id: z.ZodString;
@@ -1039,10 +1693,17 @@ export declare const dashboardEventDlqRetryRequestSchema: z.ZodObject<{
1039
1693
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1040
1694
  type: z.ZodLiteral<"user">;
1041
1695
  sub: z.ZodString;
1696
+ agent: z.ZodOptional<z.ZodObject<{
1697
+ patId: z.ZodString;
1698
+ label: z.ZodString;
1699
+ }, z.core.$strip>>;
1042
1700
  }, z.core.$strip>, z.ZodObject<{
1043
1701
  type: z.ZodLiteral<"api_key">;
1044
1702
  keyId: z.ZodString;
1045
1703
  ownerSub: z.ZodString;
1704
+ agent: z.ZodOptional<z.ZodObject<{
1705
+ label: z.ZodString;
1706
+ }, z.core.$strip>>;
1046
1707
  }, z.core.$strip>, z.ZodObject<{
1047
1708
  type: z.ZodLiteral<"service_account">;
1048
1709
  id: z.ZodString;
@@ -1071,10 +1732,17 @@ export declare const dashboardEventDlqDiscardRequestSchema: z.ZodObject<{
1071
1732
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1072
1733
  type: z.ZodLiteral<"user">;
1073
1734
  sub: z.ZodString;
1735
+ agent: z.ZodOptional<z.ZodObject<{
1736
+ patId: z.ZodString;
1737
+ label: z.ZodString;
1738
+ }, z.core.$strip>>;
1074
1739
  }, z.core.$strip>, z.ZodObject<{
1075
1740
  type: z.ZodLiteral<"api_key">;
1076
1741
  keyId: z.ZodString;
1077
1742
  ownerSub: z.ZodString;
1743
+ agent: z.ZodOptional<z.ZodObject<{
1744
+ label: z.ZodString;
1745
+ }, z.core.$strip>>;
1078
1746
  }, z.core.$strip>, z.ZodObject<{
1079
1747
  type: z.ZodLiteral<"service_account">;
1080
1748
  id: z.ZodString;
@@ -1103,10 +1771,17 @@ export declare const envListRequestSchema: z.ZodObject<{
1103
1771
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1104
1772
  type: z.ZodLiteral<"user">;
1105
1773
  sub: z.ZodString;
1774
+ agent: z.ZodOptional<z.ZodObject<{
1775
+ patId: z.ZodString;
1776
+ label: z.ZodString;
1777
+ }, z.core.$strip>>;
1106
1778
  }, z.core.$strip>, z.ZodObject<{
1107
1779
  type: z.ZodLiteral<"api_key">;
1108
1780
  keyId: z.ZodString;
1109
1781
  ownerSub: z.ZodString;
1782
+ agent: z.ZodOptional<z.ZodObject<{
1783
+ label: z.ZodString;
1784
+ }, z.core.$strip>>;
1110
1785
  }, z.core.$strip>, z.ZodObject<{
1111
1786
  type: z.ZodLiteral<"service_account">;
1112
1787
  id: z.ZodString;
@@ -1129,8 +1804,8 @@ declare const envListResponseSchema: z.ZodObject<{
1129
1804
  id: z.ZodString;
1130
1805
  name: z.ZodString;
1131
1806
  type: z.ZodEnum<{
1132
- glob: "glob";
1133
1807
  fixed: "fixed";
1808
+ glob: "glob";
1134
1809
  }>;
1135
1810
  globPattern: z.ZodNullable<z.ZodString>;
1136
1811
  enabled: z.ZodBoolean;
@@ -1148,10 +1823,17 @@ export declare const envGetRequestSchema: z.ZodObject<{
1148
1823
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1149
1824
  type: z.ZodLiteral<"user">;
1150
1825
  sub: z.ZodString;
1826
+ agent: z.ZodOptional<z.ZodObject<{
1827
+ patId: z.ZodString;
1828
+ label: z.ZodString;
1829
+ }, z.core.$strip>>;
1151
1830
  }, z.core.$strip>, z.ZodObject<{
1152
1831
  type: z.ZodLiteral<"api_key">;
1153
1832
  keyId: z.ZodString;
1154
1833
  ownerSub: z.ZodString;
1834
+ agent: z.ZodOptional<z.ZodObject<{
1835
+ label: z.ZodString;
1836
+ }, z.core.$strip>>;
1155
1837
  }, z.core.$strip>, z.ZodObject<{
1156
1838
  type: z.ZodLiteral<"service_account">;
1157
1839
  id: z.ZodString;
@@ -1173,8 +1855,8 @@ declare const envGetResponseSchema: z.ZodObject<{
1173
1855
  id: z.ZodString;
1174
1856
  name: z.ZodString;
1175
1857
  type: z.ZodEnum<{
1176
- glob: "glob";
1177
1858
  fixed: "fixed";
1859
+ glob: "glob";
1178
1860
  }>;
1179
1861
  globPattern: z.ZodNullable<z.ZodString>;
1180
1862
  branchRestrictions: z.ZodNullable<z.ZodArray<z.ZodString>>;
@@ -1200,10 +1882,17 @@ export declare const envCreateRequestSchema: z.ZodObject<{
1200
1882
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1201
1883
  type: z.ZodLiteral<"user">;
1202
1884
  sub: z.ZodString;
1885
+ agent: z.ZodOptional<z.ZodObject<{
1886
+ patId: z.ZodString;
1887
+ label: z.ZodString;
1888
+ }, z.core.$strip>>;
1203
1889
  }, z.core.$strip>, z.ZodObject<{
1204
1890
  type: z.ZodLiteral<"api_key">;
1205
1891
  keyId: z.ZodString;
1206
1892
  ownerSub: z.ZodString;
1893
+ agent: z.ZodOptional<z.ZodObject<{
1894
+ label: z.ZodString;
1895
+ }, z.core.$strip>>;
1207
1896
  }, z.core.$strip>, z.ZodObject<{
1208
1897
  type: z.ZodLiteral<"service_account">;
1209
1898
  id: z.ZodString;
@@ -1218,8 +1907,8 @@ export declare const envCreateRequestSchema: z.ZodObject<{
1218
1907
  }, z.core.$strip>], "type">;
1219
1908
  name: z.ZodString;
1220
1909
  envType: z.ZodEnum<{
1221
- glob: "glob";
1222
1910
  fixed: "fixed";
1911
+ glob: "glob";
1223
1912
  }>;
1224
1913
  globPattern: z.ZodOptional<z.ZodString>;
1225
1914
  branchRestrictions: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -1240,10 +1929,17 @@ export declare const envUpdateRequestSchema: z.ZodObject<{
1240
1929
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1241
1930
  type: z.ZodLiteral<"user">;
1242
1931
  sub: z.ZodString;
1932
+ agent: z.ZodOptional<z.ZodObject<{
1933
+ patId: z.ZodString;
1934
+ label: z.ZodString;
1935
+ }, z.core.$strip>>;
1243
1936
  }, z.core.$strip>, z.ZodObject<{
1244
1937
  type: z.ZodLiteral<"api_key">;
1245
1938
  keyId: z.ZodString;
1246
1939
  ownerSub: z.ZodString;
1940
+ agent: z.ZodOptional<z.ZodObject<{
1941
+ label: z.ZodString;
1942
+ }, z.core.$strip>>;
1247
1943
  }, z.core.$strip>, z.ZodObject<{
1248
1944
  type: z.ZodLiteral<"service_account">;
1249
1945
  id: z.ZodString;
@@ -1260,8 +1956,8 @@ export declare const envUpdateRequestSchema: z.ZodObject<{
1260
1956
  updates: z.ZodObject<{
1261
1957
  name: z.ZodOptional<z.ZodString>;
1262
1958
  envType: z.ZodOptional<z.ZodEnum<{
1263
- glob: "glob";
1264
1959
  fixed: "fixed";
1960
+ glob: "glob";
1265
1961
  }>>;
1266
1962
  globPattern: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1267
1963
  branchRestrictions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
@@ -1283,10 +1979,17 @@ export declare const envTestAccessSetRequestSchema: z.ZodObject<{
1283
1979
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1284
1980
  type: z.ZodLiteral<"user">;
1285
1981
  sub: z.ZodString;
1982
+ agent: z.ZodOptional<z.ZodObject<{
1983
+ patId: z.ZodString;
1984
+ label: z.ZodString;
1985
+ }, z.core.$strip>>;
1286
1986
  }, z.core.$strip>, z.ZodObject<{
1287
1987
  type: z.ZodLiteral<"api_key">;
1288
1988
  keyId: z.ZodString;
1289
1989
  ownerSub: z.ZodString;
1990
+ agent: z.ZodOptional<z.ZodObject<{
1991
+ label: z.ZodString;
1992
+ }, z.core.$strip>>;
1290
1993
  }, z.core.$strip>, z.ZodObject<{
1291
1994
  type: z.ZodLiteral<"service_account">;
1292
1995
  id: z.ZodString;
@@ -1309,10 +2012,17 @@ export declare const envDeleteRequestSchema: z.ZodObject<{
1309
2012
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1310
2013
  type: z.ZodLiteral<"user">;
1311
2014
  sub: z.ZodString;
2015
+ agent: z.ZodOptional<z.ZodObject<{
2016
+ patId: z.ZodString;
2017
+ label: z.ZodString;
2018
+ }, z.core.$strip>>;
1312
2019
  }, z.core.$strip>, z.ZodObject<{
1313
2020
  type: z.ZodLiteral<"api_key">;
1314
2021
  keyId: z.ZodString;
1315
2022
  ownerSub: z.ZodString;
2023
+ agent: z.ZodOptional<z.ZodObject<{
2024
+ label: z.ZodString;
2025
+ }, z.core.$strip>>;
1316
2026
  }, z.core.$strip>, z.ZodObject<{
1317
2027
  type: z.ZodLiteral<"service_account">;
1318
2028
  id: z.ZodString;
@@ -1348,10 +2058,17 @@ export declare const envVarsListRequestSchema: z.ZodObject<{
1348
2058
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1349
2059
  type: z.ZodLiteral<"user">;
1350
2060
  sub: z.ZodString;
2061
+ agent: z.ZodOptional<z.ZodObject<{
2062
+ patId: z.ZodString;
2063
+ label: z.ZodString;
2064
+ }, z.core.$strip>>;
1351
2065
  }, z.core.$strip>, z.ZodObject<{
1352
2066
  type: z.ZodLiteral<"api_key">;
1353
2067
  keyId: z.ZodString;
1354
2068
  ownerSub: z.ZodString;
2069
+ agent: z.ZodOptional<z.ZodObject<{
2070
+ label: z.ZodString;
2071
+ }, z.core.$strip>>;
1355
2072
  }, z.core.$strip>, z.ZodObject<{
1356
2073
  type: z.ZodLiteral<"service_account">;
1357
2074
  id: z.ZodString;
@@ -1383,10 +2100,17 @@ export declare const envVarSetRequestSchema: z.ZodObject<{
1383
2100
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1384
2101
  type: z.ZodLiteral<"user">;
1385
2102
  sub: z.ZodString;
2103
+ agent: z.ZodOptional<z.ZodObject<{
2104
+ patId: z.ZodString;
2105
+ label: z.ZodString;
2106
+ }, z.core.$strip>>;
1386
2107
  }, z.core.$strip>, z.ZodObject<{
1387
2108
  type: z.ZodLiteral<"api_key">;
1388
2109
  keyId: z.ZodString;
1389
2110
  ownerSub: z.ZodString;
2111
+ agent: z.ZodOptional<z.ZodObject<{
2112
+ label: z.ZodString;
2113
+ }, z.core.$strip>>;
1390
2114
  }, z.core.$strip>, z.ZodObject<{
1391
2115
  type: z.ZodLiteral<"service_account">;
1392
2116
  id: z.ZodString;
@@ -1411,10 +2135,17 @@ export declare const envVarDeleteRequestSchema: z.ZodObject<{
1411
2135
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1412
2136
  type: z.ZodLiteral<"user">;
1413
2137
  sub: z.ZodString;
2138
+ agent: z.ZodOptional<z.ZodObject<{
2139
+ patId: z.ZodString;
2140
+ label: z.ZodString;
2141
+ }, z.core.$strip>>;
1414
2142
  }, z.core.$strip>, z.ZodObject<{
1415
2143
  type: z.ZodLiteral<"api_key">;
1416
2144
  keyId: z.ZodString;
1417
2145
  ownerSub: z.ZodString;
2146
+ agent: z.ZodOptional<z.ZodObject<{
2147
+ label: z.ZodString;
2148
+ }, z.core.$strip>>;
1418
2149
  }, z.core.$strip>, z.ZodObject<{
1419
2150
  type: z.ZodLiteral<"service_account">;
1420
2151
  id: z.ZodString;
@@ -1437,10 +2168,17 @@ export declare const envSourceOverridesListRequestSchema: z.ZodObject<{
1437
2168
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1438
2169
  type: z.ZodLiteral<"user">;
1439
2170
  sub: z.ZodString;
2171
+ agent: z.ZodOptional<z.ZodObject<{
2172
+ patId: z.ZodString;
2173
+ label: z.ZodString;
2174
+ }, z.core.$strip>>;
1440
2175
  }, z.core.$strip>, z.ZodObject<{
1441
2176
  type: z.ZodLiteral<"api_key">;
1442
2177
  keyId: z.ZodString;
1443
2178
  ownerSub: z.ZodString;
2179
+ agent: z.ZodOptional<z.ZodObject<{
2180
+ label: z.ZodString;
2181
+ }, z.core.$strip>>;
1444
2182
  }, z.core.$strip>, z.ZodObject<{
1445
2183
  type: z.ZodLiteral<"service_account">;
1446
2184
  id: z.ZodString;
@@ -1463,10 +2201,17 @@ export declare const envSourceOverrideSetRequestSchema: z.ZodObject<{
1463
2201
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1464
2202
  type: z.ZodLiteral<"user">;
1465
2203
  sub: z.ZodString;
2204
+ agent: z.ZodOptional<z.ZodObject<{
2205
+ patId: z.ZodString;
2206
+ label: z.ZodString;
2207
+ }, z.core.$strip>>;
1466
2208
  }, z.core.$strip>, z.ZodObject<{
1467
2209
  type: z.ZodLiteral<"api_key">;
1468
2210
  keyId: z.ZodString;
1469
2211
  ownerSub: z.ZodString;
2212
+ agent: z.ZodOptional<z.ZodObject<{
2213
+ label: z.ZodString;
2214
+ }, z.core.$strip>>;
1470
2215
  }, z.core.$strip>, z.ZodObject<{
1471
2216
  type: z.ZodLiteral<"service_account">;
1472
2217
  id: z.ZodString;
@@ -1491,10 +2236,17 @@ export declare const envSourceOverrideDeleteRequestSchema: z.ZodObject<{
1491
2236
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1492
2237
  type: z.ZodLiteral<"user">;
1493
2238
  sub: z.ZodString;
2239
+ agent: z.ZodOptional<z.ZodObject<{
2240
+ patId: z.ZodString;
2241
+ label: z.ZodString;
2242
+ }, z.core.$strip>>;
1494
2243
  }, z.core.$strip>, z.ZodObject<{
1495
2244
  type: z.ZodLiteral<"api_key">;
1496
2245
  keyId: z.ZodString;
1497
2246
  ownerSub: z.ZodString;
2247
+ agent: z.ZodOptional<z.ZodObject<{
2248
+ label: z.ZodString;
2249
+ }, z.core.$strip>>;
1498
2250
  }, z.core.$strip>, z.ZodObject<{
1499
2251
  type: z.ZodLiteral<"service_account">;
1500
2252
  id: z.ZodString;
@@ -1528,10 +2280,17 @@ export declare const envBindingsListRequestSchema: z.ZodObject<{
1528
2280
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1529
2281
  type: z.ZodLiteral<"user">;
1530
2282
  sub: z.ZodString;
2283
+ agent: z.ZodOptional<z.ZodObject<{
2284
+ patId: z.ZodString;
2285
+ label: z.ZodString;
2286
+ }, z.core.$strip>>;
1531
2287
  }, z.core.$strip>, z.ZodObject<{
1532
2288
  type: z.ZodLiteral<"api_key">;
1533
2289
  keyId: z.ZodString;
1534
2290
  ownerSub: z.ZodString;
2291
+ agent: z.ZodOptional<z.ZodObject<{
2292
+ label: z.ZodString;
2293
+ }, z.core.$strip>>;
1535
2294
  }, z.core.$strip>, z.ZodObject<{
1536
2295
  type: z.ZodLiteral<"service_account">;
1537
2296
  id: z.ZodString;
@@ -1553,10 +2312,17 @@ export declare const envBindingsSetRequestSchema: z.ZodObject<{
1553
2312
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1554
2313
  type: z.ZodLiteral<"user">;
1555
2314
  sub: z.ZodString;
2315
+ agent: z.ZodOptional<z.ZodObject<{
2316
+ patId: z.ZodString;
2317
+ label: z.ZodString;
2318
+ }, z.core.$strip>>;
1556
2319
  }, z.core.$strip>, z.ZodObject<{
1557
2320
  type: z.ZodLiteral<"api_key">;
1558
2321
  keyId: z.ZodString;
1559
2322
  ownerSub: z.ZodString;
2323
+ agent: z.ZodOptional<z.ZodObject<{
2324
+ label: z.ZodString;
2325
+ }, z.core.$strip>>;
1560
2326
  }, z.core.$strip>, z.ZodObject<{
1561
2327
  type: z.ZodLiteral<"service_account">;
1562
2328
  id: z.ZodString;
@@ -1582,10 +2348,17 @@ export declare const envSecretsListRequestSchema: z.ZodObject<{
1582
2348
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1583
2349
  type: z.ZodLiteral<"user">;
1584
2350
  sub: z.ZodString;
2351
+ agent: z.ZodOptional<z.ZodObject<{
2352
+ patId: z.ZodString;
2353
+ label: z.ZodString;
2354
+ }, z.core.$strip>>;
1585
2355
  }, z.core.$strip>, z.ZodObject<{
1586
2356
  type: z.ZodLiteral<"api_key">;
1587
2357
  keyId: z.ZodString;
1588
2358
  ownerSub: z.ZodString;
2359
+ agent: z.ZodOptional<z.ZodObject<{
2360
+ label: z.ZodString;
2361
+ }, z.core.$strip>>;
1589
2362
  }, z.core.$strip>, z.ZodObject<{
1590
2363
  type: z.ZodLiteral<"service_account">;
1591
2364
  id: z.ZodString;
@@ -1606,10 +2379,17 @@ export declare const envSecretSetRequestSchema: z.ZodObject<{
1606
2379
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1607
2380
  type: z.ZodLiteral<"user">;
1608
2381
  sub: z.ZodString;
2382
+ agent: z.ZodOptional<z.ZodObject<{
2383
+ patId: z.ZodString;
2384
+ label: z.ZodString;
2385
+ }, z.core.$strip>>;
1609
2386
  }, z.core.$strip>, z.ZodObject<{
1610
2387
  type: z.ZodLiteral<"api_key">;
1611
2388
  keyId: z.ZodString;
1612
2389
  ownerSub: z.ZodString;
2390
+ agent: z.ZodOptional<z.ZodObject<{
2391
+ label: z.ZodString;
2392
+ }, z.core.$strip>>;
1613
2393
  }, z.core.$strip>, z.ZodObject<{
1614
2394
  type: z.ZodLiteral<"service_account">;
1615
2395
  id: z.ZodString;
@@ -1633,10 +2413,17 @@ export declare const envSecretDeleteRequestSchema: z.ZodObject<{
1633
2413
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1634
2414
  type: z.ZodLiteral<"user">;
1635
2415
  sub: z.ZodString;
2416
+ agent: z.ZodOptional<z.ZodObject<{
2417
+ patId: z.ZodString;
2418
+ label: z.ZodString;
2419
+ }, z.core.$strip>>;
1636
2420
  }, z.core.$strip>, z.ZodObject<{
1637
2421
  type: z.ZodLiteral<"api_key">;
1638
2422
  keyId: z.ZodString;
1639
2423
  ownerSub: z.ZodString;
2424
+ agent: z.ZodOptional<z.ZodObject<{
2425
+ label: z.ZodString;
2426
+ }, z.core.$strip>>;
1640
2427
  }, z.core.$strip>, z.ZodObject<{
1641
2428
  type: z.ZodLiteral<"service_account">;
1642
2429
  id: z.ZodString;
@@ -1659,10 +2446,17 @@ export declare const envSecretScopeCreateRequestSchema: z.ZodObject<{
1659
2446
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1660
2447
  type: z.ZodLiteral<"user">;
1661
2448
  sub: z.ZodString;
2449
+ agent: z.ZodOptional<z.ZodObject<{
2450
+ patId: z.ZodString;
2451
+ label: z.ZodString;
2452
+ }, z.core.$strip>>;
1662
2453
  }, z.core.$strip>, z.ZodObject<{
1663
2454
  type: z.ZodLiteral<"api_key">;
1664
2455
  keyId: z.ZodString;
1665
2456
  ownerSub: z.ZodString;
2457
+ agent: z.ZodOptional<z.ZodObject<{
2458
+ label: z.ZodString;
2459
+ }, z.core.$strip>>;
1666
2460
  }, z.core.$strip>, z.ZodObject<{
1667
2461
  type: z.ZodLiteral<"service_account">;
1668
2462
  id: z.ZodString;
@@ -1684,10 +2478,17 @@ export declare const envSecretScopeRenameRequestSchema: z.ZodObject<{
1684
2478
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1685
2479
  type: z.ZodLiteral<"user">;
1686
2480
  sub: z.ZodString;
2481
+ agent: z.ZodOptional<z.ZodObject<{
2482
+ patId: z.ZodString;
2483
+ label: z.ZodString;
2484
+ }, z.core.$strip>>;
1687
2485
  }, z.core.$strip>, z.ZodObject<{
1688
2486
  type: z.ZodLiteral<"api_key">;
1689
2487
  keyId: z.ZodString;
1690
2488
  ownerSub: z.ZodString;
2489
+ agent: z.ZodOptional<z.ZodObject<{
2490
+ label: z.ZodString;
2491
+ }, z.core.$strip>>;
1691
2492
  }, z.core.$strip>, z.ZodObject<{
1692
2493
  type: z.ZodLiteral<"service_account">;
1693
2494
  id: z.ZodString;
@@ -1710,10 +2511,17 @@ export declare const envSecretScopeDeleteRequestSchema: z.ZodObject<{
1710
2511
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1711
2512
  type: z.ZodLiteral<"user">;
1712
2513
  sub: z.ZodString;
2514
+ agent: z.ZodOptional<z.ZodObject<{
2515
+ patId: z.ZodString;
2516
+ label: z.ZodString;
2517
+ }, z.core.$strip>>;
1713
2518
  }, z.core.$strip>, z.ZodObject<{
1714
2519
  type: z.ZodLiteral<"api_key">;
1715
2520
  keyId: z.ZodString;
1716
2521
  ownerSub: z.ZodString;
2522
+ agent: z.ZodOptional<z.ZodObject<{
2523
+ label: z.ZodString;
2524
+ }, z.core.$strip>>;
1717
2525
  }, z.core.$strip>, z.ZodObject<{
1718
2526
  type: z.ZodLiteral<"service_account">;
1719
2527
  id: z.ZodString;
@@ -1728,17 +2536,24 @@ export declare const envSecretScopeDeleteRequestSchema: z.ZodObject<{
1728
2536
  }, z.core.$strip>], "type">;
1729
2537
  scope: z.ZodString;
1730
2538
  }, z.core.$strip>;
1731
- /** Fetch runs that targeted a specific environment. */
2539
+ /** Fetch runs that targeted a specific environment, keyed by environment id. */
1732
2540
  export declare const envHistoryRequestSchema: z.ZodObject<{
1733
2541
  type: z.ZodLiteral<"dashboard.environments.history">;
1734
2542
  requestId: z.ZodString;
1735
2543
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1736
2544
  type: z.ZodLiteral<"user">;
1737
2545
  sub: z.ZodString;
2546
+ agent: z.ZodOptional<z.ZodObject<{
2547
+ patId: z.ZodString;
2548
+ label: z.ZodString;
2549
+ }, z.core.$strip>>;
1738
2550
  }, z.core.$strip>, z.ZodObject<{
1739
2551
  type: z.ZodLiteral<"api_key">;
1740
2552
  keyId: z.ZodString;
1741
2553
  ownerSub: z.ZodString;
2554
+ agent: z.ZodOptional<z.ZodObject<{
2555
+ label: z.ZodString;
2556
+ }, z.core.$strip>>;
1742
2557
  }, z.core.$strip>, z.ZodObject<{
1743
2558
  type: z.ZodLiteral<"service_account">;
1744
2559
  id: z.ZodString;
@@ -1751,15 +2566,15 @@ export declare const envHistoryRequestSchema: z.ZodObject<{
1751
2566
  type: z.ZodLiteral<"system">;
1752
2567
  component: z.ZodString;
1753
2568
  }, z.core.$strip>], "type">;
1754
- environmentName: z.ZodString;
2569
+ environmentId: z.ZodString;
1755
2570
  limit: z.ZodOptional<z.ZodNumber>;
1756
2571
  offset: z.ZodOptional<z.ZodNumber>;
1757
2572
  }, z.core.$strip>;
1758
2573
  /** Status values for held runs (approval queue). */
1759
2574
  export declare const HeldRunStatus: z.ZodEnum<{
1760
2575
  pending: "pending";
1761
- rejected: "rejected";
1762
2576
  approved: "approved";
2577
+ rejected: "rejected";
1763
2578
  expired: "expired";
1764
2579
  }>;
1765
2580
  export type HeldRunStatus = z.infer<typeof HeldRunStatus>;
@@ -1776,10 +2591,17 @@ export declare const heldRunsListRequestSchema: z.ZodObject<{
1776
2591
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1777
2592
  type: z.ZodLiteral<"user">;
1778
2593
  sub: z.ZodString;
2594
+ agent: z.ZodOptional<z.ZodObject<{
2595
+ patId: z.ZodString;
2596
+ label: z.ZodString;
2597
+ }, z.core.$strip>>;
1779
2598
  }, z.core.$strip>, z.ZodObject<{
1780
2599
  type: z.ZodLiteral<"api_key">;
1781
2600
  keyId: z.ZodString;
1782
2601
  ownerSub: z.ZodString;
2602
+ agent: z.ZodOptional<z.ZodObject<{
2603
+ label: z.ZodString;
2604
+ }, z.core.$strip>>;
1783
2605
  }, z.core.$strip>, z.ZodObject<{
1784
2606
  type: z.ZodLiteral<"service_account">;
1785
2607
  id: z.ZodString;
@@ -1794,8 +2616,8 @@ export declare const heldRunsListRequestSchema: z.ZodObject<{
1794
2616
  }, z.core.$strip>], "type">;
1795
2617
  status: z.ZodOptional<z.ZodEnum<{
1796
2618
  pending: "pending";
1797
- rejected: "rejected";
1798
2619
  approved: "approved";
2620
+ rejected: "rejected";
1799
2621
  expired: "expired";
1800
2622
  }>>;
1801
2623
  queueType: z.ZodOptional<z.ZodEnum<{
@@ -1803,6 +2625,7 @@ export declare const heldRunsListRequestSchema: z.ZodObject<{
1803
2625
  security: "security";
1804
2626
  }>>;
1805
2627
  runId: z.ZodOptional<z.ZodString>;
2628
+ orgId: z.ZodOptional<z.ZodString>;
1806
2629
  }, z.core.$strip>;
1807
2630
  declare const heldRunsListResponseSchema: z.ZodObject<{
1808
2631
  type: z.ZodLiteral<"dashboard.held-runs.list.response">;
@@ -1819,8 +2642,8 @@ declare const heldRunsListResponseSchema: z.ZodObject<{
1819
2642
  }>;
1820
2643
  status: z.ZodEnum<{
1821
2644
  pending: "pending";
1822
- rejected: "rejected";
1823
2645
  approved: "approved";
2646
+ rejected: "rejected";
1824
2647
  expired: "expired";
1825
2648
  }>;
1826
2649
  requestedAt: z.ZodCoercedString<unknown>;
@@ -1832,9 +2655,9 @@ declare const heldRunsListResponseSchema: z.ZodObject<{
1832
2655
  trustTier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1833
2656
  jobId: z.ZodOptional<z.ZodString>;
1834
2657
  holdScope: z.ZodOptional<z.ZodEnum<{
2658
+ workflow: "workflow";
1835
2659
  job: "job";
1836
2660
  step: "step";
1837
- workflow: "workflow";
1838
2661
  }>>;
1839
2662
  stepIndex: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1840
2663
  requirement: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -1872,10 +2695,17 @@ export declare const heldRunApproveRequestSchema: z.ZodObject<{
1872
2695
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1873
2696
  type: z.ZodLiteral<"user">;
1874
2697
  sub: z.ZodString;
2698
+ agent: z.ZodOptional<z.ZodObject<{
2699
+ patId: z.ZodString;
2700
+ label: z.ZodString;
2701
+ }, z.core.$strip>>;
1875
2702
  }, z.core.$strip>, z.ZodObject<{
1876
2703
  type: z.ZodLiteral<"api_key">;
1877
2704
  keyId: z.ZodString;
1878
2705
  ownerSub: z.ZodString;
2706
+ agent: z.ZodOptional<z.ZodObject<{
2707
+ label: z.ZodString;
2708
+ }, z.core.$strip>>;
1879
2709
  }, z.core.$strip>, z.ZodObject<{
1880
2710
  type: z.ZodLiteral<"service_account">;
1881
2711
  id: z.ZodString;
@@ -1890,6 +2720,7 @@ export declare const heldRunApproveRequestSchema: z.ZodObject<{
1890
2720
  }, z.core.$strip>], "type">;
1891
2721
  heldRunId: z.ZodString;
1892
2722
  autoApprove: z.ZodOptional<z.ZodBoolean>;
2723
+ orgId: z.ZodOptional<z.ZodString>;
1893
2724
  }, z.core.$strip>;
1894
2725
  /** Reject a held run. */
1895
2726
  export declare const heldRunRejectRequestSchema: z.ZodObject<{
@@ -1898,10 +2729,17 @@ export declare const heldRunRejectRequestSchema: z.ZodObject<{
1898
2729
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1899
2730
  type: z.ZodLiteral<"user">;
1900
2731
  sub: z.ZodString;
2732
+ agent: z.ZodOptional<z.ZodObject<{
2733
+ patId: z.ZodString;
2734
+ label: z.ZodString;
2735
+ }, z.core.$strip>>;
1901
2736
  }, z.core.$strip>, z.ZodObject<{
1902
2737
  type: z.ZodLiteral<"api_key">;
1903
2738
  keyId: z.ZodString;
1904
2739
  ownerSub: z.ZodString;
2740
+ agent: z.ZodOptional<z.ZodObject<{
2741
+ label: z.ZodString;
2742
+ }, z.core.$strip>>;
1905
2743
  }, z.core.$strip>, z.ZodObject<{
1906
2744
  type: z.ZodLiteral<"service_account">;
1907
2745
  id: z.ZodString;
@@ -1916,6 +2754,7 @@ export declare const heldRunRejectRequestSchema: z.ZodObject<{
1916
2754
  }, z.core.$strip>], "type">;
1917
2755
  heldRunId: z.ZodString;
1918
2756
  reason: z.ZodOptional<z.ZodString>;
2757
+ orgId: z.ZodOptional<z.ZodString>;
1919
2758
  }, z.core.$strip>;
1920
2759
  /** Request diagnostics info (orchestrator metadata + agent list) from orchestrator. */
1921
2760
  export declare const dashboardDiagnosticsRequestSchema: z.ZodObject<{
@@ -1924,10 +2763,17 @@ export declare const dashboardDiagnosticsRequestSchema: z.ZodObject<{
1924
2763
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1925
2764
  type: z.ZodLiteral<"user">;
1926
2765
  sub: z.ZodString;
2766
+ agent: z.ZodOptional<z.ZodObject<{
2767
+ patId: z.ZodString;
2768
+ label: z.ZodString;
2769
+ }, z.core.$strip>>;
1927
2770
  }, z.core.$strip>, z.ZodObject<{
1928
2771
  type: z.ZodLiteral<"api_key">;
1929
2772
  keyId: z.ZodString;
1930
2773
  ownerSub: z.ZodString;
2774
+ agent: z.ZodOptional<z.ZodObject<{
2775
+ label: z.ZodString;
2776
+ }, z.core.$strip>>;
1931
2777
  }, z.core.$strip>, z.ZodObject<{
1932
2778
  type: z.ZodLiteral<"service_account">;
1933
2779
  id: z.ZodString;
@@ -1990,10 +2836,17 @@ export declare const dashboardFleetHostsRequestSchema: z.ZodObject<{
1990
2836
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1991
2837
  type: z.ZodLiteral<"user">;
1992
2838
  sub: z.ZodString;
2839
+ agent: z.ZodOptional<z.ZodObject<{
2840
+ patId: z.ZodString;
2841
+ label: z.ZodString;
2842
+ }, z.core.$strip>>;
1993
2843
  }, z.core.$strip>, z.ZodObject<{
1994
2844
  type: z.ZodLiteral<"api_key">;
1995
2845
  keyId: z.ZodString;
1996
2846
  ownerSub: z.ZodString;
2847
+ agent: z.ZodOptional<z.ZodObject<{
2848
+ label: z.ZodString;
2849
+ }, z.core.$strip>>;
1997
2850
  }, z.core.$strip>, z.ZodObject<{
1998
2851
  type: z.ZodLiteral<"service_account">;
1999
2852
  id: z.ZodString;
@@ -2013,10 +2866,17 @@ export declare const dashboardFleetHostRequestSchema: z.ZodObject<{
2013
2866
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2014
2867
  type: z.ZodLiteral<"user">;
2015
2868
  sub: z.ZodString;
2869
+ agent: z.ZodOptional<z.ZodObject<{
2870
+ patId: z.ZodString;
2871
+ label: z.ZodString;
2872
+ }, z.core.$strip>>;
2016
2873
  }, z.core.$strip>, z.ZodObject<{
2017
2874
  type: z.ZodLiteral<"api_key">;
2018
2875
  keyId: z.ZodString;
2019
2876
  ownerSub: z.ZodString;
2877
+ agent: z.ZodOptional<z.ZodObject<{
2878
+ label: z.ZodString;
2879
+ }, z.core.$strip>>;
2020
2880
  }, z.core.$strip>, z.ZodObject<{
2021
2881
  type: z.ZodLiteral<"service_account">;
2022
2882
  id: z.ZodString;
@@ -2037,10 +2897,17 @@ export declare const dashboardFleetPreviewRequestSchema: z.ZodObject<{
2037
2897
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2038
2898
  type: z.ZodLiteral<"user">;
2039
2899
  sub: z.ZodString;
2900
+ agent: z.ZodOptional<z.ZodObject<{
2901
+ patId: z.ZodString;
2902
+ label: z.ZodString;
2903
+ }, z.core.$strip>>;
2040
2904
  }, z.core.$strip>, z.ZodObject<{
2041
2905
  type: z.ZodLiteral<"api_key">;
2042
2906
  keyId: z.ZodString;
2043
2907
  ownerSub: z.ZodString;
2908
+ agent: z.ZodOptional<z.ZodObject<{
2909
+ label: z.ZodString;
2910
+ }, z.core.$strip>>;
2044
2911
  }, z.core.$strip>, z.ZodObject<{
2045
2912
  type: z.ZodLiteral<"service_account">;
2046
2913
  id: z.ZodString;
@@ -2134,9 +3001,9 @@ export declare const dashboardFleetPreviewResponseSchema: z.ZodObject<{
2134
3001
  }>;
2135
3002
  }, z.core.$strip>>;
2136
3003
  onUnreachable: z.ZodEnum<{
3004
+ hold: "hold";
2137
3005
  skip: "skip";
2138
3006
  fail: "fail";
2139
- hold: "hold";
2140
3007
  }>;
2141
3008
  estimatedChildCount: z.ZodNumber;
2142
3009
  }, z.core.$strip>;
@@ -2153,10 +3020,17 @@ export declare const dashboardFleetWorkflowsForHostRequestSchema: z.ZodObject<{
2153
3020
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2154
3021
  type: z.ZodLiteral<"user">;
2155
3022
  sub: z.ZodString;
3023
+ agent: z.ZodOptional<z.ZodObject<{
3024
+ patId: z.ZodString;
3025
+ label: z.ZodString;
3026
+ }, z.core.$strip>>;
2156
3027
  }, z.core.$strip>, z.ZodObject<{
2157
3028
  type: z.ZodLiteral<"api_key">;
2158
3029
  keyId: z.ZodString;
2159
3030
  ownerSub: z.ZodString;
3031
+ agent: z.ZodOptional<z.ZodObject<{
3032
+ label: z.ZodString;
3033
+ }, z.core.$strip>>;
2160
3034
  }, z.core.$strip>, z.ZodObject<{
2161
3035
  type: z.ZodLiteral<"service_account">;
2162
3036
  id: z.ZodString;
@@ -2177,9 +3051,9 @@ export declare const fleetHostWorkflowSchema: z.ZodObject<{
2177
3051
  repoIdentifier: z.ZodString;
2178
3052
  sourceFile: z.ZodNullable<z.ZodString>;
2179
3053
  onUnreachable: z.ZodEnum<{
3054
+ hold: "hold";
2180
3055
  skip: "skip";
2181
3056
  fail: "fail";
2182
- hold: "hold";
2183
3057
  }>;
2184
3058
  disposition: z.ZodEnum<{
2185
3059
  target: "target";
@@ -2196,9 +3070,9 @@ export declare const dashboardFleetWorkflowsForHostResponseSchema: z.ZodObject<{
2196
3070
  repoIdentifier: z.ZodString;
2197
3071
  sourceFile: z.ZodNullable<z.ZodString>;
2198
3072
  onUnreachable: z.ZodEnum<{
3073
+ hold: "hold";
2199
3074
  skip: "skip";
2200
3075
  fail: "fail";
2201
- hold: "hold";
2202
3076
  }>;
2203
3077
  disposition: z.ZodEnum<{
2204
3078
  target: "target";
@@ -2216,10 +3090,17 @@ export declare const fleetHostDeclareRequestSchema: z.ZodObject<{
2216
3090
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2217
3091
  type: z.ZodLiteral<"user">;
2218
3092
  sub: z.ZodString;
3093
+ agent: z.ZodOptional<z.ZodObject<{
3094
+ patId: z.ZodString;
3095
+ label: z.ZodString;
3096
+ }, z.core.$strip>>;
2219
3097
  }, z.core.$strip>, z.ZodObject<{
2220
3098
  type: z.ZodLiteral<"api_key">;
2221
3099
  keyId: z.ZodString;
2222
3100
  ownerSub: z.ZodString;
3101
+ agent: z.ZodOptional<z.ZodObject<{
3102
+ label: z.ZodString;
3103
+ }, z.core.$strip>>;
2223
3104
  }, z.core.$strip>, z.ZodObject<{
2224
3105
  type: z.ZodLiteral<"service_account">;
2225
3106
  id: z.ZodString;
@@ -2251,10 +3132,17 @@ export declare const fleetHostRemoveRequestSchema: z.ZodObject<{
2251
3132
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2252
3133
  type: z.ZodLiteral<"user">;
2253
3134
  sub: z.ZodString;
3135
+ agent: z.ZodOptional<z.ZodObject<{
3136
+ patId: z.ZodString;
3137
+ label: z.ZodString;
3138
+ }, z.core.$strip>>;
2254
3139
  }, z.core.$strip>, z.ZodObject<{
2255
3140
  type: z.ZodLiteral<"api_key">;
2256
3141
  keyId: z.ZodString;
2257
3142
  ownerSub: z.ZodString;
3143
+ agent: z.ZodOptional<z.ZodObject<{
3144
+ label: z.ZodString;
3145
+ }, z.core.$strip>>;
2258
3146
  }, z.core.$strip>, z.ZodObject<{
2259
3147
  type: z.ZodLiteral<"service_account">;
2260
3148
  id: z.ZodString;
@@ -2320,8 +3208,8 @@ declare const diagnosticsPeerSchema: z.ZodObject<{
2320
3208
  dependencyHealth: z.ZodOptional<z.ZodArray<z.ZodObject<{
2321
3209
  name: z.ZodString;
2322
3210
  status: z.ZodEnum<{
2323
- fail: "fail";
2324
3211
  pass: "pass";
3212
+ fail: "fail";
2325
3213
  warn: "warn";
2326
3214
  }>;
2327
3215
  message: z.ZodNullable<z.ZodString>;
@@ -2445,8 +3333,8 @@ export declare const dashboardDiagnosticsResponseSchema: z.ZodObject<{
2445
3333
  dependencyHealth: z.ZodOptional<z.ZodArray<z.ZodObject<{
2446
3334
  name: z.ZodString;
2447
3335
  status: z.ZodEnum<{
2448
- fail: "fail";
2449
3336
  pass: "pass";
3337
+ fail: "fail";
2450
3338
  warn: "warn";
2451
3339
  }>;
2452
3340
  message: z.ZodNullable<z.ZodString>;
@@ -2465,10 +3353,17 @@ export declare const dashboardScalerCapacityRequestSchema: z.ZodObject<{
2465
3353
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2466
3354
  type: z.ZodLiteral<"user">;
2467
3355
  sub: z.ZodString;
3356
+ agent: z.ZodOptional<z.ZodObject<{
3357
+ patId: z.ZodString;
3358
+ label: z.ZodString;
3359
+ }, z.core.$strip>>;
2468
3360
  }, z.core.$strip>, z.ZodObject<{
2469
3361
  type: z.ZodLiteral<"api_key">;
2470
3362
  keyId: z.ZodString;
2471
3363
  ownerSub: z.ZodString;
3364
+ agent: z.ZodOptional<z.ZodObject<{
3365
+ label: z.ZodString;
3366
+ }, z.core.$strip>>;
2472
3367
  }, z.core.$strip>, z.ZodObject<{
2473
3368
  type: z.ZodLiteral<"service_account">;
2474
3369
  id: z.ZodString;
@@ -2502,10 +3397,17 @@ export declare const dashboardScalerAgentsRequestSchema: z.ZodObject<{
2502
3397
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2503
3398
  type: z.ZodLiteral<"user">;
2504
3399
  sub: z.ZodString;
3400
+ agent: z.ZodOptional<z.ZodObject<{
3401
+ patId: z.ZodString;
3402
+ label: z.ZodString;
3403
+ }, z.core.$strip>>;
2505
3404
  }, z.core.$strip>, z.ZodObject<{
2506
3405
  type: z.ZodLiteral<"api_key">;
2507
3406
  keyId: z.ZodString;
2508
3407
  ownerSub: z.ZodString;
3408
+ agent: z.ZodOptional<z.ZodObject<{
3409
+ label: z.ZodString;
3410
+ }, z.core.$strip>>;
2509
3411
  }, z.core.$strip>, z.ZodObject<{
2510
3412
  type: z.ZodLiteral<"service_account">;
2511
3413
  id: z.ZodString;
@@ -2557,10 +3459,17 @@ export declare const registrationDisableRequestSchema: z.ZodObject<{
2557
3459
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2558
3460
  type: z.ZodLiteral<"user">;
2559
3461
  sub: z.ZodString;
3462
+ agent: z.ZodOptional<z.ZodObject<{
3463
+ patId: z.ZodString;
3464
+ label: z.ZodString;
3465
+ }, z.core.$strip>>;
2560
3466
  }, z.core.$strip>, z.ZodObject<{
2561
3467
  type: z.ZodLiteral<"api_key">;
2562
3468
  keyId: z.ZodString;
2563
3469
  ownerSub: z.ZodString;
3470
+ agent: z.ZodOptional<z.ZodObject<{
3471
+ label: z.ZodString;
3472
+ }, z.core.$strip>>;
2564
3473
  }, z.core.$strip>, z.ZodObject<{
2565
3474
  type: z.ZodLiteral<"service_account">;
2566
3475
  id: z.ZodString;
@@ -2583,10 +3492,17 @@ export declare const registrationDeleteRequestSchema: z.ZodObject<{
2583
3492
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2584
3493
  type: z.ZodLiteral<"user">;
2585
3494
  sub: z.ZodString;
3495
+ agent: z.ZodOptional<z.ZodObject<{
3496
+ patId: z.ZodString;
3497
+ label: z.ZodString;
3498
+ }, z.core.$strip>>;
2586
3499
  }, z.core.$strip>, z.ZodObject<{
2587
3500
  type: z.ZodLiteral<"api_key">;
2588
3501
  keyId: z.ZodString;
2589
3502
  ownerSub: z.ZodString;
3503
+ agent: z.ZodOptional<z.ZodObject<{
3504
+ label: z.ZodString;
3505
+ }, z.core.$strip>>;
2590
3506
  }, z.core.$strip>, z.ZodObject<{
2591
3507
  type: z.ZodLiteral<"service_account">;
2592
3508
  id: z.ZodString;
@@ -2609,10 +3525,17 @@ export declare const registrationsListRequestSchema: z.ZodObject<{
2609
3525
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2610
3526
  type: z.ZodLiteral<"user">;
2611
3527
  sub: z.ZodString;
3528
+ agent: z.ZodOptional<z.ZodObject<{
3529
+ patId: z.ZodString;
3530
+ label: z.ZodString;
3531
+ }, z.core.$strip>>;
2612
3532
  }, z.core.$strip>, z.ZodObject<{
2613
3533
  type: z.ZodLiteral<"api_key">;
2614
3534
  keyId: z.ZodString;
2615
3535
  ownerSub: z.ZodString;
3536
+ agent: z.ZodOptional<z.ZodObject<{
3537
+ label: z.ZodString;
3538
+ }, z.core.$strip>>;
2616
3539
  }, z.core.$strip>, z.ZodObject<{
2617
3540
  type: z.ZodLiteral<"service_account">;
2618
3541
  id: z.ZodString;
@@ -2696,10 +3619,17 @@ export declare const backendsListRequestSchema: z.ZodObject<{
2696
3619
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2697
3620
  type: z.ZodLiteral<"user">;
2698
3621
  sub: z.ZodString;
3622
+ agent: z.ZodOptional<z.ZodObject<{
3623
+ patId: z.ZodString;
3624
+ label: z.ZodString;
3625
+ }, z.core.$strip>>;
2699
3626
  }, z.core.$strip>, z.ZodObject<{
2700
3627
  type: z.ZodLiteral<"api_key">;
2701
3628
  keyId: z.ZodString;
2702
3629
  ownerSub: z.ZodString;
3630
+ agent: z.ZodOptional<z.ZodObject<{
3631
+ label: z.ZodString;
3632
+ }, z.core.$strip>>;
2703
3633
  }, z.core.$strip>, z.ZodObject<{
2704
3634
  type: z.ZodLiteral<"service_account">;
2705
3635
  id: z.ZodString;
@@ -2773,10 +3703,17 @@ export declare const backendGetRequestSchema: z.ZodObject<{
2773
3703
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2774
3704
  type: z.ZodLiteral<"user">;
2775
3705
  sub: z.ZodString;
3706
+ agent: z.ZodOptional<z.ZodObject<{
3707
+ patId: z.ZodString;
3708
+ label: z.ZodString;
3709
+ }, z.core.$strip>>;
2776
3710
  }, z.core.$strip>, z.ZodObject<{
2777
3711
  type: z.ZodLiteral<"api_key">;
2778
3712
  keyId: z.ZodString;
2779
3713
  ownerSub: z.ZodString;
3714
+ agent: z.ZodOptional<z.ZodObject<{
3715
+ label: z.ZodString;
3716
+ }, z.core.$strip>>;
2780
3717
  }, z.core.$strip>, z.ZodObject<{
2781
3718
  type: z.ZodLiteral<"service_account">;
2782
3719
  id: z.ZodString;
@@ -2827,10 +3764,17 @@ export declare const backendsSyncAllRequestSchema: z.ZodObject<{
2827
3764
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2828
3765
  type: z.ZodLiteral<"user">;
2829
3766
  sub: z.ZodString;
3767
+ agent: z.ZodOptional<z.ZodObject<{
3768
+ patId: z.ZodString;
3769
+ label: z.ZodString;
3770
+ }, z.core.$strip>>;
2830
3771
  }, z.core.$strip>, z.ZodObject<{
2831
3772
  type: z.ZodLiteral<"api_key">;
2832
3773
  keyId: z.ZodString;
2833
3774
  ownerSub: z.ZodString;
3775
+ agent: z.ZodOptional<z.ZodObject<{
3776
+ label: z.ZodString;
3777
+ }, z.core.$strip>>;
2834
3778
  }, z.core.$strip>, z.ZodObject<{
2835
3779
  type: z.ZodLiteral<"service_account">;
2836
3780
  id: z.ZodString;
@@ -2858,10 +3802,17 @@ export declare const backendSyncRequestSchema: z.ZodObject<{
2858
3802
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2859
3803
  type: z.ZodLiteral<"user">;
2860
3804
  sub: z.ZodString;
3805
+ agent: z.ZodOptional<z.ZodObject<{
3806
+ patId: z.ZodString;
3807
+ label: z.ZodString;
3808
+ }, z.core.$strip>>;
2861
3809
  }, z.core.$strip>, z.ZodObject<{
2862
3810
  type: z.ZodLiteral<"api_key">;
2863
3811
  keyId: z.ZodString;
2864
3812
  ownerSub: z.ZodString;
3813
+ agent: z.ZodOptional<z.ZodObject<{
3814
+ label: z.ZodString;
3815
+ }, z.core.$strip>>;
2865
3816
  }, z.core.$strip>, z.ZodObject<{
2866
3817
  type: z.ZodLiteral<"service_account">;
2867
3818
  id: z.ZodString;
@@ -2891,10 +3842,17 @@ export declare const backendTestRequestSchema: z.ZodObject<{
2891
3842
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2892
3843
  type: z.ZodLiteral<"user">;
2893
3844
  sub: z.ZodString;
3845
+ agent: z.ZodOptional<z.ZodObject<{
3846
+ patId: z.ZodString;
3847
+ label: z.ZodString;
3848
+ }, z.core.$strip>>;
2894
3849
  }, z.core.$strip>, z.ZodObject<{
2895
3850
  type: z.ZodLiteral<"api_key">;
2896
3851
  keyId: z.ZodString;
2897
3852
  ownerSub: z.ZodString;
3853
+ agent: z.ZodOptional<z.ZodObject<{
3854
+ label: z.ZodString;
3855
+ }, z.core.$strip>>;
2898
3856
  }, z.core.$strip>, z.ZodObject<{
2899
3857
  type: z.ZodLiteral<"service_account">;
2900
3858
  id: z.ZodString;
@@ -2933,10 +3891,17 @@ export declare const testRelayUploadsInitRequestSchema: z.ZodObject<{
2933
3891
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2934
3892
  type: z.ZodLiteral<"user">;
2935
3893
  sub: z.ZodString;
3894
+ agent: z.ZodOptional<z.ZodObject<{
3895
+ patId: z.ZodString;
3896
+ label: z.ZodString;
3897
+ }, z.core.$strip>>;
2936
3898
  }, z.core.$strip>, z.ZodObject<{
2937
3899
  type: z.ZodLiteral<"api_key">;
2938
3900
  keyId: z.ZodString;
2939
3901
  ownerSub: z.ZodString;
3902
+ agent: z.ZodOptional<z.ZodObject<{
3903
+ label: z.ZodString;
3904
+ }, z.core.$strip>>;
2940
3905
  }, z.core.$strip>, z.ZodObject<{
2941
3906
  type: z.ZodLiteral<"service_account">;
2942
3907
  id: z.ZodString;
@@ -2973,10 +3938,17 @@ export declare const testRelayTriggerRequestSchema: z.ZodObject<{
2973
3938
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2974
3939
  type: z.ZodLiteral<"user">;
2975
3940
  sub: z.ZodString;
3941
+ agent: z.ZodOptional<z.ZodObject<{
3942
+ patId: z.ZodString;
3943
+ label: z.ZodString;
3944
+ }, z.core.$strip>>;
2976
3945
  }, z.core.$strip>, z.ZodObject<{
2977
3946
  type: z.ZodLiteral<"api_key">;
2978
3947
  keyId: z.ZodString;
2979
3948
  ownerSub: z.ZodString;
3949
+ agent: z.ZodOptional<z.ZodObject<{
3950
+ label: z.ZodString;
3951
+ }, z.core.$strip>>;
2980
3952
  }, z.core.$strip>, z.ZodObject<{
2981
3953
  type: z.ZodLiteral<"service_account">;
2982
3954
  id: z.ZodString;
@@ -3042,11 +4014,12 @@ export declare const testRelayTriggerResponseSchema: z.ZodObject<{
3042
4014
  requestId: z.ZodString;
3043
4015
  runId: z.ZodOptional<z.ZodString>;
3044
4016
  status: z.ZodOptional<z.ZodEnum<{
3045
- accepted: "accepted";
3046
4017
  rejected: "rejected";
4018
+ accepted: "accepted";
3047
4019
  }>>;
3048
4020
  reason: z.ZodOptional<z.ZodString>;
3049
4021
  jobIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
4022
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
3050
4023
  error: z.ZodOptional<z.ZodString>;
3051
4024
  }, z.core.$strip>;
3052
4025
  export type TestRelayTriggerResponse = z.infer<typeof testRelayTriggerResponseSchema>;
@@ -3057,10 +4030,17 @@ export declare const testRelayRunStatusRequestSchema: z.ZodObject<{
3057
4030
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3058
4031
  type: z.ZodLiteral<"user">;
3059
4032
  sub: z.ZodString;
4033
+ agent: z.ZodOptional<z.ZodObject<{
4034
+ patId: z.ZodString;
4035
+ label: z.ZodString;
4036
+ }, z.core.$strip>>;
3060
4037
  }, z.core.$strip>, z.ZodObject<{
3061
4038
  type: z.ZodLiteral<"api_key">;
3062
4039
  keyId: z.ZodString;
3063
4040
  ownerSub: z.ZodString;
4041
+ agent: z.ZodOptional<z.ZodObject<{
4042
+ label: z.ZodString;
4043
+ }, z.core.$strip>>;
3064
4044
  }, z.core.$strip>, z.ZodObject<{
3065
4045
  type: z.ZodLiteral<"service_account">;
3066
4046
  id: z.ZodString;
@@ -3100,10 +4080,17 @@ export declare const testRelayRunLogsRequestSchema: z.ZodObject<{
3100
4080
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3101
4081
  type: z.ZodLiteral<"user">;
3102
4082
  sub: z.ZodString;
4083
+ agent: z.ZodOptional<z.ZodObject<{
4084
+ patId: z.ZodString;
4085
+ label: z.ZodString;
4086
+ }, z.core.$strip>>;
3103
4087
  }, z.core.$strip>, z.ZodObject<{
3104
4088
  type: z.ZodLiteral<"api_key">;
3105
4089
  keyId: z.ZodString;
3106
4090
  ownerSub: z.ZodString;
4091
+ agent: z.ZodOptional<z.ZodObject<{
4092
+ label: z.ZodString;
4093
+ }, z.core.$strip>>;
3107
4094
  }, z.core.$strip>, z.ZodObject<{
3108
4095
  type: z.ZodLiteral<"service_account">;
3109
4096
  id: z.ZodString;
@@ -3137,10 +4124,17 @@ export declare const testRelayCancelRequestSchema: z.ZodObject<{
3137
4124
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3138
4125
  type: z.ZodLiteral<"user">;
3139
4126
  sub: z.ZodString;
4127
+ agent: z.ZodOptional<z.ZodObject<{
4128
+ patId: z.ZodString;
4129
+ label: z.ZodString;
4130
+ }, z.core.$strip>>;
3140
4131
  }, z.core.$strip>, z.ZodObject<{
3141
4132
  type: z.ZodLiteral<"api_key">;
3142
4133
  keyId: z.ZodString;
3143
4134
  ownerSub: z.ZodString;
4135
+ agent: z.ZodOptional<z.ZodObject<{
4136
+ label: z.ZodString;
4137
+ }, z.core.$strip>>;
3144
4138
  }, z.core.$strip>, z.ZodObject<{
3145
4139
  type: z.ZodLiteral<"service_account">;
3146
4140
  id: z.ZodString;
@@ -3174,10 +4168,47 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3174
4168
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3175
4169
  type: z.ZodLiteral<"user">;
3176
4170
  sub: z.ZodString;
4171
+ agent: z.ZodOptional<z.ZodObject<{
4172
+ patId: z.ZodString;
4173
+ label: z.ZodString;
4174
+ }, z.core.$strip>>;
4175
+ }, z.core.$strip>, z.ZodObject<{
4176
+ type: z.ZodLiteral<"api_key">;
4177
+ keyId: z.ZodString;
4178
+ ownerSub: z.ZodString;
4179
+ agent: z.ZodOptional<z.ZodObject<{
4180
+ label: z.ZodString;
4181
+ }, z.core.$strip>>;
4182
+ }, z.core.$strip>, z.ZodObject<{
4183
+ type: z.ZodLiteral<"service_account">;
4184
+ id: z.ZodString;
4185
+ }, z.core.$strip>, z.ZodObject<{
4186
+ type: z.ZodLiteral<"platform_operator">;
4187
+ sub: z.ZodString;
4188
+ reason: z.ZodString;
4189
+ sessionId: z.ZodOptional<z.ZodString>;
4190
+ }, z.core.$strip>, z.ZodObject<{
4191
+ type: z.ZodLiteral<"system">;
4192
+ component: z.ZodString;
4193
+ }, z.core.$strip>], "type">;
4194
+ runId: z.ZodString;
4195
+ }, z.core.$strip>, z.ZodObject<{
4196
+ type: z.ZodLiteral<"dashboard.run.structured">;
4197
+ requestId: z.ZodString;
4198
+ actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4199
+ type: z.ZodLiteral<"user">;
4200
+ sub: z.ZodString;
4201
+ agent: z.ZodOptional<z.ZodObject<{
4202
+ patId: z.ZodString;
4203
+ label: z.ZodString;
4204
+ }, z.core.$strip>>;
3177
4205
  }, z.core.$strip>, z.ZodObject<{
3178
4206
  type: z.ZodLiteral<"api_key">;
3179
4207
  keyId: z.ZodString;
3180
4208
  ownerSub: z.ZodString;
4209
+ agent: z.ZodOptional<z.ZodObject<{
4210
+ label: z.ZodString;
4211
+ }, z.core.$strip>>;
3181
4212
  }, z.core.$strip>, z.ZodObject<{
3182
4213
  type: z.ZodLiteral<"service_account">;
3183
4214
  id: z.ZodString;
@@ -3197,10 +4228,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3197
4228
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3198
4229
  type: z.ZodLiteral<"user">;
3199
4230
  sub: z.ZodString;
4231
+ agent: z.ZodOptional<z.ZodObject<{
4232
+ patId: z.ZodString;
4233
+ label: z.ZodString;
4234
+ }, z.core.$strip>>;
3200
4235
  }, z.core.$strip>, z.ZodObject<{
3201
4236
  type: z.ZodLiteral<"api_key">;
3202
4237
  keyId: z.ZodString;
3203
4238
  ownerSub: z.ZodString;
4239
+ agent: z.ZodOptional<z.ZodObject<{
4240
+ label: z.ZodString;
4241
+ }, z.core.$strip>>;
3204
4242
  }, z.core.$strip>, z.ZodObject<{
3205
4243
  type: z.ZodLiteral<"service_account">;
3206
4244
  id: z.ZodString;
@@ -3216,16 +4254,25 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3216
4254
  runId: z.ZodString;
3217
4255
  jobId: z.ZodString;
3218
4256
  stepIndex: z.ZodNumber;
4257
+ cursor: z.ZodOptional<z.ZodString>;
4258
+ limit: z.ZodOptional<z.ZodNumber>;
3219
4259
  }, z.core.$strip>, z.ZodObject<{
3220
4260
  type: z.ZodLiteral<"dashboard.attestations.list">;
3221
4261
  requestId: z.ZodString;
3222
4262
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3223
4263
  type: z.ZodLiteral<"user">;
3224
4264
  sub: z.ZodString;
4265
+ agent: z.ZodOptional<z.ZodObject<{
4266
+ patId: z.ZodString;
4267
+ label: z.ZodString;
4268
+ }, z.core.$strip>>;
3225
4269
  }, z.core.$strip>, z.ZodObject<{
3226
4270
  type: z.ZodLiteral<"api_key">;
3227
4271
  keyId: z.ZodString;
3228
4272
  ownerSub: z.ZodString;
4273
+ agent: z.ZodOptional<z.ZodObject<{
4274
+ label: z.ZodString;
4275
+ }, z.core.$strip>>;
3229
4276
  }, z.core.$strip>, z.ZodObject<{
3230
4277
  type: z.ZodLiteral<"service_account">;
3231
4278
  id: z.ZodString;
@@ -3239,16 +4286,129 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3239
4286
  component: z.ZodString;
3240
4287
  }, z.core.$strip>], "type">;
3241
4288
  runId: z.ZodString;
4289
+ }, z.core.$strip>, z.ZodObject<{
4290
+ type: z.ZodLiteral<"dashboard.attestations.list.all">;
4291
+ requestId: z.ZodString;
4292
+ actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4293
+ type: z.ZodLiteral<"user">;
4294
+ sub: z.ZodString;
4295
+ agent: z.ZodOptional<z.ZodObject<{
4296
+ patId: z.ZodString;
4297
+ label: z.ZodString;
4298
+ }, z.core.$strip>>;
4299
+ }, z.core.$strip>, z.ZodObject<{
4300
+ type: z.ZodLiteral<"api_key">;
4301
+ keyId: z.ZodString;
4302
+ ownerSub: z.ZodString;
4303
+ agent: z.ZodOptional<z.ZodObject<{
4304
+ label: z.ZodString;
4305
+ }, z.core.$strip>>;
4306
+ }, z.core.$strip>, z.ZodObject<{
4307
+ type: z.ZodLiteral<"service_account">;
4308
+ id: z.ZodString;
4309
+ }, z.core.$strip>, z.ZodObject<{
4310
+ type: z.ZodLiteral<"platform_operator">;
4311
+ sub: z.ZodString;
4312
+ reason: z.ZodString;
4313
+ sessionId: z.ZodOptional<z.ZodString>;
4314
+ }, z.core.$strip>, z.ZodObject<{
4315
+ type: z.ZodLiteral<"system">;
4316
+ component: z.ZodString;
4317
+ }, z.core.$strip>], "type">;
4318
+ page: z.ZodNumber;
4319
+ sort: z.ZodOptional<z.ZodString>;
4320
+ filters: z.ZodDefault<z.ZodObject<{
4321
+ digest: z.ZodOptional<z.ZodString>;
4322
+ name: z.ZodOptional<z.ZodString>;
4323
+ status: z.ZodOptional<z.ZodEnum<{
4324
+ pending: "pending";
4325
+ failed: "failed";
4326
+ verified: "verified";
4327
+ unverifiable: "unverifiable";
4328
+ }>>;
4329
+ repository: z.ZodOptional<z.ZodString>;
4330
+ workflow: z.ZodOptional<z.ZodString>;
4331
+ job: z.ZodOptional<z.ZodString>;
4332
+ createdAfter: z.ZodOptional<z.ZodString>;
4333
+ createdBefore: z.ZodOptional<z.ZodString>;
4334
+ }, z.core.$strip>>;
4335
+ }, z.core.$strip>, z.ZodObject<{
4336
+ type: z.ZodLiteral<"dashboard.attestation.get">;
4337
+ requestId: z.ZodString;
4338
+ actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4339
+ type: z.ZodLiteral<"user">;
4340
+ sub: z.ZodString;
4341
+ agent: z.ZodOptional<z.ZodObject<{
4342
+ patId: z.ZodString;
4343
+ label: z.ZodString;
4344
+ }, z.core.$strip>>;
4345
+ }, z.core.$strip>, z.ZodObject<{
4346
+ type: z.ZodLiteral<"api_key">;
4347
+ keyId: z.ZodString;
4348
+ ownerSub: z.ZodString;
4349
+ agent: z.ZodOptional<z.ZodObject<{
4350
+ label: z.ZodString;
4351
+ }, z.core.$strip>>;
4352
+ }, z.core.$strip>, z.ZodObject<{
4353
+ type: z.ZodLiteral<"service_account">;
4354
+ id: z.ZodString;
4355
+ }, z.core.$strip>, z.ZodObject<{
4356
+ type: z.ZodLiteral<"platform_operator">;
4357
+ sub: z.ZodString;
4358
+ reason: z.ZodString;
4359
+ sessionId: z.ZodOptional<z.ZodString>;
4360
+ }, z.core.$strip>, z.ZodObject<{
4361
+ type: z.ZodLiteral<"system">;
4362
+ component: z.ZodString;
4363
+ }, z.core.$strip>], "type">;
4364
+ attestationId: z.ZodString;
4365
+ }, z.core.$strip>, z.ZodObject<{
4366
+ type: z.ZodLiteral<"dashboard.attestation.retry">;
4367
+ requestId: z.ZodString;
4368
+ actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4369
+ type: z.ZodLiteral<"user">;
4370
+ sub: z.ZodString;
4371
+ agent: z.ZodOptional<z.ZodObject<{
4372
+ patId: z.ZodString;
4373
+ label: z.ZodString;
4374
+ }, z.core.$strip>>;
4375
+ }, z.core.$strip>, z.ZodObject<{
4376
+ type: z.ZodLiteral<"api_key">;
4377
+ keyId: z.ZodString;
4378
+ ownerSub: z.ZodString;
4379
+ agent: z.ZodOptional<z.ZodObject<{
4380
+ label: z.ZodString;
4381
+ }, z.core.$strip>>;
4382
+ }, z.core.$strip>, z.ZodObject<{
4383
+ type: z.ZodLiteral<"service_account">;
4384
+ id: z.ZodString;
4385
+ }, z.core.$strip>, z.ZodObject<{
4386
+ type: z.ZodLiteral<"platform_operator">;
4387
+ sub: z.ZodString;
4388
+ reason: z.ZodString;
4389
+ sessionId: z.ZodOptional<z.ZodString>;
4390
+ }, z.core.$strip>, z.ZodObject<{
4391
+ type: z.ZodLiteral<"system">;
4392
+ component: z.ZodString;
4393
+ }, z.core.$strip>], "type">;
4394
+ runId: z.ZodOptional<z.ZodString>;
3242
4395
  }, z.core.$strip>, z.ZodObject<{
3243
4396
  type: z.ZodLiteral<"dashboard.runs.list">;
3244
4397
  requestId: z.ZodString;
3245
4398
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3246
4399
  type: z.ZodLiteral<"user">;
3247
4400
  sub: z.ZodString;
4401
+ agent: z.ZodOptional<z.ZodObject<{
4402
+ patId: z.ZodString;
4403
+ label: z.ZodString;
4404
+ }, z.core.$strip>>;
3248
4405
  }, z.core.$strip>, z.ZodObject<{
3249
4406
  type: z.ZodLiteral<"api_key">;
3250
4407
  keyId: z.ZodString;
3251
4408
  ownerSub: z.ZodString;
4409
+ agent: z.ZodOptional<z.ZodObject<{
4410
+ label: z.ZodString;
4411
+ }, z.core.$strip>>;
3252
4412
  }, z.core.$strip>, z.ZodObject<{
3253
4413
  type: z.ZodLiteral<"service_account">;
3254
4414
  id: z.ZodString;
@@ -3269,10 +4429,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3269
4429
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3270
4430
  type: z.ZodLiteral<"user">;
3271
4431
  sub: z.ZodString;
4432
+ agent: z.ZodOptional<z.ZodObject<{
4433
+ patId: z.ZodString;
4434
+ label: z.ZodString;
4435
+ }, z.core.$strip>>;
3272
4436
  }, z.core.$strip>, z.ZodObject<{
3273
4437
  type: z.ZodLiteral<"api_key">;
3274
4438
  keyId: z.ZodString;
3275
4439
  ownerSub: z.ZodString;
4440
+ agent: z.ZodOptional<z.ZodObject<{
4441
+ label: z.ZodString;
4442
+ }, z.core.$strip>>;
3276
4443
  }, z.core.$strip>, z.ZodObject<{
3277
4444
  type: z.ZodLiteral<"service_account">;
3278
4445
  id: z.ZodString;
@@ -3291,10 +4458,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3291
4458
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3292
4459
  type: z.ZodLiteral<"user">;
3293
4460
  sub: z.ZodString;
4461
+ agent: z.ZodOptional<z.ZodObject<{
4462
+ patId: z.ZodString;
4463
+ label: z.ZodString;
4464
+ }, z.core.$strip>>;
3294
4465
  }, z.core.$strip>, z.ZodObject<{
3295
4466
  type: z.ZodLiteral<"api_key">;
3296
4467
  keyId: z.ZodString;
3297
4468
  ownerSub: z.ZodString;
4469
+ agent: z.ZodOptional<z.ZodObject<{
4470
+ label: z.ZodString;
4471
+ }, z.core.$strip>>;
3298
4472
  }, z.core.$strip>, z.ZodObject<{
3299
4473
  type: z.ZodLiteral<"service_account">;
3300
4474
  id: z.ZodString;
@@ -3315,10 +4489,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3315
4489
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3316
4490
  type: z.ZodLiteral<"user">;
3317
4491
  sub: z.ZodString;
4492
+ agent: z.ZodOptional<z.ZodObject<{
4493
+ patId: z.ZodString;
4494
+ label: z.ZodString;
4495
+ }, z.core.$strip>>;
3318
4496
  }, z.core.$strip>, z.ZodObject<{
3319
4497
  type: z.ZodLiteral<"api_key">;
3320
4498
  keyId: z.ZodString;
3321
4499
  ownerSub: z.ZodString;
4500
+ agent: z.ZodOptional<z.ZodObject<{
4501
+ label: z.ZodString;
4502
+ }, z.core.$strip>>;
3322
4503
  }, z.core.$strip>, z.ZodObject<{
3323
4504
  type: z.ZodLiteral<"service_account">;
3324
4505
  id: z.ZodString;
@@ -3339,10 +4520,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3339
4520
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3340
4521
  type: z.ZodLiteral<"user">;
3341
4522
  sub: z.ZodString;
4523
+ agent: z.ZodOptional<z.ZodObject<{
4524
+ patId: z.ZodString;
4525
+ label: z.ZodString;
4526
+ }, z.core.$strip>>;
3342
4527
  }, z.core.$strip>, z.ZodObject<{
3343
4528
  type: z.ZodLiteral<"api_key">;
3344
4529
  keyId: z.ZodString;
3345
4530
  ownerSub: z.ZodString;
4531
+ agent: z.ZodOptional<z.ZodObject<{
4532
+ label: z.ZodString;
4533
+ }, z.core.$strip>>;
3346
4534
  }, z.core.$strip>, z.ZodObject<{
3347
4535
  type: z.ZodLiteral<"service_account">;
3348
4536
  id: z.ZodString;
@@ -3356,16 +4544,24 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3356
4544
  component: z.ZodString;
3357
4545
  }, z.core.$strip>], "type">;
3358
4546
  registrationId: z.ZodString;
4547
+ triggeredByAgentLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3359
4548
  }, z.core.$strip>, z.ZodObject<{
3360
4549
  type: z.ZodLiteral<"run.cancel.request">;
3361
4550
  requestId: z.ZodString;
3362
4551
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3363
4552
  type: z.ZodLiteral<"user">;
3364
4553
  sub: z.ZodString;
4554
+ agent: z.ZodOptional<z.ZodObject<{
4555
+ patId: z.ZodString;
4556
+ label: z.ZodString;
4557
+ }, z.core.$strip>>;
3365
4558
  }, z.core.$strip>, z.ZodObject<{
3366
4559
  type: z.ZodLiteral<"api_key">;
3367
4560
  keyId: z.ZodString;
3368
4561
  ownerSub: z.ZodString;
4562
+ agent: z.ZodOptional<z.ZodObject<{
4563
+ label: z.ZodString;
4564
+ }, z.core.$strip>>;
3369
4565
  }, z.core.$strip>, z.ZodObject<{
3370
4566
  type: z.ZodLiteral<"service_account">;
3371
4567
  id: z.ZodString;
@@ -3386,10 +4582,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3386
4582
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3387
4583
  type: z.ZodLiteral<"user">;
3388
4584
  sub: z.ZodString;
4585
+ agent: z.ZodOptional<z.ZodObject<{
4586
+ patId: z.ZodString;
4587
+ label: z.ZodString;
4588
+ }, z.core.$strip>>;
3389
4589
  }, z.core.$strip>, z.ZodObject<{
3390
4590
  type: z.ZodLiteral<"api_key">;
3391
4591
  keyId: z.ZodString;
3392
4592
  ownerSub: z.ZodString;
4593
+ agent: z.ZodOptional<z.ZodObject<{
4594
+ label: z.ZodString;
4595
+ }, z.core.$strip>>;
3393
4596
  }, z.core.$strip>, z.ZodObject<{
3394
4597
  type: z.ZodLiteral<"service_account">;
3395
4598
  id: z.ZodString;
@@ -3409,10 +4612,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3409
4612
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3410
4613
  type: z.ZodLiteral<"user">;
3411
4614
  sub: z.ZodString;
4615
+ agent: z.ZodOptional<z.ZodObject<{
4616
+ patId: z.ZodString;
4617
+ label: z.ZodString;
4618
+ }, z.core.$strip>>;
3412
4619
  }, z.core.$strip>, z.ZodObject<{
3413
4620
  type: z.ZodLiteral<"api_key">;
3414
4621
  keyId: z.ZodString;
3415
4622
  ownerSub: z.ZodString;
4623
+ agent: z.ZodOptional<z.ZodObject<{
4624
+ label: z.ZodString;
4625
+ }, z.core.$strip>>;
3416
4626
  }, z.core.$strip>, z.ZodObject<{
3417
4627
  type: z.ZodLiteral<"service_account">;
3418
4628
  id: z.ZodString;
@@ -3433,10 +4643,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3433
4643
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3434
4644
  type: z.ZodLiteral<"user">;
3435
4645
  sub: z.ZodString;
4646
+ agent: z.ZodOptional<z.ZodObject<{
4647
+ patId: z.ZodString;
4648
+ label: z.ZodString;
4649
+ }, z.core.$strip>>;
3436
4650
  }, z.core.$strip>, z.ZodObject<{
3437
4651
  type: z.ZodLiteral<"api_key">;
3438
4652
  keyId: z.ZodString;
3439
4653
  ownerSub: z.ZodString;
4654
+ agent: z.ZodOptional<z.ZodObject<{
4655
+ label: z.ZodString;
4656
+ }, z.core.$strip>>;
3440
4657
  }, z.core.$strip>, z.ZodObject<{
3441
4658
  type: z.ZodLiteral<"service_account">;
3442
4659
  id: z.ZodString;
@@ -3457,10 +4674,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3457
4674
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3458
4675
  type: z.ZodLiteral<"user">;
3459
4676
  sub: z.ZodString;
4677
+ agent: z.ZodOptional<z.ZodObject<{
4678
+ patId: z.ZodString;
4679
+ label: z.ZodString;
4680
+ }, z.core.$strip>>;
3460
4681
  }, z.core.$strip>, z.ZodObject<{
3461
4682
  type: z.ZodLiteral<"api_key">;
3462
4683
  keyId: z.ZodString;
3463
4684
  ownerSub: z.ZodString;
4685
+ agent: z.ZodOptional<z.ZodObject<{
4686
+ label: z.ZodString;
4687
+ }, z.core.$strip>>;
3464
4688
  }, z.core.$strip>, z.ZodObject<{
3465
4689
  type: z.ZodLiteral<"service_account">;
3466
4690
  id: z.ZodString;
@@ -3480,10 +4704,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3480
4704
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3481
4705
  type: z.ZodLiteral<"user">;
3482
4706
  sub: z.ZodString;
4707
+ agent: z.ZodOptional<z.ZodObject<{
4708
+ patId: z.ZodString;
4709
+ label: z.ZodString;
4710
+ }, z.core.$strip>>;
3483
4711
  }, z.core.$strip>, z.ZodObject<{
3484
4712
  type: z.ZodLiteral<"api_key">;
3485
4713
  keyId: z.ZodString;
3486
4714
  ownerSub: z.ZodString;
4715
+ agent: z.ZodOptional<z.ZodObject<{
4716
+ label: z.ZodString;
4717
+ }, z.core.$strip>>;
3487
4718
  }, z.core.$strip>, z.ZodObject<{
3488
4719
  type: z.ZodLiteral<"service_account">;
3489
4720
  id: z.ZodString;
@@ -3498,8 +4729,8 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3498
4729
  }, z.core.$strip>], "type">;
3499
4730
  name: z.ZodString;
3500
4731
  envType: z.ZodEnum<{
3501
- glob: "glob";
3502
4732
  fixed: "fixed";
4733
+ glob: "glob";
3503
4734
  }>;
3504
4735
  globPattern: z.ZodOptional<z.ZodString>;
3505
4736
  branchRestrictions: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -3518,10 +4749,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3518
4749
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3519
4750
  type: z.ZodLiteral<"user">;
3520
4751
  sub: z.ZodString;
4752
+ agent: z.ZodOptional<z.ZodObject<{
4753
+ patId: z.ZodString;
4754
+ label: z.ZodString;
4755
+ }, z.core.$strip>>;
3521
4756
  }, z.core.$strip>, z.ZodObject<{
3522
4757
  type: z.ZodLiteral<"api_key">;
3523
4758
  keyId: z.ZodString;
3524
4759
  ownerSub: z.ZodString;
4760
+ agent: z.ZodOptional<z.ZodObject<{
4761
+ label: z.ZodString;
4762
+ }, z.core.$strip>>;
3525
4763
  }, z.core.$strip>, z.ZodObject<{
3526
4764
  type: z.ZodLiteral<"service_account">;
3527
4765
  id: z.ZodString;
@@ -3538,8 +4776,8 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3538
4776
  updates: z.ZodObject<{
3539
4777
  name: z.ZodOptional<z.ZodString>;
3540
4778
  envType: z.ZodOptional<z.ZodEnum<{
3541
- glob: "glob";
3542
4779
  fixed: "fixed";
4780
+ glob: "glob";
3543
4781
  }>>;
3544
4782
  globPattern: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3545
4783
  branchRestrictions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
@@ -3559,10 +4797,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3559
4797
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3560
4798
  type: z.ZodLiteral<"user">;
3561
4799
  sub: z.ZodString;
4800
+ agent: z.ZodOptional<z.ZodObject<{
4801
+ patId: z.ZodString;
4802
+ label: z.ZodString;
4803
+ }, z.core.$strip>>;
3562
4804
  }, z.core.$strip>, z.ZodObject<{
3563
4805
  type: z.ZodLiteral<"api_key">;
3564
4806
  keyId: z.ZodString;
3565
4807
  ownerSub: z.ZodString;
4808
+ agent: z.ZodOptional<z.ZodObject<{
4809
+ label: z.ZodString;
4810
+ }, z.core.$strip>>;
3566
4811
  }, z.core.$strip>, z.ZodObject<{
3567
4812
  type: z.ZodLiteral<"service_account">;
3568
4813
  id: z.ZodString;
@@ -3583,10 +4828,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3583
4828
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3584
4829
  type: z.ZodLiteral<"user">;
3585
4830
  sub: z.ZodString;
4831
+ agent: z.ZodOptional<z.ZodObject<{
4832
+ patId: z.ZodString;
4833
+ label: z.ZodString;
4834
+ }, z.core.$strip>>;
3586
4835
  }, z.core.$strip>, z.ZodObject<{
3587
4836
  type: z.ZodLiteral<"api_key">;
3588
4837
  keyId: z.ZodString;
3589
4838
  ownerSub: z.ZodString;
4839
+ agent: z.ZodOptional<z.ZodObject<{
4840
+ label: z.ZodString;
4841
+ }, z.core.$strip>>;
3590
4842
  }, z.core.$strip>, z.ZodObject<{
3591
4843
  type: z.ZodLiteral<"service_account">;
3592
4844
  id: z.ZodString;
@@ -3606,10 +4858,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3606
4858
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3607
4859
  type: z.ZodLiteral<"user">;
3608
4860
  sub: z.ZodString;
4861
+ agent: z.ZodOptional<z.ZodObject<{
4862
+ patId: z.ZodString;
4863
+ label: z.ZodString;
4864
+ }, z.core.$strip>>;
3609
4865
  }, z.core.$strip>, z.ZodObject<{
3610
4866
  type: z.ZodLiteral<"api_key">;
3611
4867
  keyId: z.ZodString;
3612
4868
  ownerSub: z.ZodString;
4869
+ agent: z.ZodOptional<z.ZodObject<{
4870
+ label: z.ZodString;
4871
+ }, z.core.$strip>>;
3613
4872
  }, z.core.$strip>, z.ZodObject<{
3614
4873
  type: z.ZodLiteral<"service_account">;
3615
4874
  id: z.ZodString;
@@ -3629,10 +4888,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3629
4888
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3630
4889
  type: z.ZodLiteral<"user">;
3631
4890
  sub: z.ZodString;
4891
+ agent: z.ZodOptional<z.ZodObject<{
4892
+ patId: z.ZodString;
4893
+ label: z.ZodString;
4894
+ }, z.core.$strip>>;
3632
4895
  }, z.core.$strip>, z.ZodObject<{
3633
4896
  type: z.ZodLiteral<"api_key">;
3634
4897
  keyId: z.ZodString;
3635
4898
  ownerSub: z.ZodString;
4899
+ agent: z.ZodOptional<z.ZodObject<{
4900
+ label: z.ZodString;
4901
+ }, z.core.$strip>>;
3636
4902
  }, z.core.$strip>, z.ZodObject<{
3637
4903
  type: z.ZodLiteral<"service_account">;
3638
4904
  id: z.ZodString;
@@ -3655,10 +4921,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3655
4921
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3656
4922
  type: z.ZodLiteral<"user">;
3657
4923
  sub: z.ZodString;
4924
+ agent: z.ZodOptional<z.ZodObject<{
4925
+ patId: z.ZodString;
4926
+ label: z.ZodString;
4927
+ }, z.core.$strip>>;
3658
4928
  }, z.core.$strip>, z.ZodObject<{
3659
4929
  type: z.ZodLiteral<"api_key">;
3660
4930
  keyId: z.ZodString;
3661
4931
  ownerSub: z.ZodString;
4932
+ agent: z.ZodOptional<z.ZodObject<{
4933
+ label: z.ZodString;
4934
+ }, z.core.$strip>>;
3662
4935
  }, z.core.$strip>, z.ZodObject<{
3663
4936
  type: z.ZodLiteral<"service_account">;
3664
4937
  id: z.ZodString;
@@ -3679,10 +4952,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3679
4952
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3680
4953
  type: z.ZodLiteral<"user">;
3681
4954
  sub: z.ZodString;
4955
+ agent: z.ZodOptional<z.ZodObject<{
4956
+ patId: z.ZodString;
4957
+ label: z.ZodString;
4958
+ }, z.core.$strip>>;
3682
4959
  }, z.core.$strip>, z.ZodObject<{
3683
4960
  type: z.ZodLiteral<"api_key">;
3684
4961
  keyId: z.ZodString;
3685
4962
  ownerSub: z.ZodString;
4963
+ agent: z.ZodOptional<z.ZodObject<{
4964
+ label: z.ZodString;
4965
+ }, z.core.$strip>>;
3686
4966
  }, z.core.$strip>, z.ZodObject<{
3687
4967
  type: z.ZodLiteral<"service_account">;
3688
4968
  id: z.ZodString;
@@ -3703,10 +4983,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3703
4983
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3704
4984
  type: z.ZodLiteral<"user">;
3705
4985
  sub: z.ZodString;
4986
+ agent: z.ZodOptional<z.ZodObject<{
4987
+ patId: z.ZodString;
4988
+ label: z.ZodString;
4989
+ }, z.core.$strip>>;
3706
4990
  }, z.core.$strip>, z.ZodObject<{
3707
4991
  type: z.ZodLiteral<"api_key">;
3708
4992
  keyId: z.ZodString;
3709
4993
  ownerSub: z.ZodString;
4994
+ agent: z.ZodOptional<z.ZodObject<{
4995
+ label: z.ZodString;
4996
+ }, z.core.$strip>>;
3710
4997
  }, z.core.$strip>, z.ZodObject<{
3711
4998
  type: z.ZodLiteral<"service_account">;
3712
4999
  id: z.ZodString;
@@ -3729,10 +5016,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3729
5016
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3730
5017
  type: z.ZodLiteral<"user">;
3731
5018
  sub: z.ZodString;
5019
+ agent: z.ZodOptional<z.ZodObject<{
5020
+ patId: z.ZodString;
5021
+ label: z.ZodString;
5022
+ }, z.core.$strip>>;
3732
5023
  }, z.core.$strip>, z.ZodObject<{
3733
5024
  type: z.ZodLiteral<"api_key">;
3734
5025
  keyId: z.ZodString;
3735
5026
  ownerSub: z.ZodString;
5027
+ agent: z.ZodOptional<z.ZodObject<{
5028
+ label: z.ZodString;
5029
+ }, z.core.$strip>>;
3736
5030
  }, z.core.$strip>, z.ZodObject<{
3737
5031
  type: z.ZodLiteral<"service_account">;
3738
5032
  id: z.ZodString;
@@ -3754,10 +5048,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3754
5048
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3755
5049
  type: z.ZodLiteral<"user">;
3756
5050
  sub: z.ZodString;
5051
+ agent: z.ZodOptional<z.ZodObject<{
5052
+ patId: z.ZodString;
5053
+ label: z.ZodString;
5054
+ }, z.core.$strip>>;
3757
5055
  }, z.core.$strip>, z.ZodObject<{
3758
5056
  type: z.ZodLiteral<"api_key">;
3759
5057
  keyId: z.ZodString;
3760
5058
  ownerSub: z.ZodString;
5059
+ agent: z.ZodOptional<z.ZodObject<{
5060
+ label: z.ZodString;
5061
+ }, z.core.$strip>>;
3761
5062
  }, z.core.$strip>, z.ZodObject<{
3762
5063
  type: z.ZodLiteral<"service_account">;
3763
5064
  id: z.ZodString;
@@ -3777,10 +5078,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3777
5078
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3778
5079
  type: z.ZodLiteral<"user">;
3779
5080
  sub: z.ZodString;
5081
+ agent: z.ZodOptional<z.ZodObject<{
5082
+ patId: z.ZodString;
5083
+ label: z.ZodString;
5084
+ }, z.core.$strip>>;
3780
5085
  }, z.core.$strip>, z.ZodObject<{
3781
5086
  type: z.ZodLiteral<"api_key">;
3782
5087
  keyId: z.ZodString;
3783
5088
  ownerSub: z.ZodString;
5089
+ agent: z.ZodOptional<z.ZodObject<{
5090
+ label: z.ZodString;
5091
+ }, z.core.$strip>>;
3784
5092
  }, z.core.$strip>, z.ZodObject<{
3785
5093
  type: z.ZodLiteral<"service_account">;
3786
5094
  id: z.ZodString;
@@ -3804,10 +5112,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3804
5112
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3805
5113
  type: z.ZodLiteral<"user">;
3806
5114
  sub: z.ZodString;
5115
+ agent: z.ZodOptional<z.ZodObject<{
5116
+ patId: z.ZodString;
5117
+ label: z.ZodString;
5118
+ }, z.core.$strip>>;
3807
5119
  }, z.core.$strip>, z.ZodObject<{
3808
5120
  type: z.ZodLiteral<"api_key">;
3809
5121
  keyId: z.ZodString;
3810
5122
  ownerSub: z.ZodString;
5123
+ agent: z.ZodOptional<z.ZodObject<{
5124
+ label: z.ZodString;
5125
+ }, z.core.$strip>>;
3811
5126
  }, z.core.$strip>, z.ZodObject<{
3812
5127
  type: z.ZodLiteral<"service_account">;
3813
5128
  id: z.ZodString;
@@ -3826,10 +5141,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3826
5141
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3827
5142
  type: z.ZodLiteral<"user">;
3828
5143
  sub: z.ZodString;
5144
+ agent: z.ZodOptional<z.ZodObject<{
5145
+ patId: z.ZodString;
5146
+ label: z.ZodString;
5147
+ }, z.core.$strip>>;
3829
5148
  }, z.core.$strip>, z.ZodObject<{
3830
5149
  type: z.ZodLiteral<"api_key">;
3831
5150
  keyId: z.ZodString;
3832
5151
  ownerSub: z.ZodString;
5152
+ agent: z.ZodOptional<z.ZodObject<{
5153
+ label: z.ZodString;
5154
+ }, z.core.$strip>>;
3833
5155
  }, z.core.$strip>, z.ZodObject<{
3834
5156
  type: z.ZodLiteral<"service_account">;
3835
5157
  id: z.ZodString;
@@ -3851,10 +5173,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3851
5173
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3852
5174
  type: z.ZodLiteral<"user">;
3853
5175
  sub: z.ZodString;
5176
+ agent: z.ZodOptional<z.ZodObject<{
5177
+ patId: z.ZodString;
5178
+ label: z.ZodString;
5179
+ }, z.core.$strip>>;
3854
5180
  }, z.core.$strip>, z.ZodObject<{
3855
5181
  type: z.ZodLiteral<"api_key">;
3856
5182
  keyId: z.ZodString;
3857
5183
  ownerSub: z.ZodString;
5184
+ agent: z.ZodOptional<z.ZodObject<{
5185
+ label: z.ZodString;
5186
+ }, z.core.$strip>>;
3858
5187
  }, z.core.$strip>, z.ZodObject<{
3859
5188
  type: z.ZodLiteral<"service_account">;
3860
5189
  id: z.ZodString;
@@ -3875,10 +5204,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3875
5204
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3876
5205
  type: z.ZodLiteral<"user">;
3877
5206
  sub: z.ZodString;
5207
+ agent: z.ZodOptional<z.ZodObject<{
5208
+ patId: z.ZodString;
5209
+ label: z.ZodString;
5210
+ }, z.core.$strip>>;
3878
5211
  }, z.core.$strip>, z.ZodObject<{
3879
5212
  type: z.ZodLiteral<"api_key">;
3880
5213
  keyId: z.ZodString;
3881
5214
  ownerSub: z.ZodString;
5215
+ agent: z.ZodOptional<z.ZodObject<{
5216
+ label: z.ZodString;
5217
+ }, z.core.$strip>>;
3882
5218
  }, z.core.$strip>, z.ZodObject<{
3883
5219
  type: z.ZodLiteral<"service_account">;
3884
5220
  id: z.ZodString;
@@ -3898,10 +5234,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3898
5234
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3899
5235
  type: z.ZodLiteral<"user">;
3900
5236
  sub: z.ZodString;
5237
+ agent: z.ZodOptional<z.ZodObject<{
5238
+ patId: z.ZodString;
5239
+ label: z.ZodString;
5240
+ }, z.core.$strip>>;
3901
5241
  }, z.core.$strip>, z.ZodObject<{
3902
5242
  type: z.ZodLiteral<"api_key">;
3903
5243
  keyId: z.ZodString;
3904
5244
  ownerSub: z.ZodString;
5245
+ agent: z.ZodOptional<z.ZodObject<{
5246
+ label: z.ZodString;
5247
+ }, z.core.$strip>>;
3905
5248
  }, z.core.$strip>, z.ZodObject<{
3906
5249
  type: z.ZodLiteral<"service_account">;
3907
5250
  id: z.ZodString;
@@ -3922,10 +5265,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3922
5265
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3923
5266
  type: z.ZodLiteral<"user">;
3924
5267
  sub: z.ZodString;
5268
+ agent: z.ZodOptional<z.ZodObject<{
5269
+ patId: z.ZodString;
5270
+ label: z.ZodString;
5271
+ }, z.core.$strip>>;
3925
5272
  }, z.core.$strip>, z.ZodObject<{
3926
5273
  type: z.ZodLiteral<"api_key">;
3927
5274
  keyId: z.ZodString;
3928
5275
  ownerSub: z.ZodString;
5276
+ agent: z.ZodOptional<z.ZodObject<{
5277
+ label: z.ZodString;
5278
+ }, z.core.$strip>>;
3929
5279
  }, z.core.$strip>, z.ZodObject<{
3930
5280
  type: z.ZodLiteral<"service_account">;
3931
5281
  id: z.ZodString;
@@ -3945,10 +5295,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3945
5295
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3946
5296
  type: z.ZodLiteral<"user">;
3947
5297
  sub: z.ZodString;
5298
+ agent: z.ZodOptional<z.ZodObject<{
5299
+ patId: z.ZodString;
5300
+ label: z.ZodString;
5301
+ }, z.core.$strip>>;
3948
5302
  }, z.core.$strip>, z.ZodObject<{
3949
5303
  type: z.ZodLiteral<"api_key">;
3950
5304
  keyId: z.ZodString;
3951
5305
  ownerSub: z.ZodString;
5306
+ agent: z.ZodOptional<z.ZodObject<{
5307
+ label: z.ZodString;
5308
+ }, z.core.$strip>>;
3952
5309
  }, z.core.$strip>, z.ZodObject<{
3953
5310
  type: z.ZodLiteral<"service_account">;
3954
5311
  id: z.ZodString;
@@ -3961,7 +5318,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3961
5318
  type: z.ZodLiteral<"system">;
3962
5319
  component: z.ZodString;
3963
5320
  }, z.core.$strip>], "type">;
3964
- environmentName: z.ZodString;
5321
+ environmentId: z.ZodString;
3965
5322
  limit: z.ZodOptional<z.ZodNumber>;
3966
5323
  offset: z.ZodOptional<z.ZodNumber>;
3967
5324
  }, z.core.$strip>, z.ZodObject<{
@@ -3970,10 +5327,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3970
5327
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
3971
5328
  type: z.ZodLiteral<"user">;
3972
5329
  sub: z.ZodString;
5330
+ agent: z.ZodOptional<z.ZodObject<{
5331
+ patId: z.ZodString;
5332
+ label: z.ZodString;
5333
+ }, z.core.$strip>>;
3973
5334
  }, z.core.$strip>, z.ZodObject<{
3974
5335
  type: z.ZodLiteral<"api_key">;
3975
5336
  keyId: z.ZodString;
3976
5337
  ownerSub: z.ZodString;
5338
+ agent: z.ZodOptional<z.ZodObject<{
5339
+ label: z.ZodString;
5340
+ }, z.core.$strip>>;
3977
5341
  }, z.core.$strip>, z.ZodObject<{
3978
5342
  type: z.ZodLiteral<"service_account">;
3979
5343
  id: z.ZodString;
@@ -3988,8 +5352,8 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3988
5352
  }, z.core.$strip>], "type">;
3989
5353
  status: z.ZodOptional<z.ZodEnum<{
3990
5354
  pending: "pending";
3991
- rejected: "rejected";
3992
5355
  approved: "approved";
5356
+ rejected: "rejected";
3993
5357
  expired: "expired";
3994
5358
  }>>;
3995
5359
  queueType: z.ZodOptional<z.ZodEnum<{
@@ -3997,16 +5361,24 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3997
5361
  security: "security";
3998
5362
  }>>;
3999
5363
  runId: z.ZodOptional<z.ZodString>;
5364
+ orgId: z.ZodOptional<z.ZodString>;
4000
5365
  }, z.core.$strip>, z.ZodObject<{
4001
5366
  type: z.ZodLiteral<"dashboard.held-runs.approve">;
4002
5367
  requestId: z.ZodString;
4003
5368
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4004
5369
  type: z.ZodLiteral<"user">;
4005
5370
  sub: z.ZodString;
5371
+ agent: z.ZodOptional<z.ZodObject<{
5372
+ patId: z.ZodString;
5373
+ label: z.ZodString;
5374
+ }, z.core.$strip>>;
4006
5375
  }, z.core.$strip>, z.ZodObject<{
4007
5376
  type: z.ZodLiteral<"api_key">;
4008
5377
  keyId: z.ZodString;
4009
5378
  ownerSub: z.ZodString;
5379
+ agent: z.ZodOptional<z.ZodObject<{
5380
+ label: z.ZodString;
5381
+ }, z.core.$strip>>;
4010
5382
  }, z.core.$strip>, z.ZodObject<{
4011
5383
  type: z.ZodLiteral<"service_account">;
4012
5384
  id: z.ZodString;
@@ -4021,16 +5393,24 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4021
5393
  }, z.core.$strip>], "type">;
4022
5394
  heldRunId: z.ZodString;
4023
5395
  autoApprove: z.ZodOptional<z.ZodBoolean>;
5396
+ orgId: z.ZodOptional<z.ZodString>;
4024
5397
  }, z.core.$strip>, z.ZodObject<{
4025
5398
  type: z.ZodLiteral<"dashboard.held-runs.reject">;
4026
5399
  requestId: z.ZodString;
4027
5400
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4028
5401
  type: z.ZodLiteral<"user">;
4029
5402
  sub: z.ZodString;
5403
+ agent: z.ZodOptional<z.ZodObject<{
5404
+ patId: z.ZodString;
5405
+ label: z.ZodString;
5406
+ }, z.core.$strip>>;
4030
5407
  }, z.core.$strip>, z.ZodObject<{
4031
5408
  type: z.ZodLiteral<"api_key">;
4032
5409
  keyId: z.ZodString;
4033
5410
  ownerSub: z.ZodString;
5411
+ agent: z.ZodOptional<z.ZodObject<{
5412
+ label: z.ZodString;
5413
+ }, z.core.$strip>>;
4034
5414
  }, z.core.$strip>, z.ZodObject<{
4035
5415
  type: z.ZodLiteral<"service_account">;
4036
5416
  id: z.ZodString;
@@ -4045,16 +5425,24 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4045
5425
  }, z.core.$strip>], "type">;
4046
5426
  heldRunId: z.ZodString;
4047
5427
  reason: z.ZodOptional<z.ZodString>;
5428
+ orgId: z.ZodOptional<z.ZodString>;
4048
5429
  }, z.core.$strip>, z.ZodObject<{
4049
5430
  type: z.ZodLiteral<"dashboard.registrations.list">;
4050
5431
  requestId: z.ZodString;
4051
5432
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4052
5433
  type: z.ZodLiteral<"user">;
4053
5434
  sub: z.ZodString;
5435
+ agent: z.ZodOptional<z.ZodObject<{
5436
+ patId: z.ZodString;
5437
+ label: z.ZodString;
5438
+ }, z.core.$strip>>;
4054
5439
  }, z.core.$strip>, z.ZodObject<{
4055
5440
  type: z.ZodLiteral<"api_key">;
4056
5441
  keyId: z.ZodString;
4057
5442
  ownerSub: z.ZodString;
5443
+ agent: z.ZodOptional<z.ZodObject<{
5444
+ label: z.ZodString;
5445
+ }, z.core.$strip>>;
4058
5446
  }, z.core.$strip>, z.ZodObject<{
4059
5447
  type: z.ZodLiteral<"service_account">;
4060
5448
  id: z.ZodString;
@@ -4075,10 +5463,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4075
5463
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4076
5464
  type: z.ZodLiteral<"user">;
4077
5465
  sub: z.ZodString;
5466
+ agent: z.ZodOptional<z.ZodObject<{
5467
+ patId: z.ZodString;
5468
+ label: z.ZodString;
5469
+ }, z.core.$strip>>;
4078
5470
  }, z.core.$strip>, z.ZodObject<{
4079
5471
  type: z.ZodLiteral<"api_key">;
4080
5472
  keyId: z.ZodString;
4081
5473
  ownerSub: z.ZodString;
5474
+ agent: z.ZodOptional<z.ZodObject<{
5475
+ label: z.ZodString;
5476
+ }, z.core.$strip>>;
4082
5477
  }, z.core.$strip>, z.ZodObject<{
4083
5478
  type: z.ZodLiteral<"service_account">;
4084
5479
  id: z.ZodString;
@@ -4099,10 +5494,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4099
5494
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4100
5495
  type: z.ZodLiteral<"user">;
4101
5496
  sub: z.ZodString;
5497
+ agent: z.ZodOptional<z.ZodObject<{
5498
+ patId: z.ZodString;
5499
+ label: z.ZodString;
5500
+ }, z.core.$strip>>;
4102
5501
  }, z.core.$strip>, z.ZodObject<{
4103
5502
  type: z.ZodLiteral<"api_key">;
4104
5503
  keyId: z.ZodString;
4105
5504
  ownerSub: z.ZodString;
5505
+ agent: z.ZodOptional<z.ZodObject<{
5506
+ label: z.ZodString;
5507
+ }, z.core.$strip>>;
4106
5508
  }, z.core.$strip>, z.ZodObject<{
4107
5509
  type: z.ZodLiteral<"service_account">;
4108
5510
  id: z.ZodString;
@@ -4123,10 +5525,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4123
5525
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4124
5526
  type: z.ZodLiteral<"user">;
4125
5527
  sub: z.ZodString;
5528
+ agent: z.ZodOptional<z.ZodObject<{
5529
+ patId: z.ZodString;
5530
+ label: z.ZodString;
5531
+ }, z.core.$strip>>;
4126
5532
  }, z.core.$strip>, z.ZodObject<{
4127
5533
  type: z.ZodLiteral<"api_key">;
4128
5534
  keyId: z.ZodString;
4129
5535
  ownerSub: z.ZodString;
5536
+ agent: z.ZodOptional<z.ZodObject<{
5537
+ label: z.ZodString;
5538
+ }, z.core.$strip>>;
4130
5539
  }, z.core.$strip>, z.ZodObject<{
4131
5540
  type: z.ZodLiteral<"service_account">;
4132
5541
  id: z.ZodString;
@@ -4146,10 +5555,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4146
5555
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4147
5556
  type: z.ZodLiteral<"user">;
4148
5557
  sub: z.ZodString;
5558
+ agent: z.ZodOptional<z.ZodObject<{
5559
+ patId: z.ZodString;
5560
+ label: z.ZodString;
5561
+ }, z.core.$strip>>;
4149
5562
  }, z.core.$strip>, z.ZodObject<{
4150
5563
  type: z.ZodLiteral<"api_key">;
4151
5564
  keyId: z.ZodString;
4152
5565
  ownerSub: z.ZodString;
5566
+ agent: z.ZodOptional<z.ZodObject<{
5567
+ label: z.ZodString;
5568
+ }, z.core.$strip>>;
4153
5569
  }, z.core.$strip>, z.ZodObject<{
4154
5570
  type: z.ZodLiteral<"service_account">;
4155
5571
  id: z.ZodString;
@@ -4168,10 +5584,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4168
5584
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4169
5585
  type: z.ZodLiteral<"user">;
4170
5586
  sub: z.ZodString;
5587
+ agent: z.ZodOptional<z.ZodObject<{
5588
+ patId: z.ZodString;
5589
+ label: z.ZodString;
5590
+ }, z.core.$strip>>;
4171
5591
  }, z.core.$strip>, z.ZodObject<{
4172
5592
  type: z.ZodLiteral<"api_key">;
4173
5593
  keyId: z.ZodString;
4174
5594
  ownerSub: z.ZodString;
5595
+ agent: z.ZodOptional<z.ZodObject<{
5596
+ label: z.ZodString;
5597
+ }, z.core.$strip>>;
4175
5598
  }, z.core.$strip>, z.ZodObject<{
4176
5599
  type: z.ZodLiteral<"service_account">;
4177
5600
  id: z.ZodString;
@@ -4191,10 +5614,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4191
5614
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4192
5615
  type: z.ZodLiteral<"user">;
4193
5616
  sub: z.ZodString;
5617
+ agent: z.ZodOptional<z.ZodObject<{
5618
+ patId: z.ZodString;
5619
+ label: z.ZodString;
5620
+ }, z.core.$strip>>;
4194
5621
  }, z.core.$strip>, z.ZodObject<{
4195
5622
  type: z.ZodLiteral<"api_key">;
4196
5623
  keyId: z.ZodString;
4197
5624
  ownerSub: z.ZodString;
5625
+ agent: z.ZodOptional<z.ZodObject<{
5626
+ label: z.ZodString;
5627
+ }, z.core.$strip>>;
4198
5628
  }, z.core.$strip>, z.ZodObject<{
4199
5629
  type: z.ZodLiteral<"service_account">;
4200
5630
  id: z.ZodString;
@@ -4214,10 +5644,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4214
5644
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4215
5645
  type: z.ZodLiteral<"user">;
4216
5646
  sub: z.ZodString;
5647
+ agent: z.ZodOptional<z.ZodObject<{
5648
+ patId: z.ZodString;
5649
+ label: z.ZodString;
5650
+ }, z.core.$strip>>;
4217
5651
  }, z.core.$strip>, z.ZodObject<{
4218
5652
  type: z.ZodLiteral<"api_key">;
4219
5653
  keyId: z.ZodString;
4220
5654
  ownerSub: z.ZodString;
5655
+ agent: z.ZodOptional<z.ZodObject<{
5656
+ label: z.ZodString;
5657
+ }, z.core.$strip>>;
4221
5658
  }, z.core.$strip>, z.ZodObject<{
4222
5659
  type: z.ZodLiteral<"service_account">;
4223
5660
  id: z.ZodString;
@@ -4237,10 +5674,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4237
5674
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4238
5675
  type: z.ZodLiteral<"user">;
4239
5676
  sub: z.ZodString;
5677
+ agent: z.ZodOptional<z.ZodObject<{
5678
+ patId: z.ZodString;
5679
+ label: z.ZodString;
5680
+ }, z.core.$strip>>;
4240
5681
  }, z.core.$strip>, z.ZodObject<{
4241
5682
  type: z.ZodLiteral<"api_key">;
4242
5683
  keyId: z.ZodString;
4243
5684
  ownerSub: z.ZodString;
5685
+ agent: z.ZodOptional<z.ZodObject<{
5686
+ label: z.ZodString;
5687
+ }, z.core.$strip>>;
4244
5688
  }, z.core.$strip>, z.ZodObject<{
4245
5689
  type: z.ZodLiteral<"service_account">;
4246
5690
  id: z.ZodString;
@@ -4263,10 +5707,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4263
5707
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4264
5708
  type: z.ZodLiteral<"user">;
4265
5709
  sub: z.ZodString;
5710
+ agent: z.ZodOptional<z.ZodObject<{
5711
+ patId: z.ZodString;
5712
+ label: z.ZodString;
5713
+ }, z.core.$strip>>;
4266
5714
  }, z.core.$strip>, z.ZodObject<{
4267
5715
  type: z.ZodLiteral<"api_key">;
4268
5716
  keyId: z.ZodString;
4269
5717
  ownerSub: z.ZodString;
5718
+ agent: z.ZodOptional<z.ZodObject<{
5719
+ label: z.ZodString;
5720
+ }, z.core.$strip>>;
4270
5721
  }, z.core.$strip>, z.ZodObject<{
4271
5722
  type: z.ZodLiteral<"service_account">;
4272
5723
  id: z.ZodString;
@@ -4286,10 +5737,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4286
5737
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4287
5738
  type: z.ZodLiteral<"user">;
4288
5739
  sub: z.ZodString;
5740
+ agent: z.ZodOptional<z.ZodObject<{
5741
+ patId: z.ZodString;
5742
+ label: z.ZodString;
5743
+ }, z.core.$strip>>;
4289
5744
  }, z.core.$strip>, z.ZodObject<{
4290
5745
  type: z.ZodLiteral<"api_key">;
4291
5746
  keyId: z.ZodString;
4292
5747
  ownerSub: z.ZodString;
5748
+ agent: z.ZodOptional<z.ZodObject<{
5749
+ label: z.ZodString;
5750
+ }, z.core.$strip>>;
4293
5751
  }, z.core.$strip>, z.ZodObject<{
4294
5752
  type: z.ZodLiteral<"service_account">;
4295
5753
  id: z.ZodString;
@@ -4308,10 +5766,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4308
5766
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4309
5767
  type: z.ZodLiteral<"user">;
4310
5768
  sub: z.ZodString;
5769
+ agent: z.ZodOptional<z.ZodObject<{
5770
+ patId: z.ZodString;
5771
+ label: z.ZodString;
5772
+ }, z.core.$strip>>;
4311
5773
  }, z.core.$strip>, z.ZodObject<{
4312
5774
  type: z.ZodLiteral<"api_key">;
4313
5775
  keyId: z.ZodString;
4314
5776
  ownerSub: z.ZodString;
5777
+ agent: z.ZodOptional<z.ZodObject<{
5778
+ label: z.ZodString;
5779
+ }, z.core.$strip>>;
4315
5780
  }, z.core.$strip>, z.ZodObject<{
4316
5781
  type: z.ZodLiteral<"service_account">;
4317
5782
  id: z.ZodString;
@@ -4331,10 +5796,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4331
5796
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4332
5797
  type: z.ZodLiteral<"user">;
4333
5798
  sub: z.ZodString;
5799
+ agent: z.ZodOptional<z.ZodObject<{
5800
+ patId: z.ZodString;
5801
+ label: z.ZodString;
5802
+ }, z.core.$strip>>;
4334
5803
  }, z.core.$strip>, z.ZodObject<{
4335
5804
  type: z.ZodLiteral<"api_key">;
4336
5805
  keyId: z.ZodString;
4337
5806
  ownerSub: z.ZodString;
5807
+ agent: z.ZodOptional<z.ZodObject<{
5808
+ label: z.ZodString;
5809
+ }, z.core.$strip>>;
4338
5810
  }, z.core.$strip>, z.ZodObject<{
4339
5811
  type: z.ZodLiteral<"service_account">;
4340
5812
  id: z.ZodString;
@@ -4353,10 +5825,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4353
5825
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4354
5826
  type: z.ZodLiteral<"user">;
4355
5827
  sub: z.ZodString;
5828
+ agent: z.ZodOptional<z.ZodObject<{
5829
+ patId: z.ZodString;
5830
+ label: z.ZodString;
5831
+ }, z.core.$strip>>;
4356
5832
  }, z.core.$strip>, z.ZodObject<{
4357
5833
  type: z.ZodLiteral<"api_key">;
4358
5834
  keyId: z.ZodString;
4359
5835
  ownerSub: z.ZodString;
5836
+ agent: z.ZodOptional<z.ZodObject<{
5837
+ label: z.ZodString;
5838
+ }, z.core.$strip>>;
4360
5839
  }, z.core.$strip>, z.ZodObject<{
4361
5840
  type: z.ZodLiteral<"service_account">;
4362
5841
  id: z.ZodString;
@@ -4376,10 +5855,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4376
5855
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4377
5856
  type: z.ZodLiteral<"user">;
4378
5857
  sub: z.ZodString;
5858
+ agent: z.ZodOptional<z.ZodObject<{
5859
+ patId: z.ZodString;
5860
+ label: z.ZodString;
5861
+ }, z.core.$strip>>;
4379
5862
  }, z.core.$strip>, z.ZodObject<{
4380
5863
  type: z.ZodLiteral<"api_key">;
4381
5864
  keyId: z.ZodString;
4382
5865
  ownerSub: z.ZodString;
5866
+ agent: z.ZodOptional<z.ZodObject<{
5867
+ label: z.ZodString;
5868
+ }, z.core.$strip>>;
4383
5869
  }, z.core.$strip>, z.ZodObject<{
4384
5870
  type: z.ZodLiteral<"service_account">;
4385
5871
  id: z.ZodString;
@@ -4398,10 +5884,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4398
5884
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4399
5885
  type: z.ZodLiteral<"user">;
4400
5886
  sub: z.ZodString;
5887
+ agent: z.ZodOptional<z.ZodObject<{
5888
+ patId: z.ZodString;
5889
+ label: z.ZodString;
5890
+ }, z.core.$strip>>;
4401
5891
  }, z.core.$strip>, z.ZodObject<{
4402
5892
  type: z.ZodLiteral<"api_key">;
4403
5893
  keyId: z.ZodString;
4404
5894
  ownerSub: z.ZodString;
5895
+ agent: z.ZodOptional<z.ZodObject<{
5896
+ label: z.ZodString;
5897
+ }, z.core.$strip>>;
4405
5898
  }, z.core.$strip>, z.ZodObject<{
4406
5899
  type: z.ZodLiteral<"service_account">;
4407
5900
  id: z.ZodString;
@@ -4421,10 +5914,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4421
5914
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4422
5915
  type: z.ZodLiteral<"user">;
4423
5916
  sub: z.ZodString;
5917
+ agent: z.ZodOptional<z.ZodObject<{
5918
+ patId: z.ZodString;
5919
+ label: z.ZodString;
5920
+ }, z.core.$strip>>;
4424
5921
  }, z.core.$strip>, z.ZodObject<{
4425
5922
  type: z.ZodLiteral<"api_key">;
4426
5923
  keyId: z.ZodString;
4427
5924
  ownerSub: z.ZodString;
5925
+ agent: z.ZodOptional<z.ZodObject<{
5926
+ label: z.ZodString;
5927
+ }, z.core.$strip>>;
4428
5928
  }, z.core.$strip>, z.ZodObject<{
4429
5929
  type: z.ZodLiteral<"service_account">;
4430
5930
  id: z.ZodString;
@@ -4444,10 +5944,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4444
5944
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4445
5945
  type: z.ZodLiteral<"user">;
4446
5946
  sub: z.ZodString;
5947
+ agent: z.ZodOptional<z.ZodObject<{
5948
+ patId: z.ZodString;
5949
+ label: z.ZodString;
5950
+ }, z.core.$strip>>;
4447
5951
  }, z.core.$strip>, z.ZodObject<{
4448
5952
  type: z.ZodLiteral<"api_key">;
4449
5953
  keyId: z.ZodString;
4450
5954
  ownerSub: z.ZodString;
5955
+ agent: z.ZodOptional<z.ZodObject<{
5956
+ label: z.ZodString;
5957
+ }, z.core.$strip>>;
4451
5958
  }, z.core.$strip>, z.ZodObject<{
4452
5959
  type: z.ZodLiteral<"service_account">;
4453
5960
  id: z.ZodString;
@@ -4482,10 +5989,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4482
5989
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4483
5990
  type: z.ZodLiteral<"user">;
4484
5991
  sub: z.ZodString;
5992
+ agent: z.ZodOptional<z.ZodObject<{
5993
+ patId: z.ZodString;
5994
+ label: z.ZodString;
5995
+ }, z.core.$strip>>;
4485
5996
  }, z.core.$strip>, z.ZodObject<{
4486
5997
  type: z.ZodLiteral<"api_key">;
4487
5998
  keyId: z.ZodString;
4488
5999
  ownerSub: z.ZodString;
6000
+ agent: z.ZodOptional<z.ZodObject<{
6001
+ label: z.ZodString;
6002
+ }, z.core.$strip>>;
4489
6003
  }, z.core.$strip>, z.ZodObject<{
4490
6004
  type: z.ZodLiteral<"service_account">;
4491
6005
  id: z.ZodString;
@@ -4507,10 +6021,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4507
6021
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4508
6022
  type: z.ZodLiteral<"user">;
4509
6023
  sub: z.ZodString;
6024
+ agent: z.ZodOptional<z.ZodObject<{
6025
+ patId: z.ZodString;
6026
+ label: z.ZodString;
6027
+ }, z.core.$strip>>;
4510
6028
  }, z.core.$strip>, z.ZodObject<{
4511
6029
  type: z.ZodLiteral<"api_key">;
4512
6030
  keyId: z.ZodString;
4513
6031
  ownerSub: z.ZodString;
6032
+ agent: z.ZodOptional<z.ZodObject<{
6033
+ label: z.ZodString;
6034
+ }, z.core.$strip>>;
4514
6035
  }, z.core.$strip>, z.ZodObject<{
4515
6036
  type: z.ZodLiteral<"service_account">;
4516
6037
  id: z.ZodString;
@@ -4532,10 +6053,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4532
6053
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4533
6054
  type: z.ZodLiteral<"user">;
4534
6055
  sub: z.ZodString;
6056
+ agent: z.ZodOptional<z.ZodObject<{
6057
+ patId: z.ZodString;
6058
+ label: z.ZodString;
6059
+ }, z.core.$strip>>;
4535
6060
  }, z.core.$strip>, z.ZodObject<{
4536
6061
  type: z.ZodLiteral<"api_key">;
4537
6062
  keyId: z.ZodString;
4538
6063
  ownerSub: z.ZodString;
6064
+ agent: z.ZodOptional<z.ZodObject<{
6065
+ label: z.ZodString;
6066
+ }, z.core.$strip>>;
4539
6067
  }, z.core.$strip>, z.ZodObject<{
4540
6068
  type: z.ZodLiteral<"service_account">;
4541
6069
  id: z.ZodString;
@@ -4557,10 +6085,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4557
6085
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4558
6086
  type: z.ZodLiteral<"user">;
4559
6087
  sub: z.ZodString;
6088
+ agent: z.ZodOptional<z.ZodObject<{
6089
+ patId: z.ZodString;
6090
+ label: z.ZodString;
6091
+ }, z.core.$strip>>;
4560
6092
  }, z.core.$strip>, z.ZodObject<{
4561
6093
  type: z.ZodLiteral<"api_key">;
4562
6094
  keyId: z.ZodString;
4563
6095
  ownerSub: z.ZodString;
6096
+ agent: z.ZodOptional<z.ZodObject<{
6097
+ label: z.ZodString;
6098
+ }, z.core.$strip>>;
4564
6099
  }, z.core.$strip>, z.ZodObject<{
4565
6100
  type: z.ZodLiteral<"service_account">;
4566
6101
  id: z.ZodString;
@@ -4580,10 +6115,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4580
6115
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4581
6116
  type: z.ZodLiteral<"user">;
4582
6117
  sub: z.ZodString;
6118
+ agent: z.ZodOptional<z.ZodObject<{
6119
+ patId: z.ZodString;
6120
+ label: z.ZodString;
6121
+ }, z.core.$strip>>;
4583
6122
  }, z.core.$strip>, z.ZodObject<{
4584
6123
  type: z.ZodLiteral<"api_key">;
4585
6124
  keyId: z.ZodString;
4586
6125
  ownerSub: z.ZodString;
6126
+ agent: z.ZodOptional<z.ZodObject<{
6127
+ label: z.ZodString;
6128
+ }, z.core.$strip>>;
4587
6129
  }, z.core.$strip>, z.ZodObject<{
4588
6130
  type: z.ZodLiteral<"service_account">;
4589
6131
  id: z.ZodString;
@@ -4604,10 +6146,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4604
6146
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4605
6147
  type: z.ZodLiteral<"user">;
4606
6148
  sub: z.ZodString;
6149
+ agent: z.ZodOptional<z.ZodObject<{
6150
+ patId: z.ZodString;
6151
+ label: z.ZodString;
6152
+ }, z.core.$strip>>;
4607
6153
  }, z.core.$strip>, z.ZodObject<{
4608
6154
  type: z.ZodLiteral<"api_key">;
4609
6155
  keyId: z.ZodString;
4610
6156
  ownerSub: z.ZodString;
6157
+ agent: z.ZodOptional<z.ZodObject<{
6158
+ label: z.ZodString;
6159
+ }, z.core.$strip>>;
4611
6160
  }, z.core.$strip>, z.ZodObject<{
4612
6161
  type: z.ZodLiteral<"service_account">;
4613
6162
  id: z.ZodString;
@@ -4628,10 +6177,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4628
6177
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4629
6178
  type: z.ZodLiteral<"user">;
4630
6179
  sub: z.ZodString;
6180
+ agent: z.ZodOptional<z.ZodObject<{
6181
+ patId: z.ZodString;
6182
+ label: z.ZodString;
6183
+ }, z.core.$strip>>;
4631
6184
  }, z.core.$strip>, z.ZodObject<{
4632
6185
  type: z.ZodLiteral<"api_key">;
4633
6186
  keyId: z.ZodString;
4634
6187
  ownerSub: z.ZodString;
6188
+ agent: z.ZodOptional<z.ZodObject<{
6189
+ label: z.ZodString;
6190
+ }, z.core.$strip>>;
4635
6191
  }, z.core.$strip>, z.ZodObject<{
4636
6192
  type: z.ZodLiteral<"service_account">;
4637
6193
  id: z.ZodString;
@@ -4650,10 +6206,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4650
6206
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4651
6207
  type: z.ZodLiteral<"user">;
4652
6208
  sub: z.ZodString;
6209
+ agent: z.ZodOptional<z.ZodObject<{
6210
+ patId: z.ZodString;
6211
+ label: z.ZodString;
6212
+ }, z.core.$strip>>;
4653
6213
  }, z.core.$strip>, z.ZodObject<{
4654
6214
  type: z.ZodLiteral<"api_key">;
4655
6215
  keyId: z.ZodString;
4656
6216
  ownerSub: z.ZodString;
6217
+ agent: z.ZodOptional<z.ZodObject<{
6218
+ label: z.ZodString;
6219
+ }, z.core.$strip>>;
4657
6220
  }, z.core.$strip>, z.ZodObject<{
4658
6221
  type: z.ZodLiteral<"service_account">;
4659
6222
  id: z.ZodString;
@@ -4685,10 +6248,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4685
6248
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4686
6249
  type: z.ZodLiteral<"user">;
4687
6250
  sub: z.ZodString;
6251
+ agent: z.ZodOptional<z.ZodObject<{
6252
+ patId: z.ZodString;
6253
+ label: z.ZodString;
6254
+ }, z.core.$strip>>;
4688
6255
  }, z.core.$strip>, z.ZodObject<{
4689
6256
  type: z.ZodLiteral<"api_key">;
4690
6257
  keyId: z.ZodString;
4691
6258
  ownerSub: z.ZodString;
6259
+ agent: z.ZodOptional<z.ZodObject<{
6260
+ label: z.ZodString;
6261
+ }, z.core.$strip>>;
4692
6262
  }, z.core.$strip>, z.ZodObject<{
4693
6263
  type: z.ZodLiteral<"service_account">;
4694
6264
  id: z.ZodString;
@@ -4719,6 +6289,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4719
6289
  "fleet.host.declare": "fleet.host.declare";
4720
6290
  "fleet.host.remove": "fleet.host.remove";
4721
6291
  "run.detail.read": "run.detail.read";
6292
+ "run.structured.read": "run.structured.read";
4722
6293
  "runs.list.read": "runs.list.read";
4723
6294
  "runs.filters.read": "runs.filters.read";
4724
6295
  "sources.list.read": "sources.list.read";
@@ -4782,10 +6353,10 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4782
6353
  purge_chunk: "purge_chunk";
4783
6354
  }>>;
4784
6355
  source: z.ZodOptional<z.ZodEnum<{
6356
+ agent: "agent";
4785
6357
  platform_proxy: "platform_proxy";
4786
6358
  admin_http: "admin_http";
4787
6359
  admin_cli: "admin_cli";
4788
- agent: "agent";
4789
6360
  }>>;
4790
6361
  outcome: z.ZodOptional<z.ZodEnum<{
4791
6362
  error: "error";
@@ -4793,14 +6364,14 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4793
6364
  denied: "denied";
4794
6365
  }>>;
4795
6366
  targetType: z.ZodOptional<z.ZodEnum<{
4796
- run: "run";
4797
6367
  job: "job";
4798
- payload: "payload";
4799
6368
  step: "step";
6369
+ run: "run";
6370
+ environment: "environment";
6371
+ payload: "payload";
4800
6372
  event_log: "event_log";
4801
6373
  event_log_payload: "event_log_payload";
4802
6374
  secret_scope: "secret_scope";
4803
- environment: "environment";
4804
6375
  registration: "registration";
4805
6376
  backend: "backend";
4806
6377
  diagnostics: "diagnostics";
@@ -4811,11 +6382,14 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4811
6382
  event_dlq: "event_dlq";
4812
6383
  org_settings: "org_settings";
4813
6384
  cluster_meta: "cluster_meta";
6385
+ attestation: "attestation";
4814
6386
  }>>;
4815
6387
  targetId: z.ZodOptional<z.ZodString>;
4816
6388
  fromTimestamp: z.ZodOptional<z.ZodString>;
4817
6389
  toTimestamp: z.ZodOptional<z.ZodString>;
4818
6390
  q: z.ZodOptional<z.ZodString>;
6391
+ agentLabel: z.ZodOptional<z.ZodString>;
6392
+ agentOnly: z.ZodOptional<z.ZodBoolean>;
4819
6393
  limit: z.ZodOptional<z.ZodNumber>;
4820
6394
  cursor: z.ZodOptional<z.ZodString>;
4821
6395
  }, z.core.$strip>, z.ZodObject<{
@@ -4824,10 +6398,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4824
6398
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4825
6399
  type: z.ZodLiteral<"user">;
4826
6400
  sub: z.ZodString;
6401
+ agent: z.ZodOptional<z.ZodObject<{
6402
+ patId: z.ZodString;
6403
+ label: z.ZodString;
6404
+ }, z.core.$strip>>;
4827
6405
  }, z.core.$strip>, z.ZodObject<{
4828
6406
  type: z.ZodLiteral<"api_key">;
4829
6407
  keyId: z.ZodString;
4830
6408
  ownerSub: z.ZodString;
6409
+ agent: z.ZodOptional<z.ZodObject<{
6410
+ label: z.ZodString;
6411
+ }, z.core.$strip>>;
4831
6412
  }, z.core.$strip>, z.ZodObject<{
4832
6413
  type: z.ZodLiteral<"service_account">;
4833
6414
  id: z.ZodString;
@@ -4850,10 +6431,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4850
6431
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4851
6432
  type: z.ZodLiteral<"user">;
4852
6433
  sub: z.ZodString;
6434
+ agent: z.ZodOptional<z.ZodObject<{
6435
+ patId: z.ZodString;
6436
+ label: z.ZodString;
6437
+ }, z.core.$strip>>;
4853
6438
  }, z.core.$strip>, z.ZodObject<{
4854
6439
  type: z.ZodLiteral<"api_key">;
4855
6440
  keyId: z.ZodString;
4856
6441
  ownerSub: z.ZodString;
6442
+ agent: z.ZodOptional<z.ZodObject<{
6443
+ label: z.ZodString;
6444
+ }, z.core.$strip>>;
4857
6445
  }, z.core.$strip>, z.ZodObject<{
4858
6446
  type: z.ZodLiteral<"service_account">;
4859
6447
  id: z.ZodString;
@@ -4917,10 +6505,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4917
6505
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4918
6506
  type: z.ZodLiteral<"user">;
4919
6507
  sub: z.ZodString;
6508
+ agent: z.ZodOptional<z.ZodObject<{
6509
+ patId: z.ZodString;
6510
+ label: z.ZodString;
6511
+ }, z.core.$strip>>;
4920
6512
  }, z.core.$strip>, z.ZodObject<{
4921
6513
  type: z.ZodLiteral<"api_key">;
4922
6514
  keyId: z.ZodString;
4923
6515
  ownerSub: z.ZodString;
6516
+ agent: z.ZodOptional<z.ZodObject<{
6517
+ label: z.ZodString;
6518
+ }, z.core.$strip>>;
4924
6519
  }, z.core.$strip>, z.ZodObject<{
4925
6520
  type: z.ZodLiteral<"service_account">;
4926
6521
  id: z.ZodString;
@@ -4940,10 +6535,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4940
6535
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4941
6536
  type: z.ZodLiteral<"user">;
4942
6537
  sub: z.ZodString;
6538
+ agent: z.ZodOptional<z.ZodObject<{
6539
+ patId: z.ZodString;
6540
+ label: z.ZodString;
6541
+ }, z.core.$strip>>;
4943
6542
  }, z.core.$strip>, z.ZodObject<{
4944
6543
  type: z.ZodLiteral<"api_key">;
4945
6544
  keyId: z.ZodString;
4946
6545
  ownerSub: z.ZodString;
6546
+ agent: z.ZodOptional<z.ZodObject<{
6547
+ label: z.ZodString;
6548
+ }, z.core.$strip>>;
4947
6549
  }, z.core.$strip>, z.ZodObject<{
4948
6550
  type: z.ZodLiteral<"service_account">;
4949
6551
  id: z.ZodString;
@@ -4964,10 +6566,17 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
4964
6566
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
4965
6567
  type: z.ZodLiteral<"user">;
4966
6568
  sub: z.ZodString;
6569
+ agent: z.ZodOptional<z.ZodObject<{
6570
+ patId: z.ZodString;
6571
+ label: z.ZodString;
6572
+ }, z.core.$strip>>;
4967
6573
  }, z.core.$strip>, z.ZodObject<{
4968
6574
  type: z.ZodLiteral<"api_key">;
4969
6575
  keyId: z.ZodString;
4970
6576
  ownerSub: z.ZodString;
6577
+ agent: z.ZodOptional<z.ZodObject<{
6578
+ label: z.ZodString;
6579
+ }, z.core.$strip>>;
4971
6580
  }, z.core.$strip>, z.ZodObject<{
4972
6581
  type: z.ZodLiteral<"service_account">;
4973
6582
  id: z.ZodString;
@@ -5002,12 +6611,15 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
5002
6611
  orchestratorId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5003
6612
  errorMessage: z.ZodNullable<z.ZodString>;
5004
6613
  runsOnLabels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
6614
+ environments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
6615
+ skippedEnvironments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
6616
+ envWarning: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5005
6617
  outputs: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
5006
6618
  secretOutputKeys: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
5007
6619
  initFailure: z.ZodOptional<z.ZodObject<{
5008
6620
  scope: z.ZodEnum<{
5009
- run: "run";
5010
6621
  job: "job";
6622
+ run: "run";
5011
6623
  }>;
5012
6624
  category: z.ZodEnum<{
5013
6625
  secret_resolution: "secret_resolution";
@@ -5057,13 +6669,19 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
5057
6669
  no_check: "no_check";
5058
6670
  }>>>;
5059
6671
  driftSummary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6672
+ concurrencyKind: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
6673
+ sequential: "sequential";
6674
+ "parallel-child": "parallel-child";
6675
+ "parallel-group": "parallel-group";
6676
+ }>>>;
6677
+ groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5060
6678
  }, z.core.$strip>>;
5061
6679
  }, z.core.$strip>>;
5062
6680
  trustContext: z.ZodOptional<z.ZodObject<{
5063
6681
  trustTier: z.ZodNullable<z.ZodEnum<{
5064
6682
  unknown: "unknown";
5065
- trusted: "trusted";
5066
6683
  known: "known";
6684
+ trusted: "trusted";
5067
6685
  }>>;
5068
6686
  lockFileSource: z.ZodNullable<z.ZodEnum<{
5069
6687
  head: "head";
@@ -5073,8 +6691,8 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
5073
6691
  }, z.core.$strip>>;
5074
6692
  initFailure: z.ZodOptional<z.ZodObject<{
5075
6693
  scope: z.ZodEnum<{
5076
- run: "run";
5077
6694
  job: "job";
6695
+ run: "run";
5078
6696
  }>;
5079
6697
  category: z.ZodEnum<{
5080
6698
  secret_resolution: "secret_resolution";
@@ -5090,11 +6708,173 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
5090
6708
  jobName: z.ZodOptional<z.ZodString>;
5091
6709
  }, z.core.$strip>>;
5092
6710
  error: z.ZodOptional<z.ZodString>;
6711
+ }, z.core.$strip>, z.ZodObject<{
6712
+ type: z.ZodLiteral<"dashboard.run.structured.response">;
6713
+ requestId: z.ZodString;
6714
+ result: z.ZodNullable<z.ZodObject<{
6715
+ runId: z.ZodString;
6716
+ workflowName: z.ZodObject<{
6717
+ untrusted: z.ZodLiteral<true>;
6718
+ value: z.ZodString;
6719
+ }, z.core.$strip>;
6720
+ status: z.ZodEnum<{
6721
+ success: "success";
6722
+ pending: "pending";
6723
+ running: "running";
6724
+ failed: "failed";
6725
+ cancelled: "cancelled";
6726
+ cancelling: "cancelling";
6727
+ held: "held";
6728
+ }>;
6729
+ provider: z.ZodString;
6730
+ repoIdentifier: z.ZodObject<{
6731
+ untrusted: z.ZodLiteral<true>;
6732
+ value: z.ZodString;
6733
+ }, z.core.$strip>;
6734
+ ref: z.ZodObject<{
6735
+ untrusted: z.ZodLiteral<true>;
6736
+ value: z.ZodString;
6737
+ }, z.core.$strip>;
6738
+ sha: z.ZodString;
6739
+ baseSha: z.ZodNullable<z.ZodString>;
6740
+ startedAt: z.ZodNullable<z.ZodString>;
6741
+ completedAt: z.ZodNullable<z.ZodString>;
6742
+ durationMs: z.ZodNullable<z.ZodNumber>;
6743
+ trustTier: z.ZodNullable<z.ZodEnum<{
6744
+ unknown: "unknown";
6745
+ known: "known";
6746
+ trusted: "trusted";
6747
+ }>>;
6748
+ contributorUsername: z.ZodNullable<z.ZodObject<{
6749
+ untrusted: z.ZodLiteral<true>;
6750
+ value: z.ZodString;
6751
+ }, z.core.$strip>>;
6752
+ failureCategory: z.ZodNullable<z.ZodEnum<{
6753
+ unknown: "unknown";
6754
+ cancelled: "cancelled";
6755
+ init_failure: "init_failure";
6756
+ timed_out: "timed_out";
6757
+ step_failed: "step_failed";
6758
+ infra: "infra";
6759
+ }>>;
6760
+ failureReason: z.ZodNullable<z.ZodObject<{
6761
+ untrusted: z.ZodLiteral<true>;
6762
+ value: z.ZodString;
6763
+ }, z.core.$strip>>;
6764
+ triggeredBy: z.ZodNullable<z.ZodString>;
6765
+ triggeredByAgentLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6766
+ jobs: z.ZodArray<z.ZodObject<{
6767
+ jobId: z.ZodString;
6768
+ jobName: z.ZodObject<{
6769
+ untrusted: z.ZodLiteral<true>;
6770
+ value: z.ZodString;
6771
+ }, z.core.$strip>;
6772
+ status: z.ZodEnum<{
6773
+ skipped: "skipped";
6774
+ success: "success";
6775
+ pending: "pending";
6776
+ running: "running";
6777
+ failed: "failed";
6778
+ cancelled: "cancelled";
6779
+ cancelling: "cancelling";
6780
+ queued: "queued";
6781
+ recovering: "recovering";
6782
+ timed_out_stale: "timed_out_stale";
6783
+ drift_dropped: "drift_dropped";
6784
+ }>;
6785
+ startedAt: z.ZodNullable<z.ZodString>;
6786
+ completedAt: z.ZodNullable<z.ZodString>;
6787
+ durationMs: z.ZodNullable<z.ZodNumber>;
6788
+ agentId: z.ZodNullable<z.ZodString>;
6789
+ errorMessage: z.ZodNullable<z.ZodObject<{
6790
+ untrusted: z.ZodLiteral<true>;
6791
+ value: z.ZodString;
6792
+ }, z.core.$strip>>;
6793
+ initFailure: z.ZodNullable<z.ZodObject<{
6794
+ scope: z.ZodEnum<{
6795
+ job: "job";
6796
+ run: "run";
6797
+ }>;
6798
+ category: z.ZodEnum<{
6799
+ secret_resolution: "secret_resolution";
6800
+ install_secrets: "install_secrets";
6801
+ lock_resolution: "lock_resolution";
6802
+ build_coordination: "build_coordination";
6803
+ environment_rules: "environment_rules";
6804
+ dynamic_eval: "dynamic_eval";
6805
+ no_agent: "no_agent";
6806
+ matrix_expansion: "matrix_expansion";
6807
+ }>;
6808
+ message: z.ZodObject<{
6809
+ untrusted: z.ZodLiteral<true>;
6810
+ value: z.ZodString;
6811
+ }, z.core.$strip>;
6812
+ }, z.core.$strip>>;
6813
+ needs: z.ZodArray<z.ZodObject<{
6814
+ ref: z.ZodObject<{
6815
+ untrusted: z.ZodLiteral<true>;
6816
+ value: z.ZodString;
6817
+ }, z.core.$strip>;
6818
+ runOn: z.ZodArray<z.ZodEnum<{
6819
+ skipped: "skipped";
6820
+ success: "success";
6821
+ pending: "pending";
6822
+ running: "running";
6823
+ failed: "failed";
6824
+ cancelled: "cancelled";
6825
+ cancelling: "cancelling";
6826
+ queued: "queued";
6827
+ recovering: "recovering";
6828
+ timed_out_stale: "timed_out_stale";
6829
+ drift_dropped: "drift_dropped";
6830
+ }>>;
6831
+ }, z.core.$strip>>;
6832
+ outputs: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
6833
+ untrusted: z.ZodLiteral<true>;
6834
+ value: z.ZodString;
6835
+ }, z.core.$strip>>>;
6836
+ secretOutputKeys: z.ZodArray<z.ZodString>;
6837
+ steps: z.ZodArray<z.ZodObject<{
6838
+ stepIndex: z.ZodNumber;
6839
+ stepName: z.ZodObject<{
6840
+ untrusted: z.ZodLiteral<true>;
6841
+ value: z.ZodString;
6842
+ }, z.core.$strip>;
6843
+ status: z.ZodEnum<{
6844
+ skipped: "skipped";
6845
+ success: "success";
6846
+ pending: "pending";
6847
+ running: "running";
6848
+ failed: "failed";
6849
+ cancelled: "cancelled";
6850
+ }>;
6851
+ exitCode: z.ZodNullable<z.ZodNumber>;
6852
+ durationMs: z.ZodNullable<z.ZodNumber>;
6853
+ startedAt: z.ZodNullable<z.ZodString>;
6854
+ completedAt: z.ZodNullable<z.ZodString>;
6855
+ errorMessage: z.ZodNullable<z.ZodObject<{
6856
+ untrusted: z.ZodLiteral<true>;
6857
+ value: z.ZodString;
6858
+ }, z.core.$strip>>;
6859
+ stepType: z.ZodString;
6860
+ checkOutcome: z.ZodNullable<z.ZodEnum<{
6861
+ skipped: "skipped";
6862
+ applied: "applied";
6863
+ declined: "declined";
6864
+ "dry-run": "dry-run";
6865
+ no_check: "no_check";
6866
+ }>>;
6867
+ secretsAccessed: z.ZodArray<z.ZodString>;
6868
+ }, z.core.$strip>>;
6869
+ }, z.core.$strip>>;
6870
+ }, z.core.$strip>>;
6871
+ error: z.ZodOptional<z.ZodString>;
5093
6872
  }, z.core.$strip>, z.ZodObject<{
5094
6873
  type: z.ZodLiteral<"dashboard.step.logs.response">;
5095
6874
  requestId: z.ZodString;
5096
6875
  lines: z.ZodArray<z.ZodString>;
5097
6876
  totalLines: z.ZodNumber;
6877
+ nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5098
6878
  error: z.ZodOptional<z.ZodString>;
5099
6879
  }, z.core.$strip>, z.ZodObject<{
5100
6880
  type: z.ZodLiteral<"dashboard.attestations.list.response">;
@@ -5123,8 +6903,116 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
5123
6903
  identityToken: z.ZodString;
5124
6904
  }, z.core.$strip>;
5125
6905
  }, z.core.$strip>;
6906
+ runId: z.ZodOptional<z.ZodString>;
6907
+ verifyStatus: z.ZodOptional<z.ZodEnum<{
6908
+ pending: "pending";
6909
+ failed: "failed";
6910
+ verified: "verified";
6911
+ unverifiable: "unverifiable";
6912
+ }>>;
6913
+ verifyReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6914
+ sourceOrigin: z.ZodOptional<z.ZodEnum<{
6915
+ triggered: "triggered";
6916
+ "run-remote": "run-remote";
6917
+ }>>;
6918
+ originOrgId: z.ZodOptional<z.ZodString>;
6919
+ attestationOrigin: z.ZodOptional<z.ZodEnum<{
6920
+ live: "live";
6921
+ deferred: "deferred";
6922
+ "offline-backfill": "offline-backfill";
6923
+ }>>;
6924
+ }, z.core.$strip>>;
6925
+ error: z.ZodOptional<z.ZodString>;
6926
+ }, z.core.$strip>, z.ZodObject<{
6927
+ type: z.ZodLiteral<"dashboard.attestations.list.all.response">;
6928
+ requestId: z.ZodString;
6929
+ attestations: z.ZodArray<z.ZodObject<{
6930
+ id: z.ZodString;
6931
+ runId: z.ZodString;
6932
+ jobId: z.ZodString;
6933
+ jobName: z.ZodNullable<z.ZodString>;
6934
+ subjectName: z.ZodString;
6935
+ subjectDigest: z.ZodString;
6936
+ mode: z.ZodString;
6937
+ mediaType: z.ZodString;
6938
+ createdAt: z.ZodString;
6939
+ verifyStatus: z.ZodEnum<{
6940
+ pending: "pending";
6941
+ failed: "failed";
6942
+ verified: "verified";
6943
+ unverifiable: "unverifiable";
6944
+ }>;
6945
+ verifyReason: z.ZodNullable<z.ZodString>;
6946
+ repository: z.ZodNullable<z.ZodString>;
6947
+ workflow: z.ZodNullable<z.ZodString>;
6948
+ sourceOrigin: z.ZodOptional<z.ZodEnum<{
6949
+ triggered: "triggered";
6950
+ "run-remote": "run-remote";
6951
+ }>>;
6952
+ attestationOrigin: z.ZodOptional<z.ZodEnum<{
6953
+ live: "live";
6954
+ deferred: "deferred";
6955
+ "offline-backfill": "offline-backfill";
6956
+ }>>;
6957
+ pending: z.ZodOptional<z.ZodBoolean>;
6958
+ }, z.core.$strip>>;
6959
+ page: z.ZodNumber;
6960
+ pageSize: z.ZodNumber;
6961
+ total: z.ZodNumber;
6962
+ error: z.ZodOptional<z.ZodString>;
6963
+ }, z.core.$strip>, z.ZodObject<{
6964
+ type: z.ZodLiteral<"dashboard.attestation.get.response">;
6965
+ requestId: z.ZodString;
6966
+ attestation: z.ZodNullable<z.ZodObject<{
6967
+ id: z.ZodString;
6968
+ jobId: z.ZodString;
6969
+ jobName: z.ZodNullable<z.ZodString>;
6970
+ subjectName: z.ZodString;
6971
+ subjectDigest: z.ZodString;
6972
+ mode: z.ZodString;
6973
+ mediaType: z.ZodString;
6974
+ createdAt: z.ZodString;
6975
+ bundle: z.ZodObject<{
6976
+ mediaType: z.ZodLiteral<"application/vnd.kici.provenance.bundle+json;version=0.1">;
6977
+ dsseEnvelope: z.ZodObject<{
6978
+ payloadType: z.ZodString;
6979
+ payload: z.ZodString;
6980
+ signatures: z.ZodArray<z.ZodObject<{
6981
+ keyid: z.ZodString;
6982
+ sig: z.ZodString;
6983
+ }, z.core.$strip>>;
6984
+ }, z.core.$strip>;
6985
+ verificationMaterial: z.ZodObject<{
6986
+ publicKey: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6987
+ identityToken: z.ZodString;
6988
+ }, z.core.$strip>;
6989
+ }, z.core.$strip>;
6990
+ runId: z.ZodOptional<z.ZodString>;
6991
+ verifyStatus: z.ZodOptional<z.ZodEnum<{
6992
+ pending: "pending";
6993
+ failed: "failed";
6994
+ verified: "verified";
6995
+ unverifiable: "unverifiable";
6996
+ }>>;
6997
+ verifyReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6998
+ sourceOrigin: z.ZodOptional<z.ZodEnum<{
6999
+ triggered: "triggered";
7000
+ "run-remote": "run-remote";
7001
+ }>>;
7002
+ originOrgId: z.ZodOptional<z.ZodString>;
7003
+ attestationOrigin: z.ZodOptional<z.ZodEnum<{
7004
+ live: "live";
7005
+ deferred: "deferred";
7006
+ "offline-backfill": "offline-backfill";
7007
+ }>>;
5126
7008
  }, z.core.$strip>>;
5127
7009
  error: z.ZodOptional<z.ZodString>;
7010
+ }, z.core.$strip>, z.ZodObject<{
7011
+ type: z.ZodLiteral<"dashboard.attestation.retry.response">;
7012
+ requestId: z.ZodString;
7013
+ minted: z.ZodNumber;
7014
+ stillPending: z.ZodNumber;
7015
+ error: z.ZodOptional<z.ZodString>;
5128
7016
  }, z.core.$strip>, z.ZodObject<{
5129
7017
  type: z.ZodLiteral<"dashboard.runs.list.response">;
5130
7018
  requestId: z.ZodString;
@@ -5142,13 +7030,16 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
5142
7030
  triggerEvent: z.ZodOptional<z.ZodString>;
5143
7031
  commitMessage: z.ZodOptional<z.ZodString>;
5144
7032
  jobCount: z.ZodOptional<z.ZodNumber>;
7033
+ environments: z.ZodOptional<z.ZodArray<z.ZodString>>;
5145
7034
  startedAt: z.ZodOptional<z.ZodString>;
5146
7035
  completedAt: z.ZodOptional<z.ZodString>;
5147
7036
  durationMs: z.ZodOptional<z.ZodNumber>;
5148
7037
  parentRunId: z.ZodOptional<z.ZodString>;
5149
7038
  originalRunId: z.ZodOptional<z.ZodString>;
5150
7039
  triggeredBy: z.ZodOptional<z.ZodString>;
7040
+ triggeredByAgentLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5151
7041
  cancelledBy: z.ZodOptional<z.ZodString>;
7042
+ cancelledByAgentLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5152
7043
  failureReason: z.ZodOptional<z.ZodString>;
5153
7044
  hadCompileJob: z.ZodOptional<z.ZodBoolean>;
5154
7045
  compileJobId: z.ZodOptional<z.ZodString>;
@@ -5226,8 +7117,8 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
5226
7117
  id: z.ZodString;
5227
7118
  name: z.ZodString;
5228
7119
  type: z.ZodEnum<{
5229
- glob: "glob";
5230
7120
  fixed: "fixed";
7121
+ glob: "glob";
5231
7122
  }>;
5232
7123
  globPattern: z.ZodNullable<z.ZodString>;
5233
7124
  enabled: z.ZodBoolean;
@@ -5244,8 +7135,8 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
5244
7135
  id: z.ZodString;
5245
7136
  name: z.ZodString;
5246
7137
  type: z.ZodEnum<{
5247
- glob: "glob";
5248
7138
  fixed: "fixed";
7139
+ glob: "glob";
5249
7140
  }>;
5250
7141
  globPattern: z.ZodNullable<z.ZodString>;
5251
7142
  branchRestrictions: z.ZodNullable<z.ZodArray<z.ZodString>>;
@@ -5388,8 +7279,8 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
5388
7279
  }>;
5389
7280
  status: z.ZodEnum<{
5390
7281
  pending: "pending";
5391
- rejected: "rejected";
5392
7282
  approved: "approved";
7283
+ rejected: "rejected";
5393
7284
  expired: "expired";
5394
7285
  }>;
5395
7286
  requestedAt: z.ZodCoercedString<unknown>;
@@ -5401,9 +7292,9 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
5401
7292
  trustTier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5402
7293
  jobId: z.ZodOptional<z.ZodString>;
5403
7294
  holdScope: z.ZodOptional<z.ZodEnum<{
7295
+ workflow: "workflow";
5404
7296
  job: "job";
5405
7297
  step: "step";
5406
- workflow: "workflow";
5407
7298
  }>>;
5408
7299
  stepIndex: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5409
7300
  requirement: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -5596,8 +7487,8 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
5596
7487
  dependencyHealth: z.ZodOptional<z.ZodArray<z.ZodObject<{
5597
7488
  name: z.ZodString;
5598
7489
  status: z.ZodEnum<{
5599
- fail: "fail";
5600
7490
  pass: "pass";
7491
+ fail: "fail";
5601
7492
  warn: "warn";
5602
7493
  }>;
5603
7494
  message: z.ZodNullable<z.ZodString>;
@@ -5685,9 +7576,9 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
5685
7576
  }>;
5686
7577
  }, z.core.$strip>>;
5687
7578
  onUnreachable: z.ZodEnum<{
7579
+ hold: "hold";
5688
7580
  skip: "skip";
5689
7581
  fail: "fail";
5690
- hold: "hold";
5691
7582
  }>;
5692
7583
  estimatedChildCount: z.ZodNumber;
5693
7584
  }, z.core.$strip>, z.ZodObject<{
@@ -5698,9 +7589,9 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
5698
7589
  repoIdentifier: z.ZodString;
5699
7590
  sourceFile: z.ZodNullable<z.ZodString>;
5700
7591
  onUnreachable: z.ZodEnum<{
7592
+ hold: "hold";
5701
7593
  skip: "skip";
5702
7594
  fail: "fail";
5703
- hold: "hold";
5704
7595
  }>;
5705
7596
  disposition: z.ZodEnum<{
5706
7597
  target: "target";
@@ -6023,6 +7914,7 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
6023
7914
  "fleet.host.declare": "fleet.host.declare";
6024
7915
  "fleet.host.remove": "fleet.host.remove";
6025
7916
  "run.detail.read": "run.detail.read";
7917
+ "run.structured.read": "run.structured.read";
6026
7918
  "runs.list.read": "runs.list.read";
6027
7919
  "runs.filters.read": "runs.filters.read";
6028
7920
  "sources.list.read": "sources.list.read";
@@ -6086,14 +7978,14 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
6086
7978
  purge_chunk: "purge_chunk";
6087
7979
  }>;
6088
7980
  targetType: z.ZodNullable<z.ZodEnum<{
6089
- run: "run";
6090
7981
  job: "job";
6091
- payload: "payload";
6092
7982
  step: "step";
7983
+ run: "run";
7984
+ environment: "environment";
7985
+ payload: "payload";
6093
7986
  event_log: "event_log";
6094
7987
  event_log_payload: "event_log_payload";
6095
7988
  secret_scope: "secret_scope";
6096
- environment: "environment";
6097
7989
  registration: "registration";
6098
7990
  backend: "backend";
6099
7991
  diagnostics: "diagnostics";
@@ -6104,14 +7996,15 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
6104
7996
  event_dlq: "event_dlq";
6105
7997
  org_settings: "org_settings";
6106
7998
  cluster_meta: "cluster_meta";
7999
+ attestation: "attestation";
6107
8000
  }>>;
6108
8001
  targetId: z.ZodNullable<z.ZodString>;
6109
8002
  requestId: z.ZodNullable<z.ZodString>;
6110
8003
  source: z.ZodEnum<{
8004
+ agent: "agent";
6111
8005
  platform_proxy: "platform_proxy";
6112
8006
  admin_http: "admin_http";
6113
8007
  admin_cli: "admin_cli";
6114
- agent: "agent";
6115
8008
  }>;
6116
8009
  outcome: z.ZodEnum<{
6117
8010
  error: "error";
@@ -6119,6 +8012,7 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
6119
8012
  denied: "denied";
6120
8013
  }>;
6121
8014
  errorMessage: z.ZodNullable<z.ZodString>;
8015
+ agentLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6122
8016
  createdAt: z.ZodString;
6123
8017
  }, z.core.$strip>>>;
6124
8018
  nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6136,11 +8030,12 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
6136
8030
  requestId: z.ZodString;
6137
8031
  runId: z.ZodOptional<z.ZodString>;
6138
8032
  status: z.ZodOptional<z.ZodEnum<{
6139
- accepted: "accepted";
6140
8033
  rejected: "rejected";
8034
+ accepted: "accepted";
6141
8035
  }>>;
6142
8036
  reason: z.ZodOptional<z.ZodString>;
6143
8037
  jobIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
8038
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
6144
8039
  error: z.ZodOptional<z.ZodString>;
6145
8040
  }, z.core.$strip>, z.ZodObject<{
6146
8041
  type: z.ZodLiteral<"test.relay.run.status.response">;
@@ -6252,12 +8147,15 @@ export declare const dashboardRunDetailApiResponseSchema: z.ZodObject<{
6252
8147
  orchestratorId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6253
8148
  errorMessage: z.ZodNullable<z.ZodString>;
6254
8149
  runsOnLabels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
8150
+ environments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
8151
+ skippedEnvironments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
8152
+ envWarning: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6255
8153
  outputs: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
6256
8154
  secretOutputKeys: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
6257
8155
  initFailure: z.ZodOptional<z.ZodObject<{
6258
8156
  scope: z.ZodEnum<{
6259
- run: "run";
6260
8157
  job: "job";
8158
+ run: "run";
6261
8159
  }>;
6262
8160
  category: z.ZodEnum<{
6263
8161
  secret_resolution: "secret_resolution";
@@ -6307,13 +8205,19 @@ export declare const dashboardRunDetailApiResponseSchema: z.ZodObject<{
6307
8205
  no_check: "no_check";
6308
8206
  }>>>;
6309
8207
  driftSummary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8208
+ concurrencyKind: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8209
+ sequential: "sequential";
8210
+ "parallel-child": "parallel-child";
8211
+ "parallel-group": "parallel-group";
8212
+ }>>>;
8213
+ groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6310
8214
  }, z.core.$strip>>;
6311
8215
  }, z.core.$strip>>;
6312
8216
  trustContext: z.ZodOptional<z.ZodObject<{
6313
8217
  trustTier: z.ZodNullable<z.ZodEnum<{
6314
8218
  unknown: "unknown";
6315
- trusted: "trusted";
6316
8219
  known: "known";
8220
+ trusted: "trusted";
6317
8221
  }>>;
6318
8222
  lockFileSource: z.ZodNullable<z.ZodEnum<{
6319
8223
  head: "head";
@@ -6328,8 +8232,8 @@ export declare const dashboardRunDetailApiResponseSchema: z.ZodObject<{
6328
8232
  }>>>;
6329
8233
  initFailure: z.ZodOptional<z.ZodObject<{
6330
8234
  scope: z.ZodEnum<{
6331
- run: "run";
6332
8235
  job: "job";
8236
+ run: "run";
6333
8237
  }>;
6334
8238
  category: z.ZodEnum<{
6335
8239
  secret_resolution: "secret_resolution";
@@ -6349,6 +8253,7 @@ export declare const dashboardRunDetailApiResponseSchema: z.ZodObject<{
6349
8253
  export declare const dashboardStepLogsApiResponseSchema: z.ZodObject<{
6350
8254
  lines: z.ZodArray<z.ZodString>;
6351
8255
  totalLines: z.ZodNumber;
8256
+ nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6352
8257
  }, z.core.$strip>;
6353
8258
  /**
6354
8259
  * REST API response for the run attestations list. The orchestrator-relayed
@@ -6387,6 +8292,24 @@ export declare const dashboardAttestationsApiResponseSchema: z.ZodObject<{
6387
8292
  identityToken: z.ZodString;
6388
8293
  }, z.core.$strip>;
6389
8294
  }, z.core.$strip>;
8295
+ runId: z.ZodOptional<z.ZodString>;
8296
+ verifyStatus: z.ZodOptional<z.ZodEnum<{
8297
+ pending: "pending";
8298
+ failed: "failed";
8299
+ verified: "verified";
8300
+ unverifiable: "unverifiable";
8301
+ }>>;
8302
+ verifyReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8303
+ sourceOrigin: z.ZodOptional<z.ZodEnum<{
8304
+ triggered: "triggered";
8305
+ "run-remote": "run-remote";
8306
+ }>>;
8307
+ originOrgId: z.ZodOptional<z.ZodString>;
8308
+ attestationOrigin: z.ZodOptional<z.ZodEnum<{
8309
+ live: "live";
8310
+ deferred: "deferred";
8311
+ "offline-backfill": "offline-backfill";
8312
+ }>>;
6390
8313
  }, z.core.$strip>>;
6391
8314
  }, z.core.$strip>;
6392
8315
  /** Single run summary in the paginated run list. */
@@ -6406,12 +8329,14 @@ export declare const runListItemSchema: z.ZodObject<{
6406
8329
  parentRunId: z.ZodNullable<z.ZodString>;
6407
8330
  originalRunId: z.ZodNullable<z.ZodString>;
6408
8331
  triggeredBy: z.ZodNullable<z.ZodString>;
8332
+ triggeredByAgentLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6409
8333
  triggeredByUser: z.ZodNullable<z.ZodObject<{
6410
8334
  sub: z.ZodString;
6411
8335
  email: z.ZodNullable<z.ZodString>;
6412
8336
  displayName: z.ZodNullable<z.ZodString>;
6413
8337
  }, z.core.$strip>>;
6414
8338
  cancelledBy: z.ZodNullable<z.ZodString>;
8339
+ cancelledByAgentLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6415
8340
  cancelledByUser: z.ZodNullable<z.ZodObject<{
6416
8341
  sub: z.ZodString;
6417
8342
  email: z.ZodNullable<z.ZodString>;
@@ -6420,6 +8345,9 @@ export declare const runListItemSchema: z.ZodObject<{
6420
8345
  failureReason: z.ZodOptional<z.ZodString>;
6421
8346
  hadCompileJob: z.ZodBoolean;
6422
8347
  compileJobId: z.ZodNullable<z.ZodString>;
8348
+ environments: z.ZodOptional<z.ZodArray<z.ZodString>>;
8349
+ repoProvider: z.ZodNullable<z.ZodString>;
8350
+ localWorkingTree: z.ZodBoolean;
6423
8351
  source: z.ZodNullable<z.ZodObject<{
6424
8352
  routingKey: z.ZodString;
6425
8353
  name: z.ZodNullable<z.ZodString>;
@@ -6451,12 +8379,14 @@ export declare const runListResponseSchema: z.ZodObject<{
6451
8379
  parentRunId: z.ZodNullable<z.ZodString>;
6452
8380
  originalRunId: z.ZodNullable<z.ZodString>;
6453
8381
  triggeredBy: z.ZodNullable<z.ZodString>;
8382
+ triggeredByAgentLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6454
8383
  triggeredByUser: z.ZodNullable<z.ZodObject<{
6455
8384
  sub: z.ZodString;
6456
8385
  email: z.ZodNullable<z.ZodString>;
6457
8386
  displayName: z.ZodNullable<z.ZodString>;
6458
8387
  }, z.core.$strip>>;
6459
8388
  cancelledBy: z.ZodNullable<z.ZodString>;
8389
+ cancelledByAgentLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6460
8390
  cancelledByUser: z.ZodNullable<z.ZodObject<{
6461
8391
  sub: z.ZodString;
6462
8392
  email: z.ZodNullable<z.ZodString>;
@@ -6465,6 +8395,9 @@ export declare const runListResponseSchema: z.ZodObject<{
6465
8395
  failureReason: z.ZodOptional<z.ZodString>;
6466
8396
  hadCompileJob: z.ZodBoolean;
6467
8397
  compileJobId: z.ZodNullable<z.ZodString>;
8398
+ environments: z.ZodOptional<z.ZodArray<z.ZodString>>;
8399
+ repoProvider: z.ZodNullable<z.ZodString>;
8400
+ localWorkingTree: z.ZodBoolean;
6468
8401
  source: z.ZodNullable<z.ZodObject<{
6469
8402
  routingKey: z.ZodString;
6470
8403
  name: z.ZodNullable<z.ZodString>;
@@ -6587,8 +8520,8 @@ declare const diagnosticsInfraOrchestratorSchema: z.ZodObject<{
6587
8520
  dependencyHealth: z.ZodOptional<z.ZodArray<z.ZodObject<{
6588
8521
  name: z.ZodString;
6589
8522
  status: z.ZodEnum<{
6590
- fail: "fail";
6591
8523
  pass: "pass";
8524
+ fail: "fail";
6592
8525
  warn: "warn";
6593
8526
  }>;
6594
8527
  message: z.ZodNullable<z.ZodString>;
@@ -6679,8 +8612,8 @@ export declare const diagnosticsInfrastructureResponseSchema: z.ZodObject<{
6679
8612
  dependencyHealth: z.ZodOptional<z.ZodArray<z.ZodObject<{
6680
8613
  name: z.ZodString;
6681
8614
  status: z.ZodEnum<{
6682
- fail: "fail";
6683
8615
  pass: "pass";
8616
+ fail: "fail";
6684
8617
  warn: "warn";
6685
8618
  }>;
6686
8619
  message: z.ZodNullable<z.ZodString>;
@@ -6820,5 +8753,22 @@ export declare const memberListResponseSchema: z.ZodObject<{
6820
8753
  }, z.core.$strip>;
6821
8754
  export type OrgMember = z.infer<typeof orgMemberSchema>;
6822
8755
  export type MemberListResponse = z.infer<typeof memberListResponseSchema>;
8756
+ /**
8757
+ * Every dashboard request type the local build understands, derived from the
8758
+ * discriminated union so it can never drift. A component advertises this set to
8759
+ * describe ITSELF; gating decisions always compare against the REMOTE's
8760
+ * advertised set, never this local one.
8761
+ */
8762
+ export declare const DASHBOARD_REQUEST_TYPES: readonly string[];
8763
+ /** Membership-test form of {@link DASHBOARD_REQUEST_TYPES}. */
8764
+ export declare const DASHBOARD_REQUEST_TYPE_SET: ReadonlySet<string>;
8765
+ /** Structured error code on a dashboard `*.response` frame's `code` field. */
8766
+ export declare const DashboardResponseErrorCode: z.ZodEnum<{
8767
+ unsupported_request_type: "unsupported_request_type";
8768
+ invalid_payload: "invalid_payload";
8769
+ unsupported_message_type: "unsupported_message_type";
8770
+ internal_error: "internal_error";
8771
+ }>;
8772
+ export type DashboardResponseErrorCode = z.infer<typeof DashboardResponseErrorCode>;
6823
8773
  export {};
6824
8774
  //# sourceMappingURL=dashboard.d.ts.map