@hearsay-tools/squawk 0.19.0-pr4604.9147 → 0.19.0-pr4606.9153
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 +78 -78
- package/dist/features/automations/automations-routes.d.ts +150 -150
- package/dist/features/github/github-comments.js +6 -19
- package/dist/features/github/github-comments.js.map +1 -1
- package/dist/features/hosts/index.d.ts +1 -1
- package/dist/features/hosts/index.js +1 -1
- package/dist/features/hosts/index.js.map +1 -1
- package/dist/features/hosts/routes.d.ts +2 -2
- package/dist/features/hosts/routes.js +4 -4
- package/dist/features/hosts/routes.js.map +1 -1
- package/dist/server/project-settings-routes.d.ts +107 -107
- package/dist/server/provider-sign-in-routes.d.ts +2 -2
- package/dist/server/repo-routes.d.ts +52 -52
- package/dist/server/runner-install-routes.d.ts +10 -10
- package/dist/server/server.d.ts +1170 -1170
- package/dist/server/workspace-identity-routes.d.ts +5 -5
- 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;
|
|
@@ -66,6 +54,18 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
66
54
|
offset?: string | undefined;
|
|
67
55
|
};
|
|
68
56
|
};
|
|
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,18 +652,6 @@ 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
|
-
} | {
|
|
667
655
|
output: {
|
|
668
656
|
workerId: string;
|
|
669
657
|
settled: boolean;
|
|
@@ -788,11 +776,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
788
776
|
workerId: string;
|
|
789
777
|
};
|
|
790
778
|
};
|
|
791
|
-
}
|
|
792
|
-
};
|
|
793
|
-
} & {
|
|
794
|
-
"/:workerId/collect": {
|
|
795
|
-
$post: {
|
|
779
|
+
} | {
|
|
796
780
|
output: {
|
|
797
781
|
error: string;
|
|
798
782
|
code?: "invalid_input" | undefined;
|
|
@@ -803,10 +787,12 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
803
787
|
param: {
|
|
804
788
|
workerId: string;
|
|
805
789
|
};
|
|
806
|
-
} & {
|
|
807
|
-
json: Record<string, never>;
|
|
808
790
|
};
|
|
809
|
-
}
|
|
791
|
+
};
|
|
792
|
+
};
|
|
793
|
+
} & {
|
|
794
|
+
"/:workerId/collect": {
|
|
795
|
+
$post: {
|
|
810
796
|
output: {
|
|
811
797
|
workerId: string;
|
|
812
798
|
parentRunId: string;
|
|
@@ -931,11 +917,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
931
917
|
} & {
|
|
932
918
|
json: Record<string, never>;
|
|
933
919
|
};
|
|
934
|
-
}
|
|
935
|
-
};
|
|
936
|
-
} & {
|
|
937
|
-
"/:workerId/steer": {
|
|
938
|
-
$post: {
|
|
920
|
+
} | {
|
|
939
921
|
output: {
|
|
940
922
|
error: string;
|
|
941
923
|
code?: "invalid_input" | undefined;
|
|
@@ -947,11 +929,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
947
929
|
workerId: string;
|
|
948
930
|
};
|
|
949
931
|
} & {
|
|
950
|
-
json:
|
|
951
|
-
text: string;
|
|
952
|
-
};
|
|
932
|
+
json: Record<string, never>;
|
|
953
933
|
};
|
|
954
|
-
}
|
|
934
|
+
};
|
|
935
|
+
};
|
|
936
|
+
} & {
|
|
937
|
+
"/:workerId/steer": {
|
|
938
|
+
$post: {
|
|
955
939
|
output: {
|
|
956
940
|
workerId: string;
|
|
957
941
|
state: "delivered" | "queued";
|
|
@@ -967,11 +951,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
967
951
|
text: string;
|
|
968
952
|
};
|
|
969
953
|
};
|
|
970
|
-
}
|
|
971
|
-
};
|
|
972
|
-
} & {
|
|
973
|
-
"/:workerId/stop": {
|
|
974
|
-
$post: {
|
|
954
|
+
} | {
|
|
975
955
|
output: {
|
|
976
956
|
error: string;
|
|
977
957
|
code?: "invalid_input" | undefined;
|
|
@@ -983,9 +963,15 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
983
963
|
workerId: string;
|
|
984
964
|
};
|
|
985
965
|
} & {
|
|
986
|
-
json:
|
|
966
|
+
json: {
|
|
967
|
+
text: string;
|
|
968
|
+
};
|
|
987
969
|
};
|
|
988
|
-
}
|
|
970
|
+
};
|
|
971
|
+
};
|
|
972
|
+
} & {
|
|
973
|
+
"/:workerId/stop": {
|
|
974
|
+
$post: {
|
|
989
975
|
output: {
|
|
990
976
|
workerId: string;
|
|
991
977
|
state: "stopping" | "terminated";
|
|
@@ -999,11 +985,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
999
985
|
} & {
|
|
1000
986
|
json: Record<string, never>;
|
|
1001
987
|
};
|
|
1002
|
-
}
|
|
1003
|
-
};
|
|
1004
|
-
} & {
|
|
1005
|
-
"/:workerId/destroy": {
|
|
1006
|
-
$post: {
|
|
988
|
+
} | {
|
|
1007
989
|
output: {
|
|
1008
990
|
error: string;
|
|
1009
991
|
code?: "invalid_input" | undefined;
|
|
@@ -1015,11 +997,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1015
997
|
workerId: string;
|
|
1016
998
|
};
|
|
1017
999
|
} & {
|
|
1018
|
-
json:
|
|
1019
|
-
discardWork?: true | undefined;
|
|
1020
|
-
};
|
|
1000
|
+
json: Record<string, never>;
|
|
1021
1001
|
};
|
|
1022
|
-
}
|
|
1002
|
+
};
|
|
1003
|
+
};
|
|
1004
|
+
} & {
|
|
1005
|
+
"/:workerId/destroy": {
|
|
1006
|
+
$post: {
|
|
1023
1007
|
output: {
|
|
1024
1008
|
workerId: string;
|
|
1025
1009
|
state: "complete" | "incomplete";
|
|
@@ -1048,6 +1032,22 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1048
1032
|
discardWork?: true | undefined;
|
|
1049
1033
|
};
|
|
1050
1034
|
};
|
|
1035
|
+
} | {
|
|
1036
|
+
output: {
|
|
1037
|
+
error: string;
|
|
1038
|
+
code?: "invalid_input" | undefined;
|
|
1039
|
+
};
|
|
1040
|
+
outputFormat: "json";
|
|
1041
|
+
status: 400;
|
|
1042
|
+
input: {
|
|
1043
|
+
param: {
|
|
1044
|
+
workerId: string;
|
|
1045
|
+
};
|
|
1046
|
+
} & {
|
|
1047
|
+
json: {
|
|
1048
|
+
discardWork?: true | undefined;
|
|
1049
|
+
};
|
|
1050
|
+
};
|
|
1051
1051
|
} | {
|
|
1052
1052
|
output: {
|
|
1053
1053
|
workerId: string;
|
|
@@ -1083,11 +1083,18 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1083
1083
|
"/:workerId/summary": {
|
|
1084
1084
|
$post: {
|
|
1085
1085
|
output: {
|
|
1086
|
-
|
|
1087
|
-
|
|
1086
|
+
workerId: string;
|
|
1087
|
+
revision: number;
|
|
1088
|
+
source: "assistant" | "failure";
|
|
1089
|
+
seq: number;
|
|
1090
|
+
totalLines: number;
|
|
1091
|
+
offset: number;
|
|
1092
|
+
lineCount: number;
|
|
1093
|
+
text: string;
|
|
1094
|
+
nextOffset?: number | undefined;
|
|
1088
1095
|
};
|
|
1089
1096
|
outputFormat: "json";
|
|
1090
|
-
status:
|
|
1097
|
+
status: 200;
|
|
1091
1098
|
input: {
|
|
1092
1099
|
param: {
|
|
1093
1100
|
workerId: string;
|
|
@@ -1100,18 +1107,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1100
1107
|
};
|
|
1101
1108
|
} | {
|
|
1102
1109
|
output: {
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
source: "assistant" | "failure";
|
|
1106
|
-
seq: number;
|
|
1107
|
-
totalLines: number;
|
|
1108
|
-
offset: number;
|
|
1109
|
-
lineCount: number;
|
|
1110
|
-
text: string;
|
|
1111
|
-
nextOffset?: number | undefined;
|
|
1110
|
+
error: string;
|
|
1111
|
+
code?: "invalid_input" | undefined;
|
|
1112
1112
|
};
|
|
1113
1113
|
outputFormat: "json";
|
|
1114
|
-
status:
|
|
1114
|
+
status: 400;
|
|
1115
1115
|
input: {
|
|
1116
1116
|
param: {
|
|
1117
1117
|
workerId: string;
|
|
@@ -1128,11 +1128,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1128
1128
|
"/:workerId/diff": {
|
|
1129
1129
|
$get: {
|
|
1130
1130
|
output: {
|
|
1131
|
-
|
|
1132
|
-
|
|
1131
|
+
workerId: string;
|
|
1132
|
+
baselineSha: string;
|
|
1133
|
+
diff: string;
|
|
1134
|
+
truncated: boolean;
|
|
1133
1135
|
};
|
|
1134
1136
|
outputFormat: "json";
|
|
1135
|
-
status:
|
|
1137
|
+
status: 200;
|
|
1136
1138
|
input: {
|
|
1137
1139
|
param: {
|
|
1138
1140
|
workerId: string;
|
|
@@ -1140,13 +1142,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1140
1142
|
};
|
|
1141
1143
|
} | {
|
|
1142
1144
|
output: {
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
diff: string;
|
|
1146
|
-
truncated: boolean;
|
|
1145
|
+
error: string;
|
|
1146
|
+
code?: "invalid_input" | undefined;
|
|
1147
1147
|
};
|
|
1148
1148
|
outputFormat: "json";
|
|
1149
|
-
status:
|
|
1149
|
+
status: 400;
|
|
1150
1150
|
input: {
|
|
1151
1151
|
param: {
|
|
1152
1152
|
workerId: string;
|