@hearsay-tools/squawk 0.19.0-dev.9168 → 0.19.0-dev.9171
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/delegation/routes.d.ts +78 -78
- package/dist/features/github/github-comments.js +19 -6
- package/dist/features/github/github-comments.js.map +1 -1
- package/dist/features/hosts/routes.d.ts +44 -44
- package/dist/features/webhooks/routes.d.ts +38 -38
- package/dist/server/models-routes.d.ts +12 -12
- package/dist/server/project-settings-routes.d.ts +107 -107
- package/dist/server/provider-sign-in-routes.d.ts +2 -2
- package/dist/server/providers-routes.d.ts +58 -58
- package/dist/server/repo-routes.d.ts +13 -13
- package/dist/server/runner-install-routes.d.ts +10 -10
- package/dist/server/runners-routes.d.ts +10 -10
- package/dist/server/server.d.ts +1170 -1170
- package/dist/server/workspace-identity-routes.d.ts +5 -5
- package/dist/server/workspace-live-routes.d.ts +5 -5
- package/dist/server/workspace-routes.d.ts +85 -85
- package/package.json +4 -4
package/dist/server/server.d.ts
CHANGED
|
@@ -234,10 +234,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
234
234
|
};
|
|
235
235
|
} | {
|
|
236
236
|
output: {
|
|
237
|
-
|
|
237
|
+
path: string;
|
|
238
|
+
parent: string | null;
|
|
239
|
+
dirs: {
|
|
240
|
+
name: string;
|
|
241
|
+
path: string;
|
|
242
|
+
isRepo: boolean;
|
|
243
|
+
}[];
|
|
244
|
+
truncated: boolean;
|
|
238
245
|
};
|
|
239
246
|
outputFormat: "json";
|
|
240
|
-
status:
|
|
247
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
241
248
|
input: {
|
|
242
249
|
query: {
|
|
243
250
|
path?: string | undefined;
|
|
@@ -246,17 +253,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
246
253
|
};
|
|
247
254
|
} | {
|
|
248
255
|
output: {
|
|
249
|
-
|
|
250
|
-
parent: string | null;
|
|
251
|
-
dirs: {
|
|
252
|
-
name: string;
|
|
253
|
-
path: string;
|
|
254
|
-
isRepo: boolean;
|
|
255
|
-
}[];
|
|
256
|
-
truncated: boolean;
|
|
256
|
+
error: string;
|
|
257
257
|
};
|
|
258
258
|
outputFormat: "json";
|
|
259
|
-
status:
|
|
259
|
+
status: 400 | 403 | 404;
|
|
260
260
|
input: {
|
|
261
261
|
query: {
|
|
262
262
|
path?: string | undefined;
|
|
@@ -268,6 +268,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
268
268
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
269
269
|
"/workspace/events": {
|
|
270
270
|
$get: {
|
|
271
|
+
output: {
|
|
272
|
+
error: string;
|
|
273
|
+
code?: "invalid_input" | undefined;
|
|
274
|
+
};
|
|
275
|
+
outputFormat: "json";
|
|
276
|
+
status: 400;
|
|
277
|
+
input: {
|
|
278
|
+
query: {
|
|
279
|
+
runs?: "summary" | undefined;
|
|
280
|
+
};
|
|
281
|
+
};
|
|
282
|
+
} | {
|
|
271
283
|
output: {};
|
|
272
284
|
outputFormat: string;
|
|
273
285
|
status: import("hono/utils/http-status").StatusCode;
|
|
@@ -276,7 +288,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
276
288
|
runs?: "summary" | undefined;
|
|
277
289
|
};
|
|
278
290
|
};
|
|
279
|
-
}
|
|
291
|
+
};
|
|
292
|
+
};
|
|
293
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
294
|
+
"/models": {
|
|
295
|
+
$get: {
|
|
280
296
|
output: {
|
|
281
297
|
error: string;
|
|
282
298
|
code?: "invalid_input" | undefined;
|
|
@@ -285,17 +301,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
285
301
|
status: 400;
|
|
286
302
|
input: {
|
|
287
303
|
query: {
|
|
288
|
-
|
|
304
|
+
runner: string | string[];
|
|
305
|
+
profileId?: string | undefined;
|
|
289
306
|
};
|
|
290
307
|
};
|
|
291
|
-
}
|
|
292
|
-
};
|
|
293
|
-
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
294
|
-
"/models": {
|
|
295
|
-
$get: {
|
|
308
|
+
} | {
|
|
296
309
|
output: {
|
|
297
310
|
error: string;
|
|
298
|
-
code?: "invalid_input" | undefined;
|
|
299
311
|
};
|
|
300
312
|
outputFormat: "json";
|
|
301
313
|
status: 400;
|
|
@@ -326,46 +338,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
326
338
|
profileId?: string | undefined;
|
|
327
339
|
};
|
|
328
340
|
};
|
|
329
|
-
} | {
|
|
330
|
-
output: {
|
|
331
|
-
error: string;
|
|
332
|
-
};
|
|
333
|
-
outputFormat: "json";
|
|
334
|
-
status: 400;
|
|
335
|
-
input: {
|
|
336
|
-
query: {
|
|
337
|
-
runner: string | string[];
|
|
338
|
-
profileId?: string | undefined;
|
|
339
|
-
};
|
|
340
|
-
};
|
|
341
341
|
};
|
|
342
342
|
};
|
|
343
343
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
344
344
|
"/workspace/activity": {
|
|
345
345
|
$get: {
|
|
346
|
-
output: {
|
|
347
|
-
error: string;
|
|
348
|
-
code?: "invalid_input" | undefined;
|
|
349
|
-
};
|
|
350
|
-
outputFormat: "json";
|
|
351
|
-
status: 400;
|
|
352
|
-
input: {
|
|
353
|
-
query: {
|
|
354
|
-
project?: string | undefined;
|
|
355
|
-
};
|
|
356
|
-
};
|
|
357
|
-
} | {
|
|
358
|
-
output: {
|
|
359
|
-
error: string;
|
|
360
|
-
};
|
|
361
|
-
outputFormat: "json";
|
|
362
|
-
status: 404 | 409 | 503;
|
|
363
|
-
input: {
|
|
364
|
-
query: {
|
|
365
|
-
project?: string | undefined;
|
|
366
|
-
};
|
|
367
|
-
};
|
|
368
|
-
} | {
|
|
369
346
|
output: {
|
|
370
347
|
generatedAt: string;
|
|
371
348
|
projects: {
|
|
@@ -616,6 +593,29 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
616
593
|
project?: string | undefined;
|
|
617
594
|
};
|
|
618
595
|
};
|
|
596
|
+
} | {
|
|
597
|
+
output: {
|
|
598
|
+
error: string;
|
|
599
|
+
code?: "invalid_input" | undefined;
|
|
600
|
+
};
|
|
601
|
+
outputFormat: "json";
|
|
602
|
+
status: 400;
|
|
603
|
+
input: {
|
|
604
|
+
query: {
|
|
605
|
+
project?: string | undefined;
|
|
606
|
+
};
|
|
607
|
+
};
|
|
608
|
+
} | {
|
|
609
|
+
output: {
|
|
610
|
+
error: string;
|
|
611
|
+
};
|
|
612
|
+
outputFormat: "json";
|
|
613
|
+
status: 404 | 409 | 503;
|
|
614
|
+
input: {
|
|
615
|
+
query: {
|
|
616
|
+
project?: string | undefined;
|
|
617
|
+
};
|
|
618
|
+
};
|
|
619
619
|
};
|
|
620
620
|
};
|
|
621
621
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
@@ -940,7 +940,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
940
940
|
error: string;
|
|
941
941
|
};
|
|
942
942
|
outputFormat: "json";
|
|
943
|
-
status:
|
|
943
|
+
status: 400;
|
|
944
944
|
input: {
|
|
945
945
|
json: {
|
|
946
946
|
provider: string;
|
|
@@ -952,7 +952,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
952
952
|
error: string;
|
|
953
953
|
};
|
|
954
954
|
outputFormat: "json";
|
|
955
|
-
status:
|
|
955
|
+
status: 409;
|
|
956
956
|
input: {
|
|
957
957
|
json: {
|
|
958
958
|
provider: string;
|
|
@@ -1205,18 +1205,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1205
1205
|
};
|
|
1206
1206
|
} | {
|
|
1207
1207
|
output: {
|
|
1208
|
-
|
|
1209
|
-
requiresAccountHome?: boolean | undefined;
|
|
1210
|
-
provider: string;
|
|
1211
|
-
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
1212
|
-
enabled?: boolean | undefined;
|
|
1213
|
-
hint?: string | undefined;
|
|
1214
|
-
authFailureId?: string | undefined;
|
|
1215
|
-
profileId?: string | undefined;
|
|
1216
|
-
}[];
|
|
1208
|
+
error: string;
|
|
1217
1209
|
};
|
|
1218
1210
|
outputFormat: "json";
|
|
1219
|
-
status:
|
|
1211
|
+
status: 500;
|
|
1220
1212
|
input: {
|
|
1221
1213
|
param: {
|
|
1222
1214
|
provider: string;
|
|
@@ -1228,10 +1220,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1228
1220
|
};
|
|
1229
1221
|
} | {
|
|
1230
1222
|
output: {
|
|
1231
|
-
|
|
1223
|
+
providers: {
|
|
1224
|
+
requiresAccountHome?: boolean | undefined;
|
|
1225
|
+
provider: string;
|
|
1226
|
+
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
1227
|
+
enabled?: boolean | undefined;
|
|
1228
|
+
hint?: string | undefined;
|
|
1229
|
+
authFailureId?: string | undefined;
|
|
1230
|
+
profileId?: string | undefined;
|
|
1231
|
+
}[];
|
|
1232
1232
|
};
|
|
1233
1233
|
outputFormat: "json";
|
|
1234
|
-
status:
|
|
1234
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1235
1235
|
input: {
|
|
1236
1236
|
param: {
|
|
1237
1237
|
provider: string;
|
|
@@ -1263,18 +1263,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1263
1263
|
};
|
|
1264
1264
|
} | {
|
|
1265
1265
|
output: {
|
|
1266
|
-
|
|
1267
|
-
requiresAccountHome?: boolean | undefined;
|
|
1268
|
-
provider: string;
|
|
1269
|
-
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
1270
|
-
enabled?: boolean | undefined;
|
|
1271
|
-
hint?: string | undefined;
|
|
1272
|
-
authFailureId?: string | undefined;
|
|
1273
|
-
profileId?: string | undefined;
|
|
1274
|
-
}[];
|
|
1266
|
+
error: string;
|
|
1275
1267
|
};
|
|
1276
1268
|
outputFormat: "json";
|
|
1277
|
-
status:
|
|
1269
|
+
status: 409;
|
|
1278
1270
|
input: {
|
|
1279
1271
|
param: {
|
|
1280
1272
|
provider: string;
|
|
@@ -1286,10 +1278,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1286
1278
|
};
|
|
1287
1279
|
} | {
|
|
1288
1280
|
output: {
|
|
1289
|
-
|
|
1281
|
+
providers: {
|
|
1282
|
+
requiresAccountHome?: boolean | undefined;
|
|
1283
|
+
provider: string;
|
|
1284
|
+
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
1285
|
+
enabled?: boolean | undefined;
|
|
1286
|
+
hint?: string | undefined;
|
|
1287
|
+
authFailureId?: string | undefined;
|
|
1288
|
+
profileId?: string | undefined;
|
|
1289
|
+
}[];
|
|
1290
1290
|
};
|
|
1291
1291
|
outputFormat: "json";
|
|
1292
|
-
status:
|
|
1292
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1293
1293
|
input: {
|
|
1294
1294
|
param: {
|
|
1295
1295
|
provider: string;
|
|
@@ -1308,7 +1308,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1308
1308
|
error: string;
|
|
1309
1309
|
};
|
|
1310
1310
|
outputFormat: "json";
|
|
1311
|
-
status:
|
|
1311
|
+
status: 400;
|
|
1312
1312
|
input: {
|
|
1313
1313
|
json: {
|
|
1314
1314
|
provider: string;
|
|
@@ -1320,7 +1320,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1320
1320
|
error: string;
|
|
1321
1321
|
};
|
|
1322
1322
|
outputFormat: "json";
|
|
1323
|
-
status:
|
|
1323
|
+
status: 409;
|
|
1324
1324
|
input: {
|
|
1325
1325
|
json: {
|
|
1326
1326
|
provider: string;
|
|
@@ -1408,35 +1408,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1408
1408
|
"/workspace/config": {
|
|
1409
1409
|
$put: {
|
|
1410
1410
|
output: {
|
|
1411
|
-
|
|
1412
|
-
browseRoot: string;
|
|
1413
|
-
projectsDir: string;
|
|
1414
|
-
archiveOnMerge: boolean | null;
|
|
1415
|
-
effectiveArchiveOnMerge: boolean;
|
|
1416
|
-
archiveOnMergeSource: "default" | "environment" | "global";
|
|
1417
|
-
composerDefaults: {
|
|
1418
|
-
autonomous: boolean | null;
|
|
1419
|
-
worktree: boolean | null;
|
|
1420
|
-
inheritedAutonomous: "source-dependent" | boolean;
|
|
1421
|
-
inheritedWorktree: boolean;
|
|
1422
|
-
};
|
|
1423
|
-
resources: {
|
|
1424
|
-
maxParallel: number;
|
|
1425
|
-
maxMonitoringSessions: number;
|
|
1426
|
-
monitoringWakeIntervalMinutes: number | null;
|
|
1427
|
-
autoResumeOnUsageLimit: boolean;
|
|
1428
|
-
memoryLimitMb: number | null;
|
|
1429
|
-
worktreeRetentionDefault: number;
|
|
1430
|
-
};
|
|
1431
|
-
agentDefaults: {
|
|
1432
|
-
runner?: string | undefined;
|
|
1433
|
-
models?: {
|
|
1434
|
-
[x: string]: string | undefined;
|
|
1435
|
-
} | undefined;
|
|
1436
|
-
};
|
|
1411
|
+
error: string;
|
|
1437
1412
|
};
|
|
1438
1413
|
outputFormat: "json";
|
|
1439
|
-
status:
|
|
1414
|
+
status: 400;
|
|
1440
1415
|
input: {
|
|
1441
1416
|
json: {
|
|
1442
1417
|
browseRoot?: string | undefined;
|
|
@@ -1465,7 +1440,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1465
1440
|
error: string;
|
|
1466
1441
|
};
|
|
1467
1442
|
outputFormat: "json";
|
|
1468
|
-
status:
|
|
1443
|
+
status: 500;
|
|
1469
1444
|
input: {
|
|
1470
1445
|
json: {
|
|
1471
1446
|
browseRoot?: string | undefined;
|
|
@@ -1491,10 +1466,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1491
1466
|
};
|
|
1492
1467
|
} | {
|
|
1493
1468
|
output: {
|
|
1494
|
-
|
|
1469
|
+
homeDir: string;
|
|
1470
|
+
browseRoot: string;
|
|
1471
|
+
projectsDir: string;
|
|
1472
|
+
archiveOnMerge: boolean | null;
|
|
1473
|
+
effectiveArchiveOnMerge: boolean;
|
|
1474
|
+
archiveOnMergeSource: "default" | "environment" | "global";
|
|
1475
|
+
composerDefaults: {
|
|
1476
|
+
autonomous: boolean | null;
|
|
1477
|
+
worktree: boolean | null;
|
|
1478
|
+
inheritedAutonomous: "source-dependent" | boolean;
|
|
1479
|
+
inheritedWorktree: boolean;
|
|
1480
|
+
};
|
|
1481
|
+
resources: {
|
|
1482
|
+
maxParallel: number;
|
|
1483
|
+
maxMonitoringSessions: number;
|
|
1484
|
+
monitoringWakeIntervalMinutes: number | null;
|
|
1485
|
+
autoResumeOnUsageLimit: boolean;
|
|
1486
|
+
memoryLimitMb: number | null;
|
|
1487
|
+
worktreeRetentionDefault: number;
|
|
1488
|
+
};
|
|
1489
|
+
agentDefaults: {
|
|
1490
|
+
runner?: string | undefined;
|
|
1491
|
+
models?: {
|
|
1492
|
+
[x: string]: string | undefined;
|
|
1493
|
+
} | undefined;
|
|
1494
|
+
};
|
|
1495
1495
|
};
|
|
1496
1496
|
outputFormat: "json";
|
|
1497
|
-
status:
|
|
1497
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1498
1498
|
input: {
|
|
1499
1499
|
json: {
|
|
1500
1500
|
browseRoot?: string | undefined;
|
|
@@ -1566,41 +1566,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1566
1566
|
"/workspace/ui-state": {
|
|
1567
1567
|
$put: {
|
|
1568
1568
|
output: {
|
|
1569
|
-
|
|
1570
|
-
sidebar?: {
|
|
1571
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
1572
|
-
collapsed?: {
|
|
1573
|
-
[x: string]: boolean;
|
|
1574
|
-
} | undefined;
|
|
1575
|
-
projectOrder?: string[] | undefined;
|
|
1576
|
-
} | undefined;
|
|
1577
|
-
dismissedProviderAuthFailures?: {
|
|
1578
|
-
[x: string]: string | undefined;
|
|
1579
|
-
} | undefined;
|
|
1580
|
-
appearance?: {
|
|
1581
|
-
accent?: "cezarion" | "lime" | "violet" | undefined;
|
|
1582
|
-
density?: "comfortable" | "compact" | "ultra" | undefined;
|
|
1583
|
-
width?: "narrow" | "wide" | undefined;
|
|
1584
|
-
} | undefined;
|
|
1585
|
-
notifications?: {
|
|
1586
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
1587
|
-
enabled?: boolean | undefined;
|
|
1588
|
-
} | undefined;
|
|
1589
|
-
taskTable?: {
|
|
1590
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
1591
|
-
expandedColumns?: {
|
|
1592
|
-
[x: string]: boolean;
|
|
1593
|
-
} | undefined;
|
|
1594
|
-
} | undefined;
|
|
1595
|
-
lastLocation?: {
|
|
1596
|
-
projectId: string;
|
|
1597
|
-
pathname: string;
|
|
1598
|
-
search?: string | undefined;
|
|
1599
|
-
hash?: string | undefined;
|
|
1600
|
-
} | undefined;
|
|
1569
|
+
error: string;
|
|
1601
1570
|
};
|
|
1602
1571
|
outputFormat: "json";
|
|
1603
|
-
status:
|
|
1572
|
+
status: 500;
|
|
1604
1573
|
input: {
|
|
1605
1574
|
json: {
|
|
1606
1575
|
[x: string]: unknown;
|
|
@@ -1633,10 +1602,41 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1633
1602
|
};
|
|
1634
1603
|
} | {
|
|
1635
1604
|
output: {
|
|
1636
|
-
|
|
1605
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1606
|
+
sidebar?: {
|
|
1607
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1608
|
+
collapsed?: {
|
|
1609
|
+
[x: string]: boolean;
|
|
1610
|
+
} | undefined;
|
|
1611
|
+
projectOrder?: string[] | undefined;
|
|
1612
|
+
} | undefined;
|
|
1613
|
+
dismissedProviderAuthFailures?: {
|
|
1614
|
+
[x: string]: string | undefined;
|
|
1615
|
+
} | undefined;
|
|
1616
|
+
appearance?: {
|
|
1617
|
+
accent?: "cezarion" | "lime" | "violet" | undefined;
|
|
1618
|
+
density?: "comfortable" | "compact" | "ultra" | undefined;
|
|
1619
|
+
width?: "narrow" | "wide" | undefined;
|
|
1620
|
+
} | undefined;
|
|
1621
|
+
notifications?: {
|
|
1622
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1623
|
+
enabled?: boolean | undefined;
|
|
1624
|
+
} | undefined;
|
|
1625
|
+
taskTable?: {
|
|
1626
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1627
|
+
expandedColumns?: {
|
|
1628
|
+
[x: string]: boolean;
|
|
1629
|
+
} | undefined;
|
|
1630
|
+
} | undefined;
|
|
1631
|
+
lastLocation?: {
|
|
1632
|
+
projectId: string;
|
|
1633
|
+
pathname: string;
|
|
1634
|
+
search?: string | undefined;
|
|
1635
|
+
hash?: string | undefined;
|
|
1636
|
+
} | undefined;
|
|
1637
1637
|
};
|
|
1638
1638
|
outputFormat: "json";
|
|
1639
|
-
status:
|
|
1639
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1640
1640
|
input: {
|
|
1641
1641
|
json: {
|
|
1642
1642
|
[x: string]: unknown;
|
|
@@ -1714,10 +1714,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1714
1714
|
"/workspace/agent-profiles": {
|
|
1715
1715
|
$post: {
|
|
1716
1716
|
output: {
|
|
1717
|
-
|
|
1717
|
+
profile: {
|
|
1718
|
+
id: string;
|
|
1719
|
+
provider: string;
|
|
1720
|
+
label: string;
|
|
1721
|
+
configDir?: string | undefined;
|
|
1722
|
+
path?: string | undefined;
|
|
1723
|
+
exists: boolean;
|
|
1724
|
+
looksValid: boolean;
|
|
1725
|
+
isDefault: boolean;
|
|
1726
|
+
status?: {
|
|
1727
|
+
requiresAccountHome?: boolean | undefined;
|
|
1728
|
+
provider: string;
|
|
1729
|
+
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
1730
|
+
enabled?: boolean | undefined;
|
|
1731
|
+
hint?: string | undefined;
|
|
1732
|
+
authFailureId?: string | undefined;
|
|
1733
|
+
profileId?: string | undefined;
|
|
1734
|
+
} | undefined;
|
|
1735
|
+
};
|
|
1718
1736
|
};
|
|
1719
1737
|
outputFormat: "json";
|
|
1720
|
-
status:
|
|
1738
|
+
status: 201;
|
|
1721
1739
|
input: {
|
|
1722
1740
|
json: {
|
|
1723
1741
|
provider: string;
|
|
@@ -1743,7 +1761,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1743
1761
|
error: string;
|
|
1744
1762
|
};
|
|
1745
1763
|
outputFormat: "json";
|
|
1746
|
-
status:
|
|
1764
|
+
status: 409;
|
|
1747
1765
|
input: {
|
|
1748
1766
|
json: {
|
|
1749
1767
|
provider: string;
|
|
@@ -1753,28 +1771,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1753
1771
|
};
|
|
1754
1772
|
} | {
|
|
1755
1773
|
output: {
|
|
1756
|
-
|
|
1757
|
-
id: string;
|
|
1758
|
-
provider: string;
|
|
1759
|
-
label: string;
|
|
1760
|
-
configDir?: string | undefined;
|
|
1761
|
-
path?: string | undefined;
|
|
1762
|
-
exists: boolean;
|
|
1763
|
-
looksValid: boolean;
|
|
1764
|
-
isDefault: boolean;
|
|
1765
|
-
status?: {
|
|
1766
|
-
requiresAccountHome?: boolean | undefined;
|
|
1767
|
-
provider: string;
|
|
1768
|
-
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
1769
|
-
enabled?: boolean | undefined;
|
|
1770
|
-
hint?: string | undefined;
|
|
1771
|
-
authFailureId?: string | undefined;
|
|
1772
|
-
profileId?: string | undefined;
|
|
1773
|
-
} | undefined;
|
|
1774
|
-
};
|
|
1774
|
+
error: string;
|
|
1775
1775
|
};
|
|
1776
1776
|
outputFormat: "json";
|
|
1777
|
-
status:
|
|
1777
|
+
status: 500;
|
|
1778
1778
|
input: {
|
|
1779
1779
|
json: {
|
|
1780
1780
|
provider: string;
|
|
@@ -1808,7 +1808,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1808
1808
|
error: string;
|
|
1809
1809
|
};
|
|
1810
1810
|
outputFormat: "json";
|
|
1811
|
-
status:
|
|
1811
|
+
status: 400;
|
|
1812
1812
|
input: {
|
|
1813
1813
|
param: {
|
|
1814
1814
|
id: string;
|
|
@@ -1824,7 +1824,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1824
1824
|
error: string;
|
|
1825
1825
|
};
|
|
1826
1826
|
outputFormat: "json";
|
|
1827
|
-
status:
|
|
1827
|
+
status: 404;
|
|
1828
1828
|
input: {
|
|
1829
1829
|
param: {
|
|
1830
1830
|
id: string;
|
|
@@ -1840,7 +1840,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1840
1840
|
error: string;
|
|
1841
1841
|
};
|
|
1842
1842
|
outputFormat: "json";
|
|
1843
|
-
status:
|
|
1843
|
+
status: 409;
|
|
1844
1844
|
input: {
|
|
1845
1845
|
param: {
|
|
1846
1846
|
id: string;
|
|
@@ -1966,10 +1966,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1966
1966
|
$put: {
|
|
1967
1967
|
output: {
|
|
1968
1968
|
error: string;
|
|
1969
|
-
code: "no-boot-project";
|
|
1970
1969
|
};
|
|
1971
1970
|
outputFormat: "json";
|
|
1972
|
-
status:
|
|
1971
|
+
status: 400;
|
|
1973
1972
|
input: {
|
|
1974
1973
|
json: {
|
|
1975
1974
|
projectId: string;
|
|
@@ -1993,9 +1992,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1993
1992
|
} | {
|
|
1994
1993
|
output: {
|
|
1995
1994
|
error: string;
|
|
1995
|
+
code: "no-boot-project";
|
|
1996
1996
|
};
|
|
1997
1997
|
outputFormat: "json";
|
|
1998
|
-
status:
|
|
1998
|
+
status: 409;
|
|
1999
1999
|
input: {
|
|
2000
2000
|
json: {
|
|
2001
2001
|
projectId: string;
|
|
@@ -2059,7 +2059,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2059
2059
|
error: string;
|
|
2060
2060
|
};
|
|
2061
2061
|
outputFormat: "json";
|
|
2062
|
-
status:
|
|
2062
|
+
status: 404;
|
|
2063
2063
|
input: {
|
|
2064
2064
|
param: {
|
|
2065
2065
|
id: string;
|
|
@@ -2070,7 +2070,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2070
2070
|
error: string;
|
|
2071
2071
|
};
|
|
2072
2072
|
outputFormat: "json";
|
|
2073
|
-
status:
|
|
2073
|
+
status: 409;
|
|
2074
2074
|
input: {
|
|
2075
2075
|
param: {
|
|
2076
2076
|
id: string;
|
|
@@ -2081,7 +2081,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2081
2081
|
error: string;
|
|
2082
2082
|
};
|
|
2083
2083
|
outputFormat: "json";
|
|
2084
|
-
status:
|
|
2084
|
+
status: 500;
|
|
2085
2085
|
input: {
|
|
2086
2086
|
param: {
|
|
2087
2087
|
id: string;
|
|
@@ -2145,17 +2145,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2145
2145
|
} & {
|
|
2146
2146
|
"/projects": {
|
|
2147
2147
|
$post: {
|
|
2148
|
-
output: {
|
|
2149
|
-
error: string;
|
|
2150
|
-
};
|
|
2151
|
-
outputFormat: "json";
|
|
2152
|
-
status: 400 | 500;
|
|
2153
|
-
input: {
|
|
2154
|
-
json: {
|
|
2155
|
-
root: string;
|
|
2156
|
-
};
|
|
2157
|
-
};
|
|
2158
|
-
} | {
|
|
2159
2148
|
output: {
|
|
2160
2149
|
project: {
|
|
2161
2150
|
id: string;
|
|
@@ -2186,10 +2175,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2186
2175
|
agent: boolean;
|
|
2187
2176
|
}[] | undefined;
|
|
2188
2177
|
};
|
|
2189
|
-
error
|
|
2178
|
+
error?: string | undefined;
|
|
2190
2179
|
};
|
|
2191
2180
|
outputFormat: "json";
|
|
2192
|
-
status:
|
|
2181
|
+
status: 200;
|
|
2193
2182
|
input: {
|
|
2194
2183
|
json: {
|
|
2195
2184
|
root: string;
|
|
@@ -2226,32 +2215,31 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2226
2215
|
agent: boolean;
|
|
2227
2216
|
}[] | undefined;
|
|
2228
2217
|
};
|
|
2229
|
-
error
|
|
2218
|
+
error: string;
|
|
2230
2219
|
};
|
|
2231
2220
|
outputFormat: "json";
|
|
2232
|
-
status:
|
|
2221
|
+
status: 409;
|
|
2233
2222
|
input: {
|
|
2234
2223
|
json: {
|
|
2235
2224
|
root: string;
|
|
2236
2225
|
};
|
|
2237
2226
|
};
|
|
2238
|
-
}
|
|
2239
|
-
};
|
|
2240
|
-
} & {
|
|
2241
|
-
"/projects/:projectId": {
|
|
2242
|
-
$delete: {
|
|
2227
|
+
} | {
|
|
2243
2228
|
output: {
|
|
2244
2229
|
error: string;
|
|
2245
|
-
code?: "no-boot-project" | undefined;
|
|
2246
2230
|
};
|
|
2247
2231
|
outputFormat: "json";
|
|
2248
|
-
status:
|
|
2232
|
+
status: 400 | 500;
|
|
2249
2233
|
input: {
|
|
2250
|
-
|
|
2251
|
-
|
|
2234
|
+
json: {
|
|
2235
|
+
root: string;
|
|
2252
2236
|
};
|
|
2253
2237
|
};
|
|
2254
|
-
}
|
|
2238
|
+
};
|
|
2239
|
+
};
|
|
2240
|
+
} & {
|
|
2241
|
+
"/projects/:projectId": {
|
|
2242
|
+
$delete: {
|
|
2255
2243
|
output: {
|
|
2256
2244
|
error: string;
|
|
2257
2245
|
};
|
|
@@ -2296,11 +2284,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2296
2284
|
projectId: string;
|
|
2297
2285
|
};
|
|
2298
2286
|
};
|
|
2299
|
-
}
|
|
2300
|
-
};
|
|
2301
|
-
} & {
|
|
2302
|
-
"/projects/:projectId": {
|
|
2303
|
-
$patch: {
|
|
2287
|
+
} | {
|
|
2304
2288
|
output: {
|
|
2305
2289
|
error: string;
|
|
2306
2290
|
code?: "no-boot-project" | undefined;
|
|
@@ -2308,21 +2292,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2308
2292
|
outputFormat: "json";
|
|
2309
2293
|
status: 404 | 409;
|
|
2310
2294
|
input: {
|
|
2311
|
-
json: {
|
|
2312
|
-
maxParallel?: number | null | undefined;
|
|
2313
|
-
tags?: string[] | null | undefined;
|
|
2314
|
-
webhook?: {
|
|
2315
|
-
url: string;
|
|
2316
|
-
token?: string | undefined;
|
|
2317
|
-
triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
|
|
2318
|
-
} | null | undefined;
|
|
2319
|
-
};
|
|
2320
|
-
} & {
|
|
2321
2295
|
param: {
|
|
2322
2296
|
projectId: string;
|
|
2323
2297
|
};
|
|
2324
2298
|
};
|
|
2325
|
-
}
|
|
2299
|
+
};
|
|
2300
|
+
};
|
|
2301
|
+
} & {
|
|
2302
|
+
"/projects/:projectId": {
|
|
2303
|
+
$patch: {
|
|
2326
2304
|
output: {
|
|
2327
2305
|
error: string;
|
|
2328
2306
|
};
|
|
@@ -2413,6 +2391,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2413
2391
|
projectId: string;
|
|
2414
2392
|
};
|
|
2415
2393
|
};
|
|
2394
|
+
} | {
|
|
2395
|
+
output: {
|
|
2396
|
+
error: string;
|
|
2397
|
+
code?: "no-boot-project" | undefined;
|
|
2398
|
+
};
|
|
2399
|
+
outputFormat: "json";
|
|
2400
|
+
status: 404 | 409;
|
|
2401
|
+
input: {
|
|
2402
|
+
json: {
|
|
2403
|
+
maxParallel?: number | null | undefined;
|
|
2404
|
+
tags?: string[] | null | undefined;
|
|
2405
|
+
webhook?: {
|
|
2406
|
+
url: string;
|
|
2407
|
+
token?: string | undefined;
|
|
2408
|
+
triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
|
|
2409
|
+
} | null | undefined;
|
|
2410
|
+
};
|
|
2411
|
+
} & {
|
|
2412
|
+
param: {
|
|
2413
|
+
projectId: string;
|
|
2414
|
+
};
|
|
2415
|
+
};
|
|
2416
2416
|
};
|
|
2417
2417
|
};
|
|
2418
2418
|
} & {
|
|
@@ -2647,11 +2647,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2647
2647
|
"/runner-install/:runner": {
|
|
2648
2648
|
$post: {
|
|
2649
2649
|
output: {
|
|
2650
|
-
|
|
2651
|
-
|
|
2650
|
+
supported: boolean;
|
|
2651
|
+
installedVersion: string | null;
|
|
2652
|
+
latestVersion: string | null;
|
|
2653
|
+
updateAvailable: boolean;
|
|
2654
|
+
phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
|
|
2655
|
+
error: string | null;
|
|
2652
2656
|
};
|
|
2653
2657
|
outputFormat: "json";
|
|
2654
|
-
status:
|
|
2658
|
+
status: 202;
|
|
2655
2659
|
input: {
|
|
2656
2660
|
param: {
|
|
2657
2661
|
runner: string;
|
|
@@ -2663,15 +2667,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2663
2667
|
};
|
|
2664
2668
|
} | {
|
|
2665
2669
|
output: {
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
latestVersion: string | null;
|
|
2669
|
-
updateAvailable: boolean;
|
|
2670
|
-
phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
|
|
2671
|
-
error: string | null;
|
|
2670
|
+
error: string;
|
|
2671
|
+
code?: "invalid_input" | undefined;
|
|
2672
2672
|
};
|
|
2673
2673
|
outputFormat: "json";
|
|
2674
|
-
status:
|
|
2674
|
+
status: 400;
|
|
2675
2675
|
input: {
|
|
2676
2676
|
param: {
|
|
2677
2677
|
runner: string;
|
|
@@ -2746,18 +2746,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2746
2746
|
"/workspace/identity": {
|
|
2747
2747
|
$get: {
|
|
2748
2748
|
output: {
|
|
2749
|
-
|
|
2749
|
+
installId: string;
|
|
2750
|
+
version: string;
|
|
2750
2751
|
};
|
|
2751
2752
|
outputFormat: "json";
|
|
2752
|
-
status:
|
|
2753
|
+
status: 200;
|
|
2753
2754
|
input: {};
|
|
2754
2755
|
} | {
|
|
2755
2756
|
output: {
|
|
2756
|
-
|
|
2757
|
-
version: string;
|
|
2757
|
+
error: string;
|
|
2758
2758
|
};
|
|
2759
2759
|
outputFormat: "json";
|
|
2760
|
-
status:
|
|
2760
|
+
status: 503;
|
|
2761
2761
|
input: {};
|
|
2762
2762
|
};
|
|
2763
2763
|
};
|
|
@@ -3047,18 +3047,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3047
3047
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
3048
3048
|
"/plan": {
|
|
3049
3049
|
$post: {
|
|
3050
|
-
output: {
|
|
3051
|
-
error: string;
|
|
3052
|
-
};
|
|
3053
|
-
outputFormat: "json";
|
|
3054
|
-
status: 400 | 404 | 409;
|
|
3055
|
-
input: {
|
|
3056
|
-
json: {
|
|
3057
|
-
task: string;
|
|
3058
|
-
agentProfile?: string | undefined;
|
|
3059
|
-
};
|
|
3060
|
-
};
|
|
3061
|
-
} | {
|
|
3062
3050
|
output: {
|
|
3063
3051
|
name?: string;
|
|
3064
3052
|
steps: {
|
|
@@ -3095,6 +3083,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3095
3083
|
agentProfile?: string | undefined;
|
|
3096
3084
|
};
|
|
3097
3085
|
};
|
|
3086
|
+
} | {
|
|
3087
|
+
output: {
|
|
3088
|
+
error: string;
|
|
3089
|
+
};
|
|
3090
|
+
outputFormat: "json";
|
|
3091
|
+
status: 400 | 404 | 409;
|
|
3092
|
+
input: {
|
|
3093
|
+
json: {
|
|
3094
|
+
task: string;
|
|
3095
|
+
agentProfile?: string | undefined;
|
|
3096
|
+
};
|
|
3097
|
+
};
|
|
3098
3098
|
};
|
|
3099
3099
|
};
|
|
3100
3100
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
@@ -3144,42 +3144,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3144
3144
|
"/ui-state": {
|
|
3145
3145
|
$put: {
|
|
3146
3146
|
output: {
|
|
3147
|
-
|
|
3148
|
-
sidebarLimits?: {
|
|
3149
|
-
overall?: number | null | undefined;
|
|
3150
|
-
needsYou?: number | null | undefined;
|
|
3151
|
-
finished?: number | null | undefined;
|
|
3152
|
-
working?: number | null | undefined;
|
|
3153
|
-
} | undefined;
|
|
3154
|
-
lastTask?: {
|
|
3155
|
-
source: "skill" | "workflow";
|
|
3156
|
-
ref: string;
|
|
3157
|
-
} | null | undefined;
|
|
3158
|
-
recentSources?: {
|
|
3159
|
-
source: "skill" | "workflow";
|
|
3160
|
-
ref: string;
|
|
3161
|
-
}[] | undefined;
|
|
3162
|
-
lastWorktree?: boolean | undefined;
|
|
3163
|
-
lastAutonomous?: boolean | undefined;
|
|
3164
|
-
skillUsage?: {
|
|
3165
|
-
[x: string]: number;
|
|
3166
|
-
} | undefined;
|
|
3167
|
-
runsView?: "list" | "table" | undefined;
|
|
3168
|
-
githubView?: "issues" | "prs" | undefined;
|
|
3169
|
-
appearance?: {
|
|
3170
|
-
accent?: "cezarion" | "lime" | "violet" | undefined;
|
|
3171
|
-
density?: "comfortable" | "compact" | "ultra" | undefined;
|
|
3172
|
-
width?: "narrow" | "wide" | undefined;
|
|
3173
|
-
} | undefined;
|
|
3174
|
-
promptTemplates?: {
|
|
3175
|
-
id: string;
|
|
3176
|
-
label: string;
|
|
3177
|
-
text: string;
|
|
3178
|
-
skills?: string[] | undefined;
|
|
3179
|
-
}[] | undefined;
|
|
3147
|
+
error: string;
|
|
3180
3148
|
};
|
|
3181
3149
|
outputFormat: "json";
|
|
3182
|
-
status:
|
|
3150
|
+
status: 500;
|
|
3183
3151
|
input: {
|
|
3184
3152
|
json: {
|
|
3185
3153
|
[x: string]: unknown;
|
|
@@ -3217,10 +3185,42 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3217
3185
|
};
|
|
3218
3186
|
} | {
|
|
3219
3187
|
output: {
|
|
3220
|
-
|
|
3188
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
3189
|
+
sidebarLimits?: {
|
|
3190
|
+
overall?: number | null | undefined;
|
|
3191
|
+
needsYou?: number | null | undefined;
|
|
3192
|
+
finished?: number | null | undefined;
|
|
3193
|
+
working?: number | null | undefined;
|
|
3194
|
+
} | undefined;
|
|
3195
|
+
lastTask?: {
|
|
3196
|
+
source: "skill" | "workflow";
|
|
3197
|
+
ref: string;
|
|
3198
|
+
} | null | undefined;
|
|
3199
|
+
recentSources?: {
|
|
3200
|
+
source: "skill" | "workflow";
|
|
3201
|
+
ref: string;
|
|
3202
|
+
}[] | undefined;
|
|
3203
|
+
lastWorktree?: boolean | undefined;
|
|
3204
|
+
lastAutonomous?: boolean | undefined;
|
|
3205
|
+
skillUsage?: {
|
|
3206
|
+
[x: string]: number;
|
|
3207
|
+
} | undefined;
|
|
3208
|
+
runsView?: "list" | "table" | undefined;
|
|
3209
|
+
githubView?: "issues" | "prs" | undefined;
|
|
3210
|
+
appearance?: {
|
|
3211
|
+
accent?: "cezarion" | "lime" | "violet" | undefined;
|
|
3212
|
+
density?: "comfortable" | "compact" | "ultra" | undefined;
|
|
3213
|
+
width?: "narrow" | "wide" | undefined;
|
|
3214
|
+
} | undefined;
|
|
3215
|
+
promptTemplates?: {
|
|
3216
|
+
id: string;
|
|
3217
|
+
label: string;
|
|
3218
|
+
text: string;
|
|
3219
|
+
skills?: string[] | undefined;
|
|
3220
|
+
}[] | undefined;
|
|
3221
3221
|
};
|
|
3222
3222
|
outputFormat: "json";
|
|
3223
|
-
status:
|
|
3223
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
3224
3224
|
input: {
|
|
3225
3225
|
json: {
|
|
3226
3226
|
[x: string]: unknown;
|
|
@@ -3297,34 +3297,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3297
3297
|
"/config": {
|
|
3298
3298
|
$put: {
|
|
3299
3299
|
output: {
|
|
3300
|
-
|
|
3301
|
-
effectiveArchiveOnMerge: boolean;
|
|
3302
|
-
archiveOnMergeSource: "default" | "environment" | "global" | "project";
|
|
3303
|
-
baseBranch: string | null;
|
|
3304
|
-
defaultRunner: string;
|
|
3305
|
-
systemPrompt: string | null;
|
|
3306
|
-
defaultModels: {
|
|
3307
|
-
[x: string]: string | undefined;
|
|
3308
|
-
};
|
|
3309
|
-
modelsLocked: boolean;
|
|
3310
|
-
maxParallel: number;
|
|
3311
|
-
memoryLimitMb: number | null;
|
|
3312
|
-
worktreeRetention: number;
|
|
3313
|
-
liveTitleUpdates: boolean | null;
|
|
3314
|
-
reviewGate: boolean | null;
|
|
3315
|
-
worktreeSetup: {
|
|
3316
|
-
commands: string[];
|
|
3317
|
-
timeoutSeconds: number;
|
|
3318
|
-
} | null;
|
|
3319
|
-
worktreeSetupIssue: string | null;
|
|
3320
|
-
worktreeTeardown: {
|
|
3321
|
-
commands: string[];
|
|
3322
|
-
timeoutSeconds: number;
|
|
3323
|
-
} | null;
|
|
3324
|
-
worktreeTeardownIssue: string | null;
|
|
3300
|
+
error: string;
|
|
3325
3301
|
};
|
|
3326
3302
|
outputFormat: "json";
|
|
3327
|
-
status:
|
|
3303
|
+
status: 409;
|
|
3328
3304
|
input: {
|
|
3329
3305
|
json: {
|
|
3330
3306
|
archiveOnMerge?: boolean | null | undefined;
|
|
@@ -3352,7 +3328,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3352
3328
|
error: string;
|
|
3353
3329
|
};
|
|
3354
3330
|
outputFormat: "json";
|
|
3355
|
-
status:
|
|
3331
|
+
status: 500;
|
|
3356
3332
|
input: {
|
|
3357
3333
|
json: {
|
|
3358
3334
|
archiveOnMerge?: boolean | null | undefined;
|
|
@@ -3377,10 +3353,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3377
3353
|
};
|
|
3378
3354
|
} | {
|
|
3379
3355
|
output: {
|
|
3380
|
-
|
|
3356
|
+
archiveOnMerge: boolean | null;
|
|
3357
|
+
effectiveArchiveOnMerge: boolean;
|
|
3358
|
+
archiveOnMergeSource: "default" | "environment" | "global" | "project";
|
|
3359
|
+
baseBranch: string | null;
|
|
3360
|
+
defaultRunner: string;
|
|
3361
|
+
systemPrompt: string | null;
|
|
3362
|
+
defaultModels: {
|
|
3363
|
+
[x: string]: string | undefined;
|
|
3364
|
+
};
|
|
3365
|
+
modelsLocked: boolean;
|
|
3366
|
+
maxParallel: number;
|
|
3367
|
+
memoryLimitMb: number | null;
|
|
3368
|
+
worktreeRetention: number;
|
|
3369
|
+
liveTitleUpdates: boolean | null;
|
|
3370
|
+
reviewGate: boolean | null;
|
|
3371
|
+
worktreeSetup: {
|
|
3372
|
+
commands: string[];
|
|
3373
|
+
timeoutSeconds: number;
|
|
3374
|
+
} | null;
|
|
3375
|
+
worktreeSetupIssue: string | null;
|
|
3376
|
+
worktreeTeardown: {
|
|
3377
|
+
commands: string[];
|
|
3378
|
+
timeoutSeconds: number;
|
|
3379
|
+
} | null;
|
|
3380
|
+
worktreeTeardownIssue: string | null;
|
|
3381
3381
|
};
|
|
3382
3382
|
outputFormat: "json";
|
|
3383
|
-
status:
|
|
3383
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
3384
3384
|
input: {
|
|
3385
3385
|
json: {
|
|
3386
3386
|
archiveOnMerge?: boolean | null | undefined;
|
|
@@ -3408,9 +3408,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3408
3408
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
3409
3409
|
"/runs/:id/events": {
|
|
3410
3410
|
$get: {
|
|
3411
|
-
output: {
|
|
3412
|
-
|
|
3413
|
-
|
|
3411
|
+
output: {
|
|
3412
|
+
error: string;
|
|
3413
|
+
code?: "invalid_input" | undefined;
|
|
3414
|
+
};
|
|
3415
|
+
outputFormat: "json";
|
|
3416
|
+
status: 400;
|
|
3414
3417
|
input: {
|
|
3415
3418
|
param: {
|
|
3416
3419
|
id: string;
|
|
@@ -3422,12 +3425,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3422
3425
|
};
|
|
3423
3426
|
};
|
|
3424
3427
|
} | {
|
|
3425
|
-
output: {
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
};
|
|
3429
|
-
outputFormat: "json";
|
|
3430
|
-
status: 400;
|
|
3428
|
+
output: {};
|
|
3429
|
+
outputFormat: string;
|
|
3430
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
3431
3431
|
input: {
|
|
3432
3432
|
param: {
|
|
3433
3433
|
id: string;
|
|
@@ -3471,7 +3471,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3471
3471
|
error: string;
|
|
3472
3472
|
};
|
|
3473
3473
|
outputFormat: "json";
|
|
3474
|
-
status:
|
|
3474
|
+
status: 400;
|
|
3475
3475
|
input: {
|
|
3476
3476
|
json: {
|
|
3477
3477
|
target: string;
|
|
@@ -3482,7 +3482,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3482
3482
|
error: string;
|
|
3483
3483
|
};
|
|
3484
3484
|
outputFormat: "json";
|
|
3485
|
-
status:
|
|
3485
|
+
status: 409;
|
|
3486
3486
|
input: {
|
|
3487
3487
|
json: {
|
|
3488
3488
|
target: string;
|
|
@@ -3590,14 +3590,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3590
3590
|
"/agent-config/:id": {
|
|
3591
3591
|
$put: {
|
|
3592
3592
|
output: {
|
|
3593
|
-
|
|
3594
|
-
path: string;
|
|
3595
|
-
exists: boolean;
|
|
3596
|
-
content: string;
|
|
3597
|
-
version: string | null;
|
|
3593
|
+
error: string;
|
|
3598
3594
|
};
|
|
3599
3595
|
outputFormat: "json";
|
|
3600
|
-
status:
|
|
3596
|
+
status: 404;
|
|
3601
3597
|
input: {
|
|
3602
3598
|
json: {
|
|
3603
3599
|
content: string;
|
|
@@ -3610,10 +3606,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3610
3606
|
};
|
|
3611
3607
|
} | {
|
|
3612
3608
|
output: {
|
|
3613
|
-
|
|
3609
|
+
id: string;
|
|
3610
|
+
path: string;
|
|
3611
|
+
exists: boolean;
|
|
3612
|
+
content: string;
|
|
3613
|
+
version: string | null;
|
|
3614
3614
|
};
|
|
3615
3615
|
outputFormat: "json";
|
|
3616
|
-
status:
|
|
3616
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
3617
3617
|
input: {
|
|
3618
3618
|
json: {
|
|
3619
3619
|
content: string;
|
|
@@ -3713,10 +3713,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3713
3713
|
};
|
|
3714
3714
|
} | {
|
|
3715
3715
|
output: {
|
|
3716
|
-
|
|
3716
|
+
runId: string;
|
|
3717
|
+
worktreeReclaimedAt: string;
|
|
3717
3718
|
};
|
|
3718
3719
|
outputFormat: "json";
|
|
3719
|
-
status:
|
|
3720
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
3720
3721
|
input: {
|
|
3721
3722
|
param: {
|
|
3722
3723
|
runId: string;
|
|
@@ -3728,11 +3729,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3728
3729
|
};
|
|
3729
3730
|
} | {
|
|
3730
3731
|
output: {
|
|
3731
|
-
|
|
3732
|
-
worktreeReclaimedAt: string;
|
|
3732
|
+
error: string;
|
|
3733
3733
|
};
|
|
3734
3734
|
outputFormat: "json";
|
|
3735
|
-
status:
|
|
3735
|
+
status: 404 | 409;
|
|
3736
3736
|
input: {
|
|
3737
3737
|
param: {
|
|
3738
3738
|
runId: string;
|
|
@@ -3892,10 +3892,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3892
3892
|
"/workflows": {
|
|
3893
3893
|
$post: {
|
|
3894
3894
|
output: {
|
|
3895
|
-
|
|
3895
|
+
path: string;
|
|
3896
|
+
name: string;
|
|
3896
3897
|
};
|
|
3897
3898
|
outputFormat: "json";
|
|
3898
|
-
status:
|
|
3899
|
+
status: 201;
|
|
3899
3900
|
input: {
|
|
3900
3901
|
json: {
|
|
3901
3902
|
name: string;
|
|
@@ -3928,10 +3929,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3928
3929
|
} | {
|
|
3929
3930
|
output: {
|
|
3930
3931
|
error: string;
|
|
3931
|
-
exists: true;
|
|
3932
3932
|
};
|
|
3933
3933
|
outputFormat: "json";
|
|
3934
|
-
status:
|
|
3934
|
+
status: 400;
|
|
3935
3935
|
input: {
|
|
3936
3936
|
json: {
|
|
3937
3937
|
name: string;
|
|
@@ -3964,9 +3964,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3964
3964
|
} | {
|
|
3965
3965
|
output: {
|
|
3966
3966
|
error: string;
|
|
3967
|
+
exists: true;
|
|
3967
3968
|
};
|
|
3968
3969
|
outputFormat: "json";
|
|
3969
|
-
status:
|
|
3970
|
+
status: 409;
|
|
3970
3971
|
input: {
|
|
3971
3972
|
json: {
|
|
3972
3973
|
name: string;
|
|
@@ -3998,11 +3999,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3998
3999
|
};
|
|
3999
4000
|
} | {
|
|
4000
4001
|
output: {
|
|
4001
|
-
|
|
4002
|
-
name: string;
|
|
4002
|
+
error: string;
|
|
4003
4003
|
};
|
|
4004
4004
|
outputFormat: "json";
|
|
4005
|
-
status:
|
|
4005
|
+
status: 500;
|
|
4006
4006
|
input: {
|
|
4007
4007
|
json: {
|
|
4008
4008
|
name: string;
|
|
@@ -4038,10 +4038,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4038
4038
|
"/workflows/:name": {
|
|
4039
4039
|
$delete: {
|
|
4040
4040
|
output: {
|
|
4041
|
-
|
|
4041
|
+
ok: true;
|
|
4042
|
+
path: string;
|
|
4042
4043
|
};
|
|
4043
4044
|
outputFormat: "json";
|
|
4044
|
-
status:
|
|
4045
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4045
4046
|
input: {
|
|
4046
4047
|
param: {
|
|
4047
4048
|
name: string;
|
|
@@ -4049,11 +4050,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4049
4050
|
};
|
|
4050
4051
|
} | {
|
|
4051
4052
|
output: {
|
|
4052
|
-
|
|
4053
|
-
path: string;
|
|
4053
|
+
error: string;
|
|
4054
4054
|
};
|
|
4055
4055
|
outputFormat: "json";
|
|
4056
|
-
status:
|
|
4056
|
+
status: 400 | 404 | 409 | 500;
|
|
4057
4057
|
input: {
|
|
4058
4058
|
param: {
|
|
4059
4059
|
name: string;
|
|
@@ -4994,14 +4994,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4994
4994
|
"/repo/branches/delete": {
|
|
4995
4995
|
$post: {
|
|
4996
4996
|
output: {
|
|
4997
|
-
|
|
4997
|
+
deleted: string[];
|
|
4998
4998
|
refused: {
|
|
4999
4999
|
name: string;
|
|
5000
5000
|
reason: string;
|
|
5001
5001
|
}[];
|
|
5002
|
+
dropped?: {
|
|
5003
|
+
sha: string;
|
|
5004
|
+
subject: string;
|
|
5005
|
+
}[] | undefined;
|
|
5002
5006
|
};
|
|
5003
5007
|
outputFormat: "json";
|
|
5004
|
-
status:
|
|
5008
|
+
status: 200;
|
|
5005
5009
|
input: {
|
|
5006
5010
|
json: {
|
|
5007
5011
|
names: string[];
|
|
@@ -5010,18 +5014,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5010
5014
|
};
|
|
5011
5015
|
} | {
|
|
5012
5016
|
output: {
|
|
5013
|
-
|
|
5017
|
+
error: string;
|
|
5014
5018
|
refused: {
|
|
5015
5019
|
name: string;
|
|
5016
5020
|
reason: string;
|
|
5017
5021
|
}[];
|
|
5018
|
-
dropped?: {
|
|
5019
|
-
sha: string;
|
|
5020
|
-
subject: string;
|
|
5021
|
-
}[] | undefined;
|
|
5022
5022
|
};
|
|
5023
5023
|
outputFormat: "json";
|
|
5024
|
-
status:
|
|
5024
|
+
status: 409;
|
|
5025
5025
|
input: {
|
|
5026
5026
|
json: {
|
|
5027
5027
|
names: string[];
|
|
@@ -5042,9 +5042,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5042
5042
|
} & {
|
|
5043
5043
|
"/repo/commit/:sha": {
|
|
5044
5044
|
$get: {
|
|
5045
|
-
output:
|
|
5046
|
-
|
|
5047
|
-
|
|
5045
|
+
output: {
|
|
5046
|
+
error: string;
|
|
5047
|
+
code?: "invalid_input" | undefined;
|
|
5048
|
+
};
|
|
5049
|
+
outputFormat: "json";
|
|
5050
|
+
status: 400;
|
|
5048
5051
|
input: {
|
|
5049
5052
|
query: {
|
|
5050
5053
|
structured?: string | undefined;
|
|
@@ -5057,10 +5060,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5057
5060
|
} | {
|
|
5058
5061
|
output: {
|
|
5059
5062
|
error: string;
|
|
5060
|
-
code?: "invalid_input" | undefined;
|
|
5061
5063
|
};
|
|
5062
5064
|
outputFormat: "json";
|
|
5063
|
-
status:
|
|
5065
|
+
status: 409;
|
|
5064
5066
|
input: {
|
|
5065
5067
|
query: {
|
|
5066
5068
|
structured?: string | undefined;
|
|
@@ -5104,11 +5106,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5104
5106
|
};
|
|
5105
5107
|
};
|
|
5106
5108
|
} | {
|
|
5107
|
-
output:
|
|
5108
|
-
|
|
5109
|
-
|
|
5110
|
-
outputFormat: "json";
|
|
5111
|
-
status: 409;
|
|
5109
|
+
output: string;
|
|
5110
|
+
outputFormat: "text";
|
|
5111
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5112
5112
|
input: {
|
|
5113
5113
|
query: {
|
|
5114
5114
|
structured?: string | undefined;
|
|
@@ -5140,15 +5140,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5140
5140
|
};
|
|
5141
5141
|
} | {
|
|
5142
5142
|
output: {
|
|
5143
|
-
|
|
5144
|
-
path: string;
|
|
5145
|
-
size: number;
|
|
5146
|
-
binary: boolean;
|
|
5147
|
-
tooLarge: boolean;
|
|
5148
|
-
content?: string | undefined;
|
|
5143
|
+
error: string;
|
|
5149
5144
|
};
|
|
5150
5145
|
outputFormat: "json";
|
|
5151
|
-
status:
|
|
5146
|
+
status: 409;
|
|
5152
5147
|
input: {
|
|
5153
5148
|
param: {
|
|
5154
5149
|
sha: string;
|
|
@@ -5160,10 +5155,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5160
5155
|
};
|
|
5161
5156
|
} | {
|
|
5162
5157
|
output: {
|
|
5163
|
-
|
|
5158
|
+
type: 'file';
|
|
5159
|
+
path: string;
|
|
5160
|
+
size: number;
|
|
5161
|
+
binary: boolean;
|
|
5162
|
+
tooLarge: boolean;
|
|
5163
|
+
content?: string | undefined;
|
|
5164
5164
|
};
|
|
5165
5165
|
outputFormat: "json";
|
|
5166
|
-
status:
|
|
5166
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5167
5167
|
input: {
|
|
5168
5168
|
param: {
|
|
5169
5169
|
sha: string;
|
|
@@ -5191,15 +5191,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5191
5191
|
};
|
|
5192
5192
|
} | {
|
|
5193
5193
|
output: {
|
|
5194
|
-
|
|
5195
|
-
path: string;
|
|
5196
|
-
size: number;
|
|
5197
|
-
binary: boolean;
|
|
5198
|
-
tooLarge: boolean;
|
|
5199
|
-
content?: string | undefined;
|
|
5194
|
+
error: string;
|
|
5200
5195
|
};
|
|
5201
5196
|
outputFormat: "json";
|
|
5202
|
-
status:
|
|
5197
|
+
status: 409;
|
|
5203
5198
|
input: {
|
|
5204
5199
|
query: {
|
|
5205
5200
|
path: string | string[];
|
|
@@ -5207,10 +5202,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5207
5202
|
};
|
|
5208
5203
|
} | {
|
|
5209
5204
|
output: {
|
|
5210
|
-
|
|
5205
|
+
type: 'file';
|
|
5206
|
+
path: string;
|
|
5207
|
+
size: number;
|
|
5208
|
+
binary: boolean;
|
|
5209
|
+
tooLarge: boolean;
|
|
5210
|
+
content?: string | undefined;
|
|
5211
5211
|
};
|
|
5212
5212
|
outputFormat: "json";
|
|
5213
|
-
status:
|
|
5213
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5214
5214
|
input: {
|
|
5215
5215
|
query: {
|
|
5216
5216
|
path: string | string[];
|
|
@@ -5221,6 +5221,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5221
5221
|
} & {
|
|
5222
5222
|
"/repo/changes": {
|
|
5223
5223
|
$get: {
|
|
5224
|
+
output: {
|
|
5225
|
+
error: string;
|
|
5226
|
+
};
|
|
5227
|
+
outputFormat: "json";
|
|
5228
|
+
status: 409;
|
|
5229
|
+
input: {};
|
|
5230
|
+
} | {
|
|
5224
5231
|
output: {
|
|
5225
5232
|
files: {
|
|
5226
5233
|
path: string;
|
|
@@ -5245,13 +5252,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5245
5252
|
outputFormat: "json";
|
|
5246
5253
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5247
5254
|
input: {};
|
|
5248
|
-
} | {
|
|
5249
|
-
output: {
|
|
5250
|
-
error: string;
|
|
5251
|
-
};
|
|
5252
|
-
outputFormat: "json";
|
|
5253
|
-
status: 409;
|
|
5254
|
-
input: {};
|
|
5255
5255
|
};
|
|
5256
5256
|
};
|
|
5257
5257
|
} & {
|
|
@@ -5276,10 +5276,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5276
5276
|
"/repo/pull": {
|
|
5277
5277
|
$post: {
|
|
5278
5278
|
output: {
|
|
5279
|
-
|
|
5279
|
+
branch: string;
|
|
5280
|
+
pulled: true;
|
|
5281
|
+
summary: string;
|
|
5280
5282
|
};
|
|
5281
5283
|
outputFormat: "json";
|
|
5282
|
-
status:
|
|
5284
|
+
status: 200;
|
|
5283
5285
|
input: {
|
|
5284
5286
|
json: {
|
|
5285
5287
|
branch?: string | undefined;
|
|
@@ -5288,12 +5290,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5288
5290
|
};
|
|
5289
5291
|
} | {
|
|
5290
5292
|
output: {
|
|
5291
|
-
|
|
5292
|
-
pulled: true;
|
|
5293
|
-
summary: string;
|
|
5293
|
+
error: string;
|
|
5294
5294
|
};
|
|
5295
5295
|
outputFormat: "json";
|
|
5296
|
-
status:
|
|
5296
|
+
status: 409;
|
|
5297
5297
|
input: {
|
|
5298
5298
|
json: {
|
|
5299
5299
|
branch?: string | undefined;
|
|
@@ -6518,6 +6518,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6518
6518
|
} & {
|
|
6519
6519
|
"/run-summaries": {
|
|
6520
6520
|
$get: {
|
|
6521
|
+
output: {
|
|
6522
|
+
error: string;
|
|
6523
|
+
code?: "invalid_input" | undefined;
|
|
6524
|
+
};
|
|
6525
|
+
outputFormat: "json";
|
|
6526
|
+
status: 400;
|
|
6527
|
+
input: {
|
|
6528
|
+
query: {
|
|
6529
|
+
archived?: "all" | "recent" | undefined;
|
|
6530
|
+
};
|
|
6531
|
+
};
|
|
6532
|
+
} | {
|
|
6521
6533
|
output: {
|
|
6522
6534
|
id: string;
|
|
6523
6535
|
title: string;
|
|
@@ -6655,18 +6667,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6655
6667
|
archived?: "all" | "recent" | undefined;
|
|
6656
6668
|
};
|
|
6657
6669
|
};
|
|
6658
|
-
} | {
|
|
6659
|
-
output: {
|
|
6660
|
-
error: string;
|
|
6661
|
-
code?: "invalid_input" | undefined;
|
|
6662
|
-
};
|
|
6663
|
-
outputFormat: "json";
|
|
6664
|
-
status: 400;
|
|
6665
|
-
input: {
|
|
6666
|
-
query: {
|
|
6667
|
-
archived?: "all" | "recent" | undefined;
|
|
6668
|
-
};
|
|
6669
|
-
};
|
|
6670
6670
|
};
|
|
6671
6671
|
};
|
|
6672
6672
|
} & {
|
|
@@ -7028,22 +7028,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
7028
7028
|
"/runs/:id/worker-destroy": {
|
|
7029
7029
|
$post: {
|
|
7030
7030
|
output: {
|
|
7031
|
-
|
|
7032
|
-
|
|
7033
|
-
|
|
7034
|
-
|
|
7035
|
-
|
|
7036
|
-
availableModels: {
|
|
7037
|
-
id: string;
|
|
7038
|
-
label: string;
|
|
7039
|
-
description: string;
|
|
7040
|
-
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
7041
|
-
}[];
|
|
7042
|
-
otherRunners: string[];
|
|
7031
|
+
workerId: string;
|
|
7032
|
+
state: "complete" | "incomplete";
|
|
7033
|
+
work?: {
|
|
7034
|
+
uncommittedFiles: number;
|
|
7035
|
+
commits: number;
|
|
7043
7036
|
} | undefined;
|
|
7037
|
+
deleted?: ({
|
|
7038
|
+
kind: "worktree";
|
|
7039
|
+
path: string;
|
|
7040
|
+
} | {
|
|
7041
|
+
kind: "branch";
|
|
7042
|
+
ref: string;
|
|
7043
|
+
})[] | undefined;
|
|
7044
|
+
remaining: ("branch" | "process" | "worktree")[];
|
|
7045
|
+
error?: string | undefined;
|
|
7044
7046
|
};
|
|
7045
7047
|
outputFormat: "json";
|
|
7046
|
-
status:
|
|
7048
|
+
status: 200;
|
|
7047
7049
|
input: {
|
|
7048
7050
|
query: {
|
|
7049
7051
|
[x: string]: string | string[];
|
|
@@ -7096,7 +7098,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
7096
7098
|
error?: string | undefined;
|
|
7097
7099
|
};
|
|
7098
7100
|
outputFormat: "json";
|
|
7099
|
-
status:
|
|
7101
|
+
status: 409;
|
|
7100
7102
|
input: {
|
|
7101
7103
|
query: {
|
|
7102
7104
|
[x: string]: string | string[];
|
|
@@ -7112,24 +7114,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
7112
7114
|
};
|
|
7113
7115
|
} | {
|
|
7114
7116
|
output: {
|
|
7115
|
-
|
|
7116
|
-
|
|
7117
|
-
|
|
7118
|
-
|
|
7119
|
-
|
|
7117
|
+
readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
|
|
7118
|
+
readonly error: string;
|
|
7119
|
+
readonly modelChoices?: {
|
|
7120
|
+
runner: string;
|
|
7121
|
+
requestedModel: string;
|
|
7122
|
+
availableModels: {
|
|
7123
|
+
id: string;
|
|
7124
|
+
label: string;
|
|
7125
|
+
description: string;
|
|
7126
|
+
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
7127
|
+
}[];
|
|
7128
|
+
otherRunners: string[];
|
|
7120
7129
|
} | undefined;
|
|
7121
|
-
deleted?: ({
|
|
7122
|
-
kind: "worktree";
|
|
7123
|
-
path: string;
|
|
7124
|
-
} | {
|
|
7125
|
-
kind: "branch";
|
|
7126
|
-
ref: string;
|
|
7127
|
-
})[] | undefined;
|
|
7128
|
-
remaining: ("branch" | "process" | "worktree")[];
|
|
7129
|
-
error?: string | undefined;
|
|
7130
7130
|
};
|
|
7131
7131
|
outputFormat: "json";
|
|
7132
|
-
status: 409;
|
|
7132
|
+
status: 400 | 401 | 403 | 409 | 503;
|
|
7133
7133
|
input: {
|
|
7134
7134
|
query: {
|
|
7135
7135
|
[x: string]: string | string[];
|
|
@@ -7181,6 +7181,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
7181
7181
|
} & {
|
|
7182
7182
|
"/runs/:id/archive": {
|
|
7183
7183
|
$post: {
|
|
7184
|
+
output: {
|
|
7185
|
+
error: string;
|
|
7186
|
+
};
|
|
7187
|
+
outputFormat: "json";
|
|
7188
|
+
status: 404;
|
|
7189
|
+
input: {
|
|
7190
|
+
json: {
|
|
7191
|
+
archived?: boolean | undefined;
|
|
7192
|
+
};
|
|
7193
|
+
} & {
|
|
7194
|
+
param: {
|
|
7195
|
+
id: string;
|
|
7196
|
+
};
|
|
7197
|
+
};
|
|
7198
|
+
} | {
|
|
7184
7199
|
output: {
|
|
7185
7200
|
archiveWhenDone?: boolean | undefined;
|
|
7186
7201
|
autoMergePr?: boolean | undefined;
|
|
@@ -8360,32 +8375,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8360
8375
|
id: string;
|
|
8361
8376
|
};
|
|
8362
8377
|
};
|
|
8363
|
-
}
|
|
8378
|
+
};
|
|
8379
|
+
};
|
|
8380
|
+
} & {
|
|
8381
|
+
"/runs/:id/pin": {
|
|
8382
|
+
$post: {
|
|
8364
8383
|
output: {
|
|
8365
8384
|
error: string;
|
|
8385
|
+
code?: "invalid_input" | undefined;
|
|
8366
8386
|
};
|
|
8367
8387
|
outputFormat: "json";
|
|
8368
|
-
status:
|
|
8388
|
+
status: 400;
|
|
8369
8389
|
input: {
|
|
8370
|
-
json: {
|
|
8371
|
-
archived?: boolean | undefined;
|
|
8372
|
-
};
|
|
8373
|
-
} & {
|
|
8374
8390
|
param: {
|
|
8375
8391
|
id: string;
|
|
8376
8392
|
};
|
|
8393
|
+
} & {
|
|
8394
|
+
json: {
|
|
8395
|
+
pinned?: boolean | undefined;
|
|
8396
|
+
};
|
|
8377
8397
|
};
|
|
8378
|
-
}
|
|
8379
|
-
};
|
|
8380
|
-
} & {
|
|
8381
|
-
"/runs/:id/pin": {
|
|
8382
|
-
$post: {
|
|
8398
|
+
} | {
|
|
8383
8399
|
output: {
|
|
8384
8400
|
error: string;
|
|
8385
|
-
code?: "invalid_input" | undefined;
|
|
8386
8401
|
};
|
|
8387
8402
|
outputFormat: "json";
|
|
8388
|
-
status:
|
|
8403
|
+
status: 404;
|
|
8389
8404
|
input: {
|
|
8390
8405
|
param: {
|
|
8391
8406
|
id: string;
|
|
@@ -9575,21 +9590,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9575
9590
|
pinned?: boolean | undefined;
|
|
9576
9591
|
};
|
|
9577
9592
|
};
|
|
9578
|
-
} | {
|
|
9579
|
-
output: {
|
|
9580
|
-
error: string;
|
|
9581
|
-
};
|
|
9582
|
-
outputFormat: "json";
|
|
9583
|
-
status: 404;
|
|
9584
|
-
input: {
|
|
9585
|
-
param: {
|
|
9586
|
-
id: string;
|
|
9587
|
-
};
|
|
9588
|
-
} & {
|
|
9589
|
-
json: {
|
|
9590
|
-
pinned?: boolean | undefined;
|
|
9591
|
-
};
|
|
9592
|
-
};
|
|
9593
9593
|
};
|
|
9594
9594
|
};
|
|
9595
9595
|
} & {
|
|
@@ -9611,22 +9611,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9611
9611
|
message?: string | undefined;
|
|
9612
9612
|
};
|
|
9613
9613
|
};
|
|
9614
|
-
} | {
|
|
9615
|
-
output: {
|
|
9616
|
-
error: string;
|
|
9617
|
-
};
|
|
9618
|
-
outputFormat: "json";
|
|
9619
|
-
status: 400 | 404 | 409;
|
|
9620
|
-
input: {
|
|
9621
|
-
param: {
|
|
9622
|
-
id: string;
|
|
9623
|
-
};
|
|
9624
|
-
} & {
|
|
9625
|
-
json: {
|
|
9626
|
-
notify: boolean;
|
|
9627
|
-
message?: string | undefined;
|
|
9628
|
-
};
|
|
9629
|
-
};
|
|
9630
9614
|
} | {
|
|
9631
9615
|
output: {
|
|
9632
9616
|
archiveWhenDone?: boolean | undefined;
|
|
@@ -10808,6 +10792,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
10808
10792
|
message?: string | undefined;
|
|
10809
10793
|
};
|
|
10810
10794
|
};
|
|
10795
|
+
} | {
|
|
10796
|
+
output: {
|
|
10797
|
+
error: string;
|
|
10798
|
+
};
|
|
10799
|
+
outputFormat: "json";
|
|
10800
|
+
status: 400 | 404 | 409;
|
|
10801
|
+
input: {
|
|
10802
|
+
param: {
|
|
10803
|
+
id: string;
|
|
10804
|
+
};
|
|
10805
|
+
} & {
|
|
10806
|
+
json: {
|
|
10807
|
+
notify: boolean;
|
|
10808
|
+
message?: string | undefined;
|
|
10809
|
+
};
|
|
10810
|
+
};
|
|
10811
10811
|
};
|
|
10812
10812
|
};
|
|
10813
10813
|
} & {
|
|
@@ -10839,6 +10839,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
10839
10839
|
} & {
|
|
10840
10840
|
"/runs/:id/read": {
|
|
10841
10841
|
$post: {
|
|
10842
|
+
output: {
|
|
10843
|
+
error: string;
|
|
10844
|
+
};
|
|
10845
|
+
outputFormat: "json";
|
|
10846
|
+
status: 404;
|
|
10847
|
+
input: {
|
|
10848
|
+
param: {
|
|
10849
|
+
id: string;
|
|
10850
|
+
};
|
|
10851
|
+
};
|
|
10852
|
+
} | {
|
|
10842
10853
|
output: {
|
|
10843
10854
|
archiveWhenDone?: boolean | undefined;
|
|
10844
10855
|
autoMergePr?: boolean | undefined;
|
|
@@ -12014,7 +12025,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12014
12025
|
id: string;
|
|
12015
12026
|
};
|
|
12016
12027
|
};
|
|
12017
|
-
}
|
|
12028
|
+
};
|
|
12029
|
+
};
|
|
12030
|
+
} & {
|
|
12031
|
+
"/runs/:id/unread": {
|
|
12032
|
+
$post: {
|
|
12018
12033
|
output: {
|
|
12019
12034
|
error: string;
|
|
12020
12035
|
};
|
|
@@ -12025,11 +12040,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12025
12040
|
id: string;
|
|
12026
12041
|
};
|
|
12027
12042
|
};
|
|
12028
|
-
}
|
|
12029
|
-
};
|
|
12030
|
-
} & {
|
|
12031
|
-
"/runs/:id/unread": {
|
|
12032
|
-
$post: {
|
|
12043
|
+
} | {
|
|
12033
12044
|
output: {
|
|
12034
12045
|
archiveWhenDone?: boolean | undefined;
|
|
12035
12046
|
autoMergePr?: boolean | undefined;
|
|
@@ -13205,17 +13216,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
13205
13216
|
id: string;
|
|
13206
13217
|
};
|
|
13207
13218
|
};
|
|
13208
|
-
} | {
|
|
13209
|
-
output: {
|
|
13210
|
-
error: string;
|
|
13211
|
-
};
|
|
13212
|
-
outputFormat: "json";
|
|
13213
|
-
status: 404;
|
|
13214
|
-
input: {
|
|
13215
|
-
param: {
|
|
13216
|
-
id: string;
|
|
13217
|
-
};
|
|
13218
|
-
};
|
|
13219
13219
|
};
|
|
13220
13220
|
};
|
|
13221
13221
|
} & {
|
|
@@ -14492,6 +14492,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
14492
14492
|
} & {
|
|
14493
14493
|
"/runs/:id": {
|
|
14494
14494
|
$get: {
|
|
14495
|
+
output: {
|
|
14496
|
+
error: string;
|
|
14497
|
+
};
|
|
14498
|
+
outputFormat: "json";
|
|
14499
|
+
status: 404;
|
|
14500
|
+
input: {
|
|
14501
|
+
param: {
|
|
14502
|
+
id: string;
|
|
14503
|
+
};
|
|
14504
|
+
};
|
|
14505
|
+
} | {
|
|
14495
14506
|
output: {
|
|
14496
14507
|
archiveWhenDone?: boolean | undefined;
|
|
14497
14508
|
autoMergePr?: boolean | undefined;
|
|
@@ -15675,17 +15686,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
15675
15686
|
id: string;
|
|
15676
15687
|
};
|
|
15677
15688
|
};
|
|
15678
|
-
} | {
|
|
15679
|
-
output: {
|
|
15680
|
-
error: string;
|
|
15681
|
-
};
|
|
15682
|
-
outputFormat: "json";
|
|
15683
|
-
status: 404;
|
|
15684
|
-
input: {
|
|
15685
|
-
param: {
|
|
15686
|
-
id: string;
|
|
15687
|
-
};
|
|
15688
|
-
};
|
|
15689
15689
|
};
|
|
15690
15690
|
};
|
|
15691
15691
|
} & {
|
|
@@ -15813,6 +15813,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
15813
15813
|
} & {
|
|
15814
15814
|
"/runs/:id": {
|
|
15815
15815
|
$patch: {
|
|
15816
|
+
output: {
|
|
15817
|
+
error: string;
|
|
15818
|
+
};
|
|
15819
|
+
outputFormat: "json";
|
|
15820
|
+
status: 400;
|
|
15821
|
+
input: {
|
|
15822
|
+
json: {
|
|
15823
|
+
archiveWhenDone?: boolean | undefined;
|
|
15824
|
+
autoMergePr?: boolean | undefined;
|
|
15825
|
+
allowWorkers?: boolean | undefined;
|
|
15826
|
+
allowMessaging?: boolean | undefined;
|
|
15827
|
+
title?: string | undefined;
|
|
15828
|
+
task?: string | undefined;
|
|
15829
|
+
};
|
|
15830
|
+
} & {
|
|
15831
|
+
param: {
|
|
15832
|
+
id: string;
|
|
15833
|
+
};
|
|
15834
|
+
};
|
|
15835
|
+
} | {
|
|
15836
|
+
output: {
|
|
15837
|
+
error: string;
|
|
15838
|
+
};
|
|
15839
|
+
outputFormat: "json";
|
|
15840
|
+
status: 404;
|
|
15841
|
+
input: {
|
|
15842
|
+
json: {
|
|
15843
|
+
archiveWhenDone?: boolean | undefined;
|
|
15844
|
+
autoMergePr?: boolean | undefined;
|
|
15845
|
+
allowWorkers?: boolean | undefined;
|
|
15846
|
+
allowMessaging?: boolean | undefined;
|
|
15847
|
+
title?: string | undefined;
|
|
15848
|
+
task?: string | undefined;
|
|
15849
|
+
};
|
|
15850
|
+
} & {
|
|
15851
|
+
param: {
|
|
15852
|
+
id: string;
|
|
15853
|
+
};
|
|
15854
|
+
};
|
|
15855
|
+
} | {
|
|
15856
|
+
output: {
|
|
15857
|
+
error: string;
|
|
15858
|
+
};
|
|
15859
|
+
outputFormat: "json";
|
|
15860
|
+
status: 409;
|
|
15861
|
+
input: {
|
|
15862
|
+
json: {
|
|
15863
|
+
archiveWhenDone?: boolean | undefined;
|
|
15864
|
+
autoMergePr?: boolean | undefined;
|
|
15865
|
+
allowWorkers?: boolean | undefined;
|
|
15866
|
+
allowMessaging?: boolean | undefined;
|
|
15867
|
+
title?: string | undefined;
|
|
15868
|
+
task?: string | undefined;
|
|
15869
|
+
};
|
|
15870
|
+
} & {
|
|
15871
|
+
param: {
|
|
15872
|
+
id: string;
|
|
15873
|
+
};
|
|
15874
|
+
};
|
|
15875
|
+
} | {
|
|
15816
15876
|
output: {
|
|
15817
15877
|
archiveWhenDone?: boolean | undefined;
|
|
15818
15878
|
autoMergePr?: boolean | undefined;
|
|
@@ -16997,66 +17057,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
16997
17057
|
id: string;
|
|
16998
17058
|
};
|
|
16999
17059
|
};
|
|
17000
|
-
} | {
|
|
17001
|
-
output: {
|
|
17002
|
-
error: string;
|
|
17003
|
-
};
|
|
17004
|
-
outputFormat: "json";
|
|
17005
|
-
status: 404;
|
|
17006
|
-
input: {
|
|
17007
|
-
json: {
|
|
17008
|
-
archiveWhenDone?: boolean | undefined;
|
|
17009
|
-
autoMergePr?: boolean | undefined;
|
|
17010
|
-
allowWorkers?: boolean | undefined;
|
|
17011
|
-
allowMessaging?: boolean | undefined;
|
|
17012
|
-
title?: string | undefined;
|
|
17013
|
-
task?: string | undefined;
|
|
17014
|
-
};
|
|
17015
|
-
} & {
|
|
17016
|
-
param: {
|
|
17017
|
-
id: string;
|
|
17018
|
-
};
|
|
17019
|
-
};
|
|
17020
|
-
} | {
|
|
17021
|
-
output: {
|
|
17022
|
-
error: string;
|
|
17023
|
-
};
|
|
17024
|
-
outputFormat: "json";
|
|
17025
|
-
status: 400;
|
|
17026
|
-
input: {
|
|
17027
|
-
json: {
|
|
17028
|
-
archiveWhenDone?: boolean | undefined;
|
|
17029
|
-
autoMergePr?: boolean | undefined;
|
|
17030
|
-
allowWorkers?: boolean | undefined;
|
|
17031
|
-
allowMessaging?: boolean | undefined;
|
|
17032
|
-
title?: string | undefined;
|
|
17033
|
-
task?: string | undefined;
|
|
17034
|
-
};
|
|
17035
|
-
} & {
|
|
17036
|
-
param: {
|
|
17037
|
-
id: string;
|
|
17038
|
-
};
|
|
17039
|
-
};
|
|
17040
|
-
} | {
|
|
17041
|
-
output: {
|
|
17042
|
-
error: string;
|
|
17043
|
-
};
|
|
17044
|
-
outputFormat: "json";
|
|
17045
|
-
status: 409;
|
|
17046
|
-
input: {
|
|
17047
|
-
json: {
|
|
17048
|
-
archiveWhenDone?: boolean | undefined;
|
|
17049
|
-
autoMergePr?: boolean | undefined;
|
|
17050
|
-
allowWorkers?: boolean | undefined;
|
|
17051
|
-
allowMessaging?: boolean | undefined;
|
|
17052
|
-
title?: string | undefined;
|
|
17053
|
-
task?: string | undefined;
|
|
17054
|
-
};
|
|
17055
|
-
} & {
|
|
17056
|
-
param: {
|
|
17057
|
-
id: string;
|
|
17058
|
-
};
|
|
17059
|
-
};
|
|
17060
17060
|
};
|
|
17061
17061
|
};
|
|
17062
17062
|
} & {
|
|
@@ -17161,7 +17161,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
17161
17161
|
error: string;
|
|
17162
17162
|
};
|
|
17163
17163
|
outputFormat: "json";
|
|
17164
|
-
status:
|
|
17164
|
+
status: 400;
|
|
17165
17165
|
input: {
|
|
17166
17166
|
json: {
|
|
17167
17167
|
text?: string | undefined;
|
|
@@ -17180,7 +17180,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
17180
17180
|
error: string;
|
|
17181
17181
|
};
|
|
17182
17182
|
outputFormat: "json";
|
|
17183
|
-
status:
|
|
17183
|
+
status: 404;
|
|
17184
17184
|
input: {
|
|
17185
17185
|
json: {
|
|
17186
17186
|
text?: string | undefined;
|
|
@@ -17196,10 +17196,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
17196
17196
|
};
|
|
17197
17197
|
} | {
|
|
17198
17198
|
output: {
|
|
17199
|
-
|
|
17199
|
+
error: string;
|
|
17200
17200
|
};
|
|
17201
17201
|
outputFormat: "json";
|
|
17202
|
-
status:
|
|
17202
|
+
status: 409;
|
|
17203
17203
|
input: {
|
|
17204
17204
|
json: {
|
|
17205
17205
|
text?: string | undefined;
|
|
@@ -17215,10 +17215,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
17215
17215
|
};
|
|
17216
17216
|
} | {
|
|
17217
17217
|
output: {
|
|
17218
|
-
|
|
17218
|
+
delivered: true;
|
|
17219
17219
|
};
|
|
17220
17220
|
outputFormat: "json";
|
|
17221
|
-
status:
|
|
17221
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
17222
17222
|
input: {
|
|
17223
17223
|
json: {
|
|
17224
17224
|
text?: string | undefined;
|
|
@@ -17286,7 +17286,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
17286
17286
|
error: string;
|
|
17287
17287
|
};
|
|
17288
17288
|
outputFormat: "json";
|
|
17289
|
-
status:
|
|
17289
|
+
status: 400;
|
|
17290
17290
|
input: {
|
|
17291
17291
|
json: {
|
|
17292
17292
|
text?: string | undefined;
|
|
@@ -17307,7 +17307,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
17307
17307
|
error: string;
|
|
17308
17308
|
};
|
|
17309
17309
|
outputFormat: "json";
|
|
17310
|
-
status:
|
|
17310
|
+
status: 404;
|
|
17311
17311
|
input: {
|
|
17312
17312
|
json: {
|
|
17313
17313
|
text?: string | undefined;
|
|
@@ -17527,10 +17527,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
17527
17527
|
"/runs/:id/open-in-cli": {
|
|
17528
17528
|
$post: {
|
|
17529
17529
|
output: {
|
|
17530
|
-
|
|
17530
|
+
opened: true;
|
|
17531
|
+
command: string;
|
|
17531
17532
|
};
|
|
17532
17533
|
outputFormat: "json";
|
|
17533
|
-
status:
|
|
17534
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
17534
17535
|
input: {
|
|
17535
17536
|
param: {
|
|
17536
17537
|
id: string;
|
|
@@ -17538,11 +17539,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
17538
17539
|
};
|
|
17539
17540
|
} | {
|
|
17540
17541
|
output: {
|
|
17541
|
-
|
|
17542
|
-
command: string;
|
|
17542
|
+
error: string;
|
|
17543
17543
|
};
|
|
17544
17544
|
outputFormat: "json";
|
|
17545
|
-
status:
|
|
17545
|
+
status: 404 | 409;
|
|
17546
17546
|
input: {
|
|
17547
17547
|
param: {
|
|
17548
17548
|
id: string;
|
|
@@ -17630,9 +17630,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
17630
17630
|
} & {
|
|
17631
17631
|
"/runs/:id/images/:file": {
|
|
17632
17632
|
$get: {
|
|
17633
|
-
output: {
|
|
17634
|
-
|
|
17635
|
-
|
|
17633
|
+
output: {
|
|
17634
|
+
error: string;
|
|
17635
|
+
code?: "invalid_input" | undefined;
|
|
17636
|
+
};
|
|
17637
|
+
outputFormat: "json";
|
|
17638
|
+
status: 400;
|
|
17636
17639
|
input: {
|
|
17637
17640
|
param: {
|
|
17638
17641
|
id: string;
|
|
@@ -17640,12 +17643,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
17640
17643
|
};
|
|
17641
17644
|
};
|
|
17642
17645
|
} | {
|
|
17643
|
-
output: {
|
|
17644
|
-
|
|
17645
|
-
|
|
17646
|
-
};
|
|
17647
|
-
outputFormat: "json";
|
|
17648
|
-
status: 400;
|
|
17646
|
+
output: {};
|
|
17647
|
+
outputFormat: string;
|
|
17648
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
17649
17649
|
input: {
|
|
17650
17650
|
param: {
|
|
17651
17651
|
id: string;
|
|
@@ -17681,17 +17681,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
17681
17681
|
} & {
|
|
17682
17682
|
"/runs/:id/changes": {
|
|
17683
17683
|
$get: {
|
|
17684
|
-
output: {
|
|
17685
|
-
error: string;
|
|
17686
|
-
};
|
|
17687
|
-
outputFormat: "json";
|
|
17688
|
-
status: 404 | 409;
|
|
17689
|
-
input: {
|
|
17690
|
-
param: {
|
|
17691
|
-
id: string;
|
|
17692
|
-
};
|
|
17693
|
-
};
|
|
17694
|
-
} | {
|
|
17695
17684
|
output: {
|
|
17696
17685
|
files: {
|
|
17697
17686
|
path: string;
|
|
@@ -17720,11 +17709,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
17720
17709
|
id: string;
|
|
17721
17710
|
};
|
|
17722
17711
|
};
|
|
17723
|
-
}
|
|
17724
|
-
};
|
|
17725
|
-
} & {
|
|
17726
|
-
"/runs/:id/commits": {
|
|
17727
|
-
$get: {
|
|
17712
|
+
} | {
|
|
17728
17713
|
output: {
|
|
17729
17714
|
error: string;
|
|
17730
17715
|
};
|
|
@@ -17735,7 +17720,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
17735
17720
|
id: string;
|
|
17736
17721
|
};
|
|
17737
17722
|
};
|
|
17738
|
-
}
|
|
17723
|
+
};
|
|
17724
|
+
};
|
|
17725
|
+
} & {
|
|
17726
|
+
"/runs/:id/commits": {
|
|
17727
|
+
$get: {
|
|
17739
17728
|
output: {
|
|
17740
17729
|
commits: {
|
|
17741
17730
|
sha: string;
|
|
@@ -17751,11 +17740,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
17751
17740
|
id: string;
|
|
17752
17741
|
};
|
|
17753
17742
|
};
|
|
17754
|
-
}
|
|
17755
|
-
};
|
|
17756
|
-
} & {
|
|
17757
|
-
"/runs/:id/commit/:sha": {
|
|
17758
|
-
$get: {
|
|
17743
|
+
} | {
|
|
17759
17744
|
output: {
|
|
17760
17745
|
error: string;
|
|
17761
17746
|
};
|
|
@@ -17764,11 +17749,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
17764
17749
|
input: {
|
|
17765
17750
|
param: {
|
|
17766
17751
|
id: string;
|
|
17767
|
-
} & {
|
|
17768
|
-
sha: string;
|
|
17769
17752
|
};
|
|
17770
17753
|
};
|
|
17771
|
-
}
|
|
17754
|
+
};
|
|
17755
|
+
};
|
|
17756
|
+
} & {
|
|
17757
|
+
"/runs/:id/commit/:sha": {
|
|
17758
|
+
$get: {
|
|
17772
17759
|
output: {
|
|
17773
17760
|
sha: string;
|
|
17774
17761
|
subject: string;
|
|
@@ -17799,6 +17786,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
17799
17786
|
sha: string;
|
|
17800
17787
|
};
|
|
17801
17788
|
};
|
|
17789
|
+
} | {
|
|
17790
|
+
output: {
|
|
17791
|
+
error: string;
|
|
17792
|
+
};
|
|
17793
|
+
outputFormat: "json";
|
|
17794
|
+
status: 404 | 409;
|
|
17795
|
+
input: {
|
|
17796
|
+
param: {
|
|
17797
|
+
id: string;
|
|
17798
|
+
} & {
|
|
17799
|
+
sha: string;
|
|
17800
|
+
};
|
|
17801
|
+
};
|
|
17802
17802
|
};
|
|
17803
17803
|
};
|
|
17804
17804
|
} & {
|
|
@@ -17822,10 +17822,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
17822
17822
|
};
|
|
17823
17823
|
} | {
|
|
17824
17824
|
output: {
|
|
17825
|
-
|
|
17825
|
+
type: 'file';
|
|
17826
|
+
path: string;
|
|
17827
|
+
size: number;
|
|
17828
|
+
binary: boolean;
|
|
17829
|
+
tooLarge: boolean;
|
|
17830
|
+
content?: string | undefined;
|
|
17826
17831
|
};
|
|
17827
17832
|
outputFormat: "json";
|
|
17828
|
-
status:
|
|
17833
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
17829
17834
|
input: {
|
|
17830
17835
|
param: {
|
|
17831
17836
|
sha: string;
|
|
@@ -17838,15 +17843,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
17838
17843
|
};
|
|
17839
17844
|
} | {
|
|
17840
17845
|
output: {
|
|
17841
|
-
|
|
17842
|
-
path: string;
|
|
17843
|
-
size: number;
|
|
17844
|
-
binary: boolean;
|
|
17845
|
-
tooLarge: boolean;
|
|
17846
|
-
content?: string | undefined;
|
|
17846
|
+
error: string;
|
|
17847
17847
|
};
|
|
17848
17848
|
outputFormat: "json";
|
|
17849
|
-
status:
|
|
17849
|
+
status: 404 | 409;
|
|
17850
17850
|
input: {
|
|
17851
17851
|
param: {
|
|
17852
17852
|
sha: string;
|
|
@@ -17892,22 +17892,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
17892
17892
|
raw?: "1" | undefined;
|
|
17893
17893
|
};
|
|
17894
17894
|
};
|
|
17895
|
-
} | {
|
|
17896
|
-
output: {
|
|
17897
|
-
error: string;
|
|
17898
|
-
};
|
|
17899
|
-
outputFormat: "json";
|
|
17900
|
-
status: 404 | 409;
|
|
17901
|
-
input: {
|
|
17902
|
-
param: {
|
|
17903
|
-
id: string;
|
|
17904
|
-
};
|
|
17905
|
-
} & {
|
|
17906
|
-
query: {
|
|
17907
|
-
path: string | string[];
|
|
17908
|
-
raw?: "1" | undefined;
|
|
17909
|
-
};
|
|
17910
|
-
};
|
|
17911
17895
|
} | {
|
|
17912
17896
|
output: {
|
|
17913
17897
|
type: "file";
|
|
@@ -17944,6 +17928,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
17944
17928
|
raw?: "1" | undefined;
|
|
17945
17929
|
};
|
|
17946
17930
|
};
|
|
17931
|
+
} | {
|
|
17932
|
+
output: {
|
|
17933
|
+
error: string;
|
|
17934
|
+
};
|
|
17935
|
+
outputFormat: "json";
|
|
17936
|
+
status: 404 | 409;
|
|
17937
|
+
input: {
|
|
17938
|
+
param: {
|
|
17939
|
+
id: string;
|
|
17940
|
+
};
|
|
17941
|
+
} & {
|
|
17942
|
+
query: {
|
|
17943
|
+
path: string | string[];
|
|
17944
|
+
raw?: "1" | undefined;
|
|
17945
|
+
};
|
|
17946
|
+
};
|
|
17947
17947
|
};
|
|
17948
17948
|
};
|
|
17949
17949
|
} & {
|
|
@@ -18008,6 +18008,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18008
18008
|
artifactId: string;
|
|
18009
18009
|
};
|
|
18010
18010
|
};
|
|
18011
|
+
} | {
|
|
18012
|
+
output: {
|
|
18013
|
+
error: string;
|
|
18014
|
+
};
|
|
18015
|
+
outputFormat: "json";
|
|
18016
|
+
status: 404;
|
|
18017
|
+
input: {
|
|
18018
|
+
param: {
|
|
18019
|
+
id: string;
|
|
18020
|
+
artifactId: string;
|
|
18021
|
+
};
|
|
18022
|
+
};
|
|
18011
18023
|
} | {
|
|
18012
18024
|
output: {
|
|
18013
18025
|
type: "file";
|
|
@@ -18036,18 +18048,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18036
18048
|
artifactId: string;
|
|
18037
18049
|
};
|
|
18038
18050
|
};
|
|
18039
|
-
} | {
|
|
18040
|
-
output: {
|
|
18041
|
-
error: string;
|
|
18042
|
-
};
|
|
18043
|
-
outputFormat: "json";
|
|
18044
|
-
status: 404;
|
|
18045
|
-
input: {
|
|
18046
|
-
param: {
|
|
18047
|
-
id: string;
|
|
18048
|
-
artifactId: string;
|
|
18049
|
-
};
|
|
18050
|
-
};
|
|
18051
18051
|
};
|
|
18052
18052
|
};
|
|
18053
18053
|
} & {
|
|
@@ -18223,22 +18223,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18223
18223
|
id: string;
|
|
18224
18224
|
};
|
|
18225
18225
|
};
|
|
18226
|
-
} | {
|
|
18227
|
-
output: {
|
|
18228
|
-
error: string;
|
|
18229
|
-
};
|
|
18230
|
-
outputFormat: "json";
|
|
18231
|
-
status: 404 | 409;
|
|
18232
|
-
input: {
|
|
18233
|
-
query: {
|
|
18234
|
-
path?: string | undefined;
|
|
18235
|
-
raw?: string | undefined;
|
|
18236
|
-
};
|
|
18237
|
-
} & {
|
|
18238
|
-
param: {
|
|
18239
|
-
id: string;
|
|
18240
|
-
};
|
|
18241
|
-
};
|
|
18242
18226
|
} | {
|
|
18243
18227
|
output: {
|
|
18244
18228
|
type: 'file';
|
|
@@ -18283,16 +18267,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18283
18267
|
id: string;
|
|
18284
18268
|
};
|
|
18285
18269
|
};
|
|
18270
|
+
} | {
|
|
18271
|
+
output: {
|
|
18272
|
+
error: string;
|
|
18273
|
+
};
|
|
18274
|
+
outputFormat: "json";
|
|
18275
|
+
status: 404 | 409;
|
|
18276
|
+
input: {
|
|
18277
|
+
query: {
|
|
18278
|
+
path?: string | undefined;
|
|
18279
|
+
raw?: string | undefined;
|
|
18280
|
+
};
|
|
18281
|
+
} & {
|
|
18282
|
+
param: {
|
|
18283
|
+
id: string;
|
|
18284
|
+
};
|
|
18285
|
+
};
|
|
18286
18286
|
};
|
|
18287
18287
|
};
|
|
18288
18288
|
} & {
|
|
18289
18289
|
"/runs/:id/git/commit": {
|
|
18290
18290
|
$post: {
|
|
18291
18291
|
output: {
|
|
18292
|
-
|
|
18292
|
+
committed: true;
|
|
18293
|
+
sha: string;
|
|
18293
18294
|
};
|
|
18294
18295
|
outputFormat: "json";
|
|
18295
|
-
status:
|
|
18296
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
18296
18297
|
input: {
|
|
18297
18298
|
json: {
|
|
18298
18299
|
message: string;
|
|
@@ -18304,11 +18305,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18304
18305
|
};
|
|
18305
18306
|
} | {
|
|
18306
18307
|
output: {
|
|
18307
|
-
|
|
18308
|
-
sha: string;
|
|
18308
|
+
error: string;
|
|
18309
18309
|
};
|
|
18310
18310
|
outputFormat: "json";
|
|
18311
|
-
status:
|
|
18311
|
+
status: 404 | 409;
|
|
18312
18312
|
input: {
|
|
18313
18313
|
json: {
|
|
18314
18314
|
message: string;
|
|
@@ -18324,10 +18324,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18324
18324
|
"/runs/:id/git/push": {
|
|
18325
18325
|
$post: {
|
|
18326
18326
|
output: {
|
|
18327
|
-
|
|
18327
|
+
pushed: true;
|
|
18328
|
+
branch: string;
|
|
18329
|
+
remote: string;
|
|
18330
|
+
upstreamSet: boolean;
|
|
18328
18331
|
};
|
|
18329
18332
|
outputFormat: "json";
|
|
18330
|
-
status:
|
|
18333
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
18331
18334
|
input: {
|
|
18332
18335
|
param: {
|
|
18333
18336
|
id: string;
|
|
@@ -18335,13 +18338,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18335
18338
|
};
|
|
18336
18339
|
} | {
|
|
18337
18340
|
output: {
|
|
18338
|
-
|
|
18339
|
-
branch: string;
|
|
18340
|
-
remote: string;
|
|
18341
|
-
upstreamSet: boolean;
|
|
18341
|
+
error: string;
|
|
18342
18342
|
};
|
|
18343
18343
|
outputFormat: "json";
|
|
18344
|
-
status:
|
|
18344
|
+
status: 404 | 409;
|
|
18345
18345
|
input: {
|
|
18346
18346
|
param: {
|
|
18347
18347
|
id: string;
|
|
@@ -18353,10 +18353,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18353
18353
|
"/runs/:id/pr": {
|
|
18354
18354
|
$post: {
|
|
18355
18355
|
output: {
|
|
18356
|
-
|
|
18356
|
+
url: string;
|
|
18357
|
+
dryRun: boolean;
|
|
18357
18358
|
};
|
|
18358
18359
|
outputFormat: "json";
|
|
18359
|
-
status:
|
|
18360
|
+
status: 201;
|
|
18360
18361
|
input: {
|
|
18361
18362
|
param: {
|
|
18362
18363
|
id: string;
|
|
@@ -18364,11 +18365,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18364
18365
|
};
|
|
18365
18366
|
} | {
|
|
18366
18367
|
output: {
|
|
18367
|
-
|
|
18368
|
-
dryRun: boolean;
|
|
18368
|
+
error: string;
|
|
18369
18369
|
};
|
|
18370
18370
|
outputFormat: "json";
|
|
18371
|
-
status:
|
|
18371
|
+
status: 404 | 409;
|
|
18372
18372
|
input: {
|
|
18373
18373
|
param: {
|
|
18374
18374
|
id: string;
|
|
@@ -18380,10 +18380,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18380
18380
|
"/runs/:id/remove-worktree": {
|
|
18381
18381
|
$post: {
|
|
18382
18382
|
output: {
|
|
18383
|
-
|
|
18383
|
+
removed: true;
|
|
18384
18384
|
};
|
|
18385
18385
|
outputFormat: "json";
|
|
18386
|
-
status:
|
|
18386
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
18387
18387
|
input: {
|
|
18388
18388
|
param: {
|
|
18389
18389
|
id: string;
|
|
@@ -18391,10 +18391,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18391
18391
|
};
|
|
18392
18392
|
} | {
|
|
18393
18393
|
output: {
|
|
18394
|
-
|
|
18394
|
+
error: string;
|
|
18395
18395
|
};
|
|
18396
18396
|
outputFormat: "json";
|
|
18397
|
-
status:
|
|
18397
|
+
status: 404 | 409;
|
|
18398
18398
|
input: {
|
|
18399
18399
|
param: {
|
|
18400
18400
|
id: string;
|
|
@@ -18406,10 +18406,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18406
18406
|
"/runs/:id": {
|
|
18407
18407
|
$delete: {
|
|
18408
18408
|
output: {
|
|
18409
|
-
|
|
18409
|
+
deleted: true;
|
|
18410
18410
|
};
|
|
18411
18411
|
outputFormat: "json";
|
|
18412
|
-
status:
|
|
18412
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
18413
18413
|
input: {
|
|
18414
18414
|
param: {
|
|
18415
18415
|
id: string;
|
|
@@ -18417,10 +18417,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18417
18417
|
};
|
|
18418
18418
|
} | {
|
|
18419
18419
|
output: {
|
|
18420
|
-
|
|
18420
|
+
error: string;
|
|
18421
18421
|
};
|
|
18422
18422
|
outputFormat: "json";
|
|
18423
|
-
status:
|
|
18423
|
+
status: 404 | 409;
|
|
18424
18424
|
input: {
|
|
18425
18425
|
param: {
|
|
18426
18426
|
id: string;
|
|
@@ -18489,18 +18489,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18489
18489
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
18490
18490
|
"/plan": {
|
|
18491
18491
|
$post: {
|
|
18492
|
-
output: {
|
|
18493
|
-
error: string;
|
|
18494
|
-
};
|
|
18495
|
-
outputFormat: "json";
|
|
18496
|
-
status: 400 | 404 | 409;
|
|
18497
|
-
input: {
|
|
18498
|
-
json: {
|
|
18499
|
-
task: string;
|
|
18500
|
-
agentProfile?: string | undefined;
|
|
18501
|
-
};
|
|
18502
|
-
};
|
|
18503
|
-
} | {
|
|
18504
18492
|
output: {
|
|
18505
18493
|
name?: string;
|
|
18506
18494
|
steps: {
|
|
@@ -18537,6 +18525,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18537
18525
|
agentProfile?: string | undefined;
|
|
18538
18526
|
};
|
|
18539
18527
|
};
|
|
18528
|
+
} | {
|
|
18529
|
+
output: {
|
|
18530
|
+
error: string;
|
|
18531
|
+
};
|
|
18532
|
+
outputFormat: "json";
|
|
18533
|
+
status: 400 | 404 | 409;
|
|
18534
|
+
input: {
|
|
18535
|
+
json: {
|
|
18536
|
+
task: string;
|
|
18537
|
+
agentProfile?: string | undefined;
|
|
18538
|
+
};
|
|
18539
|
+
};
|
|
18540
18540
|
};
|
|
18541
18541
|
};
|
|
18542
18542
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
@@ -18586,42 +18586,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18586
18586
|
"/ui-state": {
|
|
18587
18587
|
$put: {
|
|
18588
18588
|
output: {
|
|
18589
|
-
|
|
18590
|
-
sidebarLimits?: {
|
|
18591
|
-
overall?: number | null | undefined;
|
|
18592
|
-
needsYou?: number | null | undefined;
|
|
18593
|
-
finished?: number | null | undefined;
|
|
18594
|
-
working?: number | null | undefined;
|
|
18595
|
-
} | undefined;
|
|
18596
|
-
lastTask?: {
|
|
18597
|
-
source: "skill" | "workflow";
|
|
18598
|
-
ref: string;
|
|
18599
|
-
} | null | undefined;
|
|
18600
|
-
recentSources?: {
|
|
18601
|
-
source: "skill" | "workflow";
|
|
18602
|
-
ref: string;
|
|
18603
|
-
}[] | undefined;
|
|
18604
|
-
lastWorktree?: boolean | undefined;
|
|
18605
|
-
lastAutonomous?: boolean | undefined;
|
|
18606
|
-
skillUsage?: {
|
|
18607
|
-
[x: string]: number;
|
|
18608
|
-
} | undefined;
|
|
18609
|
-
runsView?: "list" | "table" | undefined;
|
|
18610
|
-
githubView?: "issues" | "prs" | undefined;
|
|
18611
|
-
appearance?: {
|
|
18612
|
-
accent?: "cezarion" | "lime" | "violet" | undefined;
|
|
18613
|
-
density?: "comfortable" | "compact" | "ultra" | undefined;
|
|
18614
|
-
width?: "narrow" | "wide" | undefined;
|
|
18615
|
-
} | undefined;
|
|
18616
|
-
promptTemplates?: {
|
|
18617
|
-
id: string;
|
|
18618
|
-
label: string;
|
|
18619
|
-
text: string;
|
|
18620
|
-
skills?: string[] | undefined;
|
|
18621
|
-
}[] | undefined;
|
|
18589
|
+
error: string;
|
|
18622
18590
|
};
|
|
18623
18591
|
outputFormat: "json";
|
|
18624
|
-
status:
|
|
18592
|
+
status: 500;
|
|
18625
18593
|
input: {
|
|
18626
18594
|
json: {
|
|
18627
18595
|
[x: string]: unknown;
|
|
@@ -18659,10 +18627,42 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18659
18627
|
};
|
|
18660
18628
|
} | {
|
|
18661
18629
|
output: {
|
|
18662
|
-
|
|
18630
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
18631
|
+
sidebarLimits?: {
|
|
18632
|
+
overall?: number | null | undefined;
|
|
18633
|
+
needsYou?: number | null | undefined;
|
|
18634
|
+
finished?: number | null | undefined;
|
|
18635
|
+
working?: number | null | undefined;
|
|
18636
|
+
} | undefined;
|
|
18637
|
+
lastTask?: {
|
|
18638
|
+
source: "skill" | "workflow";
|
|
18639
|
+
ref: string;
|
|
18640
|
+
} | null | undefined;
|
|
18641
|
+
recentSources?: {
|
|
18642
|
+
source: "skill" | "workflow";
|
|
18643
|
+
ref: string;
|
|
18644
|
+
}[] | undefined;
|
|
18645
|
+
lastWorktree?: boolean | undefined;
|
|
18646
|
+
lastAutonomous?: boolean | undefined;
|
|
18647
|
+
skillUsage?: {
|
|
18648
|
+
[x: string]: number;
|
|
18649
|
+
} | undefined;
|
|
18650
|
+
runsView?: "list" | "table" | undefined;
|
|
18651
|
+
githubView?: "issues" | "prs" | undefined;
|
|
18652
|
+
appearance?: {
|
|
18653
|
+
accent?: "cezarion" | "lime" | "violet" | undefined;
|
|
18654
|
+
density?: "comfortable" | "compact" | "ultra" | undefined;
|
|
18655
|
+
width?: "narrow" | "wide" | undefined;
|
|
18656
|
+
} | undefined;
|
|
18657
|
+
promptTemplates?: {
|
|
18658
|
+
id: string;
|
|
18659
|
+
label: string;
|
|
18660
|
+
text: string;
|
|
18661
|
+
skills?: string[] | undefined;
|
|
18662
|
+
}[] | undefined;
|
|
18663
18663
|
};
|
|
18664
18664
|
outputFormat: "json";
|
|
18665
|
-
status:
|
|
18665
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
18666
18666
|
input: {
|
|
18667
18667
|
json: {
|
|
18668
18668
|
[x: string]: unknown;
|
|
@@ -18739,34 +18739,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18739
18739
|
"/config": {
|
|
18740
18740
|
$put: {
|
|
18741
18741
|
output: {
|
|
18742
|
-
|
|
18743
|
-
effectiveArchiveOnMerge: boolean;
|
|
18744
|
-
archiveOnMergeSource: "default" | "environment" | "global" | "project";
|
|
18745
|
-
baseBranch: string | null;
|
|
18746
|
-
defaultRunner: string;
|
|
18747
|
-
systemPrompt: string | null;
|
|
18748
|
-
defaultModels: {
|
|
18749
|
-
[x: string]: string | undefined;
|
|
18750
|
-
};
|
|
18751
|
-
modelsLocked: boolean;
|
|
18752
|
-
maxParallel: number;
|
|
18753
|
-
memoryLimitMb: number | null;
|
|
18754
|
-
worktreeRetention: number;
|
|
18755
|
-
liveTitleUpdates: boolean | null;
|
|
18756
|
-
reviewGate: boolean | null;
|
|
18757
|
-
worktreeSetup: {
|
|
18758
|
-
commands: string[];
|
|
18759
|
-
timeoutSeconds: number;
|
|
18760
|
-
} | null;
|
|
18761
|
-
worktreeSetupIssue: string | null;
|
|
18762
|
-
worktreeTeardown: {
|
|
18763
|
-
commands: string[];
|
|
18764
|
-
timeoutSeconds: number;
|
|
18765
|
-
} | null;
|
|
18766
|
-
worktreeTeardownIssue: string | null;
|
|
18742
|
+
error: string;
|
|
18767
18743
|
};
|
|
18768
18744
|
outputFormat: "json";
|
|
18769
|
-
status:
|
|
18745
|
+
status: 409;
|
|
18770
18746
|
input: {
|
|
18771
18747
|
json: {
|
|
18772
18748
|
archiveOnMerge?: boolean | null | undefined;
|
|
@@ -18794,7 +18770,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18794
18770
|
error: string;
|
|
18795
18771
|
};
|
|
18796
18772
|
outputFormat: "json";
|
|
18797
|
-
status:
|
|
18773
|
+
status: 500;
|
|
18798
18774
|
input: {
|
|
18799
18775
|
json: {
|
|
18800
18776
|
archiveOnMerge?: boolean | null | undefined;
|
|
@@ -18819,10 +18795,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18819
18795
|
};
|
|
18820
18796
|
} | {
|
|
18821
18797
|
output: {
|
|
18822
|
-
|
|
18798
|
+
archiveOnMerge: boolean | null;
|
|
18799
|
+
effectiveArchiveOnMerge: boolean;
|
|
18800
|
+
archiveOnMergeSource: "default" | "environment" | "global" | "project";
|
|
18801
|
+
baseBranch: string | null;
|
|
18802
|
+
defaultRunner: string;
|
|
18803
|
+
systemPrompt: string | null;
|
|
18804
|
+
defaultModels: {
|
|
18805
|
+
[x: string]: string | undefined;
|
|
18806
|
+
};
|
|
18807
|
+
modelsLocked: boolean;
|
|
18808
|
+
maxParallel: number;
|
|
18809
|
+
memoryLimitMb: number | null;
|
|
18810
|
+
worktreeRetention: number;
|
|
18811
|
+
liveTitleUpdates: boolean | null;
|
|
18812
|
+
reviewGate: boolean | null;
|
|
18813
|
+
worktreeSetup: {
|
|
18814
|
+
commands: string[];
|
|
18815
|
+
timeoutSeconds: number;
|
|
18816
|
+
} | null;
|
|
18817
|
+
worktreeSetupIssue: string | null;
|
|
18818
|
+
worktreeTeardown: {
|
|
18819
|
+
commands: string[];
|
|
18820
|
+
timeoutSeconds: number;
|
|
18821
|
+
} | null;
|
|
18822
|
+
worktreeTeardownIssue: string | null;
|
|
18823
18823
|
};
|
|
18824
18824
|
outputFormat: "json";
|
|
18825
|
-
status:
|
|
18825
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
18826
18826
|
input: {
|
|
18827
18827
|
json: {
|
|
18828
18828
|
archiveOnMerge?: boolean | null | undefined;
|
|
@@ -18850,9 +18850,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18850
18850
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
18851
18851
|
"/runs/:id/events": {
|
|
18852
18852
|
$get: {
|
|
18853
|
-
output: {
|
|
18854
|
-
|
|
18855
|
-
|
|
18853
|
+
output: {
|
|
18854
|
+
error: string;
|
|
18855
|
+
code?: "invalid_input" | undefined;
|
|
18856
|
+
};
|
|
18857
|
+
outputFormat: "json";
|
|
18858
|
+
status: 400;
|
|
18856
18859
|
input: {
|
|
18857
18860
|
param: {
|
|
18858
18861
|
id: string;
|
|
@@ -18864,12 +18867,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18864
18867
|
};
|
|
18865
18868
|
};
|
|
18866
18869
|
} | {
|
|
18867
|
-
output: {
|
|
18868
|
-
|
|
18869
|
-
|
|
18870
|
-
};
|
|
18871
|
-
outputFormat: "json";
|
|
18872
|
-
status: 400;
|
|
18870
|
+
output: {};
|
|
18871
|
+
outputFormat: string;
|
|
18872
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
18873
18873
|
input: {
|
|
18874
18874
|
param: {
|
|
18875
18875
|
id: string;
|
|
@@ -18913,7 +18913,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18913
18913
|
error: string;
|
|
18914
18914
|
};
|
|
18915
18915
|
outputFormat: "json";
|
|
18916
|
-
status:
|
|
18916
|
+
status: 400;
|
|
18917
18917
|
input: {
|
|
18918
18918
|
json: {
|
|
18919
18919
|
target: string;
|
|
@@ -18924,7 +18924,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18924
18924
|
error: string;
|
|
18925
18925
|
};
|
|
18926
18926
|
outputFormat: "json";
|
|
18927
|
-
status:
|
|
18927
|
+
status: 409;
|
|
18928
18928
|
input: {
|
|
18929
18929
|
json: {
|
|
18930
18930
|
target: string;
|
|
@@ -19032,14 +19032,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19032
19032
|
"/agent-config/:id": {
|
|
19033
19033
|
$put: {
|
|
19034
19034
|
output: {
|
|
19035
|
-
|
|
19036
|
-
path: string;
|
|
19037
|
-
exists: boolean;
|
|
19038
|
-
content: string;
|
|
19039
|
-
version: string | null;
|
|
19035
|
+
error: string;
|
|
19040
19036
|
};
|
|
19041
19037
|
outputFormat: "json";
|
|
19042
|
-
status:
|
|
19038
|
+
status: 404;
|
|
19043
19039
|
input: {
|
|
19044
19040
|
json: {
|
|
19045
19041
|
content: string;
|
|
@@ -19052,10 +19048,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19052
19048
|
};
|
|
19053
19049
|
} | {
|
|
19054
19050
|
output: {
|
|
19055
|
-
|
|
19051
|
+
id: string;
|
|
19052
|
+
path: string;
|
|
19053
|
+
exists: boolean;
|
|
19054
|
+
content: string;
|
|
19055
|
+
version: string | null;
|
|
19056
19056
|
};
|
|
19057
19057
|
outputFormat: "json";
|
|
19058
|
-
status:
|
|
19058
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
19059
19059
|
input: {
|
|
19060
19060
|
json: {
|
|
19061
19061
|
content: string;
|
|
@@ -19155,10 +19155,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19155
19155
|
};
|
|
19156
19156
|
} | {
|
|
19157
19157
|
output: {
|
|
19158
|
-
|
|
19158
|
+
runId: string;
|
|
19159
|
+
worktreeReclaimedAt: string;
|
|
19159
19160
|
};
|
|
19160
19161
|
outputFormat: "json";
|
|
19161
|
-
status:
|
|
19162
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
19162
19163
|
input: {
|
|
19163
19164
|
param: {
|
|
19164
19165
|
runId: string;
|
|
@@ -19170,11 +19171,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19170
19171
|
};
|
|
19171
19172
|
} | {
|
|
19172
19173
|
output: {
|
|
19173
|
-
|
|
19174
|
-
worktreeReclaimedAt: string;
|
|
19174
|
+
error: string;
|
|
19175
19175
|
};
|
|
19176
19176
|
outputFormat: "json";
|
|
19177
|
-
status:
|
|
19177
|
+
status: 404 | 409;
|
|
19178
19178
|
input: {
|
|
19179
19179
|
param: {
|
|
19180
19180
|
runId: string;
|
|
@@ -19334,10 +19334,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19334
19334
|
"/workflows": {
|
|
19335
19335
|
$post: {
|
|
19336
19336
|
output: {
|
|
19337
|
-
|
|
19337
|
+
path: string;
|
|
19338
|
+
name: string;
|
|
19338
19339
|
};
|
|
19339
19340
|
outputFormat: "json";
|
|
19340
|
-
status:
|
|
19341
|
+
status: 201;
|
|
19341
19342
|
input: {
|
|
19342
19343
|
json: {
|
|
19343
19344
|
name: string;
|
|
@@ -19370,10 +19371,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19370
19371
|
} | {
|
|
19371
19372
|
output: {
|
|
19372
19373
|
error: string;
|
|
19373
|
-
exists: true;
|
|
19374
19374
|
};
|
|
19375
19375
|
outputFormat: "json";
|
|
19376
|
-
status:
|
|
19376
|
+
status: 400;
|
|
19377
19377
|
input: {
|
|
19378
19378
|
json: {
|
|
19379
19379
|
name: string;
|
|
@@ -19406,9 +19406,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19406
19406
|
} | {
|
|
19407
19407
|
output: {
|
|
19408
19408
|
error: string;
|
|
19409
|
+
exists: true;
|
|
19409
19410
|
};
|
|
19410
19411
|
outputFormat: "json";
|
|
19411
|
-
status:
|
|
19412
|
+
status: 409;
|
|
19412
19413
|
input: {
|
|
19413
19414
|
json: {
|
|
19414
19415
|
name: string;
|
|
@@ -19440,11 +19441,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19440
19441
|
};
|
|
19441
19442
|
} | {
|
|
19442
19443
|
output: {
|
|
19443
|
-
|
|
19444
|
-
name: string;
|
|
19444
|
+
error: string;
|
|
19445
19445
|
};
|
|
19446
19446
|
outputFormat: "json";
|
|
19447
|
-
status:
|
|
19447
|
+
status: 500;
|
|
19448
19448
|
input: {
|
|
19449
19449
|
json: {
|
|
19450
19450
|
name: string;
|
|
@@ -19480,10 +19480,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19480
19480
|
"/workflows/:name": {
|
|
19481
19481
|
$delete: {
|
|
19482
19482
|
output: {
|
|
19483
|
-
|
|
19483
|
+
ok: true;
|
|
19484
|
+
path: string;
|
|
19484
19485
|
};
|
|
19485
19486
|
outputFormat: "json";
|
|
19486
|
-
status:
|
|
19487
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
19487
19488
|
input: {
|
|
19488
19489
|
param: {
|
|
19489
19490
|
name: string;
|
|
@@ -19491,11 +19492,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19491
19492
|
};
|
|
19492
19493
|
} | {
|
|
19493
19494
|
output: {
|
|
19494
|
-
|
|
19495
|
-
path: string;
|
|
19495
|
+
error: string;
|
|
19496
19496
|
};
|
|
19497
19497
|
outputFormat: "json";
|
|
19498
|
-
status:
|
|
19498
|
+
status: 400 | 404 | 409 | 500;
|
|
19499
19499
|
input: {
|
|
19500
19500
|
param: {
|
|
19501
19501
|
name: string;
|
|
@@ -20436,14 +20436,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20436
20436
|
"/repo/branches/delete": {
|
|
20437
20437
|
$post: {
|
|
20438
20438
|
output: {
|
|
20439
|
-
|
|
20439
|
+
deleted: string[];
|
|
20440
20440
|
refused: {
|
|
20441
20441
|
name: string;
|
|
20442
20442
|
reason: string;
|
|
20443
20443
|
}[];
|
|
20444
|
+
dropped?: {
|
|
20445
|
+
sha: string;
|
|
20446
|
+
subject: string;
|
|
20447
|
+
}[] | undefined;
|
|
20444
20448
|
};
|
|
20445
20449
|
outputFormat: "json";
|
|
20446
|
-
status:
|
|
20450
|
+
status: 200;
|
|
20447
20451
|
input: {
|
|
20448
20452
|
json: {
|
|
20449
20453
|
names: string[];
|
|
@@ -20452,18 +20456,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20452
20456
|
};
|
|
20453
20457
|
} | {
|
|
20454
20458
|
output: {
|
|
20455
|
-
|
|
20459
|
+
error: string;
|
|
20456
20460
|
refused: {
|
|
20457
20461
|
name: string;
|
|
20458
20462
|
reason: string;
|
|
20459
20463
|
}[];
|
|
20460
|
-
dropped?: {
|
|
20461
|
-
sha: string;
|
|
20462
|
-
subject: string;
|
|
20463
|
-
}[] | undefined;
|
|
20464
20464
|
};
|
|
20465
20465
|
outputFormat: "json";
|
|
20466
|
-
status:
|
|
20466
|
+
status: 409;
|
|
20467
20467
|
input: {
|
|
20468
20468
|
json: {
|
|
20469
20469
|
names: string[];
|
|
@@ -20484,9 +20484,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20484
20484
|
} & {
|
|
20485
20485
|
"/repo/commit/:sha": {
|
|
20486
20486
|
$get: {
|
|
20487
|
-
output:
|
|
20488
|
-
|
|
20489
|
-
|
|
20487
|
+
output: {
|
|
20488
|
+
error: string;
|
|
20489
|
+
code?: "invalid_input" | undefined;
|
|
20490
|
+
};
|
|
20491
|
+
outputFormat: "json";
|
|
20492
|
+
status: 400;
|
|
20490
20493
|
input: {
|
|
20491
20494
|
query: {
|
|
20492
20495
|
structured?: string | undefined;
|
|
@@ -20499,10 +20502,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20499
20502
|
} | {
|
|
20500
20503
|
output: {
|
|
20501
20504
|
error: string;
|
|
20502
|
-
code?: "invalid_input" | undefined;
|
|
20503
20505
|
};
|
|
20504
20506
|
outputFormat: "json";
|
|
20505
|
-
status:
|
|
20507
|
+
status: 409;
|
|
20506
20508
|
input: {
|
|
20507
20509
|
query: {
|
|
20508
20510
|
structured?: string | undefined;
|
|
@@ -20546,11 +20548,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20546
20548
|
};
|
|
20547
20549
|
};
|
|
20548
20550
|
} | {
|
|
20549
|
-
output:
|
|
20550
|
-
|
|
20551
|
-
|
|
20552
|
-
outputFormat: "json";
|
|
20553
|
-
status: 409;
|
|
20551
|
+
output: string;
|
|
20552
|
+
outputFormat: "text";
|
|
20553
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20554
20554
|
input: {
|
|
20555
20555
|
query: {
|
|
20556
20556
|
structured?: string | undefined;
|
|
@@ -20582,15 +20582,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20582
20582
|
};
|
|
20583
20583
|
} | {
|
|
20584
20584
|
output: {
|
|
20585
|
-
|
|
20586
|
-
path: string;
|
|
20587
|
-
size: number;
|
|
20588
|
-
binary: boolean;
|
|
20589
|
-
tooLarge: boolean;
|
|
20590
|
-
content?: string | undefined;
|
|
20585
|
+
error: string;
|
|
20591
20586
|
};
|
|
20592
20587
|
outputFormat: "json";
|
|
20593
|
-
status:
|
|
20588
|
+
status: 409;
|
|
20594
20589
|
input: {
|
|
20595
20590
|
param: {
|
|
20596
20591
|
sha: string;
|
|
@@ -20602,10 +20597,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20602
20597
|
};
|
|
20603
20598
|
} | {
|
|
20604
20599
|
output: {
|
|
20605
|
-
|
|
20600
|
+
type: 'file';
|
|
20601
|
+
path: string;
|
|
20602
|
+
size: number;
|
|
20603
|
+
binary: boolean;
|
|
20604
|
+
tooLarge: boolean;
|
|
20605
|
+
content?: string | undefined;
|
|
20606
20606
|
};
|
|
20607
20607
|
outputFormat: "json";
|
|
20608
|
-
status:
|
|
20608
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20609
20609
|
input: {
|
|
20610
20610
|
param: {
|
|
20611
20611
|
sha: string;
|
|
@@ -20633,15 +20633,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20633
20633
|
};
|
|
20634
20634
|
} | {
|
|
20635
20635
|
output: {
|
|
20636
|
-
|
|
20637
|
-
path: string;
|
|
20638
|
-
size: number;
|
|
20639
|
-
binary: boolean;
|
|
20640
|
-
tooLarge: boolean;
|
|
20641
|
-
content?: string | undefined;
|
|
20636
|
+
error: string;
|
|
20642
20637
|
};
|
|
20643
20638
|
outputFormat: "json";
|
|
20644
|
-
status:
|
|
20639
|
+
status: 409;
|
|
20645
20640
|
input: {
|
|
20646
20641
|
query: {
|
|
20647
20642
|
path: string | string[];
|
|
@@ -20649,10 +20644,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20649
20644
|
};
|
|
20650
20645
|
} | {
|
|
20651
20646
|
output: {
|
|
20652
|
-
|
|
20647
|
+
type: 'file';
|
|
20648
|
+
path: string;
|
|
20649
|
+
size: number;
|
|
20650
|
+
binary: boolean;
|
|
20651
|
+
tooLarge: boolean;
|
|
20652
|
+
content?: string | undefined;
|
|
20653
20653
|
};
|
|
20654
20654
|
outputFormat: "json";
|
|
20655
|
-
status:
|
|
20655
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20656
20656
|
input: {
|
|
20657
20657
|
query: {
|
|
20658
20658
|
path: string | string[];
|
|
@@ -20663,6 +20663,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20663
20663
|
} & {
|
|
20664
20664
|
"/repo/changes": {
|
|
20665
20665
|
$get: {
|
|
20666
|
+
output: {
|
|
20667
|
+
error: string;
|
|
20668
|
+
};
|
|
20669
|
+
outputFormat: "json";
|
|
20670
|
+
status: 409;
|
|
20671
|
+
input: {};
|
|
20672
|
+
} | {
|
|
20666
20673
|
output: {
|
|
20667
20674
|
files: {
|
|
20668
20675
|
path: string;
|
|
@@ -20687,13 +20694,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20687
20694
|
outputFormat: "json";
|
|
20688
20695
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20689
20696
|
input: {};
|
|
20690
|
-
} | {
|
|
20691
|
-
output: {
|
|
20692
|
-
error: string;
|
|
20693
|
-
};
|
|
20694
|
-
outputFormat: "json";
|
|
20695
|
-
status: 409;
|
|
20696
|
-
input: {};
|
|
20697
20697
|
};
|
|
20698
20698
|
};
|
|
20699
20699
|
} & {
|
|
@@ -20718,10 +20718,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20718
20718
|
"/repo/pull": {
|
|
20719
20719
|
$post: {
|
|
20720
20720
|
output: {
|
|
20721
|
-
|
|
20721
|
+
branch: string;
|
|
20722
|
+
pulled: true;
|
|
20723
|
+
summary: string;
|
|
20722
20724
|
};
|
|
20723
20725
|
outputFormat: "json";
|
|
20724
|
-
status:
|
|
20726
|
+
status: 200;
|
|
20725
20727
|
input: {
|
|
20726
20728
|
json: {
|
|
20727
20729
|
branch?: string | undefined;
|
|
@@ -20730,12 +20732,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20730
20732
|
};
|
|
20731
20733
|
} | {
|
|
20732
20734
|
output: {
|
|
20733
|
-
|
|
20734
|
-
pulled: true;
|
|
20735
|
-
summary: string;
|
|
20735
|
+
error: string;
|
|
20736
20736
|
};
|
|
20737
20737
|
outputFormat: "json";
|
|
20738
|
-
status:
|
|
20738
|
+
status: 409;
|
|
20739
20739
|
input: {
|
|
20740
20740
|
json: {
|
|
20741
20741
|
branch?: string | undefined;
|
|
@@ -21960,6 +21960,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
21960
21960
|
} & {
|
|
21961
21961
|
"/run-summaries": {
|
|
21962
21962
|
$get: {
|
|
21963
|
+
output: {
|
|
21964
|
+
error: string;
|
|
21965
|
+
code?: "invalid_input" | undefined;
|
|
21966
|
+
};
|
|
21967
|
+
outputFormat: "json";
|
|
21968
|
+
status: 400;
|
|
21969
|
+
input: {
|
|
21970
|
+
query: {
|
|
21971
|
+
archived?: "all" | "recent" | undefined;
|
|
21972
|
+
};
|
|
21973
|
+
};
|
|
21974
|
+
} | {
|
|
21963
21975
|
output: {
|
|
21964
21976
|
id: string;
|
|
21965
21977
|
title: string;
|
|
@@ -22097,18 +22109,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
22097
22109
|
archived?: "all" | "recent" | undefined;
|
|
22098
22110
|
};
|
|
22099
22111
|
};
|
|
22100
|
-
} | {
|
|
22101
|
-
output: {
|
|
22102
|
-
error: string;
|
|
22103
|
-
code?: "invalid_input" | undefined;
|
|
22104
|
-
};
|
|
22105
|
-
outputFormat: "json";
|
|
22106
|
-
status: 400;
|
|
22107
|
-
input: {
|
|
22108
|
-
query: {
|
|
22109
|
-
archived?: "all" | "recent" | undefined;
|
|
22110
|
-
};
|
|
22111
|
-
};
|
|
22112
22112
|
};
|
|
22113
22113
|
};
|
|
22114
22114
|
} & {
|
|
@@ -22470,22 +22470,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
22470
22470
|
"/runs/:id/worker-destroy": {
|
|
22471
22471
|
$post: {
|
|
22472
22472
|
output: {
|
|
22473
|
-
|
|
22474
|
-
|
|
22475
|
-
|
|
22476
|
-
|
|
22477
|
-
|
|
22478
|
-
availableModels: {
|
|
22479
|
-
id: string;
|
|
22480
|
-
label: string;
|
|
22481
|
-
description: string;
|
|
22482
|
-
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
22483
|
-
}[];
|
|
22484
|
-
otherRunners: string[];
|
|
22473
|
+
workerId: string;
|
|
22474
|
+
state: "complete" | "incomplete";
|
|
22475
|
+
work?: {
|
|
22476
|
+
uncommittedFiles: number;
|
|
22477
|
+
commits: number;
|
|
22485
22478
|
} | undefined;
|
|
22479
|
+
deleted?: ({
|
|
22480
|
+
kind: "worktree";
|
|
22481
|
+
path: string;
|
|
22482
|
+
} | {
|
|
22483
|
+
kind: "branch";
|
|
22484
|
+
ref: string;
|
|
22485
|
+
})[] | undefined;
|
|
22486
|
+
remaining: ("branch" | "process" | "worktree")[];
|
|
22487
|
+
error?: string | undefined;
|
|
22486
22488
|
};
|
|
22487
22489
|
outputFormat: "json";
|
|
22488
|
-
status:
|
|
22490
|
+
status: 200;
|
|
22489
22491
|
input: {
|
|
22490
22492
|
query: {
|
|
22491
22493
|
[x: string]: string | string[];
|
|
@@ -22538,7 +22540,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
22538
22540
|
error?: string | undefined;
|
|
22539
22541
|
};
|
|
22540
22542
|
outputFormat: "json";
|
|
22541
|
-
status:
|
|
22543
|
+
status: 409;
|
|
22542
22544
|
input: {
|
|
22543
22545
|
query: {
|
|
22544
22546
|
[x: string]: string | string[];
|
|
@@ -22554,24 +22556,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
22554
22556
|
};
|
|
22555
22557
|
} | {
|
|
22556
22558
|
output: {
|
|
22557
|
-
|
|
22558
|
-
|
|
22559
|
-
|
|
22560
|
-
|
|
22561
|
-
|
|
22559
|
+
readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
|
|
22560
|
+
readonly error: string;
|
|
22561
|
+
readonly modelChoices?: {
|
|
22562
|
+
runner: string;
|
|
22563
|
+
requestedModel: string;
|
|
22564
|
+
availableModels: {
|
|
22565
|
+
id: string;
|
|
22566
|
+
label: string;
|
|
22567
|
+
description: string;
|
|
22568
|
+
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
22569
|
+
}[];
|
|
22570
|
+
otherRunners: string[];
|
|
22562
22571
|
} | undefined;
|
|
22563
|
-
deleted?: ({
|
|
22564
|
-
kind: "worktree";
|
|
22565
|
-
path: string;
|
|
22566
|
-
} | {
|
|
22567
|
-
kind: "branch";
|
|
22568
|
-
ref: string;
|
|
22569
|
-
})[] | undefined;
|
|
22570
|
-
remaining: ("branch" | "process" | "worktree")[];
|
|
22571
|
-
error?: string | undefined;
|
|
22572
22572
|
};
|
|
22573
22573
|
outputFormat: "json";
|
|
22574
|
-
status: 409;
|
|
22574
|
+
status: 400 | 401 | 403 | 409 | 503;
|
|
22575
22575
|
input: {
|
|
22576
22576
|
query: {
|
|
22577
22577
|
[x: string]: string | string[];
|
|
@@ -22623,6 +22623,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
22623
22623
|
} & {
|
|
22624
22624
|
"/runs/:id/archive": {
|
|
22625
22625
|
$post: {
|
|
22626
|
+
output: {
|
|
22627
|
+
error: string;
|
|
22628
|
+
};
|
|
22629
|
+
outputFormat: "json";
|
|
22630
|
+
status: 404;
|
|
22631
|
+
input: {
|
|
22632
|
+
json: {
|
|
22633
|
+
archived?: boolean | undefined;
|
|
22634
|
+
};
|
|
22635
|
+
} & {
|
|
22636
|
+
param: {
|
|
22637
|
+
id: string;
|
|
22638
|
+
};
|
|
22639
|
+
};
|
|
22640
|
+
} | {
|
|
22626
22641
|
output: {
|
|
22627
22642
|
archiveWhenDone?: boolean | undefined;
|
|
22628
22643
|
autoMergePr?: boolean | undefined;
|
|
@@ -23802,32 +23817,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
23802
23817
|
id: string;
|
|
23803
23818
|
};
|
|
23804
23819
|
};
|
|
23805
|
-
}
|
|
23820
|
+
};
|
|
23821
|
+
};
|
|
23822
|
+
} & {
|
|
23823
|
+
"/runs/:id/pin": {
|
|
23824
|
+
$post: {
|
|
23806
23825
|
output: {
|
|
23807
23826
|
error: string;
|
|
23827
|
+
code?: "invalid_input" | undefined;
|
|
23808
23828
|
};
|
|
23809
23829
|
outputFormat: "json";
|
|
23810
|
-
status:
|
|
23830
|
+
status: 400;
|
|
23811
23831
|
input: {
|
|
23812
|
-
json: {
|
|
23813
|
-
archived?: boolean | undefined;
|
|
23814
|
-
};
|
|
23815
|
-
} & {
|
|
23816
23832
|
param: {
|
|
23817
23833
|
id: string;
|
|
23818
23834
|
};
|
|
23835
|
+
} & {
|
|
23836
|
+
json: {
|
|
23837
|
+
pinned?: boolean | undefined;
|
|
23838
|
+
};
|
|
23819
23839
|
};
|
|
23820
|
-
}
|
|
23821
|
-
};
|
|
23822
|
-
} & {
|
|
23823
|
-
"/runs/:id/pin": {
|
|
23824
|
-
$post: {
|
|
23840
|
+
} | {
|
|
23825
23841
|
output: {
|
|
23826
23842
|
error: string;
|
|
23827
|
-
code?: "invalid_input" | undefined;
|
|
23828
23843
|
};
|
|
23829
23844
|
outputFormat: "json";
|
|
23830
|
-
status:
|
|
23845
|
+
status: 404;
|
|
23831
23846
|
input: {
|
|
23832
23847
|
param: {
|
|
23833
23848
|
id: string;
|
|
@@ -25017,21 +25032,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
25017
25032
|
pinned?: boolean | undefined;
|
|
25018
25033
|
};
|
|
25019
25034
|
};
|
|
25020
|
-
} | {
|
|
25021
|
-
output: {
|
|
25022
|
-
error: string;
|
|
25023
|
-
};
|
|
25024
|
-
outputFormat: "json";
|
|
25025
|
-
status: 404;
|
|
25026
|
-
input: {
|
|
25027
|
-
param: {
|
|
25028
|
-
id: string;
|
|
25029
|
-
};
|
|
25030
|
-
} & {
|
|
25031
|
-
json: {
|
|
25032
|
-
pinned?: boolean | undefined;
|
|
25033
|
-
};
|
|
25034
|
-
};
|
|
25035
25035
|
};
|
|
25036
25036
|
};
|
|
25037
25037
|
} & {
|
|
@@ -25053,22 +25053,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
25053
25053
|
message?: string | undefined;
|
|
25054
25054
|
};
|
|
25055
25055
|
};
|
|
25056
|
-
} | {
|
|
25057
|
-
output: {
|
|
25058
|
-
error: string;
|
|
25059
|
-
};
|
|
25060
|
-
outputFormat: "json";
|
|
25061
|
-
status: 400 | 404 | 409;
|
|
25062
|
-
input: {
|
|
25063
|
-
param: {
|
|
25064
|
-
id: string;
|
|
25065
|
-
};
|
|
25066
|
-
} & {
|
|
25067
|
-
json: {
|
|
25068
|
-
notify: boolean;
|
|
25069
|
-
message?: string | undefined;
|
|
25070
|
-
};
|
|
25071
|
-
};
|
|
25072
25056
|
} | {
|
|
25073
25057
|
output: {
|
|
25074
25058
|
archiveWhenDone?: boolean | undefined;
|
|
@@ -26250,6 +26234,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
26250
26234
|
message?: string | undefined;
|
|
26251
26235
|
};
|
|
26252
26236
|
};
|
|
26237
|
+
} | {
|
|
26238
|
+
output: {
|
|
26239
|
+
error: string;
|
|
26240
|
+
};
|
|
26241
|
+
outputFormat: "json";
|
|
26242
|
+
status: 400 | 404 | 409;
|
|
26243
|
+
input: {
|
|
26244
|
+
param: {
|
|
26245
|
+
id: string;
|
|
26246
|
+
};
|
|
26247
|
+
} & {
|
|
26248
|
+
json: {
|
|
26249
|
+
notify: boolean;
|
|
26250
|
+
message?: string | undefined;
|
|
26251
|
+
};
|
|
26252
|
+
};
|
|
26253
26253
|
};
|
|
26254
26254
|
};
|
|
26255
26255
|
} & {
|
|
@@ -26281,6 +26281,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
26281
26281
|
} & {
|
|
26282
26282
|
"/runs/:id/read": {
|
|
26283
26283
|
$post: {
|
|
26284
|
+
output: {
|
|
26285
|
+
error: string;
|
|
26286
|
+
};
|
|
26287
|
+
outputFormat: "json";
|
|
26288
|
+
status: 404;
|
|
26289
|
+
input: {
|
|
26290
|
+
param: {
|
|
26291
|
+
id: string;
|
|
26292
|
+
};
|
|
26293
|
+
};
|
|
26294
|
+
} | {
|
|
26284
26295
|
output: {
|
|
26285
26296
|
archiveWhenDone?: boolean | undefined;
|
|
26286
26297
|
autoMergePr?: boolean | undefined;
|
|
@@ -27456,7 +27467,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
27456
27467
|
id: string;
|
|
27457
27468
|
};
|
|
27458
27469
|
};
|
|
27459
|
-
}
|
|
27470
|
+
};
|
|
27471
|
+
};
|
|
27472
|
+
} & {
|
|
27473
|
+
"/runs/:id/unread": {
|
|
27474
|
+
$post: {
|
|
27460
27475
|
output: {
|
|
27461
27476
|
error: string;
|
|
27462
27477
|
};
|
|
@@ -27467,11 +27482,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
27467
27482
|
id: string;
|
|
27468
27483
|
};
|
|
27469
27484
|
};
|
|
27470
|
-
}
|
|
27471
|
-
};
|
|
27472
|
-
} & {
|
|
27473
|
-
"/runs/:id/unread": {
|
|
27474
|
-
$post: {
|
|
27485
|
+
} | {
|
|
27475
27486
|
output: {
|
|
27476
27487
|
archiveWhenDone?: boolean | undefined;
|
|
27477
27488
|
autoMergePr?: boolean | undefined;
|
|
@@ -28647,17 +28658,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
28647
28658
|
id: string;
|
|
28648
28659
|
};
|
|
28649
28660
|
};
|
|
28650
|
-
} | {
|
|
28651
|
-
output: {
|
|
28652
|
-
error: string;
|
|
28653
|
-
};
|
|
28654
|
-
outputFormat: "json";
|
|
28655
|
-
status: 404;
|
|
28656
|
-
input: {
|
|
28657
|
-
param: {
|
|
28658
|
-
id: string;
|
|
28659
|
-
};
|
|
28660
|
-
};
|
|
28661
28661
|
};
|
|
28662
28662
|
};
|
|
28663
28663
|
} & {
|
|
@@ -29934,6 +29934,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
29934
29934
|
} & {
|
|
29935
29935
|
"/runs/:id": {
|
|
29936
29936
|
$get: {
|
|
29937
|
+
output: {
|
|
29938
|
+
error: string;
|
|
29939
|
+
};
|
|
29940
|
+
outputFormat: "json";
|
|
29941
|
+
status: 404;
|
|
29942
|
+
input: {
|
|
29943
|
+
param: {
|
|
29944
|
+
id: string;
|
|
29945
|
+
};
|
|
29946
|
+
};
|
|
29947
|
+
} | {
|
|
29937
29948
|
output: {
|
|
29938
29949
|
archiveWhenDone?: boolean | undefined;
|
|
29939
29950
|
autoMergePr?: boolean | undefined;
|
|
@@ -31117,17 +31128,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
31117
31128
|
id: string;
|
|
31118
31129
|
};
|
|
31119
31130
|
};
|
|
31120
|
-
} | {
|
|
31121
|
-
output: {
|
|
31122
|
-
error: string;
|
|
31123
|
-
};
|
|
31124
|
-
outputFormat: "json";
|
|
31125
|
-
status: 404;
|
|
31126
|
-
input: {
|
|
31127
|
-
param: {
|
|
31128
|
-
id: string;
|
|
31129
|
-
};
|
|
31130
|
-
};
|
|
31131
31131
|
};
|
|
31132
31132
|
};
|
|
31133
31133
|
} & {
|
|
@@ -31255,6 +31255,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
31255
31255
|
} & {
|
|
31256
31256
|
"/runs/:id": {
|
|
31257
31257
|
$patch: {
|
|
31258
|
+
output: {
|
|
31259
|
+
error: string;
|
|
31260
|
+
};
|
|
31261
|
+
outputFormat: "json";
|
|
31262
|
+
status: 400;
|
|
31263
|
+
input: {
|
|
31264
|
+
json: {
|
|
31265
|
+
archiveWhenDone?: boolean | undefined;
|
|
31266
|
+
autoMergePr?: boolean | undefined;
|
|
31267
|
+
allowWorkers?: boolean | undefined;
|
|
31268
|
+
allowMessaging?: boolean | undefined;
|
|
31269
|
+
title?: string | undefined;
|
|
31270
|
+
task?: string | undefined;
|
|
31271
|
+
};
|
|
31272
|
+
} & {
|
|
31273
|
+
param: {
|
|
31274
|
+
id: string;
|
|
31275
|
+
};
|
|
31276
|
+
};
|
|
31277
|
+
} | {
|
|
31278
|
+
output: {
|
|
31279
|
+
error: string;
|
|
31280
|
+
};
|
|
31281
|
+
outputFormat: "json";
|
|
31282
|
+
status: 404;
|
|
31283
|
+
input: {
|
|
31284
|
+
json: {
|
|
31285
|
+
archiveWhenDone?: boolean | undefined;
|
|
31286
|
+
autoMergePr?: boolean | undefined;
|
|
31287
|
+
allowWorkers?: boolean | undefined;
|
|
31288
|
+
allowMessaging?: boolean | undefined;
|
|
31289
|
+
title?: string | undefined;
|
|
31290
|
+
task?: string | undefined;
|
|
31291
|
+
};
|
|
31292
|
+
} & {
|
|
31293
|
+
param: {
|
|
31294
|
+
id: string;
|
|
31295
|
+
};
|
|
31296
|
+
};
|
|
31297
|
+
} | {
|
|
31298
|
+
output: {
|
|
31299
|
+
error: string;
|
|
31300
|
+
};
|
|
31301
|
+
outputFormat: "json";
|
|
31302
|
+
status: 409;
|
|
31303
|
+
input: {
|
|
31304
|
+
json: {
|
|
31305
|
+
archiveWhenDone?: boolean | undefined;
|
|
31306
|
+
autoMergePr?: boolean | undefined;
|
|
31307
|
+
allowWorkers?: boolean | undefined;
|
|
31308
|
+
allowMessaging?: boolean | undefined;
|
|
31309
|
+
title?: string | undefined;
|
|
31310
|
+
task?: string | undefined;
|
|
31311
|
+
};
|
|
31312
|
+
} & {
|
|
31313
|
+
param: {
|
|
31314
|
+
id: string;
|
|
31315
|
+
};
|
|
31316
|
+
};
|
|
31317
|
+
} | {
|
|
31258
31318
|
output: {
|
|
31259
31319
|
archiveWhenDone?: boolean | undefined;
|
|
31260
31320
|
autoMergePr?: boolean | undefined;
|
|
@@ -32439,66 +32499,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
32439
32499
|
id: string;
|
|
32440
32500
|
};
|
|
32441
32501
|
};
|
|
32442
|
-
} | {
|
|
32443
|
-
output: {
|
|
32444
|
-
error: string;
|
|
32445
|
-
};
|
|
32446
|
-
outputFormat: "json";
|
|
32447
|
-
status: 404;
|
|
32448
|
-
input: {
|
|
32449
|
-
json: {
|
|
32450
|
-
archiveWhenDone?: boolean | undefined;
|
|
32451
|
-
autoMergePr?: boolean | undefined;
|
|
32452
|
-
allowWorkers?: boolean | undefined;
|
|
32453
|
-
allowMessaging?: boolean | undefined;
|
|
32454
|
-
title?: string | undefined;
|
|
32455
|
-
task?: string | undefined;
|
|
32456
|
-
};
|
|
32457
|
-
} & {
|
|
32458
|
-
param: {
|
|
32459
|
-
id: string;
|
|
32460
|
-
};
|
|
32461
|
-
};
|
|
32462
|
-
} | {
|
|
32463
|
-
output: {
|
|
32464
|
-
error: string;
|
|
32465
|
-
};
|
|
32466
|
-
outputFormat: "json";
|
|
32467
|
-
status: 400;
|
|
32468
|
-
input: {
|
|
32469
|
-
json: {
|
|
32470
|
-
archiveWhenDone?: boolean | undefined;
|
|
32471
|
-
autoMergePr?: boolean | undefined;
|
|
32472
|
-
allowWorkers?: boolean | undefined;
|
|
32473
|
-
allowMessaging?: boolean | undefined;
|
|
32474
|
-
title?: string | undefined;
|
|
32475
|
-
task?: string | undefined;
|
|
32476
|
-
};
|
|
32477
|
-
} & {
|
|
32478
|
-
param: {
|
|
32479
|
-
id: string;
|
|
32480
|
-
};
|
|
32481
|
-
};
|
|
32482
|
-
} | {
|
|
32483
|
-
output: {
|
|
32484
|
-
error: string;
|
|
32485
|
-
};
|
|
32486
|
-
outputFormat: "json";
|
|
32487
|
-
status: 409;
|
|
32488
|
-
input: {
|
|
32489
|
-
json: {
|
|
32490
|
-
archiveWhenDone?: boolean | undefined;
|
|
32491
|
-
autoMergePr?: boolean | undefined;
|
|
32492
|
-
allowWorkers?: boolean | undefined;
|
|
32493
|
-
allowMessaging?: boolean | undefined;
|
|
32494
|
-
title?: string | undefined;
|
|
32495
|
-
task?: string | undefined;
|
|
32496
|
-
};
|
|
32497
|
-
} & {
|
|
32498
|
-
param: {
|
|
32499
|
-
id: string;
|
|
32500
|
-
};
|
|
32501
|
-
};
|
|
32502
32502
|
};
|
|
32503
32503
|
};
|
|
32504
32504
|
} & {
|
|
@@ -32599,6 +32599,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
32599
32599
|
} & {
|
|
32600
32600
|
"/runs/:id/messages": {
|
|
32601
32601
|
$post: {
|
|
32602
|
+
output: {
|
|
32603
|
+
error: string;
|
|
32604
|
+
};
|
|
32605
|
+
outputFormat: "json";
|
|
32606
|
+
status: 400;
|
|
32607
|
+
input: {
|
|
32608
|
+
json: {
|
|
32609
|
+
text?: string | undefined;
|
|
32610
|
+
images?: {
|
|
32611
|
+
mediaType: string;
|
|
32612
|
+
data: string;
|
|
32613
|
+
}[] | undefined;
|
|
32614
|
+
};
|
|
32615
|
+
} & {
|
|
32616
|
+
param: {
|
|
32617
|
+
id: string;
|
|
32618
|
+
};
|
|
32619
|
+
};
|
|
32620
|
+
} | {
|
|
32602
32621
|
output: {
|
|
32603
32622
|
error: string;
|
|
32604
32623
|
};
|
|
@@ -32655,25 +32674,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
32655
32674
|
id: string;
|
|
32656
32675
|
};
|
|
32657
32676
|
};
|
|
32658
|
-
} | {
|
|
32659
|
-
output: {
|
|
32660
|
-
error: string;
|
|
32661
|
-
};
|
|
32662
|
-
outputFormat: "json";
|
|
32663
|
-
status: 400;
|
|
32664
|
-
input: {
|
|
32665
|
-
json: {
|
|
32666
|
-
text?: string | undefined;
|
|
32667
|
-
images?: {
|
|
32668
|
-
mediaType: string;
|
|
32669
|
-
data: string;
|
|
32670
|
-
}[] | undefined;
|
|
32671
|
-
};
|
|
32672
|
-
} & {
|
|
32673
|
-
param: {
|
|
32674
|
-
id: string;
|
|
32675
|
-
};
|
|
32676
|
-
};
|
|
32677
32677
|
} | {
|
|
32678
32678
|
output: {
|
|
32679
32679
|
queued: true;
|
|
@@ -32728,7 +32728,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
32728
32728
|
error: string;
|
|
32729
32729
|
};
|
|
32730
32730
|
outputFormat: "json";
|
|
32731
|
-
status:
|
|
32731
|
+
status: 400;
|
|
32732
32732
|
input: {
|
|
32733
32733
|
json: {
|
|
32734
32734
|
text?: string | undefined;
|
|
@@ -32749,7 +32749,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
32749
32749
|
error: string;
|
|
32750
32750
|
};
|
|
32751
32751
|
outputFormat: "json";
|
|
32752
|
-
status:
|
|
32752
|
+
status: 404;
|
|
32753
32753
|
input: {
|
|
32754
32754
|
json: {
|
|
32755
32755
|
text?: string | undefined;
|
|
@@ -32969,10 +32969,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
32969
32969
|
"/runs/:id/open-in-cli": {
|
|
32970
32970
|
$post: {
|
|
32971
32971
|
output: {
|
|
32972
|
-
|
|
32972
|
+
opened: true;
|
|
32973
|
+
command: string;
|
|
32973
32974
|
};
|
|
32974
32975
|
outputFormat: "json";
|
|
32975
|
-
status:
|
|
32976
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
32976
32977
|
input: {
|
|
32977
32978
|
param: {
|
|
32978
32979
|
id: string;
|
|
@@ -32980,11 +32981,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
32980
32981
|
};
|
|
32981
32982
|
} | {
|
|
32982
32983
|
output: {
|
|
32983
|
-
|
|
32984
|
-
command: string;
|
|
32984
|
+
error: string;
|
|
32985
32985
|
};
|
|
32986
32986
|
outputFormat: "json";
|
|
32987
|
-
status:
|
|
32987
|
+
status: 404 | 409;
|
|
32988
32988
|
input: {
|
|
32989
32989
|
param: {
|
|
32990
32990
|
id: string;
|
|
@@ -33072,9 +33072,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33072
33072
|
} & {
|
|
33073
33073
|
"/runs/:id/images/:file": {
|
|
33074
33074
|
$get: {
|
|
33075
|
-
output: {
|
|
33076
|
-
|
|
33077
|
-
|
|
33075
|
+
output: {
|
|
33076
|
+
error: string;
|
|
33077
|
+
code?: "invalid_input" | undefined;
|
|
33078
|
+
};
|
|
33079
|
+
outputFormat: "json";
|
|
33080
|
+
status: 400;
|
|
33078
33081
|
input: {
|
|
33079
33082
|
param: {
|
|
33080
33083
|
id: string;
|
|
@@ -33082,12 +33085,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33082
33085
|
};
|
|
33083
33086
|
};
|
|
33084
33087
|
} | {
|
|
33085
|
-
output: {
|
|
33086
|
-
|
|
33087
|
-
|
|
33088
|
-
};
|
|
33089
|
-
outputFormat: "json";
|
|
33090
|
-
status: 400;
|
|
33088
|
+
output: {};
|
|
33089
|
+
outputFormat: string;
|
|
33090
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
33091
33091
|
input: {
|
|
33092
33092
|
param: {
|
|
33093
33093
|
id: string;
|
|
@@ -33123,17 +33123,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33123
33123
|
} & {
|
|
33124
33124
|
"/runs/:id/changes": {
|
|
33125
33125
|
$get: {
|
|
33126
|
-
output: {
|
|
33127
|
-
error: string;
|
|
33128
|
-
};
|
|
33129
|
-
outputFormat: "json";
|
|
33130
|
-
status: 404 | 409;
|
|
33131
|
-
input: {
|
|
33132
|
-
param: {
|
|
33133
|
-
id: string;
|
|
33134
|
-
};
|
|
33135
|
-
};
|
|
33136
|
-
} | {
|
|
33137
33126
|
output: {
|
|
33138
33127
|
files: {
|
|
33139
33128
|
path: string;
|
|
@@ -33162,11 +33151,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33162
33151
|
id: string;
|
|
33163
33152
|
};
|
|
33164
33153
|
};
|
|
33165
|
-
}
|
|
33166
|
-
};
|
|
33167
|
-
} & {
|
|
33168
|
-
"/runs/:id/commits": {
|
|
33169
|
-
$get: {
|
|
33154
|
+
} | {
|
|
33170
33155
|
output: {
|
|
33171
33156
|
error: string;
|
|
33172
33157
|
};
|
|
@@ -33177,7 +33162,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33177
33162
|
id: string;
|
|
33178
33163
|
};
|
|
33179
33164
|
};
|
|
33180
|
-
}
|
|
33165
|
+
};
|
|
33166
|
+
};
|
|
33167
|
+
} & {
|
|
33168
|
+
"/runs/:id/commits": {
|
|
33169
|
+
$get: {
|
|
33181
33170
|
output: {
|
|
33182
33171
|
commits: {
|
|
33183
33172
|
sha: string;
|
|
@@ -33193,11 +33182,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33193
33182
|
id: string;
|
|
33194
33183
|
};
|
|
33195
33184
|
};
|
|
33196
|
-
}
|
|
33197
|
-
};
|
|
33198
|
-
} & {
|
|
33199
|
-
"/runs/:id/commit/:sha": {
|
|
33200
|
-
$get: {
|
|
33185
|
+
} | {
|
|
33201
33186
|
output: {
|
|
33202
33187
|
error: string;
|
|
33203
33188
|
};
|
|
@@ -33206,11 +33191,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33206
33191
|
input: {
|
|
33207
33192
|
param: {
|
|
33208
33193
|
id: string;
|
|
33209
|
-
} & {
|
|
33210
|
-
sha: string;
|
|
33211
33194
|
};
|
|
33212
33195
|
};
|
|
33213
|
-
}
|
|
33196
|
+
};
|
|
33197
|
+
};
|
|
33198
|
+
} & {
|
|
33199
|
+
"/runs/:id/commit/:sha": {
|
|
33200
|
+
$get: {
|
|
33214
33201
|
output: {
|
|
33215
33202
|
sha: string;
|
|
33216
33203
|
subject: string;
|
|
@@ -33241,6 +33228,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33241
33228
|
sha: string;
|
|
33242
33229
|
};
|
|
33243
33230
|
};
|
|
33231
|
+
} | {
|
|
33232
|
+
output: {
|
|
33233
|
+
error: string;
|
|
33234
|
+
};
|
|
33235
|
+
outputFormat: "json";
|
|
33236
|
+
status: 404 | 409;
|
|
33237
|
+
input: {
|
|
33238
|
+
param: {
|
|
33239
|
+
id: string;
|
|
33240
|
+
} & {
|
|
33241
|
+
sha: string;
|
|
33242
|
+
};
|
|
33243
|
+
};
|
|
33244
33244
|
};
|
|
33245
33245
|
};
|
|
33246
33246
|
} & {
|
|
@@ -33264,10 +33264,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33264
33264
|
};
|
|
33265
33265
|
} | {
|
|
33266
33266
|
output: {
|
|
33267
|
-
|
|
33267
|
+
type: 'file';
|
|
33268
|
+
path: string;
|
|
33269
|
+
size: number;
|
|
33270
|
+
binary: boolean;
|
|
33271
|
+
tooLarge: boolean;
|
|
33272
|
+
content?: string | undefined;
|
|
33268
33273
|
};
|
|
33269
33274
|
outputFormat: "json";
|
|
33270
|
-
status:
|
|
33275
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
33271
33276
|
input: {
|
|
33272
33277
|
param: {
|
|
33273
33278
|
sha: string;
|
|
@@ -33280,15 +33285,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33280
33285
|
};
|
|
33281
33286
|
} | {
|
|
33282
33287
|
output: {
|
|
33283
|
-
|
|
33284
|
-
path: string;
|
|
33285
|
-
size: number;
|
|
33286
|
-
binary: boolean;
|
|
33287
|
-
tooLarge: boolean;
|
|
33288
|
-
content?: string | undefined;
|
|
33288
|
+
error: string;
|
|
33289
33289
|
};
|
|
33290
33290
|
outputFormat: "json";
|
|
33291
|
-
status:
|
|
33291
|
+
status: 404 | 409;
|
|
33292
33292
|
input: {
|
|
33293
33293
|
param: {
|
|
33294
33294
|
sha: string;
|
|
@@ -33334,22 +33334,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33334
33334
|
raw?: "1" | undefined;
|
|
33335
33335
|
};
|
|
33336
33336
|
};
|
|
33337
|
-
} | {
|
|
33338
|
-
output: {
|
|
33339
|
-
error: string;
|
|
33340
|
-
};
|
|
33341
|
-
outputFormat: "json";
|
|
33342
|
-
status: 404 | 409;
|
|
33343
|
-
input: {
|
|
33344
|
-
param: {
|
|
33345
|
-
id: string;
|
|
33346
|
-
};
|
|
33347
|
-
} & {
|
|
33348
|
-
query: {
|
|
33349
|
-
path: string | string[];
|
|
33350
|
-
raw?: "1" | undefined;
|
|
33351
|
-
};
|
|
33352
|
-
};
|
|
33353
33337
|
} | {
|
|
33354
33338
|
output: {
|
|
33355
33339
|
type: "file";
|
|
@@ -33386,6 +33370,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33386
33370
|
raw?: "1" | undefined;
|
|
33387
33371
|
};
|
|
33388
33372
|
};
|
|
33373
|
+
} | {
|
|
33374
|
+
output: {
|
|
33375
|
+
error: string;
|
|
33376
|
+
};
|
|
33377
|
+
outputFormat: "json";
|
|
33378
|
+
status: 404 | 409;
|
|
33379
|
+
input: {
|
|
33380
|
+
param: {
|
|
33381
|
+
id: string;
|
|
33382
|
+
};
|
|
33383
|
+
} & {
|
|
33384
|
+
query: {
|
|
33385
|
+
path: string | string[];
|
|
33386
|
+
raw?: "1" | undefined;
|
|
33387
|
+
};
|
|
33388
|
+
};
|
|
33389
33389
|
};
|
|
33390
33390
|
};
|
|
33391
33391
|
} & {
|
|
@@ -33450,6 +33450,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33450
33450
|
artifactId: string;
|
|
33451
33451
|
};
|
|
33452
33452
|
};
|
|
33453
|
+
} | {
|
|
33454
|
+
output: {
|
|
33455
|
+
error: string;
|
|
33456
|
+
};
|
|
33457
|
+
outputFormat: "json";
|
|
33458
|
+
status: 404;
|
|
33459
|
+
input: {
|
|
33460
|
+
param: {
|
|
33461
|
+
id: string;
|
|
33462
|
+
artifactId: string;
|
|
33463
|
+
};
|
|
33464
|
+
};
|
|
33453
33465
|
} | {
|
|
33454
33466
|
output: {
|
|
33455
33467
|
type: "file";
|
|
@@ -33478,18 +33490,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33478
33490
|
artifactId: string;
|
|
33479
33491
|
};
|
|
33480
33492
|
};
|
|
33481
|
-
} | {
|
|
33482
|
-
output: {
|
|
33483
|
-
error: string;
|
|
33484
|
-
};
|
|
33485
|
-
outputFormat: "json";
|
|
33486
|
-
status: 404;
|
|
33487
|
-
input: {
|
|
33488
|
-
param: {
|
|
33489
|
-
id: string;
|
|
33490
|
-
artifactId: string;
|
|
33491
|
-
};
|
|
33492
|
-
};
|
|
33493
33493
|
};
|
|
33494
33494
|
};
|
|
33495
33495
|
} & {
|
|
@@ -33665,22 +33665,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33665
33665
|
id: string;
|
|
33666
33666
|
};
|
|
33667
33667
|
};
|
|
33668
|
-
} | {
|
|
33669
|
-
output: {
|
|
33670
|
-
error: string;
|
|
33671
|
-
};
|
|
33672
|
-
outputFormat: "json";
|
|
33673
|
-
status: 404 | 409;
|
|
33674
|
-
input: {
|
|
33675
|
-
query: {
|
|
33676
|
-
path?: string | undefined;
|
|
33677
|
-
raw?: string | undefined;
|
|
33678
|
-
};
|
|
33679
|
-
} & {
|
|
33680
|
-
param: {
|
|
33681
|
-
id: string;
|
|
33682
|
-
};
|
|
33683
|
-
};
|
|
33684
33668
|
} | {
|
|
33685
33669
|
output: {
|
|
33686
33670
|
type: 'file';
|
|
@@ -33725,16 +33709,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33725
33709
|
id: string;
|
|
33726
33710
|
};
|
|
33727
33711
|
};
|
|
33712
|
+
} | {
|
|
33713
|
+
output: {
|
|
33714
|
+
error: string;
|
|
33715
|
+
};
|
|
33716
|
+
outputFormat: "json";
|
|
33717
|
+
status: 404 | 409;
|
|
33718
|
+
input: {
|
|
33719
|
+
query: {
|
|
33720
|
+
path?: string | undefined;
|
|
33721
|
+
raw?: string | undefined;
|
|
33722
|
+
};
|
|
33723
|
+
} & {
|
|
33724
|
+
param: {
|
|
33725
|
+
id: string;
|
|
33726
|
+
};
|
|
33727
|
+
};
|
|
33728
33728
|
};
|
|
33729
33729
|
};
|
|
33730
33730
|
} & {
|
|
33731
33731
|
"/runs/:id/git/commit": {
|
|
33732
33732
|
$post: {
|
|
33733
33733
|
output: {
|
|
33734
|
-
|
|
33734
|
+
committed: true;
|
|
33735
|
+
sha: string;
|
|
33735
33736
|
};
|
|
33736
33737
|
outputFormat: "json";
|
|
33737
|
-
status:
|
|
33738
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
33738
33739
|
input: {
|
|
33739
33740
|
json: {
|
|
33740
33741
|
message: string;
|
|
@@ -33746,11 +33747,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33746
33747
|
};
|
|
33747
33748
|
} | {
|
|
33748
33749
|
output: {
|
|
33749
|
-
|
|
33750
|
-
sha: string;
|
|
33750
|
+
error: string;
|
|
33751
33751
|
};
|
|
33752
33752
|
outputFormat: "json";
|
|
33753
|
-
status:
|
|
33753
|
+
status: 404 | 409;
|
|
33754
33754
|
input: {
|
|
33755
33755
|
json: {
|
|
33756
33756
|
message: string;
|
|
@@ -33766,10 +33766,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33766
33766
|
"/runs/:id/git/push": {
|
|
33767
33767
|
$post: {
|
|
33768
33768
|
output: {
|
|
33769
|
-
|
|
33769
|
+
pushed: true;
|
|
33770
|
+
branch: string;
|
|
33771
|
+
remote: string;
|
|
33772
|
+
upstreamSet: boolean;
|
|
33770
33773
|
};
|
|
33771
33774
|
outputFormat: "json";
|
|
33772
|
-
status:
|
|
33775
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
33773
33776
|
input: {
|
|
33774
33777
|
param: {
|
|
33775
33778
|
id: string;
|
|
@@ -33777,13 +33780,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33777
33780
|
};
|
|
33778
33781
|
} | {
|
|
33779
33782
|
output: {
|
|
33780
|
-
|
|
33781
|
-
branch: string;
|
|
33782
|
-
remote: string;
|
|
33783
|
-
upstreamSet: boolean;
|
|
33783
|
+
error: string;
|
|
33784
33784
|
};
|
|
33785
33785
|
outputFormat: "json";
|
|
33786
|
-
status:
|
|
33786
|
+
status: 404 | 409;
|
|
33787
33787
|
input: {
|
|
33788
33788
|
param: {
|
|
33789
33789
|
id: string;
|
|
@@ -33795,10 +33795,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33795
33795
|
"/runs/:id/pr": {
|
|
33796
33796
|
$post: {
|
|
33797
33797
|
output: {
|
|
33798
|
-
|
|
33798
|
+
url: string;
|
|
33799
|
+
dryRun: boolean;
|
|
33799
33800
|
};
|
|
33800
33801
|
outputFormat: "json";
|
|
33801
|
-
status:
|
|
33802
|
+
status: 201;
|
|
33802
33803
|
input: {
|
|
33803
33804
|
param: {
|
|
33804
33805
|
id: string;
|
|
@@ -33806,11 +33807,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33806
33807
|
};
|
|
33807
33808
|
} | {
|
|
33808
33809
|
output: {
|
|
33809
|
-
|
|
33810
|
-
dryRun: boolean;
|
|
33810
|
+
error: string;
|
|
33811
33811
|
};
|
|
33812
33812
|
outputFormat: "json";
|
|
33813
|
-
status:
|
|
33813
|
+
status: 404 | 409;
|
|
33814
33814
|
input: {
|
|
33815
33815
|
param: {
|
|
33816
33816
|
id: string;
|
|
@@ -33822,10 +33822,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33822
33822
|
"/runs/:id/remove-worktree": {
|
|
33823
33823
|
$post: {
|
|
33824
33824
|
output: {
|
|
33825
|
-
|
|
33825
|
+
removed: true;
|
|
33826
33826
|
};
|
|
33827
33827
|
outputFormat: "json";
|
|
33828
|
-
status:
|
|
33828
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
33829
33829
|
input: {
|
|
33830
33830
|
param: {
|
|
33831
33831
|
id: string;
|
|
@@ -33833,10 +33833,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33833
33833
|
};
|
|
33834
33834
|
} | {
|
|
33835
33835
|
output: {
|
|
33836
|
-
|
|
33836
|
+
error: string;
|
|
33837
33837
|
};
|
|
33838
33838
|
outputFormat: "json";
|
|
33839
|
-
status:
|
|
33839
|
+
status: 404 | 409;
|
|
33840
33840
|
input: {
|
|
33841
33841
|
param: {
|
|
33842
33842
|
id: string;
|
|
@@ -33848,10 +33848,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33848
33848
|
"/runs/:id": {
|
|
33849
33849
|
$delete: {
|
|
33850
33850
|
output: {
|
|
33851
|
-
|
|
33851
|
+
deleted: true;
|
|
33852
33852
|
};
|
|
33853
33853
|
outputFormat: "json";
|
|
33854
|
-
status:
|
|
33854
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
33855
33855
|
input: {
|
|
33856
33856
|
param: {
|
|
33857
33857
|
id: string;
|
|
@@ -33859,10 +33859,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33859
33859
|
};
|
|
33860
33860
|
} | {
|
|
33861
33861
|
output: {
|
|
33862
|
-
|
|
33862
|
+
error: string;
|
|
33863
33863
|
};
|
|
33864
33864
|
outputFormat: "json";
|
|
33865
|
-
status:
|
|
33865
|
+
status: 404 | 409;
|
|
33866
33866
|
input: {
|
|
33867
33867
|
param: {
|
|
33868
33868
|
id: string;
|