@hearsay-tools/squawk 0.19.0-pr4669.9271 → 0.19.0-pr4672.9273.2

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.
@@ -234,17 +234,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
234
234
  };
235
235
  } | {
236
236
  output: {
237
- path: string;
238
- parent: string | null;
239
- dirs: {
240
- name: string;
241
- path: string;
242
- isRepo: boolean;
243
- }[];
244
- truncated: boolean;
237
+ error: string;
245
238
  };
246
239
  outputFormat: "json";
247
- status: import("hono/utils/http-status").ContentfulStatusCode;
240
+ status: 400 | 403 | 404;
248
241
  input: {
249
242
  query: {
250
243
  path?: string | undefined;
@@ -253,10 +246,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
253
246
  };
254
247
  } | {
255
248
  output: {
256
- error: string;
249
+ path: string;
250
+ parent: string | null;
251
+ dirs: {
252
+ name: string;
253
+ path: string;
254
+ isRepo: boolean;
255
+ }[];
256
+ truncated: boolean;
257
257
  };
258
258
  outputFormat: "json";
259
- status: 400 | 403 | 404;
259
+ status: import("hono/utils/http-status").ContentfulStatusCode;
260
260
  input: {
261
261
  query: {
262
262
  path?: string | undefined;
@@ -268,18 +268,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
268
268
  }, "/"> | import("hono/types").MergeSchemaPath<{
269
269
  "/workspace/events": {
270
270
  $get: {
271
- output: {
272
- error: string;
273
- code?: "invalid_input" | undefined;
274
- };
275
- outputFormat: "json";
276
- status: 400;
277
- input: {
278
- query: {
279
- runs?: "summary" | undefined;
280
- };
281
- };
282
- } | {
283
271
  output: {};
284
272
  outputFormat: string;
285
273
  status: import("hono/utils/http-status").StatusCode;
@@ -288,11 +276,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
288
276
  runs?: "summary" | undefined;
289
277
  };
290
278
  };
291
- };
292
- };
293
- }, "/"> | import("hono/types").MergeSchemaPath<{
294
- "/models": {
295
- $get: {
279
+ } | {
296
280
  output: {
297
281
  error: string;
298
282
  code?: "invalid_input" | undefined;
@@ -301,13 +285,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
301
285
  status: 400;
302
286
  input: {
303
287
  query: {
304
- runner: string | string[];
305
- profileId?: string | undefined;
288
+ runs?: "summary" | undefined;
306
289
  };
307
290
  };
308
- } | {
291
+ };
292
+ };
293
+ }, "/"> | import("hono/types").MergeSchemaPath<{
294
+ "/models": {
295
+ $get: {
309
296
  output: {
310
297
  error: string;
298
+ code?: "invalid_input" | undefined;
311
299
  };
312
300
  outputFormat: "json";
313
301
  status: 400;
@@ -338,11 +326,46 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
338
326
  profileId?: string | undefined;
339
327
  };
340
328
  };
329
+ } | {
330
+ output: {
331
+ error: string;
332
+ };
333
+ outputFormat: "json";
334
+ status: 400;
335
+ input: {
336
+ query: {
337
+ runner: string | string[];
338
+ profileId?: string | undefined;
339
+ };
340
+ };
341
341
  };
342
342
  };
343
343
  }, "/"> | import("hono/types").MergeSchemaPath<{
344
344
  "/workspace/activity": {
345
345
  $get: {
346
+ output: {
347
+ error: string;
348
+ code?: "invalid_input" | undefined;
349
+ };
350
+ outputFormat: "json";
351
+ status: 400;
352
+ input: {
353
+ query: {
354
+ project?: string | undefined;
355
+ };
356
+ };
357
+ } | {
358
+ output: {
359
+ error: string;
360
+ };
361
+ outputFormat: "json";
362
+ status: 404 | 409 | 503;
363
+ input: {
364
+ query: {
365
+ project?: string | undefined;
366
+ };
367
+ };
368
+ } | {
346
369
  output: {
347
370
  generatedAt: string;
348
371
  projects: {
@@ -593,29 +616,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
593
616
  project?: string | undefined;
594
617
  };
595
618
  };
596
- } | {
597
- output: {
598
- error: string;
599
- code?: "invalid_input" | undefined;
600
- };
601
- outputFormat: "json";
602
- status: 400;
603
- input: {
604
- query: {
605
- project?: string | undefined;
606
- };
607
- };
608
- } | {
609
- output: {
610
- error: string;
611
- };
612
- outputFormat: "json";
613
- status: 404 | 409 | 503;
614
- input: {
615
- query: {
616
- project?: string | undefined;
617
- };
618
- };
619
619
  };
620
620
  };
621
621
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -940,7 +940,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
940
940
  error: string;
941
941
  };
942
942
  outputFormat: "json";
943
- status: 400;
943
+ status: 409;
944
944
  input: {
945
945
  json: {
946
946
  provider: string;
@@ -952,7 +952,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
952
952
  error: string;
953
953
  };
954
954
  outputFormat: "json";
955
- status: 409;
955
+ status: 400;
956
956
  input: {
957
957
  json: {
958
958
  provider: string;
@@ -1205,10 +1205,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1205
1205
  };
1206
1206
  } | {
1207
1207
  output: {
1208
- error: string;
1208
+ providers: {
1209
+ requiresAccountHome?: boolean | undefined;
1210
+ provider: string;
1211
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1212
+ enabled?: boolean | undefined;
1213
+ hint?: string | undefined;
1214
+ authFailureId?: string | undefined;
1215
+ profileId?: string | undefined;
1216
+ }[];
1209
1217
  };
1210
1218
  outputFormat: "json";
1211
- status: 500;
1219
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1212
1220
  input: {
1213
1221
  param: {
1214
1222
  provider: string;
@@ -1220,18 +1228,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1220
1228
  };
1221
1229
  } | {
1222
1230
  output: {
1223
- providers: {
1224
- requiresAccountHome?: boolean | undefined;
1225
- provider: string;
1226
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1227
- enabled?: boolean | undefined;
1228
- hint?: string | undefined;
1229
- authFailureId?: string | undefined;
1230
- profileId?: string | undefined;
1231
- }[];
1231
+ error: string;
1232
1232
  };
1233
1233
  outputFormat: "json";
1234
- status: import("hono/utils/http-status").ContentfulStatusCode;
1234
+ status: 500;
1235
1235
  input: {
1236
1236
  param: {
1237
1237
  provider: string;
@@ -1263,10 +1263,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1263
1263
  };
1264
1264
  } | {
1265
1265
  output: {
1266
- error: string;
1266
+ providers: {
1267
+ requiresAccountHome?: boolean | undefined;
1268
+ provider: string;
1269
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1270
+ enabled?: boolean | undefined;
1271
+ hint?: string | undefined;
1272
+ authFailureId?: string | undefined;
1273
+ profileId?: string | undefined;
1274
+ }[];
1267
1275
  };
1268
1276
  outputFormat: "json";
1269
- status: 409;
1277
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1270
1278
  input: {
1271
1279
  param: {
1272
1280
  provider: string;
@@ -1278,18 +1286,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1278
1286
  };
1279
1287
  } | {
1280
1288
  output: {
1281
- providers: {
1282
- requiresAccountHome?: boolean | undefined;
1283
- provider: string;
1284
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1285
- enabled?: boolean | undefined;
1286
- hint?: string | undefined;
1287
- authFailureId?: string | undefined;
1288
- profileId?: string | undefined;
1289
- }[];
1289
+ error: string;
1290
1290
  };
1291
1291
  outputFormat: "json";
1292
- status: import("hono/utils/http-status").ContentfulStatusCode;
1292
+ status: 409;
1293
1293
  input: {
1294
1294
  param: {
1295
1295
  provider: string;
@@ -1308,7 +1308,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1308
1308
  error: string;
1309
1309
  };
1310
1310
  outputFormat: "json";
1311
- status: 400;
1311
+ status: 409;
1312
1312
  input: {
1313
1313
  json: {
1314
1314
  provider: string;
@@ -1320,7 +1320,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1320
1320
  error: string;
1321
1321
  };
1322
1322
  outputFormat: "json";
1323
- status: 409;
1323
+ status: 400;
1324
1324
  input: {
1325
1325
  json: {
1326
1326
  provider: string;
@@ -1408,10 +1408,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1408
1408
  "/workspace/config": {
1409
1409
  $put: {
1410
1410
  output: {
1411
- error: string;
1411
+ homeDir: string;
1412
+ browseRoot: string;
1413
+ projectsDir: string;
1414
+ archiveOnMerge: boolean | null;
1415
+ effectiveArchiveOnMerge: boolean;
1416
+ archiveOnMergeSource: "default" | "environment" | "global";
1417
+ composerDefaults: {
1418
+ autonomous: boolean | null;
1419
+ worktree: boolean | null;
1420
+ inheritedAutonomous: "source-dependent" | boolean;
1421
+ inheritedWorktree: boolean;
1422
+ };
1423
+ resources: {
1424
+ maxParallel: number;
1425
+ maxMonitoringSessions: number;
1426
+ monitoringWakeIntervalMinutes: number | null;
1427
+ autoResumeOnUsageLimit: boolean;
1428
+ memoryLimitMb: number | null;
1429
+ worktreeRetentionDefault: number;
1430
+ };
1431
+ agentDefaults: {
1432
+ runner?: string | undefined;
1433
+ models?: {
1434
+ [x: string]: string | undefined;
1435
+ } | undefined;
1436
+ };
1412
1437
  };
1413
1438
  outputFormat: "json";
1414
- status: 400;
1439
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1415
1440
  input: {
1416
1441
  json: {
1417
1442
  browseRoot?: string | undefined;
@@ -1440,7 +1465,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1440
1465
  error: string;
1441
1466
  };
1442
1467
  outputFormat: "json";
1443
- status: 500;
1468
+ status: 400;
1444
1469
  input: {
1445
1470
  json: {
1446
1471
  browseRoot?: string | undefined;
@@ -1466,35 +1491,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1466
1491
  };
1467
1492
  } | {
1468
1493
  output: {
1469
- homeDir: string;
1470
- browseRoot: string;
1471
- projectsDir: string;
1472
- archiveOnMerge: boolean | null;
1473
- effectiveArchiveOnMerge: boolean;
1474
- archiveOnMergeSource: "default" | "environment" | "global";
1475
- composerDefaults: {
1476
- autonomous: boolean | null;
1477
- worktree: boolean | null;
1478
- inheritedAutonomous: "source-dependent" | boolean;
1479
- inheritedWorktree: boolean;
1480
- };
1481
- resources: {
1482
- maxParallel: number;
1483
- maxMonitoringSessions: number;
1484
- monitoringWakeIntervalMinutes: number | null;
1485
- autoResumeOnUsageLimit: boolean;
1486
- memoryLimitMb: number | null;
1487
- worktreeRetentionDefault: number;
1488
- };
1489
- agentDefaults: {
1490
- runner?: string | undefined;
1491
- models?: {
1492
- [x: string]: string | undefined;
1493
- } | undefined;
1494
- };
1494
+ error: string;
1495
1495
  };
1496
1496
  outputFormat: "json";
1497
- status: import("hono/utils/http-status").ContentfulStatusCode;
1497
+ status: 500;
1498
1498
  input: {
1499
1499
  json: {
1500
1500
  browseRoot?: string | undefined;
@@ -1566,10 +1566,41 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1566
1566
  "/workspace/ui-state": {
1567
1567
  $put: {
1568
1568
  output: {
1569
- error: string;
1569
+ [x: string]: import("hono/utils/types").JSONValue;
1570
+ sidebar?: {
1571
+ [x: string]: import("hono/utils/types").JSONValue;
1572
+ collapsed?: {
1573
+ [x: string]: boolean;
1574
+ } | undefined;
1575
+ projectOrder?: string[] | undefined;
1576
+ } | undefined;
1577
+ dismissedProviderAuthFailures?: {
1578
+ [x: string]: string | undefined;
1579
+ } | undefined;
1580
+ appearance?: {
1581
+ accent?: "cezarion" | "lime" | "violet" | undefined;
1582
+ density?: "comfortable" | "compact" | "ultra" | undefined;
1583
+ width?: "narrow" | "wide" | undefined;
1584
+ } | undefined;
1585
+ notifications?: {
1586
+ [x: string]: import("hono/utils/types").JSONValue;
1587
+ enabled?: boolean | undefined;
1588
+ } | undefined;
1589
+ taskTable?: {
1590
+ [x: string]: import("hono/utils/types").JSONValue;
1591
+ expandedColumns?: {
1592
+ [x: string]: boolean;
1593
+ } | undefined;
1594
+ } | undefined;
1595
+ lastLocation?: {
1596
+ projectId: string;
1597
+ pathname: string;
1598
+ search?: string | undefined;
1599
+ hash?: string | undefined;
1600
+ } | undefined;
1570
1601
  };
1571
1602
  outputFormat: "json";
1572
- status: 500;
1603
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1573
1604
  input: {
1574
1605
  json: {
1575
1606
  [x: string]: unknown;
@@ -1602,41 +1633,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1602
1633
  };
1603
1634
  } | {
1604
1635
  output: {
1605
- [x: string]: import("hono/utils/types").JSONValue;
1606
- sidebar?: {
1607
- [x: string]: import("hono/utils/types").JSONValue;
1608
- collapsed?: {
1609
- [x: string]: boolean;
1610
- } | undefined;
1611
- projectOrder?: string[] | undefined;
1612
- } | undefined;
1613
- dismissedProviderAuthFailures?: {
1614
- [x: string]: string | undefined;
1615
- } | undefined;
1616
- appearance?: {
1617
- accent?: "cezarion" | "lime" | "violet" | undefined;
1618
- density?: "comfortable" | "compact" | "ultra" | undefined;
1619
- width?: "narrow" | "wide" | undefined;
1620
- } | undefined;
1621
- notifications?: {
1622
- [x: string]: import("hono/utils/types").JSONValue;
1623
- enabled?: boolean | undefined;
1624
- } | undefined;
1625
- taskTable?: {
1626
- [x: string]: import("hono/utils/types").JSONValue;
1627
- expandedColumns?: {
1628
- [x: string]: boolean;
1629
- } | undefined;
1630
- } | undefined;
1631
- lastLocation?: {
1632
- projectId: string;
1633
- pathname: string;
1634
- search?: string | undefined;
1635
- hash?: string | undefined;
1636
- } | undefined;
1636
+ error: string;
1637
1637
  };
1638
1638
  outputFormat: "json";
1639
- status: import("hono/utils/http-status").ContentfulStatusCode;
1639
+ status: 500;
1640
1640
  input: {
1641
1641
  json: {
1642
1642
  [x: string]: unknown;
@@ -1714,28 +1714,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1714
1714
  "/workspace/agent-profiles": {
1715
1715
  $post: {
1716
1716
  output: {
1717
- profile: {
1718
- id: string;
1719
- provider: string;
1720
- label: string;
1721
- configDir?: string | undefined;
1722
- path?: string | undefined;
1723
- exists: boolean;
1724
- looksValid: boolean;
1725
- isDefault: boolean;
1726
- status?: {
1727
- requiresAccountHome?: boolean | undefined;
1728
- provider: string;
1729
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1730
- enabled?: boolean | undefined;
1731
- hint?: string | undefined;
1732
- authFailureId?: string | undefined;
1733
- profileId?: string | undefined;
1734
- } | undefined;
1735
- };
1717
+ error: string;
1736
1718
  };
1737
1719
  outputFormat: "json";
1738
- status: 201;
1720
+ status: 409;
1739
1721
  input: {
1740
1722
  json: {
1741
1723
  provider: string;
@@ -1761,7 +1743,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1761
1743
  error: string;
1762
1744
  };
1763
1745
  outputFormat: "json";
1764
- status: 409;
1746
+ status: 500;
1765
1747
  input: {
1766
1748
  json: {
1767
1749
  provider: string;
@@ -1771,10 +1753,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1771
1753
  };
1772
1754
  } | {
1773
1755
  output: {
1774
- error: string;
1756
+ profile: {
1757
+ id: string;
1758
+ provider: string;
1759
+ label: string;
1760
+ configDir?: string | undefined;
1761
+ path?: string | undefined;
1762
+ exists: boolean;
1763
+ looksValid: boolean;
1764
+ isDefault: boolean;
1765
+ status?: {
1766
+ requiresAccountHome?: boolean | undefined;
1767
+ provider: string;
1768
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1769
+ enabled?: boolean | undefined;
1770
+ hint?: string | undefined;
1771
+ authFailureId?: string | undefined;
1772
+ profileId?: string | undefined;
1773
+ } | undefined;
1774
+ };
1775
1775
  };
1776
1776
  outputFormat: "json";
1777
- status: 500;
1777
+ status: 201;
1778
1778
  input: {
1779
1779
  json: {
1780
1780
  provider: string;
@@ -1808,7 +1808,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1808
1808
  error: string;
1809
1809
  };
1810
1810
  outputFormat: "json";
1811
- status: 400;
1811
+ status: 409;
1812
1812
  input: {
1813
1813
  param: {
1814
1814
  id: string;
@@ -1824,7 +1824,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1824
1824
  error: string;
1825
1825
  };
1826
1826
  outputFormat: "json";
1827
- status: 404;
1827
+ status: 400;
1828
1828
  input: {
1829
1829
  param: {
1830
1830
  id: string;
@@ -1840,7 +1840,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1840
1840
  error: string;
1841
1841
  };
1842
1842
  outputFormat: "json";
1843
- status: 409;
1843
+ status: 404;
1844
1844
  input: {
1845
1845
  param: {
1846
1846
  id: string;
@@ -1966,9 +1966,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1966
1966
  $put: {
1967
1967
  output: {
1968
1968
  error: string;
1969
+ code: "no-boot-project";
1969
1970
  };
1970
1971
  outputFormat: "json";
1971
- status: 400;
1972
+ status: 409;
1972
1973
  input: {
1973
1974
  json: {
1974
1975
  projectId: string;
@@ -1992,10 +1993,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1992
1993
  } | {
1993
1994
  output: {
1994
1995
  error: string;
1995
- code: "no-boot-project";
1996
1996
  };
1997
1997
  outputFormat: "json";
1998
- status: 409;
1998
+ status: 400;
1999
1999
  input: {
2000
2000
  json: {
2001
2001
  projectId: string;
@@ -2059,7 +2059,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2059
2059
  error: string;
2060
2060
  };
2061
2061
  outputFormat: "json";
2062
- status: 404;
2062
+ status: 409;
2063
2063
  input: {
2064
2064
  param: {
2065
2065
  id: string;
@@ -2070,7 +2070,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2070
2070
  error: string;
2071
2071
  };
2072
2072
  outputFormat: "json";
2073
- status: 409;
2073
+ status: 500;
2074
2074
  input: {
2075
2075
  param: {
2076
2076
  id: string;
@@ -2081,7 +2081,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2081
2081
  error: string;
2082
2082
  };
2083
2083
  outputFormat: "json";
2084
- status: 500;
2084
+ status: 404;
2085
2085
  input: {
2086
2086
  param: {
2087
2087
  id: string;
@@ -2146,6 +2146,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2146
2146
  } & {
2147
2147
  "/projects": {
2148
2148
  $post: {
2149
+ output: {
2150
+ error: string;
2151
+ };
2152
+ outputFormat: "json";
2153
+ status: 400 | 500;
2154
+ input: {
2155
+ json: {
2156
+ root: string;
2157
+ };
2158
+ };
2159
+ } | {
2149
2160
  output: {
2150
2161
  project: {
2151
2162
  id: string;
@@ -2177,10 +2188,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2177
2188
  agent: boolean;
2178
2189
  }[] | undefined;
2179
2190
  };
2180
- error?: string | undefined;
2191
+ error: string;
2181
2192
  };
2182
2193
  outputFormat: "json";
2183
- status: 200;
2194
+ status: 409;
2184
2195
  input: {
2185
2196
  json: {
2186
2197
  root: string;
@@ -2218,31 +2229,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2218
2229
  agent: boolean;
2219
2230
  }[] | undefined;
2220
2231
  };
2221
- error: string;
2232
+ error?: string | undefined;
2222
2233
  };
2223
2234
  outputFormat: "json";
2224
- status: 409;
2235
+ status: 200;
2225
2236
  input: {
2226
2237
  json: {
2227
2238
  root: string;
2228
2239
  };
2229
2240
  };
2230
- } | {
2241
+ };
2242
+ };
2243
+ } & {
2244
+ "/projects/:projectId": {
2245
+ $delete: {
2231
2246
  output: {
2232
2247
  error: string;
2248
+ code?: "no-boot-project" | undefined;
2233
2249
  };
2234
2250
  outputFormat: "json";
2235
- status: 400 | 500;
2251
+ status: 404 | 409;
2236
2252
  input: {
2237
- json: {
2238
- root: string;
2253
+ param: {
2254
+ projectId: string;
2239
2255
  };
2240
2256
  };
2241
- };
2242
- };
2243
- } & {
2244
- "/projects/:projectId": {
2245
- $delete: {
2257
+ } | {
2246
2258
  output: {
2247
2259
  error: string;
2248
2260
  };
@@ -2287,7 +2299,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2287
2299
  projectId: string;
2288
2300
  };
2289
2301
  };
2290
- } | {
2302
+ };
2303
+ };
2304
+ } & {
2305
+ "/projects/:projectId": {
2306
+ $patch: {
2291
2307
  output: {
2292
2308
  error: string;
2293
2309
  code?: "no-boot-project" | undefined;
@@ -2295,15 +2311,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2295
2311
  outputFormat: "json";
2296
2312
  status: 404 | 409;
2297
2313
  input: {
2314
+ json: {
2315
+ maxParallel?: number | null | undefined;
2316
+ tags?: string[] | null | undefined;
2317
+ webhook?: {
2318
+ url: string;
2319
+ token?: string | undefined;
2320
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2321
+ } | null | undefined;
2322
+ };
2323
+ } & {
2298
2324
  param: {
2299
2325
  projectId: string;
2300
2326
  };
2301
2327
  };
2302
- };
2303
- };
2304
- } & {
2305
- "/projects/:projectId": {
2306
- $patch: {
2328
+ } | {
2307
2329
  output: {
2308
2330
  error: string;
2309
2331
  };
@@ -2395,28 +2417,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2395
2417
  projectId: string;
2396
2418
  };
2397
2419
  };
2398
- } | {
2399
- output: {
2400
- error: string;
2401
- code?: "no-boot-project" | undefined;
2402
- };
2403
- outputFormat: "json";
2404
- status: 404 | 409;
2405
- input: {
2406
- json: {
2407
- maxParallel?: number | null | undefined;
2408
- tags?: string[] | null | undefined;
2409
- webhook?: {
2410
- url: string;
2411
- token?: string | undefined;
2412
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2413
- } | null | undefined;
2414
- };
2415
- } & {
2416
- param: {
2417
- projectId: string;
2418
- };
2419
- };
2420
2420
  };
2421
2421
  };
2422
2422
  } & {
@@ -2653,15 +2653,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2653
2653
  "/runner-install/:runner": {
2654
2654
  $post: {
2655
2655
  output: {
2656
- supported: boolean;
2657
- installedVersion: string | null;
2658
- latestVersion: string | null;
2659
- updateAvailable: boolean;
2660
- phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
2661
- error: string | null;
2656
+ error: string;
2657
+ code?: "invalid_input" | undefined;
2662
2658
  };
2663
2659
  outputFormat: "json";
2664
- status: 202;
2660
+ status: 400;
2665
2661
  input: {
2666
2662
  param: {
2667
2663
  runner: string;
@@ -2673,11 +2669,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2673
2669
  };
2674
2670
  } | {
2675
2671
  output: {
2676
- error: string;
2677
- code?: "invalid_input" | undefined;
2672
+ supported: boolean;
2673
+ installedVersion: string | null;
2674
+ latestVersion: string | null;
2675
+ updateAvailable: boolean;
2676
+ phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
2677
+ error: string | null;
2678
2678
  };
2679
2679
  outputFormat: "json";
2680
- status: 400;
2680
+ status: 202;
2681
2681
  input: {
2682
2682
  param: {
2683
2683
  runner: string;
@@ -2752,18 +2752,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2752
2752
  "/workspace/identity": {
2753
2753
  $get: {
2754
2754
  output: {
2755
- installId: string;
2756
- version: string;
2755
+ error: string;
2757
2756
  };
2758
2757
  outputFormat: "json";
2759
- status: 200;
2758
+ status: 503;
2760
2759
  input: {};
2761
2760
  } | {
2762
2761
  output: {
2763
- error: string;
2762
+ installId: string;
2763
+ version: string;
2764
2764
  };
2765
2765
  outputFormat: "json";
2766
- status: 503;
2766
+ status: 200;
2767
2767
  input: {};
2768
2768
  };
2769
2769
  };
@@ -3053,6 +3053,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3053
3053
  }, "/"> | import("hono/types").MergeSchemaPath<{
3054
3054
  "/plan": {
3055
3055
  $post: {
3056
+ output: {
3057
+ error: string;
3058
+ };
3059
+ outputFormat: "json";
3060
+ status: 400 | 404 | 409;
3061
+ input: {
3062
+ json: {
3063
+ task: string;
3064
+ agentProfile?: string | undefined;
3065
+ };
3066
+ };
3067
+ } | {
3056
3068
  output: {
3057
3069
  name?: string;
3058
3070
  steps: {
@@ -3089,18 +3101,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3089
3101
  agentProfile?: string | undefined;
3090
3102
  };
3091
3103
  };
3092
- } | {
3093
- output: {
3094
- error: string;
3095
- };
3096
- outputFormat: "json";
3097
- status: 400 | 404 | 409;
3098
- input: {
3099
- json: {
3100
- task: string;
3101
- agentProfile?: string | undefined;
3102
- };
3103
- };
3104
3104
  };
3105
3105
  };
3106
3106
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -3150,10 +3150,42 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3150
3150
  "/ui-state": {
3151
3151
  $put: {
3152
3152
  output: {
3153
- error: string;
3153
+ [x: string]: import("hono/utils/types").JSONValue;
3154
+ sidebarLimits?: {
3155
+ overall?: number | null | undefined;
3156
+ needsYou?: number | null | undefined;
3157
+ finished?: number | null | undefined;
3158
+ working?: number | null | undefined;
3159
+ } | undefined;
3160
+ lastTask?: {
3161
+ source: "skill" | "workflow";
3162
+ ref: string;
3163
+ } | null | undefined;
3164
+ recentSources?: {
3165
+ source: "skill" | "workflow";
3166
+ ref: string;
3167
+ }[] | undefined;
3168
+ lastWorktree?: boolean | undefined;
3169
+ lastAutonomous?: boolean | undefined;
3170
+ skillUsage?: {
3171
+ [x: string]: number;
3172
+ } | undefined;
3173
+ runsView?: "list" | "table" | undefined;
3174
+ githubView?: "issues" | "prs" | undefined;
3175
+ appearance?: {
3176
+ accent?: "cezarion" | "lime" | "violet" | undefined;
3177
+ density?: "comfortable" | "compact" | "ultra" | undefined;
3178
+ width?: "narrow" | "wide" | undefined;
3179
+ } | undefined;
3180
+ promptTemplates?: {
3181
+ id: string;
3182
+ label: string;
3183
+ text: string;
3184
+ skills?: string[] | undefined;
3185
+ }[] | undefined;
3154
3186
  };
3155
3187
  outputFormat: "json";
3156
- status: 500;
3188
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3157
3189
  input: {
3158
3190
  json: {
3159
3191
  [x: string]: unknown;
@@ -3191,42 +3223,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3191
3223
  };
3192
3224
  } | {
3193
3225
  output: {
3194
- [x: string]: import("hono/utils/types").JSONValue;
3195
- sidebarLimits?: {
3196
- overall?: number | null | undefined;
3197
- needsYou?: number | null | undefined;
3198
- finished?: number | null | undefined;
3199
- working?: number | null | undefined;
3200
- } | undefined;
3201
- lastTask?: {
3202
- source: "skill" | "workflow";
3203
- ref: string;
3204
- } | null | undefined;
3205
- recentSources?: {
3206
- source: "skill" | "workflow";
3207
- ref: string;
3208
- }[] | undefined;
3209
- lastWorktree?: boolean | undefined;
3210
- lastAutonomous?: boolean | undefined;
3211
- skillUsage?: {
3212
- [x: string]: number;
3213
- } | undefined;
3214
- runsView?: "list" | "table" | undefined;
3215
- githubView?: "issues" | "prs" | undefined;
3216
- appearance?: {
3217
- accent?: "cezarion" | "lime" | "violet" | undefined;
3218
- density?: "comfortable" | "compact" | "ultra" | undefined;
3219
- width?: "narrow" | "wide" | undefined;
3220
- } | undefined;
3221
- promptTemplates?: {
3222
- id: string;
3223
- label: string;
3224
- text: string;
3225
- skills?: string[] | undefined;
3226
- }[] | undefined;
3226
+ error: string;
3227
3227
  };
3228
3228
  outputFormat: "json";
3229
- status: import("hono/utils/http-status").ContentfulStatusCode;
3229
+ status: 500;
3230
3230
  input: {
3231
3231
  json: {
3232
3232
  [x: string]: unknown;
@@ -3303,10 +3303,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3303
3303
  "/config": {
3304
3304
  $put: {
3305
3305
  output: {
3306
- error: string;
3306
+ archiveOnMerge: boolean | null;
3307
+ effectiveArchiveOnMerge: boolean;
3308
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
3309
+ baseBranch: string | null;
3310
+ defaultRunner: string;
3311
+ systemPrompt: string | null;
3312
+ defaultModels: {
3313
+ [x: string]: string | undefined;
3314
+ };
3315
+ modelsLocked: boolean;
3316
+ maxParallel: number;
3317
+ memoryLimitMb: number | null;
3318
+ worktreeRetention: number;
3319
+ liveTitleUpdates: boolean | null;
3320
+ reviewGate: boolean | null;
3321
+ worktreeSetup: {
3322
+ commands: string[];
3323
+ timeoutSeconds: number;
3324
+ } | null;
3325
+ worktreeSetupIssue: string | null;
3326
+ worktreeTeardown: {
3327
+ commands: string[];
3328
+ timeoutSeconds: number;
3329
+ } | null;
3330
+ worktreeTeardownIssue: string | null;
3307
3331
  };
3308
3332
  outputFormat: "json";
3309
- status: 409;
3333
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3310
3334
  input: {
3311
3335
  json: {
3312
3336
  archiveOnMerge?: boolean | null | undefined;
@@ -3334,7 +3358,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3334
3358
  error: string;
3335
3359
  };
3336
3360
  outputFormat: "json";
3337
- status: 500;
3361
+ status: 409;
3338
3362
  input: {
3339
3363
  json: {
3340
3364
  archiveOnMerge?: boolean | null | undefined;
@@ -3359,34 +3383,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3359
3383
  };
3360
3384
  } | {
3361
3385
  output: {
3362
- archiveOnMerge: boolean | null;
3363
- effectiveArchiveOnMerge: boolean;
3364
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
3365
- baseBranch: string | null;
3366
- defaultRunner: string;
3367
- systemPrompt: string | null;
3368
- defaultModels: {
3369
- [x: string]: string | undefined;
3370
- };
3371
- modelsLocked: boolean;
3372
- maxParallel: number;
3373
- memoryLimitMb: number | null;
3374
- worktreeRetention: number;
3375
- liveTitleUpdates: boolean | null;
3376
- reviewGate: boolean | null;
3377
- worktreeSetup: {
3378
- commands: string[];
3379
- timeoutSeconds: number;
3380
- } | null;
3381
- worktreeSetupIssue: string | null;
3382
- worktreeTeardown: {
3383
- commands: string[];
3384
- timeoutSeconds: number;
3385
- } | null;
3386
- worktreeTeardownIssue: string | null;
3386
+ error: string;
3387
3387
  };
3388
3388
  outputFormat: "json";
3389
- status: import("hono/utils/http-status").ContentfulStatusCode;
3389
+ status: 500;
3390
3390
  input: {
3391
3391
  json: {
3392
3392
  archiveOnMerge?: boolean | null | undefined;
@@ -3414,12 +3414,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3414
3414
  }, "/"> | import("hono/types").MergeSchemaPath<{
3415
3415
  "/runs/:id/events": {
3416
3416
  $get: {
3417
- output: {
3418
- error: string;
3419
- code?: "invalid_input" | undefined;
3420
- };
3421
- outputFormat: "json";
3422
- status: 400;
3417
+ output: {};
3418
+ outputFormat: string;
3419
+ status: import("hono/utils/http-status").StatusCode;
3423
3420
  input: {
3424
3421
  param: {
3425
3422
  id: string;
@@ -3431,9 +3428,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3431
3428
  };
3432
3429
  };
3433
3430
  } | {
3434
- output: {};
3435
- outputFormat: string;
3436
- status: import("hono/utils/http-status").StatusCode;
3431
+ output: {
3432
+ error: string;
3433
+ code?: "invalid_input" | undefined;
3434
+ };
3435
+ outputFormat: "json";
3436
+ status: 400;
3437
3437
  input: {
3438
3438
  param: {
3439
3439
  id: string;
@@ -3477,7 +3477,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3477
3477
  error: string;
3478
3478
  };
3479
3479
  outputFormat: "json";
3480
- status: 400;
3480
+ status: 409;
3481
3481
  input: {
3482
3482
  json: {
3483
3483
  target: string;
@@ -3488,7 +3488,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3488
3488
  error: string;
3489
3489
  };
3490
3490
  outputFormat: "json";
3491
- status: 409;
3491
+ status: 400;
3492
3492
  input: {
3493
3493
  json: {
3494
3494
  target: string;
@@ -3596,10 +3596,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3596
3596
  "/agent-config/:id": {
3597
3597
  $put: {
3598
3598
  output: {
3599
- error: string;
3599
+ id: string;
3600
+ path: string;
3601
+ exists: boolean;
3602
+ content: string;
3603
+ version: string | null;
3600
3604
  };
3601
3605
  outputFormat: "json";
3602
- status: 404;
3606
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3603
3607
  input: {
3604
3608
  json: {
3605
3609
  content: string;
@@ -3612,14 +3616,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3612
3616
  };
3613
3617
  } | {
3614
3618
  output: {
3615
- id: string;
3616
- path: string;
3617
- exists: boolean;
3618
- content: string;
3619
- version: string | null;
3619
+ error: string;
3620
3620
  };
3621
3621
  outputFormat: "json";
3622
- status: import("hono/utils/http-status").ContentfulStatusCode;
3622
+ status: 404;
3623
3623
  input: {
3624
3624
  json: {
3625
3625
  content: string;
@@ -3719,11 +3719,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3719
3719
  };
3720
3720
  } | {
3721
3721
  output: {
3722
- runId: string;
3723
- worktreeReclaimedAt: string;
3722
+ error: string;
3724
3723
  };
3725
3724
  outputFormat: "json";
3726
- status: import("hono/utils/http-status").ContentfulStatusCode;
3725
+ status: 404 | 409;
3727
3726
  input: {
3728
3727
  param: {
3729
3728
  runId: string;
@@ -3735,10 +3734,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3735
3734
  };
3736
3735
  } | {
3737
3736
  output: {
3738
- error: string;
3737
+ runId: string;
3738
+ worktreeReclaimedAt: string;
3739
3739
  };
3740
3740
  outputFormat: "json";
3741
- status: 404 | 409;
3741
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3742
3742
  input: {
3743
3743
  param: {
3744
3744
  runId: string;
@@ -3898,11 +3898,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3898
3898
  "/workflows": {
3899
3899
  $post: {
3900
3900
  output: {
3901
- path: string;
3902
- name: string;
3901
+ error: string;
3903
3902
  };
3904
3903
  outputFormat: "json";
3905
- status: 201;
3904
+ status: 400;
3906
3905
  input: {
3907
3906
  json: {
3908
3907
  name: string;
@@ -3935,9 +3934,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3935
3934
  } | {
3936
3935
  output: {
3937
3936
  error: string;
3937
+ exists: true;
3938
3938
  };
3939
3939
  outputFormat: "json";
3940
- status: 400;
3940
+ status: 409;
3941
3941
  input: {
3942
3942
  json: {
3943
3943
  name: string;
@@ -3970,10 +3970,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3970
3970
  } | {
3971
3971
  output: {
3972
3972
  error: string;
3973
- exists: true;
3974
3973
  };
3975
3974
  outputFormat: "json";
3976
- status: 409;
3975
+ status: 500;
3977
3976
  input: {
3978
3977
  json: {
3979
3978
  name: string;
@@ -4005,10 +4004,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4005
4004
  };
4006
4005
  } | {
4007
4006
  output: {
4008
- error: string;
4007
+ path: string;
4008
+ name: string;
4009
4009
  };
4010
4010
  outputFormat: "json";
4011
- status: 500;
4011
+ status: 201;
4012
4012
  input: {
4013
4013
  json: {
4014
4014
  name: string;
@@ -4044,11 +4044,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4044
4044
  "/workflows/:name": {
4045
4045
  $delete: {
4046
4046
  output: {
4047
- ok: true;
4048
- path: string;
4047
+ error: string;
4049
4048
  };
4050
4049
  outputFormat: "json";
4051
- status: import("hono/utils/http-status").ContentfulStatusCode;
4050
+ status: 400 | 404 | 409 | 500;
4052
4051
  input: {
4053
4052
  param: {
4054
4053
  name: string;
@@ -4056,10 +4055,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4056
4055
  };
4057
4056
  } | {
4058
4057
  output: {
4059
- error: string;
4058
+ ok: true;
4059
+ path: string;
4060
4060
  };
4061
4061
  outputFormat: "json";
4062
- status: 400 | 404 | 409 | 500;
4062
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4063
4063
  input: {
4064
4064
  param: {
4065
4065
  name: string;
@@ -5000,18 +5000,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5000
5000
  "/repo/branches/delete": {
5001
5001
  $post: {
5002
5002
  output: {
5003
- deleted: string[];
5003
+ error: string;
5004
5004
  refused: {
5005
5005
  name: string;
5006
5006
  reason: string;
5007
5007
  }[];
5008
- dropped?: {
5009
- sha: string;
5010
- subject: string;
5011
- }[] | undefined;
5012
5008
  };
5013
5009
  outputFormat: "json";
5014
- status: 200;
5010
+ status: 409;
5015
5011
  input: {
5016
5012
  json: {
5017
5013
  names: string[];
@@ -5020,14 +5016,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5020
5016
  };
5021
5017
  } | {
5022
5018
  output: {
5023
- error: string;
5019
+ deleted: string[];
5024
5020
  refused: {
5025
5021
  name: string;
5026
5022
  reason: string;
5027
5023
  }[];
5024
+ dropped?: {
5025
+ sha: string;
5026
+ subject: string;
5027
+ }[] | undefined;
5028
5028
  };
5029
5029
  outputFormat: "json";
5030
- status: 409;
5030
+ status: 200;
5031
5031
  input: {
5032
5032
  json: {
5033
5033
  names: string[];
@@ -5048,12 +5048,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5048
5048
  } & {
5049
5049
  "/repo/commit/:sha": {
5050
5050
  $get: {
5051
- output: {
5052
- error: string;
5053
- code?: "invalid_input" | undefined;
5054
- };
5055
- outputFormat: "json";
5056
- status: 400;
5051
+ output: string;
5052
+ outputFormat: "text";
5053
+ status: import("hono/utils/http-status").ContentfulStatusCode;
5057
5054
  input: {
5058
5055
  query: {
5059
5056
  structured?: string | undefined;
@@ -5066,9 +5063,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5066
5063
  } | {
5067
5064
  output: {
5068
5065
  error: string;
5066
+ code?: "invalid_input" | undefined;
5069
5067
  };
5070
5068
  outputFormat: "json";
5071
- status: 409;
5069
+ status: 400;
5072
5070
  input: {
5073
5071
  query: {
5074
5072
  structured?: string | undefined;
@@ -5112,9 +5110,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5112
5110
  };
5113
5111
  };
5114
5112
  } | {
5115
- output: string;
5116
- outputFormat: "text";
5117
- status: import("hono/utils/http-status").ContentfulStatusCode;
5113
+ output: {
5114
+ error: string;
5115
+ };
5116
+ outputFormat: "json";
5117
+ status: 409;
5118
5118
  input: {
5119
5119
  query: {
5120
5120
  structured?: string | undefined;
@@ -5146,10 +5146,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5146
5146
  };
5147
5147
  } | {
5148
5148
  output: {
5149
- error: string;
5149
+ type: 'file';
5150
+ path: string;
5151
+ size: number;
5152
+ binary: boolean;
5153
+ tooLarge: boolean;
5154
+ content?: string | undefined;
5150
5155
  };
5151
5156
  outputFormat: "json";
5152
- status: 409;
5157
+ status: import("hono/utils/http-status").ContentfulStatusCode;
5153
5158
  input: {
5154
5159
  param: {
5155
5160
  sha: string;
@@ -5161,15 +5166,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5161
5166
  };
5162
5167
  } | {
5163
5168
  output: {
5164
- type: 'file';
5165
- path: string;
5166
- size: number;
5167
- binary: boolean;
5168
- tooLarge: boolean;
5169
- content?: string | undefined;
5169
+ error: string;
5170
5170
  };
5171
5171
  outputFormat: "json";
5172
- status: import("hono/utils/http-status").ContentfulStatusCode;
5172
+ status: 409;
5173
5173
  input: {
5174
5174
  param: {
5175
5175
  sha: string;
@@ -5197,10 +5197,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5197
5197
  };
5198
5198
  } | {
5199
5199
  output: {
5200
- error: string;
5200
+ type: 'file';
5201
+ path: string;
5202
+ size: number;
5203
+ binary: boolean;
5204
+ tooLarge: boolean;
5205
+ content?: string | undefined;
5201
5206
  };
5202
5207
  outputFormat: "json";
5203
- status: 409;
5208
+ status: import("hono/utils/http-status").ContentfulStatusCode;
5204
5209
  input: {
5205
5210
  query: {
5206
5211
  path: string | string[];
@@ -5208,15 +5213,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5208
5213
  };
5209
5214
  } | {
5210
5215
  output: {
5211
- type: 'file';
5212
- path: string;
5213
- size: number;
5214
- binary: boolean;
5215
- tooLarge: boolean;
5216
- content?: string | undefined;
5216
+ error: string;
5217
5217
  };
5218
5218
  outputFormat: "json";
5219
- status: import("hono/utils/http-status").ContentfulStatusCode;
5219
+ status: 409;
5220
5220
  input: {
5221
5221
  query: {
5222
5222
  path: string | string[];
@@ -5227,13 +5227,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5227
5227
  } & {
5228
5228
  "/repo/changes": {
5229
5229
  $get: {
5230
- output: {
5231
- error: string;
5232
- };
5233
- outputFormat: "json";
5234
- status: 409;
5235
- input: {};
5236
- } | {
5237
5230
  output: {
5238
5231
  files: {
5239
5232
  path: string;
@@ -5258,6 +5251,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5258
5251
  outputFormat: "json";
5259
5252
  status: import("hono/utils/http-status").ContentfulStatusCode;
5260
5253
  input: {};
5254
+ } | {
5255
+ output: {
5256
+ error: string;
5257
+ };
5258
+ outputFormat: "json";
5259
+ status: 409;
5260
+ input: {};
5261
5261
  };
5262
5262
  };
5263
5263
  } & {
@@ -5282,12 +5282,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5282
5282
  "/repo/pull": {
5283
5283
  $post: {
5284
5284
  output: {
5285
- branch: string;
5286
- pulled: true;
5287
- summary: string;
5285
+ error: string;
5288
5286
  };
5289
5287
  outputFormat: "json";
5290
- status: 200;
5288
+ status: 409;
5291
5289
  input: {
5292
5290
  json: {
5293
5291
  branch?: string | undefined;
@@ -5296,10 +5294,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5296
5294
  };
5297
5295
  } | {
5298
5296
  output: {
5299
- error: string;
5297
+ branch: string;
5298
+ pulled: true;
5299
+ summary: string;
5300
5300
  };
5301
5301
  outputFormat: "json";
5302
- status: 409;
5302
+ status: 200;
5303
5303
  input: {
5304
5304
  json: {
5305
5305
  branch?: string | undefined;
@@ -6543,18 +6543,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6543
6543
  } & {
6544
6544
  "/run-summaries": {
6545
6545
  $get: {
6546
- output: {
6547
- error: string;
6548
- code?: "invalid_input" | undefined;
6549
- };
6550
- outputFormat: "json";
6551
- status: 400;
6552
- input: {
6553
- query: {
6554
- archived?: "all" | "recent" | undefined;
6555
- };
6556
- };
6557
- } | {
6558
6546
  output: {
6559
6547
  id: string;
6560
6548
  title: string;
@@ -6692,6 +6680,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6692
6680
  archived?: "all" | "recent" | undefined;
6693
6681
  };
6694
6682
  };
6683
+ } | {
6684
+ output: {
6685
+ error: string;
6686
+ code?: "invalid_input" | undefined;
6687
+ };
6688
+ outputFormat: "json";
6689
+ status: 400;
6690
+ input: {
6691
+ query: {
6692
+ archived?: "all" | "recent" | undefined;
6693
+ };
6694
+ };
6695
6695
  };
6696
6696
  };
6697
6697
  } & {
@@ -7053,24 +7053,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7053
7053
  "/runs/:id/worker-destroy": {
7054
7054
  $post: {
7055
7055
  output: {
7056
- workerId: string;
7057
- state: "complete" | "incomplete";
7058
- work?: {
7059
- uncommittedFiles: number;
7060
- commits: number;
7061
- } | undefined;
7062
- deleted?: ({
7063
- kind: "worktree";
7064
- path: string;
7065
- } | {
7066
- kind: "branch";
7067
- ref: string;
7068
- })[] | undefined;
7069
- remaining: ("branch" | "process" | "worktree")[];
7070
- error?: string | undefined;
7056
+ error: string;
7057
+ code?: "invalid_input" | undefined;
7071
7058
  };
7072
7059
  outputFormat: "json";
7073
- status: 200;
7060
+ status: 400;
7074
7061
  input: {
7075
7062
  query: {
7076
7063
  [x: string]: string | string[];
@@ -7086,11 +7073,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7086
7073
  };
7087
7074
  } | {
7088
7075
  output: {
7089
- error: string;
7090
- code?: "invalid_input" | undefined;
7076
+ workerId: string;
7077
+ state: "complete" | "incomplete";
7078
+ work?: {
7079
+ uncommittedFiles: number;
7080
+ commits: number;
7081
+ } | undefined;
7082
+ deleted?: ({
7083
+ kind: "worktree";
7084
+ path: string;
7085
+ } | {
7086
+ kind: "branch";
7087
+ ref: string;
7088
+ })[] | undefined;
7089
+ remaining: ("branch" | "process" | "worktree")[];
7090
+ error?: string | undefined;
7091
7091
  };
7092
7092
  outputFormat: "json";
7093
- status: 400;
7093
+ status: 200;
7094
7094
  input: {
7095
7095
  query: {
7096
7096
  [x: string]: string | string[];
@@ -7206,21 +7206,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7206
7206
  } & {
7207
7207
  "/runs/:id/archive": {
7208
7208
  $post: {
7209
- output: {
7210
- error: string;
7211
- };
7212
- outputFormat: "json";
7213
- status: 404;
7214
- input: {
7215
- json: {
7216
- archived?: boolean | undefined;
7217
- };
7218
- } & {
7219
- param: {
7220
- id: string;
7221
- };
7222
- };
7223
- } | {
7224
7209
  output: {
7225
7210
  archiveWhenDone?: boolean | undefined;
7226
7211
  autoMergePr?: boolean | undefined;
@@ -8419,32 +8404,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8419
8404
  id: string;
8420
8405
  };
8421
8406
  };
8422
- };
8423
- };
8424
- } & {
8425
- "/runs/:id/pin": {
8426
- $post: {
8407
+ } | {
8427
8408
  output: {
8428
8409
  error: string;
8429
- code?: "invalid_input" | undefined;
8430
8410
  };
8431
8411
  outputFormat: "json";
8432
- status: 400;
8412
+ status: 404;
8433
8413
  input: {
8434
- param: {
8435
- id: string;
8414
+ json: {
8415
+ archived?: boolean | undefined;
8436
8416
  };
8437
8417
  } & {
8438
- json: {
8439
- pinned?: boolean | undefined;
8418
+ param: {
8419
+ id: string;
8440
8420
  };
8441
8421
  };
8442
- } | {
8422
+ };
8423
+ };
8424
+ } & {
8425
+ "/runs/:id/pin": {
8426
+ $post: {
8443
8427
  output: {
8444
8428
  error: string;
8429
+ code?: "invalid_input" | undefined;
8445
8430
  };
8446
8431
  outputFormat: "json";
8447
- status: 404;
8432
+ status: 400;
8448
8433
  input: {
8449
8434
  param: {
8450
8435
  id: string;
@@ -9653,6 +9638,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9653
9638
  pinned?: boolean | undefined;
9654
9639
  };
9655
9640
  };
9641
+ } | {
9642
+ output: {
9643
+ error: string;
9644
+ };
9645
+ outputFormat: "json";
9646
+ status: 404;
9647
+ input: {
9648
+ param: {
9649
+ id: string;
9650
+ };
9651
+ } & {
9652
+ json: {
9653
+ pinned?: boolean | undefined;
9654
+ };
9655
+ };
9656
9656
  };
9657
9657
  };
9658
9658
  } & {
@@ -9674,6 +9674,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9674
9674
  message?: string | undefined;
9675
9675
  };
9676
9676
  };
9677
+ } | {
9678
+ output: {
9679
+ error: string;
9680
+ };
9681
+ outputFormat: "json";
9682
+ status: 400 | 404 | 409;
9683
+ input: {
9684
+ param: {
9685
+ id: string;
9686
+ };
9687
+ } & {
9688
+ json: {
9689
+ notify: boolean;
9690
+ message?: string | undefined;
9691
+ };
9692
+ };
9677
9693
  } | {
9678
9694
  output: {
9679
9695
  archiveWhenDone?: boolean | undefined;
@@ -10874,22 +10890,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10874
10890
  message?: string | undefined;
10875
10891
  };
10876
10892
  };
10877
- } | {
10878
- output: {
10879
- error: string;
10880
- };
10881
- outputFormat: "json";
10882
- status: 400 | 404 | 409;
10883
- input: {
10884
- param: {
10885
- id: string;
10886
- };
10887
- } & {
10888
- json: {
10889
- notify: boolean;
10890
- message?: string | undefined;
10891
- };
10892
- };
10893
10893
  };
10894
10894
  };
10895
10895
  } & {
@@ -10921,17 +10921,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10921
10921
  } & {
10922
10922
  "/runs/:id/read": {
10923
10923
  $post: {
10924
- output: {
10925
- error: string;
10926
- };
10927
- outputFormat: "json";
10928
- status: 404;
10929
- input: {
10930
- param: {
10931
- id: string;
10932
- };
10933
- };
10934
- } | {
10935
10924
  output: {
10936
10925
  archiveWhenDone?: boolean | undefined;
10937
10926
  autoMergePr?: boolean | undefined;
@@ -12126,11 +12115,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12126
12115
  id: string;
12127
12116
  };
12128
12117
  };
12129
- };
12130
- };
12131
- } & {
12132
- "/runs/:id/unread": {
12133
- $post: {
12118
+ } | {
12134
12119
  output: {
12135
12120
  error: string;
12136
12121
  };
@@ -12141,7 +12126,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12141
12126
  id: string;
12142
12127
  };
12143
12128
  };
12144
- } | {
12129
+ };
12130
+ };
12131
+ } & {
12132
+ "/runs/:id/unread": {
12133
+ $post: {
12145
12134
  output: {
12146
12135
  archiveWhenDone?: boolean | undefined;
12147
12136
  autoMergePr?: boolean | undefined;
@@ -13336,6 +13325,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13336
13325
  id: string;
13337
13326
  };
13338
13327
  };
13328
+ } | {
13329
+ output: {
13330
+ error: string;
13331
+ };
13332
+ outputFormat: "json";
13333
+ status: 404;
13334
+ input: {
13335
+ param: {
13336
+ id: string;
13337
+ };
13338
+ };
13339
13339
  };
13340
13340
  };
13341
13341
  } & {
@@ -14631,17 +14631,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14631
14631
  } & {
14632
14632
  "/runs/:id": {
14633
14633
  $get: {
14634
- output: {
14635
- error: string;
14636
- };
14637
- outputFormat: "json";
14638
- status: 404;
14639
- input: {
14640
- param: {
14641
- id: string;
14642
- };
14643
- };
14644
- } | {
14645
14634
  output: {
14646
14635
  archiveWhenDone?: boolean | undefined;
14647
14636
  autoMergePr?: boolean | undefined;
@@ -15844,6 +15833,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15844
15833
  id: string;
15845
15834
  };
15846
15835
  };
15836
+ } | {
15837
+ output: {
15838
+ error: string;
15839
+ };
15840
+ outputFormat: "json";
15841
+ status: 404;
15842
+ input: {
15843
+ param: {
15844
+ id: string;
15845
+ };
15846
+ };
15847
15847
  };
15848
15848
  };
15849
15849
  } & {
@@ -15971,66 +15971,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15971
15971
  } & {
15972
15972
  "/runs/:id": {
15973
15973
  $patch: {
15974
- output: {
15975
- error: string;
15976
- };
15977
- outputFormat: "json";
15978
- status: 400;
15979
- input: {
15980
- json: {
15981
- archiveWhenDone?: boolean | undefined;
15982
- autoMergePr?: boolean | undefined;
15983
- allowWorkers?: boolean | undefined;
15984
- allowMessaging?: boolean | undefined;
15985
- title?: string | undefined;
15986
- task?: string | undefined;
15987
- };
15988
- } & {
15989
- param: {
15990
- id: string;
15991
- };
15992
- };
15993
- } | {
15994
- output: {
15995
- error: string;
15996
- };
15997
- outputFormat: "json";
15998
- status: 404;
15999
- input: {
16000
- json: {
16001
- archiveWhenDone?: boolean | undefined;
16002
- autoMergePr?: boolean | undefined;
16003
- allowWorkers?: boolean | undefined;
16004
- allowMessaging?: boolean | undefined;
16005
- title?: string | undefined;
16006
- task?: string | undefined;
16007
- };
16008
- } & {
16009
- param: {
16010
- id: string;
16011
- };
16012
- };
16013
- } | {
16014
- output: {
16015
- error: string;
16016
- };
16017
- outputFormat: "json";
16018
- status: 409;
16019
- input: {
16020
- json: {
16021
- archiveWhenDone?: boolean | undefined;
16022
- autoMergePr?: boolean | undefined;
16023
- allowWorkers?: boolean | undefined;
16024
- allowMessaging?: boolean | undefined;
16025
- title?: string | undefined;
16026
- task?: string | undefined;
16027
- };
16028
- } & {
16029
- param: {
16030
- id: string;
16031
- };
16032
- };
16033
- } | {
16034
15974
  output: {
16035
15975
  archiveWhenDone?: boolean | undefined;
16036
15976
  autoMergePr?: boolean | undefined;
@@ -17234,6 +17174,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17234
17174
  id: string;
17235
17175
  };
17236
17176
  };
17177
+ } | {
17178
+ output: {
17179
+ error: string;
17180
+ };
17181
+ outputFormat: "json";
17182
+ status: 404;
17183
+ input: {
17184
+ json: {
17185
+ archiveWhenDone?: boolean | undefined;
17186
+ autoMergePr?: boolean | undefined;
17187
+ allowWorkers?: boolean | undefined;
17188
+ allowMessaging?: boolean | undefined;
17189
+ title?: string | undefined;
17190
+ task?: string | undefined;
17191
+ };
17192
+ } & {
17193
+ param: {
17194
+ id: string;
17195
+ };
17196
+ };
17197
+ } | {
17198
+ output: {
17199
+ error: string;
17200
+ };
17201
+ outputFormat: "json";
17202
+ status: 400;
17203
+ input: {
17204
+ json: {
17205
+ archiveWhenDone?: boolean | undefined;
17206
+ autoMergePr?: boolean | undefined;
17207
+ allowWorkers?: boolean | undefined;
17208
+ allowMessaging?: boolean | undefined;
17209
+ title?: string | undefined;
17210
+ task?: string | undefined;
17211
+ };
17212
+ } & {
17213
+ param: {
17214
+ id: string;
17215
+ };
17216
+ };
17217
+ } | {
17218
+ output: {
17219
+ error: string;
17220
+ };
17221
+ outputFormat: "json";
17222
+ status: 409;
17223
+ input: {
17224
+ json: {
17225
+ archiveWhenDone?: boolean | undefined;
17226
+ autoMergePr?: boolean | undefined;
17227
+ allowWorkers?: boolean | undefined;
17228
+ allowMessaging?: boolean | undefined;
17229
+ title?: string | undefined;
17230
+ task?: string | undefined;
17231
+ };
17232
+ } & {
17233
+ param: {
17234
+ id: string;
17235
+ };
17236
+ };
17237
17237
  };
17238
17238
  };
17239
17239
  } & {
@@ -17338,7 +17338,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17338
17338
  error: string;
17339
17339
  };
17340
17340
  outputFormat: "json";
17341
- status: 400;
17341
+ status: 404;
17342
17342
  input: {
17343
17343
  json: {
17344
17344
  text?: string | undefined;
@@ -17357,7 +17357,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17357
17357
  error: string;
17358
17358
  };
17359
17359
  outputFormat: "json";
17360
- status: 404;
17360
+ status: 409;
17361
17361
  input: {
17362
17362
  json: {
17363
17363
  text?: string | undefined;
@@ -17373,10 +17373,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17373
17373
  };
17374
17374
  } | {
17375
17375
  output: {
17376
- error: string;
17376
+ delivered: true;
17377
17377
  };
17378
17378
  outputFormat: "json";
17379
- status: 409;
17379
+ status: import("hono/utils/http-status").ContentfulStatusCode;
17380
17380
  input: {
17381
17381
  json: {
17382
17382
  text?: string | undefined;
@@ -17392,10 +17392,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17392
17392
  };
17393
17393
  } | {
17394
17394
  output: {
17395
- delivered: true;
17395
+ error: string;
17396
17396
  };
17397
17397
  outputFormat: "json";
17398
- status: import("hono/utils/http-status").ContentfulStatusCode;
17398
+ status: 400;
17399
17399
  input: {
17400
17400
  json: {
17401
17401
  text?: string | undefined;
@@ -17463,7 +17463,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17463
17463
  error: string;
17464
17464
  };
17465
17465
  outputFormat: "json";
17466
- status: 400;
17466
+ status: 404;
17467
17467
  input: {
17468
17468
  json: {
17469
17469
  text?: string | undefined;
@@ -17484,7 +17484,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17484
17484
  error: string;
17485
17485
  };
17486
17486
  outputFormat: "json";
17487
- status: 404;
17487
+ status: 400;
17488
17488
  input: {
17489
17489
  json: {
17490
17490
  text?: string | undefined;
@@ -17704,11 +17704,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17704
17704
  "/runs/:id/open-in-cli": {
17705
17705
  $post: {
17706
17706
  output: {
17707
- opened: true;
17708
- command: string;
17707
+ error: string;
17709
17708
  };
17710
17709
  outputFormat: "json";
17711
- status: import("hono/utils/http-status").ContentfulStatusCode;
17710
+ status: 404 | 409;
17712
17711
  input: {
17713
17712
  param: {
17714
17713
  id: string;
@@ -17716,10 +17715,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17716
17715
  };
17717
17716
  } | {
17718
17717
  output: {
17719
- error: string;
17718
+ opened: true;
17719
+ command: string;
17720
17720
  };
17721
17721
  outputFormat: "json";
17722
- status: 404 | 409;
17722
+ status: import("hono/utils/http-status").ContentfulStatusCode;
17723
17723
  input: {
17724
17724
  param: {
17725
17725
  id: string;
@@ -17807,12 +17807,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17807
17807
  } & {
17808
17808
  "/runs/:id/images/:file": {
17809
17809
  $get: {
17810
- output: {
17811
- error: string;
17812
- code?: "invalid_input" | undefined;
17813
- };
17814
- outputFormat: "json";
17815
- status: 400;
17810
+ output: {};
17811
+ outputFormat: string;
17812
+ status: import("hono/utils/http-status").StatusCode;
17816
17813
  input: {
17817
17814
  param: {
17818
17815
  id: string;
@@ -17820,9 +17817,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17820
17817
  };
17821
17818
  };
17822
17819
  } | {
17823
- output: {};
17824
- outputFormat: string;
17825
- status: import("hono/utils/http-status").StatusCode;
17820
+ output: {
17821
+ error: string;
17822
+ code?: "invalid_input" | undefined;
17823
+ };
17824
+ outputFormat: "json";
17825
+ status: 400;
17826
17826
  input: {
17827
17827
  param: {
17828
17828
  id: string;
@@ -17855,7 +17855,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17855
17855
  error: string;
17856
17856
  };
17857
17857
  outputFormat: "json";
17858
- status: 404;
17858
+ status: 409;
17859
17859
  input: {
17860
17860
  param: {
17861
17861
  id: string;
@@ -17871,7 +17871,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17871
17871
  error: string;
17872
17872
  };
17873
17873
  outputFormat: "json";
17874
- status: 409;
17874
+ status: 404;
17875
17875
  input: {
17876
17876
  param: {
17877
17877
  id: string;
@@ -18036,6 +18036,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18036
18036
  } & {
18037
18037
  "/runs/:id/changes": {
18038
18038
  $get: {
18039
+ output: {
18040
+ error: string;
18041
+ };
18042
+ outputFormat: "json";
18043
+ status: 404 | 409;
18044
+ input: {
18045
+ param: {
18046
+ id: string;
18047
+ };
18048
+ };
18049
+ } | {
18039
18050
  output: {
18040
18051
  files: {
18041
18052
  path: string;
@@ -18064,7 +18075,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18064
18075
  id: string;
18065
18076
  };
18066
18077
  };
18067
- } | {
18078
+ };
18079
+ };
18080
+ } & {
18081
+ "/runs/:id/commits": {
18082
+ $get: {
18068
18083
  output: {
18069
18084
  error: string;
18070
18085
  };
@@ -18075,11 +18090,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18075
18090
  id: string;
18076
18091
  };
18077
18092
  };
18078
- };
18079
- };
18080
- } & {
18081
- "/runs/:id/commits": {
18082
- $get: {
18093
+ } | {
18083
18094
  output: {
18084
18095
  commits: {
18085
18096
  sha: string;
@@ -18095,7 +18106,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18095
18106
  id: string;
18096
18107
  };
18097
18108
  };
18098
- } | {
18109
+ };
18110
+ };
18111
+ } & {
18112
+ "/runs/:id/commit/:sha": {
18113
+ $get: {
18099
18114
  output: {
18100
18115
  error: string;
18101
18116
  };
@@ -18104,13 +18119,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18104
18119
  input: {
18105
18120
  param: {
18106
18121
  id: string;
18122
+ } & {
18123
+ sha: string;
18107
18124
  };
18108
18125
  };
18109
- };
18110
- };
18111
- } & {
18112
- "/runs/:id/commit/:sha": {
18113
- $get: {
18126
+ } | {
18114
18127
  output: {
18115
18128
  sha: string;
18116
18129
  subject: string;
@@ -18141,19 +18154,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18141
18154
  sha: string;
18142
18155
  };
18143
18156
  };
18144
- } | {
18145
- output: {
18146
- error: string;
18147
- };
18148
- outputFormat: "json";
18149
- status: 404 | 409;
18150
- input: {
18151
- param: {
18152
- id: string;
18153
- } & {
18154
- sha: string;
18155
- };
18156
- };
18157
18157
  };
18158
18158
  };
18159
18159
  } & {
@@ -18177,15 +18177,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18177
18177
  };
18178
18178
  } | {
18179
18179
  output: {
18180
- type: 'file';
18181
- path: string;
18182
- size: number;
18183
- binary: boolean;
18184
- tooLarge: boolean;
18185
- content?: string | undefined;
18180
+ error: string;
18186
18181
  };
18187
18182
  outputFormat: "json";
18188
- status: import("hono/utils/http-status").ContentfulStatusCode;
18183
+ status: 404 | 409;
18189
18184
  input: {
18190
18185
  param: {
18191
18186
  sha: string;
@@ -18198,10 +18193,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18198
18193
  };
18199
18194
  } | {
18200
18195
  output: {
18201
- error: string;
18196
+ type: 'file';
18197
+ path: string;
18198
+ size: number;
18199
+ binary: boolean;
18200
+ tooLarge: boolean;
18201
+ content?: string | undefined;
18202
18202
  };
18203
18203
  outputFormat: "json";
18204
- status: 404 | 409;
18204
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18205
18205
  input: {
18206
18206
  param: {
18207
18207
  sha: string;
@@ -18247,6 +18247,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18247
18247
  raw?: "1" | undefined;
18248
18248
  };
18249
18249
  };
18250
+ } | {
18251
+ output: {
18252
+ error: string;
18253
+ };
18254
+ outputFormat: "json";
18255
+ status: 404 | 409;
18256
+ input: {
18257
+ param: {
18258
+ id: string;
18259
+ };
18260
+ } & {
18261
+ query: {
18262
+ path: string | string[];
18263
+ raw?: "1" | undefined;
18264
+ };
18265
+ };
18250
18266
  } | {
18251
18267
  output: {
18252
18268
  type: "file";
@@ -18283,22 +18299,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18283
18299
  raw?: "1" | undefined;
18284
18300
  };
18285
18301
  };
18286
- } | {
18287
- output: {
18288
- error: string;
18289
- };
18290
- outputFormat: "json";
18291
- status: 404 | 409;
18292
- input: {
18293
- param: {
18294
- id: string;
18295
- };
18296
- } & {
18297
- query: {
18298
- path: string | string[];
18299
- raw?: "1" | undefined;
18300
- };
18301
- };
18302
18302
  };
18303
18303
  };
18304
18304
  } & {
@@ -18363,18 +18363,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18363
18363
  artifactId: string;
18364
18364
  };
18365
18365
  };
18366
- } | {
18367
- output: {
18368
- error: string;
18369
- };
18370
- outputFormat: "json";
18371
- status: 404;
18372
- input: {
18373
- param: {
18374
- id: string;
18375
- artifactId: string;
18376
- };
18377
- };
18378
18366
  } | {
18379
18367
  output: {
18380
18368
  type: "file";
@@ -18403,23 +18391,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18403
18391
  artifactId: string;
18404
18392
  };
18405
18393
  };
18406
- };
18407
- };
18408
- } & {
18409
- "/runs/:id/artifacts/:artifactId/metadata": {
18410
- $get: {
18411
- output: {
18412
- error: string;
18413
- code?: "invalid_input" | undefined;
18414
- };
18415
- outputFormat: "json";
18416
- status: 400;
18417
- input: {
18418
- param: {
18419
- id: string;
18420
- artifactId: string;
18421
- };
18422
- };
18423
18394
  } | {
18424
18395
  output: {
18425
18396
  error: string;
@@ -18432,42 +18403,71 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18432
18403
  artifactId: string;
18433
18404
  };
18434
18405
  };
18435
- } | {
18436
- output: {
18437
- artifact: {
18438
- id: string;
18439
- runId: string;
18440
- name: string;
18441
- title?: string | undefined;
18442
- sourcePath: string;
18443
- createdAt: string;
18444
- size: number;
18445
- sha256: string;
18446
- };
18447
- };
18448
- outputFormat: "json";
18449
- status: import("hono/utils/http-status").ContentfulStatusCode;
18450
- input: {
18451
- param: {
18452
- id: string;
18453
- artifactId: string;
18454
- };
18455
- };
18456
18406
  };
18457
18407
  };
18458
18408
  } & {
18459
- "/runs/:id/artifacts/:artifactId/download": {
18409
+ "/runs/:id/artifacts/:artifactId/metadata": {
18460
18410
  $get: {
18461
- output: ArrayBuffer;
18462
- outputFormat: "body";
18463
- status: 200;
18464
- input: {
18465
- param: {
18466
- id: string;
18467
- artifactId: string;
18468
- };
18469
- };
18470
- } | {
18411
+ output: {
18412
+ error: string;
18413
+ code?: "invalid_input" | undefined;
18414
+ };
18415
+ outputFormat: "json";
18416
+ status: 400;
18417
+ input: {
18418
+ param: {
18419
+ id: string;
18420
+ artifactId: string;
18421
+ };
18422
+ };
18423
+ } | {
18424
+ output: {
18425
+ error: string;
18426
+ };
18427
+ outputFormat: "json";
18428
+ status: 404;
18429
+ input: {
18430
+ param: {
18431
+ id: string;
18432
+ artifactId: string;
18433
+ };
18434
+ };
18435
+ } | {
18436
+ output: {
18437
+ artifact: {
18438
+ id: string;
18439
+ runId: string;
18440
+ name: string;
18441
+ title?: string | undefined;
18442
+ sourcePath: string;
18443
+ createdAt: string;
18444
+ size: number;
18445
+ sha256: string;
18446
+ };
18447
+ };
18448
+ outputFormat: "json";
18449
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18450
+ input: {
18451
+ param: {
18452
+ id: string;
18453
+ artifactId: string;
18454
+ };
18455
+ };
18456
+ };
18457
+ };
18458
+ } & {
18459
+ "/runs/:id/artifacts/:artifactId/download": {
18460
+ $get: {
18461
+ output: ArrayBuffer;
18462
+ outputFormat: "body";
18463
+ status: 200;
18464
+ input: {
18465
+ param: {
18466
+ id: string;
18467
+ artifactId: string;
18468
+ };
18469
+ };
18470
+ } | {
18471
18471
  output: {
18472
18472
  error: string;
18473
18473
  code?: "invalid_input" | undefined;
@@ -18580,15 +18580,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18580
18580
  };
18581
18581
  } | {
18582
18582
  output: {
18583
- type: 'file';
18584
- path: string;
18585
- size: number;
18586
- binary: boolean;
18587
- tooLarge: boolean;
18588
- content?: string | undefined;
18583
+ error: string;
18589
18584
  };
18590
18585
  outputFormat: "json";
18591
- status: import("hono/utils/http-status").ContentfulStatusCode;
18586
+ status: 404 | 409;
18592
18587
  input: {
18593
18588
  query: {
18594
18589
  path?: string | undefined;
@@ -18601,14 +18596,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18601
18596
  };
18602
18597
  } | {
18603
18598
  output: {
18604
- type: 'dir';
18599
+ type: 'file';
18605
18600
  path: string;
18606
- entries: {
18607
- name: string;
18608
- type: 'dir' | 'file';
18609
- size?: number;
18610
- chain?: string;
18611
- }[];
18601
+ size: number;
18602
+ binary: boolean;
18603
+ tooLarge: boolean;
18604
+ content?: string | undefined;
18612
18605
  };
18613
18606
  outputFormat: "json";
18614
18607
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -18624,10 +18617,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18624
18617
  };
18625
18618
  } | {
18626
18619
  output: {
18627
- error: string;
18620
+ type: 'dir';
18621
+ path: string;
18622
+ entries: {
18623
+ name: string;
18624
+ type: 'dir' | 'file';
18625
+ size?: number;
18626
+ chain?: string;
18627
+ }[];
18628
18628
  };
18629
18629
  outputFormat: "json";
18630
- status: 404 | 409;
18630
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18631
18631
  input: {
18632
18632
  query: {
18633
18633
  path?: string | undefined;
@@ -18644,11 +18644,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18644
18644
  "/runs/:id/git/commit": {
18645
18645
  $post: {
18646
18646
  output: {
18647
- committed: true;
18648
- sha: string;
18647
+ error: string;
18649
18648
  };
18650
18649
  outputFormat: "json";
18651
- status: import("hono/utils/http-status").ContentfulStatusCode;
18650
+ status: 404 | 409;
18652
18651
  input: {
18653
18652
  json: {
18654
18653
  message: string;
@@ -18660,10 +18659,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18660
18659
  };
18661
18660
  } | {
18662
18661
  output: {
18663
- error: string;
18662
+ committed: true;
18663
+ sha: string;
18664
18664
  };
18665
18665
  outputFormat: "json";
18666
- status: 404 | 409;
18666
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18667
18667
  input: {
18668
18668
  json: {
18669
18669
  message: string;
@@ -18679,13 +18679,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18679
18679
  "/runs/:id/git/push": {
18680
18680
  $post: {
18681
18681
  output: {
18682
- pushed: true;
18683
- branch: string;
18684
- remote: string;
18685
- upstreamSet: boolean;
18682
+ error: string;
18686
18683
  };
18687
18684
  outputFormat: "json";
18688
- status: import("hono/utils/http-status").ContentfulStatusCode;
18685
+ status: 404 | 409;
18689
18686
  input: {
18690
18687
  param: {
18691
18688
  id: string;
@@ -18693,10 +18690,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18693
18690
  };
18694
18691
  } | {
18695
18692
  output: {
18696
- error: string;
18693
+ pushed: true;
18694
+ branch: string;
18695
+ remote: string;
18696
+ upstreamSet: boolean;
18697
18697
  };
18698
18698
  outputFormat: "json";
18699
- status: 404 | 409;
18699
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18700
18700
  input: {
18701
18701
  param: {
18702
18702
  id: string;
@@ -18708,11 +18708,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18708
18708
  "/runs/:id/pr": {
18709
18709
  $post: {
18710
18710
  output: {
18711
- url: string;
18712
- dryRun: boolean;
18711
+ error: string;
18713
18712
  };
18714
18713
  outputFormat: "json";
18715
- status: 201;
18714
+ status: 404 | 409;
18716
18715
  input: {
18717
18716
  param: {
18718
18717
  id: string;
@@ -18720,10 +18719,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18720
18719
  };
18721
18720
  } | {
18722
18721
  output: {
18723
- error: string;
18722
+ url: string;
18723
+ dryRun: boolean;
18724
18724
  };
18725
18725
  outputFormat: "json";
18726
- status: 404 | 409;
18726
+ status: 201;
18727
18727
  input: {
18728
18728
  param: {
18729
18729
  id: string;
@@ -18735,10 +18735,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18735
18735
  "/runs/:id/remove-worktree": {
18736
18736
  $post: {
18737
18737
  output: {
18738
- removed: true;
18738
+ error: string;
18739
18739
  };
18740
18740
  outputFormat: "json";
18741
- status: import("hono/utils/http-status").ContentfulStatusCode;
18741
+ status: 404 | 409;
18742
18742
  input: {
18743
18743
  param: {
18744
18744
  id: string;
@@ -18746,10 +18746,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18746
18746
  };
18747
18747
  } | {
18748
18748
  output: {
18749
- error: string;
18749
+ removed: true;
18750
18750
  };
18751
18751
  outputFormat: "json";
18752
- status: 404 | 409;
18752
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18753
18753
  input: {
18754
18754
  param: {
18755
18755
  id: string;
@@ -18761,10 +18761,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18761
18761
  "/runs/:id": {
18762
18762
  $delete: {
18763
18763
  output: {
18764
- deleted: true;
18764
+ error: string;
18765
18765
  };
18766
18766
  outputFormat: "json";
18767
- status: import("hono/utils/http-status").ContentfulStatusCode;
18767
+ status: 404 | 409;
18768
18768
  input: {
18769
18769
  param: {
18770
18770
  id: string;
@@ -18772,10 +18772,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18772
18772
  };
18773
18773
  } | {
18774
18774
  output: {
18775
- error: string;
18775
+ deleted: true;
18776
18776
  };
18777
18777
  outputFormat: "json";
18778
- status: 404 | 409;
18778
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18779
18779
  input: {
18780
18780
  param: {
18781
18781
  id: string;
@@ -18844,6 +18844,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18844
18844
  }, "/"> | import("hono/types").MergeSchemaPath<{
18845
18845
  "/plan": {
18846
18846
  $post: {
18847
+ output: {
18848
+ error: string;
18849
+ };
18850
+ outputFormat: "json";
18851
+ status: 400 | 404 | 409;
18852
+ input: {
18853
+ json: {
18854
+ task: string;
18855
+ agentProfile?: string | undefined;
18856
+ };
18857
+ };
18858
+ } | {
18847
18859
  output: {
18848
18860
  name?: string;
18849
18861
  steps: {
@@ -18880,18 +18892,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18880
18892
  agentProfile?: string | undefined;
18881
18893
  };
18882
18894
  };
18883
- } | {
18884
- output: {
18885
- error: string;
18886
- };
18887
- outputFormat: "json";
18888
- status: 400 | 404 | 409;
18889
- input: {
18890
- json: {
18891
- task: string;
18892
- agentProfile?: string | undefined;
18893
- };
18894
- };
18895
18895
  };
18896
18896
  };
18897
18897
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -18941,10 +18941,42 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18941
18941
  "/ui-state": {
18942
18942
  $put: {
18943
18943
  output: {
18944
- error: string;
18944
+ [x: string]: import("hono/utils/types").JSONValue;
18945
+ sidebarLimits?: {
18946
+ overall?: number | null | undefined;
18947
+ needsYou?: number | null | undefined;
18948
+ finished?: number | null | undefined;
18949
+ working?: number | null | undefined;
18950
+ } | undefined;
18951
+ lastTask?: {
18952
+ source: "skill" | "workflow";
18953
+ ref: string;
18954
+ } | null | undefined;
18955
+ recentSources?: {
18956
+ source: "skill" | "workflow";
18957
+ ref: string;
18958
+ }[] | undefined;
18959
+ lastWorktree?: boolean | undefined;
18960
+ lastAutonomous?: boolean | undefined;
18961
+ skillUsage?: {
18962
+ [x: string]: number;
18963
+ } | undefined;
18964
+ runsView?: "list" | "table" | undefined;
18965
+ githubView?: "issues" | "prs" | undefined;
18966
+ appearance?: {
18967
+ accent?: "cezarion" | "lime" | "violet" | undefined;
18968
+ density?: "comfortable" | "compact" | "ultra" | undefined;
18969
+ width?: "narrow" | "wide" | undefined;
18970
+ } | undefined;
18971
+ promptTemplates?: {
18972
+ id: string;
18973
+ label: string;
18974
+ text: string;
18975
+ skills?: string[] | undefined;
18976
+ }[] | undefined;
18945
18977
  };
18946
18978
  outputFormat: "json";
18947
- status: 500;
18979
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18948
18980
  input: {
18949
18981
  json: {
18950
18982
  [x: string]: unknown;
@@ -18982,42 +19014,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18982
19014
  };
18983
19015
  } | {
18984
19016
  output: {
18985
- [x: string]: import("hono/utils/types").JSONValue;
18986
- sidebarLimits?: {
18987
- overall?: number | null | undefined;
18988
- needsYou?: number | null | undefined;
18989
- finished?: number | null | undefined;
18990
- working?: number | null | undefined;
18991
- } | undefined;
18992
- lastTask?: {
18993
- source: "skill" | "workflow";
18994
- ref: string;
18995
- } | null | undefined;
18996
- recentSources?: {
18997
- source: "skill" | "workflow";
18998
- ref: string;
18999
- }[] | undefined;
19000
- lastWorktree?: boolean | undefined;
19001
- lastAutonomous?: boolean | undefined;
19002
- skillUsage?: {
19003
- [x: string]: number;
19004
- } | undefined;
19005
- runsView?: "list" | "table" | undefined;
19006
- githubView?: "issues" | "prs" | undefined;
19007
- appearance?: {
19008
- accent?: "cezarion" | "lime" | "violet" | undefined;
19009
- density?: "comfortable" | "compact" | "ultra" | undefined;
19010
- width?: "narrow" | "wide" | undefined;
19011
- } | undefined;
19012
- promptTemplates?: {
19013
- id: string;
19014
- label: string;
19015
- text: string;
19016
- skills?: string[] | undefined;
19017
- }[] | undefined;
19017
+ error: string;
19018
19018
  };
19019
19019
  outputFormat: "json";
19020
- status: import("hono/utils/http-status").ContentfulStatusCode;
19020
+ status: 500;
19021
19021
  input: {
19022
19022
  json: {
19023
19023
  [x: string]: unknown;
@@ -19094,10 +19094,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19094
19094
  "/config": {
19095
19095
  $put: {
19096
19096
  output: {
19097
- error: string;
19097
+ archiveOnMerge: boolean | null;
19098
+ effectiveArchiveOnMerge: boolean;
19099
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
19100
+ baseBranch: string | null;
19101
+ defaultRunner: string;
19102
+ systemPrompt: string | null;
19103
+ defaultModels: {
19104
+ [x: string]: string | undefined;
19105
+ };
19106
+ modelsLocked: boolean;
19107
+ maxParallel: number;
19108
+ memoryLimitMb: number | null;
19109
+ worktreeRetention: number;
19110
+ liveTitleUpdates: boolean | null;
19111
+ reviewGate: boolean | null;
19112
+ worktreeSetup: {
19113
+ commands: string[];
19114
+ timeoutSeconds: number;
19115
+ } | null;
19116
+ worktreeSetupIssue: string | null;
19117
+ worktreeTeardown: {
19118
+ commands: string[];
19119
+ timeoutSeconds: number;
19120
+ } | null;
19121
+ worktreeTeardownIssue: string | null;
19098
19122
  };
19099
19123
  outputFormat: "json";
19100
- status: 409;
19124
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19101
19125
  input: {
19102
19126
  json: {
19103
19127
  archiveOnMerge?: boolean | null | undefined;
@@ -19125,7 +19149,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19125
19149
  error: string;
19126
19150
  };
19127
19151
  outputFormat: "json";
19128
- status: 500;
19152
+ status: 409;
19129
19153
  input: {
19130
19154
  json: {
19131
19155
  archiveOnMerge?: boolean | null | undefined;
@@ -19150,34 +19174,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19150
19174
  };
19151
19175
  } | {
19152
19176
  output: {
19153
- archiveOnMerge: boolean | null;
19154
- effectiveArchiveOnMerge: boolean;
19155
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
19156
- baseBranch: string | null;
19157
- defaultRunner: string;
19158
- systemPrompt: string | null;
19159
- defaultModels: {
19160
- [x: string]: string | undefined;
19161
- };
19162
- modelsLocked: boolean;
19163
- maxParallel: number;
19164
- memoryLimitMb: number | null;
19165
- worktreeRetention: number;
19166
- liveTitleUpdates: boolean | null;
19167
- reviewGate: boolean | null;
19168
- worktreeSetup: {
19169
- commands: string[];
19170
- timeoutSeconds: number;
19171
- } | null;
19172
- worktreeSetupIssue: string | null;
19173
- worktreeTeardown: {
19174
- commands: string[];
19175
- timeoutSeconds: number;
19176
- } | null;
19177
- worktreeTeardownIssue: string | null;
19177
+ error: string;
19178
19178
  };
19179
19179
  outputFormat: "json";
19180
- status: import("hono/utils/http-status").ContentfulStatusCode;
19180
+ status: 500;
19181
19181
  input: {
19182
19182
  json: {
19183
19183
  archiveOnMerge?: boolean | null | undefined;
@@ -19205,12 +19205,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19205
19205
  }, "/"> | import("hono/types").MergeSchemaPath<{
19206
19206
  "/runs/:id/events": {
19207
19207
  $get: {
19208
- output: {
19209
- error: string;
19210
- code?: "invalid_input" | undefined;
19211
- };
19212
- outputFormat: "json";
19213
- status: 400;
19208
+ output: {};
19209
+ outputFormat: string;
19210
+ status: import("hono/utils/http-status").StatusCode;
19214
19211
  input: {
19215
19212
  param: {
19216
19213
  id: string;
@@ -19222,9 +19219,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19222
19219
  };
19223
19220
  };
19224
19221
  } | {
19225
- output: {};
19226
- outputFormat: string;
19227
- status: import("hono/utils/http-status").StatusCode;
19222
+ output: {
19223
+ error: string;
19224
+ code?: "invalid_input" | undefined;
19225
+ };
19226
+ outputFormat: "json";
19227
+ status: 400;
19228
19228
  input: {
19229
19229
  param: {
19230
19230
  id: string;
@@ -19268,7 +19268,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19268
19268
  error: string;
19269
19269
  };
19270
19270
  outputFormat: "json";
19271
- status: 400;
19271
+ status: 409;
19272
19272
  input: {
19273
19273
  json: {
19274
19274
  target: string;
@@ -19279,7 +19279,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19279
19279
  error: string;
19280
19280
  };
19281
19281
  outputFormat: "json";
19282
- status: 409;
19282
+ status: 400;
19283
19283
  input: {
19284
19284
  json: {
19285
19285
  target: string;
@@ -19387,10 +19387,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19387
19387
  "/agent-config/:id": {
19388
19388
  $put: {
19389
19389
  output: {
19390
- error: string;
19390
+ id: string;
19391
+ path: string;
19392
+ exists: boolean;
19393
+ content: string;
19394
+ version: string | null;
19391
19395
  };
19392
19396
  outputFormat: "json";
19393
- status: 404;
19397
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19394
19398
  input: {
19395
19399
  json: {
19396
19400
  content: string;
@@ -19403,14 +19407,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19403
19407
  };
19404
19408
  } | {
19405
19409
  output: {
19406
- id: string;
19407
- path: string;
19408
- exists: boolean;
19409
- content: string;
19410
- version: string | null;
19410
+ error: string;
19411
19411
  };
19412
19412
  outputFormat: "json";
19413
- status: import("hono/utils/http-status").ContentfulStatusCode;
19413
+ status: 404;
19414
19414
  input: {
19415
19415
  json: {
19416
19416
  content: string;
@@ -19510,11 +19510,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19510
19510
  };
19511
19511
  } | {
19512
19512
  output: {
19513
- runId: string;
19514
- worktreeReclaimedAt: string;
19513
+ error: string;
19515
19514
  };
19516
19515
  outputFormat: "json";
19517
- status: import("hono/utils/http-status").ContentfulStatusCode;
19516
+ status: 404 | 409;
19518
19517
  input: {
19519
19518
  param: {
19520
19519
  runId: string;
@@ -19526,10 +19525,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19526
19525
  };
19527
19526
  } | {
19528
19527
  output: {
19529
- error: string;
19528
+ runId: string;
19529
+ worktreeReclaimedAt: string;
19530
19530
  };
19531
19531
  outputFormat: "json";
19532
- status: 404 | 409;
19532
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19533
19533
  input: {
19534
19534
  param: {
19535
19535
  runId: string;
@@ -19689,11 +19689,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19689
19689
  "/workflows": {
19690
19690
  $post: {
19691
19691
  output: {
19692
- path: string;
19693
- name: string;
19692
+ error: string;
19694
19693
  };
19695
19694
  outputFormat: "json";
19696
- status: 201;
19695
+ status: 400;
19697
19696
  input: {
19698
19697
  json: {
19699
19698
  name: string;
@@ -19726,9 +19725,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19726
19725
  } | {
19727
19726
  output: {
19728
19727
  error: string;
19728
+ exists: true;
19729
19729
  };
19730
19730
  outputFormat: "json";
19731
- status: 400;
19731
+ status: 409;
19732
19732
  input: {
19733
19733
  json: {
19734
19734
  name: string;
@@ -19761,10 +19761,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19761
19761
  } | {
19762
19762
  output: {
19763
19763
  error: string;
19764
- exists: true;
19765
19764
  };
19766
19765
  outputFormat: "json";
19767
- status: 409;
19766
+ status: 500;
19768
19767
  input: {
19769
19768
  json: {
19770
19769
  name: string;
@@ -19796,10 +19795,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19796
19795
  };
19797
19796
  } | {
19798
19797
  output: {
19799
- error: string;
19798
+ path: string;
19799
+ name: string;
19800
19800
  };
19801
19801
  outputFormat: "json";
19802
- status: 500;
19802
+ status: 201;
19803
19803
  input: {
19804
19804
  json: {
19805
19805
  name: string;
@@ -19835,11 +19835,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19835
19835
  "/workflows/:name": {
19836
19836
  $delete: {
19837
19837
  output: {
19838
- ok: true;
19839
- path: string;
19838
+ error: string;
19840
19839
  };
19841
19840
  outputFormat: "json";
19842
- status: import("hono/utils/http-status").ContentfulStatusCode;
19841
+ status: 400 | 404 | 409 | 500;
19843
19842
  input: {
19844
19843
  param: {
19845
19844
  name: string;
@@ -19847,10 +19846,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19847
19846
  };
19848
19847
  } | {
19849
19848
  output: {
19850
- error: string;
19849
+ ok: true;
19850
+ path: string;
19851
19851
  };
19852
19852
  outputFormat: "json";
19853
- status: 400 | 404 | 409 | 500;
19853
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19854
19854
  input: {
19855
19855
  param: {
19856
19856
  name: string;
@@ -20791,18 +20791,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20791
20791
  "/repo/branches/delete": {
20792
20792
  $post: {
20793
20793
  output: {
20794
- deleted: string[];
20794
+ error: string;
20795
20795
  refused: {
20796
20796
  name: string;
20797
20797
  reason: string;
20798
20798
  }[];
20799
- dropped?: {
20800
- sha: string;
20801
- subject: string;
20802
- }[] | undefined;
20803
20799
  };
20804
20800
  outputFormat: "json";
20805
- status: 200;
20801
+ status: 409;
20806
20802
  input: {
20807
20803
  json: {
20808
20804
  names: string[];
@@ -20811,14 +20807,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20811
20807
  };
20812
20808
  } | {
20813
20809
  output: {
20814
- error: string;
20810
+ deleted: string[];
20815
20811
  refused: {
20816
20812
  name: string;
20817
20813
  reason: string;
20818
20814
  }[];
20815
+ dropped?: {
20816
+ sha: string;
20817
+ subject: string;
20818
+ }[] | undefined;
20819
20819
  };
20820
20820
  outputFormat: "json";
20821
- status: 409;
20821
+ status: 200;
20822
20822
  input: {
20823
20823
  json: {
20824
20824
  names: string[];
@@ -20839,12 +20839,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20839
20839
  } & {
20840
20840
  "/repo/commit/:sha": {
20841
20841
  $get: {
20842
- output: {
20843
- error: string;
20844
- code?: "invalid_input" | undefined;
20845
- };
20846
- outputFormat: "json";
20847
- status: 400;
20842
+ output: string;
20843
+ outputFormat: "text";
20844
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20848
20845
  input: {
20849
20846
  query: {
20850
20847
  structured?: string | undefined;
@@ -20857,9 +20854,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20857
20854
  } | {
20858
20855
  output: {
20859
20856
  error: string;
20857
+ code?: "invalid_input" | undefined;
20860
20858
  };
20861
20859
  outputFormat: "json";
20862
- status: 409;
20860
+ status: 400;
20863
20861
  input: {
20864
20862
  query: {
20865
20863
  structured?: string | undefined;
@@ -20903,9 +20901,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20903
20901
  };
20904
20902
  };
20905
20903
  } | {
20906
- output: string;
20907
- outputFormat: "text";
20908
- status: import("hono/utils/http-status").ContentfulStatusCode;
20904
+ output: {
20905
+ error: string;
20906
+ };
20907
+ outputFormat: "json";
20908
+ status: 409;
20909
20909
  input: {
20910
20910
  query: {
20911
20911
  structured?: string | undefined;
@@ -20937,10 +20937,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20937
20937
  };
20938
20938
  } | {
20939
20939
  output: {
20940
- error: string;
20940
+ type: 'file';
20941
+ path: string;
20942
+ size: number;
20943
+ binary: boolean;
20944
+ tooLarge: boolean;
20945
+ content?: string | undefined;
20941
20946
  };
20942
20947
  outputFormat: "json";
20943
- status: 409;
20948
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20944
20949
  input: {
20945
20950
  param: {
20946
20951
  sha: string;
@@ -20952,15 +20957,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20952
20957
  };
20953
20958
  } | {
20954
20959
  output: {
20955
- type: 'file';
20956
- path: string;
20957
- size: number;
20958
- binary: boolean;
20959
- tooLarge: boolean;
20960
- content?: string | undefined;
20960
+ error: string;
20961
20961
  };
20962
20962
  outputFormat: "json";
20963
- status: import("hono/utils/http-status").ContentfulStatusCode;
20963
+ status: 409;
20964
20964
  input: {
20965
20965
  param: {
20966
20966
  sha: string;
@@ -20988,10 +20988,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20988
20988
  };
20989
20989
  } | {
20990
20990
  output: {
20991
- error: string;
20991
+ type: 'file';
20992
+ path: string;
20993
+ size: number;
20994
+ binary: boolean;
20995
+ tooLarge: boolean;
20996
+ content?: string | undefined;
20992
20997
  };
20993
20998
  outputFormat: "json";
20994
- status: 409;
20999
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20995
21000
  input: {
20996
21001
  query: {
20997
21002
  path: string | string[];
@@ -20999,15 +21004,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20999
21004
  };
21000
21005
  } | {
21001
21006
  output: {
21002
- type: 'file';
21003
- path: string;
21004
- size: number;
21005
- binary: boolean;
21006
- tooLarge: boolean;
21007
- content?: string | undefined;
21007
+ error: string;
21008
21008
  };
21009
21009
  outputFormat: "json";
21010
- status: import("hono/utils/http-status").ContentfulStatusCode;
21010
+ status: 409;
21011
21011
  input: {
21012
21012
  query: {
21013
21013
  path: string | string[];
@@ -21018,13 +21018,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21018
21018
  } & {
21019
21019
  "/repo/changes": {
21020
21020
  $get: {
21021
- output: {
21022
- error: string;
21023
- };
21024
- outputFormat: "json";
21025
- status: 409;
21026
- input: {};
21027
- } | {
21028
21021
  output: {
21029
21022
  files: {
21030
21023
  path: string;
@@ -21049,6 +21042,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21049
21042
  outputFormat: "json";
21050
21043
  status: import("hono/utils/http-status").ContentfulStatusCode;
21051
21044
  input: {};
21045
+ } | {
21046
+ output: {
21047
+ error: string;
21048
+ };
21049
+ outputFormat: "json";
21050
+ status: 409;
21051
+ input: {};
21052
21052
  };
21053
21053
  };
21054
21054
  } & {
@@ -21073,12 +21073,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21073
21073
  "/repo/pull": {
21074
21074
  $post: {
21075
21075
  output: {
21076
- branch: string;
21077
- pulled: true;
21078
- summary: string;
21076
+ error: string;
21079
21077
  };
21080
21078
  outputFormat: "json";
21081
- status: 200;
21079
+ status: 409;
21082
21080
  input: {
21083
21081
  json: {
21084
21082
  branch?: string | undefined;
@@ -21087,10 +21085,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21087
21085
  };
21088
21086
  } | {
21089
21087
  output: {
21090
- error: string;
21088
+ branch: string;
21089
+ pulled: true;
21090
+ summary: string;
21091
21091
  };
21092
21092
  outputFormat: "json";
21093
- status: 409;
21093
+ status: 200;
21094
21094
  input: {
21095
21095
  json: {
21096
21096
  branch?: string | undefined;
@@ -22334,18 +22334,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22334
22334
  } & {
22335
22335
  "/run-summaries": {
22336
22336
  $get: {
22337
- output: {
22338
- error: string;
22339
- code?: "invalid_input" | undefined;
22340
- };
22341
- outputFormat: "json";
22342
- status: 400;
22343
- input: {
22344
- query: {
22345
- archived?: "all" | "recent" | undefined;
22346
- };
22347
- };
22348
- } | {
22349
22337
  output: {
22350
22338
  id: string;
22351
22339
  title: string;
@@ -22483,6 +22471,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22483
22471
  archived?: "all" | "recent" | undefined;
22484
22472
  };
22485
22473
  };
22474
+ } | {
22475
+ output: {
22476
+ error: string;
22477
+ code?: "invalid_input" | undefined;
22478
+ };
22479
+ outputFormat: "json";
22480
+ status: 400;
22481
+ input: {
22482
+ query: {
22483
+ archived?: "all" | "recent" | undefined;
22484
+ };
22485
+ };
22486
22486
  };
22487
22487
  };
22488
22488
  } & {
@@ -22844,24 +22844,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22844
22844
  "/runs/:id/worker-destroy": {
22845
22845
  $post: {
22846
22846
  output: {
22847
- workerId: string;
22848
- state: "complete" | "incomplete";
22849
- work?: {
22850
- uncommittedFiles: number;
22851
- commits: number;
22852
- } | undefined;
22853
- deleted?: ({
22854
- kind: "worktree";
22855
- path: string;
22856
- } | {
22857
- kind: "branch";
22858
- ref: string;
22859
- })[] | undefined;
22860
- remaining: ("branch" | "process" | "worktree")[];
22861
- error?: string | undefined;
22847
+ error: string;
22848
+ code?: "invalid_input" | undefined;
22862
22849
  };
22863
22850
  outputFormat: "json";
22864
- status: 200;
22851
+ status: 400;
22865
22852
  input: {
22866
22853
  query: {
22867
22854
  [x: string]: string | string[];
@@ -22877,11 +22864,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22877
22864
  };
22878
22865
  } | {
22879
22866
  output: {
22880
- error: string;
22881
- code?: "invalid_input" | undefined;
22867
+ workerId: string;
22868
+ state: "complete" | "incomplete";
22869
+ work?: {
22870
+ uncommittedFiles: number;
22871
+ commits: number;
22872
+ } | undefined;
22873
+ deleted?: ({
22874
+ kind: "worktree";
22875
+ path: string;
22876
+ } | {
22877
+ kind: "branch";
22878
+ ref: string;
22879
+ })[] | undefined;
22880
+ remaining: ("branch" | "process" | "worktree")[];
22881
+ error?: string | undefined;
22882
22882
  };
22883
22883
  outputFormat: "json";
22884
- status: 400;
22884
+ status: 200;
22885
22885
  input: {
22886
22886
  query: {
22887
22887
  [x: string]: string | string[];
@@ -22997,21 +22997,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22997
22997
  } & {
22998
22998
  "/runs/:id/archive": {
22999
22999
  $post: {
23000
- output: {
23001
- error: string;
23002
- };
23003
- outputFormat: "json";
23004
- status: 404;
23005
- input: {
23006
- json: {
23007
- archived?: boolean | undefined;
23008
- };
23009
- } & {
23010
- param: {
23011
- id: string;
23012
- };
23013
- };
23014
- } | {
23015
23000
  output: {
23016
23001
  archiveWhenDone?: boolean | undefined;
23017
23002
  autoMergePr?: boolean | undefined;
@@ -24210,32 +24195,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24210
24195
  id: string;
24211
24196
  };
24212
24197
  };
24213
- };
24214
- };
24215
- } & {
24216
- "/runs/:id/pin": {
24217
- $post: {
24198
+ } | {
24218
24199
  output: {
24219
24200
  error: string;
24220
- code?: "invalid_input" | undefined;
24221
24201
  };
24222
24202
  outputFormat: "json";
24223
- status: 400;
24203
+ status: 404;
24224
24204
  input: {
24225
- param: {
24226
- id: string;
24205
+ json: {
24206
+ archived?: boolean | undefined;
24227
24207
  };
24228
24208
  } & {
24229
- json: {
24230
- pinned?: boolean | undefined;
24209
+ param: {
24210
+ id: string;
24231
24211
  };
24232
24212
  };
24233
- } | {
24213
+ };
24214
+ };
24215
+ } & {
24216
+ "/runs/:id/pin": {
24217
+ $post: {
24234
24218
  output: {
24235
24219
  error: string;
24220
+ code?: "invalid_input" | undefined;
24236
24221
  };
24237
24222
  outputFormat: "json";
24238
- status: 404;
24223
+ status: 400;
24239
24224
  input: {
24240
24225
  param: {
24241
24226
  id: string;
@@ -25444,6 +25429,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25444
25429
  pinned?: boolean | undefined;
25445
25430
  };
25446
25431
  };
25432
+ } | {
25433
+ output: {
25434
+ error: string;
25435
+ };
25436
+ outputFormat: "json";
25437
+ status: 404;
25438
+ input: {
25439
+ param: {
25440
+ id: string;
25441
+ };
25442
+ } & {
25443
+ json: {
25444
+ pinned?: boolean | undefined;
25445
+ };
25446
+ };
25447
25447
  };
25448
25448
  };
25449
25449
  } & {
@@ -25465,6 +25465,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25465
25465
  message?: string | undefined;
25466
25466
  };
25467
25467
  };
25468
+ } | {
25469
+ output: {
25470
+ error: string;
25471
+ };
25472
+ outputFormat: "json";
25473
+ status: 400 | 404 | 409;
25474
+ input: {
25475
+ param: {
25476
+ id: string;
25477
+ };
25478
+ } & {
25479
+ json: {
25480
+ notify: boolean;
25481
+ message?: string | undefined;
25482
+ };
25483
+ };
25468
25484
  } | {
25469
25485
  output: {
25470
25486
  archiveWhenDone?: boolean | undefined;
@@ -26665,22 +26681,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
26665
26681
  message?: string | undefined;
26666
26682
  };
26667
26683
  };
26668
- } | {
26669
- output: {
26670
- error: string;
26671
- };
26672
- outputFormat: "json";
26673
- status: 400 | 404 | 409;
26674
- input: {
26675
- param: {
26676
- id: string;
26677
- };
26678
- } & {
26679
- json: {
26680
- notify: boolean;
26681
- message?: string | undefined;
26682
- };
26683
- };
26684
26684
  };
26685
26685
  };
26686
26686
  } & {
@@ -26712,17 +26712,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
26712
26712
  } & {
26713
26713
  "/runs/:id/read": {
26714
26714
  $post: {
26715
- output: {
26716
- error: string;
26717
- };
26718
- outputFormat: "json";
26719
- status: 404;
26720
- input: {
26721
- param: {
26722
- id: string;
26723
- };
26724
- };
26725
- } | {
26726
26715
  output: {
26727
26716
  archiveWhenDone?: boolean | undefined;
26728
26717
  autoMergePr?: boolean | undefined;
@@ -27917,11 +27906,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27917
27906
  id: string;
27918
27907
  };
27919
27908
  };
27920
- };
27921
- };
27922
- } & {
27923
- "/runs/:id/unread": {
27924
- $post: {
27909
+ } | {
27925
27910
  output: {
27926
27911
  error: string;
27927
27912
  };
@@ -27932,7 +27917,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27932
27917
  id: string;
27933
27918
  };
27934
27919
  };
27935
- } | {
27920
+ };
27921
+ };
27922
+ } & {
27923
+ "/runs/:id/unread": {
27924
+ $post: {
27936
27925
  output: {
27937
27926
  archiveWhenDone?: boolean | undefined;
27938
27927
  autoMergePr?: boolean | undefined;
@@ -29127,6 +29116,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29127
29116
  id: string;
29128
29117
  };
29129
29118
  };
29119
+ } | {
29120
+ output: {
29121
+ error: string;
29122
+ };
29123
+ outputFormat: "json";
29124
+ status: 404;
29125
+ input: {
29126
+ param: {
29127
+ id: string;
29128
+ };
29129
+ };
29130
29130
  };
29131
29131
  };
29132
29132
  } & {
@@ -30422,17 +30422,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
30422
30422
  } & {
30423
30423
  "/runs/:id": {
30424
30424
  $get: {
30425
- output: {
30426
- error: string;
30427
- };
30428
- outputFormat: "json";
30429
- status: 404;
30430
- input: {
30431
- param: {
30432
- id: string;
30433
- };
30434
- };
30435
- } | {
30436
30425
  output: {
30437
30426
  archiveWhenDone?: boolean | undefined;
30438
30427
  autoMergePr?: boolean | undefined;
@@ -31635,6 +31624,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31635
31624
  id: string;
31636
31625
  };
31637
31626
  };
31627
+ } | {
31628
+ output: {
31629
+ error: string;
31630
+ };
31631
+ outputFormat: "json";
31632
+ status: 404;
31633
+ input: {
31634
+ param: {
31635
+ id: string;
31636
+ };
31637
+ };
31638
31638
  };
31639
31639
  };
31640
31640
  } & {
@@ -31762,66 +31762,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31762
31762
  } & {
31763
31763
  "/runs/:id": {
31764
31764
  $patch: {
31765
- output: {
31766
- error: string;
31767
- };
31768
- outputFormat: "json";
31769
- status: 400;
31770
- input: {
31771
- json: {
31772
- archiveWhenDone?: boolean | undefined;
31773
- autoMergePr?: boolean | undefined;
31774
- allowWorkers?: boolean | undefined;
31775
- allowMessaging?: boolean | undefined;
31776
- title?: string | undefined;
31777
- task?: string | undefined;
31778
- };
31779
- } & {
31780
- param: {
31781
- id: string;
31782
- };
31783
- };
31784
- } | {
31785
- output: {
31786
- error: string;
31787
- };
31788
- outputFormat: "json";
31789
- status: 404;
31790
- input: {
31791
- json: {
31792
- archiveWhenDone?: boolean | undefined;
31793
- autoMergePr?: boolean | undefined;
31794
- allowWorkers?: boolean | undefined;
31795
- allowMessaging?: boolean | undefined;
31796
- title?: string | undefined;
31797
- task?: string | undefined;
31798
- };
31799
- } & {
31800
- param: {
31801
- id: string;
31802
- };
31803
- };
31804
- } | {
31805
- output: {
31806
- error: string;
31807
- };
31808
- outputFormat: "json";
31809
- status: 409;
31810
- input: {
31811
- json: {
31812
- archiveWhenDone?: boolean | undefined;
31813
- autoMergePr?: boolean | undefined;
31814
- allowWorkers?: boolean | undefined;
31815
- allowMessaging?: boolean | undefined;
31816
- title?: string | undefined;
31817
- task?: string | undefined;
31818
- };
31819
- } & {
31820
- param: {
31821
- id: string;
31822
- };
31823
- };
31824
- } | {
31825
31765
  output: {
31826
31766
  archiveWhenDone?: boolean | undefined;
31827
31767
  autoMergePr?: boolean | undefined;
@@ -33025,6 +32965,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33025
32965
  id: string;
33026
32966
  };
33027
32967
  };
32968
+ } | {
32969
+ output: {
32970
+ error: string;
32971
+ };
32972
+ outputFormat: "json";
32973
+ status: 404;
32974
+ input: {
32975
+ json: {
32976
+ archiveWhenDone?: boolean | undefined;
32977
+ autoMergePr?: boolean | undefined;
32978
+ allowWorkers?: boolean | undefined;
32979
+ allowMessaging?: boolean | undefined;
32980
+ title?: string | undefined;
32981
+ task?: string | undefined;
32982
+ };
32983
+ } & {
32984
+ param: {
32985
+ id: string;
32986
+ };
32987
+ };
32988
+ } | {
32989
+ output: {
32990
+ error: string;
32991
+ };
32992
+ outputFormat: "json";
32993
+ status: 400;
32994
+ input: {
32995
+ json: {
32996
+ archiveWhenDone?: boolean | undefined;
32997
+ autoMergePr?: boolean | undefined;
32998
+ allowWorkers?: boolean | undefined;
32999
+ allowMessaging?: boolean | undefined;
33000
+ title?: string | undefined;
33001
+ task?: string | undefined;
33002
+ };
33003
+ } & {
33004
+ param: {
33005
+ id: string;
33006
+ };
33007
+ };
33008
+ } | {
33009
+ output: {
33010
+ error: string;
33011
+ };
33012
+ outputFormat: "json";
33013
+ status: 409;
33014
+ input: {
33015
+ json: {
33016
+ archiveWhenDone?: boolean | undefined;
33017
+ autoMergePr?: boolean | undefined;
33018
+ allowWorkers?: boolean | undefined;
33019
+ allowMessaging?: boolean | undefined;
33020
+ title?: string | undefined;
33021
+ task?: string | undefined;
33022
+ };
33023
+ } & {
33024
+ param: {
33025
+ id: string;
33026
+ };
33027
+ };
33028
33028
  };
33029
33029
  };
33030
33030
  } & {
@@ -33125,25 +33125,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33125
33125
  } & {
33126
33126
  "/runs/:id/messages": {
33127
33127
  $post: {
33128
- output: {
33129
- error: string;
33130
- };
33131
- outputFormat: "json";
33132
- status: 400;
33133
- input: {
33134
- json: {
33135
- text?: string | undefined;
33136
- images?: {
33137
- mediaType: string;
33138
- data: string;
33139
- }[] | undefined;
33140
- };
33141
- } & {
33142
- param: {
33143
- id: string;
33144
- };
33145
- };
33146
- } | {
33147
33128
  output: {
33148
33129
  error: string;
33149
33130
  };
@@ -33200,6 +33181,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33200
33181
  id: string;
33201
33182
  };
33202
33183
  };
33184
+ } | {
33185
+ output: {
33186
+ error: string;
33187
+ };
33188
+ outputFormat: "json";
33189
+ status: 400;
33190
+ input: {
33191
+ json: {
33192
+ text?: string | undefined;
33193
+ images?: {
33194
+ mediaType: string;
33195
+ data: string;
33196
+ }[] | undefined;
33197
+ };
33198
+ } & {
33199
+ param: {
33200
+ id: string;
33201
+ };
33202
+ };
33203
33203
  } | {
33204
33204
  output: {
33205
33205
  queued: true;
@@ -33254,7 +33254,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33254
33254
  error: string;
33255
33255
  };
33256
33256
  outputFormat: "json";
33257
- status: 400;
33257
+ status: 404;
33258
33258
  input: {
33259
33259
  json: {
33260
33260
  text?: string | undefined;
@@ -33275,7 +33275,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33275
33275
  error: string;
33276
33276
  };
33277
33277
  outputFormat: "json";
33278
- status: 404;
33278
+ status: 400;
33279
33279
  input: {
33280
33280
  json: {
33281
33281
  text?: string | undefined;
@@ -33495,11 +33495,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33495
33495
  "/runs/:id/open-in-cli": {
33496
33496
  $post: {
33497
33497
  output: {
33498
- opened: true;
33499
- command: string;
33498
+ error: string;
33500
33499
  };
33501
33500
  outputFormat: "json";
33502
- status: import("hono/utils/http-status").ContentfulStatusCode;
33501
+ status: 404 | 409;
33503
33502
  input: {
33504
33503
  param: {
33505
33504
  id: string;
@@ -33507,10 +33506,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33507
33506
  };
33508
33507
  } | {
33509
33508
  output: {
33510
- error: string;
33509
+ opened: true;
33510
+ command: string;
33511
33511
  };
33512
33512
  outputFormat: "json";
33513
- status: 404 | 409;
33513
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33514
33514
  input: {
33515
33515
  param: {
33516
33516
  id: string;
@@ -33598,12 +33598,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33598
33598
  } & {
33599
33599
  "/runs/:id/images/:file": {
33600
33600
  $get: {
33601
- output: {
33602
- error: string;
33603
- code?: "invalid_input" | undefined;
33604
- };
33605
- outputFormat: "json";
33606
- status: 400;
33601
+ output: {};
33602
+ outputFormat: string;
33603
+ status: import("hono/utils/http-status").StatusCode;
33607
33604
  input: {
33608
33605
  param: {
33609
33606
  id: string;
@@ -33611,9 +33608,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33611
33608
  };
33612
33609
  };
33613
33610
  } | {
33614
- output: {};
33615
- outputFormat: string;
33616
- status: import("hono/utils/http-status").StatusCode;
33611
+ output: {
33612
+ error: string;
33613
+ code?: "invalid_input" | undefined;
33614
+ };
33615
+ outputFormat: "json";
33616
+ status: 400;
33617
33617
  input: {
33618
33618
  param: {
33619
33619
  id: string;
@@ -33646,7 +33646,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33646
33646
  error: string;
33647
33647
  };
33648
33648
  outputFormat: "json";
33649
- status: 404;
33649
+ status: 409;
33650
33650
  input: {
33651
33651
  param: {
33652
33652
  id: string;
@@ -33662,7 +33662,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33662
33662
  error: string;
33663
33663
  };
33664
33664
  outputFormat: "json";
33665
- status: 409;
33665
+ status: 404;
33666
33666
  input: {
33667
33667
  param: {
33668
33668
  id: string;
@@ -33827,6 +33827,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33827
33827
  } & {
33828
33828
  "/runs/:id/changes": {
33829
33829
  $get: {
33830
+ output: {
33831
+ error: string;
33832
+ };
33833
+ outputFormat: "json";
33834
+ status: 404 | 409;
33835
+ input: {
33836
+ param: {
33837
+ id: string;
33838
+ };
33839
+ };
33840
+ } | {
33830
33841
  output: {
33831
33842
  files: {
33832
33843
  path: string;
@@ -33855,7 +33866,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33855
33866
  id: string;
33856
33867
  };
33857
33868
  };
33858
- } | {
33869
+ };
33870
+ };
33871
+ } & {
33872
+ "/runs/:id/commits": {
33873
+ $get: {
33859
33874
  output: {
33860
33875
  error: string;
33861
33876
  };
@@ -33866,11 +33881,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33866
33881
  id: string;
33867
33882
  };
33868
33883
  };
33869
- };
33870
- };
33871
- } & {
33872
- "/runs/:id/commits": {
33873
- $get: {
33884
+ } | {
33874
33885
  output: {
33875
33886
  commits: {
33876
33887
  sha: string;
@@ -33886,7 +33897,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33886
33897
  id: string;
33887
33898
  };
33888
33899
  };
33889
- } | {
33900
+ };
33901
+ };
33902
+ } & {
33903
+ "/runs/:id/commit/:sha": {
33904
+ $get: {
33890
33905
  output: {
33891
33906
  error: string;
33892
33907
  };
@@ -33895,13 +33910,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33895
33910
  input: {
33896
33911
  param: {
33897
33912
  id: string;
33913
+ } & {
33914
+ sha: string;
33898
33915
  };
33899
33916
  };
33900
- };
33901
- };
33902
- } & {
33903
- "/runs/:id/commit/:sha": {
33904
- $get: {
33917
+ } | {
33905
33918
  output: {
33906
33919
  sha: string;
33907
33920
  subject: string;
@@ -33932,19 +33945,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33932
33945
  sha: string;
33933
33946
  };
33934
33947
  };
33935
- } | {
33936
- output: {
33937
- error: string;
33938
- };
33939
- outputFormat: "json";
33940
- status: 404 | 409;
33941
- input: {
33942
- param: {
33943
- id: string;
33944
- } & {
33945
- sha: string;
33946
- };
33947
- };
33948
33948
  };
33949
33949
  };
33950
33950
  } & {
@@ -33968,15 +33968,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33968
33968
  };
33969
33969
  } | {
33970
33970
  output: {
33971
- type: 'file';
33972
- path: string;
33973
- size: number;
33974
- binary: boolean;
33975
- tooLarge: boolean;
33976
- content?: string | undefined;
33971
+ error: string;
33977
33972
  };
33978
33973
  outputFormat: "json";
33979
- status: import("hono/utils/http-status").ContentfulStatusCode;
33974
+ status: 404 | 409;
33980
33975
  input: {
33981
33976
  param: {
33982
33977
  sha: string;
@@ -33989,10 +33984,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33989
33984
  };
33990
33985
  } | {
33991
33986
  output: {
33992
- error: string;
33987
+ type: 'file';
33988
+ path: string;
33989
+ size: number;
33990
+ binary: boolean;
33991
+ tooLarge: boolean;
33992
+ content?: string | undefined;
33993
33993
  };
33994
33994
  outputFormat: "json";
33995
- status: 404 | 409;
33995
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33996
33996
  input: {
33997
33997
  param: {
33998
33998
  sha: string;
@@ -34038,6 +34038,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34038
34038
  raw?: "1" | undefined;
34039
34039
  };
34040
34040
  };
34041
+ } | {
34042
+ output: {
34043
+ error: string;
34044
+ };
34045
+ outputFormat: "json";
34046
+ status: 404 | 409;
34047
+ input: {
34048
+ param: {
34049
+ id: string;
34050
+ };
34051
+ } & {
34052
+ query: {
34053
+ path: string | string[];
34054
+ raw?: "1" | undefined;
34055
+ };
34056
+ };
34041
34057
  } | {
34042
34058
  output: {
34043
34059
  type: "file";
@@ -34074,22 +34090,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34074
34090
  raw?: "1" | undefined;
34075
34091
  };
34076
34092
  };
34077
- } | {
34078
- output: {
34079
- error: string;
34080
- };
34081
- outputFormat: "json";
34082
- status: 404 | 409;
34083
- input: {
34084
- param: {
34085
- id: string;
34086
- };
34087
- } & {
34088
- query: {
34089
- path: string | string[];
34090
- raw?: "1" | undefined;
34091
- };
34092
- };
34093
34093
  };
34094
34094
  };
34095
34095
  } & {
@@ -34154,18 +34154,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34154
34154
  artifactId: string;
34155
34155
  };
34156
34156
  };
34157
- } | {
34158
- output: {
34159
- error: string;
34160
- };
34161
- outputFormat: "json";
34162
- status: 404;
34163
- input: {
34164
- param: {
34165
- id: string;
34166
- artifactId: string;
34167
- };
34168
- };
34169
34157
  } | {
34170
34158
  output: {
34171
34159
  type: "file";
@@ -34194,6 +34182,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34194
34182
  artifactId: string;
34195
34183
  };
34196
34184
  };
34185
+ } | {
34186
+ output: {
34187
+ error: string;
34188
+ };
34189
+ outputFormat: "json";
34190
+ status: 404;
34191
+ input: {
34192
+ param: {
34193
+ id: string;
34194
+ artifactId: string;
34195
+ };
34196
+ };
34197
34197
  };
34198
34198
  };
34199
34199
  } & {
@@ -34371,15 +34371,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34371
34371
  };
34372
34372
  } | {
34373
34373
  output: {
34374
- type: 'file';
34375
- path: string;
34376
- size: number;
34377
- binary: boolean;
34378
- tooLarge: boolean;
34379
- content?: string | undefined;
34374
+ error: string;
34380
34375
  };
34381
34376
  outputFormat: "json";
34382
- status: import("hono/utils/http-status").ContentfulStatusCode;
34377
+ status: 404 | 409;
34383
34378
  input: {
34384
34379
  query: {
34385
34380
  path?: string | undefined;
@@ -34392,14 +34387,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34392
34387
  };
34393
34388
  } | {
34394
34389
  output: {
34395
- type: 'dir';
34390
+ type: 'file';
34396
34391
  path: string;
34397
- entries: {
34398
- name: string;
34399
- type: 'dir' | 'file';
34400
- size?: number;
34401
- chain?: string;
34402
- }[];
34392
+ size: number;
34393
+ binary: boolean;
34394
+ tooLarge: boolean;
34395
+ content?: string | undefined;
34403
34396
  };
34404
34397
  outputFormat: "json";
34405
34398
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -34415,10 +34408,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34415
34408
  };
34416
34409
  } | {
34417
34410
  output: {
34418
- error: string;
34411
+ type: 'dir';
34412
+ path: string;
34413
+ entries: {
34414
+ name: string;
34415
+ type: 'dir' | 'file';
34416
+ size?: number;
34417
+ chain?: string;
34418
+ }[];
34419
34419
  };
34420
34420
  outputFormat: "json";
34421
- status: 404 | 409;
34421
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34422
34422
  input: {
34423
34423
  query: {
34424
34424
  path?: string | undefined;
@@ -34435,11 +34435,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34435
34435
  "/runs/:id/git/commit": {
34436
34436
  $post: {
34437
34437
  output: {
34438
- committed: true;
34439
- sha: string;
34438
+ error: string;
34440
34439
  };
34441
34440
  outputFormat: "json";
34442
- status: import("hono/utils/http-status").ContentfulStatusCode;
34441
+ status: 404 | 409;
34443
34442
  input: {
34444
34443
  json: {
34445
34444
  message: string;
@@ -34451,10 +34450,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34451
34450
  };
34452
34451
  } | {
34453
34452
  output: {
34454
- error: string;
34453
+ committed: true;
34454
+ sha: string;
34455
34455
  };
34456
34456
  outputFormat: "json";
34457
- status: 404 | 409;
34457
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34458
34458
  input: {
34459
34459
  json: {
34460
34460
  message: string;
@@ -34470,13 +34470,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34470
34470
  "/runs/:id/git/push": {
34471
34471
  $post: {
34472
34472
  output: {
34473
- pushed: true;
34474
- branch: string;
34475
- remote: string;
34476
- upstreamSet: boolean;
34473
+ error: string;
34477
34474
  };
34478
34475
  outputFormat: "json";
34479
- status: import("hono/utils/http-status").ContentfulStatusCode;
34476
+ status: 404 | 409;
34480
34477
  input: {
34481
34478
  param: {
34482
34479
  id: string;
@@ -34484,10 +34481,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34484
34481
  };
34485
34482
  } | {
34486
34483
  output: {
34487
- error: string;
34484
+ pushed: true;
34485
+ branch: string;
34486
+ remote: string;
34487
+ upstreamSet: boolean;
34488
34488
  };
34489
34489
  outputFormat: "json";
34490
- status: 404 | 409;
34490
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34491
34491
  input: {
34492
34492
  param: {
34493
34493
  id: string;
@@ -34499,11 +34499,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34499
34499
  "/runs/:id/pr": {
34500
34500
  $post: {
34501
34501
  output: {
34502
- url: string;
34503
- dryRun: boolean;
34502
+ error: string;
34504
34503
  };
34505
34504
  outputFormat: "json";
34506
- status: 201;
34505
+ status: 404 | 409;
34507
34506
  input: {
34508
34507
  param: {
34509
34508
  id: string;
@@ -34511,10 +34510,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34511
34510
  };
34512
34511
  } | {
34513
34512
  output: {
34514
- error: string;
34513
+ url: string;
34514
+ dryRun: boolean;
34515
34515
  };
34516
34516
  outputFormat: "json";
34517
- status: 404 | 409;
34517
+ status: 201;
34518
34518
  input: {
34519
34519
  param: {
34520
34520
  id: string;
@@ -34526,10 +34526,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34526
34526
  "/runs/:id/remove-worktree": {
34527
34527
  $post: {
34528
34528
  output: {
34529
- removed: true;
34529
+ error: string;
34530
34530
  };
34531
34531
  outputFormat: "json";
34532
- status: import("hono/utils/http-status").ContentfulStatusCode;
34532
+ status: 404 | 409;
34533
34533
  input: {
34534
34534
  param: {
34535
34535
  id: string;
@@ -34537,10 +34537,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34537
34537
  };
34538
34538
  } | {
34539
34539
  output: {
34540
- error: string;
34540
+ removed: true;
34541
34541
  };
34542
34542
  outputFormat: "json";
34543
- status: 404 | 409;
34543
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34544
34544
  input: {
34545
34545
  param: {
34546
34546
  id: string;
@@ -34552,10 +34552,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34552
34552
  "/runs/:id": {
34553
34553
  $delete: {
34554
34554
  output: {
34555
- deleted: true;
34555
+ error: string;
34556
34556
  };
34557
34557
  outputFormat: "json";
34558
- status: import("hono/utils/http-status").ContentfulStatusCode;
34558
+ status: 404 | 409;
34559
34559
  input: {
34560
34560
  param: {
34561
34561
  id: string;
@@ -34563,10 +34563,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34563
34563
  };
34564
34564
  } | {
34565
34565
  output: {
34566
- error: string;
34566
+ deleted: true;
34567
34567
  };
34568
34568
  outputFormat: "json";
34569
- status: 404 | 409;
34569
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34570
34570
  input: {
34571
34571
  param: {
34572
34572
  id: string;