@kici-dev/engine 0.1.14 → 0.1.16

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 (48) hide show
  1. package/README.md +13 -1
  2. package/dist/approval/types.d.ts +56 -0
  3. package/dist/approval/types.js +42 -0
  4. package/dist/audit/access-log-policy.js +14 -0
  5. package/dist/audit/retention-policy.js +10 -0
  6. package/dist/environment/types.d.ts +8 -0
  7. package/dist/index.d.ts +2 -1
  8. package/dist/index.js +10 -8
  9. package/dist/labels.d.ts +7 -0
  10. package/dist/labels.js +11 -2
  11. package/dist/metrics/metric-catalog.generated.d.ts +50 -0
  12. package/dist/metrics/metric-catalog.generated.js +60 -0
  13. package/dist/protocol/analytics-events.d.ts +16 -0
  14. package/dist/protocol/analytics-events.js +20 -0
  15. package/dist/protocol/dashboard-write-operations.d.ts +4 -1
  16. package/dist/protocol/dashboard-write-operations.js +11 -1
  17. package/dist/protocol/messages/access-log.d.ts +26 -0
  18. package/dist/protocol/messages/access-log.js +5 -0
  19. package/dist/protocol/messages/actor.d.ts +2 -0
  20. package/dist/protocol/messages/actor.js +12 -2
  21. package/dist/protocol/messages/auth.d.ts +1 -0
  22. package/dist/protocol/messages/capabilities.d.ts +1 -0
  23. package/dist/protocol/messages/dashboard-global-workflows.d.ts +2 -0
  24. package/dist/protocol/messages/dashboard.d.ts +619 -6
  25. package/dist/protocol/messages/dashboard.js +179 -10
  26. package/dist/protocol/messages/event-log.d.ts +4 -0
  27. package/dist/protocol/messages/event-log.js +4 -0
  28. package/dist/protocol/messages/execution-status.d.ts +56 -3
  29. package/dist/protocol/messages/execution-status.js +44 -4
  30. package/dist/protocol/messages/orchestrator-agent.d.ts +284 -0
  31. package/dist/protocol/messages/orchestrator-agent.js +202 -4
  32. package/dist/protocol/messages/peer.d.ts +89 -0
  33. package/dist/protocol/messages/peer.js +50 -2
  34. package/dist/protocol/messages/platform-orchestrator.d.ts +168 -6
  35. package/dist/protocol/messages/platform-orchestrator.js +15 -56
  36. package/dist/protocol/messages/run-events.d.ts +1 -0
  37. package/dist/provenance/schema.d.ts +407 -0
  38. package/dist/provenance/schema.js +143 -0
  39. package/dist/provider/index.d.ts +1 -0
  40. package/dist/provider/index.js +2 -1
  41. package/dist/provider/lock-file-parse-error.d.ts +14 -0
  42. package/dist/provider/lock-file-parse-error.js +22 -0
  43. package/dist/trigger/types.d.ts +29 -1
  44. package/dist/trigger/types.js +4 -1
  45. package/dist/ws/close-codes.d.ts +7 -0
  46. package/dist/ws/close-codes.js +8 -1
  47. package/package.json +19 -8
  48. 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;
@@ -184,6 +186,215 @@ export declare const dashboardStepLogsResponseSchema: z.ZodObject<{
184
186
  totalLines: z.ZodNumber;
185
187
  error: z.ZodOptional<z.ZodString>;
186
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>;
187
398
  /** Request to re-run a completed run. */
188
399
  export declare const runRerunRequestSchema: z.ZodObject<{
189
400
  type: z.ZodLiteral<"run.rerun.request">;
@@ -202,6 +413,7 @@ export declare const runRerunRequestSchema: z.ZodObject<{
202
413
  type: z.ZodLiteral<"platform_operator">;
203
414
  sub: z.ZodString;
204
415
  reason: z.ZodString;
416
+ sessionId: z.ZodOptional<z.ZodString>;
205
417
  }, z.core.$strip>, z.ZodObject<{
206
418
  type: z.ZodLiteral<"system">;
207
419
  component: z.ZodString;
@@ -227,6 +439,7 @@ export declare const manualScheduleRequestSchema: z.ZodObject<{
227
439
  type: z.ZodLiteral<"platform_operator">;
228
440
  sub: z.ZodString;
229
441
  reason: z.ZodString;
442
+ sessionId: z.ZodOptional<z.ZodString>;
230
443
  }, z.core.$strip>, z.ZodObject<{
231
444
  type: z.ZodLiteral<"system">;
232
445
  component: z.ZodString;
@@ -251,6 +464,7 @@ export declare const runCancelRequestSchema: z.ZodObject<{
251
464
  type: z.ZodLiteral<"platform_operator">;
252
465
  sub: z.ZodString;
253
466
  reason: z.ZodString;
467
+ sessionId: z.ZodOptional<z.ZodString>;
254
468
  }, z.core.$strip>, z.ZodObject<{
255
469
  type: z.ZodLiteral<"system">;
256
470
  component: z.ZodString;
@@ -276,6 +490,7 @@ export declare const dashboardPayloadRequestSchema: z.ZodObject<{
276
490
  type: z.ZodLiteral<"platform_operator">;
277
491
  sub: z.ZodString;
278
492
  reason: z.ZodString;
493
+ sessionId: z.ZodOptional<z.ZodString>;
279
494
  }, z.core.$strip>, z.ZodObject<{
280
495
  type: z.ZodLiteral<"system">;
281
496
  component: z.ZodString;
@@ -309,6 +524,7 @@ export declare const eventLogListItemSchema: z.ZodObject<{
309
524
  processed: "processed";
310
525
  duplicate: "duplicate";
311
526
  lockfile_missing: "lockfile_missing";
527
+ lockfile_corrupt: "lockfile_corrupt";
312
528
  }>;
313
529
  matchedCount: z.ZodNumber;
314
530
  runId: z.ZodNullable<z.ZodString>;
@@ -340,6 +556,7 @@ export declare const dashboardEventLogListRequestSchema: z.ZodObject<{
340
556
  type: z.ZodLiteral<"platform_operator">;
341
557
  sub: z.ZodString;
342
558
  reason: z.ZodString;
559
+ sessionId: z.ZodOptional<z.ZodString>;
343
560
  }, z.core.$strip>, z.ZodObject<{
344
561
  type: z.ZodLiteral<"system">;
345
562
  component: z.ZodString;
@@ -353,6 +570,7 @@ export declare const dashboardEventLogListRequestSchema: z.ZodObject<{
353
570
  processed: "processed";
354
571
  duplicate: "duplicate";
355
572
  lockfile_missing: "lockfile_missing";
573
+ lockfile_corrupt: "lockfile_corrupt";
356
574
  }>>;
357
575
  fromTimestamp: z.ZodOptional<z.ZodString>;
358
576
  toTimestamp: z.ZodOptional<z.ZodString>;
@@ -382,6 +600,7 @@ declare const dashboardEventLogListResponseSchema: z.ZodObject<{
382
600
  processed: "processed";
383
601
  duplicate: "duplicate";
384
602
  lockfile_missing: "lockfile_missing";
603
+ lockfile_corrupt: "lockfile_corrupt";
385
604
  }>;
386
605
  matchedCount: z.ZodNumber;
387
606
  runId: z.ZodNullable<z.ZodString>;
@@ -416,6 +635,7 @@ export declare const dashboardEventLogDetailRequestSchema: z.ZodObject<{
416
635
  type: z.ZodLiteral<"platform_operator">;
417
636
  sub: z.ZodString;
418
637
  reason: z.ZodString;
638
+ sessionId: z.ZodOptional<z.ZodString>;
419
639
  }, z.core.$strip>, z.ZodObject<{
420
640
  type: z.ZodLiteral<"system">;
421
641
  component: z.ZodString;
@@ -451,6 +671,7 @@ declare const dashboardEventLogDetailResponseSchema: z.ZodObject<{
451
671
  processed: "processed";
452
672
  duplicate: "duplicate";
453
673
  lockfile_missing: "lockfile_missing";
674
+ lockfile_corrupt: "lockfile_corrupt";
454
675
  }>;
455
676
  matchedCount: z.ZodNumber;
456
677
  runId: z.ZodNullable<z.ZodString>;
@@ -512,6 +733,7 @@ export declare const dashboardEventLogPayloadStreamRequestSchema: z.ZodObject<{
512
733
  type: z.ZodLiteral<"platform_operator">;
513
734
  sub: z.ZodString;
514
735
  reason: z.ZodString;
736
+ sessionId: z.ZodOptional<z.ZodString>;
515
737
  }, z.core.$strip>, z.ZodObject<{
516
738
  type: z.ZodLiteral<"system">;
517
739
  component: z.ZodString;
@@ -606,6 +828,7 @@ export declare const dashboardEventDlqListRequestSchema: z.ZodObject<{
606
828
  type: z.ZodLiteral<"platform_operator">;
607
829
  sub: z.ZodString;
608
830
  reason: z.ZodString;
831
+ sessionId: z.ZodOptional<z.ZodString>;
609
832
  }, z.core.$strip>, z.ZodObject<{
610
833
  type: z.ZodLiteral<"system">;
611
834
  component: z.ZodString;
@@ -653,6 +876,7 @@ export declare const dashboardEventDlqCountRequestSchema: z.ZodObject<{
653
876
  type: z.ZodLiteral<"platform_operator">;
654
877
  sub: z.ZodString;
655
878
  reason: z.ZodString;
879
+ sessionId: z.ZodOptional<z.ZodString>;
656
880
  }, z.core.$strip>, z.ZodObject<{
657
881
  type: z.ZodLiteral<"system">;
658
882
  component: z.ZodString;
@@ -683,6 +907,7 @@ export declare const dashboardEventDlqRetryRequestSchema: z.ZodObject<{
683
907
  type: z.ZodLiteral<"platform_operator">;
684
908
  sub: z.ZodString;
685
909
  reason: z.ZodString;
910
+ sessionId: z.ZodOptional<z.ZodString>;
686
911
  }, z.core.$strip>, z.ZodObject<{
687
912
  type: z.ZodLiteral<"system">;
688
913
  component: z.ZodString;
@@ -714,6 +939,7 @@ export declare const dashboardEventDlqDiscardRequestSchema: z.ZodObject<{
714
939
  type: z.ZodLiteral<"platform_operator">;
715
940
  sub: z.ZodString;
716
941
  reason: z.ZodString;
942
+ sessionId: z.ZodOptional<z.ZodString>;
717
943
  }, z.core.$strip>, z.ZodObject<{
718
944
  type: z.ZodLiteral<"system">;
719
945
  component: z.ZodString;
@@ -745,6 +971,7 @@ export declare const envListRequestSchema: z.ZodObject<{
745
971
  type: z.ZodLiteral<"platform_operator">;
746
972
  sub: z.ZodString;
747
973
  reason: z.ZodString;
974
+ sessionId: z.ZodOptional<z.ZodString>;
748
975
  }, z.core.$strip>, z.ZodObject<{
749
976
  type: z.ZodLiteral<"system">;
750
977
  component: z.ZodString;
@@ -762,6 +989,7 @@ declare const envListResponseSchema: z.ZodObject<{
762
989
  }>;
763
990
  globPattern: z.ZodNullable<z.ZodString>;
764
991
  enabled: z.ZodBoolean;
992
+ allowLocalExecution: z.ZodBoolean;
765
993
  createdAt: z.ZodCoercedString<unknown>;
766
994
  updatedAt: z.ZodCoercedString<unknown>;
767
995
  }, z.core.$strip>>>;
@@ -785,6 +1013,7 @@ export declare const envGetRequestSchema: z.ZodObject<{
785
1013
  type: z.ZodLiteral<"platform_operator">;
786
1014
  sub: z.ZodString;
787
1015
  reason: z.ZodString;
1016
+ sessionId: z.ZodOptional<z.ZodString>;
788
1017
  }, z.core.$strip>, z.ZodObject<{
789
1018
  type: z.ZodLiteral<"system">;
790
1019
  component: z.ZodString;
@@ -812,6 +1041,7 @@ declare const envGetResponseSchema: z.ZodObject<{
812
1041
  waitTimerSeconds: z.ZodNullable<z.ZodNumber>;
813
1042
  holdExpirySeconds: z.ZodNullable<z.ZodNumber>;
814
1043
  enabled: z.ZodBoolean;
1044
+ allowLocalExecution: z.ZodBoolean;
815
1045
  createdAt: z.ZodCoercedString<unknown>;
816
1046
  updatedAt: z.ZodCoercedString<unknown>;
817
1047
  }, z.core.$strip>>;
@@ -835,6 +1065,7 @@ export declare const envCreateRequestSchema: z.ZodObject<{
835
1065
  type: z.ZodLiteral<"platform_operator">;
836
1066
  sub: z.ZodString;
837
1067
  reason: z.ZodString;
1068
+ sessionId: z.ZodOptional<z.ZodString>;
838
1069
  }, z.core.$strip>, z.ZodObject<{
839
1070
  type: z.ZodLiteral<"system">;
840
1071
  component: z.ZodString;
@@ -874,6 +1105,7 @@ export declare const envUpdateRequestSchema: z.ZodObject<{
874
1105
  type: z.ZodLiteral<"platform_operator">;
875
1106
  sub: z.ZodString;
876
1107
  reason: z.ZodString;
1108
+ sessionId: z.ZodOptional<z.ZodString>;
877
1109
  }, z.core.$strip>, z.ZodObject<{
878
1110
  type: z.ZodLiteral<"system">;
879
1111
  component: z.ZodString;
@@ -898,6 +1130,32 @@ export declare const envUpdateRequestSchema: z.ZodObject<{
898
1130
  enabled: z.ZodOptional<z.ZodBoolean>;
899
1131
  }, z.core.$strip>;
900
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>;
901
1159
  /** Delete an environment. */
902
1160
  export declare const envDeleteRequestSchema: z.ZodObject<{
903
1161
  type: z.ZodLiteral<"dashboard.environments.delete">;
@@ -916,12 +1174,27 @@ export declare const envDeleteRequestSchema: z.ZodObject<{
916
1174
  type: z.ZodLiteral<"platform_operator">;
917
1175
  sub: z.ZodString;
918
1176
  reason: z.ZodString;
1177
+ sessionId: z.ZodOptional<z.ZodString>;
919
1178
  }, z.core.$strip>, z.ZodObject<{
920
1179
  type: z.ZodLiteral<"system">;
921
1180
  component: z.ZodString;
922
1181
  }, z.core.$strip>], "type">;
923
1182
  environmentId: z.ZodString;
924
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>;
925
1198
  /** List variables for an environment. */
926
1199
  export declare const envVarsListRequestSchema: z.ZodObject<{
927
1200
  type: z.ZodLiteral<"dashboard.environments.variables.list">;
@@ -940,6 +1213,7 @@ export declare const envVarsListRequestSchema: z.ZodObject<{
940
1213
  type: z.ZodLiteral<"platform_operator">;
941
1214
  sub: z.ZodString;
942
1215
  reason: z.ZodString;
1216
+ sessionId: z.ZodOptional<z.ZodString>;
943
1217
  }, z.core.$strip>, z.ZodObject<{
944
1218
  type: z.ZodLiteral<"system">;
945
1219
  component: z.ZodString;
@@ -974,6 +1248,7 @@ export declare const envVarSetRequestSchema: z.ZodObject<{
974
1248
  type: z.ZodLiteral<"platform_operator">;
975
1249
  sub: z.ZodString;
976
1250
  reason: z.ZodString;
1251
+ sessionId: z.ZodOptional<z.ZodString>;
977
1252
  }, z.core.$strip>, z.ZodObject<{
978
1253
  type: z.ZodLiteral<"system">;
979
1254
  component: z.ZodString;
@@ -1001,6 +1276,7 @@ export declare const envVarDeleteRequestSchema: z.ZodObject<{
1001
1276
  type: z.ZodLiteral<"platform_operator">;
1002
1277
  sub: z.ZodString;
1003
1278
  reason: z.ZodString;
1279
+ sessionId: z.ZodOptional<z.ZodString>;
1004
1280
  }, z.core.$strip>, z.ZodObject<{
1005
1281
  type: z.ZodLiteral<"system">;
1006
1282
  component: z.ZodString;
@@ -1026,6 +1302,7 @@ export declare const envSourceOverridesListRequestSchema: z.ZodObject<{
1026
1302
  type: z.ZodLiteral<"platform_operator">;
1027
1303
  sub: z.ZodString;
1028
1304
  reason: z.ZodString;
1305
+ sessionId: z.ZodOptional<z.ZodString>;
1029
1306
  }, z.core.$strip>, z.ZodObject<{
1030
1307
  type: z.ZodLiteral<"system">;
1031
1308
  component: z.ZodString;
@@ -1051,6 +1328,7 @@ export declare const envSourceOverrideSetRequestSchema: z.ZodObject<{
1051
1328
  type: z.ZodLiteral<"platform_operator">;
1052
1329
  sub: z.ZodString;
1053
1330
  reason: z.ZodString;
1331
+ sessionId: z.ZodOptional<z.ZodString>;
1054
1332
  }, z.core.$strip>, z.ZodObject<{
1055
1333
  type: z.ZodLiteral<"system">;
1056
1334
  component: z.ZodString;
@@ -1078,6 +1356,7 @@ export declare const envSourceOverrideDeleteRequestSchema: z.ZodObject<{
1078
1356
  type: z.ZodLiteral<"platform_operator">;
1079
1357
  sub: z.ZodString;
1080
1358
  reason: z.ZodString;
1359
+ sessionId: z.ZodOptional<z.ZodString>;
1081
1360
  }, z.core.$strip>, z.ZodObject<{
1082
1361
  type: z.ZodLiteral<"system">;
1083
1362
  component: z.ZodString;
@@ -1104,6 +1383,7 @@ export declare const envBindingsListRequestSchema: z.ZodObject<{
1104
1383
  type: z.ZodLiteral<"platform_operator">;
1105
1384
  sub: z.ZodString;
1106
1385
  reason: z.ZodString;
1386
+ sessionId: z.ZodOptional<z.ZodString>;
1107
1387
  }, z.core.$strip>, z.ZodObject<{
1108
1388
  type: z.ZodLiteral<"system">;
1109
1389
  component: z.ZodString;
@@ -1128,6 +1408,7 @@ export declare const envBindingsSetRequestSchema: z.ZodObject<{
1128
1408
  type: z.ZodLiteral<"platform_operator">;
1129
1409
  sub: z.ZodString;
1130
1410
  reason: z.ZodString;
1411
+ sessionId: z.ZodOptional<z.ZodString>;
1131
1412
  }, z.core.$strip>, z.ZodObject<{
1132
1413
  type: z.ZodLiteral<"system">;
1133
1414
  component: z.ZodString;
@@ -1153,6 +1434,7 @@ export declare const envSecretsListRequestSchema: z.ZodObject<{
1153
1434
  type: z.ZodLiteral<"platform_operator">;
1154
1435
  sub: z.ZodString;
1155
1436
  reason: z.ZodString;
1437
+ sessionId: z.ZodOptional<z.ZodString>;
1156
1438
  }, z.core.$strip>, z.ZodObject<{
1157
1439
  type: z.ZodLiteral<"system">;
1158
1440
  component: z.ZodString;
@@ -1176,6 +1458,7 @@ export declare const envSecretSetRequestSchema: z.ZodObject<{
1176
1458
  type: z.ZodLiteral<"platform_operator">;
1177
1459
  sub: z.ZodString;
1178
1460
  reason: z.ZodString;
1461
+ sessionId: z.ZodOptional<z.ZodString>;
1179
1462
  }, z.core.$strip>, z.ZodObject<{
1180
1463
  type: z.ZodLiteral<"system">;
1181
1464
  component: z.ZodString;
@@ -1202,6 +1485,7 @@ export declare const envSecretDeleteRequestSchema: z.ZodObject<{
1202
1485
  type: z.ZodLiteral<"platform_operator">;
1203
1486
  sub: z.ZodString;
1204
1487
  reason: z.ZodString;
1488
+ sessionId: z.ZodOptional<z.ZodString>;
1205
1489
  }, z.core.$strip>, z.ZodObject<{
1206
1490
  type: z.ZodLiteral<"system">;
1207
1491
  component: z.ZodString;
@@ -1227,6 +1511,7 @@ export declare const envSecretScopeCreateRequestSchema: z.ZodObject<{
1227
1511
  type: z.ZodLiteral<"platform_operator">;
1228
1512
  sub: z.ZodString;
1229
1513
  reason: z.ZodString;
1514
+ sessionId: z.ZodOptional<z.ZodString>;
1230
1515
  }, z.core.$strip>, z.ZodObject<{
1231
1516
  type: z.ZodLiteral<"system">;
1232
1517
  component: z.ZodString;
@@ -1251,6 +1536,7 @@ export declare const envSecretScopeRenameRequestSchema: z.ZodObject<{
1251
1536
  type: z.ZodLiteral<"platform_operator">;
1252
1537
  sub: z.ZodString;
1253
1538
  reason: z.ZodString;
1539
+ sessionId: z.ZodOptional<z.ZodString>;
1254
1540
  }, z.core.$strip>, z.ZodObject<{
1255
1541
  type: z.ZodLiteral<"system">;
1256
1542
  component: z.ZodString;
@@ -1276,6 +1562,7 @@ export declare const envSecretScopeDeleteRequestSchema: z.ZodObject<{
1276
1562
  type: z.ZodLiteral<"platform_operator">;
1277
1563
  sub: z.ZodString;
1278
1564
  reason: z.ZodString;
1565
+ sessionId: z.ZodOptional<z.ZodString>;
1279
1566
  }, z.core.$strip>, z.ZodObject<{
1280
1567
  type: z.ZodLiteral<"system">;
1281
1568
  component: z.ZodString;
@@ -1300,6 +1587,7 @@ export declare const envHistoryRequestSchema: z.ZodObject<{
1300
1587
  type: z.ZodLiteral<"platform_operator">;
1301
1588
  sub: z.ZodString;
1302
1589
  reason: z.ZodString;
1590
+ sessionId: z.ZodOptional<z.ZodString>;
1303
1591
  }, z.core.$strip>, z.ZodObject<{
1304
1592
  type: z.ZodLiteral<"system">;
1305
1593
  component: z.ZodString;
@@ -1340,6 +1628,7 @@ export declare const heldRunsListRequestSchema: z.ZodObject<{
1340
1628
  type: z.ZodLiteral<"platform_operator">;
1341
1629
  sub: z.ZodString;
1342
1630
  reason: z.ZodString;
1631
+ sessionId: z.ZodOptional<z.ZodString>;
1343
1632
  }, z.core.$strip>, z.ZodObject<{
1344
1633
  type: z.ZodLiteral<"system">;
1345
1634
  component: z.ZodString;
@@ -1362,8 +1651,8 @@ declare const heldRunsListResponseSchema: z.ZodObject<{
1362
1651
  heldRuns: z.ZodOptional<z.ZodArray<z.ZodObject<{
1363
1652
  id: z.ZodString;
1364
1653
  runId: z.ZodString;
1365
- environmentId: z.ZodString;
1366
- environmentName: z.ZodString;
1654
+ environmentId: z.ZodNullable<z.ZodString>;
1655
+ environmentName: z.ZodNullable<z.ZodString>;
1367
1656
  holdType: z.ZodString;
1368
1657
  queueType: z.ZodEnum<{
1369
1658
  environment: "environment";
@@ -1382,6 +1671,34 @@ declare const heldRunsListResponseSchema: z.ZodObject<{
1382
1671
  expiresAt: z.ZodNullable<z.ZodCoercedString<unknown>>;
1383
1672
  contributorUsername: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1384
1673
  trustTier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1674
+ jobId: z.ZodOptional<z.ZodString>;
1675
+ holdScope: z.ZodOptional<z.ZodEnum<{
1676
+ job: "job";
1677
+ step: "step";
1678
+ workflow: "workflow";
1679
+ }>>;
1680
+ stepIndex: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1681
+ requirement: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1682
+ clauses: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1683
+ team: z.ZodString;
1684
+ }, z.core.$strict>, z.ZodObject<{
1685
+ user: z.ZodString;
1686
+ }, z.core.$strict>]>>;
1687
+ reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1688
+ }, z.core.$strip>>>;
1689
+ decisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1690
+ approverUserId: z.ZodString;
1691
+ decision: z.ZodEnum<{
1692
+ approve: "approve";
1693
+ reject: "reject";
1694
+ }>;
1695
+ clausesSatisfied: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1696
+ team: z.ZodString;
1697
+ }, z.core.$strict>, z.ZodObject<{
1698
+ user: z.ZodString;
1699
+ }, z.core.$strict>]>>>>;
1700
+ createdAt: z.ZodCoercedString<unknown>;
1701
+ }, z.core.$strip>>>;
1385
1702
  }, z.core.$strip>>>;
1386
1703
  error: z.ZodOptional<z.ZodString>;
1387
1704
  }, z.core.$strip>;
@@ -1403,6 +1720,7 @@ export declare const heldRunApproveRequestSchema: z.ZodObject<{
1403
1720
  type: z.ZodLiteral<"platform_operator">;
1404
1721
  sub: z.ZodString;
1405
1722
  reason: z.ZodString;
1723
+ sessionId: z.ZodOptional<z.ZodString>;
1406
1724
  }, z.core.$strip>, z.ZodObject<{
1407
1725
  type: z.ZodLiteral<"system">;
1408
1726
  component: z.ZodString;
@@ -1427,6 +1745,7 @@ export declare const heldRunRejectRequestSchema: z.ZodObject<{
1427
1745
  type: z.ZodLiteral<"platform_operator">;
1428
1746
  sub: z.ZodString;
1429
1747
  reason: z.ZodString;
1748
+ sessionId: z.ZodOptional<z.ZodString>;
1430
1749
  }, z.core.$strip>, z.ZodObject<{
1431
1750
  type: z.ZodLiteral<"system">;
1432
1751
  component: z.ZodString;
@@ -1452,6 +1771,7 @@ export declare const dashboardDiagnosticsRequestSchema: z.ZodObject<{
1452
1771
  type: z.ZodLiteral<"platform_operator">;
1453
1772
  sub: z.ZodString;
1454
1773
  reason: z.ZodString;
1774
+ sessionId: z.ZodOptional<z.ZodString>;
1455
1775
  }, z.core.$strip>, z.ZodObject<{
1456
1776
  type: z.ZodLiteral<"system">;
1457
1777
  component: z.ZodString;
@@ -1475,6 +1795,7 @@ declare const diagnosticsPeerSchema: z.ZodObject<{
1475
1795
  arch: z.ZodString;
1476
1796
  activeJobs: z.ZodNumber;
1477
1797
  maxConcurrency: z.ZodNumber;
1798
+ scalerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1478
1799
  }, z.core.$strip>>;
1479
1800
  hostname: z.ZodOptional<z.ZodString>;
1480
1801
  osRelease: z.ZodOptional<z.ZodString>;
@@ -1493,6 +1814,7 @@ declare const diagnosticsPeerSchema: z.ZodObject<{
1493
1814
  activeCount: z.ZodNumber;
1494
1815
  maxAgents: z.ZodNumber;
1495
1816
  labelSets: z.ZodArray<z.ZodArray<z.ZodString>>;
1817
+ spawnsOnLocalHost: z.ZodOptional<z.ZodBoolean>;
1496
1818
  }, z.core.$strip>>>;
1497
1819
  dependencyHealth: z.ZodOptional<z.ZodArray<z.ZodObject<{
1498
1820
  name: z.ZodString;
@@ -1544,6 +1866,7 @@ export declare const dashboardDiagnosticsResponseSchema: z.ZodObject<{
1544
1866
  raftLeaderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1545
1867
  agentCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1546
1868
  statefulAgentCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1869
+ statefulHosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
1547
1870
  }, z.core.$strip>;
1548
1871
  agents: z.ZodArray<z.ZodObject<{
1549
1872
  agentId: z.ZodString;
@@ -1570,11 +1893,17 @@ export declare const dashboardDiagnosticsResponseSchema: z.ZodObject<{
1570
1893
  }, z.core.$strip>>;
1571
1894
  scalers: z.ZodOptional<z.ZodArray<z.ZodObject<{
1572
1895
  name: z.ZodString;
1573
- type: z.ZodString;
1896
+ type: z.ZodEnum<{
1897
+ container: "container";
1898
+ "bare-metal": "bare-metal";
1899
+ firecracker: "firecracker";
1900
+ kubernetes: "kubernetes";
1901
+ }>;
1574
1902
  maxAgents: z.ZodNumber;
1575
1903
  activeAgents: z.ZodNumber;
1576
1904
  labelSets: z.ZodArray<z.ZodArray<z.ZodString>>;
1577
1905
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1906
+ hosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
1578
1907
  }, z.core.$strip>>>;
1579
1908
  peers: z.ZodOptional<z.ZodArray<z.ZodObject<{
1580
1909
  instanceId: z.ZodString;
@@ -1592,6 +1921,7 @@ export declare const dashboardDiagnosticsResponseSchema: z.ZodObject<{
1592
1921
  arch: z.ZodString;
1593
1922
  activeJobs: z.ZodNumber;
1594
1923
  maxConcurrency: z.ZodNumber;
1924
+ scalerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1595
1925
  }, z.core.$strip>>;
1596
1926
  hostname: z.ZodOptional<z.ZodString>;
1597
1927
  osRelease: z.ZodOptional<z.ZodString>;
@@ -1610,6 +1940,7 @@ export declare const dashboardDiagnosticsResponseSchema: z.ZodObject<{
1610
1940
  activeCount: z.ZodNumber;
1611
1941
  maxAgents: z.ZodNumber;
1612
1942
  labelSets: z.ZodArray<z.ZodArray<z.ZodString>>;
1943
+ spawnsOnLocalHost: z.ZodOptional<z.ZodBoolean>;
1613
1944
  }, z.core.$strip>>>;
1614
1945
  dependencyHealth: z.ZodOptional<z.ZodArray<z.ZodObject<{
1615
1946
  name: z.ZodString;
@@ -1645,6 +1976,7 @@ export declare const dashboardScalerCapacityRequestSchema: z.ZodObject<{
1645
1976
  type: z.ZodLiteral<"platform_operator">;
1646
1977
  sub: z.ZodString;
1647
1978
  reason: z.ZodString;
1979
+ sessionId: z.ZodOptional<z.ZodString>;
1648
1980
  }, z.core.$strip>, z.ZodObject<{
1649
1981
  type: z.ZodLiteral<"system">;
1650
1982
  component: z.ZodString;
@@ -1681,6 +2013,7 @@ export declare const dashboardScalerAgentsRequestSchema: z.ZodObject<{
1681
2013
  type: z.ZodLiteral<"platform_operator">;
1682
2014
  sub: z.ZodString;
1683
2015
  reason: z.ZodString;
2016
+ sessionId: z.ZodOptional<z.ZodString>;
1684
2017
  }, z.core.$strip>, z.ZodObject<{
1685
2018
  type: z.ZodLiteral<"system">;
1686
2019
  component: z.ZodString;
@@ -1735,6 +2068,7 @@ export declare const registrationDisableRequestSchema: z.ZodObject<{
1735
2068
  type: z.ZodLiteral<"platform_operator">;
1736
2069
  sub: z.ZodString;
1737
2070
  reason: z.ZodString;
2071
+ sessionId: z.ZodOptional<z.ZodString>;
1738
2072
  }, z.core.$strip>, z.ZodObject<{
1739
2073
  type: z.ZodLiteral<"system">;
1740
2074
  component: z.ZodString;
@@ -1760,6 +2094,7 @@ export declare const registrationDeleteRequestSchema: z.ZodObject<{
1760
2094
  type: z.ZodLiteral<"platform_operator">;
1761
2095
  sub: z.ZodString;
1762
2096
  reason: z.ZodString;
2097
+ sessionId: z.ZodOptional<z.ZodString>;
1763
2098
  }, z.core.$strip>, z.ZodObject<{
1764
2099
  type: z.ZodLiteral<"system">;
1765
2100
  component: z.ZodString;
@@ -1785,6 +2120,7 @@ export declare const registrationsListRequestSchema: z.ZodObject<{
1785
2120
  type: z.ZodLiteral<"platform_operator">;
1786
2121
  sub: z.ZodString;
1787
2122
  reason: z.ZodString;
2123
+ sessionId: z.ZodOptional<z.ZodString>;
1788
2124
  }, z.core.$strip>, z.ZodObject<{
1789
2125
  type: z.ZodLiteral<"system">;
1790
2126
  component: z.ZodString;
@@ -1871,6 +2207,7 @@ export declare const backendsListRequestSchema: z.ZodObject<{
1871
2207
  type: z.ZodLiteral<"platform_operator">;
1872
2208
  sub: z.ZodString;
1873
2209
  reason: z.ZodString;
2210
+ sessionId: z.ZodOptional<z.ZodString>;
1874
2211
  }, z.core.$strip>, z.ZodObject<{
1875
2212
  type: z.ZodLiteral<"system">;
1876
2213
  component: z.ZodString;
@@ -1947,6 +2284,7 @@ export declare const backendGetRequestSchema: z.ZodObject<{
1947
2284
  type: z.ZodLiteral<"platform_operator">;
1948
2285
  sub: z.ZodString;
1949
2286
  reason: z.ZodString;
2287
+ sessionId: z.ZodOptional<z.ZodString>;
1950
2288
  }, z.core.$strip>, z.ZodObject<{
1951
2289
  type: z.ZodLiteral<"system">;
1952
2290
  component: z.ZodString;
@@ -2000,6 +2338,7 @@ export declare const backendsSyncAllRequestSchema: z.ZodObject<{
2000
2338
  type: z.ZodLiteral<"platform_operator">;
2001
2339
  sub: z.ZodString;
2002
2340
  reason: z.ZodString;
2341
+ sessionId: z.ZodOptional<z.ZodString>;
2003
2342
  }, z.core.$strip>, z.ZodObject<{
2004
2343
  type: z.ZodLiteral<"system">;
2005
2344
  component: z.ZodString;
@@ -2030,6 +2369,7 @@ export declare const backendSyncRequestSchema: z.ZodObject<{
2030
2369
  type: z.ZodLiteral<"platform_operator">;
2031
2370
  sub: z.ZodString;
2032
2371
  reason: z.ZodString;
2372
+ sessionId: z.ZodOptional<z.ZodString>;
2033
2373
  }, z.core.$strip>, z.ZodObject<{
2034
2374
  type: z.ZodLiteral<"system">;
2035
2375
  component: z.ZodString;
@@ -2062,6 +2402,7 @@ export declare const backendTestRequestSchema: z.ZodObject<{
2062
2402
  type: z.ZodLiteral<"platform_operator">;
2063
2403
  sub: z.ZodString;
2064
2404
  reason: z.ZodString;
2405
+ sessionId: z.ZodOptional<z.ZodString>;
2065
2406
  }, z.core.$strip>, z.ZodObject<{
2066
2407
  type: z.ZodLiteral<"system">;
2067
2408
  component: z.ZodString;
@@ -2094,6 +2435,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2094
2435
  type: z.ZodLiteral<"platform_operator">;
2095
2436
  sub: z.ZodString;
2096
2437
  reason: z.ZodString;
2438
+ sessionId: z.ZodOptional<z.ZodString>;
2097
2439
  }, z.core.$strip>, z.ZodObject<{
2098
2440
  type: z.ZodLiteral<"system">;
2099
2441
  component: z.ZodString;
@@ -2116,6 +2458,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2116
2458
  type: z.ZodLiteral<"platform_operator">;
2117
2459
  sub: z.ZodString;
2118
2460
  reason: z.ZodString;
2461
+ sessionId: z.ZodOptional<z.ZodString>;
2119
2462
  }, z.core.$strip>, z.ZodObject<{
2120
2463
  type: z.ZodLiteral<"system">;
2121
2464
  component: z.ZodString;
@@ -2123,6 +2466,76 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2123
2466
  runId: z.ZodString;
2124
2467
  jobId: z.ZodString;
2125
2468
  stepIndex: z.ZodNumber;
2469
+ }, z.core.$strip>, z.ZodObject<{
2470
+ type: z.ZodLiteral<"dashboard.runs.list">;
2471
+ requestId: z.ZodString;
2472
+ actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2473
+ type: z.ZodLiteral<"user">;
2474
+ sub: z.ZodString;
2475
+ }, z.core.$strip>, z.ZodObject<{
2476
+ type: z.ZodLiteral<"api_key">;
2477
+ keyId: z.ZodString;
2478
+ ownerSub: z.ZodString;
2479
+ }, z.core.$strip>, z.ZodObject<{
2480
+ type: z.ZodLiteral<"service_account">;
2481
+ id: z.ZodString;
2482
+ }, z.core.$strip>, z.ZodObject<{
2483
+ type: z.ZodLiteral<"platform_operator">;
2484
+ sub: z.ZodString;
2485
+ reason: z.ZodString;
2486
+ sessionId: z.ZodOptional<z.ZodString>;
2487
+ }, z.core.$strip>, z.ZodObject<{
2488
+ type: z.ZodLiteral<"system">;
2489
+ component: z.ZodString;
2490
+ }, z.core.$strip>], "type">;
2491
+ limit: z.ZodOptional<z.ZodNumber>;
2492
+ cursor: z.ZodOptional<z.ZodString>;
2493
+ }, z.core.$strip>, z.ZodObject<{
2494
+ type: z.ZodLiteral<"dashboard.runs.filters">;
2495
+ requestId: z.ZodString;
2496
+ actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2497
+ type: z.ZodLiteral<"user">;
2498
+ sub: z.ZodString;
2499
+ }, z.core.$strip>, z.ZodObject<{
2500
+ type: z.ZodLiteral<"api_key">;
2501
+ keyId: z.ZodString;
2502
+ ownerSub: z.ZodString;
2503
+ }, z.core.$strip>, z.ZodObject<{
2504
+ type: z.ZodLiteral<"service_account">;
2505
+ id: z.ZodString;
2506
+ }, z.core.$strip>, z.ZodObject<{
2507
+ type: z.ZodLiteral<"platform_operator">;
2508
+ sub: z.ZodString;
2509
+ reason: z.ZodString;
2510
+ sessionId: z.ZodOptional<z.ZodString>;
2511
+ }, z.core.$strip>, z.ZodObject<{
2512
+ type: z.ZodLiteral<"system">;
2513
+ component: z.ZodString;
2514
+ }, z.core.$strip>], "type">;
2515
+ }, z.core.$strip>, z.ZodObject<{
2516
+ type: z.ZodLiteral<"dashboard.sources.list">;
2517
+ requestId: z.ZodString;
2518
+ actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2519
+ type: z.ZodLiteral<"user">;
2520
+ sub: z.ZodString;
2521
+ }, z.core.$strip>, z.ZodObject<{
2522
+ type: z.ZodLiteral<"api_key">;
2523
+ keyId: z.ZodString;
2524
+ ownerSub: z.ZodString;
2525
+ }, z.core.$strip>, z.ZodObject<{
2526
+ type: z.ZodLiteral<"service_account">;
2527
+ id: z.ZodString;
2528
+ }, z.core.$strip>, z.ZodObject<{
2529
+ type: z.ZodLiteral<"platform_operator">;
2530
+ sub: z.ZodString;
2531
+ reason: z.ZodString;
2532
+ sessionId: z.ZodOptional<z.ZodString>;
2533
+ }, z.core.$strip>, z.ZodObject<{
2534
+ type: z.ZodLiteral<"system">;
2535
+ component: z.ZodString;
2536
+ }, z.core.$strip>], "type">;
2537
+ limit: z.ZodOptional<z.ZodNumber>;
2538
+ cursor: z.ZodOptional<z.ZodString>;
2126
2539
  }, z.core.$strip>, z.ZodObject<{
2127
2540
  type: z.ZodLiteral<"run.rerun.request">;
2128
2541
  requestId: z.ZodString;
@@ -2140,6 +2553,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2140
2553
  type: z.ZodLiteral<"platform_operator">;
2141
2554
  sub: z.ZodString;
2142
2555
  reason: z.ZodString;
2556
+ sessionId: z.ZodOptional<z.ZodString>;
2143
2557
  }, z.core.$strip>, z.ZodObject<{
2144
2558
  type: z.ZodLiteral<"system">;
2145
2559
  component: z.ZodString;
@@ -2163,6 +2577,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2163
2577
  type: z.ZodLiteral<"platform_operator">;
2164
2578
  sub: z.ZodString;
2165
2579
  reason: z.ZodString;
2580
+ sessionId: z.ZodOptional<z.ZodString>;
2166
2581
  }, z.core.$strip>, z.ZodObject<{
2167
2582
  type: z.ZodLiteral<"system">;
2168
2583
  component: z.ZodString;
@@ -2185,6 +2600,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2185
2600
  type: z.ZodLiteral<"platform_operator">;
2186
2601
  sub: z.ZodString;
2187
2602
  reason: z.ZodString;
2603
+ sessionId: z.ZodOptional<z.ZodString>;
2188
2604
  }, z.core.$strip>, z.ZodObject<{
2189
2605
  type: z.ZodLiteral<"system">;
2190
2606
  component: z.ZodString;
@@ -2208,6 +2624,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2208
2624
  type: z.ZodLiteral<"platform_operator">;
2209
2625
  sub: z.ZodString;
2210
2626
  reason: z.ZodString;
2627
+ sessionId: z.ZodOptional<z.ZodString>;
2211
2628
  }, z.core.$strip>, z.ZodObject<{
2212
2629
  type: z.ZodLiteral<"system">;
2213
2630
  component: z.ZodString;
@@ -2230,6 +2647,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2230
2647
  type: z.ZodLiteral<"platform_operator">;
2231
2648
  sub: z.ZodString;
2232
2649
  reason: z.ZodString;
2650
+ sessionId: z.ZodOptional<z.ZodString>;
2233
2651
  }, z.core.$strip>, z.ZodObject<{
2234
2652
  type: z.ZodLiteral<"system">;
2235
2653
  component: z.ZodString;
@@ -2253,6 +2671,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2253
2671
  type: z.ZodLiteral<"platform_operator">;
2254
2672
  sub: z.ZodString;
2255
2673
  reason: z.ZodString;
2674
+ sessionId: z.ZodOptional<z.ZodString>;
2256
2675
  }, z.core.$strip>, z.ZodObject<{
2257
2676
  type: z.ZodLiteral<"system">;
2258
2677
  component: z.ZodString;
@@ -2274,6 +2693,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2274
2693
  type: z.ZodLiteral<"platform_operator">;
2275
2694
  sub: z.ZodString;
2276
2695
  reason: z.ZodString;
2696
+ sessionId: z.ZodOptional<z.ZodString>;
2277
2697
  }, z.core.$strip>, z.ZodObject<{
2278
2698
  type: z.ZodLiteral<"system">;
2279
2699
  component: z.ZodString;
@@ -2296,6 +2716,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2296
2716
  type: z.ZodLiteral<"platform_operator">;
2297
2717
  sub: z.ZodString;
2298
2718
  reason: z.ZodString;
2719
+ sessionId: z.ZodOptional<z.ZodString>;
2299
2720
  }, z.core.$strip>, z.ZodObject<{
2300
2721
  type: z.ZodLiteral<"system">;
2301
2722
  component: z.ZodString;
@@ -2333,6 +2754,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2333
2754
  type: z.ZodLiteral<"platform_operator">;
2334
2755
  sub: z.ZodString;
2335
2756
  reason: z.ZodString;
2757
+ sessionId: z.ZodOptional<z.ZodString>;
2336
2758
  }, z.core.$strip>, z.ZodObject<{
2337
2759
  type: z.ZodLiteral<"system">;
2338
2760
  component: z.ZodString;
@@ -2356,6 +2778,30 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2356
2778
  holdExpirySeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2357
2779
  enabled: z.ZodOptional<z.ZodBoolean>;
2358
2780
  }, z.core.$strip>;
2781
+ }, z.core.$strip>, z.ZodObject<{
2782
+ type: z.ZodLiteral<"dashboard.environments.test_access.set">;
2783
+ requestId: z.ZodString;
2784
+ actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2785
+ type: z.ZodLiteral<"user">;
2786
+ sub: z.ZodString;
2787
+ }, z.core.$strip>, z.ZodObject<{
2788
+ type: z.ZodLiteral<"api_key">;
2789
+ keyId: z.ZodString;
2790
+ ownerSub: z.ZodString;
2791
+ }, z.core.$strip>, z.ZodObject<{
2792
+ type: z.ZodLiteral<"service_account">;
2793
+ id: z.ZodString;
2794
+ }, z.core.$strip>, z.ZodObject<{
2795
+ type: z.ZodLiteral<"platform_operator">;
2796
+ sub: z.ZodString;
2797
+ reason: z.ZodString;
2798
+ sessionId: z.ZodOptional<z.ZodString>;
2799
+ }, z.core.$strip>, z.ZodObject<{
2800
+ type: z.ZodLiteral<"system">;
2801
+ component: z.ZodString;
2802
+ }, z.core.$strip>], "type">;
2803
+ environmentId: z.ZodString;
2804
+ allowLocalExecution: z.ZodBoolean;
2359
2805
  }, z.core.$strip>, z.ZodObject<{
2360
2806
  type: z.ZodLiteral<"dashboard.environments.delete">;
2361
2807
  requestId: z.ZodString;
@@ -2373,6 +2819,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2373
2819
  type: z.ZodLiteral<"platform_operator">;
2374
2820
  sub: z.ZodString;
2375
2821
  reason: z.ZodString;
2822
+ sessionId: z.ZodOptional<z.ZodString>;
2376
2823
  }, z.core.$strip>, z.ZodObject<{
2377
2824
  type: z.ZodLiteral<"system">;
2378
2825
  component: z.ZodString;
@@ -2395,6 +2842,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2395
2842
  type: z.ZodLiteral<"platform_operator">;
2396
2843
  sub: z.ZodString;
2397
2844
  reason: z.ZodString;
2845
+ sessionId: z.ZodOptional<z.ZodString>;
2398
2846
  }, z.core.$strip>, z.ZodObject<{
2399
2847
  type: z.ZodLiteral<"system">;
2400
2848
  component: z.ZodString;
@@ -2417,6 +2865,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2417
2865
  type: z.ZodLiteral<"platform_operator">;
2418
2866
  sub: z.ZodString;
2419
2867
  reason: z.ZodString;
2868
+ sessionId: z.ZodOptional<z.ZodString>;
2420
2869
  }, z.core.$strip>, z.ZodObject<{
2421
2870
  type: z.ZodLiteral<"system">;
2422
2871
  component: z.ZodString;
@@ -2442,6 +2891,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2442
2891
  type: z.ZodLiteral<"platform_operator">;
2443
2892
  sub: z.ZodString;
2444
2893
  reason: z.ZodString;
2894
+ sessionId: z.ZodOptional<z.ZodString>;
2445
2895
  }, z.core.$strip>, z.ZodObject<{
2446
2896
  type: z.ZodLiteral<"system">;
2447
2897
  component: z.ZodString;
@@ -2465,6 +2915,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2465
2915
  type: z.ZodLiteral<"platform_operator">;
2466
2916
  sub: z.ZodString;
2467
2917
  reason: z.ZodString;
2918
+ sessionId: z.ZodOptional<z.ZodString>;
2468
2919
  }, z.core.$strip>, z.ZodObject<{
2469
2920
  type: z.ZodLiteral<"system">;
2470
2921
  component: z.ZodString;
@@ -2488,6 +2939,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2488
2939
  type: z.ZodLiteral<"platform_operator">;
2489
2940
  sub: z.ZodString;
2490
2941
  reason: z.ZodString;
2942
+ sessionId: z.ZodOptional<z.ZodString>;
2491
2943
  }, z.core.$strip>, z.ZodObject<{
2492
2944
  type: z.ZodLiteral<"system">;
2493
2945
  component: z.ZodString;
@@ -2513,6 +2965,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2513
2965
  type: z.ZodLiteral<"platform_operator">;
2514
2966
  sub: z.ZodString;
2515
2967
  reason: z.ZodString;
2968
+ sessionId: z.ZodOptional<z.ZodString>;
2516
2969
  }, z.core.$strip>, z.ZodObject<{
2517
2970
  type: z.ZodLiteral<"system">;
2518
2971
  component: z.ZodString;
@@ -2537,6 +2990,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2537
2990
  type: z.ZodLiteral<"platform_operator">;
2538
2991
  sub: z.ZodString;
2539
2992
  reason: z.ZodString;
2993
+ sessionId: z.ZodOptional<z.ZodString>;
2540
2994
  }, z.core.$strip>, z.ZodObject<{
2541
2995
  type: z.ZodLiteral<"system">;
2542
2996
  component: z.ZodString;
@@ -2559,6 +3013,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2559
3013
  type: z.ZodLiteral<"platform_operator">;
2560
3014
  sub: z.ZodString;
2561
3015
  reason: z.ZodString;
3016
+ sessionId: z.ZodOptional<z.ZodString>;
2562
3017
  }, z.core.$strip>, z.ZodObject<{
2563
3018
  type: z.ZodLiteral<"system">;
2564
3019
  component: z.ZodString;
@@ -2582,6 +3037,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2582
3037
  type: z.ZodLiteral<"platform_operator">;
2583
3038
  sub: z.ZodString;
2584
3039
  reason: z.ZodString;
3040
+ sessionId: z.ZodOptional<z.ZodString>;
2585
3041
  }, z.core.$strip>, z.ZodObject<{
2586
3042
  type: z.ZodLiteral<"system">;
2587
3043
  component: z.ZodString;
@@ -2603,6 +3059,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2603
3059
  type: z.ZodLiteral<"platform_operator">;
2604
3060
  sub: z.ZodString;
2605
3061
  reason: z.ZodString;
3062
+ sessionId: z.ZodOptional<z.ZodString>;
2606
3063
  }, z.core.$strip>, z.ZodObject<{
2607
3064
  type: z.ZodLiteral<"system">;
2608
3065
  component: z.ZodString;
@@ -2627,6 +3084,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2627
3084
  type: z.ZodLiteral<"platform_operator">;
2628
3085
  sub: z.ZodString;
2629
3086
  reason: z.ZodString;
3087
+ sessionId: z.ZodOptional<z.ZodString>;
2630
3088
  }, z.core.$strip>, z.ZodObject<{
2631
3089
  type: z.ZodLiteral<"system">;
2632
3090
  component: z.ZodString;
@@ -2650,6 +3108,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2650
3108
  type: z.ZodLiteral<"platform_operator">;
2651
3109
  sub: z.ZodString;
2652
3110
  reason: z.ZodString;
3111
+ sessionId: z.ZodOptional<z.ZodString>;
2653
3112
  }, z.core.$strip>, z.ZodObject<{
2654
3113
  type: z.ZodLiteral<"system">;
2655
3114
  component: z.ZodString;
@@ -2672,6 +3131,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2672
3131
  type: z.ZodLiteral<"platform_operator">;
2673
3132
  sub: z.ZodString;
2674
3133
  reason: z.ZodString;
3134
+ sessionId: z.ZodOptional<z.ZodString>;
2675
3135
  }, z.core.$strip>, z.ZodObject<{
2676
3136
  type: z.ZodLiteral<"system">;
2677
3137
  component: z.ZodString;
@@ -2695,6 +3155,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2695
3155
  type: z.ZodLiteral<"platform_operator">;
2696
3156
  sub: z.ZodString;
2697
3157
  reason: z.ZodString;
3158
+ sessionId: z.ZodOptional<z.ZodString>;
2698
3159
  }, z.core.$strip>, z.ZodObject<{
2699
3160
  type: z.ZodLiteral<"system">;
2700
3161
  component: z.ZodString;
@@ -2717,6 +3178,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2717
3178
  type: z.ZodLiteral<"platform_operator">;
2718
3179
  sub: z.ZodString;
2719
3180
  reason: z.ZodString;
3181
+ sessionId: z.ZodOptional<z.ZodString>;
2720
3182
  }, z.core.$strip>, z.ZodObject<{
2721
3183
  type: z.ZodLiteral<"system">;
2722
3184
  component: z.ZodString;
@@ -2741,6 +3203,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2741
3203
  type: z.ZodLiteral<"platform_operator">;
2742
3204
  sub: z.ZodString;
2743
3205
  reason: z.ZodString;
3206
+ sessionId: z.ZodOptional<z.ZodString>;
2744
3207
  }, z.core.$strip>, z.ZodObject<{
2745
3208
  type: z.ZodLiteral<"system">;
2746
3209
  component: z.ZodString;
@@ -2773,6 +3236,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2773
3236
  type: z.ZodLiteral<"platform_operator">;
2774
3237
  sub: z.ZodString;
2775
3238
  reason: z.ZodString;
3239
+ sessionId: z.ZodOptional<z.ZodString>;
2776
3240
  }, z.core.$strip>, z.ZodObject<{
2777
3241
  type: z.ZodLiteral<"system">;
2778
3242
  component: z.ZodString;
@@ -2795,6 +3259,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2795
3259
  type: z.ZodLiteral<"platform_operator">;
2796
3260
  sub: z.ZodString;
2797
3261
  reason: z.ZodString;
3262
+ sessionId: z.ZodOptional<z.ZodString>;
2798
3263
  }, z.core.$strip>, z.ZodObject<{
2799
3264
  type: z.ZodLiteral<"system">;
2800
3265
  component: z.ZodString;
@@ -2818,6 +3283,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2818
3283
  type: z.ZodLiteral<"platform_operator">;
2819
3284
  sub: z.ZodString;
2820
3285
  reason: z.ZodString;
3286
+ sessionId: z.ZodOptional<z.ZodString>;
2821
3287
  }, z.core.$strip>, z.ZodObject<{
2822
3288
  type: z.ZodLiteral<"system">;
2823
3289
  component: z.ZodString;
@@ -2841,6 +3307,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2841
3307
  type: z.ZodLiteral<"platform_operator">;
2842
3308
  sub: z.ZodString;
2843
3309
  reason: z.ZodString;
3310
+ sessionId: z.ZodOptional<z.ZodString>;
2844
3311
  }, z.core.$strip>, z.ZodObject<{
2845
3312
  type: z.ZodLiteral<"system">;
2846
3313
  component: z.ZodString;
@@ -2864,6 +3331,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2864
3331
  type: z.ZodLiteral<"platform_operator">;
2865
3332
  sub: z.ZodString;
2866
3333
  reason: z.ZodString;
3334
+ sessionId: z.ZodOptional<z.ZodString>;
2867
3335
  }, z.core.$strip>, z.ZodObject<{
2868
3336
  type: z.ZodLiteral<"system">;
2869
3337
  component: z.ZodString;
@@ -2887,6 +3355,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2887
3355
  type: z.ZodLiteral<"platform_operator">;
2888
3356
  sub: z.ZodString;
2889
3357
  reason: z.ZodString;
3358
+ sessionId: z.ZodOptional<z.ZodString>;
2890
3359
  }, z.core.$strip>, z.ZodObject<{
2891
3360
  type: z.ZodLiteral<"system">;
2892
3361
  component: z.ZodString;
@@ -2909,6 +3378,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2909
3378
  type: z.ZodLiteral<"platform_operator">;
2910
3379
  sub: z.ZodString;
2911
3380
  reason: z.ZodString;
3381
+ sessionId: z.ZodOptional<z.ZodString>;
2912
3382
  }, z.core.$strip>, z.ZodObject<{
2913
3383
  type: z.ZodLiteral<"system">;
2914
3384
  component: z.ZodString;
@@ -2930,6 +3400,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2930
3400
  type: z.ZodLiteral<"platform_operator">;
2931
3401
  sub: z.ZodString;
2932
3402
  reason: z.ZodString;
3403
+ sessionId: z.ZodOptional<z.ZodString>;
2933
3404
  }, z.core.$strip>, z.ZodObject<{
2934
3405
  type: z.ZodLiteral<"system">;
2935
3406
  component: z.ZodString;
@@ -2952,6 +3423,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2952
3423
  type: z.ZodLiteral<"platform_operator">;
2953
3424
  sub: z.ZodString;
2954
3425
  reason: z.ZodString;
3426
+ sessionId: z.ZodOptional<z.ZodString>;
2955
3427
  }, z.core.$strip>, z.ZodObject<{
2956
3428
  type: z.ZodLiteral<"system">;
2957
3429
  component: z.ZodString;
@@ -2973,6 +3445,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2973
3445
  type: z.ZodLiteral<"platform_operator">;
2974
3446
  sub: z.ZodString;
2975
3447
  reason: z.ZodString;
3448
+ sessionId: z.ZodOptional<z.ZodString>;
2976
3449
  }, z.core.$strip>, z.ZodObject<{
2977
3450
  type: z.ZodLiteral<"system">;
2978
3451
  component: z.ZodString;
@@ -2995,6 +3468,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
2995
3468
  type: z.ZodLiteral<"platform_operator">;
2996
3469
  sub: z.ZodString;
2997
3470
  reason: z.ZodString;
3471
+ sessionId: z.ZodOptional<z.ZodString>;
2998
3472
  }, z.core.$strip>, z.ZodObject<{
2999
3473
  type: z.ZodLiteral<"system">;
3000
3474
  component: z.ZodString;
@@ -3016,6 +3490,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3016
3490
  type: z.ZodLiteral<"platform_operator">;
3017
3491
  sub: z.ZodString;
3018
3492
  reason: z.ZodString;
3493
+ sessionId: z.ZodOptional<z.ZodString>;
3019
3494
  }, z.core.$strip>, z.ZodObject<{
3020
3495
  type: z.ZodLiteral<"system">;
3021
3496
  component: z.ZodString;
@@ -3038,6 +3513,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3038
3513
  type: z.ZodLiteral<"platform_operator">;
3039
3514
  sub: z.ZodString;
3040
3515
  reason: z.ZodString;
3516
+ sessionId: z.ZodOptional<z.ZodString>;
3041
3517
  }, z.core.$strip>, z.ZodObject<{
3042
3518
  type: z.ZodLiteral<"system">;
3043
3519
  component: z.ZodString;
@@ -3060,6 +3536,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3060
3536
  type: z.ZodLiteral<"platform_operator">;
3061
3537
  sub: z.ZodString;
3062
3538
  reason: z.ZodString;
3539
+ sessionId: z.ZodOptional<z.ZodString>;
3063
3540
  }, z.core.$strip>, z.ZodObject<{
3064
3541
  type: z.ZodLiteral<"system">;
3065
3542
  component: z.ZodString;
@@ -3073,6 +3550,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3073
3550
  processed: "processed";
3074
3551
  duplicate: "duplicate";
3075
3552
  lockfile_missing: "lockfile_missing";
3553
+ lockfile_corrupt: "lockfile_corrupt";
3076
3554
  }>>;
3077
3555
  fromTimestamp: z.ZodOptional<z.ZodString>;
3078
3556
  toTimestamp: z.ZodOptional<z.ZodString>;
@@ -3096,6 +3574,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3096
3574
  type: z.ZodLiteral<"platform_operator">;
3097
3575
  sub: z.ZodString;
3098
3576
  reason: z.ZodString;
3577
+ sessionId: z.ZodOptional<z.ZodString>;
3099
3578
  }, z.core.$strip>, z.ZodObject<{
3100
3579
  type: z.ZodLiteral<"system">;
3101
3580
  component: z.ZodString;
@@ -3120,6 +3599,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3120
3599
  type: z.ZodLiteral<"platform_operator">;
3121
3600
  sub: z.ZodString;
3122
3601
  reason: z.ZodString;
3602
+ sessionId: z.ZodOptional<z.ZodString>;
3123
3603
  }, z.core.$strip>, z.ZodObject<{
3124
3604
  type: z.ZodLiteral<"system">;
3125
3605
  component: z.ZodString;
@@ -3144,6 +3624,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3144
3624
  type: z.ZodLiteral<"platform_operator">;
3145
3625
  sub: z.ZodString;
3146
3626
  reason: z.ZodString;
3627
+ sessionId: z.ZodOptional<z.ZodString>;
3147
3628
  }, z.core.$strip>, z.ZodObject<{
3148
3629
  type: z.ZodLiteral<"system">;
3149
3630
  component: z.ZodString;
@@ -3168,6 +3649,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3168
3649
  type: z.ZodLiteral<"platform_operator">;
3169
3650
  sub: z.ZodString;
3170
3651
  reason: z.ZodString;
3652
+ sessionId: z.ZodOptional<z.ZodString>;
3171
3653
  }, z.core.$strip>, z.ZodObject<{
3172
3654
  type: z.ZodLiteral<"system">;
3173
3655
  component: z.ZodString;
@@ -3190,6 +3672,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3190
3672
  type: z.ZodLiteral<"platform_operator">;
3191
3673
  sub: z.ZodString;
3192
3674
  reason: z.ZodString;
3675
+ sessionId: z.ZodOptional<z.ZodString>;
3193
3676
  }, z.core.$strip>, z.ZodObject<{
3194
3677
  type: z.ZodLiteral<"system">;
3195
3678
  component: z.ZodString;
@@ -3213,6 +3696,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3213
3696
  type: z.ZodLiteral<"platform_operator">;
3214
3697
  sub: z.ZodString;
3215
3698
  reason: z.ZodString;
3699
+ sessionId: z.ZodOptional<z.ZodString>;
3216
3700
  }, z.core.$strip>, z.ZodObject<{
3217
3701
  type: z.ZodLiteral<"system">;
3218
3702
  component: z.ZodString;
@@ -3236,6 +3720,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3236
3720
  type: z.ZodLiteral<"platform_operator">;
3237
3721
  sub: z.ZodString;
3238
3722
  reason: z.ZodString;
3723
+ sessionId: z.ZodOptional<z.ZodString>;
3239
3724
  }, z.core.$strip>, z.ZodObject<{
3240
3725
  type: z.ZodLiteral<"system">;
3241
3726
  component: z.ZodString;
@@ -3257,6 +3742,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3257
3742
  type: z.ZodLiteral<"platform_operator">;
3258
3743
  sub: z.ZodString;
3259
3744
  reason: z.ZodString;
3745
+ sessionId: z.ZodOptional<z.ZodString>;
3260
3746
  }, z.core.$strip>, z.ZodObject<{
3261
3747
  type: z.ZodLiteral<"system">;
3262
3748
  component: z.ZodString;
@@ -3291,6 +3777,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3291
3777
  type: z.ZodLiteral<"platform_operator">;
3292
3778
  sub: z.ZodString;
3293
3779
  reason: z.ZodString;
3780
+ sessionId: z.ZodOptional<z.ZodString>;
3294
3781
  }, z.core.$strip>, z.ZodObject<{
3295
3782
  type: z.ZodLiteral<"system">;
3296
3783
  component: z.ZodString;
@@ -3311,6 +3798,9 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3311
3798
  "registration.delete": "registration.delete";
3312
3799
  "global_workflows.update": "global_workflows.update";
3313
3800
  "run.detail.read": "run.detail.read";
3801
+ "runs.list.read": "runs.list.read";
3802
+ "runs.filters.read": "runs.filters.read";
3803
+ "sources.list.read": "sources.list.read";
3314
3804
  "run.payload.read": "run.payload.read";
3315
3805
  "run.orch_logs.read": "run.orch_logs.read";
3316
3806
  "step.logs.read": "step.logs.read";
@@ -3345,6 +3835,8 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
3345
3835
  "held_run.list.read": "held_run.list.read";
3346
3836
  "held_run.approve": "held_run.approve";
3347
3837
  "held_run.reject": "held_run.reject";
3838
+ "held_run.request": "held_run.request";
3839
+ "held_run.expire": "held_run.expire";
3348
3840
  "registration.list.read": "registration.list.read";
3349
3841
  "diagnostics.read": "diagnostics.read";
3350
3842
  "scaler.capacity.read": "scaler.capacity.read";
@@ -3484,6 +3976,73 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
3484
3976
  lines: z.ZodArray<z.ZodString>;
3485
3977
  totalLines: z.ZodNumber;
3486
3978
  error: z.ZodOptional<z.ZodString>;
3979
+ }, z.core.$strip>, z.ZodObject<{
3980
+ type: z.ZodLiteral<"dashboard.runs.list.response">;
3981
+ requestId: z.ZodString;
3982
+ runs: z.ZodArray<z.ZodObject<{
3983
+ runId: z.ZodString;
3984
+ routingKey: z.ZodString;
3985
+ status: z.ZodString;
3986
+ repoIdentifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3987
+ createdAt: z.ZodString;
3988
+ updatedAt: z.ZodOptional<z.ZodString>;
3989
+ trigger: z.ZodOptional<z.ZodString>;
3990
+ workflowName: z.ZodOptional<z.ZodString>;
3991
+ sha: z.ZodOptional<z.ZodString>;
3992
+ ref: z.ZodOptional<z.ZodString>;
3993
+ triggerEvent: z.ZodOptional<z.ZodString>;
3994
+ commitMessage: z.ZodOptional<z.ZodString>;
3995
+ jobCount: z.ZodOptional<z.ZodNumber>;
3996
+ startedAt: z.ZodOptional<z.ZodString>;
3997
+ completedAt: z.ZodOptional<z.ZodString>;
3998
+ durationMs: z.ZodOptional<z.ZodNumber>;
3999
+ parentRunId: z.ZodOptional<z.ZodString>;
4000
+ originalRunId: z.ZodOptional<z.ZodString>;
4001
+ triggeredBy: z.ZodOptional<z.ZodString>;
4002
+ cancelledBy: z.ZodOptional<z.ZodString>;
4003
+ failureReason: z.ZodOptional<z.ZodString>;
4004
+ hadCompileJob: z.ZodOptional<z.ZodBoolean>;
4005
+ compileJobId: z.ZodOptional<z.ZodString>;
4006
+ source: z.ZodOptional<z.ZodObject<{
4007
+ routingKey: z.ZodString;
4008
+ name: z.ZodNullable<z.ZodString>;
4009
+ subtype: z.ZodString;
4010
+ provider: z.ZodString;
4011
+ }, z.core.$strip>>;
4012
+ }, z.core.$strip>>;
4013
+ nextCursor: z.ZodOptional<z.ZodString>;
4014
+ error: z.ZodOptional<z.ZodString>;
4015
+ }, z.core.$strip>, z.ZodObject<{
4016
+ type: z.ZodLiteral<"dashboard.runs.filters.response">;
4017
+ requestId: z.ZodString;
4018
+ statuses: z.ZodArray<z.ZodString>;
4019
+ workflows: z.ZodArray<z.ZodString>;
4020
+ branches: z.ZodArray<z.ZodString>;
4021
+ repositories: z.ZodArray<z.ZodString>;
4022
+ triggerTypes: z.ZodArray<z.ZodString>;
4023
+ sources: z.ZodArray<z.ZodObject<{
4024
+ routingKey: z.ZodString;
4025
+ name: z.ZodNullable<z.ZodString>;
4026
+ }, z.core.$strip>>;
4027
+ error: z.ZodOptional<z.ZodString>;
4028
+ }, z.core.$strip>, z.ZodObject<{
4029
+ type: z.ZodLiteral<"dashboard.sources.list.response">;
4030
+ requestId: z.ZodString;
4031
+ sources: z.ZodArray<z.ZodObject<{
4032
+ routingKey: z.ZodString;
4033
+ name: z.ZodNullable<z.ZodString>;
4034
+ provider: z.ZodString;
4035
+ subtype: z.ZodEnum<{
4036
+ github_app: "github_app";
4037
+ generic_webhook: "generic_webhook";
4038
+ universal_git: "universal_git";
4039
+ internal: "internal";
4040
+ }>;
4041
+ enabled: z.ZodBoolean;
4042
+ createdAt: z.ZodString;
4043
+ }, z.core.$strip>>;
4044
+ nextCursor: z.ZodOptional<z.ZodString>;
4045
+ error: z.ZodOptional<z.ZodString>;
3487
4046
  }, z.core.$strip>, z.ZodObject<{
3488
4047
  type: z.ZodLiteral<"run.rerun.response">;
3489
4048
  requestId: z.ZodString;
@@ -3523,6 +4082,7 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
3523
4082
  }>;
3524
4083
  globPattern: z.ZodNullable<z.ZodString>;
3525
4084
  enabled: z.ZodBoolean;
4085
+ allowLocalExecution: z.ZodBoolean;
3526
4086
  createdAt: z.ZodCoercedString<unknown>;
3527
4087
  updatedAt: z.ZodCoercedString<unknown>;
3528
4088
  }, z.core.$strip>>>;
@@ -3548,6 +4108,7 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
3548
4108
  waitTimerSeconds: z.ZodNullable<z.ZodNumber>;
3549
4109
  holdExpirySeconds: z.ZodNullable<z.ZodNumber>;
3550
4110
  enabled: z.ZodBoolean;
4111
+ allowLocalExecution: z.ZodBoolean;
3551
4112
  createdAt: z.ZodCoercedString<unknown>;
3552
4113
  updatedAt: z.ZodCoercedString<unknown>;
3553
4114
  }, z.core.$strip>>;
@@ -3561,10 +4122,17 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
3561
4122
  type: z.ZodLiteral<"dashboard.environments.update.response">;
3562
4123
  requestId: z.ZodString;
3563
4124
  error: z.ZodOptional<z.ZodString>;
4125
+ }, z.core.$strip>, z.ZodObject<{
4126
+ type: z.ZodLiteral<"dashboard.environments.test_access.set.response">;
4127
+ requestId: z.ZodString;
4128
+ error: z.ZodOptional<z.ZodString>;
3564
4129
  }, z.core.$strip>, z.ZodObject<{
3565
4130
  type: z.ZodLiteral<"dashboard.environments.delete.response">;
3566
4131
  requestId: z.ZodString;
3567
4132
  error: z.ZodOptional<z.ZodString>;
4133
+ errorCode: z.ZodOptional<z.ZodEnum<{
4134
+ pending_held_runs: "pending_held_runs";
4135
+ }>>;
3568
4136
  }, z.core.$strip>, z.ZodObject<{
3569
4137
  type: z.ZodLiteral<"dashboard.environments.variables.list.response">;
3570
4138
  requestId: z.ZodString;
@@ -3658,8 +4226,8 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
3658
4226
  heldRuns: z.ZodOptional<z.ZodArray<z.ZodObject<{
3659
4227
  id: z.ZodString;
3660
4228
  runId: z.ZodString;
3661
- environmentId: z.ZodString;
3662
- environmentName: z.ZodString;
4229
+ environmentId: z.ZodNullable<z.ZodString>;
4230
+ environmentName: z.ZodNullable<z.ZodString>;
3663
4231
  holdType: z.ZodString;
3664
4232
  queueType: z.ZodEnum<{
3665
4233
  environment: "environment";
@@ -3678,6 +4246,34 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
3678
4246
  expiresAt: z.ZodNullable<z.ZodCoercedString<unknown>>;
3679
4247
  contributorUsername: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3680
4248
  trustTier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4249
+ jobId: z.ZodOptional<z.ZodString>;
4250
+ holdScope: z.ZodOptional<z.ZodEnum<{
4251
+ job: "job";
4252
+ step: "step";
4253
+ workflow: "workflow";
4254
+ }>>;
4255
+ stepIndex: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4256
+ requirement: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4257
+ clauses: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
4258
+ team: z.ZodString;
4259
+ }, z.core.$strict>, z.ZodObject<{
4260
+ user: z.ZodString;
4261
+ }, z.core.$strict>]>>;
4262
+ reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4263
+ }, z.core.$strip>>>;
4264
+ decisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
4265
+ approverUserId: z.ZodString;
4266
+ decision: z.ZodEnum<{
4267
+ approve: "approve";
4268
+ reject: "reject";
4269
+ }>;
4270
+ clausesSatisfied: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
4271
+ team: z.ZodString;
4272
+ }, z.core.$strict>, z.ZodObject<{
4273
+ user: z.ZodString;
4274
+ }, z.core.$strict>]>>>>;
4275
+ createdAt: z.ZodCoercedString<unknown>;
4276
+ }, z.core.$strip>>>;
3681
4277
  }, z.core.$strip>>>;
3682
4278
  error: z.ZodOptional<z.ZodString>;
3683
4279
  }, z.core.$strip>, z.ZodObject<{
@@ -3765,6 +4361,7 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
3765
4361
  raftLeaderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3766
4362
  agentCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3767
4363
  statefulAgentCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4364
+ statefulHosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
3768
4365
  }, z.core.$strip>;
3769
4366
  agents: z.ZodArray<z.ZodObject<{
3770
4367
  agentId: z.ZodString;
@@ -3791,11 +4388,17 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
3791
4388
  }, z.core.$strip>>;
3792
4389
  scalers: z.ZodOptional<z.ZodArray<z.ZodObject<{
3793
4390
  name: z.ZodString;
3794
- type: z.ZodString;
4391
+ type: z.ZodEnum<{
4392
+ container: "container";
4393
+ "bare-metal": "bare-metal";
4394
+ firecracker: "firecracker";
4395
+ kubernetes: "kubernetes";
4396
+ }>;
3795
4397
  maxAgents: z.ZodNumber;
3796
4398
  activeAgents: z.ZodNumber;
3797
4399
  labelSets: z.ZodArray<z.ZodArray<z.ZodString>>;
3798
4400
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4401
+ hosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
3799
4402
  }, z.core.$strip>>>;
3800
4403
  peers: z.ZodOptional<z.ZodArray<z.ZodObject<{
3801
4404
  instanceId: z.ZodString;
@@ -3813,6 +4416,7 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
3813
4416
  arch: z.ZodString;
3814
4417
  activeJobs: z.ZodNumber;
3815
4418
  maxConcurrency: z.ZodNumber;
4419
+ scalerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3816
4420
  }, z.core.$strip>>;
3817
4421
  hostname: z.ZodOptional<z.ZodString>;
3818
4422
  osRelease: z.ZodOptional<z.ZodString>;
@@ -3831,6 +4435,7 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
3831
4435
  activeCount: z.ZodNumber;
3832
4436
  maxAgents: z.ZodNumber;
3833
4437
  labelSets: z.ZodArray<z.ZodArray<z.ZodString>>;
4438
+ spawnsOnLocalHost: z.ZodOptional<z.ZodBoolean>;
3834
4439
  }, z.core.$strip>>>;
3835
4440
  dependencyHealth: z.ZodOptional<z.ZodArray<z.ZodObject<{
3836
4441
  name: z.ZodString;
@@ -3978,6 +4583,7 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
3978
4583
  processed: "processed";
3979
4584
  duplicate: "duplicate";
3980
4585
  lockfile_missing: "lockfile_missing";
4586
+ lockfile_corrupt: "lockfile_corrupt";
3981
4587
  }>;
3982
4588
  matchedCount: z.ZodNumber;
3983
4589
  runId: z.ZodNullable<z.ZodString>;
@@ -4014,6 +4620,7 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
4014
4620
  processed: "processed";
4015
4621
  duplicate: "duplicate";
4016
4622
  lockfile_missing: "lockfile_missing";
4623
+ lockfile_corrupt: "lockfile_corrupt";
4017
4624
  }>;
4018
4625
  matchedCount: z.ZodNumber;
4019
4626
  runId: z.ZodNullable<z.ZodString>;
@@ -4147,6 +4754,9 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
4147
4754
  "registration.delete": "registration.delete";
4148
4755
  "global_workflows.update": "global_workflows.update";
4149
4756
  "run.detail.read": "run.detail.read";
4757
+ "runs.list.read": "runs.list.read";
4758
+ "runs.filters.read": "runs.filters.read";
4759
+ "sources.list.read": "sources.list.read";
4150
4760
  "run.payload.read": "run.payload.read";
4151
4761
  "run.orch_logs.read": "run.orch_logs.read";
4152
4762
  "step.logs.read": "step.logs.read";
@@ -4181,6 +4791,8 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
4181
4791
  "held_run.list.read": "held_run.list.read";
4182
4792
  "held_run.approve": "held_run.approve";
4183
4793
  "held_run.reject": "held_run.reject";
4794
+ "held_run.request": "held_run.request";
4795
+ "held_run.expire": "held_run.expire";
4184
4796
  "registration.list.read": "registration.list.read";
4185
4797
  "diagnostics.read": "diagnostics.read";
4186
4798
  "scaler.capacity.read": "scaler.capacity.read";
@@ -4265,6 +4877,7 @@ export type EnvGetRequest = z.infer<typeof envGetRequestSchema>;
4265
4877
  type EnvGetResponse = z.infer<typeof envGetResponseSchema>;
4266
4878
  export type EnvCreateRequest = z.infer<typeof envCreateRequestSchema>;
4267
4879
  export type EnvUpdateRequest = z.infer<typeof envUpdateRequestSchema>;
4880
+ export type EnvTestAccessSetRequest = z.infer<typeof envTestAccessSetRequestSchema>;
4268
4881
  export type EnvDeleteRequest = z.infer<typeof envDeleteRequestSchema>;
4269
4882
  export type EnvVarsListRequest = z.infer<typeof envVarsListRequestSchema>;
4270
4883
  type EnvVarsListResponse = z.infer<typeof envVarsListResponseSchema>;