@hearsay-tools/squawk 0.18.0-pr4407.8607 → 0.18.0-pr4407.8625

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 (89) hide show
  1. package/dist/automations/tools.d.ts +8 -8
  2. package/dist/ci-wait/controller.d.ts +7 -7
  3. package/dist/delegation/transport.d.ts +65 -65
  4. package/dist/features/mcp/cli.d.ts +14 -0
  5. package/dist/features/mcp/cli.js +87 -0
  6. package/dist/features/mcp/cli.js.map +1 -0
  7. package/dist/features/mcp/index.d.ts +9 -0
  8. package/dist/features/mcp/index.js +13 -0
  9. package/dist/features/mcp/index.js.map +1 -0
  10. package/dist/features/mcp/stdio.d.ts +10 -0
  11. package/dist/features/mcp/stdio.js +41 -0
  12. package/dist/features/mcp/stdio.js.map +1 -0
  13. package/dist/features/mcp/tools.d.ts +19 -0
  14. package/dist/features/mcp/tools.js +476 -0
  15. package/dist/features/mcp/tools.js.map +1 -0
  16. package/dist/server/activity-routes.d.ts +23 -23
  17. package/dist/server/live-routes.d.ts +6 -6
  18. package/dist/server/models-routes.d.ts +12 -12
  19. package/dist/server/provider-sign-in-routes.d.ts +2 -2
  20. package/dist/server/providers-routes.d.ts +57 -57
  21. package/dist/server/repo-routes.d.ts +34 -34
  22. package/dist/server/reports-api.d.ts +2 -2
  23. package/dist/server/runs-routes.d.ts +277 -277
  24. package/dist/server/server.d.ts +1472 -1472
  25. package/dist/server/workspace-live-routes.d.ts +6 -6
  26. package/dist/server/workspace-routes.d.ts +84 -84
  27. package/dist/task-cli/cli.js +54 -221
  28. package/dist/task-cli/cli.js.map +1 -1
  29. package/dist/task-cli/discovery.d.ts +22 -1
  30. package/dist/task-cli/discovery.js +69 -17
  31. package/dist/task-cli/discovery.js.map +1 -1
  32. package/dist/task-cli/http.d.ts +15 -13
  33. package/dist/task-cli/http.js +16 -6
  34. package/dist/task-cli/http.js.map +1 -1
  35. package/dist/task-cli/operations.d.ts +156 -0
  36. package/dist/task-cli/operations.js +388 -0
  37. package/dist/task-cli/operations.js.map +1 -0
  38. package/dist/task-cli/watch.d.ts +31 -8
  39. package/dist/task-cli/watch.js +159 -91
  40. package/dist/task-cli/watch.js.map +1 -1
  41. package/package.json +4 -4
  42. package/web/dist/assets/{accounts-section-DbLoty0g.js → accounts-section-D7EK3_7b.js} +1 -1
  43. package/web/dist/assets/{activity-motion-DsIybVZn.js → activity-motion-2BQBW4lA.js} +1 -1
  44. package/web/dist/assets/{activity-route-BXehwJ4N.js → activity-route-Ct06t8Y9.js} +1 -1
  45. package/web/dist/assets/{agent-config-section-BKANTX-h.js → agent-config-section-D6Lcc7c5.js} +1 -1
  46. package/web/dist/assets/{agent-defaults-section-D7ohQxAI.js → agent-defaults-section-BnDBbzuG.js} +1 -1
  47. package/web/dist/assets/{appearance-rXtZGJD_.js → appearance-CM6ahUyy.js} +1 -1
  48. package/web/dist/assets/{automations-route-h7bwC5xx.js → automations-route-7B_DF4O1.js} +1 -1
  49. package/web/dist/assets/{commit-list-yW-pZ7Bc.js → commit-list-O4ugJ12w.js} +1 -1
  50. package/web/dist/assets/{diff-CfS2Qosw.js → diff-DKZvZQ2G.js} +2 -2
  51. package/web/dist/assets/{diff-controls-DUiipGjf.js → diff-controls-BpTFu29H.js} +1 -1
  52. package/web/dist/assets/{diff-view-pPxrBBze.js → diff-view-D4yXb2w7.js} +1 -1
  53. package/web/dist/assets/{file-preview-CGAcZe9q.js → file-preview-CUhut4J9.js} +1 -1
  54. package/web/dist/assets/{git-toolbar-Dwndizit.js → git-toolbar-po0QJciG.js} +1 -1
  55. package/web/dist/assets/{github-DJ0jdSaa.js → github-TgLTixC7.js} +1 -1
  56. package/web/dist/assets/{global-activity-route-BV9RmVEz.js → global-activity-route-OHCmn0ZO.js} +1 -1
  57. package/web/dist/assets/{image-preview-Bvd30ghX.js → image-preview-Sisptm3b.js} +1 -1
  58. package/web/dist/assets/{index-B-_22hXp.js → index-CvVmG4Yu.js} +5 -5
  59. package/web/dist/assets/{markdown-BDjWFex4.js → markdown-jle_P0a2.js} +1 -1
  60. package/web/dist/assets/{notifications-section-ALnp6W1u.js → notifications-section-Bhqr3yOz.js} +1 -1
  61. package/web/dist/assets/page-shell-DQPYcKyL.css +1 -0
  62. package/web/dist/assets/{preview-pane-connected-rud-axMx.js → preview-pane-connected-CBt_nlmX.js} +1 -1
  63. package/web/dist/assets/{projects-section-BTyOG2uL.js → projects-section-DnGSWHZJ.js} +1 -1
  64. package/web/dist/assets/{prompt-templates-section-BQdQIVys.js → prompt-templates-section-8kBTviSw.js} +1 -1
  65. package/web/dist/assets/{remote-settings-notice-DeCObYJC.js → remote-settings-notice-D7G8cXSx.js} +1 -1
  66. package/web/dist/assets/{repo-git-CegVXOtZ.js → repo-git-DqBUjQMh.js} +1 -1
  67. package/web/dist/assets/{report-reader-zqO4yokN.js → report-reader-DtSBGt0O.js} +1 -1
  68. package/web/dist/assets/{reports-DP-sxf1p.js → reports-ea3-iuBm.js} +1 -1
  69. package/web/dist/assets/{resources-section-B19JoAbk.js → resources-section-CpXFFHXl.js} +1 -1
  70. package/web/dist/assets/{run-header-PqdYTt5O.js → run-header-BWTrj0_2.js} +1 -1
  71. package/web/dist/assets/{select-CEH-C-jh.js → select-aiSr0uTB.js} +1 -1
  72. package/web/dist/assets/{session-context-section-C33VjuF4.js → session-context-section-BRaZbxVO.js} +1 -1
  73. package/web/dist/assets/{settings-agent-picker-4PfVRtdT.js → settings-agent-picker-DMIqQhkC.js} +1 -1
  74. package/web/dist/assets/{settings-shell-CE1EKMmX.js → settings-shell-DwMbZhxp.js} +1 -1
  75. package/web/dist/assets/{sidebar-section-DOTH6fiq.js → sidebar-section-ClrORHpO.js} +1 -1
  76. package/web/dist/assets/{skills-BuxDnPg-.js → skills-B97qjJ7j.js} +1 -1
  77. package/web/dist/assets/{task-changes-D8rzLeLg.js → task-changes-BEfLx9dF.js} +1 -1
  78. package/web/dist/assets/{task-commits-BpcYm-FY.js → task-commits-6f0GpNF7.js} +1 -1
  79. package/web/dist/assets/{task-files-DaaC4c18.js → task-files-CA2xTRaM.js} +1 -1
  80. package/web/dist/assets/{task-github-item-D8kwUMZL.js → task-github-item-BWapcDJr.js} +1 -1
  81. package/web/dist/assets/{task-thread-9E6bYoV6.js → task-thread-0rKVutjQ.js} +1 -1
  82. package/web/dist/assets/{thread-state-_-bLdUA2.js → thread-state-C3eDWXYs.js} +1 -1
  83. package/web/dist/assets/{use-hand-to-agent-state-B-chm1Rk.js → use-hand-to-agent-state-DrAmCxn8.js} +1 -1
  84. package/web/dist/assets/{workflows-Df3RjnXf.js → workflows-CW-1K6tq.js} +1 -1
  85. package/web/dist/assets/{workspace-tools-CAQH-2K5.js → workspace-tools-BzDQrP3y.js} +1 -1
  86. package/web/dist/assets/{worktrees-section-CN78zo2m.js → worktrees-section-ay1jJn_w.js} +1 -1
  87. package/web/dist/index.html +3 -3
  88. package/web/dist/assets/page-shell-DPQBoUpR.css +0 -1
  89. /package/web/dist/assets/{page-shell-h8a6oznS.js → page-shell-7pLJMOgh.js} +0 -0
@@ -158,29 +158,6 @@ export type { ProjectsResponse, RegisterProjectResponse, RemoveProjectResponse,
158
158
  export declare function createApp(deps: ServerDeps): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
159
159
  "/workspace/activity": {
160
160
  $get: {
161
- output: {
162
- error: string;
163
- code?: "invalid_input" | undefined;
164
- };
165
- outputFormat: "json";
166
- status: 400;
167
- input: {
168
- query: {
169
- project?: string | undefined;
170
- };
171
- };
172
- } | {
173
- output: {
174
- error: string;
175
- };
176
- outputFormat: "json";
177
- status: 404 | 409 | 503;
178
- input: {
179
- query: {
180
- project?: string | undefined;
181
- };
182
- };
183
- } | {
184
161
  output: {
185
162
  generatedAt: string;
186
163
  projects: {
@@ -427,6 +404,29 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
427
404
  project?: string | undefined;
428
405
  };
429
406
  };
407
+ } | {
408
+ output: {
409
+ error: string;
410
+ code?: "invalid_input" | undefined;
411
+ };
412
+ outputFormat: "json";
413
+ status: 400;
414
+ input: {
415
+ query: {
416
+ project?: string | undefined;
417
+ };
418
+ };
419
+ } | {
420
+ output: {
421
+ error: string;
422
+ };
423
+ outputFormat: "json";
424
+ status: 404 | 409 | 503;
425
+ input: {
426
+ query: {
427
+ project?: string | undefined;
428
+ };
429
+ };
430
430
  };
431
431
  };
432
432
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -444,6 +444,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
444
444
  profileId?: string | undefined;
445
445
  };
446
446
  };
447
+ } | {
448
+ output: {
449
+ error: string;
450
+ };
451
+ outputFormat: "json";
452
+ status: 400;
453
+ input: {
454
+ query: {
455
+ runner: string | string[];
456
+ profileId?: string | undefined;
457
+ };
458
+ };
447
459
  } | {
448
460
  output: {
449
461
  runner: string;
@@ -465,18 +477,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
465
477
  profileId?: string | undefined;
466
478
  };
467
479
  };
468
- } | {
469
- output: {
470
- error: string;
471
- };
472
- outputFormat: "json";
473
- status: 400;
474
- input: {
475
- query: {
476
- runner: string | string[];
477
- profileId?: string | undefined;
478
- };
479
- };
480
480
  };
481
481
  };
482
482
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -496,10 +496,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
496
496
  };
497
497
  } | {
498
498
  output: {
499
- error: string;
499
+ path: string;
500
+ parent: string | null;
501
+ dirs: {
502
+ name: string;
503
+ path: string;
504
+ isRepo: boolean;
505
+ }[];
506
+ truncated: boolean;
500
507
  };
501
508
  outputFormat: "json";
502
- status: 400 | 403 | 404;
509
+ status: import("hono/utils/http-status").ContentfulStatusCode;
503
510
  input: {
504
511
  query: {
505
512
  path?: string | undefined;
@@ -508,17 +515,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
508
515
  };
509
516
  } | {
510
517
  output: {
511
- path: string;
512
- parent: string | null;
513
- dirs: {
514
- name: string;
515
- path: string;
516
- isRepo: boolean;
517
- }[];
518
- truncated: boolean;
518
+ error: string;
519
519
  };
520
520
  outputFormat: "json";
521
- status: import("hono/utils/http-status").ContentfulStatusCode;
521
+ status: 400 | 403 | 404;
522
522
  input: {
523
523
  query: {
524
524
  path?: string | undefined;
@@ -530,15 +530,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
530
530
  }, "/"> | import("hono/types").MergeSchemaPath<{
531
531
  "/workspace/events": {
532
532
  $get: {
533
- output: {};
534
- outputFormat: string;
535
- status: import("hono/utils/http-status").StatusCode;
536
- input: {
537
- query: {
538
- runs?: "summary" | undefined;
539
- };
540
- };
541
- } | {
542
533
  output: {
543
534
  error: string;
544
535
  code?: "invalid_input" | undefined;
@@ -550,6 +541,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
550
541
  runs?: "summary" | undefined;
551
542
  };
552
543
  };
544
+ } | {
545
+ output: {};
546
+ outputFormat: string;
547
+ status: import("hono/utils/http-status").StatusCode;
548
+ input: {
549
+ query: {
550
+ runs?: "summary" | undefined;
551
+ };
552
+ };
553
553
  };
554
554
  };
555
555
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -613,6 +613,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
613
613
  }, "/"> | import("hono/types").MergeSchemaPath<{
614
614
  "/automation-checks/:checkId": {
615
615
  $get: {
616
+ output: {
617
+ error: string;
618
+ };
619
+ outputFormat: "json";
620
+ status: 404;
621
+ input: {
622
+ param: {
623
+ checkId: string;
624
+ };
625
+ };
626
+ } | {
616
627
  output: {
617
628
  id: string;
618
629
  automationId: string;
@@ -631,17 +642,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
631
642
  checkId: string;
632
643
  };
633
644
  };
634
- } | {
635
- output: {
636
- error: string;
637
- };
638
- outputFormat: "json";
639
- status: 404;
640
- input: {
641
- param: {
642
- checkId: string;
643
- };
644
- };
645
645
  };
646
646
  };
647
647
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -1006,18 +1006,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1006
1006
  };
1007
1007
  } | {
1008
1008
  output: {
1009
- providers: {
1010
- requiresAccountHome?: boolean | undefined;
1011
- provider: string;
1012
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1013
- enabled?: boolean | undefined;
1014
- hint?: string | undefined;
1015
- authFailureId?: string | undefined;
1016
- profileId?: string | undefined;
1017
- }[];
1009
+ error: string;
1018
1010
  };
1019
1011
  outputFormat: "json";
1020
- status: import("hono/utils/http-status").ContentfulStatusCode;
1012
+ status: 500;
1021
1013
  input: {
1022
1014
  param: {
1023
1015
  provider: string;
@@ -1029,10 +1021,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1029
1021
  };
1030
1022
  } | {
1031
1023
  output: {
1032
- error: string;
1024
+ providers: {
1025
+ requiresAccountHome?: boolean | undefined;
1026
+ provider: string;
1027
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1028
+ enabled?: boolean | undefined;
1029
+ hint?: string | undefined;
1030
+ authFailureId?: string | undefined;
1031
+ profileId?: string | undefined;
1032
+ }[];
1033
1033
  };
1034
1034
  outputFormat: "json";
1035
- status: 500;
1035
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1036
1036
  input: {
1037
1037
  param: {
1038
1038
  provider: string;
@@ -1064,18 +1064,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1064
1064
  };
1065
1065
  } | {
1066
1066
  output: {
1067
- providers: {
1068
- requiresAccountHome?: boolean | undefined;
1069
- provider: string;
1070
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1071
- enabled?: boolean | undefined;
1072
- hint?: string | undefined;
1073
- authFailureId?: string | undefined;
1074
- profileId?: string | undefined;
1075
- }[];
1067
+ error: string;
1076
1068
  };
1077
1069
  outputFormat: "json";
1078
- status: import("hono/utils/http-status").ContentfulStatusCode;
1070
+ status: 409;
1079
1071
  input: {
1080
1072
  param: {
1081
1073
  provider: string;
@@ -1087,10 +1079,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1087
1079
  };
1088
1080
  } | {
1089
1081
  output: {
1090
- error: string;
1082
+ providers: {
1083
+ requiresAccountHome?: boolean | undefined;
1084
+ provider: string;
1085
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1086
+ enabled?: boolean | undefined;
1087
+ hint?: string | undefined;
1088
+ authFailureId?: string | undefined;
1089
+ profileId?: string | undefined;
1090
+ }[];
1091
1091
  };
1092
1092
  outputFormat: "json";
1093
- status: 409;
1093
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1094
1094
  input: {
1095
1095
  param: {
1096
1096
  provider: string;
@@ -1109,7 +1109,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1109
1109
  error: string;
1110
1110
  };
1111
1111
  outputFormat: "json";
1112
- status: 409;
1112
+ status: 400;
1113
1113
  input: {
1114
1114
  json: {
1115
1115
  provider: string;
@@ -1121,7 +1121,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1121
1121
  error: string;
1122
1122
  };
1123
1123
  outputFormat: "json";
1124
- status: 400;
1124
+ status: 409;
1125
1125
  input: {
1126
1126
  json: {
1127
1127
  provider: string;
@@ -1208,34 +1208,39 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1208
1208
  "/workspace/config": {
1209
1209
  $put: {
1210
1210
  output: {
1211
- browseRoot: string;
1212
- projectsDir: string;
1213
- archiveOnMerge: boolean | null;
1214
- effectiveArchiveOnMerge: boolean;
1215
- archiveOnMergeSource: "default" | "environment" | "global";
1216
- composerDefaults: {
1217
- autonomous: boolean | null;
1218
- worktree: boolean | null;
1219
- inheritedAutonomous: "source-dependent" | boolean;
1220
- inheritedWorktree: boolean;
1221
- };
1222
- resources: {
1223
- maxParallel: number;
1224
- maxMonitoringSessions: number;
1225
- monitoringWakeIntervalMinutes: number | null;
1226
- autoResumeOnUsageLimit: boolean;
1227
- memoryLimitMb: number | null;
1228
- worktreeRetentionDefault: number;
1229
- };
1230
- agentDefaults: {
1231
- runner?: string | undefined;
1232
- models?: {
1233
- [x: string]: string | undefined;
1211
+ error: string;
1212
+ };
1213
+ outputFormat: "json";
1214
+ status: 400;
1215
+ input: {
1216
+ json: {
1217
+ browseRoot?: string | undefined;
1218
+ projectsDir?: string | undefined;
1219
+ archiveOnMerge?: boolean | null | undefined;
1220
+ composerDefaults?: {
1221
+ autonomous?: boolean | null | undefined;
1222
+ worktree?: boolean | null | undefined;
1223
+ } | undefined;
1224
+ agentDefaults?: {
1225
+ runner?: string | null | undefined;
1226
+ models?: Record<string, string | null | undefined> | undefined;
1227
+ } | undefined;
1228
+ resources?: {
1229
+ maxParallel?: number | undefined;
1230
+ maxMonitoringSessions?: number | undefined;
1231
+ monitoringWakeIntervalMinutes?: number | null | undefined;
1232
+ autoResumeOnUsageLimit?: boolean | undefined;
1233
+ memoryLimitMb?: number | null | undefined;
1234
+ worktreeRetentionDefault?: number | undefined;
1234
1235
  } | undefined;
1235
1236
  };
1236
1237
  };
1238
+ } | {
1239
+ output: {
1240
+ error: string;
1241
+ };
1237
1242
  outputFormat: "json";
1238
- status: import("hono/utils/http-status").ContentfulStatusCode;
1243
+ status: 500;
1239
1244
  input: {
1240
1245
  json: {
1241
1246
  browseRoot?: string | undefined;
@@ -1261,39 +1266,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1261
1266
  };
1262
1267
  } | {
1263
1268
  output: {
1264
- error: string;
1269
+ browseRoot: string;
1270
+ projectsDir: string;
1271
+ archiveOnMerge: boolean | null;
1272
+ effectiveArchiveOnMerge: boolean;
1273
+ archiveOnMergeSource: "default" | "environment" | "global";
1274
+ composerDefaults: {
1275
+ autonomous: boolean | null;
1276
+ worktree: boolean | null;
1277
+ inheritedAutonomous: "source-dependent" | boolean;
1278
+ inheritedWorktree: boolean;
1279
+ };
1280
+ resources: {
1281
+ maxParallel: number;
1282
+ maxMonitoringSessions: number;
1283
+ monitoringWakeIntervalMinutes: number | null;
1284
+ autoResumeOnUsageLimit: boolean;
1285
+ memoryLimitMb: number | null;
1286
+ worktreeRetentionDefault: number;
1287
+ };
1288
+ agentDefaults: {
1289
+ runner?: string | undefined;
1290
+ models?: {
1291
+ [x: string]: string | undefined;
1292
+ } | undefined;
1293
+ };
1265
1294
  };
1266
1295
  outputFormat: "json";
1267
- status: 400;
1268
- input: {
1269
- json: {
1270
- browseRoot?: string | undefined;
1271
- projectsDir?: string | undefined;
1272
- archiveOnMerge?: boolean | null | undefined;
1273
- composerDefaults?: {
1274
- autonomous?: boolean | null | undefined;
1275
- worktree?: boolean | null | undefined;
1276
- } | undefined;
1277
- agentDefaults?: {
1278
- runner?: string | null | undefined;
1279
- models?: Record<string, string | null | undefined> | undefined;
1280
- } | undefined;
1281
- resources?: {
1282
- maxParallel?: number | undefined;
1283
- maxMonitoringSessions?: number | undefined;
1284
- monitoringWakeIntervalMinutes?: number | null | undefined;
1285
- autoResumeOnUsageLimit?: boolean | undefined;
1286
- memoryLimitMb?: number | null | undefined;
1287
- worktreeRetentionDefault?: number | undefined;
1288
- } | undefined;
1289
- };
1290
- };
1291
- } | {
1292
- output: {
1293
- error: string;
1294
- };
1295
- outputFormat: "json";
1296
- status: 500;
1296
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1297
1297
  input: {
1298
1298
  json: {
1299
1299
  browseRoot?: string | undefined;
@@ -1365,41 +1365,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1365
1365
  "/workspace/ui-state": {
1366
1366
  $put: {
1367
1367
  output: {
1368
- [x: string]: import("hono/utils/types").JSONValue;
1369
- sidebar?: {
1370
- [x: string]: import("hono/utils/types").JSONValue;
1371
- collapsed?: {
1372
- [x: string]: boolean;
1373
- } | undefined;
1374
- projectOrder?: string[] | undefined;
1375
- } | undefined;
1376
- dismissedProviderAuthFailures?: {
1377
- [x: string]: string | undefined;
1378
- } | undefined;
1379
- appearance?: {
1380
- accent?: "cezarion" | "lime" | "violet" | undefined;
1381
- density?: "comfortable" | "compact" | "ultra" | undefined;
1382
- width?: "narrow" | "wide" | undefined;
1383
- } | undefined;
1384
- notifications?: {
1385
- [x: string]: import("hono/utils/types").JSONValue;
1386
- enabled?: boolean | undefined;
1387
- } | undefined;
1388
- taskTable?: {
1389
- [x: string]: import("hono/utils/types").JSONValue;
1390
- expandedColumns?: {
1391
- [x: string]: boolean;
1392
- } | undefined;
1393
- } | undefined;
1394
- lastLocation?: {
1395
- projectId: string;
1396
- pathname: string;
1397
- search?: string | undefined;
1398
- hash?: string | undefined;
1399
- } | undefined;
1368
+ error: string;
1400
1369
  };
1401
1370
  outputFormat: "json";
1402
- status: import("hono/utils/http-status").ContentfulStatusCode;
1371
+ status: 500;
1403
1372
  input: {
1404
1373
  json: {
1405
1374
  [x: string]: unknown;
@@ -1432,10 +1401,41 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1432
1401
  };
1433
1402
  } | {
1434
1403
  output: {
1435
- error: string;
1404
+ [x: string]: import("hono/utils/types").JSONValue;
1405
+ sidebar?: {
1406
+ [x: string]: import("hono/utils/types").JSONValue;
1407
+ collapsed?: {
1408
+ [x: string]: boolean;
1409
+ } | undefined;
1410
+ projectOrder?: string[] | undefined;
1411
+ } | undefined;
1412
+ dismissedProviderAuthFailures?: {
1413
+ [x: string]: string | undefined;
1414
+ } | undefined;
1415
+ appearance?: {
1416
+ accent?: "cezarion" | "lime" | "violet" | undefined;
1417
+ density?: "comfortable" | "compact" | "ultra" | undefined;
1418
+ width?: "narrow" | "wide" | undefined;
1419
+ } | undefined;
1420
+ notifications?: {
1421
+ [x: string]: import("hono/utils/types").JSONValue;
1422
+ enabled?: boolean | undefined;
1423
+ } | undefined;
1424
+ taskTable?: {
1425
+ [x: string]: import("hono/utils/types").JSONValue;
1426
+ expandedColumns?: {
1427
+ [x: string]: boolean;
1428
+ } | undefined;
1429
+ } | undefined;
1430
+ lastLocation?: {
1431
+ projectId: string;
1432
+ pathname: string;
1433
+ search?: string | undefined;
1434
+ hash?: string | undefined;
1435
+ } | undefined;
1436
1436
  };
1437
1437
  outputFormat: "json";
1438
- status: 500;
1438
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1439
1439
  input: {
1440
1440
  json: {
1441
1441
  [x: string]: unknown;
@@ -1475,7 +1475,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1475
1475
  error: string;
1476
1476
  };
1477
1477
  outputFormat: "json";
1478
- status: 409;
1478
+ status: 400;
1479
1479
  input: {
1480
1480
  json: {
1481
1481
  provider: string;
@@ -1487,7 +1487,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1487
1487
  error: string;
1488
1488
  };
1489
1489
  outputFormat: "json";
1490
- status: 400;
1490
+ status: 409;
1491
1491
  input: {
1492
1492
  json: {
1493
1493
  provider: string;
@@ -1730,10 +1730,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1730
1730
  "/workspace/agent-profiles": {
1731
1731
  $post: {
1732
1732
  output: {
1733
- error: string;
1733
+ profile: {
1734
+ id: string;
1735
+ provider: string;
1736
+ label: string;
1737
+ configDir?: string | undefined;
1738
+ path?: string | undefined;
1739
+ exists: boolean;
1740
+ looksValid: boolean;
1741
+ isDefault: boolean;
1742
+ status?: {
1743
+ requiresAccountHome?: boolean | undefined;
1744
+ provider: string;
1745
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1746
+ enabled?: boolean | undefined;
1747
+ hint?: string | undefined;
1748
+ authFailureId?: string | undefined;
1749
+ profileId?: string | undefined;
1750
+ } | undefined;
1751
+ };
1734
1752
  };
1735
1753
  outputFormat: "json";
1736
- status: 409;
1754
+ status: 201;
1737
1755
  input: {
1738
1756
  json: {
1739
1757
  provider: string;
@@ -1759,7 +1777,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1759
1777
  error: string;
1760
1778
  };
1761
1779
  outputFormat: "json";
1762
- status: 500;
1780
+ status: 409;
1763
1781
  input: {
1764
1782
  json: {
1765
1783
  provider: string;
@@ -1769,28 +1787,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1769
1787
  };
1770
1788
  } | {
1771
1789
  output: {
1772
- profile: {
1773
- id: string;
1774
- provider: string;
1775
- label: string;
1776
- configDir?: string | undefined;
1777
- path?: string | undefined;
1778
- exists: boolean;
1779
- looksValid: boolean;
1780
- isDefault: boolean;
1781
- status?: {
1782
- requiresAccountHome?: boolean | undefined;
1783
- provider: string;
1784
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1785
- enabled?: boolean | undefined;
1786
- hint?: string | undefined;
1787
- authFailureId?: string | undefined;
1788
- profileId?: string | undefined;
1789
- } | undefined;
1790
- };
1790
+ error: string;
1791
1791
  };
1792
1792
  outputFormat: "json";
1793
- status: 201;
1793
+ status: 500;
1794
1794
  input: {
1795
1795
  json: {
1796
1796
  provider: string;
@@ -1824,7 +1824,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1824
1824
  error: string;
1825
1825
  };
1826
1826
  outputFormat: "json";
1827
- status: 409;
1827
+ status: 400;
1828
1828
  input: {
1829
1829
  param: {
1830
1830
  id: string;
@@ -1840,7 +1840,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1840
1840
  error: string;
1841
1841
  };
1842
1842
  outputFormat: "json";
1843
- status: 400;
1843
+ status: 404;
1844
1844
  input: {
1845
1845
  param: {
1846
1846
  id: string;
@@ -1856,7 +1856,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1856
1856
  error: string;
1857
1857
  };
1858
1858
  outputFormat: "json";
1859
- status: 404;
1859
+ status: 409;
1860
1860
  input: {
1861
1861
  param: {
1862
1862
  id: string;
@@ -1984,7 +1984,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1984
1984
  error: string;
1985
1985
  };
1986
1986
  outputFormat: "json";
1987
- status: 404;
1987
+ status: 400;
1988
1988
  input: {
1989
1989
  json: {
1990
1990
  projectId: string;
@@ -1997,7 +1997,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1997
1997
  error: string;
1998
1998
  };
1999
1999
  outputFormat: "json";
2000
- status: 400;
2000
+ status: 404;
2001
2001
  input: {
2002
2002
  json: {
2003
2003
  projectId: string;
@@ -2061,7 +2061,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2061
2061
  error: string;
2062
2062
  };
2063
2063
  outputFormat: "json";
2064
- status: 409;
2064
+ status: 404;
2065
2065
  input: {
2066
2066
  param: {
2067
2067
  id: string;
@@ -2072,7 +2072,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2072
2072
  error: string;
2073
2073
  };
2074
2074
  outputFormat: "json";
2075
- status: 500;
2075
+ status: 409;
2076
2076
  input: {
2077
2077
  param: {
2078
2078
  id: string;
@@ -2083,7 +2083,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2083
2083
  error: string;
2084
2084
  };
2085
2085
  outputFormat: "json";
2086
- status: 404;
2086
+ status: 500;
2087
2087
  input: {
2088
2088
  param: {
2089
2089
  id: string;
@@ -2147,17 +2147,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2147
2147
  } & {
2148
2148
  "/projects": {
2149
2149
  $post: {
2150
- output: {
2151
- error: string;
2152
- };
2153
- outputFormat: "json";
2154
- status: 400 | 500;
2155
- input: {
2156
- json: {
2157
- root: string;
2158
- };
2159
- };
2160
- } | {
2161
2150
  output: {
2162
2151
  project: {
2163
2152
  id: string;
@@ -2188,10 +2177,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2188
2177
  agent: boolean;
2189
2178
  }[] | undefined;
2190
2179
  };
2191
- error: string;
2180
+ error?: string | undefined;
2192
2181
  };
2193
2182
  outputFormat: "json";
2194
- status: 409;
2183
+ status: 200;
2195
2184
  input: {
2196
2185
  json: {
2197
2186
  root: string;
@@ -2228,10 +2217,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2228
2217
  agent: boolean;
2229
2218
  }[] | undefined;
2230
2219
  };
2231
- error?: string | undefined;
2220
+ error: string;
2232
2221
  };
2233
2222
  outputFormat: "json";
2234
- status: 200;
2223
+ status: 409;
2224
+ input: {
2225
+ json: {
2226
+ root: string;
2227
+ };
2228
+ };
2229
+ } | {
2230
+ output: {
2231
+ error: string;
2232
+ };
2233
+ outputFormat: "json";
2234
+ status: 400 | 500;
2235
2235
  input: {
2236
2236
  json: {
2237
2237
  root: string;
@@ -2390,7 +2390,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2390
2390
  error: string;
2391
2391
  };
2392
2392
  outputFormat: "json";
2393
- status: 404;
2393
+ status: 400;
2394
2394
  input: {
2395
2395
  param: {
2396
2396
  projectId: string;
@@ -2401,7 +2401,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2401
2401
  error: string;
2402
2402
  };
2403
2403
  outputFormat: "json";
2404
- status: 400;
2404
+ status: 404;
2405
2405
  input: {
2406
2406
  param: {
2407
2407
  projectId: string;
@@ -2426,27 +2426,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2426
2426
  } & {
2427
2427
  "/projects/:projectId/webhooks": {
2428
2428
  $post: {
2429
- output: {
2430
- error: string;
2431
- };
2432
- outputFormat: "json";
2433
- status: 400 | 404 | 409 | 500;
2434
- input: {
2435
- json: {
2436
- name: string;
2437
- description?: string | undefined;
2438
- url: string;
2439
- token?: string | undefined;
2440
- tasks?: boolean | undefined;
2441
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2442
- agent?: boolean | undefined;
2443
- };
2444
- } & {
2445
- param: {
2446
- projectId: string;
2447
- };
2448
- };
2449
- } | {
2450
2429
  output: {
2451
2430
  project: {
2452
2431
  id: string;
@@ -2505,6 +2484,27 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2505
2484
  projectId: string;
2506
2485
  };
2507
2486
  };
2487
+ } | {
2488
+ output: {
2489
+ error: string;
2490
+ };
2491
+ outputFormat: "json";
2492
+ status: 400 | 404 | 409 | 500;
2493
+ input: {
2494
+ json: {
2495
+ name: string;
2496
+ description?: string | undefined;
2497
+ url: string;
2498
+ token?: string | undefined;
2499
+ tasks?: boolean | undefined;
2500
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2501
+ agent?: boolean | undefined;
2502
+ };
2503
+ } & {
2504
+ param: {
2505
+ projectId: string;
2506
+ };
2507
+ };
2508
2508
  };
2509
2509
  };
2510
2510
  } & {
@@ -2702,13 +2702,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2702
2702
  };
2703
2703
  } | {
2704
2704
  output: {
2705
- ok: boolean;
2706
- status?: number | undefined;
2707
- error?: string | undefined;
2708
- dryRun?: boolean | undefined;
2705
+ error: string;
2709
2706
  };
2710
2707
  outputFormat: "json";
2711
- status: import("hono/utils/http-status").ContentfulStatusCode;
2708
+ status: 404;
2712
2709
  input: {
2713
2710
  param: {
2714
2711
  projectId: string;
@@ -2717,10 +2714,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2717
2714
  };
2718
2715
  } | {
2719
2716
  output: {
2720
- error: string;
2717
+ ok: boolean;
2718
+ status?: number | undefined;
2719
+ error?: string | undefined;
2720
+ dryRun?: boolean | undefined;
2721
2721
  };
2722
2722
  outputFormat: "json";
2723
- status: 404;
2723
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2724
2724
  input: {
2725
2725
  param: {
2726
2726
  projectId: string;
@@ -2960,22 +2960,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2960
2960
  } & {
2961
2961
  "/runner-install/:runner": {
2962
2962
  $post: {
2963
- output: {
2964
- error: string;
2965
- code?: "invalid_input" | undefined;
2966
- };
2967
- outputFormat: "json";
2968
- status: 400;
2969
- input: {
2970
- param: {
2971
- runner: string;
2972
- };
2973
- } & {
2974
- json: {
2975
- action: "check" | "install" | "remove" | "update";
2976
- };
2977
- };
2978
- } | {
2979
2963
  output: {
2980
2964
  supported: boolean;
2981
2965
  installedVersion: string | null;
@@ -2995,6 +2979,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2995
2979
  action: "check" | "install" | "remove" | "update";
2996
2980
  };
2997
2981
  };
2982
+ } | {
2983
+ output: {
2984
+ error: string;
2985
+ code?: "invalid_input" | undefined;
2986
+ };
2987
+ outputFormat: "json";
2988
+ status: 400;
2989
+ input: {
2990
+ param: {
2991
+ runner: string;
2992
+ };
2993
+ } & {
2994
+ json: {
2995
+ action: "check" | "install" | "remove" | "update";
2996
+ };
2997
+ };
2998
2998
  } | {
2999
2999
  output: {
3000
3000
  error: string;
@@ -3062,6 +3062,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3062
3062
  output: {
3063
3063
  generation: string;
3064
3064
  results: ({
3065
+ projectId: string;
3066
+ runId: string;
3067
+ type: "error" | "reset";
3068
+ status: 400 | 404 | 409 | 413 | 503;
3069
+ error: string;
3070
+ } | {
3065
3071
  projectId: string;
3066
3072
  runId: string;
3067
3073
  type: "batch";
@@ -3082,12 +3088,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3082
3088
  cursor: string;
3083
3089
  afterSeq: number;
3084
3090
  hasMore: boolean;
3085
- } | {
3086
- projectId: string;
3087
- runId: string;
3088
- type: "error" | "reset";
3089
- status: 400 | 404 | 409 | 413 | 503;
3090
- error: string;
3091
3091
  })[];
3092
3092
  };
3093
3093
  outputFormat: "json";
@@ -3342,18 +3342,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3342
3342
  }, "/"> | import("hono/types").MergeSchemaPath<{
3343
3343
  "/plan": {
3344
3344
  $post: {
3345
- output: {
3346
- error: string;
3347
- };
3348
- outputFormat: "json";
3349
- status: 400 | 404 | 409;
3350
- input: {
3351
- json: {
3352
- task: string;
3353
- agentProfile?: string | undefined;
3354
- };
3355
- };
3356
- } | {
3357
3345
  output: {
3358
3346
  name?: string;
3359
3347
  steps: {
@@ -3390,6 +3378,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3390
3378
  agentProfile?: string | undefined;
3391
3379
  };
3392
3380
  };
3381
+ } | {
3382
+ output: {
3383
+ error: string;
3384
+ };
3385
+ outputFormat: "json";
3386
+ status: 400 | 404 | 409;
3387
+ input: {
3388
+ json: {
3389
+ task: string;
3390
+ agentProfile?: string | undefined;
3391
+ };
3392
+ };
3393
3393
  };
3394
3394
  };
3395
3395
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -3433,7 +3433,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3433
3433
  error: string;
3434
3434
  };
3435
3435
  outputFormat: "json";
3436
- status: 409;
3436
+ status: 400;
3437
3437
  input: {
3438
3438
  query: {
3439
3439
  q?: string | undefined;
@@ -3446,7 +3446,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3446
3446
  error: string;
3447
3447
  };
3448
3448
  outputFormat: "json";
3449
- status: 400;
3449
+ status: 409;
3450
3450
  input: {
3451
3451
  query: {
3452
3452
  q?: string | undefined;
@@ -3502,7 +3502,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3502
3502
  error: string;
3503
3503
  };
3504
3504
  outputFormat: "json";
3505
- status: 409;
3505
+ status: 400;
3506
3506
  input: {
3507
3507
  json: {
3508
3508
  target: string;
@@ -3513,7 +3513,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3513
3513
  error: string;
3514
3514
  };
3515
3515
  outputFormat: "json";
3516
- status: 400;
3516
+ status: 409;
3517
3517
  input: {
3518
3518
  json: {
3519
3519
  target: string;
@@ -3580,42 +3580,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3580
3580
  "/ui-state": {
3581
3581
  $put: {
3582
3582
  output: {
3583
- [x: string]: import("hono/utils/types").JSONValue;
3584
- sidebarLimits?: {
3585
- overall?: number | null | undefined;
3586
- needsYou?: number | null | undefined;
3587
- finished?: number | null | undefined;
3588
- working?: number | null | undefined;
3589
- } | undefined;
3590
- lastTask?: {
3591
- source: "skill" | "workflow";
3592
- ref: string;
3593
- } | null | undefined;
3594
- recentSources?: {
3595
- source: "skill" | "workflow";
3596
- ref: string;
3597
- }[] | undefined;
3598
- lastWorktree?: boolean | undefined;
3599
- lastAutonomous?: boolean | undefined;
3600
- skillUsage?: {
3601
- [x: string]: number;
3602
- } | undefined;
3603
- runsView?: "list" | "table" | undefined;
3604
- githubView?: "issues" | "prs" | undefined;
3605
- appearance?: {
3606
- accent?: "cezarion" | "lime" | "violet" | undefined;
3607
- density?: "comfortable" | "compact" | "ultra" | undefined;
3608
- width?: "narrow" | "wide" | undefined;
3609
- } | undefined;
3610
- promptTemplates?: {
3611
- id: string;
3612
- label: string;
3613
- text: string;
3614
- skills?: string[] | undefined;
3615
- }[] | undefined;
3583
+ error: string;
3616
3584
  };
3617
3585
  outputFormat: "json";
3618
- status: import("hono/utils/http-status").ContentfulStatusCode;
3586
+ status: 500;
3619
3587
  input: {
3620
3588
  json: {
3621
3589
  [x: string]: unknown;
@@ -3653,10 +3621,42 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3653
3621
  };
3654
3622
  } | {
3655
3623
  output: {
3656
- error: string;
3624
+ [x: string]: import("hono/utils/types").JSONValue;
3625
+ sidebarLimits?: {
3626
+ overall?: number | null | undefined;
3627
+ needsYou?: number | null | undefined;
3628
+ finished?: number | null | undefined;
3629
+ working?: number | null | undefined;
3630
+ } | undefined;
3631
+ lastTask?: {
3632
+ source: "skill" | "workflow";
3633
+ ref: string;
3634
+ } | null | undefined;
3635
+ recentSources?: {
3636
+ source: "skill" | "workflow";
3637
+ ref: string;
3638
+ }[] | undefined;
3639
+ lastWorktree?: boolean | undefined;
3640
+ lastAutonomous?: boolean | undefined;
3641
+ skillUsage?: {
3642
+ [x: string]: number;
3643
+ } | undefined;
3644
+ runsView?: "list" | "table" | undefined;
3645
+ githubView?: "issues" | "prs" | undefined;
3646
+ appearance?: {
3647
+ accent?: "cezarion" | "lime" | "violet" | undefined;
3648
+ density?: "comfortable" | "compact" | "ultra" | undefined;
3649
+ width?: "narrow" | "wide" | undefined;
3650
+ } | undefined;
3651
+ promptTemplates?: {
3652
+ id: string;
3653
+ label: string;
3654
+ text: string;
3655
+ skills?: string[] | undefined;
3656
+ }[] | undefined;
3657
3657
  };
3658
3658
  outputFormat: "json";
3659
- status: 500;
3659
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3660
3660
  input: {
3661
3661
  json: {
3662
3662
  [x: string]: unknown;
@@ -3697,9 +3697,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3697
3697
  }, "/"> | import("hono/types").MergeSchemaPath<{
3698
3698
  "/runs/:id/events": {
3699
3699
  $get: {
3700
- output: {};
3701
- outputFormat: string;
3702
- status: import("hono/utils/http-status").StatusCode;
3700
+ output: {
3701
+ error: string;
3702
+ code?: "invalid_input" | undefined;
3703
+ };
3704
+ outputFormat: "json";
3705
+ status: 400;
3703
3706
  input: {
3704
3707
  param: {
3705
3708
  id: string;
@@ -3711,12 +3714,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3711
3714
  };
3712
3715
  };
3713
3716
  } | {
3714
- output: {
3715
- error: string;
3716
- code?: "invalid_input" | undefined;
3717
- };
3718
- outputFormat: "json";
3719
- status: 400;
3717
+ output: {};
3718
+ outputFormat: string;
3719
+ status: import("hono/utils/http-status").StatusCode;
3720
3720
  input: {
3721
3721
  param: {
3722
3722
  id: string;
@@ -3777,34 +3777,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3777
3777
  "/config": {
3778
3778
  $put: {
3779
3779
  output: {
3780
- archiveOnMerge: boolean | null;
3781
- effectiveArchiveOnMerge: boolean;
3782
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
3783
- baseBranch: string | null;
3784
- defaultRunner: string;
3785
- systemPrompt: string | null;
3786
- defaultModels: {
3787
- [x: string]: string | undefined;
3788
- };
3789
- modelsLocked: boolean;
3790
- maxParallel: number;
3791
- memoryLimitMb: number | null;
3792
- worktreeRetention: number;
3793
- liveTitleUpdates: boolean | null;
3794
- reviewGate: boolean | null;
3795
- worktreeSetup: {
3796
- commands: string[];
3797
- timeoutSeconds: number;
3798
- } | null;
3799
- worktreeSetupIssue: string | null;
3800
- worktreeTeardown: {
3801
- commands: string[];
3802
- timeoutSeconds: number;
3803
- } | null;
3804
- worktreeTeardownIssue: string | null;
3780
+ error: string;
3805
3781
  };
3806
3782
  outputFormat: "json";
3807
- status: import("hono/utils/http-status").ContentfulStatusCode;
3783
+ status: 409;
3808
3784
  input: {
3809
3785
  json: {
3810
3786
  archiveOnMerge?: boolean | null | undefined;
@@ -3832,7 +3808,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3832
3808
  error: string;
3833
3809
  };
3834
3810
  outputFormat: "json";
3835
- status: 409;
3811
+ status: 500;
3836
3812
  input: {
3837
3813
  json: {
3838
3814
  archiveOnMerge?: boolean | null | undefined;
@@ -3857,10 +3833,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3857
3833
  };
3858
3834
  } | {
3859
3835
  output: {
3860
- error: string;
3836
+ archiveOnMerge: boolean | null;
3837
+ effectiveArchiveOnMerge: boolean;
3838
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
3839
+ baseBranch: string | null;
3840
+ defaultRunner: string;
3841
+ systemPrompt: string | null;
3842
+ defaultModels: {
3843
+ [x: string]: string | undefined;
3844
+ };
3845
+ modelsLocked: boolean;
3846
+ maxParallel: number;
3847
+ memoryLimitMb: number | null;
3848
+ worktreeRetention: number;
3849
+ liveTitleUpdates: boolean | null;
3850
+ reviewGate: boolean | null;
3851
+ worktreeSetup: {
3852
+ commands: string[];
3853
+ timeoutSeconds: number;
3854
+ } | null;
3855
+ worktreeSetupIssue: string | null;
3856
+ worktreeTeardown: {
3857
+ commands: string[];
3858
+ timeoutSeconds: number;
3859
+ } | null;
3860
+ worktreeTeardownIssue: string | null;
3861
3861
  };
3862
3862
  outputFormat: "json";
3863
- status: 500;
3863
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3864
3864
  input: {
3865
3865
  json: {
3866
3866
  archiveOnMerge?: boolean | null | undefined;
@@ -4021,10 +4021,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4021
4021
  };
4022
4022
  } | {
4023
4023
  output: {
4024
- error: string;
4024
+ runId: string;
4025
+ worktreeReclaimedAt: string;
4025
4026
  };
4026
4027
  outputFormat: "json";
4027
- status: 404 | 409;
4028
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4028
4029
  input: {
4029
4030
  param: {
4030
4031
  runId: string;
@@ -4032,11 +4033,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4032
4033
  };
4033
4034
  } | {
4034
4035
  output: {
4035
- runId: string;
4036
- worktreeReclaimedAt: string;
4036
+ error: string;
4037
4037
  };
4038
4038
  outputFormat: "json";
4039
- status: import("hono/utils/http-status").ContentfulStatusCode;
4039
+ status: 404 | 409;
4040
4040
  input: {
4041
4041
  param: {
4042
4042
  runId: string;
@@ -4132,14 +4132,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4132
4132
  "/agent-config/:id": {
4133
4133
  $put: {
4134
4134
  output: {
4135
- id: string;
4136
- path: string;
4137
- exists: boolean;
4138
- content: string;
4139
- version: string | null;
4135
+ error: string;
4140
4136
  };
4141
4137
  outputFormat: "json";
4142
- status: import("hono/utils/http-status").ContentfulStatusCode;
4138
+ status: 404;
4143
4139
  input: {
4144
4140
  json: {
4145
4141
  content: string;
@@ -4152,10 +4148,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4152
4148
  };
4153
4149
  } | {
4154
4150
  output: {
4155
- error: string;
4151
+ id: string;
4152
+ path: string;
4153
+ exists: boolean;
4154
+ content: string;
4155
+ version: string | null;
4156
4156
  };
4157
4157
  outputFormat: "json";
4158
- status: 404;
4158
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4159
4159
  input: {
4160
4160
  json: {
4161
4161
  content: string;
@@ -4332,10 +4332,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4332
4332
  "/workflows": {
4333
4333
  $post: {
4334
4334
  output: {
4335
- error: string;
4335
+ path: string;
4336
+ name: string;
4336
4337
  };
4337
4338
  outputFormat: "json";
4338
- status: 400;
4339
+ status: 201;
4339
4340
  input: {
4340
4341
  json: {
4341
4342
  name: string;
@@ -4368,10 +4369,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4368
4369
  } | {
4369
4370
  output: {
4370
4371
  error: string;
4371
- exists: true;
4372
4372
  };
4373
4373
  outputFormat: "json";
4374
- status: 409;
4374
+ status: 400;
4375
4375
  input: {
4376
4376
  json: {
4377
4377
  name: string;
@@ -4404,9 +4404,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4404
4404
  } | {
4405
4405
  output: {
4406
4406
  error: string;
4407
+ exists: true;
4407
4408
  };
4408
4409
  outputFormat: "json";
4409
- status: 500;
4410
+ status: 409;
4410
4411
  input: {
4411
4412
  json: {
4412
4413
  name: string;
@@ -4438,11 +4439,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4438
4439
  };
4439
4440
  } | {
4440
4441
  output: {
4441
- path: string;
4442
- name: string;
4442
+ error: string;
4443
4443
  };
4444
4444
  outputFormat: "json";
4445
- status: 201;
4445
+ status: 500;
4446
4446
  input: {
4447
4447
  json: {
4448
4448
  name: string;
@@ -4478,10 +4478,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4478
4478
  "/workflows/:name": {
4479
4479
  $delete: {
4480
4480
  output: {
4481
- error: string;
4481
+ ok: true;
4482
+ path: string;
4482
4483
  };
4483
4484
  outputFormat: "json";
4484
- status: 400 | 404 | 409 | 500;
4485
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4485
4486
  input: {
4486
4487
  param: {
4487
4488
  name: string;
@@ -4489,11 +4490,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4489
4490
  };
4490
4491
  } | {
4491
4492
  output: {
4492
- ok: true;
4493
- path: string;
4493
+ error: string;
4494
4494
  };
4495
4495
  outputFormat: "json";
4496
- status: import("hono/utils/http-status").ContentfulStatusCode;
4496
+ status: 400 | 404 | 409 | 500;
4497
4497
  input: {
4498
4498
  param: {
4499
4499
  name: string;
@@ -4669,14 +4669,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4669
4669
  "/repo/branches/delete": {
4670
4670
  $post: {
4671
4671
  output: {
4672
- error: string;
4672
+ deleted: string[];
4673
4673
  refused: {
4674
4674
  name: string;
4675
4675
  reason: string;
4676
4676
  }[];
4677
+ dropped?: {
4678
+ sha: string;
4679
+ subject: string;
4680
+ }[] | undefined;
4677
4681
  };
4678
4682
  outputFormat: "json";
4679
- status: 409;
4683
+ status: 200;
4680
4684
  input: {
4681
4685
  json: {
4682
4686
  names: string[];
@@ -4685,18 +4689,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4685
4689
  };
4686
4690
  } | {
4687
4691
  output: {
4688
- deleted: string[];
4692
+ error: string;
4689
4693
  refused: {
4690
4694
  name: string;
4691
4695
  reason: string;
4692
4696
  }[];
4693
- dropped?: {
4694
- sha: string;
4695
- subject: string;
4696
- }[] | undefined;
4697
4697
  };
4698
4698
  outputFormat: "json";
4699
- status: 200;
4699
+ status: 409;
4700
4700
  input: {
4701
4701
  json: {
4702
4702
  names: string[];
@@ -4717,19 +4717,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4717
4717
  } & {
4718
4718
  "/repo/commit/:sha": {
4719
4719
  $get: {
4720
- output: string;
4721
- outputFormat: "text";
4722
- status: import("hono/utils/http-status").ContentfulStatusCode;
4723
- input: {
4724
- query: {
4725
- structured?: string | undefined;
4726
- };
4727
- } & {
4728
- param: {
4729
- sha: string;
4730
- };
4731
- };
4732
- } | {
4733
4720
  output: {
4734
4721
  error: string;
4735
4722
  code?: "invalid_input" | undefined;
@@ -4793,6 +4780,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4793
4780
  sha: string;
4794
4781
  };
4795
4782
  };
4783
+ } | {
4784
+ output: string;
4785
+ outputFormat: "text";
4786
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4787
+ input: {
4788
+ query: {
4789
+ structured?: string | undefined;
4790
+ };
4791
+ } & {
4792
+ param: {
4793
+ sha: string;
4794
+ };
4795
+ };
4796
4796
  };
4797
4797
  };
4798
4798
  } & {
@@ -4853,10 +4853,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4853
4853
  "/repo/pull": {
4854
4854
  $post: {
4855
4855
  output: {
4856
- error: string;
4856
+ branch: string;
4857
+ pulled: true;
4858
+ summary: string;
4857
4859
  };
4858
4860
  outputFormat: "json";
4859
- status: 409;
4861
+ status: 200;
4860
4862
  input: {
4861
4863
  json: {
4862
4864
  branch?: string | undefined;
@@ -4865,12 +4867,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4865
4867
  };
4866
4868
  } | {
4867
4869
  output: {
4868
- branch: string;
4869
- pulled: true;
4870
- summary: string;
4870
+ error: string;
4871
4871
  };
4872
4872
  outputFormat: "json";
4873
- status: 200;
4873
+ status: 409;
4874
4874
  input: {
4875
4875
  json: {
4876
4876
  branch?: string | undefined;
@@ -5829,20 +5829,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5829
5829
  "/automations": {
5830
5830
  $post: {
5831
5831
  output: {
5832
- error: string;
5833
- };
5834
- outputFormat: "json";
5835
- status: 400 | 404 | 409;
5836
- input: {
5837
- json: {
5832
+ automation: {
5833
+ [x: string]: import("hono/utils/types").JSONValue;
5834
+ id: string;
5835
+ revision: number;
5838
5836
  name: string;
5839
5837
  description?: string | undefined;
5840
- enabled?: boolean | undefined;
5841
- kind?: "github" | "schedule" | undefined;
5838
+ enabled: boolean;
5839
+ kind: "github" | "schedule";
5842
5840
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
5843
5841
  intervalSeconds?: number | undefined;
5844
5842
  filters?: {
5845
- [x: string]: unknown;
5843
+ [x: string]: import("hono/utils/types").JSONValue;
5846
5844
  includeExisting?: boolean | undefined;
5847
5845
  requireCurrentLabels?: boolean | undefined;
5848
5846
  authors?: string[] | undefined;
@@ -5851,10 +5849,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5851
5849
  anyLabels?: string[] | undefined;
5852
5850
  excludeLabels?: string[] | undefined;
5853
5851
  changedLabels?: string[] | undefined;
5854
- lookbackDays?: number | undefined;
5855
- maxRecords?: number | undefined;
5852
+ lookbackDays: number;
5853
+ maxRecords: number;
5856
5854
  } | undefined;
5857
5855
  schedule?: {
5856
+ [x: string]: import("hono/utils/types").JSONValue;
5858
5857
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
5859
5858
  hour?: number | undefined;
5860
5859
  minute?: number | undefined;
@@ -5865,6 +5864,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5865
5864
  latestStartMinutes?: number | undefined;
5866
5865
  } | undefined;
5867
5866
  task: {
5867
+ [x: string]: import("hono/utils/types").JSONValue;
5868
5868
  archiveWhenDone?: boolean | undefined;
5869
5869
  autoMergePr?: boolean | undefined;
5870
5870
  allowWorkers?: boolean | undefined;
@@ -5885,37 +5885,53 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5885
5885
  bashAllowlist?: string[] | undefined;
5886
5886
  kind?: "plugin" | undefined;
5887
5887
  pluginKind?: string | undefined;
5888
- config?: Record<string, unknown> | undefined;
5888
+ config?: {
5889
+ [x: string]: import("hono/utils/types").JSONValue;
5890
+ } | undefined;
5889
5891
  command?: string | undefined;
5890
5892
  onFail?: {
5891
5893
  retry: string;
5892
- max?: number | undefined;
5894
+ max: number;
5893
5895
  } | undefined;
5894
5896
  }[] | undefined;
5895
5897
  runner?: string | undefined;
5896
5898
  model?: string | undefined;
5897
5899
  effort?: string | undefined;
5900
+ variants?: 1 | 2 | 3 | undefined;
5898
5901
  worktree?: boolean | undefined;
5899
5902
  autonomous?: boolean | undefined;
5900
5903
  systemPrompt?: string | undefined;
5901
5904
  };
5902
- enable?: boolean | undefined;
5905
+ archived?: {
5906
+ [x: string]: import("hono/utils/types").JSONValue;
5907
+ at: string;
5908
+ outcome: "cancelled" | "launched";
5909
+ runId?: string | undefined;
5910
+ receiptId?: string | undefined;
5911
+ trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
5912
+ } | undefined;
5913
+ createdAt: string;
5914
+ updatedAt: string;
5903
5915
  };
5916
+ once?: {
5917
+ dueAt: string;
5918
+ timeZone: string;
5919
+ resolvedInstant: string;
5920
+ note: string;
5921
+ } | undefined;
5904
5922
  };
5905
- } | {
5906
- output: {
5907
- automation: {
5908
- [x: string]: import("hono/utils/types").JSONValue;
5909
- id: string;
5910
- revision: number;
5923
+ outputFormat: "json";
5924
+ status: 201;
5925
+ input: {
5926
+ json: {
5911
5927
  name: string;
5912
5928
  description?: string | undefined;
5913
- enabled: boolean;
5914
- kind: "github" | "schedule";
5929
+ enabled?: boolean | undefined;
5930
+ kind?: "github" | "schedule" | undefined;
5915
5931
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
5916
5932
  intervalSeconds?: number | undefined;
5917
5933
  filters?: {
5918
- [x: string]: import("hono/utils/types").JSONValue;
5934
+ [x: string]: unknown;
5919
5935
  includeExisting?: boolean | undefined;
5920
5936
  requireCurrentLabels?: boolean | undefined;
5921
5937
  authors?: string[] | undefined;
@@ -5924,11 +5940,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5924
5940
  anyLabels?: string[] | undefined;
5925
5941
  excludeLabels?: string[] | undefined;
5926
5942
  changedLabels?: string[] | undefined;
5927
- lookbackDays: number;
5928
- maxRecords: number;
5943
+ lookbackDays?: number | undefined;
5944
+ maxRecords?: number | undefined;
5929
5945
  } | undefined;
5930
5946
  schedule?: {
5931
- [x: string]: import("hono/utils/types").JSONValue;
5932
5947
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
5933
5948
  hour?: number | undefined;
5934
5949
  minute?: number | undefined;
@@ -5939,7 +5954,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5939
5954
  latestStartMinutes?: number | undefined;
5940
5955
  } | undefined;
5941
5956
  task: {
5942
- [x: string]: import("hono/utils/types").JSONValue;
5943
5957
  archiveWhenDone?: boolean | undefined;
5944
5958
  autoMergePr?: boolean | undefined;
5945
5959
  allowWorkers?: boolean | undefined;
@@ -5960,43 +5974,29 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5960
5974
  bashAllowlist?: string[] | undefined;
5961
5975
  kind?: "plugin" | undefined;
5962
5976
  pluginKind?: string | undefined;
5963
- config?: {
5964
- [x: string]: import("hono/utils/types").JSONValue;
5965
- } | undefined;
5977
+ config?: Record<string, unknown> | undefined;
5966
5978
  command?: string | undefined;
5967
5979
  onFail?: {
5968
5980
  retry: string;
5969
- max: number;
5981
+ max?: number | undefined;
5970
5982
  } | undefined;
5971
5983
  }[] | undefined;
5972
5984
  runner?: string | undefined;
5973
5985
  model?: string | undefined;
5974
5986
  effort?: string | undefined;
5975
- variants?: 1 | 2 | 3 | undefined;
5976
5987
  worktree?: boolean | undefined;
5977
5988
  autonomous?: boolean | undefined;
5978
5989
  systemPrompt?: string | undefined;
5979
5990
  };
5980
- archived?: {
5981
- [x: string]: import("hono/utils/types").JSONValue;
5982
- at: string;
5983
- outcome: "cancelled" | "launched";
5984
- runId?: string | undefined;
5985
- receiptId?: string | undefined;
5986
- trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
5987
- } | undefined;
5988
- createdAt: string;
5989
- updatedAt: string;
5991
+ enable?: boolean | undefined;
5990
5992
  };
5991
- once?: {
5992
- dueAt: string;
5993
- timeZone: string;
5994
- resolvedInstant: string;
5995
- note: string;
5996
- } | undefined;
5993
+ };
5994
+ } | {
5995
+ output: {
5996
+ error: string;
5997
5997
  };
5998
5998
  outputFormat: "json";
5999
- status: 201;
5999
+ status: 400 | 404 | 409;
6000
6000
  input: {
6001
6001
  json: {
6002
6002
  name: string;
@@ -6071,17 +6071,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6071
6071
  } & {
6072
6072
  "/automations/:id": {
6073
6073
  $get: {
6074
- output: {
6075
- error: string;
6076
- };
6077
- outputFormat: "json";
6078
- status: 400 | 404 | 409;
6079
- input: {
6080
- param: {
6081
- id: string;
6082
- };
6083
- };
6084
- } | {
6085
6074
  output: {
6086
6075
  automation: {
6087
6076
  [x: string]: import("hono/utils/types").JSONValue;
@@ -6244,16 +6233,110 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6244
6233
  id: string;
6245
6234
  };
6246
6235
  };
6236
+ } | {
6237
+ output: {
6238
+ error: string;
6239
+ };
6240
+ outputFormat: "json";
6241
+ status: 400 | 404 | 409;
6242
+ input: {
6243
+ param: {
6244
+ id: string;
6245
+ };
6246
+ };
6247
6247
  };
6248
6248
  };
6249
6249
  } & {
6250
6250
  "/automations/:id": {
6251
6251
  $put: {
6252
6252
  output: {
6253
- error: string;
6253
+ automation: {
6254
+ [x: string]: import("hono/utils/types").JSONValue;
6255
+ id: string;
6256
+ revision: number;
6257
+ name: string;
6258
+ description?: string | undefined;
6259
+ enabled: boolean;
6260
+ kind: "github" | "schedule";
6261
+ events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
6262
+ intervalSeconds?: number | undefined;
6263
+ filters?: {
6264
+ [x: string]: import("hono/utils/types").JSONValue;
6265
+ includeExisting?: boolean | undefined;
6266
+ requireCurrentLabels?: boolean | undefined;
6267
+ authors?: string[] | undefined;
6268
+ assignees?: string[] | undefined;
6269
+ allLabels?: string[] | undefined;
6270
+ anyLabels?: string[] | undefined;
6271
+ excludeLabels?: string[] | undefined;
6272
+ changedLabels?: string[] | undefined;
6273
+ lookbackDays: number;
6274
+ maxRecords: number;
6275
+ } | undefined;
6276
+ schedule?: {
6277
+ [x: string]: import("hono/utils/types").JSONValue;
6278
+ type: "daily" | "hours" | "once" | "weekdays" | "weekly";
6279
+ hour?: number | undefined;
6280
+ minute?: number | undefined;
6281
+ day?: number | undefined;
6282
+ every?: 1 | 2 | 3 | 4 | 6 | 8 | 12 | undefined;
6283
+ at?: string | undefined;
6284
+ timeZone?: string | undefined;
6285
+ latestStartMinutes?: number | undefined;
6286
+ } | undefined;
6287
+ task: {
6288
+ [x: string]: import("hono/utils/types").JSONValue;
6289
+ archiveWhenDone?: boolean | undefined;
6290
+ autoMergePr?: boolean | undefined;
6291
+ allowWorkers?: boolean | undefined;
6292
+ allowMessaging?: boolean | undefined;
6293
+ prompt: string;
6294
+ workflow?: string | undefined;
6295
+ steps?: {
6296
+ id: string;
6297
+ name?: string | undefined;
6298
+ prompt?: string | undefined;
6299
+ skill?: string | undefined;
6300
+ model?: string | undefined;
6301
+ effort?: string | undefined;
6302
+ timeoutMs?: number | undefined;
6303
+ runner?: string | undefined;
6304
+ agentProfile?: string | undefined;
6305
+ allowedTools?: string[] | undefined;
6306
+ bashAllowlist?: string[] | undefined;
6307
+ kind?: "plugin" | undefined;
6308
+ pluginKind?: string | undefined;
6309
+ config?: {
6310
+ [x: string]: import("hono/utils/types").JSONValue;
6311
+ } | undefined;
6312
+ command?: string | undefined;
6313
+ onFail?: {
6314
+ retry: string;
6315
+ max: number;
6316
+ } | undefined;
6317
+ }[] | undefined;
6318
+ runner?: string | undefined;
6319
+ model?: string | undefined;
6320
+ effort?: string | undefined;
6321
+ variants?: 1 | 2 | 3 | undefined;
6322
+ worktree?: boolean | undefined;
6323
+ autonomous?: boolean | undefined;
6324
+ systemPrompt?: string | undefined;
6325
+ };
6326
+ archived?: {
6327
+ [x: string]: import("hono/utils/types").JSONValue;
6328
+ at: string;
6329
+ outcome: "cancelled" | "launched";
6330
+ runId?: string | undefined;
6331
+ receiptId?: string | undefined;
6332
+ trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
6333
+ } | undefined;
6334
+ createdAt: string;
6335
+ updatedAt: string;
6336
+ };
6254
6337
  };
6255
6338
  outputFormat: "json";
6256
- status: 400 | 404 | 409;
6339
+ status: import("hono/utils/http-status").ContentfulStatusCode;
6257
6340
  input: {
6258
6341
  json: {
6259
6342
  name: string;
@@ -6329,93 +6412,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6329
6412
  };
6330
6413
  } | {
6331
6414
  output: {
6332
- automation: {
6333
- [x: string]: import("hono/utils/types").JSONValue;
6334
- id: string;
6335
- revision: number;
6336
- name: string;
6337
- description?: string | undefined;
6338
- enabled: boolean;
6339
- kind: "github" | "schedule";
6340
- events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
6341
- intervalSeconds?: number | undefined;
6342
- filters?: {
6343
- [x: string]: import("hono/utils/types").JSONValue;
6344
- includeExisting?: boolean | undefined;
6345
- requireCurrentLabels?: boolean | undefined;
6346
- authors?: string[] | undefined;
6347
- assignees?: string[] | undefined;
6348
- allLabels?: string[] | undefined;
6349
- anyLabels?: string[] | undefined;
6350
- excludeLabels?: string[] | undefined;
6351
- changedLabels?: string[] | undefined;
6352
- lookbackDays: number;
6353
- maxRecords: number;
6354
- } | undefined;
6355
- schedule?: {
6356
- [x: string]: import("hono/utils/types").JSONValue;
6357
- type: "daily" | "hours" | "once" | "weekdays" | "weekly";
6358
- hour?: number | undefined;
6359
- minute?: number | undefined;
6360
- day?: number | undefined;
6361
- every?: 1 | 2 | 3 | 4 | 6 | 8 | 12 | undefined;
6362
- at?: string | undefined;
6363
- timeZone?: string | undefined;
6364
- latestStartMinutes?: number | undefined;
6365
- } | undefined;
6366
- task: {
6367
- [x: string]: import("hono/utils/types").JSONValue;
6368
- archiveWhenDone?: boolean | undefined;
6369
- autoMergePr?: boolean | undefined;
6370
- allowWorkers?: boolean | undefined;
6371
- allowMessaging?: boolean | undefined;
6372
- prompt: string;
6373
- workflow?: string | undefined;
6374
- steps?: {
6375
- id: string;
6376
- name?: string | undefined;
6377
- prompt?: string | undefined;
6378
- skill?: string | undefined;
6379
- model?: string | undefined;
6380
- effort?: string | undefined;
6381
- timeoutMs?: number | undefined;
6382
- runner?: string | undefined;
6383
- agentProfile?: string | undefined;
6384
- allowedTools?: string[] | undefined;
6385
- bashAllowlist?: string[] | undefined;
6386
- kind?: "plugin" | undefined;
6387
- pluginKind?: string | undefined;
6388
- config?: {
6389
- [x: string]: import("hono/utils/types").JSONValue;
6390
- } | undefined;
6391
- command?: string | undefined;
6392
- onFail?: {
6393
- retry: string;
6394
- max: number;
6395
- } | undefined;
6396
- }[] | undefined;
6397
- runner?: string | undefined;
6398
- model?: string | undefined;
6399
- effort?: string | undefined;
6400
- variants?: 1 | 2 | 3 | undefined;
6401
- worktree?: boolean | undefined;
6402
- autonomous?: boolean | undefined;
6403
- systemPrompt?: string | undefined;
6404
- };
6405
- archived?: {
6406
- [x: string]: import("hono/utils/types").JSONValue;
6407
- at: string;
6408
- outcome: "cancelled" | "launched";
6409
- runId?: string | undefined;
6410
- receiptId?: string | undefined;
6411
- trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
6412
- } | undefined;
6413
- createdAt: string;
6414
- updatedAt: string;
6415
- };
6415
+ error: string;
6416
6416
  };
6417
6417
  outputFormat: "json";
6418
- status: import("hono/utils/http-status").ContentfulStatusCode;
6418
+ status: 400 | 404 | 409;
6419
6419
  input: {
6420
6420
  json: {
6421
6421
  name: string;
@@ -6518,17 +6518,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6518
6518
  } & {
6519
6519
  "/automations/:id/enable": {
6520
6520
  $post: {
6521
- output: {
6522
- error: string;
6523
- };
6524
- outputFormat: "json";
6525
- status: 400 | 404 | 409;
6526
- input: {
6527
- param: {
6528
- id: string;
6529
- };
6530
- };
6531
- } | {
6532
6521
  output: {
6533
6522
  automation: {
6534
6523
  [x: string]: import("hono/utils/types").JSONValue;
@@ -6622,11 +6611,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6622
6611
  id: string;
6623
6612
  };
6624
6613
  };
6625
- };
6626
- };
6627
- } & {
6628
- "/automations/:id/pause": {
6629
- $post: {
6614
+ } | {
6630
6615
  output: {
6631
6616
  error: string;
6632
6617
  };
@@ -6637,7 +6622,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6637
6622
  id: string;
6638
6623
  };
6639
6624
  };
6640
- } | {
6625
+ };
6626
+ };
6627
+ } & {
6628
+ "/automations/:id/pause": {
6629
+ $post: {
6641
6630
  output: {
6642
6631
  automation: {
6643
6632
  [x: string]: import("hono/utils/types").JSONValue;
@@ -6731,11 +6720,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6731
6720
  id: string;
6732
6721
  };
6733
6722
  };
6734
- };
6735
- };
6736
- } & {
6737
- "/automations/:id/cancel": {
6738
- $post: {
6723
+ } | {
6739
6724
  output: {
6740
6725
  error: string;
6741
6726
  };
@@ -6746,7 +6731,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6746
6731
  id: string;
6747
6732
  };
6748
6733
  };
6749
- } | {
6734
+ };
6735
+ };
6736
+ } & {
6737
+ "/automations/:id/cancel": {
6738
+ $post: {
6750
6739
  output: {
6751
6740
  automation: {
6752
6741
  [x: string]: import("hono/utils/types").JSONValue;
@@ -6840,16 +6829,27 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6840
6829
  id: string;
6841
6830
  };
6842
6831
  };
6832
+ } | {
6833
+ output: {
6834
+ error: string;
6835
+ };
6836
+ outputFormat: "json";
6837
+ status: 400 | 404 | 409;
6838
+ input: {
6839
+ param: {
6840
+ id: string;
6841
+ };
6842
+ };
6843
6843
  };
6844
6844
  };
6845
6845
  } & {
6846
6846
  "/automations/:id/run": {
6847
6847
  $post: {
6848
6848
  output: {
6849
- error: string;
6849
+ runId: string;
6850
6850
  };
6851
6851
  outputFormat: "json";
6852
- status: 400 | 404 | 409;
6852
+ status: 202;
6853
6853
  input: {
6854
6854
  param: {
6855
6855
  id: string;
@@ -6857,10 +6857,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6857
6857
  };
6858
6858
  } | {
6859
6859
  output: {
6860
- runId: string;
6860
+ error: string;
6861
6861
  };
6862
6862
  outputFormat: "json";
6863
- status: 202;
6863
+ status: 400 | 404 | 409;
6864
6864
  input: {
6865
6865
  param: {
6866
6866
  id: string;
@@ -6872,10 +6872,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6872
6872
  "/automations/:id/check": {
6873
6873
  $post: {
6874
6874
  output: {
6875
- error: string;
6875
+ checkId: string;
6876
6876
  };
6877
6877
  outputFormat: "json";
6878
- status: 404;
6878
+ status: 202;
6879
6879
  input: {
6880
6880
  json: {
6881
6881
  mode: "execute" | "preview";
@@ -6890,7 +6890,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6890
6890
  error: string;
6891
6891
  };
6892
6892
  outputFormat: "json";
6893
- status: 409;
6893
+ status: 404;
6894
6894
  input: {
6895
6895
  json: {
6896
6896
  mode: "execute" | "preview";
@@ -6902,10 +6902,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6902
6902
  };
6903
6903
  } | {
6904
6904
  output: {
6905
- checkId: string;
6905
+ error: string;
6906
6906
  };
6907
6907
  outputFormat: "json";
6908
- status: 202;
6908
+ status: 409;
6909
6909
  input: {
6910
6910
  json: {
6911
6911
  mode: "execute" | "preview";
@@ -8199,6 +8199,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8199
8199
  } & {
8200
8200
  "/run-summaries": {
8201
8201
  $get: {
8202
+ output: {
8203
+ error: string;
8204
+ code?: "invalid_input" | undefined;
8205
+ };
8206
+ outputFormat: "json";
8207
+ status: 400;
8208
+ input: {
8209
+ query: {
8210
+ archived?: "all" | "recent" | undefined;
8211
+ };
8212
+ };
8213
+ } | {
8202
8214
  output: {
8203
8215
  id: string;
8204
8216
  title: string;
@@ -8332,18 +8344,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8332
8344
  archived?: "all" | "recent" | undefined;
8333
8345
  };
8334
8346
  };
8335
- } | {
8336
- output: {
8337
- error: string;
8338
- code?: "invalid_input" | undefined;
8339
- };
8340
- outputFormat: "json";
8341
- status: 400;
8342
- input: {
8343
- query: {
8344
- archived?: "all" | "recent" | undefined;
8345
- };
8346
- };
8347
8347
  };
8348
8348
  };
8349
8349
  } & {
@@ -8701,11 +8701,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8701
8701
  "/runs/:id/worker-destroy": {
8702
8702
  $post: {
8703
8703
  output: {
8704
- error: string;
8705
- code?: "invalid_input" | undefined;
8704
+ workerId: string;
8705
+ state: "complete" | "incomplete";
8706
+ work?: {
8707
+ uncommittedFiles: number;
8708
+ commits: number;
8709
+ } | undefined;
8710
+ deleted?: ({
8711
+ kind: "worktree";
8712
+ path: string;
8713
+ } | {
8714
+ kind: "branch";
8715
+ ref: string;
8716
+ })[] | undefined;
8717
+ remaining: ("branch" | "process" | "worktree")[];
8718
+ error?: string | undefined;
8706
8719
  };
8707
8720
  outputFormat: "json";
8708
- status: 400;
8721
+ status: 200;
8709
8722
  input: {
8710
8723
  query: {
8711
8724
  [x: string]: string | string[];
@@ -8721,24 +8734,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8721
8734
  };
8722
8735
  } | {
8723
8736
  output: {
8724
- workerId: string;
8725
- state: "complete" | "incomplete";
8726
- work?: {
8727
- uncommittedFiles: number;
8728
- commits: number;
8729
- } | undefined;
8730
- deleted?: ({
8731
- kind: "worktree";
8732
- path: string;
8733
- } | {
8734
- kind: "branch";
8735
- ref: string;
8736
- })[] | undefined;
8737
- remaining: ("branch" | "process" | "worktree")[];
8738
- error?: string | undefined;
8737
+ error: string;
8738
+ code?: "invalid_input" | undefined;
8739
8739
  };
8740
8740
  outputFormat: "json";
8741
- status: 200;
8741
+ status: 400;
8742
8742
  input: {
8743
8743
  query: {
8744
8744
  [x: string]: string | string[];
@@ -8854,6 +8854,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8854
8854
  } & {
8855
8855
  "/runs/:id/archive": {
8856
8856
  $post: {
8857
+ output: {
8858
+ error: string;
8859
+ };
8860
+ outputFormat: "json";
8861
+ status: 404;
8862
+ input: {
8863
+ json: {
8864
+ archived?: boolean | undefined;
8865
+ };
8866
+ } & {
8867
+ param: {
8868
+ id: string;
8869
+ };
8870
+ };
8871
+ } | {
8857
8872
  output: {
8858
8873
  archiveWhenDone?: boolean | undefined;
8859
8874
  autoMergePr?: boolean | undefined;
@@ -10032,32 +10047,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10032
10047
  id: string;
10033
10048
  };
10034
10049
  };
10035
- } | {
10050
+ };
10051
+ };
10052
+ } & {
10053
+ "/runs/:id/pin": {
10054
+ $post: {
10036
10055
  output: {
10037
10056
  error: string;
10057
+ code?: "invalid_input" | undefined;
10038
10058
  };
10039
10059
  outputFormat: "json";
10040
- status: 404;
10060
+ status: 400;
10041
10061
  input: {
10042
- json: {
10043
- archived?: boolean | undefined;
10044
- };
10045
- } & {
10046
10062
  param: {
10047
10063
  id: string;
10048
10064
  };
10065
+ } & {
10066
+ json: {
10067
+ pinned?: boolean | undefined;
10068
+ };
10049
10069
  };
10050
- };
10051
- };
10052
- } & {
10053
- "/runs/:id/pin": {
10054
- $post: {
10070
+ } | {
10055
10071
  output: {
10056
10072
  error: string;
10057
- code?: "invalid_input" | undefined;
10058
10073
  };
10059
10074
  outputFormat: "json";
10060
- status: 400;
10075
+ status: 404;
10061
10076
  input: {
10062
10077
  param: {
10063
10078
  id: string;
@@ -11246,21 +11261,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11246
11261
  pinned?: boolean | undefined;
11247
11262
  };
11248
11263
  };
11249
- } | {
11250
- output: {
11251
- error: string;
11252
- };
11253
- outputFormat: "json";
11254
- status: 404;
11255
- input: {
11256
- param: {
11257
- id: string;
11258
- };
11259
- } & {
11260
- json: {
11261
- pinned?: boolean | undefined;
11262
- };
11263
- };
11264
11264
  };
11265
11265
  };
11266
11266
  } & {
@@ -11287,7 +11287,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11287
11287
  error: string;
11288
11288
  };
11289
11289
  outputFormat: "json";
11290
- status: 404;
11290
+ status: 400;
11291
11291
  input: {
11292
11292
  param: {
11293
11293
  id: string;
@@ -11303,7 +11303,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11303
11303
  error: string;
11304
11304
  };
11305
11305
  outputFormat: "json";
11306
- status: 400;
11306
+ status: 404;
11307
11307
  input: {
11308
11308
  param: {
11309
11309
  id: string;
@@ -12525,6 +12525,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12525
12525
  } & {
12526
12526
  "/runs/:id/read": {
12527
12527
  $post: {
12528
+ output: {
12529
+ error: string;
12530
+ };
12531
+ outputFormat: "json";
12532
+ status: 404;
12533
+ input: {
12534
+ param: {
12535
+ id: string;
12536
+ };
12537
+ };
12538
+ } | {
12528
12539
  output: {
12529
12540
  archiveWhenDone?: boolean | undefined;
12530
12541
  autoMergePr?: boolean | undefined;
@@ -13699,7 +13710,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13699
13710
  id: string;
13700
13711
  };
13701
13712
  };
13702
- } | {
13713
+ };
13714
+ };
13715
+ } & {
13716
+ "/runs/:id/unread": {
13717
+ $post: {
13703
13718
  output: {
13704
13719
  error: string;
13705
13720
  };
@@ -13710,11 +13725,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13710
13725
  id: string;
13711
13726
  };
13712
13727
  };
13713
- };
13714
- };
13715
- } & {
13716
- "/runs/:id/unread": {
13717
- $post: {
13728
+ } | {
13718
13729
  output: {
13719
13730
  archiveWhenDone?: boolean | undefined;
13720
13731
  autoMergePr?: boolean | undefined;
@@ -14889,17 +14900,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14889
14900
  id: string;
14890
14901
  };
14891
14902
  };
14892
- } | {
14893
- output: {
14894
- error: string;
14895
- };
14896
- outputFormat: "json";
14897
- status: 404;
14898
- input: {
14899
- param: {
14900
- id: string;
14901
- };
14902
- };
14903
14903
  };
14904
14904
  };
14905
14905
  } & {
@@ -16175,6 +16175,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16175
16175
  } & {
16176
16176
  "/runs/:id": {
16177
16177
  $get: {
16178
+ output: {
16179
+ error: string;
16180
+ };
16181
+ outputFormat: "json";
16182
+ status: 404;
16183
+ input: {
16184
+ param: {
16185
+ id: string;
16186
+ };
16187
+ };
16188
+ } | {
16178
16189
  output: {
16179
16190
  archiveWhenDone?: boolean | undefined;
16180
16191
  autoMergePr?: boolean | undefined;
@@ -17357,17 +17368,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17357
17368
  id: string;
17358
17369
  };
17359
17370
  };
17360
- } | {
17361
- output: {
17362
- error: string;
17363
- };
17364
- outputFormat: "json";
17365
- status: 404;
17366
- input: {
17367
- param: {
17368
- id: string;
17369
- };
17370
- };
17371
17371
  };
17372
17372
  };
17373
17373
  } & {
@@ -17495,6 +17495,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17495
17495
  } & {
17496
17496
  "/runs/:id": {
17497
17497
  $patch: {
17498
+ output: {
17499
+ error: string;
17500
+ };
17501
+ outputFormat: "json";
17502
+ status: 400;
17503
+ input: {
17504
+ json: {
17505
+ archiveWhenDone?: boolean | undefined;
17506
+ autoMergePr?: boolean | undefined;
17507
+ allowWorkers?: boolean | undefined;
17508
+ allowMessaging?: boolean | undefined;
17509
+ title?: string | undefined;
17510
+ task?: string | undefined;
17511
+ };
17512
+ } & {
17513
+ param: {
17514
+ id: string;
17515
+ };
17516
+ };
17517
+ } | {
17518
+ output: {
17519
+ error: string;
17520
+ };
17521
+ outputFormat: "json";
17522
+ status: 404;
17523
+ input: {
17524
+ json: {
17525
+ archiveWhenDone?: boolean | undefined;
17526
+ autoMergePr?: boolean | undefined;
17527
+ allowWorkers?: boolean | undefined;
17528
+ allowMessaging?: boolean | undefined;
17529
+ title?: string | undefined;
17530
+ task?: string | undefined;
17531
+ };
17532
+ } & {
17533
+ param: {
17534
+ id: string;
17535
+ };
17536
+ };
17537
+ } | {
17538
+ output: {
17539
+ error: string;
17540
+ };
17541
+ outputFormat: "json";
17542
+ status: 409;
17543
+ input: {
17544
+ json: {
17545
+ archiveWhenDone?: boolean | undefined;
17546
+ autoMergePr?: boolean | undefined;
17547
+ allowWorkers?: boolean | undefined;
17548
+ allowMessaging?: boolean | undefined;
17549
+ title?: string | undefined;
17550
+ task?: string | undefined;
17551
+ };
17552
+ } & {
17553
+ param: {
17554
+ id: string;
17555
+ };
17556
+ };
17557
+ } | {
17498
17558
  output: {
17499
17559
  archiveWhenDone?: boolean | undefined;
17500
17560
  autoMergePr?: boolean | undefined;
@@ -18678,66 +18738,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18678
18738
  id: string;
18679
18739
  };
18680
18740
  };
18681
- } | {
18682
- output: {
18683
- error: string;
18684
- };
18685
- outputFormat: "json";
18686
- status: 404;
18687
- input: {
18688
- json: {
18689
- archiveWhenDone?: boolean | undefined;
18690
- autoMergePr?: boolean | undefined;
18691
- allowWorkers?: boolean | undefined;
18692
- allowMessaging?: boolean | undefined;
18693
- title?: string | undefined;
18694
- task?: string | undefined;
18695
- };
18696
- } & {
18697
- param: {
18698
- id: string;
18699
- };
18700
- };
18701
- } | {
18702
- output: {
18703
- error: string;
18704
- };
18705
- outputFormat: "json";
18706
- status: 400;
18707
- input: {
18708
- json: {
18709
- archiveWhenDone?: boolean | undefined;
18710
- autoMergePr?: boolean | undefined;
18711
- allowWorkers?: boolean | undefined;
18712
- allowMessaging?: boolean | undefined;
18713
- title?: string | undefined;
18714
- task?: string | undefined;
18715
- };
18716
- } & {
18717
- param: {
18718
- id: string;
18719
- };
18720
- };
18721
- } | {
18722
- output: {
18723
- error: string;
18724
- };
18725
- outputFormat: "json";
18726
- status: 409;
18727
- input: {
18728
- json: {
18729
- archiveWhenDone?: boolean | undefined;
18730
- autoMergePr?: boolean | undefined;
18731
- allowWorkers?: boolean | undefined;
18732
- allowMessaging?: boolean | undefined;
18733
- title?: string | undefined;
18734
- task?: string | undefined;
18735
- };
18736
- } & {
18737
- param: {
18738
- id: string;
18739
- };
18740
- };
18741
18741
  };
18742
18742
  };
18743
18743
  } & {
@@ -18842,7 +18842,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18842
18842
  error: string;
18843
18843
  };
18844
18844
  outputFormat: "json";
18845
- status: 404;
18845
+ status: 400;
18846
18846
  input: {
18847
18847
  json: {
18848
18848
  text?: string | undefined;
@@ -18861,7 +18861,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18861
18861
  error: string;
18862
18862
  };
18863
18863
  outputFormat: "json";
18864
- status: 409;
18864
+ status: 404;
18865
18865
  input: {
18866
18866
  json: {
18867
18867
  text?: string | undefined;
@@ -18877,10 +18877,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18877
18877
  };
18878
18878
  } | {
18879
18879
  output: {
18880
- delivered: true;
18880
+ error: string;
18881
18881
  };
18882
18882
  outputFormat: "json";
18883
- status: import("hono/utils/http-status").ContentfulStatusCode;
18883
+ status: 409;
18884
18884
  input: {
18885
18885
  json: {
18886
18886
  text?: string | undefined;
@@ -18896,10 +18896,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18896
18896
  };
18897
18897
  } | {
18898
18898
  output: {
18899
- error: string;
18899
+ delivered: true;
18900
18900
  };
18901
18901
  outputFormat: "json";
18902
- status: 400;
18902
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18903
18903
  input: {
18904
18904
  json: {
18905
18905
  text?: string | undefined;
@@ -18967,7 +18967,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18967
18967
  error: string;
18968
18968
  };
18969
18969
  outputFormat: "json";
18970
- status: 404;
18970
+ status: 400;
18971
18971
  input: {
18972
18972
  json: {
18973
18973
  text?: string | undefined;
@@ -18988,7 +18988,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18988
18988
  error: string;
18989
18989
  };
18990
18990
  outputFormat: "json";
18991
- status: 400;
18991
+ status: 404;
18992
18992
  input: {
18993
18993
  json: {
18994
18994
  text?: string | undefined;
@@ -19208,10 +19208,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19208
19208
  "/runs/:id/open-in-cli": {
19209
19209
  $post: {
19210
19210
  output: {
19211
- error: string;
19211
+ opened: true;
19212
+ command: string;
19212
19213
  };
19213
19214
  outputFormat: "json";
19214
- status: 404 | 409;
19215
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19215
19216
  input: {
19216
19217
  param: {
19217
19218
  id: string;
@@ -19219,11 +19220,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19219
19220
  };
19220
19221
  } | {
19221
19222
  output: {
19222
- opened: true;
19223
- command: string;
19223
+ error: string;
19224
19224
  };
19225
19225
  outputFormat: "json";
19226
- status: import("hono/utils/http-status").ContentfulStatusCode;
19226
+ status: 404 | 409;
19227
19227
  input: {
19228
19228
  param: {
19229
19229
  id: string;
@@ -19238,7 +19238,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19238
19238
  error: string;
19239
19239
  };
19240
19240
  outputFormat: "json";
19241
- status: 404 | 409;
19241
+ status: 400;
19242
19242
  input: {
19243
19243
  json: {
19244
19244
  target: string;
@@ -19251,10 +19251,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19251
19251
  };
19252
19252
  } | {
19253
19253
  output: {
19254
- error: string;
19254
+ opened: true;
19255
+ path: string;
19255
19256
  };
19256
19257
  outputFormat: "json";
19257
- status: 400;
19258
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19258
19259
  input: {
19259
19260
  json: {
19260
19261
  target: string;
@@ -19267,11 +19268,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19267
19268
  };
19268
19269
  } | {
19269
19270
  output: {
19270
- opened: true;
19271
- path: string;
19271
+ error: string;
19272
19272
  };
19273
19273
  outputFormat: "json";
19274
- status: import("hono/utils/http-status").ContentfulStatusCode;
19274
+ status: 404 | 409;
19275
19275
  input: {
19276
19276
  json: {
19277
19277
  target: string;
@@ -19311,9 +19311,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19311
19311
  } & {
19312
19312
  "/runs/:id/images/:file": {
19313
19313
  $get: {
19314
- output: {};
19315
- outputFormat: string;
19316
- status: import("hono/utils/http-status").StatusCode;
19314
+ output: {
19315
+ error: string;
19316
+ code?: "invalid_input" | undefined;
19317
+ };
19318
+ outputFormat: "json";
19319
+ status: 400;
19317
19320
  input: {
19318
19321
  param: {
19319
19322
  id: string;
@@ -19321,12 +19324,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19321
19324
  };
19322
19325
  };
19323
19326
  } | {
19324
- output: {
19325
- error: string;
19326
- code?: "invalid_input" | undefined;
19327
- };
19328
- outputFormat: "json";
19329
- status: 400;
19327
+ output: {};
19328
+ outputFormat: string;
19329
+ status: import("hono/utils/http-status").StatusCode;
19330
19330
  input: {
19331
19331
  param: {
19332
19332
  id: string;
@@ -19362,17 +19362,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19362
19362
  } & {
19363
19363
  "/runs/:id/changes": {
19364
19364
  $get: {
19365
- output: {
19366
- error: string;
19367
- };
19368
- outputFormat: "json";
19369
- status: 404 | 409;
19370
- input: {
19371
- param: {
19372
- id: string;
19373
- };
19374
- };
19375
- } | {
19376
19365
  output: {
19377
19366
  files: {
19378
19367
  path: string;
@@ -19401,11 +19390,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19401
19390
  id: string;
19402
19391
  };
19403
19392
  };
19404
- };
19405
- };
19406
- } & {
19407
- "/runs/:id/commits": {
19408
- $get: {
19393
+ } | {
19409
19394
  output: {
19410
19395
  error: string;
19411
19396
  };
@@ -19416,7 +19401,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19416
19401
  id: string;
19417
19402
  };
19418
19403
  };
19419
- } | {
19404
+ };
19405
+ };
19406
+ } & {
19407
+ "/runs/:id/commits": {
19408
+ $get: {
19420
19409
  output: {
19421
19410
  commits: {
19422
19411
  sha: string;
@@ -19432,11 +19421,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19432
19421
  id: string;
19433
19422
  };
19434
19423
  };
19435
- };
19436
- };
19437
- } & {
19438
- "/runs/:id/commit/:sha": {
19439
- $get: {
19424
+ } | {
19440
19425
  output: {
19441
19426
  error: string;
19442
19427
  };
@@ -19445,11 +19430,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19445
19430
  input: {
19446
19431
  param: {
19447
19432
  id: string;
19448
- } & {
19449
- sha: string;
19450
19433
  };
19451
19434
  };
19452
- } | {
19435
+ };
19436
+ };
19437
+ } & {
19438
+ "/runs/:id/commit/:sha": {
19439
+ $get: {
19453
19440
  output: {
19454
19441
  sha: string;
19455
19442
  subject: string;
@@ -19475,9 +19462,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19475
19462
  status: import("hono/utils/http-status").ContentfulStatusCode;
19476
19463
  input: {
19477
19464
  param: {
19478
- id: string;
19465
+ sha: string;
19479
19466
  } & {
19467
+ id: string;
19468
+ };
19469
+ };
19470
+ } | {
19471
+ output: {
19472
+ error: string;
19473
+ };
19474
+ outputFormat: "json";
19475
+ status: 404 | 409;
19476
+ input: {
19477
+ param: {
19480
19478
  sha: string;
19479
+ } & {
19480
+ id: string;
19481
19481
  };
19482
19482
  };
19483
19483
  };
@@ -19515,22 +19515,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19515
19515
  raw?: "1" | undefined;
19516
19516
  };
19517
19517
  };
19518
- } | {
19519
- output: {
19520
- error: string;
19521
- };
19522
- outputFormat: "json";
19523
- status: 404 | 409;
19524
- input: {
19525
- param: {
19526
- id: string;
19527
- };
19528
- } & {
19529
- query: {
19530
- path: string | string[];
19531
- raw?: "1" | undefined;
19532
- };
19533
- };
19534
19518
  } | {
19535
19519
  output: {
19536
19520
  type: "file";
@@ -19567,6 +19551,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19567
19551
  raw?: "1" | undefined;
19568
19552
  };
19569
19553
  };
19554
+ } | {
19555
+ output: {
19556
+ error: string;
19557
+ };
19558
+ outputFormat: "json";
19559
+ status: 404 | 409;
19560
+ input: {
19561
+ param: {
19562
+ id: string;
19563
+ };
19564
+ } & {
19565
+ query: {
19566
+ path: string | string[];
19567
+ raw?: "1" | undefined;
19568
+ };
19569
+ };
19570
19570
  };
19571
19571
  };
19572
19572
  } & {
@@ -19631,6 +19631,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19631
19631
  artifactId: string;
19632
19632
  };
19633
19633
  };
19634
+ } | {
19635
+ output: {
19636
+ error: string;
19637
+ };
19638
+ outputFormat: "json";
19639
+ status: 404;
19640
+ input: {
19641
+ param: {
19642
+ id: string;
19643
+ artifactId: string;
19644
+ };
19645
+ };
19634
19646
  } | {
19635
19647
  output: {
19636
19648
  type: "file";
@@ -19659,18 +19671,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19659
19671
  artifactId: string;
19660
19672
  };
19661
19673
  };
19662
- } | {
19663
- output: {
19664
- error: string;
19665
- };
19666
- outputFormat: "json";
19667
- status: 404;
19668
- input: {
19669
- param: {
19670
- id: string;
19671
- artifactId: string;
19672
- };
19673
- };
19674
19674
  };
19675
19675
  };
19676
19676
  } & {
@@ -19848,10 +19848,16 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19848
19848
  };
19849
19849
  } | {
19850
19850
  output: {
19851
- error: string;
19851
+ type: 'dir';
19852
+ path: string;
19853
+ entries: {
19854
+ name: string;
19855
+ type: 'dir' | 'file';
19856
+ size?: number;
19857
+ }[];
19852
19858
  };
19853
19859
  outputFormat: "json";
19854
- status: 404 | 409;
19860
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19855
19861
  input: {
19856
19862
  query: {
19857
19863
  path?: string | undefined;
@@ -19864,13 +19870,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19864
19870
  };
19865
19871
  } | {
19866
19872
  output: {
19867
- type: 'dir';
19873
+ type: 'file';
19868
19874
  path: string;
19869
- entries: {
19870
- name: string;
19871
- type: 'dir' | 'file';
19872
- size?: number;
19873
- }[];
19875
+ size: number;
19876
+ binary: boolean;
19877
+ tooLarge: boolean;
19878
+ content?: string | undefined;
19874
19879
  };
19875
19880
  outputFormat: "json";
19876
19881
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -19886,15 +19891,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19886
19891
  };
19887
19892
  } | {
19888
19893
  output: {
19889
- type: 'file';
19890
- path: string;
19891
- size: number;
19892
- binary: boolean;
19893
- tooLarge: boolean;
19894
- content?: string | undefined;
19894
+ error: string;
19895
19895
  };
19896
19896
  outputFormat: "json";
19897
- status: import("hono/utils/http-status").ContentfulStatusCode;
19897
+ status: 404 | 409;
19898
19898
  input: {
19899
19899
  query: {
19900
19900
  path?: string | undefined;
@@ -19911,10 +19911,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19911
19911
  "/runs/:id/git/commit": {
19912
19912
  $post: {
19913
19913
  output: {
19914
- error: string;
19914
+ committed: true;
19915
+ sha: string;
19915
19916
  };
19916
19917
  outputFormat: "json";
19917
- status: 404 | 409;
19918
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19918
19919
  input: {
19919
19920
  json: {
19920
19921
  message: string;
@@ -19926,11 +19927,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19926
19927
  };
19927
19928
  } | {
19928
19929
  output: {
19929
- committed: true;
19930
- sha: string;
19930
+ error: string;
19931
19931
  };
19932
19932
  outputFormat: "json";
19933
- status: import("hono/utils/http-status").ContentfulStatusCode;
19933
+ status: 404 | 409;
19934
19934
  input: {
19935
19935
  json: {
19936
19936
  message: string;
@@ -19946,10 +19946,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19946
19946
  "/runs/:id/git/push": {
19947
19947
  $post: {
19948
19948
  output: {
19949
- error: string;
19949
+ pushed: true;
19950
+ branch: string;
19951
+ remote: string;
19952
+ upstreamSet: boolean;
19950
19953
  };
19951
19954
  outputFormat: "json";
19952
- status: 404 | 409;
19955
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19953
19956
  input: {
19954
19957
  param: {
19955
19958
  id: string;
@@ -19957,13 +19960,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19957
19960
  };
19958
19961
  } | {
19959
19962
  output: {
19960
- pushed: true;
19961
- branch: string;
19962
- remote: string;
19963
- upstreamSet: boolean;
19963
+ error: string;
19964
19964
  };
19965
19965
  outputFormat: "json";
19966
- status: import("hono/utils/http-status").ContentfulStatusCode;
19966
+ status: 404 | 409;
19967
19967
  input: {
19968
19968
  param: {
19969
19969
  id: string;
@@ -19975,10 +19975,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19975
19975
  "/runs/:id/pr": {
19976
19976
  $post: {
19977
19977
  output: {
19978
- error: string;
19978
+ url: string;
19979
+ dryRun: boolean;
19979
19980
  };
19980
19981
  outputFormat: "json";
19981
- status: 404 | 409;
19982
+ status: 201;
19982
19983
  input: {
19983
19984
  param: {
19984
19985
  id: string;
@@ -19986,11 +19987,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19986
19987
  };
19987
19988
  } | {
19988
19989
  output: {
19989
- url: string;
19990
- dryRun: boolean;
19990
+ error: string;
19991
19991
  };
19992
19992
  outputFormat: "json";
19993
- status: 201;
19993
+ status: 404 | 409;
19994
19994
  input: {
19995
19995
  param: {
19996
19996
  id: string;
@@ -20002,10 +20002,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20002
20002
  "/runs/:id/remove-worktree": {
20003
20003
  $post: {
20004
20004
  output: {
20005
- error: string;
20005
+ removed: true;
20006
20006
  };
20007
20007
  outputFormat: "json";
20008
- status: 404 | 409;
20008
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20009
20009
  input: {
20010
20010
  param: {
20011
20011
  id: string;
@@ -20013,10 +20013,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20013
20013
  };
20014
20014
  } | {
20015
20015
  output: {
20016
- removed: true;
20016
+ error: string;
20017
20017
  };
20018
20018
  outputFormat: "json";
20019
- status: import("hono/utils/http-status").ContentfulStatusCode;
20019
+ status: 404 | 409;
20020
20020
  input: {
20021
20021
  param: {
20022
20022
  id: string;
@@ -20028,10 +20028,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20028
20028
  "/runs/:id": {
20029
20029
  $delete: {
20030
20030
  output: {
20031
- error: string;
20031
+ deleted: true;
20032
20032
  };
20033
20033
  outputFormat: "json";
20034
- status: 404 | 409;
20034
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20035
20035
  input: {
20036
20036
  param: {
20037
20037
  id: string;
@@ -20039,10 +20039,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20039
20039
  };
20040
20040
  } | {
20041
20041
  output: {
20042
- deleted: true;
20042
+ error: string;
20043
20043
  };
20044
20044
  outputFormat: "json";
20045
- status: import("hono/utils/http-status").ContentfulStatusCode;
20045
+ status: 404 | 409;
20046
20046
  input: {
20047
20047
  param: {
20048
20048
  id: string;
@@ -20111,18 +20111,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20111
20111
  }, "/"> | import("hono/types").MergeSchemaPath<{
20112
20112
  "/plan": {
20113
20113
  $post: {
20114
- output: {
20115
- error: string;
20116
- };
20117
- outputFormat: "json";
20118
- status: 400 | 404 | 409;
20119
- input: {
20120
- json: {
20121
- task: string;
20122
- agentProfile?: string | undefined;
20123
- };
20124
- };
20125
- } | {
20126
20114
  output: {
20127
20115
  name?: string;
20128
20116
  steps: {
@@ -20159,6 +20147,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20159
20147
  agentProfile?: string | undefined;
20160
20148
  };
20161
20149
  };
20150
+ } | {
20151
+ output: {
20152
+ error: string;
20153
+ };
20154
+ outputFormat: "json";
20155
+ status: 400 | 404 | 409;
20156
+ input: {
20157
+ json: {
20158
+ task: string;
20159
+ agentProfile?: string | undefined;
20160
+ };
20161
+ };
20162
20162
  };
20163
20163
  };
20164
20164
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -20202,7 +20202,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20202
20202
  error: string;
20203
20203
  };
20204
20204
  outputFormat: "json";
20205
- status: 409;
20205
+ status: 400;
20206
20206
  input: {
20207
20207
  query: {
20208
20208
  q?: string | undefined;
@@ -20215,7 +20215,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20215
20215
  error: string;
20216
20216
  };
20217
20217
  outputFormat: "json";
20218
- status: 400;
20218
+ status: 409;
20219
20219
  input: {
20220
20220
  query: {
20221
20221
  q?: string | undefined;
@@ -20271,7 +20271,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20271
20271
  error: string;
20272
20272
  };
20273
20273
  outputFormat: "json";
20274
- status: 409;
20274
+ status: 400;
20275
20275
  input: {
20276
20276
  json: {
20277
20277
  target: string;
@@ -20282,7 +20282,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20282
20282
  error: string;
20283
20283
  };
20284
20284
  outputFormat: "json";
20285
- status: 400;
20285
+ status: 409;
20286
20286
  input: {
20287
20287
  json: {
20288
20288
  target: string;
@@ -20349,42 +20349,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20349
20349
  "/ui-state": {
20350
20350
  $put: {
20351
20351
  output: {
20352
- [x: string]: import("hono/utils/types").JSONValue;
20353
- sidebarLimits?: {
20354
- overall?: number | null | undefined;
20355
- needsYou?: number | null | undefined;
20356
- finished?: number | null | undefined;
20357
- working?: number | null | undefined;
20358
- } | undefined;
20359
- lastTask?: {
20360
- source: "skill" | "workflow";
20361
- ref: string;
20362
- } | null | undefined;
20363
- recentSources?: {
20364
- source: "skill" | "workflow";
20365
- ref: string;
20366
- }[] | undefined;
20367
- lastWorktree?: boolean | undefined;
20368
- lastAutonomous?: boolean | undefined;
20369
- skillUsage?: {
20370
- [x: string]: number;
20371
- } | undefined;
20372
- runsView?: "list" | "table" | undefined;
20373
- githubView?: "issues" | "prs" | undefined;
20374
- appearance?: {
20375
- accent?: "cezarion" | "lime" | "violet" | undefined;
20376
- density?: "comfortable" | "compact" | "ultra" | undefined;
20377
- width?: "narrow" | "wide" | undefined;
20378
- } | undefined;
20379
- promptTemplates?: {
20380
- id: string;
20381
- label: string;
20382
- text: string;
20383
- skills?: string[] | undefined;
20384
- }[] | undefined;
20352
+ error: string;
20385
20353
  };
20386
20354
  outputFormat: "json";
20387
- status: import("hono/utils/http-status").ContentfulStatusCode;
20355
+ status: 500;
20388
20356
  input: {
20389
20357
  json: {
20390
20358
  [x: string]: unknown;
@@ -20422,10 +20390,42 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20422
20390
  };
20423
20391
  } | {
20424
20392
  output: {
20425
- error: string;
20393
+ [x: string]: import("hono/utils/types").JSONValue;
20394
+ sidebarLimits?: {
20395
+ overall?: number | null | undefined;
20396
+ needsYou?: number | null | undefined;
20397
+ finished?: number | null | undefined;
20398
+ working?: number | null | undefined;
20399
+ } | undefined;
20400
+ lastTask?: {
20401
+ source: "skill" | "workflow";
20402
+ ref: string;
20403
+ } | null | undefined;
20404
+ recentSources?: {
20405
+ source: "skill" | "workflow";
20406
+ ref: string;
20407
+ }[] | undefined;
20408
+ lastWorktree?: boolean | undefined;
20409
+ lastAutonomous?: boolean | undefined;
20410
+ skillUsage?: {
20411
+ [x: string]: number;
20412
+ } | undefined;
20413
+ runsView?: "list" | "table" | undefined;
20414
+ githubView?: "issues" | "prs" | undefined;
20415
+ appearance?: {
20416
+ accent?: "cezarion" | "lime" | "violet" | undefined;
20417
+ density?: "comfortable" | "compact" | "ultra" | undefined;
20418
+ width?: "narrow" | "wide" | undefined;
20419
+ } | undefined;
20420
+ promptTemplates?: {
20421
+ id: string;
20422
+ label: string;
20423
+ text: string;
20424
+ skills?: string[] | undefined;
20425
+ }[] | undefined;
20426
20426
  };
20427
20427
  outputFormat: "json";
20428
- status: 500;
20428
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20429
20429
  input: {
20430
20430
  json: {
20431
20431
  [x: string]: unknown;
@@ -20466,9 +20466,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20466
20466
  }, "/"> | import("hono/types").MergeSchemaPath<{
20467
20467
  "/runs/:id/events": {
20468
20468
  $get: {
20469
- output: {};
20470
- outputFormat: string;
20471
- status: import("hono/utils/http-status").StatusCode;
20469
+ output: {
20470
+ error: string;
20471
+ code?: "invalid_input" | undefined;
20472
+ };
20473
+ outputFormat: "json";
20474
+ status: 400;
20472
20475
  input: {
20473
20476
  param: {
20474
20477
  id: string;
@@ -20480,12 +20483,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20480
20483
  };
20481
20484
  };
20482
20485
  } | {
20483
- output: {
20484
- error: string;
20485
- code?: "invalid_input" | undefined;
20486
- };
20487
- outputFormat: "json";
20488
- status: 400;
20486
+ output: {};
20487
+ outputFormat: string;
20488
+ status: import("hono/utils/http-status").StatusCode;
20489
20489
  input: {
20490
20490
  param: {
20491
20491
  id: string;
@@ -20546,34 +20546,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20546
20546
  "/config": {
20547
20547
  $put: {
20548
20548
  output: {
20549
- archiveOnMerge: boolean | null;
20550
- effectiveArchiveOnMerge: boolean;
20551
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
20552
- baseBranch: string | null;
20553
- defaultRunner: string;
20554
- systemPrompt: string | null;
20555
- defaultModels: {
20556
- [x: string]: string | undefined;
20557
- };
20558
- modelsLocked: boolean;
20559
- maxParallel: number;
20560
- memoryLimitMb: number | null;
20561
- worktreeRetention: number;
20562
- liveTitleUpdates: boolean | null;
20563
- reviewGate: boolean | null;
20564
- worktreeSetup: {
20565
- commands: string[];
20566
- timeoutSeconds: number;
20567
- } | null;
20568
- worktreeSetupIssue: string | null;
20569
- worktreeTeardown: {
20570
- commands: string[];
20571
- timeoutSeconds: number;
20572
- } | null;
20573
- worktreeTeardownIssue: string | null;
20549
+ error: string;
20574
20550
  };
20575
20551
  outputFormat: "json";
20576
- status: import("hono/utils/http-status").ContentfulStatusCode;
20552
+ status: 409;
20577
20553
  input: {
20578
20554
  json: {
20579
20555
  archiveOnMerge?: boolean | null | undefined;
@@ -20601,7 +20577,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20601
20577
  error: string;
20602
20578
  };
20603
20579
  outputFormat: "json";
20604
- status: 409;
20580
+ status: 500;
20605
20581
  input: {
20606
20582
  json: {
20607
20583
  archiveOnMerge?: boolean | null | undefined;
@@ -20626,10 +20602,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20626
20602
  };
20627
20603
  } | {
20628
20604
  output: {
20629
- error: string;
20605
+ archiveOnMerge: boolean | null;
20606
+ effectiveArchiveOnMerge: boolean;
20607
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
20608
+ baseBranch: string | null;
20609
+ defaultRunner: string;
20610
+ systemPrompt: string | null;
20611
+ defaultModels: {
20612
+ [x: string]: string | undefined;
20613
+ };
20614
+ modelsLocked: boolean;
20615
+ maxParallel: number;
20616
+ memoryLimitMb: number | null;
20617
+ worktreeRetention: number;
20618
+ liveTitleUpdates: boolean | null;
20619
+ reviewGate: boolean | null;
20620
+ worktreeSetup: {
20621
+ commands: string[];
20622
+ timeoutSeconds: number;
20623
+ } | null;
20624
+ worktreeSetupIssue: string | null;
20625
+ worktreeTeardown: {
20626
+ commands: string[];
20627
+ timeoutSeconds: number;
20628
+ } | null;
20629
+ worktreeTeardownIssue: string | null;
20630
20630
  };
20631
20631
  outputFormat: "json";
20632
- status: 500;
20632
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20633
20633
  input: {
20634
20634
  json: {
20635
20635
  archiveOnMerge?: boolean | null | undefined;
@@ -20790,10 +20790,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20790
20790
  };
20791
20791
  } | {
20792
20792
  output: {
20793
- error: string;
20793
+ runId: string;
20794
+ worktreeReclaimedAt: string;
20794
20795
  };
20795
20796
  outputFormat: "json";
20796
- status: 404 | 409;
20797
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20797
20798
  input: {
20798
20799
  param: {
20799
20800
  runId: string;
@@ -20801,11 +20802,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20801
20802
  };
20802
20803
  } | {
20803
20804
  output: {
20804
- runId: string;
20805
- worktreeReclaimedAt: string;
20805
+ error: string;
20806
20806
  };
20807
20807
  outputFormat: "json";
20808
- status: import("hono/utils/http-status").ContentfulStatusCode;
20808
+ status: 404 | 409;
20809
20809
  input: {
20810
20810
  param: {
20811
20811
  runId: string;
@@ -20901,14 +20901,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20901
20901
  "/agent-config/:id": {
20902
20902
  $put: {
20903
20903
  output: {
20904
- id: string;
20905
- path: string;
20906
- exists: boolean;
20907
- content: string;
20908
- version: string | null;
20904
+ error: string;
20909
20905
  };
20910
20906
  outputFormat: "json";
20911
- status: import("hono/utils/http-status").ContentfulStatusCode;
20907
+ status: 404;
20912
20908
  input: {
20913
20909
  json: {
20914
20910
  content: string;
@@ -20921,10 +20917,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20921
20917
  };
20922
20918
  } | {
20923
20919
  output: {
20924
- error: string;
20920
+ id: string;
20921
+ path: string;
20922
+ exists: boolean;
20923
+ content: string;
20924
+ version: string | null;
20925
20925
  };
20926
20926
  outputFormat: "json";
20927
- status: 404;
20927
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20928
20928
  input: {
20929
20929
  json: {
20930
20930
  content: string;
@@ -21101,10 +21101,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21101
21101
  "/workflows": {
21102
21102
  $post: {
21103
21103
  output: {
21104
- error: string;
21104
+ path: string;
21105
+ name: string;
21105
21106
  };
21106
21107
  outputFormat: "json";
21107
- status: 400;
21108
+ status: 201;
21108
21109
  input: {
21109
21110
  json: {
21110
21111
  name: string;
@@ -21137,10 +21138,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21137
21138
  } | {
21138
21139
  output: {
21139
21140
  error: string;
21140
- exists: true;
21141
21141
  };
21142
21142
  outputFormat: "json";
21143
- status: 409;
21143
+ status: 400;
21144
21144
  input: {
21145
21145
  json: {
21146
21146
  name: string;
@@ -21173,9 +21173,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21173
21173
  } | {
21174
21174
  output: {
21175
21175
  error: string;
21176
+ exists: true;
21176
21177
  };
21177
21178
  outputFormat: "json";
21178
- status: 500;
21179
+ status: 409;
21179
21180
  input: {
21180
21181
  json: {
21181
21182
  name: string;
@@ -21207,11 +21208,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21207
21208
  };
21208
21209
  } | {
21209
21210
  output: {
21210
- path: string;
21211
- name: string;
21211
+ error: string;
21212
21212
  };
21213
21213
  outputFormat: "json";
21214
- status: 201;
21214
+ status: 500;
21215
21215
  input: {
21216
21216
  json: {
21217
21217
  name: string;
@@ -21247,10 +21247,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21247
21247
  "/workflows/:name": {
21248
21248
  $delete: {
21249
21249
  output: {
21250
- error: string;
21250
+ ok: true;
21251
+ path: string;
21251
21252
  };
21252
21253
  outputFormat: "json";
21253
- status: 400 | 404 | 409 | 500;
21254
+ status: import("hono/utils/http-status").ContentfulStatusCode;
21254
21255
  input: {
21255
21256
  param: {
21256
21257
  name: string;
@@ -21258,11 +21259,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21258
21259
  };
21259
21260
  } | {
21260
21261
  output: {
21261
- ok: true;
21262
- path: string;
21262
+ error: string;
21263
21263
  };
21264
21264
  outputFormat: "json";
21265
- status: import("hono/utils/http-status").ContentfulStatusCode;
21265
+ status: 400 | 404 | 409 | 500;
21266
21266
  input: {
21267
21267
  param: {
21268
21268
  name: string;
@@ -21438,14 +21438,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21438
21438
  "/repo/branches/delete": {
21439
21439
  $post: {
21440
21440
  output: {
21441
- error: string;
21441
+ deleted: string[];
21442
21442
  refused: {
21443
21443
  name: string;
21444
21444
  reason: string;
21445
21445
  }[];
21446
+ dropped?: {
21447
+ sha: string;
21448
+ subject: string;
21449
+ }[] | undefined;
21446
21450
  };
21447
21451
  outputFormat: "json";
21448
- status: 409;
21452
+ status: 200;
21449
21453
  input: {
21450
21454
  json: {
21451
21455
  names: string[];
@@ -21454,18 +21458,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21454
21458
  };
21455
21459
  } | {
21456
21460
  output: {
21457
- deleted: string[];
21461
+ error: string;
21458
21462
  refused: {
21459
21463
  name: string;
21460
21464
  reason: string;
21461
21465
  }[];
21462
- dropped?: {
21463
- sha: string;
21464
- subject: string;
21465
- }[] | undefined;
21466
21466
  };
21467
21467
  outputFormat: "json";
21468
- status: 200;
21468
+ status: 409;
21469
21469
  input: {
21470
21470
  json: {
21471
21471
  names: string[];
@@ -21486,19 +21486,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21486
21486
  } & {
21487
21487
  "/repo/commit/:sha": {
21488
21488
  $get: {
21489
- output: string;
21490
- outputFormat: "text";
21491
- status: import("hono/utils/http-status").ContentfulStatusCode;
21492
- input: {
21493
- query: {
21494
- structured?: string | undefined;
21495
- };
21496
- } & {
21497
- param: {
21498
- sha: string;
21499
- };
21500
- };
21501
- } | {
21502
21489
  output: {
21503
21490
  error: string;
21504
21491
  code?: "invalid_input" | undefined;
@@ -21562,6 +21549,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21562
21549
  sha: string;
21563
21550
  };
21564
21551
  };
21552
+ } | {
21553
+ output: string;
21554
+ outputFormat: "text";
21555
+ status: import("hono/utils/http-status").ContentfulStatusCode;
21556
+ input: {
21557
+ query: {
21558
+ structured?: string | undefined;
21559
+ };
21560
+ } & {
21561
+ param: {
21562
+ sha: string;
21563
+ };
21564
+ };
21565
21565
  };
21566
21566
  };
21567
21567
  } & {
@@ -21622,10 +21622,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21622
21622
  "/repo/pull": {
21623
21623
  $post: {
21624
21624
  output: {
21625
- error: string;
21625
+ branch: string;
21626
+ pulled: true;
21627
+ summary: string;
21626
21628
  };
21627
21629
  outputFormat: "json";
21628
- status: 409;
21630
+ status: 200;
21629
21631
  input: {
21630
21632
  json: {
21631
21633
  branch?: string | undefined;
@@ -21634,12 +21636,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21634
21636
  };
21635
21637
  } | {
21636
21638
  output: {
21637
- branch: string;
21638
- pulled: true;
21639
- summary: string;
21639
+ error: string;
21640
21640
  };
21641
21641
  outputFormat: "json";
21642
- status: 200;
21642
+ status: 409;
21643
21643
  input: {
21644
21644
  json: {
21645
21645
  branch?: string | undefined;
@@ -22598,10 +22598,99 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22598
22598
  "/automations": {
22599
22599
  $post: {
22600
22600
  output: {
22601
- error: string;
22601
+ automation: {
22602
+ [x: string]: import("hono/utils/types").JSONValue;
22603
+ id: string;
22604
+ revision: number;
22605
+ name: string;
22606
+ description?: string | undefined;
22607
+ enabled: boolean;
22608
+ kind: "github" | "schedule";
22609
+ events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
22610
+ intervalSeconds?: number | undefined;
22611
+ filters?: {
22612
+ [x: string]: import("hono/utils/types").JSONValue;
22613
+ includeExisting?: boolean | undefined;
22614
+ requireCurrentLabels?: boolean | undefined;
22615
+ authors?: string[] | undefined;
22616
+ assignees?: string[] | undefined;
22617
+ allLabels?: string[] | undefined;
22618
+ anyLabels?: string[] | undefined;
22619
+ excludeLabels?: string[] | undefined;
22620
+ changedLabels?: string[] | undefined;
22621
+ lookbackDays: number;
22622
+ maxRecords: number;
22623
+ } | undefined;
22624
+ schedule?: {
22625
+ [x: string]: import("hono/utils/types").JSONValue;
22626
+ type: "daily" | "hours" | "once" | "weekdays" | "weekly";
22627
+ hour?: number | undefined;
22628
+ minute?: number | undefined;
22629
+ day?: number | undefined;
22630
+ every?: 1 | 2 | 3 | 4 | 6 | 8 | 12 | undefined;
22631
+ at?: string | undefined;
22632
+ timeZone?: string | undefined;
22633
+ latestStartMinutes?: number | undefined;
22634
+ } | undefined;
22635
+ task: {
22636
+ [x: string]: import("hono/utils/types").JSONValue;
22637
+ archiveWhenDone?: boolean | undefined;
22638
+ autoMergePr?: boolean | undefined;
22639
+ allowWorkers?: boolean | undefined;
22640
+ allowMessaging?: boolean | undefined;
22641
+ prompt: string;
22642
+ workflow?: string | undefined;
22643
+ steps?: {
22644
+ id: string;
22645
+ name?: string | undefined;
22646
+ prompt?: string | undefined;
22647
+ skill?: string | undefined;
22648
+ model?: string | undefined;
22649
+ effort?: string | undefined;
22650
+ timeoutMs?: number | undefined;
22651
+ runner?: string | undefined;
22652
+ agentProfile?: string | undefined;
22653
+ allowedTools?: string[] | undefined;
22654
+ bashAllowlist?: string[] | undefined;
22655
+ kind?: "plugin" | undefined;
22656
+ pluginKind?: string | undefined;
22657
+ config?: {
22658
+ [x: string]: import("hono/utils/types").JSONValue;
22659
+ } | undefined;
22660
+ command?: string | undefined;
22661
+ onFail?: {
22662
+ retry: string;
22663
+ max: number;
22664
+ } | undefined;
22665
+ }[] | undefined;
22666
+ runner?: string | undefined;
22667
+ model?: string | undefined;
22668
+ effort?: string | undefined;
22669
+ variants?: 1 | 2 | 3 | undefined;
22670
+ worktree?: boolean | undefined;
22671
+ autonomous?: boolean | undefined;
22672
+ systemPrompt?: string | undefined;
22673
+ };
22674
+ archived?: {
22675
+ [x: string]: import("hono/utils/types").JSONValue;
22676
+ at: string;
22677
+ outcome: "cancelled" | "launched";
22678
+ runId?: string | undefined;
22679
+ receiptId?: string | undefined;
22680
+ trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
22681
+ } | undefined;
22682
+ createdAt: string;
22683
+ updatedAt: string;
22684
+ };
22685
+ once?: {
22686
+ dueAt: string;
22687
+ timeZone: string;
22688
+ resolvedInstant: string;
22689
+ note: string;
22690
+ } | undefined;
22602
22691
  };
22603
22692
  outputFormat: "json";
22604
- status: 400 | 404 | 409;
22693
+ status: 201;
22605
22694
  input: {
22606
22695
  json: {
22607
22696
  name: string;
@@ -22673,99 +22762,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22673
22762
  };
22674
22763
  } | {
22675
22764
  output: {
22676
- automation: {
22677
- [x: string]: import("hono/utils/types").JSONValue;
22678
- id: string;
22679
- revision: number;
22680
- name: string;
22681
- description?: string | undefined;
22682
- enabled: boolean;
22683
- kind: "github" | "schedule";
22684
- events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
22685
- intervalSeconds?: number | undefined;
22686
- filters?: {
22687
- [x: string]: import("hono/utils/types").JSONValue;
22688
- includeExisting?: boolean | undefined;
22689
- requireCurrentLabels?: boolean | undefined;
22690
- authors?: string[] | undefined;
22691
- assignees?: string[] | undefined;
22692
- allLabels?: string[] | undefined;
22693
- anyLabels?: string[] | undefined;
22694
- excludeLabels?: string[] | undefined;
22695
- changedLabels?: string[] | undefined;
22696
- lookbackDays: number;
22697
- maxRecords: number;
22698
- } | undefined;
22699
- schedule?: {
22700
- [x: string]: import("hono/utils/types").JSONValue;
22701
- type: "daily" | "hours" | "once" | "weekdays" | "weekly";
22702
- hour?: number | undefined;
22703
- minute?: number | undefined;
22704
- day?: number | undefined;
22705
- every?: 1 | 2 | 3 | 4 | 6 | 8 | 12 | undefined;
22706
- at?: string | undefined;
22707
- timeZone?: string | undefined;
22708
- latestStartMinutes?: number | undefined;
22709
- } | undefined;
22710
- task: {
22711
- [x: string]: import("hono/utils/types").JSONValue;
22712
- archiveWhenDone?: boolean | undefined;
22713
- autoMergePr?: boolean | undefined;
22714
- allowWorkers?: boolean | undefined;
22715
- allowMessaging?: boolean | undefined;
22716
- prompt: string;
22717
- workflow?: string | undefined;
22718
- steps?: {
22719
- id: string;
22720
- name?: string | undefined;
22721
- prompt?: string | undefined;
22722
- skill?: string | undefined;
22723
- model?: string | undefined;
22724
- effort?: string | undefined;
22725
- timeoutMs?: number | undefined;
22726
- runner?: string | undefined;
22727
- agentProfile?: string | undefined;
22728
- allowedTools?: string[] | undefined;
22729
- bashAllowlist?: string[] | undefined;
22730
- kind?: "plugin" | undefined;
22731
- pluginKind?: string | undefined;
22732
- config?: {
22733
- [x: string]: import("hono/utils/types").JSONValue;
22734
- } | undefined;
22735
- command?: string | undefined;
22736
- onFail?: {
22737
- retry: string;
22738
- max: number;
22739
- } | undefined;
22740
- }[] | undefined;
22741
- runner?: string | undefined;
22742
- model?: string | undefined;
22743
- effort?: string | undefined;
22744
- variants?: 1 | 2 | 3 | undefined;
22745
- worktree?: boolean | undefined;
22746
- autonomous?: boolean | undefined;
22747
- systemPrompt?: string | undefined;
22748
- };
22749
- archived?: {
22750
- [x: string]: import("hono/utils/types").JSONValue;
22751
- at: string;
22752
- outcome: "cancelled" | "launched";
22753
- runId?: string | undefined;
22754
- receiptId?: string | undefined;
22755
- trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
22756
- } | undefined;
22757
- createdAt: string;
22758
- updatedAt: string;
22759
- };
22760
- once?: {
22761
- dueAt: string;
22762
- timeZone: string;
22763
- resolvedInstant: string;
22764
- note: string;
22765
- } | undefined;
22765
+ error: string;
22766
22766
  };
22767
22767
  outputFormat: "json";
22768
- status: 201;
22768
+ status: 400 | 404 | 409;
22769
22769
  input: {
22770
22770
  json: {
22771
22771
  name: string;
@@ -22840,17 +22840,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22840
22840
  } & {
22841
22841
  "/automations/:id": {
22842
22842
  $get: {
22843
- output: {
22844
- error: string;
22845
- };
22846
- outputFormat: "json";
22847
- status: 400 | 404 | 409;
22848
- input: {
22849
- param: {
22850
- id: string;
22851
- };
22852
- };
22853
- } | {
22854
22843
  output: {
22855
22844
  automation: {
22856
22845
  [x: string]: import("hono/utils/types").JSONValue;
@@ -23013,26 +23002,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23013
23002
  id: string;
23014
23003
  };
23015
23004
  };
23016
- };
23017
- };
23018
- } & {
23019
- "/automations/:id": {
23020
- $put: {
23005
+ } | {
23021
23006
  output: {
23022
23007
  error: string;
23023
23008
  };
23024
23009
  outputFormat: "json";
23025
23010
  status: 400 | 404 | 409;
23026
23011
  input: {
23027
- json: {
23012
+ param: {
23013
+ id: string;
23014
+ };
23015
+ };
23016
+ };
23017
+ };
23018
+ } & {
23019
+ "/automations/:id": {
23020
+ $put: {
23021
+ output: {
23022
+ automation: {
23023
+ [x: string]: import("hono/utils/types").JSONValue;
23024
+ id: string;
23025
+ revision: number;
23028
23026
  name: string;
23029
23027
  description?: string | undefined;
23030
- enabled?: boolean | undefined;
23031
- kind?: "github" | "schedule" | undefined;
23028
+ enabled: boolean;
23029
+ kind: "github" | "schedule";
23032
23030
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
23033
23031
  intervalSeconds?: number | undefined;
23034
23032
  filters?: {
23035
- [x: string]: unknown;
23033
+ [x: string]: import("hono/utils/types").JSONValue;
23036
23034
  includeExisting?: boolean | undefined;
23037
23035
  requireCurrentLabels?: boolean | undefined;
23038
23036
  authors?: string[] | undefined;
@@ -23041,10 +23039,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23041
23039
  anyLabels?: string[] | undefined;
23042
23040
  excludeLabels?: string[] | undefined;
23043
23041
  changedLabels?: string[] | undefined;
23044
- lookbackDays?: number | undefined;
23045
- maxRecords?: number | undefined;
23042
+ lookbackDays: number;
23043
+ maxRecords: number;
23046
23044
  } | undefined;
23047
23045
  schedule?: {
23046
+ [x: string]: import("hono/utils/types").JSONValue;
23048
23047
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
23049
23048
  hour?: number | undefined;
23050
23049
  minute?: number | undefined;
@@ -23055,6 +23054,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23055
23054
  latestStartMinutes?: number | undefined;
23056
23055
  } | undefined;
23057
23056
  task: {
23057
+ [x: string]: import("hono/utils/types").JSONValue;
23058
23058
  archiveWhenDone?: boolean | undefined;
23059
23059
  autoMergePr?: boolean | undefined;
23060
23060
  allowWorkers?: boolean | undefined;
@@ -23075,41 +23075,47 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23075
23075
  bashAllowlist?: string[] | undefined;
23076
23076
  kind?: "plugin" | undefined;
23077
23077
  pluginKind?: string | undefined;
23078
- config?: Record<string, unknown> | undefined;
23078
+ config?: {
23079
+ [x: string]: import("hono/utils/types").JSONValue;
23080
+ } | undefined;
23079
23081
  command?: string | undefined;
23080
23082
  onFail?: {
23081
23083
  retry: string;
23082
- max?: number | undefined;
23084
+ max: number;
23083
23085
  } | undefined;
23084
23086
  }[] | undefined;
23085
23087
  runner?: string | undefined;
23086
23088
  model?: string | undefined;
23087
23089
  effort?: string | undefined;
23090
+ variants?: 1 | 2 | 3 | undefined;
23088
23091
  worktree?: boolean | undefined;
23089
23092
  autonomous?: boolean | undefined;
23090
23093
  systemPrompt?: string | undefined;
23091
23094
  };
23092
- expectedRevision: number;
23093
- };
23094
- } & {
23095
- param: {
23096
- id: string;
23095
+ archived?: {
23096
+ [x: string]: import("hono/utils/types").JSONValue;
23097
+ at: string;
23098
+ outcome: "cancelled" | "launched";
23099
+ runId?: string | undefined;
23100
+ receiptId?: string | undefined;
23101
+ trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
23102
+ } | undefined;
23103
+ createdAt: string;
23104
+ updatedAt: string;
23097
23105
  };
23098
23106
  };
23099
- } | {
23100
- output: {
23101
- automation: {
23102
- [x: string]: import("hono/utils/types").JSONValue;
23103
- id: string;
23104
- revision: number;
23107
+ outputFormat: "json";
23108
+ status: import("hono/utils/http-status").ContentfulStatusCode;
23109
+ input: {
23110
+ json: {
23105
23111
  name: string;
23106
23112
  description?: string | undefined;
23107
- enabled: boolean;
23108
- kind: "github" | "schedule";
23113
+ enabled?: boolean | undefined;
23114
+ kind?: "github" | "schedule" | undefined;
23109
23115
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
23110
23116
  intervalSeconds?: number | undefined;
23111
23117
  filters?: {
23112
- [x: string]: import("hono/utils/types").JSONValue;
23118
+ [x: string]: unknown;
23113
23119
  includeExisting?: boolean | undefined;
23114
23120
  requireCurrentLabels?: boolean | undefined;
23115
23121
  authors?: string[] | undefined;
@@ -23118,11 +23124,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23118
23124
  anyLabels?: string[] | undefined;
23119
23125
  excludeLabels?: string[] | undefined;
23120
23126
  changedLabels?: string[] | undefined;
23121
- lookbackDays: number;
23122
- maxRecords: number;
23127
+ lookbackDays?: number | undefined;
23128
+ maxRecords?: number | undefined;
23123
23129
  } | undefined;
23124
23130
  schedule?: {
23125
- [x: string]: import("hono/utils/types").JSONValue;
23126
23131
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
23127
23132
  hour?: number | undefined;
23128
23133
  minute?: number | undefined;
@@ -23133,7 +23138,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23133
23138
  latestStartMinutes?: number | undefined;
23134
23139
  } | undefined;
23135
23140
  task: {
23136
- [x: string]: import("hono/utils/types").JSONValue;
23137
23141
  archiveWhenDone?: boolean | undefined;
23138
23142
  autoMergePr?: boolean | undefined;
23139
23143
  allowWorkers?: boolean | undefined;
@@ -23154,37 +23158,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23154
23158
  bashAllowlist?: string[] | undefined;
23155
23159
  kind?: "plugin" | undefined;
23156
23160
  pluginKind?: string | undefined;
23157
- config?: {
23158
- [x: string]: import("hono/utils/types").JSONValue;
23159
- } | undefined;
23161
+ config?: Record<string, unknown> | undefined;
23160
23162
  command?: string | undefined;
23161
23163
  onFail?: {
23162
23164
  retry: string;
23163
- max: number;
23165
+ max?: number | undefined;
23164
23166
  } | undefined;
23165
23167
  }[] | undefined;
23166
23168
  runner?: string | undefined;
23167
23169
  model?: string | undefined;
23168
23170
  effort?: string | undefined;
23169
- variants?: 1 | 2 | 3 | undefined;
23170
23171
  worktree?: boolean | undefined;
23171
23172
  autonomous?: boolean | undefined;
23172
23173
  systemPrompt?: string | undefined;
23173
23174
  };
23174
- archived?: {
23175
- [x: string]: import("hono/utils/types").JSONValue;
23176
- at: string;
23177
- outcome: "cancelled" | "launched";
23178
- runId?: string | undefined;
23179
- receiptId?: string | undefined;
23180
- trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
23181
- } | undefined;
23182
- createdAt: string;
23183
- updatedAt: string;
23175
+ expectedRevision: number;
23176
+ };
23177
+ } & {
23178
+ param: {
23179
+ id: string;
23184
23180
  };
23185
23181
  };
23182
+ } | {
23183
+ output: {
23184
+ error: string;
23185
+ };
23186
23186
  outputFormat: "json";
23187
- status: import("hono/utils/http-status").ContentfulStatusCode;
23187
+ status: 400 | 404 | 409;
23188
23188
  input: {
23189
23189
  json: {
23190
23190
  name: string;
@@ -23287,17 +23287,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23287
23287
  } & {
23288
23288
  "/automations/:id/enable": {
23289
23289
  $post: {
23290
- output: {
23291
- error: string;
23292
- };
23293
- outputFormat: "json";
23294
- status: 400 | 404 | 409;
23295
- input: {
23296
- param: {
23297
- id: string;
23298
- };
23299
- };
23300
- } | {
23301
23290
  output: {
23302
23291
  automation: {
23303
23292
  [x: string]: import("hono/utils/types").JSONValue;
@@ -23391,11 +23380,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23391
23380
  id: string;
23392
23381
  };
23393
23382
  };
23394
- };
23395
- };
23396
- } & {
23397
- "/automations/:id/pause": {
23398
- $post: {
23383
+ } | {
23399
23384
  output: {
23400
23385
  error: string;
23401
23386
  };
@@ -23406,7 +23391,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23406
23391
  id: string;
23407
23392
  };
23408
23393
  };
23409
- } | {
23394
+ };
23395
+ };
23396
+ } & {
23397
+ "/automations/:id/pause": {
23398
+ $post: {
23410
23399
  output: {
23411
23400
  automation: {
23412
23401
  [x: string]: import("hono/utils/types").JSONValue;
@@ -23500,11 +23489,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23500
23489
  id: string;
23501
23490
  };
23502
23491
  };
23503
- };
23504
- };
23505
- } & {
23506
- "/automations/:id/cancel": {
23507
- $post: {
23492
+ } | {
23508
23493
  output: {
23509
23494
  error: string;
23510
23495
  };
@@ -23515,7 +23500,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23515
23500
  id: string;
23516
23501
  };
23517
23502
  };
23518
- } | {
23503
+ };
23504
+ };
23505
+ } & {
23506
+ "/automations/:id/cancel": {
23507
+ $post: {
23519
23508
  output: {
23520
23509
  automation: {
23521
23510
  [x: string]: import("hono/utils/types").JSONValue;
@@ -23609,16 +23598,27 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23609
23598
  id: string;
23610
23599
  };
23611
23600
  };
23601
+ } | {
23602
+ output: {
23603
+ error: string;
23604
+ };
23605
+ outputFormat: "json";
23606
+ status: 400 | 404 | 409;
23607
+ input: {
23608
+ param: {
23609
+ id: string;
23610
+ };
23611
+ };
23612
23612
  };
23613
23613
  };
23614
23614
  } & {
23615
23615
  "/automations/:id/run": {
23616
23616
  $post: {
23617
23617
  output: {
23618
- error: string;
23618
+ runId: string;
23619
23619
  };
23620
23620
  outputFormat: "json";
23621
- status: 400 | 404 | 409;
23621
+ status: 202;
23622
23622
  input: {
23623
23623
  param: {
23624
23624
  id: string;
@@ -23626,10 +23626,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23626
23626
  };
23627
23627
  } | {
23628
23628
  output: {
23629
- runId: string;
23629
+ error: string;
23630
23630
  };
23631
23631
  outputFormat: "json";
23632
- status: 202;
23632
+ status: 400 | 404 | 409;
23633
23633
  input: {
23634
23634
  param: {
23635
23635
  id: string;
@@ -23641,10 +23641,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23641
23641
  "/automations/:id/check": {
23642
23642
  $post: {
23643
23643
  output: {
23644
- error: string;
23644
+ checkId: string;
23645
23645
  };
23646
23646
  outputFormat: "json";
23647
- status: 404;
23647
+ status: 202;
23648
23648
  input: {
23649
23649
  json: {
23650
23650
  mode: "execute" | "preview";
@@ -23659,7 +23659,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23659
23659
  error: string;
23660
23660
  };
23661
23661
  outputFormat: "json";
23662
- status: 409;
23662
+ status: 404;
23663
23663
  input: {
23664
23664
  json: {
23665
23665
  mode: "execute" | "preview";
@@ -23671,10 +23671,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23671
23671
  };
23672
23672
  } | {
23673
23673
  output: {
23674
- checkId: string;
23674
+ error: string;
23675
23675
  };
23676
23676
  outputFormat: "json";
23677
- status: 202;
23677
+ status: 409;
23678
23678
  input: {
23679
23679
  json: {
23680
23680
  mode: "execute" | "preview";
@@ -24968,6 +24968,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24968
24968
  } & {
24969
24969
  "/run-summaries": {
24970
24970
  $get: {
24971
+ output: {
24972
+ error: string;
24973
+ code?: "invalid_input" | undefined;
24974
+ };
24975
+ outputFormat: "json";
24976
+ status: 400;
24977
+ input: {
24978
+ query: {
24979
+ archived?: "all" | "recent" | undefined;
24980
+ };
24981
+ };
24982
+ } | {
24971
24983
  output: {
24972
24984
  id: string;
24973
24985
  title: string;
@@ -25101,18 +25113,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25101
25113
  archived?: "all" | "recent" | undefined;
25102
25114
  };
25103
25115
  };
25104
- } | {
25105
- output: {
25106
- error: string;
25107
- code?: "invalid_input" | undefined;
25108
- };
25109
- outputFormat: "json";
25110
- status: 400;
25111
- input: {
25112
- query: {
25113
- archived?: "all" | "recent" | undefined;
25114
- };
25115
- };
25116
25116
  };
25117
25117
  };
25118
25118
  } & {
@@ -25470,11 +25470,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25470
25470
  "/runs/:id/worker-destroy": {
25471
25471
  $post: {
25472
25472
  output: {
25473
- error: string;
25474
- code?: "invalid_input" | undefined;
25473
+ workerId: string;
25474
+ state: "complete" | "incomplete";
25475
+ work?: {
25476
+ uncommittedFiles: number;
25477
+ commits: number;
25478
+ } | undefined;
25479
+ deleted?: ({
25480
+ kind: "worktree";
25481
+ path: string;
25482
+ } | {
25483
+ kind: "branch";
25484
+ ref: string;
25485
+ })[] | undefined;
25486
+ remaining: ("branch" | "process" | "worktree")[];
25487
+ error?: string | undefined;
25475
25488
  };
25476
25489
  outputFormat: "json";
25477
- status: 400;
25490
+ status: 200;
25478
25491
  input: {
25479
25492
  query: {
25480
25493
  [x: string]: string | string[];
@@ -25490,24 +25503,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25490
25503
  };
25491
25504
  } | {
25492
25505
  output: {
25493
- workerId: string;
25494
- state: "complete" | "incomplete";
25495
- work?: {
25496
- uncommittedFiles: number;
25497
- commits: number;
25498
- } | undefined;
25499
- deleted?: ({
25500
- kind: "worktree";
25501
- path: string;
25502
- } | {
25503
- kind: "branch";
25504
- ref: string;
25505
- })[] | undefined;
25506
- remaining: ("branch" | "process" | "worktree")[];
25507
- error?: string | undefined;
25506
+ error: string;
25507
+ code?: "invalid_input" | undefined;
25508
25508
  };
25509
25509
  outputFormat: "json";
25510
- status: 200;
25510
+ status: 400;
25511
25511
  input: {
25512
25512
  query: {
25513
25513
  [x: string]: string | string[];
@@ -25623,6 +25623,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25623
25623
  } & {
25624
25624
  "/runs/:id/archive": {
25625
25625
  $post: {
25626
+ output: {
25627
+ error: string;
25628
+ };
25629
+ outputFormat: "json";
25630
+ status: 404;
25631
+ input: {
25632
+ json: {
25633
+ archived?: boolean | undefined;
25634
+ };
25635
+ } & {
25636
+ param: {
25637
+ id: string;
25638
+ };
25639
+ };
25640
+ } | {
25626
25641
  output: {
25627
25642
  archiveWhenDone?: boolean | undefined;
25628
25643
  autoMergePr?: boolean | undefined;
@@ -26801,32 +26816,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
26801
26816
  id: string;
26802
26817
  };
26803
26818
  };
26804
- } | {
26819
+ };
26820
+ };
26821
+ } & {
26822
+ "/runs/:id/pin": {
26823
+ $post: {
26805
26824
  output: {
26806
26825
  error: string;
26826
+ code?: "invalid_input" | undefined;
26807
26827
  };
26808
26828
  outputFormat: "json";
26809
- status: 404;
26829
+ status: 400;
26810
26830
  input: {
26811
- json: {
26812
- archived?: boolean | undefined;
26813
- };
26814
- } & {
26815
26831
  param: {
26816
26832
  id: string;
26817
26833
  };
26834
+ } & {
26835
+ json: {
26836
+ pinned?: boolean | undefined;
26837
+ };
26818
26838
  };
26819
- };
26820
- };
26821
- } & {
26822
- "/runs/:id/pin": {
26823
- $post: {
26839
+ } | {
26824
26840
  output: {
26825
26841
  error: string;
26826
- code?: "invalid_input" | undefined;
26827
26842
  };
26828
26843
  outputFormat: "json";
26829
- status: 400;
26844
+ status: 404;
26830
26845
  input: {
26831
26846
  param: {
26832
26847
  id: string;
@@ -28015,21 +28030,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28015
28030
  pinned?: boolean | undefined;
28016
28031
  };
28017
28032
  };
28018
- } | {
28019
- output: {
28020
- error: string;
28021
- };
28022
- outputFormat: "json";
28023
- status: 404;
28024
- input: {
28025
- param: {
28026
- id: string;
28027
- };
28028
- } & {
28029
- json: {
28030
- pinned?: boolean | undefined;
28031
- };
28032
- };
28033
28033
  };
28034
28034
  };
28035
28035
  } & {
@@ -28056,7 +28056,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28056
28056
  error: string;
28057
28057
  };
28058
28058
  outputFormat: "json";
28059
- status: 404;
28059
+ status: 400;
28060
28060
  input: {
28061
28061
  param: {
28062
28062
  id: string;
@@ -28072,7 +28072,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28072
28072
  error: string;
28073
28073
  };
28074
28074
  outputFormat: "json";
28075
- status: 400;
28075
+ status: 404;
28076
28076
  input: {
28077
28077
  param: {
28078
28078
  id: string;
@@ -29294,6 +29294,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29294
29294
  } & {
29295
29295
  "/runs/:id/read": {
29296
29296
  $post: {
29297
+ output: {
29298
+ error: string;
29299
+ };
29300
+ outputFormat: "json";
29301
+ status: 404;
29302
+ input: {
29303
+ param: {
29304
+ id: string;
29305
+ };
29306
+ };
29307
+ } | {
29297
29308
  output: {
29298
29309
  archiveWhenDone?: boolean | undefined;
29299
29310
  autoMergePr?: boolean | undefined;
@@ -30468,7 +30479,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
30468
30479
  id: string;
30469
30480
  };
30470
30481
  };
30471
- } | {
30482
+ };
30483
+ };
30484
+ } & {
30485
+ "/runs/:id/unread": {
30486
+ $post: {
30472
30487
  output: {
30473
30488
  error: string;
30474
30489
  };
@@ -30479,11 +30494,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
30479
30494
  id: string;
30480
30495
  };
30481
30496
  };
30482
- };
30483
- };
30484
- } & {
30485
- "/runs/:id/unread": {
30486
- $post: {
30497
+ } | {
30487
30498
  output: {
30488
30499
  archiveWhenDone?: boolean | undefined;
30489
30500
  autoMergePr?: boolean | undefined;
@@ -31658,17 +31669,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31658
31669
  id: string;
31659
31670
  };
31660
31671
  };
31661
- } | {
31662
- output: {
31663
- error: string;
31664
- };
31665
- outputFormat: "json";
31666
- status: 404;
31667
- input: {
31668
- param: {
31669
- id: string;
31670
- };
31671
- };
31672
31672
  };
31673
31673
  };
31674
31674
  } & {
@@ -32944,6 +32944,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32944
32944
  } & {
32945
32945
  "/runs/:id": {
32946
32946
  $get: {
32947
+ output: {
32948
+ error: string;
32949
+ };
32950
+ outputFormat: "json";
32951
+ status: 404;
32952
+ input: {
32953
+ param: {
32954
+ id: string;
32955
+ };
32956
+ };
32957
+ } | {
32947
32958
  output: {
32948
32959
  archiveWhenDone?: boolean | undefined;
32949
32960
  autoMergePr?: boolean | undefined;
@@ -34126,17 +34137,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34126
34137
  id: string;
34127
34138
  };
34128
34139
  };
34129
- } | {
34130
- output: {
34131
- error: string;
34132
- };
34133
- outputFormat: "json";
34134
- status: 404;
34135
- input: {
34136
- param: {
34137
- id: string;
34138
- };
34139
- };
34140
34140
  };
34141
34141
  };
34142
34142
  } & {
@@ -34264,6 +34264,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34264
34264
  } & {
34265
34265
  "/runs/:id": {
34266
34266
  $patch: {
34267
+ output: {
34268
+ error: string;
34269
+ };
34270
+ outputFormat: "json";
34271
+ status: 400;
34272
+ input: {
34273
+ json: {
34274
+ archiveWhenDone?: boolean | undefined;
34275
+ autoMergePr?: boolean | undefined;
34276
+ allowWorkers?: boolean | undefined;
34277
+ allowMessaging?: boolean | undefined;
34278
+ title?: string | undefined;
34279
+ task?: string | undefined;
34280
+ };
34281
+ } & {
34282
+ param: {
34283
+ id: string;
34284
+ };
34285
+ };
34286
+ } | {
34287
+ output: {
34288
+ error: string;
34289
+ };
34290
+ outputFormat: "json";
34291
+ status: 404;
34292
+ input: {
34293
+ json: {
34294
+ archiveWhenDone?: boolean | undefined;
34295
+ autoMergePr?: boolean | undefined;
34296
+ allowWorkers?: boolean | undefined;
34297
+ allowMessaging?: boolean | undefined;
34298
+ title?: string | undefined;
34299
+ task?: string | undefined;
34300
+ };
34301
+ } & {
34302
+ param: {
34303
+ id: string;
34304
+ };
34305
+ };
34306
+ } | {
34307
+ output: {
34308
+ error: string;
34309
+ };
34310
+ outputFormat: "json";
34311
+ status: 409;
34312
+ input: {
34313
+ json: {
34314
+ archiveWhenDone?: boolean | undefined;
34315
+ autoMergePr?: boolean | undefined;
34316
+ allowWorkers?: boolean | undefined;
34317
+ allowMessaging?: boolean | undefined;
34318
+ title?: string | undefined;
34319
+ task?: string | undefined;
34320
+ };
34321
+ } & {
34322
+ param: {
34323
+ id: string;
34324
+ };
34325
+ };
34326
+ } | {
34267
34327
  output: {
34268
34328
  archiveWhenDone?: boolean | undefined;
34269
34329
  autoMergePr?: boolean | undefined;
@@ -35447,66 +35507,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35447
35507
  id: string;
35448
35508
  };
35449
35509
  };
35450
- } | {
35451
- output: {
35452
- error: string;
35453
- };
35454
- outputFormat: "json";
35455
- status: 404;
35456
- input: {
35457
- json: {
35458
- archiveWhenDone?: boolean | undefined;
35459
- autoMergePr?: boolean | undefined;
35460
- allowWorkers?: boolean | undefined;
35461
- allowMessaging?: boolean | undefined;
35462
- title?: string | undefined;
35463
- task?: string | undefined;
35464
- };
35465
- } & {
35466
- param: {
35467
- id: string;
35468
- };
35469
- };
35470
- } | {
35471
- output: {
35472
- error: string;
35473
- };
35474
- outputFormat: "json";
35475
- status: 400;
35476
- input: {
35477
- json: {
35478
- archiveWhenDone?: boolean | undefined;
35479
- autoMergePr?: boolean | undefined;
35480
- allowWorkers?: boolean | undefined;
35481
- allowMessaging?: boolean | undefined;
35482
- title?: string | undefined;
35483
- task?: string | undefined;
35484
- };
35485
- } & {
35486
- param: {
35487
- id: string;
35488
- };
35489
- };
35490
- } | {
35491
- output: {
35492
- error: string;
35493
- };
35494
- outputFormat: "json";
35495
- status: 409;
35496
- input: {
35497
- json: {
35498
- archiveWhenDone?: boolean | undefined;
35499
- autoMergePr?: boolean | undefined;
35500
- allowWorkers?: boolean | undefined;
35501
- allowMessaging?: boolean | undefined;
35502
- title?: string | undefined;
35503
- task?: string | undefined;
35504
- };
35505
- } & {
35506
- param: {
35507
- id: string;
35508
- };
35509
- };
35510
35510
  };
35511
35511
  };
35512
35512
  } & {
@@ -35611,7 +35611,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35611
35611
  error: string;
35612
35612
  };
35613
35613
  outputFormat: "json";
35614
- status: 404;
35614
+ status: 400;
35615
35615
  input: {
35616
35616
  json: {
35617
35617
  text?: string | undefined;
@@ -35630,7 +35630,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35630
35630
  error: string;
35631
35631
  };
35632
35632
  outputFormat: "json";
35633
- status: 409;
35633
+ status: 404;
35634
35634
  input: {
35635
35635
  json: {
35636
35636
  text?: string | undefined;
@@ -35646,10 +35646,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35646
35646
  };
35647
35647
  } | {
35648
35648
  output: {
35649
- delivered: true;
35649
+ error: string;
35650
35650
  };
35651
35651
  outputFormat: "json";
35652
- status: import("hono/utils/http-status").ContentfulStatusCode;
35652
+ status: 409;
35653
35653
  input: {
35654
35654
  json: {
35655
35655
  text?: string | undefined;
@@ -35665,10 +35665,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35665
35665
  };
35666
35666
  } | {
35667
35667
  output: {
35668
- error: string;
35668
+ delivered: true;
35669
35669
  };
35670
35670
  outputFormat: "json";
35671
- status: 400;
35671
+ status: import("hono/utils/http-status").ContentfulStatusCode;
35672
35672
  input: {
35673
35673
  json: {
35674
35674
  text?: string | undefined;
@@ -35736,7 +35736,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35736
35736
  error: string;
35737
35737
  };
35738
35738
  outputFormat: "json";
35739
- status: 404;
35739
+ status: 400;
35740
35740
  input: {
35741
35741
  json: {
35742
35742
  text?: string | undefined;
@@ -35757,7 +35757,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35757
35757
  error: string;
35758
35758
  };
35759
35759
  outputFormat: "json";
35760
- status: 400;
35760
+ status: 404;
35761
35761
  input: {
35762
35762
  json: {
35763
35763
  text?: string | undefined;
@@ -35977,10 +35977,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35977
35977
  "/runs/:id/open-in-cli": {
35978
35978
  $post: {
35979
35979
  output: {
35980
- error: string;
35980
+ opened: true;
35981
+ command: string;
35981
35982
  };
35982
35983
  outputFormat: "json";
35983
- status: 404 | 409;
35984
+ status: import("hono/utils/http-status").ContentfulStatusCode;
35984
35985
  input: {
35985
35986
  param: {
35986
35987
  id: string;
@@ -35988,11 +35989,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35988
35989
  };
35989
35990
  } | {
35990
35991
  output: {
35991
- opened: true;
35992
- command: string;
35992
+ error: string;
35993
35993
  };
35994
35994
  outputFormat: "json";
35995
- status: import("hono/utils/http-status").ContentfulStatusCode;
35995
+ status: 404 | 409;
35996
35996
  input: {
35997
35997
  param: {
35998
35998
  id: string;
@@ -36007,7 +36007,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36007
36007
  error: string;
36008
36008
  };
36009
36009
  outputFormat: "json";
36010
- status: 404 | 409;
36010
+ status: 400;
36011
36011
  input: {
36012
36012
  json: {
36013
36013
  target: string;
@@ -36020,10 +36020,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36020
36020
  };
36021
36021
  } | {
36022
36022
  output: {
36023
- error: string;
36023
+ opened: true;
36024
+ path: string;
36024
36025
  };
36025
36026
  outputFormat: "json";
36026
- status: 400;
36027
+ status: import("hono/utils/http-status").ContentfulStatusCode;
36027
36028
  input: {
36028
36029
  json: {
36029
36030
  target: string;
@@ -36036,11 +36037,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36036
36037
  };
36037
36038
  } | {
36038
36039
  output: {
36039
- opened: true;
36040
- path: string;
36040
+ error: string;
36041
36041
  };
36042
36042
  outputFormat: "json";
36043
- status: import("hono/utils/http-status").ContentfulStatusCode;
36043
+ status: 404 | 409;
36044
36044
  input: {
36045
36045
  json: {
36046
36046
  target: string;
@@ -36080,9 +36080,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36080
36080
  } & {
36081
36081
  "/runs/:id/images/:file": {
36082
36082
  $get: {
36083
- output: {};
36084
- outputFormat: string;
36085
- status: import("hono/utils/http-status").StatusCode;
36083
+ output: {
36084
+ error: string;
36085
+ code?: "invalid_input" | undefined;
36086
+ };
36087
+ outputFormat: "json";
36088
+ status: 400;
36086
36089
  input: {
36087
36090
  param: {
36088
36091
  id: string;
@@ -36090,12 +36093,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36090
36093
  };
36091
36094
  };
36092
36095
  } | {
36093
- output: {
36094
- error: string;
36095
- code?: "invalid_input" | undefined;
36096
- };
36097
- outputFormat: "json";
36098
- status: 400;
36096
+ output: {};
36097
+ outputFormat: string;
36098
+ status: import("hono/utils/http-status").StatusCode;
36099
36099
  input: {
36100
36100
  param: {
36101
36101
  id: string;
@@ -36131,17 +36131,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36131
36131
  } & {
36132
36132
  "/runs/:id/changes": {
36133
36133
  $get: {
36134
- output: {
36135
- error: string;
36136
- };
36137
- outputFormat: "json";
36138
- status: 404 | 409;
36139
- input: {
36140
- param: {
36141
- id: string;
36142
- };
36143
- };
36144
- } | {
36145
36134
  output: {
36146
36135
  files: {
36147
36136
  path: string;
@@ -36170,11 +36159,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36170
36159
  id: string;
36171
36160
  };
36172
36161
  };
36173
- };
36174
- };
36175
- } & {
36176
- "/runs/:id/commits": {
36177
- $get: {
36162
+ } | {
36178
36163
  output: {
36179
36164
  error: string;
36180
36165
  };
@@ -36185,7 +36170,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36185
36170
  id: string;
36186
36171
  };
36187
36172
  };
36188
- } | {
36173
+ };
36174
+ };
36175
+ } & {
36176
+ "/runs/:id/commits": {
36177
+ $get: {
36189
36178
  output: {
36190
36179
  commits: {
36191
36180
  sha: string;
@@ -36201,11 +36190,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36201
36190
  id: string;
36202
36191
  };
36203
36192
  };
36204
- };
36205
- };
36206
- } & {
36207
- "/runs/:id/commit/:sha": {
36208
- $get: {
36193
+ } | {
36209
36194
  output: {
36210
36195
  error: string;
36211
36196
  };
@@ -36214,11 +36199,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36214
36199
  input: {
36215
36200
  param: {
36216
36201
  id: string;
36217
- } & {
36218
- sha: string;
36219
36202
  };
36220
36203
  };
36221
- } | {
36204
+ };
36205
+ };
36206
+ } & {
36207
+ "/runs/:id/commit/:sha": {
36208
+ $get: {
36222
36209
  output: {
36223
36210
  sha: string;
36224
36211
  subject: string;
@@ -36244,9 +36231,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36244
36231
  status: import("hono/utils/http-status").ContentfulStatusCode;
36245
36232
  input: {
36246
36233
  param: {
36247
- id: string;
36234
+ sha: string;
36248
36235
  } & {
36236
+ id: string;
36237
+ };
36238
+ };
36239
+ } | {
36240
+ output: {
36241
+ error: string;
36242
+ };
36243
+ outputFormat: "json";
36244
+ status: 404 | 409;
36245
+ input: {
36246
+ param: {
36249
36247
  sha: string;
36248
+ } & {
36249
+ id: string;
36250
36250
  };
36251
36251
  };
36252
36252
  };
@@ -36284,22 +36284,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36284
36284
  raw?: "1" | undefined;
36285
36285
  };
36286
36286
  };
36287
- } | {
36288
- output: {
36289
- error: string;
36290
- };
36291
- outputFormat: "json";
36292
- status: 404 | 409;
36293
- input: {
36294
- param: {
36295
- id: string;
36296
- };
36297
- } & {
36298
- query: {
36299
- path: string | string[];
36300
- raw?: "1" | undefined;
36301
- };
36302
- };
36303
36287
  } | {
36304
36288
  output: {
36305
36289
  type: "file";
@@ -36336,6 +36320,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36336
36320
  raw?: "1" | undefined;
36337
36321
  };
36338
36322
  };
36323
+ } | {
36324
+ output: {
36325
+ error: string;
36326
+ };
36327
+ outputFormat: "json";
36328
+ status: 404 | 409;
36329
+ input: {
36330
+ param: {
36331
+ id: string;
36332
+ };
36333
+ } & {
36334
+ query: {
36335
+ path: string | string[];
36336
+ raw?: "1" | undefined;
36337
+ };
36338
+ };
36339
36339
  };
36340
36340
  };
36341
36341
  } & {
@@ -36400,6 +36400,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36400
36400
  artifactId: string;
36401
36401
  };
36402
36402
  };
36403
+ } | {
36404
+ output: {
36405
+ error: string;
36406
+ };
36407
+ outputFormat: "json";
36408
+ status: 404;
36409
+ input: {
36410
+ param: {
36411
+ id: string;
36412
+ artifactId: string;
36413
+ };
36414
+ };
36403
36415
  } | {
36404
36416
  output: {
36405
36417
  type: "file";
@@ -36428,18 +36440,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36428
36440
  artifactId: string;
36429
36441
  };
36430
36442
  };
36431
- } | {
36432
- output: {
36433
- error: string;
36434
- };
36435
- outputFormat: "json";
36436
- status: 404;
36437
- input: {
36438
- param: {
36439
- id: string;
36440
- artifactId: string;
36441
- };
36442
- };
36443
36443
  };
36444
36444
  };
36445
36445
  } & {
@@ -36617,10 +36617,16 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36617
36617
  };
36618
36618
  } | {
36619
36619
  output: {
36620
- error: string;
36620
+ type: 'dir';
36621
+ path: string;
36622
+ entries: {
36623
+ name: string;
36624
+ type: 'dir' | 'file';
36625
+ size?: number;
36626
+ }[];
36621
36627
  };
36622
36628
  outputFormat: "json";
36623
- status: 404 | 409;
36629
+ status: import("hono/utils/http-status").ContentfulStatusCode;
36624
36630
  input: {
36625
36631
  query: {
36626
36632
  path?: string | undefined;
@@ -36633,13 +36639,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36633
36639
  };
36634
36640
  } | {
36635
36641
  output: {
36636
- type: 'dir';
36642
+ type: 'file';
36637
36643
  path: string;
36638
- entries: {
36639
- name: string;
36640
- type: 'dir' | 'file';
36641
- size?: number;
36642
- }[];
36644
+ size: number;
36645
+ binary: boolean;
36646
+ tooLarge: boolean;
36647
+ content?: string | undefined;
36643
36648
  };
36644
36649
  outputFormat: "json";
36645
36650
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -36655,15 +36660,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36655
36660
  };
36656
36661
  } | {
36657
36662
  output: {
36658
- type: 'file';
36659
- path: string;
36660
- size: number;
36661
- binary: boolean;
36662
- tooLarge: boolean;
36663
- content?: string | undefined;
36663
+ error: string;
36664
36664
  };
36665
36665
  outputFormat: "json";
36666
- status: import("hono/utils/http-status").ContentfulStatusCode;
36666
+ status: 404 | 409;
36667
36667
  input: {
36668
36668
  query: {
36669
36669
  path?: string | undefined;
@@ -36680,10 +36680,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36680
36680
  "/runs/:id/git/commit": {
36681
36681
  $post: {
36682
36682
  output: {
36683
- error: string;
36683
+ committed: true;
36684
+ sha: string;
36684
36685
  };
36685
36686
  outputFormat: "json";
36686
- status: 404 | 409;
36687
+ status: import("hono/utils/http-status").ContentfulStatusCode;
36687
36688
  input: {
36688
36689
  json: {
36689
36690
  message: string;
@@ -36695,11 +36696,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36695
36696
  };
36696
36697
  } | {
36697
36698
  output: {
36698
- committed: true;
36699
- sha: string;
36699
+ error: string;
36700
36700
  };
36701
36701
  outputFormat: "json";
36702
- status: import("hono/utils/http-status").ContentfulStatusCode;
36702
+ status: 404 | 409;
36703
36703
  input: {
36704
36704
  json: {
36705
36705
  message: string;
@@ -36715,10 +36715,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36715
36715
  "/runs/:id/git/push": {
36716
36716
  $post: {
36717
36717
  output: {
36718
- error: string;
36718
+ pushed: true;
36719
+ branch: string;
36720
+ remote: string;
36721
+ upstreamSet: boolean;
36719
36722
  };
36720
36723
  outputFormat: "json";
36721
- status: 404 | 409;
36724
+ status: import("hono/utils/http-status").ContentfulStatusCode;
36722
36725
  input: {
36723
36726
  param: {
36724
36727
  id: string;
@@ -36726,13 +36729,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36726
36729
  };
36727
36730
  } | {
36728
36731
  output: {
36729
- pushed: true;
36730
- branch: string;
36731
- remote: string;
36732
- upstreamSet: boolean;
36732
+ error: string;
36733
36733
  };
36734
36734
  outputFormat: "json";
36735
- status: import("hono/utils/http-status").ContentfulStatusCode;
36735
+ status: 404 | 409;
36736
36736
  input: {
36737
36737
  param: {
36738
36738
  id: string;
@@ -36744,10 +36744,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36744
36744
  "/runs/:id/pr": {
36745
36745
  $post: {
36746
36746
  output: {
36747
- error: string;
36747
+ url: string;
36748
+ dryRun: boolean;
36748
36749
  };
36749
36750
  outputFormat: "json";
36750
- status: 404 | 409;
36751
+ status: 201;
36751
36752
  input: {
36752
36753
  param: {
36753
36754
  id: string;
@@ -36755,11 +36756,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36755
36756
  };
36756
36757
  } | {
36757
36758
  output: {
36758
- url: string;
36759
- dryRun: boolean;
36759
+ error: string;
36760
36760
  };
36761
36761
  outputFormat: "json";
36762
- status: 201;
36762
+ status: 404 | 409;
36763
36763
  input: {
36764
36764
  param: {
36765
36765
  id: string;
@@ -36771,10 +36771,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36771
36771
  "/runs/:id/remove-worktree": {
36772
36772
  $post: {
36773
36773
  output: {
36774
- error: string;
36774
+ removed: true;
36775
36775
  };
36776
36776
  outputFormat: "json";
36777
- status: 404 | 409;
36777
+ status: import("hono/utils/http-status").ContentfulStatusCode;
36778
36778
  input: {
36779
36779
  param: {
36780
36780
  id: string;
@@ -36782,10 +36782,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36782
36782
  };
36783
36783
  } | {
36784
36784
  output: {
36785
- removed: true;
36785
+ error: string;
36786
36786
  };
36787
36787
  outputFormat: "json";
36788
- status: import("hono/utils/http-status").ContentfulStatusCode;
36788
+ status: 404 | 409;
36789
36789
  input: {
36790
36790
  param: {
36791
36791
  id: string;
@@ -36797,10 +36797,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36797
36797
  "/runs/:id": {
36798
36798
  $delete: {
36799
36799
  output: {
36800
- error: string;
36800
+ deleted: true;
36801
36801
  };
36802
36802
  outputFormat: "json";
36803
- status: 404 | 409;
36803
+ status: import("hono/utils/http-status").ContentfulStatusCode;
36804
36804
  input: {
36805
36805
  param: {
36806
36806
  id: string;
@@ -36808,10 +36808,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36808
36808
  };
36809
36809
  } | {
36810
36810
  output: {
36811
- deleted: true;
36811
+ error: string;
36812
36812
  };
36813
36813
  outputFormat: "json";
36814
- status: import("hono/utils/http-status").ContentfulStatusCode;
36814
+ status: 404 | 409;
36815
36815
  input: {
36816
36816
  param: {
36817
36817
  id: string;