@hearsay-tools/squawk 0.18.0-dev.7277 → 0.18.0-dev.7279
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/server.d.ts +58 -58
- package/package.json +4 -4
|
@@ -27,6 +27,18 @@ 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
|
+
} | {
|
|
30
42
|
output: {
|
|
31
43
|
workers: {
|
|
32
44
|
workerId: string;
|
|
@@ -64,18 +76,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
64
76
|
offset?: string | undefined;
|
|
65
77
|
};
|
|
66
78
|
};
|
|
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,6 +613,18 @@ 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
|
+
} | {
|
|
616
628
|
output: {
|
|
617
629
|
workerId: string;
|
|
618
630
|
parentRunId: string;
|
|
@@ -720,7 +732,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
720
732
|
workerId: string;
|
|
721
733
|
};
|
|
722
734
|
};
|
|
723
|
-
}
|
|
735
|
+
};
|
|
736
|
+
};
|
|
737
|
+
} & {
|
|
738
|
+
"/:workerId/collect": {
|
|
739
|
+
$post: {
|
|
724
740
|
output: {
|
|
725
741
|
error: string;
|
|
726
742
|
code?: "invalid_input" | undefined;
|
|
@@ -731,12 +747,10 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
731
747
|
param: {
|
|
732
748
|
workerId: string;
|
|
733
749
|
};
|
|
750
|
+
} & {
|
|
751
|
+
json: Record<string, never>;
|
|
734
752
|
};
|
|
735
|
-
}
|
|
736
|
-
};
|
|
737
|
-
} & {
|
|
738
|
-
"/:workerId/collect": {
|
|
739
|
-
$post: {
|
|
753
|
+
} | {
|
|
740
754
|
output: {
|
|
741
755
|
workerId: string;
|
|
742
756
|
parentRunId: string;
|
|
@@ -838,7 +852,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
838
852
|
} & {
|
|
839
853
|
json: Record<string, never>;
|
|
840
854
|
};
|
|
841
|
-
}
|
|
855
|
+
};
|
|
856
|
+
};
|
|
857
|
+
} & {
|
|
858
|
+
"/:workerId/steer": {
|
|
859
|
+
$post: {
|
|
842
860
|
output: {
|
|
843
861
|
error: string;
|
|
844
862
|
code?: "invalid_input" | undefined;
|
|
@@ -850,13 +868,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
850
868
|
workerId: string;
|
|
851
869
|
};
|
|
852
870
|
} & {
|
|
853
|
-
json:
|
|
871
|
+
json: {
|
|
872
|
+
text: string;
|
|
873
|
+
};
|
|
854
874
|
};
|
|
855
|
-
}
|
|
856
|
-
};
|
|
857
|
-
} & {
|
|
858
|
-
"/:workerId/steer": {
|
|
859
|
-
$post: {
|
|
875
|
+
} | {
|
|
860
876
|
output: {
|
|
861
877
|
workerId: string;
|
|
862
878
|
state: "delivered" | "queued";
|
|
@@ -872,7 +888,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
872
888
|
text: string;
|
|
873
889
|
};
|
|
874
890
|
};
|
|
875
|
-
}
|
|
891
|
+
};
|
|
892
|
+
};
|
|
893
|
+
} & {
|
|
894
|
+
"/:workerId/stop": {
|
|
895
|
+
$post: {
|
|
876
896
|
output: {
|
|
877
897
|
error: string;
|
|
878
898
|
code?: "invalid_input" | undefined;
|
|
@@ -884,15 +904,9 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
884
904
|
workerId: string;
|
|
885
905
|
};
|
|
886
906
|
} & {
|
|
887
|
-
json:
|
|
888
|
-
text: string;
|
|
889
|
-
};
|
|
907
|
+
json: Record<string, never>;
|
|
890
908
|
};
|
|
891
|
-
}
|
|
892
|
-
};
|
|
893
|
-
} & {
|
|
894
|
-
"/:workerId/stop": {
|
|
895
|
-
$post: {
|
|
909
|
+
} | {
|
|
896
910
|
output: {
|
|
897
911
|
workerId: string;
|
|
898
912
|
state: "stopping" | "terminated";
|
|
@@ -906,7 +920,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
906
920
|
} & {
|
|
907
921
|
json: Record<string, never>;
|
|
908
922
|
};
|
|
909
|
-
}
|
|
923
|
+
};
|
|
924
|
+
};
|
|
925
|
+
} & {
|
|
926
|
+
"/:workerId/destroy": {
|
|
927
|
+
$post: {
|
|
910
928
|
output: {
|
|
911
929
|
error: string;
|
|
912
930
|
code?: "invalid_input" | undefined;
|
|
@@ -920,11 +938,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
920
938
|
} & {
|
|
921
939
|
json: Record<string, never>;
|
|
922
940
|
};
|
|
923
|
-
}
|
|
924
|
-
};
|
|
925
|
-
} & {
|
|
926
|
-
"/:workerId/destroy": {
|
|
927
|
-
$post: {
|
|
941
|
+
} | {
|
|
928
942
|
output: {
|
|
929
943
|
workerId: string;
|
|
930
944
|
state: "complete" | "incomplete";
|
|
@@ -947,20 +961,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
947
961
|
} & {
|
|
948
962
|
json: Record<string, never>;
|
|
949
963
|
};
|
|
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,13 +990,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
990
990
|
"/:workerId/diff": {
|
|
991
991
|
$get: {
|
|
992
992
|
output: {
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
diff: string;
|
|
996
|
-
truncated: boolean;
|
|
993
|
+
error: string;
|
|
994
|
+
code?: "invalid_input" | undefined;
|
|
997
995
|
};
|
|
998
996
|
outputFormat: "json";
|
|
999
|
-
status:
|
|
997
|
+
status: 400;
|
|
1000
998
|
input: {
|
|
1001
999
|
param: {
|
|
1002
1000
|
workerId: string;
|
|
@@ -1004,11 +1002,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1004
1002
|
};
|
|
1005
1003
|
} | {
|
|
1006
1004
|
output: {
|
|
1007
|
-
|
|
1008
|
-
|
|
1005
|
+
workerId: string;
|
|
1006
|
+
baselineSha: string;
|
|
1007
|
+
diff: string;
|
|
1008
|
+
truncated: boolean;
|
|
1009
1009
|
};
|
|
1010
1010
|
outputFormat: "json";
|
|
1011
|
-
status:
|
|
1011
|
+
status: 200;
|
|
1012
1012
|
input: {
|
|
1013
1013
|
param: {
|
|
1014
1014
|
workerId: string;
|
package/dist/server/server.d.ts
CHANGED
|
@@ -4538,19 +4538,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4538
4538
|
} & {
|
|
4539
4539
|
"/repo/commit/:sha": {
|
|
4540
4540
|
$get: {
|
|
4541
|
-
output: string;
|
|
4542
|
-
outputFormat: "text";
|
|
4543
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4544
|
-
input: {
|
|
4545
|
-
query: {
|
|
4546
|
-
structured?: string | undefined;
|
|
4547
|
-
};
|
|
4548
|
-
} & {
|
|
4549
|
-
param: {
|
|
4550
|
-
sha: string;
|
|
4551
|
-
};
|
|
4552
|
-
};
|
|
4553
|
-
} | {
|
|
4554
4541
|
output: {
|
|
4555
4542
|
error: string;
|
|
4556
4543
|
code?: "invalid_input" | undefined;
|
|
@@ -4614,6 +4601,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4614
4601
|
sha: string;
|
|
4615
4602
|
};
|
|
4616
4603
|
};
|
|
4604
|
+
} | {
|
|
4605
|
+
output: string;
|
|
4606
|
+
outputFormat: "text";
|
|
4607
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4608
|
+
input: {
|
|
4609
|
+
query: {
|
|
4610
|
+
structured?: string | undefined;
|
|
4611
|
+
};
|
|
4612
|
+
} & {
|
|
4613
|
+
param: {
|
|
4614
|
+
sha: string;
|
|
4615
|
+
};
|
|
4616
|
+
};
|
|
4617
4617
|
};
|
|
4618
4618
|
};
|
|
4619
4619
|
} & {
|
|
@@ -18122,20 +18122,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18122
18122
|
} & {
|
|
18123
18123
|
"/runs/:id/handoff": {
|
|
18124
18124
|
$get: {
|
|
18125
|
-
output:
|
|
18126
|
-
|
|
18127
|
-
|
|
18125
|
+
output: {
|
|
18126
|
+
error: string;
|
|
18127
|
+
};
|
|
18128
|
+
outputFormat: "json";
|
|
18129
|
+
status: 404;
|
|
18128
18130
|
input: {
|
|
18129
18131
|
param: {
|
|
18130
18132
|
id: string;
|
|
18131
18133
|
};
|
|
18132
18134
|
};
|
|
18133
18135
|
} | {
|
|
18134
|
-
output:
|
|
18135
|
-
|
|
18136
|
-
|
|
18137
|
-
outputFormat: "json";
|
|
18138
|
-
status: 404;
|
|
18136
|
+
output: string;
|
|
18137
|
+
outputFormat: "text";
|
|
18138
|
+
status: 200;
|
|
18139
18139
|
input: {
|
|
18140
18140
|
param: {
|
|
18141
18141
|
id: string;
|
|
@@ -18173,20 +18173,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18173
18173
|
} & {
|
|
18174
18174
|
"/runs/:id/diff": {
|
|
18175
18175
|
$get: {
|
|
18176
|
-
output:
|
|
18177
|
-
|
|
18178
|
-
|
|
18176
|
+
output: {
|
|
18177
|
+
error: string;
|
|
18178
|
+
};
|
|
18179
|
+
outputFormat: "json";
|
|
18180
|
+
status: 404 | 409;
|
|
18179
18181
|
input: {
|
|
18180
18182
|
param: {
|
|
18181
18183
|
id: string;
|
|
18182
18184
|
};
|
|
18183
18185
|
};
|
|
18184
18186
|
} | {
|
|
18185
|
-
output:
|
|
18186
|
-
|
|
18187
|
-
|
|
18188
|
-
outputFormat: "json";
|
|
18189
|
-
status: 404 | 409;
|
|
18187
|
+
output: string;
|
|
18188
|
+
outputFormat: "text";
|
|
18189
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
18190
18190
|
input: {
|
|
18191
18191
|
param: {
|
|
18192
18192
|
id: string;
|
|
@@ -20230,19 +20230,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20230
20230
|
} & {
|
|
20231
20231
|
"/repo/commit/:sha": {
|
|
20232
20232
|
$get: {
|
|
20233
|
-
output: string;
|
|
20234
|
-
outputFormat: "text";
|
|
20235
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20236
|
-
input: {
|
|
20237
|
-
query: {
|
|
20238
|
-
structured?: string | undefined;
|
|
20239
|
-
};
|
|
20240
|
-
} & {
|
|
20241
|
-
param: {
|
|
20242
|
-
sha: string;
|
|
20243
|
-
};
|
|
20244
|
-
};
|
|
20245
|
-
} | {
|
|
20246
20233
|
output: {
|
|
20247
20234
|
error: string;
|
|
20248
20235
|
code?: "invalid_input" | undefined;
|
|
@@ -20306,6 +20293,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20306
20293
|
sha: string;
|
|
20307
20294
|
};
|
|
20308
20295
|
};
|
|
20296
|
+
} | {
|
|
20297
|
+
output: string;
|
|
20298
|
+
outputFormat: "text";
|
|
20299
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20300
|
+
input: {
|
|
20301
|
+
query: {
|
|
20302
|
+
structured?: string | undefined;
|
|
20303
|
+
};
|
|
20304
|
+
} & {
|
|
20305
|
+
param: {
|
|
20306
|
+
sha: string;
|
|
20307
|
+
};
|
|
20308
|
+
};
|
|
20309
20309
|
};
|
|
20310
20310
|
};
|
|
20311
20311
|
} & {
|
|
@@ -33814,20 +33814,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33814
33814
|
} & {
|
|
33815
33815
|
"/runs/:id/handoff": {
|
|
33816
33816
|
$get: {
|
|
33817
|
-
output:
|
|
33818
|
-
|
|
33819
|
-
|
|
33817
|
+
output: {
|
|
33818
|
+
error: string;
|
|
33819
|
+
};
|
|
33820
|
+
outputFormat: "json";
|
|
33821
|
+
status: 404;
|
|
33820
33822
|
input: {
|
|
33821
33823
|
param: {
|
|
33822
33824
|
id: string;
|
|
33823
33825
|
};
|
|
33824
33826
|
};
|
|
33825
33827
|
} | {
|
|
33826
|
-
output:
|
|
33827
|
-
|
|
33828
|
-
|
|
33829
|
-
outputFormat: "json";
|
|
33830
|
-
status: 404;
|
|
33828
|
+
output: string;
|
|
33829
|
+
outputFormat: "text";
|
|
33830
|
+
status: 200;
|
|
33831
33831
|
input: {
|
|
33832
33832
|
param: {
|
|
33833
33833
|
id: string;
|
|
@@ -33865,20 +33865,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33865
33865
|
} & {
|
|
33866
33866
|
"/runs/:id/diff": {
|
|
33867
33867
|
$get: {
|
|
33868
|
-
output:
|
|
33869
|
-
|
|
33870
|
-
|
|
33868
|
+
output: {
|
|
33869
|
+
error: string;
|
|
33870
|
+
};
|
|
33871
|
+
outputFormat: "json";
|
|
33872
|
+
status: 404 | 409;
|
|
33871
33873
|
input: {
|
|
33872
33874
|
param: {
|
|
33873
33875
|
id: string;
|
|
33874
33876
|
};
|
|
33875
33877
|
};
|
|
33876
33878
|
} | {
|
|
33877
|
-
output:
|
|
33878
|
-
|
|
33879
|
-
|
|
33880
|
-
outputFormat: "json";
|
|
33881
|
-
status: 404 | 409;
|
|
33879
|
+
output: string;
|
|
33880
|
+
outputFormat: "text";
|
|
33881
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
33882
33882
|
input: {
|
|
33883
33883
|
param: {
|
|
33884
33884
|
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.7279",
|
|
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.7279",
|
|
67
|
+
"@open-mercato/cezar-contract": "0.18.0-dev.7279",
|
|
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": "68300e086e6db7cb9564990cbf9b8e5605020659"
|
|
85
85
|
}
|