@hearsay-tools/squawk 0.18.0-pr4195.8104 → 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[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hearsay-tools/squawk",
3
- "version": "0.18.0-pr4195.8104",
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-pr4195.8104",
67
- "@open-mercato/cezar-contract": "0.18.0-pr4195.8104",
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": "9bd985e73a64c55315faea5ff8d05e9a15c5bd6e"
84
+ "gitHead": "d86e87dba151d868515164d01747fa4247f5461d"
85
85
  }