@kici-dev/engine 0.1.23 → 0.1.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (146) hide show
  1. package/dist/approval/types.d.ts +1 -1
  2. package/dist/approval/types.js +1 -1
  3. package/dist/audit/access-log-policy.d.ts +4 -1
  4. package/dist/audit/access-log-policy.js +11 -2
  5. package/dist/audit/activity.d.ts +4 -2
  6. package/dist/audit/activity.js +15 -1
  7. package/dist/audit/retention-policy.js +5 -3
  8. package/dist/bundler/index.js +1 -1
  9. package/dist/bundler/rolldown-config.js +1 -1
  10. package/dist/check-mode.js +1 -1
  11. package/dist/dev-ops/operations.d.ts +56 -0
  12. package/dist/dev-ops/operations.js +135 -0
  13. package/dist/env/environment-allowlist.js +1 -1
  14. package/dist/environment/host-match.js +1 -1
  15. package/dist/environment/index.d.ts +2 -0
  16. package/dist/environment/index.js +4 -2
  17. package/dist/environment/multi-env.d.ts +30 -0
  18. package/dist/environment/multi-env.js +38 -0
  19. package/dist/environment/scope-resolver.js +1 -1
  20. package/dist/environment/scope-template.js +1 -1
  21. package/dist/environment/types.d.ts +8 -2
  22. package/dist/environment/types.js +19 -2
  23. package/dist/fanout/materialize.js +3 -3
  24. package/dist/index.d.ts +10 -1
  25. package/dist/index.js +25 -13
  26. package/dist/inputs/build.js +1 -1
  27. package/dist/inputs/coerce.js +1 -1
  28. package/dist/inputs/descriptor.js +1 -1
  29. package/dist/inputs/extract.js +1 -1
  30. package/dist/inputs/index.d.ts +1 -0
  31. package/dist/inputs/index.js +3 -2
  32. package/dist/inputs/schedule.d.ts +19 -0
  33. package/dist/inputs/schedule.js +33 -0
  34. package/dist/inventory.js +1 -1
  35. package/dist/labels/compile.js +1 -1
  36. package/dist/labels-match.js +1 -1
  37. package/dist/labels.js +2 -2
  38. package/dist/matrix/expand.js +1 -1
  39. package/dist/matrix/format.js +1 -1
  40. package/dist/mcp/fence.d.ts +22 -0
  41. package/dist/mcp/fence.js +65 -0
  42. package/dist/mcp/held-run-resolve.d.ts +52 -0
  43. package/dist/mcp/held-run-resolve.js +53 -0
  44. package/dist/mcp/tool-schemas.d.ts +74 -0
  45. package/dist/mcp/tool-schemas.js +78 -0
  46. package/dist/metrics/catalog-policy.js +1 -1
  47. package/dist/metrics/metric-catalog.generated.d.ts +105 -0
  48. package/dist/metrics/metric-catalog.generated.js +127 -1
  49. package/dist/protocol/analytics-events.js +1 -1
  50. package/dist/protocol/cluster-name.js +1 -1
  51. package/dist/protocol/dashboard-global-workflows.js +1 -1
  52. package/dist/protocol/dashboard-write-operations.d.ts +5 -1
  53. package/dist/protocol/dashboard-write-operations.js +13 -2
  54. package/dist/protocol/event-log-payload.js +1 -1
  55. package/dist/protocol/messages/access-log.d.ts +43 -20
  56. package/dist/protocol/messages/access-log.js +16 -2
  57. package/dist/protocol/messages/actor.d.ts +21 -0
  58. package/dist/protocol/messages/actor.js +42 -8
  59. package/dist/protocol/messages/agent-dev-ops.d.ts +118 -0
  60. package/dist/protocol/messages/agent-dev-ops.js +89 -0
  61. package/dist/protocol/messages/agent-run-result.d.ts +425 -0
  62. package/dist/protocol/messages/agent-run-result.js +165 -0
  63. package/dist/protocol/messages/auth.d.ts +3 -0
  64. package/dist/protocol/messages/auth.js +11 -2
  65. package/dist/protocol/messages/browser.js +1 -1
  66. package/dist/protocol/messages/capabilities.d.ts +3 -0
  67. package/dist/protocol/messages/capabilities.js +16 -3
  68. package/dist/protocol/messages/common.js +1 -1
  69. package/dist/protocol/messages/dashboard-global-workflows.d.ts +14 -0
  70. package/dist/protocol/messages/dashboard-global-workflows.js +1 -1
  71. package/dist/protocol/messages/dashboard.d.ts +1998 -48
  72. package/dist/protocol/messages/dashboard.js +269 -15
  73. package/dist/protocol/messages/deployment-identity.js +1 -1
  74. package/dist/protocol/messages/event-log.js +1 -1
  75. package/dist/protocol/messages/execution-status.d.ts +67 -4
  76. package/dist/protocol/messages/execution-status.js +133 -57
  77. package/dist/protocol/messages/join.js +1 -1
  78. package/dist/protocol/messages/log-pull.js +1 -1
  79. package/dist/protocol/messages/oidc-mint.d.ts +51 -0
  80. package/dist/protocol/messages/oidc-mint.js +55 -0
  81. package/dist/protocol/messages/oidc-token-relay.d.ts +31 -4
  82. package/dist/protocol/messages/oidc-token-relay.js +22 -7
  83. package/dist/protocol/messages/orchestrator-agent.d.ts +66 -5
  84. package/dist/protocol/messages/orchestrator-agent.js +35 -3
  85. package/dist/protocol/messages/pat-kind.d.ts +16 -0
  86. package/dist/protocol/messages/pat-kind.js +17 -0
  87. package/dist/protocol/messages/peer.d.ts +7 -7
  88. package/dist/protocol/messages/peer.js +1 -1
  89. package/dist/protocol/messages/platform-orchestrator.d.ts +685 -17
  90. package/dist/protocol/messages/platform-orchestrator.js +8 -5
  91. package/dist/protocol/messages/run-events.d.ts +8 -1
  92. package/dist/protocol/messages/run-events.js +1 -1
  93. package/dist/protocol/messages/scaler-event.js +1 -1
  94. package/dist/protocol/messages/source-registration.js +1 -1
  95. package/dist/protocol/source-origin.d.ts +20 -0
  96. package/dist/protocol/source-origin.js +21 -0
  97. package/dist/protocol/version.js +1 -1
  98. package/dist/provenance/attestation-origin.d.ts +18 -0
  99. package/dist/provenance/attestation-origin.js +22 -0
  100. package/dist/provenance/bundle.js +1 -1
  101. package/dist/provenance/dsse.js +1 -1
  102. package/dist/provenance/schema.d.ts +48 -0
  103. package/dist/provenance/schema.js +21 -7
  104. package/dist/provenance/statement-hash.d.ts +9 -0
  105. package/dist/provenance/statement-hash.js +17 -0
  106. package/dist/provenance/verify.d.ts +7 -0
  107. package/dist/provenance/verify.js +49 -10
  108. package/dist/provider/changed-files-fetcher.js +1 -1
  109. package/dist/provider/check-run-conclusion.d.ts +1 -1
  110. package/dist/provider/check-run-conclusion.js +1 -1
  111. package/dist/provider/check-status-poster.js +1 -1
  112. package/dist/provider/clone-token-provider.js +1 -1
  113. package/dist/provider/contributor-resolver.js +1 -1
  114. package/dist/provider/index.js +1 -1
  115. package/dist/provider/lock-file-fetcher.js +1 -1
  116. package/dist/provider/lock-file-parse-error.js +1 -1
  117. package/dist/provider/repo-url-builder.js +1 -1
  118. package/dist/provider/types.js +1 -1
  119. package/dist/provider/webhook-normalizer.js +1 -1
  120. package/dist/registration/registerable-trigger-type.d.ts +1 -1
  121. package/dist/registration/registerable-trigger-type.js +1 -1
  122. package/dist/{chunk-BTugEXQM.js → rolldown-runtime-ClRpJifh.js} +0 -1
  123. package/dist/scaler/resource-types.js +1 -1
  124. package/dist/scaler/scaler-backend-type.js +1 -1
  125. package/dist/secrets/index.d.ts +1 -1
  126. package/dist/secrets/index.js +1 -1
  127. package/dist/secrets/types.d.ts +0 -24
  128. package/dist/secrets/types.js +1 -1
  129. package/dist/state-machine/index.js +1 -1
  130. package/dist/state-machine/machine.js +1 -1
  131. package/dist/state-machine/types.js +1 -1
  132. package/dist/trigger/decision-trace.js +1 -1
  133. package/dist/trigger/jsonpath-matcher.js +1 -1
  134. package/dist/trigger/matcher.js +1 -1
  135. package/dist/trigger/trigger-event-type.js +1 -1
  136. package/dist/trigger/types.d.ts +35 -7
  137. package/dist/trigger/types.js +8 -3
  138. package/dist/webhook/signature.js +1 -1
  139. package/dist/webhook/webhook-url-format.d.ts +7 -0
  140. package/dist/webhook/webhook-url-format.js +11 -2
  141. package/dist/ws/close-codes.d.ts +8 -2
  142. package/dist/ws/close-codes.js +10 -4
  143. package/dist/ws/rate-limiter.js +1 -1
  144. package/dist/ws/ws-like.js +1 -1
  145. package/package.json +9 -1
  146. package/sbom.spdx.json +5 -5
@@ -5,17 +5,17 @@ export declare const trustPolicyUpdateSchema: z.ZodObject<{
5
5
  orgId: z.ZodString;
6
6
  policy: z.ZodObject<{
7
7
  forkPolicy: z.ZodEnum<{
8
- reject: "reject";
9
8
  hold: "hold";
9
+ reject: "reject";
10
10
  allow: "allow";
11
11
  }>;
12
12
  unknownContributorPolicy: z.ZodEnum<{
13
- reject: "reject";
14
13
  hold: "hold";
14
+ reject: "reject";
15
15
  }>;
16
16
  workflowChangePolicy: z.ZodEnum<{
17
- reject: "reject";
18
17
  hold: "hold";
18
+ reject: "reject";
19
19
  allow: "allow";
20
20
  }>;
21
21
  approvalExpiryHours: z.ZodNumber;
@@ -308,6 +308,7 @@ export declare const orchCapabilitiesUpdateSchema: z.ZodObject<{
308
308
  "held_runs.reject": "held_runs.reject";
309
309
  "event_dlq.retry": "event_dlq.retry";
310
310
  "event_dlq.discard": "event_dlq.discard";
311
+ "attestations.retry": "attestations.retry";
311
312
  "registration.disable": "registration.disable";
312
313
  "registration.delete": "registration.delete";
313
314
  "global_workflows.update": "global_workflows.update";
@@ -317,6 +318,7 @@ export declare const orchCapabilitiesUpdateSchema: z.ZodObject<{
317
318
  "fleet.host.declare": "fleet.host.declare";
318
319
  "fleet.host.remove": "fleet.host.remove";
319
320
  }> & z.core.$partial, z.ZodBoolean>>;
321
+ supportedDashboardRequests: z.ZodOptional<z.ZodArray<z.ZodString>>;
320
322
  }, z.core.$loose>;
321
323
  }, z.core.$strip>;
322
324
  export type OrchCapabilitiesUpdate = z.infer<typeof orchCapabilitiesUpdateSchema>;
@@ -356,17 +358,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
356
358
  orgId: z.ZodString;
357
359
  policy: z.ZodObject<{
358
360
  forkPolicy: z.ZodEnum<{
359
- reject: "reject";
360
361
  hold: "hold";
362
+ reject: "reject";
361
363
  allow: "allow";
362
364
  }>;
363
365
  unknownContributorPolicy: z.ZodEnum<{
364
- reject: "reject";
365
366
  hold: "hold";
367
+ reject: "reject";
366
368
  }>;
367
369
  workflowChangePolicy: z.ZodEnum<{
368
- reject: "reject";
369
370
  hold: "hold";
371
+ reject: "reject";
370
372
  allow: "allow";
371
373
  }>;
372
374
  approvalExpiryHours: z.ZodNumber;
@@ -413,6 +415,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
413
415
  connectionId: z.ZodString;
414
416
  orgPublicAlias: z.ZodOptional<z.ZodString>;
415
417
  orgId: z.ZodOptional<z.ZodString>;
418
+ provenanceIssuer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
416
419
  }, z.core.$strip>, z.ZodObject<{
417
420
  type: z.ZodLiteral<"auth.failure">;
418
421
  reason: z.ZodString;
@@ -447,16 +450,69 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
447
450
  workflowName: z.ZodString;
448
451
  jobNames: z.ZodArray<z.ZodString>;
449
452
  }, z.core.$strip>>;
453
+ }, z.core.$strip>, z.ZodObject<{
454
+ type: z.ZodLiteral<"oidc.mint.response">;
455
+ requestId: z.ZodString;
456
+ result: z.ZodOptional<z.ZodObject<{
457
+ token: z.ZodString;
458
+ expiresIn: z.ZodNumber;
459
+ jti: z.ZodString;
460
+ }, z.core.$strip>>;
461
+ error: z.ZodOptional<z.ZodObject<{
462
+ code: z.ZodEnum<{
463
+ failed: "failed";
464
+ rejected: "rejected";
465
+ unavailable: "unavailable";
466
+ }>;
467
+ message: z.ZodString;
468
+ }, z.core.$strip>>;
450
469
  }, z.core.$strip>, z.ZodObject<{
451
470
  type: z.ZodLiteral<"dashboard.run.detail">;
452
471
  requestId: z.ZodString;
453
472
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
454
473
  type: z.ZodLiteral<"user">;
455
474
  sub: z.ZodString;
475
+ agent: z.ZodOptional<z.ZodObject<{
476
+ patId: z.ZodString;
477
+ label: z.ZodString;
478
+ }, z.core.$strip>>;
479
+ }, z.core.$strip>, z.ZodObject<{
480
+ type: z.ZodLiteral<"api_key">;
481
+ keyId: z.ZodString;
482
+ ownerSub: z.ZodString;
483
+ agent: z.ZodOptional<z.ZodObject<{
484
+ label: z.ZodString;
485
+ }, z.core.$strip>>;
486
+ }, z.core.$strip>, z.ZodObject<{
487
+ type: z.ZodLiteral<"service_account">;
488
+ id: z.ZodString;
489
+ }, z.core.$strip>, z.ZodObject<{
490
+ type: z.ZodLiteral<"platform_operator">;
491
+ sub: z.ZodString;
492
+ reason: z.ZodString;
493
+ sessionId: z.ZodOptional<z.ZodString>;
494
+ }, z.core.$strip>, z.ZodObject<{
495
+ type: z.ZodLiteral<"system">;
496
+ component: z.ZodString;
497
+ }, z.core.$strip>], "type">;
498
+ runId: z.ZodString;
499
+ }, z.core.$strip>, z.ZodObject<{
500
+ type: z.ZodLiteral<"dashboard.run.structured">;
501
+ requestId: z.ZodString;
502
+ actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
503
+ type: z.ZodLiteral<"user">;
504
+ sub: z.ZodString;
505
+ agent: z.ZodOptional<z.ZodObject<{
506
+ patId: z.ZodString;
507
+ label: z.ZodString;
508
+ }, z.core.$strip>>;
456
509
  }, z.core.$strip>, z.ZodObject<{
457
510
  type: z.ZodLiteral<"api_key">;
458
511
  keyId: z.ZodString;
459
512
  ownerSub: z.ZodString;
513
+ agent: z.ZodOptional<z.ZodObject<{
514
+ label: z.ZodString;
515
+ }, z.core.$strip>>;
460
516
  }, z.core.$strip>, z.ZodObject<{
461
517
  type: z.ZodLiteral<"service_account">;
462
518
  id: z.ZodString;
@@ -476,10 +532,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
476
532
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
477
533
  type: z.ZodLiteral<"user">;
478
534
  sub: z.ZodString;
535
+ agent: z.ZodOptional<z.ZodObject<{
536
+ patId: z.ZodString;
537
+ label: z.ZodString;
538
+ }, z.core.$strip>>;
479
539
  }, z.core.$strip>, z.ZodObject<{
480
540
  type: z.ZodLiteral<"api_key">;
481
541
  keyId: z.ZodString;
482
542
  ownerSub: z.ZodString;
543
+ agent: z.ZodOptional<z.ZodObject<{
544
+ label: z.ZodString;
545
+ }, z.core.$strip>>;
483
546
  }, z.core.$strip>, z.ZodObject<{
484
547
  type: z.ZodLiteral<"service_account">;
485
548
  id: z.ZodString;
@@ -495,16 +558,25 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
495
558
  runId: z.ZodString;
496
559
  jobId: z.ZodString;
497
560
  stepIndex: z.ZodNumber;
561
+ cursor: z.ZodOptional<z.ZodString>;
562
+ limit: z.ZodOptional<z.ZodNumber>;
498
563
  }, z.core.$strip>, z.ZodObject<{
499
564
  type: z.ZodLiteral<"dashboard.attestations.list">;
500
565
  requestId: z.ZodString;
501
566
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
502
567
  type: z.ZodLiteral<"user">;
503
568
  sub: z.ZodString;
569
+ agent: z.ZodOptional<z.ZodObject<{
570
+ patId: z.ZodString;
571
+ label: z.ZodString;
572
+ }, z.core.$strip>>;
504
573
  }, z.core.$strip>, z.ZodObject<{
505
574
  type: z.ZodLiteral<"api_key">;
506
575
  keyId: z.ZodString;
507
576
  ownerSub: z.ZodString;
577
+ agent: z.ZodOptional<z.ZodObject<{
578
+ label: z.ZodString;
579
+ }, z.core.$strip>>;
508
580
  }, z.core.$strip>, z.ZodObject<{
509
581
  type: z.ZodLiteral<"service_account">;
510
582
  id: z.ZodString;
@@ -518,16 +590,129 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
518
590
  component: z.ZodString;
519
591
  }, z.core.$strip>], "type">;
520
592
  runId: z.ZodString;
593
+ }, z.core.$strip>, z.ZodObject<{
594
+ type: z.ZodLiteral<"dashboard.attestations.list.all">;
595
+ requestId: z.ZodString;
596
+ actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
597
+ type: z.ZodLiteral<"user">;
598
+ sub: z.ZodString;
599
+ agent: z.ZodOptional<z.ZodObject<{
600
+ patId: z.ZodString;
601
+ label: z.ZodString;
602
+ }, z.core.$strip>>;
603
+ }, z.core.$strip>, z.ZodObject<{
604
+ type: z.ZodLiteral<"api_key">;
605
+ keyId: z.ZodString;
606
+ ownerSub: z.ZodString;
607
+ agent: z.ZodOptional<z.ZodObject<{
608
+ label: z.ZodString;
609
+ }, z.core.$strip>>;
610
+ }, z.core.$strip>, z.ZodObject<{
611
+ type: z.ZodLiteral<"service_account">;
612
+ id: z.ZodString;
613
+ }, z.core.$strip>, z.ZodObject<{
614
+ type: z.ZodLiteral<"platform_operator">;
615
+ sub: z.ZodString;
616
+ reason: z.ZodString;
617
+ sessionId: z.ZodOptional<z.ZodString>;
618
+ }, z.core.$strip>, z.ZodObject<{
619
+ type: z.ZodLiteral<"system">;
620
+ component: z.ZodString;
621
+ }, z.core.$strip>], "type">;
622
+ page: z.ZodNumber;
623
+ sort: z.ZodOptional<z.ZodString>;
624
+ filters: z.ZodDefault<z.ZodObject<{
625
+ digest: z.ZodOptional<z.ZodString>;
626
+ name: z.ZodOptional<z.ZodString>;
627
+ status: z.ZodOptional<z.ZodEnum<{
628
+ pending: "pending";
629
+ failed: "failed";
630
+ verified: "verified";
631
+ unverifiable: "unverifiable";
632
+ }>>;
633
+ repository: z.ZodOptional<z.ZodString>;
634
+ workflow: z.ZodOptional<z.ZodString>;
635
+ job: z.ZodOptional<z.ZodString>;
636
+ createdAfter: z.ZodOptional<z.ZodString>;
637
+ createdBefore: z.ZodOptional<z.ZodString>;
638
+ }, z.core.$strip>>;
639
+ }, z.core.$strip>, z.ZodObject<{
640
+ type: z.ZodLiteral<"dashboard.attestation.get">;
641
+ requestId: z.ZodString;
642
+ actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
643
+ type: z.ZodLiteral<"user">;
644
+ sub: z.ZodString;
645
+ agent: z.ZodOptional<z.ZodObject<{
646
+ patId: z.ZodString;
647
+ label: z.ZodString;
648
+ }, z.core.$strip>>;
649
+ }, z.core.$strip>, z.ZodObject<{
650
+ type: z.ZodLiteral<"api_key">;
651
+ keyId: z.ZodString;
652
+ ownerSub: z.ZodString;
653
+ agent: z.ZodOptional<z.ZodObject<{
654
+ label: z.ZodString;
655
+ }, z.core.$strip>>;
656
+ }, z.core.$strip>, z.ZodObject<{
657
+ type: z.ZodLiteral<"service_account">;
658
+ id: z.ZodString;
659
+ }, z.core.$strip>, z.ZodObject<{
660
+ type: z.ZodLiteral<"platform_operator">;
661
+ sub: z.ZodString;
662
+ reason: z.ZodString;
663
+ sessionId: z.ZodOptional<z.ZodString>;
664
+ }, z.core.$strip>, z.ZodObject<{
665
+ type: z.ZodLiteral<"system">;
666
+ component: z.ZodString;
667
+ }, z.core.$strip>], "type">;
668
+ attestationId: z.ZodString;
669
+ }, z.core.$strip>, z.ZodObject<{
670
+ type: z.ZodLiteral<"dashboard.attestation.retry">;
671
+ requestId: z.ZodString;
672
+ actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
673
+ type: z.ZodLiteral<"user">;
674
+ sub: z.ZodString;
675
+ agent: z.ZodOptional<z.ZodObject<{
676
+ patId: z.ZodString;
677
+ label: z.ZodString;
678
+ }, z.core.$strip>>;
679
+ }, z.core.$strip>, z.ZodObject<{
680
+ type: z.ZodLiteral<"api_key">;
681
+ keyId: z.ZodString;
682
+ ownerSub: z.ZodString;
683
+ agent: z.ZodOptional<z.ZodObject<{
684
+ label: z.ZodString;
685
+ }, z.core.$strip>>;
686
+ }, z.core.$strip>, z.ZodObject<{
687
+ type: z.ZodLiteral<"service_account">;
688
+ id: z.ZodString;
689
+ }, z.core.$strip>, z.ZodObject<{
690
+ type: z.ZodLiteral<"platform_operator">;
691
+ sub: z.ZodString;
692
+ reason: z.ZodString;
693
+ sessionId: z.ZodOptional<z.ZodString>;
694
+ }, z.core.$strip>, z.ZodObject<{
695
+ type: z.ZodLiteral<"system">;
696
+ component: z.ZodString;
697
+ }, z.core.$strip>], "type">;
698
+ runId: z.ZodOptional<z.ZodString>;
521
699
  }, z.core.$strip>, z.ZodObject<{
522
700
  type: z.ZodLiteral<"dashboard.runs.list">;
523
701
  requestId: z.ZodString;
524
702
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
525
703
  type: z.ZodLiteral<"user">;
526
704
  sub: z.ZodString;
705
+ agent: z.ZodOptional<z.ZodObject<{
706
+ patId: z.ZodString;
707
+ label: z.ZodString;
708
+ }, z.core.$strip>>;
527
709
  }, z.core.$strip>, z.ZodObject<{
528
710
  type: z.ZodLiteral<"api_key">;
529
711
  keyId: z.ZodString;
530
712
  ownerSub: z.ZodString;
713
+ agent: z.ZodOptional<z.ZodObject<{
714
+ label: z.ZodString;
715
+ }, z.core.$strip>>;
531
716
  }, z.core.$strip>, z.ZodObject<{
532
717
  type: z.ZodLiteral<"service_account">;
533
718
  id: z.ZodString;
@@ -548,10 +733,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
548
733
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
549
734
  type: z.ZodLiteral<"user">;
550
735
  sub: z.ZodString;
736
+ agent: z.ZodOptional<z.ZodObject<{
737
+ patId: z.ZodString;
738
+ label: z.ZodString;
739
+ }, z.core.$strip>>;
551
740
  }, z.core.$strip>, z.ZodObject<{
552
741
  type: z.ZodLiteral<"api_key">;
553
742
  keyId: z.ZodString;
554
743
  ownerSub: z.ZodString;
744
+ agent: z.ZodOptional<z.ZodObject<{
745
+ label: z.ZodString;
746
+ }, z.core.$strip>>;
555
747
  }, z.core.$strip>, z.ZodObject<{
556
748
  type: z.ZodLiteral<"service_account">;
557
749
  id: z.ZodString;
@@ -570,10 +762,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
570
762
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
571
763
  type: z.ZodLiteral<"user">;
572
764
  sub: z.ZodString;
765
+ agent: z.ZodOptional<z.ZodObject<{
766
+ patId: z.ZodString;
767
+ label: z.ZodString;
768
+ }, z.core.$strip>>;
573
769
  }, z.core.$strip>, z.ZodObject<{
574
770
  type: z.ZodLiteral<"api_key">;
575
771
  keyId: z.ZodString;
576
772
  ownerSub: z.ZodString;
773
+ agent: z.ZodOptional<z.ZodObject<{
774
+ label: z.ZodString;
775
+ }, z.core.$strip>>;
577
776
  }, z.core.$strip>, z.ZodObject<{
578
777
  type: z.ZodLiteral<"service_account">;
579
778
  id: z.ZodString;
@@ -594,10 +793,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
594
793
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
595
794
  type: z.ZodLiteral<"user">;
596
795
  sub: z.ZodString;
796
+ agent: z.ZodOptional<z.ZodObject<{
797
+ patId: z.ZodString;
798
+ label: z.ZodString;
799
+ }, z.core.$strip>>;
597
800
  }, z.core.$strip>, z.ZodObject<{
598
801
  type: z.ZodLiteral<"api_key">;
599
802
  keyId: z.ZodString;
600
803
  ownerSub: z.ZodString;
804
+ agent: z.ZodOptional<z.ZodObject<{
805
+ label: z.ZodString;
806
+ }, z.core.$strip>>;
601
807
  }, z.core.$strip>, z.ZodObject<{
602
808
  type: z.ZodLiteral<"service_account">;
603
809
  id: z.ZodString;
@@ -618,10 +824,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
618
824
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
619
825
  type: z.ZodLiteral<"user">;
620
826
  sub: z.ZodString;
827
+ agent: z.ZodOptional<z.ZodObject<{
828
+ patId: z.ZodString;
829
+ label: z.ZodString;
830
+ }, z.core.$strip>>;
621
831
  }, z.core.$strip>, z.ZodObject<{
622
832
  type: z.ZodLiteral<"api_key">;
623
833
  keyId: z.ZodString;
624
834
  ownerSub: z.ZodString;
835
+ agent: z.ZodOptional<z.ZodObject<{
836
+ label: z.ZodString;
837
+ }, z.core.$strip>>;
625
838
  }, z.core.$strip>, z.ZodObject<{
626
839
  type: z.ZodLiteral<"service_account">;
627
840
  id: z.ZodString;
@@ -635,16 +848,24 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
635
848
  component: z.ZodString;
636
849
  }, z.core.$strip>], "type">;
637
850
  registrationId: z.ZodString;
851
+ triggeredByAgentLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
638
852
  }, z.core.$strip>, z.ZodObject<{
639
853
  type: z.ZodLiteral<"run.cancel.request">;
640
854
  requestId: z.ZodString;
641
855
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
642
856
  type: z.ZodLiteral<"user">;
643
857
  sub: z.ZodString;
858
+ agent: z.ZodOptional<z.ZodObject<{
859
+ patId: z.ZodString;
860
+ label: z.ZodString;
861
+ }, z.core.$strip>>;
644
862
  }, z.core.$strip>, z.ZodObject<{
645
863
  type: z.ZodLiteral<"api_key">;
646
864
  keyId: z.ZodString;
647
865
  ownerSub: z.ZodString;
866
+ agent: z.ZodOptional<z.ZodObject<{
867
+ label: z.ZodString;
868
+ }, z.core.$strip>>;
648
869
  }, z.core.$strip>, z.ZodObject<{
649
870
  type: z.ZodLiteral<"service_account">;
650
871
  id: z.ZodString;
@@ -665,10 +886,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
665
886
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
666
887
  type: z.ZodLiteral<"user">;
667
888
  sub: z.ZodString;
889
+ agent: z.ZodOptional<z.ZodObject<{
890
+ patId: z.ZodString;
891
+ label: z.ZodString;
892
+ }, z.core.$strip>>;
668
893
  }, z.core.$strip>, z.ZodObject<{
669
894
  type: z.ZodLiteral<"api_key">;
670
895
  keyId: z.ZodString;
671
896
  ownerSub: z.ZodString;
897
+ agent: z.ZodOptional<z.ZodObject<{
898
+ label: z.ZodString;
899
+ }, z.core.$strip>>;
672
900
  }, z.core.$strip>, z.ZodObject<{
673
901
  type: z.ZodLiteral<"service_account">;
674
902
  id: z.ZodString;
@@ -688,10 +916,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
688
916
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
689
917
  type: z.ZodLiteral<"user">;
690
918
  sub: z.ZodString;
919
+ agent: z.ZodOptional<z.ZodObject<{
920
+ patId: z.ZodString;
921
+ label: z.ZodString;
922
+ }, z.core.$strip>>;
691
923
  }, z.core.$strip>, z.ZodObject<{
692
924
  type: z.ZodLiteral<"api_key">;
693
925
  keyId: z.ZodString;
694
926
  ownerSub: z.ZodString;
927
+ agent: z.ZodOptional<z.ZodObject<{
928
+ label: z.ZodString;
929
+ }, z.core.$strip>>;
695
930
  }, z.core.$strip>, z.ZodObject<{
696
931
  type: z.ZodLiteral<"service_account">;
697
932
  id: z.ZodString;
@@ -712,10 +947,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
712
947
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
713
948
  type: z.ZodLiteral<"user">;
714
949
  sub: z.ZodString;
950
+ agent: z.ZodOptional<z.ZodObject<{
951
+ patId: z.ZodString;
952
+ label: z.ZodString;
953
+ }, z.core.$strip>>;
715
954
  }, z.core.$strip>, z.ZodObject<{
716
955
  type: z.ZodLiteral<"api_key">;
717
956
  keyId: z.ZodString;
718
957
  ownerSub: z.ZodString;
958
+ agent: z.ZodOptional<z.ZodObject<{
959
+ label: z.ZodString;
960
+ }, z.core.$strip>>;
719
961
  }, z.core.$strip>, z.ZodObject<{
720
962
  type: z.ZodLiteral<"service_account">;
721
963
  id: z.ZodString;
@@ -736,10 +978,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
736
978
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
737
979
  type: z.ZodLiteral<"user">;
738
980
  sub: z.ZodString;
981
+ agent: z.ZodOptional<z.ZodObject<{
982
+ patId: z.ZodString;
983
+ label: z.ZodString;
984
+ }, z.core.$strip>>;
739
985
  }, z.core.$strip>, z.ZodObject<{
740
986
  type: z.ZodLiteral<"api_key">;
741
987
  keyId: z.ZodString;
742
988
  ownerSub: z.ZodString;
989
+ agent: z.ZodOptional<z.ZodObject<{
990
+ label: z.ZodString;
991
+ }, z.core.$strip>>;
743
992
  }, z.core.$strip>, z.ZodObject<{
744
993
  type: z.ZodLiteral<"service_account">;
745
994
  id: z.ZodString;
@@ -759,10 +1008,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
759
1008
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
760
1009
  type: z.ZodLiteral<"user">;
761
1010
  sub: z.ZodString;
1011
+ agent: z.ZodOptional<z.ZodObject<{
1012
+ patId: z.ZodString;
1013
+ label: z.ZodString;
1014
+ }, z.core.$strip>>;
762
1015
  }, z.core.$strip>, z.ZodObject<{
763
1016
  type: z.ZodLiteral<"api_key">;
764
1017
  keyId: z.ZodString;
765
1018
  ownerSub: z.ZodString;
1019
+ agent: z.ZodOptional<z.ZodObject<{
1020
+ label: z.ZodString;
1021
+ }, z.core.$strip>>;
766
1022
  }, z.core.$strip>, z.ZodObject<{
767
1023
  type: z.ZodLiteral<"service_account">;
768
1024
  id: z.ZodString;
@@ -777,8 +1033,8 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
777
1033
  }, z.core.$strip>], "type">;
778
1034
  name: z.ZodString;
779
1035
  envType: z.ZodEnum<{
780
- glob: "glob";
781
1036
  fixed: "fixed";
1037
+ glob: "glob";
782
1038
  }>;
783
1039
  globPattern: z.ZodOptional<z.ZodString>;
784
1040
  branchRestrictions: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -797,10 +1053,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
797
1053
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
798
1054
  type: z.ZodLiteral<"user">;
799
1055
  sub: z.ZodString;
1056
+ agent: z.ZodOptional<z.ZodObject<{
1057
+ patId: z.ZodString;
1058
+ label: z.ZodString;
1059
+ }, z.core.$strip>>;
800
1060
  }, z.core.$strip>, z.ZodObject<{
801
1061
  type: z.ZodLiteral<"api_key">;
802
1062
  keyId: z.ZodString;
803
1063
  ownerSub: z.ZodString;
1064
+ agent: z.ZodOptional<z.ZodObject<{
1065
+ label: z.ZodString;
1066
+ }, z.core.$strip>>;
804
1067
  }, z.core.$strip>, z.ZodObject<{
805
1068
  type: z.ZodLiteral<"service_account">;
806
1069
  id: z.ZodString;
@@ -817,8 +1080,8 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
817
1080
  updates: z.ZodObject<{
818
1081
  name: z.ZodOptional<z.ZodString>;
819
1082
  envType: z.ZodOptional<z.ZodEnum<{
820
- glob: "glob";
821
1083
  fixed: "fixed";
1084
+ glob: "glob";
822
1085
  }>>;
823
1086
  globPattern: z.ZodOptional<z.ZodNullable<z.ZodString>>;
824
1087
  branchRestrictions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
@@ -838,10 +1101,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
838
1101
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
839
1102
  type: z.ZodLiteral<"user">;
840
1103
  sub: z.ZodString;
1104
+ agent: z.ZodOptional<z.ZodObject<{
1105
+ patId: z.ZodString;
1106
+ label: z.ZodString;
1107
+ }, z.core.$strip>>;
841
1108
  }, z.core.$strip>, z.ZodObject<{
842
1109
  type: z.ZodLiteral<"api_key">;
843
1110
  keyId: z.ZodString;
844
1111
  ownerSub: z.ZodString;
1112
+ agent: z.ZodOptional<z.ZodObject<{
1113
+ label: z.ZodString;
1114
+ }, z.core.$strip>>;
845
1115
  }, z.core.$strip>, z.ZodObject<{
846
1116
  type: z.ZodLiteral<"service_account">;
847
1117
  id: z.ZodString;
@@ -862,10 +1132,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
862
1132
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
863
1133
  type: z.ZodLiteral<"user">;
864
1134
  sub: z.ZodString;
1135
+ agent: z.ZodOptional<z.ZodObject<{
1136
+ patId: z.ZodString;
1137
+ label: z.ZodString;
1138
+ }, z.core.$strip>>;
865
1139
  }, z.core.$strip>, z.ZodObject<{
866
1140
  type: z.ZodLiteral<"api_key">;
867
1141
  keyId: z.ZodString;
868
1142
  ownerSub: z.ZodString;
1143
+ agent: z.ZodOptional<z.ZodObject<{
1144
+ label: z.ZodString;
1145
+ }, z.core.$strip>>;
869
1146
  }, z.core.$strip>, z.ZodObject<{
870
1147
  type: z.ZodLiteral<"service_account">;
871
1148
  id: z.ZodString;
@@ -885,10 +1162,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
885
1162
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
886
1163
  type: z.ZodLiteral<"user">;
887
1164
  sub: z.ZodString;
1165
+ agent: z.ZodOptional<z.ZodObject<{
1166
+ patId: z.ZodString;
1167
+ label: z.ZodString;
1168
+ }, z.core.$strip>>;
888
1169
  }, z.core.$strip>, z.ZodObject<{
889
1170
  type: z.ZodLiteral<"api_key">;
890
1171
  keyId: z.ZodString;
891
1172
  ownerSub: z.ZodString;
1173
+ agent: z.ZodOptional<z.ZodObject<{
1174
+ label: z.ZodString;
1175
+ }, z.core.$strip>>;
892
1176
  }, z.core.$strip>, z.ZodObject<{
893
1177
  type: z.ZodLiteral<"service_account">;
894
1178
  id: z.ZodString;
@@ -908,10 +1192,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
908
1192
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
909
1193
  type: z.ZodLiteral<"user">;
910
1194
  sub: z.ZodString;
1195
+ agent: z.ZodOptional<z.ZodObject<{
1196
+ patId: z.ZodString;
1197
+ label: z.ZodString;
1198
+ }, z.core.$strip>>;
911
1199
  }, z.core.$strip>, z.ZodObject<{
912
1200
  type: z.ZodLiteral<"api_key">;
913
1201
  keyId: z.ZodString;
914
1202
  ownerSub: z.ZodString;
1203
+ agent: z.ZodOptional<z.ZodObject<{
1204
+ label: z.ZodString;
1205
+ }, z.core.$strip>>;
915
1206
  }, z.core.$strip>, z.ZodObject<{
916
1207
  type: z.ZodLiteral<"service_account">;
917
1208
  id: z.ZodString;
@@ -934,10 +1225,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
934
1225
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
935
1226
  type: z.ZodLiteral<"user">;
936
1227
  sub: z.ZodString;
1228
+ agent: z.ZodOptional<z.ZodObject<{
1229
+ patId: z.ZodString;
1230
+ label: z.ZodString;
1231
+ }, z.core.$strip>>;
937
1232
  }, z.core.$strip>, z.ZodObject<{
938
1233
  type: z.ZodLiteral<"api_key">;
939
1234
  keyId: z.ZodString;
940
1235
  ownerSub: z.ZodString;
1236
+ agent: z.ZodOptional<z.ZodObject<{
1237
+ label: z.ZodString;
1238
+ }, z.core.$strip>>;
941
1239
  }, z.core.$strip>, z.ZodObject<{
942
1240
  type: z.ZodLiteral<"service_account">;
943
1241
  id: z.ZodString;
@@ -958,10 +1256,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
958
1256
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
959
1257
  type: z.ZodLiteral<"user">;
960
1258
  sub: z.ZodString;
1259
+ agent: z.ZodOptional<z.ZodObject<{
1260
+ patId: z.ZodString;
1261
+ label: z.ZodString;
1262
+ }, z.core.$strip>>;
961
1263
  }, z.core.$strip>, z.ZodObject<{
962
1264
  type: z.ZodLiteral<"api_key">;
963
1265
  keyId: z.ZodString;
964
1266
  ownerSub: z.ZodString;
1267
+ agent: z.ZodOptional<z.ZodObject<{
1268
+ label: z.ZodString;
1269
+ }, z.core.$strip>>;
965
1270
  }, z.core.$strip>, z.ZodObject<{
966
1271
  type: z.ZodLiteral<"service_account">;
967
1272
  id: z.ZodString;
@@ -982,10 +1287,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
982
1287
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
983
1288
  type: z.ZodLiteral<"user">;
984
1289
  sub: z.ZodString;
1290
+ agent: z.ZodOptional<z.ZodObject<{
1291
+ patId: z.ZodString;
1292
+ label: z.ZodString;
1293
+ }, z.core.$strip>>;
985
1294
  }, z.core.$strip>, z.ZodObject<{
986
1295
  type: z.ZodLiteral<"api_key">;
987
1296
  keyId: z.ZodString;
988
1297
  ownerSub: z.ZodString;
1298
+ agent: z.ZodOptional<z.ZodObject<{
1299
+ label: z.ZodString;
1300
+ }, z.core.$strip>>;
989
1301
  }, z.core.$strip>, z.ZodObject<{
990
1302
  type: z.ZodLiteral<"service_account">;
991
1303
  id: z.ZodString;
@@ -1008,10 +1320,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1008
1320
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1009
1321
  type: z.ZodLiteral<"user">;
1010
1322
  sub: z.ZodString;
1323
+ agent: z.ZodOptional<z.ZodObject<{
1324
+ patId: z.ZodString;
1325
+ label: z.ZodString;
1326
+ }, z.core.$strip>>;
1011
1327
  }, z.core.$strip>, z.ZodObject<{
1012
1328
  type: z.ZodLiteral<"api_key">;
1013
1329
  keyId: z.ZodString;
1014
1330
  ownerSub: z.ZodString;
1331
+ agent: z.ZodOptional<z.ZodObject<{
1332
+ label: z.ZodString;
1333
+ }, z.core.$strip>>;
1015
1334
  }, z.core.$strip>, z.ZodObject<{
1016
1335
  type: z.ZodLiteral<"service_account">;
1017
1336
  id: z.ZodString;
@@ -1033,10 +1352,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1033
1352
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1034
1353
  type: z.ZodLiteral<"user">;
1035
1354
  sub: z.ZodString;
1355
+ agent: z.ZodOptional<z.ZodObject<{
1356
+ patId: z.ZodString;
1357
+ label: z.ZodString;
1358
+ }, z.core.$strip>>;
1036
1359
  }, z.core.$strip>, z.ZodObject<{
1037
1360
  type: z.ZodLiteral<"api_key">;
1038
1361
  keyId: z.ZodString;
1039
1362
  ownerSub: z.ZodString;
1363
+ agent: z.ZodOptional<z.ZodObject<{
1364
+ label: z.ZodString;
1365
+ }, z.core.$strip>>;
1040
1366
  }, z.core.$strip>, z.ZodObject<{
1041
1367
  type: z.ZodLiteral<"service_account">;
1042
1368
  id: z.ZodString;
@@ -1056,10 +1382,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1056
1382
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1057
1383
  type: z.ZodLiteral<"user">;
1058
1384
  sub: z.ZodString;
1385
+ agent: z.ZodOptional<z.ZodObject<{
1386
+ patId: z.ZodString;
1387
+ label: z.ZodString;
1388
+ }, z.core.$strip>>;
1059
1389
  }, z.core.$strip>, z.ZodObject<{
1060
1390
  type: z.ZodLiteral<"api_key">;
1061
1391
  keyId: z.ZodString;
1062
1392
  ownerSub: z.ZodString;
1393
+ agent: z.ZodOptional<z.ZodObject<{
1394
+ label: z.ZodString;
1395
+ }, z.core.$strip>>;
1063
1396
  }, z.core.$strip>, z.ZodObject<{
1064
1397
  type: z.ZodLiteral<"service_account">;
1065
1398
  id: z.ZodString;
@@ -1083,10 +1416,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1083
1416
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1084
1417
  type: z.ZodLiteral<"user">;
1085
1418
  sub: z.ZodString;
1419
+ agent: z.ZodOptional<z.ZodObject<{
1420
+ patId: z.ZodString;
1421
+ label: z.ZodString;
1422
+ }, z.core.$strip>>;
1086
1423
  }, z.core.$strip>, z.ZodObject<{
1087
1424
  type: z.ZodLiteral<"api_key">;
1088
1425
  keyId: z.ZodString;
1089
1426
  ownerSub: z.ZodString;
1427
+ agent: z.ZodOptional<z.ZodObject<{
1428
+ label: z.ZodString;
1429
+ }, z.core.$strip>>;
1090
1430
  }, z.core.$strip>, z.ZodObject<{
1091
1431
  type: z.ZodLiteral<"service_account">;
1092
1432
  id: z.ZodString;
@@ -1105,10 +1445,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1105
1445
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1106
1446
  type: z.ZodLiteral<"user">;
1107
1447
  sub: z.ZodString;
1448
+ agent: z.ZodOptional<z.ZodObject<{
1449
+ patId: z.ZodString;
1450
+ label: z.ZodString;
1451
+ }, z.core.$strip>>;
1108
1452
  }, z.core.$strip>, z.ZodObject<{
1109
1453
  type: z.ZodLiteral<"api_key">;
1110
1454
  keyId: z.ZodString;
1111
1455
  ownerSub: z.ZodString;
1456
+ agent: z.ZodOptional<z.ZodObject<{
1457
+ label: z.ZodString;
1458
+ }, z.core.$strip>>;
1112
1459
  }, z.core.$strip>, z.ZodObject<{
1113
1460
  type: z.ZodLiteral<"service_account">;
1114
1461
  id: z.ZodString;
@@ -1130,10 +1477,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1130
1477
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1131
1478
  type: z.ZodLiteral<"user">;
1132
1479
  sub: z.ZodString;
1480
+ agent: z.ZodOptional<z.ZodObject<{
1481
+ patId: z.ZodString;
1482
+ label: z.ZodString;
1483
+ }, z.core.$strip>>;
1133
1484
  }, z.core.$strip>, z.ZodObject<{
1134
1485
  type: z.ZodLiteral<"api_key">;
1135
1486
  keyId: z.ZodString;
1136
1487
  ownerSub: z.ZodString;
1488
+ agent: z.ZodOptional<z.ZodObject<{
1489
+ label: z.ZodString;
1490
+ }, z.core.$strip>>;
1137
1491
  }, z.core.$strip>, z.ZodObject<{
1138
1492
  type: z.ZodLiteral<"service_account">;
1139
1493
  id: z.ZodString;
@@ -1154,10 +1508,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1154
1508
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1155
1509
  type: z.ZodLiteral<"user">;
1156
1510
  sub: z.ZodString;
1511
+ agent: z.ZodOptional<z.ZodObject<{
1512
+ patId: z.ZodString;
1513
+ label: z.ZodString;
1514
+ }, z.core.$strip>>;
1157
1515
  }, z.core.$strip>, z.ZodObject<{
1158
1516
  type: z.ZodLiteral<"api_key">;
1159
1517
  keyId: z.ZodString;
1160
1518
  ownerSub: z.ZodString;
1519
+ agent: z.ZodOptional<z.ZodObject<{
1520
+ label: z.ZodString;
1521
+ }, z.core.$strip>>;
1161
1522
  }, z.core.$strip>, z.ZodObject<{
1162
1523
  type: z.ZodLiteral<"service_account">;
1163
1524
  id: z.ZodString;
@@ -1177,10 +1538,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1177
1538
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1178
1539
  type: z.ZodLiteral<"user">;
1179
1540
  sub: z.ZodString;
1541
+ agent: z.ZodOptional<z.ZodObject<{
1542
+ patId: z.ZodString;
1543
+ label: z.ZodString;
1544
+ }, z.core.$strip>>;
1180
1545
  }, z.core.$strip>, z.ZodObject<{
1181
1546
  type: z.ZodLiteral<"api_key">;
1182
1547
  keyId: z.ZodString;
1183
1548
  ownerSub: z.ZodString;
1549
+ agent: z.ZodOptional<z.ZodObject<{
1550
+ label: z.ZodString;
1551
+ }, z.core.$strip>>;
1184
1552
  }, z.core.$strip>, z.ZodObject<{
1185
1553
  type: z.ZodLiteral<"service_account">;
1186
1554
  id: z.ZodString;
@@ -1201,10 +1569,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1201
1569
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1202
1570
  type: z.ZodLiteral<"user">;
1203
1571
  sub: z.ZodString;
1572
+ agent: z.ZodOptional<z.ZodObject<{
1573
+ patId: z.ZodString;
1574
+ label: z.ZodString;
1575
+ }, z.core.$strip>>;
1204
1576
  }, z.core.$strip>, z.ZodObject<{
1205
1577
  type: z.ZodLiteral<"api_key">;
1206
1578
  keyId: z.ZodString;
1207
1579
  ownerSub: z.ZodString;
1580
+ agent: z.ZodOptional<z.ZodObject<{
1581
+ label: z.ZodString;
1582
+ }, z.core.$strip>>;
1208
1583
  }, z.core.$strip>, z.ZodObject<{
1209
1584
  type: z.ZodLiteral<"service_account">;
1210
1585
  id: z.ZodString;
@@ -1224,10 +1599,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1224
1599
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1225
1600
  type: z.ZodLiteral<"user">;
1226
1601
  sub: z.ZodString;
1602
+ agent: z.ZodOptional<z.ZodObject<{
1603
+ patId: z.ZodString;
1604
+ label: z.ZodString;
1605
+ }, z.core.$strip>>;
1227
1606
  }, z.core.$strip>, z.ZodObject<{
1228
1607
  type: z.ZodLiteral<"api_key">;
1229
1608
  keyId: z.ZodString;
1230
1609
  ownerSub: z.ZodString;
1610
+ agent: z.ZodOptional<z.ZodObject<{
1611
+ label: z.ZodString;
1612
+ }, z.core.$strip>>;
1231
1613
  }, z.core.$strip>, z.ZodObject<{
1232
1614
  type: z.ZodLiteral<"service_account">;
1233
1615
  id: z.ZodString;
@@ -1240,7 +1622,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1240
1622
  type: z.ZodLiteral<"system">;
1241
1623
  component: z.ZodString;
1242
1624
  }, z.core.$strip>], "type">;
1243
- environmentName: z.ZodString;
1625
+ environmentId: z.ZodString;
1244
1626
  limit: z.ZodOptional<z.ZodNumber>;
1245
1627
  offset: z.ZodOptional<z.ZodNumber>;
1246
1628
  }, z.core.$strip>, z.ZodObject<{
@@ -1249,10 +1631,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1249
1631
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1250
1632
  type: z.ZodLiteral<"user">;
1251
1633
  sub: z.ZodString;
1634
+ agent: z.ZodOptional<z.ZodObject<{
1635
+ patId: z.ZodString;
1636
+ label: z.ZodString;
1637
+ }, z.core.$strip>>;
1252
1638
  }, z.core.$strip>, z.ZodObject<{
1253
1639
  type: z.ZodLiteral<"api_key">;
1254
1640
  keyId: z.ZodString;
1255
1641
  ownerSub: z.ZodString;
1642
+ agent: z.ZodOptional<z.ZodObject<{
1643
+ label: z.ZodString;
1644
+ }, z.core.$strip>>;
1256
1645
  }, z.core.$strip>, z.ZodObject<{
1257
1646
  type: z.ZodLiteral<"service_account">;
1258
1647
  id: z.ZodString;
@@ -1267,8 +1656,8 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1267
1656
  }, z.core.$strip>], "type">;
1268
1657
  status: z.ZodOptional<z.ZodEnum<{
1269
1658
  pending: "pending";
1270
- rejected: "rejected";
1271
1659
  approved: "approved";
1660
+ rejected: "rejected";
1272
1661
  expired: "expired";
1273
1662
  }>>;
1274
1663
  queueType: z.ZodOptional<z.ZodEnum<{
@@ -1276,16 +1665,24 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1276
1665
  security: "security";
1277
1666
  }>>;
1278
1667
  runId: z.ZodOptional<z.ZodString>;
1668
+ orgId: z.ZodOptional<z.ZodString>;
1279
1669
  }, z.core.$strip>, z.ZodObject<{
1280
1670
  type: z.ZodLiteral<"dashboard.held-runs.approve">;
1281
1671
  requestId: z.ZodString;
1282
1672
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1283
1673
  type: z.ZodLiteral<"user">;
1284
1674
  sub: z.ZodString;
1675
+ agent: z.ZodOptional<z.ZodObject<{
1676
+ patId: z.ZodString;
1677
+ label: z.ZodString;
1678
+ }, z.core.$strip>>;
1285
1679
  }, z.core.$strip>, z.ZodObject<{
1286
1680
  type: z.ZodLiteral<"api_key">;
1287
1681
  keyId: z.ZodString;
1288
1682
  ownerSub: z.ZodString;
1683
+ agent: z.ZodOptional<z.ZodObject<{
1684
+ label: z.ZodString;
1685
+ }, z.core.$strip>>;
1289
1686
  }, z.core.$strip>, z.ZodObject<{
1290
1687
  type: z.ZodLiteral<"service_account">;
1291
1688
  id: z.ZodString;
@@ -1300,16 +1697,24 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1300
1697
  }, z.core.$strip>], "type">;
1301
1698
  heldRunId: z.ZodString;
1302
1699
  autoApprove: z.ZodOptional<z.ZodBoolean>;
1700
+ orgId: z.ZodOptional<z.ZodString>;
1303
1701
  }, z.core.$strip>, z.ZodObject<{
1304
1702
  type: z.ZodLiteral<"dashboard.held-runs.reject">;
1305
1703
  requestId: z.ZodString;
1306
1704
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1307
1705
  type: z.ZodLiteral<"user">;
1308
1706
  sub: z.ZodString;
1707
+ agent: z.ZodOptional<z.ZodObject<{
1708
+ patId: z.ZodString;
1709
+ label: z.ZodString;
1710
+ }, z.core.$strip>>;
1309
1711
  }, z.core.$strip>, z.ZodObject<{
1310
1712
  type: z.ZodLiteral<"api_key">;
1311
1713
  keyId: z.ZodString;
1312
1714
  ownerSub: z.ZodString;
1715
+ agent: z.ZodOptional<z.ZodObject<{
1716
+ label: z.ZodString;
1717
+ }, z.core.$strip>>;
1313
1718
  }, z.core.$strip>, z.ZodObject<{
1314
1719
  type: z.ZodLiteral<"service_account">;
1315
1720
  id: z.ZodString;
@@ -1324,16 +1729,24 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1324
1729
  }, z.core.$strip>], "type">;
1325
1730
  heldRunId: z.ZodString;
1326
1731
  reason: z.ZodOptional<z.ZodString>;
1732
+ orgId: z.ZodOptional<z.ZodString>;
1327
1733
  }, z.core.$strip>, z.ZodObject<{
1328
1734
  type: z.ZodLiteral<"dashboard.registrations.list">;
1329
1735
  requestId: z.ZodString;
1330
1736
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1331
1737
  type: z.ZodLiteral<"user">;
1332
1738
  sub: z.ZodString;
1739
+ agent: z.ZodOptional<z.ZodObject<{
1740
+ patId: z.ZodString;
1741
+ label: z.ZodString;
1742
+ }, z.core.$strip>>;
1333
1743
  }, z.core.$strip>, z.ZodObject<{
1334
1744
  type: z.ZodLiteral<"api_key">;
1335
1745
  keyId: z.ZodString;
1336
1746
  ownerSub: z.ZodString;
1747
+ agent: z.ZodOptional<z.ZodObject<{
1748
+ label: z.ZodString;
1749
+ }, z.core.$strip>>;
1337
1750
  }, z.core.$strip>, z.ZodObject<{
1338
1751
  type: z.ZodLiteral<"service_account">;
1339
1752
  id: z.ZodString;
@@ -1354,10 +1767,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1354
1767
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1355
1768
  type: z.ZodLiteral<"user">;
1356
1769
  sub: z.ZodString;
1770
+ agent: z.ZodOptional<z.ZodObject<{
1771
+ patId: z.ZodString;
1772
+ label: z.ZodString;
1773
+ }, z.core.$strip>>;
1357
1774
  }, z.core.$strip>, z.ZodObject<{
1358
1775
  type: z.ZodLiteral<"api_key">;
1359
1776
  keyId: z.ZodString;
1360
1777
  ownerSub: z.ZodString;
1778
+ agent: z.ZodOptional<z.ZodObject<{
1779
+ label: z.ZodString;
1780
+ }, z.core.$strip>>;
1361
1781
  }, z.core.$strip>, z.ZodObject<{
1362
1782
  type: z.ZodLiteral<"service_account">;
1363
1783
  id: z.ZodString;
@@ -1378,10 +1798,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1378
1798
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1379
1799
  type: z.ZodLiteral<"user">;
1380
1800
  sub: z.ZodString;
1801
+ agent: z.ZodOptional<z.ZodObject<{
1802
+ patId: z.ZodString;
1803
+ label: z.ZodString;
1804
+ }, z.core.$strip>>;
1381
1805
  }, z.core.$strip>, z.ZodObject<{
1382
1806
  type: z.ZodLiteral<"api_key">;
1383
1807
  keyId: z.ZodString;
1384
1808
  ownerSub: z.ZodString;
1809
+ agent: z.ZodOptional<z.ZodObject<{
1810
+ label: z.ZodString;
1811
+ }, z.core.$strip>>;
1385
1812
  }, z.core.$strip>, z.ZodObject<{
1386
1813
  type: z.ZodLiteral<"service_account">;
1387
1814
  id: z.ZodString;
@@ -1402,10 +1829,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1402
1829
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1403
1830
  type: z.ZodLiteral<"user">;
1404
1831
  sub: z.ZodString;
1832
+ agent: z.ZodOptional<z.ZodObject<{
1833
+ patId: z.ZodString;
1834
+ label: z.ZodString;
1835
+ }, z.core.$strip>>;
1405
1836
  }, z.core.$strip>, z.ZodObject<{
1406
1837
  type: z.ZodLiteral<"api_key">;
1407
1838
  keyId: z.ZodString;
1408
1839
  ownerSub: z.ZodString;
1840
+ agent: z.ZodOptional<z.ZodObject<{
1841
+ label: z.ZodString;
1842
+ }, z.core.$strip>>;
1409
1843
  }, z.core.$strip>, z.ZodObject<{
1410
1844
  type: z.ZodLiteral<"service_account">;
1411
1845
  id: z.ZodString;
@@ -1425,10 +1859,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1425
1859
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1426
1860
  type: z.ZodLiteral<"user">;
1427
1861
  sub: z.ZodString;
1862
+ agent: z.ZodOptional<z.ZodObject<{
1863
+ patId: z.ZodString;
1864
+ label: z.ZodString;
1865
+ }, z.core.$strip>>;
1428
1866
  }, z.core.$strip>, z.ZodObject<{
1429
1867
  type: z.ZodLiteral<"api_key">;
1430
1868
  keyId: z.ZodString;
1431
1869
  ownerSub: z.ZodString;
1870
+ agent: z.ZodOptional<z.ZodObject<{
1871
+ label: z.ZodString;
1872
+ }, z.core.$strip>>;
1432
1873
  }, z.core.$strip>, z.ZodObject<{
1433
1874
  type: z.ZodLiteral<"service_account">;
1434
1875
  id: z.ZodString;
@@ -1447,10 +1888,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1447
1888
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1448
1889
  type: z.ZodLiteral<"user">;
1449
1890
  sub: z.ZodString;
1891
+ agent: z.ZodOptional<z.ZodObject<{
1892
+ patId: z.ZodString;
1893
+ label: z.ZodString;
1894
+ }, z.core.$strip>>;
1450
1895
  }, z.core.$strip>, z.ZodObject<{
1451
1896
  type: z.ZodLiteral<"api_key">;
1452
1897
  keyId: z.ZodString;
1453
1898
  ownerSub: z.ZodString;
1899
+ agent: z.ZodOptional<z.ZodObject<{
1900
+ label: z.ZodString;
1901
+ }, z.core.$strip>>;
1454
1902
  }, z.core.$strip>, z.ZodObject<{
1455
1903
  type: z.ZodLiteral<"service_account">;
1456
1904
  id: z.ZodString;
@@ -1470,10 +1918,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1470
1918
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1471
1919
  type: z.ZodLiteral<"user">;
1472
1920
  sub: z.ZodString;
1921
+ agent: z.ZodOptional<z.ZodObject<{
1922
+ patId: z.ZodString;
1923
+ label: z.ZodString;
1924
+ }, z.core.$strip>>;
1473
1925
  }, z.core.$strip>, z.ZodObject<{
1474
1926
  type: z.ZodLiteral<"api_key">;
1475
1927
  keyId: z.ZodString;
1476
1928
  ownerSub: z.ZodString;
1929
+ agent: z.ZodOptional<z.ZodObject<{
1930
+ label: z.ZodString;
1931
+ }, z.core.$strip>>;
1477
1932
  }, z.core.$strip>, z.ZodObject<{
1478
1933
  type: z.ZodLiteral<"service_account">;
1479
1934
  id: z.ZodString;
@@ -1493,10 +1948,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1493
1948
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1494
1949
  type: z.ZodLiteral<"user">;
1495
1950
  sub: z.ZodString;
1951
+ agent: z.ZodOptional<z.ZodObject<{
1952
+ patId: z.ZodString;
1953
+ label: z.ZodString;
1954
+ }, z.core.$strip>>;
1496
1955
  }, z.core.$strip>, z.ZodObject<{
1497
1956
  type: z.ZodLiteral<"api_key">;
1498
1957
  keyId: z.ZodString;
1499
1958
  ownerSub: z.ZodString;
1959
+ agent: z.ZodOptional<z.ZodObject<{
1960
+ label: z.ZodString;
1961
+ }, z.core.$strip>>;
1500
1962
  }, z.core.$strip>, z.ZodObject<{
1501
1963
  type: z.ZodLiteral<"service_account">;
1502
1964
  id: z.ZodString;
@@ -1516,10 +1978,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1516
1978
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1517
1979
  type: z.ZodLiteral<"user">;
1518
1980
  sub: z.ZodString;
1981
+ agent: z.ZodOptional<z.ZodObject<{
1982
+ patId: z.ZodString;
1983
+ label: z.ZodString;
1984
+ }, z.core.$strip>>;
1519
1985
  }, z.core.$strip>, z.ZodObject<{
1520
1986
  type: z.ZodLiteral<"api_key">;
1521
1987
  keyId: z.ZodString;
1522
1988
  ownerSub: z.ZodString;
1989
+ agent: z.ZodOptional<z.ZodObject<{
1990
+ label: z.ZodString;
1991
+ }, z.core.$strip>>;
1523
1992
  }, z.core.$strip>, z.ZodObject<{
1524
1993
  type: z.ZodLiteral<"service_account">;
1525
1994
  id: z.ZodString;
@@ -1542,10 +2011,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1542
2011
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1543
2012
  type: z.ZodLiteral<"user">;
1544
2013
  sub: z.ZodString;
2014
+ agent: z.ZodOptional<z.ZodObject<{
2015
+ patId: z.ZodString;
2016
+ label: z.ZodString;
2017
+ }, z.core.$strip>>;
1545
2018
  }, z.core.$strip>, z.ZodObject<{
1546
2019
  type: z.ZodLiteral<"api_key">;
1547
2020
  keyId: z.ZodString;
1548
2021
  ownerSub: z.ZodString;
2022
+ agent: z.ZodOptional<z.ZodObject<{
2023
+ label: z.ZodString;
2024
+ }, z.core.$strip>>;
1549
2025
  }, z.core.$strip>, z.ZodObject<{
1550
2026
  type: z.ZodLiteral<"service_account">;
1551
2027
  id: z.ZodString;
@@ -1565,10 +2041,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1565
2041
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1566
2042
  type: z.ZodLiteral<"user">;
1567
2043
  sub: z.ZodString;
2044
+ agent: z.ZodOptional<z.ZodObject<{
2045
+ patId: z.ZodString;
2046
+ label: z.ZodString;
2047
+ }, z.core.$strip>>;
1568
2048
  }, z.core.$strip>, z.ZodObject<{
1569
2049
  type: z.ZodLiteral<"api_key">;
1570
2050
  keyId: z.ZodString;
1571
2051
  ownerSub: z.ZodString;
2052
+ agent: z.ZodOptional<z.ZodObject<{
2053
+ label: z.ZodString;
2054
+ }, z.core.$strip>>;
1572
2055
  }, z.core.$strip>, z.ZodObject<{
1573
2056
  type: z.ZodLiteral<"service_account">;
1574
2057
  id: z.ZodString;
@@ -1587,10 +2070,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1587
2070
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1588
2071
  type: z.ZodLiteral<"user">;
1589
2072
  sub: z.ZodString;
2073
+ agent: z.ZodOptional<z.ZodObject<{
2074
+ patId: z.ZodString;
2075
+ label: z.ZodString;
2076
+ }, z.core.$strip>>;
1590
2077
  }, z.core.$strip>, z.ZodObject<{
1591
2078
  type: z.ZodLiteral<"api_key">;
1592
2079
  keyId: z.ZodString;
1593
2080
  ownerSub: z.ZodString;
2081
+ agent: z.ZodOptional<z.ZodObject<{
2082
+ label: z.ZodString;
2083
+ }, z.core.$strip>>;
1594
2084
  }, z.core.$strip>, z.ZodObject<{
1595
2085
  type: z.ZodLiteral<"service_account">;
1596
2086
  id: z.ZodString;
@@ -1610,10 +2100,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1610
2100
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1611
2101
  type: z.ZodLiteral<"user">;
1612
2102
  sub: z.ZodString;
2103
+ agent: z.ZodOptional<z.ZodObject<{
2104
+ patId: z.ZodString;
2105
+ label: z.ZodString;
2106
+ }, z.core.$strip>>;
1613
2107
  }, z.core.$strip>, z.ZodObject<{
1614
2108
  type: z.ZodLiteral<"api_key">;
1615
2109
  keyId: z.ZodString;
1616
2110
  ownerSub: z.ZodString;
2111
+ agent: z.ZodOptional<z.ZodObject<{
2112
+ label: z.ZodString;
2113
+ }, z.core.$strip>>;
1617
2114
  }, z.core.$strip>, z.ZodObject<{
1618
2115
  type: z.ZodLiteral<"service_account">;
1619
2116
  id: z.ZodString;
@@ -1632,10 +2129,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1632
2129
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1633
2130
  type: z.ZodLiteral<"user">;
1634
2131
  sub: z.ZodString;
2132
+ agent: z.ZodOptional<z.ZodObject<{
2133
+ patId: z.ZodString;
2134
+ label: z.ZodString;
2135
+ }, z.core.$strip>>;
1635
2136
  }, z.core.$strip>, z.ZodObject<{
1636
2137
  type: z.ZodLiteral<"api_key">;
1637
2138
  keyId: z.ZodString;
1638
2139
  ownerSub: z.ZodString;
2140
+ agent: z.ZodOptional<z.ZodObject<{
2141
+ label: z.ZodString;
2142
+ }, z.core.$strip>>;
1639
2143
  }, z.core.$strip>, z.ZodObject<{
1640
2144
  type: z.ZodLiteral<"service_account">;
1641
2145
  id: z.ZodString;
@@ -1655,10 +2159,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1655
2159
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1656
2160
  type: z.ZodLiteral<"user">;
1657
2161
  sub: z.ZodString;
2162
+ agent: z.ZodOptional<z.ZodObject<{
2163
+ patId: z.ZodString;
2164
+ label: z.ZodString;
2165
+ }, z.core.$strip>>;
1658
2166
  }, z.core.$strip>, z.ZodObject<{
1659
2167
  type: z.ZodLiteral<"api_key">;
1660
2168
  keyId: z.ZodString;
1661
2169
  ownerSub: z.ZodString;
2170
+ agent: z.ZodOptional<z.ZodObject<{
2171
+ label: z.ZodString;
2172
+ }, z.core.$strip>>;
1662
2173
  }, z.core.$strip>, z.ZodObject<{
1663
2174
  type: z.ZodLiteral<"service_account">;
1664
2175
  id: z.ZodString;
@@ -1677,10 +2188,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1677
2188
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1678
2189
  type: z.ZodLiteral<"user">;
1679
2190
  sub: z.ZodString;
2191
+ agent: z.ZodOptional<z.ZodObject<{
2192
+ patId: z.ZodString;
2193
+ label: z.ZodString;
2194
+ }, z.core.$strip>>;
1680
2195
  }, z.core.$strip>, z.ZodObject<{
1681
2196
  type: z.ZodLiteral<"api_key">;
1682
2197
  keyId: z.ZodString;
1683
2198
  ownerSub: z.ZodString;
2199
+ agent: z.ZodOptional<z.ZodObject<{
2200
+ label: z.ZodString;
2201
+ }, z.core.$strip>>;
1684
2202
  }, z.core.$strip>, z.ZodObject<{
1685
2203
  type: z.ZodLiteral<"service_account">;
1686
2204
  id: z.ZodString;
@@ -1700,10 +2218,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1700
2218
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1701
2219
  type: z.ZodLiteral<"user">;
1702
2220
  sub: z.ZodString;
2221
+ agent: z.ZodOptional<z.ZodObject<{
2222
+ patId: z.ZodString;
2223
+ label: z.ZodString;
2224
+ }, z.core.$strip>>;
1703
2225
  }, z.core.$strip>, z.ZodObject<{
1704
2226
  type: z.ZodLiteral<"api_key">;
1705
2227
  keyId: z.ZodString;
1706
2228
  ownerSub: z.ZodString;
2229
+ agent: z.ZodOptional<z.ZodObject<{
2230
+ label: z.ZodString;
2231
+ }, z.core.$strip>>;
1707
2232
  }, z.core.$strip>, z.ZodObject<{
1708
2233
  type: z.ZodLiteral<"service_account">;
1709
2234
  id: z.ZodString;
@@ -1723,10 +2248,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1723
2248
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1724
2249
  type: z.ZodLiteral<"user">;
1725
2250
  sub: z.ZodString;
2251
+ agent: z.ZodOptional<z.ZodObject<{
2252
+ patId: z.ZodString;
2253
+ label: z.ZodString;
2254
+ }, z.core.$strip>>;
1726
2255
  }, z.core.$strip>, z.ZodObject<{
1727
2256
  type: z.ZodLiteral<"api_key">;
1728
2257
  keyId: z.ZodString;
1729
2258
  ownerSub: z.ZodString;
2259
+ agent: z.ZodOptional<z.ZodObject<{
2260
+ label: z.ZodString;
2261
+ }, z.core.$strip>>;
1730
2262
  }, z.core.$strip>, z.ZodObject<{
1731
2263
  type: z.ZodLiteral<"service_account">;
1732
2264
  id: z.ZodString;
@@ -1761,10 +2293,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1761
2293
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1762
2294
  type: z.ZodLiteral<"user">;
1763
2295
  sub: z.ZodString;
2296
+ agent: z.ZodOptional<z.ZodObject<{
2297
+ patId: z.ZodString;
2298
+ label: z.ZodString;
2299
+ }, z.core.$strip>>;
1764
2300
  }, z.core.$strip>, z.ZodObject<{
1765
2301
  type: z.ZodLiteral<"api_key">;
1766
2302
  keyId: z.ZodString;
1767
2303
  ownerSub: z.ZodString;
2304
+ agent: z.ZodOptional<z.ZodObject<{
2305
+ label: z.ZodString;
2306
+ }, z.core.$strip>>;
1768
2307
  }, z.core.$strip>, z.ZodObject<{
1769
2308
  type: z.ZodLiteral<"service_account">;
1770
2309
  id: z.ZodString;
@@ -1786,10 +2325,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1786
2325
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1787
2326
  type: z.ZodLiteral<"user">;
1788
2327
  sub: z.ZodString;
2328
+ agent: z.ZodOptional<z.ZodObject<{
2329
+ patId: z.ZodString;
2330
+ label: z.ZodString;
2331
+ }, z.core.$strip>>;
1789
2332
  }, z.core.$strip>, z.ZodObject<{
1790
2333
  type: z.ZodLiteral<"api_key">;
1791
2334
  keyId: z.ZodString;
1792
2335
  ownerSub: z.ZodString;
2336
+ agent: z.ZodOptional<z.ZodObject<{
2337
+ label: z.ZodString;
2338
+ }, z.core.$strip>>;
1793
2339
  }, z.core.$strip>, z.ZodObject<{
1794
2340
  type: z.ZodLiteral<"service_account">;
1795
2341
  id: z.ZodString;
@@ -1811,10 +2357,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1811
2357
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1812
2358
  type: z.ZodLiteral<"user">;
1813
2359
  sub: z.ZodString;
2360
+ agent: z.ZodOptional<z.ZodObject<{
2361
+ patId: z.ZodString;
2362
+ label: z.ZodString;
2363
+ }, z.core.$strip>>;
1814
2364
  }, z.core.$strip>, z.ZodObject<{
1815
2365
  type: z.ZodLiteral<"api_key">;
1816
2366
  keyId: z.ZodString;
1817
2367
  ownerSub: z.ZodString;
2368
+ agent: z.ZodOptional<z.ZodObject<{
2369
+ label: z.ZodString;
2370
+ }, z.core.$strip>>;
1818
2371
  }, z.core.$strip>, z.ZodObject<{
1819
2372
  type: z.ZodLiteral<"service_account">;
1820
2373
  id: z.ZodString;
@@ -1836,10 +2389,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1836
2389
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1837
2390
  type: z.ZodLiteral<"user">;
1838
2391
  sub: z.ZodString;
2392
+ agent: z.ZodOptional<z.ZodObject<{
2393
+ patId: z.ZodString;
2394
+ label: z.ZodString;
2395
+ }, z.core.$strip>>;
1839
2396
  }, z.core.$strip>, z.ZodObject<{
1840
2397
  type: z.ZodLiteral<"api_key">;
1841
2398
  keyId: z.ZodString;
1842
2399
  ownerSub: z.ZodString;
2400
+ agent: z.ZodOptional<z.ZodObject<{
2401
+ label: z.ZodString;
2402
+ }, z.core.$strip>>;
1843
2403
  }, z.core.$strip>, z.ZodObject<{
1844
2404
  type: z.ZodLiteral<"service_account">;
1845
2405
  id: z.ZodString;
@@ -1859,10 +2419,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1859
2419
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1860
2420
  type: z.ZodLiteral<"user">;
1861
2421
  sub: z.ZodString;
2422
+ agent: z.ZodOptional<z.ZodObject<{
2423
+ patId: z.ZodString;
2424
+ label: z.ZodString;
2425
+ }, z.core.$strip>>;
1862
2426
  }, z.core.$strip>, z.ZodObject<{
1863
2427
  type: z.ZodLiteral<"api_key">;
1864
2428
  keyId: z.ZodString;
1865
2429
  ownerSub: z.ZodString;
2430
+ agent: z.ZodOptional<z.ZodObject<{
2431
+ label: z.ZodString;
2432
+ }, z.core.$strip>>;
1866
2433
  }, z.core.$strip>, z.ZodObject<{
1867
2434
  type: z.ZodLiteral<"service_account">;
1868
2435
  id: z.ZodString;
@@ -1883,10 +2450,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1883
2450
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1884
2451
  type: z.ZodLiteral<"user">;
1885
2452
  sub: z.ZodString;
2453
+ agent: z.ZodOptional<z.ZodObject<{
2454
+ patId: z.ZodString;
2455
+ label: z.ZodString;
2456
+ }, z.core.$strip>>;
1886
2457
  }, z.core.$strip>, z.ZodObject<{
1887
2458
  type: z.ZodLiteral<"api_key">;
1888
2459
  keyId: z.ZodString;
1889
2460
  ownerSub: z.ZodString;
2461
+ agent: z.ZodOptional<z.ZodObject<{
2462
+ label: z.ZodString;
2463
+ }, z.core.$strip>>;
1890
2464
  }, z.core.$strip>, z.ZodObject<{
1891
2465
  type: z.ZodLiteral<"service_account">;
1892
2466
  id: z.ZodString;
@@ -1907,10 +2481,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1907
2481
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1908
2482
  type: z.ZodLiteral<"user">;
1909
2483
  sub: z.ZodString;
2484
+ agent: z.ZodOptional<z.ZodObject<{
2485
+ patId: z.ZodString;
2486
+ label: z.ZodString;
2487
+ }, z.core.$strip>>;
1910
2488
  }, z.core.$strip>, z.ZodObject<{
1911
2489
  type: z.ZodLiteral<"api_key">;
1912
2490
  keyId: z.ZodString;
1913
2491
  ownerSub: z.ZodString;
2492
+ agent: z.ZodOptional<z.ZodObject<{
2493
+ label: z.ZodString;
2494
+ }, z.core.$strip>>;
1914
2495
  }, z.core.$strip>, z.ZodObject<{
1915
2496
  type: z.ZodLiteral<"service_account">;
1916
2497
  id: z.ZodString;
@@ -1929,10 +2510,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1929
2510
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1930
2511
  type: z.ZodLiteral<"user">;
1931
2512
  sub: z.ZodString;
2513
+ agent: z.ZodOptional<z.ZodObject<{
2514
+ patId: z.ZodString;
2515
+ label: z.ZodString;
2516
+ }, z.core.$strip>>;
1932
2517
  }, z.core.$strip>, z.ZodObject<{
1933
2518
  type: z.ZodLiteral<"api_key">;
1934
2519
  keyId: z.ZodString;
1935
2520
  ownerSub: z.ZodString;
2521
+ agent: z.ZodOptional<z.ZodObject<{
2522
+ label: z.ZodString;
2523
+ }, z.core.$strip>>;
1936
2524
  }, z.core.$strip>, z.ZodObject<{
1937
2525
  type: z.ZodLiteral<"service_account">;
1938
2526
  id: z.ZodString;
@@ -1964,10 +2552,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1964
2552
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1965
2553
  type: z.ZodLiteral<"user">;
1966
2554
  sub: z.ZodString;
2555
+ agent: z.ZodOptional<z.ZodObject<{
2556
+ patId: z.ZodString;
2557
+ label: z.ZodString;
2558
+ }, z.core.$strip>>;
1967
2559
  }, z.core.$strip>, z.ZodObject<{
1968
2560
  type: z.ZodLiteral<"api_key">;
1969
2561
  keyId: z.ZodString;
1970
2562
  ownerSub: z.ZodString;
2563
+ agent: z.ZodOptional<z.ZodObject<{
2564
+ label: z.ZodString;
2565
+ }, z.core.$strip>>;
1971
2566
  }, z.core.$strip>, z.ZodObject<{
1972
2567
  type: z.ZodLiteral<"service_account">;
1973
2568
  id: z.ZodString;
@@ -1998,6 +2593,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1998
2593
  "fleet.host.declare": "fleet.host.declare";
1999
2594
  "fleet.host.remove": "fleet.host.remove";
2000
2595
  "run.detail.read": "run.detail.read";
2596
+ "run.structured.read": "run.structured.read";
2001
2597
  "runs.list.read": "runs.list.read";
2002
2598
  "runs.filters.read": "runs.filters.read";
2003
2599
  "sources.list.read": "sources.list.read";
@@ -2061,10 +2657,10 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
2061
2657
  purge_chunk: "purge_chunk";
2062
2658
  }>>;
2063
2659
  source: z.ZodOptional<z.ZodEnum<{
2660
+ agent: "agent";
2064
2661
  platform_proxy: "platform_proxy";
2065
2662
  admin_http: "admin_http";
2066
2663
  admin_cli: "admin_cli";
2067
- agent: "agent";
2068
2664
  }>>;
2069
2665
  outcome: z.ZodOptional<z.ZodEnum<{
2070
2666
  error: "error";
@@ -2072,14 +2668,14 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
2072
2668
  denied: "denied";
2073
2669
  }>>;
2074
2670
  targetType: z.ZodOptional<z.ZodEnum<{
2075
- run: "run";
2076
2671
  job: "job";
2077
- payload: "payload";
2078
2672
  step: "step";
2673
+ run: "run";
2674
+ environment: "environment";
2675
+ payload: "payload";
2079
2676
  event_log: "event_log";
2080
2677
  event_log_payload: "event_log_payload";
2081
2678
  secret_scope: "secret_scope";
2082
- environment: "environment";
2083
2679
  registration: "registration";
2084
2680
  backend: "backend";
2085
2681
  diagnostics: "diagnostics";
@@ -2090,11 +2686,14 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
2090
2686
  event_dlq: "event_dlq";
2091
2687
  org_settings: "org_settings";
2092
2688
  cluster_meta: "cluster_meta";
2689
+ attestation: "attestation";
2093
2690
  }>>;
2094
2691
  targetId: z.ZodOptional<z.ZodString>;
2095
2692
  fromTimestamp: z.ZodOptional<z.ZodString>;
2096
2693
  toTimestamp: z.ZodOptional<z.ZodString>;
2097
2694
  q: z.ZodOptional<z.ZodString>;
2695
+ agentLabel: z.ZodOptional<z.ZodString>;
2696
+ agentOnly: z.ZodOptional<z.ZodBoolean>;
2098
2697
  limit: z.ZodOptional<z.ZodNumber>;
2099
2698
  cursor: z.ZodOptional<z.ZodString>;
2100
2699
  }, z.core.$strip>, z.ZodObject<{
@@ -2103,10 +2702,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
2103
2702
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2104
2703
  type: z.ZodLiteral<"user">;
2105
2704
  sub: z.ZodString;
2705
+ agent: z.ZodOptional<z.ZodObject<{
2706
+ patId: z.ZodString;
2707
+ label: z.ZodString;
2708
+ }, z.core.$strip>>;
2106
2709
  }, z.core.$strip>, z.ZodObject<{
2107
2710
  type: z.ZodLiteral<"api_key">;
2108
2711
  keyId: z.ZodString;
2109
2712
  ownerSub: z.ZodString;
2713
+ agent: z.ZodOptional<z.ZodObject<{
2714
+ label: z.ZodString;
2715
+ }, z.core.$strip>>;
2110
2716
  }, z.core.$strip>, z.ZodObject<{
2111
2717
  type: z.ZodLiteral<"service_account">;
2112
2718
  id: z.ZodString;
@@ -2129,10 +2735,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
2129
2735
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2130
2736
  type: z.ZodLiteral<"user">;
2131
2737
  sub: z.ZodString;
2738
+ agent: z.ZodOptional<z.ZodObject<{
2739
+ patId: z.ZodString;
2740
+ label: z.ZodString;
2741
+ }, z.core.$strip>>;
2132
2742
  }, z.core.$strip>, z.ZodObject<{
2133
2743
  type: z.ZodLiteral<"api_key">;
2134
2744
  keyId: z.ZodString;
2135
2745
  ownerSub: z.ZodString;
2746
+ agent: z.ZodOptional<z.ZodObject<{
2747
+ label: z.ZodString;
2748
+ }, z.core.$strip>>;
2136
2749
  }, z.core.$strip>, z.ZodObject<{
2137
2750
  type: z.ZodLiteral<"service_account">;
2138
2751
  id: z.ZodString;
@@ -2196,10 +2809,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
2196
2809
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2197
2810
  type: z.ZodLiteral<"user">;
2198
2811
  sub: z.ZodString;
2812
+ agent: z.ZodOptional<z.ZodObject<{
2813
+ patId: z.ZodString;
2814
+ label: z.ZodString;
2815
+ }, z.core.$strip>>;
2199
2816
  }, z.core.$strip>, z.ZodObject<{
2200
2817
  type: z.ZodLiteral<"api_key">;
2201
2818
  keyId: z.ZodString;
2202
2819
  ownerSub: z.ZodString;
2820
+ agent: z.ZodOptional<z.ZodObject<{
2821
+ label: z.ZodString;
2822
+ }, z.core.$strip>>;
2203
2823
  }, z.core.$strip>, z.ZodObject<{
2204
2824
  type: z.ZodLiteral<"service_account">;
2205
2825
  id: z.ZodString;
@@ -2219,10 +2839,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
2219
2839
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2220
2840
  type: z.ZodLiteral<"user">;
2221
2841
  sub: z.ZodString;
2842
+ agent: z.ZodOptional<z.ZodObject<{
2843
+ patId: z.ZodString;
2844
+ label: z.ZodString;
2845
+ }, z.core.$strip>>;
2222
2846
  }, z.core.$strip>, z.ZodObject<{
2223
2847
  type: z.ZodLiteral<"api_key">;
2224
2848
  keyId: z.ZodString;
2225
2849
  ownerSub: z.ZodString;
2850
+ agent: z.ZodOptional<z.ZodObject<{
2851
+ label: z.ZodString;
2852
+ }, z.core.$strip>>;
2226
2853
  }, z.core.$strip>, z.ZodObject<{
2227
2854
  type: z.ZodLiteral<"service_account">;
2228
2855
  id: z.ZodString;
@@ -2243,10 +2870,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
2243
2870
  actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
2244
2871
  type: z.ZodLiteral<"user">;
2245
2872
  sub: z.ZodString;
2873
+ agent: z.ZodOptional<z.ZodObject<{
2874
+ patId: z.ZodString;
2875
+ label: z.ZodString;
2876
+ }, z.core.$strip>>;
2246
2877
  }, z.core.$strip>, z.ZodObject<{
2247
2878
  type: z.ZodLiteral<"api_key">;
2248
2879
  keyId: z.ZodString;
2249
2880
  ownerSub: z.ZodString;
2881
+ agent: z.ZodOptional<z.ZodObject<{
2882
+ label: z.ZodString;
2883
+ }, z.core.$strip>>;
2250
2884
  }, z.core.$strip>, z.ZodObject<{
2251
2885
  type: z.ZodLiteral<"service_account">;
2252
2886
  id: z.ZodString;
@@ -2315,6 +2949,8 @@ export declare const orchestratorToPlatformMessageSchema: z.ZodDiscriminatedUnio
2315
2949
  held: "held";
2316
2950
  }>;
2317
2951
  repoIdentifier: z.ZodOptional<z.ZodString>;
2952
+ repoProvider: z.ZodOptional<z.ZodString>;
2953
+ localWorkingTree: z.ZodOptional<z.ZodBoolean>;
2318
2954
  sha: z.ZodOptional<z.ZodString>;
2319
2955
  ref: z.ZodOptional<z.ZodString>;
2320
2956
  triggerEvent: z.ZodOptional<z.ZodString>;
@@ -2327,12 +2963,16 @@ export declare const orchestratorToPlatformMessageSchema: z.ZodDiscriminatedUnio
2327
2963
  parentRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2328
2964
  originalRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2329
2965
  triggeredBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2966
+ triggeredByAgentLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2967
+ triggerActorProvider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2968
+ triggerActorUsername: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2969
+ triggerActorUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2330
2970
  failureReason: z.ZodOptional<z.ZodString>;
2331
2971
  logBytes: z.ZodOptional<z.ZodNumber>;
2332
2972
  initFailure: z.ZodOptional<z.ZodObject<{
2333
2973
  scope: z.ZodEnum<{
2334
- run: "run";
2335
2974
  job: "job";
2975
+ run: "run";
2336
2976
  }>;
2337
2977
  category: z.ZodEnum<{
2338
2978
  secret_resolution: "secret_resolution";
@@ -2358,12 +2998,20 @@ export declare const orchestratorToPlatformMessageSchema: z.ZodDiscriminatedUnio
2358
2998
  state: z.ZodEnum<{
2359
2999
  skipped: "skipped";
2360
3000
  success: "success";
3001
+ pending: "pending";
2361
3002
  running: "running";
2362
3003
  failed: "failed";
3004
+ cancelled: "cancelled";
2363
3005
  }>;
2364
3006
  timestamp: z.ZodNumber;
2365
3007
  data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2366
3008
  secretsAccessed: z.ZodOptional<z.ZodArray<z.ZodString>>;
3009
+ concurrencyKind: z.ZodOptional<z.ZodEnum<{
3010
+ sequential: "sequential";
3011
+ "parallel-child": "parallel-child";
3012
+ "parallel-group": "parallel-group";
3013
+ }>>;
3014
+ groupId: z.ZodOptional<z.ZodString>;
2367
3015
  }, z.core.$strip>, z.ZodObject<{
2368
3016
  type: z.ZodLiteral<"job.status.forward">;
2369
3017
  messageId: z.ZodString;
@@ -2391,12 +3039,13 @@ export declare const orchestratorToPlatformMessageSchema: z.ZodDiscriminatedUnio
2391
3039
  agentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2392
3040
  orchestratorId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2393
3041
  runsOnLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
3042
+ environments: z.ZodOptional<z.ZodArray<z.ZodString>>;
2394
3043
  logBytes: z.ZodOptional<z.ZodNumber>;
2395
3044
  timestamp: z.ZodNumber;
2396
3045
  initFailure: z.ZodOptional<z.ZodObject<{
2397
3046
  scope: z.ZodEnum<{
2398
- run: "run";
2399
3047
  job: "job";
3048
+ run: "run";
2400
3049
  }>;
2401
3050
  category: z.ZodEnum<{
2402
3051
  secret_resolution: "secret_resolution";
@@ -2439,6 +3088,7 @@ export declare const orchestratorToPlatformMessageSchema: z.ZodDiscriminatedUnio
2439
3088
  parentRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2440
3089
  originalRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2441
3090
  triggeredBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3091
+ triggeredByAgentLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2442
3092
  failureReason: z.ZodOptional<z.ZodString>;
2443
3093
  jobs: z.ZodArray<z.ZodObject<{
2444
3094
  jobId: z.ZodString;
@@ -2450,6 +3100,7 @@ export declare const orchestratorToPlatformMessageSchema: z.ZodDiscriminatedUnio
2450
3100
  errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2451
3101
  agentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2452
3102
  runsOnLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
3103
+ environments: z.ZodOptional<z.ZodArray<z.ZodString>>;
2453
3104
  }, z.core.$strip>>;
2454
3105
  }, z.core.$strip>>;
2455
3106
  timestamp: z.ZodNumber;
@@ -2479,6 +3130,7 @@ export declare const orchestratorToPlatformMessageSchema: z.ZodDiscriminatedUnio
2479
3130
  "held_runs.reject": "held_runs.reject";
2480
3131
  "event_dlq.retry": "event_dlq.retry";
2481
3132
  "event_dlq.discard": "event_dlq.discard";
3133
+ "attestations.retry": "attestations.retry";
2482
3134
  "registration.disable": "registration.disable";
2483
3135
  "registration.delete": "registration.delete";
2484
3136
  "global_workflows.update": "global_workflows.update";
@@ -2488,6 +3140,7 @@ export declare const orchestratorToPlatformMessageSchema: z.ZodDiscriminatedUnio
2488
3140
  "fleet.host.declare": "fleet.host.declare";
2489
3141
  "fleet.host.remove": "fleet.host.remove";
2490
3142
  }> & z.core.$partial, z.ZodBoolean>>;
3143
+ supportedDashboardRequests: z.ZodOptional<z.ZodArray<z.ZodString>>;
2491
3144
  }, z.core.$loose>;
2492
3145
  }, z.core.$strip>, z.ZodObject<{
2493
3146
  type: z.ZodLiteral<"source.register">;
@@ -2575,6 +3228,7 @@ export declare const orchestratorToPlatformMessageSchema: z.ZodDiscriminatedUnio
2575
3228
  "held_runs.reject": "held_runs.reject";
2576
3229
  "event_dlq.retry": "event_dlq.retry";
2577
3230
  "event_dlq.discard": "event_dlq.discard";
3231
+ "attestations.retry": "attestations.retry";
2578
3232
  "registration.disable": "registration.disable";
2579
3233
  "registration.delete": "registration.delete";
2580
3234
  "global_workflows.update": "global_workflows.update";
@@ -2584,6 +3238,7 @@ export declare const orchestratorToPlatformMessageSchema: z.ZodDiscriminatedUnio
2584
3238
  "fleet.host.declare": "fleet.host.declare";
2585
3239
  "fleet.host.remove": "fleet.host.remove";
2586
3240
  }> & z.core.$partial, z.ZodBoolean>>;
3241
+ supportedDashboardRequests: z.ZodOptional<z.ZodArray<z.ZodString>>;
2587
3242
  }, z.core.$loose>>;
2588
3243
  }, z.core.$strip>, z.ZodObject<{
2589
3244
  type: z.ZodLiteral<"heartbeat">;
@@ -2594,8 +3249,8 @@ export declare const orchestratorToPlatformMessageSchema: z.ZodDiscriminatedUnio
2594
3249
  eventType: z.ZodString;
2595
3250
  timestampMs: z.ZodNumber;
2596
3251
  sourceService: z.ZodEnum<{
2597
- platform: "platform";
2598
3252
  agent: "agent";
3253
+ platform: "platform";
2599
3254
  orchestrator: "orchestrator";
2600
3255
  }>;
2601
3256
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -2659,6 +3314,19 @@ export declare const orchestratorToPlatformMessageSchema: z.ZodDiscriminatedUnio
2659
3314
  sum: z.ZodOptional<z.ZodNumber>;
2660
3315
  }, z.core.$strip>>;
2661
3316
  timestamp: z.ZodNumber;
3317
+ }, z.core.$strip>, z.ZodObject<{
3318
+ type: z.ZodLiteral<"oidc.mint.request">;
3319
+ requestId: z.ZodString;
3320
+ orchestratorId: z.ZodString;
3321
+ runId: z.ZodString;
3322
+ jobId: z.ZodString;
3323
+ audience: z.ZodString;
3324
+ deferred: z.ZodOptional<z.ZodLiteral<true>>;
3325
+ statementHash: z.ZodOptional<z.ZodString>;
3326
+ origin: z.ZodOptional<z.ZodEnum<{
3327
+ deferred: "deferred";
3328
+ "offline-backfill": "offline-backfill";
3329
+ }>>;
2662
3330
  }, z.core.$strip>], "type">;
2663
3331
  export type WebhookRelay = z.infer<typeof webhookRelaySchema>;
2664
3332
  export type WebhookAck = z.infer<typeof webhookAckSchema>;