@kici-dev/engine 0.1.13 → 0.1.15

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 (43) hide show
  1. package/README.md +13 -1
  2. package/dist/audit/access-log-policy.js +12 -0
  3. package/dist/audit/retention-policy.js +6 -0
  4. package/dist/index.d.ts +1 -1
  5. package/dist/index.js +8 -7
  6. package/dist/labels.d.ts +7 -0
  7. package/dist/labels.js +11 -2
  8. package/dist/metrics/metric-catalog.generated.d.ts +50 -0
  9. package/dist/metrics/metric-catalog.generated.js +60 -0
  10. package/dist/protocol/analytics-events.d.ts +16 -0
  11. package/dist/protocol/analytics-events.js +20 -0
  12. package/dist/protocol/dashboard-write-operations.d.ts +4 -1
  13. package/dist/protocol/dashboard-write-operations.js +11 -1
  14. package/dist/protocol/messages/access-log.d.ts +16 -0
  15. package/dist/protocol/messages/access-log.js +3 -0
  16. package/dist/protocol/messages/actor.d.ts +2 -0
  17. package/dist/protocol/messages/actor.js +12 -2
  18. package/dist/protocol/messages/auth.d.ts +1 -0
  19. package/dist/protocol/messages/capabilities.d.ts +1 -0
  20. package/dist/protocol/messages/dashboard-global-workflows.d.ts +2 -0
  21. package/dist/protocol/messages/dashboard.d.ts +685 -6
  22. package/dist/protocol/messages/dashboard.js +183 -10
  23. package/dist/protocol/messages/event-log.d.ts +4 -0
  24. package/dist/protocol/messages/event-log.js +4 -0
  25. package/dist/protocol/messages/execution-status.d.ts +133 -0
  26. package/dist/protocol/messages/execution-status.js +83 -3
  27. package/dist/protocol/messages/orchestrator-agent.d.ts +164 -0
  28. package/dist/protocol/messages/orchestrator-agent.js +118 -2
  29. package/dist/protocol/messages/peer.d.ts +13 -0
  30. package/dist/protocol/messages/peer.js +14 -1
  31. package/dist/protocol/messages/platform-orchestrator.d.ts +188 -0
  32. package/dist/protocol/messages/platform-orchestrator.js +3 -55
  33. package/dist/protocol/messages/run-events.d.ts +1 -0
  34. package/dist/provider/index.d.ts +1 -0
  35. package/dist/provider/index.js +2 -1
  36. package/dist/provider/lock-file-parse-error.d.ts +14 -0
  37. package/dist/provider/lock-file-parse-error.js +22 -0
  38. package/dist/trigger/types.d.ts +8 -1
  39. package/dist/trigger/types.js +3 -1
  40. package/dist/ws/close-codes.d.ts +7 -0
  41. package/dist/ws/close-codes.js +8 -1
  42. package/package.json +15 -8
  43. package/sbom.spdx.json +5 -5
@@ -17,6 +17,7 @@ export declare const dashboardRunDetailRequestSchema: z.ZodObject<{
17
17
  type: z.ZodLiteral<"platform_operator">;
18
18
  sub: z.ZodString;
19
19
  reason: z.ZodString;
20
+ sessionId: z.ZodOptional<z.ZodString>;
20
21
  }, z.core.$strip>, z.ZodObject<{
21
22
  type: z.ZodLiteral<"system">;
22
23
  component: z.ZodString;
@@ -41,6 +42,7 @@ export declare const dashboardStepLogsRequestSchema: z.ZodObject<{
41
42
  type: z.ZodLiteral<"platform_operator">;
42
43
  sub: z.ZodString;
43
44
  reason: z.ZodString;
45
+ sessionId: z.ZodOptional<z.ZodString>;
44
46
  }, z.core.$strip>, z.ZodObject<{
45
47
  type: z.ZodLiteral<"system">;
46
48
  component: z.ZodString;
@@ -64,6 +66,24 @@ export declare const dashboardJobDetailSchema: z.ZodObject<{
64
66
  runsOnLabels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
65
67
  outputs: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
66
68
  secretOutputKeys: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
69
+ initFailure: z.ZodOptional<z.ZodObject<{
70
+ scope: z.ZodEnum<{
71
+ run: "run";
72
+ job: "job";
73
+ }>;
74
+ category: z.ZodEnum<{
75
+ secret_resolution: "secret_resolution";
76
+ install_secrets: "install_secrets";
77
+ lock_resolution: "lock_resolution";
78
+ build_coordination: "build_coordination";
79
+ environment_rules: "environment_rules";
80
+ dynamic_eval: "dynamic_eval";
81
+ no_agent: "no_agent";
82
+ matrix_expansion: "matrix_expansion";
83
+ }>;
84
+ message: z.ZodString;
85
+ jobName: z.ZodOptional<z.ZodString>;
86
+ }, z.core.$strip>>;
67
87
  steps: z.ZodArray<z.ZodObject<{
68
88
  stepIndex: z.ZodNumber;
69
89
  stepName: z.ZodString;
@@ -95,6 +115,24 @@ export declare const dashboardRunDetailResponseSchema: z.ZodObject<{
95
115
  runsOnLabels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
96
116
  outputs: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
97
117
  secretOutputKeys: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
118
+ initFailure: z.ZodOptional<z.ZodObject<{
119
+ scope: z.ZodEnum<{
120
+ run: "run";
121
+ job: "job";
122
+ }>;
123
+ category: z.ZodEnum<{
124
+ secret_resolution: "secret_resolution";
125
+ install_secrets: "install_secrets";
126
+ lock_resolution: "lock_resolution";
127
+ build_coordination: "build_coordination";
128
+ environment_rules: "environment_rules";
129
+ dynamic_eval: "dynamic_eval";
130
+ no_agent: "no_agent";
131
+ matrix_expansion: "matrix_expansion";
132
+ }>;
133
+ message: z.ZodString;
134
+ jobName: z.ZodOptional<z.ZodString>;
135
+ }, z.core.$strip>>;
98
136
  steps: z.ZodArray<z.ZodObject<{
99
137
  stepIndex: z.ZodNumber;
100
138
  stepName: z.ZodString;
@@ -120,6 +158,24 @@ export declare const dashboardRunDetailResponseSchema: z.ZodObject<{
120
158
  }>>;
121
159
  contributorUsername: z.ZodNullable<z.ZodString>;
122
160
  }, z.core.$strip>>;
161
+ initFailure: z.ZodOptional<z.ZodObject<{
162
+ scope: z.ZodEnum<{
163
+ run: "run";
164
+ job: "job";
165
+ }>;
166
+ category: z.ZodEnum<{
167
+ secret_resolution: "secret_resolution";
168
+ install_secrets: "install_secrets";
169
+ lock_resolution: "lock_resolution";
170
+ build_coordination: "build_coordination";
171
+ environment_rules: "environment_rules";
172
+ dynamic_eval: "dynamic_eval";
173
+ no_agent: "no_agent";
174
+ matrix_expansion: "matrix_expansion";
175
+ }>;
176
+ message: z.ZodString;
177
+ jobName: z.ZodOptional<z.ZodString>;
178
+ }, z.core.$strip>>;
123
179
  error: z.ZodOptional<z.ZodString>;
124
180
  }, z.core.$strip>;
125
181
  /** Response with step log lines (correlates to dashboard.step.logs). */
@@ -130,6 +186,215 @@ export declare const dashboardStepLogsResponseSchema: z.ZodObject<{
130
186
  totalLines: z.ZodNumber;
131
187
  error: z.ZodOptional<z.ZodString>;
132
188
  }, z.core.$strip>;
189
+ /**
190
+ * Run-summary projection from the orchestrator's execution_runs table.
191
+ *
192
+ * The required fields (`runId` / `routingKey` / `status`) are always present.
193
+ * Every other field is optional: the orchestrator omits what it cannot
194
+ * supply, and the customer runs page degrades a missing field to '—'.
195
+ */
196
+ export declare const dashboardRunSummarySchema: z.ZodObject<{
197
+ runId: z.ZodString;
198
+ routingKey: z.ZodString;
199
+ status: z.ZodString;
200
+ repoIdentifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
201
+ createdAt: z.ZodString;
202
+ updatedAt: z.ZodOptional<z.ZodString>;
203
+ trigger: z.ZodOptional<z.ZodString>;
204
+ workflowName: z.ZodOptional<z.ZodString>;
205
+ sha: z.ZodOptional<z.ZodString>;
206
+ ref: z.ZodOptional<z.ZodString>;
207
+ triggerEvent: z.ZodOptional<z.ZodString>;
208
+ commitMessage: z.ZodOptional<z.ZodString>;
209
+ jobCount: z.ZodOptional<z.ZodNumber>;
210
+ startedAt: z.ZodOptional<z.ZodString>;
211
+ completedAt: z.ZodOptional<z.ZodString>;
212
+ durationMs: z.ZodOptional<z.ZodNumber>;
213
+ parentRunId: z.ZodOptional<z.ZodString>;
214
+ originalRunId: z.ZodOptional<z.ZodString>;
215
+ triggeredBy: z.ZodOptional<z.ZodString>;
216
+ cancelledBy: z.ZodOptional<z.ZodString>;
217
+ failureReason: z.ZodOptional<z.ZodString>;
218
+ hadCompileJob: z.ZodOptional<z.ZodBoolean>;
219
+ compileJobId: z.ZodOptional<z.ZodString>;
220
+ source: z.ZodOptional<z.ZodObject<{
221
+ routingKey: z.ZodString;
222
+ name: z.ZodNullable<z.ZodString>;
223
+ subtype: z.ZodString;
224
+ provider: z.ZodString;
225
+ }, z.core.$strip>>;
226
+ }, z.core.$strip>;
227
+ export type DashboardRunSummary = z.infer<typeof dashboardRunSummarySchema>;
228
+ /** Request a page of run summaries from the orchestrator. */
229
+ export declare const dashboardRunsListRequestSchema: z.ZodObject<{
230
+ type: z.ZodLiteral<"dashboard.runs.list">;
231
+ requestId: z.ZodString;
232
+ actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
233
+ type: z.ZodLiteral<"user">;
234
+ sub: z.ZodString;
235
+ }, z.core.$strip>, z.ZodObject<{
236
+ type: z.ZodLiteral<"api_key">;
237
+ keyId: z.ZodString;
238
+ ownerSub: z.ZodString;
239
+ }, z.core.$strip>, z.ZodObject<{
240
+ type: z.ZodLiteral<"service_account">;
241
+ id: z.ZodString;
242
+ }, z.core.$strip>, z.ZodObject<{
243
+ type: z.ZodLiteral<"platform_operator">;
244
+ sub: z.ZodString;
245
+ reason: z.ZodString;
246
+ sessionId: z.ZodOptional<z.ZodString>;
247
+ }, z.core.$strip>, z.ZodObject<{
248
+ type: z.ZodLiteral<"system">;
249
+ component: z.ZodString;
250
+ }, z.core.$strip>], "type">;
251
+ limit: z.ZodOptional<z.ZodNumber>;
252
+ cursor: z.ZodOptional<z.ZodString>;
253
+ }, z.core.$strip>;
254
+ export type DashboardRunsListRequest = z.infer<typeof dashboardRunsListRequestSchema>;
255
+ /** Response with the page of run summaries + next-page cursor. */
256
+ export declare const dashboardRunsListResponseSchema: z.ZodObject<{
257
+ type: z.ZodLiteral<"dashboard.runs.list.response">;
258
+ requestId: z.ZodString;
259
+ runs: z.ZodArray<z.ZodObject<{
260
+ runId: z.ZodString;
261
+ routingKey: z.ZodString;
262
+ status: z.ZodString;
263
+ repoIdentifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
264
+ createdAt: z.ZodString;
265
+ updatedAt: z.ZodOptional<z.ZodString>;
266
+ trigger: z.ZodOptional<z.ZodString>;
267
+ workflowName: z.ZodOptional<z.ZodString>;
268
+ sha: z.ZodOptional<z.ZodString>;
269
+ ref: z.ZodOptional<z.ZodString>;
270
+ triggerEvent: z.ZodOptional<z.ZodString>;
271
+ commitMessage: z.ZodOptional<z.ZodString>;
272
+ jobCount: z.ZodOptional<z.ZodNumber>;
273
+ startedAt: z.ZodOptional<z.ZodString>;
274
+ completedAt: z.ZodOptional<z.ZodString>;
275
+ durationMs: z.ZodOptional<z.ZodNumber>;
276
+ parentRunId: z.ZodOptional<z.ZodString>;
277
+ originalRunId: z.ZodOptional<z.ZodString>;
278
+ triggeredBy: z.ZodOptional<z.ZodString>;
279
+ cancelledBy: z.ZodOptional<z.ZodString>;
280
+ failureReason: z.ZodOptional<z.ZodString>;
281
+ hadCompileJob: z.ZodOptional<z.ZodBoolean>;
282
+ compileJobId: z.ZodOptional<z.ZodString>;
283
+ source: z.ZodOptional<z.ZodObject<{
284
+ routingKey: z.ZodString;
285
+ name: z.ZodNullable<z.ZodString>;
286
+ subtype: z.ZodString;
287
+ provider: z.ZodString;
288
+ }, z.core.$strip>>;
289
+ }, z.core.$strip>>;
290
+ nextCursor: z.ZodOptional<z.ZodString>;
291
+ error: z.ZodOptional<z.ZodString>;
292
+ }, z.core.$strip>;
293
+ export type DashboardRunsListResponse = z.infer<typeof dashboardRunsListResponseSchema>;
294
+ /** Request the distinct filter-option values from the orchestrator. */
295
+ export declare const dashboardRunsFiltersRequestSchema: z.ZodObject<{
296
+ type: z.ZodLiteral<"dashboard.runs.filters">;
297
+ requestId: z.ZodString;
298
+ actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
299
+ type: z.ZodLiteral<"user">;
300
+ sub: z.ZodString;
301
+ }, z.core.$strip>, z.ZodObject<{
302
+ type: z.ZodLiteral<"api_key">;
303
+ keyId: z.ZodString;
304
+ ownerSub: z.ZodString;
305
+ }, z.core.$strip>, z.ZodObject<{
306
+ type: z.ZodLiteral<"service_account">;
307
+ id: z.ZodString;
308
+ }, z.core.$strip>, z.ZodObject<{
309
+ type: z.ZodLiteral<"platform_operator">;
310
+ sub: z.ZodString;
311
+ reason: z.ZodString;
312
+ sessionId: z.ZodOptional<z.ZodString>;
313
+ }, z.core.$strip>, z.ZodObject<{
314
+ type: z.ZodLiteral<"system">;
315
+ component: z.ZodString;
316
+ }, z.core.$strip>], "type">;
317
+ }, z.core.$strip>;
318
+ export type DashboardRunsFiltersRequest = z.infer<typeof dashboardRunsFiltersRequestSchema>;
319
+ /** Response with the distinct filter-option values. */
320
+ export declare const dashboardRunsFiltersResponseSchema: z.ZodObject<{
321
+ type: z.ZodLiteral<"dashboard.runs.filters.response">;
322
+ requestId: z.ZodString;
323
+ statuses: z.ZodArray<z.ZodString>;
324
+ workflows: z.ZodArray<z.ZodString>;
325
+ branches: z.ZodArray<z.ZodString>;
326
+ repositories: z.ZodArray<z.ZodString>;
327
+ triggerTypes: z.ZodArray<z.ZodString>;
328
+ sources: z.ZodArray<z.ZodObject<{
329
+ routingKey: z.ZodString;
330
+ name: z.ZodNullable<z.ZodString>;
331
+ }, z.core.$strip>>;
332
+ error: z.ZodOptional<z.ZodString>;
333
+ }, z.core.$strip>;
334
+ export type DashboardRunsFiltersResponse = z.infer<typeof dashboardRunsFiltersResponseSchema>;
335
+ /** Minimal source-summary projection from the orchestrator's sources tables. */
336
+ export declare const dashboardSourceSummarySchema: z.ZodObject<{
337
+ routingKey: z.ZodString;
338
+ name: z.ZodNullable<z.ZodString>;
339
+ provider: z.ZodString;
340
+ subtype: z.ZodEnum<{
341
+ github_app: "github_app";
342
+ generic_webhook: "generic_webhook";
343
+ universal_git: "universal_git";
344
+ internal: "internal";
345
+ }>;
346
+ enabled: z.ZodBoolean;
347
+ createdAt: z.ZodString;
348
+ }, z.core.$strip>;
349
+ export type DashboardSourceSummary = z.infer<typeof dashboardSourceSummarySchema>;
350
+ /** Request a page of source summaries from the orchestrator. */
351
+ export declare const dashboardSourcesListRequestSchema: z.ZodObject<{
352
+ type: z.ZodLiteral<"dashboard.sources.list">;
353
+ requestId: z.ZodString;
354
+ actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
355
+ type: z.ZodLiteral<"user">;
356
+ sub: z.ZodString;
357
+ }, z.core.$strip>, z.ZodObject<{
358
+ type: z.ZodLiteral<"api_key">;
359
+ keyId: z.ZodString;
360
+ ownerSub: z.ZodString;
361
+ }, z.core.$strip>, z.ZodObject<{
362
+ type: z.ZodLiteral<"service_account">;
363
+ id: z.ZodString;
364
+ }, z.core.$strip>, z.ZodObject<{
365
+ type: z.ZodLiteral<"platform_operator">;
366
+ sub: z.ZodString;
367
+ reason: z.ZodString;
368
+ sessionId: z.ZodOptional<z.ZodString>;
369
+ }, z.core.$strip>, z.ZodObject<{
370
+ type: z.ZodLiteral<"system">;
371
+ component: z.ZodString;
372
+ }, z.core.$strip>], "type">;
373
+ limit: z.ZodOptional<z.ZodNumber>;
374
+ cursor: z.ZodOptional<z.ZodString>;
375
+ }, z.core.$strip>;
376
+ export type DashboardSourcesListRequest = z.infer<typeof dashboardSourcesListRequestSchema>;
377
+ /** Response with the page of source summaries + next-page cursor. */
378
+ export declare const dashboardSourcesListResponseSchema: z.ZodObject<{
379
+ type: z.ZodLiteral<"dashboard.sources.list.response">;
380
+ requestId: z.ZodString;
381
+ sources: z.ZodArray<z.ZodObject<{
382
+ routingKey: z.ZodString;
383
+ name: z.ZodNullable<z.ZodString>;
384
+ provider: z.ZodString;
385
+ subtype: z.ZodEnum<{
386
+ github_app: "github_app";
387
+ generic_webhook: "generic_webhook";
388
+ universal_git: "universal_git";
389
+ internal: "internal";
390
+ }>;
391
+ enabled: z.ZodBoolean;
392
+ createdAt: z.ZodString;
393
+ }, z.core.$strip>>;
394
+ nextCursor: z.ZodOptional<z.ZodString>;
395
+ error: z.ZodOptional<z.ZodString>;
396
+ }, z.core.$strip>;
397
+ export type DashboardSourcesListResponse = z.infer<typeof dashboardSourcesListResponseSchema>;
133
398
  /** Request to re-run a completed run. */
134
399
  export declare const runRerunRequestSchema: z.ZodObject<{
135
400
  type: z.ZodLiteral<"run.rerun.request">;
@@ -148,6 +413,7 @@ export declare const runRerunRequestSchema: z.ZodObject<{
148
413
  type: z.ZodLiteral<"platform_operator">;
149
414
  sub: z.ZodString;
150
415
  reason: z.ZodString;
416
+ sessionId: z.ZodOptional<z.ZodString>;
151
417
  }, z.core.$strip>, z.ZodObject<{
152
418
  type: z.ZodLiteral<"system">;
153
419
  component: z.ZodString;
@@ -173,6 +439,7 @@ export declare const manualScheduleRequestSchema: z.ZodObject<{
173
439
  type: z.ZodLiteral<"platform_operator">;
174
440
  sub: z.ZodString;
175
441
  reason: z.ZodString;
442
+ sessionId: z.ZodOptional<z.ZodString>;
176
443
  }, z.core.$strip>, z.ZodObject<{
177
444
  type: z.ZodLiteral<"system">;
178
445
  component: z.ZodString;
@@ -197,6 +464,7 @@ export declare const runCancelRequestSchema: z.ZodObject<{
197
464
  type: z.ZodLiteral<"platform_operator">;
198
465
  sub: z.ZodString;
199
466
  reason: z.ZodString;
467
+ sessionId: z.ZodOptional<z.ZodString>;
200
468
  }, z.core.$strip>, z.ZodObject<{
201
469
  type: z.ZodLiteral<"system">;
202
470
  component: z.ZodString;
@@ -222,6 +490,7 @@ export declare const dashboardPayloadRequestSchema: z.ZodObject<{
222
490
  type: z.ZodLiteral<"platform_operator">;
223
491
  sub: z.ZodString;
224
492
  reason: z.ZodString;
493
+ sessionId: z.ZodOptional<z.ZodString>;
225
494
  }, z.core.$strip>, z.ZodObject<{
226
495
  type: z.ZodLiteral<"system">;
227
496
  component: z.ZodString;
@@ -255,6 +524,7 @@ export declare const eventLogListItemSchema: z.ZodObject<{
255
524
  processed: "processed";
256
525
  duplicate: "duplicate";
257
526
  lockfile_missing: "lockfile_missing";
527
+ lockfile_corrupt: "lockfile_corrupt";
258
528
  }>;
259
529
  matchedCount: z.ZodNumber;
260
530
  runId: z.ZodNullable<z.ZodString>;
@@ -286,6 +556,7 @@ export declare const dashboardEventLogListRequestSchema: z.ZodObject<{
286
556
  type: z.ZodLiteral<"platform_operator">;
287
557
  sub: z.ZodString;
288
558
  reason: z.ZodString;
559
+ sessionId: z.ZodOptional<z.ZodString>;
289
560
  }, z.core.$strip>, z.ZodObject<{
290
561
  type: z.ZodLiteral<"system">;
291
562
  component: z.ZodString;
@@ -299,6 +570,7 @@ export declare const dashboardEventLogListRequestSchema: z.ZodObject<{
299
570
  processed: "processed";
300
571
  duplicate: "duplicate";
301
572
  lockfile_missing: "lockfile_missing";
573
+ lockfile_corrupt: "lockfile_corrupt";
302
574
  }>>;
303
575
  fromTimestamp: z.ZodOptional<z.ZodString>;
304
576
  toTimestamp: z.ZodOptional<z.ZodString>;
@@ -328,6 +600,7 @@ declare const dashboardEventLogListResponseSchema: z.ZodObject<{
328
600
  processed: "processed";
329
601
  duplicate: "duplicate";
330
602
  lockfile_missing: "lockfile_missing";
603
+ lockfile_corrupt: "lockfile_corrupt";
331
604
  }>;
332
605
  matchedCount: z.ZodNumber;
333
606
  runId: z.ZodNullable<z.ZodString>;
@@ -362,6 +635,7 @@ export declare const dashboardEventLogDetailRequestSchema: z.ZodObject<{
362
635
  type: z.ZodLiteral<"platform_operator">;
363
636
  sub: z.ZodString;
364
637
  reason: z.ZodString;
638
+ sessionId: z.ZodOptional<z.ZodString>;
365
639
  }, z.core.$strip>, z.ZodObject<{
366
640
  type: z.ZodLiteral<"system">;
367
641
  component: z.ZodString;
@@ -397,6 +671,7 @@ declare const dashboardEventLogDetailResponseSchema: z.ZodObject<{
397
671
  processed: "processed";
398
672
  duplicate: "duplicate";
399
673
  lockfile_missing: "lockfile_missing";
674
+ lockfile_corrupt: "lockfile_corrupt";
400
675
  }>;
401
676
  matchedCount: z.ZodNumber;
402
677
  runId: z.ZodNullable<z.ZodString>;
@@ -458,6 +733,7 @@ export declare const dashboardEventLogPayloadStreamRequestSchema: z.ZodObject<{
458
733
  type: z.ZodLiteral<"platform_operator">;
459
734
  sub: z.ZodString;
460
735
  reason: z.ZodString;
736
+ sessionId: z.ZodOptional<z.ZodString>;
461
737
  }, z.core.$strip>, z.ZodObject<{
462
738
  type: z.ZodLiteral<"system">;
463
739
  component: z.ZodString;
@@ -552,6 +828,7 @@ export declare const dashboardEventDlqListRequestSchema: z.ZodObject<{
552
828
  type: z.ZodLiteral<"platform_operator">;
553
829
  sub: z.ZodString;
554
830
  reason: z.ZodString;
831
+ sessionId: z.ZodOptional<z.ZodString>;
555
832
  }, z.core.$strip>, z.ZodObject<{
556
833
  type: z.ZodLiteral<"system">;
557
834
  component: z.ZodString;
@@ -599,6 +876,7 @@ export declare const dashboardEventDlqCountRequestSchema: z.ZodObject<{
599
876
  type: z.ZodLiteral<"platform_operator">;
600
877
  sub: z.ZodString;
601
878
  reason: z.ZodString;
879
+ sessionId: z.ZodOptional<z.ZodString>;
602
880
  }, z.core.$strip>, z.ZodObject<{
603
881
  type: z.ZodLiteral<"system">;
604
882
  component: z.ZodString;
@@ -629,6 +907,7 @@ export declare const dashboardEventDlqRetryRequestSchema: z.ZodObject<{
629
907
  type: z.ZodLiteral<"platform_operator">;
630
908
  sub: z.ZodString;
631
909
  reason: z.ZodString;
910
+ sessionId: z.ZodOptional<z.ZodString>;
632
911
  }, z.core.$strip>, z.ZodObject<{
633
912
  type: z.ZodLiteral<"system">;
634
913
  component: z.ZodString;
@@ -660,6 +939,7 @@ export declare const dashboardEventDlqDiscardRequestSchema: z.ZodObject<{
660
939
  type: z.ZodLiteral<"platform_operator">;
661
940
  sub: z.ZodString;
662
941
  reason: z.ZodString;
942
+ sessionId: z.ZodOptional<z.ZodString>;
663
943
  }, z.core.$strip>, z.ZodObject<{
664
944
  type: z.ZodLiteral<"system">;
665
945
  component: z.ZodString;
@@ -691,6 +971,7 @@ export declare const envListRequestSchema: z.ZodObject<{
691
971
  type: z.ZodLiteral<"platform_operator">;
692
972
  sub: z.ZodString;
693
973
  reason: z.ZodString;
974
+ sessionId: z.ZodOptional<z.ZodString>;
694
975
  }, z.core.$strip>, z.ZodObject<{
695
976
  type: z.ZodLiteral<"system">;
696
977
  component: z.ZodString;
@@ -708,6 +989,7 @@ declare const envListResponseSchema: z.ZodObject<{
708
989
  }>;
709
990
  globPattern: z.ZodNullable<z.ZodString>;
710
991
  enabled: z.ZodBoolean;
992
+ allowLocalExecution: z.ZodBoolean;
711
993
  createdAt: z.ZodCoercedString<unknown>;
712
994
  updatedAt: z.ZodCoercedString<unknown>;
713
995
  }, z.core.$strip>>>;
@@ -731,6 +1013,7 @@ export declare const envGetRequestSchema: z.ZodObject<{
731
1013
  type: z.ZodLiteral<"platform_operator">;
732
1014
  sub: z.ZodString;
733
1015
  reason: z.ZodString;
1016
+ sessionId: z.ZodOptional<z.ZodString>;
734
1017
  }, z.core.$strip>, z.ZodObject<{
735
1018
  type: z.ZodLiteral<"system">;
736
1019
  component: z.ZodString;
@@ -758,6 +1041,7 @@ declare const envGetResponseSchema: z.ZodObject<{
758
1041
  waitTimerSeconds: z.ZodNullable<z.ZodNumber>;
759
1042
  holdExpirySeconds: z.ZodNullable<z.ZodNumber>;
760
1043
  enabled: z.ZodBoolean;
1044
+ allowLocalExecution: z.ZodBoolean;
761
1045
  createdAt: z.ZodCoercedString<unknown>;
762
1046
  updatedAt: z.ZodCoercedString<unknown>;
763
1047
  }, z.core.$strip>>;
@@ -781,6 +1065,7 @@ export declare const envCreateRequestSchema: z.ZodObject<{
781
1065
  type: z.ZodLiteral<"platform_operator">;
782
1066
  sub: z.ZodString;
783
1067
  reason: z.ZodString;
1068
+ sessionId: z.ZodOptional<z.ZodString>;
784
1069
  }, z.core.$strip>, z.ZodObject<{
785
1070
  type: z.ZodLiteral<"system">;
786
1071
  component: z.ZodString;
@@ -820,6 +1105,7 @@ export declare const envUpdateRequestSchema: z.ZodObject<{
820
1105
  type: z.ZodLiteral<"platform_operator">;
821
1106
  sub: z.ZodString;
822
1107
  reason: z.ZodString;
1108
+ sessionId: z.ZodOptional<z.ZodString>;
823
1109
  }, z.core.$strip>, z.ZodObject<{
824
1110
  type: z.ZodLiteral<"system">;
825
1111
  component: z.ZodString;
@@ -844,6 +1130,32 @@ export declare const envUpdateRequestSchema: z.ZodObject<{
844
1130
  enabled: z.ZodOptional<z.ZodBoolean>;
845
1131
  }, z.core.$strip>;
846
1132
  }, z.core.$strip>;
1133
+ /** Set an environment's test-run access flag (allowLocalExecution). */
1134
+ export declare const envTestAccessSetRequestSchema: z.ZodObject<{
1135
+ type: z.ZodLiteral<"dashboard.environments.test_access.set">;
1136
+ requestId: z.ZodString;
1137
+ actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1138
+ type: z.ZodLiteral<"user">;
1139
+ sub: z.ZodString;
1140
+ }, z.core.$strip>, z.ZodObject<{
1141
+ type: z.ZodLiteral<"api_key">;
1142
+ keyId: z.ZodString;
1143
+ ownerSub: z.ZodString;
1144
+ }, z.core.$strip>, z.ZodObject<{
1145
+ type: z.ZodLiteral<"service_account">;
1146
+ id: z.ZodString;
1147
+ }, z.core.$strip>, z.ZodObject<{
1148
+ type: z.ZodLiteral<"platform_operator">;
1149
+ sub: z.ZodString;
1150
+ reason: z.ZodString;
1151
+ sessionId: z.ZodOptional<z.ZodString>;
1152
+ }, z.core.$strip>, z.ZodObject<{
1153
+ type: z.ZodLiteral<"system">;
1154
+ component: z.ZodString;
1155
+ }, z.core.$strip>], "type">;
1156
+ environmentId: z.ZodString;
1157
+ allowLocalExecution: z.ZodBoolean;
1158
+ }, z.core.$strip>;
847
1159
  /** Delete an environment. */
848
1160
  export declare const envDeleteRequestSchema: z.ZodObject<{
849
1161
  type: z.ZodLiteral<"dashboard.environments.delete">;
@@ -862,12 +1174,27 @@ export declare const envDeleteRequestSchema: z.ZodObject<{
862
1174
  type: z.ZodLiteral<"platform_operator">;
863
1175
  sub: z.ZodString;
864
1176
  reason: z.ZodString;
1177
+ sessionId: z.ZodOptional<z.ZodString>;
865
1178
  }, z.core.$strip>, z.ZodObject<{
866
1179
  type: z.ZodLiteral<"system">;
867
1180
  component: z.ZodString;
868
1181
  }, z.core.$strip>], "type">;
869
1182
  environmentId: z.ZodString;
870
1183
  }, z.core.$strip>;
1184
+ /**
1185
+ * Machine-readable codes for environment-delete rejections.
1186
+ *
1187
+ * Three-category response taxonomy on dashboard responses, each mapped to a
1188
+ * distinct HTTP status by the Platform proxy: a bare free-text `error` is the
1189
+ * human message and maps to 400; a missing result (e.g. environment not found)
1190
+ * maps to 404; an `errorCode` flags a specific business rejection mapped to a
1191
+ * non-400/404 status — here `pending_held_runs` → 409. The sibling precedent is
1192
+ * the rerun response's `errorCode` (`runArchivedNotRerunnable` → 410) above.
1193
+ */
1194
+ export declare const EnvDeleteErrorCode: z.ZodEnum<{
1195
+ pending_held_runs: "pending_held_runs";
1196
+ }>;
1197
+ export type EnvDeleteErrorCode = z.infer<typeof EnvDeleteErrorCode>;
871
1198
  /** List variables for an environment. */
872
1199
  export declare const envVarsListRequestSchema: z.ZodObject<{
873
1200
  type: z.ZodLiteral<"dashboard.environments.variables.list">;
@@ -886,6 +1213,7 @@ export declare const envVarsListRequestSchema: z.ZodObject<{
886
1213
  type: z.ZodLiteral<"platform_operator">;
887
1214
  sub: z.ZodString;
888
1215
  reason: z.ZodString;
1216
+ sessionId: z.ZodOptional<z.ZodString>;
889
1217
  }, z.core.$strip>, z.ZodObject<{
890
1218
  type: z.ZodLiteral<"system">;
891
1219
  component: z.ZodString;
@@ -920,6 +1248,7 @@ export declare const envVarSetRequestSchema: z.ZodObject<{
920
1248
  type: z.ZodLiteral<"platform_operator">;
921
1249
  sub: z.ZodString;
922
1250
  reason: z.ZodString;
1251
+ sessionId: z.ZodOptional<z.ZodString>;
923
1252
  }, z.core.$strip>, z.ZodObject<{
924
1253
  type: z.ZodLiteral<"system">;
925
1254
  component: z.ZodString;
@@ -947,6 +1276,7 @@ export declare const envVarDeleteRequestSchema: z.ZodObject<{
947
1276
  type: z.ZodLiteral<"platform_operator">;
948
1277
  sub: z.ZodString;
949
1278
  reason: z.ZodString;
1279
+ sessionId: z.ZodOptional<z.ZodString>;
950
1280
  }, z.core.$strip>, z.ZodObject<{
951
1281
  type: z.ZodLiteral<"system">;
952
1282
  component: z.ZodString;
@@ -972,6 +1302,7 @@ export declare const envSourceOverridesListRequestSchema: z.ZodObject<{
972
1302
  type: z.ZodLiteral<"platform_operator">;
973
1303
  sub: z.ZodString;
974
1304
  reason: z.ZodString;
1305
+ sessionId: z.ZodOptional<z.ZodString>;
975
1306
  }, z.core.$strip>, z.ZodObject<{
976
1307
  type: z.ZodLiteral<"system">;
977
1308
  component: z.ZodString;
@@ -997,6 +1328,7 @@ export declare const envSourceOverrideSetRequestSchema: z.ZodObject<{
997
1328
  type: z.ZodLiteral<"platform_operator">;
998
1329
  sub: z.ZodString;
999
1330
  reason: z.ZodString;
1331
+ sessionId: z.ZodOptional<z.ZodString>;
1000
1332
  }, z.core.$strip>, z.ZodObject<{
1001
1333
  type: z.ZodLiteral<"system">;
1002
1334
  component: z.ZodString;
@@ -1024,6 +1356,7 @@ export declare const envSourceOverrideDeleteRequestSchema: z.ZodObject<{
1024
1356
  type: z.ZodLiteral<"platform_operator">;
1025
1357
  sub: z.ZodString;
1026
1358
  reason: z.ZodString;
1359
+ sessionId: z.ZodOptional<z.ZodString>;
1027
1360
  }, z.core.$strip>, z.ZodObject<{
1028
1361
  type: z.ZodLiteral<"system">;
1029
1362
  component: z.ZodString;
@@ -1050,6 +1383,7 @@ export declare const envBindingsListRequestSchema: z.ZodObject<{
1050
1383
  type: z.ZodLiteral<"platform_operator">;
1051
1384
  sub: z.ZodString;
1052
1385
  reason: z.ZodString;
1386
+ sessionId: z.ZodOptional<z.ZodString>;
1053
1387
  }, z.core.$strip>, z.ZodObject<{
1054
1388
  type: z.ZodLiteral<"system">;
1055
1389
  component: z.ZodString;
@@ -1074,6 +1408,7 @@ export declare const envBindingsSetRequestSchema: z.ZodObject<{
1074
1408
  type: z.ZodLiteral<"platform_operator">;
1075
1409
  sub: z.ZodString;
1076
1410
  reason: z.ZodString;
1411
+ sessionId: z.ZodOptional<z.ZodString>;
1077
1412
  }, z.core.$strip>, z.ZodObject<{
1078
1413
  type: z.ZodLiteral<"system">;
1079
1414
  component: z.ZodString;
@@ -1099,6 +1434,7 @@ export declare const envSecretsListRequestSchema: z.ZodObject<{
1099
1434
  type: z.ZodLiteral<"platform_operator">;
1100
1435
  sub: z.ZodString;
1101
1436
  reason: z.ZodString;
1437
+ sessionId: z.ZodOptional<z.ZodString>;
1102
1438
  }, z.core.$strip>, z.ZodObject<{
1103
1439
  type: z.ZodLiteral<"system">;
1104
1440
  component: z.ZodString;
@@ -1122,6 +1458,7 @@ export declare const envSecretSetRequestSchema: z.ZodObject<{
1122
1458
  type: z.ZodLiteral<"platform_operator">;
1123
1459
  sub: z.ZodString;
1124
1460
  reason: z.ZodString;
1461
+ sessionId: z.ZodOptional<z.ZodString>;
1125
1462
  }, z.core.$strip>, z.ZodObject<{
1126
1463
  type: z.ZodLiteral<"system">;
1127
1464
  component: z.ZodString;
@@ -1148,6 +1485,7 @@ export declare const envSecretDeleteRequestSchema: z.ZodObject<{
1148
1485
  type: z.ZodLiteral<"platform_operator">;
1149
1486
  sub: z.ZodString;
1150
1487
  reason: z.ZodString;
1488
+ sessionId: z.ZodOptional<z.ZodString>;
1151
1489
  }, z.core.$strip>, z.ZodObject<{
1152
1490
  type: z.ZodLiteral<"system">;
1153
1491
  component: z.ZodString;
@@ -1173,6 +1511,7 @@ export declare const envSecretScopeCreateRequestSchema: z.ZodObject<{
1173
1511
  type: z.ZodLiteral<"platform_operator">;
1174
1512
  sub: z.ZodString;
1175
1513
  reason: z.ZodString;
1514
+ sessionId: z.ZodOptional<z.ZodString>;
1176
1515
  }, z.core.$strip>, z.ZodObject<{
1177
1516
  type: z.ZodLiteral<"system">;
1178
1517
  component: z.ZodString;
@@ -1197,6 +1536,7 @@ export declare const envSecretScopeRenameRequestSchema: z.ZodObject<{
1197
1536
  type: z.ZodLiteral<"platform_operator">;
1198
1537
  sub: z.ZodString;
1199
1538
  reason: z.ZodString;
1539
+ sessionId: z.ZodOptional<z.ZodString>;
1200
1540
  }, z.core.$strip>, z.ZodObject<{
1201
1541
  type: z.ZodLiteral<"system">;
1202
1542
  component: z.ZodString;
@@ -1222,6 +1562,7 @@ export declare const envSecretScopeDeleteRequestSchema: z.ZodObject<{
1222
1562
  type: z.ZodLiteral<"platform_operator">;
1223
1563
  sub: z.ZodString;
1224
1564
  reason: z.ZodString;
1565
+ sessionId: z.ZodOptional<z.ZodString>;
1225
1566
  }, z.core.$strip>, z.ZodObject<{
1226
1567
  type: z.ZodLiteral<"system">;
1227
1568
  component: z.ZodString;
@@ -1246,6 +1587,7 @@ export declare const envHistoryRequestSchema: z.ZodObject<{
1246
1587
  type: z.ZodLiteral<"platform_operator">;
1247
1588
  sub: z.ZodString;
1248
1589
  reason: z.ZodString;
1590
+ sessionId: z.ZodOptional<z.ZodString>;
1249
1591
  }, z.core.$strip>, z.ZodObject<{
1250
1592
  type: z.ZodLiteral<"system">;
1251
1593
  component: z.ZodString;
@@ -1286,6 +1628,7 @@ export declare const heldRunsListRequestSchema: z.ZodObject<{
1286
1628
  type: z.ZodLiteral<"platform_operator">;
1287
1629
  sub: z.ZodString;
1288
1630
  reason: z.ZodString;
1631
+ sessionId: z.ZodOptional<z.ZodString>;
1289
1632
  }, z.core.$strip>, z.ZodObject<{
1290
1633
  type: z.ZodLiteral<"system">;
1291
1634
  component: z.ZodString;
@@ -1308,8 +1651,8 @@ declare const heldRunsListResponseSchema: z.ZodObject<{
1308
1651
  heldRuns: z.ZodOptional<z.ZodArray<z.ZodObject<{
1309
1652
  id: z.ZodString;
1310
1653
  runId: z.ZodString;
1311
- environmentId: z.ZodString;
1312
- environmentName: z.ZodString;
1654
+ environmentId: z.ZodNullable<z.ZodString>;
1655
+ environmentName: z.ZodNullable<z.ZodString>;
1313
1656
  holdType: z.ZodString;
1314
1657
  queueType: z.ZodEnum<{
1315
1658
  environment: "environment";
@@ -1349,6 +1692,7 @@ export declare const heldRunApproveRequestSchema: z.ZodObject<{
1349
1692
  type: z.ZodLiteral<"platform_operator">;
1350
1693
  sub: z.ZodString;
1351
1694
  reason: z.ZodString;
1695
+ sessionId: z.ZodOptional<z.ZodString>;
1352
1696
  }, z.core.$strip>, z.ZodObject<{
1353
1697
  type: z.ZodLiteral<"system">;
1354
1698
  component: z.ZodString;
@@ -1373,6 +1717,7 @@ export declare const heldRunRejectRequestSchema: z.ZodObject<{
1373
1717
  type: z.ZodLiteral<"platform_operator">;
1374
1718
  sub: z.ZodString;
1375
1719
  reason: z.ZodString;
1720
+ sessionId: z.ZodOptional<z.ZodString>;
1376
1721
  }, z.core.$strip>, z.ZodObject<{
1377
1722
  type: z.ZodLiteral<"system">;
1378
1723
  component: z.ZodString;
@@ -1398,6 +1743,7 @@ export declare const dashboardDiagnosticsRequestSchema: z.ZodObject<{
1398
1743
  type: z.ZodLiteral<"platform_operator">;
1399
1744
  sub: z.ZodString;
1400
1745
  reason: z.ZodString;
1746
+ sessionId: z.ZodOptional<z.ZodString>;
1401
1747
  }, z.core.$strip>, z.ZodObject<{
1402
1748
  type: z.ZodLiteral<"system">;
1403
1749
  component: z.ZodString;
@@ -1421,6 +1767,7 @@ declare const diagnosticsPeerSchema: z.ZodObject<{
1421
1767
  arch: z.ZodString;
1422
1768
  activeJobs: z.ZodNumber;
1423
1769
  maxConcurrency: z.ZodNumber;
1770
+ scalerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1424
1771
  }, z.core.$strip>>;
1425
1772
  hostname: z.ZodOptional<z.ZodString>;
1426
1773
  osRelease: z.ZodOptional<z.ZodString>;
@@ -1439,6 +1786,7 @@ declare const diagnosticsPeerSchema: z.ZodObject<{
1439
1786
  activeCount: z.ZodNumber;
1440
1787
  maxAgents: z.ZodNumber;
1441
1788
  labelSets: z.ZodArray<z.ZodArray<z.ZodString>>;
1789
+ spawnsOnLocalHost: z.ZodOptional<z.ZodBoolean>;
1442
1790
  }, z.core.$strip>>>;
1443
1791
  dependencyHealth: z.ZodOptional<z.ZodArray<z.ZodObject<{
1444
1792
  name: z.ZodString;
@@ -1490,6 +1838,7 @@ export declare const dashboardDiagnosticsResponseSchema: z.ZodObject<{
1490
1838
  raftLeaderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1491
1839
  agentCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1492
1840
  statefulAgentCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1841
+ statefulHosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
1493
1842
  }, z.core.$strip>;
1494
1843
  agents: z.ZodArray<z.ZodObject<{
1495
1844
  agentId: z.ZodString;
@@ -1516,11 +1865,17 @@ export declare const dashboardDiagnosticsResponseSchema: z.ZodObject<{
1516
1865
  }, z.core.$strip>>;
1517
1866
  scalers: z.ZodOptional<z.ZodArray<z.ZodObject<{
1518
1867
  name: z.ZodString;
1519
- type: z.ZodString;
1868
+ type: z.ZodEnum<{
1869
+ container: "container";
1870
+ "bare-metal": "bare-metal";
1871
+ firecracker: "firecracker";
1872
+ kubernetes: "kubernetes";
1873
+ }>;
1520
1874
  maxAgents: z.ZodNumber;
1521
1875
  activeAgents: z.ZodNumber;
1522
1876
  labelSets: z.ZodArray<z.ZodArray<z.ZodString>>;
1523
1877
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1878
+ hosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
1524
1879
  }, z.core.$strip>>>;
1525
1880
  peers: z.ZodOptional<z.ZodArray<z.ZodObject<{
1526
1881
  instanceId: z.ZodString;
@@ -1538,6 +1893,7 @@ export declare const dashboardDiagnosticsResponseSchema: z.ZodObject<{
1538
1893
  arch: z.ZodString;
1539
1894
  activeJobs: z.ZodNumber;
1540
1895
  maxConcurrency: z.ZodNumber;
1896
+ scalerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1541
1897
  }, z.core.$strip>>;
1542
1898
  hostname: z.ZodOptional<z.ZodString>;
1543
1899
  osRelease: z.ZodOptional<z.ZodString>;
@@ -1556,6 +1912,7 @@ export declare const dashboardDiagnosticsResponseSchema: z.ZodObject<{
1556
1912
  activeCount: z.ZodNumber;
1557
1913
  maxAgents: z.ZodNumber;
1558
1914
  labelSets: z.ZodArray<z.ZodArray<z.ZodString>>;
1915
+ spawnsOnLocalHost: z.ZodOptional<z.ZodBoolean>;
1559
1916
  }, z.core.$strip>>>;
1560
1917
  dependencyHealth: z.ZodOptional<z.ZodArray<z.ZodObject<{
1561
1918
  name: z.ZodString;
@@ -1591,6 +1948,7 @@ export declare const dashboardScalerCapacityRequestSchema: z.ZodObject<{
1591
1948
  type: z.ZodLiteral<"platform_operator">;
1592
1949
  sub: z.ZodString;
1593
1950
  reason: z.ZodString;
1951
+ sessionId: z.ZodOptional<z.ZodString>;
1594
1952
  }, z.core.$strip>, z.ZodObject<{
1595
1953
  type: z.ZodLiteral<"system">;
1596
1954
  component: z.ZodString;
@@ -1627,6 +1985,7 @@ export declare const dashboardScalerAgentsRequestSchema: z.ZodObject<{
1627
1985
  type: z.ZodLiteral<"platform_operator">;
1628
1986
  sub: z.ZodString;
1629
1987
  reason: z.ZodString;
1988
+ sessionId: z.ZodOptional<z.ZodString>;
1630
1989
  }, z.core.$strip>, z.ZodObject<{
1631
1990
  type: z.ZodLiteral<"system">;
1632
1991
  component: z.ZodString;
@@ -1681,6 +2040,7 @@ export declare const registrationDisableRequestSchema: z.ZodObject<{
1681
2040
  type: z.ZodLiteral<"platform_operator">;
1682
2041
  sub: z.ZodString;
1683
2042
  reason: z.ZodString;
2043
+ sessionId: z.ZodOptional<z.ZodString>;
1684
2044
  }, z.core.$strip>, z.ZodObject<{
1685
2045
  type: z.ZodLiteral<"system">;
1686
2046
  component: z.ZodString;
@@ -1706,6 +2066,7 @@ export declare const registrationDeleteRequestSchema: z.ZodObject<{
1706
2066
  type: z.ZodLiteral<"platform_operator">;
1707
2067
  sub: z.ZodString;
1708
2068
  reason: z.ZodString;
2069
+ sessionId: z.ZodOptional<z.ZodString>;
1709
2070
  }, z.core.$strip>, z.ZodObject<{
1710
2071
  type: z.ZodLiteral<"system">;
1711
2072
  component: z.ZodString;
@@ -1731,6 +2092,7 @@ export declare const registrationsListRequestSchema: z.ZodObject<{
1731
2092
  type: z.ZodLiteral<"platform_operator">;
1732
2093
  sub: z.ZodString;
1733
2094
  reason: z.ZodString;
2095
+ sessionId: z.ZodOptional<z.ZodString>;
1734
2096
  }, z.core.$strip>, z.ZodObject<{
1735
2097
  type: z.ZodLiteral<"system">;
1736
2098
  component: z.ZodString;
@@ -1817,6 +2179,7 @@ export declare const backendsListRequestSchema: z.ZodObject<{
1817
2179
  type: z.ZodLiteral<"platform_operator">;
1818
2180
  sub: z.ZodString;
1819
2181
  reason: z.ZodString;
2182
+ sessionId: z.ZodOptional<z.ZodString>;
1820
2183
  }, z.core.$strip>, z.ZodObject<{
1821
2184
  type: z.ZodLiteral<"system">;
1822
2185
  component: z.ZodString;
@@ -1893,6 +2256,7 @@ export declare const backendGetRequestSchema: z.ZodObject<{
1893
2256
  type: z.ZodLiteral<"platform_operator">;
1894
2257
  sub: z.ZodString;
1895
2258
  reason: z.ZodString;
2259
+ sessionId: z.ZodOptional<z.ZodString>;
1896
2260
  }, z.core.$strip>, z.ZodObject<{
1897
2261
  type: z.ZodLiteral<"system">;
1898
2262
  component: z.ZodString;
@@ -1946,6 +2310,7 @@ export declare const backendsSyncAllRequestSchema: z.ZodObject<{
1946
2310
  type: z.ZodLiteral<"platform_operator">;
1947
2311
  sub: z.ZodString;
1948
2312
  reason: z.ZodString;
2313
+ sessionId: z.ZodOptional<z.ZodString>;
1949
2314
  }, z.core.$strip>, z.ZodObject<{
1950
2315
  type: z.ZodLiteral<"system">;
1951
2316
  component: z.ZodString;
@@ -1976,6 +2341,7 @@ export declare const backendSyncRequestSchema: z.ZodObject<{
1976
2341
  type: z.ZodLiteral<"platform_operator">;
1977
2342
  sub: z.ZodString;
1978
2343
  reason: z.ZodString;
2344
+ sessionId: z.ZodOptional<z.ZodString>;
1979
2345
  }, z.core.$strip>, z.ZodObject<{
1980
2346
  type: z.ZodLiteral<"system">;
1981
2347
  component: z.ZodString;
@@ -2008,6 +2374,7 @@ export declare const backendTestRequestSchema: z.ZodObject<{
2008
2374
  type: z.ZodLiteral<"platform_operator">;
2009
2375
  sub: z.ZodString;
2010
2376
  reason: z.ZodString;
2377
+ sessionId: z.ZodOptional<z.ZodString>;
2011
2378
  }, z.core.$strip>, z.ZodObject<{
2012
2379
  type: z.ZodLiteral<"system">;
2013
2380
  component: z.ZodString;
@@ -2040,6 +2407,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2040
2407
  type: z.ZodLiteral<"platform_operator">;
2041
2408
  sub: z.ZodString;
2042
2409
  reason: z.ZodString;
2410
+ sessionId: z.ZodOptional<z.ZodString>;
2043
2411
  }, z.core.$strip>, z.ZodObject<{
2044
2412
  type: z.ZodLiteral<"system">;
2045
2413
  component: z.ZodString;
@@ -2062,6 +2430,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2062
2430
  type: z.ZodLiteral<"platform_operator">;
2063
2431
  sub: z.ZodString;
2064
2432
  reason: z.ZodString;
2433
+ sessionId: z.ZodOptional<z.ZodString>;
2065
2434
  }, z.core.$strip>, z.ZodObject<{
2066
2435
  type: z.ZodLiteral<"system">;
2067
2436
  component: z.ZodString;
@@ -2069,6 +2438,76 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2069
2438
  runId: z.ZodString;
2070
2439
  jobId: z.ZodString;
2071
2440
  stepIndex: z.ZodNumber;
2441
+ }, z.core.$strip>, z.ZodObject<{
2442
+ type: z.ZodLiteral<"dashboard.runs.list">;
2443
+ requestId: z.ZodString;
2444
+ actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2445
+ type: z.ZodLiteral<"user">;
2446
+ sub: z.ZodString;
2447
+ }, z.core.$strip>, z.ZodObject<{
2448
+ type: z.ZodLiteral<"api_key">;
2449
+ keyId: z.ZodString;
2450
+ ownerSub: z.ZodString;
2451
+ }, z.core.$strip>, z.ZodObject<{
2452
+ type: z.ZodLiteral<"service_account">;
2453
+ id: z.ZodString;
2454
+ }, z.core.$strip>, z.ZodObject<{
2455
+ type: z.ZodLiteral<"platform_operator">;
2456
+ sub: z.ZodString;
2457
+ reason: z.ZodString;
2458
+ sessionId: z.ZodOptional<z.ZodString>;
2459
+ }, z.core.$strip>, z.ZodObject<{
2460
+ type: z.ZodLiteral<"system">;
2461
+ component: z.ZodString;
2462
+ }, z.core.$strip>], "type">;
2463
+ limit: z.ZodOptional<z.ZodNumber>;
2464
+ cursor: z.ZodOptional<z.ZodString>;
2465
+ }, z.core.$strip>, z.ZodObject<{
2466
+ type: z.ZodLiteral<"dashboard.runs.filters">;
2467
+ requestId: z.ZodString;
2468
+ actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2469
+ type: z.ZodLiteral<"user">;
2470
+ sub: z.ZodString;
2471
+ }, z.core.$strip>, z.ZodObject<{
2472
+ type: z.ZodLiteral<"api_key">;
2473
+ keyId: z.ZodString;
2474
+ ownerSub: z.ZodString;
2475
+ }, z.core.$strip>, z.ZodObject<{
2476
+ type: z.ZodLiteral<"service_account">;
2477
+ id: z.ZodString;
2478
+ }, z.core.$strip>, z.ZodObject<{
2479
+ type: z.ZodLiteral<"platform_operator">;
2480
+ sub: z.ZodString;
2481
+ reason: z.ZodString;
2482
+ sessionId: z.ZodOptional<z.ZodString>;
2483
+ }, z.core.$strip>, z.ZodObject<{
2484
+ type: z.ZodLiteral<"system">;
2485
+ component: z.ZodString;
2486
+ }, z.core.$strip>], "type">;
2487
+ }, z.core.$strip>, z.ZodObject<{
2488
+ type: z.ZodLiteral<"dashboard.sources.list">;
2489
+ requestId: z.ZodString;
2490
+ actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2491
+ type: z.ZodLiteral<"user">;
2492
+ sub: z.ZodString;
2493
+ }, z.core.$strip>, z.ZodObject<{
2494
+ type: z.ZodLiteral<"api_key">;
2495
+ keyId: z.ZodString;
2496
+ ownerSub: z.ZodString;
2497
+ }, z.core.$strip>, z.ZodObject<{
2498
+ type: z.ZodLiteral<"service_account">;
2499
+ id: z.ZodString;
2500
+ }, z.core.$strip>, z.ZodObject<{
2501
+ type: z.ZodLiteral<"platform_operator">;
2502
+ sub: z.ZodString;
2503
+ reason: z.ZodString;
2504
+ sessionId: z.ZodOptional<z.ZodString>;
2505
+ }, z.core.$strip>, z.ZodObject<{
2506
+ type: z.ZodLiteral<"system">;
2507
+ component: z.ZodString;
2508
+ }, z.core.$strip>], "type">;
2509
+ limit: z.ZodOptional<z.ZodNumber>;
2510
+ cursor: z.ZodOptional<z.ZodString>;
2072
2511
  }, z.core.$strip>, z.ZodObject<{
2073
2512
  type: z.ZodLiteral<"run.rerun.request">;
2074
2513
  requestId: z.ZodString;
@@ -2086,6 +2525,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2086
2525
  type: z.ZodLiteral<"platform_operator">;
2087
2526
  sub: z.ZodString;
2088
2527
  reason: z.ZodString;
2528
+ sessionId: z.ZodOptional<z.ZodString>;
2089
2529
  }, z.core.$strip>, z.ZodObject<{
2090
2530
  type: z.ZodLiteral<"system">;
2091
2531
  component: z.ZodString;
@@ -2109,6 +2549,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2109
2549
  type: z.ZodLiteral<"platform_operator">;
2110
2550
  sub: z.ZodString;
2111
2551
  reason: z.ZodString;
2552
+ sessionId: z.ZodOptional<z.ZodString>;
2112
2553
  }, z.core.$strip>, z.ZodObject<{
2113
2554
  type: z.ZodLiteral<"system">;
2114
2555
  component: z.ZodString;
@@ -2131,6 +2572,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2131
2572
  type: z.ZodLiteral<"platform_operator">;
2132
2573
  sub: z.ZodString;
2133
2574
  reason: z.ZodString;
2575
+ sessionId: z.ZodOptional<z.ZodString>;
2134
2576
  }, z.core.$strip>, z.ZodObject<{
2135
2577
  type: z.ZodLiteral<"system">;
2136
2578
  component: z.ZodString;
@@ -2154,6 +2596,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2154
2596
  type: z.ZodLiteral<"platform_operator">;
2155
2597
  sub: z.ZodString;
2156
2598
  reason: z.ZodString;
2599
+ sessionId: z.ZodOptional<z.ZodString>;
2157
2600
  }, z.core.$strip>, z.ZodObject<{
2158
2601
  type: z.ZodLiteral<"system">;
2159
2602
  component: z.ZodString;
@@ -2176,6 +2619,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2176
2619
  type: z.ZodLiteral<"platform_operator">;
2177
2620
  sub: z.ZodString;
2178
2621
  reason: z.ZodString;
2622
+ sessionId: z.ZodOptional<z.ZodString>;
2179
2623
  }, z.core.$strip>, z.ZodObject<{
2180
2624
  type: z.ZodLiteral<"system">;
2181
2625
  component: z.ZodString;
@@ -2199,6 +2643,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2199
2643
  type: z.ZodLiteral<"platform_operator">;
2200
2644
  sub: z.ZodString;
2201
2645
  reason: z.ZodString;
2646
+ sessionId: z.ZodOptional<z.ZodString>;
2202
2647
  }, z.core.$strip>, z.ZodObject<{
2203
2648
  type: z.ZodLiteral<"system">;
2204
2649
  component: z.ZodString;
@@ -2220,6 +2665,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2220
2665
  type: z.ZodLiteral<"platform_operator">;
2221
2666
  sub: z.ZodString;
2222
2667
  reason: z.ZodString;
2668
+ sessionId: z.ZodOptional<z.ZodString>;
2223
2669
  }, z.core.$strip>, z.ZodObject<{
2224
2670
  type: z.ZodLiteral<"system">;
2225
2671
  component: z.ZodString;
@@ -2242,6 +2688,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2242
2688
  type: z.ZodLiteral<"platform_operator">;
2243
2689
  sub: z.ZodString;
2244
2690
  reason: z.ZodString;
2691
+ sessionId: z.ZodOptional<z.ZodString>;
2245
2692
  }, z.core.$strip>, z.ZodObject<{
2246
2693
  type: z.ZodLiteral<"system">;
2247
2694
  component: z.ZodString;
@@ -2279,6 +2726,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2279
2726
  type: z.ZodLiteral<"platform_operator">;
2280
2727
  sub: z.ZodString;
2281
2728
  reason: z.ZodString;
2729
+ sessionId: z.ZodOptional<z.ZodString>;
2282
2730
  }, z.core.$strip>, z.ZodObject<{
2283
2731
  type: z.ZodLiteral<"system">;
2284
2732
  component: z.ZodString;
@@ -2302,6 +2750,30 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2302
2750
  holdExpirySeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2303
2751
  enabled: z.ZodOptional<z.ZodBoolean>;
2304
2752
  }, z.core.$strip>;
2753
+ }, z.core.$strip>, z.ZodObject<{
2754
+ type: z.ZodLiteral<"dashboard.environments.test_access.set">;
2755
+ requestId: z.ZodString;
2756
+ actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2757
+ type: z.ZodLiteral<"user">;
2758
+ sub: z.ZodString;
2759
+ }, z.core.$strip>, z.ZodObject<{
2760
+ type: z.ZodLiteral<"api_key">;
2761
+ keyId: z.ZodString;
2762
+ ownerSub: z.ZodString;
2763
+ }, z.core.$strip>, z.ZodObject<{
2764
+ type: z.ZodLiteral<"service_account">;
2765
+ id: z.ZodString;
2766
+ }, z.core.$strip>, z.ZodObject<{
2767
+ type: z.ZodLiteral<"platform_operator">;
2768
+ sub: z.ZodString;
2769
+ reason: z.ZodString;
2770
+ sessionId: z.ZodOptional<z.ZodString>;
2771
+ }, z.core.$strip>, z.ZodObject<{
2772
+ type: z.ZodLiteral<"system">;
2773
+ component: z.ZodString;
2774
+ }, z.core.$strip>], "type">;
2775
+ environmentId: z.ZodString;
2776
+ allowLocalExecution: z.ZodBoolean;
2305
2777
  }, z.core.$strip>, z.ZodObject<{
2306
2778
  type: z.ZodLiteral<"dashboard.environments.delete">;
2307
2779
  requestId: z.ZodString;
@@ -2319,6 +2791,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2319
2791
  type: z.ZodLiteral<"platform_operator">;
2320
2792
  sub: z.ZodString;
2321
2793
  reason: z.ZodString;
2794
+ sessionId: z.ZodOptional<z.ZodString>;
2322
2795
  }, z.core.$strip>, z.ZodObject<{
2323
2796
  type: z.ZodLiteral<"system">;
2324
2797
  component: z.ZodString;
@@ -2341,6 +2814,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2341
2814
  type: z.ZodLiteral<"platform_operator">;
2342
2815
  sub: z.ZodString;
2343
2816
  reason: z.ZodString;
2817
+ sessionId: z.ZodOptional<z.ZodString>;
2344
2818
  }, z.core.$strip>, z.ZodObject<{
2345
2819
  type: z.ZodLiteral<"system">;
2346
2820
  component: z.ZodString;
@@ -2363,6 +2837,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2363
2837
  type: z.ZodLiteral<"platform_operator">;
2364
2838
  sub: z.ZodString;
2365
2839
  reason: z.ZodString;
2840
+ sessionId: z.ZodOptional<z.ZodString>;
2366
2841
  }, z.core.$strip>, z.ZodObject<{
2367
2842
  type: z.ZodLiteral<"system">;
2368
2843
  component: z.ZodString;
@@ -2388,6 +2863,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2388
2863
  type: z.ZodLiteral<"platform_operator">;
2389
2864
  sub: z.ZodString;
2390
2865
  reason: z.ZodString;
2866
+ sessionId: z.ZodOptional<z.ZodString>;
2391
2867
  }, z.core.$strip>, z.ZodObject<{
2392
2868
  type: z.ZodLiteral<"system">;
2393
2869
  component: z.ZodString;
@@ -2411,6 +2887,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2411
2887
  type: z.ZodLiteral<"platform_operator">;
2412
2888
  sub: z.ZodString;
2413
2889
  reason: z.ZodString;
2890
+ sessionId: z.ZodOptional<z.ZodString>;
2414
2891
  }, z.core.$strip>, z.ZodObject<{
2415
2892
  type: z.ZodLiteral<"system">;
2416
2893
  component: z.ZodString;
@@ -2434,6 +2911,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2434
2911
  type: z.ZodLiteral<"platform_operator">;
2435
2912
  sub: z.ZodString;
2436
2913
  reason: z.ZodString;
2914
+ sessionId: z.ZodOptional<z.ZodString>;
2437
2915
  }, z.core.$strip>, z.ZodObject<{
2438
2916
  type: z.ZodLiteral<"system">;
2439
2917
  component: z.ZodString;
@@ -2459,6 +2937,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2459
2937
  type: z.ZodLiteral<"platform_operator">;
2460
2938
  sub: z.ZodString;
2461
2939
  reason: z.ZodString;
2940
+ sessionId: z.ZodOptional<z.ZodString>;
2462
2941
  }, z.core.$strip>, z.ZodObject<{
2463
2942
  type: z.ZodLiteral<"system">;
2464
2943
  component: z.ZodString;
@@ -2483,6 +2962,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2483
2962
  type: z.ZodLiteral<"platform_operator">;
2484
2963
  sub: z.ZodString;
2485
2964
  reason: z.ZodString;
2965
+ sessionId: z.ZodOptional<z.ZodString>;
2486
2966
  }, z.core.$strip>, z.ZodObject<{
2487
2967
  type: z.ZodLiteral<"system">;
2488
2968
  component: z.ZodString;
@@ -2505,6 +2985,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2505
2985
  type: z.ZodLiteral<"platform_operator">;
2506
2986
  sub: z.ZodString;
2507
2987
  reason: z.ZodString;
2988
+ sessionId: z.ZodOptional<z.ZodString>;
2508
2989
  }, z.core.$strip>, z.ZodObject<{
2509
2990
  type: z.ZodLiteral<"system">;
2510
2991
  component: z.ZodString;
@@ -2528,6 +3009,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2528
3009
  type: z.ZodLiteral<"platform_operator">;
2529
3010
  sub: z.ZodString;
2530
3011
  reason: z.ZodString;
3012
+ sessionId: z.ZodOptional<z.ZodString>;
2531
3013
  }, z.core.$strip>, z.ZodObject<{
2532
3014
  type: z.ZodLiteral<"system">;
2533
3015
  component: z.ZodString;
@@ -2549,6 +3031,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2549
3031
  type: z.ZodLiteral<"platform_operator">;
2550
3032
  sub: z.ZodString;
2551
3033
  reason: z.ZodString;
3034
+ sessionId: z.ZodOptional<z.ZodString>;
2552
3035
  }, z.core.$strip>, z.ZodObject<{
2553
3036
  type: z.ZodLiteral<"system">;
2554
3037
  component: z.ZodString;
@@ -2573,6 +3056,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2573
3056
  type: z.ZodLiteral<"platform_operator">;
2574
3057
  sub: z.ZodString;
2575
3058
  reason: z.ZodString;
3059
+ sessionId: z.ZodOptional<z.ZodString>;
2576
3060
  }, z.core.$strip>, z.ZodObject<{
2577
3061
  type: z.ZodLiteral<"system">;
2578
3062
  component: z.ZodString;
@@ -2596,6 +3080,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2596
3080
  type: z.ZodLiteral<"platform_operator">;
2597
3081
  sub: z.ZodString;
2598
3082
  reason: z.ZodString;
3083
+ sessionId: z.ZodOptional<z.ZodString>;
2599
3084
  }, z.core.$strip>, z.ZodObject<{
2600
3085
  type: z.ZodLiteral<"system">;
2601
3086
  component: z.ZodString;
@@ -2618,6 +3103,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2618
3103
  type: z.ZodLiteral<"platform_operator">;
2619
3104
  sub: z.ZodString;
2620
3105
  reason: z.ZodString;
3106
+ sessionId: z.ZodOptional<z.ZodString>;
2621
3107
  }, z.core.$strip>, z.ZodObject<{
2622
3108
  type: z.ZodLiteral<"system">;
2623
3109
  component: z.ZodString;
@@ -2641,6 +3127,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2641
3127
  type: z.ZodLiteral<"platform_operator">;
2642
3128
  sub: z.ZodString;
2643
3129
  reason: z.ZodString;
3130
+ sessionId: z.ZodOptional<z.ZodString>;
2644
3131
  }, z.core.$strip>, z.ZodObject<{
2645
3132
  type: z.ZodLiteral<"system">;
2646
3133
  component: z.ZodString;
@@ -2663,6 +3150,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2663
3150
  type: z.ZodLiteral<"platform_operator">;
2664
3151
  sub: z.ZodString;
2665
3152
  reason: z.ZodString;
3153
+ sessionId: z.ZodOptional<z.ZodString>;
2666
3154
  }, z.core.$strip>, z.ZodObject<{
2667
3155
  type: z.ZodLiteral<"system">;
2668
3156
  component: z.ZodString;
@@ -2687,6 +3175,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2687
3175
  type: z.ZodLiteral<"platform_operator">;
2688
3176
  sub: z.ZodString;
2689
3177
  reason: z.ZodString;
3178
+ sessionId: z.ZodOptional<z.ZodString>;
2690
3179
  }, z.core.$strip>, z.ZodObject<{
2691
3180
  type: z.ZodLiteral<"system">;
2692
3181
  component: z.ZodString;
@@ -2719,6 +3208,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2719
3208
  type: z.ZodLiteral<"platform_operator">;
2720
3209
  sub: z.ZodString;
2721
3210
  reason: z.ZodString;
3211
+ sessionId: z.ZodOptional<z.ZodString>;
2722
3212
  }, z.core.$strip>, z.ZodObject<{
2723
3213
  type: z.ZodLiteral<"system">;
2724
3214
  component: z.ZodString;
@@ -2741,6 +3231,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2741
3231
  type: z.ZodLiteral<"platform_operator">;
2742
3232
  sub: z.ZodString;
2743
3233
  reason: z.ZodString;
3234
+ sessionId: z.ZodOptional<z.ZodString>;
2744
3235
  }, z.core.$strip>, z.ZodObject<{
2745
3236
  type: z.ZodLiteral<"system">;
2746
3237
  component: z.ZodString;
@@ -2764,6 +3255,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2764
3255
  type: z.ZodLiteral<"platform_operator">;
2765
3256
  sub: z.ZodString;
2766
3257
  reason: z.ZodString;
3258
+ sessionId: z.ZodOptional<z.ZodString>;
2767
3259
  }, z.core.$strip>, z.ZodObject<{
2768
3260
  type: z.ZodLiteral<"system">;
2769
3261
  component: z.ZodString;
@@ -2787,6 +3279,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2787
3279
  type: z.ZodLiteral<"platform_operator">;
2788
3280
  sub: z.ZodString;
2789
3281
  reason: z.ZodString;
3282
+ sessionId: z.ZodOptional<z.ZodString>;
2790
3283
  }, z.core.$strip>, z.ZodObject<{
2791
3284
  type: z.ZodLiteral<"system">;
2792
3285
  component: z.ZodString;
@@ -2810,6 +3303,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2810
3303
  type: z.ZodLiteral<"platform_operator">;
2811
3304
  sub: z.ZodString;
2812
3305
  reason: z.ZodString;
3306
+ sessionId: z.ZodOptional<z.ZodString>;
2813
3307
  }, z.core.$strip>, z.ZodObject<{
2814
3308
  type: z.ZodLiteral<"system">;
2815
3309
  component: z.ZodString;
@@ -2833,6 +3327,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2833
3327
  type: z.ZodLiteral<"platform_operator">;
2834
3328
  sub: z.ZodString;
2835
3329
  reason: z.ZodString;
3330
+ sessionId: z.ZodOptional<z.ZodString>;
2836
3331
  }, z.core.$strip>, z.ZodObject<{
2837
3332
  type: z.ZodLiteral<"system">;
2838
3333
  component: z.ZodString;
@@ -2855,6 +3350,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2855
3350
  type: z.ZodLiteral<"platform_operator">;
2856
3351
  sub: z.ZodString;
2857
3352
  reason: z.ZodString;
3353
+ sessionId: z.ZodOptional<z.ZodString>;
2858
3354
  }, z.core.$strip>, z.ZodObject<{
2859
3355
  type: z.ZodLiteral<"system">;
2860
3356
  component: z.ZodString;
@@ -2876,6 +3372,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2876
3372
  type: z.ZodLiteral<"platform_operator">;
2877
3373
  sub: z.ZodString;
2878
3374
  reason: z.ZodString;
3375
+ sessionId: z.ZodOptional<z.ZodString>;
2879
3376
  }, z.core.$strip>, z.ZodObject<{
2880
3377
  type: z.ZodLiteral<"system">;
2881
3378
  component: z.ZodString;
@@ -2898,6 +3395,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2898
3395
  type: z.ZodLiteral<"platform_operator">;
2899
3396
  sub: z.ZodString;
2900
3397
  reason: z.ZodString;
3398
+ sessionId: z.ZodOptional<z.ZodString>;
2901
3399
  }, z.core.$strip>, z.ZodObject<{
2902
3400
  type: z.ZodLiteral<"system">;
2903
3401
  component: z.ZodString;
@@ -2919,6 +3417,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2919
3417
  type: z.ZodLiteral<"platform_operator">;
2920
3418
  sub: z.ZodString;
2921
3419
  reason: z.ZodString;
3420
+ sessionId: z.ZodOptional<z.ZodString>;
2922
3421
  }, z.core.$strip>, z.ZodObject<{
2923
3422
  type: z.ZodLiteral<"system">;
2924
3423
  component: z.ZodString;
@@ -2941,6 +3440,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2941
3440
  type: z.ZodLiteral<"platform_operator">;
2942
3441
  sub: z.ZodString;
2943
3442
  reason: z.ZodString;
3443
+ sessionId: z.ZodOptional<z.ZodString>;
2944
3444
  }, z.core.$strip>, z.ZodObject<{
2945
3445
  type: z.ZodLiteral<"system">;
2946
3446
  component: z.ZodString;
@@ -2962,6 +3462,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2962
3462
  type: z.ZodLiteral<"platform_operator">;
2963
3463
  sub: z.ZodString;
2964
3464
  reason: z.ZodString;
3465
+ sessionId: z.ZodOptional<z.ZodString>;
2965
3466
  }, z.core.$strip>, z.ZodObject<{
2966
3467
  type: z.ZodLiteral<"system">;
2967
3468
  component: z.ZodString;
@@ -2984,6 +3485,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2984
3485
  type: z.ZodLiteral<"platform_operator">;
2985
3486
  sub: z.ZodString;
2986
3487
  reason: z.ZodString;
3488
+ sessionId: z.ZodOptional<z.ZodString>;
2987
3489
  }, z.core.$strip>, z.ZodObject<{
2988
3490
  type: z.ZodLiteral<"system">;
2989
3491
  component: z.ZodString;
@@ -3006,6 +3508,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3006
3508
  type: z.ZodLiteral<"platform_operator">;
3007
3509
  sub: z.ZodString;
3008
3510
  reason: z.ZodString;
3511
+ sessionId: z.ZodOptional<z.ZodString>;
3009
3512
  }, z.core.$strip>, z.ZodObject<{
3010
3513
  type: z.ZodLiteral<"system">;
3011
3514
  component: z.ZodString;
@@ -3019,6 +3522,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3019
3522
  processed: "processed";
3020
3523
  duplicate: "duplicate";
3021
3524
  lockfile_missing: "lockfile_missing";
3525
+ lockfile_corrupt: "lockfile_corrupt";
3022
3526
  }>>;
3023
3527
  fromTimestamp: z.ZodOptional<z.ZodString>;
3024
3528
  toTimestamp: z.ZodOptional<z.ZodString>;
@@ -3042,6 +3546,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3042
3546
  type: z.ZodLiteral<"platform_operator">;
3043
3547
  sub: z.ZodString;
3044
3548
  reason: z.ZodString;
3549
+ sessionId: z.ZodOptional<z.ZodString>;
3045
3550
  }, z.core.$strip>, z.ZodObject<{
3046
3551
  type: z.ZodLiteral<"system">;
3047
3552
  component: z.ZodString;
@@ -3066,6 +3571,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3066
3571
  type: z.ZodLiteral<"platform_operator">;
3067
3572
  sub: z.ZodString;
3068
3573
  reason: z.ZodString;
3574
+ sessionId: z.ZodOptional<z.ZodString>;
3069
3575
  }, z.core.$strip>, z.ZodObject<{
3070
3576
  type: z.ZodLiteral<"system">;
3071
3577
  component: z.ZodString;
@@ -3090,6 +3596,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3090
3596
  type: z.ZodLiteral<"platform_operator">;
3091
3597
  sub: z.ZodString;
3092
3598
  reason: z.ZodString;
3599
+ sessionId: z.ZodOptional<z.ZodString>;
3093
3600
  }, z.core.$strip>, z.ZodObject<{
3094
3601
  type: z.ZodLiteral<"system">;
3095
3602
  component: z.ZodString;
@@ -3114,6 +3621,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3114
3621
  type: z.ZodLiteral<"platform_operator">;
3115
3622
  sub: z.ZodString;
3116
3623
  reason: z.ZodString;
3624
+ sessionId: z.ZodOptional<z.ZodString>;
3117
3625
  }, z.core.$strip>, z.ZodObject<{
3118
3626
  type: z.ZodLiteral<"system">;
3119
3627
  component: z.ZodString;
@@ -3136,6 +3644,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3136
3644
  type: z.ZodLiteral<"platform_operator">;
3137
3645
  sub: z.ZodString;
3138
3646
  reason: z.ZodString;
3647
+ sessionId: z.ZodOptional<z.ZodString>;
3139
3648
  }, z.core.$strip>, z.ZodObject<{
3140
3649
  type: z.ZodLiteral<"system">;
3141
3650
  component: z.ZodString;
@@ -3159,6 +3668,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3159
3668
  type: z.ZodLiteral<"platform_operator">;
3160
3669
  sub: z.ZodString;
3161
3670
  reason: z.ZodString;
3671
+ sessionId: z.ZodOptional<z.ZodString>;
3162
3672
  }, z.core.$strip>, z.ZodObject<{
3163
3673
  type: z.ZodLiteral<"system">;
3164
3674
  component: z.ZodString;
@@ -3182,6 +3692,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3182
3692
  type: z.ZodLiteral<"platform_operator">;
3183
3693
  sub: z.ZodString;
3184
3694
  reason: z.ZodString;
3695
+ sessionId: z.ZodOptional<z.ZodString>;
3185
3696
  }, z.core.$strip>, z.ZodObject<{
3186
3697
  type: z.ZodLiteral<"system">;
3187
3698
  component: z.ZodString;
@@ -3203,6 +3714,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3203
3714
  type: z.ZodLiteral<"platform_operator">;
3204
3715
  sub: z.ZodString;
3205
3716
  reason: z.ZodString;
3717
+ sessionId: z.ZodOptional<z.ZodString>;
3206
3718
  }, z.core.$strip>, z.ZodObject<{
3207
3719
  type: z.ZodLiteral<"system">;
3208
3720
  component: z.ZodString;
@@ -3237,6 +3749,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3237
3749
  type: z.ZodLiteral<"platform_operator">;
3238
3750
  sub: z.ZodString;
3239
3751
  reason: z.ZodString;
3752
+ sessionId: z.ZodOptional<z.ZodString>;
3240
3753
  }, z.core.$strip>, z.ZodObject<{
3241
3754
  type: z.ZodLiteral<"system">;
3242
3755
  component: z.ZodString;
@@ -3257,6 +3770,9 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3257
3770
  "registration.delete": "registration.delete";
3258
3771
  "global_workflows.update": "global_workflows.update";
3259
3772
  "run.detail.read": "run.detail.read";
3773
+ "runs.list.read": "runs.list.read";
3774
+ "runs.filters.read": "runs.filters.read";
3775
+ "sources.list.read": "sources.list.read";
3260
3776
  "run.payload.read": "run.payload.read";
3261
3777
  "run.orch_logs.read": "run.orch_logs.read";
3262
3778
  "step.logs.read": "step.logs.read";
@@ -3362,6 +3878,24 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
3362
3878
  runsOnLabels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
3363
3879
  outputs: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
3364
3880
  secretOutputKeys: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
3881
+ initFailure: z.ZodOptional<z.ZodObject<{
3882
+ scope: z.ZodEnum<{
3883
+ run: "run";
3884
+ job: "job";
3885
+ }>;
3886
+ category: z.ZodEnum<{
3887
+ secret_resolution: "secret_resolution";
3888
+ install_secrets: "install_secrets";
3889
+ lock_resolution: "lock_resolution";
3890
+ build_coordination: "build_coordination";
3891
+ environment_rules: "environment_rules";
3892
+ dynamic_eval: "dynamic_eval";
3893
+ no_agent: "no_agent";
3894
+ matrix_expansion: "matrix_expansion";
3895
+ }>;
3896
+ message: z.ZodString;
3897
+ jobName: z.ZodOptional<z.ZodString>;
3898
+ }, z.core.$strip>>;
3365
3899
  steps: z.ZodArray<z.ZodObject<{
3366
3900
  stepIndex: z.ZodNumber;
3367
3901
  stepName: z.ZodString;
@@ -3387,6 +3921,24 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
3387
3921
  }>>;
3388
3922
  contributorUsername: z.ZodNullable<z.ZodString>;
3389
3923
  }, z.core.$strip>>;
3924
+ initFailure: z.ZodOptional<z.ZodObject<{
3925
+ scope: z.ZodEnum<{
3926
+ run: "run";
3927
+ job: "job";
3928
+ }>;
3929
+ category: z.ZodEnum<{
3930
+ secret_resolution: "secret_resolution";
3931
+ install_secrets: "install_secrets";
3932
+ lock_resolution: "lock_resolution";
3933
+ build_coordination: "build_coordination";
3934
+ environment_rules: "environment_rules";
3935
+ dynamic_eval: "dynamic_eval";
3936
+ no_agent: "no_agent";
3937
+ matrix_expansion: "matrix_expansion";
3938
+ }>;
3939
+ message: z.ZodString;
3940
+ jobName: z.ZodOptional<z.ZodString>;
3941
+ }, z.core.$strip>>;
3390
3942
  error: z.ZodOptional<z.ZodString>;
3391
3943
  }, z.core.$strip>, z.ZodObject<{
3392
3944
  type: z.ZodLiteral<"dashboard.step.logs.response">;
@@ -3394,6 +3946,73 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
3394
3946
  lines: z.ZodArray<z.ZodString>;
3395
3947
  totalLines: z.ZodNumber;
3396
3948
  error: z.ZodOptional<z.ZodString>;
3949
+ }, z.core.$strip>, z.ZodObject<{
3950
+ type: z.ZodLiteral<"dashboard.runs.list.response">;
3951
+ requestId: z.ZodString;
3952
+ runs: z.ZodArray<z.ZodObject<{
3953
+ runId: z.ZodString;
3954
+ routingKey: z.ZodString;
3955
+ status: z.ZodString;
3956
+ repoIdentifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3957
+ createdAt: z.ZodString;
3958
+ updatedAt: z.ZodOptional<z.ZodString>;
3959
+ trigger: z.ZodOptional<z.ZodString>;
3960
+ workflowName: z.ZodOptional<z.ZodString>;
3961
+ sha: z.ZodOptional<z.ZodString>;
3962
+ ref: z.ZodOptional<z.ZodString>;
3963
+ triggerEvent: z.ZodOptional<z.ZodString>;
3964
+ commitMessage: z.ZodOptional<z.ZodString>;
3965
+ jobCount: z.ZodOptional<z.ZodNumber>;
3966
+ startedAt: z.ZodOptional<z.ZodString>;
3967
+ completedAt: z.ZodOptional<z.ZodString>;
3968
+ durationMs: z.ZodOptional<z.ZodNumber>;
3969
+ parentRunId: z.ZodOptional<z.ZodString>;
3970
+ originalRunId: z.ZodOptional<z.ZodString>;
3971
+ triggeredBy: z.ZodOptional<z.ZodString>;
3972
+ cancelledBy: z.ZodOptional<z.ZodString>;
3973
+ failureReason: z.ZodOptional<z.ZodString>;
3974
+ hadCompileJob: z.ZodOptional<z.ZodBoolean>;
3975
+ compileJobId: z.ZodOptional<z.ZodString>;
3976
+ source: z.ZodOptional<z.ZodObject<{
3977
+ routingKey: z.ZodString;
3978
+ name: z.ZodNullable<z.ZodString>;
3979
+ subtype: z.ZodString;
3980
+ provider: z.ZodString;
3981
+ }, z.core.$strip>>;
3982
+ }, z.core.$strip>>;
3983
+ nextCursor: z.ZodOptional<z.ZodString>;
3984
+ error: z.ZodOptional<z.ZodString>;
3985
+ }, z.core.$strip>, z.ZodObject<{
3986
+ type: z.ZodLiteral<"dashboard.runs.filters.response">;
3987
+ requestId: z.ZodString;
3988
+ statuses: z.ZodArray<z.ZodString>;
3989
+ workflows: z.ZodArray<z.ZodString>;
3990
+ branches: z.ZodArray<z.ZodString>;
3991
+ repositories: z.ZodArray<z.ZodString>;
3992
+ triggerTypes: z.ZodArray<z.ZodString>;
3993
+ sources: z.ZodArray<z.ZodObject<{
3994
+ routingKey: z.ZodString;
3995
+ name: z.ZodNullable<z.ZodString>;
3996
+ }, z.core.$strip>>;
3997
+ error: z.ZodOptional<z.ZodString>;
3998
+ }, z.core.$strip>, z.ZodObject<{
3999
+ type: z.ZodLiteral<"dashboard.sources.list.response">;
4000
+ requestId: z.ZodString;
4001
+ sources: z.ZodArray<z.ZodObject<{
4002
+ routingKey: z.ZodString;
4003
+ name: z.ZodNullable<z.ZodString>;
4004
+ provider: z.ZodString;
4005
+ subtype: z.ZodEnum<{
4006
+ github_app: "github_app";
4007
+ generic_webhook: "generic_webhook";
4008
+ universal_git: "universal_git";
4009
+ internal: "internal";
4010
+ }>;
4011
+ enabled: z.ZodBoolean;
4012
+ createdAt: z.ZodString;
4013
+ }, z.core.$strip>>;
4014
+ nextCursor: z.ZodOptional<z.ZodString>;
4015
+ error: z.ZodOptional<z.ZodString>;
3397
4016
  }, z.core.$strip>, z.ZodObject<{
3398
4017
  type: z.ZodLiteral<"run.rerun.response">;
3399
4018
  requestId: z.ZodString;
@@ -3433,6 +4052,7 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
3433
4052
  }>;
3434
4053
  globPattern: z.ZodNullable<z.ZodString>;
3435
4054
  enabled: z.ZodBoolean;
4055
+ allowLocalExecution: z.ZodBoolean;
3436
4056
  createdAt: z.ZodCoercedString<unknown>;
3437
4057
  updatedAt: z.ZodCoercedString<unknown>;
3438
4058
  }, z.core.$strip>>>;
@@ -3458,6 +4078,7 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
3458
4078
  waitTimerSeconds: z.ZodNullable<z.ZodNumber>;
3459
4079
  holdExpirySeconds: z.ZodNullable<z.ZodNumber>;
3460
4080
  enabled: z.ZodBoolean;
4081
+ allowLocalExecution: z.ZodBoolean;
3461
4082
  createdAt: z.ZodCoercedString<unknown>;
3462
4083
  updatedAt: z.ZodCoercedString<unknown>;
3463
4084
  }, z.core.$strip>>;
@@ -3471,10 +4092,17 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
3471
4092
  type: z.ZodLiteral<"dashboard.environments.update.response">;
3472
4093
  requestId: z.ZodString;
3473
4094
  error: z.ZodOptional<z.ZodString>;
4095
+ }, z.core.$strip>, z.ZodObject<{
4096
+ type: z.ZodLiteral<"dashboard.environments.test_access.set.response">;
4097
+ requestId: z.ZodString;
4098
+ error: z.ZodOptional<z.ZodString>;
3474
4099
  }, z.core.$strip>, z.ZodObject<{
3475
4100
  type: z.ZodLiteral<"dashboard.environments.delete.response">;
3476
4101
  requestId: z.ZodString;
3477
4102
  error: z.ZodOptional<z.ZodString>;
4103
+ errorCode: z.ZodOptional<z.ZodEnum<{
4104
+ pending_held_runs: "pending_held_runs";
4105
+ }>>;
3478
4106
  }, z.core.$strip>, z.ZodObject<{
3479
4107
  type: z.ZodLiteral<"dashboard.environments.variables.list.response">;
3480
4108
  requestId: z.ZodString;
@@ -3568,8 +4196,8 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
3568
4196
  heldRuns: z.ZodOptional<z.ZodArray<z.ZodObject<{
3569
4197
  id: z.ZodString;
3570
4198
  runId: z.ZodString;
3571
- environmentId: z.ZodString;
3572
- environmentName: z.ZodString;
4199
+ environmentId: z.ZodNullable<z.ZodString>;
4200
+ environmentName: z.ZodNullable<z.ZodString>;
3573
4201
  holdType: z.ZodString;
3574
4202
  queueType: z.ZodEnum<{
3575
4203
  environment: "environment";
@@ -3675,6 +4303,7 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
3675
4303
  raftLeaderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3676
4304
  agentCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3677
4305
  statefulAgentCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4306
+ statefulHosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
3678
4307
  }, z.core.$strip>;
3679
4308
  agents: z.ZodArray<z.ZodObject<{
3680
4309
  agentId: z.ZodString;
@@ -3701,11 +4330,17 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
3701
4330
  }, z.core.$strip>>;
3702
4331
  scalers: z.ZodOptional<z.ZodArray<z.ZodObject<{
3703
4332
  name: z.ZodString;
3704
- type: z.ZodString;
4333
+ type: z.ZodEnum<{
4334
+ container: "container";
4335
+ "bare-metal": "bare-metal";
4336
+ firecracker: "firecracker";
4337
+ kubernetes: "kubernetes";
4338
+ }>;
3705
4339
  maxAgents: z.ZodNumber;
3706
4340
  activeAgents: z.ZodNumber;
3707
4341
  labelSets: z.ZodArray<z.ZodArray<z.ZodString>>;
3708
4342
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4343
+ hosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
3709
4344
  }, z.core.$strip>>>;
3710
4345
  peers: z.ZodOptional<z.ZodArray<z.ZodObject<{
3711
4346
  instanceId: z.ZodString;
@@ -3723,6 +4358,7 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
3723
4358
  arch: z.ZodString;
3724
4359
  activeJobs: z.ZodNumber;
3725
4360
  maxConcurrency: z.ZodNumber;
4361
+ scalerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3726
4362
  }, z.core.$strip>>;
3727
4363
  hostname: z.ZodOptional<z.ZodString>;
3728
4364
  osRelease: z.ZodOptional<z.ZodString>;
@@ -3741,6 +4377,7 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
3741
4377
  activeCount: z.ZodNumber;
3742
4378
  maxAgents: z.ZodNumber;
3743
4379
  labelSets: z.ZodArray<z.ZodArray<z.ZodString>>;
4380
+ spawnsOnLocalHost: z.ZodOptional<z.ZodBoolean>;
3744
4381
  }, z.core.$strip>>>;
3745
4382
  dependencyHealth: z.ZodOptional<z.ZodArray<z.ZodObject<{
3746
4383
  name: z.ZodString;
@@ -3888,6 +4525,7 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
3888
4525
  processed: "processed";
3889
4526
  duplicate: "duplicate";
3890
4527
  lockfile_missing: "lockfile_missing";
4528
+ lockfile_corrupt: "lockfile_corrupt";
3891
4529
  }>;
3892
4530
  matchedCount: z.ZodNumber;
3893
4531
  runId: z.ZodNullable<z.ZodString>;
@@ -3924,6 +4562,7 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
3924
4562
  processed: "processed";
3925
4563
  duplicate: "duplicate";
3926
4564
  lockfile_missing: "lockfile_missing";
4565
+ lockfile_corrupt: "lockfile_corrupt";
3927
4566
  }>;
3928
4567
  matchedCount: z.ZodNumber;
3929
4568
  runId: z.ZodNullable<z.ZodString>;
@@ -4057,6 +4696,9 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
4057
4696
  "registration.delete": "registration.delete";
4058
4697
  "global_workflows.update": "global_workflows.update";
4059
4698
  "run.detail.read": "run.detail.read";
4699
+ "runs.list.read": "runs.list.read";
4700
+ "runs.filters.read": "runs.filters.read";
4701
+ "sources.list.read": "sources.list.read";
4060
4702
  "run.payload.read": "run.payload.read";
4061
4703
  "run.orch_logs.read": "run.orch_logs.read";
4062
4704
  "step.logs.read": "step.logs.read";
@@ -4175,6 +4817,7 @@ export type EnvGetRequest = z.infer<typeof envGetRequestSchema>;
4175
4817
  type EnvGetResponse = z.infer<typeof envGetResponseSchema>;
4176
4818
  export type EnvCreateRequest = z.infer<typeof envCreateRequestSchema>;
4177
4819
  export type EnvUpdateRequest = z.infer<typeof envUpdateRequestSchema>;
4820
+ export type EnvTestAccessSetRequest = z.infer<typeof envTestAccessSetRequestSchema>;
4178
4821
  export type EnvDeleteRequest = z.infer<typeof envDeleteRequestSchema>;
4179
4822
  export type EnvVarsListRequest = z.infer<typeof envVarsListRequestSchema>;
4180
4823
  type EnvVarsListResponse = z.infer<typeof envVarsListResponseSchema>;
@@ -4226,6 +4869,24 @@ export declare const dashboardRunDetailApiResponseSchema: z.ZodObject<{
4226
4869
  runsOnLabels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
4227
4870
  outputs: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
4228
4871
  secretOutputKeys: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
4872
+ initFailure: z.ZodOptional<z.ZodObject<{
4873
+ scope: z.ZodEnum<{
4874
+ run: "run";
4875
+ job: "job";
4876
+ }>;
4877
+ category: z.ZodEnum<{
4878
+ secret_resolution: "secret_resolution";
4879
+ install_secrets: "install_secrets";
4880
+ lock_resolution: "lock_resolution";
4881
+ build_coordination: "build_coordination";
4882
+ environment_rules: "environment_rules";
4883
+ dynamic_eval: "dynamic_eval";
4884
+ no_agent: "no_agent";
4885
+ matrix_expansion: "matrix_expansion";
4886
+ }>;
4887
+ message: z.ZodString;
4888
+ jobName: z.ZodOptional<z.ZodString>;
4889
+ }, z.core.$strip>>;
4229
4890
  steps: z.ZodArray<z.ZodObject<{
4230
4891
  stepIndex: z.ZodNumber;
4231
4892
  stepName: z.ZodString;
@@ -4251,6 +4912,24 @@ export declare const dashboardRunDetailApiResponseSchema: z.ZodObject<{
4251
4912
  }>>;
4252
4913
  contributorUsername: z.ZodNullable<z.ZodString>;
4253
4914
  }, z.core.$strip>>;
4915
+ initFailure: z.ZodOptional<z.ZodObject<{
4916
+ scope: z.ZodEnum<{
4917
+ run: "run";
4918
+ job: "job";
4919
+ }>;
4920
+ category: z.ZodEnum<{
4921
+ secret_resolution: "secret_resolution";
4922
+ install_secrets: "install_secrets";
4923
+ lock_resolution: "lock_resolution";
4924
+ build_coordination: "build_coordination";
4925
+ environment_rules: "environment_rules";
4926
+ dynamic_eval: "dynamic_eval";
4927
+ no_agent: "no_agent";
4928
+ matrix_expansion: "matrix_expansion";
4929
+ }>;
4930
+ message: z.ZodString;
4931
+ jobName: z.ZodOptional<z.ZodString>;
4932
+ }, z.core.$strip>>;
4254
4933
  }, z.core.$strip>;
4255
4934
  /** REST API response for step logs. */
4256
4935
  export declare const dashboardStepLogsApiResponseSchema: z.ZodObject<{