@wjarka/cezarion 0.17.0-pr2575.4036.2 → 0.17.0-pr2577.4045.2

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.
@@ -2,18 +2,6 @@ import type { DelegationRoutes } from './routes.ts';
2
2
  export declare function createDelegationApp(routes: DelegationRoutes): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
3
3
  "/list": {
4
4
  $get: {
5
- output: {
6
- error: string;
7
- code?: "invalid_input" | undefined;
8
- };
9
- outputFormat: "json";
10
- status: 400;
11
- input: {
12
- query: {
13
- offset?: string | undefined;
14
- };
15
- };
16
- } | {
17
5
  output: {
18
6
  workers: {
19
7
  workerId: string;
@@ -51,6 +39,18 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
51
39
  offset?: string | undefined;
52
40
  };
53
41
  };
42
+ } | {
43
+ output: {
44
+ error: string;
45
+ code?: "invalid_input" | undefined;
46
+ };
47
+ outputFormat: "json";
48
+ status: 400;
49
+ input: {
50
+ query: {
51
+ offset?: string | undefined;
52
+ };
53
+ };
54
54
  };
55
55
  };
56
56
  } & {
@@ -585,18 +585,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
585
585
  } & {
586
586
  "/:workerId": {
587
587
  $get: {
588
- output: {
589
- error: string;
590
- code?: "invalid_input" | undefined;
591
- };
592
- outputFormat: "json";
593
- status: 400;
594
- input: {
595
- param: {
596
- workerId: string;
597
- };
598
- };
599
- } | {
600
588
  output: {
601
589
  workerId: string;
602
590
  parentRunId: string;
@@ -700,11 +688,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
700
688
  workerId: string;
701
689
  };
702
690
  };
703
- };
704
- };
705
- } & {
706
- "/:workerId/collect": {
707
- $post: {
691
+ } | {
708
692
  output: {
709
693
  error: string;
710
694
  code?: "invalid_input" | undefined;
@@ -715,10 +699,12 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
715
699
  param: {
716
700
  workerId: string;
717
701
  };
718
- } & {
719
- json: Record<string, never>;
720
702
  };
721
- } | {
703
+ };
704
+ };
705
+ } & {
706
+ "/:workerId/collect": {
707
+ $post: {
722
708
  output: {
723
709
  workerId: string;
724
710
  parentRunId: string;
@@ -820,11 +806,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
820
806
  } & {
821
807
  json: Record<string, never>;
822
808
  };
823
- };
824
- };
825
- } & {
826
- "/:workerId/steer": {
827
- $post: {
809
+ } | {
828
810
  output: {
829
811
  error: string;
830
812
  code?: "invalid_input" | undefined;
@@ -836,11 +818,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
836
818
  workerId: string;
837
819
  };
838
820
  } & {
839
- json: {
840
- text: string;
841
- };
821
+ json: Record<string, never>;
842
822
  };
843
- } | {
823
+ };
824
+ };
825
+ } & {
826
+ "/:workerId/steer": {
827
+ $post: {
844
828
  output: {
845
829
  workerId: string;
846
830
  state: "delivered" | "queued";
@@ -856,11 +840,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
856
840
  text: string;
857
841
  };
858
842
  };
859
- };
860
- };
861
- } & {
862
- "/:workerId/stop": {
863
- $post: {
843
+ } | {
864
844
  output: {
865
845
  error: string;
866
846
  code?: "invalid_input" | undefined;
@@ -872,9 +852,15 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
872
852
  workerId: string;
873
853
  };
874
854
  } & {
875
- json: Record<string, never>;
855
+ json: {
856
+ text: string;
857
+ };
876
858
  };
877
- } | {
859
+ };
860
+ };
861
+ } & {
862
+ "/:workerId/stop": {
863
+ $post: {
878
864
  output: {
879
865
  workerId: string;
880
866
  state: "stopping" | "terminated";
@@ -888,11 +874,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
888
874
  } & {
889
875
  json: Record<string, never>;
890
876
  };
891
- };
892
- };
893
- } & {
894
- "/:workerId/destroy": {
895
- $post: {
877
+ } | {
896
878
  output: {
897
879
  error: string;
898
880
  code?: "invalid_input" | undefined;
@@ -906,7 +888,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
906
888
  } & {
907
889
  json: Record<string, never>;
908
890
  };
909
- } | {
891
+ };
892
+ };
893
+ } & {
894
+ "/:workerId/destroy": {
895
+ $post: {
910
896
  output: {
911
897
  workerId: string;
912
898
  state: "complete" | "incomplete";
@@ -929,6 +915,20 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
929
915
  } & {
930
916
  json: Record<string, never>;
931
917
  };
918
+ } | {
919
+ output: {
920
+ error: string;
921
+ code?: "invalid_input" | undefined;
922
+ };
923
+ outputFormat: "json";
924
+ status: 400;
925
+ input: {
926
+ param: {
927
+ workerId: string;
928
+ };
929
+ } & {
930
+ json: Record<string, never>;
931
+ };
932
932
  } | {
933
933
  output: {
934
934
  workerId: string;
@@ -958,11 +958,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
958
958
  "/:workerId/diff": {
959
959
  $get: {
960
960
  output: {
961
- error: string;
962
- code?: "invalid_input" | undefined;
961
+ workerId: string;
962
+ baselineSha: string;
963
+ diff: string;
964
+ truncated: boolean;
963
965
  };
964
966
  outputFormat: "json";
965
- status: 400;
967
+ status: 200;
966
968
  input: {
967
969
  param: {
968
970
  workerId: string;
@@ -970,13 +972,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
970
972
  };
971
973
  } | {
972
974
  output: {
973
- workerId: string;
974
- baselineSha: string;
975
- diff: string;
976
- truncated: boolean;
975
+ error: string;
976
+ code?: "invalid_input" | undefined;
977
977
  };
978
978
  outputFormat: "json";
979
- status: 200;
979
+ status: 400;
980
980
  input: {
981
981
  param: {
982
982
  workerId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wjarka/cezarion",
3
- "version": "0.17.0-pr2575.4036.2",
3
+ "version": "0.17.0-pr2577.4045.2",
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",
@@ -57,8 +57,8 @@
57
57
  "devDependencies": {
58
58
  "@babel/parser": "^8.0.8",
59
59
  "@babel/types": "^8.0.8",
60
- "@open-mercato/cezar-api-client": "0.17.0-pr2575.4036.2",
61
- "@open-mercato/cezar-contract": "0.17.0-pr2575.4036.2",
60
+ "@open-mercato/cezar-api-client": "0.17.0-pr2577.4045.2",
61
+ "@open-mercato/cezar-contract": "0.17.0-pr2577.4045.2",
62
62
  "@types/node": "^24.19.1",
63
63
  "@types/ws": "^8.18.1",
64
64
  "esbuild": "^0.28.1",