@wjarka/cezarion 0.13.3-pr311.460 → 0.13.4

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.
@@ -300,18 +300,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
300
300
  } & {
301
301
  "/:workerId": {
302
302
  $get: {
303
- output: {
304
- error: string;
305
- code?: "invalid_input" | undefined;
306
- };
307
- outputFormat: "json";
308
- status: 400;
309
- input: {
310
- param: {
311
- workerId: string;
312
- };
313
- };
314
- } | {
315
303
  output: {
316
304
  workerId: string;
317
305
  parentRunId: string;
@@ -388,11 +376,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
388
376
  workerId: string;
389
377
  };
390
378
  };
391
- };
392
- };
393
- } & {
394
- "/:workerId/collect": {
395
- $post: {
379
+ } | {
396
380
  output: {
397
381
  error: string;
398
382
  code?: "invalid_input" | undefined;
@@ -403,10 +387,12 @@ export declare function createDelegationRoutes(service: DelegationService, crede
403
387
  param: {
404
388
  workerId: string;
405
389
  };
406
- } & {
407
- json: Record<string, never>;
408
390
  };
409
- } | {
391
+ };
392
+ };
393
+ } & {
394
+ "/:workerId/collect": {
395
+ $post: {
410
396
  output: {
411
397
  workerId: string;
412
398
  parentRunId: string;
@@ -508,11 +494,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
508
494
  } & {
509
495
  json: Record<string, never>;
510
496
  };
511
- };
512
- };
513
- } & {
514
- "/:workerId/steer": {
515
- $post: {
497
+ } | {
516
498
  output: {
517
499
  error: string;
518
500
  code?: "invalid_input" | undefined;
@@ -524,11 +506,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
524
506
  workerId: string;
525
507
  };
526
508
  } & {
527
- json: {
528
- text: string;
529
- };
509
+ json: Record<string, never>;
530
510
  };
531
- } | {
511
+ };
512
+ };
513
+ } & {
514
+ "/:workerId/steer": {
515
+ $post: {
532
516
  output: {
533
517
  workerId: string;
534
518
  state: "delivered" | "queued";
@@ -544,11 +528,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
544
528
  text: string;
545
529
  };
546
530
  };
547
- };
548
- };
549
- } & {
550
- "/:workerId/stop": {
551
- $post: {
531
+ } | {
552
532
  output: {
553
533
  error: string;
554
534
  code?: "invalid_input" | undefined;
@@ -560,9 +540,15 @@ export declare function createDelegationRoutes(service: DelegationService, crede
560
540
  workerId: string;
561
541
  };
562
542
  } & {
563
- json: Record<string, never>;
543
+ json: {
544
+ text: string;
545
+ };
564
546
  };
565
- } | {
547
+ };
548
+ };
549
+ } & {
550
+ "/:workerId/stop": {
551
+ $post: {
566
552
  output: {
567
553
  workerId: string;
568
554
  state: "stopping" | "terminated";
@@ -576,11 +562,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
576
562
  } & {
577
563
  json: Record<string, never>;
578
564
  };
579
- };
580
- };
581
- } & {
582
- "/:workerId/destroy": {
583
- $post: {
565
+ } | {
584
566
  output: {
585
567
  error: string;
586
568
  code?: "invalid_input" | undefined;
@@ -594,7 +576,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
594
576
  } & {
595
577
  json: Record<string, never>;
596
578
  };
597
- } | {
579
+ };
580
+ };
581
+ } & {
582
+ "/:workerId/destroy": {
583
+ $post: {
598
584
  output: {
599
585
  workerId: string;
600
586
  state: "complete" | "incomplete";
@@ -617,6 +603,20 @@ export declare function createDelegationRoutes(service: DelegationService, crede
617
603
  } & {
618
604
  json: Record<string, never>;
619
605
  };
606
+ } | {
607
+ output: {
608
+ error: string;
609
+ code?: "invalid_input" | undefined;
610
+ };
611
+ outputFormat: "json";
612
+ status: 400;
613
+ input: {
614
+ param: {
615
+ workerId: string;
616
+ };
617
+ } & {
618
+ json: Record<string, never>;
619
+ };
620
620
  } | {
621
621
  output: {
622
622
  workerId: string;
@@ -646,11 +646,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
646
646
  "/:workerId/diff": {
647
647
  $get: {
648
648
  output: {
649
- error: string;
650
- code?: "invalid_input" | undefined;
649
+ workerId: string;
650
+ baselineSha: string;
651
+ diff: string;
652
+ truncated: boolean;
651
653
  };
652
654
  outputFormat: "json";
653
- status: 400;
655
+ status: 200;
654
656
  input: {
655
657
  param: {
656
658
  workerId: string;
@@ -658,13 +660,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
658
660
  };
659
661
  } | {
660
662
  output: {
661
- workerId: string;
662
- baselineSha: string;
663
- diff: string;
664
- truncated: boolean;
663
+ error: string;
664
+ code?: "invalid_input" | undefined;
665
665
  };
666
666
  outputFormat: "json";
667
- status: 200;
667
+ status: 400;
668
668
  input: {
669
669
  param: {
670
670
  workerId: string;
@@ -286,18 +286,6 @@ 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
- } | {
301
289
  output: {
302
290
  workerId: string;
303
291
  parentRunId: string;
@@ -374,11 +362,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
374
362
  workerId: string;
375
363
  };
376
364
  };
377
- };
378
- };
379
- } & {
380
- "/:workerId/collect": {
381
- $post: {
365
+ } | {
382
366
  output: {
383
367
  error: string;
384
368
  code?: "invalid_input" | undefined;
@@ -389,10 +373,12 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
389
373
  param: {
390
374
  workerId: string;
391
375
  };
392
- } & {
393
- json: Record<string, never>;
394
376
  };
395
- } | {
377
+ };
378
+ };
379
+ } & {
380
+ "/:workerId/collect": {
381
+ $post: {
396
382
  output: {
397
383
  workerId: string;
398
384
  parentRunId: string;
@@ -494,11 +480,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
494
480
  } & {
495
481
  json: Record<string, never>;
496
482
  };
497
- };
498
- };
499
- } & {
500
- "/:workerId/steer": {
501
- $post: {
483
+ } | {
502
484
  output: {
503
485
  error: string;
504
486
  code?: "invalid_input" | undefined;
@@ -510,11 +492,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
510
492
  workerId: string;
511
493
  };
512
494
  } & {
513
- json: {
514
- text: string;
515
- };
495
+ json: Record<string, never>;
516
496
  };
517
- } | {
497
+ };
498
+ };
499
+ } & {
500
+ "/:workerId/steer": {
501
+ $post: {
518
502
  output: {
519
503
  workerId: string;
520
504
  state: "delivered" | "queued";
@@ -530,11 +514,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
530
514
  text: string;
531
515
  };
532
516
  };
533
- };
534
- };
535
- } & {
536
- "/:workerId/stop": {
537
- $post: {
517
+ } | {
538
518
  output: {
539
519
  error: string;
540
520
  code?: "invalid_input" | undefined;
@@ -546,9 +526,15 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
546
526
  workerId: string;
547
527
  };
548
528
  } & {
549
- json: Record<string, never>;
529
+ json: {
530
+ text: string;
531
+ };
550
532
  };
551
- } | {
533
+ };
534
+ };
535
+ } & {
536
+ "/:workerId/stop": {
537
+ $post: {
552
538
  output: {
553
539
  workerId: string;
554
540
  state: "stopping" | "terminated";
@@ -562,11 +548,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
562
548
  } & {
563
549
  json: Record<string, never>;
564
550
  };
565
- };
566
- };
567
- } & {
568
- "/:workerId/destroy": {
569
- $post: {
551
+ } | {
570
552
  output: {
571
553
  error: string;
572
554
  code?: "invalid_input" | undefined;
@@ -580,7 +562,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
580
562
  } & {
581
563
  json: Record<string, never>;
582
564
  };
583
- } | {
565
+ };
566
+ };
567
+ } & {
568
+ "/:workerId/destroy": {
569
+ $post: {
584
570
  output: {
585
571
  workerId: string;
586
572
  state: "complete" | "incomplete";
@@ -603,6 +589,20 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
603
589
  } & {
604
590
  json: Record<string, never>;
605
591
  };
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,11 +632,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
632
632
  "/:workerId/diff": {
633
633
  $get: {
634
634
  output: {
635
- error: string;
636
- code?: "invalid_input" | undefined;
635
+ workerId: string;
636
+ baselineSha: string;
637
+ diff: string;
638
+ truncated: boolean;
637
639
  };
638
640
  outputFormat: "json";
639
- status: 400;
641
+ status: 200;
640
642
  input: {
641
643
  param: {
642
644
  workerId: string;
@@ -644,13 +646,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
644
646
  };
645
647
  } | {
646
648
  output: {
647
- workerId: string;
648
- baselineSha: string;
649
- diff: string;
650
- truncated: boolean;
649
+ error: string;
650
+ code?: "invalid_input" | undefined;
651
651
  };
652
652
  outputFormat: "json";
653
- status: 200;
653
+ status: 400;
654
654
  input: {
655
655
  param: {
656
656
  workerId: string;