@hearsay-tools/squawk 0.18.0-dev.7333 → 0.18.0-dev.7338

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.
@@ -27,18 +27,6 @@ export declare function delegationFailure(error: unknown): {
27
27
  export declare function createDelegationRoutes(service: DelegationService, credentials: CredentialRegistry): import("hono/hono-base").HonoBase<Env, {
28
28
  "/list": {
29
29
  $get: {
30
- output: {
31
- error: string;
32
- code?: "invalid_input" | undefined;
33
- };
34
- outputFormat: "json";
35
- status: 400;
36
- input: {
37
- query: {
38
- offset?: string | undefined;
39
- };
40
- };
41
- } | {
42
30
  output: {
43
31
  workers: {
44
32
  workerId: string;
@@ -76,6 +64,18 @@ export declare function createDelegationRoutes(service: DelegationService, crede
76
64
  offset?: string | undefined;
77
65
  };
78
66
  };
67
+ } | {
68
+ output: {
69
+ error: string;
70
+ code?: "invalid_input" | undefined;
71
+ };
72
+ outputFormat: "json";
73
+ status: 400;
74
+ input: {
75
+ query: {
76
+ offset?: string | undefined;
77
+ };
78
+ };
79
79
  };
80
80
  };
81
81
  } & {
@@ -613,18 +613,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
613
613
  } & {
614
614
  "/:workerId": {
615
615
  $get: {
616
- output: {
617
- error: string;
618
- code?: "invalid_input" | undefined;
619
- };
620
- outputFormat: "json";
621
- status: 400;
622
- input: {
623
- param: {
624
- workerId: string;
625
- };
626
- };
627
- } | {
628
616
  output: {
629
617
  workerId: string;
630
618
  parentRunId: string;
@@ -732,11 +720,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
732
720
  workerId: string;
733
721
  };
734
722
  };
735
- };
736
- };
737
- } & {
738
- "/:workerId/collect": {
739
- $post: {
723
+ } | {
740
724
  output: {
741
725
  error: string;
742
726
  code?: "invalid_input" | undefined;
@@ -747,10 +731,12 @@ export declare function createDelegationRoutes(service: DelegationService, crede
747
731
  param: {
748
732
  workerId: string;
749
733
  };
750
- } & {
751
- json: Record<string, never>;
752
734
  };
753
- } | {
735
+ };
736
+ };
737
+ } & {
738
+ "/:workerId/collect": {
739
+ $post: {
754
740
  output: {
755
741
  workerId: string;
756
742
  parentRunId: string;
@@ -852,11 +838,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
852
838
  } & {
853
839
  json: Record<string, never>;
854
840
  };
855
- };
856
- };
857
- } & {
858
- "/:workerId/steer": {
859
- $post: {
841
+ } | {
860
842
  output: {
861
843
  error: string;
862
844
  code?: "invalid_input" | undefined;
@@ -868,11 +850,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
868
850
  workerId: string;
869
851
  };
870
852
  } & {
871
- json: {
872
- text: string;
873
- };
853
+ json: Record<string, never>;
874
854
  };
875
- } | {
855
+ };
856
+ };
857
+ } & {
858
+ "/:workerId/steer": {
859
+ $post: {
876
860
  output: {
877
861
  workerId: string;
878
862
  state: "delivered" | "queued";
@@ -888,11 +872,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
888
872
  text: string;
889
873
  };
890
874
  };
891
- };
892
- };
893
- } & {
894
- "/:workerId/stop": {
895
- $post: {
875
+ } | {
896
876
  output: {
897
877
  error: string;
898
878
  code?: "invalid_input" | undefined;
@@ -904,9 +884,15 @@ export declare function createDelegationRoutes(service: DelegationService, crede
904
884
  workerId: string;
905
885
  };
906
886
  } & {
907
- json: Record<string, never>;
887
+ json: {
888
+ text: string;
889
+ };
908
890
  };
909
- } | {
891
+ };
892
+ };
893
+ } & {
894
+ "/:workerId/stop": {
895
+ $post: {
910
896
  output: {
911
897
  workerId: string;
912
898
  state: "stopping" | "terminated";
@@ -920,11 +906,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
920
906
  } & {
921
907
  json: Record<string, never>;
922
908
  };
923
- };
924
- };
925
- } & {
926
- "/:workerId/destroy": {
927
- $post: {
909
+ } | {
928
910
  output: {
929
911
  error: string;
930
912
  code?: "invalid_input" | undefined;
@@ -938,7 +920,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
938
920
  } & {
939
921
  json: Record<string, never>;
940
922
  };
941
- } | {
923
+ };
924
+ };
925
+ } & {
926
+ "/:workerId/destroy": {
927
+ $post: {
942
928
  output: {
943
929
  workerId: string;
944
930
  state: "complete" | "incomplete";
@@ -961,6 +947,20 @@ export declare function createDelegationRoutes(service: DelegationService, crede
961
947
  } & {
962
948
  json: Record<string, never>;
963
949
  };
950
+ } | {
951
+ output: {
952
+ error: string;
953
+ code?: "invalid_input" | undefined;
954
+ };
955
+ outputFormat: "json";
956
+ status: 400;
957
+ input: {
958
+ param: {
959
+ workerId: string;
960
+ };
961
+ } & {
962
+ json: Record<string, never>;
963
+ };
964
964
  } | {
965
965
  output: {
966
966
  workerId: string;
@@ -990,11 +990,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
990
990
  "/:workerId/diff": {
991
991
  $get: {
992
992
  output: {
993
- error: string;
994
- code?: "invalid_input" | undefined;
993
+ workerId: string;
994
+ baselineSha: string;
995
+ diff: string;
996
+ truncated: boolean;
995
997
  };
996
998
  outputFormat: "json";
997
- status: 400;
999
+ status: 200;
998
1000
  input: {
999
1001
  param: {
1000
1002
  workerId: string;
@@ -1002,13 +1004,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1002
1004
  };
1003
1005
  } | {
1004
1006
  output: {
1005
- workerId: string;
1006
- baselineSha: string;
1007
- diff: string;
1008
- truncated: boolean;
1007
+ error: string;
1008
+ code?: "invalid_input" | undefined;
1009
1009
  };
1010
1010
  outputFormat: "json";
1011
- status: 200;
1011
+ status: 400;
1012
1012
  input: {
1013
1013
  param: {
1014
1014
  workerId: string;
@@ -4326,19 +4326,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4326
4326
  } & {
4327
4327
  "/repo/commit/:sha": {
4328
4328
  $get: {
4329
- output: string;
4330
- outputFormat: "text";
4331
- status: import("hono/utils/http-status").ContentfulStatusCode;
4332
- input: {
4333
- query: {
4334
- structured?: string | undefined;
4335
- };
4336
- } & {
4337
- param: {
4338
- sha: string;
4339
- };
4340
- };
4341
- } | {
4342
4329
  output: {
4343
4330
  error: string;
4344
4331
  code?: "invalid_input" | undefined;
@@ -4402,6 +4389,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4402
4389
  sha: string;
4403
4390
  };
4404
4391
  };
4392
+ } | {
4393
+ output: string;
4394
+ outputFormat: "text";
4395
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4396
+ input: {
4397
+ query: {
4398
+ structured?: string | undefined;
4399
+ };
4400
+ } & {
4401
+ param: {
4402
+ sha: string;
4403
+ };
4404
+ };
4405
4405
  };
4406
4406
  };
4407
4407
  } & {
@@ -17893,20 +17893,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17893
17893
  } & {
17894
17894
  "/runs/:id/handoff": {
17895
17895
  $get: {
17896
- output: string;
17897
- outputFormat: "text";
17898
- status: 200;
17896
+ output: {
17897
+ error: string;
17898
+ };
17899
+ outputFormat: "json";
17900
+ status: 404;
17899
17901
  input: {
17900
17902
  param: {
17901
17903
  id: string;
17902
17904
  };
17903
17905
  };
17904
17906
  } | {
17905
- output: {
17906
- error: string;
17907
- };
17908
- outputFormat: "json";
17909
- status: 404;
17907
+ output: string;
17908
+ outputFormat: "text";
17909
+ status: 200;
17910
17910
  input: {
17911
17911
  param: {
17912
17912
  id: string;
@@ -17944,20 +17944,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17944
17944
  } & {
17945
17945
  "/runs/:id/diff": {
17946
17946
  $get: {
17947
- output: string;
17948
- outputFormat: "text";
17949
- status: import("hono/utils/http-status").ContentfulStatusCode;
17947
+ output: {
17948
+ error: string;
17949
+ };
17950
+ outputFormat: "json";
17951
+ status: 404 | 409;
17950
17952
  input: {
17951
17953
  param: {
17952
17954
  id: string;
17953
17955
  };
17954
17956
  };
17955
17957
  } | {
17956
- output: {
17957
- error: string;
17958
- };
17959
- outputFormat: "json";
17960
- status: 404 | 409;
17958
+ output: string;
17959
+ outputFormat: "text";
17960
+ status: import("hono/utils/http-status").ContentfulStatusCode;
17961
17961
  input: {
17962
17962
  param: {
17963
17963
  id: string;
@@ -20001,19 +20001,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20001
20001
  } & {
20002
20002
  "/repo/commit/:sha": {
20003
20003
  $get: {
20004
- output: string;
20005
- outputFormat: "text";
20006
- status: import("hono/utils/http-status").ContentfulStatusCode;
20007
- input: {
20008
- query: {
20009
- structured?: string | undefined;
20010
- };
20011
- } & {
20012
- param: {
20013
- sha: string;
20014
- };
20015
- };
20016
- } | {
20017
20004
  output: {
20018
20005
  error: string;
20019
20006
  code?: "invalid_input" | undefined;
@@ -20077,6 +20064,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20077
20064
  sha: string;
20078
20065
  };
20079
20066
  };
20067
+ } | {
20068
+ output: string;
20069
+ outputFormat: "text";
20070
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20071
+ input: {
20072
+ query: {
20073
+ structured?: string | undefined;
20074
+ };
20075
+ } & {
20076
+ param: {
20077
+ sha: string;
20078
+ };
20079
+ };
20080
20080
  };
20081
20081
  };
20082
20082
  } & {
@@ -33568,20 +33568,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33568
33568
  } & {
33569
33569
  "/runs/:id/handoff": {
33570
33570
  $get: {
33571
- output: string;
33572
- outputFormat: "text";
33573
- status: 200;
33571
+ output: {
33572
+ error: string;
33573
+ };
33574
+ outputFormat: "json";
33575
+ status: 404;
33574
33576
  input: {
33575
33577
  param: {
33576
33578
  id: string;
33577
33579
  };
33578
33580
  };
33579
33581
  } | {
33580
- output: {
33581
- error: string;
33582
- };
33583
- outputFormat: "json";
33584
- status: 404;
33582
+ output: string;
33583
+ outputFormat: "text";
33584
+ status: 200;
33585
33585
  input: {
33586
33586
  param: {
33587
33587
  id: string;
@@ -33619,20 +33619,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33619
33619
  } & {
33620
33620
  "/runs/:id/diff": {
33621
33621
  $get: {
33622
- output: string;
33623
- outputFormat: "text";
33624
- status: import("hono/utils/http-status").ContentfulStatusCode;
33622
+ output: {
33623
+ error: string;
33624
+ };
33625
+ outputFormat: "json";
33626
+ status: 404 | 409;
33625
33627
  input: {
33626
33628
  param: {
33627
33629
  id: string;
33628
33630
  };
33629
33631
  };
33630
33632
  } | {
33631
- output: {
33632
- error: string;
33633
- };
33634
- outputFormat: "json";
33635
- status: 404 | 409;
33633
+ output: string;
33634
+ outputFormat: "text";
33635
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33636
33636
  input: {
33637
33637
  param: {
33638
33638
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hearsay-tools/squawk",
3
- "version": "0.18.0-dev.7333",
3
+ "version": "0.18.0-dev.7338",
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",
@@ -63,8 +63,8 @@
63
63
  "devDependencies": {
64
64
  "@babel/parser": "^8.0.8",
65
65
  "@babel/types": "^8.0.8",
66
- "@open-mercato/cezar-api-client": "0.18.0-dev.7333",
67
- "@open-mercato/cezar-contract": "0.18.0-dev.7333",
66
+ "@open-mercato/cezar-api-client": "0.18.0-dev.7338",
67
+ "@open-mercato/cezar-contract": "0.18.0-dev.7338",
68
68
  "@types/node": "^24.19.1",
69
69
  "@types/ws": "^8.18.1",
70
70
  "esbuild": "^0.28.1",
@@ -81,5 +81,5 @@
81
81
  "publishConfig": {
82
82
  "access": "public"
83
83
  },
84
- "gitHead": "00a42fe1820a0fbaf028ab5131299b8f67efb8c7"
84
+ "gitHead": "c442254052ed8ea5cceb84e97602179b25d01c57"
85
85
  }