@hearsay-tools/squawk 0.18.0-dev.6924 → 0.18.0-dev.6936
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.
- package/dist/delegation/routes.d.ts +62 -62
- package/dist/server/reports-api.d.ts +2 -2
- package/dist/server/server.d.ts +58 -58
- package/package.json +4 -4
|
@@ -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:
|
|
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
|
-
|
|
994
|
-
|
|
993
|
+
workerId: string;
|
|
994
|
+
baselineSha: string;
|
|
995
|
+
diff: string;
|
|
996
|
+
truncated: boolean;
|
|
995
997
|
};
|
|
996
998
|
outputFormat: "json";
|
|
997
|
-
status:
|
|
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
|
-
|
|
1006
|
-
|
|
1007
|
-
diff: string;
|
|
1008
|
-
truncated: boolean;
|
|
1007
|
+
error: string;
|
|
1008
|
+
code?: "invalid_input" | undefined;
|
|
1009
1009
|
};
|
|
1010
1010
|
outputFormat: "json";
|
|
1011
|
-
status:
|
|
1011
|
+
status: 400;
|
|
1012
1012
|
input: {
|
|
1013
1013
|
param: {
|
|
1014
1014
|
workerId: string;
|
|
@@ -40,7 +40,7 @@ export declare const reportsRoutes: import("hono/hono-base").HonoBase<ProjectApi
|
|
|
40
40
|
error: string;
|
|
41
41
|
};
|
|
42
42
|
outputFormat: "json";
|
|
43
|
-
status:
|
|
43
|
+
status: 400;
|
|
44
44
|
input: {
|
|
45
45
|
query: {
|
|
46
46
|
q?: string | undefined;
|
|
@@ -53,7 +53,7 @@ export declare const reportsRoutes: import("hono/hono-base").HonoBase<ProjectApi
|
|
|
53
53
|
error: string;
|
|
54
54
|
};
|
|
55
55
|
outputFormat: "json";
|
|
56
|
-
status:
|
|
56
|
+
status: 409;
|
|
57
57
|
input: {
|
|
58
58
|
query: {
|
|
59
59
|
q?: string | undefined;
|
package/dist/server/server.d.ts
CHANGED
|
@@ -4780,19 +4780,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4780
4780
|
} & {
|
|
4781
4781
|
"/repo/commit/:sha": {
|
|
4782
4782
|
$get: {
|
|
4783
|
-
output: string;
|
|
4784
|
-
outputFormat: "text";
|
|
4785
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4786
|
-
input: {
|
|
4787
|
-
query: {
|
|
4788
|
-
structured?: string | undefined;
|
|
4789
|
-
};
|
|
4790
|
-
} & {
|
|
4791
|
-
param: {
|
|
4792
|
-
sha: string;
|
|
4793
|
-
};
|
|
4794
|
-
};
|
|
4795
|
-
} | {
|
|
4796
4783
|
output: {
|
|
4797
4784
|
error: string;
|
|
4798
4785
|
code?: "invalid_input" | undefined;
|
|
@@ -4856,6 +4843,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4856
4843
|
sha: string;
|
|
4857
4844
|
};
|
|
4858
4845
|
};
|
|
4846
|
+
} | {
|
|
4847
|
+
output: string;
|
|
4848
|
+
outputFormat: "text";
|
|
4849
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4850
|
+
input: {
|
|
4851
|
+
query: {
|
|
4852
|
+
structured?: string | undefined;
|
|
4853
|
+
};
|
|
4854
|
+
} & {
|
|
4855
|
+
param: {
|
|
4856
|
+
sha: string;
|
|
4857
|
+
};
|
|
4858
|
+
};
|
|
4859
4859
|
};
|
|
4860
4860
|
};
|
|
4861
4861
|
} & {
|
|
@@ -18306,20 +18306,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18306
18306
|
} & {
|
|
18307
18307
|
"/runs/:id/handoff": {
|
|
18308
18308
|
$get: {
|
|
18309
|
-
output:
|
|
18310
|
-
|
|
18311
|
-
|
|
18309
|
+
output: {
|
|
18310
|
+
error: string;
|
|
18311
|
+
};
|
|
18312
|
+
outputFormat: "json";
|
|
18313
|
+
status: 404;
|
|
18312
18314
|
input: {
|
|
18313
18315
|
param: {
|
|
18314
18316
|
id: string;
|
|
18315
18317
|
};
|
|
18316
18318
|
};
|
|
18317
18319
|
} | {
|
|
18318
|
-
output:
|
|
18319
|
-
|
|
18320
|
-
|
|
18321
|
-
outputFormat: "json";
|
|
18322
|
-
status: 404;
|
|
18320
|
+
output: string;
|
|
18321
|
+
outputFormat: "text";
|
|
18322
|
+
status: 200;
|
|
18323
18323
|
input: {
|
|
18324
18324
|
param: {
|
|
18325
18325
|
id: string;
|
|
@@ -18357,20 +18357,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18357
18357
|
} & {
|
|
18358
18358
|
"/runs/:id/diff": {
|
|
18359
18359
|
$get: {
|
|
18360
|
-
output:
|
|
18361
|
-
|
|
18362
|
-
|
|
18360
|
+
output: {
|
|
18361
|
+
error: string;
|
|
18362
|
+
};
|
|
18363
|
+
outputFormat: "json";
|
|
18364
|
+
status: 404 | 409;
|
|
18363
18365
|
input: {
|
|
18364
18366
|
param: {
|
|
18365
18367
|
id: string;
|
|
18366
18368
|
};
|
|
18367
18369
|
};
|
|
18368
18370
|
} | {
|
|
18369
|
-
output:
|
|
18370
|
-
|
|
18371
|
-
|
|
18372
|
-
outputFormat: "json";
|
|
18373
|
-
status: 404 | 409;
|
|
18371
|
+
output: string;
|
|
18372
|
+
outputFormat: "text";
|
|
18373
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
18374
18374
|
input: {
|
|
18375
18375
|
param: {
|
|
18376
18376
|
id: string;
|
|
@@ -20658,19 +20658,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20658
20658
|
} & {
|
|
20659
20659
|
"/repo/commit/:sha": {
|
|
20660
20660
|
$get: {
|
|
20661
|
-
output: string;
|
|
20662
|
-
outputFormat: "text";
|
|
20663
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20664
|
-
input: {
|
|
20665
|
-
query: {
|
|
20666
|
-
structured?: string | undefined;
|
|
20667
|
-
};
|
|
20668
|
-
} & {
|
|
20669
|
-
param: {
|
|
20670
|
-
sha: string;
|
|
20671
|
-
};
|
|
20672
|
-
};
|
|
20673
|
-
} | {
|
|
20674
20661
|
output: {
|
|
20675
20662
|
error: string;
|
|
20676
20663
|
code?: "invalid_input" | undefined;
|
|
@@ -20734,6 +20721,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20734
20721
|
sha: string;
|
|
20735
20722
|
};
|
|
20736
20723
|
};
|
|
20724
|
+
} | {
|
|
20725
|
+
output: string;
|
|
20726
|
+
outputFormat: "text";
|
|
20727
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20728
|
+
input: {
|
|
20729
|
+
query: {
|
|
20730
|
+
structured?: string | undefined;
|
|
20731
|
+
};
|
|
20732
|
+
} & {
|
|
20733
|
+
param: {
|
|
20734
|
+
sha: string;
|
|
20735
|
+
};
|
|
20736
|
+
};
|
|
20737
20737
|
};
|
|
20738
20738
|
};
|
|
20739
20739
|
} & {
|
|
@@ -34184,20 +34184,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
34184
34184
|
} & {
|
|
34185
34185
|
"/runs/:id/handoff": {
|
|
34186
34186
|
$get: {
|
|
34187
|
-
output:
|
|
34188
|
-
|
|
34189
|
-
|
|
34187
|
+
output: {
|
|
34188
|
+
error: string;
|
|
34189
|
+
};
|
|
34190
|
+
outputFormat: "json";
|
|
34191
|
+
status: 404;
|
|
34190
34192
|
input: {
|
|
34191
34193
|
param: {
|
|
34192
34194
|
id: string;
|
|
34193
34195
|
};
|
|
34194
34196
|
};
|
|
34195
34197
|
} | {
|
|
34196
|
-
output:
|
|
34197
|
-
|
|
34198
|
-
|
|
34199
|
-
outputFormat: "json";
|
|
34200
|
-
status: 404;
|
|
34198
|
+
output: string;
|
|
34199
|
+
outputFormat: "text";
|
|
34200
|
+
status: 200;
|
|
34201
34201
|
input: {
|
|
34202
34202
|
param: {
|
|
34203
34203
|
id: string;
|
|
@@ -34235,20 +34235,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
34235
34235
|
} & {
|
|
34236
34236
|
"/runs/:id/diff": {
|
|
34237
34237
|
$get: {
|
|
34238
|
-
output:
|
|
34239
|
-
|
|
34240
|
-
|
|
34238
|
+
output: {
|
|
34239
|
+
error: string;
|
|
34240
|
+
};
|
|
34241
|
+
outputFormat: "json";
|
|
34242
|
+
status: 404 | 409;
|
|
34241
34243
|
input: {
|
|
34242
34244
|
param: {
|
|
34243
34245
|
id: string;
|
|
34244
34246
|
};
|
|
34245
34247
|
};
|
|
34246
34248
|
} | {
|
|
34247
|
-
output:
|
|
34248
|
-
|
|
34249
|
-
|
|
34250
|
-
outputFormat: "json";
|
|
34251
|
-
status: 404 | 409;
|
|
34249
|
+
output: string;
|
|
34250
|
+
outputFormat: "text";
|
|
34251
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
34252
34252
|
input: {
|
|
34253
34253
|
param: {
|
|
34254
34254
|
id: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hearsay-tools/squawk",
|
|
3
|
-
"version": "0.18.0-dev.
|
|
3
|
+
"version": "0.18.0-dev.6936",
|
|
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.
|
|
67
|
-
"@open-mercato/cezar-contract": "0.18.0-dev.
|
|
66
|
+
"@open-mercato/cezar-api-client": "0.18.0-dev.6936",
|
|
67
|
+
"@open-mercato/cezar-contract": "0.18.0-dev.6936",
|
|
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": "
|
|
84
|
+
"gitHead": "6d6e3c3df86cefbe829dc840cc07c87f15a8bc50"
|
|
85
85
|
}
|