@hearsay-tools/squawk 0.19.0-dev.9235 → 0.19.0-dev.9239

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,10 +234,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
234
234
  };
235
235
  } | {
236
236
  output: {
237
- error: string;
237
+ path: string;
238
+ parent: string | null;
239
+ dirs: {
240
+ name: string;
241
+ path: string;
242
+ isRepo: boolean;
243
+ }[];
244
+ truncated: boolean;
238
245
  };
239
246
  outputFormat: "json";
240
- status: 400 | 403 | 404;
247
+ status: import("hono/utils/http-status").ContentfulStatusCode;
241
248
  input: {
242
249
  query: {
243
250
  path?: string | undefined;
@@ -246,17 +253,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
246
253
  };
247
254
  } | {
248
255
  output: {
249
- path: string;
250
- parent: string | null;
251
- dirs: {
252
- name: string;
253
- path: string;
254
- isRepo: boolean;
255
- }[];
256
- truncated: boolean;
256
+ error: string;
257
257
  };
258
258
  outputFormat: "json";
259
- status: import("hono/utils/http-status").ContentfulStatusCode;
259
+ status: 400 | 403 | 404;
260
260
  input: {
261
261
  query: {
262
262
  path?: string | undefined;
@@ -268,6 +268,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
268
268
  }, "/"> | import("hono/types").MergeSchemaPath<{
269
269
  "/workspace/events": {
270
270
  $get: {
271
+ output: {
272
+ error: string;
273
+ code?: "invalid_input" | undefined;
274
+ };
275
+ outputFormat: "json";
276
+ status: 400;
277
+ input: {
278
+ query: {
279
+ runs?: "summary" | undefined;
280
+ };
281
+ };
282
+ } | {
271
283
  output: {};
272
284
  outputFormat: string;
273
285
  status: import("hono/utils/http-status").StatusCode;
@@ -276,7 +288,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
276
288
  runs?: "summary" | undefined;
277
289
  };
278
290
  };
279
- } | {
291
+ };
292
+ };
293
+ }, "/"> | import("hono/types").MergeSchemaPath<{
294
+ "/models": {
295
+ $get: {
280
296
  output: {
281
297
  error: string;
282
298
  code?: "invalid_input" | undefined;
@@ -285,17 +301,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
285
301
  status: 400;
286
302
  input: {
287
303
  query: {
288
- runs?: "summary" | undefined;
304
+ runner: string | string[];
305
+ profileId?: string | undefined;
289
306
  };
290
307
  };
291
- };
292
- };
293
- }, "/"> | import("hono/types").MergeSchemaPath<{
294
- "/models": {
295
- $get: {
308
+ } | {
296
309
  output: {
297
310
  error: string;
298
- code?: "invalid_input" | undefined;
299
311
  };
300
312
  outputFormat: "json";
301
313
  status: 400;
@@ -326,46 +338,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
326
338
  profileId?: string | undefined;
327
339
  };
328
340
  };
329
- } | {
330
- output: {
331
- error: string;
332
- };
333
- outputFormat: "json";
334
- status: 400;
335
- input: {
336
- query: {
337
- runner: string | string[];
338
- profileId?: string | undefined;
339
- };
340
- };
341
341
  };
342
342
  };
343
343
  }, "/"> | import("hono/types").MergeSchemaPath<{
344
344
  "/workspace/activity": {
345
345
  $get: {
346
- output: {
347
- error: string;
348
- code?: "invalid_input" | undefined;
349
- };
350
- outputFormat: "json";
351
- status: 400;
352
- input: {
353
- query: {
354
- project?: string | undefined;
355
- };
356
- };
357
- } | {
358
- output: {
359
- error: string;
360
- };
361
- outputFormat: "json";
362
- status: 404 | 409 | 503;
363
- input: {
364
- query: {
365
- project?: string | undefined;
366
- };
367
- };
368
- } | {
369
346
  output: {
370
347
  generatedAt: string;
371
348
  projects: {
@@ -616,6 +593,29 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
616
593
  project?: string | undefined;
617
594
  };
618
595
  };
596
+ } | {
597
+ output: {
598
+ error: string;
599
+ code?: "invalid_input" | undefined;
600
+ };
601
+ outputFormat: "json";
602
+ status: 400;
603
+ input: {
604
+ query: {
605
+ project?: string | undefined;
606
+ };
607
+ };
608
+ } | {
609
+ output: {
610
+ error: string;
611
+ };
612
+ outputFormat: "json";
613
+ status: 404 | 409 | 503;
614
+ input: {
615
+ query: {
616
+ project?: string | undefined;
617
+ };
618
+ };
619
619
  };
620
620
  };
621
621
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -940,7 +940,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
940
940
  error: string;
941
941
  };
942
942
  outputFormat: "json";
943
- status: 409;
943
+ status: 400;
944
944
  input: {
945
945
  json: {
946
946
  provider: string;
@@ -952,7 +952,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
952
952
  error: string;
953
953
  };
954
954
  outputFormat: "json";
955
- status: 400;
955
+ status: 409;
956
956
  input: {
957
957
  json: {
958
958
  provider: string;
@@ -1205,18 +1205,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1205
1205
  };
1206
1206
  } | {
1207
1207
  output: {
1208
- 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
- }[];
1208
+ error: string;
1217
1209
  };
1218
1210
  outputFormat: "json";
1219
- status: import("hono/utils/http-status").ContentfulStatusCode;
1211
+ status: 500;
1220
1212
  input: {
1221
1213
  param: {
1222
1214
  provider: string;
@@ -1228,10 +1220,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1228
1220
  };
1229
1221
  } | {
1230
1222
  output: {
1231
- error: string;
1223
+ providers: {
1224
+ requiresAccountHome?: boolean | undefined;
1225
+ provider: string;
1226
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1227
+ enabled?: boolean | undefined;
1228
+ hint?: string | undefined;
1229
+ authFailureId?: string | undefined;
1230
+ profileId?: string | undefined;
1231
+ }[];
1232
1232
  };
1233
1233
  outputFormat: "json";
1234
- status: 500;
1234
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1235
1235
  input: {
1236
1236
  param: {
1237
1237
  provider: string;
@@ -1263,18 +1263,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1263
1263
  };
1264
1264
  } | {
1265
1265
  output: {
1266
- 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
- }[];
1266
+ error: string;
1275
1267
  };
1276
1268
  outputFormat: "json";
1277
- status: import("hono/utils/http-status").ContentfulStatusCode;
1269
+ status: 409;
1278
1270
  input: {
1279
1271
  param: {
1280
1272
  provider: string;
@@ -1286,10 +1278,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1286
1278
  };
1287
1279
  } | {
1288
1280
  output: {
1289
- error: string;
1281
+ providers: {
1282
+ requiresAccountHome?: boolean | undefined;
1283
+ provider: string;
1284
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1285
+ enabled?: boolean | undefined;
1286
+ hint?: string | undefined;
1287
+ authFailureId?: string | undefined;
1288
+ profileId?: string | undefined;
1289
+ }[];
1290
1290
  };
1291
1291
  outputFormat: "json";
1292
- status: 409;
1292
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1293
1293
  input: {
1294
1294
  param: {
1295
1295
  provider: string;
@@ -1308,7 +1308,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1308
1308
  error: string;
1309
1309
  };
1310
1310
  outputFormat: "json";
1311
- status: 409;
1311
+ status: 400;
1312
1312
  input: {
1313
1313
  json: {
1314
1314
  provider: string;
@@ -1320,7 +1320,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1320
1320
  error: string;
1321
1321
  };
1322
1322
  outputFormat: "json";
1323
- status: 400;
1323
+ status: 409;
1324
1324
  input: {
1325
1325
  json: {
1326
1326
  provider: string;
@@ -1408,35 +1408,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1408
1408
  "/workspace/config": {
1409
1409
  $put: {
1410
1410
  output: {
1411
- 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
- };
1411
+ error: string;
1437
1412
  };
1438
1413
  outputFormat: "json";
1439
- status: import("hono/utils/http-status").ContentfulStatusCode;
1414
+ status: 400;
1440
1415
  input: {
1441
1416
  json: {
1442
1417
  browseRoot?: string | undefined;
@@ -1465,7 +1440,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1465
1440
  error: string;
1466
1441
  };
1467
1442
  outputFormat: "json";
1468
- status: 400;
1443
+ status: 500;
1469
1444
  input: {
1470
1445
  json: {
1471
1446
  browseRoot?: string | undefined;
@@ -1491,10 +1466,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1491
1466
  };
1492
1467
  } | {
1493
1468
  output: {
1494
- error: string;
1469
+ homeDir: string;
1470
+ browseRoot: string;
1471
+ projectsDir: string;
1472
+ archiveOnMerge: boolean | null;
1473
+ effectiveArchiveOnMerge: boolean;
1474
+ archiveOnMergeSource: "default" | "environment" | "global";
1475
+ composerDefaults: {
1476
+ autonomous: boolean | null;
1477
+ worktree: boolean | null;
1478
+ inheritedAutonomous: "source-dependent" | boolean;
1479
+ inheritedWorktree: boolean;
1480
+ };
1481
+ resources: {
1482
+ maxParallel: number;
1483
+ maxMonitoringSessions: number;
1484
+ monitoringWakeIntervalMinutes: number | null;
1485
+ autoResumeOnUsageLimit: boolean;
1486
+ memoryLimitMb: number | null;
1487
+ worktreeRetentionDefault: number;
1488
+ };
1489
+ agentDefaults: {
1490
+ runner?: string | undefined;
1491
+ models?: {
1492
+ [x: string]: string | undefined;
1493
+ } | undefined;
1494
+ };
1495
1495
  };
1496
1496
  outputFormat: "json";
1497
- status: 500;
1497
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1498
1498
  input: {
1499
1499
  json: {
1500
1500
  browseRoot?: string | undefined;
@@ -1566,41 +1566,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1566
1566
  "/workspace/ui-state": {
1567
1567
  $put: {
1568
1568
  output: {
1569
- [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;
1569
+ error: string;
1601
1570
  };
1602
1571
  outputFormat: "json";
1603
- status: import("hono/utils/http-status").ContentfulStatusCode;
1572
+ status: 500;
1604
1573
  input: {
1605
1574
  json: {
1606
1575
  [x: string]: unknown;
@@ -1633,10 +1602,41 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1633
1602
  };
1634
1603
  } | {
1635
1604
  output: {
1636
- error: string;
1605
+ [x: string]: import("hono/utils/types").JSONValue;
1606
+ sidebar?: {
1607
+ [x: string]: import("hono/utils/types").JSONValue;
1608
+ collapsed?: {
1609
+ [x: string]: boolean;
1610
+ } | undefined;
1611
+ projectOrder?: string[] | undefined;
1612
+ } | undefined;
1613
+ dismissedProviderAuthFailures?: {
1614
+ [x: string]: string | undefined;
1615
+ } | undefined;
1616
+ appearance?: {
1617
+ accent?: "cezarion" | "lime" | "violet" | undefined;
1618
+ density?: "comfortable" | "compact" | "ultra" | undefined;
1619
+ width?: "narrow" | "wide" | undefined;
1620
+ } | undefined;
1621
+ notifications?: {
1622
+ [x: string]: import("hono/utils/types").JSONValue;
1623
+ enabled?: boolean | undefined;
1624
+ } | undefined;
1625
+ taskTable?: {
1626
+ [x: string]: import("hono/utils/types").JSONValue;
1627
+ expandedColumns?: {
1628
+ [x: string]: boolean;
1629
+ } | undefined;
1630
+ } | undefined;
1631
+ lastLocation?: {
1632
+ projectId: string;
1633
+ pathname: string;
1634
+ search?: string | undefined;
1635
+ hash?: string | undefined;
1636
+ } | undefined;
1637
1637
  };
1638
1638
  outputFormat: "json";
1639
- status: 500;
1639
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1640
1640
  input: {
1641
1641
  json: {
1642
1642
  [x: string]: unknown;
@@ -1714,10 +1714,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1714
1714
  "/workspace/agent-profiles": {
1715
1715
  $post: {
1716
1716
  output: {
1717
- error: string;
1717
+ profile: {
1718
+ id: string;
1719
+ provider: string;
1720
+ label: string;
1721
+ configDir?: string | undefined;
1722
+ path?: string | undefined;
1723
+ exists: boolean;
1724
+ looksValid: boolean;
1725
+ isDefault: boolean;
1726
+ status?: {
1727
+ requiresAccountHome?: boolean | undefined;
1728
+ provider: string;
1729
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1730
+ enabled?: boolean | undefined;
1731
+ hint?: string | undefined;
1732
+ authFailureId?: string | undefined;
1733
+ profileId?: string | undefined;
1734
+ } | undefined;
1735
+ };
1718
1736
  };
1719
1737
  outputFormat: "json";
1720
- status: 409;
1738
+ status: 201;
1721
1739
  input: {
1722
1740
  json: {
1723
1741
  provider: string;
@@ -1743,7 +1761,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1743
1761
  error: string;
1744
1762
  };
1745
1763
  outputFormat: "json";
1746
- status: 500;
1764
+ status: 409;
1747
1765
  input: {
1748
1766
  json: {
1749
1767
  provider: string;
@@ -1753,28 +1771,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1753
1771
  };
1754
1772
  } | {
1755
1773
  output: {
1756
- 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
- };
1774
+ error: string;
1775
1775
  };
1776
1776
  outputFormat: "json";
1777
- status: 201;
1777
+ status: 500;
1778
1778
  input: {
1779
1779
  json: {
1780
1780
  provider: string;
@@ -1808,7 +1808,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1808
1808
  error: string;
1809
1809
  };
1810
1810
  outputFormat: "json";
1811
- status: 409;
1811
+ status: 400;
1812
1812
  input: {
1813
1813
  param: {
1814
1814
  id: string;
@@ -1824,7 +1824,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1824
1824
  error: string;
1825
1825
  };
1826
1826
  outputFormat: "json";
1827
- status: 400;
1827
+ status: 404;
1828
1828
  input: {
1829
1829
  param: {
1830
1830
  id: string;
@@ -1840,7 +1840,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1840
1840
  error: string;
1841
1841
  };
1842
1842
  outputFormat: "json";
1843
- status: 404;
1843
+ status: 409;
1844
1844
  input: {
1845
1845
  param: {
1846
1846
  id: string;
@@ -1966,10 +1966,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1966
1966
  $put: {
1967
1967
  output: {
1968
1968
  error: string;
1969
- code: "no-boot-project";
1970
1969
  };
1971
1970
  outputFormat: "json";
1972
- status: 409;
1971
+ status: 400;
1973
1972
  input: {
1974
1973
  json: {
1975
1974
  projectId: string;
@@ -1993,9 +1992,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1993
1992
  } | {
1994
1993
  output: {
1995
1994
  error: string;
1995
+ code: "no-boot-project";
1996
1996
  };
1997
1997
  outputFormat: "json";
1998
- status: 400;
1998
+ status: 409;
1999
1999
  input: {
2000
2000
  json: {
2001
2001
  projectId: string;
@@ -2059,7 +2059,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2059
2059
  error: string;
2060
2060
  };
2061
2061
  outputFormat: "json";
2062
- status: 409;
2062
+ status: 404;
2063
2063
  input: {
2064
2064
  param: {
2065
2065
  id: string;
@@ -2070,7 +2070,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2070
2070
  error: string;
2071
2071
  };
2072
2072
  outputFormat: "json";
2073
- status: 500;
2073
+ status: 409;
2074
2074
  input: {
2075
2075
  param: {
2076
2076
  id: string;
@@ -2081,7 +2081,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2081
2081
  error: string;
2082
2082
  };
2083
2083
  outputFormat: "json";
2084
- status: 404;
2084
+ status: 500;
2085
2085
  input: {
2086
2086
  param: {
2087
2087
  id: string;
@@ -2146,17 +2146,6 @@ 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
- } | {
2160
2149
  output: {
2161
2150
  project: {
2162
2151
  id: string;
@@ -2188,10 +2177,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2188
2177
  agent: boolean;
2189
2178
  }[] | undefined;
2190
2179
  };
2191
- error: string;
2180
+ error?: string | undefined;
2192
2181
  };
2193
2182
  outputFormat: "json";
2194
- status: 409;
2183
+ status: 200;
2195
2184
  input: {
2196
2185
  json: {
2197
2186
  root: string;
@@ -2229,32 +2218,31 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2229
2218
  agent: boolean;
2230
2219
  }[] | undefined;
2231
2220
  };
2232
- error?: string | undefined;
2221
+ error: string;
2233
2222
  };
2234
2223
  outputFormat: "json";
2235
- status: 200;
2224
+ status: 409;
2236
2225
  input: {
2237
2226
  json: {
2238
2227
  root: string;
2239
2228
  };
2240
2229
  };
2241
- };
2242
- };
2243
- } & {
2244
- "/projects/:projectId": {
2245
- $delete: {
2230
+ } | {
2246
2231
  output: {
2247
2232
  error: string;
2248
- code?: "no-boot-project" | undefined;
2249
2233
  };
2250
2234
  outputFormat: "json";
2251
- status: 404 | 409;
2235
+ status: 400 | 500;
2252
2236
  input: {
2253
- param: {
2254
- projectId: string;
2237
+ json: {
2238
+ root: string;
2255
2239
  };
2256
2240
  };
2257
- } | {
2241
+ };
2242
+ };
2243
+ } & {
2244
+ "/projects/:projectId": {
2245
+ $delete: {
2258
2246
  output: {
2259
2247
  error: string;
2260
2248
  };
@@ -2299,11 +2287,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2299
2287
  projectId: string;
2300
2288
  };
2301
2289
  };
2302
- };
2303
- };
2304
- } & {
2305
- "/projects/:projectId": {
2306
- $patch: {
2290
+ } | {
2307
2291
  output: {
2308
2292
  error: string;
2309
2293
  code?: "no-boot-project" | undefined;
@@ -2311,21 +2295,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2311
2295
  outputFormat: "json";
2312
2296
  status: 404 | 409;
2313
2297
  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
- } & {
2324
2298
  param: {
2325
2299
  projectId: string;
2326
2300
  };
2327
2301
  };
2328
- } | {
2302
+ };
2303
+ };
2304
+ } & {
2305
+ "/projects/:projectId": {
2306
+ $patch: {
2329
2307
  output: {
2330
2308
  error: string;
2331
2309
  };
@@ -2417,6 +2395,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2417
2395
  projectId: string;
2418
2396
  };
2419
2397
  };
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,11 +2653,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2653
2653
  "/runner-install/:runner": {
2654
2654
  $post: {
2655
2655
  output: {
2656
- error: string;
2657
- code?: "invalid_input" | undefined;
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;
2658
2662
  };
2659
2663
  outputFormat: "json";
2660
- status: 400;
2664
+ status: 202;
2661
2665
  input: {
2662
2666
  param: {
2663
2667
  runner: string;
@@ -2669,15 +2673,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2669
2673
  };
2670
2674
  } | {
2671
2675
  output: {
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;
2676
+ error: string;
2677
+ code?: "invalid_input" | undefined;
2678
2678
  };
2679
2679
  outputFormat: "json";
2680
- status: 202;
2680
+ status: 400;
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
- error: string;
2755
+ installId: string;
2756
+ version: string;
2756
2757
  };
2757
2758
  outputFormat: "json";
2758
- status: 503;
2759
+ status: 200;
2759
2760
  input: {};
2760
2761
  } | {
2761
2762
  output: {
2762
- installId: string;
2763
- version: string;
2763
+ error: string;
2764
2764
  };
2765
2765
  outputFormat: "json";
2766
- status: 200;
2766
+ status: 503;
2767
2767
  input: {};
2768
2768
  };
2769
2769
  };
@@ -3053,18 +3053,6 @@ 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
- } | {
3068
3056
  output: {
3069
3057
  name?: string;
3070
3058
  steps: {
@@ -3101,6 +3089,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3101
3089
  agentProfile?: string | undefined;
3102
3090
  };
3103
3091
  };
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,42 +3150,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3150
3150
  "/ui-state": {
3151
3151
  $put: {
3152
3152
  output: {
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;
3153
+ error: string;
3186
3154
  };
3187
3155
  outputFormat: "json";
3188
- status: import("hono/utils/http-status").ContentfulStatusCode;
3156
+ status: 500;
3189
3157
  input: {
3190
3158
  json: {
3191
3159
  [x: string]: unknown;
@@ -3223,10 +3191,42 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3223
3191
  };
3224
3192
  } | {
3225
3193
  output: {
3226
- error: string;
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;
3227
3227
  };
3228
3228
  outputFormat: "json";
3229
- status: 500;
3229
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3230
3230
  input: {
3231
3231
  json: {
3232
3232
  [x: string]: unknown;
@@ -3303,34 +3303,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3303
3303
  "/config": {
3304
3304
  $put: {
3305
3305
  output: {
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;
3306
+ error: string;
3331
3307
  };
3332
3308
  outputFormat: "json";
3333
- status: import("hono/utils/http-status").ContentfulStatusCode;
3309
+ status: 409;
3334
3310
  input: {
3335
3311
  json: {
3336
3312
  archiveOnMerge?: boolean | null | undefined;
@@ -3358,7 +3334,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3358
3334
  error: string;
3359
3335
  };
3360
3336
  outputFormat: "json";
3361
- status: 409;
3337
+ status: 500;
3362
3338
  input: {
3363
3339
  json: {
3364
3340
  archiveOnMerge?: boolean | null | undefined;
@@ -3383,10 +3359,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3383
3359
  };
3384
3360
  } | {
3385
3361
  output: {
3386
- error: string;
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;
3387
3387
  };
3388
3388
  outputFormat: "json";
3389
- status: 500;
3389
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3390
3390
  input: {
3391
3391
  json: {
3392
3392
  archiveOnMerge?: boolean | null | undefined;
@@ -3414,9 +3414,12 @@ 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
- outputFormat: string;
3419
- status: import("hono/utils/http-status").StatusCode;
3417
+ output: {
3418
+ error: string;
3419
+ code?: "invalid_input" | undefined;
3420
+ };
3421
+ outputFormat: "json";
3422
+ status: 400;
3420
3423
  input: {
3421
3424
  param: {
3422
3425
  id: string;
@@ -3428,12 +3431,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3428
3431
  };
3429
3432
  };
3430
3433
  } | {
3431
- output: {
3432
- error: string;
3433
- code?: "invalid_input" | undefined;
3434
- };
3435
- outputFormat: "json";
3436
- status: 400;
3434
+ output: {};
3435
+ outputFormat: string;
3436
+ status: import("hono/utils/http-status").StatusCode;
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: 409;
3480
+ status: 400;
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: 400;
3491
+ status: 409;
3492
3492
  input: {
3493
3493
  json: {
3494
3494
  target: string;
@@ -3596,14 +3596,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3596
3596
  "/agent-config/:id": {
3597
3597
  $put: {
3598
3598
  output: {
3599
- id: string;
3600
- path: string;
3601
- exists: boolean;
3602
- content: string;
3603
- version: string | null;
3599
+ error: string;
3604
3600
  };
3605
3601
  outputFormat: "json";
3606
- status: import("hono/utils/http-status").ContentfulStatusCode;
3602
+ status: 404;
3607
3603
  input: {
3608
3604
  json: {
3609
3605
  content: string;
@@ -3616,10 +3612,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3616
3612
  };
3617
3613
  } | {
3618
3614
  output: {
3619
- error: string;
3615
+ id: string;
3616
+ path: string;
3617
+ exists: boolean;
3618
+ content: string;
3619
+ version: string | null;
3620
3620
  };
3621
3621
  outputFormat: "json";
3622
- status: 404;
3622
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3623
3623
  input: {
3624
3624
  json: {
3625
3625
  content: string;
@@ -3719,10 +3719,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3719
3719
  };
3720
3720
  } | {
3721
3721
  output: {
3722
- error: string;
3722
+ runId: string;
3723
+ worktreeReclaimedAt: string;
3723
3724
  };
3724
3725
  outputFormat: "json";
3725
- status: 404 | 409;
3726
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3726
3727
  input: {
3727
3728
  param: {
3728
3729
  runId: string;
@@ -3734,11 +3735,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3734
3735
  };
3735
3736
  } | {
3736
3737
  output: {
3737
- runId: string;
3738
- worktreeReclaimedAt: string;
3738
+ error: string;
3739
3739
  };
3740
3740
  outputFormat: "json";
3741
- status: import("hono/utils/http-status").ContentfulStatusCode;
3741
+ status: 404 | 409;
3742
3742
  input: {
3743
3743
  param: {
3744
3744
  runId: string;
@@ -3898,10 +3898,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3898
3898
  "/workflows": {
3899
3899
  $post: {
3900
3900
  output: {
3901
- error: string;
3901
+ path: string;
3902
+ name: string;
3902
3903
  };
3903
3904
  outputFormat: "json";
3904
- status: 400;
3905
+ status: 201;
3905
3906
  input: {
3906
3907
  json: {
3907
3908
  name: string;
@@ -3934,10 +3935,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3934
3935
  } | {
3935
3936
  output: {
3936
3937
  error: string;
3937
- exists: true;
3938
3938
  };
3939
3939
  outputFormat: "json";
3940
- status: 409;
3940
+ status: 400;
3941
3941
  input: {
3942
3942
  json: {
3943
3943
  name: string;
@@ -3970,9 +3970,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3970
3970
  } | {
3971
3971
  output: {
3972
3972
  error: string;
3973
+ exists: true;
3973
3974
  };
3974
3975
  outputFormat: "json";
3975
- status: 500;
3976
+ status: 409;
3976
3977
  input: {
3977
3978
  json: {
3978
3979
  name: string;
@@ -4004,11 +4005,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4004
4005
  };
4005
4006
  } | {
4006
4007
  output: {
4007
- path: string;
4008
- name: string;
4008
+ error: string;
4009
4009
  };
4010
4010
  outputFormat: "json";
4011
- status: 201;
4011
+ status: 500;
4012
4012
  input: {
4013
4013
  json: {
4014
4014
  name: string;
@@ -4044,10 +4044,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4044
4044
  "/workflows/:name": {
4045
4045
  $delete: {
4046
4046
  output: {
4047
- error: string;
4047
+ ok: true;
4048
+ path: string;
4048
4049
  };
4049
4050
  outputFormat: "json";
4050
- status: 400 | 404 | 409 | 500;
4051
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4051
4052
  input: {
4052
4053
  param: {
4053
4054
  name: string;
@@ -4055,11 +4056,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4055
4056
  };
4056
4057
  } | {
4057
4058
  output: {
4058
- ok: true;
4059
- path: string;
4059
+ error: string;
4060
4060
  };
4061
4061
  outputFormat: "json";
4062
- status: import("hono/utils/http-status").ContentfulStatusCode;
4062
+ status: 400 | 404 | 409 | 500;
4063
4063
  input: {
4064
4064
  param: {
4065
4065
  name: string;
@@ -5000,14 +5000,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5000
5000
  "/repo/branches/delete": {
5001
5001
  $post: {
5002
5002
  output: {
5003
- error: string;
5003
+ deleted: string[];
5004
5004
  refused: {
5005
5005
  name: string;
5006
5006
  reason: string;
5007
5007
  }[];
5008
+ dropped?: {
5009
+ sha: string;
5010
+ subject: string;
5011
+ }[] | undefined;
5008
5012
  };
5009
5013
  outputFormat: "json";
5010
- status: 409;
5014
+ status: 200;
5011
5015
  input: {
5012
5016
  json: {
5013
5017
  names: string[];
@@ -5016,18 +5020,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5016
5020
  };
5017
5021
  } | {
5018
5022
  output: {
5019
- deleted: string[];
5023
+ error: string;
5020
5024
  refused: {
5021
5025
  name: string;
5022
5026
  reason: string;
5023
5027
  }[];
5024
- dropped?: {
5025
- sha: string;
5026
- subject: string;
5027
- }[] | undefined;
5028
5028
  };
5029
5029
  outputFormat: "json";
5030
- status: 200;
5030
+ status: 409;
5031
5031
  input: {
5032
5032
  json: {
5033
5033
  names: string[];
@@ -5048,9 +5048,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5048
5048
  } & {
5049
5049
  "/repo/commit/:sha": {
5050
5050
  $get: {
5051
- output: string;
5052
- outputFormat: "text";
5053
- status: import("hono/utils/http-status").ContentfulStatusCode;
5051
+ output: {
5052
+ error: string;
5053
+ code?: "invalid_input" | undefined;
5054
+ };
5055
+ outputFormat: "json";
5056
+ status: 400;
5054
5057
  input: {
5055
5058
  query: {
5056
5059
  structured?: string | undefined;
@@ -5063,10 +5066,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5063
5066
  } | {
5064
5067
  output: {
5065
5068
  error: string;
5066
- code?: "invalid_input" | undefined;
5067
5069
  };
5068
5070
  outputFormat: "json";
5069
- status: 400;
5071
+ status: 409;
5070
5072
  input: {
5071
5073
  query: {
5072
5074
  structured?: string | undefined;
@@ -5110,11 +5112,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5110
5112
  };
5111
5113
  };
5112
5114
  } | {
5113
- output: {
5114
- error: string;
5115
- };
5116
- outputFormat: "json";
5117
- status: 409;
5115
+ output: string;
5116
+ outputFormat: "text";
5117
+ status: import("hono/utils/http-status").ContentfulStatusCode;
5118
5118
  input: {
5119
5119
  query: {
5120
5120
  structured?: string | undefined;
@@ -5146,15 +5146,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5146
5146
  };
5147
5147
  } | {
5148
5148
  output: {
5149
- type: 'file';
5150
- path: string;
5151
- size: number;
5152
- binary: boolean;
5153
- tooLarge: boolean;
5154
- content?: string | undefined;
5149
+ error: string;
5155
5150
  };
5156
5151
  outputFormat: "json";
5157
- status: import("hono/utils/http-status").ContentfulStatusCode;
5152
+ status: 409;
5158
5153
  input: {
5159
5154
  param: {
5160
5155
  sha: string;
@@ -5166,10 +5161,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5166
5161
  };
5167
5162
  } | {
5168
5163
  output: {
5169
- error: string;
5164
+ type: 'file';
5165
+ path: string;
5166
+ size: number;
5167
+ binary: boolean;
5168
+ tooLarge: boolean;
5169
+ content?: string | undefined;
5170
5170
  };
5171
5171
  outputFormat: "json";
5172
- status: 409;
5172
+ status: import("hono/utils/http-status").ContentfulStatusCode;
5173
5173
  input: {
5174
5174
  param: {
5175
5175
  sha: string;
@@ -5197,15 +5197,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5197
5197
  };
5198
5198
  } | {
5199
5199
  output: {
5200
- type: 'file';
5201
- path: string;
5202
- size: number;
5203
- binary: boolean;
5204
- tooLarge: boolean;
5205
- content?: string | undefined;
5200
+ error: string;
5206
5201
  };
5207
5202
  outputFormat: "json";
5208
- status: import("hono/utils/http-status").ContentfulStatusCode;
5203
+ status: 409;
5209
5204
  input: {
5210
5205
  query: {
5211
5206
  path: string | string[];
@@ -5213,10 +5208,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5213
5208
  };
5214
5209
  } | {
5215
5210
  output: {
5216
- error: string;
5211
+ type: 'file';
5212
+ path: string;
5213
+ size: number;
5214
+ binary: boolean;
5215
+ tooLarge: boolean;
5216
+ content?: string | undefined;
5217
5217
  };
5218
5218
  outputFormat: "json";
5219
- status: 409;
5219
+ status: import("hono/utils/http-status").ContentfulStatusCode;
5220
5220
  input: {
5221
5221
  query: {
5222
5222
  path: string | string[];
@@ -5227,6 +5227,13 @@ 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
+ } | {
5230
5237
  output: {
5231
5238
  files: {
5232
5239
  path: string;
@@ -5251,13 +5258,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5251
5258
  outputFormat: "json";
5252
5259
  status: import("hono/utils/http-status").ContentfulStatusCode;
5253
5260
  input: {};
5254
- } | {
5255
- output: {
5256
- error: string;
5257
- };
5258
- outputFormat: "json";
5259
- status: 409;
5260
- input: {};
5261
5261
  };
5262
5262
  };
5263
5263
  } & {
@@ -5282,10 +5282,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5282
5282
  "/repo/pull": {
5283
5283
  $post: {
5284
5284
  output: {
5285
- error: string;
5285
+ branch: string;
5286
+ pulled: true;
5287
+ summary: string;
5286
5288
  };
5287
5289
  outputFormat: "json";
5288
- status: 409;
5290
+ status: 200;
5289
5291
  input: {
5290
5292
  json: {
5291
5293
  branch?: string | undefined;
@@ -5294,12 +5296,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5294
5296
  };
5295
5297
  } | {
5296
5298
  output: {
5297
- branch: string;
5298
- pulled: true;
5299
- summary: string;
5299
+ error: string;
5300
5300
  };
5301
5301
  outputFormat: "json";
5302
- status: 200;
5302
+ status: 409;
5303
5303
  input: {
5304
5304
  json: {
5305
5305
  branch?: string | undefined;
@@ -6543,6 +6543,18 @@ 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
+ } | {
6546
6558
  output: {
6547
6559
  id: string;
6548
6560
  title: string;
@@ -6680,18 +6692,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6680
6692
  archived?: "all" | "recent" | undefined;
6681
6693
  };
6682
6694
  };
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,22 +7053,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7053
7053
  "/runs/:id/worker-destroy": {
7054
7054
  $post: {
7055
7055
  output: {
7056
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
7057
- readonly error: string;
7058
- readonly modelChoices?: {
7059
- runner: string;
7060
- requestedModel: string;
7061
- availableModels: {
7062
- id: string;
7063
- label: string;
7064
- description: string;
7065
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
7066
- }[];
7067
- otherRunners: string[];
7056
+ workerId: string;
7057
+ state: "complete" | "incomplete";
7058
+ work?: {
7059
+ uncommittedFiles: number;
7060
+ commits: number;
7068
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;
7069
7071
  };
7070
7072
  outputFormat: "json";
7071
- status: 400 | 401 | 403 | 409 | 503;
7073
+ status: 200;
7072
7074
  input: {
7073
7075
  query: {
7074
7076
  [x: string]: string | string[];
@@ -7121,7 +7123,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7121
7123
  error?: string | undefined;
7122
7124
  };
7123
7125
  outputFormat: "json";
7124
- status: 200;
7126
+ status: 409;
7125
7127
  input: {
7126
7128
  query: {
7127
7129
  [x: string]: string | string[];
@@ -7137,24 +7139,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7137
7139
  };
7138
7140
  } | {
7139
7141
  output: {
7140
- workerId: string;
7141
- state: "complete" | "incomplete";
7142
- work?: {
7143
- uncommittedFiles: number;
7144
- commits: number;
7142
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
7143
+ readonly error: string;
7144
+ readonly modelChoices?: {
7145
+ runner: string;
7146
+ requestedModel: string;
7147
+ availableModels: {
7148
+ id: string;
7149
+ label: string;
7150
+ description: string;
7151
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
7152
+ }[];
7153
+ otherRunners: string[];
7145
7154
  } | undefined;
7146
- deleted?: ({
7147
- kind: "worktree";
7148
- path: string;
7149
- } | {
7150
- kind: "branch";
7151
- ref: string;
7152
- })[] | undefined;
7153
- remaining: ("branch" | "process" | "worktree")[];
7154
- error?: string | undefined;
7155
7155
  };
7156
7156
  outputFormat: "json";
7157
- status: 409;
7157
+ status: 400 | 401 | 403 | 409 | 503;
7158
7158
  input: {
7159
7159
  query: {
7160
7160
  [x: string]: string | string[];
@@ -7206,6 +7206,21 @@ 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
+ } | {
7209
7224
  output: {
7210
7225
  archiveWhenDone?: boolean | undefined;
7211
7226
  autoMergePr?: boolean | undefined;
@@ -8404,32 +8419,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8404
8419
  id: string;
8405
8420
  };
8406
8421
  };
8407
- } | {
8422
+ };
8423
+ };
8424
+ } & {
8425
+ "/runs/:id/pin": {
8426
+ $post: {
8408
8427
  output: {
8409
8428
  error: string;
8429
+ code?: "invalid_input" | undefined;
8410
8430
  };
8411
8431
  outputFormat: "json";
8412
- status: 404;
8432
+ status: 400;
8413
8433
  input: {
8414
- json: {
8415
- archived?: boolean | undefined;
8416
- };
8417
- } & {
8418
8434
  param: {
8419
8435
  id: string;
8420
8436
  };
8437
+ } & {
8438
+ json: {
8439
+ pinned?: boolean | undefined;
8440
+ };
8421
8441
  };
8422
- };
8423
- };
8424
- } & {
8425
- "/runs/:id/pin": {
8426
- $post: {
8442
+ } | {
8427
8443
  output: {
8428
8444
  error: string;
8429
- code?: "invalid_input" | undefined;
8430
8445
  };
8431
8446
  outputFormat: "json";
8432
- status: 400;
8447
+ status: 404;
8433
8448
  input: {
8434
8449
  param: {
8435
8450
  id: string;
@@ -9638,21 +9653,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9638
9653
  pinned?: boolean | undefined;
9639
9654
  };
9640
9655
  };
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,22 +9674,6 @@ 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
- };
9693
9677
  } | {
9694
9678
  output: {
9695
9679
  archiveWhenDone?: boolean | undefined;
@@ -10890,6 +10874,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10890
10874
  message?: string | undefined;
10891
10875
  };
10892
10876
  };
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,6 +10921,17 @@ 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
+ } | {
10924
10935
  output: {
10925
10936
  archiveWhenDone?: boolean | undefined;
10926
10937
  autoMergePr?: boolean | undefined;
@@ -12115,7 +12126,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12115
12126
  id: string;
12116
12127
  };
12117
12128
  };
12118
- } | {
12129
+ };
12130
+ };
12131
+ } & {
12132
+ "/runs/:id/unread": {
12133
+ $post: {
12119
12134
  output: {
12120
12135
  error: string;
12121
12136
  };
@@ -12126,11 +12141,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12126
12141
  id: string;
12127
12142
  };
12128
12143
  };
12129
- };
12130
- };
12131
- } & {
12132
- "/runs/:id/unread": {
12133
- $post: {
12144
+ } | {
12134
12145
  output: {
12135
12146
  archiveWhenDone?: boolean | undefined;
12136
12147
  autoMergePr?: boolean | undefined;
@@ -13325,17 +13336,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13325
13336
  id: string;
13326
13337
  };
13327
13338
  };
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,6 +14631,17 @@ 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
+ } | {
14634
14645
  output: {
14635
14646
  archiveWhenDone?: boolean | undefined;
14636
14647
  autoMergePr?: boolean | undefined;
@@ -15833,17 +15844,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15833
15844
  id: string;
15834
15845
  };
15835
15846
  };
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,6 +15971,66 @@ 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
+ } | {
15974
16034
  output: {
15975
16035
  archiveWhenDone?: boolean | undefined;
15976
16036
  autoMergePr?: boolean | undefined;
@@ -17174,66 +17234,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17174
17234
  id: string;
17175
17235
  };
17176
17236
  };
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: 404;
17341
+ status: 400;
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: 409;
17360
+ status: 404;
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
- delivered: true;
17376
+ error: string;
17377
17377
  };
17378
17378
  outputFormat: "json";
17379
- status: import("hono/utils/http-status").ContentfulStatusCode;
17379
+ status: 409;
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
- error: string;
17395
+ delivered: true;
17396
17396
  };
17397
17397
  outputFormat: "json";
17398
- status: 400;
17398
+ status: import("hono/utils/http-status").ContentfulStatusCode;
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: 404;
17466
+ status: 400;
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: 400;
17487
+ status: 404;
17488
17488
  input: {
17489
17489
  json: {
17490
17490
  text?: string | undefined;
@@ -17704,10 +17704,11 @@ 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
- error: string;
17707
+ opened: true;
17708
+ command: string;
17708
17709
  };
17709
17710
  outputFormat: "json";
17710
- status: 404 | 409;
17711
+ status: import("hono/utils/http-status").ContentfulStatusCode;
17711
17712
  input: {
17712
17713
  param: {
17713
17714
  id: string;
@@ -17715,11 +17716,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17715
17716
  };
17716
17717
  } | {
17717
17718
  output: {
17718
- opened: true;
17719
- command: string;
17719
+ error: string;
17720
17720
  };
17721
17721
  outputFormat: "json";
17722
- status: import("hono/utils/http-status").ContentfulStatusCode;
17722
+ status: 404 | 409;
17723
17723
  input: {
17724
17724
  param: {
17725
17725
  id: string;
@@ -17807,9 +17807,12 @@ 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
- outputFormat: string;
17812
- status: import("hono/utils/http-status").StatusCode;
17810
+ output: {
17811
+ error: string;
17812
+ code?: "invalid_input" | undefined;
17813
+ };
17814
+ outputFormat: "json";
17815
+ status: 400;
17813
17816
  input: {
17814
17817
  param: {
17815
17818
  id: string;
@@ -17817,12 +17820,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17817
17820
  };
17818
17821
  };
17819
17822
  } | {
17820
- output: {
17821
- error: string;
17822
- code?: "invalid_input" | undefined;
17823
- };
17824
- outputFormat: "json";
17825
- status: 400;
17823
+ output: {};
17824
+ outputFormat: string;
17825
+ status: import("hono/utils/http-status").StatusCode;
17826
17826
  input: {
17827
17827
  param: {
17828
17828
  id: string;
@@ -17858,17 +17858,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17858
17858
  } & {
17859
17859
  "/runs/:id/changes": {
17860
17860
  $get: {
17861
- output: {
17862
- error: string;
17863
- };
17864
- outputFormat: "json";
17865
- status: 404 | 409;
17866
- input: {
17867
- param: {
17868
- id: string;
17869
- };
17870
- };
17871
- } | {
17872
17861
  output: {
17873
17862
  files: {
17874
17863
  path: string;
@@ -17897,11 +17886,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17897
17886
  id: string;
17898
17887
  };
17899
17888
  };
17900
- };
17901
- };
17902
- } & {
17903
- "/runs/:id/commits": {
17904
- $get: {
17889
+ } | {
17905
17890
  output: {
17906
17891
  error: string;
17907
17892
  };
@@ -17912,7 +17897,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17912
17897
  id: string;
17913
17898
  };
17914
17899
  };
17915
- } | {
17900
+ };
17901
+ };
17902
+ } & {
17903
+ "/runs/:id/commits": {
17904
+ $get: {
17916
17905
  output: {
17917
17906
  commits: {
17918
17907
  sha: string;
@@ -17928,11 +17917,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17928
17917
  id: string;
17929
17918
  };
17930
17919
  };
17931
- };
17932
- };
17933
- } & {
17934
- "/runs/:id/commit/:sha": {
17935
- $get: {
17920
+ } | {
17936
17921
  output: {
17937
17922
  error: string;
17938
17923
  };
@@ -17941,11 +17926,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17941
17926
  input: {
17942
17927
  param: {
17943
17928
  id: string;
17944
- } & {
17945
- sha: string;
17946
17929
  };
17947
17930
  };
17948
- } | {
17931
+ };
17932
+ };
17933
+ } & {
17934
+ "/runs/:id/commit/:sha": {
17935
+ $get: {
17949
17936
  output: {
17950
17937
  sha: string;
17951
17938
  subject: string;
@@ -17976,6 +17963,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17976
17963
  sha: string;
17977
17964
  };
17978
17965
  };
17966
+ } | {
17967
+ output: {
17968
+ error: string;
17969
+ };
17970
+ outputFormat: "json";
17971
+ status: 404 | 409;
17972
+ input: {
17973
+ param: {
17974
+ id: string;
17975
+ } & {
17976
+ sha: string;
17977
+ };
17978
+ };
17979
17979
  };
17980
17980
  };
17981
17981
  } & {
@@ -17999,10 +17999,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17999
17999
  };
18000
18000
  } | {
18001
18001
  output: {
18002
- error: string;
18002
+ type: 'file';
18003
+ path: string;
18004
+ size: number;
18005
+ binary: boolean;
18006
+ tooLarge: boolean;
18007
+ content?: string | undefined;
18003
18008
  };
18004
18009
  outputFormat: "json";
18005
- status: 404 | 409;
18010
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18006
18011
  input: {
18007
18012
  param: {
18008
18013
  sha: string;
@@ -18015,15 +18020,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18015
18020
  };
18016
18021
  } | {
18017
18022
  output: {
18018
- type: 'file';
18019
- path: string;
18020
- size: number;
18021
- binary: boolean;
18022
- tooLarge: boolean;
18023
- content?: string | undefined;
18023
+ error: string;
18024
18024
  };
18025
18025
  outputFormat: "json";
18026
- status: import("hono/utils/http-status").ContentfulStatusCode;
18026
+ status: 404 | 409;
18027
18027
  input: {
18028
18028
  param: {
18029
18029
  sha: string;
@@ -18069,22 +18069,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18069
18069
  raw?: "1" | undefined;
18070
18070
  };
18071
18071
  };
18072
- } | {
18073
- output: {
18074
- error: string;
18075
- };
18076
- outputFormat: "json";
18077
- status: 404 | 409;
18078
- input: {
18079
- param: {
18080
- id: string;
18081
- };
18082
- } & {
18083
- query: {
18084
- path: string | string[];
18085
- raw?: "1" | undefined;
18086
- };
18087
- };
18088
18072
  } | {
18089
18073
  output: {
18090
18074
  type: "file";
@@ -18121,6 +18105,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18121
18105
  raw?: "1" | undefined;
18122
18106
  };
18123
18107
  };
18108
+ } | {
18109
+ output: {
18110
+ error: string;
18111
+ };
18112
+ outputFormat: "json";
18113
+ status: 404 | 409;
18114
+ input: {
18115
+ param: {
18116
+ id: string;
18117
+ };
18118
+ } & {
18119
+ query: {
18120
+ path: string | string[];
18121
+ raw?: "1" | undefined;
18122
+ };
18123
+ };
18124
18124
  };
18125
18125
  };
18126
18126
  } & {
@@ -18185,6 +18185,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18185
18185
  artifactId: string;
18186
18186
  };
18187
18187
  };
18188
+ } | {
18189
+ output: {
18190
+ error: string;
18191
+ };
18192
+ outputFormat: "json";
18193
+ status: 404;
18194
+ input: {
18195
+ param: {
18196
+ id: string;
18197
+ artifactId: string;
18198
+ };
18199
+ };
18188
18200
  } | {
18189
18201
  output: {
18190
18202
  type: "file";
@@ -18213,18 +18225,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18213
18225
  artifactId: string;
18214
18226
  };
18215
18227
  };
18216
- } | {
18217
- output: {
18218
- error: string;
18219
- };
18220
- outputFormat: "json";
18221
- status: 404;
18222
- input: {
18223
- param: {
18224
- id: string;
18225
- artifactId: string;
18226
- };
18227
- };
18228
18228
  };
18229
18229
  };
18230
18230
  } & {
@@ -18400,22 +18400,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18400
18400
  id: string;
18401
18401
  };
18402
18402
  };
18403
- } | {
18404
- output: {
18405
- error: string;
18406
- };
18407
- outputFormat: "json";
18408
- status: 404 | 409;
18409
- input: {
18410
- query: {
18411
- path?: string | undefined;
18412
- raw?: string | undefined;
18413
- };
18414
- } & {
18415
- param: {
18416
- id: string;
18417
- };
18418
- };
18419
18403
  } | {
18420
18404
  output: {
18421
18405
  type: 'file';
@@ -18460,16 +18444,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18460
18444
  id: string;
18461
18445
  };
18462
18446
  };
18447
+ } | {
18448
+ output: {
18449
+ error: string;
18450
+ };
18451
+ outputFormat: "json";
18452
+ status: 404 | 409;
18453
+ input: {
18454
+ query: {
18455
+ path?: string | undefined;
18456
+ raw?: string | undefined;
18457
+ };
18458
+ } & {
18459
+ param: {
18460
+ id: string;
18461
+ };
18462
+ };
18463
18463
  };
18464
18464
  };
18465
18465
  } & {
18466
18466
  "/runs/:id/git/commit": {
18467
18467
  $post: {
18468
18468
  output: {
18469
- error: string;
18469
+ committed: true;
18470
+ sha: string;
18470
18471
  };
18471
18472
  outputFormat: "json";
18472
- status: 404 | 409;
18473
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18473
18474
  input: {
18474
18475
  json: {
18475
18476
  message: string;
@@ -18481,11 +18482,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18481
18482
  };
18482
18483
  } | {
18483
18484
  output: {
18484
- committed: true;
18485
- sha: string;
18485
+ error: string;
18486
18486
  };
18487
18487
  outputFormat: "json";
18488
- status: import("hono/utils/http-status").ContentfulStatusCode;
18488
+ status: 404 | 409;
18489
18489
  input: {
18490
18490
  json: {
18491
18491
  message: string;
@@ -18501,10 +18501,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18501
18501
  "/runs/:id/git/push": {
18502
18502
  $post: {
18503
18503
  output: {
18504
- error: string;
18504
+ pushed: true;
18505
+ branch: string;
18506
+ remote: string;
18507
+ upstreamSet: boolean;
18505
18508
  };
18506
18509
  outputFormat: "json";
18507
- status: 404 | 409;
18510
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18508
18511
  input: {
18509
18512
  param: {
18510
18513
  id: string;
@@ -18512,13 +18515,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18512
18515
  };
18513
18516
  } | {
18514
18517
  output: {
18515
- pushed: true;
18516
- branch: string;
18517
- remote: string;
18518
- upstreamSet: boolean;
18518
+ error: string;
18519
18519
  };
18520
18520
  outputFormat: "json";
18521
- status: import("hono/utils/http-status").ContentfulStatusCode;
18521
+ status: 404 | 409;
18522
18522
  input: {
18523
18523
  param: {
18524
18524
  id: string;
@@ -18530,10 +18530,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18530
18530
  "/runs/:id/pr": {
18531
18531
  $post: {
18532
18532
  output: {
18533
- error: string;
18533
+ url: string;
18534
+ dryRun: boolean;
18534
18535
  };
18535
18536
  outputFormat: "json";
18536
- status: 404 | 409;
18537
+ status: 201;
18537
18538
  input: {
18538
18539
  param: {
18539
18540
  id: string;
@@ -18541,11 +18542,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18541
18542
  };
18542
18543
  } | {
18543
18544
  output: {
18544
- url: string;
18545
- dryRun: boolean;
18545
+ error: string;
18546
18546
  };
18547
18547
  outputFormat: "json";
18548
- status: 201;
18548
+ status: 404 | 409;
18549
18549
  input: {
18550
18550
  param: {
18551
18551
  id: string;
@@ -18557,10 +18557,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18557
18557
  "/runs/:id/remove-worktree": {
18558
18558
  $post: {
18559
18559
  output: {
18560
- error: string;
18560
+ removed: true;
18561
18561
  };
18562
18562
  outputFormat: "json";
18563
- status: 404 | 409;
18563
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18564
18564
  input: {
18565
18565
  param: {
18566
18566
  id: string;
@@ -18568,10 +18568,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18568
18568
  };
18569
18569
  } | {
18570
18570
  output: {
18571
- removed: true;
18571
+ error: string;
18572
18572
  };
18573
18573
  outputFormat: "json";
18574
- status: import("hono/utils/http-status").ContentfulStatusCode;
18574
+ status: 404 | 409;
18575
18575
  input: {
18576
18576
  param: {
18577
18577
  id: string;
@@ -18583,10 +18583,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18583
18583
  "/runs/:id": {
18584
18584
  $delete: {
18585
18585
  output: {
18586
- error: string;
18586
+ deleted: true;
18587
18587
  };
18588
18588
  outputFormat: "json";
18589
- status: 404 | 409;
18589
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18590
18590
  input: {
18591
18591
  param: {
18592
18592
  id: string;
@@ -18594,10 +18594,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18594
18594
  };
18595
18595
  } | {
18596
18596
  output: {
18597
- deleted: true;
18597
+ error: string;
18598
18598
  };
18599
18599
  outputFormat: "json";
18600
- status: import("hono/utils/http-status").ContentfulStatusCode;
18600
+ status: 404 | 409;
18601
18601
  input: {
18602
18602
  param: {
18603
18603
  id: string;
@@ -18666,18 +18666,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18666
18666
  }, "/"> | import("hono/types").MergeSchemaPath<{
18667
18667
  "/plan": {
18668
18668
  $post: {
18669
- output: {
18670
- error: string;
18671
- };
18672
- outputFormat: "json";
18673
- status: 400 | 404 | 409;
18674
- input: {
18675
- json: {
18676
- task: string;
18677
- agentProfile?: string | undefined;
18678
- };
18679
- };
18680
- } | {
18681
18669
  output: {
18682
18670
  name?: string;
18683
18671
  steps: {
@@ -18714,6 +18702,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18714
18702
  agentProfile?: string | undefined;
18715
18703
  };
18716
18704
  };
18705
+ } | {
18706
+ output: {
18707
+ error: string;
18708
+ };
18709
+ outputFormat: "json";
18710
+ status: 400 | 404 | 409;
18711
+ input: {
18712
+ json: {
18713
+ task: string;
18714
+ agentProfile?: string | undefined;
18715
+ };
18716
+ };
18717
18717
  };
18718
18718
  };
18719
18719
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -18763,42 +18763,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18763
18763
  "/ui-state": {
18764
18764
  $put: {
18765
18765
  output: {
18766
- [x: string]: import("hono/utils/types").JSONValue;
18767
- sidebarLimits?: {
18768
- overall?: number | null | undefined;
18769
- needsYou?: number | null | undefined;
18770
- finished?: number | null | undefined;
18771
- working?: number | null | undefined;
18772
- } | undefined;
18773
- lastTask?: {
18774
- source: "skill" | "workflow";
18775
- ref: string;
18776
- } | null | undefined;
18777
- recentSources?: {
18778
- source: "skill" | "workflow";
18779
- ref: string;
18780
- }[] | undefined;
18781
- lastWorktree?: boolean | undefined;
18782
- lastAutonomous?: boolean | undefined;
18783
- skillUsage?: {
18784
- [x: string]: number;
18785
- } | undefined;
18786
- runsView?: "list" | "table" | undefined;
18787
- githubView?: "issues" | "prs" | undefined;
18788
- appearance?: {
18789
- accent?: "cezarion" | "lime" | "violet" | undefined;
18790
- density?: "comfortable" | "compact" | "ultra" | undefined;
18791
- width?: "narrow" | "wide" | undefined;
18792
- } | undefined;
18793
- promptTemplates?: {
18794
- id: string;
18795
- label: string;
18796
- text: string;
18797
- skills?: string[] | undefined;
18798
- }[] | undefined;
18766
+ error: string;
18799
18767
  };
18800
18768
  outputFormat: "json";
18801
- status: import("hono/utils/http-status").ContentfulStatusCode;
18769
+ status: 500;
18802
18770
  input: {
18803
18771
  json: {
18804
18772
  [x: string]: unknown;
@@ -18836,10 +18804,42 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18836
18804
  };
18837
18805
  } | {
18838
18806
  output: {
18839
- error: string;
18807
+ [x: string]: import("hono/utils/types").JSONValue;
18808
+ sidebarLimits?: {
18809
+ overall?: number | null | undefined;
18810
+ needsYou?: number | null | undefined;
18811
+ finished?: number | null | undefined;
18812
+ working?: number | null | undefined;
18813
+ } | undefined;
18814
+ lastTask?: {
18815
+ source: "skill" | "workflow";
18816
+ ref: string;
18817
+ } | null | undefined;
18818
+ recentSources?: {
18819
+ source: "skill" | "workflow";
18820
+ ref: string;
18821
+ }[] | undefined;
18822
+ lastWorktree?: boolean | undefined;
18823
+ lastAutonomous?: boolean | undefined;
18824
+ skillUsage?: {
18825
+ [x: string]: number;
18826
+ } | undefined;
18827
+ runsView?: "list" | "table" | undefined;
18828
+ githubView?: "issues" | "prs" | undefined;
18829
+ appearance?: {
18830
+ accent?: "cezarion" | "lime" | "violet" | undefined;
18831
+ density?: "comfortable" | "compact" | "ultra" | undefined;
18832
+ width?: "narrow" | "wide" | undefined;
18833
+ } | undefined;
18834
+ promptTemplates?: {
18835
+ id: string;
18836
+ label: string;
18837
+ text: string;
18838
+ skills?: string[] | undefined;
18839
+ }[] | undefined;
18840
18840
  };
18841
18841
  outputFormat: "json";
18842
- status: 500;
18842
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18843
18843
  input: {
18844
18844
  json: {
18845
18845
  [x: string]: unknown;
@@ -18916,34 +18916,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18916
18916
  "/config": {
18917
18917
  $put: {
18918
18918
  output: {
18919
- archiveOnMerge: boolean | null;
18920
- effectiveArchiveOnMerge: boolean;
18921
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
18922
- baseBranch: string | null;
18923
- defaultRunner: string;
18924
- systemPrompt: string | null;
18925
- defaultModels: {
18926
- [x: string]: string | undefined;
18927
- };
18928
- modelsLocked: boolean;
18929
- maxParallel: number;
18930
- memoryLimitMb: number | null;
18931
- worktreeRetention: number;
18932
- liveTitleUpdates: boolean | null;
18933
- reviewGate: boolean | null;
18934
- worktreeSetup: {
18935
- commands: string[];
18936
- timeoutSeconds: number;
18937
- } | null;
18938
- worktreeSetupIssue: string | null;
18939
- worktreeTeardown: {
18940
- commands: string[];
18941
- timeoutSeconds: number;
18942
- } | null;
18943
- worktreeTeardownIssue: string | null;
18919
+ error: string;
18944
18920
  };
18945
18921
  outputFormat: "json";
18946
- status: import("hono/utils/http-status").ContentfulStatusCode;
18922
+ status: 409;
18947
18923
  input: {
18948
18924
  json: {
18949
18925
  archiveOnMerge?: boolean | null | undefined;
@@ -18971,7 +18947,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18971
18947
  error: string;
18972
18948
  };
18973
18949
  outputFormat: "json";
18974
- status: 409;
18950
+ status: 500;
18975
18951
  input: {
18976
18952
  json: {
18977
18953
  archiveOnMerge?: boolean | null | undefined;
@@ -18996,10 +18972,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18996
18972
  };
18997
18973
  } | {
18998
18974
  output: {
18999
- error: string;
18975
+ archiveOnMerge: boolean | null;
18976
+ effectiveArchiveOnMerge: boolean;
18977
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
18978
+ baseBranch: string | null;
18979
+ defaultRunner: string;
18980
+ systemPrompt: string | null;
18981
+ defaultModels: {
18982
+ [x: string]: string | undefined;
18983
+ };
18984
+ modelsLocked: boolean;
18985
+ maxParallel: number;
18986
+ memoryLimitMb: number | null;
18987
+ worktreeRetention: number;
18988
+ liveTitleUpdates: boolean | null;
18989
+ reviewGate: boolean | null;
18990
+ worktreeSetup: {
18991
+ commands: string[];
18992
+ timeoutSeconds: number;
18993
+ } | null;
18994
+ worktreeSetupIssue: string | null;
18995
+ worktreeTeardown: {
18996
+ commands: string[];
18997
+ timeoutSeconds: number;
18998
+ } | null;
18999
+ worktreeTeardownIssue: string | null;
19000
19000
  };
19001
19001
  outputFormat: "json";
19002
- status: 500;
19002
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19003
19003
  input: {
19004
19004
  json: {
19005
19005
  archiveOnMerge?: boolean | null | undefined;
@@ -19027,9 +19027,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19027
19027
  }, "/"> | import("hono/types").MergeSchemaPath<{
19028
19028
  "/runs/:id/events": {
19029
19029
  $get: {
19030
- output: {};
19031
- outputFormat: string;
19032
- status: import("hono/utils/http-status").StatusCode;
19030
+ output: {
19031
+ error: string;
19032
+ code?: "invalid_input" | undefined;
19033
+ };
19034
+ outputFormat: "json";
19035
+ status: 400;
19033
19036
  input: {
19034
19037
  param: {
19035
19038
  id: string;
@@ -19041,12 +19044,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19041
19044
  };
19042
19045
  };
19043
19046
  } | {
19044
- output: {
19045
- error: string;
19046
- code?: "invalid_input" | undefined;
19047
- };
19048
- outputFormat: "json";
19049
- status: 400;
19047
+ output: {};
19048
+ outputFormat: string;
19049
+ status: import("hono/utils/http-status").StatusCode;
19050
19050
  input: {
19051
19051
  param: {
19052
19052
  id: string;
@@ -19090,7 +19090,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19090
19090
  error: string;
19091
19091
  };
19092
19092
  outputFormat: "json";
19093
- status: 409;
19093
+ status: 400;
19094
19094
  input: {
19095
19095
  json: {
19096
19096
  target: string;
@@ -19101,7 +19101,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19101
19101
  error: string;
19102
19102
  };
19103
19103
  outputFormat: "json";
19104
- status: 400;
19104
+ status: 409;
19105
19105
  input: {
19106
19106
  json: {
19107
19107
  target: string;
@@ -19209,14 +19209,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19209
19209
  "/agent-config/:id": {
19210
19210
  $put: {
19211
19211
  output: {
19212
- id: string;
19213
- path: string;
19214
- exists: boolean;
19215
- content: string;
19216
- version: string | null;
19212
+ error: string;
19217
19213
  };
19218
19214
  outputFormat: "json";
19219
- status: import("hono/utils/http-status").ContentfulStatusCode;
19215
+ status: 404;
19220
19216
  input: {
19221
19217
  json: {
19222
19218
  content: string;
@@ -19229,10 +19225,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19229
19225
  };
19230
19226
  } | {
19231
19227
  output: {
19232
- error: string;
19228
+ id: string;
19229
+ path: string;
19230
+ exists: boolean;
19231
+ content: string;
19232
+ version: string | null;
19233
19233
  };
19234
19234
  outputFormat: "json";
19235
- status: 404;
19235
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19236
19236
  input: {
19237
19237
  json: {
19238
19238
  content: string;
@@ -19332,10 +19332,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19332
19332
  };
19333
19333
  } | {
19334
19334
  output: {
19335
- error: string;
19335
+ runId: string;
19336
+ worktreeReclaimedAt: string;
19336
19337
  };
19337
19338
  outputFormat: "json";
19338
- status: 404 | 409;
19339
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19339
19340
  input: {
19340
19341
  param: {
19341
19342
  runId: string;
@@ -19347,11 +19348,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19347
19348
  };
19348
19349
  } | {
19349
19350
  output: {
19350
- runId: string;
19351
- worktreeReclaimedAt: string;
19351
+ error: string;
19352
19352
  };
19353
19353
  outputFormat: "json";
19354
- status: import("hono/utils/http-status").ContentfulStatusCode;
19354
+ status: 404 | 409;
19355
19355
  input: {
19356
19356
  param: {
19357
19357
  runId: string;
@@ -19511,10 +19511,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19511
19511
  "/workflows": {
19512
19512
  $post: {
19513
19513
  output: {
19514
- error: string;
19514
+ path: string;
19515
+ name: string;
19515
19516
  };
19516
19517
  outputFormat: "json";
19517
- status: 400;
19518
+ status: 201;
19518
19519
  input: {
19519
19520
  json: {
19520
19521
  name: string;
@@ -19547,10 +19548,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19547
19548
  } | {
19548
19549
  output: {
19549
19550
  error: string;
19550
- exists: true;
19551
19551
  };
19552
19552
  outputFormat: "json";
19553
- status: 409;
19553
+ status: 400;
19554
19554
  input: {
19555
19555
  json: {
19556
19556
  name: string;
@@ -19583,9 +19583,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19583
19583
  } | {
19584
19584
  output: {
19585
19585
  error: string;
19586
+ exists: true;
19586
19587
  };
19587
19588
  outputFormat: "json";
19588
- status: 500;
19589
+ status: 409;
19589
19590
  input: {
19590
19591
  json: {
19591
19592
  name: string;
@@ -19617,11 +19618,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19617
19618
  };
19618
19619
  } | {
19619
19620
  output: {
19620
- path: string;
19621
- name: string;
19621
+ error: string;
19622
19622
  };
19623
19623
  outputFormat: "json";
19624
- status: 201;
19624
+ status: 500;
19625
19625
  input: {
19626
19626
  json: {
19627
19627
  name: string;
@@ -19657,10 +19657,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19657
19657
  "/workflows/:name": {
19658
19658
  $delete: {
19659
19659
  output: {
19660
- error: string;
19660
+ ok: true;
19661
+ path: string;
19661
19662
  };
19662
19663
  outputFormat: "json";
19663
- status: 400 | 404 | 409 | 500;
19664
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19664
19665
  input: {
19665
19666
  param: {
19666
19667
  name: string;
@@ -19668,11 +19669,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19668
19669
  };
19669
19670
  } | {
19670
19671
  output: {
19671
- ok: true;
19672
- path: string;
19672
+ error: string;
19673
19673
  };
19674
19674
  outputFormat: "json";
19675
- status: import("hono/utils/http-status").ContentfulStatusCode;
19675
+ status: 400 | 404 | 409 | 500;
19676
19676
  input: {
19677
19677
  param: {
19678
19678
  name: string;
@@ -20613,14 +20613,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20613
20613
  "/repo/branches/delete": {
20614
20614
  $post: {
20615
20615
  output: {
20616
- error: string;
20616
+ deleted: string[];
20617
20617
  refused: {
20618
20618
  name: string;
20619
20619
  reason: string;
20620
20620
  }[];
20621
+ dropped?: {
20622
+ sha: string;
20623
+ subject: string;
20624
+ }[] | undefined;
20621
20625
  };
20622
20626
  outputFormat: "json";
20623
- status: 409;
20627
+ status: 200;
20624
20628
  input: {
20625
20629
  json: {
20626
20630
  names: string[];
@@ -20629,18 +20633,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20629
20633
  };
20630
20634
  } | {
20631
20635
  output: {
20632
- deleted: string[];
20636
+ error: string;
20633
20637
  refused: {
20634
20638
  name: string;
20635
20639
  reason: string;
20636
20640
  }[];
20637
- dropped?: {
20638
- sha: string;
20639
- subject: string;
20640
- }[] | undefined;
20641
20641
  };
20642
20642
  outputFormat: "json";
20643
- status: 200;
20643
+ status: 409;
20644
20644
  input: {
20645
20645
  json: {
20646
20646
  names: string[];
@@ -20661,9 +20661,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20661
20661
  } & {
20662
20662
  "/repo/commit/:sha": {
20663
20663
  $get: {
20664
- output: string;
20665
- outputFormat: "text";
20666
- status: import("hono/utils/http-status").ContentfulStatusCode;
20664
+ output: {
20665
+ error: string;
20666
+ code?: "invalid_input" | undefined;
20667
+ };
20668
+ outputFormat: "json";
20669
+ status: 400;
20667
20670
  input: {
20668
20671
  query: {
20669
20672
  structured?: string | undefined;
@@ -20676,10 +20679,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20676
20679
  } | {
20677
20680
  output: {
20678
20681
  error: string;
20679
- code?: "invalid_input" | undefined;
20680
20682
  };
20681
20683
  outputFormat: "json";
20682
- status: 400;
20684
+ status: 409;
20683
20685
  input: {
20684
20686
  query: {
20685
20687
  structured?: string | undefined;
@@ -20723,11 +20725,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20723
20725
  };
20724
20726
  };
20725
20727
  } | {
20726
- output: {
20727
- error: string;
20728
- };
20729
- outputFormat: "json";
20730
- status: 409;
20728
+ output: string;
20729
+ outputFormat: "text";
20730
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20731
20731
  input: {
20732
20732
  query: {
20733
20733
  structured?: string | undefined;
@@ -20759,15 +20759,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20759
20759
  };
20760
20760
  } | {
20761
20761
  output: {
20762
- type: 'file';
20763
- path: string;
20764
- size: number;
20765
- binary: boolean;
20766
- tooLarge: boolean;
20767
- content?: string | undefined;
20762
+ error: string;
20768
20763
  };
20769
20764
  outputFormat: "json";
20770
- status: import("hono/utils/http-status").ContentfulStatusCode;
20765
+ status: 409;
20771
20766
  input: {
20772
20767
  param: {
20773
20768
  sha: string;
@@ -20779,10 +20774,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20779
20774
  };
20780
20775
  } | {
20781
20776
  output: {
20782
- error: string;
20777
+ type: 'file';
20778
+ path: string;
20779
+ size: number;
20780
+ binary: boolean;
20781
+ tooLarge: boolean;
20782
+ content?: string | undefined;
20783
20783
  };
20784
20784
  outputFormat: "json";
20785
- status: 409;
20785
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20786
20786
  input: {
20787
20787
  param: {
20788
20788
  sha: string;
@@ -20810,15 +20810,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20810
20810
  };
20811
20811
  } | {
20812
20812
  output: {
20813
- type: 'file';
20814
- path: string;
20815
- size: number;
20816
- binary: boolean;
20817
- tooLarge: boolean;
20818
- content?: string | undefined;
20813
+ error: string;
20819
20814
  };
20820
20815
  outputFormat: "json";
20821
- status: import("hono/utils/http-status").ContentfulStatusCode;
20816
+ status: 409;
20822
20817
  input: {
20823
20818
  query: {
20824
20819
  path: string | string[];
@@ -20826,10 +20821,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20826
20821
  };
20827
20822
  } | {
20828
20823
  output: {
20829
- error: string;
20824
+ type: 'file';
20825
+ path: string;
20826
+ size: number;
20827
+ binary: boolean;
20828
+ tooLarge: boolean;
20829
+ content?: string | undefined;
20830
20830
  };
20831
20831
  outputFormat: "json";
20832
- status: 409;
20832
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20833
20833
  input: {
20834
20834
  query: {
20835
20835
  path: string | string[];
@@ -20840,6 +20840,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20840
20840
  } & {
20841
20841
  "/repo/changes": {
20842
20842
  $get: {
20843
+ output: {
20844
+ error: string;
20845
+ };
20846
+ outputFormat: "json";
20847
+ status: 409;
20848
+ input: {};
20849
+ } | {
20843
20850
  output: {
20844
20851
  files: {
20845
20852
  path: string;
@@ -20864,13 +20871,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20864
20871
  outputFormat: "json";
20865
20872
  status: import("hono/utils/http-status").ContentfulStatusCode;
20866
20873
  input: {};
20867
- } | {
20868
- output: {
20869
- error: string;
20870
- };
20871
- outputFormat: "json";
20872
- status: 409;
20873
- input: {};
20874
20874
  };
20875
20875
  };
20876
20876
  } & {
@@ -20895,10 +20895,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20895
20895
  "/repo/pull": {
20896
20896
  $post: {
20897
20897
  output: {
20898
- error: string;
20898
+ branch: string;
20899
+ pulled: true;
20900
+ summary: string;
20899
20901
  };
20900
20902
  outputFormat: "json";
20901
- status: 409;
20903
+ status: 200;
20902
20904
  input: {
20903
20905
  json: {
20904
20906
  branch?: string | undefined;
@@ -20907,12 +20909,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20907
20909
  };
20908
20910
  } | {
20909
20911
  output: {
20910
- branch: string;
20911
- pulled: true;
20912
- summary: string;
20912
+ error: string;
20913
20913
  };
20914
20914
  outputFormat: "json";
20915
- status: 200;
20915
+ status: 409;
20916
20916
  input: {
20917
20917
  json: {
20918
20918
  branch?: string | undefined;
@@ -22156,6 +22156,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22156
22156
  } & {
22157
22157
  "/run-summaries": {
22158
22158
  $get: {
22159
+ output: {
22160
+ error: string;
22161
+ code?: "invalid_input" | undefined;
22162
+ };
22163
+ outputFormat: "json";
22164
+ status: 400;
22165
+ input: {
22166
+ query: {
22167
+ archived?: "all" | "recent" | undefined;
22168
+ };
22169
+ };
22170
+ } | {
22159
22171
  output: {
22160
22172
  id: string;
22161
22173
  title: string;
@@ -22293,18 +22305,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22293
22305
  archived?: "all" | "recent" | undefined;
22294
22306
  };
22295
22307
  };
22296
- } | {
22297
- output: {
22298
- error: string;
22299
- code?: "invalid_input" | undefined;
22300
- };
22301
- outputFormat: "json";
22302
- status: 400;
22303
- input: {
22304
- query: {
22305
- archived?: "all" | "recent" | undefined;
22306
- };
22307
- };
22308
22308
  };
22309
22309
  };
22310
22310
  } & {
@@ -22666,22 +22666,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22666
22666
  "/runs/:id/worker-destroy": {
22667
22667
  $post: {
22668
22668
  output: {
22669
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
22670
- readonly error: string;
22671
- readonly modelChoices?: {
22672
- runner: string;
22673
- requestedModel: string;
22674
- availableModels: {
22675
- id: string;
22676
- label: string;
22677
- description: string;
22678
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
22679
- }[];
22680
- otherRunners: string[];
22669
+ workerId: string;
22670
+ state: "complete" | "incomplete";
22671
+ work?: {
22672
+ uncommittedFiles: number;
22673
+ commits: number;
22681
22674
  } | undefined;
22675
+ deleted?: ({
22676
+ kind: "worktree";
22677
+ path: string;
22678
+ } | {
22679
+ kind: "branch";
22680
+ ref: string;
22681
+ })[] | undefined;
22682
+ remaining: ("branch" | "process" | "worktree")[];
22683
+ error?: string | undefined;
22682
22684
  };
22683
22685
  outputFormat: "json";
22684
- status: 400 | 401 | 403 | 409 | 503;
22686
+ status: 200;
22685
22687
  input: {
22686
22688
  query: {
22687
22689
  [x: string]: string | string[];
@@ -22734,7 +22736,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22734
22736
  error?: string | undefined;
22735
22737
  };
22736
22738
  outputFormat: "json";
22737
- status: 200;
22739
+ status: 409;
22738
22740
  input: {
22739
22741
  query: {
22740
22742
  [x: string]: string | string[];
@@ -22750,24 +22752,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22750
22752
  };
22751
22753
  } | {
22752
22754
  output: {
22753
- workerId: string;
22754
- state: "complete" | "incomplete";
22755
- work?: {
22756
- uncommittedFiles: number;
22757
- commits: number;
22755
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
22756
+ readonly error: string;
22757
+ readonly modelChoices?: {
22758
+ runner: string;
22759
+ requestedModel: string;
22760
+ availableModels: {
22761
+ id: string;
22762
+ label: string;
22763
+ description: string;
22764
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
22765
+ }[];
22766
+ otherRunners: string[];
22758
22767
  } | undefined;
22759
- deleted?: ({
22760
- kind: "worktree";
22761
- path: string;
22762
- } | {
22763
- kind: "branch";
22764
- ref: string;
22765
- })[] | undefined;
22766
- remaining: ("branch" | "process" | "worktree")[];
22767
- error?: string | undefined;
22768
22768
  };
22769
22769
  outputFormat: "json";
22770
- status: 409;
22770
+ status: 400 | 401 | 403 | 409 | 503;
22771
22771
  input: {
22772
22772
  query: {
22773
22773
  [x: string]: string | string[];
@@ -22819,6 +22819,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22819
22819
  } & {
22820
22820
  "/runs/:id/archive": {
22821
22821
  $post: {
22822
+ output: {
22823
+ error: string;
22824
+ };
22825
+ outputFormat: "json";
22826
+ status: 404;
22827
+ input: {
22828
+ json: {
22829
+ archived?: boolean | undefined;
22830
+ };
22831
+ } & {
22832
+ param: {
22833
+ id: string;
22834
+ };
22835
+ };
22836
+ } | {
22822
22837
  output: {
22823
22838
  archiveWhenDone?: boolean | undefined;
22824
22839
  autoMergePr?: boolean | undefined;
@@ -24017,32 +24032,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24017
24032
  id: string;
24018
24033
  };
24019
24034
  };
24020
- } | {
24035
+ };
24036
+ };
24037
+ } & {
24038
+ "/runs/:id/pin": {
24039
+ $post: {
24021
24040
  output: {
24022
24041
  error: string;
24042
+ code?: "invalid_input" | undefined;
24023
24043
  };
24024
24044
  outputFormat: "json";
24025
- status: 404;
24045
+ status: 400;
24026
24046
  input: {
24027
- json: {
24028
- archived?: boolean | undefined;
24029
- };
24030
- } & {
24031
24047
  param: {
24032
24048
  id: string;
24033
24049
  };
24050
+ } & {
24051
+ json: {
24052
+ pinned?: boolean | undefined;
24053
+ };
24034
24054
  };
24035
- };
24036
- };
24037
- } & {
24038
- "/runs/:id/pin": {
24039
- $post: {
24055
+ } | {
24040
24056
  output: {
24041
24057
  error: string;
24042
- code?: "invalid_input" | undefined;
24043
24058
  };
24044
24059
  outputFormat: "json";
24045
- status: 400;
24060
+ status: 404;
24046
24061
  input: {
24047
24062
  param: {
24048
24063
  id: string;
@@ -25251,21 +25266,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25251
25266
  pinned?: boolean | undefined;
25252
25267
  };
25253
25268
  };
25254
- } | {
25255
- output: {
25256
- error: string;
25257
- };
25258
- outputFormat: "json";
25259
- status: 404;
25260
- input: {
25261
- param: {
25262
- id: string;
25263
- };
25264
- } & {
25265
- json: {
25266
- pinned?: boolean | undefined;
25267
- };
25268
- };
25269
25269
  };
25270
25270
  };
25271
25271
  } & {
@@ -25287,22 +25287,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25287
25287
  message?: string | undefined;
25288
25288
  };
25289
25289
  };
25290
- } | {
25291
- output: {
25292
- error: string;
25293
- };
25294
- outputFormat: "json";
25295
- status: 400 | 404 | 409;
25296
- input: {
25297
- param: {
25298
- id: string;
25299
- };
25300
- } & {
25301
- json: {
25302
- notify: boolean;
25303
- message?: string | undefined;
25304
- };
25305
- };
25306
25290
  } | {
25307
25291
  output: {
25308
25292
  archiveWhenDone?: boolean | undefined;
@@ -26503,6 +26487,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
26503
26487
  message?: string | undefined;
26504
26488
  };
26505
26489
  };
26490
+ } | {
26491
+ output: {
26492
+ error: string;
26493
+ };
26494
+ outputFormat: "json";
26495
+ status: 400 | 404 | 409;
26496
+ input: {
26497
+ param: {
26498
+ id: string;
26499
+ };
26500
+ } & {
26501
+ json: {
26502
+ notify: boolean;
26503
+ message?: string | undefined;
26504
+ };
26505
+ };
26506
26506
  };
26507
26507
  };
26508
26508
  } & {
@@ -26534,6 +26534,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
26534
26534
  } & {
26535
26535
  "/runs/:id/read": {
26536
26536
  $post: {
26537
+ output: {
26538
+ error: string;
26539
+ };
26540
+ outputFormat: "json";
26541
+ status: 404;
26542
+ input: {
26543
+ param: {
26544
+ id: string;
26545
+ };
26546
+ };
26547
+ } | {
26537
26548
  output: {
26538
26549
  archiveWhenDone?: boolean | undefined;
26539
26550
  autoMergePr?: boolean | undefined;
@@ -27728,7 +27739,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27728
27739
  id: string;
27729
27740
  };
27730
27741
  };
27731
- } | {
27742
+ };
27743
+ };
27744
+ } & {
27745
+ "/runs/:id/unread": {
27746
+ $post: {
27732
27747
  output: {
27733
27748
  error: string;
27734
27749
  };
@@ -27739,11 +27754,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27739
27754
  id: string;
27740
27755
  };
27741
27756
  };
27742
- };
27743
- };
27744
- } & {
27745
- "/runs/:id/unread": {
27746
- $post: {
27757
+ } | {
27747
27758
  output: {
27748
27759
  archiveWhenDone?: boolean | undefined;
27749
27760
  autoMergePr?: boolean | undefined;
@@ -28938,17 +28949,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28938
28949
  id: string;
28939
28950
  };
28940
28951
  };
28941
- } | {
28942
- output: {
28943
- error: string;
28944
- };
28945
- outputFormat: "json";
28946
- status: 404;
28947
- input: {
28948
- param: {
28949
- id: string;
28950
- };
28951
- };
28952
28952
  };
28953
28953
  };
28954
28954
  } & {
@@ -30244,6 +30244,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
30244
30244
  } & {
30245
30245
  "/runs/:id": {
30246
30246
  $get: {
30247
+ output: {
30248
+ error: string;
30249
+ };
30250
+ outputFormat: "json";
30251
+ status: 404;
30252
+ input: {
30253
+ param: {
30254
+ id: string;
30255
+ };
30256
+ };
30257
+ } | {
30247
30258
  output: {
30248
30259
  archiveWhenDone?: boolean | undefined;
30249
30260
  autoMergePr?: boolean | undefined;
@@ -31446,17 +31457,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31446
31457
  id: string;
31447
31458
  };
31448
31459
  };
31449
- } | {
31450
- output: {
31451
- error: string;
31452
- };
31453
- outputFormat: "json";
31454
- status: 404;
31455
- input: {
31456
- param: {
31457
- id: string;
31458
- };
31459
- };
31460
31460
  };
31461
31461
  };
31462
31462
  } & {
@@ -31584,6 +31584,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31584
31584
  } & {
31585
31585
  "/runs/:id": {
31586
31586
  $patch: {
31587
+ output: {
31588
+ error: string;
31589
+ };
31590
+ outputFormat: "json";
31591
+ status: 400;
31592
+ input: {
31593
+ json: {
31594
+ archiveWhenDone?: boolean | undefined;
31595
+ autoMergePr?: boolean | undefined;
31596
+ allowWorkers?: boolean | undefined;
31597
+ allowMessaging?: boolean | undefined;
31598
+ title?: string | undefined;
31599
+ task?: string | undefined;
31600
+ };
31601
+ } & {
31602
+ param: {
31603
+ id: string;
31604
+ };
31605
+ };
31606
+ } | {
31607
+ output: {
31608
+ error: string;
31609
+ };
31610
+ outputFormat: "json";
31611
+ status: 404;
31612
+ input: {
31613
+ json: {
31614
+ archiveWhenDone?: boolean | undefined;
31615
+ autoMergePr?: boolean | undefined;
31616
+ allowWorkers?: boolean | undefined;
31617
+ allowMessaging?: boolean | undefined;
31618
+ title?: string | undefined;
31619
+ task?: string | undefined;
31620
+ };
31621
+ } & {
31622
+ param: {
31623
+ id: string;
31624
+ };
31625
+ };
31626
+ } | {
31627
+ output: {
31628
+ error: string;
31629
+ };
31630
+ outputFormat: "json";
31631
+ status: 409;
31632
+ input: {
31633
+ json: {
31634
+ archiveWhenDone?: boolean | undefined;
31635
+ autoMergePr?: boolean | undefined;
31636
+ allowWorkers?: boolean | undefined;
31637
+ allowMessaging?: boolean | undefined;
31638
+ title?: string | undefined;
31639
+ task?: string | undefined;
31640
+ };
31641
+ } & {
31642
+ param: {
31643
+ id: string;
31644
+ };
31645
+ };
31646
+ } | {
31587
31647
  output: {
31588
31648
  archiveWhenDone?: boolean | undefined;
31589
31649
  autoMergePr?: boolean | undefined;
@@ -32787,66 +32847,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32787
32847
  id: string;
32788
32848
  };
32789
32849
  };
32790
- } | {
32791
- output: {
32792
- error: string;
32793
- };
32794
- outputFormat: "json";
32795
- status: 404;
32796
- input: {
32797
- json: {
32798
- archiveWhenDone?: boolean | undefined;
32799
- autoMergePr?: boolean | undefined;
32800
- allowWorkers?: boolean | undefined;
32801
- allowMessaging?: boolean | undefined;
32802
- title?: string | undefined;
32803
- task?: string | undefined;
32804
- };
32805
- } & {
32806
- param: {
32807
- id: string;
32808
- };
32809
- };
32810
- } | {
32811
- output: {
32812
- error: string;
32813
- };
32814
- outputFormat: "json";
32815
- status: 400;
32816
- input: {
32817
- json: {
32818
- archiveWhenDone?: boolean | undefined;
32819
- autoMergePr?: boolean | undefined;
32820
- allowWorkers?: boolean | undefined;
32821
- allowMessaging?: boolean | undefined;
32822
- title?: string | undefined;
32823
- task?: string | undefined;
32824
- };
32825
- } & {
32826
- param: {
32827
- id: string;
32828
- };
32829
- };
32830
- } | {
32831
- output: {
32832
- error: string;
32833
- };
32834
- outputFormat: "json";
32835
- status: 409;
32836
- input: {
32837
- json: {
32838
- archiveWhenDone?: boolean | undefined;
32839
- autoMergePr?: boolean | undefined;
32840
- allowWorkers?: boolean | undefined;
32841
- allowMessaging?: boolean | undefined;
32842
- title?: string | undefined;
32843
- task?: string | undefined;
32844
- };
32845
- } & {
32846
- param: {
32847
- id: string;
32848
- };
32849
- };
32850
32850
  };
32851
32851
  };
32852
32852
  } & {
@@ -32947,6 +32947,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32947
32947
  } & {
32948
32948
  "/runs/:id/messages": {
32949
32949
  $post: {
32950
+ output: {
32951
+ error: string;
32952
+ };
32953
+ outputFormat: "json";
32954
+ status: 400;
32955
+ input: {
32956
+ json: {
32957
+ text?: string | undefined;
32958
+ images?: {
32959
+ mediaType: string;
32960
+ data: string;
32961
+ }[] | undefined;
32962
+ };
32963
+ } & {
32964
+ param: {
32965
+ id: string;
32966
+ };
32967
+ };
32968
+ } | {
32950
32969
  output: {
32951
32970
  error: string;
32952
32971
  };
@@ -33003,25 +33022,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33003
33022
  id: string;
33004
33023
  };
33005
33024
  };
33006
- } | {
33007
- output: {
33008
- error: string;
33009
- };
33010
- outputFormat: "json";
33011
- status: 400;
33012
- input: {
33013
- json: {
33014
- text?: string | undefined;
33015
- images?: {
33016
- mediaType: string;
33017
- data: string;
33018
- }[] | undefined;
33019
- };
33020
- } & {
33021
- param: {
33022
- id: string;
33023
- };
33024
- };
33025
33025
  } | {
33026
33026
  output: {
33027
33027
  queued: true;
@@ -33076,7 +33076,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33076
33076
  error: string;
33077
33077
  };
33078
33078
  outputFormat: "json";
33079
- status: 404;
33079
+ status: 400;
33080
33080
  input: {
33081
33081
  json: {
33082
33082
  text?: string | undefined;
@@ -33097,7 +33097,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33097
33097
  error: string;
33098
33098
  };
33099
33099
  outputFormat: "json";
33100
- status: 400;
33100
+ status: 404;
33101
33101
  input: {
33102
33102
  json: {
33103
33103
  text?: string | undefined;
@@ -33317,10 +33317,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33317
33317
  "/runs/:id/open-in-cli": {
33318
33318
  $post: {
33319
33319
  output: {
33320
- error: string;
33320
+ opened: true;
33321
+ command: string;
33321
33322
  };
33322
33323
  outputFormat: "json";
33323
- status: 404 | 409;
33324
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33324
33325
  input: {
33325
33326
  param: {
33326
33327
  id: string;
@@ -33328,11 +33329,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33328
33329
  };
33329
33330
  } | {
33330
33331
  output: {
33331
- opened: true;
33332
- command: string;
33332
+ error: string;
33333
33333
  };
33334
33334
  outputFormat: "json";
33335
- status: import("hono/utils/http-status").ContentfulStatusCode;
33335
+ status: 404 | 409;
33336
33336
  input: {
33337
33337
  param: {
33338
33338
  id: string;
@@ -33420,9 +33420,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33420
33420
  } & {
33421
33421
  "/runs/:id/images/:file": {
33422
33422
  $get: {
33423
- output: {};
33424
- outputFormat: string;
33425
- status: import("hono/utils/http-status").StatusCode;
33423
+ output: {
33424
+ error: string;
33425
+ code?: "invalid_input" | undefined;
33426
+ };
33427
+ outputFormat: "json";
33428
+ status: 400;
33426
33429
  input: {
33427
33430
  param: {
33428
33431
  id: string;
@@ -33430,12 +33433,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33430
33433
  };
33431
33434
  };
33432
33435
  } | {
33433
- output: {
33434
- error: string;
33435
- code?: "invalid_input" | undefined;
33436
- };
33437
- outputFormat: "json";
33438
- status: 400;
33436
+ output: {};
33437
+ outputFormat: string;
33438
+ status: import("hono/utils/http-status").StatusCode;
33439
33439
  input: {
33440
33440
  param: {
33441
33441
  id: string;
@@ -33471,17 +33471,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33471
33471
  } & {
33472
33472
  "/runs/:id/changes": {
33473
33473
  $get: {
33474
- output: {
33475
- error: string;
33476
- };
33477
- outputFormat: "json";
33478
- status: 404 | 409;
33479
- input: {
33480
- param: {
33481
- id: string;
33482
- };
33483
- };
33484
- } | {
33485
33474
  output: {
33486
33475
  files: {
33487
33476
  path: string;
@@ -33510,11 +33499,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33510
33499
  id: string;
33511
33500
  };
33512
33501
  };
33513
- };
33514
- };
33515
- } & {
33516
- "/runs/:id/commits": {
33517
- $get: {
33502
+ } | {
33518
33503
  output: {
33519
33504
  error: string;
33520
33505
  };
@@ -33525,7 +33510,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33525
33510
  id: string;
33526
33511
  };
33527
33512
  };
33528
- } | {
33513
+ };
33514
+ };
33515
+ } & {
33516
+ "/runs/:id/commits": {
33517
+ $get: {
33529
33518
  output: {
33530
33519
  commits: {
33531
33520
  sha: string;
@@ -33541,11 +33530,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33541
33530
  id: string;
33542
33531
  };
33543
33532
  };
33544
- };
33545
- };
33546
- } & {
33547
- "/runs/:id/commit/:sha": {
33548
- $get: {
33533
+ } | {
33549
33534
  output: {
33550
33535
  error: string;
33551
33536
  };
@@ -33554,11 +33539,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33554
33539
  input: {
33555
33540
  param: {
33556
33541
  id: string;
33557
- } & {
33558
- sha: string;
33559
33542
  };
33560
33543
  };
33561
- } | {
33544
+ };
33545
+ };
33546
+ } & {
33547
+ "/runs/:id/commit/:sha": {
33548
+ $get: {
33562
33549
  output: {
33563
33550
  sha: string;
33564
33551
  subject: string;
@@ -33589,6 +33576,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33589
33576
  sha: string;
33590
33577
  };
33591
33578
  };
33579
+ } | {
33580
+ output: {
33581
+ error: string;
33582
+ };
33583
+ outputFormat: "json";
33584
+ status: 404 | 409;
33585
+ input: {
33586
+ param: {
33587
+ id: string;
33588
+ } & {
33589
+ sha: string;
33590
+ };
33591
+ };
33592
33592
  };
33593
33593
  };
33594
33594
  } & {
@@ -33612,10 +33612,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33612
33612
  };
33613
33613
  } | {
33614
33614
  output: {
33615
- error: string;
33615
+ type: 'file';
33616
+ path: string;
33617
+ size: number;
33618
+ binary: boolean;
33619
+ tooLarge: boolean;
33620
+ content?: string | undefined;
33616
33621
  };
33617
33622
  outputFormat: "json";
33618
- status: 404 | 409;
33623
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33619
33624
  input: {
33620
33625
  param: {
33621
33626
  sha: string;
@@ -33628,15 +33633,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33628
33633
  };
33629
33634
  } | {
33630
33635
  output: {
33631
- type: 'file';
33632
- path: string;
33633
- size: number;
33634
- binary: boolean;
33635
- tooLarge: boolean;
33636
- content?: string | undefined;
33636
+ error: string;
33637
33637
  };
33638
33638
  outputFormat: "json";
33639
- status: import("hono/utils/http-status").ContentfulStatusCode;
33639
+ status: 404 | 409;
33640
33640
  input: {
33641
33641
  param: {
33642
33642
  sha: string;
@@ -33682,22 +33682,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33682
33682
  raw?: "1" | undefined;
33683
33683
  };
33684
33684
  };
33685
- } | {
33686
- output: {
33687
- error: string;
33688
- };
33689
- outputFormat: "json";
33690
- status: 404 | 409;
33691
- input: {
33692
- param: {
33693
- id: string;
33694
- };
33695
- } & {
33696
- query: {
33697
- path: string | string[];
33698
- raw?: "1" | undefined;
33699
- };
33700
- };
33701
33685
  } | {
33702
33686
  output: {
33703
33687
  type: "file";
@@ -33734,6 +33718,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33734
33718
  raw?: "1" | undefined;
33735
33719
  };
33736
33720
  };
33721
+ } | {
33722
+ output: {
33723
+ error: string;
33724
+ };
33725
+ outputFormat: "json";
33726
+ status: 404 | 409;
33727
+ input: {
33728
+ param: {
33729
+ id: string;
33730
+ };
33731
+ } & {
33732
+ query: {
33733
+ path: string | string[];
33734
+ raw?: "1" | undefined;
33735
+ };
33736
+ };
33737
33737
  };
33738
33738
  };
33739
33739
  } & {
@@ -33798,6 +33798,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33798
33798
  artifactId: string;
33799
33799
  };
33800
33800
  };
33801
+ } | {
33802
+ output: {
33803
+ error: string;
33804
+ };
33805
+ outputFormat: "json";
33806
+ status: 404;
33807
+ input: {
33808
+ param: {
33809
+ id: string;
33810
+ artifactId: string;
33811
+ };
33812
+ };
33801
33813
  } | {
33802
33814
  output: {
33803
33815
  type: "file";
@@ -33826,18 +33838,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33826
33838
  artifactId: string;
33827
33839
  };
33828
33840
  };
33829
- } | {
33830
- output: {
33831
- error: string;
33832
- };
33833
- outputFormat: "json";
33834
- status: 404;
33835
- input: {
33836
- param: {
33837
- id: string;
33838
- artifactId: string;
33839
- };
33840
- };
33841
33841
  };
33842
33842
  };
33843
33843
  } & {
@@ -34013,22 +34013,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34013
34013
  id: string;
34014
34014
  };
34015
34015
  };
34016
- } | {
34017
- output: {
34018
- error: string;
34019
- };
34020
- outputFormat: "json";
34021
- status: 404 | 409;
34022
- input: {
34023
- query: {
34024
- path?: string | undefined;
34025
- raw?: string | undefined;
34026
- };
34027
- } & {
34028
- param: {
34029
- id: string;
34030
- };
34031
- };
34032
34016
  } | {
34033
34017
  output: {
34034
34018
  type: 'file';
@@ -34073,16 +34057,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34073
34057
  id: string;
34074
34058
  };
34075
34059
  };
34060
+ } | {
34061
+ output: {
34062
+ error: string;
34063
+ };
34064
+ outputFormat: "json";
34065
+ status: 404 | 409;
34066
+ input: {
34067
+ query: {
34068
+ path?: string | undefined;
34069
+ raw?: string | undefined;
34070
+ };
34071
+ } & {
34072
+ param: {
34073
+ id: string;
34074
+ };
34075
+ };
34076
34076
  };
34077
34077
  };
34078
34078
  } & {
34079
34079
  "/runs/:id/git/commit": {
34080
34080
  $post: {
34081
34081
  output: {
34082
- error: string;
34082
+ committed: true;
34083
+ sha: string;
34083
34084
  };
34084
34085
  outputFormat: "json";
34085
- status: 404 | 409;
34086
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34086
34087
  input: {
34087
34088
  json: {
34088
34089
  message: string;
@@ -34094,11 +34095,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34094
34095
  };
34095
34096
  } | {
34096
34097
  output: {
34097
- committed: true;
34098
- sha: string;
34098
+ error: string;
34099
34099
  };
34100
34100
  outputFormat: "json";
34101
- status: import("hono/utils/http-status").ContentfulStatusCode;
34101
+ status: 404 | 409;
34102
34102
  input: {
34103
34103
  json: {
34104
34104
  message: string;
@@ -34114,10 +34114,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34114
34114
  "/runs/:id/git/push": {
34115
34115
  $post: {
34116
34116
  output: {
34117
- error: string;
34117
+ pushed: true;
34118
+ branch: string;
34119
+ remote: string;
34120
+ upstreamSet: boolean;
34118
34121
  };
34119
34122
  outputFormat: "json";
34120
- status: 404 | 409;
34123
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34121
34124
  input: {
34122
34125
  param: {
34123
34126
  id: string;
@@ -34125,13 +34128,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34125
34128
  };
34126
34129
  } | {
34127
34130
  output: {
34128
- pushed: true;
34129
- branch: string;
34130
- remote: string;
34131
- upstreamSet: boolean;
34131
+ error: string;
34132
34132
  };
34133
34133
  outputFormat: "json";
34134
- status: import("hono/utils/http-status").ContentfulStatusCode;
34134
+ status: 404 | 409;
34135
34135
  input: {
34136
34136
  param: {
34137
34137
  id: string;
@@ -34143,10 +34143,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34143
34143
  "/runs/:id/pr": {
34144
34144
  $post: {
34145
34145
  output: {
34146
- error: string;
34146
+ url: string;
34147
+ dryRun: boolean;
34147
34148
  };
34148
34149
  outputFormat: "json";
34149
- status: 404 | 409;
34150
+ status: 201;
34150
34151
  input: {
34151
34152
  param: {
34152
34153
  id: string;
@@ -34154,11 +34155,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34154
34155
  };
34155
34156
  } | {
34156
34157
  output: {
34157
- url: string;
34158
- dryRun: boolean;
34158
+ error: string;
34159
34159
  };
34160
34160
  outputFormat: "json";
34161
- status: 201;
34161
+ status: 404 | 409;
34162
34162
  input: {
34163
34163
  param: {
34164
34164
  id: string;
@@ -34170,10 +34170,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34170
34170
  "/runs/:id/remove-worktree": {
34171
34171
  $post: {
34172
34172
  output: {
34173
- error: string;
34173
+ removed: true;
34174
34174
  };
34175
34175
  outputFormat: "json";
34176
- status: 404 | 409;
34176
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34177
34177
  input: {
34178
34178
  param: {
34179
34179
  id: string;
@@ -34181,10 +34181,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34181
34181
  };
34182
34182
  } | {
34183
34183
  output: {
34184
- removed: true;
34184
+ error: string;
34185
34185
  };
34186
34186
  outputFormat: "json";
34187
- status: import("hono/utils/http-status").ContentfulStatusCode;
34187
+ status: 404 | 409;
34188
34188
  input: {
34189
34189
  param: {
34190
34190
  id: string;
@@ -34196,10 +34196,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34196
34196
  "/runs/:id": {
34197
34197
  $delete: {
34198
34198
  output: {
34199
- error: string;
34199
+ deleted: true;
34200
34200
  };
34201
34201
  outputFormat: "json";
34202
- status: 404 | 409;
34202
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34203
34203
  input: {
34204
34204
  param: {
34205
34205
  id: string;
@@ -34207,10 +34207,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34207
34207
  };
34208
34208
  } | {
34209
34209
  output: {
34210
- deleted: true;
34210
+ error: string;
34211
34211
  };
34212
34212
  outputFormat: "json";
34213
- status: import("hono/utils/http-status").ContentfulStatusCode;
34213
+ status: 404 | 409;
34214
34214
  input: {
34215
34215
  param: {
34216
34216
  id: string;