@wjarka/cezarion 0.14.9-dev.942 → 0.14.9-dev.944

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.
@@ -425,6 +425,18 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
425
425
  } & {
426
426
  "/:workerId": {
427
427
  $get: {
428
+ output: {
429
+ error: string;
430
+ code?: "invalid_input" | undefined;
431
+ };
432
+ outputFormat: "json";
433
+ status: 400;
434
+ input: {
435
+ param: {
436
+ workerId: string;
437
+ };
438
+ };
439
+ } | {
428
440
  output: {
429
441
  workerId: string;
430
442
  parentRunId: string;
@@ -501,7 +513,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
501
513
  workerId: string;
502
514
  };
503
515
  };
504
- } | {
516
+ };
517
+ };
518
+ } & {
519
+ "/:workerId/collect": {
520
+ $post: {
505
521
  output: {
506
522
  error: string;
507
523
  code?: "invalid_input" | undefined;
@@ -512,12 +528,10 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
512
528
  param: {
513
529
  workerId: string;
514
530
  };
531
+ } & {
532
+ json: Record<string, never>;
515
533
  };
516
- };
517
- };
518
- } & {
519
- "/:workerId/collect": {
520
- $post: {
534
+ } | {
521
535
  output: {
522
536
  workerId: string;
523
537
  parentRunId: string;
@@ -619,7 +633,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
619
633
  } & {
620
634
  json: Record<string, never>;
621
635
  };
622
- } | {
636
+ };
637
+ };
638
+ } & {
639
+ "/:workerId/steer": {
640
+ $post: {
623
641
  output: {
624
642
  error: string;
625
643
  code?: "invalid_input" | undefined;
@@ -631,13 +649,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
631
649
  workerId: string;
632
650
  };
633
651
  } & {
634
- json: Record<string, never>;
652
+ json: {
653
+ text: string;
654
+ };
635
655
  };
636
- };
637
- };
638
- } & {
639
- "/:workerId/steer": {
640
- $post: {
656
+ } | {
641
657
  output: {
642
658
  workerId: string;
643
659
  state: "delivered" | "queued";
@@ -653,7 +669,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
653
669
  text: string;
654
670
  };
655
671
  };
656
- } | {
672
+ };
673
+ };
674
+ } & {
675
+ "/:workerId/stop": {
676
+ $post: {
657
677
  output: {
658
678
  error: string;
659
679
  code?: "invalid_input" | undefined;
@@ -665,15 +685,9 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
665
685
  workerId: string;
666
686
  };
667
687
  } & {
668
- json: {
669
- text: string;
670
- };
688
+ json: Record<string, never>;
671
689
  };
672
- };
673
- };
674
- } & {
675
- "/:workerId/stop": {
676
- $post: {
690
+ } | {
677
691
  output: {
678
692
  workerId: string;
679
693
  state: "stopping" | "terminated";
@@ -687,7 +701,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
687
701
  } & {
688
702
  json: Record<string, never>;
689
703
  };
690
- } | {
704
+ };
705
+ };
706
+ } & {
707
+ "/:workerId/destroy": {
708
+ $post: {
691
709
  output: {
692
710
  error: string;
693
711
  code?: "invalid_input" | undefined;
@@ -701,11 +719,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
701
719
  } & {
702
720
  json: Record<string, never>;
703
721
  };
704
- };
705
- };
706
- } & {
707
- "/:workerId/destroy": {
708
- $post: {
722
+ } | {
709
723
  output: {
710
724
  workerId: string;
711
725
  state: "complete" | "incomplete";
@@ -728,20 +742,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
728
742
  } & {
729
743
  json: Record<string, never>;
730
744
  };
731
- } | {
732
- output: {
733
- error: string;
734
- code?: "invalid_input" | undefined;
735
- };
736
- outputFormat: "json";
737
- status: 400;
738
- input: {
739
- param: {
740
- workerId: string;
741
- };
742
- } & {
743
- json: Record<string, never>;
744
- };
745
745
  } | {
746
746
  output: {
747
747
  workerId: string;
@@ -771,13 +771,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
771
771
  "/:workerId/diff": {
772
772
  $get: {
773
773
  output: {
774
- workerId: string;
775
- baselineSha: string;
776
- diff: string;
777
- truncated: boolean;
774
+ error: string;
775
+ code?: "invalid_input" | undefined;
778
776
  };
779
777
  outputFormat: "json";
780
- status: 200;
778
+ status: 400;
781
779
  input: {
782
780
  param: {
783
781
  workerId: string;
@@ -785,11 +783,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
785
783
  };
786
784
  } | {
787
785
  output: {
788
- error: string;
789
- code?: "invalid_input" | undefined;
786
+ workerId: string;
787
+ baselineSha: string;
788
+ diff: string;
789
+ truncated: boolean;
790
790
  };
791
791
  outputFormat: "json";
792
- status: 400;
792
+ status: 200;
793
793
  input: {
794
794
  param: {
795
795
  workerId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wjarka/cezarion",
3
- "version": "0.14.9-dev.942",
3
+ "version": "0.14.9-dev.944",
4
4
  "description": "Local cockpit for running and tracking AI agent tasks in your repo. Uses your logged-in `claude` CLI and `gh` — zero config, zero database.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -51,8 +51,8 @@
51
51
  "zod": "^4.4.3"
52
52
  },
53
53
  "devDependencies": {
54
- "@open-mercato/cezar-api-client": "0.14.9-dev.942",
55
- "@open-mercato/cezar-contract": "0.14.9-dev.942",
54
+ "@open-mercato/cezar-api-client": "0.14.9-dev.944",
55
+ "@open-mercato/cezar-contract": "0.14.9-dev.944",
56
56
  "@types/node": "^20.14.0",
57
57
  "@types/ws": "^8.18.1",
58
58
  "esbuild": "^0.28.1",