@wjarka/cezarion 0.16.0-pr976.1602 → 0.16.0-pr976.1604
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/dist/delegation/transport.d.ts +50 -50
- package/dist/server/server.d.ts +1417 -1417
- package/package.json +3 -3
|
@@ -462,18 +462,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
462
462
|
} & {
|
|
463
463
|
"/:workerId": {
|
|
464
464
|
$get: {
|
|
465
|
-
output: {
|
|
466
|
-
error: string;
|
|
467
|
-
code?: "invalid_input" | undefined;
|
|
468
|
-
};
|
|
469
|
-
outputFormat: "json";
|
|
470
|
-
status: 400;
|
|
471
|
-
input: {
|
|
472
|
-
param: {
|
|
473
|
-
workerId: string;
|
|
474
|
-
};
|
|
475
|
-
};
|
|
476
|
-
} | {
|
|
477
465
|
output: {
|
|
478
466
|
workerId: string;
|
|
479
467
|
parentRunId: string;
|
|
@@ -555,11 +543,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
555
543
|
workerId: string;
|
|
556
544
|
};
|
|
557
545
|
};
|
|
558
|
-
}
|
|
559
|
-
};
|
|
560
|
-
} & {
|
|
561
|
-
"/:workerId/collect": {
|
|
562
|
-
$post: {
|
|
546
|
+
} | {
|
|
563
547
|
output: {
|
|
564
548
|
error: string;
|
|
565
549
|
code?: "invalid_input" | undefined;
|
|
@@ -570,10 +554,12 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
570
554
|
param: {
|
|
571
555
|
workerId: string;
|
|
572
556
|
};
|
|
573
|
-
} & {
|
|
574
|
-
json: Record<string, never>;
|
|
575
557
|
};
|
|
576
|
-
}
|
|
558
|
+
};
|
|
559
|
+
};
|
|
560
|
+
} & {
|
|
561
|
+
"/:workerId/collect": {
|
|
562
|
+
$post: {
|
|
577
563
|
output: {
|
|
578
564
|
workerId: string;
|
|
579
565
|
parentRunId: string;
|
|
@@ -675,11 +661,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
675
661
|
} & {
|
|
676
662
|
json: Record<string, never>;
|
|
677
663
|
};
|
|
678
|
-
}
|
|
679
|
-
};
|
|
680
|
-
} & {
|
|
681
|
-
"/:workerId/steer": {
|
|
682
|
-
$post: {
|
|
664
|
+
} | {
|
|
683
665
|
output: {
|
|
684
666
|
error: string;
|
|
685
667
|
code?: "invalid_input" | undefined;
|
|
@@ -691,11 +673,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
691
673
|
workerId: string;
|
|
692
674
|
};
|
|
693
675
|
} & {
|
|
694
|
-
json:
|
|
695
|
-
text: string;
|
|
696
|
-
};
|
|
676
|
+
json: Record<string, never>;
|
|
697
677
|
};
|
|
698
|
-
}
|
|
678
|
+
};
|
|
679
|
+
};
|
|
680
|
+
} & {
|
|
681
|
+
"/:workerId/steer": {
|
|
682
|
+
$post: {
|
|
699
683
|
output: {
|
|
700
684
|
workerId: string;
|
|
701
685
|
state: "delivered" | "queued";
|
|
@@ -711,11 +695,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
711
695
|
text: string;
|
|
712
696
|
};
|
|
713
697
|
};
|
|
714
|
-
}
|
|
715
|
-
};
|
|
716
|
-
} & {
|
|
717
|
-
"/:workerId/stop": {
|
|
718
|
-
$post: {
|
|
698
|
+
} | {
|
|
719
699
|
output: {
|
|
720
700
|
error: string;
|
|
721
701
|
code?: "invalid_input" | undefined;
|
|
@@ -727,9 +707,15 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
727
707
|
workerId: string;
|
|
728
708
|
};
|
|
729
709
|
} & {
|
|
730
|
-
json:
|
|
710
|
+
json: {
|
|
711
|
+
text: string;
|
|
712
|
+
};
|
|
731
713
|
};
|
|
732
|
-
}
|
|
714
|
+
};
|
|
715
|
+
};
|
|
716
|
+
} & {
|
|
717
|
+
"/:workerId/stop": {
|
|
718
|
+
$post: {
|
|
733
719
|
output: {
|
|
734
720
|
workerId: string;
|
|
735
721
|
state: "stopping" | "terminated";
|
|
@@ -743,11 +729,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
743
729
|
} & {
|
|
744
730
|
json: Record<string, never>;
|
|
745
731
|
};
|
|
746
|
-
}
|
|
747
|
-
};
|
|
748
|
-
} & {
|
|
749
|
-
"/:workerId/destroy": {
|
|
750
|
-
$post: {
|
|
732
|
+
} | {
|
|
751
733
|
output: {
|
|
752
734
|
error: string;
|
|
753
735
|
code?: "invalid_input" | undefined;
|
|
@@ -761,7 +743,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
761
743
|
} & {
|
|
762
744
|
json: Record<string, never>;
|
|
763
745
|
};
|
|
764
|
-
}
|
|
746
|
+
};
|
|
747
|
+
};
|
|
748
|
+
} & {
|
|
749
|
+
"/:workerId/destroy": {
|
|
750
|
+
$post: {
|
|
765
751
|
output: {
|
|
766
752
|
workerId: string;
|
|
767
753
|
state: "complete" | "incomplete";
|
|
@@ -784,6 +770,20 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
784
770
|
} & {
|
|
785
771
|
json: Record<string, never>;
|
|
786
772
|
};
|
|
773
|
+
} | {
|
|
774
|
+
output: {
|
|
775
|
+
error: string;
|
|
776
|
+
code?: "invalid_input" | undefined;
|
|
777
|
+
};
|
|
778
|
+
outputFormat: "json";
|
|
779
|
+
status: 400;
|
|
780
|
+
input: {
|
|
781
|
+
param: {
|
|
782
|
+
workerId: string;
|
|
783
|
+
};
|
|
784
|
+
} & {
|
|
785
|
+
json: Record<string, never>;
|
|
786
|
+
};
|
|
787
787
|
} | {
|
|
788
788
|
output: {
|
|
789
789
|
workerId: string;
|
|
@@ -813,11 +813,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
813
813
|
"/:workerId/diff": {
|
|
814
814
|
$get: {
|
|
815
815
|
output: {
|
|
816
|
-
|
|
817
|
-
|
|
816
|
+
workerId: string;
|
|
817
|
+
baselineSha: string;
|
|
818
|
+
diff: string;
|
|
819
|
+
truncated: boolean;
|
|
818
820
|
};
|
|
819
821
|
outputFormat: "json";
|
|
820
|
-
status:
|
|
822
|
+
status: 200;
|
|
821
823
|
input: {
|
|
822
824
|
param: {
|
|
823
825
|
workerId: string;
|
|
@@ -825,13 +827,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
825
827
|
};
|
|
826
828
|
} | {
|
|
827
829
|
output: {
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
diff: string;
|
|
831
|
-
truncated: boolean;
|
|
830
|
+
error: string;
|
|
831
|
+
code?: "invalid_input" | undefined;
|
|
832
832
|
};
|
|
833
833
|
outputFormat: "json";
|
|
834
|
-
status:
|
|
834
|
+
status: 400;
|
|
835
835
|
input: {
|
|
836
836
|
param: {
|
|
837
837
|
workerId: string;
|