@hearsay-tools/squawk 0.18.0-pr4345.8484 → 0.18.0-pr4347.8506

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 (104) hide show
  1. package/dist/contract/index.js +2 -23
  2. package/dist/contract/session-context.d.ts +8 -54
  3. package/dist/core/runner-definition.d.ts +6 -0
  4. package/dist/core/runner-definition.js.map +1 -1
  5. package/dist/core/runner-registry.d.ts +6 -0
  6. package/dist/core/runner-registry.js +10 -0
  7. package/dist/core/runner-registry.js.map +1 -1
  8. package/dist/data-gitignore.js +0 -1
  9. package/dist/data-gitignore.js.map +1 -1
  10. package/dist/runners/antigravity/acp/session.d.ts +7 -0
  11. package/dist/runners/antigravity/acp/session.js +11 -0
  12. package/dist/runners/antigravity/acp/session.js.map +1 -1
  13. package/dist/runners/antigravity/acp/transport.d.ts +1 -0
  14. package/dist/runners/antigravity/acp/transport.js +13 -2
  15. package/dist/runners/antigravity/acp/transport.js.map +1 -1
  16. package/dist/runners/antigravity/antigravity-session.d.ts +13 -0
  17. package/dist/runners/antigravity/antigravity-session.js +178 -15
  18. package/dist/runners/antigravity/antigravity-session.js.map +1 -1
  19. package/dist/runners/antigravity/models.d.ts +3 -0
  20. package/dist/runners/antigravity/models.js +9 -0
  21. package/dist/runners/antigravity/models.js.map +1 -1
  22. package/dist/server/activity-routes.d.ts +23 -23
  23. package/dist/server/models-routes.d.ts +12 -12
  24. package/dist/server/providers-routes.d.ts +57 -57
  25. package/dist/server/repo-routes.d.ts +34 -34
  26. package/dist/server/reports-api.d.ts +2 -2
  27. package/dist/server/server.d.ts +1454 -1494
  28. package/dist/server/session-context-routes.d.ts +15 -35
  29. package/dist/server/session-context-routes.js +6 -6
  30. package/dist/server/session-context-routes.js.map +1 -1
  31. package/dist/server/workspace-routes.d.ts +84 -84
  32. package/dist/session-context-file.d.ts +3 -3
  33. package/dist/session-context-file.js +16 -45
  34. package/dist/session-context-file.js.map +1 -1
  35. package/dist/session-context.d.ts +9 -18
  36. package/dist/session-context.js +47 -118
  37. package/dist/session-context.js.map +1 -1
  38. package/dist/workflows/run/launch-read-resolver.d.ts +7 -2
  39. package/dist/workflows/run/launch-read-resolver.js +5 -3
  40. package/dist/workflows/run/launch-read-resolver.js.map +1 -1
  41. package/dist/workflows/run/run-line.js +1 -1
  42. package/dist/workflows/run/run-line.js.map +1 -1
  43. package/dist/workflows/run/step-loop.js +1 -1
  44. package/dist/workflows/run/step-loop.js.map +1 -1
  45. package/dist/workflows/run/wake-admission.js +1 -1
  46. package/dist/workflows/run/wake-admission.js.map +1 -1
  47. package/dist/workflows/run-scheduling.d.ts +15 -6
  48. package/dist/workflows/run-scheduling.js +62 -10
  49. package/dist/workflows/run-scheduling.js.map +1 -1
  50. package/package.json +4 -4
  51. package/scripts/mock-acp.mjs +76 -4
  52. package/web/dist/assets/{accounts-section-BT-KA5Aw.js → accounts-section-CuihHvuE.js} +1 -1
  53. package/web/dist/assets/{activity-motion-BL2bQufZ.js → activity-motion-bKmIl_Ai.js} +1 -1
  54. package/web/dist/assets/{activity-route-CfLjbvX-.js → activity-route-Bnz_NdUs.js} +1 -1
  55. package/web/dist/assets/{agent-config-section-isgedTYT.js → agent-config-section-uQrQrvBR.js} +1 -1
  56. package/web/dist/assets/{agent-defaults-section-DnGa0vZn.js → agent-defaults-section-1UTSo5HV.js} +1 -1
  57. package/web/dist/assets/{appearance-BE_8n1rr.js → appearance-CZ0kce28.js} +1 -1
  58. package/web/dist/assets/{archive-on-merge-field-C83q8HKD.js → archive-on-merge-field-CEyCpweg.js} +1 -1
  59. package/web/dist/assets/{automations-route-CpDyl3jW.js → automations-route-Dq90emTh.js} +1 -1
  60. package/web/dist/assets/{commit-diff-panel-ZJL9SvlZ.js → commit-diff-panel-Btc38N2Q.js} +1 -1
  61. package/web/dist/assets/{diff-t0VC73su.js → diff-C3-63Zgu.js} +2 -2
  62. package/web/dist/assets/{diff-view-BxNyE6ve.js → diff-view-D2O2Nm5P.js} +1 -1
  63. package/web/dist/assets/{file-preview-DQ-T-D8H.js → file-preview-Bnq2OKGK.js} +1 -1
  64. package/web/dist/assets/{folder-browser-CbWAXTsX.js → folder-browser-Bn83Rjyn.js} +1 -1
  65. package/web/dist/assets/{git-toolbar-iZ2mG7oO.js → git-toolbar-RA8rF90D.js} +1 -1
  66. package/web/dist/assets/{github-BnHg2x4a.js → github-BRAMTLRU.js} +1 -1
  67. package/web/dist/assets/{global-activity-route-6Fpj2ek4.js → global-activity-route-Ii_-Fqqo.js} +1 -1
  68. package/web/dist/assets/{index-CMHOE-jE.js → index-DCw_bX8I.js} +5 -5
  69. package/web/dist/assets/{label-Dbp-6aiT.js → label-tOtTf55G.js} +1 -1
  70. package/web/dist/assets/{markdown-D1BGpE3v.js → markdown-G8tjpJd_.js} +1 -1
  71. package/web/dist/assets/{notifications-section-DnC9npL3.js → notifications-section-Fk_ebhy_.js} +1 -1
  72. package/web/dist/assets/{open-in-menu-mDtfa4ES.js → open-in-menu-xzDJ4_Tv.js} +1 -1
  73. package/web/dist/assets/{preview-pane-connected-Ba2Tc4Uw.js → preview-pane-connected-8HkdMxOW.js} +1 -1
  74. package/web/dist/assets/{project-location-c1oHm2yu.js → project-location-C9WLgY3A.js} +1 -1
  75. package/web/dist/assets/{projects-section-DwabmXYr.js → projects-section-Dmj4JFoi.js} +1 -1
  76. package/web/dist/assets/{prompt-templates-section-Dy3jde_2.js → prompt-templates-section-DzfD2GES.js} +1 -1
  77. package/web/dist/assets/queries-DRpvYgai.js +1 -0
  78. package/web/dist/assets/{reference-chip-1BEDWxcS.js → reference-chip-zRuFkaGy.js} +1 -1
  79. package/web/dist/assets/{remote-settings-notice-B07kuoGY.js → remote-settings-notice-CYiMrnys.js} +1 -1
  80. package/web/dist/assets/{repo-git-CIWMWcB1.js → repo-git-B3tTtvIQ.js} +1 -1
  81. package/web/dist/assets/{report-reader-au3hsVnq.js → report-reader-DBGA_8LA.js} +1 -1
  82. package/web/dist/assets/{reports-DhKekN8B.js → reports-B-Q6u2X6.js} +1 -1
  83. package/web/dist/assets/{resources-section-CaTs8f4X.js → resources-section-C5ndEonC.js} +1 -1
  84. package/web/dist/assets/{run-header-oFGKOVQR.js → run-header-DK4CZ3hY.js} +1 -1
  85. package/web/dist/assets/session-context-section-BAw6x6P2.js +119 -0
  86. package/web/dist/assets/{settings-agent-picker-B-bLF5nf.js → settings-agent-picker-fkaIrncp.js} +1 -1
  87. package/web/dist/assets/{settings-shell-FcgFxanP.js → settings-shell-dzuuT5tw.js} +1 -1
  88. package/web/dist/assets/{sidebar-section-C_-EzQXK.js → sidebar-section-BIQilcgt.js} +1 -1
  89. package/web/dist/assets/{skills-Js4Ees5K.js → skills-C-jo20DK.js} +1 -1
  90. package/web/dist/assets/{task-changes-G0A9NfV-.js → task-changes-DnG-9vJh.js} +1 -1
  91. package/web/dist/assets/{task-commits-YYe7KUYB.js → task-commits-mqs3nfjk.js} +1 -1
  92. package/web/dist/assets/{task-files-BKgN092S.js → task-files-DKB3Xp3N.js} +1 -1
  93. package/web/dist/assets/{task-github-item-gznr9Fxa.js → task-github-item-BA7W64bU.js} +1 -1
  94. package/web/dist/assets/{task-groups-Ziytm1Sm.js → task-groups-ClNnAPRA.js} +1 -1
  95. package/web/dist/assets/{task-thread-CrFj20JU.js → task-thread-B8zgMgtO.js} +1 -1
  96. package/web/dist/assets/{tasks-table-wTQZb7nJ.js → tasks-table-CE_VVk0w.js} +1 -1
  97. package/web/dist/assets/{thread-state-B0bNtkoV.js → thread-state-8okW1FLM.js} +1 -1
  98. package/web/dist/assets/{use-hand-to-agent-state-BAOFoVNc.js → use-hand-to-agent-state-BwLk3gNd.js} +1 -1
  99. package/web/dist/assets/{workflows-DpRgaKR7.js → workflows-BhQJM4JW.js} +1 -1
  100. package/web/dist/assets/{workspace-tools-D6UQj5mq.js → workspace-tools-BZs10pQZ.js} +1 -1
  101. package/web/dist/assets/{worktrees-section-DXMfub26.js → worktrees-section-BTNZUVnW.js} +1 -1
  102. package/web/dist/index.html +8 -8
  103. package/web/dist/assets/queries-dOBokhuR.js +0 -1
  104. package/web/dist/assets/session-context-section-DBB1qz9r.js +0 -119
@@ -158,6 +158,29 @@ 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
+ } | {
161
184
  output: {
162
185
  generatedAt: string;
163
186
  projects: {
@@ -404,29 +427,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
404
427
  project?: string | undefined;
405
428
  };
406
429
  };
407
- } | {
408
- output: {
409
- error: string;
410
- code?: "invalid_input" | undefined;
411
- };
412
- outputFormat: "json";
413
- status: 400;
414
- input: {
415
- query: {
416
- project?: string | undefined;
417
- };
418
- };
419
- } | {
420
- output: {
421
- error: string;
422
- };
423
- outputFormat: "json";
424
- status: 404 | 409 | 503;
425
- input: {
426
- query: {
427
- project?: string | undefined;
428
- };
429
- };
430
430
  };
431
431
  };
432
432
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -444,18 +444,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
444
444
  profileId?: string | undefined;
445
445
  };
446
446
  };
447
- } | {
448
- output: {
449
- error: string;
450
- };
451
- outputFormat: "json";
452
- status: 400;
453
- input: {
454
- query: {
455
- runner: string | string[];
456
- profileId?: string | undefined;
457
- };
458
- };
459
447
  } | {
460
448
  output: {
461
449
  runner: string;
@@ -477,6 +465,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
477
465
  profileId?: string | undefined;
478
466
  };
479
467
  };
468
+ } | {
469
+ output: {
470
+ error: string;
471
+ };
472
+ outputFormat: "json";
473
+ status: 400;
474
+ input: {
475
+ query: {
476
+ runner: string | string[];
477
+ profileId?: string | undefined;
478
+ };
479
+ };
480
480
  };
481
481
  };
482
482
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -496,17 +496,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
496
496
  };
497
497
  } | {
498
498
  output: {
499
- path: string;
500
- parent: string | null;
501
- dirs: {
502
- name: string;
503
- path: string;
504
- isRepo: boolean;
505
- }[];
506
- truncated: boolean;
499
+ error: string;
507
500
  };
508
501
  outputFormat: "json";
509
- status: import("hono/utils/http-status").ContentfulStatusCode;
502
+ status: 400 | 403 | 404;
510
503
  input: {
511
504
  query: {
512
505
  path?: string | undefined;
@@ -515,10 +508,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
515
508
  };
516
509
  } | {
517
510
  output: {
518
- error: string;
511
+ path: string;
512
+ parent: string | null;
513
+ dirs: {
514
+ name: string;
515
+ path: string;
516
+ isRepo: boolean;
517
+ }[];
518
+ truncated: boolean;
519
519
  };
520
520
  outputFormat: "json";
521
- status: 400 | 403 | 404;
521
+ status: import("hono/utils/http-status").ContentfulStatusCode;
522
522
  input: {
523
523
  query: {
524
524
  path?: string | undefined;
@@ -530,21 +530,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
530
530
  }, "/"> | import("hono/types").MergeSchemaPath<{
531
531
  "/workspace/events": {
532
532
  $get: {
533
- output: {
534
- error: string;
535
- code?: "invalid_input" | undefined;
536
- };
537
- outputFormat: "json";
538
- status: 400;
533
+ output: {};
534
+ outputFormat: string;
535
+ status: import("hono/utils/http-status").StatusCode;
539
536
  input: {
540
537
  query: {
541
538
  runs?: "summary" | undefined;
542
539
  };
543
540
  };
544
541
  } | {
545
- output: {};
546
- outputFormat: string;
547
- status: import("hono/utils/http-status").StatusCode;
542
+ output: {
543
+ error: string;
544
+ code?: "invalid_input" | undefined;
545
+ };
546
+ outputFormat: "json";
547
+ status: 400;
548
548
  input: {
549
549
  query: {
550
550
  runs?: "summary" | undefined;
@@ -613,17 +613,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
613
613
  }, "/"> | import("hono/types").MergeSchemaPath<{
614
614
  "/automation-checks/:checkId": {
615
615
  $get: {
616
- output: {
617
- error: string;
618
- };
619
- outputFormat: "json";
620
- status: 404;
621
- input: {
622
- param: {
623
- checkId: string;
624
- };
625
- };
626
- } | {
627
616
  output: {
628
617
  id: string;
629
618
  automationId: string;
@@ -642,6 +631,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
642
631
  checkId: string;
643
632
  };
644
633
  };
634
+ } | {
635
+ output: {
636
+ error: string;
637
+ };
638
+ outputFormat: "json";
639
+ status: 404;
640
+ input: {
641
+ param: {
642
+ checkId: string;
643
+ };
644
+ };
645
645
  };
646
646
  };
647
647
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -1006,10 +1006,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1006
1006
  };
1007
1007
  } | {
1008
1008
  output: {
1009
- error: string;
1009
+ providers: {
1010
+ requiresAccountHome?: boolean | undefined;
1011
+ provider: string;
1012
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1013
+ enabled?: boolean | undefined;
1014
+ hint?: string | undefined;
1015
+ authFailureId?: string | undefined;
1016
+ profileId?: string | undefined;
1017
+ }[];
1010
1018
  };
1011
1019
  outputFormat: "json";
1012
- status: 500;
1020
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1013
1021
  input: {
1014
1022
  param: {
1015
1023
  provider: string;
@@ -1021,18 +1029,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1021
1029
  };
1022
1030
  } | {
1023
1031
  output: {
1024
- providers: {
1025
- requiresAccountHome?: boolean | undefined;
1026
- provider: string;
1027
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1028
- enabled?: boolean | undefined;
1029
- hint?: string | undefined;
1030
- authFailureId?: string | undefined;
1031
- profileId?: string | undefined;
1032
- }[];
1032
+ error: string;
1033
1033
  };
1034
1034
  outputFormat: "json";
1035
- status: import("hono/utils/http-status").ContentfulStatusCode;
1035
+ status: 500;
1036
1036
  input: {
1037
1037
  param: {
1038
1038
  provider: string;
@@ -1064,10 +1064,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1064
1064
  };
1065
1065
  } | {
1066
1066
  output: {
1067
- error: string;
1067
+ providers: {
1068
+ requiresAccountHome?: boolean | undefined;
1069
+ provider: string;
1070
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1071
+ enabled?: boolean | undefined;
1072
+ hint?: string | undefined;
1073
+ authFailureId?: string | undefined;
1074
+ profileId?: string | undefined;
1075
+ }[];
1068
1076
  };
1069
1077
  outputFormat: "json";
1070
- status: 409;
1078
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1071
1079
  input: {
1072
1080
  param: {
1073
1081
  provider: string;
@@ -1079,18 +1087,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1079
1087
  };
1080
1088
  } | {
1081
1089
  output: {
1082
- providers: {
1083
- requiresAccountHome?: boolean | undefined;
1084
- provider: string;
1085
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1086
- enabled?: boolean | undefined;
1087
- hint?: string | undefined;
1088
- authFailureId?: string | undefined;
1089
- profileId?: string | undefined;
1090
- }[];
1090
+ error: string;
1091
1091
  };
1092
1092
  outputFormat: "json";
1093
- status: import("hono/utils/http-status").ContentfulStatusCode;
1093
+ status: 409;
1094
1094
  input: {
1095
1095
  param: {
1096
1096
  provider: string;
@@ -1109,7 +1109,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1109
1109
  error: string;
1110
1110
  };
1111
1111
  outputFormat: "json";
1112
- status: 400;
1112
+ status: 409;
1113
1113
  input: {
1114
1114
  json: {
1115
1115
  provider: string;
@@ -1121,7 +1121,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1121
1121
  error: string;
1122
1122
  };
1123
1123
  outputFormat: "json";
1124
- status: 409;
1124
+ status: 400;
1125
1125
  input: {
1126
1126
  json: {
1127
1127
  provider: string;
@@ -1208,39 +1208,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1208
1208
  "/workspace/config": {
1209
1209
  $put: {
1210
1210
  output: {
1211
- error: string;
1212
- };
1213
- outputFormat: "json";
1214
- status: 400;
1215
- input: {
1216
- json: {
1217
- browseRoot?: string | undefined;
1218
- projectsDir?: string | undefined;
1219
- archiveOnMerge?: boolean | null | undefined;
1220
- composerDefaults?: {
1221
- autonomous?: boolean | null | undefined;
1222
- worktree?: boolean | null | undefined;
1223
- } | undefined;
1224
- agentDefaults?: {
1225
- runner?: string | null | undefined;
1226
- models?: Record<string, string | null | undefined> | undefined;
1227
- } | undefined;
1228
- resources?: {
1229
- maxParallel?: number | undefined;
1230
- maxMonitoringSessions?: number | undefined;
1231
- monitoringWakeIntervalMinutes?: number | null | undefined;
1232
- autoResumeOnUsageLimit?: boolean | undefined;
1233
- memoryLimitMb?: number | null | undefined;
1234
- worktreeRetentionDefault?: number | undefined;
1211
+ browseRoot: string;
1212
+ projectsDir: string;
1213
+ archiveOnMerge: boolean | null;
1214
+ effectiveArchiveOnMerge: boolean;
1215
+ archiveOnMergeSource: "default" | "environment" | "global";
1216
+ composerDefaults: {
1217
+ autonomous: boolean | null;
1218
+ worktree: boolean | null;
1219
+ inheritedAutonomous: "source-dependent" | boolean;
1220
+ inheritedWorktree: boolean;
1221
+ };
1222
+ resources: {
1223
+ maxParallel: number;
1224
+ maxMonitoringSessions: number;
1225
+ monitoringWakeIntervalMinutes: number | null;
1226
+ autoResumeOnUsageLimit: boolean;
1227
+ memoryLimitMb: number | null;
1228
+ worktreeRetentionDefault: number;
1229
+ };
1230
+ agentDefaults: {
1231
+ runner?: string | undefined;
1232
+ models?: {
1233
+ [x: string]: string | undefined;
1235
1234
  } | undefined;
1236
1235
  };
1237
1236
  };
1238
- } | {
1239
- output: {
1240
- error: string;
1241
- };
1242
1237
  outputFormat: "json";
1243
- status: 500;
1238
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1244
1239
  input: {
1245
1240
  json: {
1246
1241
  browseRoot?: string | undefined;
@@ -1266,34 +1261,39 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1266
1261
  };
1267
1262
  } | {
1268
1263
  output: {
1269
- browseRoot: string;
1270
- projectsDir: string;
1271
- archiveOnMerge: boolean | null;
1272
- effectiveArchiveOnMerge: boolean;
1273
- archiveOnMergeSource: "default" | "environment" | "global";
1274
- composerDefaults: {
1275
- autonomous: boolean | null;
1276
- worktree: boolean | null;
1277
- inheritedAutonomous: "source-dependent" | boolean;
1278
- inheritedWorktree: boolean;
1279
- };
1280
- resources: {
1281
- maxParallel: number;
1282
- maxMonitoringSessions: number;
1283
- monitoringWakeIntervalMinutes: number | null;
1284
- autoResumeOnUsageLimit: boolean;
1285
- memoryLimitMb: number | null;
1286
- worktreeRetentionDefault: number;
1287
- };
1288
- agentDefaults: {
1289
- runner?: string | undefined;
1290
- models?: {
1291
- [x: string]: string | undefined;
1292
- } | undefined;
1293
- };
1264
+ error: string;
1294
1265
  };
1295
1266
  outputFormat: "json";
1296
- status: import("hono/utils/http-status").ContentfulStatusCode;
1267
+ status: 400;
1268
+ input: {
1269
+ json: {
1270
+ browseRoot?: string | undefined;
1271
+ projectsDir?: string | undefined;
1272
+ archiveOnMerge?: boolean | null | undefined;
1273
+ composerDefaults?: {
1274
+ autonomous?: boolean | null | undefined;
1275
+ worktree?: boolean | null | undefined;
1276
+ } | undefined;
1277
+ agentDefaults?: {
1278
+ runner?: string | null | undefined;
1279
+ models?: Record<string, string | null | undefined> | undefined;
1280
+ } | undefined;
1281
+ resources?: {
1282
+ maxParallel?: number | undefined;
1283
+ maxMonitoringSessions?: number | undefined;
1284
+ monitoringWakeIntervalMinutes?: number | null | undefined;
1285
+ autoResumeOnUsageLimit?: boolean | undefined;
1286
+ memoryLimitMb?: number | null | undefined;
1287
+ worktreeRetentionDefault?: number | undefined;
1288
+ } | undefined;
1289
+ };
1290
+ };
1291
+ } | {
1292
+ output: {
1293
+ error: string;
1294
+ };
1295
+ outputFormat: "json";
1296
+ status: 500;
1297
1297
  input: {
1298
1298
  json: {
1299
1299
  browseRoot?: string | undefined;
@@ -1365,10 +1365,41 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1365
1365
  "/workspace/ui-state": {
1366
1366
  $put: {
1367
1367
  output: {
1368
- error: string;
1368
+ [x: string]: import("hono/utils/types").JSONValue;
1369
+ sidebar?: {
1370
+ [x: string]: import("hono/utils/types").JSONValue;
1371
+ collapsed?: {
1372
+ [x: string]: boolean;
1373
+ } | undefined;
1374
+ projectOrder?: string[] | undefined;
1375
+ } | undefined;
1376
+ dismissedProviderAuthFailures?: {
1377
+ [x: string]: string | undefined;
1378
+ } | undefined;
1379
+ appearance?: {
1380
+ accent?: "cezarion" | "lime" | "violet" | undefined;
1381
+ density?: "comfortable" | "compact" | "ultra" | undefined;
1382
+ width?: "narrow" | "wide" | undefined;
1383
+ } | undefined;
1384
+ notifications?: {
1385
+ [x: string]: import("hono/utils/types").JSONValue;
1386
+ enabled?: boolean | undefined;
1387
+ } | undefined;
1388
+ taskTable?: {
1389
+ [x: string]: import("hono/utils/types").JSONValue;
1390
+ expandedColumns?: {
1391
+ [x: string]: boolean;
1392
+ } | undefined;
1393
+ } | undefined;
1394
+ lastLocation?: {
1395
+ projectId: string;
1396
+ pathname: string;
1397
+ search?: string | undefined;
1398
+ hash?: string | undefined;
1399
+ } | undefined;
1369
1400
  };
1370
1401
  outputFormat: "json";
1371
- status: 500;
1402
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1372
1403
  input: {
1373
1404
  json: {
1374
1405
  [x: string]: unknown;
@@ -1401,41 +1432,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1401
1432
  };
1402
1433
  } | {
1403
1434
  output: {
1404
- [x: string]: import("hono/utils/types").JSONValue;
1405
- sidebar?: {
1406
- [x: string]: import("hono/utils/types").JSONValue;
1407
- collapsed?: {
1408
- [x: string]: boolean;
1409
- } | undefined;
1410
- projectOrder?: string[] | undefined;
1411
- } | undefined;
1412
- dismissedProviderAuthFailures?: {
1413
- [x: string]: string | undefined;
1414
- } | undefined;
1415
- appearance?: {
1416
- accent?: "cezarion" | "lime" | "violet" | undefined;
1417
- density?: "comfortable" | "compact" | "ultra" | undefined;
1418
- width?: "narrow" | "wide" | undefined;
1419
- } | undefined;
1420
- notifications?: {
1421
- [x: string]: import("hono/utils/types").JSONValue;
1422
- enabled?: boolean | undefined;
1423
- } | undefined;
1424
- taskTable?: {
1425
- [x: string]: import("hono/utils/types").JSONValue;
1426
- expandedColumns?: {
1427
- [x: string]: boolean;
1428
- } | undefined;
1429
- } | undefined;
1430
- lastLocation?: {
1431
- projectId: string;
1432
- pathname: string;
1433
- search?: string | undefined;
1434
- hash?: string | undefined;
1435
- } | undefined;
1435
+ error: string;
1436
1436
  };
1437
1437
  outputFormat: "json";
1438
- status: import("hono/utils/http-status").ContentfulStatusCode;
1438
+ status: 500;
1439
1439
  input: {
1440
1440
  json: {
1441
1441
  [x: string]: unknown;
@@ -1475,7 +1475,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1475
1475
  error: string;
1476
1476
  };
1477
1477
  outputFormat: "json";
1478
- status: 400;
1478
+ status: 409;
1479
1479
  input: {
1480
1480
  json: {
1481
1481
  provider: string;
@@ -1487,7 +1487,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1487
1487
  error: string;
1488
1488
  };
1489
1489
  outputFormat: "json";
1490
- status: 409;
1490
+ status: 400;
1491
1491
  input: {
1492
1492
  json: {
1493
1493
  provider: string;
@@ -1730,28 +1730,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1730
1730
  "/workspace/agent-profiles": {
1731
1731
  $post: {
1732
1732
  output: {
1733
- profile: {
1734
- id: string;
1735
- provider: string;
1736
- label: string;
1737
- configDir?: string | undefined;
1738
- path?: string | undefined;
1739
- exists: boolean;
1740
- looksValid: boolean;
1741
- isDefault: boolean;
1742
- status?: {
1743
- requiresAccountHome?: boolean | undefined;
1744
- provider: string;
1745
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1746
- enabled?: boolean | undefined;
1747
- hint?: string | undefined;
1748
- authFailureId?: string | undefined;
1749
- profileId?: string | undefined;
1750
- } | undefined;
1751
- };
1733
+ error: string;
1752
1734
  };
1753
1735
  outputFormat: "json";
1754
- status: 201;
1736
+ status: 409;
1755
1737
  input: {
1756
1738
  json: {
1757
1739
  provider: string;
@@ -1777,7 +1759,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1777
1759
  error: string;
1778
1760
  };
1779
1761
  outputFormat: "json";
1780
- status: 409;
1762
+ status: 500;
1781
1763
  input: {
1782
1764
  json: {
1783
1765
  provider: string;
@@ -1787,10 +1769,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1787
1769
  };
1788
1770
  } | {
1789
1771
  output: {
1790
- error: string;
1772
+ profile: {
1773
+ id: string;
1774
+ provider: string;
1775
+ label: string;
1776
+ configDir?: string | undefined;
1777
+ path?: string | undefined;
1778
+ exists: boolean;
1779
+ looksValid: boolean;
1780
+ isDefault: boolean;
1781
+ status?: {
1782
+ requiresAccountHome?: boolean | undefined;
1783
+ provider: string;
1784
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1785
+ enabled?: boolean | undefined;
1786
+ hint?: string | undefined;
1787
+ authFailureId?: string | undefined;
1788
+ profileId?: string | undefined;
1789
+ } | undefined;
1790
+ };
1791
1791
  };
1792
1792
  outputFormat: "json";
1793
- status: 500;
1793
+ status: 201;
1794
1794
  input: {
1795
1795
  json: {
1796
1796
  provider: string;
@@ -1824,7 +1824,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1824
1824
  error: string;
1825
1825
  };
1826
1826
  outputFormat: "json";
1827
- status: 400;
1827
+ status: 409;
1828
1828
  input: {
1829
1829
  param: {
1830
1830
  id: string;
@@ -1840,7 +1840,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1840
1840
  error: string;
1841
1841
  };
1842
1842
  outputFormat: "json";
1843
- status: 404;
1843
+ status: 400;
1844
1844
  input: {
1845
1845
  param: {
1846
1846
  id: string;
@@ -1856,7 +1856,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1856
1856
  error: string;
1857
1857
  };
1858
1858
  outputFormat: "json";
1859
- status: 409;
1859
+ status: 404;
1860
1860
  input: {
1861
1861
  param: {
1862
1862
  id: string;
@@ -1984,7 +1984,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1984
1984
  error: string;
1985
1985
  };
1986
1986
  outputFormat: "json";
1987
- status: 400;
1987
+ status: 404;
1988
1988
  input: {
1989
1989
  json: {
1990
1990
  projectId: string;
@@ -1997,7 +1997,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1997
1997
  error: string;
1998
1998
  };
1999
1999
  outputFormat: "json";
2000
- status: 404;
2000
+ status: 400;
2001
2001
  input: {
2002
2002
  json: {
2003
2003
  projectId: string;
@@ -2061,7 +2061,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2061
2061
  error: string;
2062
2062
  };
2063
2063
  outputFormat: "json";
2064
- status: 404;
2064
+ status: 409;
2065
2065
  input: {
2066
2066
  param: {
2067
2067
  id: string;
@@ -2072,7 +2072,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2072
2072
  error: string;
2073
2073
  };
2074
2074
  outputFormat: "json";
2075
- status: 409;
2075
+ status: 500;
2076
2076
  input: {
2077
2077
  param: {
2078
2078
  id: string;
@@ -2083,7 +2083,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2083
2083
  error: string;
2084
2084
  };
2085
2085
  outputFormat: "json";
2086
- status: 500;
2086
+ status: 404;
2087
2087
  input: {
2088
2088
  param: {
2089
2089
  id: string;
@@ -2147,6 +2147,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2147
2147
  } & {
2148
2148
  "/projects": {
2149
2149
  $post: {
2150
+ output: {
2151
+ error: string;
2152
+ };
2153
+ outputFormat: "json";
2154
+ status: 400 | 500;
2155
+ input: {
2156
+ json: {
2157
+ root: string;
2158
+ };
2159
+ };
2160
+ } | {
2150
2161
  output: {
2151
2162
  project: {
2152
2163
  id: string;
@@ -2177,10 +2188,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2177
2188
  agent: boolean;
2178
2189
  }[] | undefined;
2179
2190
  };
2180
- error?: string | undefined;
2191
+ error: string;
2181
2192
  };
2182
2193
  outputFormat: "json";
2183
- status: 200;
2194
+ status: 409;
2184
2195
  input: {
2185
2196
  json: {
2186
2197
  root: string;
@@ -2217,21 +2228,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2217
2228
  agent: boolean;
2218
2229
  }[] | undefined;
2219
2230
  };
2220
- error: string;
2221
- };
2222
- outputFormat: "json";
2223
- status: 409;
2224
- input: {
2225
- json: {
2226
- root: string;
2227
- };
2228
- };
2229
- } | {
2230
- output: {
2231
- error: string;
2231
+ error?: string | undefined;
2232
2232
  };
2233
2233
  outputFormat: "json";
2234
- status: 400 | 500;
2234
+ status: 200;
2235
2235
  input: {
2236
2236
  json: {
2237
2237
  root: string;
@@ -2390,7 +2390,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2390
2390
  error: string;
2391
2391
  };
2392
2392
  outputFormat: "json";
2393
- status: 400;
2393
+ status: 404;
2394
2394
  input: {
2395
2395
  param: {
2396
2396
  projectId: string;
@@ -2401,7 +2401,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2401
2401
  error: string;
2402
2402
  };
2403
2403
  outputFormat: "json";
2404
- status: 404;
2404
+ status: 400;
2405
2405
  input: {
2406
2406
  param: {
2407
2407
  projectId: string;
@@ -2426,6 +2426,27 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2426
2426
  } & {
2427
2427
  "/projects/:projectId/webhooks": {
2428
2428
  $post: {
2429
+ output: {
2430
+ error: string;
2431
+ };
2432
+ outputFormat: "json";
2433
+ status: 400 | 404 | 409 | 500;
2434
+ input: {
2435
+ json: {
2436
+ name: string;
2437
+ description?: string | undefined;
2438
+ url: string;
2439
+ token?: string | undefined;
2440
+ tasks?: boolean | undefined;
2441
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2442
+ agent?: boolean | undefined;
2443
+ };
2444
+ } & {
2445
+ param: {
2446
+ projectId: string;
2447
+ };
2448
+ };
2449
+ } | {
2429
2450
  output: {
2430
2451
  project: {
2431
2452
  id: string;
@@ -2484,27 +2505,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2484
2505
  projectId: string;
2485
2506
  };
2486
2507
  };
2487
- } | {
2488
- output: {
2489
- error: string;
2490
- };
2491
- outputFormat: "json";
2492
- status: 400 | 404 | 409 | 500;
2493
- input: {
2494
- json: {
2495
- name: string;
2496
- description?: string | undefined;
2497
- url: string;
2498
- token?: string | undefined;
2499
- tasks?: boolean | undefined;
2500
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2501
- agent?: boolean | undefined;
2502
- };
2503
- } & {
2504
- param: {
2505
- projectId: string;
2506
- };
2507
- };
2508
2508
  };
2509
2509
  };
2510
2510
  } & {
@@ -2702,10 +2702,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2702
2702
  };
2703
2703
  } | {
2704
2704
  output: {
2705
- error: string;
2705
+ ok: boolean;
2706
+ status?: number | undefined;
2707
+ error?: string | undefined;
2708
+ dryRun?: boolean | undefined;
2706
2709
  };
2707
2710
  outputFormat: "json";
2708
- status: 404;
2711
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2709
2712
  input: {
2710
2713
  param: {
2711
2714
  projectId: string;
@@ -2714,13 +2717,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2714
2717
  };
2715
2718
  } | {
2716
2719
  output: {
2717
- ok: boolean;
2718
- status?: number | undefined;
2719
- error?: string | undefined;
2720
- dryRun?: boolean | undefined;
2720
+ error: string;
2721
2721
  };
2722
2722
  outputFormat: "json";
2723
- status: import("hono/utils/http-status").ContentfulStatusCode;
2723
+ status: 404;
2724
2724
  input: {
2725
2725
  param: {
2726
2726
  projectId: string;
@@ -2960,6 +2960,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2960
2960
  } & {
2961
2961
  "/runner-install/:runner": {
2962
2962
  $post: {
2963
+ output: {
2964
+ error: string;
2965
+ code?: "invalid_input" | undefined;
2966
+ };
2967
+ outputFormat: "json";
2968
+ status: 400;
2969
+ input: {
2970
+ param: {
2971
+ runner: string;
2972
+ };
2973
+ } & {
2974
+ json: {
2975
+ action: "check" | "install" | "remove" | "update";
2976
+ };
2977
+ };
2978
+ } | {
2963
2979
  output: {
2964
2980
  supported: boolean;
2965
2981
  installedVersion: string | null;
@@ -2979,22 +2995,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2979
2995
  action: "check" | "install" | "remove" | "update";
2980
2996
  };
2981
2997
  };
2982
- } | {
2983
- output: {
2984
- error: string;
2985
- code?: "invalid_input" | undefined;
2986
- };
2987
- outputFormat: "json";
2988
- status: 400;
2989
- input: {
2990
- param: {
2991
- runner: string;
2992
- };
2993
- } & {
2994
- json: {
2995
- action: "check" | "install" | "remove" | "update";
2996
- };
2997
- };
2998
2998
  } | {
2999
2999
  output: {
3000
3000
  error: string;
@@ -3342,6 +3342,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3342
3342
  }, "/"> | import("hono/types").MergeSchemaPath<{
3343
3343
  "/plan": {
3344
3344
  $post: {
3345
+ output: {
3346
+ error: string;
3347
+ };
3348
+ outputFormat: "json";
3349
+ status: 400 | 404 | 409;
3350
+ input: {
3351
+ json: {
3352
+ task: string;
3353
+ agentProfile?: string | undefined;
3354
+ };
3355
+ };
3356
+ } | {
3345
3357
  output: {
3346
3358
  name?: string;
3347
3359
  steps: {
@@ -3378,18 +3390,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3378
3390
  agentProfile?: string | undefined;
3379
3391
  };
3380
3392
  };
3381
- } | {
3382
- output: {
3383
- error: string;
3384
- };
3385
- outputFormat: "json";
3386
- status: 400 | 404 | 409;
3387
- input: {
3388
- json: {
3389
- task: string;
3390
- agentProfile?: string | undefined;
3391
- };
3392
- };
3393
3393
  };
3394
3394
  };
3395
3395
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -3433,7 +3433,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3433
3433
  error: string;
3434
3434
  };
3435
3435
  outputFormat: "json";
3436
- status: 400;
3436
+ status: 409;
3437
3437
  input: {
3438
3438
  query: {
3439
3439
  q?: string | undefined;
@@ -3446,7 +3446,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3446
3446
  error: string;
3447
3447
  };
3448
3448
  outputFormat: "json";
3449
- status: 409;
3449
+ status: 400;
3450
3450
  input: {
3451
3451
  query: {
3452
3452
  q?: string | undefined;
@@ -3502,7 +3502,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3502
3502
  error: string;
3503
3503
  };
3504
3504
  outputFormat: "json";
3505
- status: 400;
3505
+ status: 409;
3506
3506
  input: {
3507
3507
  json: {
3508
3508
  target: string;
@@ -3513,7 +3513,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3513
3513
  error: string;
3514
3514
  };
3515
3515
  outputFormat: "json";
3516
- status: 409;
3516
+ status: 400;
3517
3517
  input: {
3518
3518
  json: {
3519
3519
  target: string;
@@ -3580,10 +3580,42 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3580
3580
  "/ui-state": {
3581
3581
  $put: {
3582
3582
  output: {
3583
- error: string;
3583
+ [x: string]: import("hono/utils/types").JSONValue;
3584
+ sidebarLimits?: {
3585
+ overall?: number | null | undefined;
3586
+ needsYou?: number | null | undefined;
3587
+ finished?: number | null | undefined;
3588
+ working?: number | null | undefined;
3589
+ } | undefined;
3590
+ lastTask?: {
3591
+ source: "skill" | "workflow";
3592
+ ref: string;
3593
+ } | null | undefined;
3594
+ recentSources?: {
3595
+ source: "skill" | "workflow";
3596
+ ref: string;
3597
+ }[] | undefined;
3598
+ lastWorktree?: boolean | undefined;
3599
+ lastAutonomous?: boolean | undefined;
3600
+ skillUsage?: {
3601
+ [x: string]: number;
3602
+ } | undefined;
3603
+ runsView?: "list" | "table" | undefined;
3604
+ githubView?: "issues" | "prs" | undefined;
3605
+ appearance?: {
3606
+ accent?: "cezarion" | "lime" | "violet" | undefined;
3607
+ density?: "comfortable" | "compact" | "ultra" | undefined;
3608
+ width?: "narrow" | "wide" | undefined;
3609
+ } | undefined;
3610
+ promptTemplates?: {
3611
+ id: string;
3612
+ label: string;
3613
+ text: string;
3614
+ skills?: string[] | undefined;
3615
+ }[] | undefined;
3584
3616
  };
3585
3617
  outputFormat: "json";
3586
- status: 500;
3618
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3587
3619
  input: {
3588
3620
  json: {
3589
3621
  [x: string]: unknown;
@@ -3621,42 +3653,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3621
3653
  };
3622
3654
  } | {
3623
3655
  output: {
3624
- [x: string]: import("hono/utils/types").JSONValue;
3625
- sidebarLimits?: {
3626
- overall?: number | null | undefined;
3627
- needsYou?: number | null | undefined;
3628
- finished?: number | null | undefined;
3629
- working?: number | null | undefined;
3630
- } | undefined;
3631
- lastTask?: {
3632
- source: "skill" | "workflow";
3633
- ref: string;
3634
- } | null | undefined;
3635
- recentSources?: {
3636
- source: "skill" | "workflow";
3637
- ref: string;
3638
- }[] | undefined;
3639
- lastWorktree?: boolean | undefined;
3640
- lastAutonomous?: boolean | undefined;
3641
- skillUsage?: {
3642
- [x: string]: number;
3643
- } | undefined;
3644
- runsView?: "list" | "table" | undefined;
3645
- githubView?: "issues" | "prs" | undefined;
3646
- appearance?: {
3647
- accent?: "cezarion" | "lime" | "violet" | undefined;
3648
- density?: "comfortable" | "compact" | "ultra" | undefined;
3649
- width?: "narrow" | "wide" | undefined;
3650
- } | undefined;
3651
- promptTemplates?: {
3652
- id: string;
3653
- label: string;
3654
- text: string;
3655
- skills?: string[] | undefined;
3656
- }[] | undefined;
3656
+ error: string;
3657
3657
  };
3658
3658
  outputFormat: "json";
3659
- status: import("hono/utils/http-status").ContentfulStatusCode;
3659
+ status: 500;
3660
3660
  input: {
3661
3661
  json: {
3662
3662
  [x: string]: unknown;
@@ -3697,12 +3697,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3697
3697
  }, "/"> | import("hono/types").MergeSchemaPath<{
3698
3698
  "/runs/:id/events": {
3699
3699
  $get: {
3700
- output: {
3701
- error: string;
3702
- code?: "invalid_input" | undefined;
3703
- };
3704
- outputFormat: "json";
3705
- status: 400;
3700
+ output: {};
3701
+ outputFormat: string;
3702
+ status: import("hono/utils/http-status").StatusCode;
3706
3703
  input: {
3707
3704
  param: {
3708
3705
  id: string;
@@ -3714,9 +3711,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3714
3711
  };
3715
3712
  };
3716
3713
  } | {
3717
- output: {};
3718
- outputFormat: string;
3719
- status: import("hono/utils/http-status").StatusCode;
3714
+ output: {
3715
+ error: string;
3716
+ code?: "invalid_input" | undefined;
3717
+ };
3718
+ outputFormat: "json";
3719
+ status: 400;
3720
3720
  input: {
3721
3721
  param: {
3722
3722
  id: string;
@@ -3777,10 +3777,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3777
3777
  "/config": {
3778
3778
  $put: {
3779
3779
  output: {
3780
- error: string;
3780
+ archiveOnMerge: boolean | null;
3781
+ effectiveArchiveOnMerge: boolean;
3782
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
3783
+ baseBranch: string | null;
3784
+ defaultRunner: string;
3785
+ systemPrompt: string | null;
3786
+ defaultModels: {
3787
+ [x: string]: string | undefined;
3788
+ };
3789
+ modelsLocked: boolean;
3790
+ maxParallel: number;
3791
+ memoryLimitMb: number | null;
3792
+ worktreeRetention: number;
3793
+ liveTitleUpdates: boolean | null;
3794
+ reviewGate: boolean | null;
3795
+ worktreeSetup: {
3796
+ commands: string[];
3797
+ timeoutSeconds: number;
3798
+ } | null;
3799
+ worktreeSetupIssue: string | null;
3800
+ worktreeTeardown: {
3801
+ commands: string[];
3802
+ timeoutSeconds: number;
3803
+ } | null;
3804
+ worktreeTeardownIssue: string | null;
3781
3805
  };
3782
3806
  outputFormat: "json";
3783
- status: 409;
3807
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3784
3808
  input: {
3785
3809
  json: {
3786
3810
  archiveOnMerge?: boolean | null | undefined;
@@ -3808,7 +3832,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3808
3832
  error: string;
3809
3833
  };
3810
3834
  outputFormat: "json";
3811
- status: 500;
3835
+ status: 409;
3812
3836
  input: {
3813
3837
  json: {
3814
3838
  archiveOnMerge?: boolean | null | undefined;
@@ -3833,34 +3857,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3833
3857
  };
3834
3858
  } | {
3835
3859
  output: {
3836
- archiveOnMerge: boolean | null;
3837
- effectiveArchiveOnMerge: boolean;
3838
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
3839
- baseBranch: string | null;
3840
- defaultRunner: string;
3841
- systemPrompt: string | null;
3842
- defaultModels: {
3843
- [x: string]: string | undefined;
3844
- };
3845
- modelsLocked: boolean;
3846
- maxParallel: number;
3847
- memoryLimitMb: number | null;
3848
- worktreeRetention: number;
3849
- liveTitleUpdates: boolean | null;
3850
- reviewGate: boolean | null;
3851
- worktreeSetup: {
3852
- commands: string[];
3853
- timeoutSeconds: number;
3854
- } | null;
3855
- worktreeSetupIssue: string | null;
3856
- worktreeTeardown: {
3857
- commands: string[];
3858
- timeoutSeconds: number;
3859
- } | null;
3860
- worktreeTeardownIssue: string | null;
3860
+ error: string;
3861
3861
  };
3862
3862
  outputFormat: "json";
3863
- status: import("hono/utils/http-status").ContentfulStatusCode;
3863
+ status: 500;
3864
3864
  input: {
3865
3865
  json: {
3866
3866
  archiveOnMerge?: boolean | null | undefined;
@@ -4021,11 +4021,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4021
4021
  };
4022
4022
  } | {
4023
4023
  output: {
4024
- runId: string;
4025
- worktreeReclaimedAt: string;
4024
+ error: string;
4026
4025
  };
4027
4026
  outputFormat: "json";
4028
- status: import("hono/utils/http-status").ContentfulStatusCode;
4027
+ status: 404 | 409;
4029
4028
  input: {
4030
4029
  param: {
4031
4030
  runId: string;
@@ -4033,10 +4032,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4033
4032
  };
4034
4033
  } | {
4035
4034
  output: {
4036
- error: string;
4035
+ runId: string;
4036
+ worktreeReclaimedAt: string;
4037
4037
  };
4038
4038
  outputFormat: "json";
4039
- status: 404 | 409;
4039
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4040
4040
  input: {
4041
4041
  param: {
4042
4042
  runId: string;
@@ -4132,10 +4132,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4132
4132
  "/agent-config/:id": {
4133
4133
  $put: {
4134
4134
  output: {
4135
- error: string;
4135
+ id: string;
4136
+ path: string;
4137
+ exists: boolean;
4138
+ content: string;
4139
+ version: string | null;
4136
4140
  };
4137
4141
  outputFormat: "json";
4138
- status: 404;
4142
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4139
4143
  input: {
4140
4144
  json: {
4141
4145
  content: string;
@@ -4148,14 +4152,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4148
4152
  };
4149
4153
  } | {
4150
4154
  output: {
4151
- id: string;
4152
- path: string;
4153
- exists: boolean;
4154
- content: string;
4155
- version: string | null;
4155
+ error: string;
4156
4156
  };
4157
4157
  outputFormat: "json";
4158
- status: import("hono/utils/http-status").ContentfulStatusCode;
4158
+ status: 404;
4159
4159
  input: {
4160
4160
  json: {
4161
4161
  content: string;
@@ -4188,21 +4188,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4188
4188
  "/session-context": {
4189
4189
  $get: {
4190
4190
  output: {
4191
- local: {
4192
- path: string;
4193
- exists: boolean;
4194
- content: string;
4195
- version: string | null;
4196
- writable: boolean;
4197
- readOnlyReason: string | null;
4198
- };
4199
- shared: {
4200
- path: string;
4201
- exists: boolean;
4202
- content: string;
4203
- tracked: boolean;
4204
- unreadableReason: string | null;
4205
- };
4191
+ path: string;
4192
+ exists: boolean;
4193
+ content: string;
4194
+ version: string | null;
4195
+ writable: boolean;
4196
+ readOnlyReason: string | null;
4206
4197
  };
4207
4198
  outputFormat: "json";
4208
4199
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -4220,10 +4211,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4220
4211
  }[];
4221
4212
  blocks: {
4222
4213
  id: string;
4223
- source: 'built-in' | import("../session-context.ts").SessionContextRuleSource;
4224
4214
  target: import("../session-context.ts").SessionContextRule['target'] | 'built-in' | null;
4225
4215
  status: import("../session-context.ts").SessionContextReportStatus | 'not-for-role';
4226
- overridesShared: boolean;
4227
4216
  bytes: number | null;
4228
4217
  reason: string | null;
4229
4218
  sources: string[];
@@ -4247,21 +4236,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4247
4236
  "/session-context": {
4248
4237
  $put: {
4249
4238
  output: {
4250
- local: {
4251
- path: string;
4252
- exists: boolean;
4253
- content: string;
4254
- version: string | null;
4255
- writable: boolean;
4256
- readOnlyReason: string | null;
4257
- };
4258
- shared: {
4259
- path: string;
4260
- exists: boolean;
4261
- content: string;
4262
- tracked: boolean;
4263
- unreadableReason: string | null;
4264
- };
4239
+ path: string;
4240
+ exists: boolean;
4241
+ content: string;
4242
+ version: string | null;
4243
+ writable: boolean;
4244
+ readOnlyReason: string | null;
4265
4245
  };
4266
4246
  outputFormat: "json";
4267
4247
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -4332,11 +4312,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4332
4312
  "/workflows": {
4333
4313
  $post: {
4334
4314
  output: {
4335
- path: string;
4336
- name: string;
4315
+ error: string;
4337
4316
  };
4338
4317
  outputFormat: "json";
4339
- status: 201;
4318
+ status: 400;
4340
4319
  input: {
4341
4320
  json: {
4342
4321
  name: string;
@@ -4369,9 +4348,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4369
4348
  } | {
4370
4349
  output: {
4371
4350
  error: string;
4351
+ exists: true;
4372
4352
  };
4373
4353
  outputFormat: "json";
4374
- status: 400;
4354
+ status: 409;
4375
4355
  input: {
4376
4356
  json: {
4377
4357
  name: string;
@@ -4404,10 +4384,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4404
4384
  } | {
4405
4385
  output: {
4406
4386
  error: string;
4407
- exists: true;
4408
4387
  };
4409
4388
  outputFormat: "json";
4410
- status: 409;
4389
+ status: 500;
4411
4390
  input: {
4412
4391
  json: {
4413
4392
  name: string;
@@ -4439,10 +4418,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4439
4418
  };
4440
4419
  } | {
4441
4420
  output: {
4442
- error: string;
4421
+ path: string;
4422
+ name: string;
4443
4423
  };
4444
4424
  outputFormat: "json";
4445
- status: 500;
4425
+ status: 201;
4446
4426
  input: {
4447
4427
  json: {
4448
4428
  name: string;
@@ -4478,11 +4458,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4478
4458
  "/workflows/:name": {
4479
4459
  $delete: {
4480
4460
  output: {
4481
- ok: true;
4482
- path: string;
4461
+ error: string;
4483
4462
  };
4484
4463
  outputFormat: "json";
4485
- status: import("hono/utils/http-status").ContentfulStatusCode;
4464
+ status: 400 | 404 | 409 | 500;
4486
4465
  input: {
4487
4466
  param: {
4488
4467
  name: string;
@@ -4490,10 +4469,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4490
4469
  };
4491
4470
  } | {
4492
4471
  output: {
4493
- error: string;
4472
+ ok: true;
4473
+ path: string;
4494
4474
  };
4495
4475
  outputFormat: "json";
4496
- status: 400 | 404 | 409 | 500;
4476
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4497
4477
  input: {
4498
4478
  param: {
4499
4479
  name: string;
@@ -4669,18 +4649,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4669
4649
  "/repo/branches/delete": {
4670
4650
  $post: {
4671
4651
  output: {
4672
- deleted: string[];
4652
+ error: string;
4673
4653
  refused: {
4674
4654
  name: string;
4675
4655
  reason: string;
4676
4656
  }[];
4677
- dropped?: {
4678
- sha: string;
4679
- subject: string;
4680
- }[] | undefined;
4681
4657
  };
4682
4658
  outputFormat: "json";
4683
- status: 200;
4659
+ status: 409;
4684
4660
  input: {
4685
4661
  json: {
4686
4662
  names: string[];
@@ -4689,14 +4665,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4689
4665
  };
4690
4666
  } | {
4691
4667
  output: {
4692
- error: string;
4668
+ deleted: string[];
4693
4669
  refused: {
4694
4670
  name: string;
4695
4671
  reason: string;
4696
4672
  }[];
4673
+ dropped?: {
4674
+ sha: string;
4675
+ subject: string;
4676
+ }[] | undefined;
4697
4677
  };
4698
4678
  outputFormat: "json";
4699
- status: 409;
4679
+ status: 200;
4700
4680
  input: {
4701
4681
  json: {
4702
4682
  names: string[];
@@ -4717,6 +4697,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4717
4697
  } & {
4718
4698
  "/repo/commit/:sha": {
4719
4699
  $get: {
4700
+ output: string;
4701
+ outputFormat: "text";
4702
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4703
+ input: {
4704
+ query: {
4705
+ structured?: string | undefined;
4706
+ };
4707
+ } & {
4708
+ param: {
4709
+ sha: string;
4710
+ };
4711
+ };
4712
+ } | {
4720
4713
  output: {
4721
4714
  error: string;
4722
4715
  code?: "invalid_input" | undefined;
@@ -4780,19 +4773,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4780
4773
  sha: string;
4781
4774
  };
4782
4775
  };
4783
- } | {
4784
- output: string;
4785
- outputFormat: "text";
4786
- status: import("hono/utils/http-status").ContentfulStatusCode;
4787
- input: {
4788
- query: {
4789
- structured?: string | undefined;
4790
- };
4791
- } & {
4792
- param: {
4793
- sha: string;
4794
- };
4795
- };
4796
4776
  };
4797
4777
  };
4798
4778
  } & {
@@ -4853,12 +4833,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4853
4833
  "/repo/pull": {
4854
4834
  $post: {
4855
4835
  output: {
4856
- branch: string;
4857
- pulled: true;
4858
- summary: string;
4836
+ error: string;
4859
4837
  };
4860
4838
  outputFormat: "json";
4861
- status: 200;
4839
+ status: 409;
4862
4840
  input: {
4863
4841
  json: {
4864
4842
  branch?: string | undefined;
@@ -4867,10 +4845,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4867
4845
  };
4868
4846
  } | {
4869
4847
  output: {
4870
- error: string;
4848
+ branch: string;
4849
+ pulled: true;
4850
+ summary: string;
4871
4851
  };
4872
4852
  outputFormat: "json";
4873
- status: 409;
4853
+ status: 200;
4874
4854
  input: {
4875
4855
  json: {
4876
4856
  branch?: string | undefined;
@@ -5829,18 +5809,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5829
5809
  "/automations": {
5830
5810
  $post: {
5831
5811
  output: {
5832
- automation: {
5833
- [x: string]: import("hono/utils/types").JSONValue;
5834
- id: string;
5835
- revision: number;
5812
+ error: string;
5813
+ };
5814
+ outputFormat: "json";
5815
+ status: 400 | 404 | 409;
5816
+ input: {
5817
+ json: {
5836
5818
  name: string;
5837
5819
  description?: string | undefined;
5838
- enabled: boolean;
5839
- kind: "github" | "schedule";
5820
+ enabled?: boolean | undefined;
5821
+ kind?: "github" | "schedule" | undefined;
5840
5822
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
5841
5823
  intervalSeconds?: number | undefined;
5842
5824
  filters?: {
5843
- [x: string]: import("hono/utils/types").JSONValue;
5825
+ [x: string]: unknown;
5844
5826
  includeExisting?: boolean | undefined;
5845
5827
  requireCurrentLabels?: boolean | undefined;
5846
5828
  authors?: string[] | undefined;
@@ -5849,11 +5831,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5849
5831
  anyLabels?: string[] | undefined;
5850
5832
  excludeLabels?: string[] | undefined;
5851
5833
  changedLabels?: string[] | undefined;
5852
- lookbackDays: number;
5853
- maxRecords: number;
5834
+ lookbackDays?: number | undefined;
5835
+ maxRecords?: number | undefined;
5854
5836
  } | undefined;
5855
5837
  schedule?: {
5856
- [x: string]: import("hono/utils/types").JSONValue;
5857
5838
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
5858
5839
  hour?: number | undefined;
5859
5840
  minute?: number | undefined;
@@ -5864,7 +5845,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5864
5845
  latestStartMinutes?: number | undefined;
5865
5846
  } | undefined;
5866
5847
  task: {
5867
- [x: string]: import("hono/utils/types").JSONValue;
5868
5848
  archiveWhenDone?: boolean | undefined;
5869
5849
  autoMergePr?: boolean | undefined;
5870
5850
  allowWorkers?: boolean | undefined;
@@ -5885,53 +5865,37 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5885
5865
  bashAllowlist?: string[] | undefined;
5886
5866
  kind?: "plugin" | undefined;
5887
5867
  pluginKind?: string | undefined;
5888
- config?: {
5889
- [x: string]: import("hono/utils/types").JSONValue;
5890
- } | undefined;
5868
+ config?: Record<string, unknown> | undefined;
5891
5869
  command?: string | undefined;
5892
5870
  onFail?: {
5893
5871
  retry: string;
5894
- max: number;
5872
+ max?: number | undefined;
5895
5873
  } | undefined;
5896
5874
  }[] | undefined;
5897
5875
  runner?: string | undefined;
5898
5876
  model?: string | undefined;
5899
5877
  effort?: string | undefined;
5900
- variants?: 1 | 2 | 3 | undefined;
5901
5878
  worktree?: boolean | undefined;
5902
5879
  autonomous?: boolean | undefined;
5903
5880
  systemPrompt?: string | undefined;
5904
5881
  };
5905
- archived?: {
5906
- [x: string]: import("hono/utils/types").JSONValue;
5907
- at: string;
5908
- outcome: "cancelled" | "launched";
5909
- runId?: string | undefined;
5910
- receiptId?: string | undefined;
5911
- trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
5912
- } | undefined;
5913
- createdAt: string;
5914
- updatedAt: string;
5882
+ enable?: boolean | undefined;
5915
5883
  };
5916
- once?: {
5917
- dueAt: string;
5918
- timeZone: string;
5919
- resolvedInstant: string;
5920
- note: string;
5921
- } | undefined;
5922
5884
  };
5923
- outputFormat: "json";
5924
- status: 201;
5925
- input: {
5926
- json: {
5885
+ } | {
5886
+ output: {
5887
+ automation: {
5888
+ [x: string]: import("hono/utils/types").JSONValue;
5889
+ id: string;
5890
+ revision: number;
5927
5891
  name: string;
5928
5892
  description?: string | undefined;
5929
- enabled?: boolean | undefined;
5930
- kind?: "github" | "schedule" | undefined;
5893
+ enabled: boolean;
5894
+ kind: "github" | "schedule";
5931
5895
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
5932
5896
  intervalSeconds?: number | undefined;
5933
5897
  filters?: {
5934
- [x: string]: unknown;
5898
+ [x: string]: import("hono/utils/types").JSONValue;
5935
5899
  includeExisting?: boolean | undefined;
5936
5900
  requireCurrentLabels?: boolean | undefined;
5937
5901
  authors?: string[] | undefined;
@@ -5940,10 +5904,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5940
5904
  anyLabels?: string[] | undefined;
5941
5905
  excludeLabels?: string[] | undefined;
5942
5906
  changedLabels?: string[] | undefined;
5943
- lookbackDays?: number | undefined;
5944
- maxRecords?: number | undefined;
5907
+ lookbackDays: number;
5908
+ maxRecords: number;
5945
5909
  } | undefined;
5946
5910
  schedule?: {
5911
+ [x: string]: import("hono/utils/types").JSONValue;
5947
5912
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
5948
5913
  hour?: number | undefined;
5949
5914
  minute?: number | undefined;
@@ -5954,6 +5919,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5954
5919
  latestStartMinutes?: number | undefined;
5955
5920
  } | undefined;
5956
5921
  task: {
5922
+ [x: string]: import("hono/utils/types").JSONValue;
5957
5923
  archiveWhenDone?: boolean | undefined;
5958
5924
  autoMergePr?: boolean | undefined;
5959
5925
  allowWorkers?: boolean | undefined;
@@ -5974,29 +5940,43 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5974
5940
  bashAllowlist?: string[] | undefined;
5975
5941
  kind?: "plugin" | undefined;
5976
5942
  pluginKind?: string | undefined;
5977
- config?: Record<string, unknown> | undefined;
5943
+ config?: {
5944
+ [x: string]: import("hono/utils/types").JSONValue;
5945
+ } | undefined;
5978
5946
  command?: string | undefined;
5979
5947
  onFail?: {
5980
5948
  retry: string;
5981
- max?: number | undefined;
5949
+ max: number;
5982
5950
  } | undefined;
5983
5951
  }[] | undefined;
5984
5952
  runner?: string | undefined;
5985
5953
  model?: string | undefined;
5986
5954
  effort?: string | undefined;
5955
+ variants?: 1 | 2 | 3 | undefined;
5987
5956
  worktree?: boolean | undefined;
5988
5957
  autonomous?: boolean | undefined;
5989
5958
  systemPrompt?: string | undefined;
5990
5959
  };
5991
- enable?: boolean | undefined;
5960
+ archived?: {
5961
+ [x: string]: import("hono/utils/types").JSONValue;
5962
+ at: string;
5963
+ outcome: "cancelled" | "launched";
5964
+ runId?: string | undefined;
5965
+ receiptId?: string | undefined;
5966
+ trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
5967
+ } | undefined;
5968
+ createdAt: string;
5969
+ updatedAt: string;
5992
5970
  };
5993
- };
5994
- } | {
5995
- output: {
5996
- error: string;
5971
+ once?: {
5972
+ dueAt: string;
5973
+ timeZone: string;
5974
+ resolvedInstant: string;
5975
+ note: string;
5976
+ } | undefined;
5997
5977
  };
5998
5978
  outputFormat: "json";
5999
- status: 400 | 404 | 409;
5979
+ status: 201;
6000
5980
  input: {
6001
5981
  json: {
6002
5982
  name: string;
@@ -6071,6 +6051,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6071
6051
  } & {
6072
6052
  "/automations/:id": {
6073
6053
  $get: {
6054
+ output: {
6055
+ error: string;
6056
+ };
6057
+ outputFormat: "json";
6058
+ status: 400 | 404 | 409;
6059
+ input: {
6060
+ param: {
6061
+ id: string;
6062
+ };
6063
+ };
6064
+ } | {
6074
6065
  output: {
6075
6066
  automation: {
6076
6067
  [x: string]: import("hono/utils/types").JSONValue;
@@ -6233,22 +6224,90 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6233
6224
  id: string;
6234
6225
  };
6235
6226
  };
6236
- } | {
6227
+ };
6228
+ };
6229
+ } & {
6230
+ "/automations/:id": {
6231
+ $put: {
6237
6232
  output: {
6238
6233
  error: string;
6239
6234
  };
6240
6235
  outputFormat: "json";
6241
6236
  status: 400 | 404 | 409;
6242
6237
  input: {
6238
+ json: {
6239
+ name: string;
6240
+ description?: string | undefined;
6241
+ enabled?: boolean | undefined;
6242
+ kind?: "github" | "schedule" | undefined;
6243
+ events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
6244
+ intervalSeconds?: number | undefined;
6245
+ filters?: {
6246
+ [x: string]: unknown;
6247
+ includeExisting?: boolean | undefined;
6248
+ requireCurrentLabels?: boolean | undefined;
6249
+ authors?: string[] | undefined;
6250
+ assignees?: string[] | undefined;
6251
+ allLabels?: string[] | undefined;
6252
+ anyLabels?: string[] | undefined;
6253
+ excludeLabels?: string[] | undefined;
6254
+ changedLabels?: string[] | undefined;
6255
+ lookbackDays?: number | undefined;
6256
+ maxRecords?: number | undefined;
6257
+ } | undefined;
6258
+ schedule?: {
6259
+ type: "daily" | "hours" | "once" | "weekdays" | "weekly";
6260
+ hour?: number | undefined;
6261
+ minute?: number | undefined;
6262
+ day?: number | undefined;
6263
+ every?: 1 | 2 | 3 | 4 | 6 | 8 | 12 | undefined;
6264
+ at?: string | undefined;
6265
+ timeZone?: string | undefined;
6266
+ latestStartMinutes?: number | undefined;
6267
+ } | undefined;
6268
+ task: {
6269
+ archiveWhenDone?: boolean | undefined;
6270
+ autoMergePr?: boolean | undefined;
6271
+ allowWorkers?: boolean | undefined;
6272
+ allowMessaging?: boolean | undefined;
6273
+ prompt: string;
6274
+ workflow?: string | undefined;
6275
+ steps?: {
6276
+ id: string;
6277
+ name?: string | undefined;
6278
+ prompt?: string | undefined;
6279
+ skill?: string | undefined;
6280
+ model?: string | undefined;
6281
+ effort?: string | undefined;
6282
+ timeoutMs?: number | undefined;
6283
+ runner?: string | undefined;
6284
+ agentProfile?: string | undefined;
6285
+ allowedTools?: string[] | undefined;
6286
+ bashAllowlist?: string[] | undefined;
6287
+ kind?: "plugin" | undefined;
6288
+ pluginKind?: string | undefined;
6289
+ config?: Record<string, unknown> | undefined;
6290
+ command?: string | undefined;
6291
+ onFail?: {
6292
+ retry: string;
6293
+ max?: number | undefined;
6294
+ } | undefined;
6295
+ }[] | undefined;
6296
+ runner?: string | undefined;
6297
+ model?: string | undefined;
6298
+ effort?: string | undefined;
6299
+ worktree?: boolean | undefined;
6300
+ autonomous?: boolean | undefined;
6301
+ systemPrompt?: string | undefined;
6302
+ };
6303
+ expectedRevision: number;
6304
+ };
6305
+ } & {
6243
6306
  param: {
6244
6307
  id: string;
6245
6308
  };
6246
6309
  };
6247
- };
6248
- };
6249
- } & {
6250
- "/automations/:id": {
6251
- $put: {
6310
+ } | {
6252
6311
  output: {
6253
6312
  automation: {
6254
6313
  [x: string]: import("hono/utils/types").JSONValue;
@@ -6410,85 +6469,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6410
6469
  id: string;
6411
6470
  };
6412
6471
  };
6413
- } | {
6414
- output: {
6415
- error: string;
6416
- };
6417
- outputFormat: "json";
6418
- status: 400 | 404 | 409;
6419
- input: {
6420
- json: {
6421
- name: string;
6422
- description?: string | undefined;
6423
- enabled?: boolean | undefined;
6424
- kind?: "github" | "schedule" | undefined;
6425
- events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
6426
- intervalSeconds?: number | undefined;
6427
- filters?: {
6428
- [x: string]: unknown;
6429
- includeExisting?: boolean | undefined;
6430
- requireCurrentLabels?: boolean | undefined;
6431
- authors?: string[] | undefined;
6432
- assignees?: string[] | undefined;
6433
- allLabels?: string[] | undefined;
6434
- anyLabels?: string[] | undefined;
6435
- excludeLabels?: string[] | undefined;
6436
- changedLabels?: string[] | undefined;
6437
- lookbackDays?: number | undefined;
6438
- maxRecords?: number | undefined;
6439
- } | undefined;
6440
- schedule?: {
6441
- type: "daily" | "hours" | "once" | "weekdays" | "weekly";
6442
- hour?: number | undefined;
6443
- minute?: number | undefined;
6444
- day?: number | undefined;
6445
- every?: 1 | 2 | 3 | 4 | 6 | 8 | 12 | undefined;
6446
- at?: string | undefined;
6447
- timeZone?: string | undefined;
6448
- latestStartMinutes?: number | undefined;
6449
- } | undefined;
6450
- task: {
6451
- archiveWhenDone?: boolean | undefined;
6452
- autoMergePr?: boolean | undefined;
6453
- allowWorkers?: boolean | undefined;
6454
- allowMessaging?: boolean | undefined;
6455
- prompt: string;
6456
- workflow?: string | undefined;
6457
- steps?: {
6458
- id: string;
6459
- name?: string | undefined;
6460
- prompt?: string | undefined;
6461
- skill?: string | undefined;
6462
- model?: string | undefined;
6463
- effort?: string | undefined;
6464
- timeoutMs?: number | undefined;
6465
- runner?: string | undefined;
6466
- agentProfile?: string | undefined;
6467
- allowedTools?: string[] | undefined;
6468
- bashAllowlist?: string[] | undefined;
6469
- kind?: "plugin" | undefined;
6470
- pluginKind?: string | undefined;
6471
- config?: Record<string, unknown> | undefined;
6472
- command?: string | undefined;
6473
- onFail?: {
6474
- retry: string;
6475
- max?: number | undefined;
6476
- } | undefined;
6477
- }[] | undefined;
6478
- runner?: string | undefined;
6479
- model?: string | undefined;
6480
- effort?: string | undefined;
6481
- worktree?: boolean | undefined;
6482
- autonomous?: boolean | undefined;
6483
- systemPrompt?: string | undefined;
6484
- };
6485
- expectedRevision: number;
6486
- };
6487
- } & {
6488
- param: {
6489
- id: string;
6490
- };
6491
- };
6492
6472
  };
6493
6473
  };
6494
6474
  } & {
@@ -6518,6 +6498,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6518
6498
  } & {
6519
6499
  "/automations/:id/enable": {
6520
6500
  $post: {
6501
+ output: {
6502
+ error: string;
6503
+ };
6504
+ outputFormat: "json";
6505
+ status: 400 | 404 | 409;
6506
+ input: {
6507
+ param: {
6508
+ id: string;
6509
+ };
6510
+ };
6511
+ } | {
6521
6512
  output: {
6522
6513
  automation: {
6523
6514
  [x: string]: import("hono/utils/types").JSONValue;
@@ -6611,7 +6602,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6611
6602
  id: string;
6612
6603
  };
6613
6604
  };
6614
- } | {
6605
+ };
6606
+ };
6607
+ } & {
6608
+ "/automations/:id/pause": {
6609
+ $post: {
6615
6610
  output: {
6616
6611
  error: string;
6617
6612
  };
@@ -6622,11 +6617,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6622
6617
  id: string;
6623
6618
  };
6624
6619
  };
6625
- };
6626
- };
6627
- } & {
6628
- "/automations/:id/pause": {
6629
- $post: {
6620
+ } | {
6630
6621
  output: {
6631
6622
  automation: {
6632
6623
  [x: string]: import("hono/utils/types").JSONValue;
@@ -6720,7 +6711,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6720
6711
  id: string;
6721
6712
  };
6722
6713
  };
6723
- } | {
6714
+ };
6715
+ };
6716
+ } & {
6717
+ "/automations/:id/cancel": {
6718
+ $post: {
6724
6719
  output: {
6725
6720
  error: string;
6726
6721
  };
@@ -6731,11 +6726,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6731
6726
  id: string;
6732
6727
  };
6733
6728
  };
6734
- };
6735
- };
6736
- } & {
6737
- "/automations/:id/cancel": {
6738
- $post: {
6729
+ } | {
6739
6730
  output: {
6740
6731
  automation: {
6741
6732
  [x: string]: import("hono/utils/types").JSONValue;
@@ -6829,27 +6820,16 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6829
6820
  id: string;
6830
6821
  };
6831
6822
  };
6832
- } | {
6833
- output: {
6834
- error: string;
6835
- };
6836
- outputFormat: "json";
6837
- status: 400 | 404 | 409;
6838
- input: {
6839
- param: {
6840
- id: string;
6841
- };
6842
- };
6843
6823
  };
6844
6824
  };
6845
6825
  } & {
6846
6826
  "/automations/:id/run": {
6847
6827
  $post: {
6848
6828
  output: {
6849
- runId: string;
6829
+ error: string;
6850
6830
  };
6851
6831
  outputFormat: "json";
6852
- status: 202;
6832
+ status: 400 | 404 | 409;
6853
6833
  input: {
6854
6834
  param: {
6855
6835
  id: string;
@@ -6857,10 +6837,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6857
6837
  };
6858
6838
  } | {
6859
6839
  output: {
6860
- error: string;
6840
+ runId: string;
6861
6841
  };
6862
6842
  outputFormat: "json";
6863
- status: 400 | 404 | 409;
6843
+ status: 202;
6864
6844
  input: {
6865
6845
  param: {
6866
6846
  id: string;
@@ -6872,10 +6852,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6872
6852
  "/automations/:id/check": {
6873
6853
  $post: {
6874
6854
  output: {
6875
- checkId: string;
6855
+ error: string;
6876
6856
  };
6877
6857
  outputFormat: "json";
6878
- status: 202;
6858
+ status: 404;
6879
6859
  input: {
6880
6860
  json: {
6881
6861
  mode: "execute" | "preview";
@@ -6890,7 +6870,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6890
6870
  error: string;
6891
6871
  };
6892
6872
  outputFormat: "json";
6893
- status: 404;
6873
+ status: 409;
6894
6874
  input: {
6895
6875
  json: {
6896
6876
  mode: "execute" | "preview";
@@ -6902,10 +6882,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6902
6882
  };
6903
6883
  } | {
6904
6884
  output: {
6905
- error: string;
6885
+ checkId: string;
6906
6886
  };
6907
6887
  outputFormat: "json";
6908
- status: 409;
6888
+ status: 202;
6909
6889
  input: {
6910
6890
  json: {
6911
6891
  mode: "execute" | "preview";
@@ -8196,18 +8176,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8196
8176
  } & {
8197
8177
  "/run-summaries": {
8198
8178
  $get: {
8199
- output: {
8200
- error: string;
8201
- code?: "invalid_input" | undefined;
8202
- };
8203
- outputFormat: "json";
8204
- status: 400;
8205
- input: {
8206
- query: {
8207
- archived?: "all" | "recent" | undefined;
8208
- };
8209
- };
8210
- } | {
8211
8179
  output: {
8212
8180
  id: string;
8213
8181
  title: string;
@@ -8341,6 +8309,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8341
8309
  archived?: "all" | "recent" | undefined;
8342
8310
  };
8343
8311
  };
8312
+ } | {
8313
+ output: {
8314
+ error: string;
8315
+ code?: "invalid_input" | undefined;
8316
+ };
8317
+ outputFormat: "json";
8318
+ status: 400;
8319
+ input: {
8320
+ query: {
8321
+ archived?: "all" | "recent" | undefined;
8322
+ };
8323
+ };
8344
8324
  };
8345
8325
  };
8346
8326
  } & {
@@ -8698,24 +8678,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8698
8678
  "/runs/:id/worker-destroy": {
8699
8679
  $post: {
8700
8680
  output: {
8701
- workerId: string;
8702
- state: "complete" | "incomplete";
8703
- work?: {
8704
- uncommittedFiles: number;
8705
- commits: number;
8706
- } | undefined;
8707
- deleted?: ({
8708
- kind: "worktree";
8709
- path: string;
8710
- } | {
8711
- kind: "branch";
8712
- ref: string;
8713
- })[] | undefined;
8714
- remaining: ("branch" | "process" | "worktree")[];
8715
- error?: string | undefined;
8681
+ error: string;
8682
+ code?: "invalid_input" | undefined;
8716
8683
  };
8717
8684
  outputFormat: "json";
8718
- status: 200;
8685
+ status: 400;
8719
8686
  input: {
8720
8687
  query: {
8721
8688
  [x: string]: string | string[];
@@ -8731,11 +8698,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8731
8698
  };
8732
8699
  } | {
8733
8700
  output: {
8734
- error: string;
8735
- code?: "invalid_input" | undefined;
8701
+ workerId: string;
8702
+ state: "complete" | "incomplete";
8703
+ work?: {
8704
+ uncommittedFiles: number;
8705
+ commits: number;
8706
+ } | undefined;
8707
+ deleted?: ({
8708
+ kind: "worktree";
8709
+ path: string;
8710
+ } | {
8711
+ kind: "branch";
8712
+ ref: string;
8713
+ })[] | undefined;
8714
+ remaining: ("branch" | "process" | "worktree")[];
8715
+ error?: string | undefined;
8736
8716
  };
8737
8717
  outputFormat: "json";
8738
- status: 400;
8718
+ status: 200;
8739
8719
  input: {
8740
8720
  query: {
8741
8721
  [x: string]: string | string[];
@@ -8851,21 +8831,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8851
8831
  } & {
8852
8832
  "/runs/:id/archive": {
8853
8833
  $post: {
8854
- output: {
8855
- error: string;
8856
- };
8857
- outputFormat: "json";
8858
- status: 404;
8859
- input: {
8860
- json: {
8861
- archived?: boolean | undefined;
8862
- };
8863
- } & {
8864
- param: {
8865
- id: string;
8866
- };
8867
- };
8868
- } | {
8869
8834
  output: {
8870
8835
  archiveWhenDone?: boolean | undefined;
8871
8836
  autoMergePr?: boolean | undefined;
@@ -10041,32 +10006,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10041
10006
  id: string;
10042
10007
  };
10043
10008
  };
10044
- };
10045
- };
10046
- } & {
10047
- "/runs/:id/pin": {
10048
- $post: {
10009
+ } | {
10049
10010
  output: {
10050
10011
  error: string;
10051
- code?: "invalid_input" | undefined;
10052
10012
  };
10053
10013
  outputFormat: "json";
10054
- status: 400;
10014
+ status: 404;
10055
10015
  input: {
10056
- param: {
10057
- id: string;
10016
+ json: {
10017
+ archived?: boolean | undefined;
10058
10018
  };
10059
10019
  } & {
10060
- json: {
10061
- pinned?: boolean | undefined;
10020
+ param: {
10021
+ id: string;
10062
10022
  };
10063
10023
  };
10064
- } | {
10024
+ };
10025
+ };
10026
+ } & {
10027
+ "/runs/:id/pin": {
10028
+ $post: {
10065
10029
  output: {
10066
10030
  error: string;
10031
+ code?: "invalid_input" | undefined;
10067
10032
  };
10068
10033
  outputFormat: "json";
10069
- status: 404;
10034
+ status: 400;
10070
10035
  input: {
10071
10036
  param: {
10072
10037
  id: string;
@@ -11252,6 +11217,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11252
11217
  pinned?: boolean | undefined;
11253
11218
  };
11254
11219
  };
11220
+ } | {
11221
+ output: {
11222
+ error: string;
11223
+ };
11224
+ outputFormat: "json";
11225
+ status: 404;
11226
+ input: {
11227
+ param: {
11228
+ id: string;
11229
+ };
11230
+ } & {
11231
+ json: {
11232
+ pinned?: boolean | undefined;
11233
+ };
11234
+ };
11255
11235
  };
11256
11236
  };
11257
11237
  } & {
@@ -11278,7 +11258,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11278
11258
  error: string;
11279
11259
  };
11280
11260
  outputFormat: "json";
11281
- status: 400;
11261
+ status: 404;
11282
11262
  input: {
11283
11263
  param: {
11284
11264
  id: string;
@@ -11294,7 +11274,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11294
11274
  error: string;
11295
11275
  };
11296
11276
  outputFormat: "json";
11297
- status: 404;
11277
+ status: 400;
11298
11278
  input: {
11299
11279
  param: {
11300
11280
  id: string;
@@ -12513,17 +12493,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12513
12493
  } & {
12514
12494
  "/runs/:id/read": {
12515
12495
  $post: {
12516
- output: {
12517
- error: string;
12518
- };
12519
- outputFormat: "json";
12520
- status: 404;
12521
- input: {
12522
- param: {
12523
- id: string;
12524
- };
12525
- };
12526
- } | {
12527
12496
  output: {
12528
12497
  archiveWhenDone?: boolean | undefined;
12529
12498
  autoMergePr?: boolean | undefined;
@@ -13695,11 +13664,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13695
13664
  id: string;
13696
13665
  };
13697
13666
  };
13698
- };
13699
- };
13700
- } & {
13701
- "/runs/:id/unread": {
13702
- $post: {
13667
+ } | {
13703
13668
  output: {
13704
13669
  error: string;
13705
13670
  };
@@ -13710,7 +13675,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13710
13675
  id: string;
13711
13676
  };
13712
13677
  };
13713
- } | {
13678
+ };
13679
+ };
13680
+ } & {
13681
+ "/runs/:id/unread": {
13682
+ $post: {
13714
13683
  output: {
13715
13684
  archiveWhenDone?: boolean | undefined;
13716
13685
  autoMergePr?: boolean | undefined;
@@ -14882,6 +14851,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14882
14851
  id: string;
14883
14852
  };
14884
14853
  };
14854
+ } | {
14855
+ output: {
14856
+ error: string;
14857
+ };
14858
+ outputFormat: "json";
14859
+ status: 404;
14860
+ input: {
14861
+ param: {
14862
+ id: string;
14863
+ };
14864
+ };
14885
14865
  };
14886
14866
  };
14887
14867
  } & {
@@ -16154,17 +16134,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16154
16134
  } & {
16155
16135
  "/runs/:id": {
16156
16136
  $get: {
16157
- output: {
16158
- error: string;
16159
- };
16160
- outputFormat: "json";
16161
- status: 404;
16162
- input: {
16163
- param: {
16164
- id: string;
16165
- };
16166
- };
16167
- } | {
16168
16137
  output: {
16169
16138
  archiveWhenDone?: boolean | undefined;
16170
16139
  autoMergePr?: boolean | undefined;
@@ -17344,6 +17313,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17344
17313
  id: string;
17345
17314
  };
17346
17315
  };
17316
+ } | {
17317
+ output: {
17318
+ error: string;
17319
+ };
17320
+ outputFormat: "json";
17321
+ status: 404;
17322
+ input: {
17323
+ param: {
17324
+ id: string;
17325
+ };
17326
+ };
17347
17327
  };
17348
17328
  };
17349
17329
  } & {
@@ -17471,66 +17451,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17471
17451
  } & {
17472
17452
  "/runs/:id": {
17473
17453
  $patch: {
17474
- output: {
17475
- error: string;
17476
- };
17477
- outputFormat: "json";
17478
- status: 400;
17479
- input: {
17480
- json: {
17481
- archiveWhenDone?: boolean | undefined;
17482
- autoMergePr?: boolean | undefined;
17483
- allowWorkers?: boolean | undefined;
17484
- allowMessaging?: boolean | undefined;
17485
- title?: string | undefined;
17486
- task?: string | undefined;
17487
- };
17488
- } & {
17489
- param: {
17490
- id: string;
17491
- };
17492
- };
17493
- } | {
17494
- output: {
17495
- error: string;
17496
- };
17497
- outputFormat: "json";
17498
- status: 404;
17499
- input: {
17500
- json: {
17501
- archiveWhenDone?: boolean | undefined;
17502
- autoMergePr?: boolean | undefined;
17503
- allowWorkers?: boolean | undefined;
17504
- allowMessaging?: boolean | undefined;
17505
- title?: string | undefined;
17506
- task?: string | undefined;
17507
- };
17508
- } & {
17509
- param: {
17510
- id: string;
17511
- };
17512
- };
17513
- } | {
17514
- output: {
17515
- error: string;
17516
- };
17517
- outputFormat: "json";
17518
- status: 409;
17519
- input: {
17520
- json: {
17521
- archiveWhenDone?: boolean | undefined;
17522
- autoMergePr?: boolean | undefined;
17523
- allowWorkers?: boolean | undefined;
17524
- allowMessaging?: boolean | undefined;
17525
- title?: string | undefined;
17526
- task?: string | undefined;
17527
- };
17528
- } & {
17529
- param: {
17530
- id: string;
17531
- };
17532
- };
17533
- } | {
17534
17454
  output: {
17535
17455
  archiveWhenDone?: boolean | undefined;
17536
17456
  autoMergePr?: boolean | undefined;
@@ -18711,6 +18631,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18711
18631
  id: string;
18712
18632
  };
18713
18633
  };
18634
+ } | {
18635
+ output: {
18636
+ error: string;
18637
+ };
18638
+ outputFormat: "json";
18639
+ status: 404;
18640
+ input: {
18641
+ json: {
18642
+ archiveWhenDone?: boolean | undefined;
18643
+ autoMergePr?: boolean | undefined;
18644
+ allowWorkers?: boolean | undefined;
18645
+ allowMessaging?: boolean | undefined;
18646
+ title?: string | undefined;
18647
+ task?: string | undefined;
18648
+ };
18649
+ } & {
18650
+ param: {
18651
+ id: string;
18652
+ };
18653
+ };
18654
+ } | {
18655
+ output: {
18656
+ error: string;
18657
+ };
18658
+ outputFormat: "json";
18659
+ status: 400;
18660
+ input: {
18661
+ json: {
18662
+ archiveWhenDone?: boolean | undefined;
18663
+ autoMergePr?: boolean | undefined;
18664
+ allowWorkers?: boolean | undefined;
18665
+ allowMessaging?: boolean | undefined;
18666
+ title?: string | undefined;
18667
+ task?: string | undefined;
18668
+ };
18669
+ } & {
18670
+ param: {
18671
+ id: string;
18672
+ };
18673
+ };
18674
+ } | {
18675
+ output: {
18676
+ error: string;
18677
+ };
18678
+ outputFormat: "json";
18679
+ status: 409;
18680
+ input: {
18681
+ json: {
18682
+ archiveWhenDone?: boolean | undefined;
18683
+ autoMergePr?: boolean | undefined;
18684
+ allowWorkers?: boolean | undefined;
18685
+ allowMessaging?: boolean | undefined;
18686
+ title?: string | undefined;
18687
+ task?: string | undefined;
18688
+ };
18689
+ } & {
18690
+ param: {
18691
+ id: string;
18692
+ };
18693
+ };
18714
18694
  };
18715
18695
  };
18716
18696
  } & {
@@ -18815,7 +18795,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18815
18795
  error: string;
18816
18796
  };
18817
18797
  outputFormat: "json";
18818
- status: 400;
18798
+ status: 404;
18819
18799
  input: {
18820
18800
  json: {
18821
18801
  text?: string | undefined;
@@ -18834,7 +18814,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18834
18814
  error: string;
18835
18815
  };
18836
18816
  outputFormat: "json";
18837
- status: 404;
18817
+ status: 409;
18838
18818
  input: {
18839
18819
  json: {
18840
18820
  text?: string | undefined;
@@ -18850,10 +18830,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18850
18830
  };
18851
18831
  } | {
18852
18832
  output: {
18853
- error: string;
18833
+ delivered: true;
18854
18834
  };
18855
18835
  outputFormat: "json";
18856
- status: 409;
18836
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18857
18837
  input: {
18858
18838
  json: {
18859
18839
  text?: string | undefined;
@@ -18869,10 +18849,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18869
18849
  };
18870
18850
  } | {
18871
18851
  output: {
18872
- delivered: true;
18852
+ error: string;
18873
18853
  };
18874
18854
  outputFormat: "json";
18875
- status: import("hono/utils/http-status").ContentfulStatusCode;
18855
+ status: 400;
18876
18856
  input: {
18877
18857
  json: {
18878
18858
  text?: string | undefined;
@@ -18940,7 +18920,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18940
18920
  error: string;
18941
18921
  };
18942
18922
  outputFormat: "json";
18943
- status: 400;
18923
+ status: 404;
18944
18924
  input: {
18945
18925
  json: {
18946
18926
  text?: string | undefined;
@@ -18961,7 +18941,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18961
18941
  error: string;
18962
18942
  };
18963
18943
  outputFormat: "json";
18964
- status: 404;
18944
+ status: 400;
18965
18945
  input: {
18966
18946
  json: {
18967
18947
  text?: string | undefined;
@@ -19181,11 +19161,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19181
19161
  "/runs/:id/open-in-cli": {
19182
19162
  $post: {
19183
19163
  output: {
19184
- opened: true;
19185
- command: string;
19164
+ error: string;
19186
19165
  };
19187
19166
  outputFormat: "json";
19188
- status: import("hono/utils/http-status").ContentfulStatusCode;
19167
+ status: 404 | 409;
19189
19168
  input: {
19190
19169
  param: {
19191
19170
  id: string;
@@ -19193,10 +19172,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19193
19172
  };
19194
19173
  } | {
19195
19174
  output: {
19196
- error: string;
19175
+ opened: true;
19176
+ command: string;
19197
19177
  };
19198
19178
  outputFormat: "json";
19199
- status: 404 | 409;
19179
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19200
19180
  input: {
19201
19181
  param: {
19202
19182
  id: string;
@@ -19211,7 +19191,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19211
19191
  error: string;
19212
19192
  };
19213
19193
  outputFormat: "json";
19214
- status: 400;
19194
+ status: 404 | 409;
19215
19195
  input: {
19216
19196
  json: {
19217
19197
  target: string;
@@ -19224,11 +19204,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19224
19204
  };
19225
19205
  } | {
19226
19206
  output: {
19227
- opened: true;
19228
- path: string;
19207
+ error: string;
19229
19208
  };
19230
19209
  outputFormat: "json";
19231
- status: import("hono/utils/http-status").ContentfulStatusCode;
19210
+ status: 400;
19232
19211
  input: {
19233
19212
  json: {
19234
19213
  target: string;
@@ -19241,10 +19220,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19241
19220
  };
19242
19221
  } | {
19243
19222
  output: {
19244
- error: string;
19223
+ opened: true;
19224
+ path: string;
19245
19225
  };
19246
19226
  outputFormat: "json";
19247
- status: 404 | 409;
19227
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19248
19228
  input: {
19249
19229
  json: {
19250
19230
  target: string;
@@ -19284,12 +19264,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19284
19264
  } & {
19285
19265
  "/runs/:id/images/:file": {
19286
19266
  $get: {
19287
- output: {
19288
- error: string;
19289
- code?: "invalid_input" | undefined;
19290
- };
19291
- outputFormat: "json";
19292
- status: 400;
19267
+ output: {};
19268
+ outputFormat: string;
19269
+ status: import("hono/utils/http-status").StatusCode;
19293
19270
  input: {
19294
19271
  param: {
19295
19272
  id: string;
@@ -19297,9 +19274,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19297
19274
  };
19298
19275
  };
19299
19276
  } | {
19300
- output: {};
19301
- outputFormat: string;
19302
- status: import("hono/utils/http-status").StatusCode;
19277
+ output: {
19278
+ error: string;
19279
+ code?: "invalid_input" | undefined;
19280
+ };
19281
+ outputFormat: "json";
19282
+ status: 400;
19303
19283
  input: {
19304
19284
  param: {
19305
19285
  id: string;
@@ -19335,6 +19315,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19335
19315
  } & {
19336
19316
  "/runs/:id/changes": {
19337
19317
  $get: {
19318
+ output: {
19319
+ error: string;
19320
+ };
19321
+ outputFormat: "json";
19322
+ status: 404 | 409;
19323
+ input: {
19324
+ param: {
19325
+ id: string;
19326
+ };
19327
+ };
19328
+ } | {
19338
19329
  output: {
19339
19330
  files: {
19340
19331
  path: string;
@@ -19363,7 +19354,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19363
19354
  id: string;
19364
19355
  };
19365
19356
  };
19366
- } | {
19357
+ };
19358
+ };
19359
+ } & {
19360
+ "/runs/:id/commits": {
19361
+ $get: {
19367
19362
  output: {
19368
19363
  error: string;
19369
19364
  };
@@ -19374,11 +19369,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19374
19369
  id: string;
19375
19370
  };
19376
19371
  };
19377
- };
19378
- };
19379
- } & {
19380
- "/runs/:id/commits": {
19381
- $get: {
19372
+ } | {
19382
19373
  output: {
19383
19374
  commits: {
19384
19375
  sha: string;
@@ -19394,7 +19385,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19394
19385
  id: string;
19395
19386
  };
19396
19387
  };
19397
- } | {
19388
+ };
19389
+ };
19390
+ } & {
19391
+ "/runs/:id/commit/:sha": {
19392
+ $get: {
19398
19393
  output: {
19399
19394
  error: string;
19400
19395
  };
@@ -19402,14 +19397,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19402
19397
  status: 404 | 409;
19403
19398
  input: {
19404
19399
  param: {
19400
+ sha: string;
19401
+ } & {
19405
19402
  id: string;
19406
19403
  };
19407
19404
  };
19408
- };
19409
- };
19410
- } & {
19411
- "/runs/:id/commit/:sha": {
19412
- $get: {
19405
+ } | {
19413
19406
  output: {
19414
19407
  sha: string;
19415
19408
  subject: string;
@@ -19440,19 +19433,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19440
19433
  id: string;
19441
19434
  };
19442
19435
  };
19443
- } | {
19444
- output: {
19445
- error: string;
19446
- };
19447
- outputFormat: "json";
19448
- status: 404 | 409;
19449
- input: {
19450
- param: {
19451
- sha: string;
19452
- } & {
19453
- id: string;
19454
- };
19455
- };
19456
19436
  };
19457
19437
  };
19458
19438
  } & {
@@ -19488,6 +19468,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19488
19468
  raw?: "1" | undefined;
19489
19469
  };
19490
19470
  };
19471
+ } | {
19472
+ output: {
19473
+ error: string;
19474
+ };
19475
+ outputFormat: "json";
19476
+ status: 404 | 409;
19477
+ input: {
19478
+ param: {
19479
+ id: string;
19480
+ };
19481
+ } & {
19482
+ query: {
19483
+ path: string | string[];
19484
+ raw?: "1" | undefined;
19485
+ };
19486
+ };
19491
19487
  } | {
19492
19488
  output: {
19493
19489
  type: "file";
@@ -19524,22 +19520,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19524
19520
  raw?: "1" | undefined;
19525
19521
  };
19526
19522
  };
19527
- } | {
19528
- output: {
19529
- error: string;
19530
- };
19531
- outputFormat: "json";
19532
- status: 404 | 409;
19533
- input: {
19534
- param: {
19535
- id: string;
19536
- };
19537
- } & {
19538
- query: {
19539
- path: string | string[];
19540
- raw?: "1" | undefined;
19541
- };
19542
- };
19543
19523
  };
19544
19524
  };
19545
19525
  } & {
@@ -19604,18 +19584,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19604
19584
  artifactId: string;
19605
19585
  };
19606
19586
  };
19607
- } | {
19608
- output: {
19609
- error: string;
19610
- };
19611
- outputFormat: "json";
19612
- status: 404;
19613
- input: {
19614
- param: {
19615
- id: string;
19616
- artifactId: string;
19617
- };
19618
- };
19619
19587
  } | {
19620
19588
  output: {
19621
19589
  type: "file";
@@ -19644,6 +19612,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19644
19612
  artifactId: string;
19645
19613
  };
19646
19614
  };
19615
+ } | {
19616
+ output: {
19617
+ error: string;
19618
+ };
19619
+ outputFormat: "json";
19620
+ status: 404;
19621
+ input: {
19622
+ param: {
19623
+ id: string;
19624
+ artifactId: string;
19625
+ };
19626
+ };
19647
19627
  };
19648
19628
  };
19649
19629
  } & {
@@ -19821,16 +19801,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19821
19801
  };
19822
19802
  } | {
19823
19803
  output: {
19824
- type: 'dir';
19825
- path: string;
19826
- entries: {
19827
- name: string;
19828
- type: 'dir' | 'file';
19829
- size?: number;
19830
- }[];
19804
+ error: string;
19831
19805
  };
19832
19806
  outputFormat: "json";
19833
- status: import("hono/utils/http-status").ContentfulStatusCode;
19807
+ status: 404 | 409;
19834
19808
  input: {
19835
19809
  query: {
19836
19810
  path?: string | undefined;
@@ -19843,12 +19817,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19843
19817
  };
19844
19818
  } | {
19845
19819
  output: {
19846
- type: 'file';
19820
+ type: 'dir';
19847
19821
  path: string;
19848
- size: number;
19849
- binary: boolean;
19850
- tooLarge: boolean;
19851
- content?: string | undefined;
19822
+ entries: {
19823
+ name: string;
19824
+ type: 'dir' | 'file';
19825
+ size?: number;
19826
+ }[];
19852
19827
  };
19853
19828
  outputFormat: "json";
19854
19829
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -19864,10 +19839,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19864
19839
  };
19865
19840
  } | {
19866
19841
  output: {
19867
- error: string;
19842
+ type: 'file';
19843
+ path: string;
19844
+ size: number;
19845
+ binary: boolean;
19846
+ tooLarge: boolean;
19847
+ content?: string | undefined;
19868
19848
  };
19869
19849
  outputFormat: "json";
19870
- status: 404 | 409;
19850
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19871
19851
  input: {
19872
19852
  query: {
19873
19853
  path?: string | undefined;
@@ -19884,11 +19864,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19884
19864
  "/runs/:id/git/commit": {
19885
19865
  $post: {
19886
19866
  output: {
19887
- committed: true;
19888
- sha: string;
19867
+ error: string;
19889
19868
  };
19890
19869
  outputFormat: "json";
19891
- status: import("hono/utils/http-status").ContentfulStatusCode;
19870
+ status: 404 | 409;
19892
19871
  input: {
19893
19872
  json: {
19894
19873
  message: string;
@@ -19900,10 +19879,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19900
19879
  };
19901
19880
  } | {
19902
19881
  output: {
19903
- error: string;
19882
+ committed: true;
19883
+ sha: string;
19904
19884
  };
19905
19885
  outputFormat: "json";
19906
- status: 404 | 409;
19886
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19907
19887
  input: {
19908
19888
  json: {
19909
19889
  message: string;
@@ -19919,13 +19899,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19919
19899
  "/runs/:id/git/push": {
19920
19900
  $post: {
19921
19901
  output: {
19922
- pushed: true;
19923
- branch: string;
19924
- remote: string;
19925
- upstreamSet: boolean;
19902
+ error: string;
19926
19903
  };
19927
19904
  outputFormat: "json";
19928
- status: import("hono/utils/http-status").ContentfulStatusCode;
19905
+ status: 404 | 409;
19929
19906
  input: {
19930
19907
  param: {
19931
19908
  id: string;
@@ -19933,10 +19910,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19933
19910
  };
19934
19911
  } | {
19935
19912
  output: {
19936
- error: string;
19913
+ pushed: true;
19914
+ branch: string;
19915
+ remote: string;
19916
+ upstreamSet: boolean;
19937
19917
  };
19938
19918
  outputFormat: "json";
19939
- status: 404 | 409;
19919
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19940
19920
  input: {
19941
19921
  param: {
19942
19922
  id: string;
@@ -19948,11 +19928,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19948
19928
  "/runs/:id/pr": {
19949
19929
  $post: {
19950
19930
  output: {
19951
- url: string;
19952
- dryRun: boolean;
19931
+ error: string;
19953
19932
  };
19954
19933
  outputFormat: "json";
19955
- status: 201;
19934
+ status: 404 | 409;
19956
19935
  input: {
19957
19936
  param: {
19958
19937
  id: string;
@@ -19960,10 +19939,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19960
19939
  };
19961
19940
  } | {
19962
19941
  output: {
19963
- error: string;
19942
+ url: string;
19943
+ dryRun: boolean;
19964
19944
  };
19965
19945
  outputFormat: "json";
19966
- status: 404 | 409;
19946
+ status: 201;
19967
19947
  input: {
19968
19948
  param: {
19969
19949
  id: string;
@@ -19975,10 +19955,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19975
19955
  "/runs/:id/remove-worktree": {
19976
19956
  $post: {
19977
19957
  output: {
19978
- removed: true;
19958
+ error: string;
19979
19959
  };
19980
19960
  outputFormat: "json";
19981
- status: import("hono/utils/http-status").ContentfulStatusCode;
19961
+ status: 404 | 409;
19982
19962
  input: {
19983
19963
  param: {
19984
19964
  id: string;
@@ -19986,10 +19966,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19986
19966
  };
19987
19967
  } | {
19988
19968
  output: {
19989
- error: string;
19969
+ removed: true;
19990
19970
  };
19991
19971
  outputFormat: "json";
19992
- status: 404 | 409;
19972
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19993
19973
  input: {
19994
19974
  param: {
19995
19975
  id: string;
@@ -20001,10 +19981,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20001
19981
  "/runs/:id": {
20002
19982
  $delete: {
20003
19983
  output: {
20004
- deleted: true;
19984
+ error: string;
20005
19985
  };
20006
19986
  outputFormat: "json";
20007
- status: import("hono/utils/http-status").ContentfulStatusCode;
19987
+ status: 404 | 409;
20008
19988
  input: {
20009
19989
  param: {
20010
19990
  id: string;
@@ -20012,10 +19992,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20012
19992
  };
20013
19993
  } | {
20014
19994
  output: {
20015
- error: string;
19995
+ deleted: true;
20016
19996
  };
20017
19997
  outputFormat: "json";
20018
- status: 404 | 409;
19998
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20019
19999
  input: {
20020
20000
  param: {
20021
20001
  id: string;
@@ -20084,6 +20064,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20084
20064
  }, "/"> | import("hono/types").MergeSchemaPath<{
20085
20065
  "/plan": {
20086
20066
  $post: {
20067
+ output: {
20068
+ error: string;
20069
+ };
20070
+ outputFormat: "json";
20071
+ status: 400 | 404 | 409;
20072
+ input: {
20073
+ json: {
20074
+ task: string;
20075
+ agentProfile?: string | undefined;
20076
+ };
20077
+ };
20078
+ } | {
20087
20079
  output: {
20088
20080
  name?: string;
20089
20081
  steps: {
@@ -20120,18 +20112,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20120
20112
  agentProfile?: string | undefined;
20121
20113
  };
20122
20114
  };
20123
- } | {
20124
- output: {
20125
- error: string;
20126
- };
20127
- outputFormat: "json";
20128
- status: 400 | 404 | 409;
20129
- input: {
20130
- json: {
20131
- task: string;
20132
- agentProfile?: string | undefined;
20133
- };
20134
- };
20135
20115
  };
20136
20116
  };
20137
20117
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -20175,7 +20155,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20175
20155
  error: string;
20176
20156
  };
20177
20157
  outputFormat: "json";
20178
- status: 400;
20158
+ status: 409;
20179
20159
  input: {
20180
20160
  query: {
20181
20161
  q?: string | undefined;
@@ -20188,7 +20168,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20188
20168
  error: string;
20189
20169
  };
20190
20170
  outputFormat: "json";
20191
- status: 409;
20171
+ status: 400;
20192
20172
  input: {
20193
20173
  query: {
20194
20174
  q?: string | undefined;
@@ -20244,7 +20224,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20244
20224
  error: string;
20245
20225
  };
20246
20226
  outputFormat: "json";
20247
- status: 400;
20227
+ status: 409;
20248
20228
  input: {
20249
20229
  json: {
20250
20230
  target: string;
@@ -20255,7 +20235,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20255
20235
  error: string;
20256
20236
  };
20257
20237
  outputFormat: "json";
20258
- status: 409;
20238
+ status: 400;
20259
20239
  input: {
20260
20240
  json: {
20261
20241
  target: string;
@@ -20322,10 +20302,42 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20322
20302
  "/ui-state": {
20323
20303
  $put: {
20324
20304
  output: {
20325
- error: string;
20305
+ [x: string]: import("hono/utils/types").JSONValue;
20306
+ sidebarLimits?: {
20307
+ overall?: number | null | undefined;
20308
+ needsYou?: number | null | undefined;
20309
+ finished?: number | null | undefined;
20310
+ working?: number | null | undefined;
20311
+ } | undefined;
20312
+ lastTask?: {
20313
+ source: "skill" | "workflow";
20314
+ ref: string;
20315
+ } | null | undefined;
20316
+ recentSources?: {
20317
+ source: "skill" | "workflow";
20318
+ ref: string;
20319
+ }[] | undefined;
20320
+ lastWorktree?: boolean | undefined;
20321
+ lastAutonomous?: boolean | undefined;
20322
+ skillUsage?: {
20323
+ [x: string]: number;
20324
+ } | undefined;
20325
+ runsView?: "list" | "table" | undefined;
20326
+ githubView?: "issues" | "prs" | undefined;
20327
+ appearance?: {
20328
+ accent?: "cezarion" | "lime" | "violet" | undefined;
20329
+ density?: "comfortable" | "compact" | "ultra" | undefined;
20330
+ width?: "narrow" | "wide" | undefined;
20331
+ } | undefined;
20332
+ promptTemplates?: {
20333
+ id: string;
20334
+ label: string;
20335
+ text: string;
20336
+ skills?: string[] | undefined;
20337
+ }[] | undefined;
20326
20338
  };
20327
20339
  outputFormat: "json";
20328
- status: 500;
20340
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20329
20341
  input: {
20330
20342
  json: {
20331
20343
  [x: string]: unknown;
@@ -20363,42 +20375,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20363
20375
  };
20364
20376
  } | {
20365
20377
  output: {
20366
- [x: string]: import("hono/utils/types").JSONValue;
20367
- sidebarLimits?: {
20368
- overall?: number | null | undefined;
20369
- needsYou?: number | null | undefined;
20370
- finished?: number | null | undefined;
20371
- working?: number | null | undefined;
20372
- } | undefined;
20373
- lastTask?: {
20374
- source: "skill" | "workflow";
20375
- ref: string;
20376
- } | null | undefined;
20377
- recentSources?: {
20378
- source: "skill" | "workflow";
20379
- ref: string;
20380
- }[] | undefined;
20381
- lastWorktree?: boolean | undefined;
20382
- lastAutonomous?: boolean | undefined;
20383
- skillUsage?: {
20384
- [x: string]: number;
20385
- } | undefined;
20386
- runsView?: "list" | "table" | undefined;
20387
- githubView?: "issues" | "prs" | undefined;
20388
- appearance?: {
20389
- accent?: "cezarion" | "lime" | "violet" | undefined;
20390
- density?: "comfortable" | "compact" | "ultra" | undefined;
20391
- width?: "narrow" | "wide" | undefined;
20392
- } | undefined;
20393
- promptTemplates?: {
20394
- id: string;
20395
- label: string;
20396
- text: string;
20397
- skills?: string[] | undefined;
20398
- }[] | undefined;
20378
+ error: string;
20399
20379
  };
20400
20380
  outputFormat: "json";
20401
- status: import("hono/utils/http-status").ContentfulStatusCode;
20381
+ status: 500;
20402
20382
  input: {
20403
20383
  json: {
20404
20384
  [x: string]: unknown;
@@ -20439,12 +20419,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20439
20419
  }, "/"> | import("hono/types").MergeSchemaPath<{
20440
20420
  "/runs/:id/events": {
20441
20421
  $get: {
20442
- output: {
20443
- error: string;
20444
- code?: "invalid_input" | undefined;
20445
- };
20446
- outputFormat: "json";
20447
- status: 400;
20422
+ output: {};
20423
+ outputFormat: string;
20424
+ status: import("hono/utils/http-status").StatusCode;
20448
20425
  input: {
20449
20426
  param: {
20450
20427
  id: string;
@@ -20456,9 +20433,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20456
20433
  };
20457
20434
  };
20458
20435
  } | {
20459
- output: {};
20460
- outputFormat: string;
20461
- status: import("hono/utils/http-status").StatusCode;
20436
+ output: {
20437
+ error: string;
20438
+ code?: "invalid_input" | undefined;
20439
+ };
20440
+ outputFormat: "json";
20441
+ status: 400;
20462
20442
  input: {
20463
20443
  param: {
20464
20444
  id: string;
@@ -20519,10 +20499,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20519
20499
  "/config": {
20520
20500
  $put: {
20521
20501
  output: {
20522
- error: string;
20502
+ archiveOnMerge: boolean | null;
20503
+ effectiveArchiveOnMerge: boolean;
20504
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
20505
+ baseBranch: string | null;
20506
+ defaultRunner: string;
20507
+ systemPrompt: string | null;
20508
+ defaultModels: {
20509
+ [x: string]: string | undefined;
20510
+ };
20511
+ modelsLocked: boolean;
20512
+ maxParallel: number;
20513
+ memoryLimitMb: number | null;
20514
+ worktreeRetention: number;
20515
+ liveTitleUpdates: boolean | null;
20516
+ reviewGate: boolean | null;
20517
+ worktreeSetup: {
20518
+ commands: string[];
20519
+ timeoutSeconds: number;
20520
+ } | null;
20521
+ worktreeSetupIssue: string | null;
20522
+ worktreeTeardown: {
20523
+ commands: string[];
20524
+ timeoutSeconds: number;
20525
+ } | null;
20526
+ worktreeTeardownIssue: string | null;
20523
20527
  };
20524
20528
  outputFormat: "json";
20525
- status: 409;
20529
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20526
20530
  input: {
20527
20531
  json: {
20528
20532
  archiveOnMerge?: boolean | null | undefined;
@@ -20550,7 +20554,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20550
20554
  error: string;
20551
20555
  };
20552
20556
  outputFormat: "json";
20553
- status: 500;
20557
+ status: 409;
20554
20558
  input: {
20555
20559
  json: {
20556
20560
  archiveOnMerge?: boolean | null | undefined;
@@ -20575,34 +20579,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20575
20579
  };
20576
20580
  } | {
20577
20581
  output: {
20578
- archiveOnMerge: boolean | null;
20579
- effectiveArchiveOnMerge: boolean;
20580
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
20581
- baseBranch: string | null;
20582
- defaultRunner: string;
20583
- systemPrompt: string | null;
20584
- defaultModels: {
20585
- [x: string]: string | undefined;
20586
- };
20587
- modelsLocked: boolean;
20588
- maxParallel: number;
20589
- memoryLimitMb: number | null;
20590
- worktreeRetention: number;
20591
- liveTitleUpdates: boolean | null;
20592
- reviewGate: boolean | null;
20593
- worktreeSetup: {
20594
- commands: string[];
20595
- timeoutSeconds: number;
20596
- } | null;
20597
- worktreeSetupIssue: string | null;
20598
- worktreeTeardown: {
20599
- commands: string[];
20600
- timeoutSeconds: number;
20601
- } | null;
20602
- worktreeTeardownIssue: string | null;
20582
+ error: string;
20603
20583
  };
20604
20584
  outputFormat: "json";
20605
- status: import("hono/utils/http-status").ContentfulStatusCode;
20585
+ status: 500;
20606
20586
  input: {
20607
20587
  json: {
20608
20588
  archiveOnMerge?: boolean | null | undefined;
@@ -20763,11 +20743,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20763
20743
  };
20764
20744
  } | {
20765
20745
  output: {
20766
- runId: string;
20767
- worktreeReclaimedAt: string;
20746
+ error: string;
20768
20747
  };
20769
20748
  outputFormat: "json";
20770
- status: import("hono/utils/http-status").ContentfulStatusCode;
20749
+ status: 404 | 409;
20771
20750
  input: {
20772
20751
  param: {
20773
20752
  runId: string;
@@ -20775,10 +20754,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20775
20754
  };
20776
20755
  } | {
20777
20756
  output: {
20778
- error: string;
20757
+ runId: string;
20758
+ worktreeReclaimedAt: string;
20779
20759
  };
20780
20760
  outputFormat: "json";
20781
- status: 404 | 409;
20761
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20782
20762
  input: {
20783
20763
  param: {
20784
20764
  runId: string;
@@ -20874,10 +20854,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20874
20854
  "/agent-config/:id": {
20875
20855
  $put: {
20876
20856
  output: {
20877
- error: string;
20857
+ id: string;
20858
+ path: string;
20859
+ exists: boolean;
20860
+ content: string;
20861
+ version: string | null;
20878
20862
  };
20879
20863
  outputFormat: "json";
20880
- status: 404;
20864
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20881
20865
  input: {
20882
20866
  json: {
20883
20867
  content: string;
@@ -20890,14 +20874,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20890
20874
  };
20891
20875
  } | {
20892
20876
  output: {
20893
- id: string;
20894
- path: string;
20895
- exists: boolean;
20896
- content: string;
20897
- version: string | null;
20877
+ error: string;
20898
20878
  };
20899
20879
  outputFormat: "json";
20900
- status: import("hono/utils/http-status").ContentfulStatusCode;
20880
+ status: 404;
20901
20881
  input: {
20902
20882
  json: {
20903
20883
  content: string;
@@ -20930,21 +20910,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20930
20910
  "/session-context": {
20931
20911
  $get: {
20932
20912
  output: {
20933
- local: {
20934
- path: string;
20935
- exists: boolean;
20936
- content: string;
20937
- version: string | null;
20938
- writable: boolean;
20939
- readOnlyReason: string | null;
20940
- };
20941
- shared: {
20942
- path: string;
20943
- exists: boolean;
20944
- content: string;
20945
- tracked: boolean;
20946
- unreadableReason: string | null;
20947
- };
20913
+ path: string;
20914
+ exists: boolean;
20915
+ content: string;
20916
+ version: string | null;
20917
+ writable: boolean;
20918
+ readOnlyReason: string | null;
20948
20919
  };
20949
20920
  outputFormat: "json";
20950
20921
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -20962,10 +20933,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20962
20933
  }[];
20963
20934
  blocks: {
20964
20935
  id: string;
20965
- source: 'built-in' | import("../session-context.ts").SessionContextRuleSource;
20966
20936
  target: import("../session-context.ts").SessionContextRule['target'] | 'built-in' | null;
20967
20937
  status: import("../session-context.ts").SessionContextReportStatus | 'not-for-role';
20968
- overridesShared: boolean;
20969
20938
  bytes: number | null;
20970
20939
  reason: string | null;
20971
20940
  sources: string[];
@@ -20989,21 +20958,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20989
20958
  "/session-context": {
20990
20959
  $put: {
20991
20960
  output: {
20992
- local: {
20993
- path: string;
20994
- exists: boolean;
20995
- content: string;
20996
- version: string | null;
20997
- writable: boolean;
20998
- readOnlyReason: string | null;
20999
- };
21000
- shared: {
21001
- path: string;
21002
- exists: boolean;
21003
- content: string;
21004
- tracked: boolean;
21005
- unreadableReason: string | null;
21006
- };
20961
+ path: string;
20962
+ exists: boolean;
20963
+ content: string;
20964
+ version: string | null;
20965
+ writable: boolean;
20966
+ readOnlyReason: string | null;
21007
20967
  };
21008
20968
  outputFormat: "json";
21009
20969
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -21074,11 +21034,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21074
21034
  "/workflows": {
21075
21035
  $post: {
21076
21036
  output: {
21077
- path: string;
21078
- name: string;
21037
+ error: string;
21079
21038
  };
21080
21039
  outputFormat: "json";
21081
- status: 201;
21040
+ status: 400;
21082
21041
  input: {
21083
21042
  json: {
21084
21043
  name: string;
@@ -21111,9 +21070,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21111
21070
  } | {
21112
21071
  output: {
21113
21072
  error: string;
21073
+ exists: true;
21114
21074
  };
21115
21075
  outputFormat: "json";
21116
- status: 400;
21076
+ status: 409;
21117
21077
  input: {
21118
21078
  json: {
21119
21079
  name: string;
@@ -21146,10 +21106,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21146
21106
  } | {
21147
21107
  output: {
21148
21108
  error: string;
21149
- exists: true;
21150
21109
  };
21151
21110
  outputFormat: "json";
21152
- status: 409;
21111
+ status: 500;
21153
21112
  input: {
21154
21113
  json: {
21155
21114
  name: string;
@@ -21181,10 +21140,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21181
21140
  };
21182
21141
  } | {
21183
21142
  output: {
21184
- error: string;
21143
+ path: string;
21144
+ name: string;
21185
21145
  };
21186
21146
  outputFormat: "json";
21187
- status: 500;
21147
+ status: 201;
21188
21148
  input: {
21189
21149
  json: {
21190
21150
  name: string;
@@ -21220,11 +21180,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21220
21180
  "/workflows/:name": {
21221
21181
  $delete: {
21222
21182
  output: {
21223
- ok: true;
21224
- path: string;
21183
+ error: string;
21225
21184
  };
21226
21185
  outputFormat: "json";
21227
- status: import("hono/utils/http-status").ContentfulStatusCode;
21186
+ status: 400 | 404 | 409 | 500;
21228
21187
  input: {
21229
21188
  param: {
21230
21189
  name: string;
@@ -21232,10 +21191,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21232
21191
  };
21233
21192
  } | {
21234
21193
  output: {
21235
- error: string;
21194
+ ok: true;
21195
+ path: string;
21236
21196
  };
21237
21197
  outputFormat: "json";
21238
- status: 400 | 404 | 409 | 500;
21198
+ status: import("hono/utils/http-status").ContentfulStatusCode;
21239
21199
  input: {
21240
21200
  param: {
21241
21201
  name: string;
@@ -21411,18 +21371,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21411
21371
  "/repo/branches/delete": {
21412
21372
  $post: {
21413
21373
  output: {
21414
- deleted: string[];
21374
+ error: string;
21415
21375
  refused: {
21416
21376
  name: string;
21417
21377
  reason: string;
21418
21378
  }[];
21419
- dropped?: {
21420
- sha: string;
21421
- subject: string;
21422
- }[] | undefined;
21423
21379
  };
21424
21380
  outputFormat: "json";
21425
- status: 200;
21381
+ status: 409;
21426
21382
  input: {
21427
21383
  json: {
21428
21384
  names: string[];
@@ -21431,14 +21387,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21431
21387
  };
21432
21388
  } | {
21433
21389
  output: {
21434
- error: string;
21390
+ deleted: string[];
21435
21391
  refused: {
21436
21392
  name: string;
21437
21393
  reason: string;
21438
21394
  }[];
21395
+ dropped?: {
21396
+ sha: string;
21397
+ subject: string;
21398
+ }[] | undefined;
21439
21399
  };
21440
21400
  outputFormat: "json";
21441
- status: 409;
21401
+ status: 200;
21442
21402
  input: {
21443
21403
  json: {
21444
21404
  names: string[];
@@ -21459,6 +21419,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21459
21419
  } & {
21460
21420
  "/repo/commit/:sha": {
21461
21421
  $get: {
21422
+ output: string;
21423
+ outputFormat: "text";
21424
+ status: import("hono/utils/http-status").ContentfulStatusCode;
21425
+ input: {
21426
+ query: {
21427
+ structured?: string | undefined;
21428
+ };
21429
+ } & {
21430
+ param: {
21431
+ sha: string;
21432
+ };
21433
+ };
21434
+ } | {
21462
21435
  output: {
21463
21436
  error: string;
21464
21437
  code?: "invalid_input" | undefined;
@@ -21522,19 +21495,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21522
21495
  sha: string;
21523
21496
  };
21524
21497
  };
21525
- } | {
21526
- output: string;
21527
- outputFormat: "text";
21528
- status: import("hono/utils/http-status").ContentfulStatusCode;
21529
- input: {
21530
- query: {
21531
- structured?: string | undefined;
21532
- };
21533
- } & {
21534
- param: {
21535
- sha: string;
21536
- };
21537
- };
21538
21498
  };
21539
21499
  };
21540
21500
  } & {
@@ -21595,12 +21555,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21595
21555
  "/repo/pull": {
21596
21556
  $post: {
21597
21557
  output: {
21598
- branch: string;
21599
- pulled: true;
21600
- summary: string;
21558
+ error: string;
21601
21559
  };
21602
21560
  outputFormat: "json";
21603
- status: 200;
21561
+ status: 409;
21604
21562
  input: {
21605
21563
  json: {
21606
21564
  branch?: string | undefined;
@@ -21609,10 +21567,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21609
21567
  };
21610
21568
  } | {
21611
21569
  output: {
21612
- error: string;
21570
+ branch: string;
21571
+ pulled: true;
21572
+ summary: string;
21613
21573
  };
21614
21574
  outputFormat: "json";
21615
- status: 409;
21575
+ status: 200;
21616
21576
  input: {
21617
21577
  json: {
21618
21578
  branch?: string | undefined;
@@ -22570,6 +22530,81 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22570
22530
  } & {
22571
22531
  "/automations": {
22572
22532
  $post: {
22533
+ output: {
22534
+ error: string;
22535
+ };
22536
+ outputFormat: "json";
22537
+ status: 400 | 404 | 409;
22538
+ input: {
22539
+ json: {
22540
+ name: string;
22541
+ description?: string | undefined;
22542
+ enabled?: boolean | undefined;
22543
+ kind?: "github" | "schedule" | undefined;
22544
+ events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
22545
+ intervalSeconds?: number | undefined;
22546
+ filters?: {
22547
+ [x: string]: unknown;
22548
+ includeExisting?: boolean | undefined;
22549
+ requireCurrentLabels?: boolean | undefined;
22550
+ authors?: string[] | undefined;
22551
+ assignees?: string[] | undefined;
22552
+ allLabels?: string[] | undefined;
22553
+ anyLabels?: string[] | undefined;
22554
+ excludeLabels?: string[] | undefined;
22555
+ changedLabels?: string[] | undefined;
22556
+ lookbackDays?: number | undefined;
22557
+ maxRecords?: number | undefined;
22558
+ } | undefined;
22559
+ schedule?: {
22560
+ type: "daily" | "hours" | "once" | "weekdays" | "weekly";
22561
+ hour?: number | undefined;
22562
+ minute?: number | undefined;
22563
+ day?: number | undefined;
22564
+ every?: 1 | 2 | 3 | 4 | 6 | 8 | 12 | undefined;
22565
+ at?: string | undefined;
22566
+ timeZone?: string | undefined;
22567
+ latestStartMinutes?: number | undefined;
22568
+ } | undefined;
22569
+ task: {
22570
+ archiveWhenDone?: boolean | undefined;
22571
+ autoMergePr?: boolean | undefined;
22572
+ allowWorkers?: boolean | undefined;
22573
+ allowMessaging?: boolean | undefined;
22574
+ prompt: string;
22575
+ workflow?: string | undefined;
22576
+ steps?: {
22577
+ id: string;
22578
+ name?: string | undefined;
22579
+ prompt?: string | undefined;
22580
+ skill?: string | undefined;
22581
+ model?: string | undefined;
22582
+ effort?: string | undefined;
22583
+ timeoutMs?: number | undefined;
22584
+ runner?: string | undefined;
22585
+ agentProfile?: string | undefined;
22586
+ allowedTools?: string[] | undefined;
22587
+ bashAllowlist?: string[] | undefined;
22588
+ kind?: "plugin" | undefined;
22589
+ pluginKind?: string | undefined;
22590
+ config?: Record<string, unknown> | undefined;
22591
+ command?: string | undefined;
22592
+ onFail?: {
22593
+ retry: string;
22594
+ max?: number | undefined;
22595
+ } | undefined;
22596
+ }[] | undefined;
22597
+ runner?: string | undefined;
22598
+ model?: string | undefined;
22599
+ effort?: string | undefined;
22600
+ worktree?: boolean | undefined;
22601
+ autonomous?: boolean | undefined;
22602
+ systemPrompt?: string | undefined;
22603
+ };
22604
+ enable?: boolean | undefined;
22605
+ };
22606
+ };
22607
+ } | {
22573
22608
  output: {
22574
22609
  automation: {
22575
22610
  [x: string]: import("hono/utils/types").JSONValue;
@@ -22733,86 +22768,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22733
22768
  enable?: boolean | undefined;
22734
22769
  };
22735
22770
  };
22736
- } | {
22771
+ };
22772
+ };
22773
+ } & {
22774
+ "/automations/:id": {
22775
+ $get: {
22737
22776
  output: {
22738
22777
  error: string;
22739
22778
  };
22740
22779
  outputFormat: "json";
22741
22780
  status: 400 | 404 | 409;
22742
22781
  input: {
22743
- json: {
22744
- name: string;
22745
- description?: string | undefined;
22746
- enabled?: boolean | undefined;
22747
- kind?: "github" | "schedule" | undefined;
22748
- events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
22749
- intervalSeconds?: number | undefined;
22750
- filters?: {
22751
- [x: string]: unknown;
22752
- includeExisting?: boolean | undefined;
22753
- requireCurrentLabels?: boolean | undefined;
22754
- authors?: string[] | undefined;
22755
- assignees?: string[] | undefined;
22756
- allLabels?: string[] | undefined;
22757
- anyLabels?: string[] | undefined;
22758
- excludeLabels?: string[] | undefined;
22759
- changedLabels?: string[] | undefined;
22760
- lookbackDays?: number | undefined;
22761
- maxRecords?: number | undefined;
22762
- } | undefined;
22763
- schedule?: {
22764
- type: "daily" | "hours" | "once" | "weekdays" | "weekly";
22765
- hour?: number | undefined;
22766
- minute?: number | undefined;
22767
- day?: number | undefined;
22768
- every?: 1 | 2 | 3 | 4 | 6 | 8 | 12 | undefined;
22769
- at?: string | undefined;
22770
- timeZone?: string | undefined;
22771
- latestStartMinutes?: number | undefined;
22772
- } | undefined;
22773
- task: {
22774
- archiveWhenDone?: boolean | undefined;
22775
- autoMergePr?: boolean | undefined;
22776
- allowWorkers?: boolean | undefined;
22777
- allowMessaging?: boolean | undefined;
22778
- prompt: string;
22779
- workflow?: string | undefined;
22780
- steps?: {
22781
- id: string;
22782
- name?: string | undefined;
22783
- prompt?: string | undefined;
22784
- skill?: string | undefined;
22785
- model?: string | undefined;
22786
- effort?: string | undefined;
22787
- timeoutMs?: number | undefined;
22788
- runner?: string | undefined;
22789
- agentProfile?: string | undefined;
22790
- allowedTools?: string[] | undefined;
22791
- bashAllowlist?: string[] | undefined;
22792
- kind?: "plugin" | undefined;
22793
- pluginKind?: string | undefined;
22794
- config?: Record<string, unknown> | undefined;
22795
- command?: string | undefined;
22796
- onFail?: {
22797
- retry: string;
22798
- max?: number | undefined;
22799
- } | undefined;
22800
- }[] | undefined;
22801
- runner?: string | undefined;
22802
- model?: string | undefined;
22803
- effort?: string | undefined;
22804
- worktree?: boolean | undefined;
22805
- autonomous?: boolean | undefined;
22806
- systemPrompt?: string | undefined;
22807
- };
22808
- enable?: boolean | undefined;
22782
+ param: {
22783
+ id: string;
22809
22784
  };
22810
22785
  };
22811
- };
22812
- };
22813
- } & {
22814
- "/automations/:id": {
22815
- $get: {
22786
+ } | {
22816
22787
  output: {
22817
22788
  automation: {
22818
22789
  [x: string]: import("hono/utils/types").JSONValue;
@@ -22975,35 +22946,26 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22975
22946
  id: string;
22976
22947
  };
22977
22948
  };
22978
- } | {
22979
- output: {
22980
- error: string;
22981
- };
22982
- outputFormat: "json";
22983
- status: 400 | 404 | 409;
22984
- input: {
22985
- param: {
22986
- id: string;
22987
- };
22988
- };
22989
22949
  };
22990
22950
  };
22991
22951
  } & {
22992
22952
  "/automations/:id": {
22993
22953
  $put: {
22994
22954
  output: {
22995
- automation: {
22996
- [x: string]: import("hono/utils/types").JSONValue;
22997
- id: string;
22998
- revision: number;
22955
+ error: string;
22956
+ };
22957
+ outputFormat: "json";
22958
+ status: 400 | 404 | 409;
22959
+ input: {
22960
+ json: {
22999
22961
  name: string;
23000
22962
  description?: string | undefined;
23001
- enabled: boolean;
23002
- kind: "github" | "schedule";
22963
+ enabled?: boolean | undefined;
22964
+ kind?: "github" | "schedule" | undefined;
23003
22965
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
23004
22966
  intervalSeconds?: number | undefined;
23005
22967
  filters?: {
23006
- [x: string]: import("hono/utils/types").JSONValue;
22968
+ [x: string]: unknown;
23007
22969
  includeExisting?: boolean | undefined;
23008
22970
  requireCurrentLabels?: boolean | undefined;
23009
22971
  authors?: string[] | undefined;
@@ -23012,11 +22974,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23012
22974
  anyLabels?: string[] | undefined;
23013
22975
  excludeLabels?: string[] | undefined;
23014
22976
  changedLabels?: string[] | undefined;
23015
- lookbackDays: number;
23016
- maxRecords: number;
22977
+ lookbackDays?: number | undefined;
22978
+ maxRecords?: number | undefined;
23017
22979
  } | undefined;
23018
22980
  schedule?: {
23019
- [x: string]: import("hono/utils/types").JSONValue;
23020
22981
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
23021
22982
  hour?: number | undefined;
23022
22983
  minute?: number | undefined;
@@ -23027,7 +22988,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23027
22988
  latestStartMinutes?: number | undefined;
23028
22989
  } | undefined;
23029
22990
  task: {
23030
- [x: string]: import("hono/utils/types").JSONValue;
23031
22991
  archiveWhenDone?: boolean | undefined;
23032
22992
  autoMergePr?: boolean | undefined;
23033
22993
  allowWorkers?: boolean | undefined;
@@ -23048,47 +23008,41 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23048
23008
  bashAllowlist?: string[] | undefined;
23049
23009
  kind?: "plugin" | undefined;
23050
23010
  pluginKind?: string | undefined;
23051
- config?: {
23052
- [x: string]: import("hono/utils/types").JSONValue;
23053
- } | undefined;
23011
+ config?: Record<string, unknown> | undefined;
23054
23012
  command?: string | undefined;
23055
23013
  onFail?: {
23056
23014
  retry: string;
23057
- max: number;
23015
+ max?: number | undefined;
23058
23016
  } | undefined;
23059
23017
  }[] | undefined;
23060
23018
  runner?: string | undefined;
23061
23019
  model?: string | undefined;
23062
23020
  effort?: string | undefined;
23063
- variants?: 1 | 2 | 3 | undefined;
23064
23021
  worktree?: boolean | undefined;
23065
23022
  autonomous?: boolean | undefined;
23066
23023
  systemPrompt?: string | undefined;
23067
23024
  };
23068
- archived?: {
23069
- [x: string]: import("hono/utils/types").JSONValue;
23070
- at: string;
23071
- outcome: "cancelled" | "launched";
23072
- runId?: string | undefined;
23073
- receiptId?: string | undefined;
23074
- trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
23075
- } | undefined;
23076
- createdAt: string;
23077
- updatedAt: string;
23025
+ expectedRevision: number;
23026
+ };
23027
+ } & {
23028
+ param: {
23029
+ id: string;
23078
23030
  };
23079
23031
  };
23080
- outputFormat: "json";
23081
- status: import("hono/utils/http-status").ContentfulStatusCode;
23082
- input: {
23083
- json: {
23032
+ } | {
23033
+ output: {
23034
+ automation: {
23035
+ [x: string]: import("hono/utils/types").JSONValue;
23036
+ id: string;
23037
+ revision: number;
23084
23038
  name: string;
23085
23039
  description?: string | undefined;
23086
- enabled?: boolean | undefined;
23087
- kind?: "github" | "schedule" | undefined;
23040
+ enabled: boolean;
23041
+ kind: "github" | "schedule";
23088
23042
  events?: ("issue.labeled" | "issue.opened" | "issue.unlabeled" | "pull_request.opened")[] | undefined;
23089
23043
  intervalSeconds?: number | undefined;
23090
23044
  filters?: {
23091
- [x: string]: unknown;
23045
+ [x: string]: import("hono/utils/types").JSONValue;
23092
23046
  includeExisting?: boolean | undefined;
23093
23047
  requireCurrentLabels?: boolean | undefined;
23094
23048
  authors?: string[] | undefined;
@@ -23097,10 +23051,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23097
23051
  anyLabels?: string[] | undefined;
23098
23052
  excludeLabels?: string[] | undefined;
23099
23053
  changedLabels?: string[] | undefined;
23100
- lookbackDays?: number | undefined;
23101
- maxRecords?: number | undefined;
23054
+ lookbackDays: number;
23055
+ maxRecords: number;
23102
23056
  } | undefined;
23103
23057
  schedule?: {
23058
+ [x: string]: import("hono/utils/types").JSONValue;
23104
23059
  type: "daily" | "hours" | "once" | "weekdays" | "weekly";
23105
23060
  hour?: number | undefined;
23106
23061
  minute?: number | undefined;
@@ -23111,6 +23066,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23111
23066
  latestStartMinutes?: number | undefined;
23112
23067
  } | undefined;
23113
23068
  task: {
23069
+ [x: string]: import("hono/utils/types").JSONValue;
23114
23070
  archiveWhenDone?: boolean | undefined;
23115
23071
  autoMergePr?: boolean | undefined;
23116
23072
  allowWorkers?: boolean | undefined;
@@ -23131,33 +23087,37 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23131
23087
  bashAllowlist?: string[] | undefined;
23132
23088
  kind?: "plugin" | undefined;
23133
23089
  pluginKind?: string | undefined;
23134
- config?: Record<string, unknown> | undefined;
23090
+ config?: {
23091
+ [x: string]: import("hono/utils/types").JSONValue;
23092
+ } | undefined;
23135
23093
  command?: string | undefined;
23136
23094
  onFail?: {
23137
23095
  retry: string;
23138
- max?: number | undefined;
23096
+ max: number;
23139
23097
  } | undefined;
23140
23098
  }[] | undefined;
23141
23099
  runner?: string | undefined;
23142
23100
  model?: string | undefined;
23143
23101
  effort?: string | undefined;
23102
+ variants?: 1 | 2 | 3 | undefined;
23144
23103
  worktree?: boolean | undefined;
23145
23104
  autonomous?: boolean | undefined;
23146
23105
  systemPrompt?: string | undefined;
23147
23106
  };
23148
- expectedRevision: number;
23149
- };
23150
- } & {
23151
- param: {
23152
- id: string;
23107
+ archived?: {
23108
+ [x: string]: import("hono/utils/types").JSONValue;
23109
+ at: string;
23110
+ outcome: "cancelled" | "launched";
23111
+ runId?: string | undefined;
23112
+ receiptId?: string | undefined;
23113
+ trigger?: "late" | "manual" | "retry" | "schedule" | undefined;
23114
+ } | undefined;
23115
+ createdAt: string;
23116
+ updatedAt: string;
23153
23117
  };
23154
23118
  };
23155
- } | {
23156
- output: {
23157
- error: string;
23158
- };
23159
23119
  outputFormat: "json";
23160
- status: 400 | 404 | 409;
23120
+ status: import("hono/utils/http-status").ContentfulStatusCode;
23161
23121
  input: {
23162
23122
  json: {
23163
23123
  name: string;
@@ -23260,6 +23220,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23260
23220
  } & {
23261
23221
  "/automations/:id/enable": {
23262
23222
  $post: {
23223
+ output: {
23224
+ error: string;
23225
+ };
23226
+ outputFormat: "json";
23227
+ status: 400 | 404 | 409;
23228
+ input: {
23229
+ param: {
23230
+ id: string;
23231
+ };
23232
+ };
23233
+ } | {
23263
23234
  output: {
23264
23235
  automation: {
23265
23236
  [x: string]: import("hono/utils/types").JSONValue;
@@ -23353,7 +23324,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23353
23324
  id: string;
23354
23325
  };
23355
23326
  };
23356
- } | {
23327
+ };
23328
+ };
23329
+ } & {
23330
+ "/automations/:id/pause": {
23331
+ $post: {
23357
23332
  output: {
23358
23333
  error: string;
23359
23334
  };
@@ -23364,11 +23339,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23364
23339
  id: string;
23365
23340
  };
23366
23341
  };
23367
- };
23368
- };
23369
- } & {
23370
- "/automations/:id/pause": {
23371
- $post: {
23342
+ } | {
23372
23343
  output: {
23373
23344
  automation: {
23374
23345
  [x: string]: import("hono/utils/types").JSONValue;
@@ -23462,7 +23433,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23462
23433
  id: string;
23463
23434
  };
23464
23435
  };
23465
- } | {
23436
+ };
23437
+ };
23438
+ } & {
23439
+ "/automations/:id/cancel": {
23440
+ $post: {
23466
23441
  output: {
23467
23442
  error: string;
23468
23443
  };
@@ -23473,11 +23448,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23473
23448
  id: string;
23474
23449
  };
23475
23450
  };
23476
- };
23477
- };
23478
- } & {
23479
- "/automations/:id/cancel": {
23480
- $post: {
23451
+ } | {
23481
23452
  output: {
23482
23453
  automation: {
23483
23454
  [x: string]: import("hono/utils/types").JSONValue;
@@ -23571,27 +23542,16 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23571
23542
  id: string;
23572
23543
  };
23573
23544
  };
23574
- } | {
23575
- output: {
23576
- error: string;
23577
- };
23578
- outputFormat: "json";
23579
- status: 400 | 404 | 409;
23580
- input: {
23581
- param: {
23582
- id: string;
23583
- };
23584
- };
23585
23545
  };
23586
23546
  };
23587
23547
  } & {
23588
23548
  "/automations/:id/run": {
23589
23549
  $post: {
23590
23550
  output: {
23591
- runId: string;
23551
+ error: string;
23592
23552
  };
23593
23553
  outputFormat: "json";
23594
- status: 202;
23554
+ status: 400 | 404 | 409;
23595
23555
  input: {
23596
23556
  param: {
23597
23557
  id: string;
@@ -23599,10 +23559,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23599
23559
  };
23600
23560
  } | {
23601
23561
  output: {
23602
- error: string;
23562
+ runId: string;
23603
23563
  };
23604
23564
  outputFormat: "json";
23605
- status: 400 | 404 | 409;
23565
+ status: 202;
23606
23566
  input: {
23607
23567
  param: {
23608
23568
  id: string;
@@ -23614,10 +23574,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23614
23574
  "/automations/:id/check": {
23615
23575
  $post: {
23616
23576
  output: {
23617
- checkId: string;
23577
+ error: string;
23618
23578
  };
23619
23579
  outputFormat: "json";
23620
- status: 202;
23580
+ status: 404;
23621
23581
  input: {
23622
23582
  json: {
23623
23583
  mode: "execute" | "preview";
@@ -23632,7 +23592,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23632
23592
  error: string;
23633
23593
  };
23634
23594
  outputFormat: "json";
23635
- status: 404;
23595
+ status: 409;
23636
23596
  input: {
23637
23597
  json: {
23638
23598
  mode: "execute" | "preview";
@@ -23644,10 +23604,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23644
23604
  };
23645
23605
  } | {
23646
23606
  output: {
23647
- error: string;
23607
+ checkId: string;
23648
23608
  };
23649
23609
  outputFormat: "json";
23650
- status: 409;
23610
+ status: 202;
23651
23611
  input: {
23652
23612
  json: {
23653
23613
  mode: "execute" | "preview";
@@ -24938,18 +24898,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24938
24898
  } & {
24939
24899
  "/run-summaries": {
24940
24900
  $get: {
24941
- output: {
24942
- error: string;
24943
- code?: "invalid_input" | undefined;
24944
- };
24945
- outputFormat: "json";
24946
- status: 400;
24947
- input: {
24948
- query: {
24949
- archived?: "all" | "recent" | undefined;
24950
- };
24951
- };
24952
- } | {
24953
24901
  output: {
24954
24902
  id: string;
24955
24903
  title: string;
@@ -25083,6 +25031,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25083
25031
  archived?: "all" | "recent" | undefined;
25084
25032
  };
25085
25033
  };
25034
+ } | {
25035
+ output: {
25036
+ error: string;
25037
+ code?: "invalid_input" | undefined;
25038
+ };
25039
+ outputFormat: "json";
25040
+ status: 400;
25041
+ input: {
25042
+ query: {
25043
+ archived?: "all" | "recent" | undefined;
25044
+ };
25045
+ };
25086
25046
  };
25087
25047
  };
25088
25048
  } & {
@@ -25440,24 +25400,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25440
25400
  "/runs/:id/worker-destroy": {
25441
25401
  $post: {
25442
25402
  output: {
25443
- workerId: string;
25444
- state: "complete" | "incomplete";
25445
- work?: {
25446
- uncommittedFiles: number;
25447
- commits: number;
25448
- } | undefined;
25449
- deleted?: ({
25450
- kind: "worktree";
25451
- path: string;
25452
- } | {
25453
- kind: "branch";
25454
- ref: string;
25455
- })[] | undefined;
25456
- remaining: ("branch" | "process" | "worktree")[];
25457
- error?: string | undefined;
25403
+ error: string;
25404
+ code?: "invalid_input" | undefined;
25458
25405
  };
25459
25406
  outputFormat: "json";
25460
- status: 200;
25407
+ status: 400;
25461
25408
  input: {
25462
25409
  query: {
25463
25410
  [x: string]: string | string[];
@@ -25473,11 +25420,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25473
25420
  };
25474
25421
  } | {
25475
25422
  output: {
25476
- error: string;
25477
- code?: "invalid_input" | undefined;
25423
+ workerId: string;
25424
+ state: "complete" | "incomplete";
25425
+ work?: {
25426
+ uncommittedFiles: number;
25427
+ commits: number;
25428
+ } | undefined;
25429
+ deleted?: ({
25430
+ kind: "worktree";
25431
+ path: string;
25432
+ } | {
25433
+ kind: "branch";
25434
+ ref: string;
25435
+ })[] | undefined;
25436
+ remaining: ("branch" | "process" | "worktree")[];
25437
+ error?: string | undefined;
25478
25438
  };
25479
25439
  outputFormat: "json";
25480
- status: 400;
25440
+ status: 200;
25481
25441
  input: {
25482
25442
  query: {
25483
25443
  [x: string]: string | string[];
@@ -25593,21 +25553,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25593
25553
  } & {
25594
25554
  "/runs/:id/archive": {
25595
25555
  $post: {
25596
- output: {
25597
- error: string;
25598
- };
25599
- outputFormat: "json";
25600
- status: 404;
25601
- input: {
25602
- json: {
25603
- archived?: boolean | undefined;
25604
- };
25605
- } & {
25606
- param: {
25607
- id: string;
25608
- };
25609
- };
25610
- } | {
25611
25556
  output: {
25612
25557
  archiveWhenDone?: boolean | undefined;
25613
25558
  autoMergePr?: boolean | undefined;
@@ -26783,32 +26728,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
26783
26728
  id: string;
26784
26729
  };
26785
26730
  };
26786
- };
26787
- };
26788
- } & {
26789
- "/runs/:id/pin": {
26790
- $post: {
26731
+ } | {
26791
26732
  output: {
26792
26733
  error: string;
26793
- code?: "invalid_input" | undefined;
26794
26734
  };
26795
26735
  outputFormat: "json";
26796
- status: 400;
26736
+ status: 404;
26797
26737
  input: {
26798
- param: {
26799
- id: string;
26738
+ json: {
26739
+ archived?: boolean | undefined;
26800
26740
  };
26801
26741
  } & {
26802
- json: {
26803
- pinned?: boolean | undefined;
26742
+ param: {
26743
+ id: string;
26804
26744
  };
26805
26745
  };
26806
- } | {
26746
+ };
26747
+ };
26748
+ } & {
26749
+ "/runs/:id/pin": {
26750
+ $post: {
26807
26751
  output: {
26808
26752
  error: string;
26753
+ code?: "invalid_input" | undefined;
26809
26754
  };
26810
26755
  outputFormat: "json";
26811
- status: 404;
26756
+ status: 400;
26812
26757
  input: {
26813
26758
  param: {
26814
26759
  id: string;
@@ -27994,6 +27939,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27994
27939
  pinned?: boolean | undefined;
27995
27940
  };
27996
27941
  };
27942
+ } | {
27943
+ output: {
27944
+ error: string;
27945
+ };
27946
+ outputFormat: "json";
27947
+ status: 404;
27948
+ input: {
27949
+ param: {
27950
+ id: string;
27951
+ };
27952
+ } & {
27953
+ json: {
27954
+ pinned?: boolean | undefined;
27955
+ };
27956
+ };
27997
27957
  };
27998
27958
  };
27999
27959
  } & {
@@ -28020,7 +27980,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28020
27980
  error: string;
28021
27981
  };
28022
27982
  outputFormat: "json";
28023
- status: 400;
27983
+ status: 404;
28024
27984
  input: {
28025
27985
  param: {
28026
27986
  id: string;
@@ -28036,7 +27996,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28036
27996
  error: string;
28037
27997
  };
28038
27998
  outputFormat: "json";
28039
- status: 404;
27999
+ status: 400;
28040
28000
  input: {
28041
28001
  param: {
28042
28002
  id: string;
@@ -29255,17 +29215,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29255
29215
  } & {
29256
29216
  "/runs/:id/read": {
29257
29217
  $post: {
29258
- output: {
29259
- error: string;
29260
- };
29261
- outputFormat: "json";
29262
- status: 404;
29263
- input: {
29264
- param: {
29265
- id: string;
29266
- };
29267
- };
29268
- } | {
29269
29218
  output: {
29270
29219
  archiveWhenDone?: boolean | undefined;
29271
29220
  autoMergePr?: boolean | undefined;
@@ -30437,11 +30386,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
30437
30386
  id: string;
30438
30387
  };
30439
30388
  };
30440
- };
30441
- };
30442
- } & {
30443
- "/runs/:id/unread": {
30444
- $post: {
30389
+ } | {
30445
30390
  output: {
30446
30391
  error: string;
30447
30392
  };
@@ -30452,7 +30397,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
30452
30397
  id: string;
30453
30398
  };
30454
30399
  };
30455
- } | {
30400
+ };
30401
+ };
30402
+ } & {
30403
+ "/runs/:id/unread": {
30404
+ $post: {
30456
30405
  output: {
30457
30406
  archiveWhenDone?: boolean | undefined;
30458
30407
  autoMergePr?: boolean | undefined;
@@ -31624,6 +31573,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31624
31573
  id: string;
31625
31574
  };
31626
31575
  };
31576
+ } | {
31577
+ output: {
31578
+ error: string;
31579
+ };
31580
+ outputFormat: "json";
31581
+ status: 404;
31582
+ input: {
31583
+ param: {
31584
+ id: string;
31585
+ };
31586
+ };
31627
31587
  };
31628
31588
  };
31629
31589
  } & {
@@ -32896,17 +32856,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32896
32856
  } & {
32897
32857
  "/runs/:id": {
32898
32858
  $get: {
32899
- output: {
32900
- error: string;
32901
- };
32902
- outputFormat: "json";
32903
- status: 404;
32904
- input: {
32905
- param: {
32906
- id: string;
32907
- };
32908
- };
32909
- } | {
32910
32859
  output: {
32911
32860
  archiveWhenDone?: boolean | undefined;
32912
32861
  autoMergePr?: boolean | undefined;
@@ -34086,6 +34035,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34086
34035
  id: string;
34087
34036
  };
34088
34037
  };
34038
+ } | {
34039
+ output: {
34040
+ error: string;
34041
+ };
34042
+ outputFormat: "json";
34043
+ status: 404;
34044
+ input: {
34045
+ param: {
34046
+ id: string;
34047
+ };
34048
+ };
34089
34049
  };
34090
34050
  };
34091
34051
  } & {
@@ -34213,66 +34173,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34213
34173
  } & {
34214
34174
  "/runs/:id": {
34215
34175
  $patch: {
34216
- output: {
34217
- error: string;
34218
- };
34219
- outputFormat: "json";
34220
- status: 400;
34221
- input: {
34222
- json: {
34223
- archiveWhenDone?: boolean | undefined;
34224
- autoMergePr?: boolean | undefined;
34225
- allowWorkers?: boolean | undefined;
34226
- allowMessaging?: boolean | undefined;
34227
- title?: string | undefined;
34228
- task?: string | undefined;
34229
- };
34230
- } & {
34231
- param: {
34232
- id: string;
34233
- };
34234
- };
34235
- } | {
34236
- output: {
34237
- error: string;
34238
- };
34239
- outputFormat: "json";
34240
- status: 404;
34241
- input: {
34242
- json: {
34243
- archiveWhenDone?: boolean | undefined;
34244
- autoMergePr?: boolean | undefined;
34245
- allowWorkers?: boolean | undefined;
34246
- allowMessaging?: boolean | undefined;
34247
- title?: string | undefined;
34248
- task?: string | undefined;
34249
- };
34250
- } & {
34251
- param: {
34252
- id: string;
34253
- };
34254
- };
34255
- } | {
34256
- output: {
34257
- error: string;
34258
- };
34259
- outputFormat: "json";
34260
- status: 409;
34261
- input: {
34262
- json: {
34263
- archiveWhenDone?: boolean | undefined;
34264
- autoMergePr?: boolean | undefined;
34265
- allowWorkers?: boolean | undefined;
34266
- allowMessaging?: boolean | undefined;
34267
- title?: string | undefined;
34268
- task?: string | undefined;
34269
- };
34270
- } & {
34271
- param: {
34272
- id: string;
34273
- };
34274
- };
34275
- } | {
34276
34176
  output: {
34277
34177
  archiveWhenDone?: boolean | undefined;
34278
34178
  autoMergePr?: boolean | undefined;
@@ -35453,6 +35353,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35453
35353
  id: string;
35454
35354
  };
35455
35355
  };
35356
+ } | {
35357
+ output: {
35358
+ error: string;
35359
+ };
35360
+ outputFormat: "json";
35361
+ status: 404;
35362
+ input: {
35363
+ json: {
35364
+ archiveWhenDone?: boolean | undefined;
35365
+ autoMergePr?: boolean | undefined;
35366
+ allowWorkers?: boolean | undefined;
35367
+ allowMessaging?: boolean | undefined;
35368
+ title?: string | undefined;
35369
+ task?: string | undefined;
35370
+ };
35371
+ } & {
35372
+ param: {
35373
+ id: string;
35374
+ };
35375
+ };
35376
+ } | {
35377
+ output: {
35378
+ error: string;
35379
+ };
35380
+ outputFormat: "json";
35381
+ status: 400;
35382
+ input: {
35383
+ json: {
35384
+ archiveWhenDone?: boolean | undefined;
35385
+ autoMergePr?: boolean | undefined;
35386
+ allowWorkers?: boolean | undefined;
35387
+ allowMessaging?: boolean | undefined;
35388
+ title?: string | undefined;
35389
+ task?: string | undefined;
35390
+ };
35391
+ } & {
35392
+ param: {
35393
+ id: string;
35394
+ };
35395
+ };
35396
+ } | {
35397
+ output: {
35398
+ error: string;
35399
+ };
35400
+ outputFormat: "json";
35401
+ status: 409;
35402
+ input: {
35403
+ json: {
35404
+ archiveWhenDone?: boolean | undefined;
35405
+ autoMergePr?: boolean | undefined;
35406
+ allowWorkers?: boolean | undefined;
35407
+ allowMessaging?: boolean | undefined;
35408
+ title?: string | undefined;
35409
+ task?: string | undefined;
35410
+ };
35411
+ } & {
35412
+ param: {
35413
+ id: string;
35414
+ };
35415
+ };
35456
35416
  };
35457
35417
  };
35458
35418
  } & {
@@ -35557,7 +35517,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35557
35517
  error: string;
35558
35518
  };
35559
35519
  outputFormat: "json";
35560
- status: 400;
35520
+ status: 404;
35561
35521
  input: {
35562
35522
  json: {
35563
35523
  text?: string | undefined;
@@ -35576,7 +35536,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35576
35536
  error: string;
35577
35537
  };
35578
35538
  outputFormat: "json";
35579
- status: 404;
35539
+ status: 409;
35580
35540
  input: {
35581
35541
  json: {
35582
35542
  text?: string | undefined;
@@ -35592,10 +35552,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35592
35552
  };
35593
35553
  } | {
35594
35554
  output: {
35595
- error: string;
35555
+ delivered: true;
35596
35556
  };
35597
35557
  outputFormat: "json";
35598
- status: 409;
35558
+ status: import("hono/utils/http-status").ContentfulStatusCode;
35599
35559
  input: {
35600
35560
  json: {
35601
35561
  text?: string | undefined;
@@ -35611,10 +35571,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35611
35571
  };
35612
35572
  } | {
35613
35573
  output: {
35614
- delivered: true;
35574
+ error: string;
35615
35575
  };
35616
35576
  outputFormat: "json";
35617
- status: import("hono/utils/http-status").ContentfulStatusCode;
35577
+ status: 400;
35618
35578
  input: {
35619
35579
  json: {
35620
35580
  text?: string | undefined;
@@ -35682,7 +35642,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35682
35642
  error: string;
35683
35643
  };
35684
35644
  outputFormat: "json";
35685
- status: 400;
35645
+ status: 404;
35686
35646
  input: {
35687
35647
  json: {
35688
35648
  text?: string | undefined;
@@ -35703,7 +35663,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35703
35663
  error: string;
35704
35664
  };
35705
35665
  outputFormat: "json";
35706
- status: 404;
35666
+ status: 400;
35707
35667
  input: {
35708
35668
  json: {
35709
35669
  text?: string | undefined;
@@ -35923,11 +35883,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35923
35883
  "/runs/:id/open-in-cli": {
35924
35884
  $post: {
35925
35885
  output: {
35926
- opened: true;
35927
- command: string;
35886
+ error: string;
35928
35887
  };
35929
35888
  outputFormat: "json";
35930
- status: import("hono/utils/http-status").ContentfulStatusCode;
35889
+ status: 404 | 409;
35931
35890
  input: {
35932
35891
  param: {
35933
35892
  id: string;
@@ -35935,10 +35894,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35935
35894
  };
35936
35895
  } | {
35937
35896
  output: {
35938
- error: string;
35897
+ opened: true;
35898
+ command: string;
35939
35899
  };
35940
35900
  outputFormat: "json";
35941
- status: 404 | 409;
35901
+ status: import("hono/utils/http-status").ContentfulStatusCode;
35942
35902
  input: {
35943
35903
  param: {
35944
35904
  id: string;
@@ -35953,7 +35913,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35953
35913
  error: string;
35954
35914
  };
35955
35915
  outputFormat: "json";
35956
- status: 400;
35916
+ status: 404 | 409;
35957
35917
  input: {
35958
35918
  json: {
35959
35919
  target: string;
@@ -35966,11 +35926,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35966
35926
  };
35967
35927
  } | {
35968
35928
  output: {
35969
- opened: true;
35970
- path: string;
35929
+ error: string;
35971
35930
  };
35972
35931
  outputFormat: "json";
35973
- status: import("hono/utils/http-status").ContentfulStatusCode;
35932
+ status: 400;
35974
35933
  input: {
35975
35934
  json: {
35976
35935
  target: string;
@@ -35983,10 +35942,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35983
35942
  };
35984
35943
  } | {
35985
35944
  output: {
35986
- error: string;
35945
+ opened: true;
35946
+ path: string;
35987
35947
  };
35988
35948
  outputFormat: "json";
35989
- status: 404 | 409;
35949
+ status: import("hono/utils/http-status").ContentfulStatusCode;
35990
35950
  input: {
35991
35951
  json: {
35992
35952
  target: string;
@@ -36026,12 +35986,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36026
35986
  } & {
36027
35987
  "/runs/:id/images/:file": {
36028
35988
  $get: {
36029
- output: {
36030
- error: string;
36031
- code?: "invalid_input" | undefined;
36032
- };
36033
- outputFormat: "json";
36034
- status: 400;
35989
+ output: {};
35990
+ outputFormat: string;
35991
+ status: import("hono/utils/http-status").StatusCode;
36035
35992
  input: {
36036
35993
  param: {
36037
35994
  id: string;
@@ -36039,9 +35996,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36039
35996
  };
36040
35997
  };
36041
35998
  } | {
36042
- output: {};
36043
- outputFormat: string;
36044
- status: import("hono/utils/http-status").StatusCode;
35999
+ output: {
36000
+ error: string;
36001
+ code?: "invalid_input" | undefined;
36002
+ };
36003
+ outputFormat: "json";
36004
+ status: 400;
36045
36005
  input: {
36046
36006
  param: {
36047
36007
  id: string;
@@ -36077,6 +36037,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36077
36037
  } & {
36078
36038
  "/runs/:id/changes": {
36079
36039
  $get: {
36040
+ output: {
36041
+ error: string;
36042
+ };
36043
+ outputFormat: "json";
36044
+ status: 404 | 409;
36045
+ input: {
36046
+ param: {
36047
+ id: string;
36048
+ };
36049
+ };
36050
+ } | {
36080
36051
  output: {
36081
36052
  files: {
36082
36053
  path: string;
@@ -36105,7 +36076,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36105
36076
  id: string;
36106
36077
  };
36107
36078
  };
36108
- } | {
36079
+ };
36080
+ };
36081
+ } & {
36082
+ "/runs/:id/commits": {
36083
+ $get: {
36109
36084
  output: {
36110
36085
  error: string;
36111
36086
  };
@@ -36116,11 +36091,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36116
36091
  id: string;
36117
36092
  };
36118
36093
  };
36119
- };
36120
- };
36121
- } & {
36122
- "/runs/:id/commits": {
36123
- $get: {
36094
+ } | {
36124
36095
  output: {
36125
36096
  commits: {
36126
36097
  sha: string;
@@ -36136,7 +36107,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36136
36107
  id: string;
36137
36108
  };
36138
36109
  };
36139
- } | {
36110
+ };
36111
+ };
36112
+ } & {
36113
+ "/runs/:id/commit/:sha": {
36114
+ $get: {
36140
36115
  output: {
36141
36116
  error: string;
36142
36117
  };
@@ -36144,14 +36119,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36144
36119
  status: 404 | 409;
36145
36120
  input: {
36146
36121
  param: {
36122
+ sha: string;
36123
+ } & {
36147
36124
  id: string;
36148
36125
  };
36149
36126
  };
36150
- };
36151
- };
36152
- } & {
36153
- "/runs/:id/commit/:sha": {
36154
- $get: {
36127
+ } | {
36155
36128
  output: {
36156
36129
  sha: string;
36157
36130
  subject: string;
@@ -36182,19 +36155,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36182
36155
  id: string;
36183
36156
  };
36184
36157
  };
36185
- } | {
36186
- output: {
36187
- error: string;
36188
- };
36189
- outputFormat: "json";
36190
- status: 404 | 409;
36191
- input: {
36192
- param: {
36193
- sha: string;
36194
- } & {
36195
- id: string;
36196
- };
36197
- };
36198
36158
  };
36199
36159
  };
36200
36160
  } & {
@@ -36230,6 +36190,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36230
36190
  raw?: "1" | undefined;
36231
36191
  };
36232
36192
  };
36193
+ } | {
36194
+ output: {
36195
+ error: string;
36196
+ };
36197
+ outputFormat: "json";
36198
+ status: 404 | 409;
36199
+ input: {
36200
+ param: {
36201
+ id: string;
36202
+ };
36203
+ } & {
36204
+ query: {
36205
+ path: string | string[];
36206
+ raw?: "1" | undefined;
36207
+ };
36208
+ };
36233
36209
  } | {
36234
36210
  output: {
36235
36211
  type: "file";
@@ -36266,22 +36242,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36266
36242
  raw?: "1" | undefined;
36267
36243
  };
36268
36244
  };
36269
- } | {
36270
- output: {
36271
- error: string;
36272
- };
36273
- outputFormat: "json";
36274
- status: 404 | 409;
36275
- input: {
36276
- param: {
36277
- id: string;
36278
- };
36279
- } & {
36280
- query: {
36281
- path: string | string[];
36282
- raw?: "1" | undefined;
36283
- };
36284
- };
36285
36245
  };
36286
36246
  };
36287
36247
  } & {
@@ -36346,18 +36306,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36346
36306
  artifactId: string;
36347
36307
  };
36348
36308
  };
36349
- } | {
36350
- output: {
36351
- error: string;
36352
- };
36353
- outputFormat: "json";
36354
- status: 404;
36355
- input: {
36356
- param: {
36357
- id: string;
36358
- artifactId: string;
36359
- };
36360
- };
36361
36309
  } | {
36362
36310
  output: {
36363
36311
  type: "file";
@@ -36386,6 +36334,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36386
36334
  artifactId: string;
36387
36335
  };
36388
36336
  };
36337
+ } | {
36338
+ output: {
36339
+ error: string;
36340
+ };
36341
+ outputFormat: "json";
36342
+ status: 404;
36343
+ input: {
36344
+ param: {
36345
+ id: string;
36346
+ artifactId: string;
36347
+ };
36348
+ };
36389
36349
  };
36390
36350
  };
36391
36351
  } & {
@@ -36563,16 +36523,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36563
36523
  };
36564
36524
  } | {
36565
36525
  output: {
36566
- type: 'dir';
36567
- path: string;
36568
- entries: {
36569
- name: string;
36570
- type: 'dir' | 'file';
36571
- size?: number;
36572
- }[];
36526
+ error: string;
36573
36527
  };
36574
36528
  outputFormat: "json";
36575
- status: import("hono/utils/http-status").ContentfulStatusCode;
36529
+ status: 404 | 409;
36576
36530
  input: {
36577
36531
  query: {
36578
36532
  path?: string | undefined;
@@ -36585,12 +36539,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36585
36539
  };
36586
36540
  } | {
36587
36541
  output: {
36588
- type: 'file';
36542
+ type: 'dir';
36589
36543
  path: string;
36590
- size: number;
36591
- binary: boolean;
36592
- tooLarge: boolean;
36593
- content?: string | undefined;
36544
+ entries: {
36545
+ name: string;
36546
+ type: 'dir' | 'file';
36547
+ size?: number;
36548
+ }[];
36594
36549
  };
36595
36550
  outputFormat: "json";
36596
36551
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -36606,10 +36561,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36606
36561
  };
36607
36562
  } | {
36608
36563
  output: {
36609
- error: string;
36564
+ type: 'file';
36565
+ path: string;
36566
+ size: number;
36567
+ binary: boolean;
36568
+ tooLarge: boolean;
36569
+ content?: string | undefined;
36610
36570
  };
36611
36571
  outputFormat: "json";
36612
- status: 404 | 409;
36572
+ status: import("hono/utils/http-status").ContentfulStatusCode;
36613
36573
  input: {
36614
36574
  query: {
36615
36575
  path?: string | undefined;
@@ -36626,11 +36586,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36626
36586
  "/runs/:id/git/commit": {
36627
36587
  $post: {
36628
36588
  output: {
36629
- committed: true;
36630
- sha: string;
36589
+ error: string;
36631
36590
  };
36632
36591
  outputFormat: "json";
36633
- status: import("hono/utils/http-status").ContentfulStatusCode;
36592
+ status: 404 | 409;
36634
36593
  input: {
36635
36594
  json: {
36636
36595
  message: string;
@@ -36642,10 +36601,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36642
36601
  };
36643
36602
  } | {
36644
36603
  output: {
36645
- error: string;
36604
+ committed: true;
36605
+ sha: string;
36646
36606
  };
36647
36607
  outputFormat: "json";
36648
- status: 404 | 409;
36608
+ status: import("hono/utils/http-status").ContentfulStatusCode;
36649
36609
  input: {
36650
36610
  json: {
36651
36611
  message: string;
@@ -36661,13 +36621,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36661
36621
  "/runs/:id/git/push": {
36662
36622
  $post: {
36663
36623
  output: {
36664
- pushed: true;
36665
- branch: string;
36666
- remote: string;
36667
- upstreamSet: boolean;
36624
+ error: string;
36668
36625
  };
36669
36626
  outputFormat: "json";
36670
- status: import("hono/utils/http-status").ContentfulStatusCode;
36627
+ status: 404 | 409;
36671
36628
  input: {
36672
36629
  param: {
36673
36630
  id: string;
@@ -36675,10 +36632,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36675
36632
  };
36676
36633
  } | {
36677
36634
  output: {
36678
- error: string;
36635
+ pushed: true;
36636
+ branch: string;
36637
+ remote: string;
36638
+ upstreamSet: boolean;
36679
36639
  };
36680
36640
  outputFormat: "json";
36681
- status: 404 | 409;
36641
+ status: import("hono/utils/http-status").ContentfulStatusCode;
36682
36642
  input: {
36683
36643
  param: {
36684
36644
  id: string;
@@ -36690,11 +36650,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36690
36650
  "/runs/:id/pr": {
36691
36651
  $post: {
36692
36652
  output: {
36693
- url: string;
36694
- dryRun: boolean;
36653
+ error: string;
36695
36654
  };
36696
36655
  outputFormat: "json";
36697
- status: 201;
36656
+ status: 404 | 409;
36698
36657
  input: {
36699
36658
  param: {
36700
36659
  id: string;
@@ -36702,10 +36661,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36702
36661
  };
36703
36662
  } | {
36704
36663
  output: {
36705
- error: string;
36664
+ url: string;
36665
+ dryRun: boolean;
36706
36666
  };
36707
36667
  outputFormat: "json";
36708
- status: 404 | 409;
36668
+ status: 201;
36709
36669
  input: {
36710
36670
  param: {
36711
36671
  id: string;
@@ -36717,10 +36677,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36717
36677
  "/runs/:id/remove-worktree": {
36718
36678
  $post: {
36719
36679
  output: {
36720
- removed: true;
36680
+ error: string;
36721
36681
  };
36722
36682
  outputFormat: "json";
36723
- status: import("hono/utils/http-status").ContentfulStatusCode;
36683
+ status: 404 | 409;
36724
36684
  input: {
36725
36685
  param: {
36726
36686
  id: string;
@@ -36728,10 +36688,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36728
36688
  };
36729
36689
  } | {
36730
36690
  output: {
36731
- error: string;
36691
+ removed: true;
36732
36692
  };
36733
36693
  outputFormat: "json";
36734
- status: 404 | 409;
36694
+ status: import("hono/utils/http-status").ContentfulStatusCode;
36735
36695
  input: {
36736
36696
  param: {
36737
36697
  id: string;
@@ -36743,10 +36703,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36743
36703
  "/runs/:id": {
36744
36704
  $delete: {
36745
36705
  output: {
36746
- deleted: true;
36706
+ error: string;
36747
36707
  };
36748
36708
  outputFormat: "json";
36749
- status: import("hono/utils/http-status").ContentfulStatusCode;
36709
+ status: 404 | 409;
36750
36710
  input: {
36751
36711
  param: {
36752
36712
  id: string;
@@ -36754,10 +36714,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
36754
36714
  };
36755
36715
  } | {
36756
36716
  output: {
36757
- error: string;
36717
+ deleted: true;
36758
36718
  };
36759
36719
  outputFormat: "json";
36760
- status: 404 | 409;
36720
+ status: import("hono/utils/http-status").ContentfulStatusCode;
36761
36721
  input: {
36762
36722
  param: {
36763
36723
  id: string;