@wjarka/cezarion 0.17.0-dev.3031 → 0.17.0-pr1973.3036

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/dist/ci-wait/tools.d.ts +4 -4
  2. package/dist/delegation/destroy-holders.d.ts +2 -0
  3. package/dist/delegation/destroy-holders.js +167 -0
  4. package/dist/delegation/destroy-holders.js.map +1 -0
  5. package/dist/delegation/idle-test-app.js +58 -20
  6. package/dist/delegation/idle-test-app.js.map +1 -1
  7. package/dist/delegation/mount-boundary.d.ts +16 -0
  8. package/dist/delegation/mount-boundary.js +126 -0
  9. package/dist/delegation/mount-boundary.js.map +1 -0
  10. package/dist/delegation/process-liveness.d.ts +3 -0
  11. package/dist/delegation/process-liveness.js +5 -0
  12. package/dist/delegation/process-liveness.js.map +1 -1
  13. package/dist/delegation/service.d.ts +1 -3
  14. package/dist/delegation/service.js +117 -24
  15. package/dist/delegation/service.js.map +1 -1
  16. package/dist/delegation/windows-workspace-identity.d.ts +10 -0
  17. package/dist/delegation/windows-workspace-identity.js +37 -0
  18. package/dist/delegation/windows-workspace-identity.js.map +1 -1
  19. package/dist/delegation/workspace.d.ts +3 -1
  20. package/dist/delegation/workspace.js +324 -29
  21. package/dist/delegation/workspace.js.map +1 -1
  22. package/dist/git-worktree-release.d.ts +1 -1
  23. package/dist/git-worktree-release.js +2 -2
  24. package/dist/git-worktree-release.js.map +1 -1
  25. package/dist/runs/private-worker-file.d.ts +5 -0
  26. package/dist/runs/private-worker-file.js +51 -0
  27. package/dist/runs/private-worker-file.js.map +1 -0
  28. package/dist/runs/store.d.ts +48 -48
  29. package/dist/runs/store.js +47 -87
  30. package/dist/runs/store.js.map +1 -1
  31. package/dist/runs/windows-worker-evidence.d.ts +9 -0
  32. package/dist/runs/windows-worker-evidence.js +71 -0
  33. package/dist/runs/windows-worker-evidence.js.map +1 -0
  34. package/dist/runs/worker-execution.js +17 -1
  35. package/dist/runs/worker-execution.js.map +1 -1
  36. package/dist/server/server.d.ts +1200 -1200
  37. package/dist/workflows/continuation-admission.d.ts +48 -48
  38. package/dist/workflows/run.d.ts +1 -3
  39. package/dist/workflows/run.js +6 -7
  40. package/dist/workflows/run.js.map +1 -1
  41. package/package.json +3 -3
  42. package/scripts/test-fallback-sandbox.mjs +39 -0
  43. package/scripts/windows-workspace-identity.cs +219 -10
  44. package/scripts/windows-workspace-identity.ps1 +6 -0
@@ -324,10 +324,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
324
324
  };
325
325
  } | {
326
326
  output: {
327
- error: string;
327
+ path: string;
328
+ parent: string | null;
329
+ dirs: {
330
+ name: string;
331
+ path: string;
332
+ isRepo: boolean;
333
+ }[];
334
+ truncated: boolean;
328
335
  };
329
336
  outputFormat: "json";
330
- status: 400 | 404;
337
+ status: import("hono/utils/http-status").ContentfulStatusCode;
331
338
  input: {
332
339
  query: {
333
340
  path?: string | undefined;
@@ -336,17 +343,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
336
343
  };
337
344
  } | {
338
345
  output: {
339
- path: string;
340
- parent: string | null;
341
- dirs: {
342
- name: string;
343
- path: string;
344
- isRepo: boolean;
345
- }[];
346
- truncated: boolean;
346
+ error: string;
347
347
  };
348
348
  outputFormat: "json";
349
- status: import("hono/utils/http-status").ContentfulStatusCode;
349
+ status: 400 | 404;
350
350
  input: {
351
351
  query: {
352
352
  path?: string | undefined;
@@ -358,6 +358,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
358
358
  }, "/"> | import("hono/types").MergeSchemaPath<{
359
359
  "/automation-checks/:checkId": {
360
360
  $get: {
361
+ output: {
362
+ error: string;
363
+ };
364
+ outputFormat: "json";
365
+ status: 404;
366
+ input: {
367
+ param: {
368
+ checkId: string;
369
+ };
370
+ };
371
+ } | {
361
372
  output: {
362
373
  id: string;
363
374
  automationId: string;
@@ -376,17 +387,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
376
387
  checkId: string;
377
388
  };
378
389
  };
379
- } | {
380
- output: {
381
- error: string;
382
- };
383
- outputFormat: "json";
384
- status: 404;
385
- input: {
386
- param: {
387
- checkId: string;
388
- };
389
- };
390
390
  };
391
391
  };
392
392
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -838,17 +838,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
838
838
  };
839
839
  } | {
840
840
  output: {
841
- providers: {
842
- provider: ProviderId;
843
- status: import("../core/provider-auth.ts").ProviderConnectionState;
844
- enabled?: boolean;
845
- hint?: string;
846
- authFailureId?: string;
847
- profileId?: string;
848
- }[];
841
+ error: string;
849
842
  };
850
843
  outputFormat: "json";
851
- status: import("hono/utils/http-status").ContentfulStatusCode;
844
+ status: 500;
852
845
  input: {
853
846
  param: {
854
847
  provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
@@ -860,10 +853,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
860
853
  };
861
854
  } | {
862
855
  output: {
863
- error: string;
856
+ providers: {
857
+ provider: ProviderId;
858
+ status: import("../core/provider-auth.ts").ProviderConnectionState;
859
+ enabled?: boolean;
860
+ hint?: string;
861
+ authFailureId?: string;
862
+ profileId?: string;
863
+ }[];
864
864
  };
865
865
  outputFormat: "json";
866
- status: 500;
866
+ status: import("hono/utils/http-status").ContentfulStatusCode;
867
867
  input: {
868
868
  param: {
869
869
  provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
@@ -895,17 +895,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
895
895
  };
896
896
  } | {
897
897
  output: {
898
- providers: {
899
- provider: ProviderId;
900
- status: import("../core/provider-auth.ts").ProviderConnectionState;
901
- enabled?: boolean;
902
- hint?: string;
903
- authFailureId?: string;
904
- profileId?: string;
905
- }[];
898
+ error: string;
906
899
  };
907
900
  outputFormat: "json";
908
- status: import("hono/utils/http-status").ContentfulStatusCode;
901
+ status: 409;
909
902
  input: {
910
903
  param: {
911
904
  provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
@@ -917,10 +910,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
917
910
  };
918
911
  } | {
919
912
  output: {
920
- error: string;
913
+ providers: {
914
+ provider: ProviderId;
915
+ status: import("../core/provider-auth.ts").ProviderConnectionState;
916
+ enabled?: boolean;
917
+ hint?: string;
918
+ authFailureId?: string;
919
+ profileId?: string;
920
+ }[];
921
921
  };
922
922
  outputFormat: "json";
923
- status: 409;
923
+ status: import("hono/utils/http-status").ContentfulStatusCode;
924
924
  input: {
925
925
  param: {
926
926
  provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
@@ -939,7 +939,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
939
939
  error: string;
940
940
  };
941
941
  outputFormat: "json";
942
- status: 409;
942
+ status: 400;
943
943
  input: {
944
944
  json: {
945
945
  provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
@@ -951,7 +951,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
951
951
  error: string;
952
952
  };
953
953
  outputFormat: "json";
954
- status: 400;
954
+ status: 409;
955
955
  input: {
956
956
  json: {
957
957
  provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
@@ -1043,39 +1043,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1043
1043
  "/workspace/config": {
1044
1044
  $put: {
1045
1045
  output: {
1046
- browseRoot: string;
1047
- projectsDir: string;
1048
- archiveOnMerge: boolean | null;
1049
- effectiveArchiveOnMerge: boolean;
1050
- archiveOnMergeSource: "default" | "environment" | "global";
1051
- composerDefaults: {
1052
- autonomous: boolean | null;
1053
- worktree: boolean | null;
1054
- inheritedAutonomous: "source-dependent" | boolean;
1055
- inheritedWorktree: boolean;
1056
- };
1057
- resources: {
1058
- maxParallel: number;
1059
- maxMonitoringSessions: number;
1060
- monitoringWakeIntervalMinutes: number | null;
1061
- autoResumeOnUsageLimit: boolean;
1062
- memoryLimitMb: number | null;
1063
- worktreeRetentionDefault: number;
1064
- };
1065
- agentDefaults: {
1066
- runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
1067
- models?: {
1068
- claude?: string | undefined;
1069
- codex?: string | undefined;
1070
- opencode?: string | undefined;
1071
- pi?: string | undefined;
1072
- cursor?: string | undefined;
1073
- omp?: string | undefined;
1074
- } | undefined;
1075
- };
1046
+ error: string;
1076
1047
  };
1077
1048
  outputFormat: "json";
1078
- status: import("hono/utils/http-status").ContentfulStatusCode;
1049
+ status: 400;
1079
1050
  input: {
1080
1051
  json: {
1081
1052
  browseRoot?: string | undefined;
@@ -1111,7 +1082,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1111
1082
  error: string;
1112
1083
  };
1113
1084
  outputFormat: "json";
1114
- status: 400;
1085
+ status: 500;
1115
1086
  input: {
1116
1087
  json: {
1117
1088
  browseRoot?: string | undefined;
@@ -1144,10 +1115,39 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1144
1115
  };
1145
1116
  } | {
1146
1117
  output: {
1147
- error: string;
1118
+ browseRoot: string;
1119
+ projectsDir: string;
1120
+ archiveOnMerge: boolean | null;
1121
+ effectiveArchiveOnMerge: boolean;
1122
+ archiveOnMergeSource: "default" | "environment" | "global";
1123
+ composerDefaults: {
1124
+ autonomous: boolean | null;
1125
+ worktree: boolean | null;
1126
+ inheritedAutonomous: "source-dependent" | boolean;
1127
+ inheritedWorktree: boolean;
1128
+ };
1129
+ resources: {
1130
+ maxParallel: number;
1131
+ maxMonitoringSessions: number;
1132
+ monitoringWakeIntervalMinutes: number | null;
1133
+ autoResumeOnUsageLimit: boolean;
1134
+ memoryLimitMb: number | null;
1135
+ worktreeRetentionDefault: number;
1136
+ };
1137
+ agentDefaults: {
1138
+ runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
1139
+ models?: {
1140
+ claude?: string | undefined;
1141
+ codex?: string | undefined;
1142
+ opencode?: string | undefined;
1143
+ pi?: string | undefined;
1144
+ cursor?: string | undefined;
1145
+ omp?: string | undefined;
1146
+ } | undefined;
1147
+ };
1148
1148
  };
1149
1149
  outputFormat: "json";
1150
- status: 500;
1150
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1151
1151
  input: {
1152
1152
  json: {
1153
1153
  browseRoot?: string | undefined;
@@ -1231,46 +1231,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1231
1231
  "/workspace/ui-state": {
1232
1232
  $put: {
1233
1233
  output: {
1234
- [x: string]: import("hono/utils/types").JSONValue;
1235
- sidebar?: {
1236
- [x: string]: import("hono/utils/types").JSONValue;
1237
- collapsed?: {
1238
- [x: string]: boolean;
1239
- } | undefined;
1240
- projectOrder?: string[] | undefined;
1241
- } | undefined;
1242
- dismissedProviderAuthFailures?: {
1243
- claude?: string | undefined;
1244
- codex?: string | undefined;
1245
- opencode?: string | undefined;
1246
- pi?: string | undefined;
1247
- cursor?: string | undefined;
1248
- omp?: string | undefined;
1249
- } | undefined;
1250
- appearance?: {
1251
- accent?: "cezarion" | "lime" | "violet" | undefined;
1252
- density?: "comfortable" | "compact" | "ultra" | undefined;
1253
- width?: "narrow" | "wide" | undefined;
1254
- } | undefined;
1255
- notifications?: {
1256
- [x: string]: import("hono/utils/types").JSONValue;
1257
- enabled?: boolean | undefined;
1258
- } | undefined;
1259
- taskTable?: {
1260
- [x: string]: import("hono/utils/types").JSONValue;
1261
- expandedColumns?: {
1262
- [x: string]: boolean;
1263
- } | undefined;
1264
- } | undefined;
1265
- lastLocation?: {
1266
- projectId: string;
1267
- pathname: string;
1268
- search?: string | undefined;
1269
- hash?: string | undefined;
1270
- } | undefined;
1234
+ error: string;
1271
1235
  };
1272
1236
  outputFormat: "json";
1273
- status: import("hono/utils/http-status").ContentfulStatusCode;
1237
+ status: 500;
1274
1238
  input: {
1275
1239
  json: {
1276
1240
  [x: string]: unknown;
@@ -1310,10 +1274,46 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1310
1274
  };
1311
1275
  } | {
1312
1276
  output: {
1313
- error: string;
1277
+ [x: string]: import("hono/utils/types").JSONValue;
1278
+ sidebar?: {
1279
+ [x: string]: import("hono/utils/types").JSONValue;
1280
+ collapsed?: {
1281
+ [x: string]: boolean;
1282
+ } | undefined;
1283
+ projectOrder?: string[] | undefined;
1284
+ } | undefined;
1285
+ dismissedProviderAuthFailures?: {
1286
+ claude?: string | undefined;
1287
+ codex?: string | undefined;
1288
+ opencode?: string | undefined;
1289
+ pi?: string | undefined;
1290
+ cursor?: string | undefined;
1291
+ omp?: string | undefined;
1292
+ } | undefined;
1293
+ appearance?: {
1294
+ accent?: "cezarion" | "lime" | "violet" | undefined;
1295
+ density?: "comfortable" | "compact" | "ultra" | undefined;
1296
+ width?: "narrow" | "wide" | undefined;
1297
+ } | undefined;
1298
+ notifications?: {
1299
+ [x: string]: import("hono/utils/types").JSONValue;
1300
+ enabled?: boolean | undefined;
1301
+ } | undefined;
1302
+ taskTable?: {
1303
+ [x: string]: import("hono/utils/types").JSONValue;
1304
+ expandedColumns?: {
1305
+ [x: string]: boolean;
1306
+ } | undefined;
1307
+ } | undefined;
1308
+ lastLocation?: {
1309
+ projectId: string;
1310
+ pathname: string;
1311
+ search?: string | undefined;
1312
+ hash?: string | undefined;
1313
+ } | undefined;
1314
1314
  };
1315
1315
  outputFormat: "json";
1316
- status: 500;
1316
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1317
1317
  input: {
1318
1318
  json: {
1319
1319
  [x: string]: unknown;
@@ -1427,45 +1427,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1427
1427
  } & {
1428
1428
  "/workspace/agent-profiles": {
1429
1429
  $post: {
1430
- output: {
1431
- error: string;
1432
- };
1433
- outputFormat: "json";
1434
- status: 409;
1435
- input: {
1436
- json: {
1437
- provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
1438
- label?: string | undefined;
1439
- configDir: string;
1440
- };
1441
- };
1442
- } | {
1443
- output: {
1444
- error: string;
1445
- };
1446
- outputFormat: "json";
1447
- status: 400;
1448
- input: {
1449
- json: {
1450
- provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
1451
- label?: string | undefined;
1452
- configDir: string;
1453
- };
1454
- };
1455
- } | {
1456
- output: {
1457
- error: string;
1458
- };
1459
- outputFormat: "json";
1460
- status: 500;
1461
- input: {
1462
- json: {
1463
- provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
1464
- label?: string | undefined;
1465
- configDir: string;
1466
- };
1467
- };
1468
- } | {
1469
1430
  output: {
1470
1431
  profile: {
1471
1432
  exists: boolean;
@@ -1516,6 +1477,45 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1516
1477
  configDir: string;
1517
1478
  };
1518
1479
  };
1480
+ } | {
1481
+ output: {
1482
+ error: string;
1483
+ };
1484
+ outputFormat: "json";
1485
+ status: 400;
1486
+ input: {
1487
+ json: {
1488
+ provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
1489
+ label?: string | undefined;
1490
+ configDir: string;
1491
+ };
1492
+ };
1493
+ } | {
1494
+ output: {
1495
+ error: string;
1496
+ };
1497
+ outputFormat: "json";
1498
+ status: 409;
1499
+ input: {
1500
+ json: {
1501
+ provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
1502
+ label?: string | undefined;
1503
+ configDir: string;
1504
+ };
1505
+ };
1506
+ } | {
1507
+ output: {
1508
+ error: string;
1509
+ };
1510
+ outputFormat: "json";
1511
+ status: 500;
1512
+ input: {
1513
+ json: {
1514
+ provider: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
1515
+ label?: string | undefined;
1516
+ configDir: string;
1517
+ };
1518
+ };
1519
1519
  };
1520
1520
  };
1521
1521
  } & {
@@ -1542,7 +1542,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1542
1542
  error: string;
1543
1543
  };
1544
1544
  outputFormat: "json";
1545
- status: 409;
1545
+ status: 400;
1546
1546
  input: {
1547
1547
  param: {
1548
1548
  id: string;
@@ -1558,7 +1558,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1558
1558
  error: string;
1559
1559
  };
1560
1560
  outputFormat: "json";
1561
- status: 400;
1561
+ status: 404;
1562
1562
  input: {
1563
1563
  param: {
1564
1564
  id: string;
@@ -1574,7 +1574,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1574
1574
  error: string;
1575
1575
  };
1576
1576
  outputFormat: "json";
1577
- status: 404;
1577
+ status: 409;
1578
1578
  input: {
1579
1579
  param: {
1580
1580
  id: string;
@@ -1680,7 +1680,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1680
1680
  error: string;
1681
1681
  };
1682
1682
  outputFormat: "json";
1683
- status: 409;
1683
+ status: 404;
1684
1684
  input: {
1685
1685
  param: {
1686
1686
  id: string;
@@ -1695,7 +1695,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1695
1695
  error: string;
1696
1696
  };
1697
1697
  outputFormat: "json";
1698
- status: 404;
1698
+ status: 409;
1699
1699
  input: {
1700
1700
  param: {
1701
1701
  id: string;
@@ -1768,7 +1768,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1768
1768
  error: string;
1769
1769
  };
1770
1770
  outputFormat: "json";
1771
- status: 409;
1771
+ status: 404;
1772
1772
  input: {
1773
1773
  param: {
1774
1774
  id: string;
@@ -1779,7 +1779,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1779
1779
  error: string;
1780
1780
  };
1781
1781
  outputFormat: "json";
1782
- status: 404;
1782
+ status: 409;
1783
1783
  input: {
1784
1784
  param: {
1785
1785
  id: string;
@@ -1827,7 +1827,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1827
1827
  error: string;
1828
1828
  };
1829
1829
  outputFormat: "json";
1830
- status: 409;
1830
+ status: 400;
1831
1831
  input: {
1832
1832
  param: {
1833
1833
  id: string;
@@ -1859,7 +1859,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1859
1859
  error: string;
1860
1860
  };
1861
1861
  outputFormat: "json";
1862
- status: 400;
1862
+ status: 409;
1863
1863
  input: {
1864
1864
  param: {
1865
1865
  id: string;
@@ -1896,7 +1896,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1896
1896
  error: string;
1897
1897
  };
1898
1898
  outputFormat: "json";
1899
- status: 409;
1899
+ status: 400;
1900
1900
  input: {
1901
1901
  json: {
1902
1902
  projectId: string | null;
@@ -1922,7 +1922,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1922
1922
  error: string;
1923
1923
  };
1924
1924
  outputFormat: "json";
1925
- status: 400;
1925
+ status: 409;
1926
1926
  input: {
1927
1927
  json: {
1928
1928
  projectId: string | null;
@@ -1996,7 +1996,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1996
1996
  error: string;
1997
1997
  };
1998
1998
  outputFormat: "json";
1999
- status: 409;
1999
+ status: 404;
2000
2000
  input: {
2001
2001
  param: {
2002
2002
  id: string;
@@ -2007,7 +2007,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2007
2007
  error: string;
2008
2008
  };
2009
2009
  outputFormat: "json";
2010
- status: 500;
2010
+ status: 409;
2011
2011
  input: {
2012
2012
  param: {
2013
2013
  id: string;
@@ -2018,7 +2018,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2018
2018
  error: string;
2019
2019
  };
2020
2020
  outputFormat: "json";
2021
- status: 404;
2021
+ status: 500;
2022
2022
  input: {
2023
2023
  param: {
2024
2024
  id: string;
@@ -2175,7 +2175,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2175
2175
  error: string;
2176
2176
  };
2177
2177
  outputFormat: "json";
2178
- status: 409;
2178
+ status: 404;
2179
2179
  input: {
2180
2180
  param: {
2181
2181
  projectId: string;
@@ -2186,7 +2186,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2186
2186
  error: string;
2187
2187
  };
2188
2188
  outputFormat: "json";
2189
- status: 404;
2189
+ status: 409;
2190
2190
  input: {
2191
2191
  param: {
2192
2192
  projectId: string;
@@ -2224,7 +2224,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2224
2224
  error: string;
2225
2225
  };
2226
2226
  outputFormat: "json";
2227
- status: 409;
2227
+ status: 404;
2228
2228
  input: {
2229
2229
  json: {
2230
2230
  maxParallel?: number | null | undefined;
@@ -2245,7 +2245,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2245
2245
  error: string;
2246
2246
  };
2247
2247
  outputFormat: "json";
2248
- status: 404;
2248
+ status: 409;
2249
2249
  input: {
2250
2250
  json: {
2251
2251
  maxParallel?: number | null | undefined;
@@ -2341,7 +2341,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2341
2341
  error: string;
2342
2342
  };
2343
2343
  outputFormat: "json";
2344
- status: 409;
2344
+ status: 400;
2345
2345
  input: {
2346
2346
  param: {
2347
2347
  projectId: string;
@@ -2363,7 +2363,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2363
2363
  error: string;
2364
2364
  };
2365
2365
  outputFormat: "json";
2366
- status: 400;
2366
+ status: 409;
2367
2367
  input: {
2368
2368
  param: {
2369
2369
  projectId: string;
@@ -2388,27 +2388,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2388
2388
  } & {
2389
2389
  "/projects/:projectId/webhooks": {
2390
2390
  $post: {
2391
- output: {
2392
- error: string;
2393
- };
2394
- outputFormat: "json";
2395
- status: 400 | 404 | 409 | 500;
2396
- input: {
2397
- json: {
2398
- name: string;
2399
- description?: string | undefined;
2400
- url: string;
2401
- token?: string | undefined;
2402
- tasks?: boolean | undefined;
2403
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2404
- agent?: boolean | undefined;
2405
- };
2406
- } & {
2407
- param: {
2408
- projectId: string;
2409
- };
2410
- };
2411
- } | {
2412
2391
  output: {
2413
2392
  project: {
2414
2393
  id: string;
@@ -2467,6 +2446,27 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2467
2446
  projectId: string;
2468
2447
  };
2469
2448
  };
2449
+ } | {
2450
+ output: {
2451
+ error: string;
2452
+ };
2453
+ outputFormat: "json";
2454
+ status: 400 | 404 | 409 | 500;
2455
+ input: {
2456
+ json: {
2457
+ name: string;
2458
+ description?: string | undefined;
2459
+ url: string;
2460
+ token?: string | undefined;
2461
+ tasks?: boolean | undefined;
2462
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2463
+ agent?: boolean | undefined;
2464
+ };
2465
+ } & {
2466
+ param: {
2467
+ projectId: string;
2468
+ };
2469
+ };
2470
2470
  };
2471
2471
  };
2472
2472
  } & {
@@ -2668,7 +2668,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2668
2668
  error: string;
2669
2669
  };
2670
2670
  outputFormat: "json";
2671
- status: 409;
2671
+ status: 404;
2672
2672
  input: {
2673
2673
  param: {
2674
2674
  projectId: string;
@@ -2677,13 +2677,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2677
2677
  };
2678
2678
  } | {
2679
2679
  output: {
2680
- ok: boolean;
2681
- status?: number | undefined;
2682
- error?: string | undefined;
2683
- dryRun?: boolean | undefined;
2680
+ error: string;
2684
2681
  };
2685
2682
  outputFormat: "json";
2686
- status: import("hono/utils/http-status").ContentfulStatusCode;
2683
+ status: 409;
2687
2684
  input: {
2688
2685
  param: {
2689
2686
  projectId: string;
@@ -2692,10 +2689,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2692
2689
  };
2693
2690
  } | {
2694
2691
  output: {
2695
- error: string;
2692
+ ok: boolean;
2693
+ status?: number | undefined;
2694
+ error?: string | undefined;
2695
+ dryRun?: boolean | undefined;
2696
2696
  };
2697
2697
  outputFormat: "json";
2698
- status: 404;
2698
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2699
2699
  input: {
2700
2700
  param: {
2701
2701
  projectId: string;
@@ -3146,7 +3146,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3146
3146
  error: string;
3147
3147
  };
3148
3148
  outputFormat: "json";
3149
- status: 409;
3149
+ status: 400;
3150
3150
  input: {
3151
3151
  json: {
3152
3152
  target: string;
@@ -3157,7 +3157,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3157
3157
  error: string;
3158
3158
  };
3159
3159
  outputFormat: "json";
3160
- status: 400;
3160
+ status: 409;
3161
3161
  input: {
3162
3162
  json: {
3163
3163
  target: string;
@@ -3180,9 +3180,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3180
3180
  }, "/"> | import("hono/types").MergeSchemaPath<{
3181
3181
  "/runs/:id/events": {
3182
3182
  $get: {
3183
- output: {};
3184
- outputFormat: string;
3185
- status: import("hono/utils/http-status").StatusCode;
3183
+ output: {
3184
+ error: string;
3185
+ code?: "invalid_input" | undefined;
3186
+ };
3187
+ outputFormat: "json";
3188
+ status: 400;
3186
3189
  input: {
3187
3190
  param: {
3188
3191
  id: string;
@@ -3194,12 +3197,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3194
3197
  };
3195
3198
  };
3196
3199
  } | {
3197
- output: {
3198
- error: string;
3199
- code?: "invalid_input" | undefined;
3200
- };
3201
- outputFormat: "json";
3202
- status: 400;
3200
+ output: {};
3201
+ outputFormat: string;
3202
+ status: import("hono/utils/http-status").StatusCode;
3203
3203
  input: {
3204
3204
  param: {
3205
3205
  id: string;
@@ -3260,34 +3260,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3260
3260
  "/config": {
3261
3261
  $put: {
3262
3262
  output: {
3263
- archiveOnMerge: boolean | null;
3264
- effectiveArchiveOnMerge: boolean;
3265
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
3266
- baseBranch: string | null;
3267
- defaultRunner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
3268
- systemPrompt: string | null;
3269
- defaultModels: {
3270
- claude?: string | undefined;
3271
- codex?: string | undefined;
3272
- opencode?: string | undefined;
3273
- pi?: string | undefined;
3274
- cursor?: string | undefined;
3275
- omp?: string | undefined;
3276
- };
3277
- modelsLocked: boolean;
3278
- maxParallel: number;
3279
- memoryLimitMb: number | null;
3280
- worktreeRetention: number;
3281
- liveTitleUpdates: boolean | null;
3282
- reviewGate: boolean | null;
3283
- worktreeSetup: {
3284
- commands: string[];
3285
- timeoutSeconds: number;
3286
- } | null;
3287
- worktreeSetupIssue: string | null;
3263
+ error: string;
3288
3264
  };
3289
3265
  outputFormat: "json";
3290
- status: import("hono/utils/http-status").ContentfulStatusCode;
3266
+ status: 409;
3291
3267
  input: {
3292
3268
  json: {
3293
3269
  archiveOnMerge?: boolean | null | undefined;
@@ -3318,7 +3294,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3318
3294
  error: string;
3319
3295
  };
3320
3296
  outputFormat: "json";
3321
- status: 409;
3297
+ status: 500;
3322
3298
  input: {
3323
3299
  json: {
3324
3300
  archiveOnMerge?: boolean | null | undefined;
@@ -3346,10 +3322,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3346
3322
  };
3347
3323
  } | {
3348
3324
  output: {
3349
- error: string;
3325
+ archiveOnMerge: boolean | null;
3326
+ effectiveArchiveOnMerge: boolean;
3327
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
3328
+ baseBranch: string | null;
3329
+ defaultRunner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
3330
+ systemPrompt: string | null;
3331
+ defaultModels: {
3332
+ claude?: string | undefined;
3333
+ codex?: string | undefined;
3334
+ opencode?: string | undefined;
3335
+ pi?: string | undefined;
3336
+ cursor?: string | undefined;
3337
+ omp?: string | undefined;
3338
+ };
3339
+ modelsLocked: boolean;
3340
+ maxParallel: number;
3341
+ memoryLimitMb: number | null;
3342
+ worktreeRetention: number;
3343
+ liveTitleUpdates: boolean | null;
3344
+ reviewGate: boolean | null;
3345
+ worktreeSetup: {
3346
+ commands: string[];
3347
+ timeoutSeconds: number;
3348
+ } | null;
3349
+ worktreeSetupIssue: string | null;
3350
3350
  };
3351
3351
  outputFormat: "json";
3352
- status: 500;
3352
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3353
3353
  input: {
3354
3354
  json: {
3355
3355
  archiveOnMerge?: boolean | null | undefined;
@@ -3380,25 +3380,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3380
3380
  }, "/"> | import("hono/types").MergeSchemaPath<{
3381
3381
  "/voice/decide": {
3382
3382
  $post: {
3383
- output: {
3384
- error: string;
3385
- };
3386
- outputFormat: "json";
3387
- status: 503;
3388
- input: {
3389
- json: {
3390
- text: string;
3391
- sidebarView: "active" | "automations";
3392
- openRunId?: string | undefined;
3393
- view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
3394
- askRequestId?: string | null | undefined;
3395
- proposal?: {
3396
- decisionId: string;
3397
- action: "answer" | "tell";
3398
- } | undefined;
3399
- };
3400
- };
3401
- } | {
3402
3383
  output: {
3403
3384
  action: "open";
3404
3385
  decisionId: string;
@@ -3456,6 +3437,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3456
3437
  } | undefined;
3457
3438
  };
3458
3439
  };
3440
+ } | {
3441
+ output: {
3442
+ error: string;
3443
+ };
3444
+ outputFormat: "json";
3445
+ status: 503;
3446
+ input: {
3447
+ json: {
3448
+ text: string;
3449
+ sidebarView: "active" | "automations";
3450
+ openRunId?: string | undefined;
3451
+ view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
3452
+ askRequestId?: string | null | undefined;
3453
+ proposal?: {
3454
+ decisionId: string;
3455
+ action: "answer" | "tell";
3456
+ } | undefined;
3457
+ };
3458
+ };
3459
3459
  };
3460
3460
  };
3461
3461
  } & {
@@ -3560,6 +3560,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3560
3560
  }, "/"> | import("hono/types").MergeSchemaPath<{
3561
3561
  "/skills": {
3562
3562
  $get: {
3563
+ output: {
3564
+ error: string;
3565
+ code?: "invalid_input" | undefined;
3566
+ };
3567
+ outputFormat: "json";
3568
+ status: 400;
3569
+ input: {
3570
+ query: {
3571
+ wait?: string | undefined;
3572
+ };
3573
+ };
3574
+ } | {
3563
3575
  output: {
3564
3576
  name: string;
3565
3577
  description?: string | undefined;
@@ -3582,7 +3594,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3582
3594
  wait?: string | undefined;
3583
3595
  };
3584
3596
  };
3585
- } | {
3597
+ };
3598
+ };
3599
+ } & {
3600
+ "/skills/importable": {
3601
+ $get: {
3586
3602
  output: {
3587
3603
  error: string;
3588
3604
  code?: "invalid_input" | undefined;
@@ -3594,11 +3610,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3594
3610
  wait?: string | undefined;
3595
3611
  };
3596
3612
  };
3597
- };
3598
- };
3599
- } & {
3600
- "/skills/importable": {
3601
- $get: {
3613
+ } | {
3602
3614
  output: {
3603
3615
  name: string;
3604
3616
  description?: string | undefined;
@@ -3621,18 +3633,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3621
3633
  wait?: string | undefined;
3622
3634
  };
3623
3635
  };
3624
- } | {
3625
- output: {
3626
- error: string;
3627
- code?: "invalid_input" | undefined;
3628
- };
3629
- outputFormat: "json";
3630
- status: 400;
3631
- input: {
3632
- query: {
3633
- wait?: string | undefined;
3634
- };
3635
- };
3636
3636
  };
3637
3637
  };
3638
3638
  } & {
@@ -3833,14 +3833,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3833
3833
  "/agent-config/:id": {
3834
3834
  $put: {
3835
3835
  output: {
3836
- id: string;
3837
- path: string;
3838
- exists: boolean;
3839
- content: string;
3840
- version: string | null;
3836
+ error: string;
3841
3837
  };
3842
3838
  outputFormat: "json";
3843
- status: import("hono/utils/http-status").ContentfulStatusCode;
3839
+ status: 404;
3844
3840
  input: {
3845
3841
  json: {
3846
3842
  content: string;
@@ -3853,10 +3849,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3853
3849
  };
3854
3850
  } | {
3855
3851
  output: {
3856
- error: string;
3852
+ id: string;
3853
+ path: string;
3854
+ exists: boolean;
3855
+ content: string;
3856
+ version: string | null;
3857
3857
  };
3858
3858
  outputFormat: "json";
3859
- status: 404;
3859
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3860
3860
  input: {
3861
3861
  json: {
3862
3862
  content: string;
@@ -3927,10 +3927,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3927
3927
  "/workflows": {
3928
3928
  $post: {
3929
3929
  output: {
3930
- error: string;
3930
+ path: string;
3931
+ name: string;
3931
3932
  };
3932
3933
  outputFormat: "json";
3933
- status: 400;
3934
+ status: 201;
3934
3935
  input: {
3935
3936
  json: {
3936
3937
  name: string;
@@ -3960,10 +3961,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3960
3961
  } | {
3961
3962
  output: {
3962
3963
  error: string;
3963
- exists: true;
3964
3964
  };
3965
3965
  outputFormat: "json";
3966
- status: 409;
3966
+ status: 400;
3967
3967
  input: {
3968
3968
  json: {
3969
3969
  name: string;
@@ -3993,9 +3993,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3993
3993
  } | {
3994
3994
  output: {
3995
3995
  error: string;
3996
+ exists: true;
3996
3997
  };
3997
3998
  outputFormat: "json";
3998
- status: 500;
3999
+ status: 409;
3999
4000
  input: {
4000
4001
  json: {
4001
4002
  name: string;
@@ -4024,11 +4025,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4024
4025
  };
4025
4026
  } | {
4026
4027
  output: {
4027
- path: string;
4028
- name: string;
4028
+ error: string;
4029
4029
  };
4030
4030
  outputFormat: "json";
4031
- status: 201;
4031
+ status: 500;
4032
4032
  input: {
4033
4033
  json: {
4034
4034
  name: string;
@@ -4064,7 +4064,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4064
4064
  error: string;
4065
4065
  };
4066
4066
  outputFormat: "json";
4067
- status: 404;
4067
+ status: 400;
4068
4068
  input: {
4069
4069
  param: {
4070
4070
  name: string;
@@ -4075,7 +4075,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4075
4075
  error: string;
4076
4076
  };
4077
4077
  outputFormat: "json";
4078
- status: 400;
4078
+ status: 404;
4079
4079
  input: {
4080
4080
  param: {
4081
4081
  name: string;
@@ -4250,14 +4250,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4250
4250
  "/repo/branches/delete": {
4251
4251
  $post: {
4252
4252
  output: {
4253
- error: string;
4253
+ deleted: string[];
4254
4254
  refused: {
4255
4255
  name: string;
4256
4256
  reason: string;
4257
4257
  }[];
4258
+ dropped?: {
4259
+ sha: string;
4260
+ subject: string;
4261
+ }[] | undefined;
4258
4262
  };
4259
4263
  outputFormat: "json";
4260
- status: 409;
4264
+ status: 200;
4261
4265
  input: {
4262
4266
  json: {
4263
4267
  names: string[];
@@ -4266,18 +4270,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4266
4270
  };
4267
4271
  } | {
4268
4272
  output: {
4269
- deleted: string[];
4273
+ error: string;
4270
4274
  refused: {
4271
4275
  name: string;
4272
4276
  reason: string;
4273
4277
  }[];
4274
- dropped?: {
4275
- sha: string;
4276
- subject: string;
4277
- }[] | undefined;
4278
4278
  };
4279
4279
  outputFormat: "json";
4280
- status: 200;
4280
+ status: 409;
4281
4281
  input: {
4282
4282
  json: {
4283
4283
  names: string[];
@@ -4298,9 +4298,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4298
4298
  } & {
4299
4299
  "/repo/commit/:sha": {
4300
4300
  $get: {
4301
- output: string;
4302
- outputFormat: "text";
4303
- status: import("hono/utils/http-status").ContentfulStatusCode;
4301
+ output: {
4302
+ error: string;
4303
+ code?: "invalid_input" | undefined;
4304
+ };
4305
+ outputFormat: "json";
4306
+ status: 400;
4304
4307
  input: {
4305
4308
  query: {
4306
4309
  structured?: string | undefined;
@@ -4313,10 +4316,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4313
4316
  } | {
4314
4317
  output: {
4315
4318
  error: string;
4316
- code?: "invalid_input" | undefined;
4317
4319
  };
4318
4320
  outputFormat: "json";
4319
- status: 400;
4321
+ status: 409;
4320
4322
  input: {
4321
4323
  query: {
4322
4324
  structured?: string | undefined;
@@ -4360,11 +4362,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4360
4362
  };
4361
4363
  };
4362
4364
  } | {
4363
- output: {
4364
- error: string;
4365
- };
4366
- outputFormat: "json";
4367
- status: 409;
4365
+ output: string;
4366
+ outputFormat: "text";
4367
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4368
4368
  input: {
4369
4369
  query: {
4370
4370
  structured?: string | undefined;
@@ -4379,6 +4379,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4379
4379
  } & {
4380
4380
  "/repo/changes": {
4381
4381
  $get: {
4382
+ output: {
4383
+ error: string;
4384
+ };
4385
+ outputFormat: "json";
4386
+ status: 409;
4387
+ input: {};
4388
+ } | {
4382
4389
  output: {
4383
4390
  files: {
4384
4391
  path: string;
@@ -4403,13 +4410,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4403
4410
  outputFormat: "json";
4404
4411
  status: import("hono/utils/http-status").ContentfulStatusCode;
4405
4412
  input: {};
4406
- } | {
4407
- output: {
4408
- error: string;
4409
- };
4410
- outputFormat: "json";
4411
- status: 409;
4412
- input: {};
4413
4413
  };
4414
4414
  };
4415
4415
  } & {
@@ -4434,10 +4434,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4434
4434
  "/repo/pull": {
4435
4435
  $post: {
4436
4436
  output: {
4437
- error: string;
4437
+ branch: string;
4438
+ pulled: true;
4439
+ summary: string;
4438
4440
  };
4439
4441
  outputFormat: "json";
4440
- status: 409;
4442
+ status: 200;
4441
4443
  input: {
4442
4444
  json: {
4443
4445
  branch?: string | undefined;
@@ -4446,12 +4448,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4446
4448
  };
4447
4449
  } | {
4448
4450
  output: {
4449
- branch: string;
4450
- pulled: true;
4451
- summary: string;
4451
+ error: string;
4452
4452
  };
4453
4453
  outputFormat: "json";
4454
- status: 200;
4454
+ status: 409;
4455
4455
  input: {
4456
4456
  json: {
4457
4457
  branch?: string | undefined;
@@ -5386,20 +5386,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5386
5386
  "/automations": {
5387
5387
  $post: {
5388
5388
  output: {
5389
- error: string;
5390
- };
5391
- outputFormat: "json";
5392
- status: 400 | 404 | 409;
5393
- input: {
5394
- json: {
5389
+ automation: {
5390
+ [x: string]: import("hono/utils/types").JSONValue;
5391
+ id: string;
5392
+ revision: number;
5395
5393
  name: string;
5396
5394
  description?: string | undefined;
5397
- enabled?: boolean | undefined;
5398
- kind?: "github" | "schedule" | undefined;
5395
+ enabled: boolean;
5396
+ kind: "github" | "schedule";
5399
5397
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
5400
5398
  intervalSeconds?: number | undefined;
5401
5399
  filters?: {
5402
- [x: string]: unknown;
5400
+ [x: string]: import("hono/utils/types").JSONValue;
5403
5401
  includeExisting?: boolean | undefined;
5404
5402
  requireCurrentLabels?: boolean | undefined;
5405
5403
  authors?: string[] | undefined;
@@ -5408,10 +5406,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5408
5406
  anyLabels?: string[] | undefined;
5409
5407
  excludeLabels?: string[] | undefined;
5410
5408
  changedLabels?: string[] | undefined;
5411
- lookbackDays?: number | undefined;
5412
- maxRecords?: number | undefined;
5409
+ lookbackDays: number;
5410
+ maxRecords: number;
5413
5411
  } | undefined;
5414
5412
  schedule?: {
5413
+ [x: string]: import("hono/utils/types").JSONValue;
5415
5414
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
5416
5415
  hour?: number | undefined;
5417
5416
  minute?: number | undefined;
@@ -5422,7 +5421,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5422
5421
  latestStartMinutes?: number | undefined;
5423
5422
  } | undefined;
5424
5423
  task: {
5425
- [x: string]: unknown;
5424
+ [x: string]: import("hono/utils/types").JSONValue;
5426
5425
  prompt: string;
5427
5426
  workflow?: string | undefined;
5428
5427
  steps?: {
@@ -5440,36 +5439,49 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5440
5439
  command?: string | undefined;
5441
5440
  onFail?: {
5442
5441
  retry: string;
5443
- max?: number | undefined;
5442
+ max: number;
5444
5443
  } | undefined;
5445
5444
  }[] | undefined;
5446
5445
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
5447
5446
  model?: string | undefined;
5448
5447
  effort?: string | undefined;
5448
+ variants?: 1 | 2 | 3 | undefined;
5449
5449
  worktree?: boolean | undefined;
5450
5450
  autonomous?: boolean | undefined;
5451
5451
  archiveWhenDone?: boolean | undefined;
5452
5452
  autoMergePr?: boolean | undefined;
5453
5453
  systemPrompt?: string | undefined;
5454
- variants?: 1 | undefined;
5455
5454
  };
5456
- enable?: boolean | undefined;
5455
+ archived?: {
5456
+ [x: string]: import("hono/utils/types").JSONValue;
5457
+ at: string;
5458
+ outcome: "cancelled" | "launched";
5459
+ runId?: string | undefined;
5460
+ receiptId?: string | undefined;
5461
+ trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
5462
+ } | undefined;
5463
+ createdAt: string;
5464
+ updatedAt: string;
5457
5465
  };
5466
+ once?: {
5467
+ dueAt: string;
5468
+ timeZone: string;
5469
+ resolvedInstant: string;
5470
+ note: string;
5471
+ } | undefined;
5458
5472
  };
5459
- } | {
5460
- output: {
5461
- automation: {
5462
- [x: string]: import("hono/utils/types").JSONValue;
5463
- id: string;
5464
- revision: number;
5473
+ outputFormat: "json";
5474
+ status: 201;
5475
+ input: {
5476
+ json: {
5465
5477
  name: string;
5466
5478
  description?: string | undefined;
5467
- enabled: boolean;
5468
- kind: "github" | "schedule";
5479
+ enabled?: boolean | undefined;
5480
+ kind?: "github" | "schedule" | undefined;
5469
5481
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
5470
5482
  intervalSeconds?: number | undefined;
5471
5483
  filters?: {
5472
- [x: string]: import("hono/utils/types").JSONValue;
5484
+ [x: string]: unknown;
5473
5485
  includeExisting?: boolean | undefined;
5474
5486
  requireCurrentLabels?: boolean | undefined;
5475
5487
  authors?: string[] | undefined;
@@ -5478,11 +5490,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5478
5490
  anyLabels?: string[] | undefined;
5479
5491
  excludeLabels?: string[] | undefined;
5480
5492
  changedLabels?: string[] | undefined;
5481
- lookbackDays: number;
5482
- maxRecords: number;
5493
+ lookbackDays?: number | undefined;
5494
+ maxRecords?: number | undefined;
5483
5495
  } | undefined;
5484
5496
  schedule?: {
5485
- [x: string]: import("hono/utils/types").JSONValue;
5486
5497
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
5487
5498
  hour?: number | undefined;
5488
5499
  minute?: number | undefined;
@@ -5493,7 +5504,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5493
5504
  latestStartMinutes?: number | undefined;
5494
5505
  } | undefined;
5495
5506
  task: {
5496
- [x: string]: import("hono/utils/types").JSONValue;
5507
+ [x: string]: unknown;
5497
5508
  prompt: string;
5498
5509
  workflow?: string | undefined;
5499
5510
  steps?: {
@@ -5511,39 +5522,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5511
5522
  command?: string | undefined;
5512
5523
  onFail?: {
5513
5524
  retry: string;
5514
- max: number;
5525
+ max?: number | undefined;
5515
5526
  } | undefined;
5516
5527
  }[] | undefined;
5517
5528
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
5518
5529
  model?: string | undefined;
5519
5530
  effort?: string | undefined;
5520
- variants?: 1 | 2 | 3 | undefined;
5521
5531
  worktree?: boolean | undefined;
5522
5532
  autonomous?: boolean | undefined;
5523
5533
  archiveWhenDone?: boolean | undefined;
5524
5534
  autoMergePr?: boolean | undefined;
5525
5535
  systemPrompt?: string | undefined;
5536
+ variants?: 1 | undefined;
5526
5537
  };
5527
- archived?: {
5528
- [x: string]: import("hono/utils/types").JSONValue;
5529
- at: string;
5530
- outcome: "cancelled" | "launched";
5531
- runId?: string | undefined;
5532
- receiptId?: string | undefined;
5533
- trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
5534
- } | undefined;
5535
- createdAt: string;
5536
- updatedAt: string;
5538
+ enable?: boolean | undefined;
5537
5539
  };
5538
- once?: {
5539
- dueAt: string;
5540
- timeZone: string;
5541
- resolvedInstant: string;
5542
- note: string;
5543
- } | undefined;
5540
+ };
5541
+ } | {
5542
+ output: {
5543
+ error: string;
5544
5544
  };
5545
5545
  outputFormat: "json";
5546
- status: 201;
5546
+ status: 400 | 404 | 409;
5547
5547
  input: {
5548
5548
  json: {
5549
5549
  name: string;
@@ -5615,17 +5615,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5615
5615
  } & {
5616
5616
  "/automations/:id": {
5617
5617
  $get: {
5618
- output: {
5619
- error: string;
5620
- };
5621
- outputFormat: "json";
5622
- status: 400 | 404 | 409;
5623
- input: {
5624
- param: {
5625
- id: string;
5626
- };
5627
- };
5628
- } | {
5629
5618
  output: {
5630
5619
  automation: {
5631
5620
  [x: string]: import("hono/utils/types").JSONValue;
@@ -5779,26 +5768,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5779
5768
  id: string;
5780
5769
  };
5781
5770
  };
5782
- };
5783
- };
5784
- } & {
5785
- "/automations/:id": {
5786
- $put: {
5771
+ } | {
5787
5772
  output: {
5788
5773
  error: string;
5789
5774
  };
5790
5775
  outputFormat: "json";
5791
5776
  status: 400 | 404 | 409;
5792
5777
  input: {
5793
- json: {
5778
+ param: {
5779
+ id: string;
5780
+ };
5781
+ };
5782
+ };
5783
+ };
5784
+ } & {
5785
+ "/automations/:id": {
5786
+ $put: {
5787
+ output: {
5788
+ automation: {
5789
+ [x: string]: import("hono/utils/types").JSONValue;
5790
+ id: string;
5791
+ revision: number;
5794
5792
  name: string;
5795
5793
  description?: string | undefined;
5796
- enabled?: boolean | undefined;
5797
- kind?: "github" | "schedule" | undefined;
5794
+ enabled: boolean;
5795
+ kind: "github" | "schedule";
5798
5796
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
5799
5797
  intervalSeconds?: number | undefined;
5800
5798
  filters?: {
5801
- [x: string]: unknown;
5799
+ [x: string]: import("hono/utils/types").JSONValue;
5802
5800
  includeExisting?: boolean | undefined;
5803
5801
  requireCurrentLabels?: boolean | undefined;
5804
5802
  authors?: string[] | undefined;
@@ -5807,10 +5805,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5807
5805
  anyLabels?: string[] | undefined;
5808
5806
  excludeLabels?: string[] | undefined;
5809
5807
  changedLabels?: string[] | undefined;
5810
- lookbackDays?: number | undefined;
5811
- maxRecords?: number | undefined;
5808
+ lookbackDays: number;
5809
+ maxRecords: number;
5812
5810
  } | undefined;
5813
5811
  schedule?: {
5812
+ [x: string]: import("hono/utils/types").JSONValue;
5814
5813
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
5815
5814
  hour?: number | undefined;
5816
5815
  minute?: number | undefined;
@@ -5821,7 +5820,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5821
5820
  latestStartMinutes?: number | undefined;
5822
5821
  } | undefined;
5823
5822
  task: {
5824
- [x: string]: unknown;
5823
+ [x: string]: import("hono/utils/types").JSONValue;
5825
5824
  prompt: string;
5826
5825
  workflow?: string | undefined;
5827
5826
  steps?: {
@@ -5839,40 +5838,43 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5839
5838
  command?: string | undefined;
5840
5839
  onFail?: {
5841
5840
  retry: string;
5842
- max?: number | undefined;
5841
+ max: number;
5843
5842
  } | undefined;
5844
5843
  }[] | undefined;
5845
5844
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
5846
5845
  model?: string | undefined;
5847
5846
  effort?: string | undefined;
5847
+ variants?: 1 | 2 | 3 | undefined;
5848
5848
  worktree?: boolean | undefined;
5849
5849
  autonomous?: boolean | undefined;
5850
5850
  archiveWhenDone?: boolean | undefined;
5851
5851
  autoMergePr?: boolean | undefined;
5852
5852
  systemPrompt?: string | undefined;
5853
- variants?: 1 | undefined;
5854
5853
  };
5855
- expectedRevision: number;
5856
- };
5857
- } & {
5858
- param: {
5859
- id: string;
5854
+ archived?: {
5855
+ [x: string]: import("hono/utils/types").JSONValue;
5856
+ at: string;
5857
+ outcome: "cancelled" | "launched";
5858
+ runId?: string | undefined;
5859
+ receiptId?: string | undefined;
5860
+ trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
5861
+ } | undefined;
5862
+ createdAt: string;
5863
+ updatedAt: string;
5860
5864
  };
5861
5865
  };
5862
- } | {
5863
- output: {
5864
- automation: {
5865
- [x: string]: import("hono/utils/types").JSONValue;
5866
- id: string;
5867
- revision: number;
5866
+ outputFormat: "json";
5867
+ status: import("hono/utils/http-status").ContentfulStatusCode;
5868
+ input: {
5869
+ json: {
5868
5870
  name: string;
5869
5871
  description?: string | undefined;
5870
- enabled: boolean;
5871
- kind: "github" | "schedule";
5872
+ enabled?: boolean | undefined;
5873
+ kind?: "github" | "schedule" | undefined;
5872
5874
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
5873
5875
  intervalSeconds?: number | undefined;
5874
5876
  filters?: {
5875
- [x: string]: import("hono/utils/types").JSONValue;
5877
+ [x: string]: unknown;
5876
5878
  includeExisting?: boolean | undefined;
5877
5879
  requireCurrentLabels?: boolean | undefined;
5878
5880
  authors?: string[] | undefined;
@@ -5881,11 +5883,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5881
5883
  anyLabels?: string[] | undefined;
5882
5884
  excludeLabels?: string[] | undefined;
5883
5885
  changedLabels?: string[] | undefined;
5884
- lookbackDays: number;
5885
- maxRecords: number;
5886
+ lookbackDays?: number | undefined;
5887
+ maxRecords?: number | undefined;
5886
5888
  } | undefined;
5887
5889
  schedule?: {
5888
- [x: string]: import("hono/utils/types").JSONValue;
5889
5890
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
5890
5891
  hour?: number | undefined;
5891
5892
  minute?: number | undefined;
@@ -5896,7 +5897,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5896
5897
  latestStartMinutes?: number | undefined;
5897
5898
  } | undefined;
5898
5899
  task: {
5899
- [x: string]: import("hono/utils/types").JSONValue;
5900
+ [x: string]: unknown;
5900
5901
  prompt: string;
5901
5902
  workflow?: string | undefined;
5902
5903
  steps?: {
@@ -5914,33 +5915,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5914
5915
  command?: string | undefined;
5915
5916
  onFail?: {
5916
5917
  retry: string;
5917
- max: number;
5918
+ max?: number | undefined;
5918
5919
  } | undefined;
5919
5920
  }[] | undefined;
5920
5921
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
5921
5922
  model?: string | undefined;
5922
5923
  effort?: string | undefined;
5923
- variants?: 1 | 2 | 3 | undefined;
5924
5924
  worktree?: boolean | undefined;
5925
5925
  autonomous?: boolean | undefined;
5926
5926
  archiveWhenDone?: boolean | undefined;
5927
5927
  autoMergePr?: boolean | undefined;
5928
5928
  systemPrompt?: string | undefined;
5929
+ variants?: 1 | undefined;
5929
5930
  };
5930
- archived?: {
5931
- [x: string]: import("hono/utils/types").JSONValue;
5932
- at: string;
5933
- outcome: "cancelled" | "launched";
5934
- runId?: string | undefined;
5935
- receiptId?: string | undefined;
5936
- trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
5937
- } | undefined;
5938
- createdAt: string;
5939
- updatedAt: string;
5931
+ expectedRevision: number;
5940
5932
  };
5933
+ } & {
5934
+ param: {
5935
+ id: string;
5936
+ };
5937
+ };
5938
+ } | {
5939
+ output: {
5940
+ error: string;
5941
5941
  };
5942
5942
  outputFormat: "json";
5943
- status: import("hono/utils/http-status").ContentfulStatusCode;
5943
+ status: 400 | 404 | 409;
5944
5944
  input: {
5945
5945
  json: {
5946
5946
  name: string;
@@ -6040,17 +6040,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6040
6040
  } & {
6041
6041
  "/automations/:id/enable": {
6042
6042
  $post: {
6043
- output: {
6044
- error: string;
6045
- };
6046
- outputFormat: "json";
6047
- status: 400 | 404 | 409;
6048
- input: {
6049
- param: {
6050
- id: string;
6051
- };
6052
- };
6053
- } | {
6054
6043
  output: {
6055
6044
  automation: {
6056
6045
  [x: string]: import("hono/utils/types").JSONValue;
@@ -6137,11 +6126,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6137
6126
  id: string;
6138
6127
  };
6139
6128
  };
6140
- };
6141
- };
6142
- } & {
6143
- "/automations/:id/pause": {
6144
- $post: {
6129
+ } | {
6145
6130
  output: {
6146
6131
  error: string;
6147
6132
  };
@@ -6152,7 +6137,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6152
6137
  id: string;
6153
6138
  };
6154
6139
  };
6155
- } | {
6140
+ };
6141
+ };
6142
+ } & {
6143
+ "/automations/:id/pause": {
6144
+ $post: {
6156
6145
  output: {
6157
6146
  automation: {
6158
6147
  [x: string]: import("hono/utils/types").JSONValue;
@@ -6239,11 +6228,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6239
6228
  id: string;
6240
6229
  };
6241
6230
  };
6242
- };
6243
- };
6244
- } & {
6245
- "/automations/:id/cancel": {
6246
- $post: {
6231
+ } | {
6247
6232
  output: {
6248
6233
  error: string;
6249
6234
  };
@@ -6254,7 +6239,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6254
6239
  id: string;
6255
6240
  };
6256
6241
  };
6257
- } | {
6242
+ };
6243
+ };
6244
+ } & {
6245
+ "/automations/:id/cancel": {
6246
+ $post: {
6258
6247
  output: {
6259
6248
  automation: {
6260
6249
  [x: string]: import("hono/utils/types").JSONValue;
@@ -6341,16 +6330,27 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6341
6330
  id: string;
6342
6331
  };
6343
6332
  };
6333
+ } | {
6334
+ output: {
6335
+ error: string;
6336
+ };
6337
+ outputFormat: "json";
6338
+ status: 400 | 404 | 409;
6339
+ input: {
6340
+ param: {
6341
+ id: string;
6342
+ };
6343
+ };
6344
6344
  };
6345
6345
  };
6346
6346
  } & {
6347
6347
  "/automations/:id/run": {
6348
6348
  $post: {
6349
6349
  output: {
6350
- error: string;
6350
+ runId: string;
6351
6351
  };
6352
6352
  outputFormat: "json";
6353
- status: 400 | 404 | 409;
6353
+ status: 202;
6354
6354
  input: {
6355
6355
  param: {
6356
6356
  id: string;
@@ -6358,10 +6358,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6358
6358
  };
6359
6359
  } | {
6360
6360
  output: {
6361
- runId: string;
6361
+ error: string;
6362
6362
  };
6363
6363
  outputFormat: "json";
6364
- status: 202;
6364
+ status: 400 | 404 | 409;
6365
6365
  input: {
6366
6366
  param: {
6367
6367
  id: string;
@@ -6373,10 +6373,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6373
6373
  "/automations/:id/check": {
6374
6374
  $post: {
6375
6375
  output: {
6376
- error: string;
6376
+ checkId: string;
6377
6377
  };
6378
6378
  outputFormat: "json";
6379
- status: 404;
6379
+ status: 202;
6380
6380
  input: {
6381
6381
  json: {
6382
6382
  mode: "execute" | "preview";
@@ -6391,7 +6391,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6391
6391
  error: string;
6392
6392
  };
6393
6393
  outputFormat: "json";
6394
- status: 409;
6394
+ status: 404;
6395
6395
  input: {
6396
6396
  json: {
6397
6397
  mode: "execute" | "preview";
@@ -6403,10 +6403,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6403
6403
  };
6404
6404
  } | {
6405
6405
  output: {
6406
- checkId: string;
6406
+ error: string;
6407
6407
  };
6408
6408
  outputFormat: "json";
6409
- status: 202;
6409
+ status: 409;
6410
6410
  input: {
6411
6411
  json: {
6412
6412
  mode: "execute" | "preview";
@@ -6480,10 +6480,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6480
6480
  "/automation-log/:receiptId/retry": {
6481
6481
  $post: {
6482
6482
  output: {
6483
- error: string;
6483
+ receiptId: string;
6484
+ runId: string;
6484
6485
  };
6485
6486
  outputFormat: "json";
6486
- status: 404;
6487
+ status: 202;
6487
6488
  input: {
6488
6489
  param: {
6489
6490
  receiptId: string;
@@ -6494,7 +6495,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6494
6495
  error: string;
6495
6496
  };
6496
6497
  outputFormat: "json";
6497
- status: 409;
6498
+ status: 404;
6498
6499
  input: {
6499
6500
  param: {
6500
6501
  receiptId: string;
@@ -6502,11 +6503,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6502
6503
  };
6503
6504
  } | {
6504
6505
  output: {
6505
- receiptId: string;
6506
- runId: string;
6506
+ error: string;
6507
6507
  };
6508
6508
  outputFormat: "json";
6509
- status: 202;
6509
+ status: 409;
6510
6510
  input: {
6511
6511
  param: {
6512
6512
  receiptId: string;
@@ -7268,6 +7268,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7268
7268
  } & {
7269
7269
  "/run-summaries": {
7270
7270
  $get: {
7271
+ output: {
7272
+ error: string;
7273
+ code?: "invalid_input" | undefined;
7274
+ };
7275
+ outputFormat: "json";
7276
+ status: 400;
7277
+ input: {
7278
+ query: {
7279
+ archived?: "all" | "recent" | undefined;
7280
+ };
7281
+ };
7282
+ } | {
7271
7283
  output: {
7272
7284
  id: string;
7273
7285
  title: string;
@@ -7385,18 +7397,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7385
7397
  archived?: "all" | "recent" | undefined;
7386
7398
  };
7387
7399
  };
7388
- } | {
7389
- output: {
7390
- error: string;
7391
- code?: "invalid_input" | undefined;
7392
- };
7393
- outputFormat: "json";
7394
- status: 400;
7395
- input: {
7396
- query: {
7397
- archived?: "all" | "recent" | undefined;
7398
- };
7399
- };
7400
7400
  };
7401
7401
  };
7402
7402
  } & {
@@ -7716,11 +7716,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7716
7716
  "/runs/:id/worker-destroy": {
7717
7717
  $post: {
7718
7718
  output: {
7719
- error: string;
7720
- code?: "invalid_input" | undefined;
7719
+ workerId: string;
7720
+ state: "complete" | "incomplete";
7721
+ deleted?: ({
7722
+ kind: "worktree";
7723
+ path: string;
7724
+ } | {
7725
+ kind: "branch";
7726
+ ref: string;
7727
+ })[] | undefined;
7728
+ remaining: ("branch" | "process" | "worktree")[];
7729
+ error?: string | undefined;
7721
7730
  };
7722
7731
  outputFormat: "json";
7723
- status: 400;
7732
+ status: 200;
7724
7733
  input: {
7725
7734
  query: {
7726
7735
  [x: string]: string | string[];
@@ -7734,20 +7743,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7734
7743
  };
7735
7744
  } | {
7736
7745
  output: {
7737
- workerId: string;
7738
- state: "complete" | "incomplete";
7739
- deleted?: ({
7740
- kind: "worktree";
7741
- path: string;
7742
- } | {
7743
- kind: "branch";
7744
- ref: string;
7745
- })[] | undefined;
7746
- remaining: ("branch" | "process" | "worktree")[];
7747
- error?: string | undefined;
7746
+ error: string;
7747
+ code?: "invalid_input" | undefined;
7748
7748
  };
7749
7749
  outputFormat: "json";
7750
- status: 200;
7750
+ status: 400;
7751
7751
  input: {
7752
7752
  query: {
7753
7753
  [x: string]: string | string[];
@@ -7853,6 +7853,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7853
7853
  } & {
7854
7854
  "/runs/:id/archive": {
7855
7855
  $post: {
7856
+ output: {
7857
+ error: string;
7858
+ };
7859
+ outputFormat: "json";
7860
+ status: 404;
7861
+ input: {
7862
+ json: {
7863
+ archived?: boolean | undefined;
7864
+ };
7865
+ } & {
7866
+ param: {
7867
+ id: string;
7868
+ };
7869
+ };
7870
+ } | {
7856
7871
  output: {
7857
7872
  id: string;
7858
7873
  title: string;
@@ -8600,32 +8615,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8600
8615
  id: string;
8601
8616
  };
8602
8617
  };
8603
- } | {
8618
+ };
8619
+ };
8620
+ } & {
8621
+ "/runs/:id/pin": {
8622
+ $post: {
8604
8623
  output: {
8605
8624
  error: string;
8625
+ code?: "invalid_input" | undefined;
8606
8626
  };
8607
8627
  outputFormat: "json";
8608
- status: 404;
8628
+ status: 400;
8609
8629
  input: {
8610
- json: {
8611
- archived?: boolean | undefined;
8612
- };
8613
- } & {
8614
8630
  param: {
8615
8631
  id: string;
8616
8632
  };
8633
+ } & {
8634
+ json: {
8635
+ pinned?: boolean | undefined;
8636
+ };
8617
8637
  };
8618
- };
8619
- };
8620
- } & {
8621
- "/runs/:id/pin": {
8622
- $post: {
8638
+ } | {
8623
8639
  output: {
8624
8640
  error: string;
8625
- code?: "invalid_input" | undefined;
8626
8641
  };
8627
8642
  outputFormat: "json";
8628
- status: 400;
8643
+ status: 404;
8629
8644
  input: {
8630
8645
  param: {
8631
8646
  id: string;
@@ -9383,29 +9398,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9383
9398
  pinned?: boolean | undefined;
9384
9399
  };
9385
9400
  };
9386
- } | {
9401
+ };
9402
+ };
9403
+ } & {
9404
+ "/runs/:id/notify": {
9405
+ $post: {
9387
9406
  output: {
9388
9407
  error: string;
9408
+ code?: "invalid_input" | undefined;
9389
9409
  };
9390
9410
  outputFormat: "json";
9391
- status: 404;
9411
+ status: 400;
9392
9412
  input: {
9393
9413
  param: {
9394
9414
  id: string;
9395
9415
  };
9396
9416
  } & {
9397
9417
  json: {
9398
- pinned?: boolean | undefined;
9418
+ notify: boolean;
9419
+ message?: string | undefined;
9399
9420
  };
9400
9421
  };
9401
- };
9402
- };
9403
- } & {
9404
- "/runs/:id/notify": {
9405
- $post: {
9422
+ } | {
9406
9423
  output: {
9407
9424
  error: string;
9408
- code?: "invalid_input" | undefined;
9409
9425
  };
9410
9426
  outputFormat: "json";
9411
9427
  status: 400;
@@ -9419,6 +9435,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9419
9435
  message?: string | undefined;
9420
9436
  };
9421
9437
  };
9438
+ } | {
9439
+ output: {
9440
+ error: string;
9441
+ };
9442
+ outputFormat: "json";
9443
+ status: 404;
9444
+ input: {
9445
+ param: {
9446
+ id: string;
9447
+ };
9448
+ } & {
9449
+ json: {
9450
+ notify: boolean;
9451
+ message?: string | undefined;
9452
+ };
9453
+ };
9422
9454
  } | {
9423
9455
  output: {
9424
9456
  id: string;
@@ -10147,49 +10179,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10147
10179
  autosave: {
10148
10180
  at: string;
10149
10181
  note: string;
10150
- periodic?: {
10151
- branch: string | null;
10152
- count: number;
10153
- first: string | null;
10154
- latest: string | null;
10155
- } | undefined;
10156
- }[];
10157
- } | undefined;
10158
- };
10159
- outputFormat: "json";
10160
- status: import("hono/utils/http-status").ContentfulStatusCode;
10161
- input: {
10162
- param: {
10163
- id: string;
10164
- };
10165
- } & {
10166
- json: {
10167
- notify: boolean;
10168
- message?: string | undefined;
10169
- };
10170
- };
10171
- } | {
10172
- output: {
10173
- error: string;
10174
- };
10175
- outputFormat: "json";
10176
- status: 404;
10177
- input: {
10178
- param: {
10179
- id: string;
10180
- };
10181
- } & {
10182
- json: {
10183
- notify: boolean;
10184
- message?: string | undefined;
10185
- };
10186
- };
10187
- } | {
10188
- output: {
10189
- error: string;
10182
+ periodic?: {
10183
+ branch: string | null;
10184
+ count: number;
10185
+ first: string | null;
10186
+ latest: string | null;
10187
+ } | undefined;
10188
+ }[];
10189
+ } | undefined;
10190
10190
  };
10191
10191
  outputFormat: "json";
10192
- status: 400;
10192
+ status: import("hono/utils/http-status").ContentfulStatusCode;
10193
10193
  input: {
10194
10194
  param: {
10195
10195
  id: string;
@@ -10231,6 +10231,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10231
10231
  } & {
10232
10232
  "/runs/:id/read": {
10233
10233
  $post: {
10234
+ output: {
10235
+ error: string;
10236
+ };
10237
+ outputFormat: "json";
10238
+ status: 404;
10239
+ input: {
10240
+ param: {
10241
+ id: string;
10242
+ };
10243
+ };
10244
+ } | {
10234
10245
  output: {
10235
10246
  id: string;
10236
10247
  title: string;
@@ -10974,7 +10985,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10974
10985
  id: string;
10975
10986
  };
10976
10987
  };
10977
- } | {
10988
+ };
10989
+ };
10990
+ } & {
10991
+ "/runs/:id/unread": {
10992
+ $post: {
10978
10993
  output: {
10979
10994
  error: string;
10980
10995
  };
@@ -10985,11 +11000,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10985
11000
  id: string;
10986
11001
  };
10987
11002
  };
10988
- };
10989
- };
10990
- } & {
10991
- "/runs/:id/unread": {
10992
- $post: {
11003
+ } | {
10993
11004
  output: {
10994
11005
  id: string;
10995
11006
  title: string;
@@ -11733,17 +11744,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11733
11744
  id: string;
11734
11745
  };
11735
11746
  };
11736
- } | {
11737
- output: {
11738
- error: string;
11739
- };
11740
- outputFormat: "json";
11741
- status: 404;
11742
- input: {
11743
- param: {
11744
- id: string;
11745
- };
11746
- };
11747
11747
  };
11748
11748
  };
11749
11749
  } & {
@@ -12578,6 +12578,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12578
12578
  } & {
12579
12579
  "/runs/:id": {
12580
12580
  $get: {
12581
+ output: {
12582
+ error: string;
12583
+ };
12584
+ outputFormat: "json";
12585
+ status: 404;
12586
+ input: {
12587
+ param: {
12588
+ id: string;
12589
+ };
12590
+ };
12591
+ } | {
12581
12592
  output: {
12582
12593
  id: string;
12583
12594
  title: string;
@@ -13328,17 +13339,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13328
13339
  id: string;
13329
13340
  };
13330
13341
  };
13331
- } | {
13332
- output: {
13333
- error: string;
13334
- };
13335
- outputFormat: "json";
13336
- status: 404;
13337
- input: {
13338
- param: {
13339
- id: string;
13340
- };
13341
- };
13342
13342
  };
13343
13343
  };
13344
13344
  } & {
@@ -13466,6 +13466,60 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13466
13466
  } & {
13467
13467
  "/runs/:id": {
13468
13468
  $patch: {
13469
+ output: {
13470
+ error: string;
13471
+ };
13472
+ outputFormat: "json";
13473
+ status: 400;
13474
+ input: {
13475
+ json: {
13476
+ title?: string | undefined;
13477
+ task?: string | undefined;
13478
+ archiveWhenDone?: boolean | undefined;
13479
+ autoMergePr?: boolean | undefined;
13480
+ };
13481
+ } & {
13482
+ param: {
13483
+ id: string;
13484
+ };
13485
+ };
13486
+ } | {
13487
+ output: {
13488
+ error: string;
13489
+ };
13490
+ outputFormat: "json";
13491
+ status: 404;
13492
+ input: {
13493
+ json: {
13494
+ title?: string | undefined;
13495
+ task?: string | undefined;
13496
+ archiveWhenDone?: boolean | undefined;
13497
+ autoMergePr?: boolean | undefined;
13498
+ };
13499
+ } & {
13500
+ param: {
13501
+ id: string;
13502
+ };
13503
+ };
13504
+ } | {
13505
+ output: {
13506
+ error: string;
13507
+ };
13508
+ outputFormat: "json";
13509
+ status: 409;
13510
+ input: {
13511
+ json: {
13512
+ title?: string | undefined;
13513
+ task?: string | undefined;
13514
+ archiveWhenDone?: boolean | undefined;
13515
+ autoMergePr?: boolean | undefined;
13516
+ };
13517
+ } & {
13518
+ param: {
13519
+ id: string;
13520
+ };
13521
+ };
13522
+ } | {
13469
13523
  output: {
13470
13524
  id: string;
13471
13525
  title: string;
@@ -14216,60 +14270,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14216
14270
  id: string;
14217
14271
  };
14218
14272
  };
14219
- } | {
14220
- output: {
14221
- error: string;
14222
- };
14223
- outputFormat: "json";
14224
- status: 404;
14225
- input: {
14226
- json: {
14227
- title?: string | undefined;
14228
- task?: string | undefined;
14229
- archiveWhenDone?: boolean | undefined;
14230
- autoMergePr?: boolean | undefined;
14231
- };
14232
- } & {
14233
- param: {
14234
- id: string;
14235
- };
14236
- };
14237
- } | {
14238
- output: {
14239
- error: string;
14240
- };
14241
- outputFormat: "json";
14242
- status: 400;
14243
- input: {
14244
- json: {
14245
- title?: string | undefined;
14246
- task?: string | undefined;
14247
- archiveWhenDone?: boolean | undefined;
14248
- autoMergePr?: boolean | undefined;
14249
- };
14250
- } & {
14251
- param: {
14252
- id: string;
14253
- };
14254
- };
14255
- } | {
14256
- output: {
14257
- error: string;
14258
- };
14259
- outputFormat: "json";
14260
- status: 409;
14261
- input: {
14262
- json: {
14263
- title?: string | undefined;
14264
- task?: string | undefined;
14265
- archiveWhenDone?: boolean | undefined;
14266
- autoMergePr?: boolean | undefined;
14267
- };
14268
- } & {
14269
- param: {
14270
- id: string;
14271
- };
14272
- };
14273
14273
  };
14274
14274
  };
14275
14275
  } & {
@@ -14374,7 +14374,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14374
14374
  error: string;
14375
14375
  };
14376
14376
  outputFormat: "json";
14377
- status: 404;
14377
+ status: 400;
14378
14378
  input: {
14379
14379
  json: {
14380
14380
  text?: string | undefined;
@@ -14393,7 +14393,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14393
14393
  error: string;
14394
14394
  };
14395
14395
  outputFormat: "json";
14396
- status: 409;
14396
+ status: 404;
14397
14397
  input: {
14398
14398
  json: {
14399
14399
  text?: string | undefined;
@@ -14409,10 +14409,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14409
14409
  };
14410
14410
  } | {
14411
14411
  output: {
14412
- delivered: true;
14412
+ error: string;
14413
14413
  };
14414
14414
  outputFormat: "json";
14415
- status: import("hono/utils/http-status").ContentfulStatusCode;
14415
+ status: 409;
14416
14416
  input: {
14417
14417
  json: {
14418
14418
  text?: string | undefined;
@@ -14428,10 +14428,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14428
14428
  };
14429
14429
  } | {
14430
14430
  output: {
14431
- error: string;
14431
+ delivered: true;
14432
14432
  };
14433
14433
  outputFormat: "json";
14434
- status: 400;
14434
+ status: import("hono/utils/http-status").ContentfulStatusCode;
14435
14435
  input: {
14436
14436
  json: {
14437
14437
  text?: string | undefined;
@@ -14498,7 +14498,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14498
14498
  error: string;
14499
14499
  };
14500
14500
  outputFormat: "json";
14501
- status: 404;
14501
+ status: 400;
14502
14502
  input: {
14503
14503
  json: {
14504
14504
  text?: string | undefined;
@@ -14519,7 +14519,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14519
14519
  error: string;
14520
14520
  };
14521
14521
  outputFormat: "json";
14522
- status: 400;
14522
+ status: 404;
14523
14523
  input: {
14524
14524
  json: {
14525
14525
  text?: string | undefined;
@@ -14671,7 +14671,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14671
14671
  error: string;
14672
14672
  };
14673
14673
  outputFormat: "json";
14674
- status: 404;
14674
+ status: 400;
14675
14675
  input: {
14676
14676
  json: {
14677
14677
  text?: string | undefined;
@@ -14694,7 +14694,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14694
14694
  error: string;
14695
14695
  };
14696
14696
  outputFormat: "json";
14697
- status: 400;
14697
+ status: 404;
14698
14698
  input: {
14699
14699
  json: {
14700
14700
  text?: string | undefined;
@@ -14805,7 +14805,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14805
14805
  error: string;
14806
14806
  };
14807
14807
  outputFormat: "json";
14808
- status: 409;
14808
+ status: 400;
14809
14809
  input: {
14810
14810
  json: {
14811
14811
  target: string;
@@ -14821,7 +14821,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14821
14821
  error: string;
14822
14822
  };
14823
14823
  outputFormat: "json";
14824
- status: 400;
14824
+ status: 404;
14825
14825
  input: {
14826
14826
  json: {
14827
14827
  target: string;
@@ -14834,11 +14834,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14834
14834
  };
14835
14835
  } | {
14836
14836
  output: {
14837
- opened: true;
14838
- path: string;
14837
+ error: string;
14839
14838
  };
14840
14839
  outputFormat: "json";
14841
- status: import("hono/utils/http-status").ContentfulStatusCode;
14840
+ status: 409;
14842
14841
  input: {
14843
14842
  json: {
14844
14843
  target: string;
@@ -14851,10 +14850,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14851
14850
  };
14852
14851
  } | {
14853
14852
  output: {
14854
- error: string;
14853
+ opened: true;
14854
+ path: string;
14855
14855
  };
14856
14856
  outputFormat: "json";
14857
- status: 404;
14857
+ status: import("hono/utils/http-status").ContentfulStatusCode;
14858
14858
  input: {
14859
14859
  json: {
14860
14860
  target: string;
@@ -14894,9 +14894,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14894
14894
  } & {
14895
14895
  "/runs/:id/images/:file": {
14896
14896
  $get: {
14897
- output: {};
14898
- outputFormat: string;
14899
- status: import("hono/utils/http-status").StatusCode;
14897
+ output: {
14898
+ error: string;
14899
+ code?: "invalid_input" | undefined;
14900
+ };
14901
+ outputFormat: "json";
14902
+ status: 400;
14900
14903
  input: {
14901
14904
  param: {
14902
14905
  id: string;
@@ -14904,12 +14907,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14904
14907
  };
14905
14908
  };
14906
14909
  } | {
14907
- output: {
14908
- error: string;
14909
- code?: "invalid_input" | undefined;
14910
- };
14911
- outputFormat: "json";
14912
- status: 400;
14910
+ output: {};
14911
+ outputFormat: string;
14912
+ status: import("hono/utils/http-status").StatusCode;
14913
14913
  input: {
14914
14914
  param: {
14915
14915
  id: string;
@@ -14921,15 +14921,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14921
14921
  } & {
14922
14922
  "/runs/:id/diff": {
14923
14923
  $get: {
14924
- output: string;
14925
- outputFormat: "text";
14926
- status: import("hono/utils/http-status").ContentfulStatusCode;
14927
- input: {
14928
- param: {
14929
- id: string;
14930
- };
14931
- };
14932
- } | {
14933
14924
  output: {
14934
14925
  error: string;
14935
14926
  };
@@ -14951,6 +14942,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14951
14942
  id: string;
14952
14943
  };
14953
14944
  };
14945
+ } | {
14946
+ output: string;
14947
+ outputFormat: "text";
14948
+ status: import("hono/utils/http-status").ContentfulStatusCode;
14949
+ input: {
14950
+ param: {
14951
+ id: string;
14952
+ };
14953
+ };
14954
14954
  };
14955
14955
  };
14956
14956
  } & {
@@ -15264,10 +15264,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15264
15264
  $get: {
15265
15265
  output: {
15266
15266
  error: string;
15267
- code?: "invalid_input" | undefined;
15267
+ code?: "invalid_input" | undefined;
15268
+ };
15269
+ outputFormat: "json";
15270
+ status: 400;
15271
+ input: {
15272
+ param: {
15273
+ id: string;
15274
+ artifactId: string;
15275
+ };
15276
+ };
15277
+ } | {
15278
+ output: {
15279
+ error: string;
15268
15280
  };
15269
15281
  outputFormat: "json";
15270
- status: 400;
15282
+ status: 404;
15271
15283
  input: {
15272
15284
  param: {
15273
15285
  id: string;
@@ -15301,18 +15313,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15301
15313
  artifactId: string;
15302
15314
  };
15303
15315
  };
15304
- } | {
15305
- output: {
15306
- error: string;
15307
- };
15308
- outputFormat: "json";
15309
- status: 404;
15310
- input: {
15311
- param: {
15312
- id: string;
15313
- artifactId: string;
15314
- };
15315
- };
15316
15316
  };
15317
15317
  };
15318
15318
  } & {
@@ -15609,10 +15609,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15609
15609
  "/runs/:id/pr": {
15610
15610
  $post: {
15611
15611
  output: {
15612
- error: string;
15612
+ url: string;
15613
+ dryRun: boolean;
15613
15614
  };
15614
15615
  outputFormat: "json";
15615
- status: 404;
15616
+ status: 201;
15616
15617
  input: {
15617
15618
  param: {
15618
15619
  id: string;
@@ -15623,7 +15624,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15623
15624
  error: string;
15624
15625
  };
15625
15626
  outputFormat: "json";
15626
- status: 409;
15627
+ status: 400;
15627
15628
  input: {
15628
15629
  param: {
15629
15630
  id: string;
@@ -15634,7 +15635,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15634
15635
  error: string;
15635
15636
  };
15636
15637
  outputFormat: "json";
15637
- status: 400;
15638
+ status: 404;
15638
15639
  input: {
15639
15640
  param: {
15640
15641
  id: string;
@@ -15642,11 +15643,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15642
15643
  };
15643
15644
  } | {
15644
15645
  output: {
15645
- url: string;
15646
- dryRun: boolean;
15646
+ error: string;
15647
15647
  };
15648
15648
  outputFormat: "json";
15649
- status: 201;
15649
+ status: 409;
15650
15650
  input: {
15651
15651
  param: {
15652
15652
  id: string;
@@ -15698,7 +15698,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15698
15698
  error: string;
15699
15699
  };
15700
15700
  outputFormat: "json";
15701
- status: 409;
15701
+ status: 404;
15702
15702
  input: {
15703
15703
  param: {
15704
15704
  id: string;
@@ -15709,7 +15709,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15709
15709
  error: string;
15710
15710
  };
15711
15711
  outputFormat: "json";
15712
- status: 404;
15712
+ status: 409;
15713
15713
  input: {
15714
15714
  param: {
15715
15715
  id: string;
@@ -15984,7 +15984,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15984
15984
  error: string;
15985
15985
  };
15986
15986
  outputFormat: "json";
15987
- status: 409;
15987
+ status: 400;
15988
15988
  input: {
15989
15989
  json: {
15990
15990
  target: string;
@@ -15995,7 +15995,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15995
15995
  error: string;
15996
15996
  };
15997
15997
  outputFormat: "json";
15998
- status: 400;
15998
+ status: 409;
15999
15999
  input: {
16000
16000
  json: {
16001
16001
  target: string;
@@ -16018,9 +16018,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16018
16018
  }, "/"> | import("hono/types").MergeSchemaPath<{
16019
16019
  "/runs/:id/events": {
16020
16020
  $get: {
16021
- output: {};
16022
- outputFormat: string;
16023
- status: import("hono/utils/http-status").StatusCode;
16021
+ output: {
16022
+ error: string;
16023
+ code?: "invalid_input" | undefined;
16024
+ };
16025
+ outputFormat: "json";
16026
+ status: 400;
16024
16027
  input: {
16025
16028
  param: {
16026
16029
  id: string;
@@ -16032,12 +16035,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16032
16035
  };
16033
16036
  };
16034
16037
  } | {
16035
- output: {
16036
- error: string;
16037
- code?: "invalid_input" | undefined;
16038
- };
16039
- outputFormat: "json";
16040
- status: 400;
16038
+ output: {};
16039
+ outputFormat: string;
16040
+ status: import("hono/utils/http-status").StatusCode;
16041
16041
  input: {
16042
16042
  param: {
16043
16043
  id: string;
@@ -16098,34 +16098,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16098
16098
  "/config": {
16099
16099
  $put: {
16100
16100
  output: {
16101
- archiveOnMerge: boolean | null;
16102
- effectiveArchiveOnMerge: boolean;
16103
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
16104
- baseBranch: string | null;
16105
- defaultRunner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
16106
- systemPrompt: string | null;
16107
- defaultModels: {
16108
- claude?: string | undefined;
16109
- codex?: string | undefined;
16110
- opencode?: string | undefined;
16111
- pi?: string | undefined;
16112
- cursor?: string | undefined;
16113
- omp?: string | undefined;
16114
- };
16115
- modelsLocked: boolean;
16116
- maxParallel: number;
16117
- memoryLimitMb: number | null;
16118
- worktreeRetention: number;
16119
- liveTitleUpdates: boolean | null;
16120
- reviewGate: boolean | null;
16121
- worktreeSetup: {
16122
- commands: string[];
16123
- timeoutSeconds: number;
16124
- } | null;
16125
- worktreeSetupIssue: string | null;
16101
+ error: string;
16126
16102
  };
16127
16103
  outputFormat: "json";
16128
- status: import("hono/utils/http-status").ContentfulStatusCode;
16104
+ status: 409;
16129
16105
  input: {
16130
16106
  json: {
16131
16107
  archiveOnMerge?: boolean | null | undefined;
@@ -16156,7 +16132,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16156
16132
  error: string;
16157
16133
  };
16158
16134
  outputFormat: "json";
16159
- status: 409;
16135
+ status: 500;
16160
16136
  input: {
16161
16137
  json: {
16162
16138
  archiveOnMerge?: boolean | null | undefined;
@@ -16184,10 +16160,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16184
16160
  };
16185
16161
  } | {
16186
16162
  output: {
16187
- error: string;
16163
+ archiveOnMerge: boolean | null;
16164
+ effectiveArchiveOnMerge: boolean;
16165
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
16166
+ baseBranch: string | null;
16167
+ defaultRunner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
16168
+ systemPrompt: string | null;
16169
+ defaultModels: {
16170
+ claude?: string | undefined;
16171
+ codex?: string | undefined;
16172
+ opencode?: string | undefined;
16173
+ pi?: string | undefined;
16174
+ cursor?: string | undefined;
16175
+ omp?: string | undefined;
16176
+ };
16177
+ modelsLocked: boolean;
16178
+ maxParallel: number;
16179
+ memoryLimitMb: number | null;
16180
+ worktreeRetention: number;
16181
+ liveTitleUpdates: boolean | null;
16182
+ reviewGate: boolean | null;
16183
+ worktreeSetup: {
16184
+ commands: string[];
16185
+ timeoutSeconds: number;
16186
+ } | null;
16187
+ worktreeSetupIssue: string | null;
16188
16188
  };
16189
16189
  outputFormat: "json";
16190
- status: 500;
16190
+ status: import("hono/utils/http-status").ContentfulStatusCode;
16191
16191
  input: {
16192
16192
  json: {
16193
16193
  archiveOnMerge?: boolean | null | undefined;
@@ -16218,25 +16218,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16218
16218
  }, "/"> | import("hono/types").MergeSchemaPath<{
16219
16219
  "/voice/decide": {
16220
16220
  $post: {
16221
- output: {
16222
- error: string;
16223
- };
16224
- outputFormat: "json";
16225
- status: 503;
16226
- input: {
16227
- json: {
16228
- text: string;
16229
- sidebarView: "active" | "automations";
16230
- openRunId?: string | undefined;
16231
- view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
16232
- askRequestId?: string | null | undefined;
16233
- proposal?: {
16234
- decisionId: string;
16235
- action: "answer" | "tell";
16236
- } | undefined;
16237
- };
16238
- };
16239
- } | {
16240
16221
  output: {
16241
16222
  action: "open";
16242
16223
  decisionId: string;
@@ -16294,6 +16275,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16294
16275
  } | undefined;
16295
16276
  };
16296
16277
  };
16278
+ } | {
16279
+ output: {
16280
+ error: string;
16281
+ };
16282
+ outputFormat: "json";
16283
+ status: 503;
16284
+ input: {
16285
+ json: {
16286
+ text: string;
16287
+ sidebarView: "active" | "automations";
16288
+ openRunId?: string | undefined;
16289
+ view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
16290
+ askRequestId?: string | null | undefined;
16291
+ proposal?: {
16292
+ decisionId: string;
16293
+ action: "answer" | "tell";
16294
+ } | undefined;
16295
+ };
16296
+ };
16297
16297
  };
16298
16298
  };
16299
16299
  } & {
@@ -16398,6 +16398,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16398
16398
  }, "/"> | import("hono/types").MergeSchemaPath<{
16399
16399
  "/skills": {
16400
16400
  $get: {
16401
+ output: {
16402
+ error: string;
16403
+ code?: "invalid_input" | undefined;
16404
+ };
16405
+ outputFormat: "json";
16406
+ status: 400;
16407
+ input: {
16408
+ query: {
16409
+ wait?: string | undefined;
16410
+ };
16411
+ };
16412
+ } | {
16401
16413
  output: {
16402
16414
  name: string;
16403
16415
  description?: string | undefined;
@@ -16420,7 +16432,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16420
16432
  wait?: string | undefined;
16421
16433
  };
16422
16434
  };
16423
- } | {
16435
+ };
16436
+ };
16437
+ } & {
16438
+ "/skills/importable": {
16439
+ $get: {
16424
16440
  output: {
16425
16441
  error: string;
16426
16442
  code?: "invalid_input" | undefined;
@@ -16432,11 +16448,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16432
16448
  wait?: string | undefined;
16433
16449
  };
16434
16450
  };
16435
- };
16436
- };
16437
- } & {
16438
- "/skills/importable": {
16439
- $get: {
16451
+ } | {
16440
16452
  output: {
16441
16453
  name: string;
16442
16454
  description?: string | undefined;
@@ -16459,18 +16471,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16459
16471
  wait?: string | undefined;
16460
16472
  };
16461
16473
  };
16462
- } | {
16463
- output: {
16464
- error: string;
16465
- code?: "invalid_input" | undefined;
16466
- };
16467
- outputFormat: "json";
16468
- status: 400;
16469
- input: {
16470
- query: {
16471
- wait?: string | undefined;
16472
- };
16473
- };
16474
16474
  };
16475
16475
  };
16476
16476
  } & {
@@ -16671,14 +16671,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16671
16671
  "/agent-config/:id": {
16672
16672
  $put: {
16673
16673
  output: {
16674
- id: string;
16675
- path: string;
16676
- exists: boolean;
16677
- content: string;
16678
- version: string | null;
16674
+ error: string;
16679
16675
  };
16680
16676
  outputFormat: "json";
16681
- status: import("hono/utils/http-status").ContentfulStatusCode;
16677
+ status: 404;
16682
16678
  input: {
16683
16679
  json: {
16684
16680
  content: string;
@@ -16691,10 +16687,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16691
16687
  };
16692
16688
  } | {
16693
16689
  output: {
16694
- error: string;
16690
+ id: string;
16691
+ path: string;
16692
+ exists: boolean;
16693
+ content: string;
16694
+ version: string | null;
16695
16695
  };
16696
16696
  outputFormat: "json";
16697
- status: 404;
16697
+ status: import("hono/utils/http-status").ContentfulStatusCode;
16698
16698
  input: {
16699
16699
  json: {
16700
16700
  content: string;
@@ -16765,10 +16765,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16765
16765
  "/workflows": {
16766
16766
  $post: {
16767
16767
  output: {
16768
- error: string;
16768
+ path: string;
16769
+ name: string;
16769
16770
  };
16770
16771
  outputFormat: "json";
16771
- status: 400;
16772
+ status: 201;
16772
16773
  input: {
16773
16774
  json: {
16774
16775
  name: string;
@@ -16798,10 +16799,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16798
16799
  } | {
16799
16800
  output: {
16800
16801
  error: string;
16801
- exists: true;
16802
16802
  };
16803
16803
  outputFormat: "json";
16804
- status: 409;
16804
+ status: 400;
16805
16805
  input: {
16806
16806
  json: {
16807
16807
  name: string;
@@ -16831,9 +16831,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16831
16831
  } | {
16832
16832
  output: {
16833
16833
  error: string;
16834
+ exists: true;
16834
16835
  };
16835
16836
  outputFormat: "json";
16836
- status: 500;
16837
+ status: 409;
16837
16838
  input: {
16838
16839
  json: {
16839
16840
  name: string;
@@ -16862,11 +16863,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16862
16863
  };
16863
16864
  } | {
16864
16865
  output: {
16865
- path: string;
16866
- name: string;
16866
+ error: string;
16867
16867
  };
16868
16868
  outputFormat: "json";
16869
- status: 201;
16869
+ status: 500;
16870
16870
  input: {
16871
16871
  json: {
16872
16872
  name: string;
@@ -16902,7 +16902,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16902
16902
  error: string;
16903
16903
  };
16904
16904
  outputFormat: "json";
16905
- status: 404;
16905
+ status: 400;
16906
16906
  input: {
16907
16907
  param: {
16908
16908
  name: string;
@@ -16913,7 +16913,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16913
16913
  error: string;
16914
16914
  };
16915
16915
  outputFormat: "json";
16916
- status: 400;
16916
+ status: 404;
16917
16917
  input: {
16918
16918
  param: {
16919
16919
  name: string;
@@ -17088,14 +17088,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17088
17088
  "/repo/branches/delete": {
17089
17089
  $post: {
17090
17090
  output: {
17091
- error: string;
17091
+ deleted: string[];
17092
17092
  refused: {
17093
17093
  name: string;
17094
17094
  reason: string;
17095
17095
  }[];
17096
+ dropped?: {
17097
+ sha: string;
17098
+ subject: string;
17099
+ }[] | undefined;
17096
17100
  };
17097
17101
  outputFormat: "json";
17098
- status: 409;
17102
+ status: 200;
17099
17103
  input: {
17100
17104
  json: {
17101
17105
  names: string[];
@@ -17104,18 +17108,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17104
17108
  };
17105
17109
  } | {
17106
17110
  output: {
17107
- deleted: string[];
17111
+ error: string;
17108
17112
  refused: {
17109
17113
  name: string;
17110
17114
  reason: string;
17111
17115
  }[];
17112
- dropped?: {
17113
- sha: string;
17114
- subject: string;
17115
- }[] | undefined;
17116
17116
  };
17117
17117
  outputFormat: "json";
17118
- status: 200;
17118
+ status: 409;
17119
17119
  input: {
17120
17120
  json: {
17121
17121
  names: string[];
@@ -17136,9 +17136,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17136
17136
  } & {
17137
17137
  "/repo/commit/:sha": {
17138
17138
  $get: {
17139
- output: string;
17140
- outputFormat: "text";
17141
- status: import("hono/utils/http-status").ContentfulStatusCode;
17139
+ output: {
17140
+ error: string;
17141
+ code?: "invalid_input" | undefined;
17142
+ };
17143
+ outputFormat: "json";
17144
+ status: 400;
17142
17145
  input: {
17143
17146
  query: {
17144
17147
  structured?: string | undefined;
@@ -17151,10 +17154,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17151
17154
  } | {
17152
17155
  output: {
17153
17156
  error: string;
17154
- code?: "invalid_input" | undefined;
17155
17157
  };
17156
17158
  outputFormat: "json";
17157
- status: 400;
17159
+ status: 409;
17158
17160
  input: {
17159
17161
  query: {
17160
17162
  structured?: string | undefined;
@@ -17197,12 +17199,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17197
17199
  sha: string;
17198
17200
  };
17199
17201
  };
17200
- } | {
17201
- output: {
17202
- error: string;
17203
- };
17204
- outputFormat: "json";
17205
- status: 409;
17202
+ } | {
17203
+ output: string;
17204
+ outputFormat: "text";
17205
+ status: import("hono/utils/http-status").ContentfulStatusCode;
17206
17206
  input: {
17207
17207
  query: {
17208
17208
  structured?: string | undefined;
@@ -17217,6 +17217,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17217
17217
  } & {
17218
17218
  "/repo/changes": {
17219
17219
  $get: {
17220
+ output: {
17221
+ error: string;
17222
+ };
17223
+ outputFormat: "json";
17224
+ status: 409;
17225
+ input: {};
17226
+ } | {
17220
17227
  output: {
17221
17228
  files: {
17222
17229
  path: string;
@@ -17241,13 +17248,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17241
17248
  outputFormat: "json";
17242
17249
  status: import("hono/utils/http-status").ContentfulStatusCode;
17243
17250
  input: {};
17244
- } | {
17245
- output: {
17246
- error: string;
17247
- };
17248
- outputFormat: "json";
17249
- status: 409;
17250
- input: {};
17251
17251
  };
17252
17252
  };
17253
17253
  } & {
@@ -17272,10 +17272,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17272
17272
  "/repo/pull": {
17273
17273
  $post: {
17274
17274
  output: {
17275
- error: string;
17275
+ branch: string;
17276
+ pulled: true;
17277
+ summary: string;
17276
17278
  };
17277
17279
  outputFormat: "json";
17278
- status: 409;
17280
+ status: 200;
17279
17281
  input: {
17280
17282
  json: {
17281
17283
  branch?: string | undefined;
@@ -17284,12 +17286,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17284
17286
  };
17285
17287
  } | {
17286
17288
  output: {
17287
- branch: string;
17288
- pulled: true;
17289
- summary: string;
17289
+ error: string;
17290
17290
  };
17291
17291
  outputFormat: "json";
17292
- status: 200;
17292
+ status: 409;
17293
17293
  input: {
17294
17294
  json: {
17295
17295
  branch?: string | undefined;
@@ -18224,20 +18224,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18224
18224
  "/automations": {
18225
18225
  $post: {
18226
18226
  output: {
18227
- error: string;
18228
- };
18229
- outputFormat: "json";
18230
- status: 400 | 404 | 409;
18231
- input: {
18232
- json: {
18227
+ automation: {
18228
+ [x: string]: import("hono/utils/types").JSONValue;
18229
+ id: string;
18230
+ revision: number;
18233
18231
  name: string;
18234
18232
  description?: string | undefined;
18235
- enabled?: boolean | undefined;
18236
- kind?: "github" | "schedule" | undefined;
18233
+ enabled: boolean;
18234
+ kind: "github" | "schedule";
18237
18235
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
18238
18236
  intervalSeconds?: number | undefined;
18239
18237
  filters?: {
18240
- [x: string]: unknown;
18238
+ [x: string]: import("hono/utils/types").JSONValue;
18241
18239
  includeExisting?: boolean | undefined;
18242
18240
  requireCurrentLabels?: boolean | undefined;
18243
18241
  authors?: string[] | undefined;
@@ -18246,10 +18244,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18246
18244
  anyLabels?: string[] | undefined;
18247
18245
  excludeLabels?: string[] | undefined;
18248
18246
  changedLabels?: string[] | undefined;
18249
- lookbackDays?: number | undefined;
18250
- maxRecords?: number | undefined;
18247
+ lookbackDays: number;
18248
+ maxRecords: number;
18251
18249
  } | undefined;
18252
18250
  schedule?: {
18251
+ [x: string]: import("hono/utils/types").JSONValue;
18253
18252
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
18254
18253
  hour?: number | undefined;
18255
18254
  minute?: number | undefined;
@@ -18260,7 +18259,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18260
18259
  latestStartMinutes?: number | undefined;
18261
18260
  } | undefined;
18262
18261
  task: {
18263
- [x: string]: unknown;
18262
+ [x: string]: import("hono/utils/types").JSONValue;
18264
18263
  prompt: string;
18265
18264
  workflow?: string | undefined;
18266
18265
  steps?: {
@@ -18278,36 +18277,49 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18278
18277
  command?: string | undefined;
18279
18278
  onFail?: {
18280
18279
  retry: string;
18281
- max?: number | undefined;
18280
+ max: number;
18282
18281
  } | undefined;
18283
18282
  }[] | undefined;
18284
18283
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
18285
18284
  model?: string | undefined;
18286
18285
  effort?: string | undefined;
18286
+ variants?: 1 | 2 | 3 | undefined;
18287
18287
  worktree?: boolean | undefined;
18288
18288
  autonomous?: boolean | undefined;
18289
18289
  archiveWhenDone?: boolean | undefined;
18290
18290
  autoMergePr?: boolean | undefined;
18291
18291
  systemPrompt?: string | undefined;
18292
- variants?: 1 | undefined;
18293
18292
  };
18294
- enable?: boolean | undefined;
18293
+ archived?: {
18294
+ [x: string]: import("hono/utils/types").JSONValue;
18295
+ at: string;
18296
+ outcome: "cancelled" | "launched";
18297
+ runId?: string | undefined;
18298
+ receiptId?: string | undefined;
18299
+ trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
18300
+ } | undefined;
18301
+ createdAt: string;
18302
+ updatedAt: string;
18295
18303
  };
18304
+ once?: {
18305
+ dueAt: string;
18306
+ timeZone: string;
18307
+ resolvedInstant: string;
18308
+ note: string;
18309
+ } | undefined;
18296
18310
  };
18297
- } | {
18298
- output: {
18299
- automation: {
18300
- [x: string]: import("hono/utils/types").JSONValue;
18301
- id: string;
18302
- revision: number;
18311
+ outputFormat: "json";
18312
+ status: 201;
18313
+ input: {
18314
+ json: {
18303
18315
  name: string;
18304
18316
  description?: string | undefined;
18305
- enabled: boolean;
18306
- kind: "github" | "schedule";
18317
+ enabled?: boolean | undefined;
18318
+ kind?: "github" | "schedule" | undefined;
18307
18319
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
18308
18320
  intervalSeconds?: number | undefined;
18309
18321
  filters?: {
18310
- [x: string]: import("hono/utils/types").JSONValue;
18322
+ [x: string]: unknown;
18311
18323
  includeExisting?: boolean | undefined;
18312
18324
  requireCurrentLabels?: boolean | undefined;
18313
18325
  authors?: string[] | undefined;
@@ -18316,11 +18328,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18316
18328
  anyLabels?: string[] | undefined;
18317
18329
  excludeLabels?: string[] | undefined;
18318
18330
  changedLabels?: string[] | undefined;
18319
- lookbackDays: number;
18320
- maxRecords: number;
18331
+ lookbackDays?: number | undefined;
18332
+ maxRecords?: number | undefined;
18321
18333
  } | undefined;
18322
18334
  schedule?: {
18323
- [x: string]: import("hono/utils/types").JSONValue;
18324
18335
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
18325
18336
  hour?: number | undefined;
18326
18337
  minute?: number | undefined;
@@ -18331,7 +18342,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18331
18342
  latestStartMinutes?: number | undefined;
18332
18343
  } | undefined;
18333
18344
  task: {
18334
- [x: string]: import("hono/utils/types").JSONValue;
18345
+ [x: string]: unknown;
18335
18346
  prompt: string;
18336
18347
  workflow?: string | undefined;
18337
18348
  steps?: {
@@ -18349,39 +18360,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18349
18360
  command?: string | undefined;
18350
18361
  onFail?: {
18351
18362
  retry: string;
18352
- max: number;
18363
+ max?: number | undefined;
18353
18364
  } | undefined;
18354
18365
  }[] | undefined;
18355
18366
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
18356
18367
  model?: string | undefined;
18357
18368
  effort?: string | undefined;
18358
- variants?: 1 | 2 | 3 | undefined;
18359
18369
  worktree?: boolean | undefined;
18360
18370
  autonomous?: boolean | undefined;
18361
18371
  archiveWhenDone?: boolean | undefined;
18362
18372
  autoMergePr?: boolean | undefined;
18363
18373
  systemPrompt?: string | undefined;
18374
+ variants?: 1 | undefined;
18364
18375
  };
18365
- archived?: {
18366
- [x: string]: import("hono/utils/types").JSONValue;
18367
- at: string;
18368
- outcome: "cancelled" | "launched";
18369
- runId?: string | undefined;
18370
- receiptId?: string | undefined;
18371
- trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
18372
- } | undefined;
18373
- createdAt: string;
18374
- updatedAt: string;
18376
+ enable?: boolean | undefined;
18375
18377
  };
18376
- once?: {
18377
- dueAt: string;
18378
- timeZone: string;
18379
- resolvedInstant: string;
18380
- note: string;
18381
- } | undefined;
18378
+ };
18379
+ } | {
18380
+ output: {
18381
+ error: string;
18382
18382
  };
18383
18383
  outputFormat: "json";
18384
- status: 201;
18384
+ status: 400 | 404 | 409;
18385
18385
  input: {
18386
18386
  json: {
18387
18387
  name: string;
@@ -18453,17 +18453,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18453
18453
  } & {
18454
18454
  "/automations/:id": {
18455
18455
  $get: {
18456
- output: {
18457
- error: string;
18458
- };
18459
- outputFormat: "json";
18460
- status: 400 | 404 | 409;
18461
- input: {
18462
- param: {
18463
- id: string;
18464
- };
18465
- };
18466
- } | {
18467
18456
  output: {
18468
18457
  automation: {
18469
18458
  [x: string]: import("hono/utils/types").JSONValue;
@@ -18617,26 +18606,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18617
18606
  id: string;
18618
18607
  };
18619
18608
  };
18620
- };
18621
- };
18622
- } & {
18623
- "/automations/:id": {
18624
- $put: {
18609
+ } | {
18625
18610
  output: {
18626
18611
  error: string;
18627
18612
  };
18628
18613
  outputFormat: "json";
18629
18614
  status: 400 | 404 | 409;
18630
18615
  input: {
18631
- json: {
18616
+ param: {
18617
+ id: string;
18618
+ };
18619
+ };
18620
+ };
18621
+ };
18622
+ } & {
18623
+ "/automations/:id": {
18624
+ $put: {
18625
+ output: {
18626
+ automation: {
18627
+ [x: string]: import("hono/utils/types").JSONValue;
18628
+ id: string;
18629
+ revision: number;
18632
18630
  name: string;
18633
18631
  description?: string | undefined;
18634
- enabled?: boolean | undefined;
18635
- kind?: "github" | "schedule" | undefined;
18632
+ enabled: boolean;
18633
+ kind: "github" | "schedule";
18636
18634
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
18637
18635
  intervalSeconds?: number | undefined;
18638
18636
  filters?: {
18639
- [x: string]: unknown;
18637
+ [x: string]: import("hono/utils/types").JSONValue;
18640
18638
  includeExisting?: boolean | undefined;
18641
18639
  requireCurrentLabels?: boolean | undefined;
18642
18640
  authors?: string[] | undefined;
@@ -18645,10 +18643,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18645
18643
  anyLabels?: string[] | undefined;
18646
18644
  excludeLabels?: string[] | undefined;
18647
18645
  changedLabels?: string[] | undefined;
18648
- lookbackDays?: number | undefined;
18649
- maxRecords?: number | undefined;
18646
+ lookbackDays: number;
18647
+ maxRecords: number;
18650
18648
  } | undefined;
18651
18649
  schedule?: {
18650
+ [x: string]: import("hono/utils/types").JSONValue;
18652
18651
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
18653
18652
  hour?: number | undefined;
18654
18653
  minute?: number | undefined;
@@ -18659,7 +18658,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18659
18658
  latestStartMinutes?: number | undefined;
18660
18659
  } | undefined;
18661
18660
  task: {
18662
- [x: string]: unknown;
18661
+ [x: string]: import("hono/utils/types").JSONValue;
18663
18662
  prompt: string;
18664
18663
  workflow?: string | undefined;
18665
18664
  steps?: {
@@ -18677,40 +18676,43 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18677
18676
  command?: string | undefined;
18678
18677
  onFail?: {
18679
18678
  retry: string;
18680
- max?: number | undefined;
18679
+ max: number;
18681
18680
  } | undefined;
18682
18681
  }[] | undefined;
18683
18682
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
18684
18683
  model?: string | undefined;
18685
18684
  effort?: string | undefined;
18685
+ variants?: 1 | 2 | 3 | undefined;
18686
18686
  worktree?: boolean | undefined;
18687
18687
  autonomous?: boolean | undefined;
18688
18688
  archiveWhenDone?: boolean | undefined;
18689
18689
  autoMergePr?: boolean | undefined;
18690
18690
  systemPrompt?: string | undefined;
18691
- variants?: 1 | undefined;
18692
18691
  };
18693
- expectedRevision: number;
18694
- };
18695
- } & {
18696
- param: {
18697
- id: string;
18692
+ archived?: {
18693
+ [x: string]: import("hono/utils/types").JSONValue;
18694
+ at: string;
18695
+ outcome: "cancelled" | "launched";
18696
+ runId?: string | undefined;
18697
+ receiptId?: string | undefined;
18698
+ trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
18699
+ } | undefined;
18700
+ createdAt: string;
18701
+ updatedAt: string;
18698
18702
  };
18699
18703
  };
18700
- } | {
18701
- output: {
18702
- automation: {
18703
- [x: string]: import("hono/utils/types").JSONValue;
18704
- id: string;
18705
- revision: number;
18704
+ outputFormat: "json";
18705
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18706
+ input: {
18707
+ json: {
18706
18708
  name: string;
18707
18709
  description?: string | undefined;
18708
- enabled: boolean;
18709
- kind: "github" | "schedule";
18710
+ enabled?: boolean | undefined;
18711
+ kind?: "github" | "schedule" | undefined;
18710
18712
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
18711
18713
  intervalSeconds?: number | undefined;
18712
18714
  filters?: {
18713
- [x: string]: import("hono/utils/types").JSONValue;
18715
+ [x: string]: unknown;
18714
18716
  includeExisting?: boolean | undefined;
18715
18717
  requireCurrentLabels?: boolean | undefined;
18716
18718
  authors?: string[] | undefined;
@@ -18719,11 +18721,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18719
18721
  anyLabels?: string[] | undefined;
18720
18722
  excludeLabels?: string[] | undefined;
18721
18723
  changedLabels?: string[] | undefined;
18722
- lookbackDays: number;
18723
- maxRecords: number;
18724
+ lookbackDays?: number | undefined;
18725
+ maxRecords?: number | undefined;
18724
18726
  } | undefined;
18725
18727
  schedule?: {
18726
- [x: string]: import("hono/utils/types").JSONValue;
18727
18728
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
18728
18729
  hour?: number | undefined;
18729
18730
  minute?: number | undefined;
@@ -18734,7 +18735,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18734
18735
  latestStartMinutes?: number | undefined;
18735
18736
  } | undefined;
18736
18737
  task: {
18737
- [x: string]: import("hono/utils/types").JSONValue;
18738
+ [x: string]: unknown;
18738
18739
  prompt: string;
18739
18740
  workflow?: string | undefined;
18740
18741
  steps?: {
@@ -18752,33 +18753,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18752
18753
  command?: string | undefined;
18753
18754
  onFail?: {
18754
18755
  retry: string;
18755
- max: number;
18756
+ max?: number | undefined;
18756
18757
  } | undefined;
18757
18758
  }[] | undefined;
18758
18759
  runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
18759
18760
  model?: string | undefined;
18760
18761
  effort?: string | undefined;
18761
- variants?: 1 | 2 | 3 | undefined;
18762
18762
  worktree?: boolean | undefined;
18763
18763
  autonomous?: boolean | undefined;
18764
18764
  archiveWhenDone?: boolean | undefined;
18765
18765
  autoMergePr?: boolean | undefined;
18766
18766
  systemPrompt?: string | undefined;
18767
+ variants?: 1 | undefined;
18767
18768
  };
18768
- archived?: {
18769
- [x: string]: import("hono/utils/types").JSONValue;
18770
- at: string;
18771
- outcome: "cancelled" | "launched";
18772
- runId?: string | undefined;
18773
- receiptId?: string | undefined;
18774
- trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
18775
- } | undefined;
18776
- createdAt: string;
18777
- updatedAt: string;
18769
+ expectedRevision: number;
18770
+ };
18771
+ } & {
18772
+ param: {
18773
+ id: string;
18778
18774
  };
18779
18775
  };
18776
+ } | {
18777
+ output: {
18778
+ error: string;
18779
+ };
18780
18780
  outputFormat: "json";
18781
- status: import("hono/utils/http-status").ContentfulStatusCode;
18781
+ status: 400 | 404 | 409;
18782
18782
  input: {
18783
18783
  json: {
18784
18784
  name: string;
@@ -18860,24 +18860,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18860
18860
  input: {
18861
18861
  param: {
18862
18862
  id: string;
18863
- };
18864
- };
18865
- } | {
18866
- output: {
18867
- error: string;
18868
- };
18869
- outputFormat: "json";
18870
- status: 400 | 404 | 409;
18871
- input: {
18872
- param: {
18873
- id: string;
18874
- };
18875
- };
18876
- };
18877
- };
18878
- } & {
18879
- "/automations/:id/enable": {
18880
- $post: {
18863
+ };
18864
+ };
18865
+ } | {
18881
18866
  output: {
18882
18867
  error: string;
18883
18868
  };
@@ -18888,7 +18873,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18888
18873
  id: string;
18889
18874
  };
18890
18875
  };
18891
- } | {
18876
+ };
18877
+ };
18878
+ } & {
18879
+ "/automations/:id/enable": {
18880
+ $post: {
18892
18881
  output: {
18893
18882
  automation: {
18894
18883
  [x: string]: import("hono/utils/types").JSONValue;
@@ -18975,11 +18964,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18975
18964
  id: string;
18976
18965
  };
18977
18966
  };
18978
- };
18979
- };
18980
- } & {
18981
- "/automations/:id/pause": {
18982
- $post: {
18967
+ } | {
18983
18968
  output: {
18984
18969
  error: string;
18985
18970
  };
@@ -18990,7 +18975,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18990
18975
  id: string;
18991
18976
  };
18992
18977
  };
18993
- } | {
18978
+ };
18979
+ };
18980
+ } & {
18981
+ "/automations/:id/pause": {
18982
+ $post: {
18994
18983
  output: {
18995
18984
  automation: {
18996
18985
  [x: string]: import("hono/utils/types").JSONValue;
@@ -19077,11 +19066,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19077
19066
  id: string;
19078
19067
  };
19079
19068
  };
19080
- };
19081
- };
19082
- } & {
19083
- "/automations/:id/cancel": {
19084
- $post: {
19069
+ } | {
19085
19070
  output: {
19086
19071
  error: string;
19087
19072
  };
@@ -19092,7 +19077,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19092
19077
  id: string;
19093
19078
  };
19094
19079
  };
19095
- } | {
19080
+ };
19081
+ };
19082
+ } & {
19083
+ "/automations/:id/cancel": {
19084
+ $post: {
19096
19085
  output: {
19097
19086
  automation: {
19098
19087
  [x: string]: import("hono/utils/types").JSONValue;
@@ -19179,16 +19168,27 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19179
19168
  id: string;
19180
19169
  };
19181
19170
  };
19171
+ } | {
19172
+ output: {
19173
+ error: string;
19174
+ };
19175
+ outputFormat: "json";
19176
+ status: 400 | 404 | 409;
19177
+ input: {
19178
+ param: {
19179
+ id: string;
19180
+ };
19181
+ };
19182
19182
  };
19183
19183
  };
19184
19184
  } & {
19185
19185
  "/automations/:id/run": {
19186
19186
  $post: {
19187
19187
  output: {
19188
- error: string;
19188
+ runId: string;
19189
19189
  };
19190
19190
  outputFormat: "json";
19191
- status: 400 | 404 | 409;
19191
+ status: 202;
19192
19192
  input: {
19193
19193
  param: {
19194
19194
  id: string;
@@ -19196,10 +19196,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19196
19196
  };
19197
19197
  } | {
19198
19198
  output: {
19199
- runId: string;
19199
+ error: string;
19200
19200
  };
19201
19201
  outputFormat: "json";
19202
- status: 202;
19202
+ status: 400 | 404 | 409;
19203
19203
  input: {
19204
19204
  param: {
19205
19205
  id: string;
@@ -19211,10 +19211,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19211
19211
  "/automations/:id/check": {
19212
19212
  $post: {
19213
19213
  output: {
19214
- error: string;
19214
+ checkId: string;
19215
19215
  };
19216
19216
  outputFormat: "json";
19217
- status: 404;
19217
+ status: 202;
19218
19218
  input: {
19219
19219
  json: {
19220
19220
  mode: "execute" | "preview";
@@ -19229,7 +19229,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19229
19229
  error: string;
19230
19230
  };
19231
19231
  outputFormat: "json";
19232
- status: 409;
19232
+ status: 404;
19233
19233
  input: {
19234
19234
  json: {
19235
19235
  mode: "execute" | "preview";
@@ -19241,10 +19241,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19241
19241
  };
19242
19242
  } | {
19243
19243
  output: {
19244
- checkId: string;
19244
+ error: string;
19245
19245
  };
19246
19246
  outputFormat: "json";
19247
- status: 202;
19247
+ status: 409;
19248
19248
  input: {
19249
19249
  json: {
19250
19250
  mode: "execute" | "preview";
@@ -19318,10 +19318,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19318
19318
  "/automation-log/:receiptId/retry": {
19319
19319
  $post: {
19320
19320
  output: {
19321
- error: string;
19321
+ receiptId: string;
19322
+ runId: string;
19322
19323
  };
19323
19324
  outputFormat: "json";
19324
- status: 404;
19325
+ status: 202;
19325
19326
  input: {
19326
19327
  param: {
19327
19328
  receiptId: string;
@@ -19332,7 +19333,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19332
19333
  error: string;
19333
19334
  };
19334
19335
  outputFormat: "json";
19335
- status: 409;
19336
+ status: 404;
19336
19337
  input: {
19337
19338
  param: {
19338
19339
  receiptId: string;
@@ -19340,11 +19341,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19340
19341
  };
19341
19342
  } | {
19342
19343
  output: {
19343
- receiptId: string;
19344
- runId: string;
19344
+ error: string;
19345
19345
  };
19346
19346
  outputFormat: "json";
19347
- status: 202;
19347
+ status: 409;
19348
19348
  input: {
19349
19349
  param: {
19350
19350
  receiptId: string;
@@ -20106,6 +20106,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20106
20106
  } & {
20107
20107
  "/run-summaries": {
20108
20108
  $get: {
20109
+ output: {
20110
+ error: string;
20111
+ code?: "invalid_input" | undefined;
20112
+ };
20113
+ outputFormat: "json";
20114
+ status: 400;
20115
+ input: {
20116
+ query: {
20117
+ archived?: "all" | "recent" | undefined;
20118
+ };
20119
+ };
20120
+ } | {
20109
20121
  output: {
20110
20122
  id: string;
20111
20123
  title: string;
@@ -20223,18 +20235,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20223
20235
  archived?: "all" | "recent" | undefined;
20224
20236
  };
20225
20237
  };
20226
- } | {
20227
- output: {
20228
- error: string;
20229
- code?: "invalid_input" | undefined;
20230
- };
20231
- outputFormat: "json";
20232
- status: 400;
20233
- input: {
20234
- query: {
20235
- archived?: "all" | "recent" | undefined;
20236
- };
20237
- };
20238
20238
  };
20239
20239
  };
20240
20240
  } & {
@@ -20554,11 +20554,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20554
20554
  "/runs/:id/worker-destroy": {
20555
20555
  $post: {
20556
20556
  output: {
20557
- error: string;
20558
- code?: "invalid_input" | undefined;
20557
+ workerId: string;
20558
+ state: "complete" | "incomplete";
20559
+ deleted?: ({
20560
+ kind: "worktree";
20561
+ path: string;
20562
+ } | {
20563
+ kind: "branch";
20564
+ ref: string;
20565
+ })[] | undefined;
20566
+ remaining: ("branch" | "process" | "worktree")[];
20567
+ error?: string | undefined;
20559
20568
  };
20560
20569
  outputFormat: "json";
20561
- status: 400;
20570
+ status: 200;
20562
20571
  input: {
20563
20572
  query: {
20564
20573
  [x: string]: string | string[];
@@ -20572,20 +20581,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20572
20581
  };
20573
20582
  } | {
20574
20583
  output: {
20575
- workerId: string;
20576
- state: "complete" | "incomplete";
20577
- deleted?: ({
20578
- kind: "worktree";
20579
- path: string;
20580
- } | {
20581
- kind: "branch";
20582
- ref: string;
20583
- })[] | undefined;
20584
- remaining: ("branch" | "process" | "worktree")[];
20585
- error?: string | undefined;
20584
+ error: string;
20585
+ code?: "invalid_input" | undefined;
20586
20586
  };
20587
20587
  outputFormat: "json";
20588
- status: 200;
20588
+ status: 400;
20589
20589
  input: {
20590
20590
  query: {
20591
20591
  [x: string]: string | string[];
@@ -20691,6 +20691,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20691
20691
  } & {
20692
20692
  "/runs/:id/archive": {
20693
20693
  $post: {
20694
+ output: {
20695
+ error: string;
20696
+ };
20697
+ outputFormat: "json";
20698
+ status: 404;
20699
+ input: {
20700
+ json: {
20701
+ archived?: boolean | undefined;
20702
+ };
20703
+ } & {
20704
+ param: {
20705
+ id: string;
20706
+ };
20707
+ };
20708
+ } | {
20694
20709
  output: {
20695
20710
  id: string;
20696
20711
  title: string;
@@ -21438,32 +21453,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21438
21453
  id: string;
21439
21454
  };
21440
21455
  };
21441
- } | {
21456
+ };
21457
+ };
21458
+ } & {
21459
+ "/runs/:id/pin": {
21460
+ $post: {
21442
21461
  output: {
21443
21462
  error: string;
21463
+ code?: "invalid_input" | undefined;
21444
21464
  };
21445
21465
  outputFormat: "json";
21446
- status: 404;
21466
+ status: 400;
21447
21467
  input: {
21448
- json: {
21449
- archived?: boolean | undefined;
21450
- };
21451
- } & {
21452
21468
  param: {
21453
21469
  id: string;
21454
21470
  };
21471
+ } & {
21472
+ json: {
21473
+ pinned?: boolean | undefined;
21474
+ };
21455
21475
  };
21456
- };
21457
- };
21458
- } & {
21459
- "/runs/:id/pin": {
21460
- $post: {
21476
+ } | {
21461
21477
  output: {
21462
21478
  error: string;
21463
- code?: "invalid_input" | undefined;
21464
21479
  };
21465
21480
  outputFormat: "json";
21466
- status: 400;
21481
+ status: 404;
21467
21482
  input: {
21468
21483
  param: {
21469
21484
  id: string;
@@ -22221,29 +22236,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22221
22236
  pinned?: boolean | undefined;
22222
22237
  };
22223
22238
  };
22224
- } | {
22239
+ };
22240
+ };
22241
+ } & {
22242
+ "/runs/:id/notify": {
22243
+ $post: {
22225
22244
  output: {
22226
22245
  error: string;
22246
+ code?: "invalid_input" | undefined;
22227
22247
  };
22228
22248
  outputFormat: "json";
22229
- status: 404;
22249
+ status: 400;
22230
22250
  input: {
22231
22251
  param: {
22232
22252
  id: string;
22233
22253
  };
22234
22254
  } & {
22235
22255
  json: {
22236
- pinned?: boolean | undefined;
22256
+ notify: boolean;
22257
+ message?: string | undefined;
22237
22258
  };
22238
22259
  };
22239
- };
22240
- };
22241
- } & {
22242
- "/runs/:id/notify": {
22243
- $post: {
22260
+ } | {
22244
22261
  output: {
22245
22262
  error: string;
22246
- code?: "invalid_input" | undefined;
22247
22263
  };
22248
22264
  outputFormat: "json";
22249
22265
  status: 400;
@@ -22257,6 +22273,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22257
22273
  message?: string | undefined;
22258
22274
  };
22259
22275
  };
22276
+ } | {
22277
+ output: {
22278
+ error: string;
22279
+ };
22280
+ outputFormat: "json";
22281
+ status: 404;
22282
+ input: {
22283
+ param: {
22284
+ id: string;
22285
+ };
22286
+ } & {
22287
+ json: {
22288
+ notify: boolean;
22289
+ message?: string | undefined;
22290
+ };
22291
+ };
22260
22292
  } | {
22261
22293
  output: {
22262
22294
  id: string;
@@ -23006,7 +23038,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23006
23038
  message?: string | undefined;
23007
23039
  };
23008
23040
  };
23009
- } | {
23041
+ };
23042
+ };
23043
+ } & {
23044
+ "/runs/:id/auto-resume": {
23045
+ $delete: {
23010
23046
  output: {
23011
23047
  error: string;
23012
23048
  };
@@ -23016,33 +23052,23 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23016
23052
  param: {
23017
23053
  id: string;
23018
23054
  };
23019
- } & {
23020
- json: {
23021
- notify: boolean;
23022
- message?: string | undefined;
23023
- };
23024
23055
  };
23025
23056
  } | {
23026
23057
  output: {
23027
- error: string;
23058
+ cancelled: true;
23028
23059
  };
23029
23060
  outputFormat: "json";
23030
- status: 400;
23061
+ status: import("hono/utils/http-status").ContentfulStatusCode;
23031
23062
  input: {
23032
23063
  param: {
23033
23064
  id: string;
23034
23065
  };
23035
- } & {
23036
- json: {
23037
- notify: boolean;
23038
- message?: string | undefined;
23039
- };
23040
23066
  };
23041
23067
  };
23042
23068
  };
23043
23069
  } & {
23044
- "/runs/:id/auto-resume": {
23045
- $delete: {
23070
+ "/runs/:id/read": {
23071
+ $post: {
23046
23072
  output: {
23047
23073
  error: string;
23048
23074
  };
@@ -23054,21 +23080,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23054
23080
  };
23055
23081
  };
23056
23082
  } | {
23057
- output: {
23058
- cancelled: true;
23059
- };
23060
- outputFormat: "json";
23061
- status: import("hono/utils/http-status").ContentfulStatusCode;
23062
- input: {
23063
- param: {
23064
- id: string;
23065
- };
23066
- };
23067
- };
23068
- };
23069
- } & {
23070
- "/runs/:id/read": {
23071
- $post: {
23072
23083
  output: {
23073
23084
  id: string;
23074
23085
  title: string;
@@ -23812,7 +23823,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23812
23823
  id: string;
23813
23824
  };
23814
23825
  };
23815
- } | {
23826
+ };
23827
+ };
23828
+ } & {
23829
+ "/runs/:id/unread": {
23830
+ $post: {
23816
23831
  output: {
23817
23832
  error: string;
23818
23833
  };
@@ -23821,13 +23836,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23821
23836
  input: {
23822
23837
  param: {
23823
23838
  id: string;
23824
- };
23825
- };
23826
- };
23827
- };
23828
- } & {
23829
- "/runs/:id/unread": {
23830
- $post: {
23839
+ };
23840
+ };
23841
+ } | {
23831
23842
  output: {
23832
23843
  id: string;
23833
23844
  title: string;
@@ -24571,17 +24582,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24571
24582
  id: string;
24572
24583
  };
24573
24584
  };
24574
- } | {
24575
- output: {
24576
- error: string;
24577
- };
24578
- outputFormat: "json";
24579
- status: 404;
24580
- input: {
24581
- param: {
24582
- id: string;
24583
- };
24584
- };
24585
24585
  };
24586
24586
  };
24587
24587
  } & {
@@ -25416,6 +25416,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25416
25416
  } & {
25417
25417
  "/runs/:id": {
25418
25418
  $get: {
25419
+ output: {
25420
+ error: string;
25421
+ };
25422
+ outputFormat: "json";
25423
+ status: 404;
25424
+ input: {
25425
+ param: {
25426
+ id: string;
25427
+ };
25428
+ };
25429
+ } | {
25419
25430
  output: {
25420
25431
  id: string;
25421
25432
  title: string;
@@ -26166,17 +26177,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
26166
26177
  id: string;
26167
26178
  };
26168
26179
  };
26169
- } | {
26170
- output: {
26171
- error: string;
26172
- };
26173
- outputFormat: "json";
26174
- status: 404;
26175
- input: {
26176
- param: {
26177
- id: string;
26178
- };
26179
- };
26180
26180
  };
26181
26181
  };
26182
26182
  } & {
@@ -26304,6 +26304,60 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
26304
26304
  } & {
26305
26305
  "/runs/:id": {
26306
26306
  $patch: {
26307
+ output: {
26308
+ error: string;
26309
+ };
26310
+ outputFormat: "json";
26311
+ status: 400;
26312
+ input: {
26313
+ json: {
26314
+ title?: string | undefined;
26315
+ task?: string | undefined;
26316
+ archiveWhenDone?: boolean | undefined;
26317
+ autoMergePr?: boolean | undefined;
26318
+ };
26319
+ } & {
26320
+ param: {
26321
+ id: string;
26322
+ };
26323
+ };
26324
+ } | {
26325
+ output: {
26326
+ error: string;
26327
+ };
26328
+ outputFormat: "json";
26329
+ status: 404;
26330
+ input: {
26331
+ json: {
26332
+ title?: string | undefined;
26333
+ task?: string | undefined;
26334
+ archiveWhenDone?: boolean | undefined;
26335
+ autoMergePr?: boolean | undefined;
26336
+ };
26337
+ } & {
26338
+ param: {
26339
+ id: string;
26340
+ };
26341
+ };
26342
+ } | {
26343
+ output: {
26344
+ error: string;
26345
+ };
26346
+ outputFormat: "json";
26347
+ status: 409;
26348
+ input: {
26349
+ json: {
26350
+ title?: string | undefined;
26351
+ task?: string | undefined;
26352
+ archiveWhenDone?: boolean | undefined;
26353
+ autoMergePr?: boolean | undefined;
26354
+ };
26355
+ } & {
26356
+ param: {
26357
+ id: string;
26358
+ };
26359
+ };
26360
+ } | {
26307
26361
  output: {
26308
26362
  id: string;
26309
26363
  title: string;
@@ -27054,60 +27108,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27054
27108
  id: string;
27055
27109
  };
27056
27110
  };
27057
- } | {
27058
- output: {
27059
- error: string;
27060
- };
27061
- outputFormat: "json";
27062
- status: 404;
27063
- input: {
27064
- json: {
27065
- title?: string | undefined;
27066
- task?: string | undefined;
27067
- archiveWhenDone?: boolean | undefined;
27068
- autoMergePr?: boolean | undefined;
27069
- };
27070
- } & {
27071
- param: {
27072
- id: string;
27073
- };
27074
- };
27075
- } | {
27076
- output: {
27077
- error: string;
27078
- };
27079
- outputFormat: "json";
27080
- status: 400;
27081
- input: {
27082
- json: {
27083
- title?: string | undefined;
27084
- task?: string | undefined;
27085
- archiveWhenDone?: boolean | undefined;
27086
- autoMergePr?: boolean | undefined;
27087
- };
27088
- } & {
27089
- param: {
27090
- id: string;
27091
- };
27092
- };
27093
- } | {
27094
- output: {
27095
- error: string;
27096
- };
27097
- outputFormat: "json";
27098
- status: 409;
27099
- input: {
27100
- json: {
27101
- title?: string | undefined;
27102
- task?: string | undefined;
27103
- archiveWhenDone?: boolean | undefined;
27104
- autoMergePr?: boolean | undefined;
27105
- };
27106
- } & {
27107
- param: {
27108
- id: string;
27109
- };
27110
- };
27111
27111
  };
27112
27112
  };
27113
27113
  } & {
@@ -27212,7 +27212,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27212
27212
  error: string;
27213
27213
  };
27214
27214
  outputFormat: "json";
27215
- status: 404;
27215
+ status: 400;
27216
27216
  input: {
27217
27217
  json: {
27218
27218
  text?: string | undefined;
@@ -27231,7 +27231,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27231
27231
  error: string;
27232
27232
  };
27233
27233
  outputFormat: "json";
27234
- status: 409;
27234
+ status: 404;
27235
27235
  input: {
27236
27236
  json: {
27237
27237
  text?: string | undefined;
@@ -27247,10 +27247,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27247
27247
  };
27248
27248
  } | {
27249
27249
  output: {
27250
- delivered: true;
27250
+ error: string;
27251
27251
  };
27252
27252
  outputFormat: "json";
27253
- status: import("hono/utils/http-status").ContentfulStatusCode;
27253
+ status: 409;
27254
27254
  input: {
27255
27255
  json: {
27256
27256
  text?: string | undefined;
@@ -27266,10 +27266,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27266
27266
  };
27267
27267
  } | {
27268
27268
  output: {
27269
- error: string;
27269
+ delivered: true;
27270
27270
  };
27271
27271
  outputFormat: "json";
27272
- status: 400;
27272
+ status: import("hono/utils/http-status").ContentfulStatusCode;
27273
27273
  input: {
27274
27274
  json: {
27275
27275
  text?: string | undefined;
@@ -27336,7 +27336,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27336
27336
  error: string;
27337
27337
  };
27338
27338
  outputFormat: "json";
27339
- status: 404;
27339
+ status: 400;
27340
27340
  input: {
27341
27341
  json: {
27342
27342
  text?: string | undefined;
@@ -27357,7 +27357,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27357
27357
  error: string;
27358
27358
  };
27359
27359
  outputFormat: "json";
27360
- status: 400;
27360
+ status: 404;
27361
27361
  input: {
27362
27362
  json: {
27363
27363
  text?: string | undefined;
@@ -27509,7 +27509,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27509
27509
  error: string;
27510
27510
  };
27511
27511
  outputFormat: "json";
27512
- status: 404;
27512
+ status: 400;
27513
27513
  input: {
27514
27514
  json: {
27515
27515
  text?: string | undefined;
@@ -27532,7 +27532,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27532
27532
  error: string;
27533
27533
  };
27534
27534
  outputFormat: "json";
27535
- status: 400;
27535
+ status: 404;
27536
27536
  input: {
27537
27537
  json: {
27538
27538
  text?: string | undefined;
@@ -27643,7 +27643,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27643
27643
  error: string;
27644
27644
  };
27645
27645
  outputFormat: "json";
27646
- status: 409;
27646
+ status: 400;
27647
27647
  input: {
27648
27648
  json: {
27649
27649
  target: string;
@@ -27659,7 +27659,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27659
27659
  error: string;
27660
27660
  };
27661
27661
  outputFormat: "json";
27662
- status: 400;
27662
+ status: 404;
27663
27663
  input: {
27664
27664
  json: {
27665
27665
  target: string;
@@ -27672,11 +27672,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27672
27672
  };
27673
27673
  } | {
27674
27674
  output: {
27675
- opened: true;
27676
- path: string;
27675
+ error: string;
27677
27676
  };
27678
27677
  outputFormat: "json";
27679
- status: import("hono/utils/http-status").ContentfulStatusCode;
27678
+ status: 409;
27680
27679
  input: {
27681
27680
  json: {
27682
27681
  target: string;
@@ -27689,10 +27688,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27689
27688
  };
27690
27689
  } | {
27691
27690
  output: {
27692
- error: string;
27691
+ opened: true;
27692
+ path: string;
27693
27693
  };
27694
27694
  outputFormat: "json";
27695
- status: 404;
27695
+ status: import("hono/utils/http-status").ContentfulStatusCode;
27696
27696
  input: {
27697
27697
  json: {
27698
27698
  target: string;
@@ -27732,9 +27732,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27732
27732
  } & {
27733
27733
  "/runs/:id/images/:file": {
27734
27734
  $get: {
27735
- output: {};
27736
- outputFormat: string;
27737
- status: import("hono/utils/http-status").StatusCode;
27735
+ output: {
27736
+ error: string;
27737
+ code?: "invalid_input" | undefined;
27738
+ };
27739
+ outputFormat: "json";
27740
+ status: 400;
27738
27741
  input: {
27739
27742
  param: {
27740
27743
  id: string;
@@ -27742,12 +27745,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27742
27745
  };
27743
27746
  };
27744
27747
  } | {
27745
- output: {
27746
- error: string;
27747
- code?: "invalid_input" | undefined;
27748
- };
27749
- outputFormat: "json";
27750
- status: 400;
27748
+ output: {};
27749
+ outputFormat: string;
27750
+ status: import("hono/utils/http-status").StatusCode;
27751
27751
  input: {
27752
27752
  param: {
27753
27753
  id: string;
@@ -27759,15 +27759,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27759
27759
  } & {
27760
27760
  "/runs/:id/diff": {
27761
27761
  $get: {
27762
- output: string;
27763
- outputFormat: "text";
27764
- status: import("hono/utils/http-status").ContentfulStatusCode;
27765
- input: {
27766
- param: {
27767
- id: string;
27768
- };
27769
- };
27770
- } | {
27771
27762
  output: {
27772
27763
  error: string;
27773
27764
  };
@@ -27789,6 +27780,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27789
27780
  id: string;
27790
27781
  };
27791
27782
  };
27783
+ } | {
27784
+ output: string;
27785
+ outputFormat: "text";
27786
+ status: import("hono/utils/http-status").ContentfulStatusCode;
27787
+ input: {
27788
+ param: {
27789
+ id: string;
27790
+ };
27791
+ };
27792
27792
  };
27793
27793
  };
27794
27794
  } & {
@@ -28112,6 +28112,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28112
28112
  artifactId: string;
28113
28113
  };
28114
28114
  };
28115
+ } | {
28116
+ output: {
28117
+ error: string;
28118
+ };
28119
+ outputFormat: "json";
28120
+ status: 404;
28121
+ input: {
28122
+ param: {
28123
+ id: string;
28124
+ artifactId: string;
28125
+ };
28126
+ };
28115
28127
  } | {
28116
28128
  output: {
28117
28129
  type: "file";
@@ -28139,18 +28151,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28139
28151
  artifactId: string;
28140
28152
  };
28141
28153
  };
28142
- } | {
28143
- output: {
28144
- error: string;
28145
- };
28146
- outputFormat: "json";
28147
- status: 404;
28148
- input: {
28149
- param: {
28150
- id: string;
28151
- artifactId: string;
28152
- };
28153
- };
28154
28154
  };
28155
28155
  };
28156
28156
  } & {
@@ -28447,10 +28447,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28447
28447
  "/runs/:id/pr": {
28448
28448
  $post: {
28449
28449
  output: {
28450
- error: string;
28450
+ url: string;
28451
+ dryRun: boolean;
28451
28452
  };
28452
28453
  outputFormat: "json";
28453
- status: 404;
28454
+ status: 201;
28454
28455
  input: {
28455
28456
  param: {
28456
28457
  id: string;
@@ -28461,7 +28462,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28461
28462
  error: string;
28462
28463
  };
28463
28464
  outputFormat: "json";
28464
- status: 409;
28465
+ status: 400;
28465
28466
  input: {
28466
28467
  param: {
28467
28468
  id: string;
@@ -28472,7 +28473,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28472
28473
  error: string;
28473
28474
  };
28474
28475
  outputFormat: "json";
28475
- status: 400;
28476
+ status: 404;
28476
28477
  input: {
28477
28478
  param: {
28478
28479
  id: string;
@@ -28480,11 +28481,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28480
28481
  };
28481
28482
  } | {
28482
28483
  output: {
28483
- url: string;
28484
- dryRun: boolean;
28484
+ error: string;
28485
28485
  };
28486
28486
  outputFormat: "json";
28487
- status: 201;
28487
+ status: 409;
28488
28488
  input: {
28489
28489
  param: {
28490
28490
  id: string;
@@ -28536,7 +28536,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28536
28536
  error: string;
28537
28537
  };
28538
28538
  outputFormat: "json";
28539
- status: 409;
28539
+ status: 404;
28540
28540
  input: {
28541
28541
  param: {
28542
28542
  id: string;
@@ -28547,7 +28547,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28547
28547
  error: string;
28548
28548
  };
28549
28549
  outputFormat: "json";
28550
- status: 404;
28550
+ status: 409;
28551
28551
  input: {
28552
28552
  param: {
28553
28553
  id: string;