@hearsay-tools/squawk 0.18.0-pr4189.8101 → 0.18.0-pr4196.8108

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;
@@ -66,6 +54,18 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
66
54
  offset?: string | undefined;
67
55
  };
68
56
  };
57
+ } | {
58
+ output: {
59
+ error: string;
60
+ code?: "invalid_input" | undefined;
61
+ };
62
+ outputFormat: "json";
63
+ status: 400;
64
+ input: {
65
+ query: {
66
+ offset?: string | undefined;
67
+ };
68
+ };
69
69
  };
70
70
  };
71
71
  } & {
@@ -616,18 +616,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
616
616
  } & {
617
617
  "/:workerId": {
618
618
  $get: {
619
- output: {
620
- error: string;
621
- code?: "invalid_input" | undefined;
622
- };
623
- outputFormat: "json";
624
- status: 400;
625
- input: {
626
- param: {
627
- workerId: string;
628
- };
629
- };
630
- } | {
631
619
  output: {
632
620
  workerId: string;
633
621
  settled: boolean;
@@ -752,11 +740,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
752
740
  workerId: string;
753
741
  };
754
742
  };
755
- };
756
- };
757
- } & {
758
- "/:workerId/collect": {
759
- $post: {
743
+ } | {
760
744
  output: {
761
745
  error: string;
762
746
  code?: "invalid_input" | undefined;
@@ -767,10 +751,12 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
767
751
  param: {
768
752
  workerId: string;
769
753
  };
770
- } & {
771
- json: Record<string, never>;
772
754
  };
773
- } | {
755
+ };
756
+ };
757
+ } & {
758
+ "/:workerId/collect": {
759
+ $post: {
774
760
  output: {
775
761
  workerId: string;
776
762
  parentRunId: string;
@@ -893,11 +879,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
893
879
  } & {
894
880
  json: Record<string, never>;
895
881
  };
896
- };
897
- };
898
- } & {
899
- "/:workerId/steer": {
900
- $post: {
882
+ } | {
901
883
  output: {
902
884
  error: string;
903
885
  code?: "invalid_input" | undefined;
@@ -909,11 +891,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
909
891
  workerId: string;
910
892
  };
911
893
  } & {
912
- json: {
913
- text: string;
914
- };
894
+ json: Record<string, never>;
915
895
  };
916
- } | {
896
+ };
897
+ };
898
+ } & {
899
+ "/:workerId/steer": {
900
+ $post: {
917
901
  output: {
918
902
  workerId: string;
919
903
  state: "delivered" | "queued";
@@ -929,11 +913,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
929
913
  text: string;
930
914
  };
931
915
  };
932
- };
933
- };
934
- } & {
935
- "/:workerId/stop": {
936
- $post: {
916
+ } | {
937
917
  output: {
938
918
  error: string;
939
919
  code?: "invalid_input" | undefined;
@@ -945,9 +925,15 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
945
925
  workerId: string;
946
926
  };
947
927
  } & {
948
- json: Record<string, never>;
928
+ json: {
929
+ text: string;
930
+ };
949
931
  };
950
- } | {
932
+ };
933
+ };
934
+ } & {
935
+ "/:workerId/stop": {
936
+ $post: {
951
937
  output: {
952
938
  workerId: string;
953
939
  state: "stopping" | "terminated";
@@ -961,11 +947,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
961
947
  } & {
962
948
  json: Record<string, never>;
963
949
  };
964
- };
965
- };
966
- } & {
967
- "/:workerId/destroy": {
968
- $post: {
950
+ } | {
969
951
  output: {
970
952
  error: string;
971
953
  code?: "invalid_input" | undefined;
@@ -977,11 +959,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
977
959
  workerId: string;
978
960
  };
979
961
  } & {
980
- json: {
981
- discardWork?: true | undefined;
982
- };
962
+ json: Record<string, never>;
983
963
  };
984
- } | {
964
+ };
965
+ };
966
+ } & {
967
+ "/:workerId/destroy": {
968
+ $post: {
985
969
  output: {
986
970
  workerId: string;
987
971
  state: "complete" | "incomplete";
@@ -1010,6 +994,22 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
1010
994
  discardWork?: true | undefined;
1011
995
  };
1012
996
  };
997
+ } | {
998
+ output: {
999
+ error: string;
1000
+ code?: "invalid_input" | undefined;
1001
+ };
1002
+ outputFormat: "json";
1003
+ status: 400;
1004
+ input: {
1005
+ param: {
1006
+ workerId: string;
1007
+ };
1008
+ } & {
1009
+ json: {
1010
+ discardWork?: true | undefined;
1011
+ };
1012
+ };
1013
1013
  } | {
1014
1014
  output: {
1015
1015
  workerId: string;
@@ -1045,11 +1045,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
1045
1045
  "/:workerId/diff": {
1046
1046
  $get: {
1047
1047
  output: {
1048
- error: string;
1049
- code?: "invalid_input" | undefined;
1048
+ workerId: string;
1049
+ baselineSha: string;
1050
+ diff: string;
1051
+ truncated: boolean;
1050
1052
  };
1051
1053
  outputFormat: "json";
1052
- status: 400;
1054
+ status: 200;
1053
1055
  input: {
1054
1056
  param: {
1055
1057
  workerId: string;
@@ -1057,13 +1059,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
1057
1059
  };
1058
1060
  } | {
1059
1061
  output: {
1060
- workerId: string;
1061
- baselineSha: string;
1062
- diff: string;
1063
- truncated: boolean;
1062
+ error: string;
1063
+ code?: "invalid_input" | undefined;
1064
1064
  };
1065
1065
  outputFormat: "json";
1066
- status: 200;
1066
+ status: 400;
1067
1067
  input: {
1068
1068
  param: {
1069
1069
  workerId: string;
@@ -30,19 +30,10 @@ export declare function createModelsRoutes(options: {
30
30
  };
31
31
  } | {
32
32
  output: {
33
- runner: string;
34
- models: {
35
- id: string;
36
- label: string;
37
- description: string;
38
- effortLevels?: import('../contract/index.js').EffortLevel[];
39
- }[];
40
- source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
41
- stale: boolean;
42
- reason?: string;
33
+ error: string;
43
34
  };
44
35
  outputFormat: "json";
45
- status: import("hono/utils/http-status").ContentfulStatusCode;
36
+ status: 400;
46
37
  input: {
47
38
  query: {
48
39
  runner: string | string[];
@@ -63,10 +54,19 @@ export declare function createModelsRoutes(options: {
63
54
  };
64
55
  } | {
65
56
  output: {
66
- error: string;
57
+ runner: string;
58
+ models: {
59
+ id: string;
60
+ label: string;
61
+ description: string;
62
+ effortLevels?: import('../contract/index.js').EffortLevel[];
63
+ }[];
64
+ source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
65
+ stale: boolean;
66
+ reason?: string;
67
67
  };
68
68
  outputFormat: "json";
69
- status: 400;
69
+ status: import("hono/utils/http-status").ContentfulStatusCode;
70
70
  input: {
71
71
  query: {
72
72
  runner: string | string[];
@@ -4665,6 +4665,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4665
4665
  } & {
4666
4666
  "/repo/commit/:sha": {
4667
4667
  $get: {
4668
+ output: string;
4669
+ outputFormat: "text";
4670
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4671
+ input: {
4672
+ query: {
4673
+ structured?: string | undefined;
4674
+ };
4675
+ } & {
4676
+ param: {
4677
+ sha: string;
4678
+ };
4679
+ };
4680
+ } | {
4668
4681
  output: {
4669
4682
  error: string;
4670
4683
  code?: "invalid_input" | undefined;
@@ -4728,19 +4741,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4728
4741
  sha: string;
4729
4742
  };
4730
4743
  };
4731
- } | {
4732
- output: string;
4733
- outputFormat: "text";
4734
- status: import("hono/utils/http-status").ContentfulStatusCode;
4735
- input: {
4736
- query: {
4737
- structured?: string | undefined;
4738
- };
4739
- } & {
4740
- param: {
4741
- sha: string;
4742
- };
4743
- };
4744
4744
  };
4745
4745
  };
4746
4746
  } & {
@@ -19208,20 +19208,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19208
19208
  } & {
19209
19209
  "/runs/:id/handoff": {
19210
19210
  $get: {
19211
- output: {
19212
- error: string;
19213
- };
19214
- outputFormat: "json";
19215
- status: 404;
19211
+ output: string;
19212
+ outputFormat: "text";
19213
+ status: 200;
19216
19214
  input: {
19217
19215
  param: {
19218
19216
  id: string;
19219
19217
  };
19220
19218
  };
19221
19219
  } | {
19222
- output: string;
19223
- outputFormat: "text";
19224
- status: 200;
19220
+ output: {
19221
+ error: string;
19222
+ };
19223
+ outputFormat: "json";
19224
+ status: 404;
19225
19225
  input: {
19226
19226
  param: {
19227
19227
  id: string;
@@ -19259,20 +19259,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19259
19259
  } & {
19260
19260
  "/runs/:id/diff": {
19261
19261
  $get: {
19262
- output: {
19263
- error: string;
19264
- };
19265
- outputFormat: "json";
19266
- status: 404 | 409;
19262
+ output: string;
19263
+ outputFormat: "text";
19264
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19267
19265
  input: {
19268
19266
  param: {
19269
19267
  id: string;
19270
19268
  };
19271
19269
  };
19272
19270
  } | {
19273
- output: string;
19274
- outputFormat: "text";
19275
- status: import("hono/utils/http-status").ContentfulStatusCode;
19271
+ output: {
19272
+ error: string;
19273
+ };
19274
+ outputFormat: "json";
19275
+ status: 404 | 409;
19276
19276
  input: {
19277
19277
  param: {
19278
19278
  id: string;
@@ -21319,6 +21319,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21319
21319
  } & {
21320
21320
  "/repo/commit/:sha": {
21321
21321
  $get: {
21322
+ output: string;
21323
+ outputFormat: "text";
21324
+ status: import("hono/utils/http-status").ContentfulStatusCode;
21325
+ input: {
21326
+ query: {
21327
+ structured?: string | undefined;
21328
+ };
21329
+ } & {
21330
+ param: {
21331
+ sha: string;
21332
+ };
21333
+ };
21334
+ } | {
21322
21335
  output: {
21323
21336
  error: string;
21324
21337
  code?: "invalid_input" | undefined;
@@ -21382,19 +21395,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21382
21395
  sha: string;
21383
21396
  };
21384
21397
  };
21385
- } | {
21386
- output: string;
21387
- outputFormat: "text";
21388
- status: import("hono/utils/http-status").ContentfulStatusCode;
21389
- input: {
21390
- query: {
21391
- structured?: string | undefined;
21392
- };
21393
- } & {
21394
- param: {
21395
- sha: string;
21396
- };
21397
- };
21398
21398
  };
21399
21399
  };
21400
21400
  } & {
@@ -35862,20 +35862,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35862
35862
  } & {
35863
35863
  "/runs/:id/handoff": {
35864
35864
  $get: {
35865
- output: {
35866
- error: string;
35867
- };
35868
- outputFormat: "json";
35869
- status: 404;
35865
+ output: string;
35866
+ outputFormat: "text";
35867
+ status: 200;
35870
35868
  input: {
35871
35869
  param: {
35872
35870
  id: string;
35873
35871
  };
35874
35872
  };
35875
35873
  } | {
35876
- output: string;
35877
- outputFormat: "text";
35878
- status: 200;
35874
+ output: {
35875
+ error: string;
35876
+ };
35877
+ outputFormat: "json";
35878
+ status: 404;
35879
35879
  input: {
35880
35880
  param: {
35881
35881
  id: string;
@@ -35913,20 +35913,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35913
35913
  } & {
35914
35914
  "/runs/:id/diff": {
35915
35915
  $get: {
35916
- output: {
35917
- error: string;
35918
- };
35919
- outputFormat: "json";
35920
- status: 404 | 409;
35916
+ output: string;
35917
+ outputFormat: "text";
35918
+ status: import("hono/utils/http-status").ContentfulStatusCode;
35921
35919
  input: {
35922
35920
  param: {
35923
35921
  id: string;
35924
35922
  };
35925
35923
  };
35926
35924
  } | {
35927
- output: string;
35928
- outputFormat: "text";
35929
- status: import("hono/utils/http-status").ContentfulStatusCode;
35925
+ output: {
35926
+ error: string;
35927
+ };
35928
+ outputFormat: "json";
35929
+ status: 404 | 409;
35930
35930
  input: {
35931
35931
  param: {
35932
35932
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hearsay-tools/squawk",
3
- "version": "0.18.0-pr4189.8101",
3
+ "version": "0.18.0-pr4196.8108",
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-pr4189.8101",
67
- "@open-mercato/cezar-contract": "0.18.0-pr4189.8101",
66
+ "@open-mercato/cezar-api-client": "0.18.0-pr4196.8108",
67
+ "@open-mercato/cezar-contract": "0.18.0-pr4196.8108",
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": "1e809269d26399f1059b2ddc35030b1e5f4ccd94"
84
+ "gitHead": "d86e87dba151d868515164d01747fa4247f5461d"
85
85
  }