@hearsay-tools/squawk 0.18.0-dev.7546 → 0.18.0-dev.7549

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,17 +279,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
279
279
  };
280
280
  } | {
281
281
  output: {
282
- path: string;
283
- parent: string | null;
284
- dirs: {
285
- name: string;
286
- path: string;
287
- isRepo: boolean;
288
- }[];
289
- truncated: boolean;
282
+ error: string;
290
283
  };
291
284
  outputFormat: "json";
292
- status: import("hono/utils/http-status").ContentfulStatusCode;
285
+ status: 400 | 403 | 404;
293
286
  input: {
294
287
  query: {
295
288
  path?: string | undefined;
@@ -298,10 +291,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
298
291
  };
299
292
  } | {
300
293
  output: {
301
- error: string;
294
+ path: string;
295
+ parent: string | null;
296
+ dirs: {
297
+ name: string;
298
+ path: string;
299
+ isRepo: boolean;
300
+ }[];
301
+ truncated: boolean;
302
302
  };
303
303
  outputFormat: "json";
304
- status: 400 | 403 | 404;
304
+ status: import("hono/utils/http-status").ContentfulStatusCode;
305
305
  input: {
306
306
  query: {
307
307
  path?: string | undefined;
@@ -313,17 +313,6 @@ 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
- } | {
327
316
  output: {
328
317
  id: string;
329
318
  automationId: string;
@@ -342,26 +331,37 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
342
331
  checkId: string;
343
332
  };
344
333
  };
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
- error: string;
352
- code?: "invalid_input" | undefined;
353
- };
354
- outputFormat: "json";
355
- status: 400;
350
+ output: {};
351
+ outputFormat: string;
352
+ status: import("hono/utils/http-status").StatusCode;
356
353
  input: {
357
354
  query: {
358
355
  runs?: "summary" | undefined;
359
356
  };
360
357
  };
361
358
  } | {
362
- output: {};
363
- outputFormat: string;
364
- status: import("hono/utils/http-status").StatusCode;
359
+ output: {
360
+ error: string;
361
+ code?: "invalid_input" | undefined;
362
+ };
363
+ outputFormat: "json";
364
+ status: 400;
365
365
  input: {
366
366
  query: {
367
367
  runs?: "summary" | undefined;
@@ -413,6 +413,29 @@ 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
+ } | {
416
439
  output: {
417
440
  generatedAt: string;
418
441
  projects: {
@@ -643,29 +666,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
643
666
  project?: string | undefined;
644
667
  };
645
668
  };
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,10 +1017,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1017
1017
  };
1018
1018
  } | {
1019
1019
  output: {
1020
- error: string;
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
+ }[];
1021
1028
  };
1022
1029
  outputFormat: "json";
1023
- status: 500;
1030
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1024
1031
  input: {
1025
1032
  param: {
1026
1033
  provider: string;
@@ -1032,17 +1039,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1032
1039
  };
1033
1040
  } | {
1034
1041
  output: {
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
- }[];
1042
+ error: string;
1043
1043
  };
1044
1044
  outputFormat: "json";
1045
- status: import("hono/utils/http-status").ContentfulStatusCode;
1045
+ status: 500;
1046
1046
  input: {
1047
1047
  param: {
1048
1048
  provider: string;
@@ -1074,10 +1074,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1074
1074
  };
1075
1075
  } | {
1076
1076
  output: {
1077
- error: string;
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
+ }[];
1078
1085
  };
1079
1086
  outputFormat: "json";
1080
- status: 409;
1087
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1081
1088
  input: {
1082
1089
  param: {
1083
1090
  provider: string;
@@ -1089,17 +1096,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1089
1096
  };
1090
1097
  } | {
1091
1098
  output: {
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
- }[];
1099
+ error: string;
1100
1100
  };
1101
1101
  outputFormat: "json";
1102
- status: import("hono/utils/http-status").ContentfulStatusCode;
1102
+ status: 409;
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: 400;
1121
+ status: 409;
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: 409;
1133
+ status: 400;
1134
1134
  input: {
1135
1135
  json: {
1136
1136
  provider: string;
@@ -1217,10 +1217,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1217
1217
  "/workspace/config": {
1218
1218
  $put: {
1219
1219
  output: {
1220
- error: string;
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
+ };
1221
1245
  };
1222
1246
  outputFormat: "json";
1223
- status: 400;
1247
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1224
1248
  input: {
1225
1249
  json: {
1226
1250
  browseRoot?: string | undefined;
@@ -1249,7 +1273,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1249
1273
  error: string;
1250
1274
  };
1251
1275
  outputFormat: "json";
1252
- status: 500;
1276
+ status: 400;
1253
1277
  input: {
1254
1278
  json: {
1255
1279
  browseRoot?: string | undefined;
@@ -1275,34 +1299,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1275
1299
  };
1276
1300
  } | {
1277
1301
  output: {
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
- };
1302
+ error: string;
1303
1303
  };
1304
1304
  outputFormat: "json";
1305
- status: import("hono/utils/http-status").ContentfulStatusCode;
1305
+ status: 500;
1306
1306
  input: {
1307
1307
  json: {
1308
1308
  browseRoot?: string | undefined;
@@ -1373,6 +1373,73 @@ 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
+ } | {
1376
1443
  output: {
1377
1444
  error: string;
1378
1445
  };
@@ -1408,73 +1475,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1408
1475
  } | undefined;
1409
1476
  };
1410
1477
  };
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,27 +1516,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1516
1516
  "/workspace/agent-profiles": {
1517
1517
  $post: {
1518
1518
  output: {
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
- };
1519
+ error: string;
1537
1520
  };
1538
1521
  outputFormat: "json";
1539
- status: 201;
1522
+ status: 409;
1540
1523
  input: {
1541
1524
  json: {
1542
1525
  provider: string;
@@ -1562,7 +1545,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1562
1545
  error: string;
1563
1546
  };
1564
1547
  outputFormat: "json";
1565
- status: 409;
1548
+ status: 500;
1566
1549
  input: {
1567
1550
  json: {
1568
1551
  provider: string;
@@ -1572,10 +1555,27 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1572
1555
  };
1573
1556
  } | {
1574
1557
  output: {
1575
- error: string;
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
+ };
1576
1576
  };
1577
1577
  outputFormat: "json";
1578
- status: 500;
1578
+ status: 201;
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: 400;
1612
+ status: 409;
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: 404;
1628
+ status: 400;
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: 409;
1644
+ status: 404;
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: 404;
1729
+ status: 409;
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: 409;
1744
+ status: 404;
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: 400;
1785
+ status: 409;
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: 409;
1811
+ status: 400;
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: 404;
1870
+ status: 409;
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: 409;
1881
+ status: 500;
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: 500;
1892
+ status: 404;
1893
1893
  input: {
1894
1894
  param: {
1895
1895
  id: string;
@@ -1953,6 +1953,17 @@ 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
+ } | {
1956
1967
  output: {
1957
1968
  project: {
1958
1969
  id: string;
@@ -1983,10 +1994,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1983
1994
  agent: boolean;
1984
1995
  }[] | undefined;
1985
1996
  };
1986
- error?: string | undefined;
1997
+ error: string;
1987
1998
  };
1988
1999
  outputFormat: "json";
1989
- status: 200;
2000
+ status: 409;
1990
2001
  input: {
1991
2002
  json: {
1992
2003
  root: string;
@@ -2023,21 +2034,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2023
2034
  agent: boolean;
2024
2035
  }[] | undefined;
2025
2036
  };
2026
- error: string;
2027
- };
2028
- outputFormat: "json";
2029
- status: 409;
2030
- input: {
2031
- json: {
2032
- root: string;
2033
- };
2034
- };
2035
- } | {
2036
- output: {
2037
- error: string;
2037
+ error?: string | undefined;
2038
2038
  };
2039
2039
  outputFormat: "json";
2040
- status: 400 | 500;
2040
+ status: 200;
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: 400;
2199
+ status: 404;
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: 404;
2210
+ status: 400;
2211
2211
  input: {
2212
2212
  param: {
2213
2213
  projectId: string;
@@ -2232,6 +2232,27 @@ 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
+ } | {
2235
2256
  output: {
2236
2257
  project: {
2237
2258
  id: string;
@@ -2290,27 +2311,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2290
2311
  projectId: string;
2291
2312
  };
2292
2313
  };
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,10 +2508,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2508
2508
  };
2509
2509
  } | {
2510
2510
  output: {
2511
- error: string;
2511
+ ok: boolean;
2512
+ status?: number | undefined;
2513
+ error?: string | undefined;
2514
+ dryRun?: boolean | undefined;
2512
2515
  };
2513
2516
  outputFormat: "json";
2514
- status: 404;
2517
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2515
2518
  input: {
2516
2519
  param: {
2517
2520
  projectId: string;
@@ -2520,13 +2523,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2520
2523
  };
2521
2524
  } | {
2522
2525
  output: {
2523
- ok: boolean;
2524
- status?: number | undefined;
2525
- error?: string | undefined;
2526
- dryRun?: boolean | undefined;
2526
+ error: string;
2527
2527
  };
2528
2528
  outputFormat: "json";
2529
- status: import("hono/utils/http-status").ContentfulStatusCode;
2529
+ status: 404;
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: 400;
2962
+ status: 409;
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: 409;
2975
+ status: 400;
2976
2976
  input: {
2977
2977
  query: {
2978
2978
  runner: string | string[];
@@ -3102,10 +3102,42 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3102
3102
  "/ui-state": {
3103
3103
  $put: {
3104
3104
  output: {
3105
- error: string;
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;
3106
3138
  };
3107
3139
  outputFormat: "json";
3108
- status: 500;
3140
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3109
3141
  input: {
3110
3142
  json: {
3111
3143
  [x: string]: unknown;
@@ -3143,42 +3175,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3143
3175
  };
3144
3176
  } | {
3145
3177
  output: {
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;
3178
+ error: string;
3179
3179
  };
3180
3180
  outputFormat: "json";
3181
- status: import("hono/utils/http-status").ContentfulStatusCode;
3181
+ status: 500;
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: 400;
3241
+ status: 409;
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: 409;
3252
+ status: 400;
3253
3253
  input: {
3254
3254
  json: {
3255
3255
  target: string;
@@ -3272,12 +3272,9 @@ 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
- error: string;
3277
- code?: "invalid_input" | undefined;
3278
- };
3279
- outputFormat: "json";
3280
- status: 400;
3275
+ output: {};
3276
+ outputFormat: string;
3277
+ status: import("hono/utils/http-status").StatusCode;
3281
3278
  input: {
3282
3279
  param: {
3283
3280
  id: string;
@@ -3289,9 +3286,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3289
3286
  };
3290
3287
  };
3291
3288
  } | {
3292
- output: {};
3293
- outputFormat: string;
3294
- status: import("hono/utils/http-status").StatusCode;
3289
+ output: {
3290
+ error: string;
3291
+ code?: "invalid_input" | undefined;
3292
+ };
3293
+ outputFormat: "json";
3294
+ status: 400;
3295
3295
  input: {
3296
3296
  param: {
3297
3297
  id: string;
@@ -3352,10 +3352,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3352
3352
  "/config": {
3353
3353
  $put: {
3354
3354
  output: {
3355
- error: string;
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;
3356
3380
  };
3357
3381
  outputFormat: "json";
3358
- status: 409;
3382
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3359
3383
  input: {
3360
3384
  json: {
3361
3385
  archiveOnMerge?: boolean | null | undefined;
@@ -3383,7 +3407,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3383
3407
  error: string;
3384
3408
  };
3385
3409
  outputFormat: "json";
3386
- status: 500;
3410
+ status: 409;
3387
3411
  input: {
3388
3412
  json: {
3389
3413
  archiveOnMerge?: boolean | null | undefined;
@@ -3408,34 +3432,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3408
3432
  };
3409
3433
  } | {
3410
3434
  output: {
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;
3435
+ error: string;
3436
3436
  };
3437
3437
  outputFormat: "json";
3438
- status: import("hono/utils/http-status").ContentfulStatusCode;
3438
+ status: 500;
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: 400;
3587
+ status: 409;
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: 409;
3600
+ status: 400;
3601
3601
  input: {
3602
3602
  query: {
3603
3603
  q?: string | undefined;
@@ -3684,11 +3684,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3684
3684
  };
3685
3685
  } | {
3686
3686
  output: {
3687
- runId: string;
3688
- worktreeReclaimedAt: string;
3687
+ error: string;
3689
3688
  };
3690
3689
  outputFormat: "json";
3691
- status: import("hono/utils/http-status").ContentfulStatusCode;
3690
+ status: 404 | 409;
3692
3691
  input: {
3693
3692
  param: {
3694
3693
  runId: string;
@@ -3696,10 +3695,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3696
3695
  };
3697
3696
  } | {
3698
3697
  output: {
3699
- error: string;
3698
+ runId: string;
3699
+ worktreeReclaimedAt: string;
3700
3700
  };
3701
3701
  outputFormat: "json";
3702
- status: 404 | 409;
3702
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3703
3703
  input: {
3704
3704
  param: {
3705
3705
  runId: string;
@@ -3795,10 +3795,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3795
3795
  "/agent-config/:id": {
3796
3796
  $put: {
3797
3797
  output: {
3798
- error: string;
3798
+ id: string;
3799
+ path: string;
3800
+ exists: boolean;
3801
+ content: string;
3802
+ version: string | null;
3799
3803
  };
3800
3804
  outputFormat: "json";
3801
- status: 404;
3805
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3802
3806
  input: {
3803
3807
  json: {
3804
3808
  content: string;
@@ -3811,14 +3815,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3811
3815
  };
3812
3816
  } | {
3813
3817
  output: {
3814
- id: string;
3815
- path: string;
3816
- exists: boolean;
3817
- content: string;
3818
- version: string | null;
3818
+ error: string;
3819
3819
  };
3820
3820
  outputFormat: "json";
3821
- status: import("hono/utils/http-status").ContentfulStatusCode;
3821
+ status: 404;
3822
3822
  input: {
3823
3823
  json: {
3824
3824
  content: string;
@@ -3889,11 +3889,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3889
3889
  "/workflows": {
3890
3890
  $post: {
3891
3891
  output: {
3892
- path: string;
3893
- name: string;
3892
+ error: string;
3894
3893
  };
3895
3894
  outputFormat: "json";
3896
- status: 201;
3895
+ status: 400;
3897
3896
  input: {
3898
3897
  json: {
3899
3898
  name: string;
@@ -3923,9 +3922,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3923
3922
  } | {
3924
3923
  output: {
3925
3924
  error: string;
3925
+ exists: true;
3926
3926
  };
3927
3927
  outputFormat: "json";
3928
- status: 400;
3928
+ status: 409;
3929
3929
  input: {
3930
3930
  json: {
3931
3931
  name: string;
@@ -3955,10 +3955,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3955
3955
  } | {
3956
3956
  output: {
3957
3957
  error: string;
3958
- exists: true;
3959
3958
  };
3960
3959
  outputFormat: "json";
3961
- status: 409;
3960
+ status: 500;
3962
3961
  input: {
3963
3962
  json: {
3964
3963
  name: string;
@@ -3987,10 +3986,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3987
3986
  };
3988
3987
  } | {
3989
3988
  output: {
3990
- error: string;
3989
+ path: string;
3990
+ name: string;
3991
3991
  };
3992
3992
  outputFormat: "json";
3993
- status: 500;
3993
+ status: 201;
3994
3994
  input: {
3995
3995
  json: {
3996
3996
  name: string;
@@ -4023,11 +4023,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4023
4023
  "/workflows/:name": {
4024
4024
  $delete: {
4025
4025
  output: {
4026
- ok: true;
4027
- path: string;
4026
+ error: string;
4028
4027
  };
4029
4028
  outputFormat: "json";
4030
- status: import("hono/utils/http-status").ContentfulStatusCode;
4029
+ status: 400 | 404 | 409 | 500;
4031
4030
  input: {
4032
4031
  param: {
4033
4032
  name: string;
@@ -4035,10 +4034,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4035
4034
  };
4036
4035
  } | {
4037
4036
  output: {
4038
- error: string;
4037
+ ok: true;
4038
+ path: string;
4039
4039
  };
4040
4040
  outputFormat: "json";
4041
- status: 400 | 404 | 409 | 500;
4041
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4042
4042
  input: {
4043
4043
  param: {
4044
4044
  name: string;
@@ -4209,18 +4209,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4209
4209
  "/repo/branches/delete": {
4210
4210
  $post: {
4211
4211
  output: {
4212
- deleted: string[];
4212
+ error: string;
4213
4213
  refused: {
4214
4214
  name: string;
4215
4215
  reason: string;
4216
4216
  }[];
4217
- dropped?: {
4218
- sha: string;
4219
- subject: string;
4220
- }[] | undefined;
4221
4217
  };
4222
4218
  outputFormat: "json";
4223
- status: 200;
4219
+ status: 409;
4224
4220
  input: {
4225
4221
  json: {
4226
4222
  names: string[];
@@ -4229,14 +4225,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4229
4225
  };
4230
4226
  } | {
4231
4227
  output: {
4232
- error: string;
4228
+ deleted: string[];
4233
4229
  refused: {
4234
4230
  name: string;
4235
4231
  reason: string;
4236
4232
  }[];
4233
+ dropped?: {
4234
+ sha: string;
4235
+ subject: string;
4236
+ }[] | undefined;
4237
4237
  };
4238
4238
  outputFormat: "json";
4239
- status: 409;
4239
+ status: 200;
4240
4240
  input: {
4241
4241
  json: {
4242
4242
  names: string[];
@@ -4257,12 +4257,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4257
4257
  } & {
4258
4258
  "/repo/commit/:sha": {
4259
4259
  $get: {
4260
- output: {
4261
- error: string;
4262
- code?: "invalid_input" | undefined;
4263
- };
4264
- outputFormat: "json";
4265
- status: 400;
4260
+ output: string;
4261
+ outputFormat: "text";
4262
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4266
4263
  input: {
4267
4264
  query: {
4268
4265
  structured?: string | undefined;
@@ -4275,9 +4272,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4275
4272
  } | {
4276
4273
  output: {
4277
4274
  error: string;
4275
+ code?: "invalid_input" | undefined;
4278
4276
  };
4279
4277
  outputFormat: "json";
4280
- status: 409;
4278
+ status: 400;
4281
4279
  input: {
4282
4280
  query: {
4283
4281
  structured?: string | undefined;
@@ -4321,9 +4319,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4321
4319
  };
4322
4320
  };
4323
4321
  } | {
4324
- output: string;
4325
- outputFormat: "text";
4326
- status: import("hono/utils/http-status").ContentfulStatusCode;
4322
+ output: {
4323
+ error: string;
4324
+ };
4325
+ outputFormat: "json";
4326
+ status: 409;
4327
4327
  input: {
4328
4328
  query: {
4329
4329
  structured?: string | undefined;
@@ -4338,13 +4338,6 @@ 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
- } | {
4348
4341
  output: {
4349
4342
  files: {
4350
4343
  path: string;
@@ -4369,6 +4362,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4369
4362
  outputFormat: "json";
4370
4363
  status: import("hono/utils/http-status").ContentfulStatusCode;
4371
4364
  input: {};
4365
+ } | {
4366
+ output: {
4367
+ error: string;
4368
+ };
4369
+ outputFormat: "json";
4370
+ status: 409;
4371
+ input: {};
4372
4372
  };
4373
4373
  };
4374
4374
  } & {
@@ -4393,12 +4393,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4393
4393
  "/repo/pull": {
4394
4394
  $post: {
4395
4395
  output: {
4396
- branch: string;
4397
- pulled: true;
4398
- summary: string;
4396
+ error: string;
4399
4397
  };
4400
4398
  outputFormat: "json";
4401
- status: 200;
4399
+ status: 409;
4402
4400
  input: {
4403
4401
  json: {
4404
4402
  branch?: string | undefined;
@@ -4407,10 +4405,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4407
4405
  };
4408
4406
  } | {
4409
4407
  output: {
4410
- error: string;
4408
+ branch: string;
4409
+ pulled: true;
4410
+ summary: string;
4411
4411
  };
4412
4412
  outputFormat: "json";
4413
- status: 409;
4413
+ status: 200;
4414
4414
  input: {
4415
4415
  json: {
4416
4416
  branch?: string | undefined;
@@ -5364,18 +5364,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5364
5364
  "/automations": {
5365
5365
  $post: {
5366
5366
  output: {
5367
- automation: {
5368
- [x: string]: import("hono/utils/types").JSONValue;
5369
- id: string;
5370
- revision: number;
5367
+ error: string;
5368
+ };
5369
+ outputFormat: "json";
5370
+ status: 400 | 404 | 409;
5371
+ input: {
5372
+ json: {
5371
5373
  name: string;
5372
5374
  description?: string | undefined;
5373
- enabled: boolean;
5374
- kind: "github" | "schedule";
5375
+ enabled?: boolean | undefined;
5376
+ kind?: "github" | "schedule" | undefined;
5375
5377
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
5376
5378
  intervalSeconds?: number | undefined;
5377
5379
  filters?: {
5378
- [x: string]: import("hono/utils/types").JSONValue;
5380
+ [x: string]: unknown;
5379
5381
  includeExisting?: boolean | undefined;
5380
5382
  requireCurrentLabels?: boolean | undefined;
5381
5383
  authors?: string[] | undefined;
@@ -5384,11 +5386,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5384
5386
  anyLabels?: string[] | undefined;
5385
5387
  excludeLabels?: string[] | undefined;
5386
5388
  changedLabels?: string[] | undefined;
5387
- lookbackDays: number;
5388
- maxRecords: number;
5389
+ lookbackDays?: number | undefined;
5390
+ maxRecords?: number | undefined;
5389
5391
  } | undefined;
5390
5392
  schedule?: {
5391
- [x: string]: import("hono/utils/types").JSONValue;
5392
5393
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
5393
5394
  hour?: number | undefined;
5394
5395
  minute?: number | undefined;
@@ -5399,7 +5400,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5399
5400
  latestStartMinutes?: number | undefined;
5400
5401
  } | undefined;
5401
5402
  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,47 +5421,33 @@ 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;
5424
+ max?: number | undefined;
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;
5431
5430
  worktree?: boolean | undefined;
5432
5431
  autonomous?: boolean | undefined;
5433
5432
  systemPrompt?: string | undefined;
5434
5433
  };
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;
5434
+ enable?: boolean | undefined;
5445
5435
  };
5446
- once?: {
5447
- dueAt: string;
5448
- timeZone: string;
5449
- resolvedInstant: string;
5450
- note: string;
5451
- } | undefined;
5452
5436
  };
5453
- outputFormat: "json";
5454
- status: 201;
5455
- input: {
5456
- json: {
5437
+ } | {
5438
+ output: {
5439
+ automation: {
5440
+ [x: string]: import("hono/utils/types").JSONValue;
5441
+ id: string;
5442
+ revision: number;
5457
5443
  name: string;
5458
5444
  description?: string | undefined;
5459
- enabled?: boolean | undefined;
5460
- kind?: "github" | "schedule" | undefined;
5445
+ enabled: boolean;
5446
+ kind: "github" | "schedule";
5461
5447
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
5462
5448
  intervalSeconds?: number | undefined;
5463
5449
  filters?: {
5464
- [x: string]: unknown;
5450
+ [x: string]: import("hono/utils/types").JSONValue;
5465
5451
  includeExisting?: boolean | undefined;
5466
5452
  requireCurrentLabels?: boolean | undefined;
5467
5453
  authors?: string[] | undefined;
@@ -5470,10 +5456,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5470
5456
  anyLabels?: string[] | undefined;
5471
5457
  excludeLabels?: string[] | undefined;
5472
5458
  changedLabels?: string[] | undefined;
5473
- lookbackDays?: number | undefined;
5474
- maxRecords?: number | undefined;
5459
+ lookbackDays: number;
5460
+ maxRecords: number;
5475
5461
  } | undefined;
5476
5462
  schedule?: {
5463
+ [x: string]: import("hono/utils/types").JSONValue;
5477
5464
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
5478
5465
  hour?: number | undefined;
5479
5466
  minute?: number | undefined;
@@ -5484,6 +5471,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5484
5471
  latestStartMinutes?: number | undefined;
5485
5472
  } | undefined;
5486
5473
  task: {
5474
+ [x: string]: import("hono/utils/types").JSONValue;
5487
5475
  archiveWhenDone?: boolean | undefined;
5488
5476
  autoMergePr?: boolean | undefined;
5489
5477
  allowWorkers?: boolean | undefined;
@@ -5505,25 +5493,37 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5505
5493
  command?: string | undefined;
5506
5494
  onFail?: {
5507
5495
  retry: string;
5508
- max?: number | undefined;
5496
+ max: number;
5509
5497
  } | undefined;
5510
5498
  }[] | undefined;
5511
5499
  runner?: string | undefined;
5512
5500
  model?: string | undefined;
5513
5501
  effort?: string | undefined;
5502
+ variants?: 1 | 2 | 3 | undefined;
5514
5503
  worktree?: boolean | undefined;
5515
5504
  autonomous?: boolean | undefined;
5516
5505
  systemPrompt?: string | undefined;
5517
5506
  };
5518
- enable?: boolean | undefined;
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;
5519
5517
  };
5520
- };
5521
- } | {
5522
- output: {
5523
- error: string;
5518
+ once?: {
5519
+ dueAt: string;
5520
+ timeZone: string;
5521
+ resolvedInstant: string;
5522
+ note: string;
5523
+ } | undefined;
5524
5524
  };
5525
5525
  outputFormat: "json";
5526
- status: 400 | 404 | 409;
5526
+ status: 201;
5527
5527
  input: {
5528
5528
  json: {
5529
5529
  name: string;
@@ -5595,6 +5595,17 @@ 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
+ } | {
5598
5609
  output: {
5599
5610
  automation: {
5600
5611
  [x: string]: import("hono/utils/types").JSONValue;
@@ -5752,35 +5763,26 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5752
5763
  id: string;
5753
5764
  };
5754
5765
  };
5755
- } | {
5756
- output: {
5757
- error: string;
5758
- };
5759
- outputFormat: "json";
5760
- status: 400 | 404 | 409;
5761
- input: {
5762
- param: {
5763
- id: string;
5764
- };
5765
- };
5766
5766
  };
5767
5767
  };
5768
5768
  } & {
5769
5769
  "/automations/:id": {
5770
5770
  $put: {
5771
5771
  output: {
5772
- automation: {
5773
- [x: string]: import("hono/utils/types").JSONValue;
5774
- id: string;
5775
- revision: number;
5772
+ error: string;
5773
+ };
5774
+ outputFormat: "json";
5775
+ status: 400 | 404 | 409;
5776
+ input: {
5777
+ json: {
5776
5778
  name: string;
5777
5779
  description?: string | undefined;
5778
- enabled: boolean;
5779
- kind: "github" | "schedule";
5780
+ enabled?: boolean | undefined;
5781
+ kind?: "github" | "schedule" | undefined;
5780
5782
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
5781
5783
  intervalSeconds?: number | undefined;
5782
5784
  filters?: {
5783
- [x: string]: import("hono/utils/types").JSONValue;
5785
+ [x: string]: unknown;
5784
5786
  includeExisting?: boolean | undefined;
5785
5787
  requireCurrentLabels?: boolean | undefined;
5786
5788
  authors?: string[] | undefined;
@@ -5789,11 +5791,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5789
5791
  anyLabels?: string[] | undefined;
5790
5792
  excludeLabels?: string[] | undefined;
5791
5793
  changedLabels?: string[] | undefined;
5792
- lookbackDays: number;
5793
- maxRecords: number;
5794
+ lookbackDays?: number | undefined;
5795
+ maxRecords?: number | undefined;
5794
5796
  } | undefined;
5795
5797
  schedule?: {
5796
- [x: string]: import("hono/utils/types").JSONValue;
5797
5798
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
5798
5799
  hour?: number | undefined;
5799
5800
  minute?: number | undefined;
@@ -5804,7 +5805,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5804
5805
  latestStartMinutes?: number | undefined;
5805
5806
  } | undefined;
5806
5807
  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,41 +5826,37 @@ 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;
5829
+ max?: number | undefined;
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;
5836
5835
  worktree?: boolean | undefined;
5837
5836
  autonomous?: boolean | undefined;
5838
5837
  systemPrompt?: string | undefined;
5839
5838
  };
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;
5839
+ expectedRevision: number;
5840
+ };
5841
+ } & {
5842
+ param: {
5843
+ id: string;
5850
5844
  };
5851
5845
  };
5852
- outputFormat: "json";
5853
- status: import("hono/utils/http-status").ContentfulStatusCode;
5854
- input: {
5855
- json: {
5846
+ } | {
5847
+ output: {
5848
+ automation: {
5849
+ [x: string]: import("hono/utils/types").JSONValue;
5850
+ id: string;
5851
+ revision: number;
5856
5852
  name: string;
5857
5853
  description?: string | undefined;
5858
- enabled?: boolean | undefined;
5859
- kind?: "github" | "schedule" | undefined;
5854
+ enabled: boolean;
5855
+ kind: "github" | "schedule";
5860
5856
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
5861
5857
  intervalSeconds?: number | undefined;
5862
5858
  filters?: {
5863
- [x: string]: unknown;
5859
+ [x: string]: import("hono/utils/types").JSONValue;
5864
5860
  includeExisting?: boolean | undefined;
5865
5861
  requireCurrentLabels?: boolean | undefined;
5866
5862
  authors?: string[] | undefined;
@@ -5869,10 +5865,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5869
5865
  anyLabels?: string[] | undefined;
5870
5866
  excludeLabels?: string[] | undefined;
5871
5867
  changedLabels?: string[] | undefined;
5872
- lookbackDays?: number | undefined;
5873
- maxRecords?: number | undefined;
5868
+ lookbackDays: number;
5869
+ maxRecords: number;
5874
5870
  } | undefined;
5875
5871
  schedule?: {
5872
+ [x: string]: import("hono/utils/types").JSONValue;
5876
5873
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
5877
5874
  hour?: number | undefined;
5878
5875
  minute?: number | undefined;
@@ -5883,6 +5880,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5883
5880
  latestStartMinutes?: number | undefined;
5884
5881
  } | undefined;
5885
5882
  task: {
5883
+ [x: string]: import("hono/utils/types").JSONValue;
5886
5884
  archiveWhenDone?: boolean | undefined;
5887
5885
  autoMergePr?: boolean | undefined;
5888
5886
  allowWorkers?: boolean | undefined;
@@ -5904,29 +5902,31 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5904
5902
  command?: string | undefined;
5905
5903
  onFail?: {
5906
5904
  retry: string;
5907
- max?: number | undefined;
5905
+ max: number;
5908
5906
  } | undefined;
5909
5907
  }[] | undefined;
5910
5908
  runner?: string | undefined;
5911
5909
  model?: string | undefined;
5912
5910
  effort?: string | undefined;
5911
+ variants?: 1 | 2 | 3 | undefined;
5913
5912
  worktree?: boolean | undefined;
5914
5913
  autonomous?: boolean | undefined;
5915
5914
  systemPrompt?: string | undefined;
5916
5915
  };
5917
- expectedRevision: number;
5918
- };
5919
- } & {
5920
- param: {
5921
- id: string;
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;
5922
5926
  };
5923
5927
  };
5924
- } | {
5925
- output: {
5926
- error: string;
5927
- };
5928
5928
  outputFormat: "json";
5929
- status: 400 | 404 | 409;
5929
+ status: import("hono/utils/http-status").ContentfulStatusCode;
5930
5930
  input: {
5931
5931
  json: {
5932
5932
  name: string;
@@ -6026,6 +6026,17 @@ 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
+ } | {
6029
6040
  output: {
6030
6041
  automation: {
6031
6042
  [x: string]: import("hono/utils/types").JSONValue;
@@ -6114,7 +6125,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6114
6125
  id: string;
6115
6126
  };
6116
6127
  };
6117
- } | {
6128
+ };
6129
+ };
6130
+ } & {
6131
+ "/automations/:id/pause": {
6132
+ $post: {
6118
6133
  output: {
6119
6134
  error: string;
6120
6135
  };
@@ -6125,11 +6140,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6125
6140
  id: string;
6126
6141
  };
6127
6142
  };
6128
- };
6129
- };
6130
- } & {
6131
- "/automations/:id/pause": {
6132
- $post: {
6143
+ } | {
6133
6144
  output: {
6134
6145
  automation: {
6135
6146
  [x: string]: import("hono/utils/types").JSONValue;
@@ -6218,7 +6229,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6218
6229
  id: string;
6219
6230
  };
6220
6231
  };
6221
- } | {
6232
+ };
6233
+ };
6234
+ } & {
6235
+ "/automations/:id/cancel": {
6236
+ $post: {
6222
6237
  output: {
6223
6238
  error: string;
6224
6239
  };
@@ -6229,11 +6244,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6229
6244
  id: string;
6230
6245
  };
6231
6246
  };
6232
- };
6233
- };
6234
- } & {
6235
- "/automations/:id/cancel": {
6236
- $post: {
6247
+ } | {
6237
6248
  output: {
6238
6249
  automation: {
6239
6250
  [x: string]: import("hono/utils/types").JSONValue;
@@ -6322,27 +6333,16 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6322
6333
  id: string;
6323
6334
  };
6324
6335
  };
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
- runId: string;
6342
+ error: string;
6343
6343
  };
6344
6344
  outputFormat: "json";
6345
- status: 202;
6345
+ status: 400 | 404 | 409;
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
- error: string;
6353
+ runId: string;
6354
6354
  };
6355
6355
  outputFormat: "json";
6356
- status: 400 | 404 | 409;
6356
+ status: 202;
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
- checkId: string;
6368
+ error: string;
6369
6369
  };
6370
6370
  outputFormat: "json";
6371
- status: 202;
6371
+ status: 404;
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: 404;
6386
+ status: 409;
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
- error: string;
6398
+ checkId: string;
6399
6399
  };
6400
6400
  outputFormat: "json";
6401
- status: 409;
6401
+ status: 202;
6402
6402
  input: {
6403
6403
  json: {
6404
6404
  mode: "execute" | "preview";
@@ -7615,18 +7615,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7615
7615
  } & {
7616
7616
  "/run-summaries": {
7617
7617
  $get: {
7618
- output: {
7619
- error: string;
7620
- code?: "invalid_input" | undefined;
7621
- };
7622
- outputFormat: "json";
7623
- status: 400;
7624
- input: {
7625
- query: {
7626
- archived?: "all" | "recent" | undefined;
7627
- };
7628
- };
7629
- } | {
7630
7618
  output: {
7631
7619
  id: string;
7632
7620
  title: string;
@@ -7754,6 +7742,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7754
7742
  archived?: "all" | "recent" | undefined;
7755
7743
  };
7756
7744
  };
7745
+ } | {
7746
+ output: {
7747
+ error: string;
7748
+ code?: "invalid_input" | undefined;
7749
+ };
7750
+ outputFormat: "json";
7751
+ status: 400;
7752
+ input: {
7753
+ query: {
7754
+ archived?: "all" | "recent" | undefined;
7755
+ };
7756
+ };
7757
7757
  };
7758
7758
  };
7759
7759
  } & {
@@ -8098,24 +8098,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8098
8098
  "/runs/:id/worker-destroy": {
8099
8099
  $post: {
8100
8100
  output: {
8101
- workerId: string;
8102
- state: "complete" | "incomplete";
8103
- work?: {
8104
- uncommittedFiles: number;
8105
- commits: number;
8106
- } | undefined;
8107
- deleted?: ({
8108
- kind: "worktree";
8109
- path: string;
8110
- } | {
8111
- kind: "branch";
8112
- ref: string;
8113
- })[] | undefined;
8114
- remaining: ("branch" | "process" | "worktree")[];
8115
- error?: string | undefined;
8101
+ error: string;
8102
+ code?: "invalid_input" | undefined;
8116
8103
  };
8117
8104
  outputFormat: "json";
8118
- status: 200;
8105
+ status: 400;
8119
8106
  input: {
8120
8107
  query: {
8121
8108
  [x: string]: string | string[];
@@ -8131,11 +8118,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8131
8118
  };
8132
8119
  } | {
8133
8120
  output: {
8134
- error: string;
8135
- code?: "invalid_input" | undefined;
8121
+ workerId: string;
8122
+ state: "complete" | "incomplete";
8123
+ work?: {
8124
+ uncommittedFiles: number;
8125
+ commits: number;
8126
+ } | undefined;
8127
+ deleted?: ({
8128
+ kind: "worktree";
8129
+ path: string;
8130
+ } | {
8131
+ kind: "branch";
8132
+ ref: string;
8133
+ })[] | undefined;
8134
+ remaining: ("branch" | "process" | "worktree")[];
8135
+ error?: string | undefined;
8136
8136
  };
8137
8137
  outputFormat: "json";
8138
- status: 400;
8138
+ status: 200;
8139
8139
  input: {
8140
8140
  query: {
8141
8141
  [x: string]: string | string[];
@@ -8251,21 +8251,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8251
8251
  } & {
8252
8252
  "/runs/:id/archive": {
8253
8253
  $post: {
8254
- output: {
8255
- error: string;
8256
- };
8257
- outputFormat: "json";
8258
- status: 404;
8259
- input: {
8260
- json: {
8261
- archived?: boolean | undefined;
8262
- };
8263
- } & {
8264
- param: {
8265
- id: string;
8266
- };
8267
- };
8268
- } | {
8269
8254
  output: {
8270
8255
  archiveWhenDone?: boolean | undefined;
8271
8256
  autoMergePr?: boolean | undefined;
@@ -9368,32 +9353,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9368
9353
  id: string;
9369
9354
  };
9370
9355
  };
9371
- };
9372
- };
9373
- } & {
9374
- "/runs/:id/pin": {
9375
- $post: {
9356
+ } | {
9376
9357
  output: {
9377
9358
  error: string;
9378
- code?: "invalid_input" | undefined;
9379
9359
  };
9380
9360
  outputFormat: "json";
9381
- status: 400;
9361
+ status: 404;
9382
9362
  input: {
9383
- param: {
9384
- id: string;
9363
+ json: {
9364
+ archived?: boolean | undefined;
9385
9365
  };
9386
9366
  } & {
9387
- json: {
9388
- pinned?: boolean | undefined;
9367
+ param: {
9368
+ id: string;
9389
9369
  };
9390
9370
  };
9391
- } | {
9371
+ };
9372
+ };
9373
+ } & {
9374
+ "/runs/:id/pin": {
9375
+ $post: {
9392
9376
  output: {
9393
9377
  error: string;
9378
+ code?: "invalid_input" | undefined;
9394
9379
  };
9395
9380
  outputFormat: "json";
9396
- status: 404;
9381
+ status: 400;
9397
9382
  input: {
9398
9383
  param: {
9399
9384
  id: string;
@@ -10506,49 +10491,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10506
10491
  pinned?: boolean | undefined;
10507
10492
  };
10508
10493
  };
10509
- };
10510
- };
10511
- } & {
10512
- "/runs/:id/notify": {
10513
- $post: {
10514
- output: {
10515
- error: string;
10516
- code?: "invalid_input" | undefined;
10517
- };
10518
- outputFormat: "json";
10519
- status: 400;
10520
- input: {
10521
- param: {
10522
- id: string;
10523
- };
10524
- } & {
10525
- json: {
10526
- notify: boolean;
10527
- message?: string | undefined;
10528
- };
10529
- };
10530
10494
  } | {
10531
10495
  output: {
10532
10496
  error: string;
10533
10497
  };
10534
10498
  outputFormat: "json";
10535
- status: 400;
10499
+ status: 404;
10536
10500
  input: {
10537
10501
  param: {
10538
10502
  id: string;
10539
10503
  };
10540
10504
  } & {
10541
10505
  json: {
10542
- notify: boolean;
10543
- message?: string | undefined;
10506
+ pinned?: boolean | undefined;
10544
10507
  };
10545
10508
  };
10546
- } | {
10509
+ };
10510
+ };
10511
+ } & {
10512
+ "/runs/:id/notify": {
10513
+ $post: {
10547
10514
  output: {
10548
10515
  error: string;
10516
+ code?: "invalid_input" | undefined;
10549
10517
  };
10550
10518
  outputFormat: "json";
10551
- status: 404;
10519
+ status: 400;
10552
10520
  input: {
10553
10521
  param: {
10554
10522
  id: string;
@@ -11663,11 +11631,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11663
11631
  message?: string | undefined;
11664
11632
  };
11665
11633
  };
11666
- };
11667
- };
11668
- } & {
11669
- "/runs/:id/auto-resume": {
11670
- $delete: {
11634
+ } | {
11671
11635
  output: {
11672
11636
  error: string;
11673
11637
  };
@@ -11677,23 +11641,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11677
11641
  param: {
11678
11642
  id: string;
11679
11643
  };
11644
+ } & {
11645
+ json: {
11646
+ notify: boolean;
11647
+ message?: string | undefined;
11648
+ };
11680
11649
  };
11681
11650
  } | {
11682
11651
  output: {
11683
- cancelled: true;
11652
+ error: string;
11684
11653
  };
11685
11654
  outputFormat: "json";
11686
- status: import("hono/utils/http-status").ContentfulStatusCode;
11655
+ status: 400;
11687
11656
  input: {
11688
11657
  param: {
11689
11658
  id: string;
11690
11659
  };
11660
+ } & {
11661
+ json: {
11662
+ notify: boolean;
11663
+ message?: string | undefined;
11664
+ };
11691
11665
  };
11692
11666
  };
11693
11667
  };
11694
11668
  } & {
11695
- "/runs/:id/read": {
11696
- $post: {
11669
+ "/runs/:id/auto-resume": {
11670
+ $delete: {
11697
11671
  output: {
11698
11672
  error: string;
11699
11673
  };
@@ -11705,6 +11679,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11705
11679
  };
11706
11680
  };
11707
11681
  } | {
11682
+ output: {
11683
+ cancelled: true;
11684
+ };
11685
+ outputFormat: "json";
11686
+ status: import("hono/utils/http-status").ContentfulStatusCode;
11687
+ input: {
11688
+ param: {
11689
+ id: string;
11690
+ };
11691
+ };
11692
+ };
11693
+ };
11694
+ } & {
11695
+ "/runs/:id/read": {
11696
+ $post: {
11708
11697
  output: {
11709
11698
  archiveWhenDone?: boolean | undefined;
11710
11699
  autoMergePr?: boolean | undefined;
@@ -12803,11 +12792,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12803
12792
  id: string;
12804
12793
  };
12805
12794
  };
12806
- };
12807
- };
12808
- } & {
12809
- "/runs/:id/unread": {
12810
- $post: {
12795
+ } | {
12811
12796
  output: {
12812
12797
  error: string;
12813
12798
  };
@@ -12818,7 +12803,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12818
12803
  id: string;
12819
12804
  };
12820
12805
  };
12821
- } | {
12806
+ };
12807
+ };
12808
+ } & {
12809
+ "/runs/:id/unread": {
12810
+ $post: {
12822
12811
  output: {
12823
12812
  archiveWhenDone?: boolean | undefined;
12824
12813
  autoMergePr?: boolean | undefined;
@@ -13917,6 +13906,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13917
13906
  id: string;
13918
13907
  };
13919
13908
  };
13909
+ } | {
13910
+ output: {
13911
+ error: string;
13912
+ };
13913
+ outputFormat: "json";
13914
+ status: 404;
13915
+ input: {
13916
+ param: {
13917
+ id: string;
13918
+ };
13919
+ };
13920
13920
  };
13921
13921
  };
13922
13922
  } & {
@@ -15110,17 +15110,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15110
15110
  } & {
15111
15111
  "/runs/:id": {
15112
15112
  $get: {
15113
- output: {
15114
- error: string;
15115
- };
15116
- outputFormat: "json";
15117
- status: 404;
15118
- input: {
15119
- param: {
15120
- id: string;
15121
- };
15122
- };
15123
- } | {
15124
15113
  output: {
15125
15114
  archiveWhenDone?: boolean | undefined;
15126
15115
  autoMergePr?: boolean | undefined;
@@ -16226,6 +16215,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16226
16215
  id: string;
16227
16216
  };
16228
16217
  };
16218
+ } | {
16219
+ output: {
16220
+ error: string;
16221
+ };
16222
+ outputFormat: "json";
16223
+ status: 404;
16224
+ input: {
16225
+ param: {
16226
+ id: string;
16227
+ };
16228
+ };
16229
16229
  };
16230
16230
  };
16231
16231
  } & {
@@ -16353,66 +16353,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16353
16353
  } & {
16354
16354
  "/runs/:id": {
16355
16355
  $patch: {
16356
- output: {
16357
- error: string;
16358
- };
16359
- outputFormat: "json";
16360
- status: 400;
16361
- input: {
16362
- json: {
16363
- archiveWhenDone?: boolean | undefined;
16364
- autoMergePr?: boolean | undefined;
16365
- allowWorkers?: boolean | undefined;
16366
- allowMessaging?: boolean | undefined;
16367
- title?: string | undefined;
16368
- task?: string | undefined;
16369
- };
16370
- } & {
16371
- param: {
16372
- id: string;
16373
- };
16374
- };
16375
- } | {
16376
- output: {
16377
- error: string;
16378
- };
16379
- outputFormat: "json";
16380
- status: 404;
16381
- input: {
16382
- json: {
16383
- archiveWhenDone?: boolean | undefined;
16384
- autoMergePr?: boolean | undefined;
16385
- allowWorkers?: boolean | undefined;
16386
- allowMessaging?: boolean | undefined;
16387
- title?: string | undefined;
16388
- task?: string | undefined;
16389
- };
16390
- } & {
16391
- param: {
16392
- id: string;
16393
- };
16394
- };
16395
- } | {
16396
- output: {
16397
- error: string;
16398
- };
16399
- outputFormat: "json";
16400
- status: 409;
16401
- input: {
16402
- json: {
16403
- archiveWhenDone?: boolean | undefined;
16404
- autoMergePr?: boolean | undefined;
16405
- allowWorkers?: boolean | undefined;
16406
- allowMessaging?: boolean | undefined;
16407
- title?: string | undefined;
16408
- task?: string | undefined;
16409
- };
16410
- } & {
16411
- param: {
16412
- id: string;
16413
- };
16414
- };
16415
- } | {
16416
16356
  output: {
16417
16357
  archiveWhenDone?: boolean | undefined;
16418
16358
  autoMergePr?: boolean | undefined;
@@ -17520,6 +17460,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17520
17460
  id: string;
17521
17461
  };
17522
17462
  };
17463
+ } | {
17464
+ output: {
17465
+ error: string;
17466
+ };
17467
+ outputFormat: "json";
17468
+ status: 404;
17469
+ input: {
17470
+ json: {
17471
+ archiveWhenDone?: boolean | undefined;
17472
+ autoMergePr?: boolean | undefined;
17473
+ allowWorkers?: boolean | undefined;
17474
+ allowMessaging?: boolean | undefined;
17475
+ title?: string | undefined;
17476
+ task?: string | undefined;
17477
+ };
17478
+ } & {
17479
+ param: {
17480
+ id: string;
17481
+ };
17482
+ };
17483
+ } | {
17484
+ output: {
17485
+ error: string;
17486
+ };
17487
+ outputFormat: "json";
17488
+ status: 400;
17489
+ input: {
17490
+ json: {
17491
+ archiveWhenDone?: boolean | undefined;
17492
+ autoMergePr?: boolean | undefined;
17493
+ allowWorkers?: boolean | undefined;
17494
+ allowMessaging?: boolean | undefined;
17495
+ title?: string | undefined;
17496
+ task?: string | undefined;
17497
+ };
17498
+ } & {
17499
+ param: {
17500
+ id: string;
17501
+ };
17502
+ };
17503
+ } | {
17504
+ output: {
17505
+ error: string;
17506
+ };
17507
+ outputFormat: "json";
17508
+ status: 409;
17509
+ input: {
17510
+ json: {
17511
+ archiveWhenDone?: boolean | undefined;
17512
+ autoMergePr?: boolean | undefined;
17513
+ allowWorkers?: boolean | undefined;
17514
+ allowMessaging?: boolean | undefined;
17515
+ title?: string | undefined;
17516
+ task?: string | undefined;
17517
+ };
17518
+ } & {
17519
+ param: {
17520
+ id: string;
17521
+ };
17522
+ };
17523
17523
  };
17524
17524
  };
17525
17525
  } & {
@@ -17624,7 +17624,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17624
17624
  error: string;
17625
17625
  };
17626
17626
  outputFormat: "json";
17627
- status: 400;
17627
+ status: 404;
17628
17628
  input: {
17629
17629
  json: {
17630
17630
  text?: string | undefined;
@@ -17643,7 +17643,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17643
17643
  error: string;
17644
17644
  };
17645
17645
  outputFormat: "json";
17646
- status: 404;
17646
+ status: 409;
17647
17647
  input: {
17648
17648
  json: {
17649
17649
  text?: string | undefined;
@@ -17659,10 +17659,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17659
17659
  };
17660
17660
  } | {
17661
17661
  output: {
17662
- error: string;
17662
+ delivered: true;
17663
17663
  };
17664
17664
  outputFormat: "json";
17665
- status: 409;
17665
+ status: import("hono/utils/http-status").ContentfulStatusCode;
17666
17666
  input: {
17667
17667
  json: {
17668
17668
  text?: string | undefined;
@@ -17678,10 +17678,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17678
17678
  };
17679
17679
  } | {
17680
17680
  output: {
17681
- delivered: true;
17681
+ error: string;
17682
17682
  };
17683
17683
  outputFormat: "json";
17684
- status: import("hono/utils/http-status").ContentfulStatusCode;
17684
+ status: 400;
17685
17685
  input: {
17686
17686
  json: {
17687
17687
  text?: string | undefined;
@@ -17749,7 +17749,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17749
17749
  error: string;
17750
17750
  };
17751
17751
  outputFormat: "json";
17752
- status: 400;
17752
+ status: 404;
17753
17753
  input: {
17754
17754
  json: {
17755
17755
  text?: string | undefined;
@@ -17770,7 +17770,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17770
17770
  error: string;
17771
17771
  };
17772
17772
  outputFormat: "json";
17773
- status: 404;
17773
+ status: 400;
17774
17774
  input: {
17775
17775
  json: {
17776
17776
  text?: string | undefined;
@@ -17990,11 +17990,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17990
17990
  "/runs/:id/open-in-cli": {
17991
17991
  $post: {
17992
17992
  output: {
17993
- opened: true;
17994
- command: string;
17993
+ error: string;
17995
17994
  };
17996
17995
  outputFormat: "json";
17997
- status: import("hono/utils/http-status").ContentfulStatusCode;
17996
+ status: 404 | 409;
17998
17997
  input: {
17999
17998
  param: {
18000
17999
  id: string;
@@ -18002,10 +18001,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18002
18001
  };
18003
18002
  } | {
18004
18003
  output: {
18005
- error: string;
18004
+ opened: true;
18005
+ command: string;
18006
18006
  };
18007
18007
  outputFormat: "json";
18008
- status: 404 | 409;
18008
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18009
18009
  input: {
18010
18010
  param: {
18011
18011
  id: string;
@@ -18020,7 +18020,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18020
18020
  error: string;
18021
18021
  };
18022
18022
  outputFormat: "json";
18023
- status: 400;
18023
+ status: 404 | 409;
18024
18024
  input: {
18025
18025
  json: {
18026
18026
  target: string;
@@ -18033,11 +18033,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18033
18033
  };
18034
18034
  } | {
18035
18035
  output: {
18036
- opened: true;
18037
- path: string;
18036
+ error: string;
18038
18037
  };
18039
18038
  outputFormat: "json";
18040
- status: import("hono/utils/http-status").ContentfulStatusCode;
18039
+ status: 400;
18041
18040
  input: {
18042
18041
  json: {
18043
18042
  target: string;
@@ -18050,10 +18049,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18050
18049
  };
18051
18050
  } | {
18052
18051
  output: {
18053
- error: string;
18052
+ opened: true;
18053
+ path: string;
18054
18054
  };
18055
18055
  outputFormat: "json";
18056
- status: 404 | 409;
18056
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18057
18057
  input: {
18058
18058
  json: {
18059
18059
  target: string;
@@ -18093,12 +18093,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18093
18093
  } & {
18094
18094
  "/runs/:id/images/:file": {
18095
18095
  $get: {
18096
- output: {
18097
- error: string;
18098
- code?: "invalid_input" | undefined;
18099
- };
18100
- outputFormat: "json";
18101
- status: 400;
18096
+ output: {};
18097
+ outputFormat: string;
18098
+ status: import("hono/utils/http-status").StatusCode;
18102
18099
  input: {
18103
18100
  param: {
18104
18101
  id: string;
@@ -18106,9 +18103,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18106
18103
  };
18107
18104
  };
18108
18105
  } | {
18109
- output: {};
18110
- outputFormat: string;
18111
- status: import("hono/utils/http-status").StatusCode;
18106
+ output: {
18107
+ error: string;
18108
+ code?: "invalid_input" | undefined;
18109
+ };
18110
+ outputFormat: "json";
18111
+ status: 400;
18112
18112
  input: {
18113
18113
  param: {
18114
18114
  id: string;
@@ -18144,6 +18144,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18144
18144
  } & {
18145
18145
  "/runs/:id/changes": {
18146
18146
  $get: {
18147
+ output: {
18148
+ error: string;
18149
+ };
18150
+ outputFormat: "json";
18151
+ status: 404 | 409;
18152
+ input: {
18153
+ param: {
18154
+ id: string;
18155
+ };
18156
+ };
18157
+ } | {
18147
18158
  output: {
18148
18159
  files: {
18149
18160
  path: string;
@@ -18172,7 +18183,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18172
18183
  id: string;
18173
18184
  };
18174
18185
  };
18175
- } | {
18186
+ };
18187
+ };
18188
+ } & {
18189
+ "/runs/:id/commits": {
18190
+ $get: {
18176
18191
  output: {
18177
18192
  error: string;
18178
18193
  };
@@ -18183,11 +18198,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18183
18198
  id: string;
18184
18199
  };
18185
18200
  };
18186
- };
18187
- };
18188
- } & {
18189
- "/runs/:id/commits": {
18190
- $get: {
18201
+ } | {
18191
18202
  output: {
18192
18203
  commits: {
18193
18204
  sha: string;
@@ -18203,7 +18214,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18203
18214
  id: string;
18204
18215
  };
18205
18216
  };
18206
- } | {
18217
+ };
18218
+ };
18219
+ } & {
18220
+ "/runs/:id/commit/:sha": {
18221
+ $get: {
18207
18222
  output: {
18208
18223
  error: string;
18209
18224
  };
@@ -18212,13 +18227,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18212
18227
  input: {
18213
18228
  param: {
18214
18229
  id: string;
18230
+ } & {
18231
+ sha: string;
18215
18232
  };
18216
18233
  };
18217
- };
18218
- };
18219
- } & {
18220
- "/runs/:id/commit/:sha": {
18221
- $get: {
18234
+ } | {
18222
18235
  output: {
18223
18236
  sha: string;
18224
18237
  subject: string;
@@ -18249,19 +18262,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18249
18262
  sha: string;
18250
18263
  };
18251
18264
  };
18252
- } | {
18253
- output: {
18254
- error: string;
18255
- };
18256
- outputFormat: "json";
18257
- status: 404 | 409;
18258
- input: {
18259
- param: {
18260
- id: string;
18261
- } & {
18262
- sha: string;
18263
- };
18264
- };
18265
18265
  };
18266
18266
  };
18267
18267
  } & {
@@ -18297,6 +18297,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18297
18297
  raw?: "1" | undefined;
18298
18298
  };
18299
18299
  };
18300
+ } | {
18301
+ output: {
18302
+ error: string;
18303
+ };
18304
+ outputFormat: "json";
18305
+ status: 404 | 409;
18306
+ input: {
18307
+ param: {
18308
+ id: string;
18309
+ };
18310
+ } & {
18311
+ query: {
18312
+ path: string | string[];
18313
+ raw?: "1" | undefined;
18314
+ };
18315
+ };
18300
18316
  } | {
18301
18317
  output: {
18302
18318
  type: "file";
@@ -18333,22 +18349,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18333
18349
  raw?: "1" | undefined;
18334
18350
  };
18335
18351
  };
18336
- } | {
18337
- output: {
18338
- error: string;
18339
- };
18340
- outputFormat: "json";
18341
- status: 404 | 409;
18342
- input: {
18343
- param: {
18344
- id: string;
18345
- };
18346
- } & {
18347
- query: {
18348
- path: string | string[];
18349
- raw?: "1" | undefined;
18350
- };
18351
- };
18352
18352
  };
18353
18353
  };
18354
18354
  } & {
@@ -18413,18 +18413,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18413
18413
  artifactId: string;
18414
18414
  };
18415
18415
  };
18416
- } | {
18417
- output: {
18418
- error: string;
18419
- };
18420
- outputFormat: "json";
18421
- status: 404;
18422
- input: {
18423
- param: {
18424
- id: string;
18425
- artifactId: string;
18426
- };
18427
- };
18428
18416
  } | {
18429
18417
  output: {
18430
18418
  type: "file";
@@ -18453,6 +18441,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18453
18441
  artifactId: string;
18454
18442
  };
18455
18443
  };
18444
+ } | {
18445
+ output: {
18446
+ error: string;
18447
+ };
18448
+ outputFormat: "json";
18449
+ status: 404;
18450
+ input: {
18451
+ param: {
18452
+ id: string;
18453
+ artifactId: string;
18454
+ };
18455
+ };
18456
18456
  };
18457
18457
  };
18458
18458
  } & {
@@ -18630,16 +18630,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18630
18630
  };
18631
18631
  } | {
18632
18632
  output: {
18633
- type: 'dir';
18634
- path: string;
18635
- entries: {
18636
- name: string;
18637
- type: 'dir' | 'file';
18638
- size?: number;
18639
- }[];
18633
+ error: string;
18640
18634
  };
18641
18635
  outputFormat: "json";
18642
- status: import("hono/utils/http-status").ContentfulStatusCode;
18636
+ status: 404 | 409;
18643
18637
  input: {
18644
18638
  query: {
18645
18639
  path?: string | undefined;
@@ -18652,12 +18646,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18652
18646
  };
18653
18647
  } | {
18654
18648
  output: {
18655
- type: 'file';
18649
+ type: 'dir';
18656
18650
  path: string;
18657
- size: number;
18658
- binary: boolean;
18659
- tooLarge: boolean;
18660
- content?: string | undefined;
18651
+ entries: {
18652
+ name: string;
18653
+ type: 'dir' | 'file';
18654
+ size?: number;
18655
+ }[];
18661
18656
  };
18662
18657
  outputFormat: "json";
18663
18658
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -18673,10 +18668,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18673
18668
  };
18674
18669
  } | {
18675
18670
  output: {
18676
- error: string;
18671
+ type: 'file';
18672
+ path: string;
18673
+ size: number;
18674
+ binary: boolean;
18675
+ tooLarge: boolean;
18676
+ content?: string | undefined;
18677
18677
  };
18678
18678
  outputFormat: "json";
18679
- status: 404 | 409;
18679
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18680
18680
  input: {
18681
18681
  query: {
18682
18682
  path?: string | undefined;
@@ -18693,11 +18693,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18693
18693
  "/runs/:id/git/commit": {
18694
18694
  $post: {
18695
18695
  output: {
18696
- committed: true;
18697
- sha: string;
18696
+ error: string;
18698
18697
  };
18699
18698
  outputFormat: "json";
18700
- status: import("hono/utils/http-status").ContentfulStatusCode;
18699
+ status: 404 | 409;
18701
18700
  input: {
18702
18701
  json: {
18703
18702
  message: string;
@@ -18709,10 +18708,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18709
18708
  };
18710
18709
  } | {
18711
18710
  output: {
18712
- error: string;
18711
+ committed: true;
18712
+ sha: string;
18713
18713
  };
18714
18714
  outputFormat: "json";
18715
- status: 404 | 409;
18715
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18716
18716
  input: {
18717
18717
  json: {
18718
18718
  message: string;
@@ -18728,13 +18728,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18728
18728
  "/runs/:id/git/push": {
18729
18729
  $post: {
18730
18730
  output: {
18731
- pushed: true;
18732
- branch: string;
18733
- remote: string;
18734
- upstreamSet: boolean;
18731
+ error: string;
18735
18732
  };
18736
18733
  outputFormat: "json";
18737
- status: import("hono/utils/http-status").ContentfulStatusCode;
18734
+ status: 404 | 409;
18738
18735
  input: {
18739
18736
  param: {
18740
18737
  id: string;
@@ -18742,10 +18739,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18742
18739
  };
18743
18740
  } | {
18744
18741
  output: {
18745
- error: string;
18742
+ pushed: true;
18743
+ branch: string;
18744
+ remote: string;
18745
+ upstreamSet: boolean;
18746
18746
  };
18747
18747
  outputFormat: "json";
18748
- status: 404 | 409;
18748
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18749
18749
  input: {
18750
18750
  param: {
18751
18751
  id: string;
@@ -18757,11 +18757,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18757
18757
  "/runs/:id/pr": {
18758
18758
  $post: {
18759
18759
  output: {
18760
- url: string;
18761
- dryRun: boolean;
18760
+ error: string;
18762
18761
  };
18763
18762
  outputFormat: "json";
18764
- status: 201;
18763
+ status: 404 | 409;
18765
18764
  input: {
18766
18765
  param: {
18767
18766
  id: string;
@@ -18769,10 +18768,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18769
18768
  };
18770
18769
  } | {
18771
18770
  output: {
18772
- error: string;
18771
+ url: string;
18772
+ dryRun: boolean;
18773
18773
  };
18774
18774
  outputFormat: "json";
18775
- status: 404 | 409;
18775
+ status: 201;
18776
18776
  input: {
18777
18777
  param: {
18778
18778
  id: string;
@@ -18784,10 +18784,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18784
18784
  "/runs/:id/remove-worktree": {
18785
18785
  $post: {
18786
18786
  output: {
18787
- removed: true;
18787
+ error: string;
18788
18788
  };
18789
18789
  outputFormat: "json";
18790
- status: import("hono/utils/http-status").ContentfulStatusCode;
18790
+ status: 404 | 409;
18791
18791
  input: {
18792
18792
  param: {
18793
18793
  id: string;
@@ -18795,10 +18795,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18795
18795
  };
18796
18796
  } | {
18797
18797
  output: {
18798
- error: string;
18798
+ removed: true;
18799
18799
  };
18800
18800
  outputFormat: "json";
18801
- status: 404 | 409;
18801
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18802
18802
  input: {
18803
18803
  param: {
18804
18804
  id: string;
@@ -18810,10 +18810,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18810
18810
  "/runs/:id": {
18811
18811
  $delete: {
18812
18812
  output: {
18813
- deleted: true;
18813
+ error: string;
18814
18814
  };
18815
18815
  outputFormat: "json";
18816
- status: import("hono/utils/http-status").ContentfulStatusCode;
18816
+ status: 404 | 409;
18817
18817
  input: {
18818
18818
  param: {
18819
18819
  id: string;
@@ -18821,10 +18821,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18821
18821
  };
18822
18822
  } | {
18823
18823
  output: {
18824
- error: string;
18824
+ deleted: true;
18825
18825
  };
18826
18826
  outputFormat: "json";
18827
- status: 404 | 409;
18827
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18828
18828
  input: {
18829
18829
  param: {
18830
18830
  id: string;
@@ -18853,7 +18853,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18853
18853
  error: string;
18854
18854
  };
18855
18855
  outputFormat: "json";
18856
- status: 400;
18856
+ status: 409;
18857
18857
  input: {
18858
18858
  query: {
18859
18859
  runner: string | string[];
@@ -18866,7 +18866,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18866
18866
  error: string;
18867
18867
  };
18868
18868
  outputFormat: "json";
18869
- status: 409;
18869
+ status: 400;
18870
18870
  input: {
18871
18871
  query: {
18872
18872
  runner: string | string[];
@@ -18996,10 +18996,42 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18996
18996
  "/ui-state": {
18997
18997
  $put: {
18998
18998
  output: {
18999
- error: string;
18999
+ [x: string]: import("hono/utils/types").JSONValue;
19000
+ sidebarLimits?: {
19001
+ overall?: number | null | undefined;
19002
+ needsYou?: number | null | undefined;
19003
+ finished?: number | null | undefined;
19004
+ working?: number | null | undefined;
19005
+ } | undefined;
19006
+ lastTask?: {
19007
+ source: "skill" | "workflow";
19008
+ ref: string;
19009
+ } | null | undefined;
19010
+ recentSources?: {
19011
+ source: "skill" | "workflow";
19012
+ ref: string;
19013
+ }[] | undefined;
19014
+ lastWorktree?: boolean | undefined;
19015
+ lastAutonomous?: boolean | undefined;
19016
+ skillUsage?: {
19017
+ [x: string]: number;
19018
+ } | undefined;
19019
+ runsView?: "list" | "table" | undefined;
19020
+ githubView?: "issues" | "prs" | undefined;
19021
+ appearance?: {
19022
+ accent?: "cezarion" | "lime" | "violet" | undefined;
19023
+ density?: "comfortable" | "compact" | "ultra" | undefined;
19024
+ width?: "narrow" | "wide" | undefined;
19025
+ } | undefined;
19026
+ promptTemplates?: {
19027
+ id: string;
19028
+ label: string;
19029
+ text: string;
19030
+ skills?: string[] | undefined;
19031
+ }[] | undefined;
19000
19032
  };
19001
19033
  outputFormat: "json";
19002
- status: 500;
19034
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19003
19035
  input: {
19004
19036
  json: {
19005
19037
  [x: string]: unknown;
@@ -19037,42 +19069,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19037
19069
  };
19038
19070
  } | {
19039
19071
  output: {
19040
- [x: string]: import("hono/utils/types").JSONValue;
19041
- sidebarLimits?: {
19042
- overall?: number | null | undefined;
19043
- needsYou?: number | null | undefined;
19044
- finished?: number | null | undefined;
19045
- working?: number | null | undefined;
19046
- } | undefined;
19047
- lastTask?: {
19048
- source: "skill" | "workflow";
19049
- ref: string;
19050
- } | null | undefined;
19051
- recentSources?: {
19052
- source: "skill" | "workflow";
19053
- ref: string;
19054
- }[] | undefined;
19055
- lastWorktree?: boolean | undefined;
19056
- lastAutonomous?: boolean | undefined;
19057
- skillUsage?: {
19058
- [x: string]: number;
19059
- } | undefined;
19060
- runsView?: "list" | "table" | undefined;
19061
- githubView?: "issues" | "prs" | undefined;
19062
- appearance?: {
19063
- accent?: "cezarion" | "lime" | "violet" | undefined;
19064
- density?: "comfortable" | "compact" | "ultra" | undefined;
19065
- width?: "narrow" | "wide" | undefined;
19066
- } | undefined;
19067
- promptTemplates?: {
19068
- id: string;
19069
- label: string;
19070
- text: string;
19071
- skills?: string[] | undefined;
19072
- }[] | undefined;
19072
+ error: string;
19073
19073
  };
19074
19074
  outputFormat: "json";
19075
- status: import("hono/utils/http-status").ContentfulStatusCode;
19075
+ status: 500;
19076
19076
  input: {
19077
19077
  json: {
19078
19078
  [x: string]: unknown;
@@ -19132,7 +19132,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19132
19132
  error: string;
19133
19133
  };
19134
19134
  outputFormat: "json";
19135
- status: 400;
19135
+ status: 409;
19136
19136
  input: {
19137
19137
  json: {
19138
19138
  target: string;
@@ -19143,7 +19143,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19143
19143
  error: string;
19144
19144
  };
19145
19145
  outputFormat: "json";
19146
- status: 409;
19146
+ status: 400;
19147
19147
  input: {
19148
19148
  json: {
19149
19149
  target: string;
@@ -19166,12 +19166,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19166
19166
  }, "/"> | import("hono/types").MergeSchemaPath<{
19167
19167
  "/runs/:id/events": {
19168
19168
  $get: {
19169
- output: {
19170
- error: string;
19171
- code?: "invalid_input" | undefined;
19172
- };
19173
- outputFormat: "json";
19174
- status: 400;
19169
+ output: {};
19170
+ outputFormat: string;
19171
+ status: import("hono/utils/http-status").StatusCode;
19175
19172
  input: {
19176
19173
  param: {
19177
19174
  id: string;
@@ -19183,9 +19180,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19183
19180
  };
19184
19181
  };
19185
19182
  } | {
19186
- output: {};
19187
- outputFormat: string;
19188
- status: import("hono/utils/http-status").StatusCode;
19183
+ output: {
19184
+ error: string;
19185
+ code?: "invalid_input" | undefined;
19186
+ };
19187
+ outputFormat: "json";
19188
+ status: 400;
19189
19189
  input: {
19190
19190
  param: {
19191
19191
  id: string;
@@ -19246,10 +19246,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19246
19246
  "/config": {
19247
19247
  $put: {
19248
19248
  output: {
19249
- error: string;
19249
+ archiveOnMerge: boolean | null;
19250
+ effectiveArchiveOnMerge: boolean;
19251
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
19252
+ baseBranch: string | null;
19253
+ defaultRunner: string;
19254
+ systemPrompt: string | null;
19255
+ defaultModels: {
19256
+ [x: string]: string | undefined;
19257
+ };
19258
+ modelsLocked: boolean;
19259
+ maxParallel: number;
19260
+ memoryLimitMb: number | null;
19261
+ worktreeRetention: number;
19262
+ liveTitleUpdates: boolean | null;
19263
+ reviewGate: boolean | null;
19264
+ worktreeSetup: {
19265
+ commands: string[];
19266
+ timeoutSeconds: number;
19267
+ } | null;
19268
+ worktreeSetupIssue: string | null;
19269
+ worktreeTeardown: {
19270
+ commands: string[];
19271
+ timeoutSeconds: number;
19272
+ } | null;
19273
+ worktreeTeardownIssue: string | null;
19250
19274
  };
19251
19275
  outputFormat: "json";
19252
- status: 409;
19276
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19253
19277
  input: {
19254
19278
  json: {
19255
19279
  archiveOnMerge?: boolean | null | undefined;
@@ -19277,7 +19301,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19277
19301
  error: string;
19278
19302
  };
19279
19303
  outputFormat: "json";
19280
- status: 500;
19304
+ status: 409;
19281
19305
  input: {
19282
19306
  json: {
19283
19307
  archiveOnMerge?: boolean | null | undefined;
@@ -19302,34 +19326,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19302
19326
  };
19303
19327
  } | {
19304
19328
  output: {
19305
- archiveOnMerge: boolean | null;
19306
- effectiveArchiveOnMerge: boolean;
19307
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
19308
- baseBranch: string | null;
19309
- defaultRunner: string;
19310
- systemPrompt: string | null;
19311
- defaultModels: {
19312
- [x: string]: string | undefined;
19313
- };
19314
- modelsLocked: boolean;
19315
- maxParallel: number;
19316
- memoryLimitMb: number | null;
19317
- worktreeRetention: number;
19318
- liveTitleUpdates: boolean | null;
19319
- reviewGate: boolean | null;
19320
- worktreeSetup: {
19321
- commands: string[];
19322
- timeoutSeconds: number;
19323
- } | null;
19324
- worktreeSetupIssue: string | null;
19325
- worktreeTeardown: {
19326
- commands: string[];
19327
- timeoutSeconds: number;
19328
- } | null;
19329
- worktreeTeardownIssue: string | null;
19329
+ error: string;
19330
19330
  };
19331
19331
  outputFormat: "json";
19332
- status: import("hono/utils/http-status").ContentfulStatusCode;
19332
+ status: 500;
19333
19333
  input: {
19334
19334
  json: {
19335
19335
  archiveOnMerge?: boolean | null | undefined;
@@ -19478,7 +19478,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19478
19478
  error: string;
19479
19479
  };
19480
19480
  outputFormat: "json";
19481
- status: 400;
19481
+ status: 409;
19482
19482
  input: {
19483
19483
  query: {
19484
19484
  q?: string | undefined;
@@ -19491,7 +19491,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19491
19491
  error: string;
19492
19492
  };
19493
19493
  outputFormat: "json";
19494
- status: 409;
19494
+ status: 400;
19495
19495
  input: {
19496
19496
  query: {
19497
19497
  q?: string | undefined;
@@ -19578,11 +19578,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19578
19578
  };
19579
19579
  } | {
19580
19580
  output: {
19581
- runId: string;
19582
- worktreeReclaimedAt: string;
19581
+ error: string;
19583
19582
  };
19584
19583
  outputFormat: "json";
19585
- status: import("hono/utils/http-status").ContentfulStatusCode;
19584
+ status: 404 | 409;
19586
19585
  input: {
19587
19586
  param: {
19588
19587
  runId: string;
@@ -19590,10 +19589,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19590
19589
  };
19591
19590
  } | {
19592
19591
  output: {
19593
- error: string;
19592
+ runId: string;
19593
+ worktreeReclaimedAt: string;
19594
19594
  };
19595
19595
  outputFormat: "json";
19596
- status: 404 | 409;
19596
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19597
19597
  input: {
19598
19598
  param: {
19599
19599
  runId: string;
@@ -19689,10 +19689,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19689
19689
  "/agent-config/:id": {
19690
19690
  $put: {
19691
19691
  output: {
19692
- error: string;
19692
+ id: string;
19693
+ path: string;
19694
+ exists: boolean;
19695
+ content: string;
19696
+ version: string | null;
19693
19697
  };
19694
19698
  outputFormat: "json";
19695
- status: 404;
19699
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19696
19700
  input: {
19697
19701
  json: {
19698
19702
  content: string;
@@ -19705,14 +19709,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19705
19709
  };
19706
19710
  } | {
19707
19711
  output: {
19708
- id: string;
19709
- path: string;
19710
- exists: boolean;
19711
- content: string;
19712
- version: string | null;
19712
+ error: string;
19713
19713
  };
19714
19714
  outputFormat: "json";
19715
- status: import("hono/utils/http-status").ContentfulStatusCode;
19715
+ status: 404;
19716
19716
  input: {
19717
19717
  json: {
19718
19718
  content: string;
@@ -19783,11 +19783,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19783
19783
  "/workflows": {
19784
19784
  $post: {
19785
19785
  output: {
19786
- path: string;
19787
- name: string;
19786
+ error: string;
19788
19787
  };
19789
19788
  outputFormat: "json";
19790
- status: 201;
19789
+ status: 400;
19791
19790
  input: {
19792
19791
  json: {
19793
19792
  name: string;
@@ -19817,9 +19816,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19817
19816
  } | {
19818
19817
  output: {
19819
19818
  error: string;
19819
+ exists: true;
19820
19820
  };
19821
19821
  outputFormat: "json";
19822
- status: 400;
19822
+ status: 409;
19823
19823
  input: {
19824
19824
  json: {
19825
19825
  name: string;
@@ -19849,10 +19849,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19849
19849
  } | {
19850
19850
  output: {
19851
19851
  error: string;
19852
- exists: true;
19853
19852
  };
19854
19853
  outputFormat: "json";
19855
- status: 409;
19854
+ status: 500;
19856
19855
  input: {
19857
19856
  json: {
19858
19857
  name: string;
@@ -19881,10 +19880,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19881
19880
  };
19882
19881
  } | {
19883
19882
  output: {
19884
- error: string;
19883
+ path: string;
19884
+ name: string;
19885
19885
  };
19886
19886
  outputFormat: "json";
19887
- status: 500;
19887
+ status: 201;
19888
19888
  input: {
19889
19889
  json: {
19890
19890
  name: string;
@@ -19917,11 +19917,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19917
19917
  "/workflows/:name": {
19918
19918
  $delete: {
19919
19919
  output: {
19920
- ok: true;
19921
- path: string;
19920
+ error: string;
19922
19921
  };
19923
19922
  outputFormat: "json";
19924
- status: import("hono/utils/http-status").ContentfulStatusCode;
19923
+ status: 400 | 404 | 409 | 500;
19925
19924
  input: {
19926
19925
  param: {
19927
19926
  name: string;
@@ -19929,10 +19928,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19929
19928
  };
19930
19929
  } | {
19931
19930
  output: {
19932
- error: string;
19931
+ ok: true;
19932
+ path: string;
19933
19933
  };
19934
19934
  outputFormat: "json";
19935
- status: 400 | 404 | 409 | 500;
19935
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19936
19936
  input: {
19937
19937
  param: {
19938
19938
  name: string;
@@ -20103,18 +20103,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20103
20103
  "/repo/branches/delete": {
20104
20104
  $post: {
20105
20105
  output: {
20106
- deleted: string[];
20106
+ error: string;
20107
20107
  refused: {
20108
20108
  name: string;
20109
20109
  reason: string;
20110
20110
  }[];
20111
- dropped?: {
20112
- sha: string;
20113
- subject: string;
20114
- }[] | undefined;
20115
20111
  };
20116
20112
  outputFormat: "json";
20117
- status: 200;
20113
+ status: 409;
20118
20114
  input: {
20119
20115
  json: {
20120
20116
  names: string[];
@@ -20123,14 +20119,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20123
20119
  };
20124
20120
  } | {
20125
20121
  output: {
20126
- error: string;
20122
+ deleted: string[];
20127
20123
  refused: {
20128
20124
  name: string;
20129
20125
  reason: string;
20130
20126
  }[];
20127
+ dropped?: {
20128
+ sha: string;
20129
+ subject: string;
20130
+ }[] | undefined;
20131
20131
  };
20132
20132
  outputFormat: "json";
20133
- status: 409;
20133
+ status: 200;
20134
20134
  input: {
20135
20135
  json: {
20136
20136
  names: string[];
@@ -20151,12 +20151,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20151
20151
  } & {
20152
20152
  "/repo/commit/:sha": {
20153
20153
  $get: {
20154
- output: {
20155
- error: string;
20156
- code?: "invalid_input" | undefined;
20157
- };
20158
- outputFormat: "json";
20159
- status: 400;
20154
+ output: string;
20155
+ outputFormat: "text";
20156
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20160
20157
  input: {
20161
20158
  query: {
20162
20159
  structured?: string | undefined;
@@ -20169,9 +20166,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20169
20166
  } | {
20170
20167
  output: {
20171
20168
  error: string;
20169
+ code?: "invalid_input" | undefined;
20172
20170
  };
20173
20171
  outputFormat: "json";
20174
- status: 409;
20172
+ status: 400;
20175
20173
  input: {
20176
20174
  query: {
20177
20175
  structured?: string | undefined;
@@ -20215,9 +20213,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20215
20213
  };
20216
20214
  };
20217
20215
  } | {
20218
- output: string;
20219
- outputFormat: "text";
20220
- status: import("hono/utils/http-status").ContentfulStatusCode;
20216
+ output: {
20217
+ error: string;
20218
+ };
20219
+ outputFormat: "json";
20220
+ status: 409;
20221
20221
  input: {
20222
20222
  query: {
20223
20223
  structured?: string | undefined;
@@ -20232,13 +20232,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20232
20232
  } & {
20233
20233
  "/repo/changes": {
20234
20234
  $get: {
20235
- output: {
20236
- error: string;
20237
- };
20238
- outputFormat: "json";
20239
- status: 409;
20240
- input: {};
20241
- } | {
20242
20235
  output: {
20243
20236
  files: {
20244
20237
  path: string;
@@ -20263,6 +20256,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20263
20256
  outputFormat: "json";
20264
20257
  status: import("hono/utils/http-status").ContentfulStatusCode;
20265
20258
  input: {};
20259
+ } | {
20260
+ output: {
20261
+ error: string;
20262
+ };
20263
+ outputFormat: "json";
20264
+ status: 409;
20265
+ input: {};
20266
20266
  };
20267
20267
  };
20268
20268
  } & {
@@ -20287,12 +20287,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20287
20287
  "/repo/pull": {
20288
20288
  $post: {
20289
20289
  output: {
20290
- branch: string;
20291
- pulled: true;
20292
- summary: string;
20290
+ error: string;
20293
20291
  };
20294
20292
  outputFormat: "json";
20295
- status: 200;
20293
+ status: 409;
20296
20294
  input: {
20297
20295
  json: {
20298
20296
  branch?: string | undefined;
@@ -20301,10 +20299,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20301
20299
  };
20302
20300
  } | {
20303
20301
  output: {
20304
- error: string;
20302
+ branch: string;
20303
+ pulled: true;
20304
+ summary: string;
20305
20305
  };
20306
20306
  outputFormat: "json";
20307
- status: 409;
20307
+ status: 200;
20308
20308
  input: {
20309
20309
  json: {
20310
20310
  branch?: string | undefined;
@@ -21258,18 +21258,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21258
21258
  "/automations": {
21259
21259
  $post: {
21260
21260
  output: {
21261
- automation: {
21262
- [x: string]: import("hono/utils/types").JSONValue;
21263
- id: string;
21264
- revision: number;
21261
+ error: string;
21262
+ };
21263
+ outputFormat: "json";
21264
+ status: 400 | 404 | 409;
21265
+ input: {
21266
+ json: {
21265
21267
  name: string;
21266
21268
  description?: string | undefined;
21267
- enabled: boolean;
21268
- kind: "github" | "schedule";
21269
+ enabled?: boolean | undefined;
21270
+ kind?: "github" | "schedule" | undefined;
21269
21271
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
21270
21272
  intervalSeconds?: number | undefined;
21271
21273
  filters?: {
21272
- [x: string]: import("hono/utils/types").JSONValue;
21274
+ [x: string]: unknown;
21273
21275
  includeExisting?: boolean | undefined;
21274
21276
  requireCurrentLabels?: boolean | undefined;
21275
21277
  authors?: string[] | undefined;
@@ -21278,11 +21280,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21278
21280
  anyLabels?: string[] | undefined;
21279
21281
  excludeLabels?: string[] | undefined;
21280
21282
  changedLabels?: string[] | undefined;
21281
- lookbackDays: number;
21282
- maxRecords: number;
21283
+ lookbackDays?: number | undefined;
21284
+ maxRecords?: number | undefined;
21283
21285
  } | undefined;
21284
21286
  schedule?: {
21285
- [x: string]: import("hono/utils/types").JSONValue;
21286
21287
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
21287
21288
  hour?: number | undefined;
21288
21289
  minute?: number | undefined;
@@ -21293,7 +21294,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21293
21294
  latestStartMinutes?: number | undefined;
21294
21295
  } | undefined;
21295
21296
  task: {
21296
- [x: string]: import("hono/utils/types").JSONValue;
21297
21297
  archiveWhenDone?: boolean | undefined;
21298
21298
  autoMergePr?: boolean | undefined;
21299
21299
  allowWorkers?: boolean | undefined;
@@ -21315,47 +21315,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21315
21315
  command?: string | undefined;
21316
21316
  onFail?: {
21317
21317
  retry: string;
21318
- max: number;
21318
+ max?: number | undefined;
21319
21319
  } | undefined;
21320
21320
  }[] | undefined;
21321
21321
  runner?: string | undefined;
21322
21322
  model?: string | undefined;
21323
21323
  effort?: string | undefined;
21324
- variants?: 1 | 2 | 3 | undefined;
21325
21324
  worktree?: boolean | undefined;
21326
21325
  autonomous?: boolean | undefined;
21327
21326
  systemPrompt?: string | undefined;
21328
21327
  };
21329
- archived?: {
21330
- [x: string]: import("hono/utils/types").JSONValue;
21331
- at: string;
21332
- outcome: "cancelled" | "launched";
21333
- runId?: string | undefined;
21334
- receiptId?: string | undefined;
21335
- trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
21336
- } | undefined;
21337
- createdAt: string;
21338
- updatedAt: string;
21328
+ enable?: boolean | undefined;
21339
21329
  };
21340
- once?: {
21341
- dueAt: string;
21342
- timeZone: string;
21343
- resolvedInstant: string;
21344
- note: string;
21345
- } | undefined;
21346
21330
  };
21347
- outputFormat: "json";
21348
- status: 201;
21349
- input: {
21350
- json: {
21331
+ } | {
21332
+ output: {
21333
+ automation: {
21334
+ [x: string]: import("hono/utils/types").JSONValue;
21335
+ id: string;
21336
+ revision: number;
21351
21337
  name: string;
21352
21338
  description?: string | undefined;
21353
- enabled?: boolean | undefined;
21354
- kind?: "github" | "schedule" | undefined;
21339
+ enabled: boolean;
21340
+ kind: "github" | "schedule";
21355
21341
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
21356
21342
  intervalSeconds?: number | undefined;
21357
21343
  filters?: {
21358
- [x: string]: unknown;
21344
+ [x: string]: import("hono/utils/types").JSONValue;
21359
21345
  includeExisting?: boolean | undefined;
21360
21346
  requireCurrentLabels?: boolean | undefined;
21361
21347
  authors?: string[] | undefined;
@@ -21364,10 +21350,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21364
21350
  anyLabels?: string[] | undefined;
21365
21351
  excludeLabels?: string[] | undefined;
21366
21352
  changedLabels?: string[] | undefined;
21367
- lookbackDays?: number | undefined;
21368
- maxRecords?: number | undefined;
21353
+ lookbackDays: number;
21354
+ maxRecords: number;
21369
21355
  } | undefined;
21370
21356
  schedule?: {
21357
+ [x: string]: import("hono/utils/types").JSONValue;
21371
21358
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
21372
21359
  hour?: number | undefined;
21373
21360
  minute?: number | undefined;
@@ -21378,6 +21365,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21378
21365
  latestStartMinutes?: number | undefined;
21379
21366
  } | undefined;
21380
21367
  task: {
21368
+ [x: string]: import("hono/utils/types").JSONValue;
21381
21369
  archiveWhenDone?: boolean | undefined;
21382
21370
  autoMergePr?: boolean | undefined;
21383
21371
  allowWorkers?: boolean | undefined;
@@ -21399,25 +21387,37 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21399
21387
  command?: string | undefined;
21400
21388
  onFail?: {
21401
21389
  retry: string;
21402
- max?: number | undefined;
21390
+ max: number;
21403
21391
  } | undefined;
21404
21392
  }[] | undefined;
21405
21393
  runner?: string | undefined;
21406
21394
  model?: string | undefined;
21407
21395
  effort?: string | undefined;
21396
+ variants?: 1 | 2 | 3 | undefined;
21408
21397
  worktree?: boolean | undefined;
21409
21398
  autonomous?: boolean | undefined;
21410
21399
  systemPrompt?: string | undefined;
21411
21400
  };
21412
- enable?: boolean | undefined;
21401
+ archived?: {
21402
+ [x: string]: import("hono/utils/types").JSONValue;
21403
+ at: string;
21404
+ outcome: "cancelled" | "launched";
21405
+ runId?: string | undefined;
21406
+ receiptId?: string | undefined;
21407
+ trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
21408
+ } | undefined;
21409
+ createdAt: string;
21410
+ updatedAt: string;
21413
21411
  };
21414
- };
21415
- } | {
21416
- output: {
21417
- error: string;
21412
+ once?: {
21413
+ dueAt: string;
21414
+ timeZone: string;
21415
+ resolvedInstant: string;
21416
+ note: string;
21417
+ } | undefined;
21418
21418
  };
21419
21419
  outputFormat: "json";
21420
- status: 400 | 404 | 409;
21420
+ status: 201;
21421
21421
  input: {
21422
21422
  json: {
21423
21423
  name: string;
@@ -21489,6 +21489,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21489
21489
  } & {
21490
21490
  "/automations/:id": {
21491
21491
  $get: {
21492
+ output: {
21493
+ error: string;
21494
+ };
21495
+ outputFormat: "json";
21496
+ status: 400 | 404 | 409;
21497
+ input: {
21498
+ param: {
21499
+ id: string;
21500
+ };
21501
+ };
21502
+ } | {
21492
21503
  output: {
21493
21504
  automation: {
21494
21505
  [x: string]: import("hono/utils/types").JSONValue;
@@ -21646,35 +21657,26 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21646
21657
  id: string;
21647
21658
  };
21648
21659
  };
21649
- } | {
21650
- output: {
21651
- error: string;
21652
- };
21653
- outputFormat: "json";
21654
- status: 400 | 404 | 409;
21655
- input: {
21656
- param: {
21657
- id: string;
21658
- };
21659
- };
21660
21660
  };
21661
21661
  };
21662
21662
  } & {
21663
21663
  "/automations/:id": {
21664
21664
  $put: {
21665
21665
  output: {
21666
- automation: {
21667
- [x: string]: import("hono/utils/types").JSONValue;
21668
- id: string;
21669
- revision: number;
21666
+ error: string;
21667
+ };
21668
+ outputFormat: "json";
21669
+ status: 400 | 404 | 409;
21670
+ input: {
21671
+ json: {
21670
21672
  name: string;
21671
21673
  description?: string | undefined;
21672
- enabled: boolean;
21673
- kind: "github" | "schedule";
21674
+ enabled?: boolean | undefined;
21675
+ kind?: "github" | "schedule" | undefined;
21674
21676
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
21675
21677
  intervalSeconds?: number | undefined;
21676
21678
  filters?: {
21677
- [x: string]: import("hono/utils/types").JSONValue;
21679
+ [x: string]: unknown;
21678
21680
  includeExisting?: boolean | undefined;
21679
21681
  requireCurrentLabels?: boolean | undefined;
21680
21682
  authors?: string[] | undefined;
@@ -21683,11 +21685,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21683
21685
  anyLabels?: string[] | undefined;
21684
21686
  excludeLabels?: string[] | undefined;
21685
21687
  changedLabels?: string[] | undefined;
21686
- lookbackDays: number;
21687
- maxRecords: number;
21688
+ lookbackDays?: number | undefined;
21689
+ maxRecords?: number | undefined;
21688
21690
  } | undefined;
21689
21691
  schedule?: {
21690
- [x: string]: import("hono/utils/types").JSONValue;
21691
21692
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
21692
21693
  hour?: number | undefined;
21693
21694
  minute?: number | undefined;
@@ -21698,7 +21699,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21698
21699
  latestStartMinutes?: number | undefined;
21699
21700
  } | undefined;
21700
21701
  task: {
21701
- [x: string]: import("hono/utils/types").JSONValue;
21702
21702
  archiveWhenDone?: boolean | undefined;
21703
21703
  autoMergePr?: boolean | undefined;
21704
21704
  allowWorkers?: boolean | undefined;
@@ -21720,41 +21720,37 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21720
21720
  command?: string | undefined;
21721
21721
  onFail?: {
21722
21722
  retry: string;
21723
- max: number;
21723
+ max?: number | undefined;
21724
21724
  } | undefined;
21725
21725
  }[] | undefined;
21726
21726
  runner?: string | undefined;
21727
21727
  model?: string | undefined;
21728
21728
  effort?: string | undefined;
21729
- variants?: 1 | 2 | 3 | undefined;
21730
21729
  worktree?: boolean | undefined;
21731
21730
  autonomous?: boolean | undefined;
21732
21731
  systemPrompt?: string | undefined;
21733
21732
  };
21734
- archived?: {
21735
- [x: string]: import("hono/utils/types").JSONValue;
21736
- at: string;
21737
- outcome: "cancelled" | "launched";
21738
- runId?: string | undefined;
21739
- receiptId?: string | undefined;
21740
- trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
21741
- } | undefined;
21742
- createdAt: string;
21743
- updatedAt: string;
21733
+ expectedRevision: number;
21734
+ };
21735
+ } & {
21736
+ param: {
21737
+ id: string;
21744
21738
  };
21745
21739
  };
21746
- outputFormat: "json";
21747
- status: import("hono/utils/http-status").ContentfulStatusCode;
21748
- input: {
21749
- json: {
21740
+ } | {
21741
+ output: {
21742
+ automation: {
21743
+ [x: string]: import("hono/utils/types").JSONValue;
21744
+ id: string;
21745
+ revision: number;
21750
21746
  name: string;
21751
21747
  description?: string | undefined;
21752
- enabled?: boolean | undefined;
21753
- kind?: "github" | "schedule" | undefined;
21748
+ enabled: boolean;
21749
+ kind: "github" | "schedule";
21754
21750
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
21755
21751
  intervalSeconds?: number | undefined;
21756
21752
  filters?: {
21757
- [x: string]: unknown;
21753
+ [x: string]: import("hono/utils/types").JSONValue;
21758
21754
  includeExisting?: boolean | undefined;
21759
21755
  requireCurrentLabels?: boolean | undefined;
21760
21756
  authors?: string[] | undefined;
@@ -21763,10 +21759,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21763
21759
  anyLabels?: string[] | undefined;
21764
21760
  excludeLabels?: string[] | undefined;
21765
21761
  changedLabels?: string[] | undefined;
21766
- lookbackDays?: number | undefined;
21767
- maxRecords?: number | undefined;
21762
+ lookbackDays: number;
21763
+ maxRecords: number;
21768
21764
  } | undefined;
21769
21765
  schedule?: {
21766
+ [x: string]: import("hono/utils/types").JSONValue;
21770
21767
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
21771
21768
  hour?: number | undefined;
21772
21769
  minute?: number | undefined;
@@ -21777,6 +21774,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21777
21774
  latestStartMinutes?: number | undefined;
21778
21775
  } | undefined;
21779
21776
  task: {
21777
+ [x: string]: import("hono/utils/types").JSONValue;
21780
21778
  archiveWhenDone?: boolean | undefined;
21781
21779
  autoMergePr?: boolean | undefined;
21782
21780
  allowWorkers?: boolean | undefined;
@@ -21798,29 +21796,31 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21798
21796
  command?: string | undefined;
21799
21797
  onFail?: {
21800
21798
  retry: string;
21801
- max?: number | undefined;
21799
+ max: number;
21802
21800
  } | undefined;
21803
21801
  }[] | undefined;
21804
21802
  runner?: string | undefined;
21805
21803
  model?: string | undefined;
21806
21804
  effort?: string | undefined;
21805
+ variants?: 1 | 2 | 3 | undefined;
21807
21806
  worktree?: boolean | undefined;
21808
21807
  autonomous?: boolean | undefined;
21809
21808
  systemPrompt?: string | undefined;
21810
21809
  };
21811
- expectedRevision: number;
21812
- };
21813
- } & {
21814
- param: {
21815
- id: string;
21810
+ archived?: {
21811
+ [x: string]: import("hono/utils/types").JSONValue;
21812
+ at: string;
21813
+ outcome: "cancelled" | "launched";
21814
+ runId?: string | undefined;
21815
+ receiptId?: string | undefined;
21816
+ trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
21817
+ } | undefined;
21818
+ createdAt: string;
21819
+ updatedAt: string;
21816
21820
  };
21817
21821
  };
21818
- } | {
21819
- output: {
21820
- error: string;
21821
- };
21822
21822
  outputFormat: "json";
21823
- status: 400 | 404 | 409;
21823
+ status: import("hono/utils/http-status").ContentfulStatusCode;
21824
21824
  input: {
21825
21825
  json: {
21826
21826
  name: string;
@@ -21920,6 +21920,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21920
21920
  } & {
21921
21921
  "/automations/:id/enable": {
21922
21922
  $post: {
21923
+ output: {
21924
+ error: string;
21925
+ };
21926
+ outputFormat: "json";
21927
+ status: 400 | 404 | 409;
21928
+ input: {
21929
+ param: {
21930
+ id: string;
21931
+ };
21932
+ };
21933
+ } | {
21923
21934
  output: {
21924
21935
  automation: {
21925
21936
  [x: string]: import("hono/utils/types").JSONValue;
@@ -22008,7 +22019,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22008
22019
  id: string;
22009
22020
  };
22010
22021
  };
22011
- } | {
22022
+ };
22023
+ };
22024
+ } & {
22025
+ "/automations/:id/pause": {
22026
+ $post: {
22012
22027
  output: {
22013
22028
  error: string;
22014
22029
  };
@@ -22019,11 +22034,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22019
22034
  id: string;
22020
22035
  };
22021
22036
  };
22022
- };
22023
- };
22024
- } & {
22025
- "/automations/:id/pause": {
22026
- $post: {
22037
+ } | {
22027
22038
  output: {
22028
22039
  automation: {
22029
22040
  [x: string]: import("hono/utils/types").JSONValue;
@@ -22112,7 +22123,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22112
22123
  id: string;
22113
22124
  };
22114
22125
  };
22115
- } | {
22126
+ };
22127
+ };
22128
+ } & {
22129
+ "/automations/:id/cancel": {
22130
+ $post: {
22116
22131
  output: {
22117
22132
  error: string;
22118
22133
  };
@@ -22123,11 +22138,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22123
22138
  id: string;
22124
22139
  };
22125
22140
  };
22126
- };
22127
- };
22128
- } & {
22129
- "/automations/:id/cancel": {
22130
- $post: {
22141
+ } | {
22131
22142
  output: {
22132
22143
  automation: {
22133
22144
  [x: string]: import("hono/utils/types").JSONValue;
@@ -22216,27 +22227,16 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22216
22227
  id: string;
22217
22228
  };
22218
22229
  };
22219
- } | {
22220
- output: {
22221
- error: string;
22222
- };
22223
- outputFormat: "json";
22224
- status: 400 | 404 | 409;
22225
- input: {
22226
- param: {
22227
- id: string;
22228
- };
22229
- };
22230
22230
  };
22231
22231
  };
22232
22232
  } & {
22233
22233
  "/automations/:id/run": {
22234
22234
  $post: {
22235
22235
  output: {
22236
- runId: string;
22236
+ error: string;
22237
22237
  };
22238
22238
  outputFormat: "json";
22239
- status: 202;
22239
+ status: 400 | 404 | 409;
22240
22240
  input: {
22241
22241
  param: {
22242
22242
  id: string;
@@ -22244,10 +22244,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22244
22244
  };
22245
22245
  } | {
22246
22246
  output: {
22247
- error: string;
22247
+ runId: string;
22248
22248
  };
22249
22249
  outputFormat: "json";
22250
- status: 400 | 404 | 409;
22250
+ status: 202;
22251
22251
  input: {
22252
22252
  param: {
22253
22253
  id: string;
@@ -22259,10 +22259,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22259
22259
  "/automations/:id/check": {
22260
22260
  $post: {
22261
22261
  output: {
22262
- checkId: string;
22262
+ error: string;
22263
22263
  };
22264
22264
  outputFormat: "json";
22265
- status: 202;
22265
+ status: 404;
22266
22266
  input: {
22267
22267
  json: {
22268
22268
  mode: "execute" | "preview";
@@ -22277,7 +22277,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22277
22277
  error: string;
22278
22278
  };
22279
22279
  outputFormat: "json";
22280
- status: 404;
22280
+ status: 409;
22281
22281
  input: {
22282
22282
  json: {
22283
22283
  mode: "execute" | "preview";
@@ -22289,10 +22289,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22289
22289
  };
22290
22290
  } | {
22291
22291
  output: {
22292
- error: string;
22292
+ checkId: string;
22293
22293
  };
22294
22294
  outputFormat: "json";
22295
- status: 409;
22295
+ status: 202;
22296
22296
  input: {
22297
22297
  json: {
22298
22298
  mode: "execute" | "preview";
@@ -23509,18 +23509,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23509
23509
  } & {
23510
23510
  "/run-summaries": {
23511
23511
  $get: {
23512
- output: {
23513
- error: string;
23514
- code?: "invalid_input" | undefined;
23515
- };
23516
- outputFormat: "json";
23517
- status: 400;
23518
- input: {
23519
- query: {
23520
- archived?: "all" | "recent" | undefined;
23521
- };
23522
- };
23523
- } | {
23524
23512
  output: {
23525
23513
  id: string;
23526
23514
  title: string;
@@ -23648,6 +23636,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23648
23636
  archived?: "all" | "recent" | undefined;
23649
23637
  };
23650
23638
  };
23639
+ } | {
23640
+ output: {
23641
+ error: string;
23642
+ code?: "invalid_input" | undefined;
23643
+ };
23644
+ outputFormat: "json";
23645
+ status: 400;
23646
+ input: {
23647
+ query: {
23648
+ archived?: "all" | "recent" | undefined;
23649
+ };
23650
+ };
23651
23651
  };
23652
23652
  };
23653
23653
  } & {
@@ -23992,24 +23992,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23992
23992
  "/runs/:id/worker-destroy": {
23993
23993
  $post: {
23994
23994
  output: {
23995
- workerId: string;
23996
- state: "complete" | "incomplete";
23997
- work?: {
23998
- uncommittedFiles: number;
23999
- commits: number;
24000
- } | undefined;
24001
- deleted?: ({
24002
- kind: "worktree";
24003
- path: string;
24004
- } | {
24005
- kind: "branch";
24006
- ref: string;
24007
- })[] | undefined;
24008
- remaining: ("branch" | "process" | "worktree")[];
24009
- error?: string | undefined;
23995
+ error: string;
23996
+ code?: "invalid_input" | undefined;
24010
23997
  };
24011
23998
  outputFormat: "json";
24012
- status: 200;
23999
+ status: 400;
24013
24000
  input: {
24014
24001
  query: {
24015
24002
  [x: string]: string | string[];
@@ -24025,11 +24012,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24025
24012
  };
24026
24013
  } | {
24027
24014
  output: {
24028
- error: string;
24029
- code?: "invalid_input" | undefined;
24015
+ workerId: string;
24016
+ state: "complete" | "incomplete";
24017
+ work?: {
24018
+ uncommittedFiles: number;
24019
+ commits: number;
24020
+ } | undefined;
24021
+ deleted?: ({
24022
+ kind: "worktree";
24023
+ path: string;
24024
+ } | {
24025
+ kind: "branch";
24026
+ ref: string;
24027
+ })[] | undefined;
24028
+ remaining: ("branch" | "process" | "worktree")[];
24029
+ error?: string | undefined;
24030
24030
  };
24031
24031
  outputFormat: "json";
24032
- status: 400;
24032
+ status: 200;
24033
24033
  input: {
24034
24034
  query: {
24035
24035
  [x: string]: string | string[];
@@ -24145,21 +24145,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24145
24145
  } & {
24146
24146
  "/runs/:id/archive": {
24147
24147
  $post: {
24148
- output: {
24149
- error: string;
24150
- };
24151
- outputFormat: "json";
24152
- status: 404;
24153
- input: {
24154
- json: {
24155
- archived?: boolean | undefined;
24156
- };
24157
- } & {
24158
- param: {
24159
- id: string;
24160
- };
24161
- };
24162
- } | {
24163
24148
  output: {
24164
24149
  archiveWhenDone?: boolean | undefined;
24165
24150
  autoMergePr?: boolean | undefined;
@@ -25262,32 +25247,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25262
25247
  id: string;
25263
25248
  };
25264
25249
  };
25265
- };
25266
- };
25267
- } & {
25268
- "/runs/:id/pin": {
25269
- $post: {
25250
+ } | {
25270
25251
  output: {
25271
25252
  error: string;
25272
- code?: "invalid_input" | undefined;
25273
25253
  };
25274
25254
  outputFormat: "json";
25275
- status: 400;
25255
+ status: 404;
25276
25256
  input: {
25277
- param: {
25278
- id: string;
25257
+ json: {
25258
+ archived?: boolean | undefined;
25279
25259
  };
25280
25260
  } & {
25281
- json: {
25282
- pinned?: boolean | undefined;
25261
+ param: {
25262
+ id: string;
25283
25263
  };
25284
25264
  };
25285
- } | {
25265
+ };
25266
+ };
25267
+ } & {
25268
+ "/runs/:id/pin": {
25269
+ $post: {
25286
25270
  output: {
25287
25271
  error: string;
25272
+ code?: "invalid_input" | undefined;
25288
25273
  };
25289
25274
  outputFormat: "json";
25290
- status: 404;
25275
+ status: 400;
25291
25276
  input: {
25292
25277
  param: {
25293
25278
  id: string;
@@ -26400,49 +26385,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
26400
26385
  pinned?: boolean | undefined;
26401
26386
  };
26402
26387
  };
26403
- };
26404
- };
26405
- } & {
26406
- "/runs/:id/notify": {
26407
- $post: {
26408
- output: {
26409
- error: string;
26410
- code?: "invalid_input" | undefined;
26411
- };
26412
- outputFormat: "json";
26413
- status: 400;
26414
- input: {
26415
- param: {
26416
- id: string;
26417
- };
26418
- } & {
26419
- json: {
26420
- notify: boolean;
26421
- message?: string | undefined;
26422
- };
26423
- };
26424
26388
  } | {
26425
26389
  output: {
26426
26390
  error: string;
26427
26391
  };
26428
26392
  outputFormat: "json";
26429
- status: 400;
26393
+ status: 404;
26430
26394
  input: {
26431
26395
  param: {
26432
26396
  id: string;
26433
26397
  };
26434
26398
  } & {
26435
26399
  json: {
26436
- notify: boolean;
26437
- message?: string | undefined;
26400
+ pinned?: boolean | undefined;
26438
26401
  };
26439
26402
  };
26440
- } | {
26403
+ };
26404
+ };
26405
+ } & {
26406
+ "/runs/:id/notify": {
26407
+ $post: {
26441
26408
  output: {
26442
26409
  error: string;
26410
+ code?: "invalid_input" | undefined;
26443
26411
  };
26444
26412
  outputFormat: "json";
26445
- status: 404;
26413
+ status: 400;
26446
26414
  input: {
26447
26415
  param: {
26448
26416
  id: string;
@@ -27557,11 +27525,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27557
27525
  message?: string | undefined;
27558
27526
  };
27559
27527
  };
27560
- };
27561
- };
27562
- } & {
27563
- "/runs/:id/auto-resume": {
27564
- $delete: {
27528
+ } | {
27565
27529
  output: {
27566
27530
  error: string;
27567
27531
  };
@@ -27571,23 +27535,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27571
27535
  param: {
27572
27536
  id: string;
27573
27537
  };
27538
+ } & {
27539
+ json: {
27540
+ notify: boolean;
27541
+ message?: string | undefined;
27542
+ };
27574
27543
  };
27575
27544
  } | {
27576
27545
  output: {
27577
- cancelled: true;
27546
+ error: string;
27578
27547
  };
27579
27548
  outputFormat: "json";
27580
- status: import("hono/utils/http-status").ContentfulStatusCode;
27549
+ status: 400;
27581
27550
  input: {
27582
27551
  param: {
27583
27552
  id: string;
27584
27553
  };
27554
+ } & {
27555
+ json: {
27556
+ notify: boolean;
27557
+ message?: string | undefined;
27558
+ };
27585
27559
  };
27586
27560
  };
27587
27561
  };
27588
27562
  } & {
27589
- "/runs/:id/read": {
27590
- $post: {
27563
+ "/runs/:id/auto-resume": {
27564
+ $delete: {
27591
27565
  output: {
27592
27566
  error: string;
27593
27567
  };
@@ -27599,6 +27573,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27599
27573
  };
27600
27574
  };
27601
27575
  } | {
27576
+ output: {
27577
+ cancelled: true;
27578
+ };
27579
+ outputFormat: "json";
27580
+ status: import("hono/utils/http-status").ContentfulStatusCode;
27581
+ input: {
27582
+ param: {
27583
+ id: string;
27584
+ };
27585
+ };
27586
+ };
27587
+ };
27588
+ } & {
27589
+ "/runs/:id/read": {
27590
+ $post: {
27602
27591
  output: {
27603
27592
  archiveWhenDone?: boolean | undefined;
27604
27593
  autoMergePr?: boolean | undefined;
@@ -28697,11 +28686,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28697
28686
  id: string;
28698
28687
  };
28699
28688
  };
28700
- };
28701
- };
28702
- } & {
28703
- "/runs/:id/unread": {
28704
- $post: {
28689
+ } | {
28705
28690
  output: {
28706
28691
  error: string;
28707
28692
  };
@@ -28712,7 +28697,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28712
28697
  id: string;
28713
28698
  };
28714
28699
  };
28715
- } | {
28700
+ };
28701
+ };
28702
+ } & {
28703
+ "/runs/:id/unread": {
28704
+ $post: {
28716
28705
  output: {
28717
28706
  archiveWhenDone?: boolean | undefined;
28718
28707
  autoMergePr?: boolean | undefined;
@@ -29811,6 +29800,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29811
29800
  id: string;
29812
29801
  };
29813
29802
  };
29803
+ } | {
29804
+ output: {
29805
+ error: string;
29806
+ };
29807
+ outputFormat: "json";
29808
+ status: 404;
29809
+ input: {
29810
+ param: {
29811
+ id: string;
29812
+ };
29813
+ };
29814
29814
  };
29815
29815
  };
29816
29816
  } & {
@@ -31004,17 +31004,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31004
31004
  } & {
31005
31005
  "/runs/:id": {
31006
31006
  $get: {
31007
- output: {
31008
- error: string;
31009
- };
31010
- outputFormat: "json";
31011
- status: 404;
31012
- input: {
31013
- param: {
31014
- id: string;
31015
- };
31016
- };
31017
- } | {
31018
31007
  output: {
31019
31008
  archiveWhenDone?: boolean | undefined;
31020
31009
  autoMergePr?: boolean | undefined;
@@ -32120,6 +32109,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32120
32109
  id: string;
32121
32110
  };
32122
32111
  };
32112
+ } | {
32113
+ output: {
32114
+ error: string;
32115
+ };
32116
+ outputFormat: "json";
32117
+ status: 404;
32118
+ input: {
32119
+ param: {
32120
+ id: string;
32121
+ };
32122
+ };
32123
32123
  };
32124
32124
  };
32125
32125
  } & {
@@ -32247,66 +32247,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32247
32247
  } & {
32248
32248
  "/runs/:id": {
32249
32249
  $patch: {
32250
- output: {
32251
- error: string;
32252
- };
32253
- outputFormat: "json";
32254
- status: 400;
32255
- input: {
32256
- json: {
32257
- archiveWhenDone?: boolean | undefined;
32258
- autoMergePr?: boolean | undefined;
32259
- allowWorkers?: boolean | undefined;
32260
- allowMessaging?: boolean | undefined;
32261
- title?: string | undefined;
32262
- task?: string | undefined;
32263
- };
32264
- } & {
32265
- param: {
32266
- id: string;
32267
- };
32268
- };
32269
- } | {
32270
- output: {
32271
- error: string;
32272
- };
32273
- outputFormat: "json";
32274
- status: 404;
32275
- input: {
32276
- json: {
32277
- archiveWhenDone?: boolean | undefined;
32278
- autoMergePr?: boolean | undefined;
32279
- allowWorkers?: boolean | undefined;
32280
- allowMessaging?: boolean | undefined;
32281
- title?: string | undefined;
32282
- task?: string | undefined;
32283
- };
32284
- } & {
32285
- param: {
32286
- id: string;
32287
- };
32288
- };
32289
- } | {
32290
- output: {
32291
- error: string;
32292
- };
32293
- outputFormat: "json";
32294
- status: 409;
32295
- input: {
32296
- json: {
32297
- archiveWhenDone?: boolean | undefined;
32298
- autoMergePr?: boolean | undefined;
32299
- allowWorkers?: boolean | undefined;
32300
- allowMessaging?: boolean | undefined;
32301
- title?: string | undefined;
32302
- task?: string | undefined;
32303
- };
32304
- } & {
32305
- param: {
32306
- id: string;
32307
- };
32308
- };
32309
- } | {
32310
32250
  output: {
32311
32251
  archiveWhenDone?: boolean | undefined;
32312
32252
  autoMergePr?: boolean | undefined;
@@ -33414,6 +33354,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33414
33354
  id: string;
33415
33355
  };
33416
33356
  };
33357
+ } | {
33358
+ output: {
33359
+ error: string;
33360
+ };
33361
+ outputFormat: "json";
33362
+ status: 404;
33363
+ input: {
33364
+ json: {
33365
+ archiveWhenDone?: boolean | undefined;
33366
+ autoMergePr?: boolean | undefined;
33367
+ allowWorkers?: boolean | undefined;
33368
+ allowMessaging?: boolean | undefined;
33369
+ title?: string | undefined;
33370
+ task?: string | undefined;
33371
+ };
33372
+ } & {
33373
+ param: {
33374
+ id: string;
33375
+ };
33376
+ };
33377
+ } | {
33378
+ output: {
33379
+ error: string;
33380
+ };
33381
+ outputFormat: "json";
33382
+ status: 400;
33383
+ input: {
33384
+ json: {
33385
+ archiveWhenDone?: boolean | undefined;
33386
+ autoMergePr?: boolean | undefined;
33387
+ allowWorkers?: boolean | undefined;
33388
+ allowMessaging?: boolean | undefined;
33389
+ title?: string | undefined;
33390
+ task?: string | undefined;
33391
+ };
33392
+ } & {
33393
+ param: {
33394
+ id: string;
33395
+ };
33396
+ };
33397
+ } | {
33398
+ output: {
33399
+ error: string;
33400
+ };
33401
+ outputFormat: "json";
33402
+ status: 409;
33403
+ input: {
33404
+ json: {
33405
+ archiveWhenDone?: boolean | undefined;
33406
+ autoMergePr?: boolean | undefined;
33407
+ allowWorkers?: boolean | undefined;
33408
+ allowMessaging?: boolean | undefined;
33409
+ title?: string | undefined;
33410
+ task?: string | undefined;
33411
+ };
33412
+ } & {
33413
+ param: {
33414
+ id: string;
33415
+ };
33416
+ };
33417
33417
  };
33418
33418
  };
33419
33419
  } & {
@@ -33518,7 +33518,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33518
33518
  error: string;
33519
33519
  };
33520
33520
  outputFormat: "json";
33521
- status: 400;
33521
+ status: 404;
33522
33522
  input: {
33523
33523
  json: {
33524
33524
  text?: string | undefined;
@@ -33537,7 +33537,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33537
33537
  error: string;
33538
33538
  };
33539
33539
  outputFormat: "json";
33540
- status: 404;
33540
+ status: 409;
33541
33541
  input: {
33542
33542
  json: {
33543
33543
  text?: string | undefined;
@@ -33553,10 +33553,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33553
33553
  };
33554
33554
  } | {
33555
33555
  output: {
33556
- error: string;
33556
+ delivered: true;
33557
33557
  };
33558
33558
  outputFormat: "json";
33559
- status: 409;
33559
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33560
33560
  input: {
33561
33561
  json: {
33562
33562
  text?: string | undefined;
@@ -33572,10 +33572,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33572
33572
  };
33573
33573
  } | {
33574
33574
  output: {
33575
- delivered: true;
33575
+ error: string;
33576
33576
  };
33577
33577
  outputFormat: "json";
33578
- status: import("hono/utils/http-status").ContentfulStatusCode;
33578
+ status: 400;
33579
33579
  input: {
33580
33580
  json: {
33581
33581
  text?: string | undefined;
@@ -33643,7 +33643,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33643
33643
  error: string;
33644
33644
  };
33645
33645
  outputFormat: "json";
33646
- status: 400;
33646
+ status: 404;
33647
33647
  input: {
33648
33648
  json: {
33649
33649
  text?: string | undefined;
@@ -33664,7 +33664,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33664
33664
  error: string;
33665
33665
  };
33666
33666
  outputFormat: "json";
33667
- status: 404;
33667
+ status: 400;
33668
33668
  input: {
33669
33669
  json: {
33670
33670
  text?: string | undefined;
@@ -33884,11 +33884,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33884
33884
  "/runs/:id/open-in-cli": {
33885
33885
  $post: {
33886
33886
  output: {
33887
- opened: true;
33888
- command: string;
33887
+ error: string;
33889
33888
  };
33890
33889
  outputFormat: "json";
33891
- status: import("hono/utils/http-status").ContentfulStatusCode;
33890
+ status: 404 | 409;
33892
33891
  input: {
33893
33892
  param: {
33894
33893
  id: string;
@@ -33896,10 +33895,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33896
33895
  };
33897
33896
  } | {
33898
33897
  output: {
33899
- error: string;
33898
+ opened: true;
33899
+ command: string;
33900
33900
  };
33901
33901
  outputFormat: "json";
33902
- status: 404 | 409;
33902
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33903
33903
  input: {
33904
33904
  param: {
33905
33905
  id: string;
@@ -33914,7 +33914,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33914
33914
  error: string;
33915
33915
  };
33916
33916
  outputFormat: "json";
33917
- status: 400;
33917
+ status: 404 | 409;
33918
33918
  input: {
33919
33919
  json: {
33920
33920
  target: string;
@@ -33927,11 +33927,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33927
33927
  };
33928
33928
  } | {
33929
33929
  output: {
33930
- opened: true;
33931
- path: string;
33930
+ error: string;
33932
33931
  };
33933
33932
  outputFormat: "json";
33934
- status: import("hono/utils/http-status").ContentfulStatusCode;
33933
+ status: 400;
33935
33934
  input: {
33936
33935
  json: {
33937
33936
  target: string;
@@ -33944,10 +33943,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33944
33943
  };
33945
33944
  } | {
33946
33945
  output: {
33947
- error: string;
33946
+ opened: true;
33947
+ path: string;
33948
33948
  };
33949
33949
  outputFormat: "json";
33950
- status: 404 | 409;
33950
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33951
33951
  input: {
33952
33952
  json: {
33953
33953
  target: string;
@@ -33987,12 +33987,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33987
33987
  } & {
33988
33988
  "/runs/:id/images/:file": {
33989
33989
  $get: {
33990
- output: {
33991
- error: string;
33992
- code?: "invalid_input" | undefined;
33993
- };
33994
- outputFormat: "json";
33995
- status: 400;
33990
+ output: {};
33991
+ outputFormat: string;
33992
+ status: import("hono/utils/http-status").StatusCode;
33996
33993
  input: {
33997
33994
  param: {
33998
33995
  id: string;
@@ -34000,9 +33997,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34000
33997
  };
34001
33998
  };
34002
33999
  } | {
34003
- output: {};
34004
- outputFormat: string;
34005
- status: import("hono/utils/http-status").StatusCode;
34000
+ output: {
34001
+ error: string;
34002
+ code?: "invalid_input" | undefined;
34003
+ };
34004
+ outputFormat: "json";
34005
+ status: 400;
34006
34006
  input: {
34007
34007
  param: {
34008
34008
  id: string;
@@ -34038,6 +34038,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34038
34038
  } & {
34039
34039
  "/runs/:id/changes": {
34040
34040
  $get: {
34041
+ output: {
34042
+ error: string;
34043
+ };
34044
+ outputFormat: "json";
34045
+ status: 404 | 409;
34046
+ input: {
34047
+ param: {
34048
+ id: string;
34049
+ };
34050
+ };
34051
+ } | {
34041
34052
  output: {
34042
34053
  files: {
34043
34054
  path: string;
@@ -34066,7 +34077,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34066
34077
  id: string;
34067
34078
  };
34068
34079
  };
34069
- } | {
34080
+ };
34081
+ };
34082
+ } & {
34083
+ "/runs/:id/commits": {
34084
+ $get: {
34070
34085
  output: {
34071
34086
  error: string;
34072
34087
  };
@@ -34077,11 +34092,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34077
34092
  id: string;
34078
34093
  };
34079
34094
  };
34080
- };
34081
- };
34082
- } & {
34083
- "/runs/:id/commits": {
34084
- $get: {
34095
+ } | {
34085
34096
  output: {
34086
34097
  commits: {
34087
34098
  sha: string;
@@ -34097,7 +34108,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34097
34108
  id: string;
34098
34109
  };
34099
34110
  };
34100
- } | {
34111
+ };
34112
+ };
34113
+ } & {
34114
+ "/runs/:id/commit/:sha": {
34115
+ $get: {
34101
34116
  output: {
34102
34117
  error: string;
34103
34118
  };
@@ -34106,13 +34121,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34106
34121
  input: {
34107
34122
  param: {
34108
34123
  id: string;
34124
+ } & {
34125
+ sha: string;
34109
34126
  };
34110
34127
  };
34111
- };
34112
- };
34113
- } & {
34114
- "/runs/:id/commit/:sha": {
34115
- $get: {
34128
+ } | {
34116
34129
  output: {
34117
34130
  sha: string;
34118
34131
  subject: string;
@@ -34143,19 +34156,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34143
34156
  sha: string;
34144
34157
  };
34145
34158
  };
34146
- } | {
34147
- output: {
34148
- error: string;
34149
- };
34150
- outputFormat: "json";
34151
- status: 404 | 409;
34152
- input: {
34153
- param: {
34154
- id: string;
34155
- } & {
34156
- sha: string;
34157
- };
34158
- };
34159
34159
  };
34160
34160
  };
34161
34161
  } & {
@@ -34191,6 +34191,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34191
34191
  raw?: "1" | undefined;
34192
34192
  };
34193
34193
  };
34194
+ } | {
34195
+ output: {
34196
+ error: string;
34197
+ };
34198
+ outputFormat: "json";
34199
+ status: 404 | 409;
34200
+ input: {
34201
+ param: {
34202
+ id: string;
34203
+ };
34204
+ } & {
34205
+ query: {
34206
+ path: string | string[];
34207
+ raw?: "1" | undefined;
34208
+ };
34209
+ };
34194
34210
  } | {
34195
34211
  output: {
34196
34212
  type: "file";
@@ -34227,22 +34243,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34227
34243
  raw?: "1" | undefined;
34228
34244
  };
34229
34245
  };
34230
- } | {
34231
- output: {
34232
- error: string;
34233
- };
34234
- outputFormat: "json";
34235
- status: 404 | 409;
34236
- input: {
34237
- param: {
34238
- id: string;
34239
- };
34240
- } & {
34241
- query: {
34242
- path: string | string[];
34243
- raw?: "1" | undefined;
34244
- };
34245
- };
34246
34246
  };
34247
34247
  };
34248
34248
  } & {
@@ -34307,18 +34307,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34307
34307
  artifactId: string;
34308
34308
  };
34309
34309
  };
34310
- } | {
34311
- output: {
34312
- error: string;
34313
- };
34314
- outputFormat: "json";
34315
- status: 404;
34316
- input: {
34317
- param: {
34318
- id: string;
34319
- artifactId: string;
34320
- };
34321
- };
34322
34310
  } | {
34323
34311
  output: {
34324
34312
  type: "file";
@@ -34347,6 +34335,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34347
34335
  artifactId: string;
34348
34336
  };
34349
34337
  };
34338
+ } | {
34339
+ output: {
34340
+ error: string;
34341
+ };
34342
+ outputFormat: "json";
34343
+ status: 404;
34344
+ input: {
34345
+ param: {
34346
+ id: string;
34347
+ artifactId: string;
34348
+ };
34349
+ };
34350
34350
  };
34351
34351
  };
34352
34352
  } & {
@@ -34524,16 +34524,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34524
34524
  };
34525
34525
  } | {
34526
34526
  output: {
34527
- type: 'dir';
34528
- path: string;
34529
- entries: {
34530
- name: string;
34531
- type: 'dir' | 'file';
34532
- size?: number;
34533
- }[];
34527
+ error: string;
34534
34528
  };
34535
34529
  outputFormat: "json";
34536
- status: import("hono/utils/http-status").ContentfulStatusCode;
34530
+ status: 404 | 409;
34537
34531
  input: {
34538
34532
  query: {
34539
34533
  path?: string | undefined;
@@ -34546,12 +34540,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34546
34540
  };
34547
34541
  } | {
34548
34542
  output: {
34549
- type: 'file';
34543
+ type: 'dir';
34550
34544
  path: string;
34551
- size: number;
34552
- binary: boolean;
34553
- tooLarge: boolean;
34554
- content?: string | undefined;
34545
+ entries: {
34546
+ name: string;
34547
+ type: 'dir' | 'file';
34548
+ size?: number;
34549
+ }[];
34555
34550
  };
34556
34551
  outputFormat: "json";
34557
34552
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -34567,10 +34562,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34567
34562
  };
34568
34563
  } | {
34569
34564
  output: {
34570
- error: string;
34565
+ type: 'file';
34566
+ path: string;
34567
+ size: number;
34568
+ binary: boolean;
34569
+ tooLarge: boolean;
34570
+ content?: string | undefined;
34571
34571
  };
34572
34572
  outputFormat: "json";
34573
- status: 404 | 409;
34573
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34574
34574
  input: {
34575
34575
  query: {
34576
34576
  path?: string | undefined;
@@ -34587,11 +34587,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34587
34587
  "/runs/:id/git/commit": {
34588
34588
  $post: {
34589
34589
  output: {
34590
- committed: true;
34591
- sha: string;
34590
+ error: string;
34592
34591
  };
34593
34592
  outputFormat: "json";
34594
- status: import("hono/utils/http-status").ContentfulStatusCode;
34593
+ status: 404 | 409;
34595
34594
  input: {
34596
34595
  json: {
34597
34596
  message: string;
@@ -34603,10 +34602,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34603
34602
  };
34604
34603
  } | {
34605
34604
  output: {
34606
- error: string;
34605
+ committed: true;
34606
+ sha: string;
34607
34607
  };
34608
34608
  outputFormat: "json";
34609
- status: 404 | 409;
34609
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34610
34610
  input: {
34611
34611
  json: {
34612
34612
  message: string;
@@ -34622,13 +34622,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34622
34622
  "/runs/:id/git/push": {
34623
34623
  $post: {
34624
34624
  output: {
34625
- pushed: true;
34626
- branch: string;
34627
- remote: string;
34628
- upstreamSet: boolean;
34625
+ error: string;
34629
34626
  };
34630
34627
  outputFormat: "json";
34631
- status: import("hono/utils/http-status").ContentfulStatusCode;
34628
+ status: 404 | 409;
34632
34629
  input: {
34633
34630
  param: {
34634
34631
  id: string;
@@ -34636,10 +34633,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34636
34633
  };
34637
34634
  } | {
34638
34635
  output: {
34639
- error: string;
34636
+ pushed: true;
34637
+ branch: string;
34638
+ remote: string;
34639
+ upstreamSet: boolean;
34640
34640
  };
34641
34641
  outputFormat: "json";
34642
- status: 404 | 409;
34642
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34643
34643
  input: {
34644
34644
  param: {
34645
34645
  id: string;
@@ -34651,11 +34651,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34651
34651
  "/runs/:id/pr": {
34652
34652
  $post: {
34653
34653
  output: {
34654
- url: string;
34655
- dryRun: boolean;
34654
+ error: string;
34656
34655
  };
34657
34656
  outputFormat: "json";
34658
- status: 201;
34657
+ status: 404 | 409;
34659
34658
  input: {
34660
34659
  param: {
34661
34660
  id: string;
@@ -34663,10 +34662,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34663
34662
  };
34664
34663
  } | {
34665
34664
  output: {
34666
- error: string;
34665
+ url: string;
34666
+ dryRun: boolean;
34667
34667
  };
34668
34668
  outputFormat: "json";
34669
- status: 404 | 409;
34669
+ status: 201;
34670
34670
  input: {
34671
34671
  param: {
34672
34672
  id: string;
@@ -34678,10 +34678,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34678
34678
  "/runs/:id/remove-worktree": {
34679
34679
  $post: {
34680
34680
  output: {
34681
- removed: true;
34681
+ error: string;
34682
34682
  };
34683
34683
  outputFormat: "json";
34684
- status: import("hono/utils/http-status").ContentfulStatusCode;
34684
+ status: 404 | 409;
34685
34685
  input: {
34686
34686
  param: {
34687
34687
  id: string;
@@ -34689,10 +34689,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34689
34689
  };
34690
34690
  } | {
34691
34691
  output: {
34692
- error: string;
34692
+ removed: true;
34693
34693
  };
34694
34694
  outputFormat: "json";
34695
- status: 404 | 409;
34695
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34696
34696
  input: {
34697
34697
  param: {
34698
34698
  id: string;
@@ -34704,10 +34704,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34704
34704
  "/runs/:id": {
34705
34705
  $delete: {
34706
34706
  output: {
34707
- deleted: true;
34707
+ error: string;
34708
34708
  };
34709
34709
  outputFormat: "json";
34710
- status: import("hono/utils/http-status").ContentfulStatusCode;
34710
+ status: 404 | 409;
34711
34711
  input: {
34712
34712
  param: {
34713
34713
  id: string;
@@ -34715,10 +34715,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34715
34715
  };
34716
34716
  } | {
34717
34717
  output: {
34718
- error: string;
34718
+ deleted: true;
34719
34719
  };
34720
34720
  outputFormat: "json";
34721
- status: 404 | 409;
34721
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34722
34722
  input: {
34723
34723
  param: {
34724
34724
  id: string;