@hearsay-tools/squawk 0.18.0-pr3999.7623 → 0.18.0-pr4005.7626

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.
Files changed (2) hide show
  1. package/dist/server/server.d.ts +1371 -1371
  2. package/package.json +4 -4
@@ -279,10 +279,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
279
279
  };
280
280
  } | {
281
281
  output: {
282
- error: string;
282
+ path: string;
283
+ parent: string | null;
284
+ dirs: {
285
+ name: string;
286
+ path: string;
287
+ isRepo: boolean;
288
+ }[];
289
+ truncated: boolean;
283
290
  };
284
291
  outputFormat: "json";
285
- status: 400 | 403 | 404;
292
+ status: import("hono/utils/http-status").ContentfulStatusCode;
286
293
  input: {
287
294
  query: {
288
295
  path?: string | undefined;
@@ -291,17 +298,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
291
298
  };
292
299
  } | {
293
300
  output: {
294
- path: string;
295
- parent: string | null;
296
- dirs: {
297
- name: string;
298
- path: string;
299
- isRepo: boolean;
300
- }[];
301
- truncated: boolean;
301
+ error: string;
302
302
  };
303
303
  outputFormat: "json";
304
- status: import("hono/utils/http-status").ContentfulStatusCode;
304
+ status: 400 | 403 | 404;
305
305
  input: {
306
306
  query: {
307
307
  path?: string | undefined;
@@ -313,6 +313,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
313
313
  }, "/"> | import("hono/types").MergeSchemaPath<{
314
314
  "/automation-checks/:checkId": {
315
315
  $get: {
316
+ output: {
317
+ error: string;
318
+ };
319
+ outputFormat: "json";
320
+ status: 404;
321
+ input: {
322
+ param: {
323
+ checkId: string;
324
+ };
325
+ };
326
+ } | {
316
327
  output: {
317
328
  id: string;
318
329
  automationId: string;
@@ -331,31 +342,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
331
342
  checkId: string;
332
343
  };
333
344
  };
334
- } | {
335
- output: {
336
- error: string;
337
- };
338
- outputFormat: "json";
339
- status: 404;
340
- input: {
341
- param: {
342
- checkId: string;
343
- };
344
- };
345
345
  };
346
346
  };
347
347
  }, "/"> | import("hono/types").MergeSchemaPath<{
348
348
  "/workspace/events": {
349
349
  $get: {
350
- output: {};
351
- outputFormat: string;
352
- status: import("hono/utils/http-status").StatusCode;
353
- input: {
354
- query: {
355
- runs?: "summary" | undefined;
356
- };
357
- };
358
- } | {
359
350
  output: {
360
351
  error: string;
361
352
  code?: "invalid_input" | undefined;
@@ -367,6 +358,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
367
358
  runs?: "summary" | undefined;
368
359
  };
369
360
  };
361
+ } | {
362
+ output: {};
363
+ outputFormat: string;
364
+ status: import("hono/utils/http-status").StatusCode;
365
+ input: {
366
+ query: {
367
+ runs?: "summary" | undefined;
368
+ };
369
+ };
370
370
  };
371
371
  };
372
372
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -413,29 +413,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
413
413
  }, "/"> | import("hono/types").MergeSchemaPath<{
414
414
  "/workspace/activity": {
415
415
  $get: {
416
- output: {
417
- error: string;
418
- code?: "invalid_input" | undefined;
419
- };
420
- outputFormat: "json";
421
- status: 400;
422
- input: {
423
- query: {
424
- project?: string | undefined;
425
- };
426
- };
427
- } | {
428
- output: {
429
- error: string;
430
- };
431
- outputFormat: "json";
432
- status: 404 | 409 | 503;
433
- input: {
434
- query: {
435
- project?: string | undefined;
436
- };
437
- };
438
- } | {
439
416
  output: {
440
417
  generatedAt: string;
441
418
  projects: {
@@ -666,6 +643,29 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
666
643
  project?: string | undefined;
667
644
  };
668
645
  };
646
+ } | {
647
+ output: {
648
+ error: string;
649
+ code?: "invalid_input" | undefined;
650
+ };
651
+ outputFormat: "json";
652
+ status: 400;
653
+ input: {
654
+ query: {
655
+ project?: string | undefined;
656
+ };
657
+ };
658
+ } | {
659
+ output: {
660
+ error: string;
661
+ };
662
+ outputFormat: "json";
663
+ status: 404 | 409 | 503;
664
+ input: {
665
+ query: {
666
+ project?: string | undefined;
667
+ };
668
+ };
669
669
  };
670
670
  };
671
671
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -1017,17 +1017,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1017
1017
  };
1018
1018
  } | {
1019
1019
  output: {
1020
- providers: {
1021
- provider: string;
1022
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1023
- enabled?: boolean | undefined;
1024
- hint?: string | undefined;
1025
- authFailureId?: string | undefined;
1026
- profileId?: string | undefined;
1027
- }[];
1020
+ error: string;
1028
1021
  };
1029
1022
  outputFormat: "json";
1030
- status: import("hono/utils/http-status").ContentfulStatusCode;
1023
+ status: 500;
1031
1024
  input: {
1032
1025
  param: {
1033
1026
  provider: string;
@@ -1039,10 +1032,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1039
1032
  };
1040
1033
  } | {
1041
1034
  output: {
1042
- error: string;
1035
+ providers: {
1036
+ provider: string;
1037
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1038
+ enabled?: boolean | undefined;
1039
+ hint?: string | undefined;
1040
+ authFailureId?: string | undefined;
1041
+ profileId?: string | undefined;
1042
+ }[];
1043
1043
  };
1044
1044
  outputFormat: "json";
1045
- status: 500;
1045
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1046
1046
  input: {
1047
1047
  param: {
1048
1048
  provider: string;
@@ -1074,17 +1074,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1074
1074
  };
1075
1075
  } | {
1076
1076
  output: {
1077
- providers: {
1078
- provider: string;
1079
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1080
- enabled?: boolean | undefined;
1081
- hint?: string | undefined;
1082
- authFailureId?: string | undefined;
1083
- profileId?: string | undefined;
1084
- }[];
1077
+ error: string;
1085
1078
  };
1086
1079
  outputFormat: "json";
1087
- status: import("hono/utils/http-status").ContentfulStatusCode;
1080
+ status: 409;
1088
1081
  input: {
1089
1082
  param: {
1090
1083
  provider: string;
@@ -1096,10 +1089,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1096
1089
  };
1097
1090
  } | {
1098
1091
  output: {
1099
- error: string;
1092
+ providers: {
1093
+ provider: string;
1094
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1095
+ enabled?: boolean | undefined;
1096
+ hint?: string | undefined;
1097
+ authFailureId?: string | undefined;
1098
+ profileId?: string | undefined;
1099
+ }[];
1100
1100
  };
1101
1101
  outputFormat: "json";
1102
- status: 409;
1102
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1103
1103
  input: {
1104
1104
  param: {
1105
1105
  provider: string;
@@ -1118,7 +1118,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1118
1118
  error: string;
1119
1119
  };
1120
1120
  outputFormat: "json";
1121
- status: 409;
1121
+ status: 400;
1122
1122
  input: {
1123
1123
  json: {
1124
1124
  provider: string;
@@ -1130,7 +1130,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1130
1130
  error: string;
1131
1131
  };
1132
1132
  outputFormat: "json";
1133
- status: 400;
1133
+ status: 409;
1134
1134
  input: {
1135
1135
  json: {
1136
1136
  provider: string;
@@ -1217,34 +1217,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1217
1217
  "/workspace/config": {
1218
1218
  $put: {
1219
1219
  output: {
1220
- browseRoot: string;
1221
- projectsDir: string;
1222
- archiveOnMerge: boolean | null;
1223
- effectiveArchiveOnMerge: boolean;
1224
- archiveOnMergeSource: "default" | "environment" | "global";
1225
- composerDefaults: {
1226
- autonomous: boolean | null;
1227
- worktree: boolean | null;
1228
- inheritedAutonomous: "source-dependent" | boolean;
1229
- inheritedWorktree: boolean;
1230
- };
1231
- resources: {
1232
- maxParallel: number;
1233
- maxMonitoringSessions: number;
1234
- monitoringWakeIntervalMinutes: number | null;
1235
- autoResumeOnUsageLimit: boolean;
1236
- memoryLimitMb: number | null;
1237
- worktreeRetentionDefault: number;
1238
- };
1239
- agentDefaults: {
1240
- runner?: string | undefined;
1241
- models?: {
1242
- [x: string]: string | undefined;
1243
- } | undefined;
1244
- };
1220
+ error: string;
1245
1221
  };
1246
1222
  outputFormat: "json";
1247
- status: import("hono/utils/http-status").ContentfulStatusCode;
1223
+ status: 400;
1248
1224
  input: {
1249
1225
  json: {
1250
1226
  browseRoot?: string | undefined;
@@ -1273,7 +1249,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1273
1249
  error: string;
1274
1250
  };
1275
1251
  outputFormat: "json";
1276
- status: 400;
1252
+ status: 500;
1277
1253
  input: {
1278
1254
  json: {
1279
1255
  browseRoot?: string | undefined;
@@ -1299,10 +1275,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1299
1275
  };
1300
1276
  } | {
1301
1277
  output: {
1302
- error: string;
1278
+ browseRoot: string;
1279
+ projectsDir: string;
1280
+ archiveOnMerge: boolean | null;
1281
+ effectiveArchiveOnMerge: boolean;
1282
+ archiveOnMergeSource: "default" | "environment" | "global";
1283
+ composerDefaults: {
1284
+ autonomous: boolean | null;
1285
+ worktree: boolean | null;
1286
+ inheritedAutonomous: "source-dependent" | boolean;
1287
+ inheritedWorktree: boolean;
1288
+ };
1289
+ resources: {
1290
+ maxParallel: number;
1291
+ maxMonitoringSessions: number;
1292
+ monitoringWakeIntervalMinutes: number | null;
1293
+ autoResumeOnUsageLimit: boolean;
1294
+ memoryLimitMb: number | null;
1295
+ worktreeRetentionDefault: number;
1296
+ };
1297
+ agentDefaults: {
1298
+ runner?: string | undefined;
1299
+ models?: {
1300
+ [x: string]: string | undefined;
1301
+ } | undefined;
1302
+ };
1303
1303
  };
1304
1304
  outputFormat: "json";
1305
- status: 500;
1305
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1306
1306
  input: {
1307
1307
  json: {
1308
1308
  browseRoot?: string | undefined;
@@ -1373,73 +1373,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1373
1373
  } & {
1374
1374
  "/workspace/ui-state": {
1375
1375
  $put: {
1376
- output: {
1377
- [x: string]: import("hono/utils/types").JSONValue;
1378
- sidebar?: {
1379
- [x: string]: import("hono/utils/types").JSONValue;
1380
- collapsed?: {
1381
- [x: string]: boolean;
1382
- } | undefined;
1383
- projectOrder?: string[] | undefined;
1384
- } | undefined;
1385
- dismissedProviderAuthFailures?: {
1386
- [x: string]: string | undefined;
1387
- } | undefined;
1388
- appearance?: {
1389
- accent?: "cezarion" | "lime" | "violet" | undefined;
1390
- density?: "comfortable" | "compact" | "ultra" | undefined;
1391
- width?: "narrow" | "wide" | undefined;
1392
- } | undefined;
1393
- notifications?: {
1394
- [x: string]: import("hono/utils/types").JSONValue;
1395
- enabled?: boolean | undefined;
1396
- } | undefined;
1397
- taskTable?: {
1398
- [x: string]: import("hono/utils/types").JSONValue;
1399
- expandedColumns?: {
1400
- [x: string]: boolean;
1401
- } | undefined;
1402
- } | undefined;
1403
- lastLocation?: {
1404
- projectId: string;
1405
- pathname: string;
1406
- search?: string | undefined;
1407
- hash?: string | undefined;
1408
- } | undefined;
1409
- };
1410
- outputFormat: "json";
1411
- status: import("hono/utils/http-status").ContentfulStatusCode;
1412
- input: {
1413
- json: {
1414
- [x: string]: unknown;
1415
- appearance?: {
1416
- accent?: "cezarion" | "lime" | "violet" | undefined;
1417
- density?: "comfortable" | "compact" | "ultra" | undefined;
1418
- width?: "narrow" | "wide" | undefined;
1419
- } | undefined;
1420
- notifications?: {
1421
- [x: string]: unknown;
1422
- enabled?: boolean | undefined;
1423
- } | undefined;
1424
- lastLocation?: {
1425
- projectId: string;
1426
- pathname: string;
1427
- search?: string | undefined;
1428
- hash?: string | undefined;
1429
- } | undefined;
1430
- sidebar?: {
1431
- [x: string]: unknown;
1432
- collapsed?: Record<string, boolean> | undefined;
1433
- projectOrder?: string[] | undefined;
1434
- } | undefined;
1435
- dismissedProviderAuthFailures?: Record<string, string | undefined> | undefined;
1436
- taskTable?: {
1437
- [x: string]: unknown;
1438
- expandedColumns?: Record<string, boolean> | undefined;
1439
- } | undefined;
1440
- };
1441
- };
1442
- } | {
1443
1376
  output: {
1444
1377
  error: string;
1445
1378
  };
@@ -1475,6 +1408,73 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1475
1408
  } | undefined;
1476
1409
  };
1477
1410
  };
1411
+ } | {
1412
+ output: {
1413
+ [x: string]: import("hono/utils/types").JSONValue;
1414
+ sidebar?: {
1415
+ [x: string]: import("hono/utils/types").JSONValue;
1416
+ collapsed?: {
1417
+ [x: string]: boolean;
1418
+ } | undefined;
1419
+ projectOrder?: string[] | undefined;
1420
+ } | undefined;
1421
+ dismissedProviderAuthFailures?: {
1422
+ [x: string]: string | undefined;
1423
+ } | undefined;
1424
+ appearance?: {
1425
+ accent?: "cezarion" | "lime" | "violet" | undefined;
1426
+ density?: "comfortable" | "compact" | "ultra" | undefined;
1427
+ width?: "narrow" | "wide" | undefined;
1428
+ } | undefined;
1429
+ notifications?: {
1430
+ [x: string]: import("hono/utils/types").JSONValue;
1431
+ enabled?: boolean | undefined;
1432
+ } | undefined;
1433
+ taskTable?: {
1434
+ [x: string]: import("hono/utils/types").JSONValue;
1435
+ expandedColumns?: {
1436
+ [x: string]: boolean;
1437
+ } | undefined;
1438
+ } | undefined;
1439
+ lastLocation?: {
1440
+ projectId: string;
1441
+ pathname: string;
1442
+ search?: string | undefined;
1443
+ hash?: string | undefined;
1444
+ } | undefined;
1445
+ };
1446
+ outputFormat: "json";
1447
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1448
+ input: {
1449
+ json: {
1450
+ [x: string]: unknown;
1451
+ appearance?: {
1452
+ accent?: "cezarion" | "lime" | "violet" | undefined;
1453
+ density?: "comfortable" | "compact" | "ultra" | undefined;
1454
+ width?: "narrow" | "wide" | undefined;
1455
+ } | undefined;
1456
+ notifications?: {
1457
+ [x: string]: unknown;
1458
+ enabled?: boolean | undefined;
1459
+ } | undefined;
1460
+ lastLocation?: {
1461
+ projectId: string;
1462
+ pathname: string;
1463
+ search?: string | undefined;
1464
+ hash?: string | undefined;
1465
+ } | undefined;
1466
+ sidebar?: {
1467
+ [x: string]: unknown;
1468
+ collapsed?: Record<string, boolean> | undefined;
1469
+ projectOrder?: string[] | undefined;
1470
+ } | undefined;
1471
+ dismissedProviderAuthFailures?: Record<string, string | undefined> | undefined;
1472
+ taskTable?: {
1473
+ [x: string]: unknown;
1474
+ expandedColumns?: Record<string, boolean> | undefined;
1475
+ } | undefined;
1476
+ };
1477
+ };
1478
1478
  };
1479
1479
  };
1480
1480
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -1516,10 +1516,27 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1516
1516
  "/workspace/agent-profiles": {
1517
1517
  $post: {
1518
1518
  output: {
1519
- error: string;
1519
+ profile: {
1520
+ id: string;
1521
+ provider: string;
1522
+ label: string;
1523
+ configDir: string;
1524
+ path: string;
1525
+ exists: boolean;
1526
+ looksValid: boolean;
1527
+ isDefault: boolean;
1528
+ status?: {
1529
+ provider: string;
1530
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1531
+ enabled?: boolean | undefined;
1532
+ hint?: string | undefined;
1533
+ authFailureId?: string | undefined;
1534
+ profileId?: string | undefined;
1535
+ } | undefined;
1536
+ };
1520
1537
  };
1521
1538
  outputFormat: "json";
1522
- status: 409;
1539
+ status: 201;
1523
1540
  input: {
1524
1541
  json: {
1525
1542
  provider: string;
@@ -1545,7 +1562,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1545
1562
  error: string;
1546
1563
  };
1547
1564
  outputFormat: "json";
1548
- status: 500;
1565
+ status: 409;
1549
1566
  input: {
1550
1567
  json: {
1551
1568
  provider: string;
@@ -1555,27 +1572,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1555
1572
  };
1556
1573
  } | {
1557
1574
  output: {
1558
- profile: {
1559
- id: string;
1560
- provider: string;
1561
- label: string;
1562
- configDir: string;
1563
- path: string;
1564
- exists: boolean;
1565
- looksValid: boolean;
1566
- isDefault: boolean;
1567
- status?: {
1568
- provider: string;
1569
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1570
- enabled?: boolean | undefined;
1571
- hint?: string | undefined;
1572
- authFailureId?: string | undefined;
1573
- profileId?: string | undefined;
1574
- } | undefined;
1575
- };
1575
+ error: string;
1576
1576
  };
1577
1577
  outputFormat: "json";
1578
- status: 201;
1578
+ status: 500;
1579
1579
  input: {
1580
1580
  json: {
1581
1581
  provider: string;
@@ -1609,7 +1609,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1609
1609
  error: string;
1610
1610
  };
1611
1611
  outputFormat: "json";
1612
- status: 409;
1612
+ status: 400;
1613
1613
  input: {
1614
1614
  param: {
1615
1615
  id: string;
@@ -1625,7 +1625,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1625
1625
  error: string;
1626
1626
  };
1627
1627
  outputFormat: "json";
1628
- status: 400;
1628
+ status: 404;
1629
1629
  input: {
1630
1630
  param: {
1631
1631
  id: string;
@@ -1641,7 +1641,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1641
1641
  error: string;
1642
1642
  };
1643
1643
  outputFormat: "json";
1644
- status: 404;
1644
+ status: 409;
1645
1645
  input: {
1646
1646
  param: {
1647
1647
  id: string;
@@ -1726,7 +1726,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1726
1726
  error: string;
1727
1727
  };
1728
1728
  outputFormat: "json";
1729
- status: 409;
1729
+ status: 404;
1730
1730
  input: {
1731
1731
  param: {
1732
1732
  id: string;
@@ -1741,7 +1741,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1741
1741
  error: string;
1742
1742
  };
1743
1743
  outputFormat: "json";
1744
- status: 404;
1744
+ status: 409;
1745
1745
  input: {
1746
1746
  param: {
1747
1747
  id: string;
@@ -1782,7 +1782,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1782
1782
  error: string;
1783
1783
  };
1784
1784
  outputFormat: "json";
1785
- status: 409;
1785
+ status: 400;
1786
1786
  input: {
1787
1787
  json: {
1788
1788
  projectId: 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: 400;
1811
+ status: 409;
1812
1812
  input: {
1813
1813
  json: {
1814
1814
  projectId: string;
@@ -1867,7 +1867,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1867
1867
  error: string;
1868
1868
  };
1869
1869
  outputFormat: "json";
1870
- status: 409;
1870
+ status: 404;
1871
1871
  input: {
1872
1872
  param: {
1873
1873
  id: string;
@@ -1878,7 +1878,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1878
1878
  error: string;
1879
1879
  };
1880
1880
  outputFormat: "json";
1881
- status: 500;
1881
+ status: 409;
1882
1882
  input: {
1883
1883
  param: {
1884
1884
  id: string;
@@ -1889,7 +1889,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1889
1889
  error: string;
1890
1890
  };
1891
1891
  outputFormat: "json";
1892
- status: 404;
1892
+ status: 500;
1893
1893
  input: {
1894
1894
  param: {
1895
1895
  id: string;
@@ -1953,17 +1953,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1953
1953
  } & {
1954
1954
  "/projects": {
1955
1955
  $post: {
1956
- output: {
1957
- error: string;
1958
- };
1959
- outputFormat: "json";
1960
- status: 400 | 500;
1961
- input: {
1962
- json: {
1963
- root: string;
1964
- };
1965
- };
1966
- } | {
1967
1956
  output: {
1968
1957
  project: {
1969
1958
  id: string;
@@ -1994,10 +1983,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1994
1983
  agent: boolean;
1995
1984
  }[] | undefined;
1996
1985
  };
1997
- error: string;
1986
+ error?: string | undefined;
1998
1987
  };
1999
1988
  outputFormat: "json";
2000
- status: 409;
1989
+ status: 200;
2001
1990
  input: {
2002
1991
  json: {
2003
1992
  root: string;
@@ -2034,10 +2023,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2034
2023
  agent: boolean;
2035
2024
  }[] | undefined;
2036
2025
  };
2037
- error?: string | undefined;
2026
+ error: string;
2038
2027
  };
2039
2028
  outputFormat: "json";
2040
- status: 200;
2029
+ status: 409;
2030
+ input: {
2031
+ json: {
2032
+ root: string;
2033
+ };
2034
+ };
2035
+ } | {
2036
+ output: {
2037
+ error: string;
2038
+ };
2039
+ outputFormat: "json";
2040
+ status: 400 | 500;
2041
2041
  input: {
2042
2042
  json: {
2043
2043
  root: string;
@@ -2196,7 +2196,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2196
2196
  error: string;
2197
2197
  };
2198
2198
  outputFormat: "json";
2199
- status: 404;
2199
+ status: 400;
2200
2200
  input: {
2201
2201
  param: {
2202
2202
  projectId: string;
@@ -2207,7 +2207,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2207
2207
  error: string;
2208
2208
  };
2209
2209
  outputFormat: "json";
2210
- status: 400;
2210
+ status: 404;
2211
2211
  input: {
2212
2212
  param: {
2213
2213
  projectId: string;
@@ -2232,27 +2232,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2232
2232
  } & {
2233
2233
  "/projects/:projectId/webhooks": {
2234
2234
  $post: {
2235
- output: {
2236
- error: string;
2237
- };
2238
- outputFormat: "json";
2239
- status: 400 | 404 | 409 | 500;
2240
- input: {
2241
- json: {
2242
- name: string;
2243
- description?: string | undefined;
2244
- url: string;
2245
- token?: string | undefined;
2246
- tasks?: boolean | undefined;
2247
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2248
- agent?: boolean | undefined;
2249
- };
2250
- } & {
2251
- param: {
2252
- projectId: string;
2253
- };
2254
- };
2255
- } | {
2256
2235
  output: {
2257
2236
  project: {
2258
2237
  id: string;
@@ -2311,6 +2290,27 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2311
2290
  projectId: string;
2312
2291
  };
2313
2292
  };
2293
+ } | {
2294
+ output: {
2295
+ error: string;
2296
+ };
2297
+ outputFormat: "json";
2298
+ status: 400 | 404 | 409 | 500;
2299
+ input: {
2300
+ json: {
2301
+ name: string;
2302
+ description?: string | undefined;
2303
+ url: string;
2304
+ token?: string | undefined;
2305
+ tasks?: boolean | undefined;
2306
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2307
+ agent?: boolean | undefined;
2308
+ };
2309
+ } & {
2310
+ param: {
2311
+ projectId: string;
2312
+ };
2313
+ };
2314
2314
  };
2315
2315
  };
2316
2316
  } & {
@@ -2508,13 +2508,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2508
2508
  };
2509
2509
  } | {
2510
2510
  output: {
2511
- ok: boolean;
2512
- status?: number | undefined;
2513
- error?: string | undefined;
2514
- dryRun?: boolean | undefined;
2511
+ error: string;
2515
2512
  };
2516
2513
  outputFormat: "json";
2517
- status: import("hono/utils/http-status").ContentfulStatusCode;
2514
+ status: 404;
2518
2515
  input: {
2519
2516
  param: {
2520
2517
  projectId: string;
@@ -2523,10 +2520,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2523
2520
  };
2524
2521
  } | {
2525
2522
  output: {
2526
- error: string;
2523
+ ok: boolean;
2524
+ status?: number | undefined;
2525
+ error?: string | undefined;
2526
+ dryRun?: boolean | undefined;
2527
2527
  };
2528
2528
  outputFormat: "json";
2529
- status: 404;
2529
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2530
2530
  input: {
2531
2531
  param: {
2532
2532
  projectId: string;
@@ -2959,7 +2959,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2959
2959
  error: string;
2960
2960
  };
2961
2961
  outputFormat: "json";
2962
- status: 409;
2962
+ status: 400;
2963
2963
  input: {
2964
2964
  query: {
2965
2965
  runner: string | string[];
@@ -2972,7 +2972,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2972
2972
  error: string;
2973
2973
  };
2974
2974
  outputFormat: "json";
2975
- status: 400;
2975
+ status: 409;
2976
2976
  input: {
2977
2977
  query: {
2978
2978
  runner: string | string[];
@@ -3102,42 +3102,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3102
3102
  "/ui-state": {
3103
3103
  $put: {
3104
3104
  output: {
3105
- [x: string]: import("hono/utils/types").JSONValue;
3106
- sidebarLimits?: {
3107
- overall?: number | null | undefined;
3108
- needsYou?: number | null | undefined;
3109
- finished?: number | null | undefined;
3110
- working?: number | null | undefined;
3111
- } | undefined;
3112
- lastTask?: {
3113
- source: "skill" | "workflow";
3114
- ref: string;
3115
- } | null | undefined;
3116
- recentSources?: {
3117
- source: "skill" | "workflow";
3118
- ref: string;
3119
- }[] | undefined;
3120
- lastWorktree?: boolean | undefined;
3121
- lastAutonomous?: boolean | undefined;
3122
- skillUsage?: {
3123
- [x: string]: number;
3124
- } | undefined;
3125
- runsView?: "list" | "table" | undefined;
3126
- githubView?: "issues" | "prs" | undefined;
3127
- appearance?: {
3128
- accent?: "cezarion" | "lime" | "violet" | undefined;
3129
- density?: "comfortable" | "compact" | "ultra" | undefined;
3130
- width?: "narrow" | "wide" | undefined;
3131
- } | undefined;
3132
- promptTemplates?: {
3133
- id: string;
3134
- label: string;
3135
- text: string;
3136
- skills?: string[] | undefined;
3137
- }[] | undefined;
3105
+ error: string;
3138
3106
  };
3139
3107
  outputFormat: "json";
3140
- status: import("hono/utils/http-status").ContentfulStatusCode;
3108
+ status: 500;
3141
3109
  input: {
3142
3110
  json: {
3143
3111
  [x: string]: unknown;
@@ -3175,10 +3143,42 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3175
3143
  };
3176
3144
  } | {
3177
3145
  output: {
3178
- error: string;
3146
+ [x: string]: import("hono/utils/types").JSONValue;
3147
+ sidebarLimits?: {
3148
+ overall?: number | null | undefined;
3149
+ needsYou?: number | null | undefined;
3150
+ finished?: number | null | undefined;
3151
+ working?: number | null | undefined;
3152
+ } | undefined;
3153
+ lastTask?: {
3154
+ source: "skill" | "workflow";
3155
+ ref: string;
3156
+ } | null | undefined;
3157
+ recentSources?: {
3158
+ source: "skill" | "workflow";
3159
+ ref: string;
3160
+ }[] | undefined;
3161
+ lastWorktree?: boolean | undefined;
3162
+ lastAutonomous?: boolean | undefined;
3163
+ skillUsage?: {
3164
+ [x: string]: number;
3165
+ } | undefined;
3166
+ runsView?: "list" | "table" | undefined;
3167
+ githubView?: "issues" | "prs" | undefined;
3168
+ appearance?: {
3169
+ accent?: "cezarion" | "lime" | "violet" | undefined;
3170
+ density?: "comfortable" | "compact" | "ultra" | undefined;
3171
+ width?: "narrow" | "wide" | undefined;
3172
+ } | undefined;
3173
+ promptTemplates?: {
3174
+ id: string;
3175
+ label: string;
3176
+ text: string;
3177
+ skills?: string[] | undefined;
3178
+ }[] | undefined;
3179
3179
  };
3180
3180
  outputFormat: "json";
3181
- status: 500;
3181
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3182
3182
  input: {
3183
3183
  json: {
3184
3184
  [x: string]: unknown;
@@ -3238,7 +3238,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3238
3238
  error: string;
3239
3239
  };
3240
3240
  outputFormat: "json";
3241
- status: 409;
3241
+ status: 400;
3242
3242
  input: {
3243
3243
  json: {
3244
3244
  target: string;
@@ -3249,7 +3249,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3249
3249
  error: string;
3250
3250
  };
3251
3251
  outputFormat: "json";
3252
- status: 400;
3252
+ status: 409;
3253
3253
  input: {
3254
3254
  json: {
3255
3255
  target: string;
@@ -3272,9 +3272,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3272
3272
  }, "/"> | import("hono/types").MergeSchemaPath<{
3273
3273
  "/runs/:id/events": {
3274
3274
  $get: {
3275
- output: {};
3276
- outputFormat: string;
3277
- status: import("hono/utils/http-status").StatusCode;
3275
+ output: {
3276
+ error: string;
3277
+ code?: "invalid_input" | undefined;
3278
+ };
3279
+ outputFormat: "json";
3280
+ status: 400;
3278
3281
  input: {
3279
3282
  param: {
3280
3283
  id: string;
@@ -3286,12 +3289,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3286
3289
  };
3287
3290
  };
3288
3291
  } | {
3289
- output: {
3290
- error: string;
3291
- code?: "invalid_input" | undefined;
3292
- };
3293
- outputFormat: "json";
3294
- status: 400;
3292
+ output: {};
3293
+ outputFormat: string;
3294
+ status: import("hono/utils/http-status").StatusCode;
3295
3295
  input: {
3296
3296
  param: {
3297
3297
  id: string;
@@ -3352,34 +3352,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3352
3352
  "/config": {
3353
3353
  $put: {
3354
3354
  output: {
3355
- archiveOnMerge: boolean | null;
3356
- effectiveArchiveOnMerge: boolean;
3357
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
3358
- baseBranch: string | null;
3359
- defaultRunner: string;
3360
- systemPrompt: string | null;
3361
- defaultModels: {
3362
- [x: string]: string | undefined;
3363
- };
3364
- modelsLocked: boolean;
3365
- maxParallel: number;
3366
- memoryLimitMb: number | null;
3367
- worktreeRetention: number;
3368
- liveTitleUpdates: boolean | null;
3369
- reviewGate: boolean | null;
3370
- worktreeSetup: {
3371
- commands: string[];
3372
- timeoutSeconds: number;
3373
- } | null;
3374
- worktreeSetupIssue: string | null;
3375
- worktreeTeardown: {
3376
- commands: string[];
3377
- timeoutSeconds: number;
3378
- } | null;
3379
- worktreeTeardownIssue: string | null;
3355
+ error: string;
3380
3356
  };
3381
3357
  outputFormat: "json";
3382
- status: import("hono/utils/http-status").ContentfulStatusCode;
3358
+ status: 409;
3383
3359
  input: {
3384
3360
  json: {
3385
3361
  archiveOnMerge?: boolean | null | undefined;
@@ -3407,7 +3383,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3407
3383
  error: string;
3408
3384
  };
3409
3385
  outputFormat: "json";
3410
- status: 409;
3386
+ status: 500;
3411
3387
  input: {
3412
3388
  json: {
3413
3389
  archiveOnMerge?: boolean | null | undefined;
@@ -3432,10 +3408,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3432
3408
  };
3433
3409
  } | {
3434
3410
  output: {
3435
- error: string;
3411
+ archiveOnMerge: boolean | null;
3412
+ effectiveArchiveOnMerge: boolean;
3413
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
3414
+ baseBranch: string | null;
3415
+ defaultRunner: string;
3416
+ systemPrompt: string | null;
3417
+ defaultModels: {
3418
+ [x: string]: string | undefined;
3419
+ };
3420
+ modelsLocked: boolean;
3421
+ maxParallel: number;
3422
+ memoryLimitMb: number | null;
3423
+ worktreeRetention: number;
3424
+ liveTitleUpdates: boolean | null;
3425
+ reviewGate: boolean | null;
3426
+ worktreeSetup: {
3427
+ commands: string[];
3428
+ timeoutSeconds: number;
3429
+ } | null;
3430
+ worktreeSetupIssue: string | null;
3431
+ worktreeTeardown: {
3432
+ commands: string[];
3433
+ timeoutSeconds: number;
3434
+ } | null;
3435
+ worktreeTeardownIssue: string | null;
3436
3436
  };
3437
3437
  outputFormat: "json";
3438
- status: 500;
3438
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3439
3439
  input: {
3440
3440
  json: {
3441
3441
  archiveOnMerge?: boolean | null | undefined;
@@ -3584,7 +3584,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3584
3584
  error: string;
3585
3585
  };
3586
3586
  outputFormat: "json";
3587
- status: 409;
3587
+ status: 400;
3588
3588
  input: {
3589
3589
  query: {
3590
3590
  q?: string | undefined;
@@ -3597,7 +3597,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3597
3597
  error: string;
3598
3598
  };
3599
3599
  outputFormat: "json";
3600
- status: 400;
3600
+ status: 409;
3601
3601
  input: {
3602
3602
  query: {
3603
3603
  q?: string | undefined;
@@ -3684,10 +3684,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3684
3684
  };
3685
3685
  } | {
3686
3686
  output: {
3687
- error: string;
3687
+ runId: string;
3688
+ worktreeReclaimedAt: string;
3688
3689
  };
3689
3690
  outputFormat: "json";
3690
- status: 404 | 409;
3691
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3691
3692
  input: {
3692
3693
  param: {
3693
3694
  runId: string;
@@ -3695,11 +3696,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3695
3696
  };
3696
3697
  } | {
3697
3698
  output: {
3698
- runId: string;
3699
- worktreeReclaimedAt: string;
3699
+ error: string;
3700
3700
  };
3701
3701
  outputFormat: "json";
3702
- status: import("hono/utils/http-status").ContentfulStatusCode;
3702
+ status: 404 | 409;
3703
3703
  input: {
3704
3704
  param: {
3705
3705
  runId: string;
@@ -3795,14 +3795,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3795
3795
  "/agent-config/:id": {
3796
3796
  $put: {
3797
3797
  output: {
3798
- id: string;
3799
- path: string;
3800
- exists: boolean;
3801
- content: string;
3802
- version: string | null;
3798
+ error: string;
3803
3799
  };
3804
3800
  outputFormat: "json";
3805
- status: import("hono/utils/http-status").ContentfulStatusCode;
3801
+ status: 404;
3806
3802
  input: {
3807
3803
  json: {
3808
3804
  content: string;
@@ -3815,10 +3811,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3815
3811
  };
3816
3812
  } | {
3817
3813
  output: {
3818
- error: string;
3814
+ id: string;
3815
+ path: string;
3816
+ exists: boolean;
3817
+ content: string;
3818
+ version: string | null;
3819
3819
  };
3820
3820
  outputFormat: "json";
3821
- status: 404;
3821
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3822
3822
  input: {
3823
3823
  json: {
3824
3824
  content: string;
@@ -3889,10 +3889,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3889
3889
  "/workflows": {
3890
3890
  $post: {
3891
3891
  output: {
3892
- error: string;
3892
+ path: string;
3893
+ name: string;
3893
3894
  };
3894
3895
  outputFormat: "json";
3895
- status: 400;
3896
+ status: 201;
3896
3897
  input: {
3897
3898
  json: {
3898
3899
  name: string;
@@ -3922,10 +3923,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3922
3923
  } | {
3923
3924
  output: {
3924
3925
  error: string;
3925
- exists: true;
3926
3926
  };
3927
3927
  outputFormat: "json";
3928
- status: 409;
3928
+ status: 400;
3929
3929
  input: {
3930
3930
  json: {
3931
3931
  name: string;
@@ -3955,9 +3955,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3955
3955
  } | {
3956
3956
  output: {
3957
3957
  error: string;
3958
+ exists: true;
3958
3959
  };
3959
3960
  outputFormat: "json";
3960
- status: 500;
3961
+ status: 409;
3961
3962
  input: {
3962
3963
  json: {
3963
3964
  name: string;
@@ -3986,11 +3987,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3986
3987
  };
3987
3988
  } | {
3988
3989
  output: {
3989
- path: string;
3990
- name: string;
3990
+ error: string;
3991
3991
  };
3992
3992
  outputFormat: "json";
3993
- status: 201;
3993
+ status: 500;
3994
3994
  input: {
3995
3995
  json: {
3996
3996
  name: string;
@@ -4023,10 +4023,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4023
4023
  "/workflows/:name": {
4024
4024
  $delete: {
4025
4025
  output: {
4026
- error: string;
4026
+ ok: true;
4027
+ path: string;
4027
4028
  };
4028
4029
  outputFormat: "json";
4029
- status: 400 | 404 | 409 | 500;
4030
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4030
4031
  input: {
4031
4032
  param: {
4032
4033
  name: string;
@@ -4034,11 +4035,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4034
4035
  };
4035
4036
  } | {
4036
4037
  output: {
4037
- ok: true;
4038
- path: string;
4038
+ error: string;
4039
4039
  };
4040
4040
  outputFormat: "json";
4041
- status: import("hono/utils/http-status").ContentfulStatusCode;
4041
+ status: 400 | 404 | 409 | 500;
4042
4042
  input: {
4043
4043
  param: {
4044
4044
  name: string;
@@ -4209,14 +4209,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4209
4209
  "/repo/branches/delete": {
4210
4210
  $post: {
4211
4211
  output: {
4212
- error: string;
4212
+ deleted: string[];
4213
4213
  refused: {
4214
4214
  name: string;
4215
4215
  reason: string;
4216
4216
  }[];
4217
+ dropped?: {
4218
+ sha: string;
4219
+ subject: string;
4220
+ }[] | undefined;
4217
4221
  };
4218
4222
  outputFormat: "json";
4219
- status: 409;
4223
+ status: 200;
4220
4224
  input: {
4221
4225
  json: {
4222
4226
  names: string[];
@@ -4225,18 +4229,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4225
4229
  };
4226
4230
  } | {
4227
4231
  output: {
4228
- deleted: string[];
4232
+ error: string;
4229
4233
  refused: {
4230
4234
  name: string;
4231
4235
  reason: string;
4232
4236
  }[];
4233
- dropped?: {
4234
- sha: string;
4235
- subject: string;
4236
- }[] | undefined;
4237
4237
  };
4238
4238
  outputFormat: "json";
4239
- status: 200;
4239
+ status: 409;
4240
4240
  input: {
4241
4241
  json: {
4242
4242
  names: string[];
@@ -4257,9 +4257,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4257
4257
  } & {
4258
4258
  "/repo/commit/:sha": {
4259
4259
  $get: {
4260
- output: string;
4261
- outputFormat: "text";
4262
- status: import("hono/utils/http-status").ContentfulStatusCode;
4260
+ output: {
4261
+ error: string;
4262
+ code?: "invalid_input" | undefined;
4263
+ };
4264
+ outputFormat: "json";
4265
+ status: 400;
4263
4266
  input: {
4264
4267
  query: {
4265
4268
  structured?: string | undefined;
@@ -4272,10 +4275,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4272
4275
  } | {
4273
4276
  output: {
4274
4277
  error: string;
4275
- code?: "invalid_input" | undefined;
4276
4278
  };
4277
4279
  outputFormat: "json";
4278
- status: 400;
4280
+ status: 409;
4279
4281
  input: {
4280
4282
  query: {
4281
4283
  structured?: string | undefined;
@@ -4319,11 +4321,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4319
4321
  };
4320
4322
  };
4321
4323
  } | {
4322
- output: {
4323
- error: string;
4324
- };
4325
- outputFormat: "json";
4326
- status: 409;
4324
+ output: string;
4325
+ outputFormat: "text";
4326
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4327
4327
  input: {
4328
4328
  query: {
4329
4329
  structured?: string | undefined;
@@ -4338,6 +4338,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4338
4338
  } & {
4339
4339
  "/repo/changes": {
4340
4340
  $get: {
4341
+ output: {
4342
+ error: string;
4343
+ };
4344
+ outputFormat: "json";
4345
+ status: 409;
4346
+ input: {};
4347
+ } | {
4341
4348
  output: {
4342
4349
  files: {
4343
4350
  path: string;
@@ -4362,13 +4369,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4362
4369
  outputFormat: "json";
4363
4370
  status: import("hono/utils/http-status").ContentfulStatusCode;
4364
4371
  input: {};
4365
- } | {
4366
- output: {
4367
- error: string;
4368
- };
4369
- outputFormat: "json";
4370
- status: 409;
4371
- input: {};
4372
4372
  };
4373
4373
  };
4374
4374
  } & {
@@ -4393,10 +4393,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4393
4393
  "/repo/pull": {
4394
4394
  $post: {
4395
4395
  output: {
4396
- error: string;
4396
+ branch: string;
4397
+ pulled: true;
4398
+ summary: string;
4397
4399
  };
4398
4400
  outputFormat: "json";
4399
- status: 409;
4401
+ status: 200;
4400
4402
  input: {
4401
4403
  json: {
4402
4404
  branch?: string | undefined;
@@ -4405,12 +4407,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4405
4407
  };
4406
4408
  } | {
4407
4409
  output: {
4408
- branch: string;
4409
- pulled: true;
4410
- summary: string;
4410
+ error: string;
4411
4411
  };
4412
4412
  outputFormat: "json";
4413
- status: 200;
4413
+ status: 409;
4414
4414
  input: {
4415
4415
  json: {
4416
4416
  branch?: string | undefined;
@@ -5364,20 +5364,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5364
5364
  "/automations": {
5365
5365
  $post: {
5366
5366
  output: {
5367
- error: string;
5368
- };
5369
- outputFormat: "json";
5370
- status: 400 | 404 | 409;
5371
- input: {
5372
- json: {
5367
+ automation: {
5368
+ [x: string]: import("hono/utils/types").JSONValue;
5369
+ id: string;
5370
+ revision: number;
5373
5371
  name: string;
5374
5372
  description?: string | undefined;
5375
- enabled?: boolean | undefined;
5376
- kind?: "github" | "schedule" | undefined;
5373
+ enabled: boolean;
5374
+ kind: "github" | "schedule";
5377
5375
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
5378
5376
  intervalSeconds?: number | undefined;
5379
5377
  filters?: {
5380
- [x: string]: unknown;
5378
+ [x: string]: import("hono/utils/types").JSONValue;
5381
5379
  includeExisting?: boolean | undefined;
5382
5380
  requireCurrentLabels?: boolean | undefined;
5383
5381
  authors?: string[] | undefined;
@@ -5386,10 +5384,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5386
5384
  anyLabels?: string[] | undefined;
5387
5385
  excludeLabels?: string[] | undefined;
5388
5386
  changedLabels?: string[] | undefined;
5389
- lookbackDays?: number | undefined;
5390
- maxRecords?: number | undefined;
5387
+ lookbackDays: number;
5388
+ maxRecords: number;
5391
5389
  } | undefined;
5392
5390
  schedule?: {
5391
+ [x: string]: import("hono/utils/types").JSONValue;
5393
5392
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
5394
5393
  hour?: number | undefined;
5395
5394
  minute?: number | undefined;
@@ -5400,6 +5399,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5400
5399
  latestStartMinutes?: number | undefined;
5401
5400
  } | undefined;
5402
5401
  task: {
5402
+ [x: string]: import("hono/utils/types").JSONValue;
5403
5403
  archiveWhenDone?: boolean | undefined;
5404
5404
  autoMergePr?: boolean | undefined;
5405
5405
  allowWorkers?: boolean | undefined;
@@ -5421,33 +5421,47 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5421
5421
  command?: string | undefined;
5422
5422
  onFail?: {
5423
5423
  retry: string;
5424
- max?: number | undefined;
5424
+ max: number;
5425
5425
  } | undefined;
5426
5426
  }[] | undefined;
5427
5427
  runner?: string | undefined;
5428
5428
  model?: string | undefined;
5429
5429
  effort?: string | undefined;
5430
+ variants?: 1 | 2 | 3 | undefined;
5430
5431
  worktree?: boolean | undefined;
5431
5432
  autonomous?: boolean | undefined;
5432
5433
  systemPrompt?: string | undefined;
5433
5434
  };
5434
- enable?: boolean | undefined;
5435
+ archived?: {
5436
+ [x: string]: import("hono/utils/types").JSONValue;
5437
+ at: string;
5438
+ outcome: "cancelled" | "launched";
5439
+ runId?: string | undefined;
5440
+ receiptId?: string | undefined;
5441
+ trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
5442
+ } | undefined;
5443
+ createdAt: string;
5444
+ updatedAt: string;
5435
5445
  };
5446
+ once?: {
5447
+ dueAt: string;
5448
+ timeZone: string;
5449
+ resolvedInstant: string;
5450
+ note: string;
5451
+ } | undefined;
5436
5452
  };
5437
- } | {
5438
- output: {
5439
- automation: {
5440
- [x: string]: import("hono/utils/types").JSONValue;
5441
- id: string;
5442
- revision: number;
5453
+ outputFormat: "json";
5454
+ status: 201;
5455
+ input: {
5456
+ json: {
5443
5457
  name: string;
5444
5458
  description?: string | undefined;
5445
- enabled: boolean;
5446
- kind: "github" | "schedule";
5459
+ enabled?: boolean | undefined;
5460
+ kind?: "github" | "schedule" | undefined;
5447
5461
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
5448
5462
  intervalSeconds?: number | undefined;
5449
5463
  filters?: {
5450
- [x: string]: import("hono/utils/types").JSONValue;
5464
+ [x: string]: unknown;
5451
5465
  includeExisting?: boolean | undefined;
5452
5466
  requireCurrentLabels?: boolean | undefined;
5453
5467
  authors?: string[] | undefined;
@@ -5456,11 +5470,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5456
5470
  anyLabels?: string[] | undefined;
5457
5471
  excludeLabels?: string[] | undefined;
5458
5472
  changedLabels?: string[] | undefined;
5459
- lookbackDays: number;
5460
- maxRecords: number;
5473
+ lookbackDays?: number | undefined;
5474
+ maxRecords?: number | undefined;
5461
5475
  } | undefined;
5462
5476
  schedule?: {
5463
- [x: string]: import("hono/utils/types").JSONValue;
5464
5477
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
5465
5478
  hour?: number | undefined;
5466
5479
  minute?: number | undefined;
@@ -5471,7 +5484,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5471
5484
  latestStartMinutes?: number | undefined;
5472
5485
  } | undefined;
5473
5486
  task: {
5474
- [x: string]: import("hono/utils/types").JSONValue;
5475
5487
  archiveWhenDone?: boolean | undefined;
5476
5488
  autoMergePr?: boolean | undefined;
5477
5489
  allowWorkers?: boolean | undefined;
@@ -5493,37 +5505,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5493
5505
  command?: string | undefined;
5494
5506
  onFail?: {
5495
5507
  retry: string;
5496
- max: number;
5508
+ max?: number | undefined;
5497
5509
  } | undefined;
5498
5510
  }[] | undefined;
5499
5511
  runner?: string | undefined;
5500
5512
  model?: string | undefined;
5501
5513
  effort?: string | undefined;
5502
- variants?: 1 | 2 | 3 | undefined;
5503
5514
  worktree?: boolean | undefined;
5504
5515
  autonomous?: boolean | undefined;
5505
5516
  systemPrompt?: string | undefined;
5506
5517
  };
5507
- archived?: {
5508
- [x: string]: import("hono/utils/types").JSONValue;
5509
- at: string;
5510
- outcome: "cancelled" | "launched";
5511
- runId?: string | undefined;
5512
- receiptId?: string | undefined;
5513
- trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
5514
- } | undefined;
5515
- createdAt: string;
5516
- updatedAt: string;
5518
+ enable?: boolean | undefined;
5517
5519
  };
5518
- once?: {
5519
- dueAt: string;
5520
- timeZone: string;
5521
- resolvedInstant: string;
5522
- note: string;
5523
- } | undefined;
5520
+ };
5521
+ } | {
5522
+ output: {
5523
+ error: string;
5524
5524
  };
5525
5525
  outputFormat: "json";
5526
- status: 201;
5526
+ status: 400 | 404 | 409;
5527
5527
  input: {
5528
5528
  json: {
5529
5529
  name: string;
@@ -5595,17 +5595,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5595
5595
  } & {
5596
5596
  "/automations/:id": {
5597
5597
  $get: {
5598
- output: {
5599
- error: string;
5600
- };
5601
- outputFormat: "json";
5602
- status: 400 | 404 | 409;
5603
- input: {
5604
- param: {
5605
- id: string;
5606
- };
5607
- };
5608
- } | {
5609
5598
  output: {
5610
5599
  automation: {
5611
5600
  [x: string]: import("hono/utils/types").JSONValue;
@@ -5763,26 +5752,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5763
5752
  id: string;
5764
5753
  };
5765
5754
  };
5766
- };
5767
- };
5768
- } & {
5769
- "/automations/:id": {
5770
- $put: {
5755
+ } | {
5771
5756
  output: {
5772
5757
  error: string;
5773
5758
  };
5774
5759
  outputFormat: "json";
5775
5760
  status: 400 | 404 | 409;
5776
5761
  input: {
5777
- json: {
5762
+ param: {
5763
+ id: string;
5764
+ };
5765
+ };
5766
+ };
5767
+ };
5768
+ } & {
5769
+ "/automations/:id": {
5770
+ $put: {
5771
+ output: {
5772
+ automation: {
5773
+ [x: string]: import("hono/utils/types").JSONValue;
5774
+ id: string;
5775
+ revision: number;
5778
5776
  name: string;
5779
5777
  description?: string | undefined;
5780
- enabled?: boolean | undefined;
5781
- kind?: "github" | "schedule" | undefined;
5778
+ enabled: boolean;
5779
+ kind: "github" | "schedule";
5782
5780
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
5783
5781
  intervalSeconds?: number | undefined;
5784
5782
  filters?: {
5785
- [x: string]: unknown;
5783
+ [x: string]: import("hono/utils/types").JSONValue;
5786
5784
  includeExisting?: boolean | undefined;
5787
5785
  requireCurrentLabels?: boolean | undefined;
5788
5786
  authors?: string[] | undefined;
@@ -5791,10 +5789,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5791
5789
  anyLabels?: string[] | undefined;
5792
5790
  excludeLabels?: string[] | undefined;
5793
5791
  changedLabels?: string[] | undefined;
5794
- lookbackDays?: number | undefined;
5795
- maxRecords?: number | undefined;
5792
+ lookbackDays: number;
5793
+ maxRecords: number;
5796
5794
  } | undefined;
5797
5795
  schedule?: {
5796
+ [x: string]: import("hono/utils/types").JSONValue;
5798
5797
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
5799
5798
  hour?: number | undefined;
5800
5799
  minute?: number | undefined;
@@ -5805,6 +5804,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5805
5804
  latestStartMinutes?: number | undefined;
5806
5805
  } | undefined;
5807
5806
  task: {
5807
+ [x: string]: import("hono/utils/types").JSONValue;
5808
5808
  archiveWhenDone?: boolean | undefined;
5809
5809
  autoMergePr?: boolean | undefined;
5810
5810
  allowWorkers?: boolean | undefined;
@@ -5826,37 +5826,41 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5826
5826
  command?: string | undefined;
5827
5827
  onFail?: {
5828
5828
  retry: string;
5829
- max?: number | undefined;
5829
+ max: number;
5830
5830
  } | undefined;
5831
5831
  }[] | undefined;
5832
5832
  runner?: string | undefined;
5833
5833
  model?: string | undefined;
5834
5834
  effort?: string | undefined;
5835
+ variants?: 1 | 2 | 3 | undefined;
5835
5836
  worktree?: boolean | undefined;
5836
5837
  autonomous?: boolean | undefined;
5837
5838
  systemPrompt?: string | undefined;
5838
5839
  };
5839
- expectedRevision: number;
5840
- };
5841
- } & {
5842
- param: {
5843
- id: string;
5840
+ archived?: {
5841
+ [x: string]: import("hono/utils/types").JSONValue;
5842
+ at: string;
5843
+ outcome: "cancelled" | "launched";
5844
+ runId?: string | undefined;
5845
+ receiptId?: string | undefined;
5846
+ trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
5847
+ } | undefined;
5848
+ createdAt: string;
5849
+ updatedAt: string;
5844
5850
  };
5845
5851
  };
5846
- } | {
5847
- output: {
5848
- automation: {
5849
- [x: string]: import("hono/utils/types").JSONValue;
5850
- id: string;
5851
- revision: number;
5852
+ outputFormat: "json";
5853
+ status: import("hono/utils/http-status").ContentfulStatusCode;
5854
+ input: {
5855
+ json: {
5852
5856
  name: string;
5853
5857
  description?: string | undefined;
5854
- enabled: boolean;
5855
- kind: "github" | "schedule";
5858
+ enabled?: boolean | undefined;
5859
+ kind?: "github" | "schedule" | undefined;
5856
5860
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
5857
5861
  intervalSeconds?: number | undefined;
5858
5862
  filters?: {
5859
- [x: string]: import("hono/utils/types").JSONValue;
5863
+ [x: string]: unknown;
5860
5864
  includeExisting?: boolean | undefined;
5861
5865
  requireCurrentLabels?: boolean | undefined;
5862
5866
  authors?: string[] | undefined;
@@ -5865,11 +5869,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5865
5869
  anyLabels?: string[] | undefined;
5866
5870
  excludeLabels?: string[] | undefined;
5867
5871
  changedLabels?: string[] | undefined;
5868
- lookbackDays: number;
5869
- maxRecords: number;
5872
+ lookbackDays?: number | undefined;
5873
+ maxRecords?: number | undefined;
5870
5874
  } | undefined;
5871
5875
  schedule?: {
5872
- [x: string]: import("hono/utils/types").JSONValue;
5873
5876
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
5874
5877
  hour?: number | undefined;
5875
5878
  minute?: number | undefined;
@@ -5880,7 +5883,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5880
5883
  latestStartMinutes?: number | undefined;
5881
5884
  } | undefined;
5882
5885
  task: {
5883
- [x: string]: import("hono/utils/types").JSONValue;
5884
5886
  archiveWhenDone?: boolean | undefined;
5885
5887
  autoMergePr?: boolean | undefined;
5886
5888
  allowWorkers?: boolean | undefined;
@@ -5902,31 +5904,29 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5902
5904
  command?: string | undefined;
5903
5905
  onFail?: {
5904
5906
  retry: string;
5905
- max: number;
5907
+ max?: number | undefined;
5906
5908
  } | undefined;
5907
5909
  }[] | undefined;
5908
5910
  runner?: string | undefined;
5909
5911
  model?: string | undefined;
5910
5912
  effort?: string | undefined;
5911
- variants?: 1 | 2 | 3 | undefined;
5912
5913
  worktree?: boolean | undefined;
5913
5914
  autonomous?: boolean | undefined;
5914
5915
  systemPrompt?: string | undefined;
5915
5916
  };
5916
- archived?: {
5917
- [x: string]: import("hono/utils/types").JSONValue;
5918
- at: string;
5919
- outcome: "cancelled" | "launched";
5920
- runId?: string | undefined;
5921
- receiptId?: string | undefined;
5922
- trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
5923
- } | undefined;
5924
- createdAt: string;
5925
- updatedAt: string;
5917
+ expectedRevision: number;
5918
+ };
5919
+ } & {
5920
+ param: {
5921
+ id: string;
5926
5922
  };
5927
5923
  };
5924
+ } | {
5925
+ output: {
5926
+ error: string;
5927
+ };
5928
5928
  outputFormat: "json";
5929
- status: import("hono/utils/http-status").ContentfulStatusCode;
5929
+ status: 400 | 404 | 409;
5930
5930
  input: {
5931
5931
  json: {
5932
5932
  name: string;
@@ -6026,17 +6026,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6026
6026
  } & {
6027
6027
  "/automations/:id/enable": {
6028
6028
  $post: {
6029
- output: {
6030
- error: string;
6031
- };
6032
- outputFormat: "json";
6033
- status: 400 | 404 | 409;
6034
- input: {
6035
- param: {
6036
- id: string;
6037
- };
6038
- };
6039
- } | {
6040
6029
  output: {
6041
6030
  automation: {
6042
6031
  [x: string]: import("hono/utils/types").JSONValue;
@@ -6125,11 +6114,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6125
6114
  id: string;
6126
6115
  };
6127
6116
  };
6128
- };
6129
- };
6130
- } & {
6131
- "/automations/:id/pause": {
6132
- $post: {
6117
+ } | {
6133
6118
  output: {
6134
6119
  error: string;
6135
6120
  };
@@ -6140,7 +6125,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6140
6125
  id: string;
6141
6126
  };
6142
6127
  };
6143
- } | {
6128
+ };
6129
+ };
6130
+ } & {
6131
+ "/automations/:id/pause": {
6132
+ $post: {
6144
6133
  output: {
6145
6134
  automation: {
6146
6135
  [x: string]: import("hono/utils/types").JSONValue;
@@ -6229,11 +6218,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6229
6218
  id: string;
6230
6219
  };
6231
6220
  };
6232
- };
6233
- };
6234
- } & {
6235
- "/automations/:id/cancel": {
6236
- $post: {
6221
+ } | {
6237
6222
  output: {
6238
6223
  error: string;
6239
6224
  };
@@ -6244,7 +6229,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6244
6229
  id: string;
6245
6230
  };
6246
6231
  };
6247
- } | {
6232
+ };
6233
+ };
6234
+ } & {
6235
+ "/automations/:id/cancel": {
6236
+ $post: {
6248
6237
  output: {
6249
6238
  automation: {
6250
6239
  [x: string]: import("hono/utils/types").JSONValue;
@@ -6333,16 +6322,27 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6333
6322
  id: string;
6334
6323
  };
6335
6324
  };
6325
+ } | {
6326
+ output: {
6327
+ error: string;
6328
+ };
6329
+ outputFormat: "json";
6330
+ status: 400 | 404 | 409;
6331
+ input: {
6332
+ param: {
6333
+ id: string;
6334
+ };
6335
+ };
6336
6336
  };
6337
6337
  };
6338
6338
  } & {
6339
6339
  "/automations/:id/run": {
6340
6340
  $post: {
6341
6341
  output: {
6342
- error: string;
6342
+ runId: string;
6343
6343
  };
6344
6344
  outputFormat: "json";
6345
- status: 400 | 404 | 409;
6345
+ status: 202;
6346
6346
  input: {
6347
6347
  param: {
6348
6348
  id: string;
@@ -6350,10 +6350,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6350
6350
  };
6351
6351
  } | {
6352
6352
  output: {
6353
- runId: string;
6353
+ error: string;
6354
6354
  };
6355
6355
  outputFormat: "json";
6356
- status: 202;
6356
+ status: 400 | 404 | 409;
6357
6357
  input: {
6358
6358
  param: {
6359
6359
  id: string;
@@ -6365,10 +6365,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6365
6365
  "/automations/:id/check": {
6366
6366
  $post: {
6367
6367
  output: {
6368
- error: string;
6368
+ checkId: string;
6369
6369
  };
6370
6370
  outputFormat: "json";
6371
- status: 404;
6371
+ status: 202;
6372
6372
  input: {
6373
6373
  json: {
6374
6374
  mode: "execute" | "preview";
@@ -6383,7 +6383,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6383
6383
  error: string;
6384
6384
  };
6385
6385
  outputFormat: "json";
6386
- status: 409;
6386
+ status: 404;
6387
6387
  input: {
6388
6388
  json: {
6389
6389
  mode: "execute" | "preview";
@@ -6395,10 +6395,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6395
6395
  };
6396
6396
  } | {
6397
6397
  output: {
6398
- checkId: string;
6398
+ error: string;
6399
6399
  };
6400
6400
  outputFormat: "json";
6401
- status: 202;
6401
+ status: 409;
6402
6402
  input: {
6403
6403
  json: {
6404
6404
  mode: "execute" | "preview";
@@ -7618,6 +7618,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7618
7618
  } & {
7619
7619
  "/run-summaries": {
7620
7620
  $get: {
7621
+ output: {
7622
+ error: string;
7623
+ code?: "invalid_input" | undefined;
7624
+ };
7625
+ outputFormat: "json";
7626
+ status: 400;
7627
+ input: {
7628
+ query: {
7629
+ archived?: "all" | "recent" | undefined;
7630
+ };
7631
+ };
7632
+ } | {
7621
7633
  output: {
7622
7634
  id: string;
7623
7635
  title: string;
@@ -7745,18 +7757,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7745
7757
  archived?: "all" | "recent" | undefined;
7746
7758
  };
7747
7759
  };
7748
- } | {
7749
- output: {
7750
- error: string;
7751
- code?: "invalid_input" | undefined;
7752
- };
7753
- outputFormat: "json";
7754
- status: 400;
7755
- input: {
7756
- query: {
7757
- archived?: "all" | "recent" | undefined;
7758
- };
7759
- };
7760
7760
  };
7761
7761
  };
7762
7762
  } & {
@@ -8101,11 +8101,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8101
8101
  "/runs/:id/worker-destroy": {
8102
8102
  $post: {
8103
8103
  output: {
8104
- error: string;
8105
- code?: "invalid_input" | undefined;
8104
+ workerId: string;
8105
+ state: "complete" | "incomplete";
8106
+ work?: {
8107
+ uncommittedFiles: number;
8108
+ commits: number;
8109
+ } | undefined;
8110
+ deleted?: ({
8111
+ kind: "worktree";
8112
+ path: string;
8113
+ } | {
8114
+ kind: "branch";
8115
+ ref: string;
8116
+ })[] | undefined;
8117
+ remaining: ("branch" | "process" | "worktree")[];
8118
+ error?: string | undefined;
8106
8119
  };
8107
8120
  outputFormat: "json";
8108
- status: 400;
8121
+ status: 200;
8109
8122
  input: {
8110
8123
  query: {
8111
8124
  [x: string]: string | string[];
@@ -8121,24 +8134,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8121
8134
  };
8122
8135
  } | {
8123
8136
  output: {
8124
- workerId: string;
8125
- state: "complete" | "incomplete";
8126
- work?: {
8127
- uncommittedFiles: number;
8128
- commits: number;
8129
- } | undefined;
8130
- deleted?: ({
8131
- kind: "worktree";
8132
- path: string;
8133
- } | {
8134
- kind: "branch";
8135
- ref: string;
8136
- })[] | undefined;
8137
- remaining: ("branch" | "process" | "worktree")[];
8138
- error?: string | undefined;
8137
+ error: string;
8138
+ code?: "invalid_input" | undefined;
8139
8139
  };
8140
8140
  outputFormat: "json";
8141
- status: 200;
8141
+ status: 400;
8142
8142
  input: {
8143
8143
  query: {
8144
8144
  [x: string]: string | string[];
@@ -8254,6 +8254,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8254
8254
  } & {
8255
8255
  "/runs/:id/archive": {
8256
8256
  $post: {
8257
+ output: {
8258
+ error: string;
8259
+ };
8260
+ outputFormat: "json";
8261
+ status: 404;
8262
+ input: {
8263
+ json: {
8264
+ archived?: boolean | undefined;
8265
+ };
8266
+ } & {
8267
+ param: {
8268
+ id: string;
8269
+ };
8270
+ };
8271
+ } | {
8257
8272
  output: {
8258
8273
  archiveWhenDone?: boolean | undefined;
8259
8274
  autoMergePr?: boolean | undefined;
@@ -9359,32 +9374,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9359
9374
  id: string;
9360
9375
  };
9361
9376
  };
9362
- } | {
9377
+ };
9378
+ };
9379
+ } & {
9380
+ "/runs/:id/pin": {
9381
+ $post: {
9363
9382
  output: {
9364
9383
  error: string;
9384
+ code?: "invalid_input" | undefined;
9365
9385
  };
9366
9386
  outputFormat: "json";
9367
- status: 404;
9387
+ status: 400;
9368
9388
  input: {
9369
- json: {
9370
- archived?: boolean | undefined;
9371
- };
9372
- } & {
9373
9389
  param: {
9374
9390
  id: string;
9375
9391
  };
9392
+ } & {
9393
+ json: {
9394
+ pinned?: boolean | undefined;
9395
+ };
9376
9396
  };
9377
- };
9378
- };
9379
- } & {
9380
- "/runs/:id/pin": {
9381
- $post: {
9397
+ } | {
9382
9398
  output: {
9383
9399
  error: string;
9384
- code?: "invalid_input" | undefined;
9385
9400
  };
9386
9401
  outputFormat: "json";
9387
- status: 400;
9402
+ status: 404;
9388
9403
  input: {
9389
9404
  param: {
9390
9405
  id: string;
@@ -10500,29 +10515,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10500
10515
  pinned?: boolean | undefined;
10501
10516
  };
10502
10517
  };
10503
- } | {
10518
+ };
10519
+ };
10520
+ } & {
10521
+ "/runs/:id/notify": {
10522
+ $post: {
10504
10523
  output: {
10505
10524
  error: string;
10525
+ code?: "invalid_input" | undefined;
10506
10526
  };
10507
10527
  outputFormat: "json";
10508
- status: 404;
10528
+ status: 400;
10509
10529
  input: {
10510
10530
  param: {
10511
10531
  id: string;
10512
10532
  };
10513
10533
  } & {
10514
10534
  json: {
10515
- pinned?: boolean | undefined;
10535
+ notify: boolean;
10536
+ message?: string | undefined;
10516
10537
  };
10517
10538
  };
10518
- };
10519
- };
10520
- } & {
10521
- "/runs/:id/notify": {
10522
- $post: {
10539
+ } | {
10523
10540
  output: {
10524
10541
  error: string;
10525
- code?: "invalid_input" | undefined;
10526
10542
  };
10527
10543
  outputFormat: "json";
10528
10544
  status: 400;
@@ -10536,6 +10552,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10536
10552
  message?: string | undefined;
10537
10553
  };
10538
10554
  };
10555
+ } | {
10556
+ output: {
10557
+ error: string;
10558
+ };
10559
+ outputFormat: "json";
10560
+ status: 404;
10561
+ input: {
10562
+ param: {
10563
+ id: string;
10564
+ };
10565
+ } & {
10566
+ json: {
10567
+ notify: boolean;
10568
+ message?: string | undefined;
10569
+ };
10570
+ };
10539
10571
  } | {
10540
10572
  output: {
10541
10573
  archiveWhenDone?: boolean | undefined;
@@ -11643,7 +11675,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11643
11675
  message?: string | undefined;
11644
11676
  };
11645
11677
  };
11646
- } | {
11678
+ };
11679
+ };
11680
+ } & {
11681
+ "/runs/:id/auto-resume": {
11682
+ $delete: {
11647
11683
  output: {
11648
11684
  error: string;
11649
11685
  };
@@ -11653,33 +11689,23 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11653
11689
  param: {
11654
11690
  id: string;
11655
11691
  };
11656
- } & {
11657
- json: {
11658
- notify: boolean;
11659
- message?: string | undefined;
11660
- };
11661
11692
  };
11662
11693
  } | {
11663
11694
  output: {
11664
- error: string;
11695
+ cancelled: true;
11665
11696
  };
11666
11697
  outputFormat: "json";
11667
- status: 400;
11698
+ status: import("hono/utils/http-status").ContentfulStatusCode;
11668
11699
  input: {
11669
11700
  param: {
11670
11701
  id: string;
11671
11702
  };
11672
- } & {
11673
- json: {
11674
- notify: boolean;
11675
- message?: string | undefined;
11676
- };
11677
11703
  };
11678
11704
  };
11679
11705
  };
11680
11706
  } & {
11681
- "/runs/:id/auto-resume": {
11682
- $delete: {
11707
+ "/runs/:id/read": {
11708
+ $post: {
11683
11709
  output: {
11684
11710
  error: string;
11685
11711
  };
@@ -11691,21 +11717,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11691
11717
  };
11692
11718
  };
11693
11719
  } | {
11694
- output: {
11695
- cancelled: true;
11696
- };
11697
- outputFormat: "json";
11698
- status: import("hono/utils/http-status").ContentfulStatusCode;
11699
- input: {
11700
- param: {
11701
- id: string;
11702
- };
11703
- };
11704
- };
11705
- };
11706
- } & {
11707
- "/runs/:id/read": {
11708
- $post: {
11709
11720
  output: {
11710
11721
  archiveWhenDone?: boolean | undefined;
11711
11722
  autoMergePr?: boolean | undefined;
@@ -12807,7 +12818,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12807
12818
  id: string;
12808
12819
  };
12809
12820
  };
12810
- } | {
12821
+ };
12822
+ };
12823
+ } & {
12824
+ "/runs/:id/unread": {
12825
+ $post: {
12811
12826
  output: {
12812
12827
  error: string;
12813
12828
  };
@@ -12818,11 +12833,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12818
12833
  id: string;
12819
12834
  };
12820
12835
  };
12821
- };
12822
- };
12823
- } & {
12824
- "/runs/:id/unread": {
12825
- $post: {
12836
+ } | {
12826
12837
  output: {
12827
12838
  archiveWhenDone?: boolean | undefined;
12828
12839
  autoMergePr?: boolean | undefined;
@@ -13924,17 +13935,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13924
13935
  id: string;
13925
13936
  };
13926
13937
  };
13927
- } | {
13928
- output: {
13929
- error: string;
13930
- };
13931
- outputFormat: "json";
13932
- status: 404;
13933
- input: {
13934
- param: {
13935
- id: string;
13936
- };
13937
- };
13938
13938
  };
13939
13939
  };
13940
13940
  } & {
@@ -15131,6 +15131,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15131
15131
  } & {
15132
15132
  "/runs/:id": {
15133
15133
  $get: {
15134
+ output: {
15135
+ error: string;
15136
+ };
15137
+ outputFormat: "json";
15138
+ status: 404;
15139
+ input: {
15140
+ param: {
15141
+ id: string;
15142
+ };
15143
+ };
15144
+ } | {
15134
15145
  output: {
15135
15146
  archiveWhenDone?: boolean | undefined;
15136
15147
  autoMergePr?: boolean | undefined;
@@ -16239,17 +16250,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16239
16250
  id: string;
16240
16251
  };
16241
16252
  };
16242
- } | {
16243
- output: {
16244
- error: string;
16245
- };
16246
- outputFormat: "json";
16247
- status: 404;
16248
- input: {
16249
- param: {
16250
- id: string;
16251
- };
16252
- };
16253
16253
  };
16254
16254
  };
16255
16255
  } & {
@@ -16377,6 +16377,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16377
16377
  } & {
16378
16378
  "/runs/:id": {
16379
16379
  $patch: {
16380
+ output: {
16381
+ error: string;
16382
+ };
16383
+ outputFormat: "json";
16384
+ status: 400;
16385
+ input: {
16386
+ json: {
16387
+ archiveWhenDone?: boolean | undefined;
16388
+ autoMergePr?: boolean | undefined;
16389
+ allowWorkers?: boolean | undefined;
16390
+ allowMessaging?: boolean | undefined;
16391
+ title?: string | undefined;
16392
+ task?: string | undefined;
16393
+ };
16394
+ } & {
16395
+ param: {
16396
+ id: string;
16397
+ };
16398
+ };
16399
+ } | {
16400
+ output: {
16401
+ error: string;
16402
+ };
16403
+ outputFormat: "json";
16404
+ status: 404;
16405
+ input: {
16406
+ json: {
16407
+ archiveWhenDone?: boolean | undefined;
16408
+ autoMergePr?: boolean | undefined;
16409
+ allowWorkers?: boolean | undefined;
16410
+ allowMessaging?: boolean | undefined;
16411
+ title?: string | undefined;
16412
+ task?: string | undefined;
16413
+ };
16414
+ } & {
16415
+ param: {
16416
+ id: string;
16417
+ };
16418
+ };
16419
+ } | {
16420
+ output: {
16421
+ error: string;
16422
+ };
16423
+ outputFormat: "json";
16424
+ status: 409;
16425
+ input: {
16426
+ json: {
16427
+ archiveWhenDone?: boolean | undefined;
16428
+ autoMergePr?: boolean | undefined;
16429
+ allowWorkers?: boolean | undefined;
16430
+ allowMessaging?: boolean | undefined;
16431
+ title?: string | undefined;
16432
+ task?: string | undefined;
16433
+ };
16434
+ } & {
16435
+ param: {
16436
+ id: string;
16437
+ };
16438
+ };
16439
+ } | {
16380
16440
  output: {
16381
16441
  archiveWhenDone?: boolean | undefined;
16382
16442
  autoMergePr?: boolean | undefined;
@@ -17487,66 +17547,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17487
17547
  id: string;
17488
17548
  };
17489
17549
  };
17490
- } | {
17491
- output: {
17492
- error: string;
17493
- };
17494
- outputFormat: "json";
17495
- status: 404;
17496
- input: {
17497
- json: {
17498
- archiveWhenDone?: boolean | undefined;
17499
- autoMergePr?: boolean | undefined;
17500
- allowWorkers?: boolean | undefined;
17501
- allowMessaging?: boolean | undefined;
17502
- title?: string | undefined;
17503
- task?: string | undefined;
17504
- };
17505
- } & {
17506
- param: {
17507
- id: string;
17508
- };
17509
- };
17510
- } | {
17511
- output: {
17512
- error: string;
17513
- };
17514
- outputFormat: "json";
17515
- status: 400;
17516
- input: {
17517
- json: {
17518
- archiveWhenDone?: boolean | undefined;
17519
- autoMergePr?: boolean | undefined;
17520
- allowWorkers?: boolean | undefined;
17521
- allowMessaging?: boolean | undefined;
17522
- title?: string | undefined;
17523
- task?: string | undefined;
17524
- };
17525
- } & {
17526
- param: {
17527
- id: string;
17528
- };
17529
- };
17530
- } | {
17531
- output: {
17532
- error: string;
17533
- };
17534
- outputFormat: "json";
17535
- status: 409;
17536
- input: {
17537
- json: {
17538
- archiveWhenDone?: boolean | undefined;
17539
- autoMergePr?: boolean | undefined;
17540
- allowWorkers?: boolean | undefined;
17541
- allowMessaging?: boolean | undefined;
17542
- title?: string | undefined;
17543
- task?: string | undefined;
17544
- };
17545
- } & {
17546
- param: {
17547
- id: string;
17548
- };
17549
- };
17550
17550
  };
17551
17551
  };
17552
17552
  } & {
@@ -17651,7 +17651,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17651
17651
  error: string;
17652
17652
  };
17653
17653
  outputFormat: "json";
17654
- status: 404;
17654
+ status: 400;
17655
17655
  input: {
17656
17656
  json: {
17657
17657
  text?: string | undefined;
@@ -17670,7 +17670,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17670
17670
  error: string;
17671
17671
  };
17672
17672
  outputFormat: "json";
17673
- status: 409;
17673
+ status: 404;
17674
17674
  input: {
17675
17675
  json: {
17676
17676
  text?: string | undefined;
@@ -17686,10 +17686,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17686
17686
  };
17687
17687
  } | {
17688
17688
  output: {
17689
- delivered: true;
17689
+ error: string;
17690
17690
  };
17691
17691
  outputFormat: "json";
17692
- status: import("hono/utils/http-status").ContentfulStatusCode;
17692
+ status: 409;
17693
17693
  input: {
17694
17694
  json: {
17695
17695
  text?: string | undefined;
@@ -17705,10 +17705,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17705
17705
  };
17706
17706
  } | {
17707
17707
  output: {
17708
- error: string;
17708
+ delivered: true;
17709
17709
  };
17710
17710
  outputFormat: "json";
17711
- status: 400;
17711
+ status: import("hono/utils/http-status").ContentfulStatusCode;
17712
17712
  input: {
17713
17713
  json: {
17714
17714
  text?: string | undefined;
@@ -17776,7 +17776,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17776
17776
  error: string;
17777
17777
  };
17778
17778
  outputFormat: "json";
17779
- status: 404;
17779
+ status: 400;
17780
17780
  input: {
17781
17781
  json: {
17782
17782
  text?: string | undefined;
@@ -17797,7 +17797,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17797
17797
  error: string;
17798
17798
  };
17799
17799
  outputFormat: "json";
17800
- status: 400;
17800
+ status: 404;
17801
17801
  input: {
17802
17802
  json: {
17803
17803
  text?: string | undefined;
@@ -18017,10 +18017,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18017
18017
  "/runs/:id/open-in-cli": {
18018
18018
  $post: {
18019
18019
  output: {
18020
- error: string;
18020
+ opened: true;
18021
+ command: string;
18021
18022
  };
18022
18023
  outputFormat: "json";
18023
- status: 404 | 409;
18024
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18024
18025
  input: {
18025
18026
  param: {
18026
18027
  id: string;
@@ -18028,11 +18029,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18028
18029
  };
18029
18030
  } | {
18030
18031
  output: {
18031
- opened: true;
18032
- command: string;
18032
+ error: string;
18033
18033
  };
18034
18034
  outputFormat: "json";
18035
- status: import("hono/utils/http-status").ContentfulStatusCode;
18035
+ status: 404 | 409;
18036
18036
  input: {
18037
18037
  param: {
18038
18038
  id: string;
@@ -18047,7 +18047,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18047
18047
  error: string;
18048
18048
  };
18049
18049
  outputFormat: "json";
18050
- status: 404 | 409;
18050
+ status: 400;
18051
18051
  input: {
18052
18052
  json: {
18053
18053
  target: string;
@@ -18060,10 +18060,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18060
18060
  };
18061
18061
  } | {
18062
18062
  output: {
18063
- error: string;
18063
+ opened: true;
18064
+ path: string;
18064
18065
  };
18065
18066
  outputFormat: "json";
18066
- status: 400;
18067
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18067
18068
  input: {
18068
18069
  json: {
18069
18070
  target: string;
@@ -18076,11 +18077,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18076
18077
  };
18077
18078
  } | {
18078
18079
  output: {
18079
- opened: true;
18080
- path: string;
18080
+ error: string;
18081
18081
  };
18082
18082
  outputFormat: "json";
18083
- status: import("hono/utils/http-status").ContentfulStatusCode;
18083
+ status: 404 | 409;
18084
18084
  input: {
18085
18085
  json: {
18086
18086
  target: string;
@@ -18120,9 +18120,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18120
18120
  } & {
18121
18121
  "/runs/:id/images/:file": {
18122
18122
  $get: {
18123
- output: {};
18124
- outputFormat: string;
18125
- status: import("hono/utils/http-status").StatusCode;
18123
+ output: {
18124
+ error: string;
18125
+ code?: "invalid_input" | undefined;
18126
+ };
18127
+ outputFormat: "json";
18128
+ status: 400;
18126
18129
  input: {
18127
18130
  param: {
18128
18131
  id: string;
@@ -18130,12 +18133,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18130
18133
  };
18131
18134
  };
18132
18135
  } | {
18133
- output: {
18134
- error: string;
18135
- code?: "invalid_input" | undefined;
18136
- };
18137
- outputFormat: "json";
18138
- status: 400;
18136
+ output: {};
18137
+ outputFormat: string;
18138
+ status: import("hono/utils/http-status").StatusCode;
18139
18139
  input: {
18140
18140
  param: {
18141
18141
  id: string;
@@ -18171,17 +18171,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18171
18171
  } & {
18172
18172
  "/runs/:id/changes": {
18173
18173
  $get: {
18174
- output: {
18175
- error: string;
18176
- };
18177
- outputFormat: "json";
18178
- status: 404 | 409;
18179
- input: {
18180
- param: {
18181
- id: string;
18182
- };
18183
- };
18184
- } | {
18185
18174
  output: {
18186
18175
  files: {
18187
18176
  path: string;
@@ -18210,11 +18199,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18210
18199
  id: string;
18211
18200
  };
18212
18201
  };
18213
- };
18214
- };
18215
- } & {
18216
- "/runs/:id/commits": {
18217
- $get: {
18202
+ } | {
18218
18203
  output: {
18219
18204
  error: string;
18220
18205
  };
@@ -18225,7 +18210,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18225
18210
  id: string;
18226
18211
  };
18227
18212
  };
18228
- } | {
18213
+ };
18214
+ };
18215
+ } & {
18216
+ "/runs/:id/commits": {
18217
+ $get: {
18229
18218
  output: {
18230
18219
  commits: {
18231
18220
  sha: string;
@@ -18241,11 +18230,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18241
18230
  id: string;
18242
18231
  };
18243
18232
  };
18244
- };
18245
- };
18246
- } & {
18247
- "/runs/:id/commit/:sha": {
18248
- $get: {
18233
+ } | {
18249
18234
  output: {
18250
18235
  error: string;
18251
18236
  };
@@ -18254,11 +18239,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18254
18239
  input: {
18255
18240
  param: {
18256
18241
  id: string;
18257
- } & {
18258
- sha: string;
18259
18242
  };
18260
18243
  };
18261
- } | {
18244
+ };
18245
+ };
18246
+ } & {
18247
+ "/runs/:id/commit/:sha": {
18248
+ $get: {
18262
18249
  output: {
18263
18250
  sha: string;
18264
18251
  subject: string;
@@ -18289,6 +18276,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18289
18276
  sha: string;
18290
18277
  };
18291
18278
  };
18279
+ } | {
18280
+ output: {
18281
+ error: string;
18282
+ };
18283
+ outputFormat: "json";
18284
+ status: 404 | 409;
18285
+ input: {
18286
+ param: {
18287
+ id: string;
18288
+ } & {
18289
+ sha: string;
18290
+ };
18291
+ };
18292
18292
  };
18293
18293
  };
18294
18294
  } & {
@@ -18324,22 +18324,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18324
18324
  raw?: "1" | undefined;
18325
18325
  };
18326
18326
  };
18327
- } | {
18328
- output: {
18329
- error: string;
18330
- };
18331
- outputFormat: "json";
18332
- status: 404 | 409;
18333
- input: {
18334
- param: {
18335
- id: string;
18336
- };
18337
- } & {
18338
- query: {
18339
- path: string | string[];
18340
- raw?: "1" | undefined;
18341
- };
18342
- };
18343
18327
  } | {
18344
18328
  output: {
18345
18329
  type: "file";
@@ -18376,6 +18360,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18376
18360
  raw?: "1" | undefined;
18377
18361
  };
18378
18362
  };
18363
+ } | {
18364
+ output: {
18365
+ error: string;
18366
+ };
18367
+ outputFormat: "json";
18368
+ status: 404 | 409;
18369
+ input: {
18370
+ param: {
18371
+ id: string;
18372
+ };
18373
+ } & {
18374
+ query: {
18375
+ path: string | string[];
18376
+ raw?: "1" | undefined;
18377
+ };
18378
+ };
18379
18379
  };
18380
18380
  };
18381
18381
  } & {
@@ -18440,6 +18440,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18440
18440
  artifactId: string;
18441
18441
  };
18442
18442
  };
18443
+ } | {
18444
+ output: {
18445
+ error: string;
18446
+ };
18447
+ outputFormat: "json";
18448
+ status: 404;
18449
+ input: {
18450
+ param: {
18451
+ id: string;
18452
+ artifactId: string;
18453
+ };
18454
+ };
18443
18455
  } | {
18444
18456
  output: {
18445
18457
  type: "file";
@@ -18468,18 +18480,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18468
18480
  artifactId: string;
18469
18481
  };
18470
18482
  };
18471
- } | {
18472
- output: {
18473
- error: string;
18474
- };
18475
- outputFormat: "json";
18476
- status: 404;
18477
- input: {
18478
- param: {
18479
- id: string;
18480
- artifactId: string;
18481
- };
18482
- };
18483
18483
  };
18484
18484
  };
18485
18485
  } & {
@@ -18657,10 +18657,16 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18657
18657
  };
18658
18658
  } | {
18659
18659
  output: {
18660
- error: string;
18660
+ type: 'dir';
18661
+ path: string;
18662
+ entries: {
18663
+ name: string;
18664
+ type: 'dir' | 'file';
18665
+ size?: number;
18666
+ }[];
18661
18667
  };
18662
18668
  outputFormat: "json";
18663
- status: 404 | 409;
18669
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18664
18670
  input: {
18665
18671
  query: {
18666
18672
  path?: string | undefined;
@@ -18673,13 +18679,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18673
18679
  };
18674
18680
  } | {
18675
18681
  output: {
18676
- type: 'dir';
18682
+ type: 'file';
18677
18683
  path: string;
18678
- entries: {
18679
- name: string;
18680
- type: 'dir' | 'file';
18681
- size?: number;
18682
- }[];
18684
+ size: number;
18685
+ binary: boolean;
18686
+ tooLarge: boolean;
18687
+ content?: string | undefined;
18683
18688
  };
18684
18689
  outputFormat: "json";
18685
18690
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -18695,15 +18700,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18695
18700
  };
18696
18701
  } | {
18697
18702
  output: {
18698
- type: 'file';
18699
- path: string;
18700
- size: number;
18701
- binary: boolean;
18702
- tooLarge: boolean;
18703
- content?: string | undefined;
18703
+ error: string;
18704
18704
  };
18705
18705
  outputFormat: "json";
18706
- status: import("hono/utils/http-status").ContentfulStatusCode;
18706
+ status: 404 | 409;
18707
18707
  input: {
18708
18708
  query: {
18709
18709
  path?: string | undefined;
@@ -18720,10 +18720,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18720
18720
  "/runs/:id/git/commit": {
18721
18721
  $post: {
18722
18722
  output: {
18723
- error: string;
18723
+ committed: true;
18724
+ sha: string;
18724
18725
  };
18725
18726
  outputFormat: "json";
18726
- status: 404 | 409;
18727
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18727
18728
  input: {
18728
18729
  json: {
18729
18730
  message: string;
@@ -18735,11 +18736,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18735
18736
  };
18736
18737
  } | {
18737
18738
  output: {
18738
- committed: true;
18739
- sha: string;
18739
+ error: string;
18740
18740
  };
18741
18741
  outputFormat: "json";
18742
- status: import("hono/utils/http-status").ContentfulStatusCode;
18742
+ status: 404 | 409;
18743
18743
  input: {
18744
18744
  json: {
18745
18745
  message: string;
@@ -18755,10 +18755,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18755
18755
  "/runs/:id/git/push": {
18756
18756
  $post: {
18757
18757
  output: {
18758
- error: string;
18758
+ pushed: true;
18759
+ branch: string;
18760
+ remote: string;
18761
+ upstreamSet: boolean;
18759
18762
  };
18760
18763
  outputFormat: "json";
18761
- status: 404 | 409;
18764
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18762
18765
  input: {
18763
18766
  param: {
18764
18767
  id: string;
@@ -18766,13 +18769,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18766
18769
  };
18767
18770
  } | {
18768
18771
  output: {
18769
- pushed: true;
18770
- branch: string;
18771
- remote: string;
18772
- upstreamSet: boolean;
18772
+ error: string;
18773
18773
  };
18774
18774
  outputFormat: "json";
18775
- status: import("hono/utils/http-status").ContentfulStatusCode;
18775
+ status: 404 | 409;
18776
18776
  input: {
18777
18777
  param: {
18778
18778
  id: string;
@@ -18784,10 +18784,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18784
18784
  "/runs/:id/pr": {
18785
18785
  $post: {
18786
18786
  output: {
18787
- error: string;
18787
+ url: string;
18788
+ dryRun: boolean;
18788
18789
  };
18789
18790
  outputFormat: "json";
18790
- status: 404 | 409;
18791
+ status: 201;
18791
18792
  input: {
18792
18793
  param: {
18793
18794
  id: string;
@@ -18795,11 +18796,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18795
18796
  };
18796
18797
  } | {
18797
18798
  output: {
18798
- url: string;
18799
- dryRun: boolean;
18799
+ error: string;
18800
18800
  };
18801
18801
  outputFormat: "json";
18802
- status: 201;
18802
+ status: 404 | 409;
18803
18803
  input: {
18804
18804
  param: {
18805
18805
  id: string;
@@ -18811,10 +18811,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18811
18811
  "/runs/:id/remove-worktree": {
18812
18812
  $post: {
18813
18813
  output: {
18814
- error: string;
18814
+ removed: true;
18815
18815
  };
18816
18816
  outputFormat: "json";
18817
- status: 404 | 409;
18817
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18818
18818
  input: {
18819
18819
  param: {
18820
18820
  id: string;
@@ -18822,10 +18822,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18822
18822
  };
18823
18823
  } | {
18824
18824
  output: {
18825
- removed: true;
18825
+ error: string;
18826
18826
  };
18827
18827
  outputFormat: "json";
18828
- status: import("hono/utils/http-status").ContentfulStatusCode;
18828
+ status: 404 | 409;
18829
18829
  input: {
18830
18830
  param: {
18831
18831
  id: string;
@@ -18837,10 +18837,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18837
18837
  "/runs/:id": {
18838
18838
  $delete: {
18839
18839
  output: {
18840
- error: string;
18840
+ deleted: true;
18841
18841
  };
18842
18842
  outputFormat: "json";
18843
- status: 404 | 409;
18843
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18844
18844
  input: {
18845
18845
  param: {
18846
18846
  id: string;
@@ -18848,10 +18848,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18848
18848
  };
18849
18849
  } | {
18850
18850
  output: {
18851
- deleted: true;
18851
+ error: string;
18852
18852
  };
18853
18853
  outputFormat: "json";
18854
- status: import("hono/utils/http-status").ContentfulStatusCode;
18854
+ status: 404 | 409;
18855
18855
  input: {
18856
18856
  param: {
18857
18857
  id: string;
@@ -18880,7 +18880,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18880
18880
  error: string;
18881
18881
  };
18882
18882
  outputFormat: "json";
18883
- status: 409;
18883
+ status: 400;
18884
18884
  input: {
18885
18885
  query: {
18886
18886
  runner: string | string[];
@@ -18893,7 +18893,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18893
18893
  error: string;
18894
18894
  };
18895
18895
  outputFormat: "json";
18896
- status: 400;
18896
+ status: 409;
18897
18897
  input: {
18898
18898
  query: {
18899
18899
  runner: string | string[];
@@ -19023,42 +19023,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19023
19023
  "/ui-state": {
19024
19024
  $put: {
19025
19025
  output: {
19026
- [x: string]: import("hono/utils/types").JSONValue;
19027
- sidebarLimits?: {
19028
- overall?: number | null | undefined;
19029
- needsYou?: number | null | undefined;
19030
- finished?: number | null | undefined;
19031
- working?: number | null | undefined;
19032
- } | undefined;
19033
- lastTask?: {
19034
- source: "skill" | "workflow";
19035
- ref: string;
19036
- } | null | undefined;
19037
- recentSources?: {
19038
- source: "skill" | "workflow";
19039
- ref: string;
19040
- }[] | undefined;
19041
- lastWorktree?: boolean | undefined;
19042
- lastAutonomous?: boolean | undefined;
19043
- skillUsage?: {
19044
- [x: string]: number;
19045
- } | undefined;
19046
- runsView?: "list" | "table" | undefined;
19047
- githubView?: "issues" | "prs" | undefined;
19048
- appearance?: {
19049
- accent?: "cezarion" | "lime" | "violet" | undefined;
19050
- density?: "comfortable" | "compact" | "ultra" | undefined;
19051
- width?: "narrow" | "wide" | undefined;
19052
- } | undefined;
19053
- promptTemplates?: {
19054
- id: string;
19055
- label: string;
19056
- text: string;
19057
- skills?: string[] | undefined;
19058
- }[] | undefined;
19026
+ error: string;
19059
19027
  };
19060
19028
  outputFormat: "json";
19061
- status: import("hono/utils/http-status").ContentfulStatusCode;
19029
+ status: 500;
19062
19030
  input: {
19063
19031
  json: {
19064
19032
  [x: string]: unknown;
@@ -19096,10 +19064,42 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19096
19064
  };
19097
19065
  } | {
19098
19066
  output: {
19099
- error: string;
19067
+ [x: string]: import("hono/utils/types").JSONValue;
19068
+ sidebarLimits?: {
19069
+ overall?: number | null | undefined;
19070
+ needsYou?: number | null | undefined;
19071
+ finished?: number | null | undefined;
19072
+ working?: number | null | undefined;
19073
+ } | undefined;
19074
+ lastTask?: {
19075
+ source: "skill" | "workflow";
19076
+ ref: string;
19077
+ } | null | undefined;
19078
+ recentSources?: {
19079
+ source: "skill" | "workflow";
19080
+ ref: string;
19081
+ }[] | undefined;
19082
+ lastWorktree?: boolean | undefined;
19083
+ lastAutonomous?: boolean | undefined;
19084
+ skillUsage?: {
19085
+ [x: string]: number;
19086
+ } | undefined;
19087
+ runsView?: "list" | "table" | undefined;
19088
+ githubView?: "issues" | "prs" | undefined;
19089
+ appearance?: {
19090
+ accent?: "cezarion" | "lime" | "violet" | undefined;
19091
+ density?: "comfortable" | "compact" | "ultra" | undefined;
19092
+ width?: "narrow" | "wide" | undefined;
19093
+ } | undefined;
19094
+ promptTemplates?: {
19095
+ id: string;
19096
+ label: string;
19097
+ text: string;
19098
+ skills?: string[] | undefined;
19099
+ }[] | undefined;
19100
19100
  };
19101
19101
  outputFormat: "json";
19102
- status: 500;
19102
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19103
19103
  input: {
19104
19104
  json: {
19105
19105
  [x: string]: unknown;
@@ -19159,7 +19159,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19159
19159
  error: string;
19160
19160
  };
19161
19161
  outputFormat: "json";
19162
- status: 409;
19162
+ status: 400;
19163
19163
  input: {
19164
19164
  json: {
19165
19165
  target: string;
@@ -19170,7 +19170,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19170
19170
  error: string;
19171
19171
  };
19172
19172
  outputFormat: "json";
19173
- status: 400;
19173
+ status: 409;
19174
19174
  input: {
19175
19175
  json: {
19176
19176
  target: string;
@@ -19193,9 +19193,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19193
19193
  }, "/"> | import("hono/types").MergeSchemaPath<{
19194
19194
  "/runs/:id/events": {
19195
19195
  $get: {
19196
- output: {};
19197
- outputFormat: string;
19198
- status: import("hono/utils/http-status").StatusCode;
19196
+ output: {
19197
+ error: string;
19198
+ code?: "invalid_input" | undefined;
19199
+ };
19200
+ outputFormat: "json";
19201
+ status: 400;
19199
19202
  input: {
19200
19203
  param: {
19201
19204
  id: string;
@@ -19207,12 +19210,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19207
19210
  };
19208
19211
  };
19209
19212
  } | {
19210
- output: {
19211
- error: string;
19212
- code?: "invalid_input" | undefined;
19213
- };
19214
- outputFormat: "json";
19215
- status: 400;
19213
+ output: {};
19214
+ outputFormat: string;
19215
+ status: import("hono/utils/http-status").StatusCode;
19216
19216
  input: {
19217
19217
  param: {
19218
19218
  id: string;
@@ -19273,34 +19273,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19273
19273
  "/config": {
19274
19274
  $put: {
19275
19275
  output: {
19276
- archiveOnMerge: boolean | null;
19277
- effectiveArchiveOnMerge: boolean;
19278
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
19279
- baseBranch: string | null;
19280
- defaultRunner: string;
19281
- systemPrompt: string | null;
19282
- defaultModels: {
19283
- [x: string]: string | undefined;
19284
- };
19285
- modelsLocked: boolean;
19286
- maxParallel: number;
19287
- memoryLimitMb: number | null;
19288
- worktreeRetention: number;
19289
- liveTitleUpdates: boolean | null;
19290
- reviewGate: boolean | null;
19291
- worktreeSetup: {
19292
- commands: string[];
19293
- timeoutSeconds: number;
19294
- } | null;
19295
- worktreeSetupIssue: string | null;
19296
- worktreeTeardown: {
19297
- commands: string[];
19298
- timeoutSeconds: number;
19299
- } | null;
19300
- worktreeTeardownIssue: string | null;
19276
+ error: string;
19301
19277
  };
19302
19278
  outputFormat: "json";
19303
- status: import("hono/utils/http-status").ContentfulStatusCode;
19279
+ status: 409;
19304
19280
  input: {
19305
19281
  json: {
19306
19282
  archiveOnMerge?: boolean | null | undefined;
@@ -19328,7 +19304,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19328
19304
  error: string;
19329
19305
  };
19330
19306
  outputFormat: "json";
19331
- status: 409;
19307
+ status: 500;
19332
19308
  input: {
19333
19309
  json: {
19334
19310
  archiveOnMerge?: boolean | null | undefined;
@@ -19353,10 +19329,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19353
19329
  };
19354
19330
  } | {
19355
19331
  output: {
19356
- error: string;
19332
+ archiveOnMerge: boolean | null;
19333
+ effectiveArchiveOnMerge: boolean;
19334
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
19335
+ baseBranch: string | null;
19336
+ defaultRunner: string;
19337
+ systemPrompt: string | null;
19338
+ defaultModels: {
19339
+ [x: string]: string | undefined;
19340
+ };
19341
+ modelsLocked: boolean;
19342
+ maxParallel: number;
19343
+ memoryLimitMb: number | null;
19344
+ worktreeRetention: number;
19345
+ liveTitleUpdates: boolean | null;
19346
+ reviewGate: boolean | null;
19347
+ worktreeSetup: {
19348
+ commands: string[];
19349
+ timeoutSeconds: number;
19350
+ } | null;
19351
+ worktreeSetupIssue: string | null;
19352
+ worktreeTeardown: {
19353
+ commands: string[];
19354
+ timeoutSeconds: number;
19355
+ } | null;
19356
+ worktreeTeardownIssue: string | null;
19357
19357
  };
19358
19358
  outputFormat: "json";
19359
- status: 500;
19359
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19360
19360
  input: {
19361
19361
  json: {
19362
19362
  archiveOnMerge?: boolean | null | undefined;
@@ -19505,7 +19505,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19505
19505
  error: string;
19506
19506
  };
19507
19507
  outputFormat: "json";
19508
- status: 409;
19508
+ status: 400;
19509
19509
  input: {
19510
19510
  query: {
19511
19511
  q?: string | undefined;
@@ -19518,7 +19518,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19518
19518
  error: string;
19519
19519
  };
19520
19520
  outputFormat: "json";
19521
- status: 400;
19521
+ status: 409;
19522
19522
  input: {
19523
19523
  query: {
19524
19524
  q?: string | undefined;
@@ -19605,10 +19605,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19605
19605
  };
19606
19606
  } | {
19607
19607
  output: {
19608
- error: string;
19608
+ runId: string;
19609
+ worktreeReclaimedAt: string;
19609
19610
  };
19610
19611
  outputFormat: "json";
19611
- status: 404 | 409;
19612
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19612
19613
  input: {
19613
19614
  param: {
19614
19615
  runId: string;
@@ -19616,11 +19617,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19616
19617
  };
19617
19618
  } | {
19618
19619
  output: {
19619
- runId: string;
19620
- worktreeReclaimedAt: string;
19620
+ error: string;
19621
19621
  };
19622
19622
  outputFormat: "json";
19623
- status: import("hono/utils/http-status").ContentfulStatusCode;
19623
+ status: 404 | 409;
19624
19624
  input: {
19625
19625
  param: {
19626
19626
  runId: string;
@@ -19716,14 +19716,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19716
19716
  "/agent-config/:id": {
19717
19717
  $put: {
19718
19718
  output: {
19719
- id: string;
19720
- path: string;
19721
- exists: boolean;
19722
- content: string;
19723
- version: string | null;
19719
+ error: string;
19724
19720
  };
19725
19721
  outputFormat: "json";
19726
- status: import("hono/utils/http-status").ContentfulStatusCode;
19722
+ status: 404;
19727
19723
  input: {
19728
19724
  json: {
19729
19725
  content: string;
@@ -19736,10 +19732,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19736
19732
  };
19737
19733
  } | {
19738
19734
  output: {
19739
- error: string;
19735
+ id: string;
19736
+ path: string;
19737
+ exists: boolean;
19738
+ content: string;
19739
+ version: string | null;
19740
19740
  };
19741
19741
  outputFormat: "json";
19742
- status: 404;
19742
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19743
19743
  input: {
19744
19744
  json: {
19745
19745
  content: string;
@@ -19810,10 +19810,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19810
19810
  "/workflows": {
19811
19811
  $post: {
19812
19812
  output: {
19813
- error: string;
19813
+ path: string;
19814
+ name: string;
19814
19815
  };
19815
19816
  outputFormat: "json";
19816
- status: 400;
19817
+ status: 201;
19817
19818
  input: {
19818
19819
  json: {
19819
19820
  name: string;
@@ -19843,10 +19844,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19843
19844
  } | {
19844
19845
  output: {
19845
19846
  error: string;
19846
- exists: true;
19847
19847
  };
19848
19848
  outputFormat: "json";
19849
- status: 409;
19849
+ status: 400;
19850
19850
  input: {
19851
19851
  json: {
19852
19852
  name: string;
@@ -19876,9 +19876,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19876
19876
  } | {
19877
19877
  output: {
19878
19878
  error: string;
19879
+ exists: true;
19879
19880
  };
19880
19881
  outputFormat: "json";
19881
- status: 500;
19882
+ status: 409;
19882
19883
  input: {
19883
19884
  json: {
19884
19885
  name: string;
@@ -19907,11 +19908,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19907
19908
  };
19908
19909
  } | {
19909
19910
  output: {
19910
- path: string;
19911
- name: string;
19911
+ error: string;
19912
19912
  };
19913
19913
  outputFormat: "json";
19914
- status: 201;
19914
+ status: 500;
19915
19915
  input: {
19916
19916
  json: {
19917
19917
  name: string;
@@ -19944,10 +19944,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19944
19944
  "/workflows/:name": {
19945
19945
  $delete: {
19946
19946
  output: {
19947
- error: string;
19947
+ ok: true;
19948
+ path: string;
19948
19949
  };
19949
19950
  outputFormat: "json";
19950
- status: 400 | 404 | 409 | 500;
19951
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19951
19952
  input: {
19952
19953
  param: {
19953
19954
  name: string;
@@ -19955,11 +19956,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19955
19956
  };
19956
19957
  } | {
19957
19958
  output: {
19958
- ok: true;
19959
- path: string;
19959
+ error: string;
19960
19960
  };
19961
19961
  outputFormat: "json";
19962
- status: import("hono/utils/http-status").ContentfulStatusCode;
19962
+ status: 400 | 404 | 409 | 500;
19963
19963
  input: {
19964
19964
  param: {
19965
19965
  name: string;
@@ -20130,14 +20130,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20130
20130
  "/repo/branches/delete": {
20131
20131
  $post: {
20132
20132
  output: {
20133
- error: string;
20133
+ deleted: string[];
20134
20134
  refused: {
20135
20135
  name: string;
20136
20136
  reason: string;
20137
20137
  }[];
20138
+ dropped?: {
20139
+ sha: string;
20140
+ subject: string;
20141
+ }[] | undefined;
20138
20142
  };
20139
20143
  outputFormat: "json";
20140
- status: 409;
20144
+ status: 200;
20141
20145
  input: {
20142
20146
  json: {
20143
20147
  names: string[];
@@ -20146,18 +20150,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20146
20150
  };
20147
20151
  } | {
20148
20152
  output: {
20149
- deleted: string[];
20153
+ error: string;
20150
20154
  refused: {
20151
20155
  name: string;
20152
20156
  reason: string;
20153
20157
  }[];
20154
- dropped?: {
20155
- sha: string;
20156
- subject: string;
20157
- }[] | undefined;
20158
20158
  };
20159
20159
  outputFormat: "json";
20160
- status: 200;
20160
+ status: 409;
20161
20161
  input: {
20162
20162
  json: {
20163
20163
  names: string[];
@@ -20178,9 +20178,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20178
20178
  } & {
20179
20179
  "/repo/commit/:sha": {
20180
20180
  $get: {
20181
- output: string;
20182
- outputFormat: "text";
20183
- status: import("hono/utils/http-status").ContentfulStatusCode;
20181
+ output: {
20182
+ error: string;
20183
+ code?: "invalid_input" | undefined;
20184
+ };
20185
+ outputFormat: "json";
20186
+ status: 400;
20184
20187
  input: {
20185
20188
  query: {
20186
20189
  structured?: string | undefined;
@@ -20193,10 +20196,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20193
20196
  } | {
20194
20197
  output: {
20195
20198
  error: string;
20196
- code?: "invalid_input" | undefined;
20197
20199
  };
20198
20200
  outputFormat: "json";
20199
- status: 400;
20201
+ status: 409;
20200
20202
  input: {
20201
20203
  query: {
20202
20204
  structured?: string | undefined;
@@ -20240,11 +20242,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20240
20242
  };
20241
20243
  };
20242
20244
  } | {
20243
- output: {
20244
- error: string;
20245
- };
20246
- outputFormat: "json";
20247
- status: 409;
20245
+ output: string;
20246
+ outputFormat: "text";
20247
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20248
20248
  input: {
20249
20249
  query: {
20250
20250
  structured?: string | undefined;
@@ -20259,6 +20259,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20259
20259
  } & {
20260
20260
  "/repo/changes": {
20261
20261
  $get: {
20262
+ output: {
20263
+ error: string;
20264
+ };
20265
+ outputFormat: "json";
20266
+ status: 409;
20267
+ input: {};
20268
+ } | {
20262
20269
  output: {
20263
20270
  files: {
20264
20271
  path: string;
@@ -20283,13 +20290,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20283
20290
  outputFormat: "json";
20284
20291
  status: import("hono/utils/http-status").ContentfulStatusCode;
20285
20292
  input: {};
20286
- } | {
20287
- output: {
20288
- error: string;
20289
- };
20290
- outputFormat: "json";
20291
- status: 409;
20292
- input: {};
20293
20293
  };
20294
20294
  };
20295
20295
  } & {
@@ -20314,10 +20314,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20314
20314
  "/repo/pull": {
20315
20315
  $post: {
20316
20316
  output: {
20317
- error: string;
20317
+ branch: string;
20318
+ pulled: true;
20319
+ summary: string;
20318
20320
  };
20319
20321
  outputFormat: "json";
20320
- status: 409;
20322
+ status: 200;
20321
20323
  input: {
20322
20324
  json: {
20323
20325
  branch?: string | undefined;
@@ -20326,12 +20328,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20326
20328
  };
20327
20329
  } | {
20328
20330
  output: {
20329
- branch: string;
20330
- pulled: true;
20331
- summary: string;
20331
+ error: string;
20332
20332
  };
20333
20333
  outputFormat: "json";
20334
- status: 200;
20334
+ status: 409;
20335
20335
  input: {
20336
20336
  json: {
20337
20337
  branch?: string | undefined;
@@ -21285,20 +21285,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21285
21285
  "/automations": {
21286
21286
  $post: {
21287
21287
  output: {
21288
- error: string;
21289
- };
21290
- outputFormat: "json";
21291
- status: 400 | 404 | 409;
21292
- input: {
21293
- json: {
21288
+ automation: {
21289
+ [x: string]: import("hono/utils/types").JSONValue;
21290
+ id: string;
21291
+ revision: number;
21294
21292
  name: string;
21295
21293
  description?: string | undefined;
21296
- enabled?: boolean | undefined;
21297
- kind?: "github" | "schedule" | undefined;
21294
+ enabled: boolean;
21295
+ kind: "github" | "schedule";
21298
21296
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
21299
21297
  intervalSeconds?: number | undefined;
21300
21298
  filters?: {
21301
- [x: string]: unknown;
21299
+ [x: string]: import("hono/utils/types").JSONValue;
21302
21300
  includeExisting?: boolean | undefined;
21303
21301
  requireCurrentLabels?: boolean | undefined;
21304
21302
  authors?: string[] | undefined;
@@ -21307,10 +21305,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21307
21305
  anyLabels?: string[] | undefined;
21308
21306
  excludeLabels?: string[] | undefined;
21309
21307
  changedLabels?: string[] | undefined;
21310
- lookbackDays?: number | undefined;
21311
- maxRecords?: number | undefined;
21308
+ lookbackDays: number;
21309
+ maxRecords: number;
21312
21310
  } | undefined;
21313
21311
  schedule?: {
21312
+ [x: string]: import("hono/utils/types").JSONValue;
21314
21313
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
21315
21314
  hour?: number | undefined;
21316
21315
  minute?: number | undefined;
@@ -21321,6 +21320,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21321
21320
  latestStartMinutes?: number | undefined;
21322
21321
  } | undefined;
21323
21322
  task: {
21323
+ [x: string]: import("hono/utils/types").JSONValue;
21324
21324
  archiveWhenDone?: boolean | undefined;
21325
21325
  autoMergePr?: boolean | undefined;
21326
21326
  allowWorkers?: boolean | undefined;
@@ -21342,33 +21342,47 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21342
21342
  command?: string | undefined;
21343
21343
  onFail?: {
21344
21344
  retry: string;
21345
- max?: number | undefined;
21345
+ max: number;
21346
21346
  } | undefined;
21347
21347
  }[] | undefined;
21348
21348
  runner?: string | undefined;
21349
21349
  model?: string | undefined;
21350
21350
  effort?: string | undefined;
21351
+ variants?: 1 | 2 | 3 | undefined;
21351
21352
  worktree?: boolean | undefined;
21352
21353
  autonomous?: boolean | undefined;
21353
21354
  systemPrompt?: string | undefined;
21354
21355
  };
21355
- enable?: boolean | undefined;
21356
+ archived?: {
21357
+ [x: string]: import("hono/utils/types").JSONValue;
21358
+ at: string;
21359
+ outcome: "cancelled" | "launched";
21360
+ runId?: string | undefined;
21361
+ receiptId?: string | undefined;
21362
+ trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
21363
+ } | undefined;
21364
+ createdAt: string;
21365
+ updatedAt: string;
21356
21366
  };
21367
+ once?: {
21368
+ dueAt: string;
21369
+ timeZone: string;
21370
+ resolvedInstant: string;
21371
+ note: string;
21372
+ } | undefined;
21357
21373
  };
21358
- } | {
21359
- output: {
21360
- automation: {
21361
- [x: string]: import("hono/utils/types").JSONValue;
21362
- id: string;
21363
- revision: number;
21374
+ outputFormat: "json";
21375
+ status: 201;
21376
+ input: {
21377
+ json: {
21364
21378
  name: string;
21365
21379
  description?: string | undefined;
21366
- enabled: boolean;
21367
- kind: "github" | "schedule";
21380
+ enabled?: boolean | undefined;
21381
+ kind?: "github" | "schedule" | undefined;
21368
21382
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
21369
21383
  intervalSeconds?: number | undefined;
21370
21384
  filters?: {
21371
- [x: string]: import("hono/utils/types").JSONValue;
21385
+ [x: string]: unknown;
21372
21386
  includeExisting?: boolean | undefined;
21373
21387
  requireCurrentLabels?: boolean | undefined;
21374
21388
  authors?: string[] | undefined;
@@ -21377,11 +21391,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21377
21391
  anyLabels?: string[] | undefined;
21378
21392
  excludeLabels?: string[] | undefined;
21379
21393
  changedLabels?: string[] | undefined;
21380
- lookbackDays: number;
21381
- maxRecords: number;
21394
+ lookbackDays?: number | undefined;
21395
+ maxRecords?: number | undefined;
21382
21396
  } | undefined;
21383
21397
  schedule?: {
21384
- [x: string]: import("hono/utils/types").JSONValue;
21385
21398
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
21386
21399
  hour?: number | undefined;
21387
21400
  minute?: number | undefined;
@@ -21392,7 +21405,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21392
21405
  latestStartMinutes?: number | undefined;
21393
21406
  } | undefined;
21394
21407
  task: {
21395
- [x: string]: import("hono/utils/types").JSONValue;
21396
21408
  archiveWhenDone?: boolean | undefined;
21397
21409
  autoMergePr?: boolean | undefined;
21398
21410
  allowWorkers?: boolean | undefined;
@@ -21414,37 +21426,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21414
21426
  command?: string | undefined;
21415
21427
  onFail?: {
21416
21428
  retry: string;
21417
- max: number;
21429
+ max?: number | undefined;
21418
21430
  } | undefined;
21419
21431
  }[] | undefined;
21420
21432
  runner?: string | undefined;
21421
21433
  model?: string | undefined;
21422
21434
  effort?: string | undefined;
21423
- variants?: 1 | 2 | 3 | undefined;
21424
21435
  worktree?: boolean | undefined;
21425
21436
  autonomous?: boolean | undefined;
21426
21437
  systemPrompt?: string | undefined;
21427
21438
  };
21428
- archived?: {
21429
- [x: string]: import("hono/utils/types").JSONValue;
21430
- at: string;
21431
- outcome: "cancelled" | "launched";
21432
- runId?: string | undefined;
21433
- receiptId?: string | undefined;
21434
- trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
21435
- } | undefined;
21436
- createdAt: string;
21437
- updatedAt: string;
21439
+ enable?: boolean | undefined;
21438
21440
  };
21439
- once?: {
21440
- dueAt: string;
21441
- timeZone: string;
21442
- resolvedInstant: string;
21443
- note: string;
21444
- } | undefined;
21441
+ };
21442
+ } | {
21443
+ output: {
21444
+ error: string;
21445
21445
  };
21446
21446
  outputFormat: "json";
21447
- status: 201;
21447
+ status: 400 | 404 | 409;
21448
21448
  input: {
21449
21449
  json: {
21450
21450
  name: string;
@@ -21516,17 +21516,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21516
21516
  } & {
21517
21517
  "/automations/:id": {
21518
21518
  $get: {
21519
- output: {
21520
- error: string;
21521
- };
21522
- outputFormat: "json";
21523
- status: 400 | 404 | 409;
21524
- input: {
21525
- param: {
21526
- id: string;
21527
- };
21528
- };
21529
- } | {
21530
21519
  output: {
21531
21520
  automation: {
21532
21521
  [x: string]: import("hono/utils/types").JSONValue;
@@ -21684,26 +21673,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21684
21673
  id: string;
21685
21674
  };
21686
21675
  };
21687
- };
21688
- };
21689
- } & {
21690
- "/automations/:id": {
21691
- $put: {
21676
+ } | {
21692
21677
  output: {
21693
21678
  error: string;
21694
21679
  };
21695
21680
  outputFormat: "json";
21696
21681
  status: 400 | 404 | 409;
21697
21682
  input: {
21698
- json: {
21683
+ param: {
21684
+ id: string;
21685
+ };
21686
+ };
21687
+ };
21688
+ };
21689
+ } & {
21690
+ "/automations/:id": {
21691
+ $put: {
21692
+ output: {
21693
+ automation: {
21694
+ [x: string]: import("hono/utils/types").JSONValue;
21695
+ id: string;
21696
+ revision: number;
21699
21697
  name: string;
21700
21698
  description?: string | undefined;
21701
- enabled?: boolean | undefined;
21702
- kind?: "github" | "schedule" | undefined;
21699
+ enabled: boolean;
21700
+ kind: "github" | "schedule";
21703
21701
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
21704
21702
  intervalSeconds?: number | undefined;
21705
21703
  filters?: {
21706
- [x: string]: unknown;
21704
+ [x: string]: import("hono/utils/types").JSONValue;
21707
21705
  includeExisting?: boolean | undefined;
21708
21706
  requireCurrentLabels?: boolean | undefined;
21709
21707
  authors?: string[] | undefined;
@@ -21712,10 +21710,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21712
21710
  anyLabels?: string[] | undefined;
21713
21711
  excludeLabels?: string[] | undefined;
21714
21712
  changedLabels?: string[] | undefined;
21715
- lookbackDays?: number | undefined;
21716
- maxRecords?: number | undefined;
21713
+ lookbackDays: number;
21714
+ maxRecords: number;
21717
21715
  } | undefined;
21718
21716
  schedule?: {
21717
+ [x: string]: import("hono/utils/types").JSONValue;
21719
21718
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
21720
21719
  hour?: number | undefined;
21721
21720
  minute?: number | undefined;
@@ -21726,6 +21725,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21726
21725
  latestStartMinutes?: number | undefined;
21727
21726
  } | undefined;
21728
21727
  task: {
21728
+ [x: string]: import("hono/utils/types").JSONValue;
21729
21729
  archiveWhenDone?: boolean | undefined;
21730
21730
  autoMergePr?: boolean | undefined;
21731
21731
  allowWorkers?: boolean | undefined;
@@ -21747,37 +21747,41 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21747
21747
  command?: string | undefined;
21748
21748
  onFail?: {
21749
21749
  retry: string;
21750
- max?: number | undefined;
21750
+ max: number;
21751
21751
  } | undefined;
21752
21752
  }[] | undefined;
21753
21753
  runner?: string | undefined;
21754
21754
  model?: string | undefined;
21755
21755
  effort?: string | undefined;
21756
+ variants?: 1 | 2 | 3 | undefined;
21756
21757
  worktree?: boolean | undefined;
21757
21758
  autonomous?: boolean | undefined;
21758
21759
  systemPrompt?: string | undefined;
21759
21760
  };
21760
- expectedRevision: number;
21761
- };
21762
- } & {
21763
- param: {
21764
- id: string;
21761
+ archived?: {
21762
+ [x: string]: import("hono/utils/types").JSONValue;
21763
+ at: string;
21764
+ outcome: "cancelled" | "launched";
21765
+ runId?: string | undefined;
21766
+ receiptId?: string | undefined;
21767
+ trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
21768
+ } | undefined;
21769
+ createdAt: string;
21770
+ updatedAt: string;
21765
21771
  };
21766
21772
  };
21767
- } | {
21768
- output: {
21769
- automation: {
21770
- [x: string]: import("hono/utils/types").JSONValue;
21771
- id: string;
21772
- revision: number;
21773
+ outputFormat: "json";
21774
+ status: import("hono/utils/http-status").ContentfulStatusCode;
21775
+ input: {
21776
+ json: {
21773
21777
  name: string;
21774
21778
  description?: string | undefined;
21775
- enabled: boolean;
21776
- kind: "github" | "schedule";
21779
+ enabled?: boolean | undefined;
21780
+ kind?: "github" | "schedule" | undefined;
21777
21781
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
21778
21782
  intervalSeconds?: number | undefined;
21779
21783
  filters?: {
21780
- [x: string]: import("hono/utils/types").JSONValue;
21784
+ [x: string]: unknown;
21781
21785
  includeExisting?: boolean | undefined;
21782
21786
  requireCurrentLabels?: boolean | undefined;
21783
21787
  authors?: string[] | undefined;
@@ -21786,11 +21790,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21786
21790
  anyLabels?: string[] | undefined;
21787
21791
  excludeLabels?: string[] | undefined;
21788
21792
  changedLabels?: string[] | undefined;
21789
- lookbackDays: number;
21790
- maxRecords: number;
21793
+ lookbackDays?: number | undefined;
21794
+ maxRecords?: number | undefined;
21791
21795
  } | undefined;
21792
21796
  schedule?: {
21793
- [x: string]: import("hono/utils/types").JSONValue;
21794
21797
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
21795
21798
  hour?: number | undefined;
21796
21799
  minute?: number | undefined;
@@ -21801,7 +21804,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21801
21804
  latestStartMinutes?: number | undefined;
21802
21805
  } | undefined;
21803
21806
  task: {
21804
- [x: string]: import("hono/utils/types").JSONValue;
21805
21807
  archiveWhenDone?: boolean | undefined;
21806
21808
  autoMergePr?: boolean | undefined;
21807
21809
  allowWorkers?: boolean | undefined;
@@ -21823,31 +21825,29 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21823
21825
  command?: string | undefined;
21824
21826
  onFail?: {
21825
21827
  retry: string;
21826
- max: number;
21828
+ max?: number | undefined;
21827
21829
  } | undefined;
21828
21830
  }[] | undefined;
21829
21831
  runner?: string | undefined;
21830
21832
  model?: string | undefined;
21831
21833
  effort?: string | undefined;
21832
- variants?: 1 | 2 | 3 | undefined;
21833
21834
  worktree?: boolean | undefined;
21834
21835
  autonomous?: boolean | undefined;
21835
21836
  systemPrompt?: string | undefined;
21836
21837
  };
21837
- archived?: {
21838
- [x: string]: import("hono/utils/types").JSONValue;
21839
- at: string;
21840
- outcome: "cancelled" | "launched";
21841
- runId?: string | undefined;
21842
- receiptId?: string | undefined;
21843
- trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
21844
- } | undefined;
21845
- createdAt: string;
21846
- updatedAt: string;
21838
+ expectedRevision: number;
21839
+ };
21840
+ } & {
21841
+ param: {
21842
+ id: string;
21847
21843
  };
21848
21844
  };
21845
+ } | {
21846
+ output: {
21847
+ error: string;
21848
+ };
21849
21849
  outputFormat: "json";
21850
- status: import("hono/utils/http-status").ContentfulStatusCode;
21850
+ status: 400 | 404 | 409;
21851
21851
  input: {
21852
21852
  json: {
21853
21853
  name: string;
@@ -21947,17 +21947,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21947
21947
  } & {
21948
21948
  "/automations/:id/enable": {
21949
21949
  $post: {
21950
- output: {
21951
- error: string;
21952
- };
21953
- outputFormat: "json";
21954
- status: 400 | 404 | 409;
21955
- input: {
21956
- param: {
21957
- id: string;
21958
- };
21959
- };
21960
- } | {
21961
21950
  output: {
21962
21951
  automation: {
21963
21952
  [x: string]: import("hono/utils/types").JSONValue;
@@ -22046,11 +22035,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22046
22035
  id: string;
22047
22036
  };
22048
22037
  };
22049
- };
22050
- };
22051
- } & {
22052
- "/automations/:id/pause": {
22053
- $post: {
22038
+ } | {
22054
22039
  output: {
22055
22040
  error: string;
22056
22041
  };
@@ -22061,7 +22046,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22061
22046
  id: string;
22062
22047
  };
22063
22048
  };
22064
- } | {
22049
+ };
22050
+ };
22051
+ } & {
22052
+ "/automations/:id/pause": {
22053
+ $post: {
22065
22054
  output: {
22066
22055
  automation: {
22067
22056
  [x: string]: import("hono/utils/types").JSONValue;
@@ -22150,11 +22139,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22150
22139
  id: string;
22151
22140
  };
22152
22141
  };
22153
- };
22154
- };
22155
- } & {
22156
- "/automations/:id/cancel": {
22157
- $post: {
22142
+ } | {
22158
22143
  output: {
22159
22144
  error: string;
22160
22145
  };
@@ -22165,7 +22150,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22165
22150
  id: string;
22166
22151
  };
22167
22152
  };
22168
- } | {
22153
+ };
22154
+ };
22155
+ } & {
22156
+ "/automations/:id/cancel": {
22157
+ $post: {
22169
22158
  output: {
22170
22159
  automation: {
22171
22160
  [x: string]: import("hono/utils/types").JSONValue;
@@ -22254,16 +22243,27 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22254
22243
  id: string;
22255
22244
  };
22256
22245
  };
22246
+ } | {
22247
+ output: {
22248
+ error: string;
22249
+ };
22250
+ outputFormat: "json";
22251
+ status: 400 | 404 | 409;
22252
+ input: {
22253
+ param: {
22254
+ id: string;
22255
+ };
22256
+ };
22257
22257
  };
22258
22258
  };
22259
22259
  } & {
22260
22260
  "/automations/:id/run": {
22261
22261
  $post: {
22262
22262
  output: {
22263
- error: string;
22263
+ runId: string;
22264
22264
  };
22265
22265
  outputFormat: "json";
22266
- status: 400 | 404 | 409;
22266
+ status: 202;
22267
22267
  input: {
22268
22268
  param: {
22269
22269
  id: string;
@@ -22271,10 +22271,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22271
22271
  };
22272
22272
  } | {
22273
22273
  output: {
22274
- runId: string;
22274
+ error: string;
22275
22275
  };
22276
22276
  outputFormat: "json";
22277
- status: 202;
22277
+ status: 400 | 404 | 409;
22278
22278
  input: {
22279
22279
  param: {
22280
22280
  id: string;
@@ -22286,10 +22286,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22286
22286
  "/automations/:id/check": {
22287
22287
  $post: {
22288
22288
  output: {
22289
- error: string;
22289
+ checkId: string;
22290
22290
  };
22291
22291
  outputFormat: "json";
22292
- status: 404;
22292
+ status: 202;
22293
22293
  input: {
22294
22294
  json: {
22295
22295
  mode: "execute" | "preview";
@@ -22304,7 +22304,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22304
22304
  error: string;
22305
22305
  };
22306
22306
  outputFormat: "json";
22307
- status: 409;
22307
+ status: 404;
22308
22308
  input: {
22309
22309
  json: {
22310
22310
  mode: "execute" | "preview";
@@ -22316,10 +22316,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22316
22316
  };
22317
22317
  } | {
22318
22318
  output: {
22319
- checkId: string;
22319
+ error: string;
22320
22320
  };
22321
22321
  outputFormat: "json";
22322
- status: 202;
22322
+ status: 409;
22323
22323
  input: {
22324
22324
  json: {
22325
22325
  mode: "execute" | "preview";
@@ -23539,6 +23539,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23539
23539
  } & {
23540
23540
  "/run-summaries": {
23541
23541
  $get: {
23542
+ output: {
23543
+ error: string;
23544
+ code?: "invalid_input" | undefined;
23545
+ };
23546
+ outputFormat: "json";
23547
+ status: 400;
23548
+ input: {
23549
+ query: {
23550
+ archived?: "all" | "recent" | undefined;
23551
+ };
23552
+ };
23553
+ } | {
23542
23554
  output: {
23543
23555
  id: string;
23544
23556
  title: string;
@@ -23666,18 +23678,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23666
23678
  archived?: "all" | "recent" | undefined;
23667
23679
  };
23668
23680
  };
23669
- } | {
23670
- output: {
23671
- error: string;
23672
- code?: "invalid_input" | undefined;
23673
- };
23674
- outputFormat: "json";
23675
- status: 400;
23676
- input: {
23677
- query: {
23678
- archived?: "all" | "recent" | undefined;
23679
- };
23680
- };
23681
23681
  };
23682
23682
  };
23683
23683
  } & {
@@ -24022,11 +24022,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24022
24022
  "/runs/:id/worker-destroy": {
24023
24023
  $post: {
24024
24024
  output: {
24025
- error: string;
24026
- code?: "invalid_input" | undefined;
24025
+ workerId: string;
24026
+ state: "complete" | "incomplete";
24027
+ work?: {
24028
+ uncommittedFiles: number;
24029
+ commits: number;
24030
+ } | undefined;
24031
+ deleted?: ({
24032
+ kind: "worktree";
24033
+ path: string;
24034
+ } | {
24035
+ kind: "branch";
24036
+ ref: string;
24037
+ })[] | undefined;
24038
+ remaining: ("branch" | "process" | "worktree")[];
24039
+ error?: string | undefined;
24027
24040
  };
24028
24041
  outputFormat: "json";
24029
- status: 400;
24042
+ status: 200;
24030
24043
  input: {
24031
24044
  query: {
24032
24045
  [x: string]: string | string[];
@@ -24042,24 +24055,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24042
24055
  };
24043
24056
  } | {
24044
24057
  output: {
24045
- workerId: string;
24046
- state: "complete" | "incomplete";
24047
- work?: {
24048
- uncommittedFiles: number;
24049
- commits: number;
24050
- } | undefined;
24051
- deleted?: ({
24052
- kind: "worktree";
24053
- path: string;
24054
- } | {
24055
- kind: "branch";
24056
- ref: string;
24057
- })[] | undefined;
24058
- remaining: ("branch" | "process" | "worktree")[];
24059
- error?: string | undefined;
24058
+ error: string;
24059
+ code?: "invalid_input" | undefined;
24060
24060
  };
24061
24061
  outputFormat: "json";
24062
- status: 200;
24062
+ status: 400;
24063
24063
  input: {
24064
24064
  query: {
24065
24065
  [x: string]: string | string[];
@@ -24175,6 +24175,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24175
24175
  } & {
24176
24176
  "/runs/:id/archive": {
24177
24177
  $post: {
24178
+ output: {
24179
+ error: string;
24180
+ };
24181
+ outputFormat: "json";
24182
+ status: 404;
24183
+ input: {
24184
+ json: {
24185
+ archived?: boolean | undefined;
24186
+ };
24187
+ } & {
24188
+ param: {
24189
+ id: string;
24190
+ };
24191
+ };
24192
+ } | {
24178
24193
  output: {
24179
24194
  archiveWhenDone?: boolean | undefined;
24180
24195
  autoMergePr?: boolean | undefined;
@@ -25280,32 +25295,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25280
25295
  id: string;
25281
25296
  };
25282
25297
  };
25283
- } | {
25298
+ };
25299
+ };
25300
+ } & {
25301
+ "/runs/:id/pin": {
25302
+ $post: {
25284
25303
  output: {
25285
25304
  error: string;
25305
+ code?: "invalid_input" | undefined;
25286
25306
  };
25287
25307
  outputFormat: "json";
25288
- status: 404;
25308
+ status: 400;
25289
25309
  input: {
25290
- json: {
25291
- archived?: boolean | undefined;
25292
- };
25293
- } & {
25294
25310
  param: {
25295
25311
  id: string;
25296
25312
  };
25313
+ } & {
25314
+ json: {
25315
+ pinned?: boolean | undefined;
25316
+ };
25297
25317
  };
25298
- };
25299
- };
25300
- } & {
25301
- "/runs/:id/pin": {
25302
- $post: {
25318
+ } | {
25303
25319
  output: {
25304
25320
  error: string;
25305
- code?: "invalid_input" | undefined;
25306
25321
  };
25307
25322
  outputFormat: "json";
25308
- status: 400;
25323
+ status: 404;
25309
25324
  input: {
25310
25325
  param: {
25311
25326
  id: string;
@@ -26421,29 +26436,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
26421
26436
  pinned?: boolean | undefined;
26422
26437
  };
26423
26438
  };
26424
- } | {
26439
+ };
26440
+ };
26441
+ } & {
26442
+ "/runs/:id/notify": {
26443
+ $post: {
26425
26444
  output: {
26426
26445
  error: string;
26446
+ code?: "invalid_input" | undefined;
26427
26447
  };
26428
26448
  outputFormat: "json";
26429
- status: 404;
26449
+ status: 400;
26430
26450
  input: {
26431
26451
  param: {
26432
26452
  id: string;
26433
26453
  };
26434
26454
  } & {
26435
26455
  json: {
26436
- pinned?: boolean | undefined;
26456
+ notify: boolean;
26457
+ message?: string | undefined;
26437
26458
  };
26438
26459
  };
26439
- };
26440
- };
26441
- } & {
26442
- "/runs/:id/notify": {
26443
- $post: {
26460
+ } | {
26444
26461
  output: {
26445
26462
  error: string;
26446
- code?: "invalid_input" | undefined;
26447
26463
  };
26448
26464
  outputFormat: "json";
26449
26465
  status: 400;
@@ -26457,6 +26473,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
26457
26473
  message?: string | undefined;
26458
26474
  };
26459
26475
  };
26476
+ } | {
26477
+ output: {
26478
+ error: string;
26479
+ };
26480
+ outputFormat: "json";
26481
+ status: 404;
26482
+ input: {
26483
+ param: {
26484
+ id: string;
26485
+ };
26486
+ } & {
26487
+ json: {
26488
+ notify: boolean;
26489
+ message?: string | undefined;
26490
+ };
26491
+ };
26460
26492
  } | {
26461
26493
  output: {
26462
26494
  archiveWhenDone?: boolean | undefined;
@@ -27564,7 +27596,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27564
27596
  message?: string | undefined;
27565
27597
  };
27566
27598
  };
27567
- } | {
27599
+ };
27600
+ };
27601
+ } & {
27602
+ "/runs/:id/auto-resume": {
27603
+ $delete: {
27568
27604
  output: {
27569
27605
  error: string;
27570
27606
  };
@@ -27574,33 +27610,23 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27574
27610
  param: {
27575
27611
  id: string;
27576
27612
  };
27577
- } & {
27578
- json: {
27579
- notify: boolean;
27580
- message?: string | undefined;
27581
- };
27582
27613
  };
27583
27614
  } | {
27584
27615
  output: {
27585
- error: string;
27616
+ cancelled: true;
27586
27617
  };
27587
27618
  outputFormat: "json";
27588
- status: 400;
27619
+ status: import("hono/utils/http-status").ContentfulStatusCode;
27589
27620
  input: {
27590
27621
  param: {
27591
27622
  id: string;
27592
27623
  };
27593
- } & {
27594
- json: {
27595
- notify: boolean;
27596
- message?: string | undefined;
27597
- };
27598
27624
  };
27599
27625
  };
27600
27626
  };
27601
27627
  } & {
27602
- "/runs/:id/auto-resume": {
27603
- $delete: {
27628
+ "/runs/:id/read": {
27629
+ $post: {
27604
27630
  output: {
27605
27631
  error: string;
27606
27632
  };
@@ -27612,21 +27638,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27612
27638
  };
27613
27639
  };
27614
27640
  } | {
27615
- output: {
27616
- cancelled: true;
27617
- };
27618
- outputFormat: "json";
27619
- status: import("hono/utils/http-status").ContentfulStatusCode;
27620
- input: {
27621
- param: {
27622
- id: string;
27623
- };
27624
- };
27625
- };
27626
- };
27627
- } & {
27628
- "/runs/:id/read": {
27629
- $post: {
27630
27641
  output: {
27631
27642
  archiveWhenDone?: boolean | undefined;
27632
27643
  autoMergePr?: boolean | undefined;
@@ -28728,7 +28739,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28728
28739
  id: string;
28729
28740
  };
28730
28741
  };
28731
- } | {
28742
+ };
28743
+ };
28744
+ } & {
28745
+ "/runs/:id/unread": {
28746
+ $post: {
28732
28747
  output: {
28733
28748
  error: string;
28734
28749
  };
@@ -28739,11 +28754,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28739
28754
  id: string;
28740
28755
  };
28741
28756
  };
28742
- };
28743
- };
28744
- } & {
28745
- "/runs/:id/unread": {
28746
- $post: {
28757
+ } | {
28747
28758
  output: {
28748
28759
  archiveWhenDone?: boolean | undefined;
28749
28760
  autoMergePr?: boolean | undefined;
@@ -29845,17 +29856,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29845
29856
  id: string;
29846
29857
  };
29847
29858
  };
29848
- } | {
29849
- output: {
29850
- error: string;
29851
- };
29852
- outputFormat: "json";
29853
- status: 404;
29854
- input: {
29855
- param: {
29856
- id: string;
29857
- };
29858
- };
29859
29859
  };
29860
29860
  };
29861
29861
  } & {
@@ -31052,6 +31052,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31052
31052
  } & {
31053
31053
  "/runs/:id": {
31054
31054
  $get: {
31055
+ output: {
31056
+ error: string;
31057
+ };
31058
+ outputFormat: "json";
31059
+ status: 404;
31060
+ input: {
31061
+ param: {
31062
+ id: string;
31063
+ };
31064
+ };
31065
+ } | {
31055
31066
  output: {
31056
31067
  archiveWhenDone?: boolean | undefined;
31057
31068
  autoMergePr?: boolean | undefined;
@@ -32160,17 +32171,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32160
32171
  id: string;
32161
32172
  };
32162
32173
  };
32163
- } | {
32164
- output: {
32165
- error: string;
32166
- };
32167
- outputFormat: "json";
32168
- status: 404;
32169
- input: {
32170
- param: {
32171
- id: string;
32172
- };
32173
- };
32174
32174
  };
32175
32175
  };
32176
32176
  } & {
@@ -32298,6 +32298,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32298
32298
  } & {
32299
32299
  "/runs/:id": {
32300
32300
  $patch: {
32301
+ output: {
32302
+ error: string;
32303
+ };
32304
+ outputFormat: "json";
32305
+ status: 400;
32306
+ input: {
32307
+ json: {
32308
+ archiveWhenDone?: boolean | undefined;
32309
+ autoMergePr?: boolean | undefined;
32310
+ allowWorkers?: boolean | undefined;
32311
+ allowMessaging?: boolean | undefined;
32312
+ title?: string | undefined;
32313
+ task?: string | undefined;
32314
+ };
32315
+ } & {
32316
+ param: {
32317
+ id: string;
32318
+ };
32319
+ };
32320
+ } | {
32321
+ output: {
32322
+ error: string;
32323
+ };
32324
+ outputFormat: "json";
32325
+ status: 404;
32326
+ input: {
32327
+ json: {
32328
+ archiveWhenDone?: boolean | undefined;
32329
+ autoMergePr?: boolean | undefined;
32330
+ allowWorkers?: boolean | undefined;
32331
+ allowMessaging?: boolean | undefined;
32332
+ title?: string | undefined;
32333
+ task?: string | undefined;
32334
+ };
32335
+ } & {
32336
+ param: {
32337
+ id: string;
32338
+ };
32339
+ };
32340
+ } | {
32341
+ output: {
32342
+ error: string;
32343
+ };
32344
+ outputFormat: "json";
32345
+ status: 409;
32346
+ input: {
32347
+ json: {
32348
+ archiveWhenDone?: boolean | undefined;
32349
+ autoMergePr?: boolean | undefined;
32350
+ allowWorkers?: boolean | undefined;
32351
+ allowMessaging?: boolean | undefined;
32352
+ title?: string | undefined;
32353
+ task?: string | undefined;
32354
+ };
32355
+ } & {
32356
+ param: {
32357
+ id: string;
32358
+ };
32359
+ };
32360
+ } | {
32301
32361
  output: {
32302
32362
  archiveWhenDone?: boolean | undefined;
32303
32363
  autoMergePr?: boolean | undefined;
@@ -33408,66 +33468,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33408
33468
  id: string;
33409
33469
  };
33410
33470
  };
33411
- } | {
33412
- output: {
33413
- error: string;
33414
- };
33415
- outputFormat: "json";
33416
- status: 404;
33417
- input: {
33418
- json: {
33419
- archiveWhenDone?: boolean | undefined;
33420
- autoMergePr?: boolean | undefined;
33421
- allowWorkers?: boolean | undefined;
33422
- allowMessaging?: boolean | undefined;
33423
- title?: string | undefined;
33424
- task?: string | undefined;
33425
- };
33426
- } & {
33427
- param: {
33428
- id: string;
33429
- };
33430
- };
33431
- } | {
33432
- output: {
33433
- error: string;
33434
- };
33435
- outputFormat: "json";
33436
- status: 400;
33437
- input: {
33438
- json: {
33439
- archiveWhenDone?: boolean | undefined;
33440
- autoMergePr?: boolean | undefined;
33441
- allowWorkers?: boolean | undefined;
33442
- allowMessaging?: boolean | undefined;
33443
- title?: string | undefined;
33444
- task?: string | undefined;
33445
- };
33446
- } & {
33447
- param: {
33448
- id: string;
33449
- };
33450
- };
33451
- } | {
33452
- output: {
33453
- error: string;
33454
- };
33455
- outputFormat: "json";
33456
- status: 409;
33457
- input: {
33458
- json: {
33459
- archiveWhenDone?: boolean | undefined;
33460
- autoMergePr?: boolean | undefined;
33461
- allowWorkers?: boolean | undefined;
33462
- allowMessaging?: boolean | undefined;
33463
- title?: string | undefined;
33464
- task?: string | undefined;
33465
- };
33466
- } & {
33467
- param: {
33468
- id: string;
33469
- };
33470
- };
33471
33471
  };
33472
33472
  };
33473
33473
  } & {
@@ -33572,7 +33572,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33572
33572
  error: string;
33573
33573
  };
33574
33574
  outputFormat: "json";
33575
- status: 404;
33575
+ status: 400;
33576
33576
  input: {
33577
33577
  json: {
33578
33578
  text?: string | undefined;
@@ -33591,7 +33591,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33591
33591
  error: string;
33592
33592
  };
33593
33593
  outputFormat: "json";
33594
- status: 409;
33594
+ status: 404;
33595
33595
  input: {
33596
33596
  json: {
33597
33597
  text?: string | undefined;
@@ -33607,10 +33607,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33607
33607
  };
33608
33608
  } | {
33609
33609
  output: {
33610
- delivered: true;
33610
+ error: string;
33611
33611
  };
33612
33612
  outputFormat: "json";
33613
- status: import("hono/utils/http-status").ContentfulStatusCode;
33613
+ status: 409;
33614
33614
  input: {
33615
33615
  json: {
33616
33616
  text?: string | undefined;
@@ -33626,10 +33626,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33626
33626
  };
33627
33627
  } | {
33628
33628
  output: {
33629
- error: string;
33629
+ delivered: true;
33630
33630
  };
33631
33631
  outputFormat: "json";
33632
- status: 400;
33632
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33633
33633
  input: {
33634
33634
  json: {
33635
33635
  text?: string | undefined;
@@ -33697,7 +33697,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33697
33697
  error: string;
33698
33698
  };
33699
33699
  outputFormat: "json";
33700
- status: 404;
33700
+ status: 400;
33701
33701
  input: {
33702
33702
  json: {
33703
33703
  text?: string | undefined;
@@ -33718,7 +33718,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33718
33718
  error: string;
33719
33719
  };
33720
33720
  outputFormat: "json";
33721
- status: 400;
33721
+ status: 404;
33722
33722
  input: {
33723
33723
  json: {
33724
33724
  text?: string | undefined;
@@ -33938,10 +33938,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33938
33938
  "/runs/:id/open-in-cli": {
33939
33939
  $post: {
33940
33940
  output: {
33941
- error: string;
33941
+ opened: true;
33942
+ command: string;
33942
33943
  };
33943
33944
  outputFormat: "json";
33944
- status: 404 | 409;
33945
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33945
33946
  input: {
33946
33947
  param: {
33947
33948
  id: string;
@@ -33949,11 +33950,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33949
33950
  };
33950
33951
  } | {
33951
33952
  output: {
33952
- opened: true;
33953
- command: string;
33953
+ error: string;
33954
33954
  };
33955
33955
  outputFormat: "json";
33956
- status: import("hono/utils/http-status").ContentfulStatusCode;
33956
+ status: 404 | 409;
33957
33957
  input: {
33958
33958
  param: {
33959
33959
  id: string;
@@ -33968,7 +33968,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33968
33968
  error: string;
33969
33969
  };
33970
33970
  outputFormat: "json";
33971
- status: 404 | 409;
33971
+ status: 400;
33972
33972
  input: {
33973
33973
  json: {
33974
33974
  target: string;
@@ -33981,10 +33981,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33981
33981
  };
33982
33982
  } | {
33983
33983
  output: {
33984
- error: string;
33984
+ opened: true;
33985
+ path: string;
33985
33986
  };
33986
33987
  outputFormat: "json";
33987
- status: 400;
33988
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33988
33989
  input: {
33989
33990
  json: {
33990
33991
  target: string;
@@ -33997,11 +33998,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33997
33998
  };
33998
33999
  } | {
33999
34000
  output: {
34000
- opened: true;
34001
- path: string;
34001
+ error: string;
34002
34002
  };
34003
34003
  outputFormat: "json";
34004
- status: import("hono/utils/http-status").ContentfulStatusCode;
34004
+ status: 404 | 409;
34005
34005
  input: {
34006
34006
  json: {
34007
34007
  target: string;
@@ -34041,9 +34041,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34041
34041
  } & {
34042
34042
  "/runs/:id/images/:file": {
34043
34043
  $get: {
34044
- output: {};
34045
- outputFormat: string;
34046
- status: import("hono/utils/http-status").StatusCode;
34044
+ output: {
34045
+ error: string;
34046
+ code?: "invalid_input" | undefined;
34047
+ };
34048
+ outputFormat: "json";
34049
+ status: 400;
34047
34050
  input: {
34048
34051
  param: {
34049
34052
  id: string;
@@ -34051,12 +34054,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34051
34054
  };
34052
34055
  };
34053
34056
  } | {
34054
- output: {
34055
- error: string;
34056
- code?: "invalid_input" | undefined;
34057
- };
34058
- outputFormat: "json";
34059
- status: 400;
34057
+ output: {};
34058
+ outputFormat: string;
34059
+ status: import("hono/utils/http-status").StatusCode;
34060
34060
  input: {
34061
34061
  param: {
34062
34062
  id: string;
@@ -34092,17 +34092,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34092
34092
  } & {
34093
34093
  "/runs/:id/changes": {
34094
34094
  $get: {
34095
- output: {
34096
- error: string;
34097
- };
34098
- outputFormat: "json";
34099
- status: 404 | 409;
34100
- input: {
34101
- param: {
34102
- id: string;
34103
- };
34104
- };
34105
- } | {
34106
34095
  output: {
34107
34096
  files: {
34108
34097
  path: string;
@@ -34131,11 +34120,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34131
34120
  id: string;
34132
34121
  };
34133
34122
  };
34134
- };
34135
- };
34136
- } & {
34137
- "/runs/:id/commits": {
34138
- $get: {
34123
+ } | {
34139
34124
  output: {
34140
34125
  error: string;
34141
34126
  };
@@ -34146,7 +34131,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34146
34131
  id: string;
34147
34132
  };
34148
34133
  };
34149
- } | {
34134
+ };
34135
+ };
34136
+ } & {
34137
+ "/runs/:id/commits": {
34138
+ $get: {
34150
34139
  output: {
34151
34140
  commits: {
34152
34141
  sha: string;
@@ -34162,11 +34151,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34162
34151
  id: string;
34163
34152
  };
34164
34153
  };
34165
- };
34166
- };
34167
- } & {
34168
- "/runs/:id/commit/:sha": {
34169
- $get: {
34154
+ } | {
34170
34155
  output: {
34171
34156
  error: string;
34172
34157
  };
@@ -34175,11 +34160,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34175
34160
  input: {
34176
34161
  param: {
34177
34162
  id: string;
34178
- } & {
34179
- sha: string;
34180
34163
  };
34181
34164
  };
34182
- } | {
34165
+ };
34166
+ };
34167
+ } & {
34168
+ "/runs/:id/commit/:sha": {
34169
+ $get: {
34183
34170
  output: {
34184
34171
  sha: string;
34185
34172
  subject: string;
@@ -34210,6 +34197,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34210
34197
  sha: string;
34211
34198
  };
34212
34199
  };
34200
+ } | {
34201
+ output: {
34202
+ error: string;
34203
+ };
34204
+ outputFormat: "json";
34205
+ status: 404 | 409;
34206
+ input: {
34207
+ param: {
34208
+ id: string;
34209
+ } & {
34210
+ sha: string;
34211
+ };
34212
+ };
34213
34213
  };
34214
34214
  };
34215
34215
  } & {
@@ -34245,22 +34245,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34245
34245
  raw?: "1" | undefined;
34246
34246
  };
34247
34247
  };
34248
- } | {
34249
- output: {
34250
- error: string;
34251
- };
34252
- outputFormat: "json";
34253
- status: 404 | 409;
34254
- input: {
34255
- param: {
34256
- id: string;
34257
- };
34258
- } & {
34259
- query: {
34260
- path: string | string[];
34261
- raw?: "1" | undefined;
34262
- };
34263
- };
34264
34248
  } | {
34265
34249
  output: {
34266
34250
  type: "file";
@@ -34297,6 +34281,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34297
34281
  raw?: "1" | undefined;
34298
34282
  };
34299
34283
  };
34284
+ } | {
34285
+ output: {
34286
+ error: string;
34287
+ };
34288
+ outputFormat: "json";
34289
+ status: 404 | 409;
34290
+ input: {
34291
+ param: {
34292
+ id: string;
34293
+ };
34294
+ } & {
34295
+ query: {
34296
+ path: string | string[];
34297
+ raw?: "1" | undefined;
34298
+ };
34299
+ };
34300
34300
  };
34301
34301
  };
34302
34302
  } & {
@@ -34361,6 +34361,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34361
34361
  artifactId: string;
34362
34362
  };
34363
34363
  };
34364
+ } | {
34365
+ output: {
34366
+ error: string;
34367
+ };
34368
+ outputFormat: "json";
34369
+ status: 404;
34370
+ input: {
34371
+ param: {
34372
+ id: string;
34373
+ artifactId: string;
34374
+ };
34375
+ };
34364
34376
  } | {
34365
34377
  output: {
34366
34378
  type: "file";
@@ -34389,18 +34401,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34389
34401
  artifactId: string;
34390
34402
  };
34391
34403
  };
34392
- } | {
34393
- output: {
34394
- error: string;
34395
- };
34396
- outputFormat: "json";
34397
- status: 404;
34398
- input: {
34399
- param: {
34400
- id: string;
34401
- artifactId: string;
34402
- };
34403
- };
34404
34404
  };
34405
34405
  };
34406
34406
  } & {
@@ -34578,10 +34578,16 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34578
34578
  };
34579
34579
  } | {
34580
34580
  output: {
34581
- error: string;
34581
+ type: 'dir';
34582
+ path: string;
34583
+ entries: {
34584
+ name: string;
34585
+ type: 'dir' | 'file';
34586
+ size?: number;
34587
+ }[];
34582
34588
  };
34583
34589
  outputFormat: "json";
34584
- status: 404 | 409;
34590
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34585
34591
  input: {
34586
34592
  query: {
34587
34593
  path?: string | undefined;
@@ -34594,13 +34600,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34594
34600
  };
34595
34601
  } | {
34596
34602
  output: {
34597
- type: 'dir';
34603
+ type: 'file';
34598
34604
  path: string;
34599
- entries: {
34600
- name: string;
34601
- type: 'dir' | 'file';
34602
- size?: number;
34603
- }[];
34605
+ size: number;
34606
+ binary: boolean;
34607
+ tooLarge: boolean;
34608
+ content?: string | undefined;
34604
34609
  };
34605
34610
  outputFormat: "json";
34606
34611
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -34616,15 +34621,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34616
34621
  };
34617
34622
  } | {
34618
34623
  output: {
34619
- type: 'file';
34620
- path: string;
34621
- size: number;
34622
- binary: boolean;
34623
- tooLarge: boolean;
34624
- content?: string | undefined;
34624
+ error: string;
34625
34625
  };
34626
34626
  outputFormat: "json";
34627
- status: import("hono/utils/http-status").ContentfulStatusCode;
34627
+ status: 404 | 409;
34628
34628
  input: {
34629
34629
  query: {
34630
34630
  path?: string | undefined;
@@ -34641,10 +34641,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34641
34641
  "/runs/:id/git/commit": {
34642
34642
  $post: {
34643
34643
  output: {
34644
- error: string;
34644
+ committed: true;
34645
+ sha: string;
34645
34646
  };
34646
34647
  outputFormat: "json";
34647
- status: 404 | 409;
34648
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34648
34649
  input: {
34649
34650
  json: {
34650
34651
  message: string;
@@ -34656,11 +34657,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34656
34657
  };
34657
34658
  } | {
34658
34659
  output: {
34659
- committed: true;
34660
- sha: string;
34660
+ error: string;
34661
34661
  };
34662
34662
  outputFormat: "json";
34663
- status: import("hono/utils/http-status").ContentfulStatusCode;
34663
+ status: 404 | 409;
34664
34664
  input: {
34665
34665
  json: {
34666
34666
  message: string;
@@ -34676,10 +34676,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34676
34676
  "/runs/:id/git/push": {
34677
34677
  $post: {
34678
34678
  output: {
34679
- error: string;
34679
+ pushed: true;
34680
+ branch: string;
34681
+ remote: string;
34682
+ upstreamSet: boolean;
34680
34683
  };
34681
34684
  outputFormat: "json";
34682
- status: 404 | 409;
34685
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34683
34686
  input: {
34684
34687
  param: {
34685
34688
  id: string;
@@ -34687,13 +34690,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34687
34690
  };
34688
34691
  } | {
34689
34692
  output: {
34690
- pushed: true;
34691
- branch: string;
34692
- remote: string;
34693
- upstreamSet: boolean;
34693
+ error: string;
34694
34694
  };
34695
34695
  outputFormat: "json";
34696
- status: import("hono/utils/http-status").ContentfulStatusCode;
34696
+ status: 404 | 409;
34697
34697
  input: {
34698
34698
  param: {
34699
34699
  id: string;
@@ -34705,10 +34705,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34705
34705
  "/runs/:id/pr": {
34706
34706
  $post: {
34707
34707
  output: {
34708
- error: string;
34708
+ url: string;
34709
+ dryRun: boolean;
34709
34710
  };
34710
34711
  outputFormat: "json";
34711
- status: 404 | 409;
34712
+ status: 201;
34712
34713
  input: {
34713
34714
  param: {
34714
34715
  id: string;
@@ -34716,11 +34717,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34716
34717
  };
34717
34718
  } | {
34718
34719
  output: {
34719
- url: string;
34720
- dryRun: boolean;
34720
+ error: string;
34721
34721
  };
34722
34722
  outputFormat: "json";
34723
- status: 201;
34723
+ status: 404 | 409;
34724
34724
  input: {
34725
34725
  param: {
34726
34726
  id: string;
@@ -34732,10 +34732,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34732
34732
  "/runs/:id/remove-worktree": {
34733
34733
  $post: {
34734
34734
  output: {
34735
- error: string;
34735
+ removed: true;
34736
34736
  };
34737
34737
  outputFormat: "json";
34738
- status: 404 | 409;
34738
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34739
34739
  input: {
34740
34740
  param: {
34741
34741
  id: string;
@@ -34743,10 +34743,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34743
34743
  };
34744
34744
  } | {
34745
34745
  output: {
34746
- removed: true;
34746
+ error: string;
34747
34747
  };
34748
34748
  outputFormat: "json";
34749
- status: import("hono/utils/http-status").ContentfulStatusCode;
34749
+ status: 404 | 409;
34750
34750
  input: {
34751
34751
  param: {
34752
34752
  id: string;
@@ -34758,10 +34758,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34758
34758
  "/runs/:id": {
34759
34759
  $delete: {
34760
34760
  output: {
34761
- error: string;
34761
+ deleted: true;
34762
34762
  };
34763
34763
  outputFormat: "json";
34764
- status: 404 | 409;
34764
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34765
34765
  input: {
34766
34766
  param: {
34767
34767
  id: string;
@@ -34769,10 +34769,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34769
34769
  };
34770
34770
  } | {
34771
34771
  output: {
34772
- deleted: true;
34772
+ error: string;
34773
34773
  };
34774
34774
  outputFormat: "json";
34775
- status: import("hono/utils/http-status").ContentfulStatusCode;
34775
+ status: 404 | 409;
34776
34776
  input: {
34777
34777
  param: {
34778
34778
  id: string;