@hearsay-tools/squawk 0.18.0-pr3846.7179 → 0.18.0-pr3848.7185
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/transport.d.ts +62 -62
- package/dist/server/activity-routes.d.ts +23 -23
- package/dist/server/server.d.ts +58 -58
- package/package.json +4 -4
|
@@ -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;
|
|
@@ -51,6 +39,18 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
51
39
|
offset?: string | undefined;
|
|
52
40
|
};
|
|
53
41
|
};
|
|
42
|
+
} | {
|
|
43
|
+
output: {
|
|
44
|
+
error: string;
|
|
45
|
+
code?: "invalid_input" | undefined;
|
|
46
|
+
};
|
|
47
|
+
outputFormat: "json";
|
|
48
|
+
status: 400;
|
|
49
|
+
input: {
|
|
50
|
+
query: {
|
|
51
|
+
offset?: string | undefined;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
54
|
};
|
|
55
55
|
};
|
|
56
56
|
} & {
|
|
@@ -588,18 +588,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
588
588
|
} & {
|
|
589
589
|
"/:workerId": {
|
|
590
590
|
$get: {
|
|
591
|
-
output: {
|
|
592
|
-
error: string;
|
|
593
|
-
code?: "invalid_input" | undefined;
|
|
594
|
-
};
|
|
595
|
-
outputFormat: "json";
|
|
596
|
-
status: 400;
|
|
597
|
-
input: {
|
|
598
|
-
param: {
|
|
599
|
-
workerId: string;
|
|
600
|
-
};
|
|
601
|
-
};
|
|
602
|
-
} | {
|
|
603
591
|
output: {
|
|
604
592
|
workerId: string;
|
|
605
593
|
parentRunId: string;
|
|
@@ -707,11 +695,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
707
695
|
workerId: string;
|
|
708
696
|
};
|
|
709
697
|
};
|
|
710
|
-
}
|
|
711
|
-
};
|
|
712
|
-
} & {
|
|
713
|
-
"/:workerId/collect": {
|
|
714
|
-
$post: {
|
|
698
|
+
} | {
|
|
715
699
|
output: {
|
|
716
700
|
error: string;
|
|
717
701
|
code?: "invalid_input" | undefined;
|
|
@@ -722,10 +706,12 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
722
706
|
param: {
|
|
723
707
|
workerId: string;
|
|
724
708
|
};
|
|
725
|
-
} & {
|
|
726
|
-
json: Record<string, never>;
|
|
727
709
|
};
|
|
728
|
-
}
|
|
710
|
+
};
|
|
711
|
+
};
|
|
712
|
+
} & {
|
|
713
|
+
"/:workerId/collect": {
|
|
714
|
+
$post: {
|
|
729
715
|
output: {
|
|
730
716
|
workerId: string;
|
|
731
717
|
parentRunId: string;
|
|
@@ -827,11 +813,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
827
813
|
} & {
|
|
828
814
|
json: Record<string, never>;
|
|
829
815
|
};
|
|
830
|
-
}
|
|
831
|
-
};
|
|
832
|
-
} & {
|
|
833
|
-
"/:workerId/steer": {
|
|
834
|
-
$post: {
|
|
816
|
+
} | {
|
|
835
817
|
output: {
|
|
836
818
|
error: string;
|
|
837
819
|
code?: "invalid_input" | undefined;
|
|
@@ -843,11 +825,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
843
825
|
workerId: string;
|
|
844
826
|
};
|
|
845
827
|
} & {
|
|
846
|
-
json:
|
|
847
|
-
text: string;
|
|
848
|
-
};
|
|
828
|
+
json: Record<string, never>;
|
|
849
829
|
};
|
|
850
|
-
}
|
|
830
|
+
};
|
|
831
|
+
};
|
|
832
|
+
} & {
|
|
833
|
+
"/:workerId/steer": {
|
|
834
|
+
$post: {
|
|
851
835
|
output: {
|
|
852
836
|
workerId: string;
|
|
853
837
|
state: "delivered" | "queued";
|
|
@@ -863,11 +847,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
863
847
|
text: string;
|
|
864
848
|
};
|
|
865
849
|
};
|
|
866
|
-
}
|
|
867
|
-
};
|
|
868
|
-
} & {
|
|
869
|
-
"/:workerId/stop": {
|
|
870
|
-
$post: {
|
|
850
|
+
} | {
|
|
871
851
|
output: {
|
|
872
852
|
error: string;
|
|
873
853
|
code?: "invalid_input" | undefined;
|
|
@@ -879,9 +859,15 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
879
859
|
workerId: string;
|
|
880
860
|
};
|
|
881
861
|
} & {
|
|
882
|
-
json:
|
|
862
|
+
json: {
|
|
863
|
+
text: string;
|
|
864
|
+
};
|
|
883
865
|
};
|
|
884
|
-
}
|
|
866
|
+
};
|
|
867
|
+
};
|
|
868
|
+
} & {
|
|
869
|
+
"/:workerId/stop": {
|
|
870
|
+
$post: {
|
|
885
871
|
output: {
|
|
886
872
|
workerId: string;
|
|
887
873
|
state: "stopping" | "terminated";
|
|
@@ -895,11 +881,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
895
881
|
} & {
|
|
896
882
|
json: Record<string, never>;
|
|
897
883
|
};
|
|
898
|
-
}
|
|
899
|
-
};
|
|
900
|
-
} & {
|
|
901
|
-
"/:workerId/destroy": {
|
|
902
|
-
$post: {
|
|
884
|
+
} | {
|
|
903
885
|
output: {
|
|
904
886
|
error: string;
|
|
905
887
|
code?: "invalid_input" | undefined;
|
|
@@ -913,7 +895,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
913
895
|
} & {
|
|
914
896
|
json: Record<string, never>;
|
|
915
897
|
};
|
|
916
|
-
}
|
|
898
|
+
};
|
|
899
|
+
};
|
|
900
|
+
} & {
|
|
901
|
+
"/:workerId/destroy": {
|
|
902
|
+
$post: {
|
|
917
903
|
output: {
|
|
918
904
|
workerId: string;
|
|
919
905
|
state: "complete" | "incomplete";
|
|
@@ -936,6 +922,20 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
936
922
|
} & {
|
|
937
923
|
json: Record<string, never>;
|
|
938
924
|
};
|
|
925
|
+
} | {
|
|
926
|
+
output: {
|
|
927
|
+
error: string;
|
|
928
|
+
code?: "invalid_input" | undefined;
|
|
929
|
+
};
|
|
930
|
+
outputFormat: "json";
|
|
931
|
+
status: 400;
|
|
932
|
+
input: {
|
|
933
|
+
param: {
|
|
934
|
+
workerId: string;
|
|
935
|
+
};
|
|
936
|
+
} & {
|
|
937
|
+
json: Record<string, never>;
|
|
938
|
+
};
|
|
939
939
|
} | {
|
|
940
940
|
output: {
|
|
941
941
|
workerId: string;
|
|
@@ -965,11 +965,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
965
965
|
"/:workerId/diff": {
|
|
966
966
|
$get: {
|
|
967
967
|
output: {
|
|
968
|
-
|
|
969
|
-
|
|
968
|
+
workerId: string;
|
|
969
|
+
baselineSha: string;
|
|
970
|
+
diff: string;
|
|
971
|
+
truncated: boolean;
|
|
970
972
|
};
|
|
971
973
|
outputFormat: "json";
|
|
972
|
-
status:
|
|
974
|
+
status: 200;
|
|
973
975
|
input: {
|
|
974
976
|
param: {
|
|
975
977
|
workerId: string;
|
|
@@ -977,13 +979,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
977
979
|
};
|
|
978
980
|
} | {
|
|
979
981
|
output: {
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
diff: string;
|
|
983
|
-
truncated: boolean;
|
|
982
|
+
error: string;
|
|
983
|
+
code?: "invalid_input" | undefined;
|
|
984
984
|
};
|
|
985
985
|
outputFormat: "json";
|
|
986
|
-
status:
|
|
986
|
+
status: 400;
|
|
987
987
|
input: {
|
|
988
988
|
param: {
|
|
989
989
|
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">;
|
package/dist/server/server.d.ts
CHANGED
|
@@ -4538,6 +4538,19 @@ 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
|
+
} | {
|
|
4541
4554
|
output: {
|
|
4542
4555
|
error: string;
|
|
4543
4556
|
code?: "invalid_input" | undefined;
|
|
@@ -4601,19 +4614,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4601
4614
|
sha: string;
|
|
4602
4615
|
};
|
|
4603
4616
|
};
|
|
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
|
-
|
|
18128
|
-
outputFormat: "json";
|
|
18129
|
-
status: 404;
|
|
18125
|
+
output: string;
|
|
18126
|
+
outputFormat: "text";
|
|
18127
|
+
status: 200;
|
|
18130
18128
|
input: {
|
|
18131
18129
|
param: {
|
|
18132
18130
|
id: string;
|
|
18133
18131
|
};
|
|
18134
18132
|
};
|
|
18135
18133
|
} | {
|
|
18136
|
-
output:
|
|
18137
|
-
|
|
18138
|
-
|
|
18134
|
+
output: {
|
|
18135
|
+
error: string;
|
|
18136
|
+
};
|
|
18137
|
+
outputFormat: "json";
|
|
18138
|
+
status: 404;
|
|
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
|
-
|
|
18179
|
-
outputFormat: "json";
|
|
18180
|
-
status: 404 | 409;
|
|
18176
|
+
output: string;
|
|
18177
|
+
outputFormat: "text";
|
|
18178
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
18181
18179
|
input: {
|
|
18182
18180
|
param: {
|
|
18183
18181
|
id: string;
|
|
18184
18182
|
};
|
|
18185
18183
|
};
|
|
18186
18184
|
} | {
|
|
18187
|
-
output:
|
|
18188
|
-
|
|
18189
|
-
|
|
18185
|
+
output: {
|
|
18186
|
+
error: string;
|
|
18187
|
+
};
|
|
18188
|
+
outputFormat: "json";
|
|
18189
|
+
status: 404 | 409;
|
|
18190
18190
|
input: {
|
|
18191
18191
|
param: {
|
|
18192
18192
|
id: string;
|
|
@@ -20230,6 +20230,19 @@ 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
|
+
} | {
|
|
20233
20246
|
output: {
|
|
20234
20247
|
error: string;
|
|
20235
20248
|
code?: "invalid_input" | undefined;
|
|
@@ -20293,19 +20306,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20293
20306
|
sha: string;
|
|
20294
20307
|
};
|
|
20295
20308
|
};
|
|
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
|
-
|
|
33820
|
-
outputFormat: "json";
|
|
33821
|
-
status: 404;
|
|
33817
|
+
output: string;
|
|
33818
|
+
outputFormat: "text";
|
|
33819
|
+
status: 200;
|
|
33822
33820
|
input: {
|
|
33823
33821
|
param: {
|
|
33824
33822
|
id: string;
|
|
33825
33823
|
};
|
|
33826
33824
|
};
|
|
33827
33825
|
} | {
|
|
33828
|
-
output:
|
|
33829
|
-
|
|
33830
|
-
|
|
33826
|
+
output: {
|
|
33827
|
+
error: string;
|
|
33828
|
+
};
|
|
33829
|
+
outputFormat: "json";
|
|
33830
|
+
status: 404;
|
|
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
|
-
|
|
33871
|
-
outputFormat: "json";
|
|
33872
|
-
status: 404 | 409;
|
|
33868
|
+
output: string;
|
|
33869
|
+
outputFormat: "text";
|
|
33870
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
33873
33871
|
input: {
|
|
33874
33872
|
param: {
|
|
33875
33873
|
id: string;
|
|
33876
33874
|
};
|
|
33877
33875
|
};
|
|
33878
33876
|
} | {
|
|
33879
|
-
output:
|
|
33880
|
-
|
|
33881
|
-
|
|
33877
|
+
output: {
|
|
33878
|
+
error: string;
|
|
33879
|
+
};
|
|
33880
|
+
outputFormat: "json";
|
|
33881
|
+
status: 404 | 409;
|
|
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-
|
|
3
|
+
"version": "0.18.0-pr3848.7185",
|
|
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-
|
|
67
|
-
"@open-mercato/cezar-contract": "0.18.0-
|
|
66
|
+
"@open-mercato/cezar-api-client": "0.18.0-pr3848.7185",
|
|
67
|
+
"@open-mercato/cezar-contract": "0.18.0-pr3848.7185",
|
|
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": "14dffcbcdf1e6d4f640431130f112d7de02b0433"
|
|
85
85
|
}
|