@wjarka/cezarion 0.14.3-pr455.700 → 0.14.4-pr455.702

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,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;