@hearsay-tools/squawk 0.19.0-pr4619.9192 → 0.19.0-pr4620.9203
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,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;
|
|
@@ -917,7 +931,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
917
931
|
} & {
|
|
918
932
|
json: Record<string, never>;
|
|
919
933
|
};
|
|
920
|
-
}
|
|
934
|
+
};
|
|
935
|
+
};
|
|
936
|
+
} & {
|
|
937
|
+
"/:workerId/steer": {
|
|
938
|
+
$post: {
|
|
921
939
|
output: {
|
|
922
940
|
error: string;
|
|
923
941
|
code?: "invalid_input" | undefined;
|
|
@@ -929,13 +947,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
929
947
|
workerId: string;
|
|
930
948
|
};
|
|
931
949
|
} & {
|
|
932
|
-
json:
|
|
950
|
+
json: {
|
|
951
|
+
text: string;
|
|
952
|
+
};
|
|
933
953
|
};
|
|
934
|
-
}
|
|
935
|
-
};
|
|
936
|
-
} & {
|
|
937
|
-
"/:workerId/steer": {
|
|
938
|
-
$post: {
|
|
954
|
+
} | {
|
|
939
955
|
output: {
|
|
940
956
|
workerId: string;
|
|
941
957
|
state: "delivered" | "queued";
|
|
@@ -951,7 +967,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
951
967
|
text: string;
|
|
952
968
|
};
|
|
953
969
|
};
|
|
954
|
-
}
|
|
970
|
+
};
|
|
971
|
+
};
|
|
972
|
+
} & {
|
|
973
|
+
"/:workerId/stop": {
|
|
974
|
+
$post: {
|
|
955
975
|
output: {
|
|
956
976
|
error: string;
|
|
957
977
|
code?: "invalid_input" | undefined;
|
|
@@ -963,15 +983,9 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
963
983
|
workerId: string;
|
|
964
984
|
};
|
|
965
985
|
} & {
|
|
966
|
-
json:
|
|
967
|
-
text: string;
|
|
968
|
-
};
|
|
986
|
+
json: Record<string, never>;
|
|
969
987
|
};
|
|
970
|
-
}
|
|
971
|
-
};
|
|
972
|
-
} & {
|
|
973
|
-
"/:workerId/stop": {
|
|
974
|
-
$post: {
|
|
988
|
+
} | {
|
|
975
989
|
output: {
|
|
976
990
|
workerId: string;
|
|
977
991
|
state: "stopping" | "terminated";
|
|
@@ -985,7 +999,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
985
999
|
} & {
|
|
986
1000
|
json: Record<string, never>;
|
|
987
1001
|
};
|
|
988
|
-
}
|
|
1002
|
+
};
|
|
1003
|
+
};
|
|
1004
|
+
} & {
|
|
1005
|
+
"/:workerId/destroy": {
|
|
1006
|
+
$post: {
|
|
989
1007
|
output: {
|
|
990
1008
|
error: string;
|
|
991
1009
|
code?: "invalid_input" | undefined;
|
|
@@ -997,13 +1015,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
997
1015
|
workerId: string;
|
|
998
1016
|
};
|
|
999
1017
|
} & {
|
|
1000
|
-
json:
|
|
1018
|
+
json: {
|
|
1019
|
+
discardWork?: true | undefined;
|
|
1020
|
+
};
|
|
1001
1021
|
};
|
|
1002
|
-
}
|
|
1003
|
-
};
|
|
1004
|
-
} & {
|
|
1005
|
-
"/:workerId/destroy": {
|
|
1006
|
-
$post: {
|
|
1022
|
+
} | {
|
|
1007
1023
|
output: {
|
|
1008
1024
|
workerId: string;
|
|
1009
1025
|
state: "complete" | "incomplete";
|
|
@@ -1032,22 +1048,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1032
1048
|
discardWork?: true | undefined;
|
|
1033
1049
|
};
|
|
1034
1050
|
};
|
|
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,18 +1083,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1083
1083
|
"/:workerId/summary": {
|
|
1084
1084
|
$post: {
|
|
1085
1085
|
output: {
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
source: "assistant" | "failure";
|
|
1089
|
-
seq: number;
|
|
1090
|
-
totalLines: number;
|
|
1091
|
-
offset: number;
|
|
1092
|
-
lineCount: number;
|
|
1093
|
-
text: string;
|
|
1094
|
-
nextOffset?: number | undefined;
|
|
1086
|
+
error: string;
|
|
1087
|
+
code?: "invalid_input" | undefined;
|
|
1095
1088
|
};
|
|
1096
1089
|
outputFormat: "json";
|
|
1097
|
-
status:
|
|
1090
|
+
status: 400;
|
|
1098
1091
|
input: {
|
|
1099
1092
|
param: {
|
|
1100
1093
|
workerId: string;
|
|
@@ -1107,11 +1100,18 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1107
1100
|
};
|
|
1108
1101
|
} | {
|
|
1109
1102
|
output: {
|
|
1110
|
-
|
|
1111
|
-
|
|
1103
|
+
workerId: string;
|
|
1104
|
+
revision: number;
|
|
1105
|
+
source: "assistant" | "failure";
|
|
1106
|
+
seq: number;
|
|
1107
|
+
totalLines: number;
|
|
1108
|
+
offset: number;
|
|
1109
|
+
lineCount: number;
|
|
1110
|
+
text: string;
|
|
1111
|
+
nextOffset?: number | undefined;
|
|
1112
1112
|
};
|
|
1113
1113
|
outputFormat: "json";
|
|
1114
|
-
status:
|
|
1114
|
+
status: 200;
|
|
1115
1115
|
input: {
|
|
1116
1116
|
param: {
|
|
1117
1117
|
workerId: string;
|
|
@@ -1128,13 +1128,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1128
1128
|
"/:workerId/diff": {
|
|
1129
1129
|
$get: {
|
|
1130
1130
|
output: {
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
diff: string;
|
|
1134
|
-
truncated: boolean;
|
|
1131
|
+
error: string;
|
|
1132
|
+
code?: "invalid_input" | undefined;
|
|
1135
1133
|
};
|
|
1136
1134
|
outputFormat: "json";
|
|
1137
|
-
status:
|
|
1135
|
+
status: 400;
|
|
1138
1136
|
input: {
|
|
1139
1137
|
param: {
|
|
1140
1138
|
workerId: string;
|
|
@@ -1142,11 +1140,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1142
1140
|
};
|
|
1143
1141
|
} | {
|
|
1144
1142
|
output: {
|
|
1145
|
-
|
|
1146
|
-
|
|
1143
|
+
workerId: string;
|
|
1144
|
+
baselineSha: string;
|
|
1145
|
+
diff: string;
|
|
1146
|
+
truncated: boolean;
|
|
1147
1147
|
};
|
|
1148
1148
|
outputFormat: "json";
|
|
1149
|
-
status:
|
|
1149
|
+
status: 200;
|
|
1150
1150
|
input: {
|
|
1151
1151
|
param: {
|
|
1152
1152
|
workerId: string;
|
|
@@ -220,18 +220,20 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
220
220
|
"/automations": {
|
|
221
221
|
$post: {
|
|
222
222
|
output: {
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
223
|
+
error: string;
|
|
224
|
+
};
|
|
225
|
+
outputFormat: "json";
|
|
226
|
+
status: 400 | 404 | 409;
|
|
227
|
+
input: {
|
|
228
|
+
json: {
|
|
227
229
|
name: string;
|
|
228
230
|
description?: string | undefined;
|
|
229
|
-
enabled
|
|
230
|
-
kind
|
|
231
|
+
enabled?: boolean | undefined;
|
|
232
|
+
kind?: "github" | "schedule" | undefined;
|
|
231
233
|
events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
|
|
232
234
|
intervalSeconds?: number | undefined;
|
|
233
235
|
filters?: {
|
|
234
|
-
[x: string]:
|
|
236
|
+
[x: string]: unknown;
|
|
235
237
|
includeExisting?: boolean | undefined;
|
|
236
238
|
requireCurrentLabels?: boolean | undefined;
|
|
237
239
|
authors?: string[] | undefined;
|
|
@@ -240,11 +242,10 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
240
242
|
anyLabels?: string[] | undefined;
|
|
241
243
|
excludeLabels?: string[] | undefined;
|
|
242
244
|
changedLabels?: string[] | undefined;
|
|
243
|
-
lookbackDays
|
|
244
|
-
maxRecords
|
|
245
|
+
lookbackDays?: number | undefined;
|
|
246
|
+
maxRecords?: number | undefined;
|
|
245
247
|
} | undefined;
|
|
246
248
|
schedule?: {
|
|
247
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
248
249
|
type: "daily" | "hours" | "once" | "weekdays" | "weekly";
|
|
249
250
|
hour?: number | undefined;
|
|
250
251
|
minute?: number | undefined;
|
|
@@ -255,7 +256,6 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
255
256
|
latestStartMinutes?: number | undefined;
|
|
256
257
|
} | undefined;
|
|
257
258
|
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,53 +276,37 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
276
276
|
bashAllowlist?: string[] | undefined;
|
|
277
277
|
kind?: "plugin" | undefined;
|
|
278
278
|
pluginKind?: string | undefined;
|
|
279
|
-
config?:
|
|
280
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
281
|
-
} | undefined;
|
|
279
|
+
config?: Record<string, unknown> | undefined;
|
|
282
280
|
command?: string | undefined;
|
|
283
281
|
onFail?: {
|
|
284
282
|
retry: string;
|
|
285
|
-
max
|
|
283
|
+
max?: number | undefined;
|
|
286
284
|
} | undefined;
|
|
287
285
|
}[] | undefined;
|
|
288
286
|
runner?: string | undefined;
|
|
289
287
|
model?: string | undefined;
|
|
290
288
|
effort?: string | undefined;
|
|
291
|
-
variants?: 1 | 2 | 3 | undefined;
|
|
292
289
|
worktree?: boolean | undefined;
|
|
293
290
|
autonomous?: boolean | undefined;
|
|
294
291
|
systemPrompt?: string | undefined;
|
|
295
292
|
};
|
|
296
|
-
|
|
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;
|
|
293
|
+
enable?: boolean | undefined;
|
|
306
294
|
};
|
|
307
|
-
once?: {
|
|
308
|
-
dueAt: string;
|
|
309
|
-
timeZone: string;
|
|
310
|
-
resolvedInstant: string;
|
|
311
|
-
note: string;
|
|
312
|
-
} | undefined;
|
|
313
295
|
};
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
296
|
+
} | {
|
|
297
|
+
output: {
|
|
298
|
+
automation: {
|
|
299
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
300
|
+
id: string;
|
|
301
|
+
revision: number;
|
|
318
302
|
name: string;
|
|
319
303
|
description?: string | undefined;
|
|
320
|
-
enabled
|
|
321
|
-
kind
|
|
304
|
+
enabled: boolean;
|
|
305
|
+
kind: "github" | "schedule";
|
|
322
306
|
events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
|
|
323
307
|
intervalSeconds?: number | undefined;
|
|
324
308
|
filters?: {
|
|
325
|
-
[x: string]:
|
|
309
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
326
310
|
includeExisting?: boolean | undefined;
|
|
327
311
|
requireCurrentLabels?: boolean | undefined;
|
|
328
312
|
authors?: string[] | undefined;
|
|
@@ -331,10 +315,11 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
331
315
|
anyLabels?: string[] | undefined;
|
|
332
316
|
excludeLabels?: string[] | undefined;
|
|
333
317
|
changedLabels?: string[] | undefined;
|
|
334
|
-
lookbackDays
|
|
335
|
-
maxRecords
|
|
318
|
+
lookbackDays: number;
|
|
319
|
+
maxRecords: number;
|
|
336
320
|
} | undefined;
|
|
337
321
|
schedule?: {
|
|
322
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
338
323
|
type: "daily" | "hours" | "once" | "weekdays" | "weekly";
|
|
339
324
|
hour?: number | undefined;
|
|
340
325
|
minute?: number | undefined;
|
|
@@ -345,6 +330,7 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
345
330
|
latestStartMinutes?: number | undefined;
|
|
346
331
|
} | undefined;
|
|
347
332
|
task: {
|
|
333
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
348
334
|
archiveWhenDone?: boolean | undefined;
|
|
349
335
|
autoMergePr?: boolean | undefined;
|
|
350
336
|
allowWorkers?: boolean | undefined;
|
|
@@ -365,29 +351,43 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
365
351
|
bashAllowlist?: string[] | undefined;
|
|
366
352
|
kind?: "plugin" | undefined;
|
|
367
353
|
pluginKind?: string | undefined;
|
|
368
|
-
config?:
|
|
354
|
+
config?: {
|
|
355
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
356
|
+
} | undefined;
|
|
369
357
|
command?: string | undefined;
|
|
370
358
|
onFail?: {
|
|
371
359
|
retry: string;
|
|
372
|
-
max
|
|
360
|
+
max: number;
|
|
373
361
|
} | undefined;
|
|
374
362
|
}[] | undefined;
|
|
375
363
|
runner?: string | undefined;
|
|
376
364
|
model?: string | undefined;
|
|
377
365
|
effort?: string | undefined;
|
|
366
|
+
variants?: 1 | 2 | 3 | undefined;
|
|
378
367
|
worktree?: boolean | undefined;
|
|
379
368
|
autonomous?: boolean | undefined;
|
|
380
369
|
systemPrompt?: string | undefined;
|
|
381
370
|
};
|
|
382
|
-
|
|
371
|
+
archived?: {
|
|
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;
|
|
383
381
|
};
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
382
|
+
once?: {
|
|
383
|
+
dueAt: string;
|
|
384
|
+
timeZone: string;
|
|
385
|
+
resolvedInstant: string;
|
|
386
|
+
note: string;
|
|
387
|
+
} | undefined;
|
|
388
388
|
};
|
|
389
389
|
outputFormat: "json";
|
|
390
|
-
status:
|
|
390
|
+
status: 201;
|
|
391
391
|
input: {
|
|
392
392
|
json: {
|
|
393
393
|
name: string;
|
|
@@ -462,6 +462,17 @@ 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
|
+
} | {
|
|
465
476
|
output: {
|
|
466
477
|
automation: {
|
|
467
478
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -624,35 +635,26 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
624
635
|
id: string;
|
|
625
636
|
};
|
|
626
637
|
};
|
|
627
|
-
} | {
|
|
628
|
-
output: {
|
|
629
|
-
error: string;
|
|
630
|
-
};
|
|
631
|
-
outputFormat: "json";
|
|
632
|
-
status: 400 | 404 | 409;
|
|
633
|
-
input: {
|
|
634
|
-
param: {
|
|
635
|
-
id: string;
|
|
636
|
-
};
|
|
637
|
-
};
|
|
638
638
|
};
|
|
639
639
|
};
|
|
640
640
|
} & {
|
|
641
641
|
"/automations/:id": {
|
|
642
642
|
$put: {
|
|
643
643
|
output: {
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
644
|
+
error: string;
|
|
645
|
+
};
|
|
646
|
+
outputFormat: "json";
|
|
647
|
+
status: 400 | 404 | 409;
|
|
648
|
+
input: {
|
|
649
|
+
json: {
|
|
648
650
|
name: string;
|
|
649
651
|
description?: string | undefined;
|
|
650
|
-
enabled
|
|
651
|
-
kind
|
|
652
|
+
enabled?: boolean | undefined;
|
|
653
|
+
kind?: "github" | "schedule" | undefined;
|
|
652
654
|
events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
|
|
653
655
|
intervalSeconds?: number | undefined;
|
|
654
656
|
filters?: {
|
|
655
|
-
[x: string]:
|
|
657
|
+
[x: string]: unknown;
|
|
656
658
|
includeExisting?: boolean | undefined;
|
|
657
659
|
requireCurrentLabels?: boolean | undefined;
|
|
658
660
|
authors?: string[] | undefined;
|
|
@@ -661,11 +663,10 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
661
663
|
anyLabels?: string[] | undefined;
|
|
662
664
|
excludeLabels?: string[] | undefined;
|
|
663
665
|
changedLabels?: string[] | undefined;
|
|
664
|
-
lookbackDays
|
|
665
|
-
maxRecords
|
|
666
|
+
lookbackDays?: number | undefined;
|
|
667
|
+
maxRecords?: number | undefined;
|
|
666
668
|
} | undefined;
|
|
667
669
|
schedule?: {
|
|
668
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
669
670
|
type: "daily" | "hours" | "once" | "weekdays" | "weekly";
|
|
670
671
|
hour?: number | undefined;
|
|
671
672
|
minute?: number | undefined;
|
|
@@ -676,7 +677,6 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
676
677
|
latestStartMinutes?: number | undefined;
|
|
677
678
|
} | undefined;
|
|
678
679
|
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,47 +697,41 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
697
697
|
bashAllowlist?: string[] | undefined;
|
|
698
698
|
kind?: "plugin" | undefined;
|
|
699
699
|
pluginKind?: string | undefined;
|
|
700
|
-
config?:
|
|
701
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
702
|
-
} | undefined;
|
|
700
|
+
config?: Record<string, unknown> | undefined;
|
|
703
701
|
command?: string | undefined;
|
|
704
702
|
onFail?: {
|
|
705
703
|
retry: string;
|
|
706
|
-
max
|
|
704
|
+
max?: number | undefined;
|
|
707
705
|
} | undefined;
|
|
708
706
|
}[] | undefined;
|
|
709
707
|
runner?: string | undefined;
|
|
710
708
|
model?: string | undefined;
|
|
711
709
|
effort?: string | undefined;
|
|
712
|
-
variants?: 1 | 2 | 3 | undefined;
|
|
713
710
|
worktree?: boolean | undefined;
|
|
714
711
|
autonomous?: boolean | undefined;
|
|
715
712
|
systemPrompt?: string | undefined;
|
|
716
713
|
};
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
receiptId?: string | undefined;
|
|
723
|
-
trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
|
|
724
|
-
} | undefined;
|
|
725
|
-
createdAt: string;
|
|
726
|
-
updatedAt: string;
|
|
714
|
+
expectedRevision: number;
|
|
715
|
+
};
|
|
716
|
+
} & {
|
|
717
|
+
param: {
|
|
718
|
+
id: string;
|
|
727
719
|
};
|
|
728
720
|
};
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
721
|
+
} | {
|
|
722
|
+
output: {
|
|
723
|
+
automation: {
|
|
724
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
725
|
+
id: string;
|
|
726
|
+
revision: number;
|
|
733
727
|
name: string;
|
|
734
728
|
description?: string | undefined;
|
|
735
|
-
enabled
|
|
736
|
-
kind
|
|
729
|
+
enabled: boolean;
|
|
730
|
+
kind: "github" | "schedule";
|
|
737
731
|
events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
|
|
738
732
|
intervalSeconds?: number | undefined;
|
|
739
733
|
filters?: {
|
|
740
|
-
[x: string]:
|
|
734
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
741
735
|
includeExisting?: boolean | undefined;
|
|
742
736
|
requireCurrentLabels?: boolean | undefined;
|
|
743
737
|
authors?: string[] | undefined;
|
|
@@ -746,10 +740,11 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
746
740
|
anyLabels?: string[] | undefined;
|
|
747
741
|
excludeLabels?: string[] | undefined;
|
|
748
742
|
changedLabels?: string[] | undefined;
|
|
749
|
-
lookbackDays
|
|
750
|
-
maxRecords
|
|
743
|
+
lookbackDays: number;
|
|
744
|
+
maxRecords: number;
|
|
751
745
|
} | undefined;
|
|
752
746
|
schedule?: {
|
|
747
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
753
748
|
type: "daily" | "hours" | "once" | "weekdays" | "weekly";
|
|
754
749
|
hour?: number | undefined;
|
|
755
750
|
minute?: number | undefined;
|
|
@@ -760,6 +755,7 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
760
755
|
latestStartMinutes?: number | undefined;
|
|
761
756
|
} | undefined;
|
|
762
757
|
task: {
|
|
758
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
763
759
|
archiveWhenDone?: boolean | undefined;
|
|
764
760
|
autoMergePr?: boolean | undefined;
|
|
765
761
|
allowWorkers?: boolean | undefined;
|
|
@@ -780,33 +776,37 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
780
776
|
bashAllowlist?: string[] | undefined;
|
|
781
777
|
kind?: "plugin" | undefined;
|
|
782
778
|
pluginKind?: string | undefined;
|
|
783
|
-
config?:
|
|
779
|
+
config?: {
|
|
780
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
781
|
+
} | undefined;
|
|
784
782
|
command?: string | undefined;
|
|
785
783
|
onFail?: {
|
|
786
784
|
retry: string;
|
|
787
|
-
max
|
|
785
|
+
max: number;
|
|
788
786
|
} | undefined;
|
|
789
787
|
}[] | undefined;
|
|
790
788
|
runner?: string | undefined;
|
|
791
789
|
model?: string | undefined;
|
|
792
790
|
effort?: string | undefined;
|
|
791
|
+
variants?: 1 | 2 | 3 | undefined;
|
|
793
792
|
worktree?: boolean | undefined;
|
|
794
793
|
autonomous?: boolean | undefined;
|
|
795
794
|
systemPrompt?: string | undefined;
|
|
796
795
|
};
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
796
|
+
archived?: {
|
|
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;
|
|
802
806
|
};
|
|
803
807
|
};
|
|
804
|
-
} | {
|
|
805
|
-
output: {
|
|
806
|
-
error: string;
|
|
807
|
-
};
|
|
808
808
|
outputFormat: "json";
|
|
809
|
-
status:
|
|
809
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
810
810
|
input: {
|
|
811
811
|
json: {
|
|
812
812
|
name: string;
|
|
@@ -909,6 +909,17 @@ 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
|
+
} | {
|
|
912
923
|
output: {
|
|
913
924
|
automation: {
|
|
914
925
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -1002,7 +1013,11 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
1002
1013
|
id: string;
|
|
1003
1014
|
};
|
|
1004
1015
|
};
|
|
1005
|
-
}
|
|
1016
|
+
};
|
|
1017
|
+
};
|
|
1018
|
+
} & {
|
|
1019
|
+
"/automations/:id/pause": {
|
|
1020
|
+
$post: {
|
|
1006
1021
|
output: {
|
|
1007
1022
|
error: string;
|
|
1008
1023
|
};
|
|
@@ -1013,11 +1028,7 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
1013
1028
|
id: string;
|
|
1014
1029
|
};
|
|
1015
1030
|
};
|
|
1016
|
-
}
|
|
1017
|
-
};
|
|
1018
|
-
} & {
|
|
1019
|
-
"/automations/:id/pause": {
|
|
1020
|
-
$post: {
|
|
1031
|
+
} | {
|
|
1021
1032
|
output: {
|
|
1022
1033
|
automation: {
|
|
1023
1034
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -1111,7 +1122,11 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
1111
1122
|
id: string;
|
|
1112
1123
|
};
|
|
1113
1124
|
};
|
|
1114
|
-
}
|
|
1125
|
+
};
|
|
1126
|
+
};
|
|
1127
|
+
} & {
|
|
1128
|
+
"/automations/:id/cancel": {
|
|
1129
|
+
$post: {
|
|
1115
1130
|
output: {
|
|
1116
1131
|
error: string;
|
|
1117
1132
|
};
|
|
@@ -1122,11 +1137,7 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
1122
1137
|
id: string;
|
|
1123
1138
|
};
|
|
1124
1139
|
};
|
|
1125
|
-
}
|
|
1126
|
-
};
|
|
1127
|
-
} & {
|
|
1128
|
-
"/automations/:id/cancel": {
|
|
1129
|
-
$post: {
|
|
1140
|
+
} | {
|
|
1130
1141
|
output: {
|
|
1131
1142
|
automation: {
|
|
1132
1143
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -1220,27 +1231,16 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
1220
1231
|
id: string;
|
|
1221
1232
|
};
|
|
1222
1233
|
};
|
|
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
|
+
error: string;
|
|
1241
1241
|
};
|
|
1242
1242
|
outputFormat: "json";
|
|
1243
|
-
status:
|
|
1243
|
+
status: 400 | 404 | 409;
|
|
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
|
+
runId: string;
|
|
1252
1252
|
};
|
|
1253
1253
|
outputFormat: "json";
|
|
1254
|
-
status:
|
|
1254
|
+
status: 202;
|
|
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
|
+
error: string;
|
|
1267
1267
|
};
|
|
1268
1268
|
outputFormat: "json";
|
|
1269
|
-
status:
|
|
1269
|
+
status: 404;
|
|
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: 409;
|
|
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
|
+
checkId: string;
|
|
1297
1297
|
};
|
|
1298
1298
|
outputFormat: "json";
|
|
1299
|
-
status:
|
|
1299
|
+
status: 202;
|
|
1300
1300
|
input: {
|
|
1301
1301
|
json: {
|
|
1302
1302
|
mode: "execute" | "preview";
|
|
@@ -1408,17 +1408,6 @@ 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
|
-
} | {
|
|
1422
1411
|
output: {
|
|
1423
1412
|
id: string;
|
|
1424
1413
|
automationId: string;
|
|
@@ -1437,6 +1426,17 @@ export declare function createAutomationsRouteBundles(deps: AutomationsRouteDeps
|
|
|
1437
1426
|
checkId: string;
|
|
1438
1427
|
};
|
|
1439
1428
|
};
|
|
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: 409;
|
|
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: 400;
|
|
46
46
|
input: {
|
|
47
47
|
json: {
|
|
48
48
|
target: string;
|
|
@@ -138,11 +138,10 @@ export declare function createWorktreesRoutes(deps: WorktreesRouteDeps): import(
|
|
|
138
138
|
};
|
|
139
139
|
} | {
|
|
140
140
|
output: {
|
|
141
|
-
|
|
142
|
-
worktreeReclaimedAt: string;
|
|
141
|
+
error: string;
|
|
143
142
|
};
|
|
144
143
|
outputFormat: "json";
|
|
145
|
-
status:
|
|
144
|
+
status: 404 | 409;
|
|
146
145
|
input: {
|
|
147
146
|
param: {
|
|
148
147
|
runId: string;
|
|
@@ -154,10 +153,11 @@ export declare function createWorktreesRoutes(deps: WorktreesRouteDeps): import(
|
|
|
154
153
|
};
|
|
155
154
|
} | {
|
|
156
155
|
output: {
|
|
157
|
-
|
|
156
|
+
runId: string;
|
|
157
|
+
worktreeReclaimedAt: string;
|
|
158
158
|
};
|
|
159
159
|
outputFormat: "json";
|
|
160
|
-
status:
|
|
160
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
161
161
|
input: {
|
|
162
162
|
param: {
|
|
163
163
|
runId: string;
|
|
@@ -296,18 +296,14 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
296
296
|
"/repo/branches/delete": {
|
|
297
297
|
$post: {
|
|
298
298
|
output: {
|
|
299
|
-
|
|
299
|
+
error: string;
|
|
300
300
|
refused: {
|
|
301
301
|
name: string;
|
|
302
302
|
reason: string;
|
|
303
303
|
}[];
|
|
304
|
-
dropped?: {
|
|
305
|
-
sha: string;
|
|
306
|
-
subject: string;
|
|
307
|
-
}[] | undefined;
|
|
308
304
|
};
|
|
309
305
|
outputFormat: "json";
|
|
310
|
-
status:
|
|
306
|
+
status: 409;
|
|
311
307
|
input: {
|
|
312
308
|
json: {
|
|
313
309
|
names: string[];
|
|
@@ -316,14 +312,18 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
316
312
|
};
|
|
317
313
|
} | {
|
|
318
314
|
output: {
|
|
319
|
-
|
|
315
|
+
deleted: string[];
|
|
320
316
|
refused: {
|
|
321
317
|
name: string;
|
|
322
318
|
reason: string;
|
|
323
319
|
}[];
|
|
320
|
+
dropped?: {
|
|
321
|
+
sha: string;
|
|
322
|
+
subject: string;
|
|
323
|
+
}[] | undefined;
|
|
324
324
|
};
|
|
325
325
|
outputFormat: "json";
|
|
326
|
-
status:
|
|
326
|
+
status: 200;
|
|
327
327
|
input: {
|
|
328
328
|
json: {
|
|
329
329
|
names: string[];
|
|
@@ -344,6 +344,19 @@ 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
|
+
} | {
|
|
347
360
|
output: {
|
|
348
361
|
error: string;
|
|
349
362
|
code?: "invalid_input" | undefined;
|
|
@@ -407,19 +420,6 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
407
420
|
sha: string;
|
|
408
421
|
};
|
|
409
422
|
};
|
|
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,10 +442,15 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
442
442
|
};
|
|
443
443
|
} | {
|
|
444
444
|
output: {
|
|
445
|
-
|
|
445
|
+
type: 'file';
|
|
446
|
+
path: string;
|
|
447
|
+
size: number;
|
|
448
|
+
binary: boolean;
|
|
449
|
+
tooLarge: boolean;
|
|
450
|
+
content?: string | undefined;
|
|
446
451
|
};
|
|
447
452
|
outputFormat: "json";
|
|
448
|
-
status:
|
|
453
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
449
454
|
input: {
|
|
450
455
|
param: {
|
|
451
456
|
sha: string;
|
|
@@ -457,15 +462,10 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
457
462
|
};
|
|
458
463
|
} | {
|
|
459
464
|
output: {
|
|
460
|
-
|
|
461
|
-
path: string;
|
|
462
|
-
size: number;
|
|
463
|
-
binary: boolean;
|
|
464
|
-
tooLarge: boolean;
|
|
465
|
-
content?: string | undefined;
|
|
465
|
+
error: string;
|
|
466
466
|
};
|
|
467
467
|
outputFormat: "json";
|
|
468
|
-
status:
|
|
468
|
+
status: 409;
|
|
469
469
|
input: {
|
|
470
470
|
param: {
|
|
471
471
|
sha: string;
|
|
@@ -493,10 +493,15 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
493
493
|
};
|
|
494
494
|
} | {
|
|
495
495
|
output: {
|
|
496
|
-
|
|
496
|
+
type: 'file';
|
|
497
|
+
path: string;
|
|
498
|
+
size: number;
|
|
499
|
+
binary: boolean;
|
|
500
|
+
tooLarge: boolean;
|
|
501
|
+
content?: string | undefined;
|
|
497
502
|
};
|
|
498
503
|
outputFormat: "json";
|
|
499
|
-
status:
|
|
504
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
500
505
|
input: {
|
|
501
506
|
query: {
|
|
502
507
|
path: string | string[];
|
|
@@ -504,15 +509,10 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
504
509
|
};
|
|
505
510
|
} | {
|
|
506
511
|
output: {
|
|
507
|
-
|
|
508
|
-
path: string;
|
|
509
|
-
size: number;
|
|
510
|
-
binary: boolean;
|
|
511
|
-
tooLarge: boolean;
|
|
512
|
-
content?: string | undefined;
|
|
512
|
+
error: string;
|
|
513
513
|
};
|
|
514
514
|
outputFormat: "json";
|
|
515
|
-
status:
|
|
515
|
+
status: 409;
|
|
516
516
|
input: {
|
|
517
517
|
query: {
|
|
518
518
|
path: string | string[];
|
|
@@ -578,12 +578,10 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
578
578
|
"/repo/pull": {
|
|
579
579
|
$post: {
|
|
580
580
|
output: {
|
|
581
|
-
|
|
582
|
-
pulled: true;
|
|
583
|
-
summary: string;
|
|
581
|
+
error: string;
|
|
584
582
|
};
|
|
585
583
|
outputFormat: "json";
|
|
586
|
-
status:
|
|
584
|
+
status: 409;
|
|
587
585
|
input: {
|
|
588
586
|
json: {
|
|
589
587
|
branch?: string | undefined;
|
|
@@ -592,10 +590,12 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
592
590
|
};
|
|
593
591
|
} | {
|
|
594
592
|
output: {
|
|
595
|
-
|
|
593
|
+
branch: string;
|
|
594
|
+
pulled: true;
|
|
595
|
+
summary: string;
|
|
596
596
|
};
|
|
597
597
|
outputFormat: "json";
|
|
598
|
-
status:
|
|
598
|
+
status: 200;
|
|
599
599
|
input: {
|
|
600
600
|
json: {
|
|
601
601
|
branch?: string | undefined;
|
|
@@ -92,6 +92,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
92
92
|
} | undefined;
|
|
93
93
|
invalidAsk?: boolean | undefined;
|
|
94
94
|
delegation?: {
|
|
95
|
+
role: "invalid";
|
|
96
|
+
} | {
|
|
95
97
|
role: "root";
|
|
96
98
|
conversation?: {
|
|
97
99
|
messages: {
|
|
@@ -326,8 +328,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
326
328
|
} | undefined;
|
|
327
329
|
executionRevision?: number | undefined;
|
|
328
330
|
executionStartSeq?: number | undefined;
|
|
329
|
-
} | {
|
|
330
|
-
role: "invalid";
|
|
331
331
|
} | undefined;
|
|
332
332
|
agentInputs?: {
|
|
333
333
|
conversation?: {
|
|
@@ -1939,6 +1939,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
1939
1939
|
} | undefined;
|
|
1940
1940
|
invalidAsk?: boolean | undefined;
|
|
1941
1941
|
delegation?: {
|
|
1942
|
+
role: "invalid";
|
|
1943
|
+
} | {
|
|
1942
1944
|
role: "root";
|
|
1943
1945
|
conversation?: {
|
|
1944
1946
|
messages: {
|
|
@@ -2173,8 +2175,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
2173
2175
|
} | undefined;
|
|
2174
2176
|
executionRevision?: number | undefined;
|
|
2175
2177
|
executionStartSeq?: number | undefined;
|
|
2176
|
-
} | {
|
|
2177
|
-
role: "invalid";
|
|
2178
2178
|
} | undefined;
|
|
2179
2179
|
agentInputs?: {
|
|
2180
2180
|
conversation?: {
|
|
@@ -3154,6 +3154,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
3154
3154
|
} | undefined;
|
|
3155
3155
|
invalidAsk?: boolean | undefined;
|
|
3156
3156
|
delegation?: {
|
|
3157
|
+
role: "invalid";
|
|
3158
|
+
} | {
|
|
3157
3159
|
role: "root";
|
|
3158
3160
|
conversation?: {
|
|
3159
3161
|
messages: {
|
|
@@ -3388,8 +3390,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
3388
3390
|
} | undefined;
|
|
3389
3391
|
executionRevision?: number | undefined;
|
|
3390
3392
|
executionStartSeq?: number | undefined;
|
|
3391
|
-
} | {
|
|
3392
|
-
role: "invalid";
|
|
3393
3393
|
} | undefined;
|
|
3394
3394
|
agentInputs?: {
|
|
3395
3395
|
conversation?: {
|
|
@@ -5124,6 +5124,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
5124
5124
|
currentStepId?: string | undefined;
|
|
5125
5125
|
error?: string | undefined;
|
|
5126
5126
|
delegation?: {
|
|
5127
|
+
role: "invalid";
|
|
5128
|
+
} | {
|
|
5127
5129
|
role: "root";
|
|
5128
5130
|
conversation?: {
|
|
5129
5131
|
messages: {
|
|
@@ -5358,8 +5360,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
5358
5360
|
} | undefined;
|
|
5359
5361
|
executionRevision?: number | undefined;
|
|
5360
5362
|
executionStartSeq?: number | undefined;
|
|
5361
|
-
} | {
|
|
5362
|
-
role: "invalid";
|
|
5363
5363
|
} | undefined;
|
|
5364
5364
|
lastWaitsError?: string | undefined;
|
|
5365
5365
|
automaticWakes?: number | undefined;
|
|
@@ -5597,6 +5597,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
5597
5597
|
} | undefined;
|
|
5598
5598
|
invalidAsk?: boolean | undefined;
|
|
5599
5599
|
delegation?: {
|
|
5600
|
+
role: "invalid";
|
|
5601
|
+
} | {
|
|
5600
5602
|
role: "root";
|
|
5601
5603
|
conversation?: {
|
|
5602
5604
|
messages: {
|
|
@@ -5831,8 +5833,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
5831
5833
|
} | undefined;
|
|
5832
5834
|
executionRevision?: number | undefined;
|
|
5833
5835
|
executionStartSeq?: number | undefined;
|
|
5834
|
-
} | {
|
|
5835
|
-
role: "invalid";
|
|
5836
5836
|
} | undefined;
|
|
5837
5837
|
agentInputs?: {
|
|
5838
5838
|
conversation?: {
|
|
@@ -6788,6 +6788,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
6788
6788
|
} | undefined;
|
|
6789
6789
|
invalidAsk?: boolean | undefined;
|
|
6790
6790
|
delegation?: {
|
|
6791
|
+
role: "invalid";
|
|
6792
|
+
} | {
|
|
6791
6793
|
role: "root";
|
|
6792
6794
|
conversation?: {
|
|
6793
6795
|
messages: {
|
|
@@ -7022,8 +7024,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
7022
7024
|
} | undefined;
|
|
7023
7025
|
executionRevision?: number | undefined;
|
|
7024
7026
|
executionStartSeq?: number | undefined;
|
|
7025
|
-
} | {
|
|
7026
|
-
role: "invalid";
|
|
7027
7027
|
} | undefined;
|
|
7028
7028
|
agentInputs?: {
|
|
7029
7029
|
conversation?: {
|
|
@@ -8717,6 +8717,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
8717
8717
|
currentStepId?: string | undefined;
|
|
8718
8718
|
error?: string | undefined;
|
|
8719
8719
|
delegation?: {
|
|
8720
|
+
role: "invalid";
|
|
8721
|
+
} | {
|
|
8720
8722
|
role: "root";
|
|
8721
8723
|
conversation?: {
|
|
8722
8724
|
messages: {
|
|
@@ -8951,8 +8953,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
8951
8953
|
} | undefined;
|
|
8952
8954
|
executionRevision?: number | undefined;
|
|
8953
8955
|
executionStartSeq?: number | undefined;
|
|
8954
|
-
} | {
|
|
8955
|
-
role: "invalid";
|
|
8956
8956
|
} | undefined;
|
|
8957
8957
|
lastWaitsError?: string | undefined;
|
|
8958
8958
|
automaticWakes?: number | undefined;
|
|
@@ -9250,6 +9250,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
9250
9250
|
} | undefined;
|
|
9251
9251
|
invalidAsk?: boolean | undefined;
|
|
9252
9252
|
delegation?: {
|
|
9253
|
+
role: "invalid";
|
|
9254
|
+
} | {
|
|
9253
9255
|
role: "root";
|
|
9254
9256
|
conversation?: {
|
|
9255
9257
|
messages: {
|
|
@@ -9484,8 +9486,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
9484
9486
|
} | undefined;
|
|
9485
9487
|
executionRevision?: number | undefined;
|
|
9486
9488
|
executionStartSeq?: number | undefined;
|
|
9487
|
-
} | {
|
|
9488
|
-
role: "invalid";
|
|
9489
9489
|
} | undefined;
|
|
9490
9490
|
agentInputs?: {
|
|
9491
9491
|
conversation?: {
|
|
@@ -11309,6 +11309,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
11309
11309
|
currentStepId?: string | undefined;
|
|
11310
11310
|
error?: string | undefined;
|
|
11311
11311
|
delegation?: {
|
|
11312
|
+
role: "invalid";
|
|
11313
|
+
} | {
|
|
11312
11314
|
role: "root";
|
|
11313
11315
|
conversation?: {
|
|
11314
11316
|
messages: {
|
|
@@ -11543,8 +11545,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
11543
11545
|
} | undefined;
|
|
11544
11546
|
executionRevision?: number | undefined;
|
|
11545
11547
|
executionStartSeq?: number | undefined;
|
|
11546
|
-
} | {
|
|
11547
|
-
role: "invalid";
|
|
11548
11548
|
} | undefined;
|
|
11549
11549
|
lastWaitsError?: string | undefined;
|
|
11550
11550
|
automaticWakes?: number | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hearsay-tools/squawk",
|
|
3
|
-
"version": "0.19.0-
|
|
3
|
+
"version": "0.19.0-pr4620.9203",
|
|
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-
|
|
73
|
-
"@open-mercato/cezar-contract": "0.19.0-
|
|
72
|
+
"@open-mercato/cezar-api-client": "0.19.0-pr4620.9203",
|
|
73
|
+
"@open-mercato/cezar-contract": "0.19.0-pr4620.9203",
|
|
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": "6599a0615d235b7ae1a1de861bcd8668b5657846"
|
|
91
91
|
}
|