@kici-dev/engine 0.1.14 → 0.1.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -1
- package/dist/approval/types.d.ts +56 -0
- package/dist/approval/types.js +42 -0
- package/dist/audit/access-log-policy.js +14 -0
- package/dist/audit/retention-policy.js +10 -0
- package/dist/environment/types.d.ts +8 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +10 -8
- package/dist/labels.d.ts +7 -0
- package/dist/labels.js +11 -2
- package/dist/metrics/metric-catalog.generated.d.ts +50 -0
- package/dist/metrics/metric-catalog.generated.js +60 -0
- package/dist/protocol/analytics-events.d.ts +16 -0
- package/dist/protocol/analytics-events.js +20 -0
- package/dist/protocol/dashboard-write-operations.d.ts +4 -1
- package/dist/protocol/dashboard-write-operations.js +11 -1
- package/dist/protocol/messages/access-log.d.ts +26 -0
- package/dist/protocol/messages/access-log.js +5 -0
- package/dist/protocol/messages/actor.d.ts +2 -0
- package/dist/protocol/messages/actor.js +12 -2
- package/dist/protocol/messages/auth.d.ts +1 -0
- package/dist/protocol/messages/capabilities.d.ts +1 -0
- package/dist/protocol/messages/dashboard-global-workflows.d.ts +2 -0
- package/dist/protocol/messages/dashboard.d.ts +619 -6
- package/dist/protocol/messages/dashboard.js +179 -10
- package/dist/protocol/messages/event-log.d.ts +4 -0
- package/dist/protocol/messages/event-log.js +4 -0
- package/dist/protocol/messages/execution-status.d.ts +56 -3
- package/dist/protocol/messages/execution-status.js +44 -4
- package/dist/protocol/messages/orchestrator-agent.d.ts +284 -0
- package/dist/protocol/messages/orchestrator-agent.js +202 -4
- package/dist/protocol/messages/peer.d.ts +89 -0
- package/dist/protocol/messages/peer.js +50 -2
- package/dist/protocol/messages/platform-orchestrator.d.ts +168 -6
- package/dist/protocol/messages/platform-orchestrator.js +15 -56
- package/dist/protocol/messages/run-events.d.ts +1 -0
- package/dist/provenance/schema.d.ts +407 -0
- package/dist/provenance/schema.js +143 -0
- package/dist/provider/index.d.ts +1 -0
- package/dist/provider/index.js +2 -1
- package/dist/provider/lock-file-parse-error.d.ts +14 -0
- package/dist/provider/lock-file-parse-error.js +22 -0
- package/dist/trigger/types.d.ts +29 -1
- package/dist/trigger/types.js +4 -1
- package/dist/ws/close-codes.d.ts +7 -0
- package/dist/ws/close-codes.js +8 -1
- package/package.json +19 -8
- 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
|
-
hold: "hold";
|
|
9
8
|
reject: "reject";
|
|
9
|
+
hold: "hold";
|
|
10
10
|
allow: "allow";
|
|
11
11
|
}>;
|
|
12
12
|
unknownContributorPolicy: z.ZodEnum<{
|
|
13
|
-
hold: "hold";
|
|
14
13
|
reject: "reject";
|
|
14
|
+
hold: "hold";
|
|
15
15
|
}>;
|
|
16
16
|
workflowChangePolicy: z.ZodEnum<{
|
|
17
|
-
hold: "hold";
|
|
18
17
|
reject: "reject";
|
|
18
|
+
hold: "hold";
|
|
19
19
|
allow: "allow";
|
|
20
20
|
}>;
|
|
21
21
|
approvalExpiryHours: z.ZodNumber;
|
|
@@ -32,6 +32,10 @@ export declare const trustPolicyUpdateSchema: z.ZodObject<{
|
|
|
32
32
|
write: "write";
|
|
33
33
|
admin: "admin";
|
|
34
34
|
}>>;
|
|
35
|
+
teamMemberships: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
36
|
+
teamName: z.ZodString;
|
|
37
|
+
memberUserIds: z.ZodArray<z.ZodString>;
|
|
38
|
+
}, z.core.$strip>>>;
|
|
35
39
|
}, z.core.$strip>;
|
|
36
40
|
export type TrustPolicyUpdate = z.infer<typeof trustPolicyUpdateSchema>;
|
|
37
41
|
/**
|
|
@@ -295,6 +299,7 @@ export declare const orchCapabilitiesUpdateSchema: z.ZodObject<{
|
|
|
295
299
|
"variables.delete": "variables.delete";
|
|
296
300
|
"environments.create": "environments.create";
|
|
297
301
|
"environments.update": "environments.update";
|
|
302
|
+
"environments.test_access.set": "environments.test_access.set";
|
|
298
303
|
"environments.delete": "environments.delete";
|
|
299
304
|
"environments.bindings.set": "environments.bindings.set";
|
|
300
305
|
"environments.source_overrides.set": "environments.source_overrides.set";
|
|
@@ -349,17 +354,17 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
349
354
|
orgId: z.ZodString;
|
|
350
355
|
policy: z.ZodObject<{
|
|
351
356
|
forkPolicy: z.ZodEnum<{
|
|
352
|
-
hold: "hold";
|
|
353
357
|
reject: "reject";
|
|
358
|
+
hold: "hold";
|
|
354
359
|
allow: "allow";
|
|
355
360
|
}>;
|
|
356
361
|
unknownContributorPolicy: z.ZodEnum<{
|
|
357
|
-
hold: "hold";
|
|
358
362
|
reject: "reject";
|
|
363
|
+
hold: "hold";
|
|
359
364
|
}>;
|
|
360
365
|
workflowChangePolicy: z.ZodEnum<{
|
|
361
|
-
hold: "hold";
|
|
362
366
|
reject: "reject";
|
|
367
|
+
hold: "hold";
|
|
363
368
|
allow: "allow";
|
|
364
369
|
}>;
|
|
365
370
|
approvalExpiryHours: z.ZodNumber;
|
|
@@ -376,6 +381,10 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
376
381
|
write: "write";
|
|
377
382
|
admin: "admin";
|
|
378
383
|
}>>;
|
|
384
|
+
teamMemberships: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
385
|
+
teamName: z.ZodString;
|
|
386
|
+
memberUserIds: z.ZodArray<z.ZodString>;
|
|
387
|
+
}, z.core.$strip>>>;
|
|
379
388
|
}, z.core.$strip>, z.ZodObject<{
|
|
380
389
|
type: z.ZodLiteral<"source.register.ack">;
|
|
381
390
|
messageId: z.ZodString;
|
|
@@ -452,6 +461,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
452
461
|
type: z.ZodLiteral<"platform_operator">;
|
|
453
462
|
sub: z.ZodString;
|
|
454
463
|
reason: z.ZodString;
|
|
464
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
455
465
|
}, z.core.$strip>, z.ZodObject<{
|
|
456
466
|
type: z.ZodLiteral<"system">;
|
|
457
467
|
component: z.ZodString;
|
|
@@ -474,6 +484,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
474
484
|
type: z.ZodLiteral<"platform_operator">;
|
|
475
485
|
sub: z.ZodString;
|
|
476
486
|
reason: z.ZodString;
|
|
487
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
477
488
|
}, z.core.$strip>, z.ZodObject<{
|
|
478
489
|
type: z.ZodLiteral<"system">;
|
|
479
490
|
component: z.ZodString;
|
|
@@ -481,6 +492,76 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
481
492
|
runId: z.ZodString;
|
|
482
493
|
jobId: z.ZodString;
|
|
483
494
|
stepIndex: z.ZodNumber;
|
|
495
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
496
|
+
type: z.ZodLiteral<"dashboard.runs.list">;
|
|
497
|
+
requestId: z.ZodString;
|
|
498
|
+
actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
499
|
+
type: z.ZodLiteral<"user">;
|
|
500
|
+
sub: z.ZodString;
|
|
501
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
502
|
+
type: z.ZodLiteral<"api_key">;
|
|
503
|
+
keyId: z.ZodString;
|
|
504
|
+
ownerSub: z.ZodString;
|
|
505
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
506
|
+
type: z.ZodLiteral<"service_account">;
|
|
507
|
+
id: z.ZodString;
|
|
508
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
509
|
+
type: z.ZodLiteral<"platform_operator">;
|
|
510
|
+
sub: z.ZodString;
|
|
511
|
+
reason: z.ZodString;
|
|
512
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
513
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
514
|
+
type: z.ZodLiteral<"system">;
|
|
515
|
+
component: z.ZodString;
|
|
516
|
+
}, z.core.$strip>], "type">;
|
|
517
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
518
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
519
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
520
|
+
type: z.ZodLiteral<"dashboard.runs.filters">;
|
|
521
|
+
requestId: z.ZodString;
|
|
522
|
+
actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
523
|
+
type: z.ZodLiteral<"user">;
|
|
524
|
+
sub: z.ZodString;
|
|
525
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
526
|
+
type: z.ZodLiteral<"api_key">;
|
|
527
|
+
keyId: z.ZodString;
|
|
528
|
+
ownerSub: z.ZodString;
|
|
529
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
530
|
+
type: z.ZodLiteral<"service_account">;
|
|
531
|
+
id: z.ZodString;
|
|
532
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
533
|
+
type: z.ZodLiteral<"platform_operator">;
|
|
534
|
+
sub: z.ZodString;
|
|
535
|
+
reason: z.ZodString;
|
|
536
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
537
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
538
|
+
type: z.ZodLiteral<"system">;
|
|
539
|
+
component: z.ZodString;
|
|
540
|
+
}, z.core.$strip>], "type">;
|
|
541
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
542
|
+
type: z.ZodLiteral<"dashboard.sources.list">;
|
|
543
|
+
requestId: z.ZodString;
|
|
544
|
+
actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
545
|
+
type: z.ZodLiteral<"user">;
|
|
546
|
+
sub: z.ZodString;
|
|
547
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
548
|
+
type: z.ZodLiteral<"api_key">;
|
|
549
|
+
keyId: z.ZodString;
|
|
550
|
+
ownerSub: z.ZodString;
|
|
551
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
552
|
+
type: z.ZodLiteral<"service_account">;
|
|
553
|
+
id: z.ZodString;
|
|
554
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
555
|
+
type: z.ZodLiteral<"platform_operator">;
|
|
556
|
+
sub: z.ZodString;
|
|
557
|
+
reason: z.ZodString;
|
|
558
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
559
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
560
|
+
type: z.ZodLiteral<"system">;
|
|
561
|
+
component: z.ZodString;
|
|
562
|
+
}, z.core.$strip>], "type">;
|
|
563
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
564
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
484
565
|
}, z.core.$strip>, z.ZodObject<{
|
|
485
566
|
type: z.ZodLiteral<"run.rerun.request">;
|
|
486
567
|
requestId: z.ZodString;
|
|
@@ -498,6 +579,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
498
579
|
type: z.ZodLiteral<"platform_operator">;
|
|
499
580
|
sub: z.ZodString;
|
|
500
581
|
reason: z.ZodString;
|
|
582
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
501
583
|
}, z.core.$strip>, z.ZodObject<{
|
|
502
584
|
type: z.ZodLiteral<"system">;
|
|
503
585
|
component: z.ZodString;
|
|
@@ -521,6 +603,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
521
603
|
type: z.ZodLiteral<"platform_operator">;
|
|
522
604
|
sub: z.ZodString;
|
|
523
605
|
reason: z.ZodString;
|
|
606
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
524
607
|
}, z.core.$strip>, z.ZodObject<{
|
|
525
608
|
type: z.ZodLiteral<"system">;
|
|
526
609
|
component: z.ZodString;
|
|
@@ -543,6 +626,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
543
626
|
type: z.ZodLiteral<"platform_operator">;
|
|
544
627
|
sub: z.ZodString;
|
|
545
628
|
reason: z.ZodString;
|
|
629
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
546
630
|
}, z.core.$strip>, z.ZodObject<{
|
|
547
631
|
type: z.ZodLiteral<"system">;
|
|
548
632
|
component: z.ZodString;
|
|
@@ -566,6 +650,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
566
650
|
type: z.ZodLiteral<"platform_operator">;
|
|
567
651
|
sub: z.ZodString;
|
|
568
652
|
reason: z.ZodString;
|
|
653
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
569
654
|
}, z.core.$strip>, z.ZodObject<{
|
|
570
655
|
type: z.ZodLiteral<"system">;
|
|
571
656
|
component: z.ZodString;
|
|
@@ -588,6 +673,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
588
673
|
type: z.ZodLiteral<"platform_operator">;
|
|
589
674
|
sub: z.ZodString;
|
|
590
675
|
reason: z.ZodString;
|
|
676
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
591
677
|
}, z.core.$strip>, z.ZodObject<{
|
|
592
678
|
type: z.ZodLiteral<"system">;
|
|
593
679
|
component: z.ZodString;
|
|
@@ -611,6 +697,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
611
697
|
type: z.ZodLiteral<"platform_operator">;
|
|
612
698
|
sub: z.ZodString;
|
|
613
699
|
reason: z.ZodString;
|
|
700
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
614
701
|
}, z.core.$strip>, z.ZodObject<{
|
|
615
702
|
type: z.ZodLiteral<"system">;
|
|
616
703
|
component: z.ZodString;
|
|
@@ -632,6 +719,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
632
719
|
type: z.ZodLiteral<"platform_operator">;
|
|
633
720
|
sub: z.ZodString;
|
|
634
721
|
reason: z.ZodString;
|
|
722
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
635
723
|
}, z.core.$strip>, z.ZodObject<{
|
|
636
724
|
type: z.ZodLiteral<"system">;
|
|
637
725
|
component: z.ZodString;
|
|
@@ -654,6 +742,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
654
742
|
type: z.ZodLiteral<"platform_operator">;
|
|
655
743
|
sub: z.ZodString;
|
|
656
744
|
reason: z.ZodString;
|
|
745
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
657
746
|
}, z.core.$strip>, z.ZodObject<{
|
|
658
747
|
type: z.ZodLiteral<"system">;
|
|
659
748
|
component: z.ZodString;
|
|
@@ -691,6 +780,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
691
780
|
type: z.ZodLiteral<"platform_operator">;
|
|
692
781
|
sub: z.ZodString;
|
|
693
782
|
reason: z.ZodString;
|
|
783
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
694
784
|
}, z.core.$strip>, z.ZodObject<{
|
|
695
785
|
type: z.ZodLiteral<"system">;
|
|
696
786
|
component: z.ZodString;
|
|
@@ -714,6 +804,30 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
714
804
|
holdExpirySeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
715
805
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
716
806
|
}, z.core.$strip>;
|
|
807
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
808
|
+
type: z.ZodLiteral<"dashboard.environments.test_access.set">;
|
|
809
|
+
requestId: z.ZodString;
|
|
810
|
+
actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
811
|
+
type: z.ZodLiteral<"user">;
|
|
812
|
+
sub: z.ZodString;
|
|
813
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
814
|
+
type: z.ZodLiteral<"api_key">;
|
|
815
|
+
keyId: z.ZodString;
|
|
816
|
+
ownerSub: z.ZodString;
|
|
817
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
818
|
+
type: z.ZodLiteral<"service_account">;
|
|
819
|
+
id: z.ZodString;
|
|
820
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
821
|
+
type: z.ZodLiteral<"platform_operator">;
|
|
822
|
+
sub: z.ZodString;
|
|
823
|
+
reason: z.ZodString;
|
|
824
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
825
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
826
|
+
type: z.ZodLiteral<"system">;
|
|
827
|
+
component: z.ZodString;
|
|
828
|
+
}, z.core.$strip>], "type">;
|
|
829
|
+
environmentId: z.ZodString;
|
|
830
|
+
allowLocalExecution: z.ZodBoolean;
|
|
717
831
|
}, z.core.$strip>, z.ZodObject<{
|
|
718
832
|
type: z.ZodLiteral<"dashboard.environments.delete">;
|
|
719
833
|
requestId: z.ZodString;
|
|
@@ -731,6 +845,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
731
845
|
type: z.ZodLiteral<"platform_operator">;
|
|
732
846
|
sub: z.ZodString;
|
|
733
847
|
reason: z.ZodString;
|
|
848
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
734
849
|
}, z.core.$strip>, z.ZodObject<{
|
|
735
850
|
type: z.ZodLiteral<"system">;
|
|
736
851
|
component: z.ZodString;
|
|
@@ -753,6 +868,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
753
868
|
type: z.ZodLiteral<"platform_operator">;
|
|
754
869
|
sub: z.ZodString;
|
|
755
870
|
reason: z.ZodString;
|
|
871
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
756
872
|
}, z.core.$strip>, z.ZodObject<{
|
|
757
873
|
type: z.ZodLiteral<"system">;
|
|
758
874
|
component: z.ZodString;
|
|
@@ -775,6 +891,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
775
891
|
type: z.ZodLiteral<"platform_operator">;
|
|
776
892
|
sub: z.ZodString;
|
|
777
893
|
reason: z.ZodString;
|
|
894
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
778
895
|
}, z.core.$strip>, z.ZodObject<{
|
|
779
896
|
type: z.ZodLiteral<"system">;
|
|
780
897
|
component: z.ZodString;
|
|
@@ -800,6 +917,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
800
917
|
type: z.ZodLiteral<"platform_operator">;
|
|
801
918
|
sub: z.ZodString;
|
|
802
919
|
reason: z.ZodString;
|
|
920
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
803
921
|
}, z.core.$strip>, z.ZodObject<{
|
|
804
922
|
type: z.ZodLiteral<"system">;
|
|
805
923
|
component: z.ZodString;
|
|
@@ -823,6 +941,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
823
941
|
type: z.ZodLiteral<"platform_operator">;
|
|
824
942
|
sub: z.ZodString;
|
|
825
943
|
reason: z.ZodString;
|
|
944
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
826
945
|
}, z.core.$strip>, z.ZodObject<{
|
|
827
946
|
type: z.ZodLiteral<"system">;
|
|
828
947
|
component: z.ZodString;
|
|
@@ -846,6 +965,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
846
965
|
type: z.ZodLiteral<"platform_operator">;
|
|
847
966
|
sub: z.ZodString;
|
|
848
967
|
reason: z.ZodString;
|
|
968
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
849
969
|
}, z.core.$strip>, z.ZodObject<{
|
|
850
970
|
type: z.ZodLiteral<"system">;
|
|
851
971
|
component: z.ZodString;
|
|
@@ -871,6 +991,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
871
991
|
type: z.ZodLiteral<"platform_operator">;
|
|
872
992
|
sub: z.ZodString;
|
|
873
993
|
reason: z.ZodString;
|
|
994
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
874
995
|
}, z.core.$strip>, z.ZodObject<{
|
|
875
996
|
type: z.ZodLiteral<"system">;
|
|
876
997
|
component: z.ZodString;
|
|
@@ -895,6 +1016,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
895
1016
|
type: z.ZodLiteral<"platform_operator">;
|
|
896
1017
|
sub: z.ZodString;
|
|
897
1018
|
reason: z.ZodString;
|
|
1019
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
898
1020
|
}, z.core.$strip>, z.ZodObject<{
|
|
899
1021
|
type: z.ZodLiteral<"system">;
|
|
900
1022
|
component: z.ZodString;
|
|
@@ -917,6 +1039,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
917
1039
|
type: z.ZodLiteral<"platform_operator">;
|
|
918
1040
|
sub: z.ZodString;
|
|
919
1041
|
reason: z.ZodString;
|
|
1042
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
920
1043
|
}, z.core.$strip>, z.ZodObject<{
|
|
921
1044
|
type: z.ZodLiteral<"system">;
|
|
922
1045
|
component: z.ZodString;
|
|
@@ -940,6 +1063,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
940
1063
|
type: z.ZodLiteral<"platform_operator">;
|
|
941
1064
|
sub: z.ZodString;
|
|
942
1065
|
reason: z.ZodString;
|
|
1066
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
943
1067
|
}, z.core.$strip>, z.ZodObject<{
|
|
944
1068
|
type: z.ZodLiteral<"system">;
|
|
945
1069
|
component: z.ZodString;
|
|
@@ -961,6 +1085,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
961
1085
|
type: z.ZodLiteral<"platform_operator">;
|
|
962
1086
|
sub: z.ZodString;
|
|
963
1087
|
reason: z.ZodString;
|
|
1088
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
964
1089
|
}, z.core.$strip>, z.ZodObject<{
|
|
965
1090
|
type: z.ZodLiteral<"system">;
|
|
966
1091
|
component: z.ZodString;
|
|
@@ -985,6 +1110,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
985
1110
|
type: z.ZodLiteral<"platform_operator">;
|
|
986
1111
|
sub: z.ZodString;
|
|
987
1112
|
reason: z.ZodString;
|
|
1113
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
988
1114
|
}, z.core.$strip>, z.ZodObject<{
|
|
989
1115
|
type: z.ZodLiteral<"system">;
|
|
990
1116
|
component: z.ZodString;
|
|
@@ -1008,6 +1134,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
1008
1134
|
type: z.ZodLiteral<"platform_operator">;
|
|
1009
1135
|
sub: z.ZodString;
|
|
1010
1136
|
reason: z.ZodString;
|
|
1137
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1011
1138
|
}, z.core.$strip>, z.ZodObject<{
|
|
1012
1139
|
type: z.ZodLiteral<"system">;
|
|
1013
1140
|
component: z.ZodString;
|
|
@@ -1030,6 +1157,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
1030
1157
|
type: z.ZodLiteral<"platform_operator">;
|
|
1031
1158
|
sub: z.ZodString;
|
|
1032
1159
|
reason: z.ZodString;
|
|
1160
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1033
1161
|
}, z.core.$strip>, z.ZodObject<{
|
|
1034
1162
|
type: z.ZodLiteral<"system">;
|
|
1035
1163
|
component: z.ZodString;
|
|
@@ -1053,6 +1181,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
1053
1181
|
type: z.ZodLiteral<"platform_operator">;
|
|
1054
1182
|
sub: z.ZodString;
|
|
1055
1183
|
reason: z.ZodString;
|
|
1184
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1056
1185
|
}, z.core.$strip>, z.ZodObject<{
|
|
1057
1186
|
type: z.ZodLiteral<"system">;
|
|
1058
1187
|
component: z.ZodString;
|
|
@@ -1075,6 +1204,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
1075
1204
|
type: z.ZodLiteral<"platform_operator">;
|
|
1076
1205
|
sub: z.ZodString;
|
|
1077
1206
|
reason: z.ZodString;
|
|
1207
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1078
1208
|
}, z.core.$strip>, z.ZodObject<{
|
|
1079
1209
|
type: z.ZodLiteral<"system">;
|
|
1080
1210
|
component: z.ZodString;
|
|
@@ -1099,6 +1229,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
1099
1229
|
type: z.ZodLiteral<"platform_operator">;
|
|
1100
1230
|
sub: z.ZodString;
|
|
1101
1231
|
reason: z.ZodString;
|
|
1232
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1102
1233
|
}, z.core.$strip>, z.ZodObject<{
|
|
1103
1234
|
type: z.ZodLiteral<"system">;
|
|
1104
1235
|
component: z.ZodString;
|
|
@@ -1131,6 +1262,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
1131
1262
|
type: z.ZodLiteral<"platform_operator">;
|
|
1132
1263
|
sub: z.ZodString;
|
|
1133
1264
|
reason: z.ZodString;
|
|
1265
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1134
1266
|
}, z.core.$strip>, z.ZodObject<{
|
|
1135
1267
|
type: z.ZodLiteral<"system">;
|
|
1136
1268
|
component: z.ZodString;
|
|
@@ -1153,6 +1285,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
1153
1285
|
type: z.ZodLiteral<"platform_operator">;
|
|
1154
1286
|
sub: z.ZodString;
|
|
1155
1287
|
reason: z.ZodString;
|
|
1288
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1156
1289
|
}, z.core.$strip>, z.ZodObject<{
|
|
1157
1290
|
type: z.ZodLiteral<"system">;
|
|
1158
1291
|
component: z.ZodString;
|
|
@@ -1176,6 +1309,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
1176
1309
|
type: z.ZodLiteral<"platform_operator">;
|
|
1177
1310
|
sub: z.ZodString;
|
|
1178
1311
|
reason: z.ZodString;
|
|
1312
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1179
1313
|
}, z.core.$strip>, z.ZodObject<{
|
|
1180
1314
|
type: z.ZodLiteral<"system">;
|
|
1181
1315
|
component: z.ZodString;
|
|
@@ -1199,6 +1333,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
1199
1333
|
type: z.ZodLiteral<"platform_operator">;
|
|
1200
1334
|
sub: z.ZodString;
|
|
1201
1335
|
reason: z.ZodString;
|
|
1336
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1202
1337
|
}, z.core.$strip>, z.ZodObject<{
|
|
1203
1338
|
type: z.ZodLiteral<"system">;
|
|
1204
1339
|
component: z.ZodString;
|
|
@@ -1222,6 +1357,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
1222
1357
|
type: z.ZodLiteral<"platform_operator">;
|
|
1223
1358
|
sub: z.ZodString;
|
|
1224
1359
|
reason: z.ZodString;
|
|
1360
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1225
1361
|
}, z.core.$strip>, z.ZodObject<{
|
|
1226
1362
|
type: z.ZodLiteral<"system">;
|
|
1227
1363
|
component: z.ZodString;
|
|
@@ -1245,6 +1381,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
1245
1381
|
type: z.ZodLiteral<"platform_operator">;
|
|
1246
1382
|
sub: z.ZodString;
|
|
1247
1383
|
reason: z.ZodString;
|
|
1384
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1248
1385
|
}, z.core.$strip>, z.ZodObject<{
|
|
1249
1386
|
type: z.ZodLiteral<"system">;
|
|
1250
1387
|
component: z.ZodString;
|
|
@@ -1267,6 +1404,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
1267
1404
|
type: z.ZodLiteral<"platform_operator">;
|
|
1268
1405
|
sub: z.ZodString;
|
|
1269
1406
|
reason: z.ZodString;
|
|
1407
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1270
1408
|
}, z.core.$strip>, z.ZodObject<{
|
|
1271
1409
|
type: z.ZodLiteral<"system">;
|
|
1272
1410
|
component: z.ZodString;
|
|
@@ -1288,6 +1426,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
1288
1426
|
type: z.ZodLiteral<"platform_operator">;
|
|
1289
1427
|
sub: z.ZodString;
|
|
1290
1428
|
reason: z.ZodString;
|
|
1429
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1291
1430
|
}, z.core.$strip>, z.ZodObject<{
|
|
1292
1431
|
type: z.ZodLiteral<"system">;
|
|
1293
1432
|
component: z.ZodString;
|
|
@@ -1310,6 +1449,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
1310
1449
|
type: z.ZodLiteral<"platform_operator">;
|
|
1311
1450
|
sub: z.ZodString;
|
|
1312
1451
|
reason: z.ZodString;
|
|
1452
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1313
1453
|
}, z.core.$strip>, z.ZodObject<{
|
|
1314
1454
|
type: z.ZodLiteral<"system">;
|
|
1315
1455
|
component: z.ZodString;
|
|
@@ -1331,6 +1471,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
1331
1471
|
type: z.ZodLiteral<"platform_operator">;
|
|
1332
1472
|
sub: z.ZodString;
|
|
1333
1473
|
reason: z.ZodString;
|
|
1474
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1334
1475
|
}, z.core.$strip>, z.ZodObject<{
|
|
1335
1476
|
type: z.ZodLiteral<"system">;
|
|
1336
1477
|
component: z.ZodString;
|
|
@@ -1353,6 +1494,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
1353
1494
|
type: z.ZodLiteral<"platform_operator">;
|
|
1354
1495
|
sub: z.ZodString;
|
|
1355
1496
|
reason: z.ZodString;
|
|
1497
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1356
1498
|
}, z.core.$strip>, z.ZodObject<{
|
|
1357
1499
|
type: z.ZodLiteral<"system">;
|
|
1358
1500
|
component: z.ZodString;
|
|
@@ -1374,6 +1516,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
1374
1516
|
type: z.ZodLiteral<"platform_operator">;
|
|
1375
1517
|
sub: z.ZodString;
|
|
1376
1518
|
reason: z.ZodString;
|
|
1519
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1377
1520
|
}, z.core.$strip>, z.ZodObject<{
|
|
1378
1521
|
type: z.ZodLiteral<"system">;
|
|
1379
1522
|
component: z.ZodString;
|
|
@@ -1396,6 +1539,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
1396
1539
|
type: z.ZodLiteral<"platform_operator">;
|
|
1397
1540
|
sub: z.ZodString;
|
|
1398
1541
|
reason: z.ZodString;
|
|
1542
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1399
1543
|
}, z.core.$strip>, z.ZodObject<{
|
|
1400
1544
|
type: z.ZodLiteral<"system">;
|
|
1401
1545
|
component: z.ZodString;
|
|
@@ -1418,6 +1562,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
1418
1562
|
type: z.ZodLiteral<"platform_operator">;
|
|
1419
1563
|
sub: z.ZodString;
|
|
1420
1564
|
reason: z.ZodString;
|
|
1565
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1421
1566
|
}, z.core.$strip>, z.ZodObject<{
|
|
1422
1567
|
type: z.ZodLiteral<"system">;
|
|
1423
1568
|
component: z.ZodString;
|
|
@@ -1431,6 +1576,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
1431
1576
|
processed: "processed";
|
|
1432
1577
|
duplicate: "duplicate";
|
|
1433
1578
|
lockfile_missing: "lockfile_missing";
|
|
1579
|
+
lockfile_corrupt: "lockfile_corrupt";
|
|
1434
1580
|
}>>;
|
|
1435
1581
|
fromTimestamp: z.ZodOptional<z.ZodString>;
|
|
1436
1582
|
toTimestamp: z.ZodOptional<z.ZodString>;
|
|
@@ -1454,6 +1600,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
1454
1600
|
type: z.ZodLiteral<"platform_operator">;
|
|
1455
1601
|
sub: z.ZodString;
|
|
1456
1602
|
reason: z.ZodString;
|
|
1603
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1457
1604
|
}, z.core.$strip>, z.ZodObject<{
|
|
1458
1605
|
type: z.ZodLiteral<"system">;
|
|
1459
1606
|
component: z.ZodString;
|
|
@@ -1478,6 +1625,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
1478
1625
|
type: z.ZodLiteral<"platform_operator">;
|
|
1479
1626
|
sub: z.ZodString;
|
|
1480
1627
|
reason: z.ZodString;
|
|
1628
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1481
1629
|
}, z.core.$strip>, z.ZodObject<{
|
|
1482
1630
|
type: z.ZodLiteral<"system">;
|
|
1483
1631
|
component: z.ZodString;
|
|
@@ -1502,6 +1650,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
1502
1650
|
type: z.ZodLiteral<"platform_operator">;
|
|
1503
1651
|
sub: z.ZodString;
|
|
1504
1652
|
reason: z.ZodString;
|
|
1653
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1505
1654
|
}, z.core.$strip>, z.ZodObject<{
|
|
1506
1655
|
type: z.ZodLiteral<"system">;
|
|
1507
1656
|
component: z.ZodString;
|
|
@@ -1526,6 +1675,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
1526
1675
|
type: z.ZodLiteral<"platform_operator">;
|
|
1527
1676
|
sub: z.ZodString;
|
|
1528
1677
|
reason: z.ZodString;
|
|
1678
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1529
1679
|
}, z.core.$strip>, z.ZodObject<{
|
|
1530
1680
|
type: z.ZodLiteral<"system">;
|
|
1531
1681
|
component: z.ZodString;
|
|
@@ -1548,6 +1698,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
1548
1698
|
type: z.ZodLiteral<"platform_operator">;
|
|
1549
1699
|
sub: z.ZodString;
|
|
1550
1700
|
reason: z.ZodString;
|
|
1701
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1551
1702
|
}, z.core.$strip>, z.ZodObject<{
|
|
1552
1703
|
type: z.ZodLiteral<"system">;
|
|
1553
1704
|
component: z.ZodString;
|
|
@@ -1571,6 +1722,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
1571
1722
|
type: z.ZodLiteral<"platform_operator">;
|
|
1572
1723
|
sub: z.ZodString;
|
|
1573
1724
|
reason: z.ZodString;
|
|
1725
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1574
1726
|
}, z.core.$strip>, z.ZodObject<{
|
|
1575
1727
|
type: z.ZodLiteral<"system">;
|
|
1576
1728
|
component: z.ZodString;
|
|
@@ -1594,6 +1746,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
1594
1746
|
type: z.ZodLiteral<"platform_operator">;
|
|
1595
1747
|
sub: z.ZodString;
|
|
1596
1748
|
reason: z.ZodString;
|
|
1749
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1597
1750
|
}, z.core.$strip>, z.ZodObject<{
|
|
1598
1751
|
type: z.ZodLiteral<"system">;
|
|
1599
1752
|
component: z.ZodString;
|
|
@@ -1615,6 +1768,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
1615
1768
|
type: z.ZodLiteral<"platform_operator">;
|
|
1616
1769
|
sub: z.ZodString;
|
|
1617
1770
|
reason: z.ZodString;
|
|
1771
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1618
1772
|
}, z.core.$strip>, z.ZodObject<{
|
|
1619
1773
|
type: z.ZodLiteral<"system">;
|
|
1620
1774
|
component: z.ZodString;
|
|
@@ -1649,6 +1803,7 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
1649
1803
|
type: z.ZodLiteral<"platform_operator">;
|
|
1650
1804
|
sub: z.ZodString;
|
|
1651
1805
|
reason: z.ZodString;
|
|
1806
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1652
1807
|
}, z.core.$strip>, z.ZodObject<{
|
|
1653
1808
|
type: z.ZodLiteral<"system">;
|
|
1654
1809
|
component: z.ZodString;
|
|
@@ -1669,6 +1824,9 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
1669
1824
|
"registration.delete": "registration.delete";
|
|
1670
1825
|
"global_workflows.update": "global_workflows.update";
|
|
1671
1826
|
"run.detail.read": "run.detail.read";
|
|
1827
|
+
"runs.list.read": "runs.list.read";
|
|
1828
|
+
"runs.filters.read": "runs.filters.read";
|
|
1829
|
+
"sources.list.read": "sources.list.read";
|
|
1672
1830
|
"run.payload.read": "run.payload.read";
|
|
1673
1831
|
"run.orch_logs.read": "run.orch_logs.read";
|
|
1674
1832
|
"step.logs.read": "step.logs.read";
|
|
@@ -1703,6 +1861,8 @@ export declare const platformToOrchestratorMessageSchema: z.ZodDiscriminatedUnio
|
|
|
1703
1861
|
"held_run.list.read": "held_run.list.read";
|
|
1704
1862
|
"held_run.approve": "held_run.approve";
|
|
1705
1863
|
"held_run.reject": "held_run.reject";
|
|
1864
|
+
"held_run.request": "held_run.request";
|
|
1865
|
+
"held_run.expire": "held_run.expire";
|
|
1706
1866
|
"registration.list.read": "registration.list.read";
|
|
1707
1867
|
"diagnostics.read": "diagnostics.read";
|
|
1708
1868
|
"scaler.capacity.read": "scaler.capacity.read";
|
|
@@ -1962,6 +2122,7 @@ export declare const orchestratorToPlatformMessageSchema: z.ZodDiscriminatedUnio
|
|
|
1962
2122
|
"variables.delete": "variables.delete";
|
|
1963
2123
|
"environments.create": "environments.create";
|
|
1964
2124
|
"environments.update": "environments.update";
|
|
2125
|
+
"environments.test_access.set": "environments.test_access.set";
|
|
1965
2126
|
"environments.delete": "environments.delete";
|
|
1966
2127
|
"environments.bindings.set": "environments.bindings.set";
|
|
1967
2128
|
"environments.source_overrides.set": "environments.source_overrides.set";
|
|
@@ -2040,6 +2201,7 @@ export declare const orchestratorToPlatformMessageSchema: z.ZodDiscriminatedUnio
|
|
|
2040
2201
|
"variables.delete": "variables.delete";
|
|
2041
2202
|
"environments.create": "environments.create";
|
|
2042
2203
|
"environments.update": "environments.update";
|
|
2204
|
+
"environments.test_access.set": "environments.test_access.set";
|
|
2043
2205
|
"environments.delete": "environments.delete";
|
|
2044
2206
|
"environments.bindings.set": "environments.bindings.set";
|
|
2045
2207
|
"environments.source_overrides.set": "environments.source_overrides.set";
|