@hearsay-tools/squawk 0.18.0-pr3852.7195 → 0.18.0-pr3855.7197

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;
@@ -2,6 +2,18 @@ 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
+ } | {
5
17
  output: {
6
18
  workers: {
7
19
  workerId: string;
@@ -39,18 +51,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
39
51
  offset?: string | undefined;
40
52
  };
41
53
  };
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
  } & {
@@ -588,6 +588,18 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
588
588
  } & {
589
589
  "/:workerId": {
590
590
  $get: {
591
+ output: {
592
+ error: string;
593
+ code?: "invalid_input" | undefined;
594
+ };
595
+ outputFormat: "json";
596
+ status: 400;
597
+ input: {
598
+ param: {
599
+ workerId: string;
600
+ };
601
+ };
602
+ } | {
591
603
  output: {
592
604
  workerId: string;
593
605
  parentRunId: string;
@@ -695,7 +707,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
695
707
  workerId: string;
696
708
  };
697
709
  };
698
- } | {
710
+ };
711
+ };
712
+ } & {
713
+ "/:workerId/collect": {
714
+ $post: {
699
715
  output: {
700
716
  error: string;
701
717
  code?: "invalid_input" | undefined;
@@ -706,12 +722,10 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
706
722
  param: {
707
723
  workerId: string;
708
724
  };
725
+ } & {
726
+ json: Record<string, never>;
709
727
  };
710
- };
711
- };
712
- } & {
713
- "/:workerId/collect": {
714
- $post: {
728
+ } | {
715
729
  output: {
716
730
  workerId: string;
717
731
  parentRunId: string;
@@ -813,7 +827,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
813
827
  } & {
814
828
  json: Record<string, never>;
815
829
  };
816
- } | {
830
+ };
831
+ };
832
+ } & {
833
+ "/:workerId/steer": {
834
+ $post: {
817
835
  output: {
818
836
  error: string;
819
837
  code?: "invalid_input" | undefined;
@@ -825,13 +843,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
825
843
  workerId: string;
826
844
  };
827
845
  } & {
828
- json: Record<string, never>;
846
+ json: {
847
+ text: string;
848
+ };
829
849
  };
830
- };
831
- };
832
- } & {
833
- "/:workerId/steer": {
834
- $post: {
850
+ } | {
835
851
  output: {
836
852
  workerId: string;
837
853
  state: "delivered" | "queued";
@@ -847,7 +863,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
847
863
  text: string;
848
864
  };
849
865
  };
850
- } | {
866
+ };
867
+ };
868
+ } & {
869
+ "/:workerId/stop": {
870
+ $post: {
851
871
  output: {
852
872
  error: string;
853
873
  code?: "invalid_input" | undefined;
@@ -859,15 +879,9 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
859
879
  workerId: string;
860
880
  };
861
881
  } & {
862
- json: {
863
- text: string;
864
- };
882
+ json: Record<string, never>;
865
883
  };
866
- };
867
- };
868
- } & {
869
- "/:workerId/stop": {
870
- $post: {
884
+ } | {
871
885
  output: {
872
886
  workerId: string;
873
887
  state: "stopping" | "terminated";
@@ -881,7 +895,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
881
895
  } & {
882
896
  json: Record<string, never>;
883
897
  };
884
- } | {
898
+ };
899
+ };
900
+ } & {
901
+ "/:workerId/destroy": {
902
+ $post: {
885
903
  output: {
886
904
  error: string;
887
905
  code?: "invalid_input" | undefined;
@@ -895,11 +913,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
895
913
  } & {
896
914
  json: Record<string, never>;
897
915
  };
898
- };
899
- };
900
- } & {
901
- "/:workerId/destroy": {
902
- $post: {
916
+ } | {
903
917
  output: {
904
918
  workerId: string;
905
919
  state: "complete" | "incomplete";
@@ -922,20 +936,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
922
936
  } & {
923
937
  json: Record<string, never>;
924
938
  };
925
- } | {
926
- output: {
927
- error: string;
928
- code?: "invalid_input" | undefined;
929
- };
930
- outputFormat: "json";
931
- status: 400;
932
- input: {
933
- param: {
934
- workerId: string;
935
- };
936
- } & {
937
- json: Record<string, never>;
938
- };
939
939
  } | {
940
940
  output: {
941
941
  workerId: string;
@@ -965,13 +965,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
965
965
  "/:workerId/diff": {
966
966
  $get: {
967
967
  output: {
968
- workerId: string;
969
- baselineSha: string;
970
- diff: string;
971
- truncated: boolean;
968
+ error: string;
969
+ code?: "invalid_input" | undefined;
972
970
  };
973
971
  outputFormat: "json";
974
- status: 200;
972
+ status: 400;
975
973
  input: {
976
974
  param: {
977
975
  workerId: string;
@@ -979,11 +977,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
979
977
  };
980
978
  } | {
981
979
  output: {
982
- error: string;
983
- code?: "invalid_input" | undefined;
980
+ workerId: string;
981
+ baselineSha: string;
982
+ diff: string;
983
+ truncated: boolean;
984
984
  };
985
985
  outputFormat: "json";
986
- status: 400;
986
+ status: 200;
987
987
  input: {
988
988
  param: {
989
989
  workerId: string;
@@ -59,6 +59,29 @@ export declare function ciProgressPlugs(demand: ActivityDemand): {
59
59
  export declare function createActivityRoutes(routeDeps: ActivityRouteDeps): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, {
60
60
  "/workspace/activity": {
61
61
  $get: {
62
+ output: {
63
+ error: string;
64
+ code?: "invalid_input" | undefined;
65
+ };
66
+ outputFormat: "json";
67
+ status: 400;
68
+ input: {
69
+ query: {
70
+ project?: string | undefined;
71
+ };
72
+ };
73
+ } | {
74
+ output: {
75
+ error: string;
76
+ };
77
+ outputFormat: "json";
78
+ status: 404 | 409 | 503;
79
+ input: {
80
+ query: {
81
+ project?: string | undefined;
82
+ };
83
+ };
84
+ } | {
62
85
  output: {
63
86
  generatedAt: string;
64
87
  projects: {
@@ -289,29 +312,6 @@ export declare function createActivityRoutes(routeDeps: ActivityRouteDeps): impo
289
312
  project?: string | undefined;
290
313
  };
291
314
  };
292
- } | {
293
- output: {
294
- error: string;
295
- code?: "invalid_input" | undefined;
296
- };
297
- outputFormat: "json";
298
- status: 400;
299
- input: {
300
- query: {
301
- project?: string | undefined;
302
- };
303
- };
304
- } | {
305
- output: {
306
- error: string;
307
- };
308
- outputFormat: "json";
309
- status: 404 | 409 | 503;
310
- input: {
311
- query: {
312
- project?: string | undefined;
313
- };
314
- };
315
315
  };
316
316
  };
317
317
  }, "/", "/workspace/activity">;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hearsay-tools/squawk",
3
- "version": "0.18.0-pr3852.7195",
3
+ "version": "0.18.0-pr3855.7197",
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-pr3852.7195",
67
- "@open-mercato/cezar-contract": "0.18.0-pr3852.7195",
66
+ "@open-mercato/cezar-api-client": "0.18.0-pr3855.7197",
67
+ "@open-mercato/cezar-contract": "0.18.0-pr3855.7197",
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": "d6ee6806a42e5d1779c3cc8bea29bb50ccac9fdc"
84
+ "gitHead": "ae6498b3a9eaf0c05ae677b8bfb79e2ece182ddc"
85
85
  }