@wjarka/cezarion 0.14.3-pr447.676 → 0.14.3-pr448.680

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