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

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