@wjarka/cezarion 0.14.9-dev.958 → 0.14.9-dev.959

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.
@@ -439,18 +439,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
439
439
  } & {
440
440
  "/:workerId": {
441
441
  $get: {
442
- output: {
443
- error: string;
444
- code?: "invalid_input" | undefined;
445
- };
446
- outputFormat: "json";
447
- status: 400;
448
- input: {
449
- param: {
450
- workerId: string;
451
- };
452
- };
453
- } | {
454
442
  output: {
455
443
  workerId: string;
456
444
  parentRunId: string;
@@ -527,11 +515,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
527
515
  workerId: string;
528
516
  };
529
517
  };
530
- };
531
- };
532
- } & {
533
- "/:workerId/collect": {
534
- $post: {
518
+ } | {
535
519
  output: {
536
520
  error: string;
537
521
  code?: "invalid_input" | undefined;
@@ -542,10 +526,12 @@ export declare function createDelegationRoutes(service: DelegationService, crede
542
526
  param: {
543
527
  workerId: string;
544
528
  };
545
- } & {
546
- json: Record<string, never>;
547
529
  };
548
- } | {
530
+ };
531
+ };
532
+ } & {
533
+ "/:workerId/collect": {
534
+ $post: {
549
535
  output: {
550
536
  workerId: string;
551
537
  parentRunId: string;
@@ -647,11 +633,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
647
633
  } & {
648
634
  json: Record<string, never>;
649
635
  };
650
- };
651
- };
652
- } & {
653
- "/:workerId/steer": {
654
- $post: {
636
+ } | {
655
637
  output: {
656
638
  error: string;
657
639
  code?: "invalid_input" | undefined;
@@ -663,11 +645,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
663
645
  workerId: string;
664
646
  };
665
647
  } & {
666
- json: {
667
- text: string;
668
- };
648
+ json: Record<string, never>;
669
649
  };
670
- } | {
650
+ };
651
+ };
652
+ } & {
653
+ "/:workerId/steer": {
654
+ $post: {
671
655
  output: {
672
656
  workerId: string;
673
657
  state: "delivered" | "queued";
@@ -683,11 +667,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
683
667
  text: string;
684
668
  };
685
669
  };
686
- };
687
- };
688
- } & {
689
- "/:workerId/stop": {
690
- $post: {
670
+ } | {
691
671
  output: {
692
672
  error: string;
693
673
  code?: "invalid_input" | undefined;
@@ -699,9 +679,15 @@ export declare function createDelegationRoutes(service: DelegationService, crede
699
679
  workerId: string;
700
680
  };
701
681
  } & {
702
- json: Record<string, never>;
682
+ json: {
683
+ text: string;
684
+ };
703
685
  };
704
- } | {
686
+ };
687
+ };
688
+ } & {
689
+ "/:workerId/stop": {
690
+ $post: {
705
691
  output: {
706
692
  workerId: string;
707
693
  state: "stopping" | "terminated";
@@ -715,11 +701,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
715
701
  } & {
716
702
  json: Record<string, never>;
717
703
  };
718
- };
719
- };
720
- } & {
721
- "/:workerId/destroy": {
722
- $post: {
704
+ } | {
723
705
  output: {
724
706
  error: string;
725
707
  code?: "invalid_input" | undefined;
@@ -733,7 +715,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
733
715
  } & {
734
716
  json: Record<string, never>;
735
717
  };
736
- } | {
718
+ };
719
+ };
720
+ } & {
721
+ "/:workerId/destroy": {
722
+ $post: {
737
723
  output: {
738
724
  workerId: string;
739
725
  state: "complete" | "incomplete";
@@ -756,6 +742,20 @@ export declare function createDelegationRoutes(service: DelegationService, crede
756
742
  } & {
757
743
  json: Record<string, never>;
758
744
  };
745
+ } | {
746
+ output: {
747
+ error: string;
748
+ code?: "invalid_input" | undefined;
749
+ };
750
+ outputFormat: "json";
751
+ status: 400;
752
+ input: {
753
+ param: {
754
+ workerId: string;
755
+ };
756
+ } & {
757
+ json: Record<string, never>;
758
+ };
759
759
  } | {
760
760
  output: {
761
761
  workerId: string;
@@ -785,11 +785,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
785
785
  "/:workerId/diff": {
786
786
  $get: {
787
787
  output: {
788
- error: string;
789
- code?: "invalid_input" | undefined;
788
+ workerId: string;
789
+ baselineSha: string;
790
+ diff: string;
791
+ truncated: boolean;
790
792
  };
791
793
  outputFormat: "json";
792
- status: 400;
794
+ status: 200;
793
795
  input: {
794
796
  param: {
795
797
  workerId: string;
@@ -797,13 +799,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
797
799
  };
798
800
  } | {
799
801
  output: {
800
- workerId: string;
801
- baselineSha: string;
802
- diff: string;
803
- truncated: boolean;
802
+ error: string;
803
+ code?: "invalid_input" | undefined;
804
804
  };
805
805
  outputFormat: "json";
806
- status: 200;
806
+ status: 400;
807
807
  input: {
808
808
  param: {
809
809
  workerId: string;