@hearsay-tools/squawk 0.18.0-dev.7522 → 0.18.0-dev.7527

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