@wjarka/cezarion 0.14.2-pr403.640 → 0.14.2-pr403.642

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.
@@ -286,6 +286,18 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
286
286
  } & {
287
287
  "/:workerId": {
288
288
  $get: {
289
+ output: {
290
+ error: string;
291
+ code?: "invalid_input" | undefined;
292
+ };
293
+ outputFormat: "json";
294
+ status: 400;
295
+ input: {
296
+ param: {
297
+ workerId: string;
298
+ };
299
+ };
300
+ } | {
289
301
  output: {
290
302
  workerId: string;
291
303
  parentRunId: string;
@@ -362,7 +374,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
362
374
  workerId: string;
363
375
  };
364
376
  };
365
- } | {
377
+ };
378
+ };
379
+ } & {
380
+ "/:workerId/collect": {
381
+ $post: {
366
382
  output: {
367
383
  error: string;
368
384
  code?: "invalid_input" | undefined;
@@ -373,12 +389,10 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
373
389
  param: {
374
390
  workerId: string;
375
391
  };
392
+ } & {
393
+ json: Record<string, never>;
376
394
  };
377
- };
378
- };
379
- } & {
380
- "/:workerId/collect": {
381
- $post: {
395
+ } | {
382
396
  output: {
383
397
  workerId: string;
384
398
  parentRunId: string;
@@ -480,7 +494,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
480
494
  } & {
481
495
  json: Record<string, never>;
482
496
  };
483
- } | {
497
+ };
498
+ };
499
+ } & {
500
+ "/:workerId/steer": {
501
+ $post: {
484
502
  output: {
485
503
  error: string;
486
504
  code?: "invalid_input" | undefined;
@@ -492,13 +510,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
492
510
  workerId: string;
493
511
  };
494
512
  } & {
495
- json: Record<string, never>;
513
+ json: {
514
+ text: string;
515
+ };
496
516
  };
497
- };
498
- };
499
- } & {
500
- "/:workerId/steer": {
501
- $post: {
517
+ } | {
502
518
  output: {
503
519
  workerId: string;
504
520
  state: "delivered" | "queued";
@@ -514,7 +530,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
514
530
  text: string;
515
531
  };
516
532
  };
517
- } | {
533
+ };
534
+ };
535
+ } & {
536
+ "/:workerId/stop": {
537
+ $post: {
518
538
  output: {
519
539
  error: string;
520
540
  code?: "invalid_input" | undefined;
@@ -526,15 +546,9 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
526
546
  workerId: string;
527
547
  };
528
548
  } & {
529
- json: {
530
- text: string;
531
- };
549
+ json: Record<string, never>;
532
550
  };
533
- };
534
- };
535
- } & {
536
- "/:workerId/stop": {
537
- $post: {
551
+ } | {
538
552
  output: {
539
553
  workerId: string;
540
554
  state: "stopping" | "terminated";
@@ -548,7 +562,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
548
562
  } & {
549
563
  json: Record<string, never>;
550
564
  };
551
- } | {
565
+ };
566
+ };
567
+ } & {
568
+ "/:workerId/destroy": {
569
+ $post: {
552
570
  output: {
553
571
  error: string;
554
572
  code?: "invalid_input" | undefined;
@@ -562,11 +580,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
562
580
  } & {
563
581
  json: Record<string, never>;
564
582
  };
565
- };
566
- };
567
- } & {
568
- "/:workerId/destroy": {
569
- $post: {
583
+ } | {
570
584
  output: {
571
585
  workerId: string;
572
586
  state: "complete" | "incomplete";
@@ -589,20 +603,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
589
603
  } & {
590
604
  json: Record<string, never>;
591
605
  };
592
- } | {
593
- output: {
594
- error: string;
595
- code?: "invalid_input" | undefined;
596
- };
597
- outputFormat: "json";
598
- status: 400;
599
- input: {
600
- param: {
601
- workerId: string;
602
- };
603
- } & {
604
- json: Record<string, never>;
605
- };
606
606
  } | {
607
607
  output: {
608
608
  workerId: string;
@@ -632,13 +632,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
632
632
  "/:workerId/diff": {
633
633
  $get: {
634
634
  output: {
635
- workerId: string;
636
- baselineSha: string;
637
- diff: string;
638
- truncated: boolean;
635
+ error: string;
636
+ code?: "invalid_input" | undefined;
639
637
  };
640
638
  outputFormat: "json";
641
- status: 200;
639
+ status: 400;
642
640
  input: {
643
641
  param: {
644
642
  workerId: string;
@@ -646,11 +644,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
646
644
  };
647
645
  } | {
648
646
  output: {
649
- error: string;
650
- code?: "invalid_input" | undefined;
647
+ workerId: string;
648
+ baselineSha: string;
649
+ diff: string;
650
+ truncated: boolean;
651
651
  };
652
652
  outputFormat: "json";
653
- status: 400;
653
+ status: 200;
654
654
  input: {
655
655
  param: {
656
656
  workerId: string;