@hearsay-tools/squawk 0.18.0-pr4120.7919 → 0.18.0-pr4123.7931
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/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;
|
|
@@ -85,6 +73,18 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
85
73
|
offset?: string | undefined;
|
|
86
74
|
};
|
|
87
75
|
};
|
|
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,18 +629,6 @@ 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
|
-
} | {
|
|
644
632
|
output: {
|
|
645
633
|
workerId: string;
|
|
646
634
|
settled: boolean;
|
|
@@ -758,11 +746,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
758
746
|
workerId: string;
|
|
759
747
|
};
|
|
760
748
|
};
|
|
761
|
-
}
|
|
762
|
-
};
|
|
763
|
-
} & {
|
|
764
|
-
"/:workerId/collect": {
|
|
765
|
-
$post: {
|
|
749
|
+
} | {
|
|
766
750
|
output: {
|
|
767
751
|
error: string;
|
|
768
752
|
code?: "invalid_input" | undefined;
|
|
@@ -773,10 +757,12 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
773
757
|
param: {
|
|
774
758
|
workerId: string;
|
|
775
759
|
};
|
|
776
|
-
} & {
|
|
777
|
-
json: Record<string, never>;
|
|
778
760
|
};
|
|
779
|
-
}
|
|
761
|
+
};
|
|
762
|
+
};
|
|
763
|
+
} & {
|
|
764
|
+
"/:workerId/collect": {
|
|
765
|
+
$post: {
|
|
780
766
|
output: {
|
|
781
767
|
workerId: string;
|
|
782
768
|
parentRunId: string;
|
|
@@ -899,11 +885,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
899
885
|
} & {
|
|
900
886
|
json: Record<string, never>;
|
|
901
887
|
};
|
|
902
|
-
}
|
|
903
|
-
};
|
|
904
|
-
} & {
|
|
905
|
-
"/:workerId/steer": {
|
|
906
|
-
$post: {
|
|
888
|
+
} | {
|
|
907
889
|
output: {
|
|
908
890
|
error: string;
|
|
909
891
|
code?: "invalid_input" | undefined;
|
|
@@ -915,11 +897,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
915
897
|
workerId: string;
|
|
916
898
|
};
|
|
917
899
|
} & {
|
|
918
|
-
json:
|
|
919
|
-
text: string;
|
|
920
|
-
};
|
|
900
|
+
json: Record<string, never>;
|
|
921
901
|
};
|
|
922
|
-
}
|
|
902
|
+
};
|
|
903
|
+
};
|
|
904
|
+
} & {
|
|
905
|
+
"/:workerId/steer": {
|
|
906
|
+
$post: {
|
|
923
907
|
output: {
|
|
924
908
|
workerId: string;
|
|
925
909
|
state: "delivered" | "queued";
|
|
@@ -935,11 +919,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
935
919
|
text: string;
|
|
936
920
|
};
|
|
937
921
|
};
|
|
938
|
-
}
|
|
939
|
-
};
|
|
940
|
-
} & {
|
|
941
|
-
"/:workerId/stop": {
|
|
942
|
-
$post: {
|
|
922
|
+
} | {
|
|
943
923
|
output: {
|
|
944
924
|
error: string;
|
|
945
925
|
code?: "invalid_input" | undefined;
|
|
@@ -951,9 +931,15 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
951
931
|
workerId: string;
|
|
952
932
|
};
|
|
953
933
|
} & {
|
|
954
|
-
json:
|
|
934
|
+
json: {
|
|
935
|
+
text: string;
|
|
936
|
+
};
|
|
955
937
|
};
|
|
956
|
-
}
|
|
938
|
+
};
|
|
939
|
+
};
|
|
940
|
+
} & {
|
|
941
|
+
"/:workerId/stop": {
|
|
942
|
+
$post: {
|
|
957
943
|
output: {
|
|
958
944
|
workerId: string;
|
|
959
945
|
state: "stopping" | "terminated";
|
|
@@ -967,11 +953,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
967
953
|
} & {
|
|
968
954
|
json: Record<string, never>;
|
|
969
955
|
};
|
|
970
|
-
}
|
|
971
|
-
};
|
|
972
|
-
} & {
|
|
973
|
-
"/:workerId/destroy": {
|
|
974
|
-
$post: {
|
|
956
|
+
} | {
|
|
975
957
|
output: {
|
|
976
958
|
error: string;
|
|
977
959
|
code?: "invalid_input" | undefined;
|
|
@@ -983,11 +965,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
983
965
|
workerId: string;
|
|
984
966
|
};
|
|
985
967
|
} & {
|
|
986
|
-
json:
|
|
987
|
-
discardWork?: true | undefined;
|
|
988
|
-
};
|
|
968
|
+
json: Record<string, never>;
|
|
989
969
|
};
|
|
990
|
-
}
|
|
970
|
+
};
|
|
971
|
+
};
|
|
972
|
+
} & {
|
|
973
|
+
"/:workerId/destroy": {
|
|
974
|
+
$post: {
|
|
991
975
|
output: {
|
|
992
976
|
workerId: string;
|
|
993
977
|
state: "complete" | "incomplete";
|
|
@@ -1016,6 +1000,22 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1016
1000
|
discardWork?: true | undefined;
|
|
1017
1001
|
};
|
|
1018
1002
|
};
|
|
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,11 +1051,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1051
1051
|
"/:workerId/diff": {
|
|
1052
1052
|
$get: {
|
|
1053
1053
|
output: {
|
|
1054
|
-
|
|
1055
|
-
|
|
1054
|
+
workerId: string;
|
|
1055
|
+
baselineSha: string;
|
|
1056
|
+
diff: string;
|
|
1057
|
+
truncated: boolean;
|
|
1056
1058
|
};
|
|
1057
1059
|
outputFormat: "json";
|
|
1058
|
-
status:
|
|
1060
|
+
status: 200;
|
|
1059
1061
|
input: {
|
|
1060
1062
|
param: {
|
|
1061
1063
|
workerId: string;
|
|
@@ -1063,13 +1065,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1063
1065
|
};
|
|
1064
1066
|
} | {
|
|
1065
1067
|
output: {
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
diff: string;
|
|
1069
|
-
truncated: boolean;
|
|
1068
|
+
error: string;
|
|
1069
|
+
code?: "invalid_input" | undefined;
|
|
1070
1070
|
};
|
|
1071
1071
|
outputFormat: "json";
|
|
1072
|
-
status:
|
|
1072
|
+
status: 400;
|
|
1073
1073
|
input: {
|
|
1074
1074
|
param: {
|
|
1075
1075
|
workerId: string;
|
package/dist/server/server.d.ts
CHANGED
|
@@ -4610,19 +4610,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4610
4610
|
} & {
|
|
4611
4611
|
"/repo/commit/:sha": {
|
|
4612
4612
|
$get: {
|
|
4613
|
-
output: string;
|
|
4614
|
-
outputFormat: "text";
|
|
4615
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4616
|
-
input: {
|
|
4617
|
-
query: {
|
|
4618
|
-
structured?: string | undefined;
|
|
4619
|
-
};
|
|
4620
|
-
} & {
|
|
4621
|
-
param: {
|
|
4622
|
-
sha: string;
|
|
4623
|
-
};
|
|
4624
|
-
};
|
|
4625
|
-
} | {
|
|
4626
4613
|
output: {
|
|
4627
4614
|
error: string;
|
|
4628
4615
|
code?: "invalid_input" | undefined;
|
|
@@ -4686,6 +4673,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4686
4673
|
sha: string;
|
|
4687
4674
|
};
|
|
4688
4675
|
};
|
|
4676
|
+
} | {
|
|
4677
|
+
output: string;
|
|
4678
|
+
outputFormat: "text";
|
|
4679
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4680
|
+
input: {
|
|
4681
|
+
query: {
|
|
4682
|
+
structured?: string | undefined;
|
|
4683
|
+
};
|
|
4684
|
+
} & {
|
|
4685
|
+
param: {
|
|
4686
|
+
sha: string;
|
|
4687
|
+
};
|
|
4688
|
+
};
|
|
4689
4689
|
};
|
|
4690
4690
|
};
|
|
4691
4691
|
} & {
|
|
@@ -18487,20 +18487,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18487
18487
|
} & {
|
|
18488
18488
|
"/runs/:id/handoff": {
|
|
18489
18489
|
$get: {
|
|
18490
|
-
output:
|
|
18491
|
-
|
|
18492
|
-
|
|
18490
|
+
output: {
|
|
18491
|
+
error: string;
|
|
18492
|
+
};
|
|
18493
|
+
outputFormat: "json";
|
|
18494
|
+
status: 404;
|
|
18493
18495
|
input: {
|
|
18494
18496
|
param: {
|
|
18495
18497
|
id: string;
|
|
18496
18498
|
};
|
|
18497
18499
|
};
|
|
18498
18500
|
} | {
|
|
18499
|
-
output:
|
|
18500
|
-
|
|
18501
|
-
|
|
18502
|
-
outputFormat: "json";
|
|
18503
|
-
status: 404;
|
|
18501
|
+
output: string;
|
|
18502
|
+
outputFormat: "text";
|
|
18503
|
+
status: 200;
|
|
18504
18504
|
input: {
|
|
18505
18505
|
param: {
|
|
18506
18506
|
id: string;
|
|
@@ -18538,20 +18538,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18538
18538
|
} & {
|
|
18539
18539
|
"/runs/:id/diff": {
|
|
18540
18540
|
$get: {
|
|
18541
|
-
output:
|
|
18542
|
-
|
|
18543
|
-
|
|
18541
|
+
output: {
|
|
18542
|
+
error: string;
|
|
18543
|
+
};
|
|
18544
|
+
outputFormat: "json";
|
|
18545
|
+
status: 404 | 409;
|
|
18544
18546
|
input: {
|
|
18545
18547
|
param: {
|
|
18546
18548
|
id: string;
|
|
18547
18549
|
};
|
|
18548
18550
|
};
|
|
18549
18551
|
} | {
|
|
18550
|
-
output:
|
|
18551
|
-
|
|
18552
|
-
|
|
18553
|
-
outputFormat: "json";
|
|
18554
|
-
status: 404 | 409;
|
|
18552
|
+
output: string;
|
|
18553
|
+
outputFormat: "text";
|
|
18554
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
18555
18555
|
input: {
|
|
18556
18556
|
param: {
|
|
18557
18557
|
id: string;
|
|
@@ -20571,19 +20571,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20571
20571
|
} & {
|
|
20572
20572
|
"/repo/commit/:sha": {
|
|
20573
20573
|
$get: {
|
|
20574
|
-
output: string;
|
|
20575
|
-
outputFormat: "text";
|
|
20576
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20577
|
-
input: {
|
|
20578
|
-
query: {
|
|
20579
|
-
structured?: string | undefined;
|
|
20580
|
-
};
|
|
20581
|
-
} & {
|
|
20582
|
-
param: {
|
|
20583
|
-
sha: string;
|
|
20584
|
-
};
|
|
20585
|
-
};
|
|
20586
|
-
} | {
|
|
20587
20574
|
output: {
|
|
20588
20575
|
error: string;
|
|
20589
20576
|
code?: "invalid_input" | undefined;
|
|
@@ -20647,6 +20634,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20647
20634
|
sha: string;
|
|
20648
20635
|
};
|
|
20649
20636
|
};
|
|
20637
|
+
} | {
|
|
20638
|
+
output: string;
|
|
20639
|
+
outputFormat: "text";
|
|
20640
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20641
|
+
input: {
|
|
20642
|
+
query: {
|
|
20643
|
+
structured?: string | undefined;
|
|
20644
|
+
};
|
|
20645
|
+
} & {
|
|
20646
|
+
param: {
|
|
20647
|
+
sha: string;
|
|
20648
|
+
};
|
|
20649
|
+
};
|
|
20650
20650
|
};
|
|
20651
20651
|
};
|
|
20652
20652
|
} & {
|
|
@@ -34448,20 +34448,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
34448
34448
|
} & {
|
|
34449
34449
|
"/runs/:id/handoff": {
|
|
34450
34450
|
$get: {
|
|
34451
|
-
output:
|
|
34452
|
-
|
|
34453
|
-
|
|
34451
|
+
output: {
|
|
34452
|
+
error: string;
|
|
34453
|
+
};
|
|
34454
|
+
outputFormat: "json";
|
|
34455
|
+
status: 404;
|
|
34454
34456
|
input: {
|
|
34455
34457
|
param: {
|
|
34456
34458
|
id: string;
|
|
34457
34459
|
};
|
|
34458
34460
|
};
|
|
34459
34461
|
} | {
|
|
34460
|
-
output:
|
|
34461
|
-
|
|
34462
|
-
|
|
34463
|
-
outputFormat: "json";
|
|
34464
|
-
status: 404;
|
|
34462
|
+
output: string;
|
|
34463
|
+
outputFormat: "text";
|
|
34464
|
+
status: 200;
|
|
34465
34465
|
input: {
|
|
34466
34466
|
param: {
|
|
34467
34467
|
id: string;
|
|
@@ -34499,20 +34499,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
34499
34499
|
} & {
|
|
34500
34500
|
"/runs/:id/diff": {
|
|
34501
34501
|
$get: {
|
|
34502
|
-
output:
|
|
34503
|
-
|
|
34504
|
-
|
|
34502
|
+
output: {
|
|
34503
|
+
error: string;
|
|
34504
|
+
};
|
|
34505
|
+
outputFormat: "json";
|
|
34506
|
+
status: 404 | 409;
|
|
34505
34507
|
input: {
|
|
34506
34508
|
param: {
|
|
34507
34509
|
id: string;
|
|
34508
34510
|
};
|
|
34509
34511
|
};
|
|
34510
34512
|
} | {
|
|
34511
|
-
output:
|
|
34512
|
-
|
|
34513
|
-
|
|
34514
|
-
outputFormat: "json";
|
|
34515
|
-
status: 404 | 409;
|
|
34513
|
+
output: string;
|
|
34514
|
+
outputFormat: "text";
|
|
34515
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
34516
34516
|
input: {
|
|
34517
34517
|
param: {
|
|
34518
34518
|
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-pr4123.7931",
|
|
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-pr4123.7931",
|
|
67
|
+
"@open-mercato/cezar-contract": "0.18.0-pr4123.7931",
|
|
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": "5c6b546bf0ce5e5f36642f3712a66ecab25046e9"
|
|
85
85
|
}
|