@kici-dev/engine 0.1.24 → 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 (136) 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.js +3 -2
  4. package/dist/audit/activity.d.ts +2 -0
  5. package/dist/audit/activity.js +15 -1
  6. package/dist/audit/retention-policy.js +3 -3
  7. package/dist/bundler/index.js +1 -1
  8. package/dist/bundler/rolldown-config.js +1 -1
  9. package/dist/check-mode.js +1 -1
  10. package/dist/dev-ops/operations.d.ts +56 -0
  11. package/dist/dev-ops/operations.js +135 -0
  12. package/dist/env/environment-allowlist.js +1 -1
  13. package/dist/environment/host-match.js +1 -1
  14. package/dist/environment/index.js +1 -1
  15. package/dist/environment/multi-env.js +1 -1
  16. package/dist/environment/scope-resolver.js +1 -1
  17. package/dist/environment/scope-template.js +1 -1
  18. package/dist/environment/types.js +1 -1
  19. package/dist/fanout/materialize.js +3 -3
  20. package/dist/index.d.ts +7 -1
  21. package/dist/index.js +16 -10
  22. package/dist/inputs/build.js +1 -1
  23. package/dist/inputs/coerce.js +1 -1
  24. package/dist/inputs/descriptor.js +1 -1
  25. package/dist/inputs/extract.js +1 -1
  26. package/dist/inputs/index.js +1 -1
  27. package/dist/inputs/schedule.js +1 -1
  28. package/dist/inventory.js +1 -1
  29. package/dist/labels/compile.js +1 -1
  30. package/dist/labels-match.js +1 -1
  31. package/dist/labels.js +2 -2
  32. package/dist/matrix/expand.js +1 -1
  33. package/dist/matrix/format.js +1 -1
  34. package/dist/mcp/fence.d.ts +22 -0
  35. package/dist/mcp/fence.js +65 -0
  36. package/dist/mcp/held-run-resolve.d.ts +52 -0
  37. package/dist/mcp/held-run-resolve.js +53 -0
  38. package/dist/mcp/tool-schemas.d.ts +38 -5
  39. package/dist/mcp/tool-schemas.js +38 -9
  40. package/dist/metrics/catalog-policy.js +1 -1
  41. package/dist/metrics/metric-catalog.generated.d.ts +85 -0
  42. package/dist/metrics/metric-catalog.generated.js +103 -1
  43. package/dist/protocol/analytics-events.js +1 -1
  44. package/dist/protocol/cluster-name.js +1 -1
  45. package/dist/protocol/dashboard-global-workflows.js +1 -1
  46. package/dist/protocol/dashboard-write-operations.d.ts +5 -1
  47. package/dist/protocol/dashboard-write-operations.js +13 -2
  48. package/dist/protocol/event-log-payload.js +1 -1
  49. package/dist/protocol/messages/access-log.d.ts +14 -5
  50. package/dist/protocol/messages/access-log.js +13 -1
  51. package/dist/protocol/messages/actor.d.ts +13 -0
  52. package/dist/protocol/messages/actor.js +25 -5
  53. package/dist/protocol/messages/agent-dev-ops.d.ts +118 -0
  54. package/dist/protocol/messages/agent-dev-ops.js +89 -0
  55. package/dist/protocol/messages/agent-run-result.d.ts +77 -2
  56. package/dist/protocol/messages/agent-run-result.js +44 -2
  57. package/dist/protocol/messages/auth.d.ts +1 -0
  58. package/dist/protocol/messages/auth.js +1 -1
  59. package/dist/protocol/messages/browser.js +1 -1
  60. package/dist/protocol/messages/capabilities.d.ts +1 -0
  61. package/dist/protocol/messages/capabilities.js +1 -1
  62. package/dist/protocol/messages/common.js +1 -1
  63. package/dist/protocol/messages/dashboard-global-workflows.d.ts +6 -0
  64. package/dist/protocol/messages/dashboard-global-workflows.js +1 -1
  65. package/dist/protocol/messages/dashboard.d.ts +634 -18
  66. package/dist/protocol/messages/dashboard.js +111 -12
  67. package/dist/protocol/messages/deployment-identity.js +1 -1
  68. package/dist/protocol/messages/event-log.js +1 -1
  69. package/dist/protocol/messages/execution-status.d.ts +15 -3
  70. package/dist/protocol/messages/execution-status.js +19 -4
  71. package/dist/protocol/messages/join.js +1 -1
  72. package/dist/protocol/messages/log-pull.js +1 -1
  73. package/dist/protocol/messages/oidc-mint.d.ts +51 -0
  74. package/dist/protocol/messages/oidc-mint.js +55 -0
  75. package/dist/protocol/messages/oidc-token-relay.d.ts +31 -4
  76. package/dist/protocol/messages/oidc-token-relay.js +22 -7
  77. package/dist/protocol/messages/orchestrator-agent.d.ts +45 -0
  78. package/dist/protocol/messages/orchestrator-agent.js +30 -2
  79. package/dist/protocol/messages/pat-kind.js +1 -1
  80. package/dist/protocol/messages/peer.js +1 -1
  81. package/dist/protocol/messages/platform-orchestrator.d.ts +292 -10
  82. package/dist/protocol/messages/platform-orchestrator.js +5 -2
  83. package/dist/protocol/messages/run-events.d.ts +3 -0
  84. package/dist/protocol/messages/run-events.js +1 -1
  85. package/dist/protocol/messages/scaler-event.js +1 -1
  86. package/dist/protocol/messages/source-registration.js +1 -1
  87. package/dist/protocol/source-origin.d.ts +20 -0
  88. package/dist/protocol/source-origin.js +21 -0
  89. package/dist/protocol/version.js +1 -1
  90. package/dist/provenance/attestation-origin.d.ts +18 -0
  91. package/dist/provenance/attestation-origin.js +22 -0
  92. package/dist/provenance/bundle.js +1 -1
  93. package/dist/provenance/dsse.js +1 -1
  94. package/dist/provenance/schema.d.ts +48 -0
  95. package/dist/provenance/schema.js +21 -7
  96. package/dist/provenance/statement-hash.d.ts +9 -0
  97. package/dist/provenance/statement-hash.js +17 -0
  98. package/dist/provenance/verify.d.ts +7 -0
  99. package/dist/provenance/verify.js +49 -10
  100. package/dist/provider/changed-files-fetcher.js +1 -1
  101. package/dist/provider/check-run-conclusion.js +1 -1
  102. package/dist/provider/check-status-poster.js +1 -1
  103. package/dist/provider/clone-token-provider.js +1 -1
  104. package/dist/provider/contributor-resolver.js +1 -1
  105. package/dist/provider/index.js +1 -1
  106. package/dist/provider/lock-file-fetcher.js +1 -1
  107. package/dist/provider/lock-file-parse-error.js +1 -1
  108. package/dist/provider/repo-url-builder.js +1 -1
  109. package/dist/provider/types.js +1 -1
  110. package/dist/provider/webhook-normalizer.js +1 -1
  111. package/dist/registration/registerable-trigger-type.d.ts +1 -1
  112. package/dist/registration/registerable-trigger-type.js +1 -1
  113. package/dist/{chunk-BTugEXQM.js → rolldown-runtime-ClRpJifh.js} +0 -1
  114. package/dist/scaler/resource-types.js +1 -1
  115. package/dist/scaler/scaler-backend-type.js +1 -1
  116. package/dist/secrets/index.d.ts +1 -1
  117. package/dist/secrets/index.js +1 -1
  118. package/dist/secrets/types.d.ts +0 -24
  119. package/dist/secrets/types.js +1 -1
  120. package/dist/state-machine/index.js +1 -1
  121. package/dist/state-machine/machine.js +1 -1
  122. package/dist/state-machine/types.js +1 -1
  123. package/dist/trigger/decision-trace.js +1 -1
  124. package/dist/trigger/jsonpath-matcher.js +1 -1
  125. package/dist/trigger/matcher.js +1 -1
  126. package/dist/trigger/trigger-event-type.js +1 -1
  127. package/dist/trigger/types.js +1 -1
  128. package/dist/webhook/signature.js +1 -1
  129. package/dist/webhook/webhook-url-format.d.ts +7 -0
  130. package/dist/webhook/webhook-url-format.js +11 -2
  131. package/dist/ws/close-codes.d.ts +8 -2
  132. package/dist/ws/close-codes.js +10 -4
  133. package/dist/ws/rate-limiter.js +1 -1
  134. package/dist/ws/ws-like.js +1 -1
  135. package/package.json +9 -1
  136. 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";
@@ -357,17 +358,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
357
358
  orgId: z.ZodString;
358
359
  policy: z.ZodObject<{
359
360
  forkPolicy: z.ZodEnum<{
360
- reject: "reject";
361
361
  hold: "hold";
362
+ reject: "reject";
362
363
  allow: "allow";
363
364
  }>;
364
365
  unknownContributorPolicy: z.ZodEnum<{
365
- reject: "reject";
366
366
  hold: "hold";
367
+ reject: "reject";
367
368
  }>;
368
369
  workflowChangePolicy: z.ZodEnum<{
369
- reject: "reject";
370
370
  hold: "hold";
371
+ reject: "reject";
371
372
  allow: "allow";
372
373
  }>;
373
374
  approvalExpiryHours: z.ZodNumber;
@@ -449,6 +450,22 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
449
450
  workflowName: z.ZodString;
450
451
  jobNames: z.ZodArray<z.ZodString>;
451
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>>;
452
469
  }, z.core.$strip>, z.ZodObject<{
453
470
  type: z.ZodLiteral<"dashboard.run.detail">;
454
471
  requestId: z.ZodString;
@@ -463,6 +480,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
463
480
  type: z.ZodLiteral<"api_key">;
464
481
  keyId: z.ZodString;
465
482
  ownerSub: z.ZodString;
483
+ agent: z.ZodOptional<z.ZodObject<{
484
+ label: z.ZodString;
485
+ }, z.core.$strip>>;
466
486
  }, z.core.$strip>, z.ZodObject<{
467
487
  type: z.ZodLiteral<"service_account">;
468
488
  id: z.ZodString;
@@ -490,6 +510,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
490
510
  type: z.ZodLiteral<"api_key">;
491
511
  keyId: z.ZodString;
492
512
  ownerSub: z.ZodString;
513
+ agent: z.ZodOptional<z.ZodObject<{
514
+ label: z.ZodString;
515
+ }, z.core.$strip>>;
493
516
  }, z.core.$strip>, z.ZodObject<{
494
517
  type: z.ZodLiteral<"service_account">;
495
518
  id: z.ZodString;
@@ -517,6 +540,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
517
540
  type: z.ZodLiteral<"api_key">;
518
541
  keyId: z.ZodString;
519
542
  ownerSub: z.ZodString;
543
+ agent: z.ZodOptional<z.ZodObject<{
544
+ label: z.ZodString;
545
+ }, z.core.$strip>>;
520
546
  }, z.core.$strip>, z.ZodObject<{
521
547
  type: z.ZodLiteral<"service_account">;
522
548
  id: z.ZodString;
@@ -532,6 +558,8 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
532
558
  runId: z.ZodString;
533
559
  jobId: z.ZodString;
534
560
  stepIndex: z.ZodNumber;
561
+ cursor: z.ZodOptional<z.ZodString>;
562
+ limit: z.ZodOptional<z.ZodNumber>;
535
563
  }, z.core.$strip>, z.ZodObject<{
536
564
  type: z.ZodLiteral<"dashboard.attestations.list">;
537
565
  requestId: z.ZodString;
@@ -546,6 +574,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
546
574
  type: z.ZodLiteral<"api_key">;
547
575
  keyId: z.ZodString;
548
576
  ownerSub: z.ZodString;
577
+ agent: z.ZodOptional<z.ZodObject<{
578
+ label: z.ZodString;
579
+ }, z.core.$strip>>;
549
580
  }, z.core.$strip>, z.ZodObject<{
550
581
  type: z.ZodLiteral<"service_account">;
551
582
  id: z.ZodString;
@@ -573,6 +604,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
573
604
  type: z.ZodLiteral<"api_key">;
574
605
  keyId: z.ZodString;
575
606
  ownerSub: z.ZodString;
607
+ agent: z.ZodOptional<z.ZodObject<{
608
+ label: z.ZodString;
609
+ }, z.core.$strip>>;
576
610
  }, z.core.$strip>, z.ZodObject<{
577
611
  type: z.ZodLiteral<"service_account">;
578
612
  id: z.ZodString;
@@ -616,6 +650,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
616
650
  type: z.ZodLiteral<"api_key">;
617
651
  keyId: z.ZodString;
618
652
  ownerSub: z.ZodString;
653
+ agent: z.ZodOptional<z.ZodObject<{
654
+ label: z.ZodString;
655
+ }, z.core.$strip>>;
619
656
  }, z.core.$strip>, z.ZodObject<{
620
657
  type: z.ZodLiteral<"service_account">;
621
658
  id: z.ZodString;
@@ -629,6 +666,36 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
629
666
  component: z.ZodString;
630
667
  }, z.core.$strip>], "type">;
631
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>;
632
699
  }, z.core.$strip>, z.ZodObject<{
633
700
  type: z.ZodLiteral<"dashboard.runs.list">;
634
701
  requestId: z.ZodString;
@@ -643,6 +710,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
643
710
  type: z.ZodLiteral<"api_key">;
644
711
  keyId: z.ZodString;
645
712
  ownerSub: z.ZodString;
713
+ agent: z.ZodOptional<z.ZodObject<{
714
+ label: z.ZodString;
715
+ }, z.core.$strip>>;
646
716
  }, z.core.$strip>, z.ZodObject<{
647
717
  type: z.ZodLiteral<"service_account">;
648
718
  id: z.ZodString;
@@ -671,6 +741,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
671
741
  type: z.ZodLiteral<"api_key">;
672
742
  keyId: z.ZodString;
673
743
  ownerSub: z.ZodString;
744
+ agent: z.ZodOptional<z.ZodObject<{
745
+ label: z.ZodString;
746
+ }, z.core.$strip>>;
674
747
  }, z.core.$strip>, z.ZodObject<{
675
748
  type: z.ZodLiteral<"service_account">;
676
749
  id: z.ZodString;
@@ -697,6 +770,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
697
770
  type: z.ZodLiteral<"api_key">;
698
771
  keyId: z.ZodString;
699
772
  ownerSub: z.ZodString;
773
+ agent: z.ZodOptional<z.ZodObject<{
774
+ label: z.ZodString;
775
+ }, z.core.$strip>>;
700
776
  }, z.core.$strip>, z.ZodObject<{
701
777
  type: z.ZodLiteral<"service_account">;
702
778
  id: z.ZodString;
@@ -725,6 +801,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
725
801
  type: z.ZodLiteral<"api_key">;
726
802
  keyId: z.ZodString;
727
803
  ownerSub: z.ZodString;
804
+ agent: z.ZodOptional<z.ZodObject<{
805
+ label: z.ZodString;
806
+ }, z.core.$strip>>;
728
807
  }, z.core.$strip>, z.ZodObject<{
729
808
  type: z.ZodLiteral<"service_account">;
730
809
  id: z.ZodString;
@@ -753,6 +832,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
753
832
  type: z.ZodLiteral<"api_key">;
754
833
  keyId: z.ZodString;
755
834
  ownerSub: z.ZodString;
835
+ agent: z.ZodOptional<z.ZodObject<{
836
+ label: z.ZodString;
837
+ }, z.core.$strip>>;
756
838
  }, z.core.$strip>, z.ZodObject<{
757
839
  type: z.ZodLiteral<"service_account">;
758
840
  id: z.ZodString;
@@ -766,6 +848,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
766
848
  component: z.ZodString;
767
849
  }, z.core.$strip>], "type">;
768
850
  registrationId: z.ZodString;
851
+ triggeredByAgentLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
769
852
  }, z.core.$strip>, z.ZodObject<{
770
853
  type: z.ZodLiteral<"run.cancel.request">;
771
854
  requestId: z.ZodString;
@@ -780,6 +863,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
780
863
  type: z.ZodLiteral<"api_key">;
781
864
  keyId: z.ZodString;
782
865
  ownerSub: z.ZodString;
866
+ agent: z.ZodOptional<z.ZodObject<{
867
+ label: z.ZodString;
868
+ }, z.core.$strip>>;
783
869
  }, z.core.$strip>, z.ZodObject<{
784
870
  type: z.ZodLiteral<"service_account">;
785
871
  id: z.ZodString;
@@ -808,6 +894,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
808
894
  type: z.ZodLiteral<"api_key">;
809
895
  keyId: z.ZodString;
810
896
  ownerSub: z.ZodString;
897
+ agent: z.ZodOptional<z.ZodObject<{
898
+ label: z.ZodString;
899
+ }, z.core.$strip>>;
811
900
  }, z.core.$strip>, z.ZodObject<{
812
901
  type: z.ZodLiteral<"service_account">;
813
902
  id: z.ZodString;
@@ -835,6 +924,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
835
924
  type: z.ZodLiteral<"api_key">;
836
925
  keyId: z.ZodString;
837
926
  ownerSub: z.ZodString;
927
+ agent: z.ZodOptional<z.ZodObject<{
928
+ label: z.ZodString;
929
+ }, z.core.$strip>>;
838
930
  }, z.core.$strip>, z.ZodObject<{
839
931
  type: z.ZodLiteral<"service_account">;
840
932
  id: z.ZodString;
@@ -863,6 +955,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
863
955
  type: z.ZodLiteral<"api_key">;
864
956
  keyId: z.ZodString;
865
957
  ownerSub: z.ZodString;
958
+ agent: z.ZodOptional<z.ZodObject<{
959
+ label: z.ZodString;
960
+ }, z.core.$strip>>;
866
961
  }, z.core.$strip>, z.ZodObject<{
867
962
  type: z.ZodLiteral<"service_account">;
868
963
  id: z.ZodString;
@@ -891,6 +986,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
891
986
  type: z.ZodLiteral<"api_key">;
892
987
  keyId: z.ZodString;
893
988
  ownerSub: z.ZodString;
989
+ agent: z.ZodOptional<z.ZodObject<{
990
+ label: z.ZodString;
991
+ }, z.core.$strip>>;
894
992
  }, z.core.$strip>, z.ZodObject<{
895
993
  type: z.ZodLiteral<"service_account">;
896
994
  id: z.ZodString;
@@ -918,6 +1016,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
918
1016
  type: z.ZodLiteral<"api_key">;
919
1017
  keyId: z.ZodString;
920
1018
  ownerSub: z.ZodString;
1019
+ agent: z.ZodOptional<z.ZodObject<{
1020
+ label: z.ZodString;
1021
+ }, z.core.$strip>>;
921
1022
  }, z.core.$strip>, z.ZodObject<{
922
1023
  type: z.ZodLiteral<"service_account">;
923
1024
  id: z.ZodString;
@@ -960,6 +1061,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
960
1061
  type: z.ZodLiteral<"api_key">;
961
1062
  keyId: z.ZodString;
962
1063
  ownerSub: z.ZodString;
1064
+ agent: z.ZodOptional<z.ZodObject<{
1065
+ label: z.ZodString;
1066
+ }, z.core.$strip>>;
963
1067
  }, z.core.$strip>, z.ZodObject<{
964
1068
  type: z.ZodLiteral<"service_account">;
965
1069
  id: z.ZodString;
@@ -1005,6 +1109,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1005
1109
  type: z.ZodLiteral<"api_key">;
1006
1110
  keyId: z.ZodString;
1007
1111
  ownerSub: z.ZodString;
1112
+ agent: z.ZodOptional<z.ZodObject<{
1113
+ label: z.ZodString;
1114
+ }, z.core.$strip>>;
1008
1115
  }, z.core.$strip>, z.ZodObject<{
1009
1116
  type: z.ZodLiteral<"service_account">;
1010
1117
  id: z.ZodString;
@@ -1033,6 +1140,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1033
1140
  type: z.ZodLiteral<"api_key">;
1034
1141
  keyId: z.ZodString;
1035
1142
  ownerSub: z.ZodString;
1143
+ agent: z.ZodOptional<z.ZodObject<{
1144
+ label: z.ZodString;
1145
+ }, z.core.$strip>>;
1036
1146
  }, z.core.$strip>, z.ZodObject<{
1037
1147
  type: z.ZodLiteral<"service_account">;
1038
1148
  id: z.ZodString;
@@ -1060,6 +1170,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1060
1170
  type: z.ZodLiteral<"api_key">;
1061
1171
  keyId: z.ZodString;
1062
1172
  ownerSub: z.ZodString;
1173
+ agent: z.ZodOptional<z.ZodObject<{
1174
+ label: z.ZodString;
1175
+ }, z.core.$strip>>;
1063
1176
  }, z.core.$strip>, z.ZodObject<{
1064
1177
  type: z.ZodLiteral<"service_account">;
1065
1178
  id: z.ZodString;
@@ -1087,6 +1200,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1087
1200
  type: z.ZodLiteral<"api_key">;
1088
1201
  keyId: z.ZodString;
1089
1202
  ownerSub: z.ZodString;
1203
+ agent: z.ZodOptional<z.ZodObject<{
1204
+ label: z.ZodString;
1205
+ }, z.core.$strip>>;
1090
1206
  }, z.core.$strip>, z.ZodObject<{
1091
1207
  type: z.ZodLiteral<"service_account">;
1092
1208
  id: z.ZodString;
@@ -1117,6 +1233,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1117
1233
  type: z.ZodLiteral<"api_key">;
1118
1234
  keyId: z.ZodString;
1119
1235
  ownerSub: z.ZodString;
1236
+ agent: z.ZodOptional<z.ZodObject<{
1237
+ label: z.ZodString;
1238
+ }, z.core.$strip>>;
1120
1239
  }, z.core.$strip>, z.ZodObject<{
1121
1240
  type: z.ZodLiteral<"service_account">;
1122
1241
  id: z.ZodString;
@@ -1145,6 +1264,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1145
1264
  type: z.ZodLiteral<"api_key">;
1146
1265
  keyId: z.ZodString;
1147
1266
  ownerSub: z.ZodString;
1267
+ agent: z.ZodOptional<z.ZodObject<{
1268
+ label: z.ZodString;
1269
+ }, z.core.$strip>>;
1148
1270
  }, z.core.$strip>, z.ZodObject<{
1149
1271
  type: z.ZodLiteral<"service_account">;
1150
1272
  id: z.ZodString;
@@ -1173,6 +1295,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1173
1295
  type: z.ZodLiteral<"api_key">;
1174
1296
  keyId: z.ZodString;
1175
1297
  ownerSub: z.ZodString;
1298
+ agent: z.ZodOptional<z.ZodObject<{
1299
+ label: z.ZodString;
1300
+ }, z.core.$strip>>;
1176
1301
  }, z.core.$strip>, z.ZodObject<{
1177
1302
  type: z.ZodLiteral<"service_account">;
1178
1303
  id: z.ZodString;
@@ -1203,6 +1328,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1203
1328
  type: z.ZodLiteral<"api_key">;
1204
1329
  keyId: z.ZodString;
1205
1330
  ownerSub: z.ZodString;
1331
+ agent: z.ZodOptional<z.ZodObject<{
1332
+ label: z.ZodString;
1333
+ }, z.core.$strip>>;
1206
1334
  }, z.core.$strip>, z.ZodObject<{
1207
1335
  type: z.ZodLiteral<"service_account">;
1208
1336
  id: z.ZodString;
@@ -1232,6 +1360,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1232
1360
  type: z.ZodLiteral<"api_key">;
1233
1361
  keyId: z.ZodString;
1234
1362
  ownerSub: z.ZodString;
1363
+ agent: z.ZodOptional<z.ZodObject<{
1364
+ label: z.ZodString;
1365
+ }, z.core.$strip>>;
1235
1366
  }, z.core.$strip>, z.ZodObject<{
1236
1367
  type: z.ZodLiteral<"service_account">;
1237
1368
  id: z.ZodString;
@@ -1259,6 +1390,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1259
1390
  type: z.ZodLiteral<"api_key">;
1260
1391
  keyId: z.ZodString;
1261
1392
  ownerSub: z.ZodString;
1393
+ agent: z.ZodOptional<z.ZodObject<{
1394
+ label: z.ZodString;
1395
+ }, z.core.$strip>>;
1262
1396
  }, z.core.$strip>, z.ZodObject<{
1263
1397
  type: z.ZodLiteral<"service_account">;
1264
1398
  id: z.ZodString;
@@ -1290,6 +1424,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1290
1424
  type: z.ZodLiteral<"api_key">;
1291
1425
  keyId: z.ZodString;
1292
1426
  ownerSub: z.ZodString;
1427
+ agent: z.ZodOptional<z.ZodObject<{
1428
+ label: z.ZodString;
1429
+ }, z.core.$strip>>;
1293
1430
  }, z.core.$strip>, z.ZodObject<{
1294
1431
  type: z.ZodLiteral<"service_account">;
1295
1432
  id: z.ZodString;
@@ -1316,6 +1453,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1316
1453
  type: z.ZodLiteral<"api_key">;
1317
1454
  keyId: z.ZodString;
1318
1455
  ownerSub: z.ZodString;
1456
+ agent: z.ZodOptional<z.ZodObject<{
1457
+ label: z.ZodString;
1458
+ }, z.core.$strip>>;
1319
1459
  }, z.core.$strip>, z.ZodObject<{
1320
1460
  type: z.ZodLiteral<"service_account">;
1321
1461
  id: z.ZodString;
@@ -1345,6 +1485,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1345
1485
  type: z.ZodLiteral<"api_key">;
1346
1486
  keyId: z.ZodString;
1347
1487
  ownerSub: z.ZodString;
1488
+ agent: z.ZodOptional<z.ZodObject<{
1489
+ label: z.ZodString;
1490
+ }, z.core.$strip>>;
1348
1491
  }, z.core.$strip>, z.ZodObject<{
1349
1492
  type: z.ZodLiteral<"service_account">;
1350
1493
  id: z.ZodString;
@@ -1373,6 +1516,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1373
1516
  type: z.ZodLiteral<"api_key">;
1374
1517
  keyId: z.ZodString;
1375
1518
  ownerSub: z.ZodString;
1519
+ agent: z.ZodOptional<z.ZodObject<{
1520
+ label: z.ZodString;
1521
+ }, z.core.$strip>>;
1376
1522
  }, z.core.$strip>, z.ZodObject<{
1377
1523
  type: z.ZodLiteral<"service_account">;
1378
1524
  id: z.ZodString;
@@ -1400,6 +1546,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1400
1546
  type: z.ZodLiteral<"api_key">;
1401
1547
  keyId: z.ZodString;
1402
1548
  ownerSub: z.ZodString;
1549
+ agent: z.ZodOptional<z.ZodObject<{
1550
+ label: z.ZodString;
1551
+ }, z.core.$strip>>;
1403
1552
  }, z.core.$strip>, z.ZodObject<{
1404
1553
  type: z.ZodLiteral<"service_account">;
1405
1554
  id: z.ZodString;
@@ -1428,6 +1577,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1428
1577
  type: z.ZodLiteral<"api_key">;
1429
1578
  keyId: z.ZodString;
1430
1579
  ownerSub: z.ZodString;
1580
+ agent: z.ZodOptional<z.ZodObject<{
1581
+ label: z.ZodString;
1582
+ }, z.core.$strip>>;
1431
1583
  }, z.core.$strip>, z.ZodObject<{
1432
1584
  type: z.ZodLiteral<"service_account">;
1433
1585
  id: z.ZodString;
@@ -1455,6 +1607,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1455
1607
  type: z.ZodLiteral<"api_key">;
1456
1608
  keyId: z.ZodString;
1457
1609
  ownerSub: z.ZodString;
1610
+ agent: z.ZodOptional<z.ZodObject<{
1611
+ label: z.ZodString;
1612
+ }, z.core.$strip>>;
1458
1613
  }, z.core.$strip>, z.ZodObject<{
1459
1614
  type: z.ZodLiteral<"service_account">;
1460
1615
  id: z.ZodString;
@@ -1467,7 +1622,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1467
1622
  type: z.ZodLiteral<"system">;
1468
1623
  component: z.ZodString;
1469
1624
  }, z.core.$strip>], "type">;
1470
- environmentName: z.ZodString;
1625
+ environmentId: z.ZodString;
1471
1626
  limit: z.ZodOptional<z.ZodNumber>;
1472
1627
  offset: z.ZodOptional<z.ZodNumber>;
1473
1628
  }, z.core.$strip>, z.ZodObject<{
@@ -1484,6 +1639,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1484
1639
  type: z.ZodLiteral<"api_key">;
1485
1640
  keyId: z.ZodString;
1486
1641
  ownerSub: z.ZodString;
1642
+ agent: z.ZodOptional<z.ZodObject<{
1643
+ label: z.ZodString;
1644
+ }, z.core.$strip>>;
1487
1645
  }, z.core.$strip>, z.ZodObject<{
1488
1646
  type: z.ZodLiteral<"service_account">;
1489
1647
  id: z.ZodString;
@@ -1507,6 +1665,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1507
1665
  security: "security";
1508
1666
  }>>;
1509
1667
  runId: z.ZodOptional<z.ZodString>;
1668
+ orgId: z.ZodOptional<z.ZodString>;
1510
1669
  }, z.core.$strip>, z.ZodObject<{
1511
1670
  type: z.ZodLiteral<"dashboard.held-runs.approve">;
1512
1671
  requestId: z.ZodString;
@@ -1521,6 +1680,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1521
1680
  type: z.ZodLiteral<"api_key">;
1522
1681
  keyId: z.ZodString;
1523
1682
  ownerSub: z.ZodString;
1683
+ agent: z.ZodOptional<z.ZodObject<{
1684
+ label: z.ZodString;
1685
+ }, z.core.$strip>>;
1524
1686
  }, z.core.$strip>, z.ZodObject<{
1525
1687
  type: z.ZodLiteral<"service_account">;
1526
1688
  id: z.ZodString;
@@ -1535,6 +1697,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1535
1697
  }, z.core.$strip>], "type">;
1536
1698
  heldRunId: z.ZodString;
1537
1699
  autoApprove: z.ZodOptional<z.ZodBoolean>;
1700
+ orgId: z.ZodOptional<z.ZodString>;
1538
1701
  }, z.core.$strip>, z.ZodObject<{
1539
1702
  type: z.ZodLiteral<"dashboard.held-runs.reject">;
1540
1703
  requestId: z.ZodString;
@@ -1549,6 +1712,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1549
1712
  type: z.ZodLiteral<"api_key">;
1550
1713
  keyId: z.ZodString;
1551
1714
  ownerSub: z.ZodString;
1715
+ agent: z.ZodOptional<z.ZodObject<{
1716
+ label: z.ZodString;
1717
+ }, z.core.$strip>>;
1552
1718
  }, z.core.$strip>, z.ZodObject<{
1553
1719
  type: z.ZodLiteral<"service_account">;
1554
1720
  id: z.ZodString;
@@ -1563,6 +1729,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1563
1729
  }, z.core.$strip>], "type">;
1564
1730
  heldRunId: z.ZodString;
1565
1731
  reason: z.ZodOptional<z.ZodString>;
1732
+ orgId: z.ZodOptional<z.ZodString>;
1566
1733
  }, z.core.$strip>, z.ZodObject<{
1567
1734
  type: z.ZodLiteral<"dashboard.registrations.list">;
1568
1735
  requestId: z.ZodString;
@@ -1577,6 +1744,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1577
1744
  type: z.ZodLiteral<"api_key">;
1578
1745
  keyId: z.ZodString;
1579
1746
  ownerSub: z.ZodString;
1747
+ agent: z.ZodOptional<z.ZodObject<{
1748
+ label: z.ZodString;
1749
+ }, z.core.$strip>>;
1580
1750
  }, z.core.$strip>, z.ZodObject<{
1581
1751
  type: z.ZodLiteral<"service_account">;
1582
1752
  id: z.ZodString;
@@ -1605,6 +1775,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1605
1775
  type: z.ZodLiteral<"api_key">;
1606
1776
  keyId: z.ZodString;
1607
1777
  ownerSub: z.ZodString;
1778
+ agent: z.ZodOptional<z.ZodObject<{
1779
+ label: z.ZodString;
1780
+ }, z.core.$strip>>;
1608
1781
  }, z.core.$strip>, z.ZodObject<{
1609
1782
  type: z.ZodLiteral<"service_account">;
1610
1783
  id: z.ZodString;
@@ -1633,6 +1806,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1633
1806
  type: z.ZodLiteral<"api_key">;
1634
1807
  keyId: z.ZodString;
1635
1808
  ownerSub: z.ZodString;
1809
+ agent: z.ZodOptional<z.ZodObject<{
1810
+ label: z.ZodString;
1811
+ }, z.core.$strip>>;
1636
1812
  }, z.core.$strip>, z.ZodObject<{
1637
1813
  type: z.ZodLiteral<"service_account">;
1638
1814
  id: z.ZodString;
@@ -1661,6 +1837,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1661
1837
  type: z.ZodLiteral<"api_key">;
1662
1838
  keyId: z.ZodString;
1663
1839
  ownerSub: z.ZodString;
1840
+ agent: z.ZodOptional<z.ZodObject<{
1841
+ label: z.ZodString;
1842
+ }, z.core.$strip>>;
1664
1843
  }, z.core.$strip>, z.ZodObject<{
1665
1844
  type: z.ZodLiteral<"service_account">;
1666
1845
  id: z.ZodString;
@@ -1688,6 +1867,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1688
1867
  type: z.ZodLiteral<"api_key">;
1689
1868
  keyId: z.ZodString;
1690
1869
  ownerSub: z.ZodString;
1870
+ agent: z.ZodOptional<z.ZodObject<{
1871
+ label: z.ZodString;
1872
+ }, z.core.$strip>>;
1691
1873
  }, z.core.$strip>, z.ZodObject<{
1692
1874
  type: z.ZodLiteral<"service_account">;
1693
1875
  id: z.ZodString;
@@ -1714,6 +1896,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1714
1896
  type: z.ZodLiteral<"api_key">;
1715
1897
  keyId: z.ZodString;
1716
1898
  ownerSub: z.ZodString;
1899
+ agent: z.ZodOptional<z.ZodObject<{
1900
+ label: z.ZodString;
1901
+ }, z.core.$strip>>;
1717
1902
  }, z.core.$strip>, z.ZodObject<{
1718
1903
  type: z.ZodLiteral<"service_account">;
1719
1904
  id: z.ZodString;
@@ -1741,6 +1926,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1741
1926
  type: z.ZodLiteral<"api_key">;
1742
1927
  keyId: z.ZodString;
1743
1928
  ownerSub: z.ZodString;
1929
+ agent: z.ZodOptional<z.ZodObject<{
1930
+ label: z.ZodString;
1931
+ }, z.core.$strip>>;
1744
1932
  }, z.core.$strip>, z.ZodObject<{
1745
1933
  type: z.ZodLiteral<"service_account">;
1746
1934
  id: z.ZodString;
@@ -1768,6 +1956,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1768
1956
  type: z.ZodLiteral<"api_key">;
1769
1957
  keyId: z.ZodString;
1770
1958
  ownerSub: z.ZodString;
1959
+ agent: z.ZodOptional<z.ZodObject<{
1960
+ label: z.ZodString;
1961
+ }, z.core.$strip>>;
1771
1962
  }, z.core.$strip>, z.ZodObject<{
1772
1963
  type: z.ZodLiteral<"service_account">;
1773
1964
  id: z.ZodString;
@@ -1795,6 +1986,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1795
1986
  type: z.ZodLiteral<"api_key">;
1796
1987
  keyId: z.ZodString;
1797
1988
  ownerSub: z.ZodString;
1989
+ agent: z.ZodOptional<z.ZodObject<{
1990
+ label: z.ZodString;
1991
+ }, z.core.$strip>>;
1798
1992
  }, z.core.$strip>, z.ZodObject<{
1799
1993
  type: z.ZodLiteral<"service_account">;
1800
1994
  id: z.ZodString;
@@ -1825,6 +2019,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1825
2019
  type: z.ZodLiteral<"api_key">;
1826
2020
  keyId: z.ZodString;
1827
2021
  ownerSub: z.ZodString;
2022
+ agent: z.ZodOptional<z.ZodObject<{
2023
+ label: z.ZodString;
2024
+ }, z.core.$strip>>;
1828
2025
  }, z.core.$strip>, z.ZodObject<{
1829
2026
  type: z.ZodLiteral<"service_account">;
1830
2027
  id: z.ZodString;
@@ -1852,6 +2049,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1852
2049
  type: z.ZodLiteral<"api_key">;
1853
2050
  keyId: z.ZodString;
1854
2051
  ownerSub: z.ZodString;
2052
+ agent: z.ZodOptional<z.ZodObject<{
2053
+ label: z.ZodString;
2054
+ }, z.core.$strip>>;
1855
2055
  }, z.core.$strip>, z.ZodObject<{
1856
2056
  type: z.ZodLiteral<"service_account">;
1857
2057
  id: z.ZodString;
@@ -1878,6 +2078,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1878
2078
  type: z.ZodLiteral<"api_key">;
1879
2079
  keyId: z.ZodString;
1880
2080
  ownerSub: z.ZodString;
2081
+ agent: z.ZodOptional<z.ZodObject<{
2082
+ label: z.ZodString;
2083
+ }, z.core.$strip>>;
1881
2084
  }, z.core.$strip>, z.ZodObject<{
1882
2085
  type: z.ZodLiteral<"service_account">;
1883
2086
  id: z.ZodString;
@@ -1905,6 +2108,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1905
2108
  type: z.ZodLiteral<"api_key">;
1906
2109
  keyId: z.ZodString;
1907
2110
  ownerSub: z.ZodString;
2111
+ agent: z.ZodOptional<z.ZodObject<{
2112
+ label: z.ZodString;
2113
+ }, z.core.$strip>>;
1908
2114
  }, z.core.$strip>, z.ZodObject<{
1909
2115
  type: z.ZodLiteral<"service_account">;
1910
2116
  id: z.ZodString;
@@ -1931,6 +2137,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1931
2137
  type: z.ZodLiteral<"api_key">;
1932
2138
  keyId: z.ZodString;
1933
2139
  ownerSub: z.ZodString;
2140
+ agent: z.ZodOptional<z.ZodObject<{
2141
+ label: z.ZodString;
2142
+ }, z.core.$strip>>;
1934
2143
  }, z.core.$strip>, z.ZodObject<{
1935
2144
  type: z.ZodLiteral<"service_account">;
1936
2145
  id: z.ZodString;
@@ -1958,6 +2167,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1958
2167
  type: z.ZodLiteral<"api_key">;
1959
2168
  keyId: z.ZodString;
1960
2169
  ownerSub: z.ZodString;
2170
+ agent: z.ZodOptional<z.ZodObject<{
2171
+ label: z.ZodString;
2172
+ }, z.core.$strip>>;
1961
2173
  }, z.core.$strip>, z.ZodObject<{
1962
2174
  type: z.ZodLiteral<"service_account">;
1963
2175
  id: z.ZodString;
@@ -1984,6 +2196,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
1984
2196
  type: z.ZodLiteral<"api_key">;
1985
2197
  keyId: z.ZodString;
1986
2198
  ownerSub: z.ZodString;
2199
+ agent: z.ZodOptional<z.ZodObject<{
2200
+ label: z.ZodString;
2201
+ }, z.core.$strip>>;
1987
2202
  }, z.core.$strip>, z.ZodObject<{
1988
2203
  type: z.ZodLiteral<"service_account">;
1989
2204
  id: z.ZodString;
@@ -2011,6 +2226,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
2011
2226
  type: z.ZodLiteral<"api_key">;
2012
2227
  keyId: z.ZodString;
2013
2228
  ownerSub: z.ZodString;
2229
+ agent: z.ZodOptional<z.ZodObject<{
2230
+ label: z.ZodString;
2231
+ }, z.core.$strip>>;
2014
2232
  }, z.core.$strip>, z.ZodObject<{
2015
2233
  type: z.ZodLiteral<"service_account">;
2016
2234
  id: z.ZodString;
@@ -2038,6 +2256,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
2038
2256
  type: z.ZodLiteral<"api_key">;
2039
2257
  keyId: z.ZodString;
2040
2258
  ownerSub: z.ZodString;
2259
+ agent: z.ZodOptional<z.ZodObject<{
2260
+ label: z.ZodString;
2261
+ }, z.core.$strip>>;
2041
2262
  }, z.core.$strip>, z.ZodObject<{
2042
2263
  type: z.ZodLiteral<"service_account">;
2043
2264
  id: z.ZodString;
@@ -2080,6 +2301,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
2080
2301
  type: z.ZodLiteral<"api_key">;
2081
2302
  keyId: z.ZodString;
2082
2303
  ownerSub: z.ZodString;
2304
+ agent: z.ZodOptional<z.ZodObject<{
2305
+ label: z.ZodString;
2306
+ }, z.core.$strip>>;
2083
2307
  }, z.core.$strip>, z.ZodObject<{
2084
2308
  type: z.ZodLiteral<"service_account">;
2085
2309
  id: z.ZodString;
@@ -2109,6 +2333,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
2109
2333
  type: z.ZodLiteral<"api_key">;
2110
2334
  keyId: z.ZodString;
2111
2335
  ownerSub: z.ZodString;
2336
+ agent: z.ZodOptional<z.ZodObject<{
2337
+ label: z.ZodString;
2338
+ }, z.core.$strip>>;
2112
2339
  }, z.core.$strip>, z.ZodObject<{
2113
2340
  type: z.ZodLiteral<"service_account">;
2114
2341
  id: z.ZodString;
@@ -2138,6 +2365,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
2138
2365
  type: z.ZodLiteral<"api_key">;
2139
2366
  keyId: z.ZodString;
2140
2367
  ownerSub: z.ZodString;
2368
+ agent: z.ZodOptional<z.ZodObject<{
2369
+ label: z.ZodString;
2370
+ }, z.core.$strip>>;
2141
2371
  }, z.core.$strip>, z.ZodObject<{
2142
2372
  type: z.ZodLiteral<"service_account">;
2143
2373
  id: z.ZodString;
@@ -2167,6 +2397,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
2167
2397
  type: z.ZodLiteral<"api_key">;
2168
2398
  keyId: z.ZodString;
2169
2399
  ownerSub: z.ZodString;
2400
+ agent: z.ZodOptional<z.ZodObject<{
2401
+ label: z.ZodString;
2402
+ }, z.core.$strip>>;
2170
2403
  }, z.core.$strip>, z.ZodObject<{
2171
2404
  type: z.ZodLiteral<"service_account">;
2172
2405
  id: z.ZodString;
@@ -2194,6 +2427,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
2194
2427
  type: z.ZodLiteral<"api_key">;
2195
2428
  keyId: z.ZodString;
2196
2429
  ownerSub: z.ZodString;
2430
+ agent: z.ZodOptional<z.ZodObject<{
2431
+ label: z.ZodString;
2432
+ }, z.core.$strip>>;
2197
2433
  }, z.core.$strip>, z.ZodObject<{
2198
2434
  type: z.ZodLiteral<"service_account">;
2199
2435
  id: z.ZodString;
@@ -2222,6 +2458,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
2222
2458
  type: z.ZodLiteral<"api_key">;
2223
2459
  keyId: z.ZodString;
2224
2460
  ownerSub: z.ZodString;
2461
+ agent: z.ZodOptional<z.ZodObject<{
2462
+ label: z.ZodString;
2463
+ }, z.core.$strip>>;
2225
2464
  }, z.core.$strip>, z.ZodObject<{
2226
2465
  type: z.ZodLiteral<"service_account">;
2227
2466
  id: z.ZodString;
@@ -2250,6 +2489,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
2250
2489
  type: z.ZodLiteral<"api_key">;
2251
2490
  keyId: z.ZodString;
2252
2491
  ownerSub: z.ZodString;
2492
+ agent: z.ZodOptional<z.ZodObject<{
2493
+ label: z.ZodString;
2494
+ }, z.core.$strip>>;
2253
2495
  }, z.core.$strip>, z.ZodObject<{
2254
2496
  type: z.ZodLiteral<"service_account">;
2255
2497
  id: z.ZodString;
@@ -2276,6 +2518,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
2276
2518
  type: z.ZodLiteral<"api_key">;
2277
2519
  keyId: z.ZodString;
2278
2520
  ownerSub: z.ZodString;
2521
+ agent: z.ZodOptional<z.ZodObject<{
2522
+ label: z.ZodString;
2523
+ }, z.core.$strip>>;
2279
2524
  }, z.core.$strip>, z.ZodObject<{
2280
2525
  type: z.ZodLiteral<"service_account">;
2281
2526
  id: z.ZodString;
@@ -2315,6 +2560,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
2315
2560
  type: z.ZodLiteral<"api_key">;
2316
2561
  keyId: z.ZodString;
2317
2562
  ownerSub: z.ZodString;
2563
+ agent: z.ZodOptional<z.ZodObject<{
2564
+ label: z.ZodString;
2565
+ }, z.core.$strip>>;
2318
2566
  }, z.core.$strip>, z.ZodObject<{
2319
2567
  type: z.ZodLiteral<"service_account">;
2320
2568
  id: z.ZodString;
@@ -2420,9 +2668,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
2420
2668
  denied: "denied";
2421
2669
  }>>;
2422
2670
  targetType: z.ZodOptional<z.ZodEnum<{
2423
- run: "run";
2424
2671
  job: "job";
2425
2672
  step: "step";
2673
+ run: "run";
2426
2674
  environment: "environment";
2427
2675
  payload: "payload";
2428
2676
  event_log: "event_log";
@@ -2444,6 +2692,8 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
2444
2692
  fromTimestamp: z.ZodOptional<z.ZodString>;
2445
2693
  toTimestamp: z.ZodOptional<z.ZodString>;
2446
2694
  q: z.ZodOptional<z.ZodString>;
2695
+ agentLabel: z.ZodOptional<z.ZodString>;
2696
+ agentOnly: z.ZodOptional<z.ZodBoolean>;
2447
2697
  limit: z.ZodOptional<z.ZodNumber>;
2448
2698
  cursor: z.ZodOptional<z.ZodString>;
2449
2699
  }, z.core.$strip>, z.ZodObject<{
@@ -2460,6 +2710,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
2460
2710
  type: z.ZodLiteral<"api_key">;
2461
2711
  keyId: z.ZodString;
2462
2712
  ownerSub: z.ZodString;
2713
+ agent: z.ZodOptional<z.ZodObject<{
2714
+ label: z.ZodString;
2715
+ }, z.core.$strip>>;
2463
2716
  }, z.core.$strip>, z.ZodObject<{
2464
2717
  type: z.ZodLiteral<"service_account">;
2465
2718
  id: z.ZodString;
@@ -2490,6 +2743,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
2490
2743
  type: z.ZodLiteral<"api_key">;
2491
2744
  keyId: z.ZodString;
2492
2745
  ownerSub: z.ZodString;
2746
+ agent: z.ZodOptional<z.ZodObject<{
2747
+ label: z.ZodString;
2748
+ }, z.core.$strip>>;
2493
2749
  }, z.core.$strip>, z.ZodObject<{
2494
2750
  type: z.ZodLiteral<"service_account">;
2495
2751
  id: z.ZodString;
@@ -2561,6 +2817,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
2561
2817
  type: z.ZodLiteral<"api_key">;
2562
2818
  keyId: z.ZodString;
2563
2819
  ownerSub: z.ZodString;
2820
+ agent: z.ZodOptional<z.ZodObject<{
2821
+ label: z.ZodString;
2822
+ }, z.core.$strip>>;
2564
2823
  }, z.core.$strip>, z.ZodObject<{
2565
2824
  type: z.ZodLiteral<"service_account">;
2566
2825
  id: z.ZodString;
@@ -2588,6 +2847,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
2588
2847
  type: z.ZodLiteral<"api_key">;
2589
2848
  keyId: z.ZodString;
2590
2849
  ownerSub: z.ZodString;
2850
+ agent: z.ZodOptional<z.ZodObject<{
2851
+ label: z.ZodString;
2852
+ }, z.core.$strip>>;
2591
2853
  }, z.core.$strip>, z.ZodObject<{
2592
2854
  type: z.ZodLiteral<"service_account">;
2593
2855
  id: z.ZodString;
@@ -2616,6 +2878,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
2616
2878
  type: z.ZodLiteral<"api_key">;
2617
2879
  keyId: z.ZodString;
2618
2880
  ownerSub: z.ZodString;
2881
+ agent: z.ZodOptional<z.ZodObject<{
2882
+ label: z.ZodString;
2883
+ }, z.core.$strip>>;
2619
2884
  }, z.core.$strip>, z.ZodObject<{
2620
2885
  type: z.ZodLiteral<"service_account">;
2621
2886
  id: z.ZodString;
@@ -2698,6 +2963,7 @@ export declare const orchestratorToPlatformMessageSchema: z.ZodDiscriminatedUnio
2698
2963
  parentRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2699
2964
  originalRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2700
2965
  triggeredBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2966
+ triggeredByAgentLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2701
2967
  triggerActorProvider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2702
2968
  triggerActorUsername: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2703
2969
  triggerActorUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2705,8 +2971,8 @@ export declare const orchestratorToPlatformMessageSchema: z.ZodDiscriminatedUnio
2705
2971
  logBytes: z.ZodOptional<z.ZodNumber>;
2706
2972
  initFailure: z.ZodOptional<z.ZodObject<{
2707
2973
  scope: z.ZodEnum<{
2708
- run: "run";
2709
2974
  job: "job";
2975
+ run: "run";
2710
2976
  }>;
2711
2977
  category: z.ZodEnum<{
2712
2978
  secret_resolution: "secret_resolution";
@@ -2778,8 +3044,8 @@ export declare const orchestratorToPlatformMessageSchema: z.ZodDiscriminatedUnio
2778
3044
  timestamp: z.ZodNumber;
2779
3045
  initFailure: z.ZodOptional<z.ZodObject<{
2780
3046
  scope: z.ZodEnum<{
2781
- run: "run";
2782
3047
  job: "job";
3048
+ run: "run";
2783
3049
  }>;
2784
3050
  category: z.ZodEnum<{
2785
3051
  secret_resolution: "secret_resolution";
@@ -2822,6 +3088,7 @@ export declare const orchestratorToPlatformMessageSchema: z.ZodDiscriminatedUnio
2822
3088
  parentRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2823
3089
  originalRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2824
3090
  triggeredBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3091
+ triggeredByAgentLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2825
3092
  failureReason: z.ZodOptional<z.ZodString>;
2826
3093
  jobs: z.ZodArray<z.ZodObject<{
2827
3094
  jobId: z.ZodString;
@@ -2863,6 +3130,7 @@ export declare const orchestratorToPlatformMessageSchema: z.ZodDiscriminatedUnio
2863
3130
  "held_runs.reject": "held_runs.reject";
2864
3131
  "event_dlq.retry": "event_dlq.retry";
2865
3132
  "event_dlq.discard": "event_dlq.discard";
3133
+ "attestations.retry": "attestations.retry";
2866
3134
  "registration.disable": "registration.disable";
2867
3135
  "registration.delete": "registration.delete";
2868
3136
  "global_workflows.update": "global_workflows.update";
@@ -2960,6 +3228,7 @@ export declare const orchestratorToPlatformMessageSchema: z.ZodDiscriminatedUnio
2960
3228
  "held_runs.reject": "held_runs.reject";
2961
3229
  "event_dlq.retry": "event_dlq.retry";
2962
3230
  "event_dlq.discard": "event_dlq.discard";
3231
+ "attestations.retry": "attestations.retry";
2963
3232
  "registration.disable": "registration.disable";
2964
3233
  "registration.delete": "registration.delete";
2965
3234
  "global_workflows.update": "global_workflows.update";
@@ -3045,6 +3314,19 @@ export declare const orchestratorToPlatformMessageSchema: z.ZodDiscriminatedUnio
3045
3314
  sum: z.ZodOptional<z.ZodNumber>;
3046
3315
  }, z.core.$strip>>;
3047
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
+ }>>;
3048
3330
  }, z.core.$strip>], "type">;
3049
3331
  export type WebhookRelay = z.infer<typeof webhookRelaySchema>;
3050
3332
  export type WebhookAck = z.infer<typeof webhookAckSchema>;