@hearsay-tools/squawk 0.18.0-pr4005.7626 → 0.18.0-pr4008.7635

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";
@@ -7618,18 +7618,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7618
7618
  } & {
7619
7619
  "/run-summaries": {
7620
7620
  $get: {
7621
- output: {
7622
- error: string;
7623
- code?: "invalid_input" | undefined;
7624
- };
7625
- outputFormat: "json";
7626
- status: 400;
7627
- input: {
7628
- query: {
7629
- archived?: "all" | "recent" | undefined;
7630
- };
7631
- };
7632
- } | {
7633
7621
  output: {
7634
7622
  id: string;
7635
7623
  title: string;
@@ -7757,6 +7745,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7757
7745
  archived?: "all" | "recent" | undefined;
7758
7746
  };
7759
7747
  };
7748
+ } | {
7749
+ output: {
7750
+ error: string;
7751
+ code?: "invalid_input" | undefined;
7752
+ };
7753
+ outputFormat: "json";
7754
+ status: 400;
7755
+ input: {
7756
+ query: {
7757
+ archived?: "all" | "recent" | undefined;
7758
+ };
7759
+ };
7760
7760
  };
7761
7761
  };
7762
7762
  } & {
@@ -8101,24 +8101,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8101
8101
  "/runs/:id/worker-destroy": {
8102
8102
  $post: {
8103
8103
  output: {
8104
- workerId: string;
8105
- state: "complete" | "incomplete";
8106
- work?: {
8107
- uncommittedFiles: number;
8108
- commits: number;
8109
- } | undefined;
8110
- deleted?: ({
8111
- kind: "worktree";
8112
- path: string;
8113
- } | {
8114
- kind: "branch";
8115
- ref: string;
8116
- })[] | undefined;
8117
- remaining: ("branch" | "process" | "worktree")[];
8118
- error?: string | undefined;
8104
+ error: string;
8105
+ code?: "invalid_input" | undefined;
8119
8106
  };
8120
8107
  outputFormat: "json";
8121
- status: 200;
8108
+ status: 400;
8122
8109
  input: {
8123
8110
  query: {
8124
8111
  [x: string]: string | string[];
@@ -8134,11 +8121,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8134
8121
  };
8135
8122
  } | {
8136
8123
  output: {
8137
- error: string;
8138
- code?: "invalid_input" | undefined;
8124
+ workerId: string;
8125
+ state: "complete" | "incomplete";
8126
+ work?: {
8127
+ uncommittedFiles: number;
8128
+ commits: number;
8129
+ } | undefined;
8130
+ deleted?: ({
8131
+ kind: "worktree";
8132
+ path: string;
8133
+ } | {
8134
+ kind: "branch";
8135
+ ref: string;
8136
+ })[] | undefined;
8137
+ remaining: ("branch" | "process" | "worktree")[];
8138
+ error?: string | undefined;
8139
8139
  };
8140
8140
  outputFormat: "json";
8141
- status: 400;
8141
+ status: 200;
8142
8142
  input: {
8143
8143
  query: {
8144
8144
  [x: string]: string | string[];
@@ -8254,21 +8254,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8254
8254
  } & {
8255
8255
  "/runs/:id/archive": {
8256
8256
  $post: {
8257
- output: {
8258
- error: string;
8259
- };
8260
- outputFormat: "json";
8261
- status: 404;
8262
- input: {
8263
- json: {
8264
- archived?: boolean | undefined;
8265
- };
8266
- } & {
8267
- param: {
8268
- id: string;
8269
- };
8270
- };
8271
- } | {
8272
8257
  output: {
8273
8258
  archiveWhenDone?: boolean | undefined;
8274
8259
  autoMergePr?: boolean | undefined;
@@ -9374,32 +9359,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9374
9359
  id: string;
9375
9360
  };
9376
9361
  };
9377
- };
9378
- };
9379
- } & {
9380
- "/runs/:id/pin": {
9381
- $post: {
9362
+ } | {
9382
9363
  output: {
9383
9364
  error: string;
9384
- code?: "invalid_input" | undefined;
9385
9365
  };
9386
9366
  outputFormat: "json";
9387
- status: 400;
9367
+ status: 404;
9388
9368
  input: {
9389
- param: {
9390
- id: string;
9369
+ json: {
9370
+ archived?: boolean | undefined;
9391
9371
  };
9392
9372
  } & {
9393
- json: {
9394
- pinned?: boolean | undefined;
9373
+ param: {
9374
+ id: string;
9395
9375
  };
9396
9376
  };
9397
- } | {
9377
+ };
9378
+ };
9379
+ } & {
9380
+ "/runs/:id/pin": {
9381
+ $post: {
9398
9382
  output: {
9399
9383
  error: string;
9384
+ code?: "invalid_input" | undefined;
9400
9385
  };
9401
9386
  outputFormat: "json";
9402
- status: 404;
9387
+ status: 400;
9403
9388
  input: {
9404
9389
  param: {
9405
9390
  id: string;
@@ -10515,49 +10500,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10515
10500
  pinned?: boolean | undefined;
10516
10501
  };
10517
10502
  };
10518
- };
10519
- };
10520
- } & {
10521
- "/runs/:id/notify": {
10522
- $post: {
10523
- output: {
10524
- error: string;
10525
- code?: "invalid_input" | undefined;
10526
- };
10527
- outputFormat: "json";
10528
- status: 400;
10529
- input: {
10530
- param: {
10531
- id: string;
10532
- };
10533
- } & {
10534
- json: {
10535
- notify: boolean;
10536
- message?: string | undefined;
10537
- };
10538
- };
10539
10503
  } | {
10540
10504
  output: {
10541
10505
  error: string;
10542
10506
  };
10543
10507
  outputFormat: "json";
10544
- status: 400;
10508
+ status: 404;
10545
10509
  input: {
10546
10510
  param: {
10547
10511
  id: string;
10548
10512
  };
10549
10513
  } & {
10550
10514
  json: {
10551
- notify: boolean;
10552
- message?: string | undefined;
10515
+ pinned?: boolean | undefined;
10553
10516
  };
10554
10517
  };
10555
- } | {
10518
+ };
10519
+ };
10520
+ } & {
10521
+ "/runs/:id/notify": {
10522
+ $post: {
10556
10523
  output: {
10557
10524
  error: string;
10525
+ code?: "invalid_input" | undefined;
10558
10526
  };
10559
10527
  outputFormat: "json";
10560
- status: 404;
10528
+ status: 400;
10561
10529
  input: {
10562
10530
  param: {
10563
10531
  id: string;
@@ -11675,11 +11643,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11675
11643
  message?: string | undefined;
11676
11644
  };
11677
11645
  };
11678
- };
11679
- };
11680
- } & {
11681
- "/runs/:id/auto-resume": {
11682
- $delete: {
11646
+ } | {
11683
11647
  output: {
11684
11648
  error: string;
11685
11649
  };
@@ -11689,23 +11653,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11689
11653
  param: {
11690
11654
  id: string;
11691
11655
  };
11656
+ } & {
11657
+ json: {
11658
+ notify: boolean;
11659
+ message?: string | undefined;
11660
+ };
11692
11661
  };
11693
11662
  } | {
11694
11663
  output: {
11695
- cancelled: true;
11664
+ error: string;
11696
11665
  };
11697
11666
  outputFormat: "json";
11698
- status: import("hono/utils/http-status").ContentfulStatusCode;
11667
+ status: 400;
11699
11668
  input: {
11700
11669
  param: {
11701
11670
  id: string;
11702
11671
  };
11672
+ } & {
11673
+ json: {
11674
+ notify: boolean;
11675
+ message?: string | undefined;
11676
+ };
11703
11677
  };
11704
11678
  };
11705
11679
  };
11706
11680
  } & {
11707
- "/runs/:id/read": {
11708
- $post: {
11681
+ "/runs/:id/auto-resume": {
11682
+ $delete: {
11709
11683
  output: {
11710
11684
  error: string;
11711
11685
  };
@@ -11717,6 +11691,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11717
11691
  };
11718
11692
  };
11719
11693
  } | {
11694
+ output: {
11695
+ cancelled: true;
11696
+ };
11697
+ outputFormat: "json";
11698
+ status: import("hono/utils/http-status").ContentfulStatusCode;
11699
+ input: {
11700
+ param: {
11701
+ id: string;
11702
+ };
11703
+ };
11704
+ };
11705
+ };
11706
+ } & {
11707
+ "/runs/:id/read": {
11708
+ $post: {
11720
11709
  output: {
11721
11710
  archiveWhenDone?: boolean | undefined;
11722
11711
  autoMergePr?: boolean | undefined;
@@ -12818,11 +12807,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12818
12807
  id: string;
12819
12808
  };
12820
12809
  };
12821
- };
12822
- };
12823
- } & {
12824
- "/runs/:id/unread": {
12825
- $post: {
12810
+ } | {
12826
12811
  output: {
12827
12812
  error: string;
12828
12813
  };
@@ -12833,7 +12818,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12833
12818
  id: string;
12834
12819
  };
12835
12820
  };
12836
- } | {
12821
+ };
12822
+ };
12823
+ } & {
12824
+ "/runs/:id/unread": {
12825
+ $post: {
12837
12826
  output: {
12838
12827
  archiveWhenDone?: boolean | undefined;
12839
12828
  autoMergePr?: boolean | undefined;
@@ -13935,6 +13924,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13935
13924
  id: string;
13936
13925
  };
13937
13926
  };
13927
+ } | {
13928
+ output: {
13929
+ error: string;
13930
+ };
13931
+ outputFormat: "json";
13932
+ status: 404;
13933
+ input: {
13934
+ param: {
13935
+ id: string;
13936
+ };
13937
+ };
13938
13938
  };
13939
13939
  };
13940
13940
  } & {
@@ -15131,17 +15131,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15131
15131
  } & {
15132
15132
  "/runs/:id": {
15133
15133
  $get: {
15134
- output: {
15135
- error: string;
15136
- };
15137
- outputFormat: "json";
15138
- status: 404;
15139
- input: {
15140
- param: {
15141
- id: string;
15142
- };
15143
- };
15144
- } | {
15145
15134
  output: {
15146
15135
  archiveWhenDone?: boolean | undefined;
15147
15136
  autoMergePr?: boolean | undefined;
@@ -16250,6 +16239,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16250
16239
  id: string;
16251
16240
  };
16252
16241
  };
16242
+ } | {
16243
+ output: {
16244
+ error: string;
16245
+ };
16246
+ outputFormat: "json";
16247
+ status: 404;
16248
+ input: {
16249
+ param: {
16250
+ id: string;
16251
+ };
16252
+ };
16253
16253
  };
16254
16254
  };
16255
16255
  } & {
@@ -16377,66 +16377,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16377
16377
  } & {
16378
16378
  "/runs/:id": {
16379
16379
  $patch: {
16380
- output: {
16381
- error: string;
16382
- };
16383
- outputFormat: "json";
16384
- status: 400;
16385
- input: {
16386
- json: {
16387
- archiveWhenDone?: boolean | undefined;
16388
- autoMergePr?: boolean | undefined;
16389
- allowWorkers?: boolean | undefined;
16390
- allowMessaging?: boolean | undefined;
16391
- title?: string | undefined;
16392
- task?: string | undefined;
16393
- };
16394
- } & {
16395
- param: {
16396
- id: string;
16397
- };
16398
- };
16399
- } | {
16400
- output: {
16401
- error: string;
16402
- };
16403
- outputFormat: "json";
16404
- status: 404;
16405
- input: {
16406
- json: {
16407
- archiveWhenDone?: boolean | undefined;
16408
- autoMergePr?: boolean | undefined;
16409
- allowWorkers?: boolean | undefined;
16410
- allowMessaging?: boolean | undefined;
16411
- title?: string | undefined;
16412
- task?: string | undefined;
16413
- };
16414
- } & {
16415
- param: {
16416
- id: string;
16417
- };
16418
- };
16419
- } | {
16420
- output: {
16421
- error: string;
16422
- };
16423
- outputFormat: "json";
16424
- status: 409;
16425
- input: {
16426
- json: {
16427
- archiveWhenDone?: boolean | undefined;
16428
- autoMergePr?: boolean | undefined;
16429
- allowWorkers?: boolean | undefined;
16430
- allowMessaging?: boolean | undefined;
16431
- title?: string | undefined;
16432
- task?: string | undefined;
16433
- };
16434
- } & {
16435
- param: {
16436
- id: string;
16437
- };
16438
- };
16439
- } | {
16440
16380
  output: {
16441
16381
  archiveWhenDone?: boolean | undefined;
16442
16382
  autoMergePr?: boolean | undefined;
@@ -17547,6 +17487,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17547
17487
  id: string;
17548
17488
  };
17549
17489
  };
17490
+ } | {
17491
+ output: {
17492
+ error: string;
17493
+ };
17494
+ outputFormat: "json";
17495
+ status: 404;
17496
+ input: {
17497
+ json: {
17498
+ archiveWhenDone?: boolean | undefined;
17499
+ autoMergePr?: boolean | undefined;
17500
+ allowWorkers?: boolean | undefined;
17501
+ allowMessaging?: boolean | undefined;
17502
+ title?: string | undefined;
17503
+ task?: string | undefined;
17504
+ };
17505
+ } & {
17506
+ param: {
17507
+ id: string;
17508
+ };
17509
+ };
17510
+ } | {
17511
+ output: {
17512
+ error: string;
17513
+ };
17514
+ outputFormat: "json";
17515
+ status: 400;
17516
+ input: {
17517
+ json: {
17518
+ archiveWhenDone?: boolean | undefined;
17519
+ autoMergePr?: boolean | undefined;
17520
+ allowWorkers?: boolean | undefined;
17521
+ allowMessaging?: boolean | undefined;
17522
+ title?: string | undefined;
17523
+ task?: string | undefined;
17524
+ };
17525
+ } & {
17526
+ param: {
17527
+ id: string;
17528
+ };
17529
+ };
17530
+ } | {
17531
+ output: {
17532
+ error: string;
17533
+ };
17534
+ outputFormat: "json";
17535
+ status: 409;
17536
+ input: {
17537
+ json: {
17538
+ archiveWhenDone?: boolean | undefined;
17539
+ autoMergePr?: boolean | undefined;
17540
+ allowWorkers?: boolean | undefined;
17541
+ allowMessaging?: boolean | undefined;
17542
+ title?: string | undefined;
17543
+ task?: string | undefined;
17544
+ };
17545
+ } & {
17546
+ param: {
17547
+ id: string;
17548
+ };
17549
+ };
17550
17550
  };
17551
17551
  };
17552
17552
  } & {
@@ -17651,7 +17651,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17651
17651
  error: string;
17652
17652
  };
17653
17653
  outputFormat: "json";
17654
- status: 400;
17654
+ status: 404;
17655
17655
  input: {
17656
17656
  json: {
17657
17657
  text?: string | undefined;
@@ -17670,7 +17670,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17670
17670
  error: string;
17671
17671
  };
17672
17672
  outputFormat: "json";
17673
- status: 404;
17673
+ status: 409;
17674
17674
  input: {
17675
17675
  json: {
17676
17676
  text?: string | undefined;
@@ -17686,10 +17686,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17686
17686
  };
17687
17687
  } | {
17688
17688
  output: {
17689
- error: string;
17689
+ delivered: true;
17690
17690
  };
17691
17691
  outputFormat: "json";
17692
- status: 409;
17692
+ status: import("hono/utils/http-status").ContentfulStatusCode;
17693
17693
  input: {
17694
17694
  json: {
17695
17695
  text?: string | undefined;
@@ -17705,10 +17705,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17705
17705
  };
17706
17706
  } | {
17707
17707
  output: {
17708
- delivered: true;
17708
+ error: string;
17709
17709
  };
17710
17710
  outputFormat: "json";
17711
- status: import("hono/utils/http-status").ContentfulStatusCode;
17711
+ status: 400;
17712
17712
  input: {
17713
17713
  json: {
17714
17714
  text?: string | undefined;
@@ -17776,7 +17776,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17776
17776
  error: string;
17777
17777
  };
17778
17778
  outputFormat: "json";
17779
- status: 400;
17779
+ status: 404;
17780
17780
  input: {
17781
17781
  json: {
17782
17782
  text?: string | undefined;
@@ -17797,7 +17797,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17797
17797
  error: string;
17798
17798
  };
17799
17799
  outputFormat: "json";
17800
- status: 404;
17800
+ status: 400;
17801
17801
  input: {
17802
17802
  json: {
17803
17803
  text?: string | undefined;
@@ -18017,11 +18017,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18017
18017
  "/runs/:id/open-in-cli": {
18018
18018
  $post: {
18019
18019
  output: {
18020
- opened: true;
18021
- command: string;
18020
+ error: string;
18022
18021
  };
18023
18022
  outputFormat: "json";
18024
- status: import("hono/utils/http-status").ContentfulStatusCode;
18023
+ status: 404 | 409;
18025
18024
  input: {
18026
18025
  param: {
18027
18026
  id: string;
@@ -18029,10 +18028,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18029
18028
  };
18030
18029
  } | {
18031
18030
  output: {
18032
- error: string;
18031
+ opened: true;
18032
+ command: string;
18033
18033
  };
18034
18034
  outputFormat: "json";
18035
- status: 404 | 409;
18035
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18036
18036
  input: {
18037
18037
  param: {
18038
18038
  id: string;
@@ -18047,7 +18047,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18047
18047
  error: string;
18048
18048
  };
18049
18049
  outputFormat: "json";
18050
- status: 400;
18050
+ status: 404 | 409;
18051
18051
  input: {
18052
18052
  json: {
18053
18053
  target: string;
@@ -18060,11 +18060,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18060
18060
  };
18061
18061
  } | {
18062
18062
  output: {
18063
- opened: true;
18064
- path: string;
18063
+ error: string;
18065
18064
  };
18066
18065
  outputFormat: "json";
18067
- status: import("hono/utils/http-status").ContentfulStatusCode;
18066
+ status: 400;
18068
18067
  input: {
18069
18068
  json: {
18070
18069
  target: string;
@@ -18077,10 +18076,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18077
18076
  };
18078
18077
  } | {
18079
18078
  output: {
18080
- error: string;
18079
+ opened: true;
18080
+ path: string;
18081
18081
  };
18082
18082
  outputFormat: "json";
18083
- status: 404 | 409;
18083
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18084
18084
  input: {
18085
18085
  json: {
18086
18086
  target: string;
@@ -18120,12 +18120,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18120
18120
  } & {
18121
18121
  "/runs/:id/images/:file": {
18122
18122
  $get: {
18123
- output: {
18124
- error: string;
18125
- code?: "invalid_input" | undefined;
18126
- };
18127
- outputFormat: "json";
18128
- status: 400;
18123
+ output: {};
18124
+ outputFormat: string;
18125
+ status: import("hono/utils/http-status").StatusCode;
18129
18126
  input: {
18130
18127
  param: {
18131
18128
  id: string;
@@ -18133,9 +18130,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18133
18130
  };
18134
18131
  };
18135
18132
  } | {
18136
- output: {};
18137
- outputFormat: string;
18138
- status: import("hono/utils/http-status").StatusCode;
18133
+ output: {
18134
+ error: string;
18135
+ code?: "invalid_input" | undefined;
18136
+ };
18137
+ outputFormat: "json";
18138
+ status: 400;
18139
18139
  input: {
18140
18140
  param: {
18141
18141
  id: string;
@@ -18171,6 +18171,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18171
18171
  } & {
18172
18172
  "/runs/:id/changes": {
18173
18173
  $get: {
18174
+ output: {
18175
+ error: string;
18176
+ };
18177
+ outputFormat: "json";
18178
+ status: 404 | 409;
18179
+ input: {
18180
+ param: {
18181
+ id: string;
18182
+ };
18183
+ };
18184
+ } | {
18174
18185
  output: {
18175
18186
  files: {
18176
18187
  path: string;
@@ -18199,7 +18210,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18199
18210
  id: string;
18200
18211
  };
18201
18212
  };
18202
- } | {
18213
+ };
18214
+ };
18215
+ } & {
18216
+ "/runs/:id/commits": {
18217
+ $get: {
18203
18218
  output: {
18204
18219
  error: string;
18205
18220
  };
@@ -18210,11 +18225,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18210
18225
  id: string;
18211
18226
  };
18212
18227
  };
18213
- };
18214
- };
18215
- } & {
18216
- "/runs/:id/commits": {
18217
- $get: {
18228
+ } | {
18218
18229
  output: {
18219
18230
  commits: {
18220
18231
  sha: string;
@@ -18230,7 +18241,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18230
18241
  id: string;
18231
18242
  };
18232
18243
  };
18233
- } | {
18244
+ };
18245
+ };
18246
+ } & {
18247
+ "/runs/:id/commit/:sha": {
18248
+ $get: {
18234
18249
  output: {
18235
18250
  error: string;
18236
18251
  };
@@ -18239,13 +18254,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18239
18254
  input: {
18240
18255
  param: {
18241
18256
  id: string;
18257
+ } & {
18258
+ sha: string;
18242
18259
  };
18243
18260
  };
18244
- };
18245
- };
18246
- } & {
18247
- "/runs/:id/commit/:sha": {
18248
- $get: {
18261
+ } | {
18249
18262
  output: {
18250
18263
  sha: string;
18251
18264
  subject: string;
@@ -18276,19 +18289,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18276
18289
  sha: string;
18277
18290
  };
18278
18291
  };
18279
- } | {
18280
- output: {
18281
- error: string;
18282
- };
18283
- outputFormat: "json";
18284
- status: 404 | 409;
18285
- input: {
18286
- param: {
18287
- id: string;
18288
- } & {
18289
- sha: string;
18290
- };
18291
- };
18292
18292
  };
18293
18293
  };
18294
18294
  } & {
@@ -18324,6 +18324,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18324
18324
  raw?: "1" | undefined;
18325
18325
  };
18326
18326
  };
18327
+ } | {
18328
+ output: {
18329
+ error: string;
18330
+ };
18331
+ outputFormat: "json";
18332
+ status: 404 | 409;
18333
+ input: {
18334
+ param: {
18335
+ id: string;
18336
+ };
18337
+ } & {
18338
+ query: {
18339
+ path: string | string[];
18340
+ raw?: "1" | undefined;
18341
+ };
18342
+ };
18327
18343
  } | {
18328
18344
  output: {
18329
18345
  type: "file";
@@ -18360,22 +18376,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18360
18376
  raw?: "1" | undefined;
18361
18377
  };
18362
18378
  };
18363
- } | {
18364
- output: {
18365
- error: string;
18366
- };
18367
- outputFormat: "json";
18368
- status: 404 | 409;
18369
- input: {
18370
- param: {
18371
- id: string;
18372
- };
18373
- } & {
18374
- query: {
18375
- path: string | string[];
18376
- raw?: "1" | undefined;
18377
- };
18378
- };
18379
18379
  };
18380
18380
  };
18381
18381
  } & {
@@ -18440,18 +18440,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18440
18440
  artifactId: string;
18441
18441
  };
18442
18442
  };
18443
- } | {
18444
- output: {
18445
- error: string;
18446
- };
18447
- outputFormat: "json";
18448
- status: 404;
18449
- input: {
18450
- param: {
18451
- id: string;
18452
- artifactId: string;
18453
- };
18454
- };
18455
18443
  } | {
18456
18444
  output: {
18457
18445
  type: "file";
@@ -18480,6 +18468,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18480
18468
  artifactId: string;
18481
18469
  };
18482
18470
  };
18471
+ } | {
18472
+ output: {
18473
+ error: string;
18474
+ };
18475
+ outputFormat: "json";
18476
+ status: 404;
18477
+ input: {
18478
+ param: {
18479
+ id: string;
18480
+ artifactId: string;
18481
+ };
18482
+ };
18483
18483
  };
18484
18484
  };
18485
18485
  } & {
@@ -18657,16 +18657,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18657
18657
  };
18658
18658
  } | {
18659
18659
  output: {
18660
- type: 'dir';
18661
- path: string;
18662
- entries: {
18663
- name: string;
18664
- type: 'dir' | 'file';
18665
- size?: number;
18666
- }[];
18660
+ error: string;
18667
18661
  };
18668
18662
  outputFormat: "json";
18669
- status: import("hono/utils/http-status").ContentfulStatusCode;
18663
+ status: 404 | 409;
18670
18664
  input: {
18671
18665
  query: {
18672
18666
  path?: string | undefined;
@@ -18679,12 +18673,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18679
18673
  };
18680
18674
  } | {
18681
18675
  output: {
18682
- type: 'file';
18676
+ type: 'dir';
18683
18677
  path: string;
18684
- size: number;
18685
- binary: boolean;
18686
- tooLarge: boolean;
18687
- content?: string | undefined;
18678
+ entries: {
18679
+ name: string;
18680
+ type: 'dir' | 'file';
18681
+ size?: number;
18682
+ }[];
18688
18683
  };
18689
18684
  outputFormat: "json";
18690
18685
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -18700,10 +18695,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18700
18695
  };
18701
18696
  } | {
18702
18697
  output: {
18703
- error: string;
18698
+ type: 'file';
18699
+ path: string;
18700
+ size: number;
18701
+ binary: boolean;
18702
+ tooLarge: boolean;
18703
+ content?: string | undefined;
18704
18704
  };
18705
18705
  outputFormat: "json";
18706
- status: 404 | 409;
18706
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18707
18707
  input: {
18708
18708
  query: {
18709
18709
  path?: string | undefined;
@@ -18720,11 +18720,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18720
18720
  "/runs/:id/git/commit": {
18721
18721
  $post: {
18722
18722
  output: {
18723
- committed: true;
18724
- sha: string;
18723
+ error: string;
18725
18724
  };
18726
18725
  outputFormat: "json";
18727
- status: import("hono/utils/http-status").ContentfulStatusCode;
18726
+ status: 404 | 409;
18728
18727
  input: {
18729
18728
  json: {
18730
18729
  message: string;
@@ -18736,10 +18735,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18736
18735
  };
18737
18736
  } | {
18738
18737
  output: {
18739
- error: string;
18738
+ committed: true;
18739
+ sha: string;
18740
18740
  };
18741
18741
  outputFormat: "json";
18742
- status: 404 | 409;
18742
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18743
18743
  input: {
18744
18744
  json: {
18745
18745
  message: string;
@@ -18755,13 +18755,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18755
18755
  "/runs/:id/git/push": {
18756
18756
  $post: {
18757
18757
  output: {
18758
- pushed: true;
18759
- branch: string;
18760
- remote: string;
18761
- upstreamSet: boolean;
18758
+ error: string;
18762
18759
  };
18763
18760
  outputFormat: "json";
18764
- status: import("hono/utils/http-status").ContentfulStatusCode;
18761
+ status: 404 | 409;
18765
18762
  input: {
18766
18763
  param: {
18767
18764
  id: string;
@@ -18769,10 +18766,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18769
18766
  };
18770
18767
  } | {
18771
18768
  output: {
18772
- error: string;
18769
+ pushed: true;
18770
+ branch: string;
18771
+ remote: string;
18772
+ upstreamSet: boolean;
18773
18773
  };
18774
18774
  outputFormat: "json";
18775
- status: 404 | 409;
18775
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18776
18776
  input: {
18777
18777
  param: {
18778
18778
  id: string;
@@ -18784,11 +18784,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18784
18784
  "/runs/:id/pr": {
18785
18785
  $post: {
18786
18786
  output: {
18787
- url: string;
18788
- dryRun: boolean;
18787
+ error: string;
18789
18788
  };
18790
18789
  outputFormat: "json";
18791
- status: 201;
18790
+ status: 404 | 409;
18792
18791
  input: {
18793
18792
  param: {
18794
18793
  id: string;
@@ -18796,10 +18795,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18796
18795
  };
18797
18796
  } | {
18798
18797
  output: {
18799
- error: string;
18798
+ url: string;
18799
+ dryRun: boolean;
18800
18800
  };
18801
18801
  outputFormat: "json";
18802
- status: 404 | 409;
18802
+ status: 201;
18803
18803
  input: {
18804
18804
  param: {
18805
18805
  id: string;
@@ -18811,10 +18811,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18811
18811
  "/runs/:id/remove-worktree": {
18812
18812
  $post: {
18813
18813
  output: {
18814
- removed: true;
18814
+ error: string;
18815
18815
  };
18816
18816
  outputFormat: "json";
18817
- status: import("hono/utils/http-status").ContentfulStatusCode;
18817
+ status: 404 | 409;
18818
18818
  input: {
18819
18819
  param: {
18820
18820
  id: string;
@@ -18822,10 +18822,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18822
18822
  };
18823
18823
  } | {
18824
18824
  output: {
18825
- error: string;
18825
+ removed: true;
18826
18826
  };
18827
18827
  outputFormat: "json";
18828
- status: 404 | 409;
18828
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18829
18829
  input: {
18830
18830
  param: {
18831
18831
  id: string;
@@ -18837,10 +18837,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18837
18837
  "/runs/:id": {
18838
18838
  $delete: {
18839
18839
  output: {
18840
- deleted: true;
18840
+ error: string;
18841
18841
  };
18842
18842
  outputFormat: "json";
18843
- status: import("hono/utils/http-status").ContentfulStatusCode;
18843
+ status: 404 | 409;
18844
18844
  input: {
18845
18845
  param: {
18846
18846
  id: string;
@@ -18848,10 +18848,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18848
18848
  };
18849
18849
  } | {
18850
18850
  output: {
18851
- error: string;
18851
+ deleted: true;
18852
18852
  };
18853
18853
  outputFormat: "json";
18854
- status: 404 | 409;
18854
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18855
18855
  input: {
18856
18856
  param: {
18857
18857
  id: string;
@@ -18880,7 +18880,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18880
18880
  error: string;
18881
18881
  };
18882
18882
  outputFormat: "json";
18883
- status: 400;
18883
+ status: 409;
18884
18884
  input: {
18885
18885
  query: {
18886
18886
  runner: string | string[];
@@ -18893,7 +18893,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18893
18893
  error: string;
18894
18894
  };
18895
18895
  outputFormat: "json";
18896
- status: 409;
18896
+ status: 400;
18897
18897
  input: {
18898
18898
  query: {
18899
18899
  runner: string | string[];
@@ -19023,10 +19023,42 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19023
19023
  "/ui-state": {
19024
19024
  $put: {
19025
19025
  output: {
19026
- error: string;
19026
+ [x: string]: import("hono/utils/types").JSONValue;
19027
+ sidebarLimits?: {
19028
+ overall?: number | null | undefined;
19029
+ needsYou?: number | null | undefined;
19030
+ finished?: number | null | undefined;
19031
+ working?: number | null | undefined;
19032
+ } | undefined;
19033
+ lastTask?: {
19034
+ source: "skill" | "workflow";
19035
+ ref: string;
19036
+ } | null | undefined;
19037
+ recentSources?: {
19038
+ source: "skill" | "workflow";
19039
+ ref: string;
19040
+ }[] | undefined;
19041
+ lastWorktree?: boolean | undefined;
19042
+ lastAutonomous?: boolean | undefined;
19043
+ skillUsage?: {
19044
+ [x: string]: number;
19045
+ } | undefined;
19046
+ runsView?: "list" | "table" | undefined;
19047
+ githubView?: "issues" | "prs" | undefined;
19048
+ appearance?: {
19049
+ accent?: "cezarion" | "lime" | "violet" | undefined;
19050
+ density?: "comfortable" | "compact" | "ultra" | undefined;
19051
+ width?: "narrow" | "wide" | undefined;
19052
+ } | undefined;
19053
+ promptTemplates?: {
19054
+ id: string;
19055
+ label: string;
19056
+ text: string;
19057
+ skills?: string[] | undefined;
19058
+ }[] | undefined;
19027
19059
  };
19028
19060
  outputFormat: "json";
19029
- status: 500;
19061
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19030
19062
  input: {
19031
19063
  json: {
19032
19064
  [x: string]: unknown;
@@ -19064,42 +19096,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19064
19096
  };
19065
19097
  } | {
19066
19098
  output: {
19067
- [x: string]: import("hono/utils/types").JSONValue;
19068
- sidebarLimits?: {
19069
- overall?: number | null | undefined;
19070
- needsYou?: number | null | undefined;
19071
- finished?: number | null | undefined;
19072
- working?: number | null | undefined;
19073
- } | undefined;
19074
- lastTask?: {
19075
- source: "skill" | "workflow";
19076
- ref: string;
19077
- } | null | undefined;
19078
- recentSources?: {
19079
- source: "skill" | "workflow";
19080
- ref: string;
19081
- }[] | undefined;
19082
- lastWorktree?: boolean | undefined;
19083
- lastAutonomous?: boolean | undefined;
19084
- skillUsage?: {
19085
- [x: string]: number;
19086
- } | undefined;
19087
- runsView?: "list" | "table" | undefined;
19088
- githubView?: "issues" | "prs" | undefined;
19089
- appearance?: {
19090
- accent?: "cezarion" | "lime" | "violet" | undefined;
19091
- density?: "comfortable" | "compact" | "ultra" | undefined;
19092
- width?: "narrow" | "wide" | undefined;
19093
- } | undefined;
19094
- promptTemplates?: {
19095
- id: string;
19096
- label: string;
19097
- text: string;
19098
- skills?: string[] | undefined;
19099
- }[] | undefined;
19099
+ error: string;
19100
19100
  };
19101
19101
  outputFormat: "json";
19102
- status: import("hono/utils/http-status").ContentfulStatusCode;
19102
+ status: 500;
19103
19103
  input: {
19104
19104
  json: {
19105
19105
  [x: string]: unknown;
@@ -19159,7 +19159,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19159
19159
  error: string;
19160
19160
  };
19161
19161
  outputFormat: "json";
19162
- status: 400;
19162
+ status: 409;
19163
19163
  input: {
19164
19164
  json: {
19165
19165
  target: string;
@@ -19170,7 +19170,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19170
19170
  error: string;
19171
19171
  };
19172
19172
  outputFormat: "json";
19173
- status: 409;
19173
+ status: 400;
19174
19174
  input: {
19175
19175
  json: {
19176
19176
  target: string;
@@ -19193,12 +19193,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19193
19193
  }, "/"> | import("hono/types").MergeSchemaPath<{
19194
19194
  "/runs/:id/events": {
19195
19195
  $get: {
19196
- output: {
19197
- error: string;
19198
- code?: "invalid_input" | undefined;
19199
- };
19200
- outputFormat: "json";
19201
- status: 400;
19196
+ output: {};
19197
+ outputFormat: string;
19198
+ status: import("hono/utils/http-status").StatusCode;
19202
19199
  input: {
19203
19200
  param: {
19204
19201
  id: string;
@@ -19210,9 +19207,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19210
19207
  };
19211
19208
  };
19212
19209
  } | {
19213
- output: {};
19214
- outputFormat: string;
19215
- status: import("hono/utils/http-status").StatusCode;
19210
+ output: {
19211
+ error: string;
19212
+ code?: "invalid_input" | undefined;
19213
+ };
19214
+ outputFormat: "json";
19215
+ status: 400;
19216
19216
  input: {
19217
19217
  param: {
19218
19218
  id: string;
@@ -19273,10 +19273,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19273
19273
  "/config": {
19274
19274
  $put: {
19275
19275
  output: {
19276
- error: string;
19276
+ archiveOnMerge: boolean | null;
19277
+ effectiveArchiveOnMerge: boolean;
19278
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
19279
+ baseBranch: string | null;
19280
+ defaultRunner: string;
19281
+ systemPrompt: string | null;
19282
+ defaultModels: {
19283
+ [x: string]: string | undefined;
19284
+ };
19285
+ modelsLocked: boolean;
19286
+ maxParallel: number;
19287
+ memoryLimitMb: number | null;
19288
+ worktreeRetention: number;
19289
+ liveTitleUpdates: boolean | null;
19290
+ reviewGate: boolean | null;
19291
+ worktreeSetup: {
19292
+ commands: string[];
19293
+ timeoutSeconds: number;
19294
+ } | null;
19295
+ worktreeSetupIssue: string | null;
19296
+ worktreeTeardown: {
19297
+ commands: string[];
19298
+ timeoutSeconds: number;
19299
+ } | null;
19300
+ worktreeTeardownIssue: string | null;
19277
19301
  };
19278
19302
  outputFormat: "json";
19279
- status: 409;
19303
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19280
19304
  input: {
19281
19305
  json: {
19282
19306
  archiveOnMerge?: boolean | null | undefined;
@@ -19304,7 +19328,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19304
19328
  error: string;
19305
19329
  };
19306
19330
  outputFormat: "json";
19307
- status: 500;
19331
+ status: 409;
19308
19332
  input: {
19309
19333
  json: {
19310
19334
  archiveOnMerge?: boolean | null | undefined;
@@ -19329,34 +19353,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19329
19353
  };
19330
19354
  } | {
19331
19355
  output: {
19332
- archiveOnMerge: boolean | null;
19333
- effectiveArchiveOnMerge: boolean;
19334
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
19335
- baseBranch: string | null;
19336
- defaultRunner: string;
19337
- systemPrompt: string | null;
19338
- defaultModels: {
19339
- [x: string]: string | undefined;
19340
- };
19341
- modelsLocked: boolean;
19342
- maxParallel: number;
19343
- memoryLimitMb: number | null;
19344
- worktreeRetention: number;
19345
- liveTitleUpdates: boolean | null;
19346
- reviewGate: boolean | null;
19347
- worktreeSetup: {
19348
- commands: string[];
19349
- timeoutSeconds: number;
19350
- } | null;
19351
- worktreeSetupIssue: string | null;
19352
- worktreeTeardown: {
19353
- commands: string[];
19354
- timeoutSeconds: number;
19355
- } | null;
19356
- worktreeTeardownIssue: string | null;
19356
+ error: string;
19357
19357
  };
19358
19358
  outputFormat: "json";
19359
- status: import("hono/utils/http-status").ContentfulStatusCode;
19359
+ status: 500;
19360
19360
  input: {
19361
19361
  json: {
19362
19362
  archiveOnMerge?: boolean | null | undefined;
@@ -19505,7 +19505,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19505
19505
  error: string;
19506
19506
  };
19507
19507
  outputFormat: "json";
19508
- status: 400;
19508
+ status: 409;
19509
19509
  input: {
19510
19510
  query: {
19511
19511
  q?: string | undefined;
@@ -19518,7 +19518,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19518
19518
  error: string;
19519
19519
  };
19520
19520
  outputFormat: "json";
19521
- status: 409;
19521
+ status: 400;
19522
19522
  input: {
19523
19523
  query: {
19524
19524
  q?: string | undefined;
@@ -19605,11 +19605,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19605
19605
  };
19606
19606
  } | {
19607
19607
  output: {
19608
- runId: string;
19609
- worktreeReclaimedAt: string;
19608
+ error: string;
19610
19609
  };
19611
19610
  outputFormat: "json";
19612
- status: import("hono/utils/http-status").ContentfulStatusCode;
19611
+ status: 404 | 409;
19613
19612
  input: {
19614
19613
  param: {
19615
19614
  runId: string;
@@ -19617,10 +19616,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19617
19616
  };
19618
19617
  } | {
19619
19618
  output: {
19620
- error: string;
19619
+ runId: string;
19620
+ worktreeReclaimedAt: string;
19621
19621
  };
19622
19622
  outputFormat: "json";
19623
- status: 404 | 409;
19623
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19624
19624
  input: {
19625
19625
  param: {
19626
19626
  runId: string;
@@ -19716,10 +19716,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19716
19716
  "/agent-config/:id": {
19717
19717
  $put: {
19718
19718
  output: {
19719
- error: string;
19719
+ id: string;
19720
+ path: string;
19721
+ exists: boolean;
19722
+ content: string;
19723
+ version: string | null;
19720
19724
  };
19721
19725
  outputFormat: "json";
19722
- status: 404;
19726
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19723
19727
  input: {
19724
19728
  json: {
19725
19729
  content: string;
@@ -19732,14 +19736,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19732
19736
  };
19733
19737
  } | {
19734
19738
  output: {
19735
- id: string;
19736
- path: string;
19737
- exists: boolean;
19738
- content: string;
19739
- version: string | null;
19739
+ error: string;
19740
19740
  };
19741
19741
  outputFormat: "json";
19742
- status: import("hono/utils/http-status").ContentfulStatusCode;
19742
+ status: 404;
19743
19743
  input: {
19744
19744
  json: {
19745
19745
  content: string;
@@ -19810,11 +19810,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19810
19810
  "/workflows": {
19811
19811
  $post: {
19812
19812
  output: {
19813
- path: string;
19814
- name: string;
19813
+ error: string;
19815
19814
  };
19816
19815
  outputFormat: "json";
19817
- status: 201;
19816
+ status: 400;
19818
19817
  input: {
19819
19818
  json: {
19820
19819
  name: string;
@@ -19844,9 +19843,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19844
19843
  } | {
19845
19844
  output: {
19846
19845
  error: string;
19846
+ exists: true;
19847
19847
  };
19848
19848
  outputFormat: "json";
19849
- status: 400;
19849
+ status: 409;
19850
19850
  input: {
19851
19851
  json: {
19852
19852
  name: string;
@@ -19876,10 +19876,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19876
19876
  } | {
19877
19877
  output: {
19878
19878
  error: string;
19879
- exists: true;
19880
19879
  };
19881
19880
  outputFormat: "json";
19882
- status: 409;
19881
+ status: 500;
19883
19882
  input: {
19884
19883
  json: {
19885
19884
  name: string;
@@ -19908,10 +19907,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19908
19907
  };
19909
19908
  } | {
19910
19909
  output: {
19911
- error: string;
19910
+ path: string;
19911
+ name: string;
19912
19912
  };
19913
19913
  outputFormat: "json";
19914
- status: 500;
19914
+ status: 201;
19915
19915
  input: {
19916
19916
  json: {
19917
19917
  name: string;
@@ -19944,11 +19944,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19944
19944
  "/workflows/:name": {
19945
19945
  $delete: {
19946
19946
  output: {
19947
- ok: true;
19948
- path: string;
19947
+ error: string;
19949
19948
  };
19950
19949
  outputFormat: "json";
19951
- status: import("hono/utils/http-status").ContentfulStatusCode;
19950
+ status: 400 | 404 | 409 | 500;
19952
19951
  input: {
19953
19952
  param: {
19954
19953
  name: string;
@@ -19956,10 +19955,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19956
19955
  };
19957
19956
  } | {
19958
19957
  output: {
19959
- error: string;
19958
+ ok: true;
19959
+ path: string;
19960
19960
  };
19961
19961
  outputFormat: "json";
19962
- status: 400 | 404 | 409 | 500;
19962
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19963
19963
  input: {
19964
19964
  param: {
19965
19965
  name: string;
@@ -20130,18 +20130,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20130
20130
  "/repo/branches/delete": {
20131
20131
  $post: {
20132
20132
  output: {
20133
- deleted: string[];
20133
+ error: string;
20134
20134
  refused: {
20135
20135
  name: string;
20136
20136
  reason: string;
20137
20137
  }[];
20138
- dropped?: {
20139
- sha: string;
20140
- subject: string;
20141
- }[] | undefined;
20142
20138
  };
20143
20139
  outputFormat: "json";
20144
- status: 200;
20140
+ status: 409;
20145
20141
  input: {
20146
20142
  json: {
20147
20143
  names: string[];
@@ -20150,14 +20146,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20150
20146
  };
20151
20147
  } | {
20152
20148
  output: {
20153
- error: string;
20149
+ deleted: string[];
20154
20150
  refused: {
20155
20151
  name: string;
20156
20152
  reason: string;
20157
20153
  }[];
20154
+ dropped?: {
20155
+ sha: string;
20156
+ subject: string;
20157
+ }[] | undefined;
20158
20158
  };
20159
20159
  outputFormat: "json";
20160
- status: 409;
20160
+ status: 200;
20161
20161
  input: {
20162
20162
  json: {
20163
20163
  names: string[];
@@ -20178,12 +20178,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20178
20178
  } & {
20179
20179
  "/repo/commit/:sha": {
20180
20180
  $get: {
20181
- output: {
20182
- error: string;
20183
- code?: "invalid_input" | undefined;
20184
- };
20185
- outputFormat: "json";
20186
- status: 400;
20181
+ output: string;
20182
+ outputFormat: "text";
20183
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20187
20184
  input: {
20188
20185
  query: {
20189
20186
  structured?: string | undefined;
@@ -20196,9 +20193,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20196
20193
  } | {
20197
20194
  output: {
20198
20195
  error: string;
20196
+ code?: "invalid_input" | undefined;
20199
20197
  };
20200
20198
  outputFormat: "json";
20201
- status: 409;
20199
+ status: 400;
20202
20200
  input: {
20203
20201
  query: {
20204
20202
  structured?: string | undefined;
@@ -20242,9 +20240,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20242
20240
  };
20243
20241
  };
20244
20242
  } | {
20245
- output: string;
20246
- outputFormat: "text";
20247
- status: import("hono/utils/http-status").ContentfulStatusCode;
20243
+ output: {
20244
+ error: string;
20245
+ };
20246
+ outputFormat: "json";
20247
+ status: 409;
20248
20248
  input: {
20249
20249
  query: {
20250
20250
  structured?: string | undefined;
@@ -20259,13 +20259,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20259
20259
  } & {
20260
20260
  "/repo/changes": {
20261
20261
  $get: {
20262
- output: {
20263
- error: string;
20264
- };
20265
- outputFormat: "json";
20266
- status: 409;
20267
- input: {};
20268
- } | {
20269
20262
  output: {
20270
20263
  files: {
20271
20264
  path: string;
@@ -20290,6 +20283,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20290
20283
  outputFormat: "json";
20291
20284
  status: import("hono/utils/http-status").ContentfulStatusCode;
20292
20285
  input: {};
20286
+ } | {
20287
+ output: {
20288
+ error: string;
20289
+ };
20290
+ outputFormat: "json";
20291
+ status: 409;
20292
+ input: {};
20293
20293
  };
20294
20294
  };
20295
20295
  } & {
@@ -20314,12 +20314,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20314
20314
  "/repo/pull": {
20315
20315
  $post: {
20316
20316
  output: {
20317
- branch: string;
20318
- pulled: true;
20319
- summary: string;
20317
+ error: string;
20320
20318
  };
20321
20319
  outputFormat: "json";
20322
- status: 200;
20320
+ status: 409;
20323
20321
  input: {
20324
20322
  json: {
20325
20323
  branch?: string | undefined;
@@ -20328,10 +20326,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20328
20326
  };
20329
20327
  } | {
20330
20328
  output: {
20331
- error: string;
20329
+ branch: string;
20330
+ pulled: true;
20331
+ summary: string;
20332
20332
  };
20333
20333
  outputFormat: "json";
20334
- status: 409;
20334
+ status: 200;
20335
20335
  input: {
20336
20336
  json: {
20337
20337
  branch?: string | undefined;
@@ -21285,18 +21285,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21285
21285
  "/automations": {
21286
21286
  $post: {
21287
21287
  output: {
21288
- automation: {
21289
- [x: string]: import("hono/utils/types").JSONValue;
21290
- id: string;
21291
- revision: number;
21288
+ error: string;
21289
+ };
21290
+ outputFormat: "json";
21291
+ status: 400 | 404 | 409;
21292
+ input: {
21293
+ json: {
21292
21294
  name: string;
21293
21295
  description?: string | undefined;
21294
- enabled: boolean;
21295
- kind: "github" | "schedule";
21296
+ enabled?: boolean | undefined;
21297
+ kind?: "github" | "schedule" | undefined;
21296
21298
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
21297
21299
  intervalSeconds?: number | undefined;
21298
21300
  filters?: {
21299
- [x: string]: import("hono/utils/types").JSONValue;
21301
+ [x: string]: unknown;
21300
21302
  includeExisting?: boolean | undefined;
21301
21303
  requireCurrentLabels?: boolean | undefined;
21302
21304
  authors?: string[] | undefined;
@@ -21305,11 +21307,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21305
21307
  anyLabels?: string[] | undefined;
21306
21308
  excludeLabels?: string[] | undefined;
21307
21309
  changedLabels?: string[] | undefined;
21308
- lookbackDays: number;
21309
- maxRecords: number;
21310
+ lookbackDays?: number | undefined;
21311
+ maxRecords?: number | undefined;
21310
21312
  } | undefined;
21311
21313
  schedule?: {
21312
- [x: string]: import("hono/utils/types").JSONValue;
21313
21314
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
21314
21315
  hour?: number | undefined;
21315
21316
  minute?: number | undefined;
@@ -21320,7 +21321,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21320
21321
  latestStartMinutes?: number | undefined;
21321
21322
  } | undefined;
21322
21323
  task: {
21323
- [x: string]: import("hono/utils/types").JSONValue;
21324
21324
  archiveWhenDone?: boolean | undefined;
21325
21325
  autoMergePr?: boolean | undefined;
21326
21326
  allowWorkers?: boolean | undefined;
@@ -21342,47 +21342,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21342
21342
  command?: string | undefined;
21343
21343
  onFail?: {
21344
21344
  retry: string;
21345
- max: number;
21345
+ max?: number | undefined;
21346
21346
  } | undefined;
21347
21347
  }[] | undefined;
21348
21348
  runner?: string | undefined;
21349
21349
  model?: string | undefined;
21350
21350
  effort?: string | undefined;
21351
- variants?: 1 | 2 | 3 | undefined;
21352
21351
  worktree?: boolean | undefined;
21353
21352
  autonomous?: boolean | undefined;
21354
21353
  systemPrompt?: string | undefined;
21355
21354
  };
21356
- archived?: {
21357
- [x: string]: import("hono/utils/types").JSONValue;
21358
- at: string;
21359
- outcome: "cancelled" | "launched";
21360
- runId?: string | undefined;
21361
- receiptId?: string | undefined;
21362
- trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
21363
- } | undefined;
21364
- createdAt: string;
21365
- updatedAt: string;
21355
+ enable?: boolean | undefined;
21366
21356
  };
21367
- once?: {
21368
- dueAt: string;
21369
- timeZone: string;
21370
- resolvedInstant: string;
21371
- note: string;
21372
- } | undefined;
21373
21357
  };
21374
- outputFormat: "json";
21375
- status: 201;
21376
- input: {
21377
- json: {
21358
+ } | {
21359
+ output: {
21360
+ automation: {
21361
+ [x: string]: import("hono/utils/types").JSONValue;
21362
+ id: string;
21363
+ revision: number;
21378
21364
  name: string;
21379
21365
  description?: string | undefined;
21380
- enabled?: boolean | undefined;
21381
- kind?: "github" | "schedule" | undefined;
21366
+ enabled: boolean;
21367
+ kind: "github" | "schedule";
21382
21368
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
21383
21369
  intervalSeconds?: number | undefined;
21384
21370
  filters?: {
21385
- [x: string]: unknown;
21371
+ [x: string]: import("hono/utils/types").JSONValue;
21386
21372
  includeExisting?: boolean | undefined;
21387
21373
  requireCurrentLabels?: boolean | undefined;
21388
21374
  authors?: string[] | undefined;
@@ -21391,10 +21377,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21391
21377
  anyLabels?: string[] | undefined;
21392
21378
  excludeLabels?: string[] | undefined;
21393
21379
  changedLabels?: string[] | undefined;
21394
- lookbackDays?: number | undefined;
21395
- maxRecords?: number | undefined;
21380
+ lookbackDays: number;
21381
+ maxRecords: number;
21396
21382
  } | undefined;
21397
21383
  schedule?: {
21384
+ [x: string]: import("hono/utils/types").JSONValue;
21398
21385
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
21399
21386
  hour?: number | undefined;
21400
21387
  minute?: number | undefined;
@@ -21405,6 +21392,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21405
21392
  latestStartMinutes?: number | undefined;
21406
21393
  } | undefined;
21407
21394
  task: {
21395
+ [x: string]: import("hono/utils/types").JSONValue;
21408
21396
  archiveWhenDone?: boolean | undefined;
21409
21397
  autoMergePr?: boolean | undefined;
21410
21398
  allowWorkers?: boolean | undefined;
@@ -21426,25 +21414,37 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21426
21414
  command?: string | undefined;
21427
21415
  onFail?: {
21428
21416
  retry: string;
21429
- max?: number | undefined;
21417
+ max: number;
21430
21418
  } | undefined;
21431
21419
  }[] | undefined;
21432
21420
  runner?: string | undefined;
21433
21421
  model?: string | undefined;
21434
21422
  effort?: string | undefined;
21423
+ variants?: 1 | 2 | 3 | undefined;
21435
21424
  worktree?: boolean | undefined;
21436
21425
  autonomous?: boolean | undefined;
21437
21426
  systemPrompt?: string | undefined;
21438
21427
  };
21439
- enable?: boolean | undefined;
21428
+ archived?: {
21429
+ [x: string]: import("hono/utils/types").JSONValue;
21430
+ at: string;
21431
+ outcome: "cancelled" | "launched";
21432
+ runId?: string | undefined;
21433
+ receiptId?: string | undefined;
21434
+ trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
21435
+ } | undefined;
21436
+ createdAt: string;
21437
+ updatedAt: string;
21440
21438
  };
21441
- };
21442
- } | {
21443
- output: {
21444
- error: string;
21439
+ once?: {
21440
+ dueAt: string;
21441
+ timeZone: string;
21442
+ resolvedInstant: string;
21443
+ note: string;
21444
+ } | undefined;
21445
21445
  };
21446
21446
  outputFormat: "json";
21447
- status: 400 | 404 | 409;
21447
+ status: 201;
21448
21448
  input: {
21449
21449
  json: {
21450
21450
  name: string;
@@ -21516,6 +21516,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21516
21516
  } & {
21517
21517
  "/automations/:id": {
21518
21518
  $get: {
21519
+ output: {
21520
+ error: string;
21521
+ };
21522
+ outputFormat: "json";
21523
+ status: 400 | 404 | 409;
21524
+ input: {
21525
+ param: {
21526
+ id: string;
21527
+ };
21528
+ };
21529
+ } | {
21519
21530
  output: {
21520
21531
  automation: {
21521
21532
  [x: string]: import("hono/utils/types").JSONValue;
@@ -21673,35 +21684,26 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21673
21684
  id: string;
21674
21685
  };
21675
21686
  };
21676
- } | {
21677
- output: {
21678
- error: string;
21679
- };
21680
- outputFormat: "json";
21681
- status: 400 | 404 | 409;
21682
- input: {
21683
- param: {
21684
- id: string;
21685
- };
21686
- };
21687
21687
  };
21688
21688
  };
21689
21689
  } & {
21690
21690
  "/automations/:id": {
21691
21691
  $put: {
21692
21692
  output: {
21693
- automation: {
21694
- [x: string]: import("hono/utils/types").JSONValue;
21695
- id: string;
21696
- revision: number;
21693
+ error: string;
21694
+ };
21695
+ outputFormat: "json";
21696
+ status: 400 | 404 | 409;
21697
+ input: {
21698
+ json: {
21697
21699
  name: string;
21698
21700
  description?: string | undefined;
21699
- enabled: boolean;
21700
- kind: "github" | "schedule";
21701
+ enabled?: boolean | undefined;
21702
+ kind?: "github" | "schedule" | undefined;
21701
21703
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
21702
21704
  intervalSeconds?: number | undefined;
21703
21705
  filters?: {
21704
- [x: string]: import("hono/utils/types").JSONValue;
21706
+ [x: string]: unknown;
21705
21707
  includeExisting?: boolean | undefined;
21706
21708
  requireCurrentLabels?: boolean | undefined;
21707
21709
  authors?: string[] | undefined;
@@ -21710,11 +21712,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21710
21712
  anyLabels?: string[] | undefined;
21711
21713
  excludeLabels?: string[] | undefined;
21712
21714
  changedLabels?: string[] | undefined;
21713
- lookbackDays: number;
21714
- maxRecords: number;
21715
+ lookbackDays?: number | undefined;
21716
+ maxRecords?: number | undefined;
21715
21717
  } | undefined;
21716
21718
  schedule?: {
21717
- [x: string]: import("hono/utils/types").JSONValue;
21718
21719
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
21719
21720
  hour?: number | undefined;
21720
21721
  minute?: number | undefined;
@@ -21725,7 +21726,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21725
21726
  latestStartMinutes?: number | undefined;
21726
21727
  } | undefined;
21727
21728
  task: {
21728
- [x: string]: import("hono/utils/types").JSONValue;
21729
21729
  archiveWhenDone?: boolean | undefined;
21730
21730
  autoMergePr?: boolean | undefined;
21731
21731
  allowWorkers?: boolean | undefined;
@@ -21747,41 +21747,37 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21747
21747
  command?: string | undefined;
21748
21748
  onFail?: {
21749
21749
  retry: string;
21750
- max: number;
21750
+ max?: number | undefined;
21751
21751
  } | undefined;
21752
21752
  }[] | undefined;
21753
21753
  runner?: string | undefined;
21754
21754
  model?: string | undefined;
21755
21755
  effort?: string | undefined;
21756
- variants?: 1 | 2 | 3 | undefined;
21757
21756
  worktree?: boolean | undefined;
21758
21757
  autonomous?: boolean | undefined;
21759
21758
  systemPrompt?: string | undefined;
21760
21759
  };
21761
- archived?: {
21762
- [x: string]: import("hono/utils/types").JSONValue;
21763
- at: string;
21764
- outcome: "cancelled" | "launched";
21765
- runId?: string | undefined;
21766
- receiptId?: string | undefined;
21767
- trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
21768
- } | undefined;
21769
- createdAt: string;
21770
- updatedAt: string;
21760
+ expectedRevision: number;
21761
+ };
21762
+ } & {
21763
+ param: {
21764
+ id: string;
21771
21765
  };
21772
21766
  };
21773
- outputFormat: "json";
21774
- status: import("hono/utils/http-status").ContentfulStatusCode;
21775
- input: {
21776
- json: {
21767
+ } | {
21768
+ output: {
21769
+ automation: {
21770
+ [x: string]: import("hono/utils/types").JSONValue;
21771
+ id: string;
21772
+ revision: number;
21777
21773
  name: string;
21778
21774
  description?: string | undefined;
21779
- enabled?: boolean | undefined;
21780
- kind?: "github" | "schedule" | undefined;
21775
+ enabled: boolean;
21776
+ kind: "github" | "schedule";
21781
21777
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
21782
21778
  intervalSeconds?: number | undefined;
21783
21779
  filters?: {
21784
- [x: string]: unknown;
21780
+ [x: string]: import("hono/utils/types").JSONValue;
21785
21781
  includeExisting?: boolean | undefined;
21786
21782
  requireCurrentLabels?: boolean | undefined;
21787
21783
  authors?: string[] | undefined;
@@ -21790,10 +21786,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21790
21786
  anyLabels?: string[] | undefined;
21791
21787
  excludeLabels?: string[] | undefined;
21792
21788
  changedLabels?: string[] | undefined;
21793
- lookbackDays?: number | undefined;
21794
- maxRecords?: number | undefined;
21789
+ lookbackDays: number;
21790
+ maxRecords: number;
21795
21791
  } | undefined;
21796
21792
  schedule?: {
21793
+ [x: string]: import("hono/utils/types").JSONValue;
21797
21794
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
21798
21795
  hour?: number | undefined;
21799
21796
  minute?: number | undefined;
@@ -21804,6 +21801,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21804
21801
  latestStartMinutes?: number | undefined;
21805
21802
  } | undefined;
21806
21803
  task: {
21804
+ [x: string]: import("hono/utils/types").JSONValue;
21807
21805
  archiveWhenDone?: boolean | undefined;
21808
21806
  autoMergePr?: boolean | undefined;
21809
21807
  allowWorkers?: boolean | undefined;
@@ -21825,29 +21823,31 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21825
21823
  command?: string | undefined;
21826
21824
  onFail?: {
21827
21825
  retry: string;
21828
- max?: number | undefined;
21826
+ max: number;
21829
21827
  } | undefined;
21830
21828
  }[] | undefined;
21831
21829
  runner?: string | undefined;
21832
21830
  model?: string | undefined;
21833
21831
  effort?: string | undefined;
21832
+ variants?: 1 | 2 | 3 | undefined;
21834
21833
  worktree?: boolean | undefined;
21835
21834
  autonomous?: boolean | undefined;
21836
21835
  systemPrompt?: string | undefined;
21837
21836
  };
21838
- expectedRevision: number;
21839
- };
21840
- } & {
21841
- param: {
21842
- id: string;
21837
+ archived?: {
21838
+ [x: string]: import("hono/utils/types").JSONValue;
21839
+ at: string;
21840
+ outcome: "cancelled" | "launched";
21841
+ runId?: string | undefined;
21842
+ receiptId?: string | undefined;
21843
+ trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
21844
+ } | undefined;
21845
+ createdAt: string;
21846
+ updatedAt: string;
21843
21847
  };
21844
21848
  };
21845
- } | {
21846
- output: {
21847
- error: string;
21848
- };
21849
21849
  outputFormat: "json";
21850
- status: 400 | 404 | 409;
21850
+ status: import("hono/utils/http-status").ContentfulStatusCode;
21851
21851
  input: {
21852
21852
  json: {
21853
21853
  name: string;
@@ -21947,6 +21947,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21947
21947
  } & {
21948
21948
  "/automations/:id/enable": {
21949
21949
  $post: {
21950
+ output: {
21951
+ error: string;
21952
+ };
21953
+ outputFormat: "json";
21954
+ status: 400 | 404 | 409;
21955
+ input: {
21956
+ param: {
21957
+ id: string;
21958
+ };
21959
+ };
21960
+ } | {
21950
21961
  output: {
21951
21962
  automation: {
21952
21963
  [x: string]: import("hono/utils/types").JSONValue;
@@ -22035,7 +22046,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22035
22046
  id: string;
22036
22047
  };
22037
22048
  };
22038
- } | {
22049
+ };
22050
+ };
22051
+ } & {
22052
+ "/automations/:id/pause": {
22053
+ $post: {
22039
22054
  output: {
22040
22055
  error: string;
22041
22056
  };
@@ -22046,11 +22061,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22046
22061
  id: string;
22047
22062
  };
22048
22063
  };
22049
- };
22050
- };
22051
- } & {
22052
- "/automations/:id/pause": {
22053
- $post: {
22064
+ } | {
22054
22065
  output: {
22055
22066
  automation: {
22056
22067
  [x: string]: import("hono/utils/types").JSONValue;
@@ -22139,7 +22150,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22139
22150
  id: string;
22140
22151
  };
22141
22152
  };
22142
- } | {
22153
+ };
22154
+ };
22155
+ } & {
22156
+ "/automations/:id/cancel": {
22157
+ $post: {
22143
22158
  output: {
22144
22159
  error: string;
22145
22160
  };
@@ -22150,11 +22165,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22150
22165
  id: string;
22151
22166
  };
22152
22167
  };
22153
- };
22154
- };
22155
- } & {
22156
- "/automations/:id/cancel": {
22157
- $post: {
22168
+ } | {
22158
22169
  output: {
22159
22170
  automation: {
22160
22171
  [x: string]: import("hono/utils/types").JSONValue;
@@ -22243,27 +22254,16 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22243
22254
  id: string;
22244
22255
  };
22245
22256
  };
22246
- } | {
22247
- output: {
22248
- error: string;
22249
- };
22250
- outputFormat: "json";
22251
- status: 400 | 404 | 409;
22252
- input: {
22253
- param: {
22254
- id: string;
22255
- };
22256
- };
22257
22257
  };
22258
22258
  };
22259
22259
  } & {
22260
22260
  "/automations/:id/run": {
22261
22261
  $post: {
22262
22262
  output: {
22263
- runId: string;
22263
+ error: string;
22264
22264
  };
22265
22265
  outputFormat: "json";
22266
- status: 202;
22266
+ status: 400 | 404 | 409;
22267
22267
  input: {
22268
22268
  param: {
22269
22269
  id: string;
@@ -22271,10 +22271,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22271
22271
  };
22272
22272
  } | {
22273
22273
  output: {
22274
- error: string;
22274
+ runId: string;
22275
22275
  };
22276
22276
  outputFormat: "json";
22277
- status: 400 | 404 | 409;
22277
+ status: 202;
22278
22278
  input: {
22279
22279
  param: {
22280
22280
  id: string;
@@ -22286,10 +22286,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22286
22286
  "/automations/:id/check": {
22287
22287
  $post: {
22288
22288
  output: {
22289
- checkId: string;
22289
+ error: string;
22290
22290
  };
22291
22291
  outputFormat: "json";
22292
- status: 202;
22292
+ status: 404;
22293
22293
  input: {
22294
22294
  json: {
22295
22295
  mode: "execute" | "preview";
@@ -22304,7 +22304,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22304
22304
  error: string;
22305
22305
  };
22306
22306
  outputFormat: "json";
22307
- status: 404;
22307
+ status: 409;
22308
22308
  input: {
22309
22309
  json: {
22310
22310
  mode: "execute" | "preview";
@@ -22316,10 +22316,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22316
22316
  };
22317
22317
  } | {
22318
22318
  output: {
22319
- error: string;
22319
+ checkId: string;
22320
22320
  };
22321
22321
  outputFormat: "json";
22322
- status: 409;
22322
+ status: 202;
22323
22323
  input: {
22324
22324
  json: {
22325
22325
  mode: "execute" | "preview";
@@ -23539,18 +23539,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23539
23539
  } & {
23540
23540
  "/run-summaries": {
23541
23541
  $get: {
23542
- output: {
23543
- error: string;
23544
- code?: "invalid_input" | undefined;
23545
- };
23546
- outputFormat: "json";
23547
- status: 400;
23548
- input: {
23549
- query: {
23550
- archived?: "all" | "recent" | undefined;
23551
- };
23552
- };
23553
- } | {
23554
23542
  output: {
23555
23543
  id: string;
23556
23544
  title: string;
@@ -23678,6 +23666,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23678
23666
  archived?: "all" | "recent" | undefined;
23679
23667
  };
23680
23668
  };
23669
+ } | {
23670
+ output: {
23671
+ error: string;
23672
+ code?: "invalid_input" | undefined;
23673
+ };
23674
+ outputFormat: "json";
23675
+ status: 400;
23676
+ input: {
23677
+ query: {
23678
+ archived?: "all" | "recent" | undefined;
23679
+ };
23680
+ };
23681
23681
  };
23682
23682
  };
23683
23683
  } & {
@@ -24022,24 +24022,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24022
24022
  "/runs/:id/worker-destroy": {
24023
24023
  $post: {
24024
24024
  output: {
24025
- workerId: string;
24026
- state: "complete" | "incomplete";
24027
- work?: {
24028
- uncommittedFiles: number;
24029
- commits: number;
24030
- } | undefined;
24031
- deleted?: ({
24032
- kind: "worktree";
24033
- path: string;
24034
- } | {
24035
- kind: "branch";
24036
- ref: string;
24037
- })[] | undefined;
24038
- remaining: ("branch" | "process" | "worktree")[];
24039
- error?: string | undefined;
24025
+ error: string;
24026
+ code?: "invalid_input" | undefined;
24040
24027
  };
24041
24028
  outputFormat: "json";
24042
- status: 200;
24029
+ status: 400;
24043
24030
  input: {
24044
24031
  query: {
24045
24032
  [x: string]: string | string[];
@@ -24055,11 +24042,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24055
24042
  };
24056
24043
  } | {
24057
24044
  output: {
24058
- error: string;
24059
- code?: "invalid_input" | undefined;
24045
+ workerId: string;
24046
+ state: "complete" | "incomplete";
24047
+ work?: {
24048
+ uncommittedFiles: number;
24049
+ commits: number;
24050
+ } | undefined;
24051
+ deleted?: ({
24052
+ kind: "worktree";
24053
+ path: string;
24054
+ } | {
24055
+ kind: "branch";
24056
+ ref: string;
24057
+ })[] | undefined;
24058
+ remaining: ("branch" | "process" | "worktree")[];
24059
+ error?: string | undefined;
24060
24060
  };
24061
24061
  outputFormat: "json";
24062
- status: 400;
24062
+ status: 200;
24063
24063
  input: {
24064
24064
  query: {
24065
24065
  [x: string]: string | string[];
@@ -24175,21 +24175,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24175
24175
  } & {
24176
24176
  "/runs/:id/archive": {
24177
24177
  $post: {
24178
- output: {
24179
- error: string;
24180
- };
24181
- outputFormat: "json";
24182
- status: 404;
24183
- input: {
24184
- json: {
24185
- archived?: boolean | undefined;
24186
- };
24187
- } & {
24188
- param: {
24189
- id: string;
24190
- };
24191
- };
24192
- } | {
24193
24178
  output: {
24194
24179
  archiveWhenDone?: boolean | undefined;
24195
24180
  autoMergePr?: boolean | undefined;
@@ -25295,32 +25280,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25295
25280
  id: string;
25296
25281
  };
25297
25282
  };
25298
- };
25299
- };
25300
- } & {
25301
- "/runs/:id/pin": {
25302
- $post: {
25283
+ } | {
25303
25284
  output: {
25304
25285
  error: string;
25305
- code?: "invalid_input" | undefined;
25306
25286
  };
25307
25287
  outputFormat: "json";
25308
- status: 400;
25288
+ status: 404;
25309
25289
  input: {
25310
- param: {
25311
- id: string;
25290
+ json: {
25291
+ archived?: boolean | undefined;
25312
25292
  };
25313
25293
  } & {
25314
- json: {
25315
- pinned?: boolean | undefined;
25294
+ param: {
25295
+ id: string;
25316
25296
  };
25317
25297
  };
25318
- } | {
25298
+ };
25299
+ };
25300
+ } & {
25301
+ "/runs/:id/pin": {
25302
+ $post: {
25319
25303
  output: {
25320
25304
  error: string;
25305
+ code?: "invalid_input" | undefined;
25321
25306
  };
25322
25307
  outputFormat: "json";
25323
- status: 404;
25308
+ status: 400;
25324
25309
  input: {
25325
25310
  param: {
25326
25311
  id: string;
@@ -26436,49 +26421,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
26436
26421
  pinned?: boolean | undefined;
26437
26422
  };
26438
26423
  };
26439
- };
26440
- };
26441
- } & {
26442
- "/runs/:id/notify": {
26443
- $post: {
26444
- output: {
26445
- error: string;
26446
- code?: "invalid_input" | undefined;
26447
- };
26448
- outputFormat: "json";
26449
- status: 400;
26450
- input: {
26451
- param: {
26452
- id: string;
26453
- };
26454
- } & {
26455
- json: {
26456
- notify: boolean;
26457
- message?: string | undefined;
26458
- };
26459
- };
26460
26424
  } | {
26461
26425
  output: {
26462
26426
  error: string;
26463
26427
  };
26464
26428
  outputFormat: "json";
26465
- status: 400;
26429
+ status: 404;
26466
26430
  input: {
26467
26431
  param: {
26468
26432
  id: string;
26469
26433
  };
26470
26434
  } & {
26471
26435
  json: {
26472
- notify: boolean;
26473
- message?: string | undefined;
26436
+ pinned?: boolean | undefined;
26474
26437
  };
26475
26438
  };
26476
- } | {
26439
+ };
26440
+ };
26441
+ } & {
26442
+ "/runs/:id/notify": {
26443
+ $post: {
26477
26444
  output: {
26478
26445
  error: string;
26446
+ code?: "invalid_input" | undefined;
26479
26447
  };
26480
26448
  outputFormat: "json";
26481
- status: 404;
26449
+ status: 400;
26482
26450
  input: {
26483
26451
  param: {
26484
26452
  id: string;
@@ -27596,11 +27564,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27596
27564
  message?: string | undefined;
27597
27565
  };
27598
27566
  };
27599
- };
27600
- };
27601
- } & {
27602
- "/runs/:id/auto-resume": {
27603
- $delete: {
27567
+ } | {
27604
27568
  output: {
27605
27569
  error: string;
27606
27570
  };
@@ -27610,23 +27574,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27610
27574
  param: {
27611
27575
  id: string;
27612
27576
  };
27577
+ } & {
27578
+ json: {
27579
+ notify: boolean;
27580
+ message?: string | undefined;
27581
+ };
27613
27582
  };
27614
27583
  } | {
27615
27584
  output: {
27616
- cancelled: true;
27585
+ error: string;
27617
27586
  };
27618
27587
  outputFormat: "json";
27619
- status: import("hono/utils/http-status").ContentfulStatusCode;
27588
+ status: 400;
27620
27589
  input: {
27621
27590
  param: {
27622
27591
  id: string;
27623
27592
  };
27593
+ } & {
27594
+ json: {
27595
+ notify: boolean;
27596
+ message?: string | undefined;
27597
+ };
27624
27598
  };
27625
27599
  };
27626
27600
  };
27627
27601
  } & {
27628
- "/runs/:id/read": {
27629
- $post: {
27602
+ "/runs/:id/auto-resume": {
27603
+ $delete: {
27630
27604
  output: {
27631
27605
  error: string;
27632
27606
  };
@@ -27638,6 +27612,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27638
27612
  };
27639
27613
  };
27640
27614
  } | {
27615
+ output: {
27616
+ cancelled: true;
27617
+ };
27618
+ outputFormat: "json";
27619
+ status: import("hono/utils/http-status").ContentfulStatusCode;
27620
+ input: {
27621
+ param: {
27622
+ id: string;
27623
+ };
27624
+ };
27625
+ };
27626
+ };
27627
+ } & {
27628
+ "/runs/:id/read": {
27629
+ $post: {
27641
27630
  output: {
27642
27631
  archiveWhenDone?: boolean | undefined;
27643
27632
  autoMergePr?: boolean | undefined;
@@ -28739,11 +28728,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28739
28728
  id: string;
28740
28729
  };
28741
28730
  };
28742
- };
28743
- };
28744
- } & {
28745
- "/runs/:id/unread": {
28746
- $post: {
28731
+ } | {
28747
28732
  output: {
28748
28733
  error: string;
28749
28734
  };
@@ -28754,7 +28739,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28754
28739
  id: string;
28755
28740
  };
28756
28741
  };
28757
- } | {
28742
+ };
28743
+ };
28744
+ } & {
28745
+ "/runs/:id/unread": {
28746
+ $post: {
28758
28747
  output: {
28759
28748
  archiveWhenDone?: boolean | undefined;
28760
28749
  autoMergePr?: boolean | undefined;
@@ -29856,6 +29845,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29856
29845
  id: string;
29857
29846
  };
29858
29847
  };
29848
+ } | {
29849
+ output: {
29850
+ error: string;
29851
+ };
29852
+ outputFormat: "json";
29853
+ status: 404;
29854
+ input: {
29855
+ param: {
29856
+ id: string;
29857
+ };
29858
+ };
29859
29859
  };
29860
29860
  };
29861
29861
  } & {
@@ -31052,17 +31052,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31052
31052
  } & {
31053
31053
  "/runs/:id": {
31054
31054
  $get: {
31055
- output: {
31056
- error: string;
31057
- };
31058
- outputFormat: "json";
31059
- status: 404;
31060
- input: {
31061
- param: {
31062
- id: string;
31063
- };
31064
- };
31065
- } | {
31066
31055
  output: {
31067
31056
  archiveWhenDone?: boolean | undefined;
31068
31057
  autoMergePr?: boolean | undefined;
@@ -32171,6 +32160,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32171
32160
  id: string;
32172
32161
  };
32173
32162
  };
32163
+ } | {
32164
+ output: {
32165
+ error: string;
32166
+ };
32167
+ outputFormat: "json";
32168
+ status: 404;
32169
+ input: {
32170
+ param: {
32171
+ id: string;
32172
+ };
32173
+ };
32174
32174
  };
32175
32175
  };
32176
32176
  } & {
@@ -32298,66 +32298,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32298
32298
  } & {
32299
32299
  "/runs/:id": {
32300
32300
  $patch: {
32301
- output: {
32302
- error: string;
32303
- };
32304
- outputFormat: "json";
32305
- status: 400;
32306
- input: {
32307
- json: {
32308
- archiveWhenDone?: boolean | undefined;
32309
- autoMergePr?: boolean | undefined;
32310
- allowWorkers?: boolean | undefined;
32311
- allowMessaging?: boolean | undefined;
32312
- title?: string | undefined;
32313
- task?: string | undefined;
32314
- };
32315
- } & {
32316
- param: {
32317
- id: string;
32318
- };
32319
- };
32320
- } | {
32321
- output: {
32322
- error: string;
32323
- };
32324
- outputFormat: "json";
32325
- status: 404;
32326
- input: {
32327
- json: {
32328
- archiveWhenDone?: boolean | undefined;
32329
- autoMergePr?: boolean | undefined;
32330
- allowWorkers?: boolean | undefined;
32331
- allowMessaging?: boolean | undefined;
32332
- title?: string | undefined;
32333
- task?: string | undefined;
32334
- };
32335
- } & {
32336
- param: {
32337
- id: string;
32338
- };
32339
- };
32340
- } | {
32341
- output: {
32342
- error: string;
32343
- };
32344
- outputFormat: "json";
32345
- status: 409;
32346
- input: {
32347
- json: {
32348
- archiveWhenDone?: boolean | undefined;
32349
- autoMergePr?: boolean | undefined;
32350
- allowWorkers?: boolean | undefined;
32351
- allowMessaging?: boolean | undefined;
32352
- title?: string | undefined;
32353
- task?: string | undefined;
32354
- };
32355
- } & {
32356
- param: {
32357
- id: string;
32358
- };
32359
- };
32360
- } | {
32361
32301
  output: {
32362
32302
  archiveWhenDone?: boolean | undefined;
32363
32303
  autoMergePr?: boolean | undefined;
@@ -33468,6 +33408,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33468
33408
  id: string;
33469
33409
  };
33470
33410
  };
33411
+ } | {
33412
+ output: {
33413
+ error: string;
33414
+ };
33415
+ outputFormat: "json";
33416
+ status: 404;
33417
+ input: {
33418
+ json: {
33419
+ archiveWhenDone?: boolean | undefined;
33420
+ autoMergePr?: boolean | undefined;
33421
+ allowWorkers?: boolean | undefined;
33422
+ allowMessaging?: boolean | undefined;
33423
+ title?: string | undefined;
33424
+ task?: string | undefined;
33425
+ };
33426
+ } & {
33427
+ param: {
33428
+ id: string;
33429
+ };
33430
+ };
33431
+ } | {
33432
+ output: {
33433
+ error: string;
33434
+ };
33435
+ outputFormat: "json";
33436
+ status: 400;
33437
+ input: {
33438
+ json: {
33439
+ archiveWhenDone?: boolean | undefined;
33440
+ autoMergePr?: boolean | undefined;
33441
+ allowWorkers?: boolean | undefined;
33442
+ allowMessaging?: boolean | undefined;
33443
+ title?: string | undefined;
33444
+ task?: string | undefined;
33445
+ };
33446
+ } & {
33447
+ param: {
33448
+ id: string;
33449
+ };
33450
+ };
33451
+ } | {
33452
+ output: {
33453
+ error: string;
33454
+ };
33455
+ outputFormat: "json";
33456
+ status: 409;
33457
+ input: {
33458
+ json: {
33459
+ archiveWhenDone?: boolean | undefined;
33460
+ autoMergePr?: boolean | undefined;
33461
+ allowWorkers?: boolean | undefined;
33462
+ allowMessaging?: boolean | undefined;
33463
+ title?: string | undefined;
33464
+ task?: string | undefined;
33465
+ };
33466
+ } & {
33467
+ param: {
33468
+ id: string;
33469
+ };
33470
+ };
33471
33471
  };
33472
33472
  };
33473
33473
  } & {
@@ -33572,7 +33572,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33572
33572
  error: string;
33573
33573
  };
33574
33574
  outputFormat: "json";
33575
- status: 400;
33575
+ status: 404;
33576
33576
  input: {
33577
33577
  json: {
33578
33578
  text?: string | undefined;
@@ -33591,7 +33591,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33591
33591
  error: string;
33592
33592
  };
33593
33593
  outputFormat: "json";
33594
- status: 404;
33594
+ status: 409;
33595
33595
  input: {
33596
33596
  json: {
33597
33597
  text?: string | undefined;
@@ -33607,10 +33607,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33607
33607
  };
33608
33608
  } | {
33609
33609
  output: {
33610
- error: string;
33610
+ delivered: true;
33611
33611
  };
33612
33612
  outputFormat: "json";
33613
- status: 409;
33613
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33614
33614
  input: {
33615
33615
  json: {
33616
33616
  text?: string | undefined;
@@ -33626,10 +33626,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33626
33626
  };
33627
33627
  } | {
33628
33628
  output: {
33629
- delivered: true;
33629
+ error: string;
33630
33630
  };
33631
33631
  outputFormat: "json";
33632
- status: import("hono/utils/http-status").ContentfulStatusCode;
33632
+ status: 400;
33633
33633
  input: {
33634
33634
  json: {
33635
33635
  text?: string | undefined;
@@ -33697,7 +33697,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33697
33697
  error: string;
33698
33698
  };
33699
33699
  outputFormat: "json";
33700
- status: 400;
33700
+ status: 404;
33701
33701
  input: {
33702
33702
  json: {
33703
33703
  text?: string | undefined;
@@ -33718,7 +33718,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33718
33718
  error: string;
33719
33719
  };
33720
33720
  outputFormat: "json";
33721
- status: 404;
33721
+ status: 400;
33722
33722
  input: {
33723
33723
  json: {
33724
33724
  text?: string | undefined;
@@ -33938,11 +33938,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33938
33938
  "/runs/:id/open-in-cli": {
33939
33939
  $post: {
33940
33940
  output: {
33941
- opened: true;
33942
- command: string;
33941
+ error: string;
33943
33942
  };
33944
33943
  outputFormat: "json";
33945
- status: import("hono/utils/http-status").ContentfulStatusCode;
33944
+ status: 404 | 409;
33946
33945
  input: {
33947
33946
  param: {
33948
33947
  id: string;
@@ -33950,10 +33949,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33950
33949
  };
33951
33950
  } | {
33952
33951
  output: {
33953
- error: string;
33952
+ opened: true;
33953
+ command: string;
33954
33954
  };
33955
33955
  outputFormat: "json";
33956
- status: 404 | 409;
33956
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33957
33957
  input: {
33958
33958
  param: {
33959
33959
  id: string;
@@ -33968,7 +33968,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33968
33968
  error: string;
33969
33969
  };
33970
33970
  outputFormat: "json";
33971
- status: 400;
33971
+ status: 404 | 409;
33972
33972
  input: {
33973
33973
  json: {
33974
33974
  target: string;
@@ -33981,11 +33981,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33981
33981
  };
33982
33982
  } | {
33983
33983
  output: {
33984
- opened: true;
33985
- path: string;
33984
+ error: string;
33986
33985
  };
33987
33986
  outputFormat: "json";
33988
- status: import("hono/utils/http-status").ContentfulStatusCode;
33987
+ status: 400;
33989
33988
  input: {
33990
33989
  json: {
33991
33990
  target: string;
@@ -33998,10 +33997,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33998
33997
  };
33999
33998
  } | {
34000
33999
  output: {
34001
- error: string;
34000
+ opened: true;
34001
+ path: string;
34002
34002
  };
34003
34003
  outputFormat: "json";
34004
- status: 404 | 409;
34004
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34005
34005
  input: {
34006
34006
  json: {
34007
34007
  target: string;
@@ -34041,12 +34041,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34041
34041
  } & {
34042
34042
  "/runs/:id/images/:file": {
34043
34043
  $get: {
34044
- output: {
34045
- error: string;
34046
- code?: "invalid_input" | undefined;
34047
- };
34048
- outputFormat: "json";
34049
- status: 400;
34044
+ output: {};
34045
+ outputFormat: string;
34046
+ status: import("hono/utils/http-status").StatusCode;
34050
34047
  input: {
34051
34048
  param: {
34052
34049
  id: string;
@@ -34054,9 +34051,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34054
34051
  };
34055
34052
  };
34056
34053
  } | {
34057
- output: {};
34058
- outputFormat: string;
34059
- status: import("hono/utils/http-status").StatusCode;
34054
+ output: {
34055
+ error: string;
34056
+ code?: "invalid_input" | undefined;
34057
+ };
34058
+ outputFormat: "json";
34059
+ status: 400;
34060
34060
  input: {
34061
34061
  param: {
34062
34062
  id: string;
@@ -34092,6 +34092,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34092
34092
  } & {
34093
34093
  "/runs/:id/changes": {
34094
34094
  $get: {
34095
+ output: {
34096
+ error: string;
34097
+ };
34098
+ outputFormat: "json";
34099
+ status: 404 | 409;
34100
+ input: {
34101
+ param: {
34102
+ id: string;
34103
+ };
34104
+ };
34105
+ } | {
34095
34106
  output: {
34096
34107
  files: {
34097
34108
  path: string;
@@ -34120,7 +34131,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34120
34131
  id: string;
34121
34132
  };
34122
34133
  };
34123
- } | {
34134
+ };
34135
+ };
34136
+ } & {
34137
+ "/runs/:id/commits": {
34138
+ $get: {
34124
34139
  output: {
34125
34140
  error: string;
34126
34141
  };
@@ -34131,11 +34146,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34131
34146
  id: string;
34132
34147
  };
34133
34148
  };
34134
- };
34135
- };
34136
- } & {
34137
- "/runs/:id/commits": {
34138
- $get: {
34149
+ } | {
34139
34150
  output: {
34140
34151
  commits: {
34141
34152
  sha: string;
@@ -34151,7 +34162,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34151
34162
  id: string;
34152
34163
  };
34153
34164
  };
34154
- } | {
34165
+ };
34166
+ };
34167
+ } & {
34168
+ "/runs/:id/commit/:sha": {
34169
+ $get: {
34155
34170
  output: {
34156
34171
  error: string;
34157
34172
  };
@@ -34160,13 +34175,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34160
34175
  input: {
34161
34176
  param: {
34162
34177
  id: string;
34178
+ } & {
34179
+ sha: string;
34163
34180
  };
34164
34181
  };
34165
- };
34166
- };
34167
- } & {
34168
- "/runs/:id/commit/:sha": {
34169
- $get: {
34182
+ } | {
34170
34183
  output: {
34171
34184
  sha: string;
34172
34185
  subject: string;
@@ -34197,19 +34210,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34197
34210
  sha: string;
34198
34211
  };
34199
34212
  };
34200
- } | {
34201
- output: {
34202
- error: string;
34203
- };
34204
- outputFormat: "json";
34205
- status: 404 | 409;
34206
- input: {
34207
- param: {
34208
- id: string;
34209
- } & {
34210
- sha: string;
34211
- };
34212
- };
34213
34213
  };
34214
34214
  };
34215
34215
  } & {
@@ -34245,6 +34245,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34245
34245
  raw?: "1" | undefined;
34246
34246
  };
34247
34247
  };
34248
+ } | {
34249
+ output: {
34250
+ error: string;
34251
+ };
34252
+ outputFormat: "json";
34253
+ status: 404 | 409;
34254
+ input: {
34255
+ param: {
34256
+ id: string;
34257
+ };
34258
+ } & {
34259
+ query: {
34260
+ path: string | string[];
34261
+ raw?: "1" | undefined;
34262
+ };
34263
+ };
34248
34264
  } | {
34249
34265
  output: {
34250
34266
  type: "file";
@@ -34281,22 +34297,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34281
34297
  raw?: "1" | undefined;
34282
34298
  };
34283
34299
  };
34284
- } | {
34285
- output: {
34286
- error: string;
34287
- };
34288
- outputFormat: "json";
34289
- status: 404 | 409;
34290
- input: {
34291
- param: {
34292
- id: string;
34293
- };
34294
- } & {
34295
- query: {
34296
- path: string | string[];
34297
- raw?: "1" | undefined;
34298
- };
34299
- };
34300
34300
  };
34301
34301
  };
34302
34302
  } & {
@@ -34361,18 +34361,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34361
34361
  artifactId: string;
34362
34362
  };
34363
34363
  };
34364
- } | {
34365
- output: {
34366
- error: string;
34367
- };
34368
- outputFormat: "json";
34369
- status: 404;
34370
- input: {
34371
- param: {
34372
- id: string;
34373
- artifactId: string;
34374
- };
34375
- };
34376
34364
  } | {
34377
34365
  output: {
34378
34366
  type: "file";
@@ -34401,6 +34389,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34401
34389
  artifactId: string;
34402
34390
  };
34403
34391
  };
34392
+ } | {
34393
+ output: {
34394
+ error: string;
34395
+ };
34396
+ outputFormat: "json";
34397
+ status: 404;
34398
+ input: {
34399
+ param: {
34400
+ id: string;
34401
+ artifactId: string;
34402
+ };
34403
+ };
34404
34404
  };
34405
34405
  };
34406
34406
  } & {
@@ -34578,16 +34578,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34578
34578
  };
34579
34579
  } | {
34580
34580
  output: {
34581
- type: 'dir';
34582
- path: string;
34583
- entries: {
34584
- name: string;
34585
- type: 'dir' | 'file';
34586
- size?: number;
34587
- }[];
34581
+ error: string;
34588
34582
  };
34589
34583
  outputFormat: "json";
34590
- status: import("hono/utils/http-status").ContentfulStatusCode;
34584
+ status: 404 | 409;
34591
34585
  input: {
34592
34586
  query: {
34593
34587
  path?: string | undefined;
@@ -34600,12 +34594,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34600
34594
  };
34601
34595
  } | {
34602
34596
  output: {
34603
- type: 'file';
34597
+ type: 'dir';
34604
34598
  path: string;
34605
- size: number;
34606
- binary: boolean;
34607
- tooLarge: boolean;
34608
- content?: string | undefined;
34599
+ entries: {
34600
+ name: string;
34601
+ type: 'dir' | 'file';
34602
+ size?: number;
34603
+ }[];
34609
34604
  };
34610
34605
  outputFormat: "json";
34611
34606
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -34621,10 +34616,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34621
34616
  };
34622
34617
  } | {
34623
34618
  output: {
34624
- error: string;
34619
+ type: 'file';
34620
+ path: string;
34621
+ size: number;
34622
+ binary: boolean;
34623
+ tooLarge: boolean;
34624
+ content?: string | undefined;
34625
34625
  };
34626
34626
  outputFormat: "json";
34627
- status: 404 | 409;
34627
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34628
34628
  input: {
34629
34629
  query: {
34630
34630
  path?: string | undefined;
@@ -34641,11 +34641,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34641
34641
  "/runs/:id/git/commit": {
34642
34642
  $post: {
34643
34643
  output: {
34644
- committed: true;
34645
- sha: string;
34644
+ error: string;
34646
34645
  };
34647
34646
  outputFormat: "json";
34648
- status: import("hono/utils/http-status").ContentfulStatusCode;
34647
+ status: 404 | 409;
34649
34648
  input: {
34650
34649
  json: {
34651
34650
  message: string;
@@ -34657,10 +34656,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34657
34656
  };
34658
34657
  } | {
34659
34658
  output: {
34660
- error: string;
34659
+ committed: true;
34660
+ sha: string;
34661
34661
  };
34662
34662
  outputFormat: "json";
34663
- status: 404 | 409;
34663
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34664
34664
  input: {
34665
34665
  json: {
34666
34666
  message: string;
@@ -34676,13 +34676,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34676
34676
  "/runs/:id/git/push": {
34677
34677
  $post: {
34678
34678
  output: {
34679
- pushed: true;
34680
- branch: string;
34681
- remote: string;
34682
- upstreamSet: boolean;
34679
+ error: string;
34683
34680
  };
34684
34681
  outputFormat: "json";
34685
- status: import("hono/utils/http-status").ContentfulStatusCode;
34682
+ status: 404 | 409;
34686
34683
  input: {
34687
34684
  param: {
34688
34685
  id: string;
@@ -34690,10 +34687,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34690
34687
  };
34691
34688
  } | {
34692
34689
  output: {
34693
- error: string;
34690
+ pushed: true;
34691
+ branch: string;
34692
+ remote: string;
34693
+ upstreamSet: boolean;
34694
34694
  };
34695
34695
  outputFormat: "json";
34696
- status: 404 | 409;
34696
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34697
34697
  input: {
34698
34698
  param: {
34699
34699
  id: string;
@@ -34705,11 +34705,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34705
34705
  "/runs/:id/pr": {
34706
34706
  $post: {
34707
34707
  output: {
34708
- url: string;
34709
- dryRun: boolean;
34708
+ error: string;
34710
34709
  };
34711
34710
  outputFormat: "json";
34712
- status: 201;
34711
+ status: 404 | 409;
34713
34712
  input: {
34714
34713
  param: {
34715
34714
  id: string;
@@ -34717,10 +34716,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34717
34716
  };
34718
34717
  } | {
34719
34718
  output: {
34720
- error: string;
34719
+ url: string;
34720
+ dryRun: boolean;
34721
34721
  };
34722
34722
  outputFormat: "json";
34723
- status: 404 | 409;
34723
+ status: 201;
34724
34724
  input: {
34725
34725
  param: {
34726
34726
  id: string;
@@ -34732,10 +34732,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34732
34732
  "/runs/:id/remove-worktree": {
34733
34733
  $post: {
34734
34734
  output: {
34735
- removed: true;
34735
+ error: string;
34736
34736
  };
34737
34737
  outputFormat: "json";
34738
- status: import("hono/utils/http-status").ContentfulStatusCode;
34738
+ status: 404 | 409;
34739
34739
  input: {
34740
34740
  param: {
34741
34741
  id: string;
@@ -34743,10 +34743,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34743
34743
  };
34744
34744
  } | {
34745
34745
  output: {
34746
- error: string;
34746
+ removed: true;
34747
34747
  };
34748
34748
  outputFormat: "json";
34749
- status: 404 | 409;
34749
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34750
34750
  input: {
34751
34751
  param: {
34752
34752
  id: string;
@@ -34758,10 +34758,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34758
34758
  "/runs/:id": {
34759
34759
  $delete: {
34760
34760
  output: {
34761
- deleted: true;
34761
+ error: string;
34762
34762
  };
34763
34763
  outputFormat: "json";
34764
- status: import("hono/utils/http-status").ContentfulStatusCode;
34764
+ status: 404 | 409;
34765
34765
  input: {
34766
34766
  param: {
34767
34767
  id: string;
@@ -34769,10 +34769,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34769
34769
  };
34770
34770
  } | {
34771
34771
  output: {
34772
- error: string;
34772
+ deleted: true;
34773
34773
  };
34774
34774
  outputFormat: "json";
34775
- status: 404 | 409;
34775
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34776
34776
  input: {
34777
34777
  param: {
34778
34778
  id: string;