@hearsay-tools/squawk 0.18.0-pr4267.8233 → 0.18.0-pr4267.8238
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/ci-wait/controller.d.ts +7 -7
- package/dist/delegation/routes.d.ts +65 -65
- package/dist/delegation/transport.d.ts +65 -65
- package/dist/server/activity-routes.d.ts +23 -23
- package/dist/server/models-routes.d.ts +13 -13
- package/dist/server/provider-sign-in-routes.d.ts +2 -2
- package/dist/server/reports-api.d.ts +2 -2
- package/dist/server/runner-install-routes.d.ts +10 -10
- package/dist/server/server.d.ts +58 -58
- package/package.json +4 -4
|
@@ -119,12 +119,9 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
119
119
|
} & {
|
|
120
120
|
"/api/v1/tools/:name": {
|
|
121
121
|
$post: {
|
|
122
|
-
output:
|
|
123
|
-
code: string;
|
|
124
|
-
message: string;
|
|
125
|
-
};
|
|
122
|
+
output: never;
|
|
126
123
|
outputFormat: "json";
|
|
127
|
-
status:
|
|
124
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
128
125
|
input: {
|
|
129
126
|
json: unknown;
|
|
130
127
|
} & {
|
|
@@ -147,9 +144,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
147
144
|
};
|
|
148
145
|
};
|
|
149
146
|
} | {
|
|
150
|
-
output:
|
|
147
|
+
output: {
|
|
148
|
+
code: string;
|
|
149
|
+
message: string;
|
|
150
|
+
};
|
|
151
151
|
outputFormat: "json";
|
|
152
|
-
status:
|
|
152
|
+
status: 401;
|
|
153
153
|
input: {
|
|
154
154
|
json: unknown;
|
|
155
155
|
} & {
|
|
@@ -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;
|
|
@@ -79,18 +91,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
79
91
|
offset?: string | undefined;
|
|
80
92
|
};
|
|
81
93
|
};
|
|
82
|
-
} | {
|
|
83
|
-
output: {
|
|
84
|
-
error: string;
|
|
85
|
-
code?: "invalid_input" | undefined;
|
|
86
|
-
};
|
|
87
|
-
outputFormat: "json";
|
|
88
|
-
status: 400;
|
|
89
|
-
input: {
|
|
90
|
-
query: {
|
|
91
|
-
offset?: string | undefined;
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
94
|
};
|
|
95
95
|
};
|
|
96
96
|
} & {
|
|
@@ -677,6 +677,18 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
677
677
|
} & {
|
|
678
678
|
"/:workerId": {
|
|
679
679
|
$get: {
|
|
680
|
+
output: {
|
|
681
|
+
error: string;
|
|
682
|
+
code?: "invalid_input" | undefined;
|
|
683
|
+
};
|
|
684
|
+
outputFormat: "json";
|
|
685
|
+
status: 400;
|
|
686
|
+
input: {
|
|
687
|
+
param: {
|
|
688
|
+
workerId: string;
|
|
689
|
+
};
|
|
690
|
+
};
|
|
691
|
+
} | {
|
|
680
692
|
output: {
|
|
681
693
|
workerId: string;
|
|
682
694
|
settled: boolean;
|
|
@@ -801,7 +813,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
801
813
|
workerId: string;
|
|
802
814
|
};
|
|
803
815
|
};
|
|
804
|
-
}
|
|
816
|
+
};
|
|
817
|
+
};
|
|
818
|
+
} & {
|
|
819
|
+
"/:workerId/collect": {
|
|
820
|
+
$post: {
|
|
805
821
|
output: {
|
|
806
822
|
error: string;
|
|
807
823
|
code?: "invalid_input" | undefined;
|
|
@@ -812,12 +828,10 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
812
828
|
param: {
|
|
813
829
|
workerId: string;
|
|
814
830
|
};
|
|
831
|
+
} & {
|
|
832
|
+
json: Record<string, never>;
|
|
815
833
|
};
|
|
816
|
-
}
|
|
817
|
-
};
|
|
818
|
-
} & {
|
|
819
|
-
"/:workerId/collect": {
|
|
820
|
-
$post: {
|
|
834
|
+
} | {
|
|
821
835
|
output: {
|
|
822
836
|
workerId: string;
|
|
823
837
|
parentRunId: string;
|
|
@@ -940,7 +954,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
940
954
|
} & {
|
|
941
955
|
json: Record<string, never>;
|
|
942
956
|
};
|
|
943
|
-
}
|
|
957
|
+
};
|
|
958
|
+
};
|
|
959
|
+
} & {
|
|
960
|
+
"/:workerId/steer": {
|
|
961
|
+
$post: {
|
|
944
962
|
output: {
|
|
945
963
|
error: string;
|
|
946
964
|
code?: "invalid_input" | undefined;
|
|
@@ -952,13 +970,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
952
970
|
workerId: string;
|
|
953
971
|
};
|
|
954
972
|
} & {
|
|
955
|
-
json:
|
|
973
|
+
json: {
|
|
974
|
+
text: string;
|
|
975
|
+
};
|
|
956
976
|
};
|
|
957
|
-
}
|
|
958
|
-
};
|
|
959
|
-
} & {
|
|
960
|
-
"/:workerId/steer": {
|
|
961
|
-
$post: {
|
|
977
|
+
} | {
|
|
962
978
|
output: {
|
|
963
979
|
workerId: string;
|
|
964
980
|
state: "delivered" | "queued";
|
|
@@ -974,7 +990,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
974
990
|
text: string;
|
|
975
991
|
};
|
|
976
992
|
};
|
|
977
|
-
}
|
|
993
|
+
};
|
|
994
|
+
};
|
|
995
|
+
} & {
|
|
996
|
+
"/:workerId/stop": {
|
|
997
|
+
$post: {
|
|
978
998
|
output: {
|
|
979
999
|
error: string;
|
|
980
1000
|
code?: "invalid_input" | undefined;
|
|
@@ -986,15 +1006,9 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
986
1006
|
workerId: string;
|
|
987
1007
|
};
|
|
988
1008
|
} & {
|
|
989
|
-
json:
|
|
990
|
-
text: string;
|
|
991
|
-
};
|
|
1009
|
+
json: Record<string, never>;
|
|
992
1010
|
};
|
|
993
|
-
}
|
|
994
|
-
};
|
|
995
|
-
} & {
|
|
996
|
-
"/:workerId/stop": {
|
|
997
|
-
$post: {
|
|
1011
|
+
} | {
|
|
998
1012
|
output: {
|
|
999
1013
|
workerId: string;
|
|
1000
1014
|
state: "stopping" | "terminated";
|
|
@@ -1008,7 +1022,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1008
1022
|
} & {
|
|
1009
1023
|
json: Record<string, never>;
|
|
1010
1024
|
};
|
|
1011
|
-
}
|
|
1025
|
+
};
|
|
1026
|
+
};
|
|
1027
|
+
} & {
|
|
1028
|
+
"/:workerId/destroy": {
|
|
1029
|
+
$post: {
|
|
1012
1030
|
output: {
|
|
1013
1031
|
error: string;
|
|
1014
1032
|
code?: "invalid_input" | undefined;
|
|
@@ -1020,13 +1038,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1020
1038
|
workerId: string;
|
|
1021
1039
|
};
|
|
1022
1040
|
} & {
|
|
1023
|
-
json:
|
|
1041
|
+
json: {
|
|
1042
|
+
discardWork?: true | undefined;
|
|
1043
|
+
};
|
|
1024
1044
|
};
|
|
1025
|
-
}
|
|
1026
|
-
};
|
|
1027
|
-
} & {
|
|
1028
|
-
"/:workerId/destroy": {
|
|
1029
|
-
$post: {
|
|
1045
|
+
} | {
|
|
1030
1046
|
output: {
|
|
1031
1047
|
workerId: string;
|
|
1032
1048
|
state: "complete" | "incomplete";
|
|
@@ -1055,22 +1071,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1055
1071
|
discardWork?: true | undefined;
|
|
1056
1072
|
};
|
|
1057
1073
|
};
|
|
1058
|
-
} | {
|
|
1059
|
-
output: {
|
|
1060
|
-
error: string;
|
|
1061
|
-
code?: "invalid_input" | undefined;
|
|
1062
|
-
};
|
|
1063
|
-
outputFormat: "json";
|
|
1064
|
-
status: 400;
|
|
1065
|
-
input: {
|
|
1066
|
-
param: {
|
|
1067
|
-
workerId: string;
|
|
1068
|
-
};
|
|
1069
|
-
} & {
|
|
1070
|
-
json: {
|
|
1071
|
-
discardWork?: true | undefined;
|
|
1072
|
-
};
|
|
1073
|
-
};
|
|
1074
1074
|
} | {
|
|
1075
1075
|
output: {
|
|
1076
1076
|
workerId: string;
|
|
@@ -1106,13 +1106,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1106
1106
|
"/:workerId/diff": {
|
|
1107
1107
|
$get: {
|
|
1108
1108
|
output: {
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
diff: string;
|
|
1112
|
-
truncated: boolean;
|
|
1109
|
+
error: string;
|
|
1110
|
+
code?: "invalid_input" | undefined;
|
|
1113
1111
|
};
|
|
1114
1112
|
outputFormat: "json";
|
|
1115
|
-
status:
|
|
1113
|
+
status: 400;
|
|
1116
1114
|
input: {
|
|
1117
1115
|
param: {
|
|
1118
1116
|
workerId: string;
|
|
@@ -1120,11 +1118,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1120
1118
|
};
|
|
1121
1119
|
} | {
|
|
1122
1120
|
output: {
|
|
1123
|
-
|
|
1124
|
-
|
|
1121
|
+
workerId: string;
|
|
1122
|
+
baselineSha: string;
|
|
1123
|
+
diff: string;
|
|
1124
|
+
truncated: boolean;
|
|
1125
1125
|
};
|
|
1126
1126
|
outputFormat: "json";
|
|
1127
|
-
status:
|
|
1127
|
+
status: 200;
|
|
1128
1128
|
input: {
|
|
1129
1129
|
param: {
|
|
1130
1130
|
workerId: string;
|
|
@@ -2,6 +2,18 @@ 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
|
+
} | {
|
|
5
17
|
output: {
|
|
6
18
|
workers: {
|
|
7
19
|
workerId: string;
|
|
@@ -54,18 +66,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
54
66
|
offset?: string | undefined;
|
|
55
67
|
};
|
|
56
68
|
};
|
|
57
|
-
} | {
|
|
58
|
-
output: {
|
|
59
|
-
error: string;
|
|
60
|
-
code?: "invalid_input" | undefined;
|
|
61
|
-
};
|
|
62
|
-
outputFormat: "json";
|
|
63
|
-
status: 400;
|
|
64
|
-
input: {
|
|
65
|
-
query: {
|
|
66
|
-
offset?: string | undefined;
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
69
|
};
|
|
70
70
|
};
|
|
71
71
|
} & {
|
|
@@ -652,6 +652,18 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
652
652
|
} & {
|
|
653
653
|
"/:workerId": {
|
|
654
654
|
$get: {
|
|
655
|
+
output: {
|
|
656
|
+
error: string;
|
|
657
|
+
code?: "invalid_input" | undefined;
|
|
658
|
+
};
|
|
659
|
+
outputFormat: "json";
|
|
660
|
+
status: 400;
|
|
661
|
+
input: {
|
|
662
|
+
param: {
|
|
663
|
+
workerId: string;
|
|
664
|
+
};
|
|
665
|
+
};
|
|
666
|
+
} | {
|
|
655
667
|
output: {
|
|
656
668
|
workerId: string;
|
|
657
669
|
settled: boolean;
|
|
@@ -776,7 +788,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
776
788
|
workerId: string;
|
|
777
789
|
};
|
|
778
790
|
};
|
|
779
|
-
}
|
|
791
|
+
};
|
|
792
|
+
};
|
|
793
|
+
} & {
|
|
794
|
+
"/:workerId/collect": {
|
|
795
|
+
$post: {
|
|
780
796
|
output: {
|
|
781
797
|
error: string;
|
|
782
798
|
code?: "invalid_input" | undefined;
|
|
@@ -787,12 +803,10 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
787
803
|
param: {
|
|
788
804
|
workerId: string;
|
|
789
805
|
};
|
|
806
|
+
} & {
|
|
807
|
+
json: Record<string, never>;
|
|
790
808
|
};
|
|
791
|
-
}
|
|
792
|
-
};
|
|
793
|
-
} & {
|
|
794
|
-
"/:workerId/collect": {
|
|
795
|
-
$post: {
|
|
809
|
+
} | {
|
|
796
810
|
output: {
|
|
797
811
|
workerId: string;
|
|
798
812
|
parentRunId: string;
|
|
@@ -915,7 +929,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
915
929
|
} & {
|
|
916
930
|
json: Record<string, never>;
|
|
917
931
|
};
|
|
918
|
-
}
|
|
932
|
+
};
|
|
933
|
+
};
|
|
934
|
+
} & {
|
|
935
|
+
"/:workerId/steer": {
|
|
936
|
+
$post: {
|
|
919
937
|
output: {
|
|
920
938
|
error: string;
|
|
921
939
|
code?: "invalid_input" | undefined;
|
|
@@ -927,13 +945,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
927
945
|
workerId: string;
|
|
928
946
|
};
|
|
929
947
|
} & {
|
|
930
|
-
json:
|
|
948
|
+
json: {
|
|
949
|
+
text: string;
|
|
950
|
+
};
|
|
931
951
|
};
|
|
932
|
-
}
|
|
933
|
-
};
|
|
934
|
-
} & {
|
|
935
|
-
"/:workerId/steer": {
|
|
936
|
-
$post: {
|
|
952
|
+
} | {
|
|
937
953
|
output: {
|
|
938
954
|
workerId: string;
|
|
939
955
|
state: "delivered" | "queued";
|
|
@@ -949,7 +965,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
949
965
|
text: string;
|
|
950
966
|
};
|
|
951
967
|
};
|
|
952
|
-
}
|
|
968
|
+
};
|
|
969
|
+
};
|
|
970
|
+
} & {
|
|
971
|
+
"/:workerId/stop": {
|
|
972
|
+
$post: {
|
|
953
973
|
output: {
|
|
954
974
|
error: string;
|
|
955
975
|
code?: "invalid_input" | undefined;
|
|
@@ -961,15 +981,9 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
961
981
|
workerId: string;
|
|
962
982
|
};
|
|
963
983
|
} & {
|
|
964
|
-
json:
|
|
965
|
-
text: string;
|
|
966
|
-
};
|
|
984
|
+
json: Record<string, never>;
|
|
967
985
|
};
|
|
968
|
-
}
|
|
969
|
-
};
|
|
970
|
-
} & {
|
|
971
|
-
"/:workerId/stop": {
|
|
972
|
-
$post: {
|
|
986
|
+
} | {
|
|
973
987
|
output: {
|
|
974
988
|
workerId: string;
|
|
975
989
|
state: "stopping" | "terminated";
|
|
@@ -983,7 +997,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
983
997
|
} & {
|
|
984
998
|
json: Record<string, never>;
|
|
985
999
|
};
|
|
986
|
-
}
|
|
1000
|
+
};
|
|
1001
|
+
};
|
|
1002
|
+
} & {
|
|
1003
|
+
"/:workerId/destroy": {
|
|
1004
|
+
$post: {
|
|
987
1005
|
output: {
|
|
988
1006
|
error: string;
|
|
989
1007
|
code?: "invalid_input" | undefined;
|
|
@@ -995,13 +1013,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
995
1013
|
workerId: string;
|
|
996
1014
|
};
|
|
997
1015
|
} & {
|
|
998
|
-
json:
|
|
1016
|
+
json: {
|
|
1017
|
+
discardWork?: true | undefined;
|
|
1018
|
+
};
|
|
999
1019
|
};
|
|
1000
|
-
}
|
|
1001
|
-
};
|
|
1002
|
-
} & {
|
|
1003
|
-
"/:workerId/destroy": {
|
|
1004
|
-
$post: {
|
|
1020
|
+
} | {
|
|
1005
1021
|
output: {
|
|
1006
1022
|
workerId: string;
|
|
1007
1023
|
state: "complete" | "incomplete";
|
|
@@ -1030,22 +1046,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1030
1046
|
discardWork?: true | undefined;
|
|
1031
1047
|
};
|
|
1032
1048
|
};
|
|
1033
|
-
} | {
|
|
1034
|
-
output: {
|
|
1035
|
-
error: string;
|
|
1036
|
-
code?: "invalid_input" | undefined;
|
|
1037
|
-
};
|
|
1038
|
-
outputFormat: "json";
|
|
1039
|
-
status: 400;
|
|
1040
|
-
input: {
|
|
1041
|
-
param: {
|
|
1042
|
-
workerId: string;
|
|
1043
|
-
};
|
|
1044
|
-
} & {
|
|
1045
|
-
json: {
|
|
1046
|
-
discardWork?: true | undefined;
|
|
1047
|
-
};
|
|
1048
|
-
};
|
|
1049
1049
|
} | {
|
|
1050
1050
|
output: {
|
|
1051
1051
|
workerId: string;
|
|
@@ -1081,13 +1081,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1081
1081
|
"/:workerId/diff": {
|
|
1082
1082
|
$get: {
|
|
1083
1083
|
output: {
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
diff: string;
|
|
1087
|
-
truncated: boolean;
|
|
1084
|
+
error: string;
|
|
1085
|
+
code?: "invalid_input" | undefined;
|
|
1088
1086
|
};
|
|
1089
1087
|
outputFormat: "json";
|
|
1090
|
-
status:
|
|
1088
|
+
status: 400;
|
|
1091
1089
|
input: {
|
|
1092
1090
|
param: {
|
|
1093
1091
|
workerId: string;
|
|
@@ -1095,11 +1093,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1095
1093
|
};
|
|
1096
1094
|
} | {
|
|
1097
1095
|
output: {
|
|
1098
|
-
|
|
1099
|
-
|
|
1096
|
+
workerId: string;
|
|
1097
|
+
baselineSha: string;
|
|
1098
|
+
diff: string;
|
|
1099
|
+
truncated: boolean;
|
|
1100
1100
|
};
|
|
1101
1101
|
outputFormat: "json";
|
|
1102
|
-
status:
|
|
1102
|
+
status: 200;
|
|
1103
1103
|
input: {
|
|
1104
1104
|
param: {
|
|
1105
1105
|
workerId: string;
|
|
@@ -58,6 +58,29 @@ export declare function ciProgressPlugs(): {
|
|
|
58
58
|
export declare function createActivityRoutes(routeDeps: ActivityRouteDeps): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, {
|
|
59
59
|
"/workspace/activity": {
|
|
60
60
|
$get: {
|
|
61
|
+
output: {
|
|
62
|
+
error: string;
|
|
63
|
+
code?: "invalid_input" | undefined;
|
|
64
|
+
};
|
|
65
|
+
outputFormat: "json";
|
|
66
|
+
status: 400;
|
|
67
|
+
input: {
|
|
68
|
+
query: {
|
|
69
|
+
project?: string | undefined;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
} | {
|
|
73
|
+
output: {
|
|
74
|
+
error: string;
|
|
75
|
+
};
|
|
76
|
+
outputFormat: "json";
|
|
77
|
+
status: 404 | 409 | 503;
|
|
78
|
+
input: {
|
|
79
|
+
query: {
|
|
80
|
+
project?: string | undefined;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
} | {
|
|
61
84
|
output: {
|
|
62
85
|
generatedAt: string;
|
|
63
86
|
projects: {
|
|
@@ -304,29 +327,6 @@ export declare function createActivityRoutes(routeDeps: ActivityRouteDeps): impo
|
|
|
304
327
|
project?: string | undefined;
|
|
305
328
|
};
|
|
306
329
|
};
|
|
307
|
-
} | {
|
|
308
|
-
output: {
|
|
309
|
-
error: string;
|
|
310
|
-
code?: "invalid_input" | undefined;
|
|
311
|
-
};
|
|
312
|
-
outputFormat: "json";
|
|
313
|
-
status: 400;
|
|
314
|
-
input: {
|
|
315
|
-
query: {
|
|
316
|
-
project?: string | undefined;
|
|
317
|
-
};
|
|
318
|
-
};
|
|
319
|
-
} | {
|
|
320
|
-
output: {
|
|
321
|
-
error: string;
|
|
322
|
-
};
|
|
323
|
-
outputFormat: "json";
|
|
324
|
-
status: 404 | 409 | 503;
|
|
325
|
-
input: {
|
|
326
|
-
query: {
|
|
327
|
-
project?: string | undefined;
|
|
328
|
-
};
|
|
329
|
-
};
|
|
330
330
|
};
|
|
331
331
|
};
|
|
332
332
|
}, "/", "/workspace/activity">;
|
|
@@ -30,10 +30,19 @@ export declare function createModelsRoutes(options: {
|
|
|
30
30
|
};
|
|
31
31
|
} | {
|
|
32
32
|
output: {
|
|
33
|
-
|
|
33
|
+
runner: string;
|
|
34
|
+
models: {
|
|
35
|
+
id: string;
|
|
36
|
+
label: string;
|
|
37
|
+
description: string;
|
|
38
|
+
effortLevels?: import('../contract/index.js').EffortLevel[];
|
|
39
|
+
}[];
|
|
40
|
+
source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
|
|
41
|
+
stale: boolean;
|
|
42
|
+
reason?: string;
|
|
34
43
|
};
|
|
35
44
|
outputFormat: "json";
|
|
36
|
-
status:
|
|
45
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
37
46
|
input: {
|
|
38
47
|
query: {
|
|
39
48
|
runner: string | string[];
|
|
@@ -54,19 +63,10 @@ export declare function createModelsRoutes(options: {
|
|
|
54
63
|
};
|
|
55
64
|
} | {
|
|
56
65
|
output: {
|
|
57
|
-
|
|
58
|
-
models: {
|
|
59
|
-
id: string;
|
|
60
|
-
label: string;
|
|
61
|
-
description: string;
|
|
62
|
-
effortLevels?: import('../contract/index.js').EffortLevel[];
|
|
63
|
-
}[];
|
|
64
|
-
source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
|
|
65
|
-
stale: boolean;
|
|
66
|
-
reason?: string;
|
|
66
|
+
error: string;
|
|
67
67
|
};
|
|
68
68
|
outputFormat: "json";
|
|
69
|
-
status:
|
|
69
|
+
status: 400;
|
|
70
70
|
input: {
|
|
71
71
|
query: {
|
|
72
72
|
runner: string | string[];
|
|
@@ -18,7 +18,7 @@ export declare function createProviderSignInRoutes(options: {
|
|
|
18
18
|
error: string;
|
|
19
19
|
};
|
|
20
20
|
outputFormat: "json";
|
|
21
|
-
status:
|
|
21
|
+
status: 409;
|
|
22
22
|
input: {
|
|
23
23
|
json: {
|
|
24
24
|
provider: string;
|
|
@@ -30,7 +30,7 @@ export declare function createProviderSignInRoutes(options: {
|
|
|
30
30
|
error: string;
|
|
31
31
|
};
|
|
32
32
|
outputFormat: "json";
|
|
33
|
-
status:
|
|
33
|
+
status: 400;
|
|
34
34
|
input: {
|
|
35
35
|
json: {
|
|
36
36
|
provider: 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: 409;
|
|
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: 400;
|
|
57
57
|
input: {
|
|
58
58
|
query: {
|
|
59
59
|
q?: string | undefined;
|
|
@@ -52,15 +52,11 @@ export declare function createRunnerInstallRoutes(options: {
|
|
|
52
52
|
"/runner-install/:runner": {
|
|
53
53
|
$post: {
|
|
54
54
|
output: {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
latestVersion: string | null;
|
|
58
|
-
updateAvailable: boolean;
|
|
59
|
-
phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
|
|
60
|
-
error: string | null;
|
|
55
|
+
error: string;
|
|
56
|
+
code?: "invalid_input" | undefined;
|
|
61
57
|
};
|
|
62
58
|
outputFormat: "json";
|
|
63
|
-
status:
|
|
59
|
+
status: 400;
|
|
64
60
|
input: {
|
|
65
61
|
param: {
|
|
66
62
|
runner: string;
|
|
@@ -72,11 +68,15 @@ export declare function createRunnerInstallRoutes(options: {
|
|
|
72
68
|
};
|
|
73
69
|
} | {
|
|
74
70
|
output: {
|
|
75
|
-
|
|
76
|
-
|
|
71
|
+
supported: boolean;
|
|
72
|
+
installedVersion: string | null;
|
|
73
|
+
latestVersion: string | null;
|
|
74
|
+
updateAvailable: boolean;
|
|
75
|
+
phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
|
|
76
|
+
error: string | null;
|
|
77
77
|
};
|
|
78
78
|
outputFormat: "json";
|
|
79
|
-
status:
|
|
79
|
+
status: 202;
|
|
80
80
|
input: {
|
|
81
81
|
param: {
|
|
82
82
|
runner: string;
|
package/dist/server/server.d.ts
CHANGED
|
@@ -4678,19 +4678,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4678
4678
|
} & {
|
|
4679
4679
|
"/repo/commit/:sha": {
|
|
4680
4680
|
$get: {
|
|
4681
|
-
output: string;
|
|
4682
|
-
outputFormat: "text";
|
|
4683
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4684
|
-
input: {
|
|
4685
|
-
query: {
|
|
4686
|
-
structured?: string | undefined;
|
|
4687
|
-
};
|
|
4688
|
-
} & {
|
|
4689
|
-
param: {
|
|
4690
|
-
sha: string;
|
|
4691
|
-
};
|
|
4692
|
-
};
|
|
4693
|
-
} | {
|
|
4694
4681
|
output: {
|
|
4695
4682
|
error: string;
|
|
4696
4683
|
code?: "invalid_input" | undefined;
|
|
@@ -4754,6 +4741,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4754
4741
|
sha: string;
|
|
4755
4742
|
};
|
|
4756
4743
|
};
|
|
4744
|
+
} | {
|
|
4745
|
+
output: string;
|
|
4746
|
+
outputFormat: "text";
|
|
4747
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4748
|
+
input: {
|
|
4749
|
+
query: {
|
|
4750
|
+
structured?: string | undefined;
|
|
4751
|
+
};
|
|
4752
|
+
} & {
|
|
4753
|
+
param: {
|
|
4754
|
+
sha: string;
|
|
4755
|
+
};
|
|
4756
|
+
};
|
|
4757
4757
|
};
|
|
4758
4758
|
};
|
|
4759
4759
|
} & {
|
|
@@ -19221,20 +19221,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19221
19221
|
} & {
|
|
19222
19222
|
"/runs/:id/handoff": {
|
|
19223
19223
|
$get: {
|
|
19224
|
-
output:
|
|
19225
|
-
|
|
19226
|
-
|
|
19224
|
+
output: {
|
|
19225
|
+
error: string;
|
|
19226
|
+
};
|
|
19227
|
+
outputFormat: "json";
|
|
19228
|
+
status: 404;
|
|
19227
19229
|
input: {
|
|
19228
19230
|
param: {
|
|
19229
19231
|
id: string;
|
|
19230
19232
|
};
|
|
19231
19233
|
};
|
|
19232
19234
|
} | {
|
|
19233
|
-
output:
|
|
19234
|
-
|
|
19235
|
-
|
|
19236
|
-
outputFormat: "json";
|
|
19237
|
-
status: 404;
|
|
19235
|
+
output: string;
|
|
19236
|
+
outputFormat: "text";
|
|
19237
|
+
status: 200;
|
|
19238
19238
|
input: {
|
|
19239
19239
|
param: {
|
|
19240
19240
|
id: string;
|
|
@@ -19272,20 +19272,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19272
19272
|
} & {
|
|
19273
19273
|
"/runs/:id/diff": {
|
|
19274
19274
|
$get: {
|
|
19275
|
-
output:
|
|
19276
|
-
|
|
19277
|
-
|
|
19275
|
+
output: {
|
|
19276
|
+
error: string;
|
|
19277
|
+
};
|
|
19278
|
+
outputFormat: "json";
|
|
19279
|
+
status: 404 | 409;
|
|
19278
19280
|
input: {
|
|
19279
19281
|
param: {
|
|
19280
19282
|
id: string;
|
|
19281
19283
|
};
|
|
19282
19284
|
};
|
|
19283
19285
|
} | {
|
|
19284
|
-
output:
|
|
19285
|
-
|
|
19286
|
-
|
|
19287
|
-
outputFormat: "json";
|
|
19288
|
-
status: 404 | 409;
|
|
19286
|
+
output: string;
|
|
19287
|
+
outputFormat: "text";
|
|
19288
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
19289
19289
|
input: {
|
|
19290
19290
|
param: {
|
|
19291
19291
|
id: string;
|
|
@@ -21332,19 +21332,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
21332
21332
|
} & {
|
|
21333
21333
|
"/repo/commit/:sha": {
|
|
21334
21334
|
$get: {
|
|
21335
|
-
output: string;
|
|
21336
|
-
outputFormat: "text";
|
|
21337
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
21338
|
-
input: {
|
|
21339
|
-
query: {
|
|
21340
|
-
structured?: string | undefined;
|
|
21341
|
-
};
|
|
21342
|
-
} & {
|
|
21343
|
-
param: {
|
|
21344
|
-
sha: string;
|
|
21345
|
-
};
|
|
21346
|
-
};
|
|
21347
|
-
} | {
|
|
21348
21335
|
output: {
|
|
21349
21336
|
error: string;
|
|
21350
21337
|
code?: "invalid_input" | undefined;
|
|
@@ -21408,6 +21395,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
21408
21395
|
sha: string;
|
|
21409
21396
|
};
|
|
21410
21397
|
};
|
|
21398
|
+
} | {
|
|
21399
|
+
output: string;
|
|
21400
|
+
outputFormat: "text";
|
|
21401
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
21402
|
+
input: {
|
|
21403
|
+
query: {
|
|
21404
|
+
structured?: string | undefined;
|
|
21405
|
+
};
|
|
21406
|
+
} & {
|
|
21407
|
+
param: {
|
|
21408
|
+
sha: string;
|
|
21409
|
+
};
|
|
21410
|
+
};
|
|
21411
21411
|
};
|
|
21412
21412
|
};
|
|
21413
21413
|
} & {
|
|
@@ -35875,20 +35875,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
35875
35875
|
} & {
|
|
35876
35876
|
"/runs/:id/handoff": {
|
|
35877
35877
|
$get: {
|
|
35878
|
-
output:
|
|
35879
|
-
|
|
35880
|
-
|
|
35878
|
+
output: {
|
|
35879
|
+
error: string;
|
|
35880
|
+
};
|
|
35881
|
+
outputFormat: "json";
|
|
35882
|
+
status: 404;
|
|
35881
35883
|
input: {
|
|
35882
35884
|
param: {
|
|
35883
35885
|
id: string;
|
|
35884
35886
|
};
|
|
35885
35887
|
};
|
|
35886
35888
|
} | {
|
|
35887
|
-
output:
|
|
35888
|
-
|
|
35889
|
-
|
|
35890
|
-
outputFormat: "json";
|
|
35891
|
-
status: 404;
|
|
35889
|
+
output: string;
|
|
35890
|
+
outputFormat: "text";
|
|
35891
|
+
status: 200;
|
|
35892
35892
|
input: {
|
|
35893
35893
|
param: {
|
|
35894
35894
|
id: string;
|
|
@@ -35926,20 +35926,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
35926
35926
|
} & {
|
|
35927
35927
|
"/runs/:id/diff": {
|
|
35928
35928
|
$get: {
|
|
35929
|
-
output:
|
|
35930
|
-
|
|
35931
|
-
|
|
35929
|
+
output: {
|
|
35930
|
+
error: string;
|
|
35931
|
+
};
|
|
35932
|
+
outputFormat: "json";
|
|
35933
|
+
status: 404 | 409;
|
|
35932
35934
|
input: {
|
|
35933
35935
|
param: {
|
|
35934
35936
|
id: string;
|
|
35935
35937
|
};
|
|
35936
35938
|
};
|
|
35937
35939
|
} | {
|
|
35938
|
-
output:
|
|
35939
|
-
|
|
35940
|
-
|
|
35941
|
-
outputFormat: "json";
|
|
35942
|
-
status: 404 | 409;
|
|
35940
|
+
output: string;
|
|
35941
|
+
outputFormat: "text";
|
|
35942
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
35943
35943
|
input: {
|
|
35944
35944
|
param: {
|
|
35945
35945
|
id: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hearsay-tools/squawk",
|
|
3
|
-
"version": "0.18.0-pr4267.
|
|
3
|
+
"version": "0.18.0-pr4267.8238",
|
|
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",
|
|
@@ -68,8 +68,8 @@
|
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@babel/parser": "^8.0.8",
|
|
70
70
|
"@babel/types": "^8.0.8",
|
|
71
|
-
"@open-mercato/cezar-api-client": "0.18.0-pr4267.
|
|
72
|
-
"@open-mercato/cezar-contract": "0.18.0-pr4267.
|
|
71
|
+
"@open-mercato/cezar-api-client": "0.18.0-pr4267.8238",
|
|
72
|
+
"@open-mercato/cezar-contract": "0.18.0-pr4267.8238",
|
|
73
73
|
"@types/node": "^24.19.1",
|
|
74
74
|
"@types/ws": "^8.18.1",
|
|
75
75
|
"esbuild": "^0.28.1",
|
|
@@ -86,5 +86,5 @@
|
|
|
86
86
|
"publishConfig": {
|
|
87
87
|
"access": "public"
|
|
88
88
|
},
|
|
89
|
-
"gitHead": "
|
|
89
|
+
"gitHead": "1c00e17a12b43af77b73f9731dbba7a2c611b368"
|
|
90
90
|
}
|