@hearsay-tools/squawk 0.18.0-pr4070.7772 → 0.18.0-pr4070.7775
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 +65 -65
- package/dist/server/runners-routes.d.ts +10 -10
- 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;
|
|
@@ -73,18 +85,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
73
85
|
offset?: string | undefined;
|
|
74
86
|
};
|
|
75
87
|
};
|
|
76
|
-
} | {
|
|
77
|
-
output: {
|
|
78
|
-
error: string;
|
|
79
|
-
code?: "invalid_input" | undefined;
|
|
80
|
-
};
|
|
81
|
-
outputFormat: "json";
|
|
82
|
-
status: 400;
|
|
83
|
-
input: {
|
|
84
|
-
query: {
|
|
85
|
-
offset?: string | undefined;
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
88
|
};
|
|
89
89
|
};
|
|
90
90
|
} & {
|
|
@@ -629,6 +629,18 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
629
629
|
} & {
|
|
630
630
|
"/:workerId": {
|
|
631
631
|
$get: {
|
|
632
|
+
output: {
|
|
633
|
+
error: string;
|
|
634
|
+
code?: "invalid_input" | undefined;
|
|
635
|
+
};
|
|
636
|
+
outputFormat: "json";
|
|
637
|
+
status: 400;
|
|
638
|
+
input: {
|
|
639
|
+
param: {
|
|
640
|
+
workerId: string;
|
|
641
|
+
};
|
|
642
|
+
};
|
|
643
|
+
} | {
|
|
632
644
|
output: {
|
|
633
645
|
workerId: string;
|
|
634
646
|
settled: boolean;
|
|
@@ -746,7 +758,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
746
758
|
workerId: string;
|
|
747
759
|
};
|
|
748
760
|
};
|
|
749
|
-
}
|
|
761
|
+
};
|
|
762
|
+
};
|
|
763
|
+
} & {
|
|
764
|
+
"/:workerId/collect": {
|
|
765
|
+
$post: {
|
|
750
766
|
output: {
|
|
751
767
|
error: string;
|
|
752
768
|
code?: "invalid_input" | undefined;
|
|
@@ -757,12 +773,10 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
757
773
|
param: {
|
|
758
774
|
workerId: string;
|
|
759
775
|
};
|
|
776
|
+
} & {
|
|
777
|
+
json: Record<string, never>;
|
|
760
778
|
};
|
|
761
|
-
}
|
|
762
|
-
};
|
|
763
|
-
} & {
|
|
764
|
-
"/:workerId/collect": {
|
|
765
|
-
$post: {
|
|
779
|
+
} | {
|
|
766
780
|
output: {
|
|
767
781
|
workerId: string;
|
|
768
782
|
parentRunId: string;
|
|
@@ -885,7 +899,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
885
899
|
} & {
|
|
886
900
|
json: Record<string, never>;
|
|
887
901
|
};
|
|
888
|
-
}
|
|
902
|
+
};
|
|
903
|
+
};
|
|
904
|
+
} & {
|
|
905
|
+
"/:workerId/steer": {
|
|
906
|
+
$post: {
|
|
889
907
|
output: {
|
|
890
908
|
error: string;
|
|
891
909
|
code?: "invalid_input" | undefined;
|
|
@@ -897,13 +915,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
897
915
|
workerId: string;
|
|
898
916
|
};
|
|
899
917
|
} & {
|
|
900
|
-
json:
|
|
918
|
+
json: {
|
|
919
|
+
text: string;
|
|
920
|
+
};
|
|
901
921
|
};
|
|
902
|
-
}
|
|
903
|
-
};
|
|
904
|
-
} & {
|
|
905
|
-
"/:workerId/steer": {
|
|
906
|
-
$post: {
|
|
922
|
+
} | {
|
|
907
923
|
output: {
|
|
908
924
|
workerId: string;
|
|
909
925
|
state: "delivered" | "queued";
|
|
@@ -919,7 +935,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
919
935
|
text: string;
|
|
920
936
|
};
|
|
921
937
|
};
|
|
922
|
-
}
|
|
938
|
+
};
|
|
939
|
+
};
|
|
940
|
+
} & {
|
|
941
|
+
"/:workerId/stop": {
|
|
942
|
+
$post: {
|
|
923
943
|
output: {
|
|
924
944
|
error: string;
|
|
925
945
|
code?: "invalid_input" | undefined;
|
|
@@ -931,15 +951,9 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
931
951
|
workerId: string;
|
|
932
952
|
};
|
|
933
953
|
} & {
|
|
934
|
-
json:
|
|
935
|
-
text: string;
|
|
936
|
-
};
|
|
954
|
+
json: Record<string, never>;
|
|
937
955
|
};
|
|
938
|
-
}
|
|
939
|
-
};
|
|
940
|
-
} & {
|
|
941
|
-
"/:workerId/stop": {
|
|
942
|
-
$post: {
|
|
956
|
+
} | {
|
|
943
957
|
output: {
|
|
944
958
|
workerId: string;
|
|
945
959
|
state: "stopping" | "terminated";
|
|
@@ -953,7 +967,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
953
967
|
} & {
|
|
954
968
|
json: Record<string, never>;
|
|
955
969
|
};
|
|
956
|
-
}
|
|
970
|
+
};
|
|
971
|
+
};
|
|
972
|
+
} & {
|
|
973
|
+
"/:workerId/destroy": {
|
|
974
|
+
$post: {
|
|
957
975
|
output: {
|
|
958
976
|
error: string;
|
|
959
977
|
code?: "invalid_input" | undefined;
|
|
@@ -965,13 +983,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
965
983
|
workerId: string;
|
|
966
984
|
};
|
|
967
985
|
} & {
|
|
968
|
-
json:
|
|
986
|
+
json: {
|
|
987
|
+
discardWork?: true | undefined;
|
|
988
|
+
};
|
|
969
989
|
};
|
|
970
|
-
}
|
|
971
|
-
};
|
|
972
|
-
} & {
|
|
973
|
-
"/:workerId/destroy": {
|
|
974
|
-
$post: {
|
|
990
|
+
} | {
|
|
975
991
|
output: {
|
|
976
992
|
workerId: string;
|
|
977
993
|
state: "complete" | "incomplete";
|
|
@@ -1000,22 +1016,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1000
1016
|
discardWork?: true | undefined;
|
|
1001
1017
|
};
|
|
1002
1018
|
};
|
|
1003
|
-
} | {
|
|
1004
|
-
output: {
|
|
1005
|
-
error: string;
|
|
1006
|
-
code?: "invalid_input" | undefined;
|
|
1007
|
-
};
|
|
1008
|
-
outputFormat: "json";
|
|
1009
|
-
status: 400;
|
|
1010
|
-
input: {
|
|
1011
|
-
param: {
|
|
1012
|
-
workerId: string;
|
|
1013
|
-
};
|
|
1014
|
-
} & {
|
|
1015
|
-
json: {
|
|
1016
|
-
discardWork?: true | undefined;
|
|
1017
|
-
};
|
|
1018
|
-
};
|
|
1019
1019
|
} | {
|
|
1020
1020
|
output: {
|
|
1021
1021
|
workerId: string;
|
|
@@ -1051,13 +1051,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1051
1051
|
"/:workerId/diff": {
|
|
1052
1052
|
$get: {
|
|
1053
1053
|
output: {
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
diff: string;
|
|
1057
|
-
truncated: boolean;
|
|
1054
|
+
error: string;
|
|
1055
|
+
code?: "invalid_input" | undefined;
|
|
1058
1056
|
};
|
|
1059
1057
|
outputFormat: "json";
|
|
1060
|
-
status:
|
|
1058
|
+
status: 400;
|
|
1061
1059
|
input: {
|
|
1062
1060
|
param: {
|
|
1063
1061
|
workerId: string;
|
|
@@ -1065,11 +1063,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1065
1063
|
};
|
|
1066
1064
|
} | {
|
|
1067
1065
|
output: {
|
|
1068
|
-
|
|
1069
|
-
|
|
1066
|
+
workerId: string;
|
|
1067
|
+
baselineSha: string;
|
|
1068
|
+
diff: string;
|
|
1069
|
+
truncated: boolean;
|
|
1070
1070
|
};
|
|
1071
1071
|
outputFormat: "json";
|
|
1072
|
-
status:
|
|
1072
|
+
status: 200;
|
|
1073
1073
|
input: {
|
|
1074
1074
|
param: {
|
|
1075
1075
|
workerId: string;
|
|
@@ -58,15 +58,11 @@ export declare function createRunnersRoutes(options: {
|
|
|
58
58
|
"/runner-install/:runner": {
|
|
59
59
|
$post: {
|
|
60
60
|
output: {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
latestVersion: string | null;
|
|
64
|
-
updateAvailable: boolean;
|
|
65
|
-
phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
|
|
66
|
-
error: string | null;
|
|
61
|
+
error: string;
|
|
62
|
+
code?: "invalid_input" | undefined;
|
|
67
63
|
};
|
|
68
64
|
outputFormat: "json";
|
|
69
|
-
status:
|
|
65
|
+
status: 400;
|
|
70
66
|
input: {
|
|
71
67
|
param: {
|
|
72
68
|
runner: string;
|
|
@@ -78,11 +74,15 @@ export declare function createRunnersRoutes(options: {
|
|
|
78
74
|
};
|
|
79
75
|
} | {
|
|
80
76
|
output: {
|
|
81
|
-
|
|
82
|
-
|
|
77
|
+
supported: boolean;
|
|
78
|
+
installedVersion: string | null;
|
|
79
|
+
latestVersion: string | null;
|
|
80
|
+
updateAvailable: boolean;
|
|
81
|
+
phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
|
|
82
|
+
error: string | null;
|
|
83
83
|
};
|
|
84
84
|
outputFormat: "json";
|
|
85
|
-
status:
|
|
85
|
+
status: 202;
|
|
86
86
|
input: {
|
|
87
87
|
param: {
|
|
88
88
|
runner: string;
|
package/dist/server/server.d.ts
CHANGED
|
@@ -4608,6 +4608,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4608
4608
|
} & {
|
|
4609
4609
|
"/repo/commit/:sha": {
|
|
4610
4610
|
$get: {
|
|
4611
|
+
output: string;
|
|
4612
|
+
outputFormat: "text";
|
|
4613
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4614
|
+
input: {
|
|
4615
|
+
query: {
|
|
4616
|
+
structured?: string | undefined;
|
|
4617
|
+
};
|
|
4618
|
+
} & {
|
|
4619
|
+
param: {
|
|
4620
|
+
sha: string;
|
|
4621
|
+
};
|
|
4622
|
+
};
|
|
4623
|
+
} | {
|
|
4611
4624
|
output: {
|
|
4612
4625
|
error: string;
|
|
4613
4626
|
code?: "invalid_input" | undefined;
|
|
@@ -4671,19 +4684,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4671
4684
|
sha: string;
|
|
4672
4685
|
};
|
|
4673
4686
|
};
|
|
4674
|
-
} | {
|
|
4675
|
-
output: string;
|
|
4676
|
-
outputFormat: "text";
|
|
4677
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4678
|
-
input: {
|
|
4679
|
-
query: {
|
|
4680
|
-
structured?: string | undefined;
|
|
4681
|
-
};
|
|
4682
|
-
} & {
|
|
4683
|
-
param: {
|
|
4684
|
-
sha: string;
|
|
4685
|
-
};
|
|
4686
|
-
};
|
|
4687
4687
|
};
|
|
4688
4688
|
};
|
|
4689
4689
|
} & {
|
|
@@ -18485,20 +18485,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18485
18485
|
} & {
|
|
18486
18486
|
"/runs/:id/handoff": {
|
|
18487
18487
|
$get: {
|
|
18488
|
-
output:
|
|
18489
|
-
|
|
18490
|
-
|
|
18491
|
-
outputFormat: "json";
|
|
18492
|
-
status: 404;
|
|
18488
|
+
output: string;
|
|
18489
|
+
outputFormat: "text";
|
|
18490
|
+
status: 200;
|
|
18493
18491
|
input: {
|
|
18494
18492
|
param: {
|
|
18495
18493
|
id: string;
|
|
18496
18494
|
};
|
|
18497
18495
|
};
|
|
18498
18496
|
} | {
|
|
18499
|
-
output:
|
|
18500
|
-
|
|
18501
|
-
|
|
18497
|
+
output: {
|
|
18498
|
+
error: string;
|
|
18499
|
+
};
|
|
18500
|
+
outputFormat: "json";
|
|
18501
|
+
status: 404;
|
|
18502
18502
|
input: {
|
|
18503
18503
|
param: {
|
|
18504
18504
|
id: string;
|
|
@@ -18536,20 +18536,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18536
18536
|
} & {
|
|
18537
18537
|
"/runs/:id/diff": {
|
|
18538
18538
|
$get: {
|
|
18539
|
-
output:
|
|
18540
|
-
|
|
18541
|
-
|
|
18542
|
-
outputFormat: "json";
|
|
18543
|
-
status: 404 | 409;
|
|
18539
|
+
output: string;
|
|
18540
|
+
outputFormat: "text";
|
|
18541
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
18544
18542
|
input: {
|
|
18545
18543
|
param: {
|
|
18546
18544
|
id: string;
|
|
18547
18545
|
};
|
|
18548
18546
|
};
|
|
18549
18547
|
} | {
|
|
18550
|
-
output:
|
|
18551
|
-
|
|
18552
|
-
|
|
18548
|
+
output: {
|
|
18549
|
+
error: string;
|
|
18550
|
+
};
|
|
18551
|
+
outputFormat: "json";
|
|
18552
|
+
status: 404 | 409;
|
|
18553
18553
|
input: {
|
|
18554
18554
|
param: {
|
|
18555
18555
|
id: string;
|
|
@@ -20567,6 +20567,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20567
20567
|
} & {
|
|
20568
20568
|
"/repo/commit/:sha": {
|
|
20569
20569
|
$get: {
|
|
20570
|
+
output: string;
|
|
20571
|
+
outputFormat: "text";
|
|
20572
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20573
|
+
input: {
|
|
20574
|
+
query: {
|
|
20575
|
+
structured?: string | undefined;
|
|
20576
|
+
};
|
|
20577
|
+
} & {
|
|
20578
|
+
param: {
|
|
20579
|
+
sha: string;
|
|
20580
|
+
};
|
|
20581
|
+
};
|
|
20582
|
+
} | {
|
|
20570
20583
|
output: {
|
|
20571
20584
|
error: string;
|
|
20572
20585
|
code?: "invalid_input" | undefined;
|
|
@@ -20630,19 +20643,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20630
20643
|
sha: string;
|
|
20631
20644
|
};
|
|
20632
20645
|
};
|
|
20633
|
-
} | {
|
|
20634
|
-
output: string;
|
|
20635
|
-
outputFormat: "text";
|
|
20636
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20637
|
-
input: {
|
|
20638
|
-
query: {
|
|
20639
|
-
structured?: string | undefined;
|
|
20640
|
-
};
|
|
20641
|
-
} & {
|
|
20642
|
-
param: {
|
|
20643
|
-
sha: string;
|
|
20644
|
-
};
|
|
20645
|
-
};
|
|
20646
20646
|
};
|
|
20647
20647
|
};
|
|
20648
20648
|
} & {
|
|
@@ -34444,20 +34444,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
34444
34444
|
} & {
|
|
34445
34445
|
"/runs/:id/handoff": {
|
|
34446
34446
|
$get: {
|
|
34447
|
-
output:
|
|
34448
|
-
|
|
34449
|
-
|
|
34450
|
-
outputFormat: "json";
|
|
34451
|
-
status: 404;
|
|
34447
|
+
output: string;
|
|
34448
|
+
outputFormat: "text";
|
|
34449
|
+
status: 200;
|
|
34452
34450
|
input: {
|
|
34453
34451
|
param: {
|
|
34454
34452
|
id: string;
|
|
34455
34453
|
};
|
|
34456
34454
|
};
|
|
34457
34455
|
} | {
|
|
34458
|
-
output:
|
|
34459
|
-
|
|
34460
|
-
|
|
34456
|
+
output: {
|
|
34457
|
+
error: string;
|
|
34458
|
+
};
|
|
34459
|
+
outputFormat: "json";
|
|
34460
|
+
status: 404;
|
|
34461
34461
|
input: {
|
|
34462
34462
|
param: {
|
|
34463
34463
|
id: string;
|
|
@@ -34495,20 +34495,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
34495
34495
|
} & {
|
|
34496
34496
|
"/runs/:id/diff": {
|
|
34497
34497
|
$get: {
|
|
34498
|
-
output:
|
|
34499
|
-
|
|
34500
|
-
|
|
34501
|
-
outputFormat: "json";
|
|
34502
|
-
status: 404 | 409;
|
|
34498
|
+
output: string;
|
|
34499
|
+
outputFormat: "text";
|
|
34500
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
34503
34501
|
input: {
|
|
34504
34502
|
param: {
|
|
34505
34503
|
id: string;
|
|
34506
34504
|
};
|
|
34507
34505
|
};
|
|
34508
34506
|
} | {
|
|
34509
|
-
output:
|
|
34510
|
-
|
|
34511
|
-
|
|
34507
|
+
output: {
|
|
34508
|
+
error: string;
|
|
34509
|
+
};
|
|
34510
|
+
outputFormat: "json";
|
|
34511
|
+
status: 404 | 409;
|
|
34512
34512
|
input: {
|
|
34513
34513
|
param: {
|
|
34514
34514
|
id: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hearsay-tools/squawk",
|
|
3
|
-
"version": "0.18.0-pr4070.
|
|
3
|
+
"version": "0.18.0-pr4070.7775",
|
|
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-pr4070.
|
|
67
|
-
"@open-mercato/cezar-contract": "0.18.0-pr4070.
|
|
66
|
+
"@open-mercato/cezar-api-client": "0.18.0-pr4070.7775",
|
|
67
|
+
"@open-mercato/cezar-contract": "0.18.0-pr4070.7775",
|
|
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": "616873ff214ce236f0e0405eeff000b69bd7dab9"
|
|
85
85
|
}
|