@hearsay-tools/squawk 0.19.0-dev.8845 → 0.19.0-dev.8846

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 (110) hide show
  1. package/dist/boot.d.ts +1 -1
  2. package/dist/boot.js +4 -1
  3. package/dist/boot.js.map +1 -1
  4. package/dist/built-in-forges.d.ts +8 -0
  5. package/dist/built-in-forges.js +15 -0
  6. package/dist/built-in-forges.js.map +1 -0
  7. package/dist/contract/health.d.ts +2 -2
  8. package/dist/contract/index.js +6 -4
  9. package/dist/contract/projects.d.ts +6 -6
  10. package/dist/core/forge-registry.d.ts +113 -0
  11. package/dist/core/forge-registry.js +127 -0
  12. package/dist/core/forge-registry.js.map +1 -0
  13. package/dist/delegation/transport.d.ts +65 -65
  14. package/dist/features/automations/github-repository.js +2 -1
  15. package/dist/features/automations/github-repository.js.map +1 -1
  16. package/dist/features/automations/task-template.js +1 -1
  17. package/dist/features/automations/task-template.js.map +1 -1
  18. package/dist/plugin/api.d.ts +4 -0
  19. package/dist/plugin/api.js +10 -1
  20. package/dist/plugin/api.js.map +1 -1
  21. package/dist/plugin/cli.js +1 -1
  22. package/dist/plugin/cli.js.map +1 -1
  23. package/dist/plugin/index.d.ts +1 -0
  24. package/dist/plugin/index.js.map +1 -1
  25. package/dist/server/activity-routes.d.ts +23 -23
  26. package/dist/server/forge/draft-pr.d.ts +6 -0
  27. package/dist/server/forge/draft-pr.js +11 -3
  28. package/dist/server/forge/draft-pr.js.map +1 -1
  29. package/dist/server/forge/github-forge.d.ts +4 -0
  30. package/dist/server/forge/github-forge.js +80 -0
  31. package/dist/server/forge/github-forge.js.map +1 -0
  32. package/dist/server/forge/index.d.ts +0 -19
  33. package/dist/server/forge/index.js +6 -29
  34. package/dist/server/forge/index.js.map +1 -1
  35. package/dist/server/forge/types.d.ts +2 -1
  36. package/dist/server/live-routes.d.ts +6 -6
  37. package/dist/server/projects-routes.d.ts +9 -9
  38. package/dist/server/repo-routes.d.ts +34 -34
  39. package/dist/server/runs-routes.d.ts +682 -682
  40. package/dist/server/server.d.ts +1283 -1283
  41. package/dist/server/workspace-live-routes.d.ts +6 -6
  42. package/dist/server/workspace-routes.d.ts +84 -84
  43. package/dist/workspace/projects.d.ts +4 -5
  44. package/dist/workspace/projects.js +1 -1
  45. package/dist/workspace/projects.js.map +1 -1
  46. package/package.json +4 -4
  47. package/scripts/benchmark-project-probes.mjs +4 -0
  48. package/web/dist/assets/{accounts-section-C95W9tft.js → accounts-section-BDtqUWb3.js} +1 -1
  49. package/web/dist/assets/{activity-motion-COcLCDd5.js → activity-motion-BXoeTgQ0.js} +1 -1
  50. package/web/dist/assets/{activity-route-0AoutPRj.js → activity-route-C6vB-67V.js} +1 -1
  51. package/web/dist/assets/{agent-config-section-Cz65qZDc.js → agent-config-section-CYKtNSOq.js} +1 -1
  52. package/web/dist/assets/{agent-defaults-section-tbJ4RMFy.js → agent-defaults-section-Cxi5hgqw.js} +1 -1
  53. package/web/dist/assets/{appearance-BcrW0Qbi.js → appearance-DpiBlg6s.js} +1 -1
  54. package/web/dist/assets/{archive-on-merge-field-D3OBzagt.js → archive-on-merge-field-BkwRlcuT.js} +1 -1
  55. package/web/dist/assets/attention-ILOaW2-t.js +1 -0
  56. package/web/dist/assets/{automations-route-DVEH6T0o.js → automations-route-B7pZjn4t.js} +1 -1
  57. package/web/dist/assets/{commit-list-etjXhtQY.js → commit-list-DmvUQRfc.js} +1 -1
  58. package/web/dist/assets/{diff-controls-VI32bLW4.js → diff-controls-DDd5C9KF.js} +1 -1
  59. package/web/dist/assets/{diff-CqHH_7uE.js → diff-pvABbnFN.js} +2 -2
  60. package/web/dist/assets/{diff-view-DVW3793i.js → diff-view-y0rJAqxu.js} +1 -1
  61. package/web/dist/assets/{file-preview-BQ7gHPWH.js → file-preview-CtLbHTJd.js} +1 -1
  62. package/web/dist/assets/{folder-browser-BKpkblOg.js → folder-browser-B_jJl4is.js} +1 -1
  63. package/web/dist/assets/{git-toolbar-ryXExKED.js → git-toolbar-BNu4FVNt.js} +1 -1
  64. package/web/dist/assets/{github-BNNMCYM8.js → github-P8iLt9Ze.js} +1 -1
  65. package/web/dist/assets/{global-activity-route-BA2YYKbv.js → global-activity-route-DmlKf3HJ.js} +1 -1
  66. package/web/dist/assets/{index-02QMWGsE.js → index-CtmR0Rih.js} +5 -5
  67. package/web/dist/assets/{label-r2EmPWPF.js → label-DMC9mkYa.js} +1 -1
  68. package/web/dist/assets/{markdown-DddMrtUC.js → markdown-Ccc5GQS7.js} +1 -1
  69. package/web/dist/assets/{notifications-section-DDEFRzq5.js → notifications-section-A6faaEDe.js} +1 -1
  70. package/web/dist/assets/{open-in-menu-DURN-8Iq.js → open-in-menu-VhRao_Jk.js} +1 -1
  71. package/web/dist/assets/{preview-pane-connected-BCALv_bS.js → preview-pane-connected-gDJgoJyx.js} +1 -1
  72. package/web/dist/assets/{project-location-BVh3MyY6.js → project-location-DATkk1gA.js} +1 -1
  73. package/web/dist/assets/{project-router-1ohBdsN0.js → project-router-B9FTk0rB.js} +1 -1
  74. package/web/dist/assets/{projects-section-B-JVwTeX.js → projects-section-Bo9w_srQ.js} +1 -1
  75. package/web/dist/assets/{prompt-templates-section-DHsOmtAs.js → prompt-templates-section-CA-GCYAc.js} +1 -1
  76. package/web/dist/assets/{queries-ScB0s5Ar.js → queries-hzlF788B.js} +1 -1
  77. package/web/dist/assets/{reference-chip-BlcXVXRe.js → reference-chip-Dgo5aKeb.js} +1 -1
  78. package/web/dist/assets/{remote-settings-notice-zQv0O_2v.js → remote-settings-notice-CEmfxzke.js} +1 -1
  79. package/web/dist/assets/{repo-git-CXS8YlRN.js → repo-git-CslX0xWz.js} +1 -1
  80. package/web/dist/assets/{report-reader-BGbH6bLq.js → report-reader-C70mj6S6.js} +1 -1
  81. package/web/dist/assets/{report-selection-TxRk0uQB.js → report-selection-C-2DJb8L.js} +1 -1
  82. package/web/dist/assets/{reports-B1QVvyYi.js → reports-C7BHDLLE.js} +1 -1
  83. package/web/dist/assets/{resources-section-BVZYiYSk.js → resources-section-DEczWFga.js} +1 -1
  84. package/web/dist/assets/{review-panel-kzEoeeGt.js → review-panel-XIuCglMi.js} +1 -1
  85. package/web/dist/assets/{run-detail-refresh-Dd21Z89D.js → run-detail-refresh-Ye2jcT7n.js} +1 -1
  86. package/web/dist/assets/{run-header-DhGLC4am.js → run-header-gQnKz92B.js} +1 -1
  87. package/web/dist/assets/{select-D8tuiSID.js → select-VMOFW67M.js} +1 -1
  88. package/web/dist/assets/{session-context-section-CHWBjN41.js → session-context-section-Dh1KSiWq.js} +1 -1
  89. package/web/dist/assets/{settings-agent-picker-Bl6ugpb9.js → settings-agent-picker-QEhmK2uD.js} +1 -1
  90. package/web/dist/assets/{settings-shell-Da0ky57l.js → settings-shell-DTu-GViz.js} +1 -1
  91. package/web/dist/assets/{sidebar-section-DHks7GAm.js → sidebar-section-CIKjtt38.js} +1 -1
  92. package/web/dist/assets/{skills-K9LxDYPE.js → skills-CdtSD18y.js} +1 -1
  93. package/web/dist/assets/{tab-link-vUBbOMng.js → tab-link-BlZX-nKP.js} +1 -1
  94. package/web/dist/assets/{task-changes-CVH52Yc2.js → task-changes-CHlKuW-X.js} +1 -1
  95. package/web/dist/assets/{task-commits-BITdXvi7.js → task-commits-nF4skyb7.js} +1 -1
  96. package/web/dist/assets/{task-file-scope-CDRDcGvR.js → task-file-scope-MfwFcMP-.js} +1 -1
  97. package/web/dist/assets/{task-files-Dhvvb1ON.js → task-files-DtFAAilW.js} +1 -1
  98. package/web/dist/assets/{task-github-item-DgfDyeFq.js → task-github-item-7NfAP9Cc.js} +1 -1
  99. package/web/dist/assets/{task-groups-BHP2J8M9.js → task-groups-DD46syqv.js} +1 -1
  100. package/web/dist/assets/{task-thread-DgG_ygLm.js → task-thread-BythIUIj.js} +1 -1
  101. package/web/dist/assets/{tasks-table-DdTcZx0f.js → tasks-table-D17JLOhe.js} +1 -1
  102. package/web/dist/assets/{thread-state-BJ8eA3Zp.js → thread-state-D9Q1UDJa.js} +1 -1
  103. package/web/dist/assets/toaster-fWyfEGWF.js +4 -0
  104. package/web/dist/assets/{use-hand-to-agent-state-B7vxnSK_.js → use-hand-to-agent-state-D9nrW-0i.js} +1 -1
  105. package/web/dist/assets/{workflows-Brt6a-aI.js → workflows-CNc4Vs8I.js} +1 -1
  106. package/web/dist/assets/{workspace-tools-BfRmz2-R.js → workspace-tools-C5y6_0Cv.js} +1 -1
  107. package/web/dist/assets/{worktrees-section-HNAy7tOH.js → worktrees-section-CJCdE5Yx.js} +1 -1
  108. package/web/dist/index.html +13 -13
  109. package/web/dist/assets/attention-DBS2iaFI.js +0 -1
  110. package/web/dist/assets/toaster-CRikzxTs.js +0 -4
@@ -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: {
@@ -431,11 +408,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
431
408
  project?: string | undefined;
432
409
  };
433
410
  };
434
- };
435
- };
436
- }, "/"> | import("hono/types").MergeSchemaPath<{
437
- "/fs/browse": {
438
- $get: {
411
+ } | {
439
412
  output: {
440
413
  error: string;
441
414
  code?: "invalid_input" | undefined;
@@ -444,8 +417,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
444
417
  status: 400;
445
418
  input: {
446
419
  query: {
447
- path?: string | undefined;
448
- showHidden?: string | undefined;
420
+ project?: string | undefined;
449
421
  };
450
422
  };
451
423
  } | {
@@ -453,7 +425,23 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
453
425
  error: string;
454
426
  };
455
427
  outputFormat: "json";
456
- status: 400 | 403 | 404;
428
+ status: 404 | 409 | 503;
429
+ input: {
430
+ query: {
431
+ project?: string | undefined;
432
+ };
433
+ };
434
+ };
435
+ };
436
+ }, "/"> | import("hono/types").MergeSchemaPath<{
437
+ "/fs/browse": {
438
+ $get: {
439
+ output: {
440
+ error: string;
441
+ code?: "invalid_input" | undefined;
442
+ };
443
+ outputFormat: "json";
444
+ status: 400;
457
445
  input: {
458
446
  query: {
459
447
  path?: string | undefined;
@@ -479,20 +467,23 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
479
467
  showHidden?: string | undefined;
480
468
  };
481
469
  };
470
+ } | {
471
+ output: {
472
+ error: string;
473
+ };
474
+ outputFormat: "json";
475
+ status: 400 | 403 | 404;
476
+ input: {
477
+ query: {
478
+ path?: string | undefined;
479
+ showHidden?: string | undefined;
480
+ };
481
+ };
482
482
  };
483
483
  };
484
484
  }, "/"> | import("hono/types").MergeSchemaPath<{
485
485
  "/workspace/events": {
486
486
  $get: {
487
- output: {};
488
- outputFormat: string;
489
- status: import("hono/utils/http-status").StatusCode;
490
- input: {
491
- query: {
492
- runs?: "summary" | undefined;
493
- };
494
- };
495
- } | {
496
487
  output: {
497
488
  error: string;
498
489
  code?: "invalid_input" | undefined;
@@ -504,6 +495,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
504
495
  runs?: "summary" | undefined;
505
496
  };
506
497
  };
498
+ } | {
499
+ output: {};
500
+ outputFormat: string;
501
+ status: import("hono/utils/http-status").StatusCode;
502
+ input: {
503
+ query: {
504
+ runs?: "summary" | undefined;
505
+ };
506
+ };
507
507
  };
508
508
  };
509
509
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -528,7 +528,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
528
528
  forge: {
529
529
  available?: boolean | undefined;
530
530
  reason?: string;
531
- kind: "github";
531
+ kind: string;
532
532
  } | null;
533
533
  capabilities: {
534
534
  [x: string]: boolean | undefined;
@@ -580,6 +580,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
580
580
  profileId?: string | undefined;
581
581
  };
582
582
  };
583
+ } | {
584
+ output: {
585
+ error: string;
586
+ };
587
+ outputFormat: "json";
588
+ status: 400;
589
+ input: {
590
+ query: {
591
+ runner: string | string[];
592
+ profileId?: string | undefined;
593
+ };
594
+ };
583
595
  } | {
584
596
  output: {
585
597
  runner: string;
@@ -601,18 +613,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
601
613
  profileId?: string | undefined;
602
614
  };
603
615
  };
604
- } | {
605
- output: {
606
- error: string;
607
- };
608
- outputFormat: "json";
609
- status: 400;
610
- input: {
611
- query: {
612
- runner: string | string[];
613
- profileId?: string | undefined;
614
- };
615
- };
616
616
  };
617
617
  };
618
618
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -969,34 +969,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
969
969
  "/workspace/config": {
970
970
  $put: {
971
971
  output: {
972
- browseRoot: string;
973
- projectsDir: string;
974
- archiveOnMerge: boolean | null;
975
- effectiveArchiveOnMerge: boolean;
976
- archiveOnMergeSource: "default" | "environment" | "global";
977
- composerDefaults: {
978
- autonomous: boolean | null;
979
- worktree: boolean | null;
980
- inheritedAutonomous: "source-dependent" | boolean;
981
- inheritedWorktree: boolean;
982
- };
983
- resources: {
984
- maxParallel: number;
985
- maxMonitoringSessions: number;
986
- monitoringWakeIntervalMinutes: number | null;
987
- autoResumeOnUsageLimit: boolean;
988
- memoryLimitMb: number | null;
989
- worktreeRetentionDefault: number;
990
- };
991
- agentDefaults: {
992
- runner?: string | undefined;
993
- models?: {
994
- [x: string]: string | undefined;
995
- } | undefined;
996
- };
972
+ error: string;
997
973
  };
998
974
  outputFormat: "json";
999
- status: import("hono/utils/http-status").ContentfulStatusCode;
975
+ status: 400;
1000
976
  input: {
1001
977
  json: {
1002
978
  browseRoot?: string | undefined;
@@ -1025,7 +1001,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1025
1001
  error: string;
1026
1002
  };
1027
1003
  outputFormat: "json";
1028
- status: 400;
1004
+ status: 500;
1029
1005
  input: {
1030
1006
  json: {
1031
1007
  browseRoot?: string | undefined;
@@ -1051,10 +1027,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1051
1027
  };
1052
1028
  } | {
1053
1029
  output: {
1054
- error: string;
1030
+ browseRoot: string;
1031
+ projectsDir: string;
1032
+ archiveOnMerge: boolean | null;
1033
+ effectiveArchiveOnMerge: boolean;
1034
+ archiveOnMergeSource: "default" | "environment" | "global";
1035
+ composerDefaults: {
1036
+ autonomous: boolean | null;
1037
+ worktree: boolean | null;
1038
+ inheritedAutonomous: "source-dependent" | boolean;
1039
+ inheritedWorktree: boolean;
1040
+ };
1041
+ resources: {
1042
+ maxParallel: number;
1043
+ maxMonitoringSessions: number;
1044
+ monitoringWakeIntervalMinutes: number | null;
1045
+ autoResumeOnUsageLimit: boolean;
1046
+ memoryLimitMb: number | null;
1047
+ worktreeRetentionDefault: number;
1048
+ };
1049
+ agentDefaults: {
1050
+ runner?: string | undefined;
1051
+ models?: {
1052
+ [x: string]: string | undefined;
1053
+ } | undefined;
1054
+ };
1055
1055
  };
1056
1056
  outputFormat: "json";
1057
- status: 500;
1057
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1058
1058
  input: {
1059
1059
  json: {
1060
1060
  browseRoot?: string | undefined;
@@ -1126,41 +1126,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1126
1126
  "/workspace/ui-state": {
1127
1127
  $put: {
1128
1128
  output: {
1129
- [x: string]: import("hono/utils/types").JSONValue;
1130
- sidebar?: {
1131
- [x: string]: import("hono/utils/types").JSONValue;
1132
- collapsed?: {
1133
- [x: string]: boolean;
1134
- } | undefined;
1135
- projectOrder?: string[] | undefined;
1136
- } | undefined;
1137
- dismissedProviderAuthFailures?: {
1138
- [x: string]: string | undefined;
1139
- } | undefined;
1140
- appearance?: {
1141
- accent?: "cezarion" | "lime" | "violet" | undefined;
1142
- density?: "comfortable" | "compact" | "ultra" | undefined;
1143
- width?: "narrow" | "wide" | undefined;
1144
- } | undefined;
1145
- notifications?: {
1146
- [x: string]: import("hono/utils/types").JSONValue;
1147
- enabled?: boolean | undefined;
1148
- } | undefined;
1149
- taskTable?: {
1150
- [x: string]: import("hono/utils/types").JSONValue;
1151
- expandedColumns?: {
1152
- [x: string]: boolean;
1153
- } | undefined;
1154
- } | undefined;
1155
- lastLocation?: {
1156
- projectId: string;
1157
- pathname: string;
1158
- search?: string | undefined;
1159
- hash?: string | undefined;
1160
- } | undefined;
1129
+ error: string;
1161
1130
  };
1162
1131
  outputFormat: "json";
1163
- status: import("hono/utils/http-status").ContentfulStatusCode;
1132
+ status: 500;
1164
1133
  input: {
1165
1134
  json: {
1166
1135
  [x: string]: unknown;
@@ -1193,10 +1162,41 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1193
1162
  };
1194
1163
  } | {
1195
1164
  output: {
1196
- error: string;
1165
+ [x: string]: import("hono/utils/types").JSONValue;
1166
+ sidebar?: {
1167
+ [x: string]: import("hono/utils/types").JSONValue;
1168
+ collapsed?: {
1169
+ [x: string]: boolean;
1170
+ } | undefined;
1171
+ projectOrder?: string[] | undefined;
1172
+ } | undefined;
1173
+ dismissedProviderAuthFailures?: {
1174
+ [x: string]: string | undefined;
1175
+ } | undefined;
1176
+ appearance?: {
1177
+ accent?: "cezarion" | "lime" | "violet" | undefined;
1178
+ density?: "comfortable" | "compact" | "ultra" | undefined;
1179
+ width?: "narrow" | "wide" | undefined;
1180
+ } | undefined;
1181
+ notifications?: {
1182
+ [x: string]: import("hono/utils/types").JSONValue;
1183
+ enabled?: boolean | undefined;
1184
+ } | undefined;
1185
+ taskTable?: {
1186
+ [x: string]: import("hono/utils/types").JSONValue;
1187
+ expandedColumns?: {
1188
+ [x: string]: boolean;
1189
+ } | undefined;
1190
+ } | undefined;
1191
+ lastLocation?: {
1192
+ projectId: string;
1193
+ pathname: string;
1194
+ search?: string | undefined;
1195
+ hash?: string | undefined;
1196
+ } | undefined;
1197
1197
  };
1198
1198
  outputFormat: "json";
1199
- status: 500;
1199
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1200
1200
  input: {
1201
1201
  json: {
1202
1202
  [x: string]: unknown;
@@ -1284,18 +1284,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1284
1284
  };
1285
1285
  } | {
1286
1286
  output: {
1287
- providers: {
1288
- requiresAccountHome?: boolean | undefined;
1289
- provider: string;
1290
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1291
- enabled?: boolean | undefined;
1292
- hint?: string | undefined;
1293
- authFailureId?: string | undefined;
1294
- profileId?: string | undefined;
1295
- }[];
1287
+ error: string;
1296
1288
  };
1297
1289
  outputFormat: "json";
1298
- status: import("hono/utils/http-status").ContentfulStatusCode;
1290
+ status: 500;
1299
1291
  input: {
1300
1292
  param: {
1301
1293
  provider: string;
@@ -1307,10 +1299,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1307
1299
  };
1308
1300
  } | {
1309
1301
  output: {
1310
- error: string;
1302
+ providers: {
1303
+ requiresAccountHome?: boolean | undefined;
1304
+ provider: string;
1305
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1306
+ enabled?: boolean | undefined;
1307
+ hint?: string | undefined;
1308
+ authFailureId?: string | undefined;
1309
+ profileId?: string | undefined;
1310
+ }[];
1311
1311
  };
1312
1312
  outputFormat: "json";
1313
- status: 500;
1313
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1314
1314
  input: {
1315
1315
  param: {
1316
1316
  provider: string;
@@ -1342,18 +1342,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1342
1342
  };
1343
1343
  } | {
1344
1344
  output: {
1345
- providers: {
1346
- requiresAccountHome?: boolean | undefined;
1347
- provider: string;
1348
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1349
- enabled?: boolean | undefined;
1350
- hint?: string | undefined;
1351
- authFailureId?: string | undefined;
1352
- profileId?: string | undefined;
1353
- }[];
1345
+ error: string;
1354
1346
  };
1355
1347
  outputFormat: "json";
1356
- status: import("hono/utils/http-status").ContentfulStatusCode;
1348
+ status: 409;
1357
1349
  input: {
1358
1350
  param: {
1359
1351
  provider: string;
@@ -1365,10 +1357,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1365
1357
  };
1366
1358
  } | {
1367
1359
  output: {
1368
- error: string;
1360
+ providers: {
1361
+ requiresAccountHome?: boolean | undefined;
1362
+ provider: string;
1363
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1364
+ enabled?: boolean | undefined;
1365
+ hint?: string | undefined;
1366
+ authFailureId?: string | undefined;
1367
+ profileId?: string | undefined;
1368
+ }[];
1369
1369
  };
1370
1370
  outputFormat: "json";
1371
- status: 409;
1371
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1372
1372
  input: {
1373
1373
  param: {
1374
1374
  provider: string;
@@ -1387,7 +1387,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1387
1387
  error: string;
1388
1388
  };
1389
1389
  outputFormat: "json";
1390
- status: 409;
1390
+ status: 400;
1391
1391
  input: {
1392
1392
  json: {
1393
1393
  provider: string;
@@ -1399,7 +1399,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1399
1399
  error: string;
1400
1400
  };
1401
1401
  outputFormat: "json";
1402
- status: 400;
1402
+ status: 409;
1403
1403
  input: {
1404
1404
  json: {
1405
1405
  provider: string;
@@ -1454,7 +1454,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1454
1454
  error: string;
1455
1455
  };
1456
1456
  outputFormat: "json";
1457
- status: 409;
1457
+ status: 400;
1458
1458
  input: {
1459
1459
  json: {
1460
1460
  provider: string;
@@ -1466,7 +1466,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1466
1466
  error: string;
1467
1467
  };
1468
1468
  outputFormat: "json";
1469
- status: 400;
1469
+ status: 409;
1470
1470
  input: {
1471
1471
  json: {
1472
1472
  provider: string;
@@ -1709,10 +1709,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1709
1709
  "/workspace/agent-profiles": {
1710
1710
  $post: {
1711
1711
  output: {
1712
- error: string;
1712
+ profile: {
1713
+ id: string;
1714
+ provider: string;
1715
+ label: string;
1716
+ configDir?: string | undefined;
1717
+ path?: string | undefined;
1718
+ exists: boolean;
1719
+ looksValid: boolean;
1720
+ isDefault: boolean;
1721
+ status?: {
1722
+ requiresAccountHome?: boolean | undefined;
1723
+ provider: string;
1724
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1725
+ enabled?: boolean | undefined;
1726
+ hint?: string | undefined;
1727
+ authFailureId?: string | undefined;
1728
+ profileId?: string | undefined;
1729
+ } | undefined;
1730
+ };
1713
1731
  };
1714
1732
  outputFormat: "json";
1715
- status: 409;
1733
+ status: 201;
1716
1734
  input: {
1717
1735
  json: {
1718
1736
  provider: string;
@@ -1738,7 +1756,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1738
1756
  error: string;
1739
1757
  };
1740
1758
  outputFormat: "json";
1741
- status: 500;
1759
+ status: 409;
1742
1760
  input: {
1743
1761
  json: {
1744
1762
  provider: string;
@@ -1748,28 +1766,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1748
1766
  };
1749
1767
  } | {
1750
1768
  output: {
1751
- profile: {
1752
- id: string;
1753
- provider: string;
1754
- label: string;
1755
- configDir?: string | undefined;
1756
- path?: string | undefined;
1757
- exists: boolean;
1758
- looksValid: boolean;
1759
- isDefault: boolean;
1760
- status?: {
1761
- requiresAccountHome?: boolean | undefined;
1762
- provider: string;
1763
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1764
- enabled?: boolean | undefined;
1765
- hint?: string | undefined;
1766
- authFailureId?: string | undefined;
1767
- profileId?: string | undefined;
1768
- } | undefined;
1769
- };
1769
+ error: string;
1770
1770
  };
1771
1771
  outputFormat: "json";
1772
- status: 201;
1772
+ status: 500;
1773
1773
  input: {
1774
1774
  json: {
1775
1775
  provider: string;
@@ -1803,7 +1803,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1803
1803
  error: string;
1804
1804
  };
1805
1805
  outputFormat: "json";
1806
- status: 409;
1806
+ status: 400;
1807
1807
  input: {
1808
1808
  param: {
1809
1809
  id: string;
@@ -1819,7 +1819,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1819
1819
  error: string;
1820
1820
  };
1821
1821
  outputFormat: "json";
1822
- status: 400;
1822
+ status: 404;
1823
1823
  input: {
1824
1824
  param: {
1825
1825
  id: string;
@@ -1835,7 +1835,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1835
1835
  error: string;
1836
1836
  };
1837
1837
  outputFormat: "json";
1838
- status: 404;
1838
+ status: 409;
1839
1839
  input: {
1840
1840
  param: {
1841
1841
  id: string;
@@ -1963,7 +1963,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1963
1963
  error: string;
1964
1964
  };
1965
1965
  outputFormat: "json";
1966
- status: 404;
1966
+ status: 400;
1967
1967
  input: {
1968
1968
  json: {
1969
1969
  projectId: string;
@@ -1976,7 +1976,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1976
1976
  error: string;
1977
1977
  };
1978
1978
  outputFormat: "json";
1979
- status: 400;
1979
+ status: 404;
1980
1980
  input: {
1981
1981
  json: {
1982
1982
  projectId: string;
@@ -2040,7 +2040,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2040
2040
  error: string;
2041
2041
  };
2042
2042
  outputFormat: "json";
2043
- status: 409;
2043
+ status: 404;
2044
2044
  input: {
2045
2045
  param: {
2046
2046
  id: string;
@@ -2051,7 +2051,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2051
2051
  error: string;
2052
2052
  };
2053
2053
  outputFormat: "json";
2054
- status: 500;
2054
+ status: 409;
2055
2055
  input: {
2056
2056
  param: {
2057
2057
  id: string;
@@ -2062,7 +2062,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2062
2062
  error: string;
2063
2063
  };
2064
2064
  outputFormat: "json";
2065
- status: 404;
2065
+ status: 500;
2066
2066
  input: {
2067
2067
  param: {
2068
2068
  id: string;
@@ -2095,7 +2095,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2095
2095
  source: "checkout" | "local";
2096
2096
  status: "missing" | "not-git" | "ok";
2097
2097
  branch?: string | undefined;
2098
- forge?: "github" | undefined;
2098
+ forge?: string | undefined;
2099
2099
  repoUrl?: string | undefined;
2100
2100
  maxParallel?: number | undefined;
2101
2101
  tags?: string[] | undefined;
@@ -2126,6 +2126,86 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2126
2126
  } & {
2127
2127
  "/projects": {
2128
2128
  $post: {
2129
+ output: {
2130
+ project: {
2131
+ id: string;
2132
+ name: string;
2133
+ root: string;
2134
+ addedAt: string;
2135
+ lastOpenedAt: string;
2136
+ source: "checkout" | "local";
2137
+ status: "missing" | "not-git" | "ok";
2138
+ branch?: string | undefined;
2139
+ forge?: string | undefined;
2140
+ repoUrl?: string | undefined;
2141
+ maxParallel?: number | undefined;
2142
+ tags?: string[] | undefined;
2143
+ webhook?: {
2144
+ url: string;
2145
+ tokenSet: boolean;
2146
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2147
+ } | undefined;
2148
+ webhooks?: {
2149
+ id: string;
2150
+ name: string;
2151
+ description?: string | undefined;
2152
+ url: string;
2153
+ tokenSet: boolean;
2154
+ tasks: boolean;
2155
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2156
+ agent: boolean;
2157
+ }[] | undefined;
2158
+ };
2159
+ error?: string | undefined;
2160
+ };
2161
+ outputFormat: "json";
2162
+ status: 200;
2163
+ input: {
2164
+ json: {
2165
+ root: string;
2166
+ };
2167
+ };
2168
+ } | {
2169
+ output: {
2170
+ project: {
2171
+ id: string;
2172
+ name: string;
2173
+ root: string;
2174
+ addedAt: string;
2175
+ lastOpenedAt: string;
2176
+ source: "checkout" | "local";
2177
+ status: "missing" | "not-git" | "ok";
2178
+ branch?: string | undefined;
2179
+ forge?: string | undefined;
2180
+ repoUrl?: string | undefined;
2181
+ maxParallel?: number | undefined;
2182
+ tags?: string[] | undefined;
2183
+ webhook?: {
2184
+ url: string;
2185
+ tokenSet: boolean;
2186
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2187
+ } | undefined;
2188
+ webhooks?: {
2189
+ id: string;
2190
+ name: string;
2191
+ description?: string | undefined;
2192
+ url: string;
2193
+ tokenSet: boolean;
2194
+ tasks: boolean;
2195
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2196
+ agent: boolean;
2197
+ }[] | undefined;
2198
+ };
2199
+ error: string;
2200
+ };
2201
+ outputFormat: "json";
2202
+ status: 409;
2203
+ input: {
2204
+ json: {
2205
+ root: string;
2206
+ };
2207
+ };
2208
+ } | {
2129
2209
  output: {
2130
2210
  error: string;
2131
2211
  };
@@ -2136,6 +2216,101 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2136
2216
  root: string;
2137
2217
  };
2138
2218
  };
2219
+ };
2220
+ };
2221
+ } & {
2222
+ "/projects/:projectId": {
2223
+ $delete: {
2224
+ output: {
2225
+ error: string;
2226
+ };
2227
+ outputFormat: "json";
2228
+ status: 404;
2229
+ input: {
2230
+ param: {
2231
+ projectId: string;
2232
+ };
2233
+ };
2234
+ } | {
2235
+ output: {
2236
+ error: string;
2237
+ };
2238
+ outputFormat: "json";
2239
+ status: 409;
2240
+ input: {
2241
+ param: {
2242
+ projectId: string;
2243
+ };
2244
+ };
2245
+ } | {
2246
+ output: {
2247
+ error: string;
2248
+ };
2249
+ outputFormat: "json";
2250
+ status: 500;
2251
+ input: {
2252
+ param: {
2253
+ projectId: string;
2254
+ };
2255
+ };
2256
+ } | {
2257
+ output: {
2258
+ removed: true;
2259
+ id: string;
2260
+ };
2261
+ outputFormat: "json";
2262
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2263
+ input: {
2264
+ param: {
2265
+ projectId: string;
2266
+ };
2267
+ };
2268
+ };
2269
+ };
2270
+ } & {
2271
+ "/projects/:projectId": {
2272
+ $patch: {
2273
+ output: {
2274
+ error: string;
2275
+ };
2276
+ outputFormat: "json";
2277
+ status: 404;
2278
+ input: {
2279
+ json: {
2280
+ maxParallel?: number | null | undefined;
2281
+ tags?: string[] | null | undefined;
2282
+ webhook?: {
2283
+ url: string;
2284
+ token?: string | undefined;
2285
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2286
+ } | null | undefined;
2287
+ };
2288
+ } & {
2289
+ param: {
2290
+ projectId: string;
2291
+ };
2292
+ };
2293
+ } | {
2294
+ output: {
2295
+ error: string;
2296
+ };
2297
+ outputFormat: "json";
2298
+ status: 500;
2299
+ input: {
2300
+ json: {
2301
+ maxParallel?: number | null | undefined;
2302
+ tags?: string[] | null | undefined;
2303
+ webhook?: {
2304
+ url: string;
2305
+ token?: string | undefined;
2306
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2307
+ } | null | undefined;
2308
+ };
2309
+ } & {
2310
+ param: {
2311
+ projectId: string;
2312
+ };
2313
+ };
2139
2314
  } | {
2140
2315
  output: {
2141
2316
  project: {
@@ -2147,182 +2322,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2147
2322
  source: "checkout" | "local";
2148
2323
  status: "missing" | "not-git" | "ok";
2149
2324
  branch?: string | undefined;
2150
- forge?: "github" | undefined;
2151
- repoUrl?: string | undefined;
2152
- maxParallel?: number | undefined;
2153
- tags?: string[] | undefined;
2154
- webhook?: {
2155
- url: string;
2156
- tokenSet: boolean;
2157
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2158
- } | undefined;
2159
- webhooks?: {
2160
- id: string;
2161
- name: string;
2162
- description?: string | undefined;
2163
- url: string;
2164
- tokenSet: boolean;
2165
- tasks: boolean;
2166
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2167
- agent: boolean;
2168
- }[] | undefined;
2169
- };
2170
- error: string;
2171
- };
2172
- outputFormat: "json";
2173
- status: 409;
2174
- input: {
2175
- json: {
2176
- root: string;
2177
- };
2178
- };
2179
- } | {
2180
- output: {
2181
- project: {
2182
- id: string;
2183
- name: string;
2184
- root: string;
2185
- addedAt: string;
2186
- lastOpenedAt: string;
2187
- source: "checkout" | "local";
2188
- status: "missing" | "not-git" | "ok";
2189
- branch?: string | undefined;
2190
- forge?: "github" | undefined;
2191
- repoUrl?: string | undefined;
2192
- maxParallel?: number | undefined;
2193
- tags?: string[] | undefined;
2194
- webhook?: {
2195
- url: string;
2196
- tokenSet: boolean;
2197
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2198
- } | undefined;
2199
- webhooks?: {
2200
- id: string;
2201
- name: string;
2202
- description?: string | undefined;
2203
- url: string;
2204
- tokenSet: boolean;
2205
- tasks: boolean;
2206
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2207
- agent: boolean;
2208
- }[] | undefined;
2209
- };
2210
- error?: string | undefined;
2211
- };
2212
- outputFormat: "json";
2213
- status: 200;
2214
- input: {
2215
- json: {
2216
- root: string;
2217
- };
2218
- };
2219
- };
2220
- };
2221
- } & {
2222
- "/projects/:projectId": {
2223
- $delete: {
2224
- output: {
2225
- error: string;
2226
- };
2227
- outputFormat: "json";
2228
- status: 404;
2229
- input: {
2230
- param: {
2231
- projectId: string;
2232
- };
2233
- };
2234
- } | {
2235
- output: {
2236
- error: string;
2237
- };
2238
- outputFormat: "json";
2239
- status: 409;
2240
- input: {
2241
- param: {
2242
- projectId: string;
2243
- };
2244
- };
2245
- } | {
2246
- output: {
2247
- error: string;
2248
- };
2249
- outputFormat: "json";
2250
- status: 500;
2251
- input: {
2252
- param: {
2253
- projectId: string;
2254
- };
2255
- };
2256
- } | {
2257
- output: {
2258
- removed: true;
2259
- id: string;
2260
- };
2261
- outputFormat: "json";
2262
- status: import("hono/utils/http-status").ContentfulStatusCode;
2263
- input: {
2264
- param: {
2265
- projectId: string;
2266
- };
2267
- };
2268
- };
2269
- };
2270
- } & {
2271
- "/projects/:projectId": {
2272
- $patch: {
2273
- output: {
2274
- error: string;
2275
- };
2276
- outputFormat: "json";
2277
- status: 404;
2278
- input: {
2279
- json: {
2280
- maxParallel?: number | null | undefined;
2281
- tags?: string[] | null | undefined;
2282
- webhook?: {
2283
- url: string;
2284
- token?: string | undefined;
2285
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2286
- } | null | undefined;
2287
- };
2288
- } & {
2289
- param: {
2290
- projectId: string;
2291
- };
2292
- };
2293
- } | {
2294
- output: {
2295
- error: string;
2296
- };
2297
- outputFormat: "json";
2298
- status: 500;
2299
- input: {
2300
- json: {
2301
- maxParallel?: number | null | undefined;
2302
- tags?: string[] | null | undefined;
2303
- webhook?: {
2304
- url: string;
2305
- token?: string | undefined;
2306
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2307
- } | null | undefined;
2308
- };
2309
- } & {
2310
- param: {
2311
- projectId: string;
2312
- };
2313
- };
2314
- } | {
2315
- output: {
2316
- project: {
2317
- id: string;
2318
- name: string;
2319
- root: string;
2320
- addedAt: string;
2321
- lastOpenedAt: string;
2322
- source: "checkout" | "local";
2323
- status: "missing" | "not-git" | "ok";
2324
- branch?: string | undefined;
2325
- forge?: "github" | undefined;
2325
+ forge?: string | undefined;
2326
2326
  repoUrl?: string | undefined;
2327
2327
  maxParallel?: number | undefined;
2328
2328
  tags?: string[] | undefined;
@@ -2369,7 +2369,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2369
2369
  error: string;
2370
2370
  };
2371
2371
  outputFormat: "json";
2372
- status: 404;
2372
+ status: 400;
2373
2373
  input: {
2374
2374
  param: {
2375
2375
  projectId: string;
@@ -2380,7 +2380,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2380
2380
  error: string;
2381
2381
  };
2382
2382
  outputFormat: "json";
2383
- status: 400;
2383
+ status: 404;
2384
2384
  input: {
2385
2385
  param: {
2386
2386
  projectId: string;
@@ -2405,27 +2405,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2405
2405
  } & {
2406
2406
  "/projects/:projectId/webhooks": {
2407
2407
  $post: {
2408
- output: {
2409
- error: string;
2410
- };
2411
- outputFormat: "json";
2412
- status: 400 | 404 | 409 | 500;
2413
- input: {
2414
- json: {
2415
- name: string;
2416
- description?: string | undefined;
2417
- url: string;
2418
- token?: string | undefined;
2419
- tasks?: boolean | undefined;
2420
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2421
- agent?: boolean | undefined;
2422
- };
2423
- } & {
2424
- param: {
2425
- projectId: string;
2426
- };
2427
- };
2428
- } | {
2429
2408
  output: {
2430
2409
  project: {
2431
2410
  id: string;
@@ -2436,7 +2415,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2436
2415
  source: "checkout" | "local";
2437
2416
  status: "missing" | "not-git" | "ok";
2438
2417
  branch?: string | undefined;
2439
- forge?: "github" | undefined;
2418
+ forge?: string | undefined;
2440
2419
  repoUrl?: string | undefined;
2441
2420
  maxParallel?: number | undefined;
2442
2421
  tags?: string[] | undefined;
@@ -2484,6 +2463,27 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2484
2463
  projectId: string;
2485
2464
  };
2486
2465
  };
2466
+ } | {
2467
+ output: {
2468
+ error: string;
2469
+ };
2470
+ outputFormat: "json";
2471
+ status: 400 | 404 | 409 | 500;
2472
+ input: {
2473
+ json: {
2474
+ name: string;
2475
+ description?: string | undefined;
2476
+ url: string;
2477
+ token?: string | undefined;
2478
+ tasks?: boolean | undefined;
2479
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2480
+ agent?: boolean | undefined;
2481
+ };
2482
+ } & {
2483
+ param: {
2484
+ projectId: string;
2485
+ };
2486
+ };
2487
2487
  };
2488
2488
  };
2489
2489
  } & {
@@ -2522,7 +2522,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2522
2522
  source: "checkout" | "local";
2523
2523
  status: "missing" | "not-git" | "ok";
2524
2524
  branch?: string | undefined;
2525
- forge?: "github" | undefined;
2525
+ forge?: string | undefined;
2526
2526
  repoUrl?: string | undefined;
2527
2527
  maxParallel?: number | undefined;
2528
2528
  tags?: string[] | undefined;
@@ -2621,7 +2621,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2621
2621
  source: "checkout" | "local";
2622
2622
  status: "missing" | "not-git" | "ok";
2623
2623
  branch?: string | undefined;
2624
- forge?: "github" | undefined;
2624
+ forge?: string | undefined;
2625
2625
  repoUrl?: string | undefined;
2626
2626
  maxParallel?: number | undefined;
2627
2627
  tags?: string[] | undefined;
@@ -2681,13 +2681,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2681
2681
  };
2682
2682
  } | {
2683
2683
  output: {
2684
- ok: boolean;
2685
- status?: number | undefined;
2686
- error?: string | undefined;
2687
- dryRun?: boolean | undefined;
2684
+ error: string;
2688
2685
  };
2689
2686
  outputFormat: "json";
2690
- status: import("hono/utils/http-status").ContentfulStatusCode;
2687
+ status: 404;
2691
2688
  input: {
2692
2689
  param: {
2693
2690
  projectId: string;
@@ -2696,10 +2693,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2696
2693
  };
2697
2694
  } | {
2698
2695
  output: {
2699
- error: string;
2696
+ ok: boolean;
2697
+ status?: number | undefined;
2698
+ error?: string | undefined;
2699
+ dryRun?: boolean | undefined;
2700
2700
  };
2701
2701
  outputFormat: "json";
2702
- status: 404;
2702
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2703
2703
  input: {
2704
2704
  param: {
2705
2705
  projectId: string;
@@ -2755,7 +2755,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2755
2755
  source: "checkout" | "local";
2756
2756
  status: "missing" | "not-git" | "ok";
2757
2757
  branch?: string | undefined;
2758
- forge?: "github" | undefined;
2758
+ forge?: string | undefined;
2759
2759
  repoUrl?: string | undefined;
2760
2760
  maxParallel?: number | undefined;
2761
2761
  tags?: string[] | undefined;
@@ -2837,7 +2837,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2837
2837
  source: "checkout" | "local";
2838
2838
  status: "missing" | "not-git" | "ok";
2839
2839
  branch?: string | undefined;
2840
- forge?: "github" | undefined;
2840
+ forge?: string | undefined;
2841
2841
  repoUrl?: string | undefined;
2842
2842
  maxParallel?: number | undefined;
2843
2843
  tags?: string[] | undefined;
@@ -2940,11 +2940,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2940
2940
  "/runner-install/:runner": {
2941
2941
  $post: {
2942
2942
  output: {
2943
- error: string;
2944
- code?: "invalid_input" | undefined;
2943
+ supported: boolean;
2944
+ installedVersion: string | null;
2945
+ latestVersion: string | null;
2946
+ updateAvailable: boolean;
2947
+ phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
2948
+ error: string | null;
2945
2949
  };
2946
2950
  outputFormat: "json";
2947
- status: 400;
2951
+ status: 202;
2948
2952
  input: {
2949
2953
  param: {
2950
2954
  runner: string;
@@ -2956,15 +2960,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2956
2960
  };
2957
2961
  } | {
2958
2962
  output: {
2959
- supported: boolean;
2960
- installedVersion: string | null;
2961
- latestVersion: string | null;
2962
- updateAvailable: boolean;
2963
- phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
2964
- error: string | null;
2963
+ error: string;
2964
+ code?: "invalid_input" | undefined;
2965
2965
  };
2966
2966
  outputFormat: "json";
2967
- status: 202;
2967
+ status: 400;
2968
2968
  input: {
2969
2969
  param: {
2970
2970
  runner: string;
@@ -3041,12 +3041,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3041
3041
  output: {
3042
3042
  generation: string;
3043
3043
  results: ({
3044
- projectId: string;
3045
- runId: string;
3046
- type: "error" | "reset";
3047
- status: 400 | 404 | 409 | 413 | 503;
3048
- error: string;
3049
- } | {
3050
3044
  projectId: string;
3051
3045
  runId: string;
3052
3046
  type: "batch";
@@ -3067,6 +3061,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3067
3061
  cursor: string;
3068
3062
  afterSeq: number;
3069
3063
  hasMore: boolean;
3064
+ } | {
3065
+ projectId: string;
3066
+ runId: string;
3067
+ type: "error" | "reset";
3068
+ status: 400 | 404 | 409 | 413 | 503;
3069
+ error: string;
3070
3070
  })[];
3071
3071
  };
3072
3072
  outputFormat: "json";
@@ -3321,18 +3321,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3321
3321
  }, "/"> | import("hono/types").MergeSchemaPath<{
3322
3322
  "/plan": {
3323
3323
  $post: {
3324
- output: {
3325
- error: string;
3326
- };
3327
- outputFormat: "json";
3328
- status: 400 | 404 | 409;
3329
- input: {
3330
- json: {
3331
- task: string;
3332
- agentProfile?: string | undefined;
3333
- };
3334
- };
3335
- } | {
3336
3324
  output: {
3337
3325
  name?: string;
3338
3326
  steps: {
@@ -3369,6 +3357,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3369
3357
  agentProfile?: string | undefined;
3370
3358
  };
3371
3359
  };
3360
+ } | {
3361
+ output: {
3362
+ error: string;
3363
+ };
3364
+ outputFormat: "json";
3365
+ status: 400 | 404 | 409;
3366
+ input: {
3367
+ json: {
3368
+ task: string;
3369
+ agentProfile?: string | undefined;
3370
+ };
3371
+ };
3372
3372
  };
3373
3373
  };
3374
3374
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -3393,7 +3393,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3393
3393
  error: string;
3394
3394
  };
3395
3395
  outputFormat: "json";
3396
- status: 409;
3396
+ status: 400;
3397
3397
  input: {
3398
3398
  json: {
3399
3399
  target: string;
@@ -3404,7 +3404,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3404
3404
  error: string;
3405
3405
  };
3406
3406
  outputFormat: "json";
3407
- status: 400;
3407
+ status: 409;
3408
3408
  input: {
3409
3409
  json: {
3410
3410
  target: string;
@@ -3471,42 +3471,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3471
3471
  "/ui-state": {
3472
3472
  $put: {
3473
3473
  output: {
3474
- [x: string]: import("hono/utils/types").JSONValue;
3475
- sidebarLimits?: {
3476
- overall?: number | null | undefined;
3477
- needsYou?: number | null | undefined;
3478
- finished?: number | null | undefined;
3479
- working?: number | null | undefined;
3480
- } | undefined;
3481
- lastTask?: {
3482
- source: "skill" | "workflow";
3483
- ref: string;
3484
- } | null | undefined;
3485
- recentSources?: {
3486
- source: "skill" | "workflow";
3487
- ref: string;
3488
- }[] | undefined;
3489
- lastWorktree?: boolean | undefined;
3490
- lastAutonomous?: boolean | undefined;
3491
- skillUsage?: {
3492
- [x: string]: number;
3493
- } | undefined;
3494
- runsView?: "list" | "table" | undefined;
3495
- githubView?: "issues" | "prs" | undefined;
3496
- appearance?: {
3497
- accent?: "cezarion" | "lime" | "violet" | undefined;
3498
- density?: "comfortable" | "compact" | "ultra" | undefined;
3499
- width?: "narrow" | "wide" | undefined;
3500
- } | undefined;
3501
- promptTemplates?: {
3502
- id: string;
3503
- label: string;
3504
- text: string;
3505
- skills?: string[] | undefined;
3506
- }[] | undefined;
3474
+ error: string;
3507
3475
  };
3508
3476
  outputFormat: "json";
3509
- status: import("hono/utils/http-status").ContentfulStatusCode;
3477
+ status: 500;
3510
3478
  input: {
3511
3479
  json: {
3512
3480
  [x: string]: unknown;
@@ -3544,10 +3512,42 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3544
3512
  };
3545
3513
  } | {
3546
3514
  output: {
3547
- error: string;
3515
+ [x: string]: import("hono/utils/types").JSONValue;
3516
+ sidebarLimits?: {
3517
+ overall?: number | null | undefined;
3518
+ needsYou?: number | null | undefined;
3519
+ finished?: number | null | undefined;
3520
+ working?: number | null | undefined;
3521
+ } | undefined;
3522
+ lastTask?: {
3523
+ source: "skill" | "workflow";
3524
+ ref: string;
3525
+ } | null | undefined;
3526
+ recentSources?: {
3527
+ source: "skill" | "workflow";
3528
+ ref: string;
3529
+ }[] | undefined;
3530
+ lastWorktree?: boolean | undefined;
3531
+ lastAutonomous?: boolean | undefined;
3532
+ skillUsage?: {
3533
+ [x: string]: number;
3534
+ } | undefined;
3535
+ runsView?: "list" | "table" | undefined;
3536
+ githubView?: "issues" | "prs" | undefined;
3537
+ appearance?: {
3538
+ accent?: "cezarion" | "lime" | "violet" | undefined;
3539
+ density?: "comfortable" | "compact" | "ultra" | undefined;
3540
+ width?: "narrow" | "wide" | undefined;
3541
+ } | undefined;
3542
+ promptTemplates?: {
3543
+ id: string;
3544
+ label: string;
3545
+ text: string;
3546
+ skills?: string[] | undefined;
3547
+ }[] | undefined;
3548
3548
  };
3549
3549
  outputFormat: "json";
3550
- status: 500;
3550
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3551
3551
  input: {
3552
3552
  json: {
3553
3553
  [x: string]: unknown;
@@ -3588,9 +3588,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3588
3588
  }, "/"> | import("hono/types").MergeSchemaPath<{
3589
3589
  "/runs/:id/events": {
3590
3590
  $get: {
3591
- output: {};
3592
- outputFormat: string;
3593
- status: import("hono/utils/http-status").StatusCode;
3591
+ output: {
3592
+ error: string;
3593
+ code?: "invalid_input" | undefined;
3594
+ };
3595
+ outputFormat: "json";
3596
+ status: 400;
3594
3597
  input: {
3595
3598
  param: {
3596
3599
  id: string;
@@ -3602,12 +3605,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3602
3605
  };
3603
3606
  };
3604
3607
  } | {
3605
- output: {
3606
- error: string;
3607
- code?: "invalid_input" | undefined;
3608
- };
3609
- outputFormat: "json";
3610
- status: 400;
3608
+ output: {};
3609
+ outputFormat: string;
3610
+ status: import("hono/utils/http-status").StatusCode;
3611
3611
  input: {
3612
3612
  param: {
3613
3613
  id: string;
@@ -3668,34 +3668,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3668
3668
  "/config": {
3669
3669
  $put: {
3670
3670
  output: {
3671
- archiveOnMerge: boolean | null;
3672
- effectiveArchiveOnMerge: boolean;
3673
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
3674
- baseBranch: string | null;
3675
- defaultRunner: string;
3676
- systemPrompt: string | null;
3677
- defaultModels: {
3678
- [x: string]: string | undefined;
3679
- };
3680
- modelsLocked: boolean;
3681
- maxParallel: number;
3682
- memoryLimitMb: number | null;
3683
- worktreeRetention: number;
3684
- liveTitleUpdates: boolean | null;
3685
- reviewGate: boolean | null;
3686
- worktreeSetup: {
3687
- commands: string[];
3688
- timeoutSeconds: number;
3689
- } | null;
3690
- worktreeSetupIssue: string | null;
3691
- worktreeTeardown: {
3692
- commands: string[];
3693
- timeoutSeconds: number;
3694
- } | null;
3695
- worktreeTeardownIssue: string | null;
3671
+ error: string;
3696
3672
  };
3697
3673
  outputFormat: "json";
3698
- status: import("hono/utils/http-status").ContentfulStatusCode;
3674
+ status: 409;
3699
3675
  input: {
3700
3676
  json: {
3701
3677
  archiveOnMerge?: boolean | null | undefined;
@@ -3723,7 +3699,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3723
3699
  error: string;
3724
3700
  };
3725
3701
  outputFormat: "json";
3726
- status: 409;
3702
+ status: 500;
3727
3703
  input: {
3728
3704
  json: {
3729
3705
  archiveOnMerge?: boolean | null | undefined;
@@ -3748,10 +3724,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3748
3724
  };
3749
3725
  } | {
3750
3726
  output: {
3751
- error: string;
3727
+ archiveOnMerge: boolean | null;
3728
+ effectiveArchiveOnMerge: boolean;
3729
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
3730
+ baseBranch: string | null;
3731
+ defaultRunner: string;
3732
+ systemPrompt: string | null;
3733
+ defaultModels: {
3734
+ [x: string]: string | undefined;
3735
+ };
3736
+ modelsLocked: boolean;
3737
+ maxParallel: number;
3738
+ memoryLimitMb: number | null;
3739
+ worktreeRetention: number;
3740
+ liveTitleUpdates: boolean | null;
3741
+ reviewGate: boolean | null;
3742
+ worktreeSetup: {
3743
+ commands: string[];
3744
+ timeoutSeconds: number;
3745
+ } | null;
3746
+ worktreeSetupIssue: string | null;
3747
+ worktreeTeardown: {
3748
+ commands: string[];
3749
+ timeoutSeconds: number;
3750
+ } | null;
3751
+ worktreeTeardownIssue: string | null;
3752
3752
  };
3753
3753
  outputFormat: "json";
3754
- status: 500;
3754
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3755
3755
  input: {
3756
3756
  json: {
3757
3757
  archiveOnMerge?: boolean | null | undefined;
@@ -3900,7 +3900,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3900
3900
  error: string;
3901
3901
  };
3902
3902
  outputFormat: "json";
3903
- status: 409;
3903
+ status: 400;
3904
3904
  input: {
3905
3905
  query: {
3906
3906
  q?: string | undefined;
@@ -3913,7 +3913,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3913
3913
  error: string;
3914
3914
  };
3915
3915
  outputFormat: "json";
3916
- status: 400;
3916
+ status: 409;
3917
3917
  input: {
3918
3918
  query: {
3919
3919
  q?: string | undefined;
@@ -4018,10 +4018,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4018
4018
  };
4019
4019
  } | {
4020
4020
  output: {
4021
- error: string;
4021
+ runId: string;
4022
+ worktreeReclaimedAt: string;
4022
4023
  };
4023
4024
  outputFormat: "json";
4024
- status: 404 | 409;
4025
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4025
4026
  input: {
4026
4027
  param: {
4027
4028
  runId: string;
@@ -4033,11 +4034,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4033
4034
  };
4034
4035
  } | {
4035
4036
  output: {
4036
- runId: string;
4037
- worktreeReclaimedAt: string;
4037
+ error: string;
4038
4038
  };
4039
4039
  outputFormat: "json";
4040
- status: import("hono/utils/http-status").ContentfulStatusCode;
4040
+ status: 404 | 409;
4041
4041
  input: {
4042
4042
  param: {
4043
4043
  runId: string;
@@ -4137,14 +4137,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4137
4137
  "/agent-config/:id": {
4138
4138
  $put: {
4139
4139
  output: {
4140
- id: string;
4141
- path: string;
4142
- exists: boolean;
4143
- content: string;
4144
- version: string | null;
4140
+ error: string;
4145
4141
  };
4146
4142
  outputFormat: "json";
4147
- status: import("hono/utils/http-status").ContentfulStatusCode;
4143
+ status: 404;
4148
4144
  input: {
4149
4145
  json: {
4150
4146
  content: string;
@@ -4157,10 +4153,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4157
4153
  };
4158
4154
  } | {
4159
4155
  output: {
4160
- error: string;
4156
+ id: string;
4157
+ path: string;
4158
+ exists: boolean;
4159
+ content: string;
4160
+ version: string | null;
4161
4161
  };
4162
4162
  outputFormat: "json";
4163
- status: 404;
4163
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4164
4164
  input: {
4165
4165
  json: {
4166
4166
  content: string;
@@ -4337,10 +4337,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4337
4337
  "/workflows": {
4338
4338
  $post: {
4339
4339
  output: {
4340
- error: string;
4340
+ path: string;
4341
+ name: string;
4341
4342
  };
4342
4343
  outputFormat: "json";
4343
- status: 400;
4344
+ status: 201;
4344
4345
  input: {
4345
4346
  json: {
4346
4347
  name: string;
@@ -4373,10 +4374,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4373
4374
  } | {
4374
4375
  output: {
4375
4376
  error: string;
4376
- exists: true;
4377
4377
  };
4378
4378
  outputFormat: "json";
4379
- status: 409;
4379
+ status: 400;
4380
4380
  input: {
4381
4381
  json: {
4382
4382
  name: string;
@@ -4409,9 +4409,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4409
4409
  } | {
4410
4410
  output: {
4411
4411
  error: string;
4412
+ exists: true;
4412
4413
  };
4413
4414
  outputFormat: "json";
4414
- status: 500;
4415
+ status: 409;
4415
4416
  input: {
4416
4417
  json: {
4417
4418
  name: string;
@@ -4443,11 +4444,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4443
4444
  };
4444
4445
  } | {
4445
4446
  output: {
4446
- path: string;
4447
- name: string;
4447
+ error: string;
4448
4448
  };
4449
4449
  outputFormat: "json";
4450
- status: 201;
4450
+ status: 500;
4451
4451
  input: {
4452
4452
  json: {
4453
4453
  name: string;
@@ -4483,10 +4483,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4483
4483
  "/workflows/:name": {
4484
4484
  $delete: {
4485
4485
  output: {
4486
- error: string;
4486
+ ok: true;
4487
+ path: string;
4487
4488
  };
4488
4489
  outputFormat: "json";
4489
- status: 400 | 404 | 409 | 500;
4490
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4490
4491
  input: {
4491
4492
  param: {
4492
4493
  name: string;
@@ -4494,11 +4495,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4494
4495
  };
4495
4496
  } | {
4496
4497
  output: {
4497
- ok: true;
4498
- path: string;
4498
+ error: string;
4499
4499
  };
4500
4500
  outputFormat: "json";
4501
- status: import("hono/utils/http-status").ContentfulStatusCode;
4501
+ status: 400 | 404 | 409 | 500;
4502
4502
  input: {
4503
4503
  param: {
4504
4504
  name: string;
@@ -4674,14 +4674,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4674
4674
  "/repo/branches/delete": {
4675
4675
  $post: {
4676
4676
  output: {
4677
- error: string;
4677
+ deleted: string[];
4678
4678
  refused: {
4679
4679
  name: string;
4680
4680
  reason: string;
4681
4681
  }[];
4682
+ dropped?: {
4683
+ sha: string;
4684
+ subject: string;
4685
+ }[] | undefined;
4682
4686
  };
4683
4687
  outputFormat: "json";
4684
- status: 409;
4688
+ status: 200;
4685
4689
  input: {
4686
4690
  json: {
4687
4691
  names: string[];
@@ -4690,18 +4694,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4690
4694
  };
4691
4695
  } | {
4692
4696
  output: {
4693
- deleted: string[];
4697
+ error: string;
4694
4698
  refused: {
4695
4699
  name: string;
4696
4700
  reason: string;
4697
4701
  }[];
4698
- dropped?: {
4699
- sha: string;
4700
- subject: string;
4701
- }[] | undefined;
4702
4702
  };
4703
4703
  outputFormat: "json";
4704
- status: 200;
4704
+ status: 409;
4705
4705
  input: {
4706
4706
  json: {
4707
4707
  names: string[];
@@ -4722,19 +4722,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4722
4722
  } & {
4723
4723
  "/repo/commit/:sha": {
4724
4724
  $get: {
4725
- output: string;
4726
- outputFormat: "text";
4727
- status: import("hono/utils/http-status").ContentfulStatusCode;
4728
- input: {
4729
- query: {
4730
- structured?: string | undefined;
4731
- };
4732
- } & {
4733
- param: {
4734
- sha: string;
4735
- };
4736
- };
4737
- } | {
4738
4725
  output: {
4739
4726
  error: string;
4740
4727
  code?: "invalid_input" | undefined;
@@ -4798,6 +4785,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4798
4785
  sha: string;
4799
4786
  };
4800
4787
  };
4788
+ } | {
4789
+ output: string;
4790
+ outputFormat: "text";
4791
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4792
+ input: {
4793
+ query: {
4794
+ structured?: string | undefined;
4795
+ };
4796
+ } & {
4797
+ param: {
4798
+ sha: string;
4799
+ };
4800
+ };
4801
4801
  };
4802
4802
  };
4803
4803
  } & {
@@ -4858,10 +4858,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4858
4858
  "/repo/pull": {
4859
4859
  $post: {
4860
4860
  output: {
4861
- error: string;
4861
+ branch: string;
4862
+ pulled: true;
4863
+ summary: string;
4862
4864
  };
4863
4865
  outputFormat: "json";
4864
- status: 409;
4866
+ status: 200;
4865
4867
  input: {
4866
4868
  json: {
4867
4869
  branch?: string | undefined;
@@ -4870,12 +4872,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4870
4872
  };
4871
4873
  } | {
4872
4874
  output: {
4873
- branch: string;
4874
- pulled: true;
4875
- summary: string;
4875
+ error: string;
4876
4876
  };
4877
4877
  outputFormat: "json";
4878
- status: 200;
4878
+ status: 409;
4879
4879
  input: {
4880
4880
  json: {
4881
4881
  branch?: string | undefined;
@@ -6825,6 +6825,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6825
6825
  } & {
6826
6826
  "/run-summaries": {
6827
6827
  $get: {
6828
+ output: {
6829
+ error: string;
6830
+ code?: "invalid_input" | undefined;
6831
+ };
6832
+ outputFormat: "json";
6833
+ status: 400;
6834
+ input: {
6835
+ query: {
6836
+ archived?: "all" | "recent" | undefined;
6837
+ };
6838
+ };
6839
+ } | {
6828
6840
  output: {
6829
6841
  id: string;
6830
6842
  title: string;
@@ -6962,18 +6974,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6962
6974
  archived?: "all" | "recent" | undefined;
6963
6975
  };
6964
6976
  };
6965
- } | {
6966
- output: {
6967
- error: string;
6968
- code?: "invalid_input" | undefined;
6969
- };
6970
- outputFormat: "json";
6971
- status: 400;
6972
- input: {
6973
- query: {
6974
- archived?: "all" | "recent" | undefined;
6975
- };
6976
- };
6977
6977
  };
6978
6978
  };
6979
6979
  } & {
@@ -7335,11 +7335,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7335
7335
  "/runs/:id/worker-destroy": {
7336
7336
  $post: {
7337
7337
  output: {
7338
- error: string;
7339
- code?: "invalid_input" | undefined;
7338
+ workerId: string;
7339
+ state: "complete" | "incomplete";
7340
+ work?: {
7341
+ uncommittedFiles: number;
7342
+ commits: number;
7343
+ } | undefined;
7344
+ deleted?: ({
7345
+ kind: "worktree";
7346
+ path: string;
7347
+ } | {
7348
+ kind: "branch";
7349
+ ref: string;
7350
+ })[] | undefined;
7351
+ remaining: ("branch" | "process" | "worktree")[];
7352
+ error?: string | undefined;
7340
7353
  };
7341
7354
  outputFormat: "json";
7342
- status: 400;
7355
+ status: 200;
7343
7356
  input: {
7344
7357
  query: {
7345
7358
  [x: string]: string | string[];
@@ -7355,24 +7368,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7355
7368
  };
7356
7369
  } | {
7357
7370
  output: {
7358
- workerId: string;
7359
- state: "complete" | "incomplete";
7360
- work?: {
7361
- uncommittedFiles: number;
7362
- commits: number;
7363
- } | undefined;
7364
- deleted?: ({
7365
- kind: "worktree";
7366
- path: string;
7367
- } | {
7368
- kind: "branch";
7369
- ref: string;
7370
- })[] | undefined;
7371
- remaining: ("branch" | "process" | "worktree")[];
7372
- error?: string | undefined;
7371
+ error: string;
7372
+ code?: "invalid_input" | undefined;
7373
7373
  };
7374
7374
  outputFormat: "json";
7375
- status: 200;
7375
+ status: 400;
7376
7376
  input: {
7377
7377
  query: {
7378
7378
  [x: string]: string | string[];
@@ -7488,6 +7488,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7488
7488
  } & {
7489
7489
  "/runs/:id/archive": {
7490
7490
  $post: {
7491
+ output: {
7492
+ error: string;
7493
+ };
7494
+ outputFormat: "json";
7495
+ status: 404;
7496
+ input: {
7497
+ json: {
7498
+ archived?: boolean | undefined;
7499
+ };
7500
+ } & {
7501
+ param: {
7502
+ id: string;
7503
+ };
7504
+ };
7505
+ } | {
7491
7506
  output: {
7492
7507
  archiveWhenDone?: boolean | undefined;
7493
7508
  autoMergePr?: boolean | undefined;
@@ -8667,32 +8682,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8667
8682
  id: string;
8668
8683
  };
8669
8684
  };
8670
- } | {
8685
+ };
8686
+ };
8687
+ } & {
8688
+ "/runs/:id/pin": {
8689
+ $post: {
8671
8690
  output: {
8672
8691
  error: string;
8692
+ code?: "invalid_input" | undefined;
8673
8693
  };
8674
8694
  outputFormat: "json";
8675
- status: 404;
8695
+ status: 400;
8676
8696
  input: {
8677
- json: {
8678
- archived?: boolean | undefined;
8679
- };
8680
- } & {
8681
8697
  param: {
8682
8698
  id: string;
8683
8699
  };
8700
+ } & {
8701
+ json: {
8702
+ pinned?: boolean | undefined;
8703
+ };
8684
8704
  };
8685
- };
8686
- };
8687
- } & {
8688
- "/runs/:id/pin": {
8689
- $post: {
8705
+ } | {
8690
8706
  output: {
8691
8707
  error: string;
8692
- code?: "invalid_input" | undefined;
8693
8708
  };
8694
8709
  outputFormat: "json";
8695
- status: 400;
8710
+ status: 404;
8696
8711
  input: {
8697
8712
  param: {
8698
8713
  id: string;
@@ -9882,21 +9897,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9882
9897
  pinned?: boolean | undefined;
9883
9898
  };
9884
9899
  };
9885
- } | {
9886
- output: {
9887
- error: string;
9888
- };
9889
- outputFormat: "json";
9890
- status: 404;
9891
- input: {
9892
- param: {
9893
- id: string;
9894
- };
9895
- } & {
9896
- json: {
9897
- pinned?: boolean | undefined;
9898
- };
9899
- };
9900
9900
  };
9901
9901
  };
9902
9902
  } & {
@@ -9923,7 +9923,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9923
9923
  error: string;
9924
9924
  };
9925
9925
  outputFormat: "json";
9926
- status: 404;
9926
+ status: 400;
9927
9927
  input: {
9928
9928
  param: {
9929
9929
  id: string;
@@ -9939,7 +9939,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9939
9939
  error: string;
9940
9940
  };
9941
9941
  outputFormat: "json";
9942
- status: 400;
9942
+ status: 404;
9943
9943
  input: {
9944
9944
  param: {
9945
9945
  id: string;
@@ -11162,6 +11162,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11162
11162
  } & {
11163
11163
  "/runs/:id/read": {
11164
11164
  $post: {
11165
+ output: {
11166
+ error: string;
11167
+ };
11168
+ outputFormat: "json";
11169
+ status: 404;
11170
+ input: {
11171
+ param: {
11172
+ id: string;
11173
+ };
11174
+ };
11175
+ } | {
11165
11176
  output: {
11166
11177
  archiveWhenDone?: boolean | undefined;
11167
11178
  autoMergePr?: boolean | undefined;
@@ -12337,7 +12348,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12337
12348
  id: string;
12338
12349
  };
12339
12350
  };
12340
- } | {
12351
+ };
12352
+ };
12353
+ } & {
12354
+ "/runs/:id/unread": {
12355
+ $post: {
12341
12356
  output: {
12342
12357
  error: string;
12343
12358
  };
@@ -12348,11 +12363,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12348
12363
  id: string;
12349
12364
  };
12350
12365
  };
12351
- };
12352
- };
12353
- } & {
12354
- "/runs/:id/unread": {
12355
- $post: {
12366
+ } | {
12356
12367
  output: {
12357
12368
  archiveWhenDone?: boolean | undefined;
12358
12369
  autoMergePr?: boolean | undefined;
@@ -13528,17 +13539,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13528
13539
  id: string;
13529
13540
  };
13530
13541
  };
13531
- } | {
13532
- output: {
13533
- error: string;
13534
- };
13535
- outputFormat: "json";
13536
- status: 404;
13537
- input: {
13538
- param: {
13539
- id: string;
13540
- };
13541
- };
13542
13542
  };
13543
13543
  };
13544
13544
  } & {
@@ -14815,6 +14815,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14815
14815
  } & {
14816
14816
  "/runs/:id": {
14817
14817
  $get: {
14818
+ output: {
14819
+ error: string;
14820
+ };
14821
+ outputFormat: "json";
14822
+ status: 404;
14823
+ input: {
14824
+ param: {
14825
+ id: string;
14826
+ };
14827
+ };
14828
+ } | {
14818
14829
  output: {
14819
14830
  archiveWhenDone?: boolean | undefined;
14820
14831
  autoMergePr?: boolean | undefined;
@@ -15998,17 +16009,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15998
16009
  id: string;
15999
16010
  };
16000
16011
  };
16001
- } | {
16002
- output: {
16003
- error: string;
16004
- };
16005
- outputFormat: "json";
16006
- status: 404;
16007
- input: {
16008
- param: {
16009
- id: string;
16010
- };
16011
- };
16012
16012
  };
16013
16013
  };
16014
16014
  } & {
@@ -16136,6 +16136,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16136
16136
  } & {
16137
16137
  "/runs/:id": {
16138
16138
  $patch: {
16139
+ output: {
16140
+ error: string;
16141
+ };
16142
+ outputFormat: "json";
16143
+ status: 400;
16144
+ input: {
16145
+ json: {
16146
+ archiveWhenDone?: boolean | undefined;
16147
+ autoMergePr?: boolean | undefined;
16148
+ allowWorkers?: boolean | undefined;
16149
+ allowMessaging?: boolean | undefined;
16150
+ title?: string | undefined;
16151
+ task?: string | undefined;
16152
+ };
16153
+ } & {
16154
+ param: {
16155
+ id: string;
16156
+ };
16157
+ };
16158
+ } | {
16159
+ output: {
16160
+ error: string;
16161
+ };
16162
+ outputFormat: "json";
16163
+ status: 404;
16164
+ input: {
16165
+ json: {
16166
+ archiveWhenDone?: boolean | undefined;
16167
+ autoMergePr?: boolean | undefined;
16168
+ allowWorkers?: boolean | undefined;
16169
+ allowMessaging?: boolean | undefined;
16170
+ title?: string | undefined;
16171
+ task?: string | undefined;
16172
+ };
16173
+ } & {
16174
+ param: {
16175
+ id: string;
16176
+ };
16177
+ };
16178
+ } | {
16179
+ output: {
16180
+ error: string;
16181
+ };
16182
+ outputFormat: "json";
16183
+ status: 409;
16184
+ input: {
16185
+ json: {
16186
+ archiveWhenDone?: boolean | undefined;
16187
+ autoMergePr?: boolean | undefined;
16188
+ allowWorkers?: boolean | undefined;
16189
+ allowMessaging?: boolean | undefined;
16190
+ title?: string | undefined;
16191
+ task?: string | undefined;
16192
+ };
16193
+ } & {
16194
+ param: {
16195
+ id: string;
16196
+ };
16197
+ };
16198
+ } | {
16139
16199
  output: {
16140
16200
  archiveWhenDone?: boolean | undefined;
16141
16201
  autoMergePr?: boolean | undefined;
@@ -17320,66 +17380,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17320
17380
  id: string;
17321
17381
  };
17322
17382
  };
17323
- } | {
17324
- output: {
17325
- error: string;
17326
- };
17327
- outputFormat: "json";
17328
- status: 404;
17329
- input: {
17330
- json: {
17331
- archiveWhenDone?: boolean | undefined;
17332
- autoMergePr?: boolean | undefined;
17333
- allowWorkers?: boolean | undefined;
17334
- allowMessaging?: boolean | undefined;
17335
- title?: string | undefined;
17336
- task?: string | undefined;
17337
- };
17338
- } & {
17339
- param: {
17340
- id: string;
17341
- };
17342
- };
17343
- } | {
17344
- output: {
17345
- error: string;
17346
- };
17347
- outputFormat: "json";
17348
- status: 400;
17349
- input: {
17350
- json: {
17351
- archiveWhenDone?: boolean | undefined;
17352
- autoMergePr?: boolean | undefined;
17353
- allowWorkers?: boolean | undefined;
17354
- allowMessaging?: boolean | undefined;
17355
- title?: string | undefined;
17356
- task?: string | undefined;
17357
- };
17358
- } & {
17359
- param: {
17360
- id: string;
17361
- };
17362
- };
17363
- } | {
17364
- output: {
17365
- error: string;
17366
- };
17367
- outputFormat: "json";
17368
- status: 409;
17369
- input: {
17370
- json: {
17371
- archiveWhenDone?: boolean | undefined;
17372
- autoMergePr?: boolean | undefined;
17373
- allowWorkers?: boolean | undefined;
17374
- allowMessaging?: boolean | undefined;
17375
- title?: string | undefined;
17376
- task?: string | undefined;
17377
- };
17378
- } & {
17379
- param: {
17380
- id: string;
17381
- };
17382
- };
17383
17383
  };
17384
17384
  };
17385
17385
  } & {
@@ -17484,7 +17484,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17484
17484
  error: string;
17485
17485
  };
17486
17486
  outputFormat: "json";
17487
- status: 404;
17487
+ status: 400;
17488
17488
  input: {
17489
17489
  json: {
17490
17490
  text?: string | undefined;
@@ -17503,7 +17503,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17503
17503
  error: string;
17504
17504
  };
17505
17505
  outputFormat: "json";
17506
- status: 409;
17506
+ status: 404;
17507
17507
  input: {
17508
17508
  json: {
17509
17509
  text?: string | undefined;
@@ -17519,10 +17519,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17519
17519
  };
17520
17520
  } | {
17521
17521
  output: {
17522
- delivered: true;
17522
+ error: string;
17523
17523
  };
17524
17524
  outputFormat: "json";
17525
- status: import("hono/utils/http-status").ContentfulStatusCode;
17525
+ status: 409;
17526
17526
  input: {
17527
17527
  json: {
17528
17528
  text?: string | undefined;
@@ -17538,10 +17538,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17538
17538
  };
17539
17539
  } | {
17540
17540
  output: {
17541
- error: string;
17541
+ delivered: true;
17542
17542
  };
17543
17543
  outputFormat: "json";
17544
- status: 400;
17544
+ status: import("hono/utils/http-status").ContentfulStatusCode;
17545
17545
  input: {
17546
17546
  json: {
17547
17547
  text?: string | undefined;
@@ -17609,7 +17609,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17609
17609
  error: string;
17610
17610
  };
17611
17611
  outputFormat: "json";
17612
- status: 404;
17612
+ status: 400;
17613
17613
  input: {
17614
17614
  json: {
17615
17615
  text?: string | undefined;
@@ -17630,7 +17630,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17630
17630
  error: string;
17631
17631
  };
17632
17632
  outputFormat: "json";
17633
- status: 400;
17633
+ status: 404;
17634
17634
  input: {
17635
17635
  json: {
17636
17636
  text?: string | undefined;
@@ -17850,10 +17850,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17850
17850
  "/runs/:id/open-in-cli": {
17851
17851
  $post: {
17852
17852
  output: {
17853
- error: string;
17853
+ opened: true;
17854
+ command: string;
17854
17855
  };
17855
17856
  outputFormat: "json";
17856
- status: 404 | 409;
17857
+ status: import("hono/utils/http-status").ContentfulStatusCode;
17857
17858
  input: {
17858
17859
  param: {
17859
17860
  id: string;
@@ -17861,11 +17862,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17861
17862
  };
17862
17863
  } | {
17863
17864
  output: {
17864
- opened: true;
17865
- command: string;
17865
+ error: string;
17866
17866
  };
17867
17867
  outputFormat: "json";
17868
- status: import("hono/utils/http-status").ContentfulStatusCode;
17868
+ status: 404 | 409;
17869
17869
  input: {
17870
17870
  param: {
17871
17871
  id: string;
@@ -17880,7 +17880,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17880
17880
  error: string;
17881
17881
  };
17882
17882
  outputFormat: "json";
17883
- status: 404 | 409;
17883
+ status: 400;
17884
17884
  input: {
17885
17885
  json: {
17886
17886
  target: string;
@@ -17893,10 +17893,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17893
17893
  };
17894
17894
  } | {
17895
17895
  output: {
17896
- error: string;
17896
+ opened: true;
17897
+ path: string;
17897
17898
  };
17898
17899
  outputFormat: "json";
17899
- status: 400;
17900
+ status: import("hono/utils/http-status").ContentfulStatusCode;
17900
17901
  input: {
17901
17902
  json: {
17902
17903
  target: string;
@@ -17909,11 +17910,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17909
17910
  };
17910
17911
  } | {
17911
17912
  output: {
17912
- opened: true;
17913
- path: string;
17913
+ error: string;
17914
17914
  };
17915
17915
  outputFormat: "json";
17916
- status: import("hono/utils/http-status").ContentfulStatusCode;
17916
+ status: 404 | 409;
17917
17917
  input: {
17918
17918
  json: {
17919
17919
  target: string;
@@ -17953,9 +17953,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17953
17953
  } & {
17954
17954
  "/runs/:id/images/:file": {
17955
17955
  $get: {
17956
- output: {};
17957
- outputFormat: string;
17958
- status: import("hono/utils/http-status").StatusCode;
17956
+ output: {
17957
+ error: string;
17958
+ code?: "invalid_input" | undefined;
17959
+ };
17960
+ outputFormat: "json";
17961
+ status: 400;
17959
17962
  input: {
17960
17963
  param: {
17961
17964
  id: string;
@@ -17963,12 +17966,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17963
17966
  };
17964
17967
  };
17965
17968
  } | {
17966
- output: {
17967
- error: string;
17968
- code?: "invalid_input" | undefined;
17969
- };
17970
- outputFormat: "json";
17971
- status: 400;
17969
+ output: {};
17970
+ outputFormat: string;
17971
+ status: import("hono/utils/http-status").StatusCode;
17972
17972
  input: {
17973
17973
  param: {
17974
17974
  id: string;
@@ -18004,17 +18004,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18004
18004
  } & {
18005
18005
  "/runs/:id/changes": {
18006
18006
  $get: {
18007
- output: {
18008
- error: string;
18009
- };
18010
- outputFormat: "json";
18011
- status: 404 | 409;
18012
- input: {
18013
- param: {
18014
- id: string;
18015
- };
18016
- };
18017
- } | {
18018
18007
  output: {
18019
18008
  files: {
18020
18009
  path: string;
@@ -18043,11 +18032,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18043
18032
  id: string;
18044
18033
  };
18045
18034
  };
18046
- };
18047
- };
18048
- } & {
18049
- "/runs/:id/commits": {
18050
- $get: {
18035
+ } | {
18051
18036
  output: {
18052
18037
  error: string;
18053
18038
  };
@@ -18058,7 +18043,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18058
18043
  id: string;
18059
18044
  };
18060
18045
  };
18061
- } | {
18046
+ };
18047
+ };
18048
+ } & {
18049
+ "/runs/:id/commits": {
18050
+ $get: {
18062
18051
  output: {
18063
18052
  commits: {
18064
18053
  sha: string;
@@ -18074,11 +18063,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18074
18063
  id: string;
18075
18064
  };
18076
18065
  };
18077
- };
18078
- };
18079
- } & {
18080
- "/runs/:id/commit/:sha": {
18081
- $get: {
18066
+ } | {
18082
18067
  output: {
18083
18068
  error: string;
18084
18069
  };
@@ -18086,12 +18071,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18086
18071
  status: 404 | 409;
18087
18072
  input: {
18088
18073
  param: {
18089
- sha: string;
18090
- } & {
18091
18074
  id: string;
18092
18075
  };
18093
18076
  };
18094
- } | {
18077
+ };
18078
+ };
18079
+ } & {
18080
+ "/runs/:id/commit/:sha": {
18081
+ $get: {
18095
18082
  output: {
18096
18083
  sha: string;
18097
18084
  subject: string;
@@ -18117,9 +18104,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18117
18104
  status: import("hono/utils/http-status").ContentfulStatusCode;
18118
18105
  input: {
18119
18106
  param: {
18120
- sha: string;
18107
+ id: string;
18121
18108
  } & {
18109
+ sha: string;
18110
+ };
18111
+ };
18112
+ } | {
18113
+ output: {
18114
+ error: string;
18115
+ };
18116
+ outputFormat: "json";
18117
+ status: 404 | 409;
18118
+ input: {
18119
+ param: {
18122
18120
  id: string;
18121
+ } & {
18122
+ sha: string;
18123
18123
  };
18124
18124
  };
18125
18125
  };
@@ -18157,22 +18157,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18157
18157
  raw?: "1" | undefined;
18158
18158
  };
18159
18159
  };
18160
- } | {
18161
- output: {
18162
- error: string;
18163
- };
18164
- outputFormat: "json";
18165
- status: 404 | 409;
18166
- input: {
18167
- param: {
18168
- id: string;
18169
- };
18170
- } & {
18171
- query: {
18172
- path: string | string[];
18173
- raw?: "1" | undefined;
18174
- };
18175
- };
18176
18160
  } | {
18177
18161
  output: {
18178
18162
  type: "file";
@@ -18209,6 +18193,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18209
18193
  raw?: "1" | undefined;
18210
18194
  };
18211
18195
  };
18196
+ } | {
18197
+ output: {
18198
+ error: string;
18199
+ };
18200
+ outputFormat: "json";
18201
+ status: 404 | 409;
18202
+ input: {
18203
+ param: {
18204
+ id: string;
18205
+ };
18206
+ } & {
18207
+ query: {
18208
+ path: string | string[];
18209
+ raw?: "1" | undefined;
18210
+ };
18211
+ };
18212
18212
  };
18213
18213
  };
18214
18214
  } & {
@@ -18273,6 +18273,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18273
18273
  artifactId: string;
18274
18274
  };
18275
18275
  };
18276
+ } | {
18277
+ output: {
18278
+ error: string;
18279
+ };
18280
+ outputFormat: "json";
18281
+ status: 404;
18282
+ input: {
18283
+ param: {
18284
+ id: string;
18285
+ artifactId: string;
18286
+ };
18287
+ };
18276
18288
  } | {
18277
18289
  output: {
18278
18290
  type: "file";
@@ -18301,6 +18313,23 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18301
18313
  artifactId: string;
18302
18314
  };
18303
18315
  };
18316
+ };
18317
+ };
18318
+ } & {
18319
+ "/runs/:id/artifacts/:artifactId/metadata": {
18320
+ $get: {
18321
+ output: {
18322
+ error: string;
18323
+ code?: "invalid_input" | undefined;
18324
+ };
18325
+ outputFormat: "json";
18326
+ status: 400;
18327
+ input: {
18328
+ param: {
18329
+ id: string;
18330
+ artifactId: string;
18331
+ };
18332
+ };
18304
18333
  } | {
18305
18334
  output: {
18306
18335
  error: string;
@@ -18313,71 +18342,42 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18313
18342
  artifactId: string;
18314
18343
  };
18315
18344
  };
18345
+ } | {
18346
+ output: {
18347
+ artifact: {
18348
+ id: string;
18349
+ runId: string;
18350
+ name: string;
18351
+ title?: string | undefined;
18352
+ sourcePath: string;
18353
+ createdAt: string;
18354
+ size: number;
18355
+ sha256: string;
18356
+ };
18357
+ };
18358
+ outputFormat: "json";
18359
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18360
+ input: {
18361
+ param: {
18362
+ id: string;
18363
+ artifactId: string;
18364
+ };
18365
+ };
18316
18366
  };
18317
18367
  };
18318
18368
  } & {
18319
- "/runs/:id/artifacts/:artifactId/metadata": {
18369
+ "/runs/:id/artifacts/:artifactId/download": {
18320
18370
  $get: {
18321
- output: {
18322
- error: string;
18323
- code?: "invalid_input" | undefined;
18324
- };
18325
- outputFormat: "json";
18326
- status: 400;
18327
- input: {
18328
- param: {
18329
- id: string;
18330
- artifactId: string;
18331
- };
18332
- };
18333
- } | {
18334
- output: {
18335
- error: string;
18336
- };
18337
- outputFormat: "json";
18338
- status: 404;
18339
- input: {
18340
- param: {
18341
- id: string;
18342
- artifactId: string;
18343
- };
18344
- };
18345
- } | {
18346
- output: {
18347
- artifact: {
18348
- id: string;
18349
- runId: string;
18350
- name: string;
18351
- title?: string | undefined;
18352
- sourcePath: string;
18353
- createdAt: string;
18354
- size: number;
18355
- sha256: string;
18356
- };
18357
- };
18358
- outputFormat: "json";
18359
- status: import("hono/utils/http-status").ContentfulStatusCode;
18360
- input: {
18361
- param: {
18362
- id: string;
18363
- artifactId: string;
18364
- };
18365
- };
18366
- };
18367
- };
18368
- } & {
18369
- "/runs/:id/artifacts/:artifactId/download": {
18370
- $get: {
18371
- output: ArrayBuffer;
18372
- outputFormat: "body";
18373
- status: 200;
18374
- input: {
18375
- param: {
18376
- id: string;
18377
- artifactId: string;
18378
- };
18379
- };
18380
- } | {
18371
+ output: ArrayBuffer;
18372
+ outputFormat: "body";
18373
+ status: 200;
18374
+ input: {
18375
+ param: {
18376
+ id: string;
18377
+ artifactId: string;
18378
+ };
18379
+ };
18380
+ } | {
18381
18381
  output: {
18382
18382
  error: string;
18383
18383
  code?: "invalid_input" | undefined;
@@ -18490,10 +18490,16 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18490
18490
  };
18491
18491
  } | {
18492
18492
  output: {
18493
- error: string;
18493
+ type: 'dir';
18494
+ path: string;
18495
+ entries: {
18496
+ name: string;
18497
+ type: 'dir' | 'file';
18498
+ size?: number;
18499
+ }[];
18494
18500
  };
18495
18501
  outputFormat: "json";
18496
- status: 404 | 409;
18502
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18497
18503
  input: {
18498
18504
  query: {
18499
18505
  path?: string | undefined;
@@ -18506,13 +18512,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18506
18512
  };
18507
18513
  } | {
18508
18514
  output: {
18509
- type: 'dir';
18515
+ type: 'file';
18510
18516
  path: string;
18511
- entries: {
18512
- name: string;
18513
- type: 'dir' | 'file';
18514
- size?: number;
18515
- }[];
18517
+ size: number;
18518
+ binary: boolean;
18519
+ tooLarge: boolean;
18520
+ content?: string | undefined;
18516
18521
  };
18517
18522
  outputFormat: "json";
18518
18523
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -18528,15 +18533,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18528
18533
  };
18529
18534
  } | {
18530
18535
  output: {
18531
- type: 'file';
18532
- path: string;
18533
- size: number;
18534
- binary: boolean;
18535
- tooLarge: boolean;
18536
- content?: string | undefined;
18536
+ error: string;
18537
18537
  };
18538
18538
  outputFormat: "json";
18539
- status: import("hono/utils/http-status").ContentfulStatusCode;
18539
+ status: 404 | 409;
18540
18540
  input: {
18541
18541
  query: {
18542
18542
  path?: string | undefined;
@@ -18553,10 +18553,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18553
18553
  "/runs/:id/git/commit": {
18554
18554
  $post: {
18555
18555
  output: {
18556
- error: string;
18556
+ committed: true;
18557
+ sha: string;
18557
18558
  };
18558
18559
  outputFormat: "json";
18559
- status: 404 | 409;
18560
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18560
18561
  input: {
18561
18562
  json: {
18562
18563
  message: string;
@@ -18568,11 +18569,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18568
18569
  };
18569
18570
  } | {
18570
18571
  output: {
18571
- committed: true;
18572
- sha: string;
18572
+ error: string;
18573
18573
  };
18574
18574
  outputFormat: "json";
18575
- status: import("hono/utils/http-status").ContentfulStatusCode;
18575
+ status: 404 | 409;
18576
18576
  input: {
18577
18577
  json: {
18578
18578
  message: string;
@@ -18588,10 +18588,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18588
18588
  "/runs/:id/git/push": {
18589
18589
  $post: {
18590
18590
  output: {
18591
- error: string;
18591
+ pushed: true;
18592
+ branch: string;
18593
+ remote: string;
18594
+ upstreamSet: boolean;
18592
18595
  };
18593
18596
  outputFormat: "json";
18594
- status: 404 | 409;
18597
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18595
18598
  input: {
18596
18599
  param: {
18597
18600
  id: string;
@@ -18599,13 +18602,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18599
18602
  };
18600
18603
  } | {
18601
18604
  output: {
18602
- pushed: true;
18603
- branch: string;
18604
- remote: string;
18605
- upstreamSet: boolean;
18605
+ error: string;
18606
18606
  };
18607
18607
  outputFormat: "json";
18608
- status: import("hono/utils/http-status").ContentfulStatusCode;
18608
+ status: 404 | 409;
18609
18609
  input: {
18610
18610
  param: {
18611
18611
  id: string;
@@ -18617,10 +18617,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18617
18617
  "/runs/:id/pr": {
18618
18618
  $post: {
18619
18619
  output: {
18620
- error: string;
18620
+ url: string;
18621
+ dryRun: boolean;
18621
18622
  };
18622
18623
  outputFormat: "json";
18623
- status: 404 | 409;
18624
+ status: 201;
18624
18625
  input: {
18625
18626
  param: {
18626
18627
  id: string;
@@ -18628,11 +18629,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18628
18629
  };
18629
18630
  } | {
18630
18631
  output: {
18631
- url: string;
18632
- dryRun: boolean;
18632
+ error: string;
18633
18633
  };
18634
18634
  outputFormat: "json";
18635
- status: 201;
18635
+ status: 404 | 409;
18636
18636
  input: {
18637
18637
  param: {
18638
18638
  id: string;
@@ -18644,10 +18644,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18644
18644
  "/runs/:id/remove-worktree": {
18645
18645
  $post: {
18646
18646
  output: {
18647
- error: string;
18647
+ removed: true;
18648
18648
  };
18649
18649
  outputFormat: "json";
18650
- status: 404 | 409;
18650
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18651
18651
  input: {
18652
18652
  param: {
18653
18653
  id: string;
@@ -18655,10 +18655,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18655
18655
  };
18656
18656
  } | {
18657
18657
  output: {
18658
- removed: true;
18658
+ error: string;
18659
18659
  };
18660
18660
  outputFormat: "json";
18661
- status: import("hono/utils/http-status").ContentfulStatusCode;
18661
+ status: 404 | 409;
18662
18662
  input: {
18663
18663
  param: {
18664
18664
  id: string;
@@ -18670,10 +18670,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18670
18670
  "/runs/:id": {
18671
18671
  $delete: {
18672
18672
  output: {
18673
- error: string;
18673
+ deleted: true;
18674
18674
  };
18675
18675
  outputFormat: "json";
18676
- status: 404 | 409;
18676
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18677
18677
  input: {
18678
18678
  param: {
18679
18679
  id: string;
@@ -18681,10 +18681,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18681
18681
  };
18682
18682
  } | {
18683
18683
  output: {
18684
- deleted: true;
18684
+ error: string;
18685
18685
  };
18686
18686
  outputFormat: "json";
18687
- status: import("hono/utils/http-status").ContentfulStatusCode;
18687
+ status: 404 | 409;
18688
18688
  input: {
18689
18689
  param: {
18690
18690
  id: string;
@@ -18753,18 +18753,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18753
18753
  }, "/"> | import("hono/types").MergeSchemaPath<{
18754
18754
  "/plan": {
18755
18755
  $post: {
18756
- output: {
18757
- error: string;
18758
- };
18759
- outputFormat: "json";
18760
- status: 400 | 404 | 409;
18761
- input: {
18762
- json: {
18763
- task: string;
18764
- agentProfile?: string | undefined;
18765
- };
18766
- };
18767
- } | {
18768
18756
  output: {
18769
18757
  name?: string;
18770
18758
  steps: {
@@ -18801,6 +18789,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18801
18789
  agentProfile?: string | undefined;
18802
18790
  };
18803
18791
  };
18792
+ } | {
18793
+ output: {
18794
+ error: string;
18795
+ };
18796
+ outputFormat: "json";
18797
+ status: 400 | 404 | 409;
18798
+ input: {
18799
+ json: {
18800
+ task: string;
18801
+ agentProfile?: string | undefined;
18802
+ };
18803
+ };
18804
18804
  };
18805
18805
  };
18806
18806
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -18825,7 +18825,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18825
18825
  error: string;
18826
18826
  };
18827
18827
  outputFormat: "json";
18828
- status: 409;
18828
+ status: 400;
18829
18829
  input: {
18830
18830
  json: {
18831
18831
  target: string;
@@ -18836,7 +18836,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18836
18836
  error: string;
18837
18837
  };
18838
18838
  outputFormat: "json";
18839
- status: 400;
18839
+ status: 409;
18840
18840
  input: {
18841
18841
  json: {
18842
18842
  target: string;
@@ -18903,42 +18903,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18903
18903
  "/ui-state": {
18904
18904
  $put: {
18905
18905
  output: {
18906
- [x: string]: import("hono/utils/types").JSONValue;
18907
- sidebarLimits?: {
18908
- overall?: number | null | undefined;
18909
- needsYou?: number | null | undefined;
18910
- finished?: number | null | undefined;
18911
- working?: number | null | undefined;
18912
- } | undefined;
18913
- lastTask?: {
18914
- source: "skill" | "workflow";
18915
- ref: string;
18916
- } | null | undefined;
18917
- recentSources?: {
18918
- source: "skill" | "workflow";
18919
- ref: string;
18920
- }[] | undefined;
18921
- lastWorktree?: boolean | undefined;
18922
- lastAutonomous?: boolean | undefined;
18923
- skillUsage?: {
18924
- [x: string]: number;
18925
- } | undefined;
18926
- runsView?: "list" | "table" | undefined;
18927
- githubView?: "issues" | "prs" | undefined;
18928
- appearance?: {
18929
- accent?: "cezarion" | "lime" | "violet" | undefined;
18930
- density?: "comfortable" | "compact" | "ultra" | undefined;
18931
- width?: "narrow" | "wide" | undefined;
18932
- } | undefined;
18933
- promptTemplates?: {
18934
- id: string;
18935
- label: string;
18936
- text: string;
18937
- skills?: string[] | undefined;
18938
- }[] | undefined;
18906
+ error: string;
18939
18907
  };
18940
18908
  outputFormat: "json";
18941
- status: import("hono/utils/http-status").ContentfulStatusCode;
18909
+ status: 500;
18942
18910
  input: {
18943
18911
  json: {
18944
18912
  [x: string]: unknown;
@@ -18976,10 +18944,42 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18976
18944
  };
18977
18945
  } | {
18978
18946
  output: {
18979
- error: string;
18947
+ [x: string]: import("hono/utils/types").JSONValue;
18948
+ sidebarLimits?: {
18949
+ overall?: number | null | undefined;
18950
+ needsYou?: number | null | undefined;
18951
+ finished?: number | null | undefined;
18952
+ working?: number | null | undefined;
18953
+ } | undefined;
18954
+ lastTask?: {
18955
+ source: "skill" | "workflow";
18956
+ ref: string;
18957
+ } | null | undefined;
18958
+ recentSources?: {
18959
+ source: "skill" | "workflow";
18960
+ ref: string;
18961
+ }[] | undefined;
18962
+ lastWorktree?: boolean | undefined;
18963
+ lastAutonomous?: boolean | undefined;
18964
+ skillUsage?: {
18965
+ [x: string]: number;
18966
+ } | undefined;
18967
+ runsView?: "list" | "table" | undefined;
18968
+ githubView?: "issues" | "prs" | undefined;
18969
+ appearance?: {
18970
+ accent?: "cezarion" | "lime" | "violet" | undefined;
18971
+ density?: "comfortable" | "compact" | "ultra" | undefined;
18972
+ width?: "narrow" | "wide" | undefined;
18973
+ } | undefined;
18974
+ promptTemplates?: {
18975
+ id: string;
18976
+ label: string;
18977
+ text: string;
18978
+ skills?: string[] | undefined;
18979
+ }[] | undefined;
18980
18980
  };
18981
18981
  outputFormat: "json";
18982
- status: 500;
18982
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18983
18983
  input: {
18984
18984
  json: {
18985
18985
  [x: string]: unknown;
@@ -19020,9 +19020,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19020
19020
  }, "/"> | import("hono/types").MergeSchemaPath<{
19021
19021
  "/runs/:id/events": {
19022
19022
  $get: {
19023
- output: {};
19024
- outputFormat: string;
19025
- status: import("hono/utils/http-status").StatusCode;
19023
+ output: {
19024
+ error: string;
19025
+ code?: "invalid_input" | undefined;
19026
+ };
19027
+ outputFormat: "json";
19028
+ status: 400;
19026
19029
  input: {
19027
19030
  param: {
19028
19031
  id: string;
@@ -19034,12 +19037,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19034
19037
  };
19035
19038
  };
19036
19039
  } | {
19037
- output: {
19038
- error: string;
19039
- code?: "invalid_input" | undefined;
19040
- };
19041
- outputFormat: "json";
19042
- status: 400;
19040
+ output: {};
19041
+ outputFormat: string;
19042
+ status: import("hono/utils/http-status").StatusCode;
19043
19043
  input: {
19044
19044
  param: {
19045
19045
  id: string;
@@ -19100,34 +19100,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19100
19100
  "/config": {
19101
19101
  $put: {
19102
19102
  output: {
19103
- archiveOnMerge: boolean | null;
19104
- effectiveArchiveOnMerge: boolean;
19105
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
19106
- baseBranch: string | null;
19107
- defaultRunner: string;
19108
- systemPrompt: string | null;
19109
- defaultModels: {
19110
- [x: string]: string | undefined;
19111
- };
19112
- modelsLocked: boolean;
19113
- maxParallel: number;
19114
- memoryLimitMb: number | null;
19115
- worktreeRetention: number;
19116
- liveTitleUpdates: boolean | null;
19117
- reviewGate: boolean | null;
19118
- worktreeSetup: {
19119
- commands: string[];
19120
- timeoutSeconds: number;
19121
- } | null;
19122
- worktreeSetupIssue: string | null;
19123
- worktreeTeardown: {
19124
- commands: string[];
19125
- timeoutSeconds: number;
19126
- } | null;
19127
- worktreeTeardownIssue: string | null;
19103
+ error: string;
19128
19104
  };
19129
19105
  outputFormat: "json";
19130
- status: import("hono/utils/http-status").ContentfulStatusCode;
19106
+ status: 409;
19131
19107
  input: {
19132
19108
  json: {
19133
19109
  archiveOnMerge?: boolean | null | undefined;
@@ -19155,7 +19131,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19155
19131
  error: string;
19156
19132
  };
19157
19133
  outputFormat: "json";
19158
- status: 409;
19134
+ status: 500;
19159
19135
  input: {
19160
19136
  json: {
19161
19137
  archiveOnMerge?: boolean | null | undefined;
@@ -19180,10 +19156,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19180
19156
  };
19181
19157
  } | {
19182
19158
  output: {
19183
- error: string;
19159
+ archiveOnMerge: boolean | null;
19160
+ effectiveArchiveOnMerge: boolean;
19161
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
19162
+ baseBranch: string | null;
19163
+ defaultRunner: string;
19164
+ systemPrompt: string | null;
19165
+ defaultModels: {
19166
+ [x: string]: string | undefined;
19167
+ };
19168
+ modelsLocked: boolean;
19169
+ maxParallel: number;
19170
+ memoryLimitMb: number | null;
19171
+ worktreeRetention: number;
19172
+ liveTitleUpdates: boolean | null;
19173
+ reviewGate: boolean | null;
19174
+ worktreeSetup: {
19175
+ commands: string[];
19176
+ timeoutSeconds: number;
19177
+ } | null;
19178
+ worktreeSetupIssue: string | null;
19179
+ worktreeTeardown: {
19180
+ commands: string[];
19181
+ timeoutSeconds: number;
19182
+ } | null;
19183
+ worktreeTeardownIssue: string | null;
19184
19184
  };
19185
19185
  outputFormat: "json";
19186
- status: 500;
19186
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19187
19187
  input: {
19188
19188
  json: {
19189
19189
  archiveOnMerge?: boolean | null | undefined;
@@ -19332,7 +19332,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19332
19332
  error: string;
19333
19333
  };
19334
19334
  outputFormat: "json";
19335
- status: 409;
19335
+ status: 400;
19336
19336
  input: {
19337
19337
  query: {
19338
19338
  q?: string | undefined;
@@ -19345,7 +19345,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19345
19345
  error: string;
19346
19346
  };
19347
19347
  outputFormat: "json";
19348
- status: 400;
19348
+ status: 409;
19349
19349
  input: {
19350
19350
  query: {
19351
19351
  q?: string | undefined;
@@ -19450,10 +19450,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19450
19450
  };
19451
19451
  } | {
19452
19452
  output: {
19453
- error: string;
19453
+ runId: string;
19454
+ worktreeReclaimedAt: string;
19454
19455
  };
19455
19456
  outputFormat: "json";
19456
- status: 404 | 409;
19457
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19457
19458
  input: {
19458
19459
  param: {
19459
19460
  runId: string;
@@ -19465,11 +19466,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19465
19466
  };
19466
19467
  } | {
19467
19468
  output: {
19468
- runId: string;
19469
- worktreeReclaimedAt: string;
19469
+ error: string;
19470
19470
  };
19471
19471
  outputFormat: "json";
19472
- status: import("hono/utils/http-status").ContentfulStatusCode;
19472
+ status: 404 | 409;
19473
19473
  input: {
19474
19474
  param: {
19475
19475
  runId: string;
@@ -19569,14 +19569,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19569
19569
  "/agent-config/:id": {
19570
19570
  $put: {
19571
19571
  output: {
19572
- id: string;
19573
- path: string;
19574
- exists: boolean;
19575
- content: string;
19576
- version: string | null;
19572
+ error: string;
19577
19573
  };
19578
19574
  outputFormat: "json";
19579
- status: import("hono/utils/http-status").ContentfulStatusCode;
19575
+ status: 404;
19580
19576
  input: {
19581
19577
  json: {
19582
19578
  content: string;
@@ -19589,10 +19585,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19589
19585
  };
19590
19586
  } | {
19591
19587
  output: {
19592
- error: string;
19588
+ id: string;
19589
+ path: string;
19590
+ exists: boolean;
19591
+ content: string;
19592
+ version: string | null;
19593
19593
  };
19594
19594
  outputFormat: "json";
19595
- status: 404;
19595
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19596
19596
  input: {
19597
19597
  json: {
19598
19598
  content: string;
@@ -19769,10 +19769,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19769
19769
  "/workflows": {
19770
19770
  $post: {
19771
19771
  output: {
19772
- error: string;
19772
+ path: string;
19773
+ name: string;
19773
19774
  };
19774
19775
  outputFormat: "json";
19775
- status: 400;
19776
+ status: 201;
19776
19777
  input: {
19777
19778
  json: {
19778
19779
  name: string;
@@ -19805,10 +19806,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19805
19806
  } | {
19806
19807
  output: {
19807
19808
  error: string;
19808
- exists: true;
19809
19809
  };
19810
19810
  outputFormat: "json";
19811
- status: 409;
19811
+ status: 400;
19812
19812
  input: {
19813
19813
  json: {
19814
19814
  name: string;
@@ -19841,9 +19841,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19841
19841
  } | {
19842
19842
  output: {
19843
19843
  error: string;
19844
+ exists: true;
19844
19845
  };
19845
19846
  outputFormat: "json";
19846
- status: 500;
19847
+ status: 409;
19847
19848
  input: {
19848
19849
  json: {
19849
19850
  name: string;
@@ -19875,11 +19876,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19875
19876
  };
19876
19877
  } | {
19877
19878
  output: {
19878
- path: string;
19879
- name: string;
19879
+ error: string;
19880
19880
  };
19881
19881
  outputFormat: "json";
19882
- status: 201;
19882
+ status: 500;
19883
19883
  input: {
19884
19884
  json: {
19885
19885
  name: string;
@@ -19915,10 +19915,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19915
19915
  "/workflows/:name": {
19916
19916
  $delete: {
19917
19917
  output: {
19918
- error: string;
19918
+ ok: true;
19919
+ path: string;
19919
19920
  };
19920
19921
  outputFormat: "json";
19921
- status: 400 | 404 | 409 | 500;
19922
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19922
19923
  input: {
19923
19924
  param: {
19924
19925
  name: string;
@@ -19926,11 +19927,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19926
19927
  };
19927
19928
  } | {
19928
19929
  output: {
19929
- ok: true;
19930
- path: string;
19930
+ error: string;
19931
19931
  };
19932
19932
  outputFormat: "json";
19933
- status: import("hono/utils/http-status").ContentfulStatusCode;
19933
+ status: 400 | 404 | 409 | 500;
19934
19934
  input: {
19935
19935
  param: {
19936
19936
  name: string;
@@ -20106,14 +20106,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20106
20106
  "/repo/branches/delete": {
20107
20107
  $post: {
20108
20108
  output: {
20109
- error: string;
20109
+ deleted: string[];
20110
20110
  refused: {
20111
20111
  name: string;
20112
20112
  reason: string;
20113
20113
  }[];
20114
+ dropped?: {
20115
+ sha: string;
20116
+ subject: string;
20117
+ }[] | undefined;
20114
20118
  };
20115
20119
  outputFormat: "json";
20116
- status: 409;
20120
+ status: 200;
20117
20121
  input: {
20118
20122
  json: {
20119
20123
  names: string[];
@@ -20122,18 +20126,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20122
20126
  };
20123
20127
  } | {
20124
20128
  output: {
20125
- deleted: string[];
20129
+ error: string;
20126
20130
  refused: {
20127
20131
  name: string;
20128
20132
  reason: string;
20129
20133
  }[];
20130
- dropped?: {
20131
- sha: string;
20132
- subject: string;
20133
- }[] | undefined;
20134
20134
  };
20135
20135
  outputFormat: "json";
20136
- status: 200;
20136
+ status: 409;
20137
20137
  input: {
20138
20138
  json: {
20139
20139
  names: string[];
@@ -20154,19 +20154,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20154
20154
  } & {
20155
20155
  "/repo/commit/:sha": {
20156
20156
  $get: {
20157
- output: string;
20158
- outputFormat: "text";
20159
- status: import("hono/utils/http-status").ContentfulStatusCode;
20160
- input: {
20161
- query: {
20162
- structured?: string | undefined;
20163
- };
20164
- } & {
20165
- param: {
20166
- sha: string;
20167
- };
20168
- };
20169
- } | {
20170
20157
  output: {
20171
20158
  error: string;
20172
20159
  code?: "invalid_input" | undefined;
@@ -20230,6 +20217,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20230
20217
  sha: string;
20231
20218
  };
20232
20219
  };
20220
+ } | {
20221
+ output: string;
20222
+ outputFormat: "text";
20223
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20224
+ input: {
20225
+ query: {
20226
+ structured?: string | undefined;
20227
+ };
20228
+ } & {
20229
+ param: {
20230
+ sha: string;
20231
+ };
20232
+ };
20233
20233
  };
20234
20234
  };
20235
20235
  } & {
@@ -20290,10 +20290,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20290
20290
  "/repo/pull": {
20291
20291
  $post: {
20292
20292
  output: {
20293
- error: string;
20293
+ branch: string;
20294
+ pulled: true;
20295
+ summary: string;
20294
20296
  };
20295
20297
  outputFormat: "json";
20296
- status: 409;
20298
+ status: 200;
20297
20299
  input: {
20298
20300
  json: {
20299
20301
  branch?: string | undefined;
@@ -20302,12 +20304,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20302
20304
  };
20303
20305
  } | {
20304
20306
  output: {
20305
- branch: string;
20306
- pulled: true;
20307
- summary: string;
20307
+ error: string;
20308
20308
  };
20309
20309
  outputFormat: "json";
20310
- status: 200;
20310
+ status: 409;
20311
20311
  input: {
20312
20312
  json: {
20313
20313
  branch?: string | undefined;
@@ -22257,6 +22257,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22257
22257
  } & {
22258
22258
  "/run-summaries": {
22259
22259
  $get: {
22260
+ output: {
22261
+ error: string;
22262
+ code?: "invalid_input" | undefined;
22263
+ };
22264
+ outputFormat: "json";
22265
+ status: 400;
22266
+ input: {
22267
+ query: {
22268
+ archived?: "all" | "recent" | undefined;
22269
+ };
22270
+ };
22271
+ } | {
22260
22272
  output: {
22261
22273
  id: string;
22262
22274
  title: string;
@@ -22394,18 +22406,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22394
22406
  archived?: "all" | "recent" | undefined;
22395
22407
  };
22396
22408
  };
22397
- } | {
22398
- output: {
22399
- error: string;
22400
- code?: "invalid_input" | undefined;
22401
- };
22402
- outputFormat: "json";
22403
- status: 400;
22404
- input: {
22405
- query: {
22406
- archived?: "all" | "recent" | undefined;
22407
- };
22408
- };
22409
22409
  };
22410
22410
  };
22411
22411
  } & {
@@ -22767,11 +22767,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22767
22767
  "/runs/:id/worker-destroy": {
22768
22768
  $post: {
22769
22769
  output: {
22770
- error: string;
22771
- code?: "invalid_input" | undefined;
22770
+ workerId: string;
22771
+ state: "complete" | "incomplete";
22772
+ work?: {
22773
+ uncommittedFiles: number;
22774
+ commits: number;
22775
+ } | undefined;
22776
+ deleted?: ({
22777
+ kind: "worktree";
22778
+ path: string;
22779
+ } | {
22780
+ kind: "branch";
22781
+ ref: string;
22782
+ })[] | undefined;
22783
+ remaining: ("branch" | "process" | "worktree")[];
22784
+ error?: string | undefined;
22772
22785
  };
22773
22786
  outputFormat: "json";
22774
- status: 400;
22787
+ status: 200;
22775
22788
  input: {
22776
22789
  query: {
22777
22790
  [x: string]: string | string[];
@@ -22787,24 +22800,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22787
22800
  };
22788
22801
  } | {
22789
22802
  output: {
22790
- workerId: string;
22791
- state: "complete" | "incomplete";
22792
- work?: {
22793
- uncommittedFiles: number;
22794
- commits: number;
22795
- } | undefined;
22796
- deleted?: ({
22797
- kind: "worktree";
22798
- path: string;
22799
- } | {
22800
- kind: "branch";
22801
- ref: string;
22802
- })[] | undefined;
22803
- remaining: ("branch" | "process" | "worktree")[];
22804
- error?: string | undefined;
22803
+ error: string;
22804
+ code?: "invalid_input" | undefined;
22805
22805
  };
22806
22806
  outputFormat: "json";
22807
- status: 200;
22807
+ status: 400;
22808
22808
  input: {
22809
22809
  query: {
22810
22810
  [x: string]: string | string[];
@@ -22920,6 +22920,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22920
22920
  } & {
22921
22921
  "/runs/:id/archive": {
22922
22922
  $post: {
22923
+ output: {
22924
+ error: string;
22925
+ };
22926
+ outputFormat: "json";
22927
+ status: 404;
22928
+ input: {
22929
+ json: {
22930
+ archived?: boolean | undefined;
22931
+ };
22932
+ } & {
22933
+ param: {
22934
+ id: string;
22935
+ };
22936
+ };
22937
+ } | {
22923
22938
  output: {
22924
22939
  archiveWhenDone?: boolean | undefined;
22925
22940
  autoMergePr?: boolean | undefined;
@@ -24099,21 +24114,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24099
24114
  id: string;
24100
24115
  };
24101
24116
  };
24102
- } | {
24103
- output: {
24104
- error: string;
24105
- };
24106
- outputFormat: "json";
24107
- status: 404;
24108
- input: {
24109
- json: {
24110
- archived?: boolean | undefined;
24111
- };
24112
- } & {
24113
- param: {
24114
- id: string;
24115
- };
24116
- };
24117
24117
  };
24118
24118
  };
24119
24119
  } & {
@@ -24134,6 +24134,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24134
24134
  pinned?: boolean | undefined;
24135
24135
  };
24136
24136
  };
24137
+ } | {
24138
+ output: {
24139
+ error: string;
24140
+ };
24141
+ outputFormat: "json";
24142
+ status: 404;
24143
+ input: {
24144
+ param: {
24145
+ id: string;
24146
+ };
24147
+ } & {
24148
+ json: {
24149
+ pinned?: boolean | undefined;
24150
+ };
24151
+ };
24137
24152
  } | {
24138
24153
  output: {
24139
24154
  archiveWhenDone?: boolean | undefined;
@@ -25314,21 +25329,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25314
25329
  pinned?: boolean | undefined;
25315
25330
  };
25316
25331
  };
25317
- } | {
25318
- output: {
25319
- error: string;
25320
- };
25321
- outputFormat: "json";
25322
- status: 404;
25323
- input: {
25324
- param: {
25325
- id: string;
25326
- };
25327
- } & {
25328
- json: {
25329
- pinned?: boolean | undefined;
25330
- };
25331
- };
25332
25332
  };
25333
25333
  };
25334
25334
  } & {
@@ -25355,7 +25355,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25355
25355
  error: string;
25356
25356
  };
25357
25357
  outputFormat: "json";
25358
- status: 404;
25358
+ status: 400;
25359
25359
  input: {
25360
25360
  param: {
25361
25361
  id: string;
@@ -25371,7 +25371,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25371
25371
  error: string;
25372
25372
  };
25373
25373
  outputFormat: "json";
25374
- status: 400;
25374
+ status: 404;
25375
25375
  input: {
25376
25376
  param: {
25377
25377
  id: string;
@@ -26594,6 +26594,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
26594
26594
  } & {
26595
26595
  "/runs/:id/read": {
26596
26596
  $post: {
26597
+ output: {
26598
+ error: string;
26599
+ };
26600
+ outputFormat: "json";
26601
+ status: 404;
26602
+ input: {
26603
+ param: {
26604
+ id: string;
26605
+ };
26606
+ };
26607
+ } | {
26597
26608
  output: {
26598
26609
  archiveWhenDone?: boolean | undefined;
26599
26610
  autoMergePr?: boolean | undefined;
@@ -27769,7 +27780,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27769
27780
  id: string;
27770
27781
  };
27771
27782
  };
27772
- } | {
27783
+ };
27784
+ };
27785
+ } & {
27786
+ "/runs/:id/unread": {
27787
+ $post: {
27773
27788
  output: {
27774
27789
  error: string;
27775
27790
  };
@@ -27780,11 +27795,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27780
27795
  id: string;
27781
27796
  };
27782
27797
  };
27783
- };
27784
- };
27785
- } & {
27786
- "/runs/:id/unread": {
27787
- $post: {
27798
+ } | {
27788
27799
  output: {
27789
27800
  archiveWhenDone?: boolean | undefined;
27790
27801
  autoMergePr?: boolean | undefined;
@@ -28960,17 +28971,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28960
28971
  id: string;
28961
28972
  };
28962
28973
  };
28963
- } | {
28964
- output: {
28965
- error: string;
28966
- };
28967
- outputFormat: "json";
28968
- status: 404;
28969
- input: {
28970
- param: {
28971
- id: string;
28972
- };
28973
- };
28974
28974
  };
28975
28975
  };
28976
28976
  } & {
@@ -30247,6 +30247,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
30247
30247
  } & {
30248
30248
  "/runs/:id": {
30249
30249
  $get: {
30250
+ output: {
30251
+ error: string;
30252
+ };
30253
+ outputFormat: "json";
30254
+ status: 404;
30255
+ input: {
30256
+ param: {
30257
+ id: string;
30258
+ };
30259
+ };
30260
+ } | {
30250
30261
  output: {
30251
30262
  archiveWhenDone?: boolean | undefined;
30252
30263
  autoMergePr?: boolean | undefined;
@@ -31430,17 +31441,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31430
31441
  id: string;
31431
31442
  };
31432
31443
  };
31433
- } | {
31434
- output: {
31435
- error: string;
31436
- };
31437
- outputFormat: "json";
31438
- status: 404;
31439
- input: {
31440
- param: {
31441
- id: string;
31442
- };
31443
- };
31444
31444
  };
31445
31445
  };
31446
31446
  } & {
@@ -31568,6 +31568,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31568
31568
  } & {
31569
31569
  "/runs/:id": {
31570
31570
  $patch: {
31571
+ output: {
31572
+ error: string;
31573
+ };
31574
+ outputFormat: "json";
31575
+ status: 400;
31576
+ input: {
31577
+ json: {
31578
+ archiveWhenDone?: boolean | undefined;
31579
+ autoMergePr?: boolean | undefined;
31580
+ allowWorkers?: boolean | undefined;
31581
+ allowMessaging?: boolean | undefined;
31582
+ title?: string | undefined;
31583
+ task?: string | undefined;
31584
+ };
31585
+ } & {
31586
+ param: {
31587
+ id: string;
31588
+ };
31589
+ };
31590
+ } | {
31591
+ output: {
31592
+ error: string;
31593
+ };
31594
+ outputFormat: "json";
31595
+ status: 404;
31596
+ input: {
31597
+ json: {
31598
+ archiveWhenDone?: boolean | undefined;
31599
+ autoMergePr?: boolean | undefined;
31600
+ allowWorkers?: boolean | undefined;
31601
+ allowMessaging?: boolean | undefined;
31602
+ title?: string | undefined;
31603
+ task?: string | undefined;
31604
+ };
31605
+ } & {
31606
+ param: {
31607
+ id: string;
31608
+ };
31609
+ };
31610
+ } | {
31611
+ output: {
31612
+ error: string;
31613
+ };
31614
+ outputFormat: "json";
31615
+ status: 409;
31616
+ input: {
31617
+ json: {
31618
+ archiveWhenDone?: boolean | undefined;
31619
+ autoMergePr?: boolean | undefined;
31620
+ allowWorkers?: boolean | undefined;
31621
+ allowMessaging?: boolean | undefined;
31622
+ title?: string | undefined;
31623
+ task?: string | undefined;
31624
+ };
31625
+ } & {
31626
+ param: {
31627
+ id: string;
31628
+ };
31629
+ };
31630
+ } | {
31571
31631
  output: {
31572
31632
  archiveWhenDone?: boolean | undefined;
31573
31633
  autoMergePr?: boolean | undefined;
@@ -32752,66 +32812,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32752
32812
  id: string;
32753
32813
  };
32754
32814
  };
32755
- } | {
32756
- output: {
32757
- error: string;
32758
- };
32759
- outputFormat: "json";
32760
- status: 404;
32761
- input: {
32762
- json: {
32763
- archiveWhenDone?: boolean | undefined;
32764
- autoMergePr?: boolean | undefined;
32765
- allowWorkers?: boolean | undefined;
32766
- allowMessaging?: boolean | undefined;
32767
- title?: string | undefined;
32768
- task?: string | undefined;
32769
- };
32770
- } & {
32771
- param: {
32772
- id: string;
32773
- };
32774
- };
32775
- } | {
32776
- output: {
32777
- error: string;
32778
- };
32779
- outputFormat: "json";
32780
- status: 400;
32781
- input: {
32782
- json: {
32783
- archiveWhenDone?: boolean | undefined;
32784
- autoMergePr?: boolean | undefined;
32785
- allowWorkers?: boolean | undefined;
32786
- allowMessaging?: boolean | undefined;
32787
- title?: string | undefined;
32788
- task?: string | undefined;
32789
- };
32790
- } & {
32791
- param: {
32792
- id: string;
32793
- };
32794
- };
32795
- } | {
32796
- output: {
32797
- error: string;
32798
- };
32799
- outputFormat: "json";
32800
- status: 409;
32801
- input: {
32802
- json: {
32803
- archiveWhenDone?: boolean | undefined;
32804
- autoMergePr?: boolean | undefined;
32805
- allowWorkers?: boolean | undefined;
32806
- allowMessaging?: boolean | undefined;
32807
- title?: string | undefined;
32808
- task?: string | undefined;
32809
- };
32810
- } & {
32811
- param: {
32812
- id: string;
32813
- };
32814
- };
32815
32815
  };
32816
32816
  };
32817
32817
  } & {
@@ -32916,7 +32916,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32916
32916
  error: string;
32917
32917
  };
32918
32918
  outputFormat: "json";
32919
- status: 404;
32919
+ status: 400;
32920
32920
  input: {
32921
32921
  json: {
32922
32922
  text?: string | undefined;
@@ -32935,7 +32935,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32935
32935
  error: string;
32936
32936
  };
32937
32937
  outputFormat: "json";
32938
- status: 409;
32938
+ status: 404;
32939
32939
  input: {
32940
32940
  json: {
32941
32941
  text?: string | undefined;
@@ -32951,10 +32951,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32951
32951
  };
32952
32952
  } | {
32953
32953
  output: {
32954
- delivered: true;
32954
+ error: string;
32955
32955
  };
32956
32956
  outputFormat: "json";
32957
- status: import("hono/utils/http-status").ContentfulStatusCode;
32957
+ status: 409;
32958
32958
  input: {
32959
32959
  json: {
32960
32960
  text?: string | undefined;
@@ -32970,10 +32970,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32970
32970
  };
32971
32971
  } | {
32972
32972
  output: {
32973
- error: string;
32973
+ delivered: true;
32974
32974
  };
32975
32975
  outputFormat: "json";
32976
- status: 400;
32976
+ status: import("hono/utils/http-status").ContentfulStatusCode;
32977
32977
  input: {
32978
32978
  json: {
32979
32979
  text?: string | undefined;
@@ -33041,7 +33041,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33041
33041
  error: string;
33042
33042
  };
33043
33043
  outputFormat: "json";
33044
- status: 404;
33044
+ status: 400;
33045
33045
  input: {
33046
33046
  json: {
33047
33047
  text?: string | undefined;
@@ -33062,7 +33062,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33062
33062
  error: string;
33063
33063
  };
33064
33064
  outputFormat: "json";
33065
- status: 400;
33065
+ status: 404;
33066
33066
  input: {
33067
33067
  json: {
33068
33068
  text?: string | undefined;
@@ -33282,10 +33282,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33282
33282
  "/runs/:id/open-in-cli": {
33283
33283
  $post: {
33284
33284
  output: {
33285
- error: string;
33285
+ opened: true;
33286
+ command: string;
33286
33287
  };
33287
33288
  outputFormat: "json";
33288
- status: 404 | 409;
33289
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33289
33290
  input: {
33290
33291
  param: {
33291
33292
  id: string;
@@ -33293,11 +33294,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33293
33294
  };
33294
33295
  } | {
33295
33296
  output: {
33296
- opened: true;
33297
- command: string;
33297
+ error: string;
33298
33298
  };
33299
33299
  outputFormat: "json";
33300
- status: import("hono/utils/http-status").ContentfulStatusCode;
33300
+ status: 404 | 409;
33301
33301
  input: {
33302
33302
  param: {
33303
33303
  id: string;
@@ -33312,7 +33312,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33312
33312
  error: string;
33313
33313
  };
33314
33314
  outputFormat: "json";
33315
- status: 404 | 409;
33315
+ status: 400;
33316
33316
  input: {
33317
33317
  json: {
33318
33318
  target: string;
@@ -33325,10 +33325,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33325
33325
  };
33326
33326
  } | {
33327
33327
  output: {
33328
- error: string;
33328
+ opened: true;
33329
+ path: string;
33329
33330
  };
33330
33331
  outputFormat: "json";
33331
- status: 400;
33332
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33332
33333
  input: {
33333
33334
  json: {
33334
33335
  target: string;
@@ -33341,11 +33342,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33341
33342
  };
33342
33343
  } | {
33343
33344
  output: {
33344
- opened: true;
33345
- path: string;
33345
+ error: string;
33346
33346
  };
33347
33347
  outputFormat: "json";
33348
- status: import("hono/utils/http-status").ContentfulStatusCode;
33348
+ status: 404 | 409;
33349
33349
  input: {
33350
33350
  json: {
33351
33351
  target: string;
@@ -33385,9 +33385,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33385
33385
  } & {
33386
33386
  "/runs/:id/images/:file": {
33387
33387
  $get: {
33388
- output: {};
33389
- outputFormat: string;
33390
- status: import("hono/utils/http-status").StatusCode;
33388
+ output: {
33389
+ error: string;
33390
+ code?: "invalid_input" | undefined;
33391
+ };
33392
+ outputFormat: "json";
33393
+ status: 400;
33391
33394
  input: {
33392
33395
  param: {
33393
33396
  id: string;
@@ -33395,12 +33398,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33395
33398
  };
33396
33399
  };
33397
33400
  } | {
33398
- output: {
33399
- error: string;
33400
- code?: "invalid_input" | undefined;
33401
- };
33402
- outputFormat: "json";
33403
- status: 400;
33401
+ output: {};
33402
+ outputFormat: string;
33403
+ status: import("hono/utils/http-status").StatusCode;
33404
33404
  input: {
33405
33405
  param: {
33406
33406
  id: string;
@@ -33436,17 +33436,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33436
33436
  } & {
33437
33437
  "/runs/:id/changes": {
33438
33438
  $get: {
33439
- output: {
33440
- error: string;
33441
- };
33442
- outputFormat: "json";
33443
- status: 404 | 409;
33444
- input: {
33445
- param: {
33446
- id: string;
33447
- };
33448
- };
33449
- } | {
33450
33439
  output: {
33451
33440
  files: {
33452
33441
  path: string;
@@ -33475,11 +33464,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33475
33464
  id: string;
33476
33465
  };
33477
33466
  };
33478
- };
33479
- };
33480
- } & {
33481
- "/runs/:id/commits": {
33482
- $get: {
33467
+ } | {
33483
33468
  output: {
33484
33469
  error: string;
33485
33470
  };
@@ -33490,7 +33475,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33490
33475
  id: string;
33491
33476
  };
33492
33477
  };
33493
- } | {
33478
+ };
33479
+ };
33480
+ } & {
33481
+ "/runs/:id/commits": {
33482
+ $get: {
33494
33483
  output: {
33495
33484
  commits: {
33496
33485
  sha: string;
@@ -33506,11 +33495,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33506
33495
  id: string;
33507
33496
  };
33508
33497
  };
33509
- };
33510
- };
33511
- } & {
33512
- "/runs/:id/commit/:sha": {
33513
- $get: {
33498
+ } | {
33514
33499
  output: {
33515
33500
  error: string;
33516
33501
  };
@@ -33518,12 +33503,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33518
33503
  status: 404 | 409;
33519
33504
  input: {
33520
33505
  param: {
33521
- sha: string;
33522
- } & {
33523
33506
  id: string;
33524
33507
  };
33525
33508
  };
33526
- } | {
33509
+ };
33510
+ };
33511
+ } & {
33512
+ "/runs/:id/commit/:sha": {
33513
+ $get: {
33527
33514
  output: {
33528
33515
  sha: string;
33529
33516
  subject: string;
@@ -33549,9 +33536,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33549
33536
  status: import("hono/utils/http-status").ContentfulStatusCode;
33550
33537
  input: {
33551
33538
  param: {
33552
- sha: string;
33539
+ id: string;
33553
33540
  } & {
33541
+ sha: string;
33542
+ };
33543
+ };
33544
+ } | {
33545
+ output: {
33546
+ error: string;
33547
+ };
33548
+ outputFormat: "json";
33549
+ status: 404 | 409;
33550
+ input: {
33551
+ param: {
33554
33552
  id: string;
33553
+ } & {
33554
+ sha: string;
33555
33555
  };
33556
33556
  };
33557
33557
  };
@@ -33589,22 +33589,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33589
33589
  raw?: "1" | undefined;
33590
33590
  };
33591
33591
  };
33592
- } | {
33593
- output: {
33594
- error: string;
33595
- };
33596
- outputFormat: "json";
33597
- status: 404 | 409;
33598
- input: {
33599
- param: {
33600
- id: string;
33601
- };
33602
- } & {
33603
- query: {
33604
- path: string | string[];
33605
- raw?: "1" | undefined;
33606
- };
33607
- };
33608
33592
  } | {
33609
33593
  output: {
33610
33594
  type: "file";
@@ -33641,6 +33625,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33641
33625
  raw?: "1" | undefined;
33642
33626
  };
33643
33627
  };
33628
+ } | {
33629
+ output: {
33630
+ error: string;
33631
+ };
33632
+ outputFormat: "json";
33633
+ status: 404 | 409;
33634
+ input: {
33635
+ param: {
33636
+ id: string;
33637
+ };
33638
+ } & {
33639
+ query: {
33640
+ path: string | string[];
33641
+ raw?: "1" | undefined;
33642
+ };
33643
+ };
33644
33644
  };
33645
33645
  };
33646
33646
  } & {
@@ -33705,6 +33705,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33705
33705
  artifactId: string;
33706
33706
  };
33707
33707
  };
33708
+ } | {
33709
+ output: {
33710
+ error: string;
33711
+ };
33712
+ outputFormat: "json";
33713
+ status: 404;
33714
+ input: {
33715
+ param: {
33716
+ id: string;
33717
+ artifactId: string;
33718
+ };
33719
+ };
33708
33720
  } | {
33709
33721
  output: {
33710
33722
  type: "file";
@@ -33733,18 +33745,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33733
33745
  artifactId: string;
33734
33746
  };
33735
33747
  };
33736
- } | {
33737
- output: {
33738
- error: string;
33739
- };
33740
- outputFormat: "json";
33741
- status: 404;
33742
- input: {
33743
- param: {
33744
- id: string;
33745
- artifactId: string;
33746
- };
33747
- };
33748
33748
  };
33749
33749
  };
33750
33750
  } & {
@@ -33922,10 +33922,16 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33922
33922
  };
33923
33923
  } | {
33924
33924
  output: {
33925
- error: string;
33925
+ type: 'dir';
33926
+ path: string;
33927
+ entries: {
33928
+ name: string;
33929
+ type: 'dir' | 'file';
33930
+ size?: number;
33931
+ }[];
33926
33932
  };
33927
33933
  outputFormat: "json";
33928
- status: 404 | 409;
33934
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33929
33935
  input: {
33930
33936
  query: {
33931
33937
  path?: string | undefined;
@@ -33938,13 +33944,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33938
33944
  };
33939
33945
  } | {
33940
33946
  output: {
33941
- type: 'dir';
33947
+ type: 'file';
33942
33948
  path: string;
33943
- entries: {
33944
- name: string;
33945
- type: 'dir' | 'file';
33946
- size?: number;
33947
- }[];
33949
+ size: number;
33950
+ binary: boolean;
33951
+ tooLarge: boolean;
33952
+ content?: string | undefined;
33948
33953
  };
33949
33954
  outputFormat: "json";
33950
33955
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -33960,15 +33965,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33960
33965
  };
33961
33966
  } | {
33962
33967
  output: {
33963
- type: 'file';
33964
- path: string;
33965
- size: number;
33966
- binary: boolean;
33967
- tooLarge: boolean;
33968
- content?: string | undefined;
33968
+ error: string;
33969
33969
  };
33970
33970
  outputFormat: "json";
33971
- status: import("hono/utils/http-status").ContentfulStatusCode;
33971
+ status: 404 | 409;
33972
33972
  input: {
33973
33973
  query: {
33974
33974
  path?: string | undefined;
@@ -33985,10 +33985,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33985
33985
  "/runs/:id/git/commit": {
33986
33986
  $post: {
33987
33987
  output: {
33988
- error: string;
33988
+ committed: true;
33989
+ sha: string;
33989
33990
  };
33990
33991
  outputFormat: "json";
33991
- status: 404 | 409;
33992
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33992
33993
  input: {
33993
33994
  json: {
33994
33995
  message: string;
@@ -34000,11 +34001,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34000
34001
  };
34001
34002
  } | {
34002
34003
  output: {
34003
- committed: true;
34004
- sha: string;
34004
+ error: string;
34005
34005
  };
34006
34006
  outputFormat: "json";
34007
- status: import("hono/utils/http-status").ContentfulStatusCode;
34007
+ status: 404 | 409;
34008
34008
  input: {
34009
34009
  json: {
34010
34010
  message: string;
@@ -34020,10 +34020,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34020
34020
  "/runs/:id/git/push": {
34021
34021
  $post: {
34022
34022
  output: {
34023
- error: string;
34023
+ pushed: true;
34024
+ branch: string;
34025
+ remote: string;
34026
+ upstreamSet: boolean;
34024
34027
  };
34025
34028
  outputFormat: "json";
34026
- status: 404 | 409;
34029
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34027
34030
  input: {
34028
34031
  param: {
34029
34032
  id: string;
@@ -34031,13 +34034,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34031
34034
  };
34032
34035
  } | {
34033
34036
  output: {
34034
- pushed: true;
34035
- branch: string;
34036
- remote: string;
34037
- upstreamSet: boolean;
34037
+ error: string;
34038
34038
  };
34039
34039
  outputFormat: "json";
34040
- status: import("hono/utils/http-status").ContentfulStatusCode;
34040
+ status: 404 | 409;
34041
34041
  input: {
34042
34042
  param: {
34043
34043
  id: string;
@@ -34049,10 +34049,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34049
34049
  "/runs/:id/pr": {
34050
34050
  $post: {
34051
34051
  output: {
34052
- error: string;
34052
+ url: string;
34053
+ dryRun: boolean;
34053
34054
  };
34054
34055
  outputFormat: "json";
34055
- status: 404 | 409;
34056
+ status: 201;
34056
34057
  input: {
34057
34058
  param: {
34058
34059
  id: string;
@@ -34060,11 +34061,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34060
34061
  };
34061
34062
  } | {
34062
34063
  output: {
34063
- url: string;
34064
- dryRun: boolean;
34064
+ error: string;
34065
34065
  };
34066
34066
  outputFormat: "json";
34067
- status: 201;
34067
+ status: 404 | 409;
34068
34068
  input: {
34069
34069
  param: {
34070
34070
  id: string;
@@ -34076,10 +34076,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34076
34076
  "/runs/:id/remove-worktree": {
34077
34077
  $post: {
34078
34078
  output: {
34079
- error: string;
34079
+ removed: true;
34080
34080
  };
34081
34081
  outputFormat: "json";
34082
- status: 404 | 409;
34082
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34083
34083
  input: {
34084
34084
  param: {
34085
34085
  id: string;
@@ -34087,10 +34087,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34087
34087
  };
34088
34088
  } | {
34089
34089
  output: {
34090
- removed: true;
34090
+ error: string;
34091
34091
  };
34092
34092
  outputFormat: "json";
34093
- status: import("hono/utils/http-status").ContentfulStatusCode;
34093
+ status: 404 | 409;
34094
34094
  input: {
34095
34095
  param: {
34096
34096
  id: string;
@@ -34102,10 +34102,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34102
34102
  "/runs/:id": {
34103
34103
  $delete: {
34104
34104
  output: {
34105
- error: string;
34105
+ deleted: true;
34106
34106
  };
34107
34107
  outputFormat: "json";
34108
- status: 404 | 409;
34108
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34109
34109
  input: {
34110
34110
  param: {
34111
34111
  id: string;
@@ -34113,10 +34113,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34113
34113
  };
34114
34114
  } | {
34115
34115
  output: {
34116
- deleted: true;
34116
+ error: string;
34117
34117
  };
34118
34118
  outputFormat: "json";
34119
- status: import("hono/utils/http-status").ContentfulStatusCode;
34119
+ status: 404 | 409;
34120
34120
  input: {
34121
34121
  param: {
34122
34122
  id: string;