@wjarka/cezarion 0.14.8-pr526.800 → 0.14.8-pr526.802

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.
@@ -365,6 +365,18 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
365
365
  } & {
366
366
  "/:workerId": {
367
367
  $get: {
368
+ output: {
369
+ error: string;
370
+ code?: "invalid_input" | undefined;
371
+ };
372
+ outputFormat: "json";
373
+ status: 400;
374
+ input: {
375
+ param: {
376
+ workerId: string;
377
+ };
378
+ };
379
+ } | {
368
380
  output: {
369
381
  workerId: string;
370
382
  parentRunId: string;
@@ -441,7 +453,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
441
453
  workerId: string;
442
454
  };
443
455
  };
444
- } | {
456
+ };
457
+ };
458
+ } & {
459
+ "/:workerId/collect": {
460
+ $post: {
445
461
  output: {
446
462
  error: string;
447
463
  code?: "invalid_input" | undefined;
@@ -452,12 +468,10 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
452
468
  param: {
453
469
  workerId: string;
454
470
  };
471
+ } & {
472
+ json: Record<string, never>;
455
473
  };
456
- };
457
- };
458
- } & {
459
- "/:workerId/collect": {
460
- $post: {
474
+ } | {
461
475
  output: {
462
476
  workerId: string;
463
477
  parentRunId: string;
@@ -559,7 +573,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
559
573
  } & {
560
574
  json: Record<string, never>;
561
575
  };
562
- } | {
576
+ };
577
+ };
578
+ } & {
579
+ "/:workerId/steer": {
580
+ $post: {
563
581
  output: {
564
582
  error: string;
565
583
  code?: "invalid_input" | undefined;
@@ -571,13 +589,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
571
589
  workerId: string;
572
590
  };
573
591
  } & {
574
- json: Record<string, never>;
592
+ json: {
593
+ text: string;
594
+ };
575
595
  };
576
- };
577
- };
578
- } & {
579
- "/:workerId/steer": {
580
- $post: {
596
+ } | {
581
597
  output: {
582
598
  workerId: string;
583
599
  state: "delivered" | "queued";
@@ -593,7 +609,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
593
609
  text: string;
594
610
  };
595
611
  };
596
- } | {
612
+ };
613
+ };
614
+ } & {
615
+ "/:workerId/stop": {
616
+ $post: {
597
617
  output: {
598
618
  error: string;
599
619
  code?: "invalid_input" | undefined;
@@ -605,15 +625,9 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
605
625
  workerId: string;
606
626
  };
607
627
  } & {
608
- json: {
609
- text: string;
610
- };
628
+ json: Record<string, never>;
611
629
  };
612
- };
613
- };
614
- } & {
615
- "/:workerId/stop": {
616
- $post: {
630
+ } | {
617
631
  output: {
618
632
  workerId: string;
619
633
  state: "stopping" | "terminated";
@@ -627,7 +641,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
627
641
  } & {
628
642
  json: Record<string, never>;
629
643
  };
630
- } | {
644
+ };
645
+ };
646
+ } & {
647
+ "/:workerId/destroy": {
648
+ $post: {
631
649
  output: {
632
650
  error: string;
633
651
  code?: "invalid_input" | undefined;
@@ -641,11 +659,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
641
659
  } & {
642
660
  json: Record<string, never>;
643
661
  };
644
- };
645
- };
646
- } & {
647
- "/:workerId/destroy": {
648
- $post: {
662
+ } | {
649
663
  output: {
650
664
  workerId: string;
651
665
  state: "complete" | "incomplete";
@@ -668,20 +682,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
668
682
  } & {
669
683
  json: Record<string, never>;
670
684
  };
671
- } | {
672
- output: {
673
- error: string;
674
- code?: "invalid_input" | undefined;
675
- };
676
- outputFormat: "json";
677
- status: 400;
678
- input: {
679
- param: {
680
- workerId: string;
681
- };
682
- } & {
683
- json: Record<string, never>;
684
- };
685
685
  } | {
686
686
  output: {
687
687
  workerId: string;
@@ -711,13 +711,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
711
711
  "/:workerId/diff": {
712
712
  $get: {
713
713
  output: {
714
- workerId: string;
715
- baselineSha: string;
716
- diff: string;
717
- truncated: boolean;
714
+ error: string;
715
+ code?: "invalid_input" | undefined;
718
716
  };
719
717
  outputFormat: "json";
720
- status: 200;
718
+ status: 400;
721
719
  input: {
722
720
  param: {
723
721
  workerId: string;
@@ -725,11 +723,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
725
723
  };
726
724
  } | {
727
725
  output: {
728
- error: string;
729
- code?: "invalid_input" | undefined;
726
+ workerId: string;
727
+ baselineSha: string;
728
+ diff: string;
729
+ truncated: boolean;
730
730
  };
731
731
  outputFormat: "json";
732
- status: 400;
732
+ status: 200;
733
733
  input: {
734
734
  param: {
735
735
  workerId: string;