@hearsay-tools/squawk 0.19.0-dev.9110 → 0.19.0-dev.9113
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.
|
@@ -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;
|
|
@@ -220,20 +220,18 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
220
220
|
"/automations": {
|
|
221
221
|
$post: {
|
|
222
222
|
output: {
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
input: {
|
|
228
|
-
json: {
|
|
223
|
+
automation: {
|
|
224
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
225
|
+
id: string;
|
|
226
|
+
revision: number;
|
|
229
227
|
name: string;
|
|
230
228
|
description?: string | undefined;
|
|
231
|
-
enabled
|
|
232
|
-
kind
|
|
229
|
+
enabled: boolean;
|
|
230
|
+
kind: "github" | "schedule";
|
|
233
231
|
events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
|
|
234
232
|
intervalSeconds?: number | undefined;
|
|
235
233
|
filters?: {
|
|
236
|
-
[x: string]:
|
|
234
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
237
235
|
includeExisting?: boolean | undefined;
|
|
238
236
|
requireCurrentLabels?: boolean | undefined;
|
|
239
237
|
authors?: string[] | undefined;
|
|
@@ -242,10 +240,11 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
242
240
|
anyLabels?: string[] | undefined;
|
|
243
241
|
excludeLabels?: string[] | undefined;
|
|
244
242
|
changedLabels?: string[] | undefined;
|
|
245
|
-
lookbackDays
|
|
246
|
-
maxRecords
|
|
243
|
+
lookbackDays: number;
|
|
244
|
+
maxRecords: number;
|
|
247
245
|
} | undefined;
|
|
248
246
|
schedule?: {
|
|
247
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
249
248
|
type: "daily" | "hours" | "once" | "weekdays" | "weekly";
|
|
250
249
|
hour?: number | undefined;
|
|
251
250
|
minute?: number | undefined;
|
|
@@ -256,6 +255,7 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
256
255
|
latestStartMinutes?: number | undefined;
|
|
257
256
|
} | undefined;
|
|
258
257
|
task: {
|
|
258
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
259
259
|
archiveWhenDone?: boolean | undefined;
|
|
260
260
|
autoMergePr?: boolean | undefined;
|
|
261
261
|
allowWorkers?: boolean | undefined;
|
|
@@ -276,37 +276,53 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
276
276
|
bashAllowlist?: string[] | undefined;
|
|
277
277
|
kind?: "plugin" | undefined;
|
|
278
278
|
pluginKind?: string | undefined;
|
|
279
|
-
config?:
|
|
279
|
+
config?: {
|
|
280
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
281
|
+
} | undefined;
|
|
280
282
|
command?: string | undefined;
|
|
281
283
|
onFail?: {
|
|
282
284
|
retry: string;
|
|
283
|
-
max
|
|
285
|
+
max: number;
|
|
284
286
|
} | undefined;
|
|
285
287
|
}[] | undefined;
|
|
286
288
|
runner?: string | undefined;
|
|
287
289
|
model?: string | undefined;
|
|
288
290
|
effort?: string | undefined;
|
|
291
|
+
variants?: 1 | 2 | 3 | undefined;
|
|
289
292
|
worktree?: boolean | undefined;
|
|
290
293
|
autonomous?: boolean | undefined;
|
|
291
294
|
systemPrompt?: string | undefined;
|
|
292
295
|
};
|
|
293
|
-
|
|
296
|
+
archived?: {
|
|
297
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
298
|
+
at: string;
|
|
299
|
+
outcome: "cancelled" | "launched";
|
|
300
|
+
runId?: string | undefined;
|
|
301
|
+
receiptId?: string | undefined;
|
|
302
|
+
trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
|
|
303
|
+
} | undefined;
|
|
304
|
+
createdAt: string;
|
|
305
|
+
updatedAt: string;
|
|
294
306
|
};
|
|
307
|
+
once?: {
|
|
308
|
+
dueAt: string;
|
|
309
|
+
timeZone: string;
|
|
310
|
+
resolvedInstant: string;
|
|
311
|
+
note: string;
|
|
312
|
+
} | undefined;
|
|
295
313
|
};
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
id: string;
|
|
301
|
-
revision: number;
|
|
314
|
+
outputFormat: "json";
|
|
315
|
+
status: 201;
|
|
316
|
+
input: {
|
|
317
|
+
json: {
|
|
302
318
|
name: string;
|
|
303
319
|
description?: string | undefined;
|
|
304
|
-
enabled
|
|
305
|
-
kind
|
|
320
|
+
enabled?: boolean | undefined;
|
|
321
|
+
kind?: "github" | "schedule" | undefined;
|
|
306
322
|
events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
|
|
307
323
|
intervalSeconds?: number | undefined;
|
|
308
324
|
filters?: {
|
|
309
|
-
[x: string]:
|
|
325
|
+
[x: string]: unknown;
|
|
310
326
|
includeExisting?: boolean | undefined;
|
|
311
327
|
requireCurrentLabels?: boolean | undefined;
|
|
312
328
|
authors?: string[] | undefined;
|
|
@@ -315,11 +331,10 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
315
331
|
anyLabels?: string[] | undefined;
|
|
316
332
|
excludeLabels?: string[] | undefined;
|
|
317
333
|
changedLabels?: string[] | undefined;
|
|
318
|
-
lookbackDays
|
|
319
|
-
maxRecords
|
|
334
|
+
lookbackDays?: number | undefined;
|
|
335
|
+
maxRecords?: number | undefined;
|
|
320
336
|
} | undefined;
|
|
321
337
|
schedule?: {
|
|
322
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
323
338
|
type: "daily" | "hours" | "once" | "weekdays" | "weekly";
|
|
324
339
|
hour?: number | undefined;
|
|
325
340
|
minute?: number | undefined;
|
|
@@ -330,7 +345,6 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
330
345
|
latestStartMinutes?: number | undefined;
|
|
331
346
|
} | undefined;
|
|
332
347
|
task: {
|
|
333
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
334
348
|
archiveWhenDone?: boolean | undefined;
|
|
335
349
|
autoMergePr?: boolean | undefined;
|
|
336
350
|
allowWorkers?: boolean | undefined;
|
|
@@ -351,43 +365,29 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
351
365
|
bashAllowlist?: string[] | undefined;
|
|
352
366
|
kind?: "plugin" | undefined;
|
|
353
367
|
pluginKind?: string | undefined;
|
|
354
|
-
config?:
|
|
355
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
356
|
-
} | undefined;
|
|
368
|
+
config?: Record<string, unknown> | undefined;
|
|
357
369
|
command?: string | undefined;
|
|
358
370
|
onFail?: {
|
|
359
371
|
retry: string;
|
|
360
|
-
max
|
|
372
|
+
max?: number | undefined;
|
|
361
373
|
} | undefined;
|
|
362
374
|
}[] | undefined;
|
|
363
375
|
runner?: string | undefined;
|
|
364
376
|
model?: string | undefined;
|
|
365
377
|
effort?: string | undefined;
|
|
366
|
-
variants?: 1 | 2 | 3 | undefined;
|
|
367
378
|
worktree?: boolean | undefined;
|
|
368
379
|
autonomous?: boolean | undefined;
|
|
369
380
|
systemPrompt?: string | undefined;
|
|
370
381
|
};
|
|
371
|
-
|
|
372
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
373
|
-
at: string;
|
|
374
|
-
outcome: "cancelled" | "launched";
|
|
375
|
-
runId?: string | undefined;
|
|
376
|
-
receiptId?: string | undefined;
|
|
377
|
-
trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
|
|
378
|
-
} | undefined;
|
|
379
|
-
createdAt: string;
|
|
380
|
-
updatedAt: string;
|
|
382
|
+
enable?: boolean | undefined;
|
|
381
383
|
};
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
note: string;
|
|
387
|
-
} | undefined;
|
|
384
|
+
};
|
|
385
|
+
} | {
|
|
386
|
+
output: {
|
|
387
|
+
error: string;
|
|
388
388
|
};
|
|
389
389
|
outputFormat: "json";
|
|
390
|
-
status:
|
|
390
|
+
status: 400 | 404 | 409;
|
|
391
391
|
input: {
|
|
392
392
|
json: {
|
|
393
393
|
name: string;
|
|
@@ -462,17 +462,6 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
462
462
|
} & {
|
|
463
463
|
"/automations/:id": {
|
|
464
464
|
$get: {
|
|
465
|
-
output: {
|
|
466
|
-
error: string;
|
|
467
|
-
};
|
|
468
|
-
outputFormat: "json";
|
|
469
|
-
status: 400 | 404 | 409;
|
|
470
|
-
input: {
|
|
471
|
-
param: {
|
|
472
|
-
id: string;
|
|
473
|
-
};
|
|
474
|
-
};
|
|
475
|
-
} | {
|
|
476
465
|
output: {
|
|
477
466
|
automation: {
|
|
478
467
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -635,26 +624,35 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
635
624
|
id: string;
|
|
636
625
|
};
|
|
637
626
|
};
|
|
638
|
-
}
|
|
639
|
-
};
|
|
640
|
-
} & {
|
|
641
|
-
"/automations/:id": {
|
|
642
|
-
$put: {
|
|
627
|
+
} | {
|
|
643
628
|
output: {
|
|
644
629
|
error: string;
|
|
645
630
|
};
|
|
646
631
|
outputFormat: "json";
|
|
647
632
|
status: 400 | 404 | 409;
|
|
648
633
|
input: {
|
|
649
|
-
|
|
634
|
+
param: {
|
|
635
|
+
id: string;
|
|
636
|
+
};
|
|
637
|
+
};
|
|
638
|
+
};
|
|
639
|
+
};
|
|
640
|
+
} & {
|
|
641
|
+
"/automations/:id": {
|
|
642
|
+
$put: {
|
|
643
|
+
output: {
|
|
644
|
+
automation: {
|
|
645
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
646
|
+
id: string;
|
|
647
|
+
revision: number;
|
|
650
648
|
name: string;
|
|
651
649
|
description?: string | undefined;
|
|
652
|
-
enabled
|
|
653
|
-
kind
|
|
650
|
+
enabled: boolean;
|
|
651
|
+
kind: "github" | "schedule";
|
|
654
652
|
events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
|
|
655
653
|
intervalSeconds?: number | undefined;
|
|
656
654
|
filters?: {
|
|
657
|
-
[x: string]:
|
|
655
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
658
656
|
includeExisting?: boolean | undefined;
|
|
659
657
|
requireCurrentLabels?: boolean | undefined;
|
|
660
658
|
authors?: string[] | undefined;
|
|
@@ -663,10 +661,11 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
663
661
|
anyLabels?: string[] | undefined;
|
|
664
662
|
excludeLabels?: string[] | undefined;
|
|
665
663
|
changedLabels?: string[] | undefined;
|
|
666
|
-
lookbackDays
|
|
667
|
-
maxRecords
|
|
664
|
+
lookbackDays: number;
|
|
665
|
+
maxRecords: number;
|
|
668
666
|
} | undefined;
|
|
669
667
|
schedule?: {
|
|
668
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
670
669
|
type: "daily" | "hours" | "once" | "weekdays" | "weekly";
|
|
671
670
|
hour?: number | undefined;
|
|
672
671
|
minute?: number | undefined;
|
|
@@ -677,6 +676,7 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
677
676
|
latestStartMinutes?: number | undefined;
|
|
678
677
|
} | undefined;
|
|
679
678
|
task: {
|
|
679
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
680
680
|
archiveWhenDone?: boolean | undefined;
|
|
681
681
|
autoMergePr?: boolean | undefined;
|
|
682
682
|
allowWorkers?: boolean | undefined;
|
|
@@ -697,41 +697,47 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
697
697
|
bashAllowlist?: string[] | undefined;
|
|
698
698
|
kind?: "plugin" | undefined;
|
|
699
699
|
pluginKind?: string | undefined;
|
|
700
|
-
config?:
|
|
700
|
+
config?: {
|
|
701
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
702
|
+
} | undefined;
|
|
701
703
|
command?: string | undefined;
|
|
702
704
|
onFail?: {
|
|
703
705
|
retry: string;
|
|
704
|
-
max
|
|
706
|
+
max: number;
|
|
705
707
|
} | undefined;
|
|
706
708
|
}[] | undefined;
|
|
707
709
|
runner?: string | undefined;
|
|
708
710
|
model?: string | undefined;
|
|
709
711
|
effort?: string | undefined;
|
|
712
|
+
variants?: 1 | 2 | 3 | undefined;
|
|
710
713
|
worktree?: boolean | undefined;
|
|
711
714
|
autonomous?: boolean | undefined;
|
|
712
715
|
systemPrompt?: string | undefined;
|
|
713
716
|
};
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
717
|
+
archived?: {
|
|
718
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
719
|
+
at: string;
|
|
720
|
+
outcome: "cancelled" | "launched";
|
|
721
|
+
runId?: string | undefined;
|
|
722
|
+
receiptId?: string | undefined;
|
|
723
|
+
trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
|
|
724
|
+
} | undefined;
|
|
725
|
+
createdAt: string;
|
|
726
|
+
updatedAt: string;
|
|
719
727
|
};
|
|
720
728
|
};
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
id: string;
|
|
726
|
-
revision: number;
|
|
729
|
+
outputFormat: "json";
|
|
730
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
731
|
+
input: {
|
|
732
|
+
json: {
|
|
727
733
|
name: string;
|
|
728
734
|
description?: string | undefined;
|
|
729
|
-
enabled
|
|
730
|
-
kind
|
|
735
|
+
enabled?: boolean | undefined;
|
|
736
|
+
kind?: "github" | "schedule" | undefined;
|
|
731
737
|
events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
|
|
732
738
|
intervalSeconds?: number | undefined;
|
|
733
739
|
filters?: {
|
|
734
|
-
[x: string]:
|
|
740
|
+
[x: string]: unknown;
|
|
735
741
|
includeExisting?: boolean | undefined;
|
|
736
742
|
requireCurrentLabels?: boolean | undefined;
|
|
737
743
|
authors?: string[] | undefined;
|
|
@@ -740,11 +746,10 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
740
746
|
anyLabels?: string[] | undefined;
|
|
741
747
|
excludeLabels?: string[] | undefined;
|
|
742
748
|
changedLabels?: string[] | undefined;
|
|
743
|
-
lookbackDays
|
|
744
|
-
maxRecords
|
|
749
|
+
lookbackDays?: number | undefined;
|
|
750
|
+
maxRecords?: number | undefined;
|
|
745
751
|
} | undefined;
|
|
746
752
|
schedule?: {
|
|
747
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
748
753
|
type: "daily" | "hours" | "once" | "weekdays" | "weekly";
|
|
749
754
|
hour?: number | undefined;
|
|
750
755
|
minute?: number | undefined;
|
|
@@ -755,7 +760,6 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
755
760
|
latestStartMinutes?: number | undefined;
|
|
756
761
|
} | undefined;
|
|
757
762
|
task: {
|
|
758
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
759
763
|
archiveWhenDone?: boolean | undefined;
|
|
760
764
|
autoMergePr?: boolean | undefined;
|
|
761
765
|
allowWorkers?: boolean | undefined;
|
|
@@ -776,37 +780,33 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
776
780
|
bashAllowlist?: string[] | undefined;
|
|
777
781
|
kind?: "plugin" | undefined;
|
|
778
782
|
pluginKind?: string | undefined;
|
|
779
|
-
config?:
|
|
780
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
781
|
-
} | undefined;
|
|
783
|
+
config?: Record<string, unknown> | undefined;
|
|
782
784
|
command?: string | undefined;
|
|
783
785
|
onFail?: {
|
|
784
786
|
retry: string;
|
|
785
|
-
max
|
|
787
|
+
max?: number | undefined;
|
|
786
788
|
} | undefined;
|
|
787
789
|
}[] | undefined;
|
|
788
790
|
runner?: string | undefined;
|
|
789
791
|
model?: string | undefined;
|
|
790
792
|
effort?: string | undefined;
|
|
791
|
-
variants?: 1 | 2 | 3 | undefined;
|
|
792
793
|
worktree?: boolean | undefined;
|
|
793
794
|
autonomous?: boolean | undefined;
|
|
794
795
|
systemPrompt?: string | undefined;
|
|
795
796
|
};
|
|
796
|
-
|
|
797
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
798
|
-
at: string;
|
|
799
|
-
outcome: "cancelled" | "launched";
|
|
800
|
-
runId?: string | undefined;
|
|
801
|
-
receiptId?: string | undefined;
|
|
802
|
-
trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
|
|
803
|
-
} | undefined;
|
|
804
|
-
createdAt: string;
|
|
805
|
-
updatedAt: string;
|
|
797
|
+
expectedRevision: number;
|
|
806
798
|
};
|
|
799
|
+
} & {
|
|
800
|
+
param: {
|
|
801
|
+
id: string;
|
|
802
|
+
};
|
|
803
|
+
};
|
|
804
|
+
} | {
|
|
805
|
+
output: {
|
|
806
|
+
error: string;
|
|
807
807
|
};
|
|
808
808
|
outputFormat: "json";
|
|
809
|
-
status:
|
|
809
|
+
status: 400 | 404 | 409;
|
|
810
810
|
input: {
|
|
811
811
|
json: {
|
|
812
812
|
name: string;
|
|
@@ -909,17 +909,6 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
909
909
|
} & {
|
|
910
910
|
"/automations/:id/enable": {
|
|
911
911
|
$post: {
|
|
912
|
-
output: {
|
|
913
|
-
error: string;
|
|
914
|
-
};
|
|
915
|
-
outputFormat: "json";
|
|
916
|
-
status: 400 | 404 | 409;
|
|
917
|
-
input: {
|
|
918
|
-
param: {
|
|
919
|
-
id: string;
|
|
920
|
-
};
|
|
921
|
-
};
|
|
922
|
-
} | {
|
|
923
912
|
output: {
|
|
924
913
|
automation: {
|
|
925
914
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -1013,11 +1002,7 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
1013
1002
|
id: string;
|
|
1014
1003
|
};
|
|
1015
1004
|
};
|
|
1016
|
-
}
|
|
1017
|
-
};
|
|
1018
|
-
} & {
|
|
1019
|
-
"/automations/:id/pause": {
|
|
1020
|
-
$post: {
|
|
1005
|
+
} | {
|
|
1021
1006
|
output: {
|
|
1022
1007
|
error: string;
|
|
1023
1008
|
};
|
|
@@ -1028,7 +1013,11 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
1028
1013
|
id: string;
|
|
1029
1014
|
};
|
|
1030
1015
|
};
|
|
1031
|
-
}
|
|
1016
|
+
};
|
|
1017
|
+
};
|
|
1018
|
+
} & {
|
|
1019
|
+
"/automations/:id/pause": {
|
|
1020
|
+
$post: {
|
|
1032
1021
|
output: {
|
|
1033
1022
|
automation: {
|
|
1034
1023
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -1122,11 +1111,7 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
1122
1111
|
id: string;
|
|
1123
1112
|
};
|
|
1124
1113
|
};
|
|
1125
|
-
}
|
|
1126
|
-
};
|
|
1127
|
-
} & {
|
|
1128
|
-
"/automations/:id/cancel": {
|
|
1129
|
-
$post: {
|
|
1114
|
+
} | {
|
|
1130
1115
|
output: {
|
|
1131
1116
|
error: string;
|
|
1132
1117
|
};
|
|
@@ -1137,7 +1122,11 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
1137
1122
|
id: string;
|
|
1138
1123
|
};
|
|
1139
1124
|
};
|
|
1140
|
-
}
|
|
1125
|
+
};
|
|
1126
|
+
};
|
|
1127
|
+
} & {
|
|
1128
|
+
"/automations/:id/cancel": {
|
|
1129
|
+
$post: {
|
|
1141
1130
|
output: {
|
|
1142
1131
|
automation: {
|
|
1143
1132
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -1231,16 +1220,27 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
1231
1220
|
id: string;
|
|
1232
1221
|
};
|
|
1233
1222
|
};
|
|
1223
|
+
} | {
|
|
1224
|
+
output: {
|
|
1225
|
+
error: string;
|
|
1226
|
+
};
|
|
1227
|
+
outputFormat: "json";
|
|
1228
|
+
status: 400 | 404 | 409;
|
|
1229
|
+
input: {
|
|
1230
|
+
param: {
|
|
1231
|
+
id: string;
|
|
1232
|
+
};
|
|
1233
|
+
};
|
|
1234
1234
|
};
|
|
1235
1235
|
};
|
|
1236
1236
|
} & {
|
|
1237
1237
|
"/automations/:id/run": {
|
|
1238
1238
|
$post: {
|
|
1239
1239
|
output: {
|
|
1240
|
-
|
|
1240
|
+
runId: string;
|
|
1241
1241
|
};
|
|
1242
1242
|
outputFormat: "json";
|
|
1243
|
-
status:
|
|
1243
|
+
status: 202;
|
|
1244
1244
|
input: {
|
|
1245
1245
|
param: {
|
|
1246
1246
|
id: string;
|
|
@@ -1248,10 +1248,10 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
1248
1248
|
};
|
|
1249
1249
|
} | {
|
|
1250
1250
|
output: {
|
|
1251
|
-
|
|
1251
|
+
error: string;
|
|
1252
1252
|
};
|
|
1253
1253
|
outputFormat: "json";
|
|
1254
|
-
status:
|
|
1254
|
+
status: 400 | 404 | 409;
|
|
1255
1255
|
input: {
|
|
1256
1256
|
param: {
|
|
1257
1257
|
id: string;
|
|
@@ -1263,10 +1263,10 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
1263
1263
|
"/automations/:id/check": {
|
|
1264
1264
|
$post: {
|
|
1265
1265
|
output: {
|
|
1266
|
-
|
|
1266
|
+
checkId: string;
|
|
1267
1267
|
};
|
|
1268
1268
|
outputFormat: "json";
|
|
1269
|
-
status:
|
|
1269
|
+
status: 202;
|
|
1270
1270
|
input: {
|
|
1271
1271
|
json: {
|
|
1272
1272
|
mode: "execute" | "preview";
|
|
@@ -1281,7 +1281,7 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
1281
1281
|
error: string;
|
|
1282
1282
|
};
|
|
1283
1283
|
outputFormat: "json";
|
|
1284
|
-
status:
|
|
1284
|
+
status: 404;
|
|
1285
1285
|
input: {
|
|
1286
1286
|
json: {
|
|
1287
1287
|
mode: "execute" | "preview";
|
|
@@ -1293,10 +1293,10 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
1293
1293
|
};
|
|
1294
1294
|
} | {
|
|
1295
1295
|
output: {
|
|
1296
|
-
|
|
1296
|
+
error: string;
|
|
1297
1297
|
};
|
|
1298
1298
|
outputFormat: "json";
|
|
1299
|
-
status:
|
|
1299
|
+
status: 409;
|
|
1300
1300
|
input: {
|
|
1301
1301
|
json: {
|
|
1302
1302
|
mode: "execute" | "preview";
|
|
@@ -1408,6 +1408,17 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
1408
1408
|
automationChecksRoutes: import("hono/hono-base").HonoBase<{}, {
|
|
1409
1409
|
"/automation-checks/:checkId": {
|
|
1410
1410
|
$get: {
|
|
1411
|
+
output: {
|
|
1412
|
+
error: string;
|
|
1413
|
+
};
|
|
1414
|
+
outputFormat: "json";
|
|
1415
|
+
status: 404;
|
|
1416
|
+
input: {
|
|
1417
|
+
param: {
|
|
1418
|
+
checkId: string;
|
|
1419
|
+
};
|
|
1420
|
+
};
|
|
1421
|
+
} | {
|
|
1411
1422
|
output: {
|
|
1412
1423
|
id: string;
|
|
1413
1424
|
automationId: string;
|
|
@@ -1426,17 +1437,6 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
1426
1437
|
checkId: string;
|
|
1427
1438
|
};
|
|
1428
1439
|
};
|
|
1429
|
-
} | {
|
|
1430
|
-
output: {
|
|
1431
|
-
error: string;
|
|
1432
|
-
};
|
|
1433
|
-
outputFormat: "json";
|
|
1434
|
-
status: 404;
|
|
1435
|
-
input: {
|
|
1436
|
-
param: {
|
|
1437
|
-
checkId: string;
|
|
1438
|
-
};
|
|
1439
|
-
};
|
|
1440
1440
|
};
|
|
1441
1441
|
};
|
|
1442
1442
|
}, "/", "/automation-checks/:checkId">;
|
|
@@ -31,7 +31,7 @@ export declare function createOpenTargetsRoutes(deps: OpenTargetsRouteDeps): imp
|
|
|
31
31
|
error: string;
|
|
32
32
|
};
|
|
33
33
|
outputFormat: "json";
|
|
34
|
-
status:
|
|
34
|
+
status: 400;
|
|
35
35
|
input: {
|
|
36
36
|
json: {
|
|
37
37
|
target: string;
|
|
@@ -42,7 +42,7 @@ export declare function createOpenTargetsRoutes(deps: OpenTargetsRouteDeps): imp
|
|
|
42
42
|
error: string;
|
|
43
43
|
};
|
|
44
44
|
outputFormat: "json";
|
|
45
|
-
status:
|
|
45
|
+
status: 409;
|
|
46
46
|
input: {
|
|
47
47
|
json: {
|
|
48
48
|
target: string;
|
|
@@ -138,10 +138,11 @@ export declare function createWorktreesRoutes(deps: WorktreesRouteDeps): import(
|
|
|
138
138
|
};
|
|
139
139
|
} | {
|
|
140
140
|
output: {
|
|
141
|
-
|
|
141
|
+
runId: string;
|
|
142
|
+
worktreeReclaimedAt: string;
|
|
142
143
|
};
|
|
143
144
|
outputFormat: "json";
|
|
144
|
-
status:
|
|
145
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
145
146
|
input: {
|
|
146
147
|
param: {
|
|
147
148
|
runId: string;
|
|
@@ -153,11 +154,10 @@ export declare function createWorktreesRoutes(deps: WorktreesRouteDeps): import(
|
|
|
153
154
|
};
|
|
154
155
|
} | {
|
|
155
156
|
output: {
|
|
156
|
-
|
|
157
|
-
worktreeReclaimedAt: string;
|
|
157
|
+
error: string;
|
|
158
158
|
};
|
|
159
159
|
outputFormat: "json";
|
|
160
|
-
status:
|
|
160
|
+
status: 404 | 409;
|
|
161
161
|
input: {
|
|
162
162
|
param: {
|
|
163
163
|
runId: string;
|
|
@@ -296,14 +296,18 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
296
296
|
"/repo/branches/delete": {
|
|
297
297
|
$post: {
|
|
298
298
|
output: {
|
|
299
|
-
|
|
299
|
+
deleted: string[];
|
|
300
300
|
refused: {
|
|
301
301
|
name: string;
|
|
302
302
|
reason: string;
|
|
303
303
|
}[];
|
|
304
|
+
dropped?: {
|
|
305
|
+
sha: string;
|
|
306
|
+
subject: string;
|
|
307
|
+
}[] | undefined;
|
|
304
308
|
};
|
|
305
309
|
outputFormat: "json";
|
|
306
|
-
status:
|
|
310
|
+
status: 200;
|
|
307
311
|
input: {
|
|
308
312
|
json: {
|
|
309
313
|
names: string[];
|
|
@@ -312,18 +316,14 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
312
316
|
};
|
|
313
317
|
} | {
|
|
314
318
|
output: {
|
|
315
|
-
|
|
319
|
+
error: string;
|
|
316
320
|
refused: {
|
|
317
321
|
name: string;
|
|
318
322
|
reason: string;
|
|
319
323
|
}[];
|
|
320
|
-
dropped?: {
|
|
321
|
-
sha: string;
|
|
322
|
-
subject: string;
|
|
323
|
-
}[] | undefined;
|
|
324
324
|
};
|
|
325
325
|
outputFormat: "json";
|
|
326
|
-
status:
|
|
326
|
+
status: 409;
|
|
327
327
|
input: {
|
|
328
328
|
json: {
|
|
329
329
|
names: string[];
|
|
@@ -344,19 +344,6 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
344
344
|
} & {
|
|
345
345
|
"/repo/commit/:sha": {
|
|
346
346
|
$get: {
|
|
347
|
-
output: string;
|
|
348
|
-
outputFormat: "text";
|
|
349
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
350
|
-
input: {
|
|
351
|
-
query: {
|
|
352
|
-
structured?: string | undefined;
|
|
353
|
-
};
|
|
354
|
-
} & {
|
|
355
|
-
param: {
|
|
356
|
-
sha: string;
|
|
357
|
-
};
|
|
358
|
-
};
|
|
359
|
-
} | {
|
|
360
347
|
output: {
|
|
361
348
|
error: string;
|
|
362
349
|
code?: "invalid_input" | undefined;
|
|
@@ -420,6 +407,19 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
420
407
|
sha: string;
|
|
421
408
|
};
|
|
422
409
|
};
|
|
410
|
+
} | {
|
|
411
|
+
output: string;
|
|
412
|
+
outputFormat: "text";
|
|
413
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
414
|
+
input: {
|
|
415
|
+
query: {
|
|
416
|
+
structured?: string | undefined;
|
|
417
|
+
};
|
|
418
|
+
} & {
|
|
419
|
+
param: {
|
|
420
|
+
sha: string;
|
|
421
|
+
};
|
|
422
|
+
};
|
|
423
423
|
};
|
|
424
424
|
};
|
|
425
425
|
} & {
|
|
@@ -442,15 +442,10 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
442
442
|
};
|
|
443
443
|
} | {
|
|
444
444
|
output: {
|
|
445
|
-
|
|
446
|
-
path: string;
|
|
447
|
-
size: number;
|
|
448
|
-
binary: boolean;
|
|
449
|
-
tooLarge: boolean;
|
|
450
|
-
content?: string | undefined;
|
|
445
|
+
error: string;
|
|
451
446
|
};
|
|
452
447
|
outputFormat: "json";
|
|
453
|
-
status:
|
|
448
|
+
status: 409;
|
|
454
449
|
input: {
|
|
455
450
|
param: {
|
|
456
451
|
sha: string;
|
|
@@ -462,10 +457,15 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
462
457
|
};
|
|
463
458
|
} | {
|
|
464
459
|
output: {
|
|
465
|
-
|
|
460
|
+
type: 'file';
|
|
461
|
+
path: string;
|
|
462
|
+
size: number;
|
|
463
|
+
binary: boolean;
|
|
464
|
+
tooLarge: boolean;
|
|
465
|
+
content?: string | undefined;
|
|
466
466
|
};
|
|
467
467
|
outputFormat: "json";
|
|
468
|
-
status:
|
|
468
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
469
469
|
input: {
|
|
470
470
|
param: {
|
|
471
471
|
sha: string;
|
|
@@ -493,15 +493,10 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
493
493
|
};
|
|
494
494
|
} | {
|
|
495
495
|
output: {
|
|
496
|
-
|
|
497
|
-
path: string;
|
|
498
|
-
size: number;
|
|
499
|
-
binary: boolean;
|
|
500
|
-
tooLarge: boolean;
|
|
501
|
-
content?: string | undefined;
|
|
496
|
+
error: string;
|
|
502
497
|
};
|
|
503
498
|
outputFormat: "json";
|
|
504
|
-
status:
|
|
499
|
+
status: 409;
|
|
505
500
|
input: {
|
|
506
501
|
query: {
|
|
507
502
|
path: string | string[];
|
|
@@ -509,10 +504,15 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
509
504
|
};
|
|
510
505
|
} | {
|
|
511
506
|
output: {
|
|
512
|
-
|
|
507
|
+
type: 'file';
|
|
508
|
+
path: string;
|
|
509
|
+
size: number;
|
|
510
|
+
binary: boolean;
|
|
511
|
+
tooLarge: boolean;
|
|
512
|
+
content?: string | undefined;
|
|
513
513
|
};
|
|
514
514
|
outputFormat: "json";
|
|
515
|
-
status:
|
|
515
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
516
516
|
input: {
|
|
517
517
|
query: {
|
|
518
518
|
path: string | string[];
|
|
@@ -578,10 +578,12 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
578
578
|
"/repo/pull": {
|
|
579
579
|
$post: {
|
|
580
580
|
output: {
|
|
581
|
-
|
|
581
|
+
branch: string;
|
|
582
|
+
pulled: true;
|
|
583
|
+
summary: string;
|
|
582
584
|
};
|
|
583
585
|
outputFormat: "json";
|
|
584
|
-
status:
|
|
586
|
+
status: 200;
|
|
585
587
|
input: {
|
|
586
588
|
json: {
|
|
587
589
|
branch?: string | undefined;
|
|
@@ -590,12 +592,10 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
590
592
|
};
|
|
591
593
|
} | {
|
|
592
594
|
output: {
|
|
593
|
-
|
|
594
|
-
pulled: true;
|
|
595
|
-
summary: string;
|
|
595
|
+
error: string;
|
|
596
596
|
};
|
|
597
597
|
outputFormat: "json";
|
|
598
|
-
status:
|
|
598
|
+
status: 409;
|
|
599
599
|
input: {
|
|
600
600
|
json: {
|
|
601
601
|
branch?: string | undefined;
|
|
@@ -12303,20 +12303,20 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12303
12303
|
} & {
|
|
12304
12304
|
"/runs/:id/handoff": {
|
|
12305
12305
|
$get: {
|
|
12306
|
-
output:
|
|
12307
|
-
|
|
12308
|
-
|
|
12309
|
-
outputFormat: "json";
|
|
12310
|
-
status: 404;
|
|
12306
|
+
output: string;
|
|
12307
|
+
outputFormat: "text";
|
|
12308
|
+
status: 200;
|
|
12311
12309
|
input: {
|
|
12312
12310
|
param: {
|
|
12313
12311
|
id: string;
|
|
12314
12312
|
};
|
|
12315
12313
|
};
|
|
12316
12314
|
} | {
|
|
12317
|
-
output:
|
|
12318
|
-
|
|
12319
|
-
|
|
12315
|
+
output: {
|
|
12316
|
+
error: string;
|
|
12317
|
+
};
|
|
12318
|
+
outputFormat: "json";
|
|
12319
|
+
status: 404;
|
|
12320
12320
|
input: {
|
|
12321
12321
|
param: {
|
|
12322
12322
|
id: string;
|
|
@@ -12354,20 +12354,20 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12354
12354
|
} & {
|
|
12355
12355
|
"/runs/:id/diff": {
|
|
12356
12356
|
$get: {
|
|
12357
|
-
output:
|
|
12358
|
-
|
|
12359
|
-
|
|
12360
|
-
outputFormat: "json";
|
|
12361
|
-
status: 404 | 409;
|
|
12357
|
+
output: string;
|
|
12358
|
+
outputFormat: "text";
|
|
12359
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
12362
12360
|
input: {
|
|
12363
12361
|
param: {
|
|
12364
12362
|
id: string;
|
|
12365
12363
|
};
|
|
12366
12364
|
};
|
|
12367
12365
|
} | {
|
|
12368
|
-
output:
|
|
12369
|
-
|
|
12370
|
-
|
|
12366
|
+
output: {
|
|
12367
|
+
error: string;
|
|
12368
|
+
};
|
|
12369
|
+
outputFormat: "json";
|
|
12370
|
+
status: 404 | 409;
|
|
12371
12371
|
input: {
|
|
12372
12372
|
param: {
|
|
12373
12373
|
id: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hearsay-tools/squawk",
|
|
3
|
-
"version": "0.19.0-dev.
|
|
3
|
+
"version": "0.19.0-dev.9113",
|
|
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",
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@babel/parser": "^8.0.8",
|
|
71
71
|
"@babel/types": "^8.0.8",
|
|
72
|
-
"@open-mercato/cezar-api-client": "0.19.0-dev.
|
|
73
|
-
"@open-mercato/cezar-contract": "0.19.0-dev.
|
|
72
|
+
"@open-mercato/cezar-api-client": "0.19.0-dev.9113",
|
|
73
|
+
"@open-mercato/cezar-contract": "0.19.0-dev.9113",
|
|
74
74
|
"@types/node": "^24.19.1",
|
|
75
75
|
"@types/ws": "^8.18.1",
|
|
76
76
|
"esbuild": "^0.28.1",
|
|
@@ -87,5 +87,5 @@
|
|
|
87
87
|
"publishConfig": {
|
|
88
88
|
"access": "public"
|
|
89
89
|
},
|
|
90
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "ac45a3c48c450726821a19c5f931a92498dd7b75"
|
|
91
91
|
}
|