@hearsay-tools/squawk 0.19.0-dev.9025 → 0.19.0-dev.9032

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.
@@ -170,18 +170,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
170
170
  profileId?: string | undefined;
171
171
  };
172
172
  };
173
- } | {
174
- output: {
175
- error: string;
176
- };
177
- outputFormat: "json";
178
- status: 400;
179
- input: {
180
- query: {
181
- runner: string | string[];
182
- profileId?: string | undefined;
183
- };
184
- };
185
173
  } | {
186
174
  output: {
187
175
  runner: string;
@@ -203,6 +191,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
203
191
  profileId?: string | undefined;
204
192
  };
205
193
  };
194
+ } | {
195
+ output: {
196
+ error: string;
197
+ };
198
+ outputFormat: "json";
199
+ status: 400;
200
+ input: {
201
+ query: {
202
+ runner: string | string[];
203
+ profileId?: string | undefined;
204
+ };
205
+ };
206
206
  };
207
207
  };
208
208
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -279,6 +279,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
279
279
  showHidden?: string | undefined;
280
280
  };
281
281
  };
282
+ } | {
283
+ output: {
284
+ error: string;
285
+ };
286
+ outputFormat: "json";
287
+ status: 400 | 403 | 404;
288
+ input: {
289
+ query: {
290
+ path?: string | undefined;
291
+ showHidden?: string | undefined;
292
+ };
293
+ };
282
294
  } | {
283
295
  output: {
284
296
  path: string;
@@ -298,22 +310,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
298
310
  showHidden?: string | undefined;
299
311
  };
300
312
  };
313
+ };
314
+ };
315
+ }, "/"> | import("hono/types").MergeSchemaPath<{
316
+ "/workspace/events": {
317
+ $get: {
318
+ output: {};
319
+ outputFormat: string;
320
+ status: import("hono/utils/http-status").StatusCode;
321
+ input: {
322
+ query: {
323
+ runs?: "summary" | undefined;
324
+ };
325
+ };
301
326
  } | {
302
327
  output: {
303
328
  error: string;
329
+ code?: "invalid_input" | undefined;
304
330
  };
305
331
  outputFormat: "json";
306
- status: 400 | 403 | 404;
332
+ status: 400;
307
333
  input: {
308
334
  query: {
309
- path?: string | undefined;
310
- showHidden?: string | undefined;
335
+ runs?: "summary" | undefined;
311
336
  };
312
337
  };
313
338
  };
314
339
  };
315
340
  }, "/"> | import("hono/types").MergeSchemaPath<{
316
- "/workspace/events": {
341
+ "/workspace/activity": {
317
342
  $get: {
318
343
  output: {
319
344
  error: string;
@@ -323,23 +348,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
323
348
  status: 400;
324
349
  input: {
325
350
  query: {
326
- runs?: "summary" | undefined;
351
+ project?: string | undefined;
327
352
  };
328
353
  };
329
354
  } | {
330
- output: {};
331
- outputFormat: string;
332
- status: import("hono/utils/http-status").StatusCode;
355
+ output: {
356
+ error: string;
357
+ };
358
+ outputFormat: "json";
359
+ status: 404 | 409 | 503;
333
360
  input: {
334
361
  query: {
335
- runs?: "summary" | undefined;
362
+ project?: string | undefined;
336
363
  };
337
364
  };
338
- };
339
- };
340
- }, "/"> | import("hono/types").MergeSchemaPath<{
341
- "/workspace/activity": {
342
- $get: {
365
+ } | {
343
366
  output: {
344
367
  generatedAt: string;
345
368
  projects: {
@@ -590,29 +613,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
590
613
  project?: string | undefined;
591
614
  };
592
615
  };
593
- } | {
594
- output: {
595
- error: string;
596
- code?: "invalid_input" | undefined;
597
- };
598
- outputFormat: "json";
599
- status: 400;
600
- input: {
601
- query: {
602
- project?: string | undefined;
603
- };
604
- };
605
- } | {
606
- output: {
607
- error: string;
608
- };
609
- outputFormat: "json";
610
- status: 404 | 409 | 503;
611
- input: {
612
- query: {
613
- project?: string | undefined;
614
- };
615
- };
616
616
  };
617
617
  };
618
618
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -985,10 +985,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
985
985
  };
986
986
  } | {
987
987
  output: {
988
- error: string;
988
+ providers: {
989
+ requiresAccountHome?: boolean | undefined;
990
+ provider: string;
991
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
992
+ enabled?: boolean | undefined;
993
+ hint?: string | undefined;
994
+ authFailureId?: string | undefined;
995
+ profileId?: string | undefined;
996
+ }[];
989
997
  };
990
998
  outputFormat: "json";
991
- status: 500;
999
+ status: import("hono/utils/http-status").ContentfulStatusCode;
992
1000
  input: {
993
1001
  param: {
994
1002
  provider: string;
@@ -1000,18 +1008,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1000
1008
  };
1001
1009
  } | {
1002
1010
  output: {
1003
- providers: {
1004
- requiresAccountHome?: boolean | undefined;
1005
- provider: string;
1006
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1007
- enabled?: boolean | undefined;
1008
- hint?: string | undefined;
1009
- authFailureId?: string | undefined;
1010
- profileId?: string | undefined;
1011
- }[];
1011
+ error: string;
1012
1012
  };
1013
1013
  outputFormat: "json";
1014
- status: import("hono/utils/http-status").ContentfulStatusCode;
1014
+ status: 500;
1015
1015
  input: {
1016
1016
  param: {
1017
1017
  provider: string;
@@ -1043,10 +1043,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1043
1043
  };
1044
1044
  } | {
1045
1045
  output: {
1046
- error: string;
1046
+ providers: {
1047
+ requiresAccountHome?: boolean | undefined;
1048
+ provider: string;
1049
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1050
+ enabled?: boolean | undefined;
1051
+ hint?: string | undefined;
1052
+ authFailureId?: string | undefined;
1053
+ profileId?: string | undefined;
1054
+ }[];
1047
1055
  };
1048
1056
  outputFormat: "json";
1049
- status: 409;
1057
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1050
1058
  input: {
1051
1059
  param: {
1052
1060
  provider: string;
@@ -1058,18 +1066,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1058
1066
  };
1059
1067
  } | {
1060
1068
  output: {
1061
- providers: {
1062
- requiresAccountHome?: boolean | undefined;
1063
- provider: string;
1064
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1065
- enabled?: boolean | undefined;
1066
- hint?: string | undefined;
1067
- authFailureId?: string | undefined;
1068
- profileId?: string | undefined;
1069
- }[];
1069
+ error: string;
1070
1070
  };
1071
1071
  outputFormat: "json";
1072
- status: import("hono/utils/http-status").ContentfulStatusCode;
1072
+ status: 409;
1073
1073
  input: {
1074
1074
  param: {
1075
1075
  provider: string;
@@ -1088,7 +1088,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1088
1088
  error: string;
1089
1089
  };
1090
1090
  outputFormat: "json";
1091
- status: 400;
1091
+ status: 409;
1092
1092
  input: {
1093
1093
  json: {
1094
1094
  provider: string;
@@ -1100,7 +1100,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1100
1100
  error: string;
1101
1101
  };
1102
1102
  outputFormat: "json";
1103
- status: 409;
1103
+ status: 400;
1104
1104
  input: {
1105
1105
  json: {
1106
1106
  provider: string;
@@ -1188,10 +1188,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1188
1188
  "/workspace/config": {
1189
1189
  $put: {
1190
1190
  output: {
1191
- error: string;
1191
+ homeDir: string;
1192
+ browseRoot: string;
1193
+ projectsDir: string;
1194
+ archiveOnMerge: boolean | null;
1195
+ effectiveArchiveOnMerge: boolean;
1196
+ archiveOnMergeSource: "default" | "environment" | "global";
1197
+ composerDefaults: {
1198
+ autonomous: boolean | null;
1199
+ worktree: boolean | null;
1200
+ inheritedAutonomous: "source-dependent" | boolean;
1201
+ inheritedWorktree: boolean;
1202
+ };
1203
+ resources: {
1204
+ maxParallel: number;
1205
+ maxMonitoringSessions: number;
1206
+ monitoringWakeIntervalMinutes: number | null;
1207
+ autoResumeOnUsageLimit: boolean;
1208
+ memoryLimitMb: number | null;
1209
+ worktreeRetentionDefault: number;
1210
+ };
1211
+ agentDefaults: {
1212
+ runner?: string | undefined;
1213
+ models?: {
1214
+ [x: string]: string | undefined;
1215
+ } | undefined;
1216
+ };
1192
1217
  };
1193
1218
  outputFormat: "json";
1194
- status: 400;
1219
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1195
1220
  input: {
1196
1221
  json: {
1197
1222
  browseRoot?: string | undefined;
@@ -1220,7 +1245,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1220
1245
  error: string;
1221
1246
  };
1222
1247
  outputFormat: "json";
1223
- status: 500;
1248
+ status: 400;
1224
1249
  input: {
1225
1250
  json: {
1226
1251
  browseRoot?: string | undefined;
@@ -1246,35 +1271,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1246
1271
  };
1247
1272
  } | {
1248
1273
  output: {
1249
- homeDir: string;
1250
- browseRoot: string;
1251
- projectsDir: string;
1252
- archiveOnMerge: boolean | null;
1253
- effectiveArchiveOnMerge: boolean;
1254
- archiveOnMergeSource: "default" | "environment" | "global";
1255
- composerDefaults: {
1256
- autonomous: boolean | null;
1257
- worktree: boolean | null;
1258
- inheritedAutonomous: "source-dependent" | boolean;
1259
- inheritedWorktree: boolean;
1260
- };
1261
- resources: {
1262
- maxParallel: number;
1263
- maxMonitoringSessions: number;
1264
- monitoringWakeIntervalMinutes: number | null;
1265
- autoResumeOnUsageLimit: boolean;
1266
- memoryLimitMb: number | null;
1267
- worktreeRetentionDefault: number;
1268
- };
1269
- agentDefaults: {
1270
- runner?: string | undefined;
1271
- models?: {
1272
- [x: string]: string | undefined;
1273
- } | undefined;
1274
- };
1274
+ error: string;
1275
1275
  };
1276
1276
  outputFormat: "json";
1277
- status: import("hono/utils/http-status").ContentfulStatusCode;
1277
+ status: 500;
1278
1278
  input: {
1279
1279
  json: {
1280
1280
  browseRoot?: string | undefined;
@@ -1345,6 +1345,73 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1345
1345
  } & {
1346
1346
  "/workspace/ui-state": {
1347
1347
  $put: {
1348
+ output: {
1349
+ [x: string]: import("hono/utils/types").JSONValue;
1350
+ sidebar?: {
1351
+ [x: string]: import("hono/utils/types").JSONValue;
1352
+ collapsed?: {
1353
+ [x: string]: boolean;
1354
+ } | undefined;
1355
+ projectOrder?: string[] | undefined;
1356
+ } | undefined;
1357
+ dismissedProviderAuthFailures?: {
1358
+ [x: string]: string | undefined;
1359
+ } | undefined;
1360
+ appearance?: {
1361
+ accent?: "cezarion" | "lime" | "violet" | undefined;
1362
+ density?: "comfortable" | "compact" | "ultra" | undefined;
1363
+ width?: "narrow" | "wide" | undefined;
1364
+ } | undefined;
1365
+ notifications?: {
1366
+ [x: string]: import("hono/utils/types").JSONValue;
1367
+ enabled?: boolean | undefined;
1368
+ } | undefined;
1369
+ taskTable?: {
1370
+ [x: string]: import("hono/utils/types").JSONValue;
1371
+ expandedColumns?: {
1372
+ [x: string]: boolean;
1373
+ } | undefined;
1374
+ } | undefined;
1375
+ lastLocation?: {
1376
+ projectId: string;
1377
+ pathname: string;
1378
+ search?: string | undefined;
1379
+ hash?: string | undefined;
1380
+ } | undefined;
1381
+ };
1382
+ outputFormat: "json";
1383
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1384
+ input: {
1385
+ json: {
1386
+ [x: string]: unknown;
1387
+ appearance?: {
1388
+ accent?: "cezarion" | "lime" | "violet" | undefined;
1389
+ density?: "comfortable" | "compact" | "ultra" | undefined;
1390
+ width?: "narrow" | "wide" | undefined;
1391
+ } | undefined;
1392
+ notifications?: {
1393
+ [x: string]: unknown;
1394
+ enabled?: boolean | undefined;
1395
+ } | undefined;
1396
+ lastLocation?: {
1397
+ projectId: string;
1398
+ pathname: string;
1399
+ search?: string | undefined;
1400
+ hash?: string | undefined;
1401
+ } | undefined;
1402
+ sidebar?: {
1403
+ [x: string]: unknown;
1404
+ collapsed?: Record<string, boolean> | undefined;
1405
+ projectOrder?: string[] | undefined;
1406
+ } | undefined;
1407
+ dismissedProviderAuthFailures?: Record<string, string | undefined> | undefined;
1408
+ taskTable?: {
1409
+ [x: string]: unknown;
1410
+ expandedColumns?: Record<string, boolean> | undefined;
1411
+ } | undefined;
1412
+ };
1413
+ };
1414
+ } | {
1348
1415
  output: {
1349
1416
  error: string;
1350
1417
  };
@@ -1380,73 +1447,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1380
1447
  } | undefined;
1381
1448
  };
1382
1449
  };
1383
- } | {
1384
- output: {
1385
- [x: string]: import("hono/utils/types").JSONValue;
1386
- sidebar?: {
1387
- [x: string]: import("hono/utils/types").JSONValue;
1388
- collapsed?: {
1389
- [x: string]: boolean;
1390
- } | undefined;
1391
- projectOrder?: string[] | undefined;
1392
- } | undefined;
1393
- dismissedProviderAuthFailures?: {
1394
- [x: string]: string | undefined;
1395
- } | undefined;
1396
- appearance?: {
1397
- accent?: "cezarion" | "lime" | "violet" | undefined;
1398
- density?: "comfortable" | "compact" | "ultra" | undefined;
1399
- width?: "narrow" | "wide" | undefined;
1400
- } | undefined;
1401
- notifications?: {
1402
- [x: string]: import("hono/utils/types").JSONValue;
1403
- enabled?: boolean | undefined;
1404
- } | undefined;
1405
- taskTable?: {
1406
- [x: string]: import("hono/utils/types").JSONValue;
1407
- expandedColumns?: {
1408
- [x: string]: boolean;
1409
- } | undefined;
1410
- } | undefined;
1411
- lastLocation?: {
1412
- projectId: string;
1413
- pathname: string;
1414
- search?: string | undefined;
1415
- hash?: string | undefined;
1416
- } | undefined;
1417
- };
1418
- outputFormat: "json";
1419
- status: import("hono/utils/http-status").ContentfulStatusCode;
1420
- input: {
1421
- json: {
1422
- [x: string]: unknown;
1423
- appearance?: {
1424
- accent?: "cezarion" | "lime" | "violet" | undefined;
1425
- density?: "comfortable" | "compact" | "ultra" | undefined;
1426
- width?: "narrow" | "wide" | undefined;
1427
- } | undefined;
1428
- notifications?: {
1429
- [x: string]: unknown;
1430
- enabled?: boolean | undefined;
1431
- } | undefined;
1432
- lastLocation?: {
1433
- projectId: string;
1434
- pathname: string;
1435
- search?: string | undefined;
1436
- hash?: string | undefined;
1437
- } | undefined;
1438
- sidebar?: {
1439
- [x: string]: unknown;
1440
- collapsed?: Record<string, boolean> | undefined;
1441
- projectOrder?: string[] | undefined;
1442
- } | undefined;
1443
- dismissedProviderAuthFailures?: Record<string, string | undefined> | undefined;
1444
- taskTable?: {
1445
- [x: string]: unknown;
1446
- expandedColumns?: Record<string, boolean> | undefined;
1447
- } | undefined;
1448
- };
1449
- };
1450
1450
  };
1451
1451
  };
1452
1452
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -1456,7 +1456,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1456
1456
  error: string;
1457
1457
  };
1458
1458
  outputFormat: "json";
1459
- status: 400;
1459
+ status: 409;
1460
1460
  input: {
1461
1461
  json: {
1462
1462
  provider: string;
@@ -1468,7 +1468,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1468
1468
  error: string;
1469
1469
  };
1470
1470
  outputFormat: "json";
1471
- status: 409;
1471
+ status: 400;
1472
1472
  input: {
1473
1473
  json: {
1474
1474
  provider: string;
@@ -1711,28 +1711,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1711
1711
  "/workspace/agent-profiles": {
1712
1712
  $post: {
1713
1713
  output: {
1714
- profile: {
1715
- id: string;
1716
- provider: string;
1717
- label: string;
1718
- configDir?: string | undefined;
1719
- path?: string | undefined;
1720
- exists: boolean;
1721
- looksValid: boolean;
1722
- isDefault: boolean;
1723
- status?: {
1724
- requiresAccountHome?: boolean | undefined;
1725
- provider: string;
1726
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1727
- enabled?: boolean | undefined;
1728
- hint?: string | undefined;
1729
- authFailureId?: string | undefined;
1730
- profileId?: string | undefined;
1731
- } | undefined;
1732
- };
1714
+ error: string;
1733
1715
  };
1734
1716
  outputFormat: "json";
1735
- status: 201;
1717
+ status: 409;
1736
1718
  input: {
1737
1719
  json: {
1738
1720
  provider: string;
@@ -1758,7 +1740,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1758
1740
  error: string;
1759
1741
  };
1760
1742
  outputFormat: "json";
1761
- status: 409;
1743
+ status: 500;
1762
1744
  input: {
1763
1745
  json: {
1764
1746
  provider: string;
@@ -1768,10 +1750,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1768
1750
  };
1769
1751
  } | {
1770
1752
  output: {
1771
- error: string;
1753
+ profile: {
1754
+ id: string;
1755
+ provider: string;
1756
+ label: string;
1757
+ configDir?: string | undefined;
1758
+ path?: string | undefined;
1759
+ exists: boolean;
1760
+ looksValid: boolean;
1761
+ isDefault: boolean;
1762
+ status?: {
1763
+ requiresAccountHome?: boolean | undefined;
1764
+ provider: string;
1765
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1766
+ enabled?: boolean | undefined;
1767
+ hint?: string | undefined;
1768
+ authFailureId?: string | undefined;
1769
+ profileId?: string | undefined;
1770
+ } | undefined;
1771
+ };
1772
1772
  };
1773
1773
  outputFormat: "json";
1774
- status: 500;
1774
+ status: 201;
1775
1775
  input: {
1776
1776
  json: {
1777
1777
  provider: string;
@@ -1805,7 +1805,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1805
1805
  error: string;
1806
1806
  };
1807
1807
  outputFormat: "json";
1808
- status: 400;
1808
+ status: 409;
1809
1809
  input: {
1810
1810
  param: {
1811
1811
  id: string;
@@ -1821,7 +1821,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1821
1821
  error: string;
1822
1822
  };
1823
1823
  outputFormat: "json";
1824
- status: 404;
1824
+ status: 400;
1825
1825
  input: {
1826
1826
  param: {
1827
1827
  id: string;
@@ -1837,7 +1837,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1837
1837
  error: string;
1838
1838
  };
1839
1839
  outputFormat: "json";
1840
- status: 409;
1840
+ status: 404;
1841
1841
  input: {
1842
1842
  param: {
1843
1843
  id: string;
@@ -1965,7 +1965,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1965
1965
  error: string;
1966
1966
  };
1967
1967
  outputFormat: "json";
1968
- status: 400;
1968
+ status: 404;
1969
1969
  input: {
1970
1970
  json: {
1971
1971
  projectId: string;
@@ -1978,7 +1978,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1978
1978
  error: string;
1979
1979
  };
1980
1980
  outputFormat: "json";
1981
- status: 404;
1981
+ status: 400;
1982
1982
  input: {
1983
1983
  json: {
1984
1984
  projectId: string;
@@ -2042,7 +2042,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2042
2042
  error: string;
2043
2043
  };
2044
2044
  outputFormat: "json";
2045
- status: 404;
2045
+ status: 409;
2046
2046
  input: {
2047
2047
  param: {
2048
2048
  id: string;
@@ -2053,7 +2053,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2053
2053
  error: string;
2054
2054
  };
2055
2055
  outputFormat: "json";
2056
- status: 409;
2056
+ status: 500;
2057
2057
  input: {
2058
2058
  param: {
2059
2059
  id: string;
@@ -2064,7 +2064,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2064
2064
  error: string;
2065
2065
  };
2066
2066
  outputFormat: "json";
2067
- status: 500;
2067
+ status: 404;
2068
2068
  input: {
2069
2069
  param: {
2070
2070
  id: string;
@@ -2128,6 +2128,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2128
2128
  } & {
2129
2129
  "/projects": {
2130
2130
  $post: {
2131
+ output: {
2132
+ error: string;
2133
+ };
2134
+ outputFormat: "json";
2135
+ status: 400 | 500;
2136
+ input: {
2137
+ json: {
2138
+ root: string;
2139
+ };
2140
+ };
2141
+ } | {
2131
2142
  output: {
2132
2143
  project: {
2133
2144
  id: string;
@@ -2158,10 +2169,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2158
2169
  agent: boolean;
2159
2170
  }[] | undefined;
2160
2171
  };
2161
- error?: string | undefined;
2172
+ error: string;
2162
2173
  };
2163
2174
  outputFormat: "json";
2164
- status: 200;
2175
+ status: 409;
2165
2176
  input: {
2166
2177
  json: {
2167
2178
  root: string;
@@ -2198,21 +2209,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2198
2209
  agent: boolean;
2199
2210
  }[] | undefined;
2200
2211
  };
2201
- error: string;
2202
- };
2203
- outputFormat: "json";
2204
- status: 409;
2205
- input: {
2206
- json: {
2207
- root: string;
2208
- };
2209
- };
2210
- } | {
2211
- output: {
2212
- error: string;
2212
+ error?: string | undefined;
2213
2213
  };
2214
2214
  outputFormat: "json";
2215
- status: 400 | 500;
2215
+ status: 200;
2216
2216
  input: {
2217
2217
  json: {
2218
2218
  root: string;
@@ -2371,7 +2371,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2371
2371
  error: string;
2372
2372
  };
2373
2373
  outputFormat: "json";
2374
- status: 400;
2374
+ status: 404;
2375
2375
  input: {
2376
2376
  param: {
2377
2377
  projectId: string;
@@ -2382,7 +2382,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2382
2382
  error: string;
2383
2383
  };
2384
2384
  outputFormat: "json";
2385
- status: 404;
2385
+ status: 400;
2386
2386
  input: {
2387
2387
  param: {
2388
2388
  projectId: string;
@@ -2407,6 +2407,27 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2407
2407
  } & {
2408
2408
  "/projects/:projectId/webhooks": {
2409
2409
  $post: {
2410
+ output: {
2411
+ error: string;
2412
+ };
2413
+ outputFormat: "json";
2414
+ status: 400 | 404 | 409 | 500;
2415
+ input: {
2416
+ json: {
2417
+ name: string;
2418
+ description?: string | undefined;
2419
+ url: string;
2420
+ token?: string | undefined;
2421
+ tasks?: boolean | undefined;
2422
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2423
+ agent?: boolean | undefined;
2424
+ };
2425
+ } & {
2426
+ param: {
2427
+ projectId: string;
2428
+ };
2429
+ };
2430
+ } | {
2410
2431
  output: {
2411
2432
  project: {
2412
2433
  id: string;
@@ -2465,27 +2486,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2465
2486
  projectId: string;
2466
2487
  };
2467
2488
  };
2468
- } | {
2469
- output: {
2470
- error: string;
2471
- };
2472
- outputFormat: "json";
2473
- status: 400 | 404 | 409 | 500;
2474
- input: {
2475
- json: {
2476
- name: string;
2477
- description?: string | undefined;
2478
- url: string;
2479
- token?: string | undefined;
2480
- tasks?: boolean | undefined;
2481
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2482
- agent?: boolean | undefined;
2483
- };
2484
- } & {
2485
- param: {
2486
- projectId: string;
2487
- };
2488
- };
2489
2489
  };
2490
2490
  };
2491
2491
  } & {
@@ -2683,10 +2683,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2683
2683
  };
2684
2684
  } | {
2685
2685
  output: {
2686
- error: string;
2686
+ ok: boolean;
2687
+ status?: number | undefined;
2688
+ error?: string | undefined;
2689
+ dryRun?: boolean | undefined;
2687
2690
  };
2688
2691
  outputFormat: "json";
2689
- status: 404;
2692
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2690
2693
  input: {
2691
2694
  param: {
2692
2695
  projectId: string;
@@ -2695,13 +2698,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2695
2698
  };
2696
2699
  } | {
2697
2700
  output: {
2698
- ok: boolean;
2699
- status?: number | undefined;
2700
- error?: string | undefined;
2701
- dryRun?: boolean | undefined;
2701
+ error: string;
2702
2702
  };
2703
2703
  outputFormat: "json";
2704
- status: import("hono/utils/http-status").ContentfulStatusCode;
2704
+ status: 404;
2705
2705
  input: {
2706
2706
  param: {
2707
2707
  projectId: string;
@@ -2942,15 +2942,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2942
2942
  "/runner-install/:runner": {
2943
2943
  $post: {
2944
2944
  output: {
2945
- supported: boolean;
2946
- installedVersion: string | null;
2947
- latestVersion: string | null;
2948
- updateAvailable: boolean;
2949
- phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
2950
- error: string | null;
2945
+ error: string;
2946
+ code?: "invalid_input" | undefined;
2951
2947
  };
2952
2948
  outputFormat: "json";
2953
- status: 202;
2949
+ status: 400;
2954
2950
  input: {
2955
2951
  param: {
2956
2952
  runner: string;
@@ -2962,11 +2958,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2962
2958
  };
2963
2959
  } | {
2964
2960
  output: {
2965
- error: string;
2966
- code?: "invalid_input" | undefined;
2961
+ supported: boolean;
2962
+ installedVersion: string | null;
2963
+ latestVersion: string | null;
2964
+ updateAvailable: boolean;
2965
+ phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
2966
+ error: string | null;
2967
2967
  };
2968
2968
  outputFormat: "json";
2969
- status: 400;
2969
+ status: 202;
2970
2970
  input: {
2971
2971
  param: {
2972
2972
  runner: string;
@@ -3323,6 +3323,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3323
3323
  }, "/"> | import("hono/types").MergeSchemaPath<{
3324
3324
  "/plan": {
3325
3325
  $post: {
3326
+ output: {
3327
+ error: string;
3328
+ };
3329
+ outputFormat: "json";
3330
+ status: 400 | 404 | 409;
3331
+ input: {
3332
+ json: {
3333
+ task: string;
3334
+ agentProfile?: string | undefined;
3335
+ };
3336
+ };
3337
+ } | {
3326
3338
  output: {
3327
3339
  name?: string;
3328
3340
  steps: {
@@ -3359,18 +3371,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3359
3371
  agentProfile?: string | undefined;
3360
3372
  };
3361
3373
  };
3362
- } | {
3363
- output: {
3364
- error: string;
3365
- };
3366
- outputFormat: "json";
3367
- status: 400 | 404 | 409;
3368
- input: {
3369
- json: {
3370
- task: string;
3371
- agentProfile?: string | undefined;
3372
- };
3373
- };
3374
3374
  };
3375
3375
  };
3376
3376
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -3414,7 +3414,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3414
3414
  error: string;
3415
3415
  };
3416
3416
  outputFormat: "json";
3417
- status: 400;
3417
+ status: 409;
3418
3418
  input: {
3419
3419
  query: {
3420
3420
  q?: string | undefined;
@@ -3427,7 +3427,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3427
3427
  error: string;
3428
3428
  };
3429
3429
  outputFormat: "json";
3430
- status: 409;
3430
+ status: 400;
3431
3431
  input: {
3432
3432
  query: {
3433
3433
  q?: string | undefined;
@@ -3508,10 +3508,42 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3508
3508
  "/ui-state": {
3509
3509
  $put: {
3510
3510
  output: {
3511
- error: string;
3511
+ [x: string]: import("hono/utils/types").JSONValue;
3512
+ sidebarLimits?: {
3513
+ overall?: number | null | undefined;
3514
+ needsYou?: number | null | undefined;
3515
+ finished?: number | null | undefined;
3516
+ working?: number | null | undefined;
3517
+ } | undefined;
3518
+ lastTask?: {
3519
+ source: "skill" | "workflow";
3520
+ ref: string;
3521
+ } | null | undefined;
3522
+ recentSources?: {
3523
+ source: "skill" | "workflow";
3524
+ ref: string;
3525
+ }[] | undefined;
3526
+ lastWorktree?: boolean | undefined;
3527
+ lastAutonomous?: boolean | undefined;
3528
+ skillUsage?: {
3529
+ [x: string]: number;
3530
+ } | undefined;
3531
+ runsView?: "list" | "table" | undefined;
3532
+ githubView?: "issues" | "prs" | undefined;
3533
+ appearance?: {
3534
+ accent?: "cezarion" | "lime" | "violet" | undefined;
3535
+ density?: "comfortable" | "compact" | "ultra" | undefined;
3536
+ width?: "narrow" | "wide" | undefined;
3537
+ } | undefined;
3538
+ promptTemplates?: {
3539
+ id: string;
3540
+ label: string;
3541
+ text: string;
3542
+ skills?: string[] | undefined;
3543
+ }[] | undefined;
3512
3544
  };
3513
3545
  outputFormat: "json";
3514
- status: 500;
3546
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3515
3547
  input: {
3516
3548
  json: {
3517
3549
  [x: string]: unknown;
@@ -3549,42 +3581,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3549
3581
  };
3550
3582
  } | {
3551
3583
  output: {
3552
- [x: string]: import("hono/utils/types").JSONValue;
3553
- sidebarLimits?: {
3554
- overall?: number | null | undefined;
3555
- needsYou?: number | null | undefined;
3556
- finished?: number | null | undefined;
3557
- working?: number | null | undefined;
3558
- } | undefined;
3559
- lastTask?: {
3560
- source: "skill" | "workflow";
3561
- ref: string;
3562
- } | null | undefined;
3563
- recentSources?: {
3564
- source: "skill" | "workflow";
3565
- ref: string;
3566
- }[] | undefined;
3567
- lastWorktree?: boolean | undefined;
3568
- lastAutonomous?: boolean | undefined;
3569
- skillUsage?: {
3570
- [x: string]: number;
3571
- } | undefined;
3572
- runsView?: "list" | "table" | undefined;
3573
- githubView?: "issues" | "prs" | undefined;
3574
- appearance?: {
3575
- accent?: "cezarion" | "lime" | "violet" | undefined;
3576
- density?: "comfortable" | "compact" | "ultra" | undefined;
3577
- width?: "narrow" | "wide" | undefined;
3578
- } | undefined;
3579
- promptTemplates?: {
3580
- id: string;
3581
- label: string;
3582
- text: string;
3583
- skills?: string[] | undefined;
3584
- }[] | undefined;
3584
+ error: string;
3585
3585
  };
3586
3586
  outputFormat: "json";
3587
- status: import("hono/utils/http-status").ContentfulStatusCode;
3587
+ status: 500;
3588
3588
  input: {
3589
3589
  json: {
3590
3590
  [x: string]: unknown;
@@ -3661,10 +3661,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3661
3661
  "/config": {
3662
3662
  $put: {
3663
3663
  output: {
3664
- error: string;
3664
+ archiveOnMerge: boolean | null;
3665
+ effectiveArchiveOnMerge: boolean;
3666
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
3667
+ baseBranch: string | null;
3668
+ defaultRunner: string;
3669
+ systemPrompt: string | null;
3670
+ defaultModels: {
3671
+ [x: string]: string | undefined;
3672
+ };
3673
+ modelsLocked: boolean;
3674
+ maxParallel: number;
3675
+ memoryLimitMb: number | null;
3676
+ worktreeRetention: number;
3677
+ liveTitleUpdates: boolean | null;
3678
+ reviewGate: boolean | null;
3679
+ worktreeSetup: {
3680
+ commands: string[];
3681
+ timeoutSeconds: number;
3682
+ } | null;
3683
+ worktreeSetupIssue: string | null;
3684
+ worktreeTeardown: {
3685
+ commands: string[];
3686
+ timeoutSeconds: number;
3687
+ } | null;
3688
+ worktreeTeardownIssue: string | null;
3665
3689
  };
3666
3690
  outputFormat: "json";
3667
- status: 409;
3691
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3668
3692
  input: {
3669
3693
  json: {
3670
3694
  archiveOnMerge?: boolean | null | undefined;
@@ -3692,7 +3716,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3692
3716
  error: string;
3693
3717
  };
3694
3718
  outputFormat: "json";
3695
- status: 500;
3719
+ status: 409;
3696
3720
  input: {
3697
3721
  json: {
3698
3722
  archiveOnMerge?: boolean | null | undefined;
@@ -3717,34 +3741,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3717
3741
  };
3718
3742
  } | {
3719
3743
  output: {
3720
- archiveOnMerge: boolean | null;
3721
- effectiveArchiveOnMerge: boolean;
3722
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
3723
- baseBranch: string | null;
3724
- defaultRunner: string;
3725
- systemPrompt: string | null;
3726
- defaultModels: {
3727
- [x: string]: string | undefined;
3728
- };
3729
- modelsLocked: boolean;
3730
- maxParallel: number;
3731
- memoryLimitMb: number | null;
3732
- worktreeRetention: number;
3733
- liveTitleUpdates: boolean | null;
3734
- reviewGate: boolean | null;
3735
- worktreeSetup: {
3736
- commands: string[];
3737
- timeoutSeconds: number;
3738
- } | null;
3739
- worktreeSetupIssue: string | null;
3740
- worktreeTeardown: {
3741
- commands: string[];
3742
- timeoutSeconds: number;
3743
- } | null;
3744
- worktreeTeardownIssue: string | null;
3744
+ error: string;
3745
3745
  };
3746
3746
  outputFormat: "json";
3747
- status: import("hono/utils/http-status").ContentfulStatusCode;
3747
+ status: 500;
3748
3748
  input: {
3749
3749
  json: {
3750
3750
  archiveOnMerge?: boolean | null | undefined;
@@ -3855,12 +3855,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3855
3855
  }, "/"> | import("hono/types").MergeSchemaPath<{
3856
3856
  "/runs/:id/events": {
3857
3857
  $get: {
3858
- output: {
3859
- error: string;
3860
- code?: "invalid_input" | undefined;
3861
- };
3862
- outputFormat: "json";
3863
- status: 400;
3858
+ output: {};
3859
+ outputFormat: string;
3860
+ status: import("hono/utils/http-status").StatusCode;
3864
3861
  input: {
3865
3862
  param: {
3866
3863
  id: string;
@@ -3872,9 +3869,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3872
3869
  };
3873
3870
  };
3874
3871
  } | {
3875
- output: {};
3876
- outputFormat: string;
3877
- status: import("hono/utils/http-status").StatusCode;
3872
+ output: {
3873
+ error: string;
3874
+ code?: "invalid_input" | undefined;
3875
+ };
3876
+ outputFormat: "json";
3877
+ status: 400;
3878
3878
  input: {
3879
3879
  param: {
3880
3880
  id: string;
@@ -3918,7 +3918,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3918
3918
  error: string;
3919
3919
  };
3920
3920
  outputFormat: "json";
3921
- status: 400;
3921
+ status: 409;
3922
3922
  input: {
3923
3923
  json: {
3924
3924
  target: string;
@@ -3929,7 +3929,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3929
3929
  error: string;
3930
3930
  };
3931
3931
  outputFormat: "json";
3932
- status: 409;
3932
+ status: 400;
3933
3933
  input: {
3934
3934
  json: {
3935
3935
  target: string;
@@ -4037,10 +4037,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4037
4037
  "/agent-config/:id": {
4038
4038
  $put: {
4039
4039
  output: {
4040
- error: string;
4040
+ id: string;
4041
+ path: string;
4042
+ exists: boolean;
4043
+ content: string;
4044
+ version: string | null;
4041
4045
  };
4042
4046
  outputFormat: "json";
4043
- status: 404;
4047
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4044
4048
  input: {
4045
4049
  json: {
4046
4050
  content: string;
@@ -4053,14 +4057,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4053
4057
  };
4054
4058
  } | {
4055
4059
  output: {
4056
- id: string;
4057
- path: string;
4058
- exists: boolean;
4059
- content: string;
4060
- version: string | null;
4060
+ error: string;
4061
4061
  };
4062
4062
  outputFormat: "json";
4063
- status: import("hono/utils/http-status").ContentfulStatusCode;
4063
+ status: 404;
4064
4064
  input: {
4065
4065
  json: {
4066
4066
  content: string;
@@ -4160,11 +4160,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4160
4160
  };
4161
4161
  } | {
4162
4162
  output: {
4163
- runId: string;
4164
- worktreeReclaimedAt: string;
4163
+ error: string;
4165
4164
  };
4166
4165
  outputFormat: "json";
4167
- status: import("hono/utils/http-status").ContentfulStatusCode;
4166
+ status: 404 | 409;
4168
4167
  input: {
4169
4168
  param: {
4170
4169
  runId: string;
@@ -4176,10 +4175,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4176
4175
  };
4177
4176
  } | {
4178
4177
  output: {
4179
- error: string;
4178
+ runId: string;
4179
+ worktreeReclaimedAt: string;
4180
4180
  };
4181
4181
  outputFormat: "json";
4182
- status: 404 | 409;
4182
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4183
4183
  input: {
4184
4184
  param: {
4185
4185
  runId: string;
@@ -4339,11 +4339,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4339
4339
  "/workflows": {
4340
4340
  $post: {
4341
4341
  output: {
4342
- path: string;
4343
- name: string;
4342
+ error: string;
4344
4343
  };
4345
4344
  outputFormat: "json";
4346
- status: 201;
4345
+ status: 400;
4347
4346
  input: {
4348
4347
  json: {
4349
4348
  name: string;
@@ -4376,9 +4375,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4376
4375
  } | {
4377
4376
  output: {
4378
4377
  error: string;
4378
+ exists: true;
4379
4379
  };
4380
4380
  outputFormat: "json";
4381
- status: 400;
4381
+ status: 409;
4382
4382
  input: {
4383
4383
  json: {
4384
4384
  name: string;
@@ -4411,10 +4411,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4411
4411
  } | {
4412
4412
  output: {
4413
4413
  error: string;
4414
- exists: true;
4415
4414
  };
4416
4415
  outputFormat: "json";
4417
- status: 409;
4416
+ status: 500;
4418
4417
  input: {
4419
4418
  json: {
4420
4419
  name: string;
@@ -4446,10 +4445,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4446
4445
  };
4447
4446
  } | {
4448
4447
  output: {
4449
- error: string;
4448
+ path: string;
4449
+ name: string;
4450
4450
  };
4451
4451
  outputFormat: "json";
4452
- status: 500;
4452
+ status: 201;
4453
4453
  input: {
4454
4454
  json: {
4455
4455
  name: string;
@@ -4485,11 +4485,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4485
4485
  "/workflows/:name": {
4486
4486
  $delete: {
4487
4487
  output: {
4488
- ok: true;
4489
- path: string;
4488
+ error: string;
4490
4489
  };
4491
4490
  outputFormat: "json";
4492
- status: import("hono/utils/http-status").ContentfulStatusCode;
4491
+ status: 400 | 404 | 409 | 500;
4493
4492
  input: {
4494
4493
  param: {
4495
4494
  name: string;
@@ -4497,10 +4496,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4497
4496
  };
4498
4497
  } | {
4499
4498
  output: {
4500
- error: string;
4499
+ ok: true;
4500
+ path: string;
4501
4501
  };
4502
4502
  outputFormat: "json";
4503
- status: 400 | 404 | 409 | 500;
4503
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4504
4504
  input: {
4505
4505
  param: {
4506
4506
  name: string;
@@ -5441,18 +5441,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5441
5441
  "/repo/branches/delete": {
5442
5442
  $post: {
5443
5443
  output: {
5444
- deleted: string[];
5444
+ error: string;
5445
5445
  refused: {
5446
5446
  name: string;
5447
5447
  reason: string;
5448
5448
  }[];
5449
- dropped?: {
5450
- sha: string;
5451
- subject: string;
5452
- }[] | undefined;
5453
5449
  };
5454
5450
  outputFormat: "json";
5455
- status: 200;
5451
+ status: 409;
5456
5452
  input: {
5457
5453
  json: {
5458
5454
  names: string[];
@@ -5461,14 +5457,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5461
5457
  };
5462
5458
  } | {
5463
5459
  output: {
5464
- error: string;
5460
+ deleted: string[];
5465
5461
  refused: {
5466
5462
  name: string;
5467
5463
  reason: string;
5468
5464
  }[];
5465
+ dropped?: {
5466
+ sha: string;
5467
+ subject: string;
5468
+ }[] | undefined;
5469
5469
  };
5470
5470
  outputFormat: "json";
5471
- status: 409;
5471
+ status: 200;
5472
5472
  input: {
5473
5473
  json: {
5474
5474
  names: string[];
@@ -5489,12 +5489,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5489
5489
  } & {
5490
5490
  "/repo/commit/:sha": {
5491
5491
  $get: {
5492
- output: {
5493
- error: string;
5494
- code?: "invalid_input" | undefined;
5495
- };
5496
- outputFormat: "json";
5497
- status: 400;
5492
+ output: string;
5493
+ outputFormat: "text";
5494
+ status: import("hono/utils/http-status").ContentfulStatusCode;
5498
5495
  input: {
5499
5496
  query: {
5500
5497
  structured?: string | undefined;
@@ -5507,9 +5504,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5507
5504
  } | {
5508
5505
  output: {
5509
5506
  error: string;
5507
+ code?: "invalid_input" | undefined;
5510
5508
  };
5511
5509
  outputFormat: "json";
5512
- status: 409;
5510
+ status: 400;
5513
5511
  input: {
5514
5512
  query: {
5515
5513
  structured?: string | undefined;
@@ -5553,9 +5551,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5553
5551
  };
5554
5552
  };
5555
5553
  } | {
5556
- output: string;
5557
- outputFormat: "text";
5558
- status: import("hono/utils/http-status").ContentfulStatusCode;
5554
+ output: {
5555
+ error: string;
5556
+ };
5557
+ outputFormat: "json";
5558
+ status: 409;
5559
5559
  input: {
5560
5560
  query: {
5561
5561
  structured?: string | undefined;
@@ -5587,10 +5587,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5587
5587
  };
5588
5588
  } | {
5589
5589
  output: {
5590
- error: string;
5590
+ type: 'file';
5591
+ path: string;
5592
+ size: number;
5593
+ binary: boolean;
5594
+ tooLarge: boolean;
5595
+ content?: string | undefined;
5591
5596
  };
5592
5597
  outputFormat: "json";
5593
- status: 409;
5598
+ status: import("hono/utils/http-status").ContentfulStatusCode;
5594
5599
  input: {
5595
5600
  param: {
5596
5601
  sha: string;
@@ -5602,15 +5607,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5602
5607
  };
5603
5608
  } | {
5604
5609
  output: {
5605
- type: 'file';
5606
- path: string;
5607
- size: number;
5608
- binary: boolean;
5609
- tooLarge: boolean;
5610
- content?: string | undefined;
5610
+ error: string;
5611
5611
  };
5612
5612
  outputFormat: "json";
5613
- status: import("hono/utils/http-status").ContentfulStatusCode;
5613
+ status: 409;
5614
5614
  input: {
5615
5615
  param: {
5616
5616
  sha: string;
@@ -5638,10 +5638,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5638
5638
  };
5639
5639
  } | {
5640
5640
  output: {
5641
- error: string;
5641
+ type: 'file';
5642
+ path: string;
5643
+ size: number;
5644
+ binary: boolean;
5645
+ tooLarge: boolean;
5646
+ content?: string | undefined;
5642
5647
  };
5643
5648
  outputFormat: "json";
5644
- status: 409;
5649
+ status: import("hono/utils/http-status").ContentfulStatusCode;
5645
5650
  input: {
5646
5651
  query: {
5647
5652
  path: string | string[];
@@ -5649,15 +5654,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5649
5654
  };
5650
5655
  } | {
5651
5656
  output: {
5652
- type: 'file';
5653
- path: string;
5654
- size: number;
5655
- binary: boolean;
5656
- tooLarge: boolean;
5657
- content?: string | undefined;
5657
+ error: string;
5658
5658
  };
5659
5659
  outputFormat: "json";
5660
- status: import("hono/utils/http-status").ContentfulStatusCode;
5660
+ status: 409;
5661
5661
  input: {
5662
5662
  query: {
5663
5663
  path: string | string[];
@@ -5668,13 +5668,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5668
5668
  } & {
5669
5669
  "/repo/changes": {
5670
5670
  $get: {
5671
- output: {
5672
- error: string;
5673
- };
5674
- outputFormat: "json";
5675
- status: 409;
5676
- input: {};
5677
- } | {
5678
5671
  output: {
5679
5672
  files: {
5680
5673
  path: string;
@@ -5699,6 +5692,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5699
5692
  outputFormat: "json";
5700
5693
  status: import("hono/utils/http-status").ContentfulStatusCode;
5701
5694
  input: {};
5695
+ } | {
5696
+ output: {
5697
+ error: string;
5698
+ };
5699
+ outputFormat: "json";
5700
+ status: 409;
5701
+ input: {};
5702
5702
  };
5703
5703
  };
5704
5704
  } & {
@@ -5723,12 +5723,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5723
5723
  "/repo/pull": {
5724
5724
  $post: {
5725
5725
  output: {
5726
- branch: string;
5727
- pulled: true;
5728
- summary: string;
5726
+ error: string;
5729
5727
  };
5730
5728
  outputFormat: "json";
5731
- status: 200;
5729
+ status: 409;
5732
5730
  input: {
5733
5731
  json: {
5734
5732
  branch?: string | undefined;
@@ -5737,10 +5735,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5737
5735
  };
5738
5736
  } | {
5739
5737
  output: {
5740
- error: string;
5738
+ branch: string;
5739
+ pulled: true;
5740
+ summary: string;
5741
5741
  };
5742
5742
  outputFormat: "json";
5743
- status: 409;
5743
+ status: 200;
5744
5744
  input: {
5745
5745
  json: {
5746
5746
  branch?: string | undefined;
@@ -6965,18 +6965,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6965
6965
  } & {
6966
6966
  "/run-summaries": {
6967
6967
  $get: {
6968
- output: {
6969
- error: string;
6970
- code?: "invalid_input" | undefined;
6971
- };
6972
- outputFormat: "json";
6973
- status: 400;
6974
- input: {
6975
- query: {
6976
- archived?: "all" | "recent" | undefined;
6977
- };
6978
- };
6979
- } | {
6980
6968
  output: {
6981
6969
  id: string;
6982
6970
  title: string;
@@ -7114,6 +7102,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7114
7102
  archived?: "all" | "recent" | undefined;
7115
7103
  };
7116
7104
  };
7105
+ } | {
7106
+ output: {
7107
+ error: string;
7108
+ code?: "invalid_input" | undefined;
7109
+ };
7110
+ outputFormat: "json";
7111
+ status: 400;
7112
+ input: {
7113
+ query: {
7114
+ archived?: "all" | "recent" | undefined;
7115
+ };
7116
+ };
7117
7117
  };
7118
7118
  };
7119
7119
  } & {
@@ -7475,24 +7475,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7475
7475
  "/runs/:id/worker-destroy": {
7476
7476
  $post: {
7477
7477
  output: {
7478
- workerId: string;
7479
- state: "complete" | "incomplete";
7480
- work?: {
7481
- uncommittedFiles: number;
7482
- commits: number;
7478
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
7479
+ readonly error: string;
7480
+ readonly modelChoices?: {
7481
+ runner: string;
7482
+ requestedModel: string;
7483
+ availableModels: {
7484
+ id: string;
7485
+ label: string;
7486
+ description: string;
7487
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
7488
+ }[];
7489
+ otherRunners: string[];
7483
7490
  } | undefined;
7484
- deleted?: ({
7485
- kind: "worktree";
7486
- path: string;
7487
- } | {
7488
- kind: "branch";
7489
- ref: string;
7490
- })[] | undefined;
7491
- remaining: ("branch" | "process" | "worktree")[];
7492
- error?: string | undefined;
7493
7491
  };
7494
7492
  outputFormat: "json";
7495
- status: 200;
7493
+ status: 400 | 401 | 403 | 409 | 503;
7496
7494
  input: {
7497
7495
  query: {
7498
7496
  [x: string]: string | string[];
@@ -7545,7 +7543,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7545
7543
  error?: string | undefined;
7546
7544
  };
7547
7545
  outputFormat: "json";
7548
- status: 409;
7546
+ status: 200;
7549
7547
  input: {
7550
7548
  query: {
7551
7549
  [x: string]: string | string[];
@@ -7561,22 +7559,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7561
7559
  };
7562
7560
  } | {
7563
7561
  output: {
7564
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
7565
- readonly error: string;
7566
- readonly modelChoices?: {
7567
- runner: string;
7568
- requestedModel: string;
7569
- availableModels: {
7570
- id: string;
7571
- label: string;
7572
- description: string;
7573
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
7574
- }[];
7575
- otherRunners: string[];
7562
+ workerId: string;
7563
+ state: "complete" | "incomplete";
7564
+ work?: {
7565
+ uncommittedFiles: number;
7566
+ commits: number;
7576
7567
  } | undefined;
7568
+ deleted?: ({
7569
+ kind: "worktree";
7570
+ path: string;
7571
+ } | {
7572
+ kind: "branch";
7573
+ ref: string;
7574
+ })[] | undefined;
7575
+ remaining: ("branch" | "process" | "worktree")[];
7576
+ error?: string | undefined;
7577
7577
  };
7578
7578
  outputFormat: "json";
7579
- status: 400 | 401 | 403 | 409 | 503;
7579
+ status: 409;
7580
7580
  input: {
7581
7581
  query: {
7582
7582
  [x: string]: string | string[];
@@ -7628,21 +7628,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7628
7628
  } & {
7629
7629
  "/runs/:id/archive": {
7630
7630
  $post: {
7631
- output: {
7632
- error: string;
7633
- };
7634
- outputFormat: "json";
7635
- status: 404;
7636
- input: {
7637
- json: {
7638
- archived?: boolean | undefined;
7639
- };
7640
- } & {
7641
- param: {
7642
- id: string;
7643
- };
7644
- };
7645
- } | {
7646
7631
  output: {
7647
7632
  archiveWhenDone?: boolean | undefined;
7648
7633
  autoMergePr?: boolean | undefined;
@@ -8822,32 +8807,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8822
8807
  id: string;
8823
8808
  };
8824
8809
  };
8825
- };
8826
- };
8827
- } & {
8828
- "/runs/:id/pin": {
8829
- $post: {
8810
+ } | {
8830
8811
  output: {
8831
8812
  error: string;
8832
- code?: "invalid_input" | undefined;
8833
8813
  };
8834
8814
  outputFormat: "json";
8835
- status: 400;
8815
+ status: 404;
8836
8816
  input: {
8837
- param: {
8838
- id: string;
8817
+ json: {
8818
+ archived?: boolean | undefined;
8839
8819
  };
8840
8820
  } & {
8841
- json: {
8842
- pinned?: boolean | undefined;
8821
+ param: {
8822
+ id: string;
8843
8823
  };
8844
8824
  };
8845
- } | {
8825
+ };
8826
+ };
8827
+ } & {
8828
+ "/runs/:id/pin": {
8829
+ $post: {
8846
8830
  output: {
8847
8831
  error: string;
8832
+ code?: "invalid_input" | undefined;
8848
8833
  };
8849
8834
  outputFormat: "json";
8850
- status: 404;
8835
+ status: 400;
8851
8836
  input: {
8852
8837
  param: {
8853
8838
  id: string;
@@ -10037,6 +10022,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10037
10022
  pinned?: boolean | undefined;
10038
10023
  };
10039
10024
  };
10025
+ } | {
10026
+ output: {
10027
+ error: string;
10028
+ };
10029
+ outputFormat: "json";
10030
+ status: 404;
10031
+ input: {
10032
+ param: {
10033
+ id: string;
10034
+ };
10035
+ } & {
10036
+ json: {
10037
+ pinned?: boolean | undefined;
10038
+ };
10039
+ };
10040
10040
  };
10041
10041
  };
10042
10042
  } & {
@@ -10063,7 +10063,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10063
10063
  error: string;
10064
10064
  };
10065
10065
  outputFormat: "json";
10066
- status: 400;
10066
+ status: 404;
10067
10067
  input: {
10068
10068
  param: {
10069
10069
  id: string;
@@ -10079,7 +10079,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10079
10079
  error: string;
10080
10080
  };
10081
10081
  outputFormat: "json";
10082
- status: 404;
10082
+ status: 400;
10083
10083
  input: {
10084
10084
  param: {
10085
10085
  id: string;
@@ -11302,17 +11302,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11302
11302
  } & {
11303
11303
  "/runs/:id/read": {
11304
11304
  $post: {
11305
- output: {
11306
- error: string;
11307
- };
11308
- outputFormat: "json";
11309
- status: 404;
11310
- input: {
11311
- param: {
11312
- id: string;
11313
- };
11314
- };
11315
- } | {
11316
11305
  output: {
11317
11306
  archiveWhenDone?: boolean | undefined;
11318
11307
  autoMergePr?: boolean | undefined;
@@ -12488,11 +12477,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12488
12477
  id: string;
12489
12478
  };
12490
12479
  };
12491
- };
12492
- };
12493
- } & {
12494
- "/runs/:id/unread": {
12495
- $post: {
12480
+ } | {
12496
12481
  output: {
12497
12482
  error: string;
12498
12483
  };
@@ -12503,7 +12488,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12503
12488
  id: string;
12504
12489
  };
12505
12490
  };
12506
- } | {
12491
+ };
12492
+ };
12493
+ } & {
12494
+ "/runs/:id/unread": {
12495
+ $post: {
12507
12496
  output: {
12508
12497
  archiveWhenDone?: boolean | undefined;
12509
12498
  autoMergePr?: boolean | undefined;
@@ -13679,6 +13668,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13679
13668
  id: string;
13680
13669
  };
13681
13670
  };
13671
+ } | {
13672
+ output: {
13673
+ error: string;
13674
+ };
13675
+ outputFormat: "json";
13676
+ status: 404;
13677
+ input: {
13678
+ param: {
13679
+ id: string;
13680
+ };
13681
+ };
13682
13682
  };
13683
13683
  };
13684
13684
  } & {
@@ -14955,17 +14955,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14955
14955
  } & {
14956
14956
  "/runs/:id": {
14957
14957
  $get: {
14958
- output: {
14959
- error: string;
14960
- };
14961
- outputFormat: "json";
14962
- status: 404;
14963
- input: {
14964
- param: {
14965
- id: string;
14966
- };
14967
- };
14968
- } | {
14969
14958
  output: {
14970
14959
  archiveWhenDone?: boolean | undefined;
14971
14960
  autoMergePr?: boolean | undefined;
@@ -16149,6 +16138,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16149
16138
  id: string;
16150
16139
  };
16151
16140
  };
16141
+ } | {
16142
+ output: {
16143
+ error: string;
16144
+ };
16145
+ outputFormat: "json";
16146
+ status: 404;
16147
+ input: {
16148
+ param: {
16149
+ id: string;
16150
+ };
16151
+ };
16152
16152
  };
16153
16153
  };
16154
16154
  } & {
@@ -16276,66 +16276,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16276
16276
  } & {
16277
16277
  "/runs/:id": {
16278
16278
  $patch: {
16279
- output: {
16280
- error: string;
16281
- };
16282
- outputFormat: "json";
16283
- status: 400;
16284
- input: {
16285
- json: {
16286
- archiveWhenDone?: boolean | undefined;
16287
- autoMergePr?: boolean | undefined;
16288
- allowWorkers?: boolean | undefined;
16289
- allowMessaging?: boolean | undefined;
16290
- title?: string | undefined;
16291
- task?: string | undefined;
16292
- };
16293
- } & {
16294
- param: {
16295
- id: string;
16296
- };
16297
- };
16298
- } | {
16299
- output: {
16300
- error: string;
16301
- };
16302
- outputFormat: "json";
16303
- status: 404;
16304
- input: {
16305
- json: {
16306
- archiveWhenDone?: boolean | undefined;
16307
- autoMergePr?: boolean | undefined;
16308
- allowWorkers?: boolean | undefined;
16309
- allowMessaging?: boolean | undefined;
16310
- title?: string | undefined;
16311
- task?: string | undefined;
16312
- };
16313
- } & {
16314
- param: {
16315
- id: string;
16316
- };
16317
- };
16318
- } | {
16319
- output: {
16320
- error: string;
16321
- };
16322
- outputFormat: "json";
16323
- status: 409;
16324
- input: {
16325
- json: {
16326
- archiveWhenDone?: boolean | undefined;
16327
- autoMergePr?: boolean | undefined;
16328
- allowWorkers?: boolean | undefined;
16329
- allowMessaging?: boolean | undefined;
16330
- title?: string | undefined;
16331
- task?: string | undefined;
16332
- };
16333
- } & {
16334
- param: {
16335
- id: string;
16336
- };
16337
- };
16338
- } | {
16339
16279
  output: {
16340
16280
  archiveWhenDone?: boolean | undefined;
16341
16281
  autoMergePr?: boolean | undefined;
@@ -17520,6 +17460,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17520
17460
  id: string;
17521
17461
  };
17522
17462
  };
17463
+ } | {
17464
+ output: {
17465
+ error: string;
17466
+ };
17467
+ outputFormat: "json";
17468
+ status: 404;
17469
+ input: {
17470
+ json: {
17471
+ archiveWhenDone?: boolean | undefined;
17472
+ autoMergePr?: boolean | undefined;
17473
+ allowWorkers?: boolean | undefined;
17474
+ allowMessaging?: boolean | undefined;
17475
+ title?: string | undefined;
17476
+ task?: string | undefined;
17477
+ };
17478
+ } & {
17479
+ param: {
17480
+ id: string;
17481
+ };
17482
+ };
17483
+ } | {
17484
+ output: {
17485
+ error: string;
17486
+ };
17487
+ outputFormat: "json";
17488
+ status: 400;
17489
+ input: {
17490
+ json: {
17491
+ archiveWhenDone?: boolean | undefined;
17492
+ autoMergePr?: boolean | undefined;
17493
+ allowWorkers?: boolean | undefined;
17494
+ allowMessaging?: boolean | undefined;
17495
+ title?: string | undefined;
17496
+ task?: string | undefined;
17497
+ };
17498
+ } & {
17499
+ param: {
17500
+ id: string;
17501
+ };
17502
+ };
17503
+ } | {
17504
+ output: {
17505
+ error: string;
17506
+ };
17507
+ outputFormat: "json";
17508
+ status: 409;
17509
+ input: {
17510
+ json: {
17511
+ archiveWhenDone?: boolean | undefined;
17512
+ autoMergePr?: boolean | undefined;
17513
+ allowWorkers?: boolean | undefined;
17514
+ allowMessaging?: boolean | undefined;
17515
+ title?: string | undefined;
17516
+ task?: string | undefined;
17517
+ };
17518
+ } & {
17519
+ param: {
17520
+ id: string;
17521
+ };
17522
+ };
17523
17523
  };
17524
17524
  };
17525
17525
  } & {
@@ -17624,7 +17624,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17624
17624
  error: string;
17625
17625
  };
17626
17626
  outputFormat: "json";
17627
- status: 400;
17627
+ status: 404;
17628
17628
  input: {
17629
17629
  json: {
17630
17630
  text?: string | undefined;
@@ -17643,7 +17643,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17643
17643
  error: string;
17644
17644
  };
17645
17645
  outputFormat: "json";
17646
- status: 404;
17646
+ status: 409;
17647
17647
  input: {
17648
17648
  json: {
17649
17649
  text?: string | undefined;
@@ -17659,10 +17659,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17659
17659
  };
17660
17660
  } | {
17661
17661
  output: {
17662
- error: string;
17662
+ delivered: true;
17663
17663
  };
17664
17664
  outputFormat: "json";
17665
- status: 409;
17665
+ status: import("hono/utils/http-status").ContentfulStatusCode;
17666
17666
  input: {
17667
17667
  json: {
17668
17668
  text?: string | undefined;
@@ -17678,10 +17678,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17678
17678
  };
17679
17679
  } | {
17680
17680
  output: {
17681
- delivered: true;
17681
+ error: string;
17682
17682
  };
17683
17683
  outputFormat: "json";
17684
- status: import("hono/utils/http-status").ContentfulStatusCode;
17684
+ status: 400;
17685
17685
  input: {
17686
17686
  json: {
17687
17687
  text?: string | undefined;
@@ -17749,7 +17749,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17749
17749
  error: string;
17750
17750
  };
17751
17751
  outputFormat: "json";
17752
- status: 400;
17752
+ status: 404;
17753
17753
  input: {
17754
17754
  json: {
17755
17755
  text?: string | undefined;
@@ -17770,7 +17770,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17770
17770
  error: string;
17771
17771
  };
17772
17772
  outputFormat: "json";
17773
- status: 404;
17773
+ status: 400;
17774
17774
  input: {
17775
17775
  json: {
17776
17776
  text?: string | undefined;
@@ -17990,11 +17990,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17990
17990
  "/runs/:id/open-in-cli": {
17991
17991
  $post: {
17992
17992
  output: {
17993
- opened: true;
17994
- command: string;
17993
+ error: string;
17995
17994
  };
17996
17995
  outputFormat: "json";
17997
- status: import("hono/utils/http-status").ContentfulStatusCode;
17996
+ status: 404 | 409;
17998
17997
  input: {
17999
17998
  param: {
18000
17999
  id: string;
@@ -18002,10 +18001,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18002
18001
  };
18003
18002
  } | {
18004
18003
  output: {
18005
- error: string;
18004
+ opened: true;
18005
+ command: string;
18006
18006
  };
18007
18007
  outputFormat: "json";
18008
- status: 404 | 409;
18008
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18009
18009
  input: {
18010
18010
  param: {
18011
18011
  id: string;
@@ -18093,12 +18093,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18093
18093
  } & {
18094
18094
  "/runs/:id/images/:file": {
18095
18095
  $get: {
18096
- output: {
18097
- error: string;
18098
- code?: "invalid_input" | undefined;
18099
- };
18100
- outputFormat: "json";
18101
- status: 400;
18096
+ output: {};
18097
+ outputFormat: string;
18098
+ status: import("hono/utils/http-status").StatusCode;
18102
18099
  input: {
18103
18100
  param: {
18104
18101
  id: string;
@@ -18106,9 +18103,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18106
18103
  };
18107
18104
  };
18108
18105
  } | {
18109
- output: {};
18110
- outputFormat: string;
18111
- status: import("hono/utils/http-status").StatusCode;
18106
+ output: {
18107
+ error: string;
18108
+ code?: "invalid_input" | undefined;
18109
+ };
18110
+ outputFormat: "json";
18111
+ status: 400;
18112
18112
  input: {
18113
18113
  param: {
18114
18114
  id: string;
@@ -18144,6 +18144,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18144
18144
  } & {
18145
18145
  "/runs/:id/changes": {
18146
18146
  $get: {
18147
+ output: {
18148
+ error: string;
18149
+ };
18150
+ outputFormat: "json";
18151
+ status: 404 | 409;
18152
+ input: {
18153
+ param: {
18154
+ id: string;
18155
+ };
18156
+ };
18157
+ } | {
18147
18158
  output: {
18148
18159
  files: {
18149
18160
  path: string;
@@ -18172,7 +18183,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18172
18183
  id: string;
18173
18184
  };
18174
18185
  };
18175
- } | {
18186
+ };
18187
+ };
18188
+ } & {
18189
+ "/runs/:id/commits": {
18190
+ $get: {
18176
18191
  output: {
18177
18192
  error: string;
18178
18193
  };
@@ -18183,11 +18198,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18183
18198
  id: string;
18184
18199
  };
18185
18200
  };
18186
- };
18187
- };
18188
- } & {
18189
- "/runs/:id/commits": {
18190
- $get: {
18201
+ } | {
18191
18202
  output: {
18192
18203
  commits: {
18193
18204
  sha: string;
@@ -18203,7 +18214,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18203
18214
  id: string;
18204
18215
  };
18205
18216
  };
18206
- } | {
18217
+ };
18218
+ };
18219
+ } & {
18220
+ "/runs/:id/commit/:sha": {
18221
+ $get: {
18207
18222
  output: {
18208
18223
  error: string;
18209
18224
  };
@@ -18212,13 +18227,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18212
18227
  input: {
18213
18228
  param: {
18214
18229
  id: string;
18230
+ } & {
18231
+ sha: string;
18215
18232
  };
18216
18233
  };
18217
- };
18218
- };
18219
- } & {
18220
- "/runs/:id/commit/:sha": {
18221
- $get: {
18234
+ } | {
18222
18235
  output: {
18223
18236
  sha: string;
18224
18237
  subject: string;
@@ -18249,19 +18262,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18249
18262
  sha: string;
18250
18263
  };
18251
18264
  };
18252
- } | {
18253
- output: {
18254
- error: string;
18255
- };
18256
- outputFormat: "json";
18257
- status: 404 | 409;
18258
- input: {
18259
- param: {
18260
- id: string;
18261
- } & {
18262
- sha: string;
18263
- };
18264
- };
18265
18265
  };
18266
18266
  };
18267
18267
  } & {
@@ -18285,15 +18285,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18285
18285
  };
18286
18286
  } | {
18287
18287
  output: {
18288
- type: 'file';
18289
- path: string;
18290
- size: number;
18291
- binary: boolean;
18292
- tooLarge: boolean;
18293
- content?: string | undefined;
18288
+ error: string;
18294
18289
  };
18295
18290
  outputFormat: "json";
18296
- status: import("hono/utils/http-status").ContentfulStatusCode;
18291
+ status: 404 | 409;
18297
18292
  input: {
18298
18293
  param: {
18299
18294
  sha: string;
@@ -18306,10 +18301,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18306
18301
  };
18307
18302
  } | {
18308
18303
  output: {
18309
- error: string;
18304
+ type: 'file';
18305
+ path: string;
18306
+ size: number;
18307
+ binary: boolean;
18308
+ tooLarge: boolean;
18309
+ content?: string | undefined;
18310
18310
  };
18311
18311
  outputFormat: "json";
18312
- status: 404 | 409;
18312
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18313
18313
  input: {
18314
18314
  param: {
18315
18315
  sha: string;
@@ -18355,6 +18355,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18355
18355
  raw?: "1" | undefined;
18356
18356
  };
18357
18357
  };
18358
+ } | {
18359
+ output: {
18360
+ error: string;
18361
+ };
18362
+ outputFormat: "json";
18363
+ status: 404 | 409;
18364
+ input: {
18365
+ param: {
18366
+ id: string;
18367
+ };
18368
+ } & {
18369
+ query: {
18370
+ path: string | string[];
18371
+ raw?: "1" | undefined;
18372
+ };
18373
+ };
18358
18374
  } | {
18359
18375
  output: {
18360
18376
  type: "file";
@@ -18391,22 +18407,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18391
18407
  raw?: "1" | undefined;
18392
18408
  };
18393
18409
  };
18394
- } | {
18395
- output: {
18396
- error: string;
18397
- };
18398
- outputFormat: "json";
18399
- status: 404 | 409;
18400
- input: {
18401
- param: {
18402
- id: string;
18403
- };
18404
- } & {
18405
- query: {
18406
- path: string | string[];
18407
- raw?: "1" | undefined;
18408
- };
18409
- };
18410
18410
  };
18411
18411
  };
18412
18412
  } & {
@@ -18471,18 +18471,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18471
18471
  artifactId: string;
18472
18472
  };
18473
18473
  };
18474
- } | {
18475
- output: {
18476
- error: string;
18477
- };
18478
- outputFormat: "json";
18479
- status: 404;
18480
- input: {
18481
- param: {
18482
- id: string;
18483
- artifactId: string;
18484
- };
18485
- };
18486
18474
  } | {
18487
18475
  output: {
18488
18476
  type: "file";
@@ -18511,6 +18499,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18511
18499
  artifactId: string;
18512
18500
  };
18513
18501
  };
18502
+ } | {
18503
+ output: {
18504
+ error: string;
18505
+ };
18506
+ outputFormat: "json";
18507
+ status: 404;
18508
+ input: {
18509
+ param: {
18510
+ id: string;
18511
+ artifactId: string;
18512
+ };
18513
+ };
18514
18514
  };
18515
18515
  };
18516
18516
  } & {
@@ -18688,15 +18688,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18688
18688
  };
18689
18689
  } | {
18690
18690
  output: {
18691
- type: 'file';
18692
- path: string;
18693
- size: number;
18694
- binary: boolean;
18695
- tooLarge: boolean;
18696
- content?: string | undefined;
18691
+ error: string;
18697
18692
  };
18698
18693
  outputFormat: "json";
18699
- status: import("hono/utils/http-status").ContentfulStatusCode;
18694
+ status: 404 | 409;
18700
18695
  input: {
18701
18696
  query: {
18702
18697
  path?: string | undefined;
@@ -18709,14 +18704,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18709
18704
  };
18710
18705
  } | {
18711
18706
  output: {
18712
- type: 'dir';
18707
+ type: 'file';
18713
18708
  path: string;
18714
- entries: {
18715
- name: string;
18716
- type: 'dir' | 'file';
18717
- size?: number;
18718
- chain?: string;
18719
- }[];
18709
+ size: number;
18710
+ binary: boolean;
18711
+ tooLarge: boolean;
18712
+ content?: string | undefined;
18720
18713
  };
18721
18714
  outputFormat: "json";
18722
18715
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -18732,10 +18725,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18732
18725
  };
18733
18726
  } | {
18734
18727
  output: {
18735
- error: string;
18728
+ type: 'dir';
18729
+ path: string;
18730
+ entries: {
18731
+ name: string;
18732
+ type: 'dir' | 'file';
18733
+ size?: number;
18734
+ chain?: string;
18735
+ }[];
18736
18736
  };
18737
18737
  outputFormat: "json";
18738
- status: 404 | 409;
18738
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18739
18739
  input: {
18740
18740
  query: {
18741
18741
  path?: string | undefined;
@@ -18752,11 +18752,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18752
18752
  "/runs/:id/git/commit": {
18753
18753
  $post: {
18754
18754
  output: {
18755
- committed: true;
18756
- sha: string;
18755
+ error: string;
18757
18756
  };
18758
18757
  outputFormat: "json";
18759
- status: import("hono/utils/http-status").ContentfulStatusCode;
18758
+ status: 404 | 409;
18760
18759
  input: {
18761
18760
  json: {
18762
18761
  message: string;
@@ -18768,10 +18767,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18768
18767
  };
18769
18768
  } | {
18770
18769
  output: {
18771
- error: string;
18770
+ committed: true;
18771
+ sha: string;
18772
18772
  };
18773
18773
  outputFormat: "json";
18774
- status: 404 | 409;
18774
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18775
18775
  input: {
18776
18776
  json: {
18777
18777
  message: string;
@@ -18787,13 +18787,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18787
18787
  "/runs/:id/git/push": {
18788
18788
  $post: {
18789
18789
  output: {
18790
- pushed: true;
18791
- branch: string;
18792
- remote: string;
18793
- upstreamSet: boolean;
18790
+ error: string;
18794
18791
  };
18795
18792
  outputFormat: "json";
18796
- status: import("hono/utils/http-status").ContentfulStatusCode;
18793
+ status: 404 | 409;
18797
18794
  input: {
18798
18795
  param: {
18799
18796
  id: string;
@@ -18801,10 +18798,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18801
18798
  };
18802
18799
  } | {
18803
18800
  output: {
18804
- error: string;
18801
+ pushed: true;
18802
+ branch: string;
18803
+ remote: string;
18804
+ upstreamSet: boolean;
18805
18805
  };
18806
18806
  outputFormat: "json";
18807
- status: 404 | 409;
18807
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18808
18808
  input: {
18809
18809
  param: {
18810
18810
  id: string;
@@ -18816,11 +18816,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18816
18816
  "/runs/:id/pr": {
18817
18817
  $post: {
18818
18818
  output: {
18819
- url: string;
18820
- dryRun: boolean;
18819
+ error: string;
18821
18820
  };
18822
18821
  outputFormat: "json";
18823
- status: 201;
18822
+ status: 404 | 409;
18824
18823
  input: {
18825
18824
  param: {
18826
18825
  id: string;
@@ -18828,10 +18827,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18828
18827
  };
18829
18828
  } | {
18830
18829
  output: {
18831
- error: string;
18830
+ url: string;
18831
+ dryRun: boolean;
18832
18832
  };
18833
18833
  outputFormat: "json";
18834
- status: 404 | 409;
18834
+ status: 201;
18835
18835
  input: {
18836
18836
  param: {
18837
18837
  id: string;
@@ -18843,10 +18843,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18843
18843
  "/runs/:id/remove-worktree": {
18844
18844
  $post: {
18845
18845
  output: {
18846
- removed: true;
18846
+ error: string;
18847
18847
  };
18848
18848
  outputFormat: "json";
18849
- status: import("hono/utils/http-status").ContentfulStatusCode;
18849
+ status: 404 | 409;
18850
18850
  input: {
18851
18851
  param: {
18852
18852
  id: string;
@@ -18854,10 +18854,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18854
18854
  };
18855
18855
  } | {
18856
18856
  output: {
18857
- error: string;
18857
+ removed: true;
18858
18858
  };
18859
18859
  outputFormat: "json";
18860
- status: 404 | 409;
18860
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18861
18861
  input: {
18862
18862
  param: {
18863
18863
  id: string;
@@ -18869,10 +18869,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18869
18869
  "/runs/:id": {
18870
18870
  $delete: {
18871
18871
  output: {
18872
- deleted: true;
18872
+ error: string;
18873
18873
  };
18874
18874
  outputFormat: "json";
18875
- status: import("hono/utils/http-status").ContentfulStatusCode;
18875
+ status: 404 | 409;
18876
18876
  input: {
18877
18877
  param: {
18878
18878
  id: string;
@@ -18880,10 +18880,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18880
18880
  };
18881
18881
  } | {
18882
18882
  output: {
18883
- error: string;
18883
+ deleted: true;
18884
18884
  };
18885
18885
  outputFormat: "json";
18886
- status: 404 | 409;
18886
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18887
18887
  input: {
18888
18888
  param: {
18889
18889
  id: string;
@@ -18952,6 +18952,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18952
18952
  }, "/"> | import("hono/types").MergeSchemaPath<{
18953
18953
  "/plan": {
18954
18954
  $post: {
18955
+ output: {
18956
+ error: string;
18957
+ };
18958
+ outputFormat: "json";
18959
+ status: 400 | 404 | 409;
18960
+ input: {
18961
+ json: {
18962
+ task: string;
18963
+ agentProfile?: string | undefined;
18964
+ };
18965
+ };
18966
+ } | {
18955
18967
  output: {
18956
18968
  name?: string;
18957
18969
  steps: {
@@ -18988,18 +19000,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18988
19000
  agentProfile?: string | undefined;
18989
19001
  };
18990
19002
  };
18991
- } | {
18992
- output: {
18993
- error: string;
18994
- };
18995
- outputFormat: "json";
18996
- status: 400 | 404 | 409;
18997
- input: {
18998
- json: {
18999
- task: string;
19000
- agentProfile?: string | undefined;
19001
- };
19002
- };
19003
19003
  };
19004
19004
  };
19005
19005
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -19043,7 +19043,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19043
19043
  error: string;
19044
19044
  };
19045
19045
  outputFormat: "json";
19046
- status: 400;
19046
+ status: 409;
19047
19047
  input: {
19048
19048
  query: {
19049
19049
  q?: string | undefined;
@@ -19056,7 +19056,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19056
19056
  error: string;
19057
19057
  };
19058
19058
  outputFormat: "json";
19059
- status: 409;
19059
+ status: 400;
19060
19060
  input: {
19061
19061
  query: {
19062
19062
  q?: string | undefined;
@@ -19137,10 +19137,42 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19137
19137
  "/ui-state": {
19138
19138
  $put: {
19139
19139
  output: {
19140
- error: string;
19140
+ [x: string]: import("hono/utils/types").JSONValue;
19141
+ sidebarLimits?: {
19142
+ overall?: number | null | undefined;
19143
+ needsYou?: number | null | undefined;
19144
+ finished?: number | null | undefined;
19145
+ working?: number | null | undefined;
19146
+ } | undefined;
19147
+ lastTask?: {
19148
+ source: "skill" | "workflow";
19149
+ ref: string;
19150
+ } | null | undefined;
19151
+ recentSources?: {
19152
+ source: "skill" | "workflow";
19153
+ ref: string;
19154
+ }[] | undefined;
19155
+ lastWorktree?: boolean | undefined;
19156
+ lastAutonomous?: boolean | undefined;
19157
+ skillUsage?: {
19158
+ [x: string]: number;
19159
+ } | undefined;
19160
+ runsView?: "list" | "table" | undefined;
19161
+ githubView?: "issues" | "prs" | undefined;
19162
+ appearance?: {
19163
+ accent?: "cezarion" | "lime" | "violet" | undefined;
19164
+ density?: "comfortable" | "compact" | "ultra" | undefined;
19165
+ width?: "narrow" | "wide" | undefined;
19166
+ } | undefined;
19167
+ promptTemplates?: {
19168
+ id: string;
19169
+ label: string;
19170
+ text: string;
19171
+ skills?: string[] | undefined;
19172
+ }[] | undefined;
19141
19173
  };
19142
19174
  outputFormat: "json";
19143
- status: 500;
19175
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19144
19176
  input: {
19145
19177
  json: {
19146
19178
  [x: string]: unknown;
@@ -19178,42 +19210,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19178
19210
  };
19179
19211
  } | {
19180
19212
  output: {
19181
- [x: string]: import("hono/utils/types").JSONValue;
19182
- sidebarLimits?: {
19183
- overall?: number | null | undefined;
19184
- needsYou?: number | null | undefined;
19185
- finished?: number | null | undefined;
19186
- working?: number | null | undefined;
19187
- } | undefined;
19188
- lastTask?: {
19189
- source: "skill" | "workflow";
19190
- ref: string;
19191
- } | null | undefined;
19192
- recentSources?: {
19193
- source: "skill" | "workflow";
19194
- ref: string;
19195
- }[] | undefined;
19196
- lastWorktree?: boolean | undefined;
19197
- lastAutonomous?: boolean | undefined;
19198
- skillUsage?: {
19199
- [x: string]: number;
19200
- } | undefined;
19201
- runsView?: "list" | "table" | undefined;
19202
- githubView?: "issues" | "prs" | undefined;
19203
- appearance?: {
19204
- accent?: "cezarion" | "lime" | "violet" | undefined;
19205
- density?: "comfortable" | "compact" | "ultra" | undefined;
19206
- width?: "narrow" | "wide" | undefined;
19207
- } | undefined;
19208
- promptTemplates?: {
19209
- id: string;
19210
- label: string;
19211
- text: string;
19212
- skills?: string[] | undefined;
19213
- }[] | undefined;
19213
+ error: string;
19214
19214
  };
19215
19215
  outputFormat: "json";
19216
- status: import("hono/utils/http-status").ContentfulStatusCode;
19216
+ status: 500;
19217
19217
  input: {
19218
19218
  json: {
19219
19219
  [x: string]: unknown;
@@ -19283,17 +19283,41 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19283
19283
  };
19284
19284
  outputFormat: "json";
19285
19285
  status: import("hono/utils/http-status").ContentfulStatusCode;
19286
- input: {};
19287
- };
19288
- };
19289
- } & {
19290
- "/config": {
19291
- $put: {
19292
- output: {
19293
- error: string;
19294
- };
19295
- outputFormat: "json";
19296
- status: 409;
19286
+ input: {};
19287
+ };
19288
+ };
19289
+ } & {
19290
+ "/config": {
19291
+ $put: {
19292
+ output: {
19293
+ archiveOnMerge: boolean | null;
19294
+ effectiveArchiveOnMerge: boolean;
19295
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
19296
+ baseBranch: string | null;
19297
+ defaultRunner: string;
19298
+ systemPrompt: string | null;
19299
+ defaultModels: {
19300
+ [x: string]: string | undefined;
19301
+ };
19302
+ modelsLocked: boolean;
19303
+ maxParallel: number;
19304
+ memoryLimitMb: number | null;
19305
+ worktreeRetention: number;
19306
+ liveTitleUpdates: boolean | null;
19307
+ reviewGate: boolean | null;
19308
+ worktreeSetup: {
19309
+ commands: string[];
19310
+ timeoutSeconds: number;
19311
+ } | null;
19312
+ worktreeSetupIssue: string | null;
19313
+ worktreeTeardown: {
19314
+ commands: string[];
19315
+ timeoutSeconds: number;
19316
+ } | null;
19317
+ worktreeTeardownIssue: string | null;
19318
+ };
19319
+ outputFormat: "json";
19320
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19297
19321
  input: {
19298
19322
  json: {
19299
19323
  archiveOnMerge?: boolean | null | undefined;
@@ -19321,7 +19345,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19321
19345
  error: string;
19322
19346
  };
19323
19347
  outputFormat: "json";
19324
- status: 500;
19348
+ status: 409;
19325
19349
  input: {
19326
19350
  json: {
19327
19351
  archiveOnMerge?: boolean | null | undefined;
@@ -19346,34 +19370,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19346
19370
  };
19347
19371
  } | {
19348
19372
  output: {
19349
- archiveOnMerge: boolean | null;
19350
- effectiveArchiveOnMerge: boolean;
19351
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
19352
- baseBranch: string | null;
19353
- defaultRunner: string;
19354
- systemPrompt: string | null;
19355
- defaultModels: {
19356
- [x: string]: string | undefined;
19357
- };
19358
- modelsLocked: boolean;
19359
- maxParallel: number;
19360
- memoryLimitMb: number | null;
19361
- worktreeRetention: number;
19362
- liveTitleUpdates: boolean | null;
19363
- reviewGate: boolean | null;
19364
- worktreeSetup: {
19365
- commands: string[];
19366
- timeoutSeconds: number;
19367
- } | null;
19368
- worktreeSetupIssue: string | null;
19369
- worktreeTeardown: {
19370
- commands: string[];
19371
- timeoutSeconds: number;
19372
- } | null;
19373
- worktreeTeardownIssue: string | null;
19373
+ error: string;
19374
19374
  };
19375
19375
  outputFormat: "json";
19376
- status: import("hono/utils/http-status").ContentfulStatusCode;
19376
+ status: 500;
19377
19377
  input: {
19378
19378
  json: {
19379
19379
  archiveOnMerge?: boolean | null | undefined;
@@ -19484,12 +19484,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19484
19484
  }, "/"> | import("hono/types").MergeSchemaPath<{
19485
19485
  "/runs/:id/events": {
19486
19486
  $get: {
19487
- output: {
19488
- error: string;
19489
- code?: "invalid_input" | undefined;
19490
- };
19491
- outputFormat: "json";
19492
- status: 400;
19487
+ output: {};
19488
+ outputFormat: string;
19489
+ status: import("hono/utils/http-status").StatusCode;
19493
19490
  input: {
19494
19491
  param: {
19495
19492
  id: string;
@@ -19501,9 +19498,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19501
19498
  };
19502
19499
  };
19503
19500
  } | {
19504
- output: {};
19505
- outputFormat: string;
19506
- status: import("hono/utils/http-status").StatusCode;
19501
+ output: {
19502
+ error: string;
19503
+ code?: "invalid_input" | undefined;
19504
+ };
19505
+ outputFormat: "json";
19506
+ status: 400;
19507
19507
  input: {
19508
19508
  param: {
19509
19509
  id: string;
@@ -19547,7 +19547,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19547
19547
  error: string;
19548
19548
  };
19549
19549
  outputFormat: "json";
19550
- status: 400;
19550
+ status: 409;
19551
19551
  input: {
19552
19552
  json: {
19553
19553
  target: string;
@@ -19558,7 +19558,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19558
19558
  error: string;
19559
19559
  };
19560
19560
  outputFormat: "json";
19561
- status: 409;
19561
+ status: 400;
19562
19562
  input: {
19563
19563
  json: {
19564
19564
  target: string;
@@ -19666,10 +19666,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19666
19666
  "/agent-config/:id": {
19667
19667
  $put: {
19668
19668
  output: {
19669
- error: string;
19669
+ id: string;
19670
+ path: string;
19671
+ exists: boolean;
19672
+ content: string;
19673
+ version: string | null;
19670
19674
  };
19671
19675
  outputFormat: "json";
19672
- status: 404;
19676
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19673
19677
  input: {
19674
19678
  json: {
19675
19679
  content: string;
@@ -19682,14 +19686,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19682
19686
  };
19683
19687
  } | {
19684
19688
  output: {
19685
- id: string;
19686
- path: string;
19687
- exists: boolean;
19688
- content: string;
19689
- version: string | null;
19689
+ error: string;
19690
19690
  };
19691
19691
  outputFormat: "json";
19692
- status: import("hono/utils/http-status").ContentfulStatusCode;
19692
+ status: 404;
19693
19693
  input: {
19694
19694
  json: {
19695
19695
  content: string;
@@ -19789,11 +19789,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19789
19789
  };
19790
19790
  } | {
19791
19791
  output: {
19792
- runId: string;
19793
- worktreeReclaimedAt: string;
19792
+ error: string;
19794
19793
  };
19795
19794
  outputFormat: "json";
19796
- status: import("hono/utils/http-status").ContentfulStatusCode;
19795
+ status: 404 | 409;
19797
19796
  input: {
19798
19797
  param: {
19799
19798
  runId: string;
@@ -19805,10 +19804,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19805
19804
  };
19806
19805
  } | {
19807
19806
  output: {
19808
- error: string;
19807
+ runId: string;
19808
+ worktreeReclaimedAt: string;
19809
19809
  };
19810
19810
  outputFormat: "json";
19811
- status: 404 | 409;
19811
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19812
19812
  input: {
19813
19813
  param: {
19814
19814
  runId: string;
@@ -19968,11 +19968,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19968
19968
  "/workflows": {
19969
19969
  $post: {
19970
19970
  output: {
19971
- path: string;
19972
- name: string;
19971
+ error: string;
19973
19972
  };
19974
19973
  outputFormat: "json";
19975
- status: 201;
19974
+ status: 400;
19976
19975
  input: {
19977
19976
  json: {
19978
19977
  name: string;
@@ -20005,9 +20004,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20005
20004
  } | {
20006
20005
  output: {
20007
20006
  error: string;
20007
+ exists: true;
20008
20008
  };
20009
20009
  outputFormat: "json";
20010
- status: 400;
20010
+ status: 409;
20011
20011
  input: {
20012
20012
  json: {
20013
20013
  name: string;
@@ -20040,10 +20040,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20040
20040
  } | {
20041
20041
  output: {
20042
20042
  error: string;
20043
- exists: true;
20044
20043
  };
20045
20044
  outputFormat: "json";
20046
- status: 409;
20045
+ status: 500;
20047
20046
  input: {
20048
20047
  json: {
20049
20048
  name: string;
@@ -20075,10 +20074,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20075
20074
  };
20076
20075
  } | {
20077
20076
  output: {
20078
- error: string;
20077
+ path: string;
20078
+ name: string;
20079
20079
  };
20080
20080
  outputFormat: "json";
20081
- status: 500;
20081
+ status: 201;
20082
20082
  input: {
20083
20083
  json: {
20084
20084
  name: string;
@@ -20114,11 +20114,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20114
20114
  "/workflows/:name": {
20115
20115
  $delete: {
20116
20116
  output: {
20117
- ok: true;
20118
- path: string;
20117
+ error: string;
20119
20118
  };
20120
20119
  outputFormat: "json";
20121
- status: import("hono/utils/http-status").ContentfulStatusCode;
20120
+ status: 400 | 404 | 409 | 500;
20122
20121
  input: {
20123
20122
  param: {
20124
20123
  name: string;
@@ -20126,10 +20125,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20126
20125
  };
20127
20126
  } | {
20128
20127
  output: {
20129
- error: string;
20128
+ ok: true;
20129
+ path: string;
20130
20130
  };
20131
20131
  outputFormat: "json";
20132
- status: 400 | 404 | 409 | 500;
20132
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20133
20133
  input: {
20134
20134
  param: {
20135
20135
  name: string;
@@ -21070,18 +21070,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21070
21070
  "/repo/branches/delete": {
21071
21071
  $post: {
21072
21072
  output: {
21073
- deleted: string[];
21073
+ error: string;
21074
21074
  refused: {
21075
21075
  name: string;
21076
21076
  reason: string;
21077
21077
  }[];
21078
- dropped?: {
21079
- sha: string;
21080
- subject: string;
21081
- }[] | undefined;
21082
21078
  };
21083
21079
  outputFormat: "json";
21084
- status: 200;
21080
+ status: 409;
21085
21081
  input: {
21086
21082
  json: {
21087
21083
  names: string[];
@@ -21090,14 +21086,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21090
21086
  };
21091
21087
  } | {
21092
21088
  output: {
21093
- error: string;
21089
+ deleted: string[];
21094
21090
  refused: {
21095
21091
  name: string;
21096
21092
  reason: string;
21097
21093
  }[];
21094
+ dropped?: {
21095
+ sha: string;
21096
+ subject: string;
21097
+ }[] | undefined;
21098
21098
  };
21099
21099
  outputFormat: "json";
21100
- status: 409;
21100
+ status: 200;
21101
21101
  input: {
21102
21102
  json: {
21103
21103
  names: string[];
@@ -21118,12 +21118,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21118
21118
  } & {
21119
21119
  "/repo/commit/:sha": {
21120
21120
  $get: {
21121
- output: {
21122
- error: string;
21123
- code?: "invalid_input" | undefined;
21124
- };
21125
- outputFormat: "json";
21126
- status: 400;
21121
+ output: string;
21122
+ outputFormat: "text";
21123
+ status: import("hono/utils/http-status").ContentfulStatusCode;
21127
21124
  input: {
21128
21125
  query: {
21129
21126
  structured?: string | undefined;
@@ -21136,9 +21133,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21136
21133
  } | {
21137
21134
  output: {
21138
21135
  error: string;
21136
+ code?: "invalid_input" | undefined;
21139
21137
  };
21140
21138
  outputFormat: "json";
21141
- status: 409;
21139
+ status: 400;
21142
21140
  input: {
21143
21141
  query: {
21144
21142
  structured?: string | undefined;
@@ -21182,9 +21180,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21182
21180
  };
21183
21181
  };
21184
21182
  } | {
21185
- output: string;
21186
- outputFormat: "text";
21187
- status: import("hono/utils/http-status").ContentfulStatusCode;
21183
+ output: {
21184
+ error: string;
21185
+ };
21186
+ outputFormat: "json";
21187
+ status: 409;
21188
21188
  input: {
21189
21189
  query: {
21190
21190
  structured?: string | undefined;
@@ -21216,10 +21216,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21216
21216
  };
21217
21217
  } | {
21218
21218
  output: {
21219
- error: string;
21219
+ type: 'file';
21220
+ path: string;
21221
+ size: number;
21222
+ binary: boolean;
21223
+ tooLarge: boolean;
21224
+ content?: string | undefined;
21220
21225
  };
21221
21226
  outputFormat: "json";
21222
- status: 409;
21227
+ status: import("hono/utils/http-status").ContentfulStatusCode;
21223
21228
  input: {
21224
21229
  param: {
21225
21230
  sha: string;
@@ -21231,15 +21236,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21231
21236
  };
21232
21237
  } | {
21233
21238
  output: {
21234
- type: 'file';
21235
- path: string;
21236
- size: number;
21237
- binary: boolean;
21238
- tooLarge: boolean;
21239
- content?: string | undefined;
21239
+ error: string;
21240
21240
  };
21241
21241
  outputFormat: "json";
21242
- status: import("hono/utils/http-status").ContentfulStatusCode;
21242
+ status: 409;
21243
21243
  input: {
21244
21244
  param: {
21245
21245
  sha: string;
@@ -21267,10 +21267,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21267
21267
  };
21268
21268
  } | {
21269
21269
  output: {
21270
- error: string;
21270
+ type: 'file';
21271
+ path: string;
21272
+ size: number;
21273
+ binary: boolean;
21274
+ tooLarge: boolean;
21275
+ content?: string | undefined;
21271
21276
  };
21272
21277
  outputFormat: "json";
21273
- status: 409;
21278
+ status: import("hono/utils/http-status").ContentfulStatusCode;
21274
21279
  input: {
21275
21280
  query: {
21276
21281
  path: string | string[];
@@ -21278,15 +21283,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21278
21283
  };
21279
21284
  } | {
21280
21285
  output: {
21281
- type: 'file';
21282
- path: string;
21283
- size: number;
21284
- binary: boolean;
21285
- tooLarge: boolean;
21286
- content?: string | undefined;
21286
+ error: string;
21287
21287
  };
21288
21288
  outputFormat: "json";
21289
- status: import("hono/utils/http-status").ContentfulStatusCode;
21289
+ status: 409;
21290
21290
  input: {
21291
21291
  query: {
21292
21292
  path: string | string[];
@@ -21297,13 +21297,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21297
21297
  } & {
21298
21298
  "/repo/changes": {
21299
21299
  $get: {
21300
- output: {
21301
- error: string;
21302
- };
21303
- outputFormat: "json";
21304
- status: 409;
21305
- input: {};
21306
- } | {
21307
21300
  output: {
21308
21301
  files: {
21309
21302
  path: string;
@@ -21328,6 +21321,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21328
21321
  outputFormat: "json";
21329
21322
  status: import("hono/utils/http-status").ContentfulStatusCode;
21330
21323
  input: {};
21324
+ } | {
21325
+ output: {
21326
+ error: string;
21327
+ };
21328
+ outputFormat: "json";
21329
+ status: 409;
21330
+ input: {};
21331
21331
  };
21332
21332
  };
21333
21333
  } & {
@@ -21352,12 +21352,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21352
21352
  "/repo/pull": {
21353
21353
  $post: {
21354
21354
  output: {
21355
- branch: string;
21356
- pulled: true;
21357
- summary: string;
21355
+ error: string;
21358
21356
  };
21359
21357
  outputFormat: "json";
21360
- status: 200;
21358
+ status: 409;
21361
21359
  input: {
21362
21360
  json: {
21363
21361
  branch?: string | undefined;
@@ -21366,10 +21364,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21366
21364
  };
21367
21365
  } | {
21368
21366
  output: {
21369
- error: string;
21367
+ branch: string;
21368
+ pulled: true;
21369
+ summary: string;
21370
21370
  };
21371
21371
  outputFormat: "json";
21372
- status: 409;
21372
+ status: 200;
21373
21373
  input: {
21374
21374
  json: {
21375
21375
  branch?: string | undefined;
@@ -22594,18 +22594,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22594
22594
  } & {
22595
22595
  "/run-summaries": {
22596
22596
  $get: {
22597
- output: {
22598
- error: string;
22599
- code?: "invalid_input" | undefined;
22600
- };
22601
- outputFormat: "json";
22602
- status: 400;
22603
- input: {
22604
- query: {
22605
- archived?: "all" | "recent" | undefined;
22606
- };
22607
- };
22608
- } | {
22609
22597
  output: {
22610
22598
  id: string;
22611
22599
  title: string;
@@ -22743,6 +22731,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22743
22731
  archived?: "all" | "recent" | undefined;
22744
22732
  };
22745
22733
  };
22734
+ } | {
22735
+ output: {
22736
+ error: string;
22737
+ code?: "invalid_input" | undefined;
22738
+ };
22739
+ outputFormat: "json";
22740
+ status: 400;
22741
+ input: {
22742
+ query: {
22743
+ archived?: "all" | "recent" | undefined;
22744
+ };
22745
+ };
22746
22746
  };
22747
22747
  };
22748
22748
  } & {
@@ -23104,24 +23104,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23104
23104
  "/runs/:id/worker-destroy": {
23105
23105
  $post: {
23106
23106
  output: {
23107
- workerId: string;
23108
- state: "complete" | "incomplete";
23109
- work?: {
23110
- uncommittedFiles: number;
23111
- commits: number;
23107
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
23108
+ readonly error: string;
23109
+ readonly modelChoices?: {
23110
+ runner: string;
23111
+ requestedModel: string;
23112
+ availableModels: {
23113
+ id: string;
23114
+ label: string;
23115
+ description: string;
23116
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
23117
+ }[];
23118
+ otherRunners: string[];
23112
23119
  } | undefined;
23113
- deleted?: ({
23114
- kind: "worktree";
23115
- path: string;
23116
- } | {
23117
- kind: "branch";
23118
- ref: string;
23119
- })[] | undefined;
23120
- remaining: ("branch" | "process" | "worktree")[];
23121
- error?: string | undefined;
23122
23120
  };
23123
23121
  outputFormat: "json";
23124
- status: 200;
23122
+ status: 400 | 401 | 403 | 409 | 503;
23125
23123
  input: {
23126
23124
  query: {
23127
23125
  [x: string]: string | string[];
@@ -23174,7 +23172,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23174
23172
  error?: string | undefined;
23175
23173
  };
23176
23174
  outputFormat: "json";
23177
- status: 409;
23175
+ status: 200;
23178
23176
  input: {
23179
23177
  query: {
23180
23178
  [x: string]: string | string[];
@@ -23190,22 +23188,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23190
23188
  };
23191
23189
  } | {
23192
23190
  output: {
23193
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
23194
- readonly error: string;
23195
- readonly modelChoices?: {
23196
- runner: string;
23197
- requestedModel: string;
23198
- availableModels: {
23199
- id: string;
23200
- label: string;
23201
- description: string;
23202
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
23203
- }[];
23204
- otherRunners: string[];
23191
+ workerId: string;
23192
+ state: "complete" | "incomplete";
23193
+ work?: {
23194
+ uncommittedFiles: number;
23195
+ commits: number;
23205
23196
  } | undefined;
23197
+ deleted?: ({
23198
+ kind: "worktree";
23199
+ path: string;
23200
+ } | {
23201
+ kind: "branch";
23202
+ ref: string;
23203
+ })[] | undefined;
23204
+ remaining: ("branch" | "process" | "worktree")[];
23205
+ error?: string | undefined;
23206
23206
  };
23207
23207
  outputFormat: "json";
23208
- status: 400 | 401 | 403 | 409 | 503;
23208
+ status: 409;
23209
23209
  input: {
23210
23210
  query: {
23211
23211
  [x: string]: string | string[];
@@ -23257,21 +23257,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23257
23257
  } & {
23258
23258
  "/runs/:id/archive": {
23259
23259
  $post: {
23260
- output: {
23261
- error: string;
23262
- };
23263
- outputFormat: "json";
23264
- status: 404;
23265
- input: {
23266
- json: {
23267
- archived?: boolean | undefined;
23268
- };
23269
- } & {
23270
- param: {
23271
- id: string;
23272
- };
23273
- };
23274
- } | {
23275
23260
  output: {
23276
23261
  archiveWhenDone?: boolean | undefined;
23277
23262
  autoMergePr?: boolean | undefined;
@@ -24451,32 +24436,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24451
24436
  id: string;
24452
24437
  };
24453
24438
  };
24454
- };
24455
- };
24456
- } & {
24457
- "/runs/:id/pin": {
24458
- $post: {
24439
+ } | {
24459
24440
  output: {
24460
24441
  error: string;
24461
- code?: "invalid_input" | undefined;
24462
24442
  };
24463
24443
  outputFormat: "json";
24464
- status: 400;
24444
+ status: 404;
24465
24445
  input: {
24466
- param: {
24467
- id: string;
24446
+ json: {
24447
+ archived?: boolean | undefined;
24468
24448
  };
24469
24449
  } & {
24470
- json: {
24471
- pinned?: boolean | undefined;
24450
+ param: {
24451
+ id: string;
24472
24452
  };
24473
24453
  };
24474
- } | {
24454
+ };
24455
+ };
24456
+ } & {
24457
+ "/runs/:id/pin": {
24458
+ $post: {
24475
24459
  output: {
24476
24460
  error: string;
24461
+ code?: "invalid_input" | undefined;
24477
24462
  };
24478
24463
  outputFormat: "json";
24479
- status: 404;
24464
+ status: 400;
24480
24465
  input: {
24481
24466
  param: {
24482
24467
  id: string;
@@ -25666,6 +25651,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25666
25651
  pinned?: boolean | undefined;
25667
25652
  };
25668
25653
  };
25654
+ } | {
25655
+ output: {
25656
+ error: string;
25657
+ };
25658
+ outputFormat: "json";
25659
+ status: 404;
25660
+ input: {
25661
+ param: {
25662
+ id: string;
25663
+ };
25664
+ } & {
25665
+ json: {
25666
+ pinned?: boolean | undefined;
25667
+ };
25668
+ };
25669
25669
  };
25670
25670
  };
25671
25671
  } & {
@@ -25692,7 +25692,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25692
25692
  error: string;
25693
25693
  };
25694
25694
  outputFormat: "json";
25695
- status: 400;
25695
+ status: 404;
25696
25696
  input: {
25697
25697
  param: {
25698
25698
  id: string;
@@ -25708,7 +25708,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25708
25708
  error: string;
25709
25709
  };
25710
25710
  outputFormat: "json";
25711
- status: 404;
25711
+ status: 400;
25712
25712
  input: {
25713
25713
  param: {
25714
25714
  id: string;
@@ -26931,17 +26931,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
26931
26931
  } & {
26932
26932
  "/runs/:id/read": {
26933
26933
  $post: {
26934
- output: {
26935
- error: string;
26936
- };
26937
- outputFormat: "json";
26938
- status: 404;
26939
- input: {
26940
- param: {
26941
- id: string;
26942
- };
26943
- };
26944
- } | {
26945
26934
  output: {
26946
26935
  archiveWhenDone?: boolean | undefined;
26947
26936
  autoMergePr?: boolean | undefined;
@@ -28117,11 +28106,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28117
28106
  id: string;
28118
28107
  };
28119
28108
  };
28120
- };
28121
- };
28122
- } & {
28123
- "/runs/:id/unread": {
28124
- $post: {
28109
+ } | {
28125
28110
  output: {
28126
28111
  error: string;
28127
28112
  };
@@ -28132,7 +28117,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28132
28117
  id: string;
28133
28118
  };
28134
28119
  };
28135
- } | {
28120
+ };
28121
+ };
28122
+ } & {
28123
+ "/runs/:id/unread": {
28124
+ $post: {
28136
28125
  output: {
28137
28126
  archiveWhenDone?: boolean | undefined;
28138
28127
  autoMergePr?: boolean | undefined;
@@ -29308,6 +29297,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29308
29297
  id: string;
29309
29298
  };
29310
29299
  };
29300
+ } | {
29301
+ output: {
29302
+ error: string;
29303
+ };
29304
+ outputFormat: "json";
29305
+ status: 404;
29306
+ input: {
29307
+ param: {
29308
+ id: string;
29309
+ };
29310
+ };
29311
29311
  };
29312
29312
  };
29313
29313
  } & {
@@ -30584,17 +30584,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
30584
30584
  } & {
30585
30585
  "/runs/:id": {
30586
30586
  $get: {
30587
- output: {
30588
- error: string;
30589
- };
30590
- outputFormat: "json";
30591
- status: 404;
30592
- input: {
30593
- param: {
30594
- id: string;
30595
- };
30596
- };
30597
- } | {
30598
30587
  output: {
30599
30588
  archiveWhenDone?: boolean | undefined;
30600
30589
  autoMergePr?: boolean | undefined;
@@ -31778,6 +31767,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31778
31767
  id: string;
31779
31768
  };
31780
31769
  };
31770
+ } | {
31771
+ output: {
31772
+ error: string;
31773
+ };
31774
+ outputFormat: "json";
31775
+ status: 404;
31776
+ input: {
31777
+ param: {
31778
+ id: string;
31779
+ };
31780
+ };
31781
31781
  };
31782
31782
  };
31783
31783
  } & {
@@ -31905,66 +31905,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31905
31905
  } & {
31906
31906
  "/runs/:id": {
31907
31907
  $patch: {
31908
- output: {
31909
- error: string;
31910
- };
31911
- outputFormat: "json";
31912
- status: 400;
31913
- input: {
31914
- json: {
31915
- archiveWhenDone?: boolean | undefined;
31916
- autoMergePr?: boolean | undefined;
31917
- allowWorkers?: boolean | undefined;
31918
- allowMessaging?: boolean | undefined;
31919
- title?: string | undefined;
31920
- task?: string | undefined;
31921
- };
31922
- } & {
31923
- param: {
31924
- id: string;
31925
- };
31926
- };
31927
- } | {
31928
- output: {
31929
- error: string;
31930
- };
31931
- outputFormat: "json";
31932
- status: 404;
31933
- input: {
31934
- json: {
31935
- archiveWhenDone?: boolean | undefined;
31936
- autoMergePr?: boolean | undefined;
31937
- allowWorkers?: boolean | undefined;
31938
- allowMessaging?: boolean | undefined;
31939
- title?: string | undefined;
31940
- task?: string | undefined;
31941
- };
31942
- } & {
31943
- param: {
31944
- id: string;
31945
- };
31946
- };
31947
- } | {
31948
- output: {
31949
- error: string;
31950
- };
31951
- outputFormat: "json";
31952
- status: 409;
31953
- input: {
31954
- json: {
31955
- archiveWhenDone?: boolean | undefined;
31956
- autoMergePr?: boolean | undefined;
31957
- allowWorkers?: boolean | undefined;
31958
- allowMessaging?: boolean | undefined;
31959
- title?: string | undefined;
31960
- task?: string | undefined;
31961
- };
31962
- } & {
31963
- param: {
31964
- id: string;
31965
- };
31966
- };
31967
- } | {
31968
31908
  output: {
31969
31909
  archiveWhenDone?: boolean | undefined;
31970
31910
  autoMergePr?: boolean | undefined;
@@ -33149,6 +33089,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33149
33089
  id: string;
33150
33090
  };
33151
33091
  };
33092
+ } | {
33093
+ output: {
33094
+ error: string;
33095
+ };
33096
+ outputFormat: "json";
33097
+ status: 404;
33098
+ input: {
33099
+ json: {
33100
+ archiveWhenDone?: boolean | undefined;
33101
+ autoMergePr?: boolean | undefined;
33102
+ allowWorkers?: boolean | undefined;
33103
+ allowMessaging?: boolean | undefined;
33104
+ title?: string | undefined;
33105
+ task?: string | undefined;
33106
+ };
33107
+ } & {
33108
+ param: {
33109
+ id: string;
33110
+ };
33111
+ };
33112
+ } | {
33113
+ output: {
33114
+ error: string;
33115
+ };
33116
+ outputFormat: "json";
33117
+ status: 400;
33118
+ input: {
33119
+ json: {
33120
+ archiveWhenDone?: boolean | undefined;
33121
+ autoMergePr?: boolean | undefined;
33122
+ allowWorkers?: boolean | undefined;
33123
+ allowMessaging?: boolean | undefined;
33124
+ title?: string | undefined;
33125
+ task?: string | undefined;
33126
+ };
33127
+ } & {
33128
+ param: {
33129
+ id: string;
33130
+ };
33131
+ };
33132
+ } | {
33133
+ output: {
33134
+ error: string;
33135
+ };
33136
+ outputFormat: "json";
33137
+ status: 409;
33138
+ input: {
33139
+ json: {
33140
+ archiveWhenDone?: boolean | undefined;
33141
+ autoMergePr?: boolean | undefined;
33142
+ allowWorkers?: boolean | undefined;
33143
+ allowMessaging?: boolean | undefined;
33144
+ title?: string | undefined;
33145
+ task?: string | undefined;
33146
+ };
33147
+ } & {
33148
+ param: {
33149
+ id: string;
33150
+ };
33151
+ };
33152
33152
  };
33153
33153
  };
33154
33154
  } & {
@@ -33249,25 +33249,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33249
33249
  } & {
33250
33250
  "/runs/:id/messages": {
33251
33251
  $post: {
33252
- output: {
33253
- error: string;
33254
- };
33255
- outputFormat: "json";
33256
- status: 400;
33257
- input: {
33258
- json: {
33259
- text?: string | undefined;
33260
- images?: {
33261
- mediaType: string;
33262
- data: string;
33263
- }[] | undefined;
33264
- };
33265
- } & {
33266
- param: {
33267
- id: string;
33268
- };
33269
- };
33270
- } | {
33271
33252
  output: {
33272
33253
  error: string;
33273
33254
  };
@@ -33324,6 +33305,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33324
33305
  id: string;
33325
33306
  };
33326
33307
  };
33308
+ } | {
33309
+ output: {
33310
+ error: string;
33311
+ };
33312
+ outputFormat: "json";
33313
+ status: 400;
33314
+ input: {
33315
+ json: {
33316
+ text?: string | undefined;
33317
+ images?: {
33318
+ mediaType: string;
33319
+ data: string;
33320
+ }[] | undefined;
33321
+ };
33322
+ } & {
33323
+ param: {
33324
+ id: string;
33325
+ };
33326
+ };
33327
33327
  } | {
33328
33328
  output: {
33329
33329
  queued: true;
@@ -33378,7 +33378,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33378
33378
  error: string;
33379
33379
  };
33380
33380
  outputFormat: "json";
33381
- status: 400;
33381
+ status: 404;
33382
33382
  input: {
33383
33383
  json: {
33384
33384
  text?: string | undefined;
@@ -33399,7 +33399,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33399
33399
  error: string;
33400
33400
  };
33401
33401
  outputFormat: "json";
33402
- status: 404;
33402
+ status: 400;
33403
33403
  input: {
33404
33404
  json: {
33405
33405
  text?: string | undefined;
@@ -33619,11 +33619,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33619
33619
  "/runs/:id/open-in-cli": {
33620
33620
  $post: {
33621
33621
  output: {
33622
- opened: true;
33623
- command: string;
33622
+ error: string;
33624
33623
  };
33625
33624
  outputFormat: "json";
33626
- status: import("hono/utils/http-status").ContentfulStatusCode;
33625
+ status: 404 | 409;
33627
33626
  input: {
33628
33627
  param: {
33629
33628
  id: string;
@@ -33631,10 +33630,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33631
33630
  };
33632
33631
  } | {
33633
33632
  output: {
33634
- error: string;
33633
+ opened: true;
33634
+ command: string;
33635
33635
  };
33636
33636
  outputFormat: "json";
33637
- status: 404 | 409;
33637
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33638
33638
  input: {
33639
33639
  param: {
33640
33640
  id: string;
@@ -33722,12 +33722,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33722
33722
  } & {
33723
33723
  "/runs/:id/images/:file": {
33724
33724
  $get: {
33725
- output: {
33726
- error: string;
33727
- code?: "invalid_input" | undefined;
33728
- };
33729
- outputFormat: "json";
33730
- status: 400;
33725
+ output: {};
33726
+ outputFormat: string;
33727
+ status: import("hono/utils/http-status").StatusCode;
33731
33728
  input: {
33732
33729
  param: {
33733
33730
  id: string;
@@ -33735,9 +33732,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33735
33732
  };
33736
33733
  };
33737
33734
  } | {
33738
- output: {};
33739
- outputFormat: string;
33740
- status: import("hono/utils/http-status").StatusCode;
33735
+ output: {
33736
+ error: string;
33737
+ code?: "invalid_input" | undefined;
33738
+ };
33739
+ outputFormat: "json";
33740
+ status: 400;
33741
33741
  input: {
33742
33742
  param: {
33743
33743
  id: string;
@@ -33773,6 +33773,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33773
33773
  } & {
33774
33774
  "/runs/:id/changes": {
33775
33775
  $get: {
33776
+ output: {
33777
+ error: string;
33778
+ };
33779
+ outputFormat: "json";
33780
+ status: 404 | 409;
33781
+ input: {
33782
+ param: {
33783
+ id: string;
33784
+ };
33785
+ };
33786
+ } | {
33776
33787
  output: {
33777
33788
  files: {
33778
33789
  path: string;
@@ -33801,7 +33812,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33801
33812
  id: string;
33802
33813
  };
33803
33814
  };
33804
- } | {
33815
+ };
33816
+ };
33817
+ } & {
33818
+ "/runs/:id/commits": {
33819
+ $get: {
33805
33820
  output: {
33806
33821
  error: string;
33807
33822
  };
@@ -33812,11 +33827,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33812
33827
  id: string;
33813
33828
  };
33814
33829
  };
33815
- };
33816
- };
33817
- } & {
33818
- "/runs/:id/commits": {
33819
- $get: {
33830
+ } | {
33820
33831
  output: {
33821
33832
  commits: {
33822
33833
  sha: string;
@@ -33832,7 +33843,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33832
33843
  id: string;
33833
33844
  };
33834
33845
  };
33835
- } | {
33846
+ };
33847
+ };
33848
+ } & {
33849
+ "/runs/:id/commit/:sha": {
33850
+ $get: {
33836
33851
  output: {
33837
33852
  error: string;
33838
33853
  };
@@ -33841,13 +33856,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33841
33856
  input: {
33842
33857
  param: {
33843
33858
  id: string;
33859
+ } & {
33860
+ sha: string;
33844
33861
  };
33845
33862
  };
33846
- };
33847
- };
33848
- } & {
33849
- "/runs/:id/commit/:sha": {
33850
- $get: {
33863
+ } | {
33851
33864
  output: {
33852
33865
  sha: string;
33853
33866
  subject: string;
@@ -33878,19 +33891,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33878
33891
  sha: string;
33879
33892
  };
33880
33893
  };
33881
- } | {
33882
- output: {
33883
- error: string;
33884
- };
33885
- outputFormat: "json";
33886
- status: 404 | 409;
33887
- input: {
33888
- param: {
33889
- id: string;
33890
- } & {
33891
- sha: string;
33892
- };
33893
- };
33894
33894
  };
33895
33895
  };
33896
33896
  } & {
@@ -33914,15 +33914,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33914
33914
  };
33915
33915
  } | {
33916
33916
  output: {
33917
- type: 'file';
33918
- path: string;
33919
- size: number;
33920
- binary: boolean;
33921
- tooLarge: boolean;
33922
- content?: string | undefined;
33917
+ error: string;
33923
33918
  };
33924
33919
  outputFormat: "json";
33925
- status: import("hono/utils/http-status").ContentfulStatusCode;
33920
+ status: 404 | 409;
33926
33921
  input: {
33927
33922
  param: {
33928
33923
  sha: string;
@@ -33935,10 +33930,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33935
33930
  };
33936
33931
  } | {
33937
33932
  output: {
33938
- error: string;
33933
+ type: 'file';
33934
+ path: string;
33935
+ size: number;
33936
+ binary: boolean;
33937
+ tooLarge: boolean;
33938
+ content?: string | undefined;
33939
33939
  };
33940
33940
  outputFormat: "json";
33941
- status: 404 | 409;
33941
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33942
33942
  input: {
33943
33943
  param: {
33944
33944
  sha: string;
@@ -33984,6 +33984,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33984
33984
  raw?: "1" | undefined;
33985
33985
  };
33986
33986
  };
33987
+ } | {
33988
+ output: {
33989
+ error: string;
33990
+ };
33991
+ outputFormat: "json";
33992
+ status: 404 | 409;
33993
+ input: {
33994
+ param: {
33995
+ id: string;
33996
+ };
33997
+ } & {
33998
+ query: {
33999
+ path: string | string[];
34000
+ raw?: "1" | undefined;
34001
+ };
34002
+ };
33987
34003
  } | {
33988
34004
  output: {
33989
34005
  type: "file";
@@ -34020,22 +34036,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34020
34036
  raw?: "1" | undefined;
34021
34037
  };
34022
34038
  };
34023
- } | {
34024
- output: {
34025
- error: string;
34026
- };
34027
- outputFormat: "json";
34028
- status: 404 | 409;
34029
- input: {
34030
- param: {
34031
- id: string;
34032
- };
34033
- } & {
34034
- query: {
34035
- path: string | string[];
34036
- raw?: "1" | undefined;
34037
- };
34038
- };
34039
34039
  };
34040
34040
  };
34041
34041
  } & {
@@ -34100,18 +34100,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34100
34100
  artifactId: string;
34101
34101
  };
34102
34102
  };
34103
- } | {
34104
- output: {
34105
- error: string;
34106
- };
34107
- outputFormat: "json";
34108
- status: 404;
34109
- input: {
34110
- param: {
34111
- id: string;
34112
- artifactId: string;
34113
- };
34114
- };
34115
34103
  } | {
34116
34104
  output: {
34117
34105
  type: "file";
@@ -34140,6 +34128,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34140
34128
  artifactId: string;
34141
34129
  };
34142
34130
  };
34131
+ } | {
34132
+ output: {
34133
+ error: string;
34134
+ };
34135
+ outputFormat: "json";
34136
+ status: 404;
34137
+ input: {
34138
+ param: {
34139
+ id: string;
34140
+ artifactId: string;
34141
+ };
34142
+ };
34143
34143
  };
34144
34144
  };
34145
34145
  } & {
@@ -34317,15 +34317,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34317
34317
  };
34318
34318
  } | {
34319
34319
  output: {
34320
- type: 'file';
34321
- path: string;
34322
- size: number;
34323
- binary: boolean;
34324
- tooLarge: boolean;
34325
- content?: string | undefined;
34320
+ error: string;
34326
34321
  };
34327
34322
  outputFormat: "json";
34328
- status: import("hono/utils/http-status").ContentfulStatusCode;
34323
+ status: 404 | 409;
34329
34324
  input: {
34330
34325
  query: {
34331
34326
  path?: string | undefined;
@@ -34338,14 +34333,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34338
34333
  };
34339
34334
  } | {
34340
34335
  output: {
34341
- type: 'dir';
34336
+ type: 'file';
34342
34337
  path: string;
34343
- entries: {
34344
- name: string;
34345
- type: 'dir' | 'file';
34346
- size?: number;
34347
- chain?: string;
34348
- }[];
34338
+ size: number;
34339
+ binary: boolean;
34340
+ tooLarge: boolean;
34341
+ content?: string | undefined;
34349
34342
  };
34350
34343
  outputFormat: "json";
34351
34344
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -34361,10 +34354,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34361
34354
  };
34362
34355
  } | {
34363
34356
  output: {
34364
- error: string;
34357
+ type: 'dir';
34358
+ path: string;
34359
+ entries: {
34360
+ name: string;
34361
+ type: 'dir' | 'file';
34362
+ size?: number;
34363
+ chain?: string;
34364
+ }[];
34365
34365
  };
34366
34366
  outputFormat: "json";
34367
- status: 404 | 409;
34367
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34368
34368
  input: {
34369
34369
  query: {
34370
34370
  path?: string | undefined;
@@ -34381,11 +34381,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34381
34381
  "/runs/:id/git/commit": {
34382
34382
  $post: {
34383
34383
  output: {
34384
- committed: true;
34385
- sha: string;
34384
+ error: string;
34386
34385
  };
34387
34386
  outputFormat: "json";
34388
- status: import("hono/utils/http-status").ContentfulStatusCode;
34387
+ status: 404 | 409;
34389
34388
  input: {
34390
34389
  json: {
34391
34390
  message: string;
@@ -34397,10 +34396,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34397
34396
  };
34398
34397
  } | {
34399
34398
  output: {
34400
- error: string;
34399
+ committed: true;
34400
+ sha: string;
34401
34401
  };
34402
34402
  outputFormat: "json";
34403
- status: 404 | 409;
34403
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34404
34404
  input: {
34405
34405
  json: {
34406
34406
  message: string;
@@ -34416,13 +34416,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34416
34416
  "/runs/:id/git/push": {
34417
34417
  $post: {
34418
34418
  output: {
34419
- pushed: true;
34420
- branch: string;
34421
- remote: string;
34422
- upstreamSet: boolean;
34419
+ error: string;
34423
34420
  };
34424
34421
  outputFormat: "json";
34425
- status: import("hono/utils/http-status").ContentfulStatusCode;
34422
+ status: 404 | 409;
34426
34423
  input: {
34427
34424
  param: {
34428
34425
  id: string;
@@ -34430,10 +34427,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34430
34427
  };
34431
34428
  } | {
34432
34429
  output: {
34433
- error: string;
34430
+ pushed: true;
34431
+ branch: string;
34432
+ remote: string;
34433
+ upstreamSet: boolean;
34434
34434
  };
34435
34435
  outputFormat: "json";
34436
- status: 404 | 409;
34436
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34437
34437
  input: {
34438
34438
  param: {
34439
34439
  id: string;
@@ -34445,11 +34445,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34445
34445
  "/runs/:id/pr": {
34446
34446
  $post: {
34447
34447
  output: {
34448
- url: string;
34449
- dryRun: boolean;
34448
+ error: string;
34450
34449
  };
34451
34450
  outputFormat: "json";
34452
- status: 201;
34451
+ status: 404 | 409;
34453
34452
  input: {
34454
34453
  param: {
34455
34454
  id: string;
@@ -34457,10 +34456,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34457
34456
  };
34458
34457
  } | {
34459
34458
  output: {
34460
- error: string;
34459
+ url: string;
34460
+ dryRun: boolean;
34461
34461
  };
34462
34462
  outputFormat: "json";
34463
- status: 404 | 409;
34463
+ status: 201;
34464
34464
  input: {
34465
34465
  param: {
34466
34466
  id: string;
@@ -34472,10 +34472,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34472
34472
  "/runs/:id/remove-worktree": {
34473
34473
  $post: {
34474
34474
  output: {
34475
- removed: true;
34475
+ error: string;
34476
34476
  };
34477
34477
  outputFormat: "json";
34478
- status: import("hono/utils/http-status").ContentfulStatusCode;
34478
+ status: 404 | 409;
34479
34479
  input: {
34480
34480
  param: {
34481
34481
  id: string;
@@ -34483,10 +34483,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34483
34483
  };
34484
34484
  } | {
34485
34485
  output: {
34486
- error: string;
34486
+ removed: true;
34487
34487
  };
34488
34488
  outputFormat: "json";
34489
- status: 404 | 409;
34489
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34490
34490
  input: {
34491
34491
  param: {
34492
34492
  id: string;
@@ -34498,10 +34498,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34498
34498
  "/runs/:id": {
34499
34499
  $delete: {
34500
34500
  output: {
34501
- deleted: true;
34501
+ error: string;
34502
34502
  };
34503
34503
  outputFormat: "json";
34504
- status: import("hono/utils/http-status").ContentfulStatusCode;
34504
+ status: 404 | 409;
34505
34505
  input: {
34506
34506
  param: {
34507
34507
  id: string;
@@ -34509,10 +34509,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34509
34509
  };
34510
34510
  } | {
34511
34511
  output: {
34512
- error: string;
34512
+ deleted: true;
34513
34513
  };
34514
34514
  outputFormat: "json";
34515
- status: 404 | 409;
34515
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34516
34516
  input: {
34517
34517
  param: {
34518
34518
  id: string;