@hearsay-tools/squawk 0.18.0-pr3969.7534 → 0.18.0-pr3977.7544

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,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;
@@ -48,18 +60,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
48
60
  offset?: string | undefined;
49
61
  };
50
62
  };
51
- } | {
52
- output: {
53
- error: string;
54
- code?: "invalid_input" | undefined;
55
- };
56
- outputFormat: "json";
57
- status: 400;
58
- input: {
59
- query: {
60
- offset?: string | undefined;
61
- };
62
- };
63
63
  };
64
64
  };
65
65
  } & {
@@ -598,6 +598,18 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
598
598
  } & {
599
599
  "/:workerId": {
600
600
  $get: {
601
+ output: {
602
+ error: string;
603
+ code?: "invalid_input" | undefined;
604
+ };
605
+ outputFormat: "json";
606
+ status: 400;
607
+ input: {
608
+ param: {
609
+ workerId: string;
610
+ };
611
+ };
612
+ } | {
601
613
  output: {
602
614
  workerId: string;
603
615
  settled: boolean;
@@ -715,7 +727,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
715
727
  workerId: string;
716
728
  };
717
729
  };
718
- } | {
730
+ };
731
+ };
732
+ } & {
733
+ "/:workerId/collect": {
734
+ $post: {
719
735
  output: {
720
736
  error: string;
721
737
  code?: "invalid_input" | undefined;
@@ -726,12 +742,10 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
726
742
  param: {
727
743
  workerId: string;
728
744
  };
745
+ } & {
746
+ json: Record<string, never>;
729
747
  };
730
- };
731
- };
732
- } & {
733
- "/:workerId/collect": {
734
- $post: {
748
+ } | {
735
749
  output: {
736
750
  workerId: string;
737
751
  parentRunId: string;
@@ -854,7 +868,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
854
868
  } & {
855
869
  json: Record<string, never>;
856
870
  };
857
- } | {
871
+ };
872
+ };
873
+ } & {
874
+ "/:workerId/steer": {
875
+ $post: {
858
876
  output: {
859
877
  error: string;
860
878
  code?: "invalid_input" | undefined;
@@ -866,13 +884,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
866
884
  workerId: string;
867
885
  };
868
886
  } & {
869
- json: Record<string, never>;
887
+ json: {
888
+ text: string;
889
+ };
870
890
  };
871
- };
872
- };
873
- } & {
874
- "/:workerId/steer": {
875
- $post: {
891
+ } | {
876
892
  output: {
877
893
  workerId: string;
878
894
  state: "delivered" | "queued";
@@ -888,7 +904,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
888
904
  text: string;
889
905
  };
890
906
  };
891
- } | {
907
+ };
908
+ };
909
+ } & {
910
+ "/:workerId/stop": {
911
+ $post: {
892
912
  output: {
893
913
  error: string;
894
914
  code?: "invalid_input" | undefined;
@@ -900,15 +920,9 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
900
920
  workerId: string;
901
921
  };
902
922
  } & {
903
- json: {
904
- text: string;
905
- };
923
+ json: Record<string, never>;
906
924
  };
907
- };
908
- };
909
- } & {
910
- "/:workerId/stop": {
911
- $post: {
925
+ } | {
912
926
  output: {
913
927
  workerId: string;
914
928
  state: "stopping" | "terminated";
@@ -922,7 +936,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
922
936
  } & {
923
937
  json: Record<string, never>;
924
938
  };
925
- } | {
939
+ };
940
+ };
941
+ } & {
942
+ "/:workerId/destroy": {
943
+ $post: {
926
944
  output: {
927
945
  error: string;
928
946
  code?: "invalid_input" | undefined;
@@ -934,13 +952,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
934
952
  workerId: string;
935
953
  };
936
954
  } & {
937
- json: Record<string, never>;
955
+ json: {
956
+ discardWork?: true | undefined;
957
+ };
938
958
  };
939
- };
940
- };
941
- } & {
942
- "/:workerId/destroy": {
943
- $post: {
959
+ } | {
944
960
  output: {
945
961
  workerId: string;
946
962
  state: "complete" | "incomplete";
@@ -969,22 +985,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
969
985
  discardWork?: true | undefined;
970
986
  };
971
987
  };
972
- } | {
973
- output: {
974
- error: string;
975
- code?: "invalid_input" | undefined;
976
- };
977
- outputFormat: "json";
978
- status: 400;
979
- input: {
980
- param: {
981
- workerId: string;
982
- };
983
- } & {
984
- json: {
985
- discardWork?: true | undefined;
986
- };
987
- };
988
988
  } | {
989
989
  output: {
990
990
  workerId: string;
@@ -1020,13 +1020,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
1020
1020
  "/:workerId/diff": {
1021
1021
  $get: {
1022
1022
  output: {
1023
- workerId: string;
1024
- baselineSha: string;
1025
- diff: string;
1026
- truncated: boolean;
1023
+ error: string;
1024
+ code?: "invalid_input" | undefined;
1027
1025
  };
1028
1026
  outputFormat: "json";
1029
- status: 200;
1027
+ status: 400;
1030
1028
  input: {
1031
1029
  param: {
1032
1030
  workerId: string;
@@ -1034,11 +1032,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
1034
1032
  };
1035
1033
  } | {
1036
1034
  output: {
1037
- error: string;
1038
- code?: "invalid_input" | undefined;
1035
+ workerId: string;
1036
+ baselineSha: string;
1037
+ diff: string;
1038
+ truncated: boolean;
1039
1039
  };
1040
1040
  outputFormat: "json";
1041
- status: 400;
1041
+ status: 200;
1042
1042
  input: {
1043
1043
  param: {
1044
1044
  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">;
@@ -4257,19 +4257,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4257
4257
  } & {
4258
4258
  "/repo/commit/:sha": {
4259
4259
  $get: {
4260
- output: string;
4261
- outputFormat: "text";
4262
- status: import("hono/utils/http-status").ContentfulStatusCode;
4263
- input: {
4264
- query: {
4265
- structured?: string | undefined;
4266
- };
4267
- } & {
4268
- param: {
4269
- sha: string;
4270
- };
4271
- };
4272
- } | {
4273
4260
  output: {
4274
4261
  error: string;
4275
4262
  code?: "invalid_input" | undefined;
@@ -4333,6 +4320,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4333
4320
  sha: string;
4334
4321
  };
4335
4322
  };
4323
+ } | {
4324
+ output: string;
4325
+ outputFormat: "text";
4326
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4327
+ input: {
4328
+ query: {
4329
+ structured?: string | undefined;
4330
+ };
4331
+ } & {
4332
+ param: {
4333
+ sha: string;
4334
+ };
4335
+ };
4336
4336
  };
4337
4337
  };
4338
4338
  } & {
@@ -18069,20 +18069,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18069
18069
  } & {
18070
18070
  "/runs/:id/handoff": {
18071
18071
  $get: {
18072
- output: string;
18073
- outputFormat: "text";
18074
- status: 200;
18072
+ output: {
18073
+ error: string;
18074
+ };
18075
+ outputFormat: "json";
18076
+ status: 404;
18075
18077
  input: {
18076
18078
  param: {
18077
18079
  id: string;
18078
18080
  };
18079
18081
  };
18080
18082
  } | {
18081
- output: {
18082
- error: string;
18083
- };
18084
- outputFormat: "json";
18085
- status: 404;
18083
+ output: string;
18084
+ outputFormat: "text";
18085
+ status: 200;
18086
18086
  input: {
18087
18087
  param: {
18088
18088
  id: string;
@@ -18120,20 +18120,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18120
18120
  } & {
18121
18121
  "/runs/:id/diff": {
18122
18122
  $get: {
18123
- output: string;
18124
- outputFormat: "text";
18125
- status: import("hono/utils/http-status").ContentfulStatusCode;
18123
+ output: {
18124
+ error: string;
18125
+ };
18126
+ outputFormat: "json";
18127
+ status: 404 | 409;
18126
18128
  input: {
18127
18129
  param: {
18128
18130
  id: string;
18129
18131
  };
18130
18132
  };
18131
18133
  } | {
18132
- output: {
18133
- error: string;
18134
- };
18135
- outputFormat: "json";
18136
- status: 404 | 409;
18134
+ output: string;
18135
+ outputFormat: "text";
18136
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18137
18137
  input: {
18138
18138
  param: {
18139
18139
  id: string;
@@ -20151,19 +20151,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20151
20151
  } & {
20152
20152
  "/repo/commit/:sha": {
20153
20153
  $get: {
20154
- output: string;
20155
- outputFormat: "text";
20156
- status: import("hono/utils/http-status").ContentfulStatusCode;
20157
- input: {
20158
- query: {
20159
- structured?: string | undefined;
20160
- };
20161
- } & {
20162
- param: {
20163
- sha: string;
20164
- };
20165
- };
20166
- } | {
20167
20154
  output: {
20168
20155
  error: string;
20169
20156
  code?: "invalid_input" | undefined;
@@ -20227,6 +20214,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20227
20214
  sha: string;
20228
20215
  };
20229
20216
  };
20217
+ } | {
20218
+ output: string;
20219
+ outputFormat: "text";
20220
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20221
+ input: {
20222
+ query: {
20223
+ structured?: string | undefined;
20224
+ };
20225
+ } & {
20226
+ param: {
20227
+ sha: string;
20228
+ };
20229
+ };
20230
20230
  };
20231
20231
  };
20232
20232
  } & {
@@ -33963,20 +33963,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33963
33963
  } & {
33964
33964
  "/runs/:id/handoff": {
33965
33965
  $get: {
33966
- output: string;
33967
- outputFormat: "text";
33968
- status: 200;
33966
+ output: {
33967
+ error: string;
33968
+ };
33969
+ outputFormat: "json";
33970
+ status: 404;
33969
33971
  input: {
33970
33972
  param: {
33971
33973
  id: string;
33972
33974
  };
33973
33975
  };
33974
33976
  } | {
33975
- output: {
33976
- error: string;
33977
- };
33978
- outputFormat: "json";
33979
- status: 404;
33977
+ output: string;
33978
+ outputFormat: "text";
33979
+ status: 200;
33980
33980
  input: {
33981
33981
  param: {
33982
33982
  id: string;
@@ -34014,20 +34014,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34014
34014
  } & {
34015
34015
  "/runs/:id/diff": {
34016
34016
  $get: {
34017
- output: string;
34018
- outputFormat: "text";
34019
- status: import("hono/utils/http-status").ContentfulStatusCode;
34017
+ output: {
34018
+ error: string;
34019
+ };
34020
+ outputFormat: "json";
34021
+ status: 404 | 409;
34020
34022
  input: {
34021
34023
  param: {
34022
34024
  id: string;
34023
34025
  };
34024
34026
  };
34025
34027
  } | {
34026
- output: {
34027
- error: string;
34028
- };
34029
- outputFormat: "json";
34030
- status: 404 | 409;
34028
+ output: string;
34029
+ outputFormat: "text";
34030
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34031
34031
  input: {
34032
34032
  param: {
34033
34033
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hearsay-tools/squawk",
3
- "version": "0.18.0-pr3969.7534",
3
+ "version": "0.18.0-pr3977.7544",
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-pr3969.7534",
67
- "@open-mercato/cezar-contract": "0.18.0-pr3969.7534",
66
+ "@open-mercato/cezar-api-client": "0.18.0-pr3977.7544",
67
+ "@open-mercato/cezar-contract": "0.18.0-pr3977.7544",
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": "6534418d7d33f93e4e283f42dcf85664080d749d"
84
+ "gitHead": "0ccd388b0d31bb573aa643e979c98d97c2b5bb8f"
85
85
  }