@hearsay-tools/squawk 0.19.0-pr4482.8837 → 0.19.0-pr4484.8849

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 (125) hide show
  1. package/dist/ci-wait/controller.d.ts +7 -7
  2. package/dist/contract/index.d.ts +1 -0
  3. package/dist/contract/index.js +33 -7
  4. package/dist/contract/pull-request-urls.d.ts +20 -0
  5. package/dist/contract/runs.d.ts +10 -1
  6. package/dist/core/backend-detect.d.ts +1 -0
  7. package/dist/core/backend-detect.js +1 -1
  8. package/dist/core/backend-detect.js.map +1 -1
  9. package/dist/delegation/routes.d.ts +4 -4
  10. package/dist/delegation/transport.d.ts +69 -69
  11. package/dist/runs/pull-requests.d.ts +10 -0
  12. package/dist/runs/pull-requests.js +30 -19
  13. package/dist/runs/pull-requests.js.map +1 -1
  14. package/dist/runs/run-archive.d.ts +1 -0
  15. package/dist/runs/run-archive.js +14 -4
  16. package/dist/runs/run-archive.js.map +1 -1
  17. package/dist/runs/run-decode.d.ts +74 -72
  18. package/dist/runs/run-exits.d.ts +6 -0
  19. package/dist/runs/run-references.d.ts +1 -0
  20. package/dist/runs/run-references.js +7 -6
  21. package/dist/runs/run-references.js.map +1 -1
  22. package/dist/runs/store-open.d.ts +7 -1
  23. package/dist/runs/store-open.js +8 -2
  24. package/dist/runs/store-open.js.map +1 -1
  25. package/dist/runs/task-markers.js +1 -1
  26. package/dist/runs/task-markers.js.map +1 -1
  27. package/dist/runs/task-refs.d.ts +14 -7
  28. package/dist/runs/task-refs.js +32 -18
  29. package/dist/runs/task-refs.js.map +1 -1
  30. package/dist/server/activity-routes.d.ts +23 -23
  31. package/dist/server/completion-actions.js +3 -3
  32. package/dist/server/completion-actions.js.map +1 -1
  33. package/dist/server/forge/github-mutations.js +4 -2
  34. package/dist/server/forge/github-mutations.js.map +1 -1
  35. package/dist/server/forge/github-shared.js +4 -0
  36. package/dist/server/forge/github-shared.js.map +1 -1
  37. package/dist/server/project-settings-routes.d.ts +107 -107
  38. package/dist/server/providers-routes.d.ts +57 -57
  39. package/dist/server/repo-routes.d.ts +34 -34
  40. package/dist/server/runner-install-routes.d.ts +10 -10
  41. package/dist/server/runs-routes.d.ts +702 -693
  42. package/dist/server/server.d.ts +1366 -1348
  43. package/dist/server/workspace-routes.d.ts +84 -84
  44. package/dist/workflows/continuation-admission.d.ts +1 -0
  45. package/dist/workflows/run/wait-engine.d.ts +73 -72
  46. package/package.json +4 -4
  47. package/web/dist/assets/accounts-section-BeOGiodx.js +1 -0
  48. package/web/dist/assets/{activity-motion-BKEnbaU3.js → activity-motion-BraTC90V.js} +1 -1
  49. package/web/dist/assets/{activity-route-BktC7K27.js → activity-route-BxxLXnNb.js} +1 -1
  50. package/web/dist/assets/agent-config-section-iEj2kh_m.js +7 -0
  51. package/web/dist/assets/{agent-defaults-section-Bja_7urR.js → agent-defaults-section-CV2XEvs5.js} +1 -1
  52. package/web/dist/assets/{appearance-DCnUfFut.js → appearance-DEmDeQ3l.js} +1 -1
  53. package/web/dist/assets/{archive-on-merge-field-B0qWUHNs.js → archive-on-merge-field-BkwRlcuT.js} +1 -1
  54. package/web/dist/assets/attention-ILOaW2-t.js +1 -0
  55. package/web/dist/assets/automations-route-OZkTyuRX.js +2 -0
  56. package/web/dist/assets/{commit-list-BWK9da82.js → commit-list-PAtV8gyX.js} +1 -1
  57. package/web/dist/assets/{diff-BVH_RWBz.js → diff-DQk0ICL-.js} +2 -2
  58. package/web/dist/assets/{diff-controls-DuDm8Ywc.js → diff-controls-Dd5I6mOy.js} +1 -1
  59. package/web/dist/assets/{diff-view-CGSmQHjf.js → diff-view-B3e1YF2x.js} +1 -1
  60. package/web/dist/assets/discard-changes-dialog-BoWRfvhX.js +1 -0
  61. package/web/dist/assets/{file-preview-dLUnWpCG.js → file-preview-ifi0Ad8c.js} +1 -1
  62. package/web/dist/assets/{folder-browser-sASDxPXD.js → folder-browser-B_jJl4is.js} +1 -1
  63. package/web/dist/assets/{git-toolbar-C7waT1AJ.js → git-toolbar-D6uMb1LN.js} +1 -1
  64. package/web/dist/assets/{github-BkLTCoB7.js → github-A5MyAvjo.js} +1 -1
  65. package/web/dist/assets/{global-activity-route-CXm2vmR-.js → global-activity-route-BkuMl-UC.js} +1 -1
  66. package/web/dist/assets/index-9mlyFHVt.css +1 -0
  67. package/web/dist/assets/index-VBdx5s7U.js +21 -0
  68. package/web/dist/assets/{label-DF0V6WoC.js → label-DMC9mkYa.js} +1 -1
  69. package/web/dist/assets/{markdown-BODUip-p.js → markdown-CsP_OLyU.js} +1 -1
  70. package/web/dist/assets/{notifications-section-BoMwLKQj.js → notifications-section-KQJtCs-m.js} +1 -1
  71. package/web/dist/assets/{open-in-menu-D9VOIWhI.js → open-in-menu-VhRao_Jk.js} +1 -1
  72. package/web/dist/assets/{preview-pane-connected-BncD5HPr.js → preview-pane-connected-VjTQEceM.js} +3 -3
  73. package/web/dist/assets/{project-location-BKXBQJPm.js → project-location-DATkk1gA.js} +1 -1
  74. package/web/dist/assets/{project-router-p_FJwg-L.js → project-router-B9FTk0rB.js} +1 -1
  75. package/web/dist/assets/{projects-section-C2mLLBLO.js → projects-section-BhabP8vd.js} +1 -1
  76. package/web/dist/assets/{prompt-templates-section-CwWAsTg5.js → prompt-templates-section-AYpiCjmf.js} +1 -1
  77. package/web/dist/assets/{queries-C0l1puJe.js → queries-hzlF788B.js} +1 -1
  78. package/web/dist/assets/{reference-chip--9aRttZG.js → reference-chip-Dgo5aKeb.js} +1 -1
  79. package/web/dist/assets/{remote-settings-notice-B9h38exH.js → remote-settings-notice-C3iWEGmH.js} +1 -1
  80. package/web/dist/assets/repo-git-C01PFB-E.js +1 -0
  81. package/web/dist/assets/{report-reader-B7knRXaW.js → report-reader-nz3V3Lz7.js} +1 -1
  82. package/web/dist/assets/{report-selection-DQsrMoxl.js → report-selection-C-2DJb8L.js} +1 -1
  83. package/web/dist/assets/{reports-Dpn_dl7x.js → reports-DtZK4jOB.js} +1 -1
  84. package/web/dist/assets/{resources-section-BTRVTMVx.js → resources-section-BRzB_Bhb.js} +1 -1
  85. package/web/dist/assets/review-panel-DHJjHeaB.js +11 -0
  86. package/web/dist/assets/{run-detail-refresh-DyeLywhA.js → run-detail-refresh-Ye2jcT7n.js} +1 -1
  87. package/web/dist/assets/run-header-CSijv-YH.js +2 -0
  88. package/web/dist/assets/{select-B_nJiiFA.js → select-DlNVtWqZ.js} +1 -1
  89. package/web/dist/assets/{session-context-section-CaYkntsJ.js → session-context-section-Dv1cDixc.js} +2 -2
  90. package/web/dist/assets/{settings-agent-picker-Dl49O0Uz.js → settings-agent-picker-MdqbXV9H.js} +1 -1
  91. package/web/dist/assets/settings-shell-CjvGzEXE.js +1 -0
  92. package/web/dist/assets/{sidebar-section-bs9nIVDs.js → sidebar-section-DZuA4Izw.js} +1 -1
  93. package/web/dist/assets/{skills-B9orSgbp.js → skills-t0jRn0UI.js} +1 -1
  94. package/web/dist/assets/{tab-link-9ky9_HfJ.js → tab-link-BlZX-nKP.js} +1 -1
  95. package/web/dist/assets/{task-changes-CXTuG2Cn.js → task-changes-BNpDXPcl.js} +1 -1
  96. package/web/dist/assets/{task-commits-B2u2A-CY.js → task-commits-DPP79bjM.js} +1 -1
  97. package/web/dist/assets/{task-file-scope-Xr7UxjvR.js → task-file-scope-BpAU1GLy.js} +1 -1
  98. package/web/dist/assets/{task-files-BJnVrRlr.js → task-files-CcXwu4EQ.js} +1 -1
  99. package/web/dist/assets/task-github-item-DMFboxqX.js +1 -0
  100. package/web/dist/assets/{task-groups-DDxVSOHs.js → task-groups-DD46syqv.js} +1 -1
  101. package/web/dist/assets/task-thread-CoRkm48o.js +2 -0
  102. package/web/dist/assets/tasks-table-D17JLOhe.js +1 -0
  103. package/web/dist/assets/thread-state-BNR1qG2X.js +4 -0
  104. package/web/dist/assets/toaster-fWyfEGWF.js +4 -0
  105. package/web/dist/assets/{use-hand-to-agent-state-BCjGdF1N.js → use-hand-to-agent-state-BFEdVZQu.js} +1 -1
  106. package/web/dist/assets/workflows-D9I4QGot.js +7 -0
  107. package/web/dist/assets/{workspace-tools-CW9ltpbo.js → workspace-tools-Jy35o1XD.js} +1 -1
  108. package/web/dist/assets/{worktrees-section-DleqD_YR.js → worktrees-section-DjWQgjF3.js} +4 -4
  109. package/web/dist/index.html +14 -14
  110. package/web/dist/assets/accounts-section-COJzKqsN.js +0 -1
  111. package/web/dist/assets/agent-config-section-CUbXvXBE.js +0 -7
  112. package/web/dist/assets/attention-D3JmzDQv.js +0 -1
  113. package/web/dist/assets/automations-route-BUrEq0VH.js +0 -2
  114. package/web/dist/assets/index-CDd7AdAu.js +0 -21
  115. package/web/dist/assets/index-DNgBNd8o.css +0 -1
  116. package/web/dist/assets/repo-git-CgQA2pWS.js +0 -1
  117. package/web/dist/assets/review-panel-CuPvmcQp.js +0 -11
  118. package/web/dist/assets/run-header-UEj20eIu.js +0 -2
  119. package/web/dist/assets/settings-shell-DZOsC9Iv.js +0 -1
  120. package/web/dist/assets/task-github-item-DiU77rbk.js +0 -1
  121. package/web/dist/assets/task-thread-CWZI9Pb7.js +0 -2
  122. package/web/dist/assets/tasks-table-aF1_yUcS.js +0 -1
  123. package/web/dist/assets/thread-state-Bfa3qy5W.js +0 -4
  124. package/web/dist/assets/toaster-BYPWDBoi.js +0 -4
  125. package/web/dist/assets/workflows-Crhe2aKn.js +0 -7
@@ -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: {
@@ -408,7 +431,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
408
431
  project?: string | undefined;
409
432
  };
410
433
  };
411
- } | {
434
+ };
435
+ };
436
+ }, "/"> | import("hono/types").MergeSchemaPath<{
437
+ "/fs/browse": {
438
+ $get: {
412
439
  output: {
413
440
  error: string;
414
441
  code?: "invalid_input" | undefined;
@@ -417,7 +444,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
417
444
  status: 400;
418
445
  input: {
419
446
  query: {
420
- project?: string | undefined;
447
+ path?: string | undefined;
448
+ showHidden?: string | undefined;
421
449
  };
422
450
  };
423
451
  } | {
@@ -425,23 +453,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
425
453
  error: string;
426
454
  };
427
455
  outputFormat: "json";
428
- status: 404 | 409 | 503;
429
- input: {
430
- query: {
431
- project?: string | undefined;
432
- };
433
- };
434
- };
435
- };
436
- }, "/"> | import("hono/types").MergeSchemaPath<{
437
- "/fs/browse": {
438
- $get: {
439
- output: {
440
- error: string;
441
- code?: "invalid_input" | undefined;
442
- };
443
- outputFormat: "json";
444
- status: 400;
456
+ status: 400 | 403 | 404;
445
457
  input: {
446
458
  query: {
447
459
  path?: string | undefined;
@@ -467,38 +479,26 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
467
479
  showHidden?: string | undefined;
468
480
  };
469
481
  };
470
- } | {
471
- output: {
472
- error: string;
473
- };
474
- outputFormat: "json";
475
- status: 400 | 403 | 404;
476
- input: {
477
- query: {
478
- path?: string | undefined;
479
- showHidden?: string | undefined;
480
- };
481
- };
482
482
  };
483
483
  };
484
484
  }, "/"> | import("hono/types").MergeSchemaPath<{
485
485
  "/workspace/events": {
486
486
  $get: {
487
- output: {
488
- error: string;
489
- code?: "invalid_input" | undefined;
490
- };
491
- outputFormat: "json";
492
- status: 400;
487
+ output: {};
488
+ outputFormat: string;
489
+ status: import("hono/utils/http-status").StatusCode;
493
490
  input: {
494
491
  query: {
495
492
  runs?: "summary" | undefined;
496
493
  };
497
494
  };
498
495
  } | {
499
- output: {};
500
- outputFormat: string;
501
- status: import("hono/utils/http-status").StatusCode;
496
+ output: {
497
+ error: string;
498
+ code?: "invalid_input" | undefined;
499
+ };
500
+ outputFormat: "json";
501
+ status: 400;
502
502
  input: {
503
503
  query: {
504
504
  runs?: "summary" | undefined;
@@ -580,18 +580,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
580
580
  profileId?: string | undefined;
581
581
  };
582
582
  };
583
- } | {
584
- output: {
585
- error: string;
586
- };
587
- outputFormat: "json";
588
- status: 400;
589
- input: {
590
- query: {
591
- runner: string | string[];
592
- profileId?: string | undefined;
593
- };
594
- };
595
583
  } | {
596
584
  output: {
597
585
  runner: string;
@@ -613,179 +601,191 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
613
601
  profileId?: string | undefined;
614
602
  };
615
603
  };
616
- };
617
- };
618
- }, "/"> | import("hono/types").MergeSchemaPath<{
619
- "/workspace/runs-index": {
620
- $get: {
621
- output: {
622
- runs: {
623
- id: string;
624
- title: string;
625
- titleSummary?: string | undefined;
626
- titleOrigin?: "auto" | "marker" | "user" | undefined;
627
- status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
628
- hasPendingPermission?: boolean | undefined;
629
- waitingOn?: {
630
- kind: "human";
631
- shown?: true | undefined;
632
- } | {
633
- kind: "usage-limit";
634
- at: string;
635
- } | {
636
- kind: "workers";
637
- count: number;
638
- replies?: true | undefined;
639
- peers?: true | undefined;
640
- } | {
641
- kind: "peers";
642
- count: number;
643
- } | {
644
- kind: "subagents";
645
- count: number;
646
- } | {
647
- kind: "pr";
648
- until: "checks" | "merge" | "merge_or_blocked";
649
- waitId: string;
650
- prUrl: string;
651
- repository: string;
652
- prNumber: number;
653
- deadline: string;
654
- } | {
655
- kind: "process";
656
- waitId: string;
657
- pid: number;
658
- deadline: string;
659
- note?: string | undefined;
660
- } | {
661
- kind: "plugin";
662
- pluginKind: string;
663
- waitId: string;
664
- summary: string;
665
- deadline?: string | undefined;
666
- } | {
667
- kind: "timer";
668
- waitId: string;
669
- at: string;
670
- note?: string | undefined;
671
- } | undefined;
672
- waitWakePending?: true | undefined;
673
- delegation?: {
674
- role: "invalid";
675
- } | {
676
- role: "root";
677
- wait?: {
678
- workerIds?: string[] | undefined;
679
- requestIds?: string[] | undefined;
680
- phase: "parked" | "registered" | "wake-pending";
681
- outcomes?: {
682
- workerId: string;
683
- }[] | undefined;
684
- } | undefined;
685
- } | {
686
- role: "worker";
687
- parentRunId: string;
688
- supervisorRunId?: string | undefined;
689
- wait?: {
690
- requestIds?: string[] | undefined;
691
- phase: "parked" | "registered" | "wake-pending";
692
- } | undefined;
693
- } | undefined;
694
- createdAt: string;
695
- finishedAt?: string | undefined;
696
- seenAt?: string | undefined;
697
- archived: boolean;
698
- autoResumeAt?: string | undefined;
699
- autoResumeReason?: "provider-error" | "usage-limit" | undefined;
700
- workflow: string;
701
- branch?: string | undefined;
702
- startedAt?: string | undefined;
703
- pullRequestUrl?: string | undefined;
704
- pullRequests?: {
705
- number: number;
706
- url?: string | undefined;
707
- source: "created" | "declared";
708
- }[] | undefined;
709
- referencedPullRequestUrl?: string | undefined;
710
- prNumber?: number | undefined;
711
- issueNumber?: number | undefined;
712
- referencedIssueUrl?: string | undefined;
713
- markerRefs?: {
714
- pr?: number | undefined;
715
- issue?: number | undefined;
716
- } | undefined;
717
- costUsd?: number | undefined;
718
- peakRssBytes?: number | undefined;
719
- peakProcCount?: number | undefined;
720
- usage?: {
721
- cpuPct: number;
722
- rssBytes: number;
723
- procCount: number;
724
- } | undefined;
725
- workflowLabel: string;
726
- groupId?: string | undefined;
727
- variant?: string | undefined;
728
- pinned?: boolean | undefined;
729
- automationId?: string | undefined;
730
- runner?: string | undefined;
731
- removedRunner?: string | undefined;
732
- model?: string | undefined;
733
- notify?: boolean | undefined;
734
- diffStat?: {
735
- adds: number;
736
- dels: number;
737
- files: number;
738
- repointed?: boolean | undefined;
739
- } | undefined;
740
- tokensUsed: number;
741
- inputTokens?: number | undefined;
742
- outputTokens?: number | undefined;
743
- currentStepId?: string | undefined;
744
- currentStepBackend?: string | undefined;
745
- error?: string | undefined;
746
- statePreview?: {
747
- kind: "ask" | "error" | "permission" | "review";
748
- text: string;
749
- } | undefined;
750
- worktreePath?: string | undefined;
751
- projectId: string;
752
- }[];
753
- referenceStatuses: {
754
- [x: string]: {
755
- prs: {
756
- [x: number]: "changes-requested" | "checks-failing" | "checks-pending" | "closed" | "completed" | "draft" | "merged" | "not-planned" | "open" | "ready" | "review-required";
757
- };
758
- issues: {
759
- [x: number]: "changes-requested" | "checks-failing" | "checks-pending" | "closed" | "completed" | "draft" | "merged" | "not-planned" | "open" | "ready" | "review-required";
760
- };
761
- };
762
- };
763
- perProjectLimit: number;
764
- truncated: string[];
765
- generation: string;
766
- eventSeq: number;
767
- };
768
- outputFormat: "json";
769
- status: import("hono/utils/http-status").ContentfulStatusCode;
770
- input: {};
771
- };
772
- };
773
- } & {
774
- "/workspace/runs-search": {
775
- $get: {
604
+ } | {
776
605
  output: {
777
606
  error: string;
778
- code?: "invalid_input" | undefined;
779
607
  };
780
608
  outputFormat: "json";
781
609
  status: 400;
782
610
  input: {
783
611
  query: {
784
- q: string | string[];
785
- limit?: number | undefined;
612
+ runner: string | string[];
613
+ profileId?: string | undefined;
786
614
  };
787
615
  };
788
- } | {
616
+ };
617
+ };
618
+ }, "/"> | import("hono/types").MergeSchemaPath<{
619
+ "/workspace/runs-index": {
620
+ $get: {
621
+ output: {
622
+ runs: {
623
+ id: string;
624
+ title: string;
625
+ titleSummary?: string | undefined;
626
+ titleOrigin?: "auto" | "marker" | "user" | undefined;
627
+ status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
628
+ hasPendingPermission?: boolean | undefined;
629
+ waitingOn?: {
630
+ kind: "human";
631
+ shown?: true | undefined;
632
+ } | {
633
+ kind: "usage-limit";
634
+ at: string;
635
+ } | {
636
+ kind: "workers";
637
+ count: number;
638
+ replies?: true | undefined;
639
+ peers?: true | undefined;
640
+ } | {
641
+ kind: "peers";
642
+ count: number;
643
+ } | {
644
+ kind: "subagents";
645
+ count: number;
646
+ } | {
647
+ kind: "pr";
648
+ until: "checks" | "merge" | "merge_or_blocked";
649
+ waitId: string;
650
+ prUrl: string;
651
+ repository: string;
652
+ prNumber: number;
653
+ deadline: string;
654
+ } | {
655
+ kind: "process";
656
+ waitId: string;
657
+ pid: number;
658
+ deadline: string;
659
+ note?: string | undefined;
660
+ } | {
661
+ kind: "plugin";
662
+ pluginKind: string;
663
+ waitId: string;
664
+ summary: string;
665
+ deadline?: string | undefined;
666
+ } | {
667
+ kind: "timer";
668
+ waitId: string;
669
+ at: string;
670
+ note?: string | undefined;
671
+ } | undefined;
672
+ waitWakePending?: true | undefined;
673
+ delegation?: {
674
+ role: "invalid";
675
+ } | {
676
+ role: "root";
677
+ wait?: {
678
+ workerIds?: string[] | undefined;
679
+ requestIds?: string[] | undefined;
680
+ phase: "parked" | "registered" | "wake-pending";
681
+ outcomes?: {
682
+ workerId: string;
683
+ }[] | undefined;
684
+ } | undefined;
685
+ } | {
686
+ role: "worker";
687
+ parentRunId: string;
688
+ supervisorRunId?: string | undefined;
689
+ wait?: {
690
+ requestIds?: string[] | undefined;
691
+ phase: "parked" | "registered" | "wake-pending";
692
+ } | undefined;
693
+ } | undefined;
694
+ createdAt: string;
695
+ finishedAt?: string | undefined;
696
+ seenAt?: string | undefined;
697
+ archived: boolean;
698
+ autoResumeAt?: string | undefined;
699
+ autoResumeReason?: "provider-error" | "usage-limit" | undefined;
700
+ workflow: string;
701
+ branch?: string | undefined;
702
+ startedAt?: string | undefined;
703
+ pullRequestUrl?: string | undefined;
704
+ pullRequests?: {
705
+ number: number;
706
+ url?: string | undefined;
707
+ source: "created" | "declared";
708
+ }[] | undefined;
709
+ referencedPullRequestUrl?: string | undefined;
710
+ prNumber?: number | undefined;
711
+ issueNumber?: number | undefined;
712
+ referencedIssueUrl?: string | undefined;
713
+ markerRefs?: {
714
+ pr?: number | undefined;
715
+ issue?: number | undefined;
716
+ } | undefined;
717
+ costUsd?: number | undefined;
718
+ peakRssBytes?: number | undefined;
719
+ peakProcCount?: number | undefined;
720
+ usage?: {
721
+ cpuPct: number;
722
+ rssBytes: number;
723
+ procCount: number;
724
+ } | undefined;
725
+ workflowLabel: string;
726
+ groupId?: string | undefined;
727
+ variant?: string | undefined;
728
+ pinned?: boolean | undefined;
729
+ automationId?: string | undefined;
730
+ runner?: string | undefined;
731
+ removedRunner?: string | undefined;
732
+ model?: string | undefined;
733
+ notify?: boolean | undefined;
734
+ diffStat?: {
735
+ adds: number;
736
+ dels: number;
737
+ files: number;
738
+ repointed?: boolean | undefined;
739
+ } | undefined;
740
+ tokensUsed: number;
741
+ inputTokens?: number | undefined;
742
+ outputTokens?: number | undefined;
743
+ currentStepId?: string | undefined;
744
+ currentStepBackend?: string | undefined;
745
+ error?: string | undefined;
746
+ statePreview?: {
747
+ kind: "ask" | "error" | "permission" | "review";
748
+ text: string;
749
+ } | undefined;
750
+ worktreePath?: string | undefined;
751
+ projectId: string;
752
+ }[];
753
+ referenceStatuses: {
754
+ [x: string]: {
755
+ prs: {
756
+ [x: number]: "changes-requested" | "checks-failing" | "checks-pending" | "closed" | "completed" | "draft" | "merged" | "not-planned" | "open" | "ready" | "review-required";
757
+ };
758
+ issues: {
759
+ [x: number]: "changes-requested" | "checks-failing" | "checks-pending" | "closed" | "completed" | "draft" | "merged" | "not-planned" | "open" | "ready" | "review-required";
760
+ };
761
+ };
762
+ };
763
+ perProjectLimit: number;
764
+ truncated: string[];
765
+ generation: string;
766
+ eventSeq: number;
767
+ };
768
+ outputFormat: "json";
769
+ status: import("hono/utils/http-status").ContentfulStatusCode;
770
+ input: {};
771
+ };
772
+ };
773
+ } & {
774
+ "/workspace/runs-search": {
775
+ $get: {
776
+ output: {
777
+ error: string;
778
+ code?: "invalid_input" | undefined;
779
+ };
780
+ outputFormat: "json";
781
+ status: 400;
782
+ input: {
783
+ query: {
784
+ q: string | string[];
785
+ limit?: number | undefined;
786
+ };
787
+ };
788
+ } | {
789
789
  output: {
790
790
  runs: {
791
791
  id: string;
@@ -969,10 +969,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
969
969
  "/workspace/config": {
970
970
  $put: {
971
971
  output: {
972
- error: string;
972
+ browseRoot: string;
973
+ projectsDir: string;
974
+ archiveOnMerge: boolean | null;
975
+ effectiveArchiveOnMerge: boolean;
976
+ archiveOnMergeSource: "default" | "environment" | "global";
977
+ composerDefaults: {
978
+ autonomous: boolean | null;
979
+ worktree: boolean | null;
980
+ inheritedAutonomous: "source-dependent" | boolean;
981
+ inheritedWorktree: boolean;
982
+ };
983
+ resources: {
984
+ maxParallel: number;
985
+ maxMonitoringSessions: number;
986
+ monitoringWakeIntervalMinutes: number | null;
987
+ autoResumeOnUsageLimit: boolean;
988
+ memoryLimitMb: number | null;
989
+ worktreeRetentionDefault: number;
990
+ };
991
+ agentDefaults: {
992
+ runner?: string | undefined;
993
+ models?: {
994
+ [x: string]: string | undefined;
995
+ } | undefined;
996
+ };
973
997
  };
974
998
  outputFormat: "json";
975
- status: 400;
999
+ status: import("hono/utils/http-status").ContentfulStatusCode;
976
1000
  input: {
977
1001
  json: {
978
1002
  browseRoot?: string | undefined;
@@ -1001,7 +1025,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1001
1025
  error: string;
1002
1026
  };
1003
1027
  outputFormat: "json";
1004
- status: 500;
1028
+ status: 400;
1005
1029
  input: {
1006
1030
  json: {
1007
1031
  browseRoot?: string | undefined;
@@ -1027,34 +1051,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1027
1051
  };
1028
1052
  } | {
1029
1053
  output: {
1030
- browseRoot: string;
1031
- projectsDir: string;
1032
- archiveOnMerge: boolean | null;
1033
- effectiveArchiveOnMerge: boolean;
1034
- archiveOnMergeSource: "default" | "environment" | "global";
1035
- composerDefaults: {
1036
- autonomous: boolean | null;
1037
- worktree: boolean | null;
1038
- inheritedAutonomous: "source-dependent" | boolean;
1039
- inheritedWorktree: boolean;
1040
- };
1041
- resources: {
1042
- maxParallel: number;
1043
- maxMonitoringSessions: number;
1044
- monitoringWakeIntervalMinutes: number | null;
1045
- autoResumeOnUsageLimit: boolean;
1046
- memoryLimitMb: number | null;
1047
- worktreeRetentionDefault: number;
1048
- };
1049
- agentDefaults: {
1050
- runner?: string | undefined;
1051
- models?: {
1052
- [x: string]: string | undefined;
1053
- } | undefined;
1054
- };
1054
+ error: string;
1055
1055
  };
1056
1056
  outputFormat: "json";
1057
- status: import("hono/utils/http-status").ContentfulStatusCode;
1057
+ status: 500;
1058
1058
  input: {
1059
1059
  json: {
1060
1060
  browseRoot?: string | undefined;
@@ -1126,10 +1126,41 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1126
1126
  "/workspace/ui-state": {
1127
1127
  $put: {
1128
1128
  output: {
1129
- error: string;
1129
+ [x: string]: import("hono/utils/types").JSONValue;
1130
+ sidebar?: {
1131
+ [x: string]: import("hono/utils/types").JSONValue;
1132
+ collapsed?: {
1133
+ [x: string]: boolean;
1134
+ } | undefined;
1135
+ projectOrder?: string[] | undefined;
1136
+ } | undefined;
1137
+ dismissedProviderAuthFailures?: {
1138
+ [x: string]: string | undefined;
1139
+ } | undefined;
1140
+ appearance?: {
1141
+ accent?: "cezarion" | "lime" | "violet" | undefined;
1142
+ density?: "comfortable" | "compact" | "ultra" | undefined;
1143
+ width?: "narrow" | "wide" | undefined;
1144
+ } | undefined;
1145
+ notifications?: {
1146
+ [x: string]: import("hono/utils/types").JSONValue;
1147
+ enabled?: boolean | undefined;
1148
+ } | undefined;
1149
+ taskTable?: {
1150
+ [x: string]: import("hono/utils/types").JSONValue;
1151
+ expandedColumns?: {
1152
+ [x: string]: boolean;
1153
+ } | undefined;
1154
+ } | undefined;
1155
+ lastLocation?: {
1156
+ projectId: string;
1157
+ pathname: string;
1158
+ search?: string | undefined;
1159
+ hash?: string | undefined;
1160
+ } | undefined;
1130
1161
  };
1131
1162
  outputFormat: "json";
1132
- status: 500;
1163
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1133
1164
  input: {
1134
1165
  json: {
1135
1166
  [x: string]: unknown;
@@ -1162,41 +1193,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1162
1193
  };
1163
1194
  } | {
1164
1195
  output: {
1165
- [x: string]: import("hono/utils/types").JSONValue;
1166
- sidebar?: {
1167
- [x: string]: import("hono/utils/types").JSONValue;
1168
- collapsed?: {
1169
- [x: string]: boolean;
1170
- } | undefined;
1171
- projectOrder?: string[] | undefined;
1172
- } | undefined;
1173
- dismissedProviderAuthFailures?: {
1174
- [x: string]: string | undefined;
1175
- } | undefined;
1176
- appearance?: {
1177
- accent?: "cezarion" | "lime" | "violet" | undefined;
1178
- density?: "comfortable" | "compact" | "ultra" | undefined;
1179
- width?: "narrow" | "wide" | undefined;
1180
- } | undefined;
1181
- notifications?: {
1182
- [x: string]: import("hono/utils/types").JSONValue;
1183
- enabled?: boolean | undefined;
1184
- } | undefined;
1185
- taskTable?: {
1186
- [x: string]: import("hono/utils/types").JSONValue;
1187
- expandedColumns?: {
1188
- [x: string]: boolean;
1189
- } | undefined;
1190
- } | undefined;
1191
- lastLocation?: {
1192
- projectId: string;
1193
- pathname: string;
1194
- search?: string | undefined;
1195
- hash?: string | undefined;
1196
- } | undefined;
1196
+ error: string;
1197
1197
  };
1198
1198
  outputFormat: "json";
1199
- status: import("hono/utils/http-status").ContentfulStatusCode;
1199
+ status: 500;
1200
1200
  input: {
1201
1201
  json: {
1202
1202
  [x: string]: unknown;
@@ -1284,10 +1284,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1284
1284
  };
1285
1285
  } | {
1286
1286
  output: {
1287
- error: string;
1287
+ providers: {
1288
+ requiresAccountHome?: boolean | undefined;
1289
+ provider: string;
1290
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1291
+ enabled?: boolean | undefined;
1292
+ hint?: string | undefined;
1293
+ authFailureId?: string | undefined;
1294
+ profileId?: string | undefined;
1295
+ }[];
1288
1296
  };
1289
1297
  outputFormat: "json";
1290
- status: 500;
1298
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1291
1299
  input: {
1292
1300
  param: {
1293
1301
  provider: string;
@@ -1299,18 +1307,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1299
1307
  };
1300
1308
  } | {
1301
1309
  output: {
1302
- providers: {
1303
- requiresAccountHome?: boolean | undefined;
1304
- provider: string;
1305
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1306
- enabled?: boolean | undefined;
1307
- hint?: string | undefined;
1308
- authFailureId?: string | undefined;
1309
- profileId?: string | undefined;
1310
- }[];
1310
+ error: string;
1311
1311
  };
1312
1312
  outputFormat: "json";
1313
- status: import("hono/utils/http-status").ContentfulStatusCode;
1313
+ status: 500;
1314
1314
  input: {
1315
1315
  param: {
1316
1316
  provider: string;
@@ -1342,10 +1342,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1342
1342
  };
1343
1343
  } | {
1344
1344
  output: {
1345
- error: string;
1345
+ providers: {
1346
+ requiresAccountHome?: boolean | undefined;
1347
+ provider: string;
1348
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1349
+ enabled?: boolean | undefined;
1350
+ hint?: string | undefined;
1351
+ authFailureId?: string | undefined;
1352
+ profileId?: string | undefined;
1353
+ }[];
1346
1354
  };
1347
1355
  outputFormat: "json";
1348
- status: 409;
1356
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1349
1357
  input: {
1350
1358
  param: {
1351
1359
  provider: string;
@@ -1357,18 +1365,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1357
1365
  };
1358
1366
  } | {
1359
1367
  output: {
1360
- providers: {
1361
- requiresAccountHome?: boolean | undefined;
1362
- provider: string;
1363
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1364
- enabled?: boolean | undefined;
1365
- hint?: string | undefined;
1366
- authFailureId?: string | undefined;
1367
- profileId?: string | undefined;
1368
- }[];
1368
+ error: string;
1369
1369
  };
1370
1370
  outputFormat: "json";
1371
- status: import("hono/utils/http-status").ContentfulStatusCode;
1371
+ status: 409;
1372
1372
  input: {
1373
1373
  param: {
1374
1374
  provider: string;
@@ -1387,7 +1387,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1387
1387
  error: string;
1388
1388
  };
1389
1389
  outputFormat: "json";
1390
- status: 400;
1390
+ status: 409;
1391
1391
  input: {
1392
1392
  json: {
1393
1393
  provider: string;
@@ -1399,7 +1399,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1399
1399
  error: string;
1400
1400
  };
1401
1401
  outputFormat: "json";
1402
- status: 409;
1402
+ status: 400;
1403
1403
  input: {
1404
1404
  json: {
1405
1405
  provider: string;
@@ -1454,7 +1454,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1454
1454
  error: string;
1455
1455
  };
1456
1456
  outputFormat: "json";
1457
- status: 400;
1457
+ status: 409;
1458
1458
  input: {
1459
1459
  json: {
1460
1460
  provider: string;
@@ -1466,7 +1466,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1466
1466
  error: string;
1467
1467
  };
1468
1468
  outputFormat: "json";
1469
- status: 409;
1469
+ status: 400;
1470
1470
  input: {
1471
1471
  json: {
1472
1472
  provider: string;
@@ -1709,28 +1709,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1709
1709
  "/workspace/agent-profiles": {
1710
1710
  $post: {
1711
1711
  output: {
1712
- profile: {
1713
- id: string;
1714
- provider: string;
1715
- label: string;
1716
- configDir?: string | undefined;
1717
- path?: string | undefined;
1718
- exists: boolean;
1719
- looksValid: boolean;
1720
- isDefault: boolean;
1721
- status?: {
1722
- requiresAccountHome?: boolean | undefined;
1723
- provider: string;
1724
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1725
- enabled?: boolean | undefined;
1726
- hint?: string | undefined;
1727
- authFailureId?: string | undefined;
1728
- profileId?: string | undefined;
1729
- } | undefined;
1730
- };
1712
+ error: string;
1731
1713
  };
1732
1714
  outputFormat: "json";
1733
- status: 201;
1715
+ status: 409;
1734
1716
  input: {
1735
1717
  json: {
1736
1718
  provider: string;
@@ -1756,7 +1738,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1756
1738
  error: string;
1757
1739
  };
1758
1740
  outputFormat: "json";
1759
- status: 409;
1741
+ status: 500;
1760
1742
  input: {
1761
1743
  json: {
1762
1744
  provider: string;
@@ -1766,10 +1748,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1766
1748
  };
1767
1749
  } | {
1768
1750
  output: {
1769
- error: string;
1751
+ profile: {
1752
+ id: string;
1753
+ provider: string;
1754
+ label: string;
1755
+ configDir?: string | undefined;
1756
+ path?: string | undefined;
1757
+ exists: boolean;
1758
+ looksValid: boolean;
1759
+ isDefault: boolean;
1760
+ status?: {
1761
+ requiresAccountHome?: boolean | undefined;
1762
+ provider: string;
1763
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1764
+ enabled?: boolean | undefined;
1765
+ hint?: string | undefined;
1766
+ authFailureId?: string | undefined;
1767
+ profileId?: string | undefined;
1768
+ } | undefined;
1769
+ };
1770
1770
  };
1771
1771
  outputFormat: "json";
1772
- status: 500;
1772
+ status: 201;
1773
1773
  input: {
1774
1774
  json: {
1775
1775
  provider: string;
@@ -1803,7 +1803,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1803
1803
  error: string;
1804
1804
  };
1805
1805
  outputFormat: "json";
1806
- status: 400;
1806
+ status: 409;
1807
1807
  input: {
1808
1808
  param: {
1809
1809
  id: string;
@@ -1819,7 +1819,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1819
1819
  error: string;
1820
1820
  };
1821
1821
  outputFormat: "json";
1822
- status: 404;
1822
+ status: 400;
1823
1823
  input: {
1824
1824
  param: {
1825
1825
  id: string;
@@ -1835,7 +1835,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1835
1835
  error: string;
1836
1836
  };
1837
1837
  outputFormat: "json";
1838
- status: 409;
1838
+ status: 404;
1839
1839
  input: {
1840
1840
  param: {
1841
1841
  id: string;
@@ -1963,7 +1963,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1963
1963
  error: string;
1964
1964
  };
1965
1965
  outputFormat: "json";
1966
- status: 400;
1966
+ status: 404;
1967
1967
  input: {
1968
1968
  json: {
1969
1969
  projectId: string;
@@ -1976,7 +1976,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1976
1976
  error: string;
1977
1977
  };
1978
1978
  outputFormat: "json";
1979
- status: 404;
1979
+ status: 400;
1980
1980
  input: {
1981
1981
  json: {
1982
1982
  projectId: string;
@@ -2040,7 +2040,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2040
2040
  error: string;
2041
2041
  };
2042
2042
  outputFormat: "json";
2043
- status: 404;
2043
+ status: 409;
2044
2044
  input: {
2045
2045
  param: {
2046
2046
  id: string;
@@ -2051,7 +2051,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2051
2051
  error: string;
2052
2052
  };
2053
2053
  outputFormat: "json";
2054
- status: 409;
2054
+ status: 500;
2055
2055
  input: {
2056
2056
  param: {
2057
2057
  id: string;
@@ -2062,7 +2062,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2062
2062
  error: string;
2063
2063
  };
2064
2064
  outputFormat: "json";
2065
- status: 500;
2065
+ status: 404;
2066
2066
  input: {
2067
2067
  param: {
2068
2068
  id: string;
@@ -2126,6 +2126,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2126
2126
  } & {
2127
2127
  "/projects": {
2128
2128
  $post: {
2129
+ output: {
2130
+ error: string;
2131
+ };
2132
+ outputFormat: "json";
2133
+ status: 400 | 500;
2134
+ input: {
2135
+ json: {
2136
+ root: string;
2137
+ };
2138
+ };
2139
+ } | {
2129
2140
  output: {
2130
2141
  project: {
2131
2142
  id: string;
@@ -2156,10 +2167,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2156
2167
  agent: boolean;
2157
2168
  }[] | undefined;
2158
2169
  };
2159
- error?: string | undefined;
2170
+ error: string;
2160
2171
  };
2161
2172
  outputFormat: "json";
2162
- status: 200;
2173
+ status: 409;
2163
2174
  input: {
2164
2175
  json: {
2165
2176
  root: string;
@@ -2196,21 +2207,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2196
2207
  agent: boolean;
2197
2208
  }[] | undefined;
2198
2209
  };
2199
- error: string;
2200
- };
2201
- outputFormat: "json";
2202
- status: 409;
2203
- input: {
2204
- json: {
2205
- root: string;
2206
- };
2207
- };
2208
- } | {
2209
- output: {
2210
- error: string;
2210
+ error?: string | undefined;
2211
2211
  };
2212
2212
  outputFormat: "json";
2213
- status: 400 | 500;
2213
+ status: 200;
2214
2214
  input: {
2215
2215
  json: {
2216
2216
  root: string;
@@ -2369,7 +2369,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2369
2369
  error: string;
2370
2370
  };
2371
2371
  outputFormat: "json";
2372
- status: 400;
2372
+ status: 404;
2373
2373
  input: {
2374
2374
  param: {
2375
2375
  projectId: string;
@@ -2380,7 +2380,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2380
2380
  error: string;
2381
2381
  };
2382
2382
  outputFormat: "json";
2383
- status: 404;
2383
+ status: 400;
2384
2384
  input: {
2385
2385
  param: {
2386
2386
  projectId: string;
@@ -2405,6 +2405,27 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2405
2405
  } & {
2406
2406
  "/projects/:projectId/webhooks": {
2407
2407
  $post: {
2408
+ output: {
2409
+ error: string;
2410
+ };
2411
+ outputFormat: "json";
2412
+ status: 400 | 404 | 409 | 500;
2413
+ input: {
2414
+ json: {
2415
+ name: string;
2416
+ description?: string | undefined;
2417
+ url: string;
2418
+ token?: string | undefined;
2419
+ tasks?: boolean | undefined;
2420
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2421
+ agent?: boolean | undefined;
2422
+ };
2423
+ } & {
2424
+ param: {
2425
+ projectId: string;
2426
+ };
2427
+ };
2428
+ } | {
2408
2429
  output: {
2409
2430
  project: {
2410
2431
  id: string;
@@ -2463,27 +2484,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2463
2484
  projectId: string;
2464
2485
  };
2465
2486
  };
2466
- } | {
2467
- output: {
2468
- error: string;
2469
- };
2470
- outputFormat: "json";
2471
- status: 400 | 404 | 409 | 500;
2472
- input: {
2473
- json: {
2474
- name: string;
2475
- description?: string | undefined;
2476
- url: string;
2477
- token?: string | undefined;
2478
- tasks?: boolean | undefined;
2479
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2480
- agent?: boolean | undefined;
2481
- };
2482
- } & {
2483
- param: {
2484
- projectId: string;
2485
- };
2486
- };
2487
2487
  };
2488
2488
  };
2489
2489
  } & {
@@ -2681,10 +2681,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2681
2681
  };
2682
2682
  } | {
2683
2683
  output: {
2684
- error: string;
2684
+ ok: boolean;
2685
+ status?: number | undefined;
2686
+ error?: string | undefined;
2687
+ dryRun?: boolean | undefined;
2685
2688
  };
2686
2689
  outputFormat: "json";
2687
- status: 404;
2690
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2688
2691
  input: {
2689
2692
  param: {
2690
2693
  projectId: string;
@@ -2693,13 +2696,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2693
2696
  };
2694
2697
  } | {
2695
2698
  output: {
2696
- ok: boolean;
2697
- status?: number | undefined;
2698
- error?: string | undefined;
2699
- dryRun?: boolean | undefined;
2699
+ error: string;
2700
2700
  };
2701
2701
  outputFormat: "json";
2702
- status: import("hono/utils/http-status").ContentfulStatusCode;
2702
+ status: 404;
2703
2703
  input: {
2704
2704
  param: {
2705
2705
  projectId: string;
@@ -2940,15 +2940,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2940
2940
  "/runner-install/:runner": {
2941
2941
  $post: {
2942
2942
  output: {
2943
- supported: boolean;
2944
- installedVersion: string | null;
2945
- latestVersion: string | null;
2946
- updateAvailable: boolean;
2947
- phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
2948
- error: string | null;
2943
+ error: string;
2944
+ code?: "invalid_input" | undefined;
2949
2945
  };
2950
2946
  outputFormat: "json";
2951
- status: 202;
2947
+ status: 400;
2952
2948
  input: {
2953
2949
  param: {
2954
2950
  runner: string;
@@ -2960,11 +2956,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2960
2956
  };
2961
2957
  } | {
2962
2958
  output: {
2963
- error: string;
2964
- code?: "invalid_input" | undefined;
2959
+ supported: boolean;
2960
+ installedVersion: string | null;
2961
+ latestVersion: string | null;
2962
+ updateAvailable: boolean;
2963
+ phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
2964
+ error: string | null;
2965
2965
  };
2966
2966
  outputFormat: "json";
2967
- status: 400;
2967
+ status: 202;
2968
2968
  input: {
2969
2969
  param: {
2970
2970
  runner: string;
@@ -3321,6 +3321,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3321
3321
  }, "/"> | import("hono/types").MergeSchemaPath<{
3322
3322
  "/plan": {
3323
3323
  $post: {
3324
+ output: {
3325
+ error: string;
3326
+ };
3327
+ outputFormat: "json";
3328
+ status: 400 | 404 | 409;
3329
+ input: {
3330
+ json: {
3331
+ task: string;
3332
+ agentProfile?: string | undefined;
3333
+ };
3334
+ };
3335
+ } | {
3324
3336
  output: {
3325
3337
  name?: string;
3326
3338
  steps: {
@@ -3357,18 +3369,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3357
3369
  agentProfile?: string | undefined;
3358
3370
  };
3359
3371
  };
3360
- } | {
3361
- output: {
3362
- error: string;
3363
- };
3364
- outputFormat: "json";
3365
- status: 400 | 404 | 409;
3366
- input: {
3367
- json: {
3368
- task: string;
3369
- agentProfile?: string | undefined;
3370
- };
3371
- };
3372
3372
  };
3373
3373
  };
3374
3374
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -3393,7 +3393,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3393
3393
  error: string;
3394
3394
  };
3395
3395
  outputFormat: "json";
3396
- status: 400;
3396
+ status: 409;
3397
3397
  input: {
3398
3398
  json: {
3399
3399
  target: string;
@@ -3404,7 +3404,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3404
3404
  error: string;
3405
3405
  };
3406
3406
  outputFormat: "json";
3407
- status: 409;
3407
+ status: 400;
3408
3408
  input: {
3409
3409
  json: {
3410
3410
  target: string;
@@ -3471,10 +3471,42 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3471
3471
  "/ui-state": {
3472
3472
  $put: {
3473
3473
  output: {
3474
- error: string;
3474
+ [x: string]: import("hono/utils/types").JSONValue;
3475
+ sidebarLimits?: {
3476
+ overall?: number | null | undefined;
3477
+ needsYou?: number | null | undefined;
3478
+ finished?: number | null | undefined;
3479
+ working?: number | null | undefined;
3480
+ } | undefined;
3481
+ lastTask?: {
3482
+ source: "skill" | "workflow";
3483
+ ref: string;
3484
+ } | null | undefined;
3485
+ recentSources?: {
3486
+ source: "skill" | "workflow";
3487
+ ref: string;
3488
+ }[] | undefined;
3489
+ lastWorktree?: boolean | undefined;
3490
+ lastAutonomous?: boolean | undefined;
3491
+ skillUsage?: {
3492
+ [x: string]: number;
3493
+ } | undefined;
3494
+ runsView?: "list" | "table" | undefined;
3495
+ githubView?: "issues" | "prs" | undefined;
3496
+ appearance?: {
3497
+ accent?: "cezarion" | "lime" | "violet" | undefined;
3498
+ density?: "comfortable" | "compact" | "ultra" | undefined;
3499
+ width?: "narrow" | "wide" | undefined;
3500
+ } | undefined;
3501
+ promptTemplates?: {
3502
+ id: string;
3503
+ label: string;
3504
+ text: string;
3505
+ skills?: string[] | undefined;
3506
+ }[] | undefined;
3475
3507
  };
3476
3508
  outputFormat: "json";
3477
- status: 500;
3509
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3478
3510
  input: {
3479
3511
  json: {
3480
3512
  [x: string]: unknown;
@@ -3512,42 +3544,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3512
3544
  };
3513
3545
  } | {
3514
3546
  output: {
3515
- [x: string]: import("hono/utils/types").JSONValue;
3516
- sidebarLimits?: {
3517
- overall?: number | null | undefined;
3518
- needsYou?: number | null | undefined;
3519
- finished?: number | null | undefined;
3520
- working?: number | null | undefined;
3521
- } | undefined;
3522
- lastTask?: {
3523
- source: "skill" | "workflow";
3524
- ref: string;
3525
- } | null | undefined;
3526
- recentSources?: {
3527
- source: "skill" | "workflow";
3528
- ref: string;
3529
- }[] | undefined;
3530
- lastWorktree?: boolean | undefined;
3531
- lastAutonomous?: boolean | undefined;
3532
- skillUsage?: {
3533
- [x: string]: number;
3534
- } | undefined;
3535
- runsView?: "list" | "table" | undefined;
3536
- githubView?: "issues" | "prs" | undefined;
3537
- appearance?: {
3538
- accent?: "cezarion" | "lime" | "violet" | undefined;
3539
- density?: "comfortable" | "compact" | "ultra" | undefined;
3540
- width?: "narrow" | "wide" | undefined;
3541
- } | undefined;
3542
- promptTemplates?: {
3543
- id: string;
3544
- label: string;
3545
- text: string;
3546
- skills?: string[] | undefined;
3547
- }[] | undefined;
3547
+ error: string;
3548
3548
  };
3549
3549
  outputFormat: "json";
3550
- status: import("hono/utils/http-status").ContentfulStatusCode;
3550
+ status: 500;
3551
3551
  input: {
3552
3552
  json: {
3553
3553
  [x: string]: unknown;
@@ -3588,12 +3588,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3588
3588
  }, "/"> | import("hono/types").MergeSchemaPath<{
3589
3589
  "/runs/:id/events": {
3590
3590
  $get: {
3591
- output: {
3592
- error: string;
3593
- code?: "invalid_input" | undefined;
3594
- };
3595
- outputFormat: "json";
3596
- status: 400;
3591
+ output: {};
3592
+ outputFormat: string;
3593
+ status: import("hono/utils/http-status").StatusCode;
3597
3594
  input: {
3598
3595
  param: {
3599
3596
  id: string;
@@ -3605,9 +3602,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3605
3602
  };
3606
3603
  };
3607
3604
  } | {
3608
- output: {};
3609
- outputFormat: string;
3610
- status: import("hono/utils/http-status").StatusCode;
3605
+ output: {
3606
+ error: string;
3607
+ code?: "invalid_input" | undefined;
3608
+ };
3609
+ outputFormat: "json";
3610
+ status: 400;
3611
3611
  input: {
3612
3612
  param: {
3613
3613
  id: string;
@@ -3668,10 +3668,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3668
3668
  "/config": {
3669
3669
  $put: {
3670
3670
  output: {
3671
- error: string;
3671
+ archiveOnMerge: boolean | null;
3672
+ effectiveArchiveOnMerge: boolean;
3673
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
3674
+ baseBranch: string | null;
3675
+ defaultRunner: string;
3676
+ systemPrompt: string | null;
3677
+ defaultModels: {
3678
+ [x: string]: string | undefined;
3679
+ };
3680
+ modelsLocked: boolean;
3681
+ maxParallel: number;
3682
+ memoryLimitMb: number | null;
3683
+ worktreeRetention: number;
3684
+ liveTitleUpdates: boolean | null;
3685
+ reviewGate: boolean | null;
3686
+ worktreeSetup: {
3687
+ commands: string[];
3688
+ timeoutSeconds: number;
3689
+ } | null;
3690
+ worktreeSetupIssue: string | null;
3691
+ worktreeTeardown: {
3692
+ commands: string[];
3693
+ timeoutSeconds: number;
3694
+ } | null;
3695
+ worktreeTeardownIssue: string | null;
3672
3696
  };
3673
3697
  outputFormat: "json";
3674
- status: 409;
3698
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3675
3699
  input: {
3676
3700
  json: {
3677
3701
  archiveOnMerge?: boolean | null | undefined;
@@ -3699,7 +3723,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3699
3723
  error: string;
3700
3724
  };
3701
3725
  outputFormat: "json";
3702
- status: 500;
3726
+ status: 409;
3703
3727
  input: {
3704
3728
  json: {
3705
3729
  archiveOnMerge?: boolean | null | undefined;
@@ -3724,34 +3748,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3724
3748
  };
3725
3749
  } | {
3726
3750
  output: {
3727
- archiveOnMerge: boolean | null;
3728
- effectiveArchiveOnMerge: boolean;
3729
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
3730
- baseBranch: string | null;
3731
- defaultRunner: string;
3732
- systemPrompt: string | null;
3733
- defaultModels: {
3734
- [x: string]: string | undefined;
3735
- };
3736
- modelsLocked: boolean;
3737
- maxParallel: number;
3738
- memoryLimitMb: number | null;
3739
- worktreeRetention: number;
3740
- liveTitleUpdates: boolean | null;
3741
- reviewGate: boolean | null;
3742
- worktreeSetup: {
3743
- commands: string[];
3744
- timeoutSeconds: number;
3745
- } | null;
3746
- worktreeSetupIssue: string | null;
3747
- worktreeTeardown: {
3748
- commands: string[];
3749
- timeoutSeconds: number;
3750
- } | null;
3751
- worktreeTeardownIssue: string | null;
3751
+ error: string;
3752
3752
  };
3753
3753
  outputFormat: "json";
3754
- status: import("hono/utils/http-status").ContentfulStatusCode;
3754
+ status: 500;
3755
3755
  input: {
3756
3756
  json: {
3757
3757
  archiveOnMerge?: boolean | null | undefined;
@@ -3900,7 +3900,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3900
3900
  error: string;
3901
3901
  };
3902
3902
  outputFormat: "json";
3903
- status: 400;
3903
+ status: 409;
3904
3904
  input: {
3905
3905
  query: {
3906
3906
  q?: string | undefined;
@@ -3913,7 +3913,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3913
3913
  error: string;
3914
3914
  };
3915
3915
  outputFormat: "json";
3916
- status: 409;
3916
+ status: 400;
3917
3917
  input: {
3918
3918
  query: {
3919
3919
  q?: string | undefined;
@@ -4018,11 +4018,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4018
4018
  };
4019
4019
  } | {
4020
4020
  output: {
4021
- runId: string;
4022
- worktreeReclaimedAt: string;
4021
+ error: string;
4023
4022
  };
4024
4023
  outputFormat: "json";
4025
- status: import("hono/utils/http-status").ContentfulStatusCode;
4024
+ status: 404 | 409;
4026
4025
  input: {
4027
4026
  param: {
4028
4027
  runId: string;
@@ -4034,10 +4033,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4034
4033
  };
4035
4034
  } | {
4036
4035
  output: {
4037
- error: string;
4036
+ runId: string;
4037
+ worktreeReclaimedAt: string;
4038
4038
  };
4039
4039
  outputFormat: "json";
4040
- status: 404 | 409;
4040
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4041
4041
  input: {
4042
4042
  param: {
4043
4043
  runId: string;
@@ -4137,10 +4137,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4137
4137
  "/agent-config/:id": {
4138
4138
  $put: {
4139
4139
  output: {
4140
- error: string;
4140
+ id: string;
4141
+ path: string;
4142
+ exists: boolean;
4143
+ content: string;
4144
+ version: string | null;
4141
4145
  };
4142
4146
  outputFormat: "json";
4143
- status: 404;
4147
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4144
4148
  input: {
4145
4149
  json: {
4146
4150
  content: string;
@@ -4153,14 +4157,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4153
4157
  };
4154
4158
  } | {
4155
4159
  output: {
4156
- id: string;
4157
- path: string;
4158
- exists: boolean;
4159
- content: string;
4160
- version: string | null;
4160
+ error: string;
4161
4161
  };
4162
4162
  outputFormat: "json";
4163
- status: import("hono/utils/http-status").ContentfulStatusCode;
4163
+ status: 404;
4164
4164
  input: {
4165
4165
  json: {
4166
4166
  content: string;
@@ -4337,11 +4337,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4337
4337
  "/workflows": {
4338
4338
  $post: {
4339
4339
  output: {
4340
- path: string;
4341
- name: string;
4340
+ error: string;
4342
4341
  };
4343
4342
  outputFormat: "json";
4344
- status: 201;
4343
+ status: 400;
4345
4344
  input: {
4346
4345
  json: {
4347
4346
  name: string;
@@ -4374,9 +4373,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4374
4373
  } | {
4375
4374
  output: {
4376
4375
  error: string;
4376
+ exists: true;
4377
4377
  };
4378
4378
  outputFormat: "json";
4379
- status: 400;
4379
+ status: 409;
4380
4380
  input: {
4381
4381
  json: {
4382
4382
  name: string;
@@ -4409,10 +4409,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4409
4409
  } | {
4410
4410
  output: {
4411
4411
  error: string;
4412
- exists: true;
4413
4412
  };
4414
4413
  outputFormat: "json";
4415
- status: 409;
4414
+ status: 500;
4416
4415
  input: {
4417
4416
  json: {
4418
4417
  name: string;
@@ -4444,10 +4443,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4444
4443
  };
4445
4444
  } | {
4446
4445
  output: {
4447
- error: string;
4446
+ path: string;
4447
+ name: string;
4448
4448
  };
4449
4449
  outputFormat: "json";
4450
- status: 500;
4450
+ status: 201;
4451
4451
  input: {
4452
4452
  json: {
4453
4453
  name: string;
@@ -4483,11 +4483,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4483
4483
  "/workflows/:name": {
4484
4484
  $delete: {
4485
4485
  output: {
4486
- ok: true;
4487
- path: string;
4486
+ error: string;
4488
4487
  };
4489
4488
  outputFormat: "json";
4490
- status: import("hono/utils/http-status").ContentfulStatusCode;
4489
+ status: 400 | 404 | 409 | 500;
4491
4490
  input: {
4492
4491
  param: {
4493
4492
  name: string;
@@ -4495,10 +4494,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4495
4494
  };
4496
4495
  } | {
4497
4496
  output: {
4498
- error: string;
4497
+ ok: true;
4498
+ path: string;
4499
4499
  };
4500
4500
  outputFormat: "json";
4501
- status: 400 | 404 | 409 | 500;
4501
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4502
4502
  input: {
4503
4503
  param: {
4504
4504
  name: string;
@@ -4674,18 +4674,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4674
4674
  "/repo/branches/delete": {
4675
4675
  $post: {
4676
4676
  output: {
4677
- deleted: string[];
4677
+ error: string;
4678
4678
  refused: {
4679
4679
  name: string;
4680
4680
  reason: string;
4681
4681
  }[];
4682
- dropped?: {
4683
- sha: string;
4684
- subject: string;
4685
- }[] | undefined;
4686
4682
  };
4687
4683
  outputFormat: "json";
4688
- status: 200;
4684
+ status: 409;
4689
4685
  input: {
4690
4686
  json: {
4691
4687
  names: string[];
@@ -4694,14 +4690,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4694
4690
  };
4695
4691
  } | {
4696
4692
  output: {
4697
- error: string;
4693
+ deleted: string[];
4698
4694
  refused: {
4699
4695
  name: string;
4700
4696
  reason: string;
4701
4697
  }[];
4698
+ dropped?: {
4699
+ sha: string;
4700
+ subject: string;
4701
+ }[] | undefined;
4702
4702
  };
4703
4703
  outputFormat: "json";
4704
- status: 409;
4704
+ status: 200;
4705
4705
  input: {
4706
4706
  json: {
4707
4707
  names: string[];
@@ -4722,6 +4722,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4722
4722
  } & {
4723
4723
  "/repo/commit/:sha": {
4724
4724
  $get: {
4725
+ output: string;
4726
+ outputFormat: "text";
4727
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4728
+ input: {
4729
+ query: {
4730
+ structured?: string | undefined;
4731
+ };
4732
+ } & {
4733
+ param: {
4734
+ sha: string;
4735
+ };
4736
+ };
4737
+ } | {
4725
4738
  output: {
4726
4739
  error: string;
4727
4740
  code?: "invalid_input" | undefined;
@@ -4785,19 +4798,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4785
4798
  sha: string;
4786
4799
  };
4787
4800
  };
4788
- } | {
4789
- output: string;
4790
- outputFormat: "text";
4791
- status: import("hono/utils/http-status").ContentfulStatusCode;
4792
- input: {
4793
- query: {
4794
- structured?: string | undefined;
4795
- };
4796
- } & {
4797
- param: {
4798
- sha: string;
4799
- };
4800
- };
4801
4801
  };
4802
4802
  };
4803
4803
  } & {
@@ -4858,12 +4858,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4858
4858
  "/repo/pull": {
4859
4859
  $post: {
4860
4860
  output: {
4861
- branch: string;
4862
- pulled: true;
4863
- summary: string;
4861
+ error: string;
4864
4862
  };
4865
4863
  outputFormat: "json";
4866
- status: 200;
4864
+ status: 409;
4867
4865
  input: {
4868
4866
  json: {
4869
4867
  branch?: string | undefined;
@@ -4872,10 +4870,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4872
4870
  };
4873
4871
  } | {
4874
4872
  output: {
4875
- error: string;
4873
+ branch: string;
4874
+ pulled: true;
4875
+ summary: string;
4876
4876
  };
4877
4877
  outputFormat: "json";
4878
- status: 409;
4878
+ status: 200;
4879
4879
  input: {
4880
4880
  json: {
4881
4881
  branch?: string | undefined;
@@ -6726,6 +6726,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6726
6726
  archivedAt: string;
6727
6727
  fingerprint: string;
6728
6728
  pullRequests: {
6729
+ host?: string | undefined;
6729
6730
  owner: string;
6730
6731
  repo: string;
6731
6732
  number: number;
@@ -6824,18 +6825,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6824
6825
  } & {
6825
6826
  "/run-summaries": {
6826
6827
  $get: {
6827
- output: {
6828
- error: string;
6829
- code?: "invalid_input" | undefined;
6830
- };
6831
- outputFormat: "json";
6832
- status: 400;
6833
- input: {
6834
- query: {
6835
- archived?: "all" | "recent" | undefined;
6836
- };
6837
- };
6838
- } | {
6839
6828
  output: {
6840
6829
  id: string;
6841
6830
  title: string;
@@ -6973,6 +6962,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6973
6962
  archived?: "all" | "recent" | undefined;
6974
6963
  };
6975
6964
  };
6965
+ } | {
6966
+ output: {
6967
+ error: string;
6968
+ code?: "invalid_input" | undefined;
6969
+ };
6970
+ outputFormat: "json";
6971
+ status: 400;
6972
+ input: {
6973
+ query: {
6974
+ archived?: "all" | "recent" | undefined;
6975
+ };
6976
+ };
6976
6977
  };
6977
6978
  };
6978
6979
  } & {
@@ -7334,24 +7335,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7334
7335
  "/runs/:id/worker-destroy": {
7335
7336
  $post: {
7336
7337
  output: {
7337
- workerId: string;
7338
- state: "complete" | "incomplete";
7339
- work?: {
7340
- uncommittedFiles: number;
7341
- commits: number;
7342
- } | undefined;
7343
- deleted?: ({
7344
- kind: "worktree";
7345
- path: string;
7346
- } | {
7347
- kind: "branch";
7348
- ref: string;
7349
- })[] | undefined;
7350
- remaining: ("branch" | "process" | "worktree")[];
7351
- error?: string | undefined;
7338
+ error: string;
7339
+ code?: "invalid_input" | undefined;
7352
7340
  };
7353
7341
  outputFormat: "json";
7354
- status: 200;
7342
+ status: 400;
7355
7343
  input: {
7356
7344
  query: {
7357
7345
  [x: string]: string | string[];
@@ -7367,11 +7355,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7367
7355
  };
7368
7356
  } | {
7369
7357
  output: {
7370
- error: string;
7371
- code?: "invalid_input" | undefined;
7358
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
7359
+ readonly error: string;
7360
+ readonly modelChoices?: {
7361
+ runner: string;
7362
+ requestedModel: string;
7363
+ availableModels: {
7364
+ id: string;
7365
+ label: string;
7366
+ description: string;
7367
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
7368
+ }[];
7369
+ otherRunners: string[];
7370
+ } | undefined;
7372
7371
  };
7373
7372
  outputFormat: "json";
7374
- status: 400;
7373
+ status: 400 | 401 | 403 | 409 | 503;
7375
7374
  input: {
7376
7375
  query: {
7377
7376
  [x: string]: string | string[];
@@ -7404,7 +7403,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7404
7403
  error?: string | undefined;
7405
7404
  };
7406
7405
  outputFormat: "json";
7407
- status: 409;
7406
+ status: 200;
7408
7407
  input: {
7409
7408
  query: {
7410
7409
  [x: string]: string | string[];
@@ -7420,22 +7419,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7420
7419
  };
7421
7420
  } | {
7422
7421
  output: {
7423
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
7424
- readonly error: string;
7425
- readonly modelChoices?: {
7426
- runner: string;
7427
- requestedModel: string;
7428
- availableModels: {
7429
- id: string;
7430
- label: string;
7431
- description: string;
7432
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
7433
- }[];
7434
- otherRunners: string[];
7422
+ workerId: string;
7423
+ state: "complete" | "incomplete";
7424
+ work?: {
7425
+ uncommittedFiles: number;
7426
+ commits: number;
7435
7427
  } | undefined;
7428
+ deleted?: ({
7429
+ kind: "worktree";
7430
+ path: string;
7431
+ } | {
7432
+ kind: "branch";
7433
+ ref: string;
7434
+ })[] | undefined;
7435
+ remaining: ("branch" | "process" | "worktree")[];
7436
+ error?: string | undefined;
7436
7437
  };
7437
7438
  outputFormat: "json";
7438
- status: 400 | 401 | 403 | 409 | 503;
7439
+ status: 409;
7439
7440
  input: {
7440
7441
  query: {
7441
7442
  [x: string]: string | string[];
@@ -7487,21 +7488,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7487
7488
  } & {
7488
7489
  "/runs/:id/archive": {
7489
7490
  $post: {
7490
- output: {
7491
- error: string;
7492
- };
7493
- outputFormat: "json";
7494
- status: 404;
7495
- input: {
7496
- json: {
7497
- archived?: boolean | undefined;
7498
- };
7499
- } & {
7500
- param: {
7501
- id: string;
7502
- };
7503
- };
7504
- } | {
7505
7491
  output: {
7506
7492
  archiveWhenDone?: boolean | undefined;
7507
7493
  autoMergePr?: boolean | undefined;
@@ -8587,6 +8573,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8587
8573
  archivedAt: string;
8588
8574
  fingerprint: string;
8589
8575
  pullRequests: {
8576
+ host?: string | undefined;
8590
8577
  owner: string;
8591
8578
  repo: string;
8592
8579
  number: number;
@@ -8680,32 +8667,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8680
8667
  id: string;
8681
8668
  };
8682
8669
  };
8683
- };
8684
- };
8685
- } & {
8686
- "/runs/:id/pin": {
8687
- $post: {
8670
+ } | {
8688
8671
  output: {
8689
8672
  error: string;
8690
- code?: "invalid_input" | undefined;
8691
8673
  };
8692
8674
  outputFormat: "json";
8693
- status: 400;
8675
+ status: 404;
8694
8676
  input: {
8695
- param: {
8696
- id: string;
8677
+ json: {
8678
+ archived?: boolean | undefined;
8697
8679
  };
8698
8680
  } & {
8699
- json: {
8700
- pinned?: boolean | undefined;
8681
+ param: {
8682
+ id: string;
8701
8683
  };
8702
8684
  };
8703
- } | {
8685
+ };
8686
+ };
8687
+ } & {
8688
+ "/runs/:id/pin": {
8689
+ $post: {
8704
8690
  output: {
8705
8691
  error: string;
8692
+ code?: "invalid_input" | undefined;
8706
8693
  };
8707
8694
  outputFormat: "json";
8708
- status: 404;
8695
+ status: 400;
8709
8696
  input: {
8710
8697
  param: {
8711
8698
  id: string;
@@ -9801,6 +9788,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9801
9788
  archivedAt: string;
9802
9789
  fingerprint: string;
9803
9790
  pullRequests: {
9791
+ host?: string | undefined;
9804
9792
  owner: string;
9805
9793
  repo: string;
9806
9794
  number: number;
@@ -9894,6 +9882,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9894
9882
  pinned?: boolean | undefined;
9895
9883
  };
9896
9884
  };
9885
+ } | {
9886
+ output: {
9887
+ error: string;
9888
+ };
9889
+ outputFormat: "json";
9890
+ status: 404;
9891
+ input: {
9892
+ param: {
9893
+ id: string;
9894
+ };
9895
+ } & {
9896
+ json: {
9897
+ pinned?: boolean | undefined;
9898
+ };
9899
+ };
9897
9900
  };
9898
9901
  };
9899
9902
  } & {
@@ -9920,7 +9923,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9920
9923
  error: string;
9921
9924
  };
9922
9925
  outputFormat: "json";
9923
- status: 400;
9926
+ status: 404;
9924
9927
  input: {
9925
9928
  param: {
9926
9929
  id: string;
@@ -9936,7 +9939,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9936
9939
  error: string;
9937
9940
  };
9938
9941
  outputFormat: "json";
9939
- status: 404;
9942
+ status: 400;
9940
9943
  input: {
9941
9944
  param: {
9942
9945
  id: string;
@@ -10733,6 +10736,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10733
10736
  archivedAt: string;
10734
10737
  fingerprint: string;
10735
10738
  pullRequests: {
10739
+ host?: string | undefined;
10736
10740
  owner: string;
10737
10741
  repo: string;
10738
10742
  number: number;
@@ -11158,17 +11162,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11158
11162
  } & {
11159
11163
  "/runs/:id/read": {
11160
11164
  $post: {
11161
- output: {
11162
- error: string;
11163
- };
11164
- outputFormat: "json";
11165
- status: 404;
11166
- input: {
11167
- param: {
11168
- id: string;
11169
- };
11170
- };
11171
- } | {
11172
11165
  output: {
11173
11166
  archiveWhenDone?: boolean | undefined;
11174
11167
  autoMergePr?: boolean | undefined;
@@ -12254,6 +12247,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12254
12247
  archivedAt: string;
12255
12248
  fingerprint: string;
12256
12249
  pullRequests: {
12250
+ host?: string | undefined;
12257
12251
  owner: string;
12258
12252
  repo: string;
12259
12253
  number: number;
@@ -12343,11 +12337,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12343
12337
  id: string;
12344
12338
  };
12345
12339
  };
12346
- };
12347
- };
12348
- } & {
12349
- "/runs/:id/unread": {
12350
- $post: {
12340
+ } | {
12351
12341
  output: {
12352
12342
  error: string;
12353
12343
  };
@@ -12358,7 +12348,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12358
12348
  id: string;
12359
12349
  };
12360
12350
  };
12361
- } | {
12351
+ };
12352
+ };
12353
+ } & {
12354
+ "/runs/:id/unread": {
12355
+ $post: {
12362
12356
  output: {
12363
12357
  archiveWhenDone?: boolean | undefined;
12364
12358
  autoMergePr?: boolean | undefined;
@@ -13444,6 +13438,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13444
13438
  archivedAt: string;
13445
13439
  fingerprint: string;
13446
13440
  pullRequests: {
13441
+ host?: string | undefined;
13447
13442
  owner: string;
13448
13443
  repo: string;
13449
13444
  number: number;
@@ -13533,6 +13528,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13533
13528
  id: string;
13534
13529
  };
13535
13530
  };
13531
+ } | {
13532
+ output: {
13533
+ error: string;
13534
+ };
13535
+ outputFormat: "json";
13536
+ status: 404;
13537
+ input: {
13538
+ param: {
13539
+ id: string;
13540
+ };
13541
+ };
13536
13542
  };
13537
13543
  };
13538
13544
  } & {
@@ -14323,6 +14329,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14323
14329
  archivedAt: string;
14324
14330
  fingerprint: string;
14325
14331
  pullRequests: {
14332
+ host?: string | undefined;
14326
14333
  owner: string;
14327
14334
  repo: string;
14328
14335
  number: number;
@@ -14808,17 +14815,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14808
14815
  } & {
14809
14816
  "/runs/:id": {
14810
14817
  $get: {
14811
- output: {
14812
- error: string;
14813
- };
14814
- outputFormat: "json";
14815
- status: 404;
14816
- input: {
14817
- param: {
14818
- id: string;
14819
- };
14820
- };
14821
- } | {
14822
14818
  output: {
14823
14819
  archiveWhenDone?: boolean | undefined;
14824
14820
  autoMergePr?: boolean | undefined;
@@ -15904,6 +15900,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15904
15900
  archivedAt: string;
15905
15901
  fingerprint: string;
15906
15902
  pullRequests: {
15903
+ host?: string | undefined;
15907
15904
  owner: string;
15908
15905
  repo: string;
15909
15906
  number: number;
@@ -16001,6 +15998,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16001
15998
  id: string;
16002
15999
  };
16003
16000
  };
16001
+ } | {
16002
+ output: {
16003
+ error: string;
16004
+ };
16005
+ outputFormat: "json";
16006
+ status: 404;
16007
+ input: {
16008
+ param: {
16009
+ id: string;
16010
+ };
16011
+ };
16004
16012
  };
16005
16013
  };
16006
16014
  } & {
@@ -16128,66 +16136,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16128
16136
  } & {
16129
16137
  "/runs/:id": {
16130
16138
  $patch: {
16131
- output: {
16132
- error: string;
16133
- };
16134
- outputFormat: "json";
16135
- status: 400;
16136
- input: {
16137
- json: {
16138
- archiveWhenDone?: boolean | undefined;
16139
- autoMergePr?: boolean | undefined;
16140
- allowWorkers?: boolean | undefined;
16141
- allowMessaging?: boolean | undefined;
16142
- title?: string | undefined;
16143
- task?: string | undefined;
16144
- };
16145
- } & {
16146
- param: {
16147
- id: string;
16148
- };
16149
- };
16150
- } | {
16151
- output: {
16152
- error: string;
16153
- };
16154
- outputFormat: "json";
16155
- status: 404;
16156
- input: {
16157
- json: {
16158
- archiveWhenDone?: boolean | undefined;
16159
- autoMergePr?: boolean | undefined;
16160
- allowWorkers?: boolean | undefined;
16161
- allowMessaging?: boolean | undefined;
16162
- title?: string | undefined;
16163
- task?: string | undefined;
16164
- };
16165
- } & {
16166
- param: {
16167
- id: string;
16168
- };
16169
- };
16170
- } | {
16171
- output: {
16172
- error: string;
16173
- };
16174
- outputFormat: "json";
16175
- status: 409;
16176
- input: {
16177
- json: {
16178
- archiveWhenDone?: boolean | undefined;
16179
- autoMergePr?: boolean | undefined;
16180
- allowWorkers?: boolean | undefined;
16181
- allowMessaging?: boolean | undefined;
16182
- title?: string | undefined;
16183
- task?: string | undefined;
16184
- };
16185
- } & {
16186
- param: {
16187
- id: string;
16188
- };
16189
- };
16190
- } | {
16191
16139
  output: {
16192
16140
  archiveWhenDone?: boolean | undefined;
16193
16141
  autoMergePr?: boolean | undefined;
@@ -16973,6 +16921,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16973
16921
  archivedAt: string;
16974
16922
  fingerprint: string;
16975
16923
  pullRequests: {
16924
+ host?: string | undefined;
16976
16925
  owner: string;
16977
16926
  repo: string;
16978
16927
  number: number;
@@ -17371,6 +17320,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17371
17320
  id: string;
17372
17321
  };
17373
17322
  };
17323
+ } | {
17324
+ output: {
17325
+ error: string;
17326
+ };
17327
+ outputFormat: "json";
17328
+ status: 404;
17329
+ input: {
17330
+ json: {
17331
+ archiveWhenDone?: boolean | undefined;
17332
+ autoMergePr?: boolean | undefined;
17333
+ allowWorkers?: boolean | undefined;
17334
+ allowMessaging?: boolean | undefined;
17335
+ title?: string | undefined;
17336
+ task?: string | undefined;
17337
+ };
17338
+ } & {
17339
+ param: {
17340
+ id: string;
17341
+ };
17342
+ };
17343
+ } | {
17344
+ output: {
17345
+ error: string;
17346
+ };
17347
+ outputFormat: "json";
17348
+ status: 400;
17349
+ input: {
17350
+ json: {
17351
+ archiveWhenDone?: boolean | undefined;
17352
+ autoMergePr?: boolean | undefined;
17353
+ allowWorkers?: boolean | undefined;
17354
+ allowMessaging?: boolean | undefined;
17355
+ title?: string | undefined;
17356
+ task?: string | undefined;
17357
+ };
17358
+ } & {
17359
+ param: {
17360
+ id: string;
17361
+ };
17362
+ };
17363
+ } | {
17364
+ output: {
17365
+ error: string;
17366
+ };
17367
+ outputFormat: "json";
17368
+ status: 409;
17369
+ input: {
17370
+ json: {
17371
+ archiveWhenDone?: boolean | undefined;
17372
+ autoMergePr?: boolean | undefined;
17373
+ allowWorkers?: boolean | undefined;
17374
+ allowMessaging?: boolean | undefined;
17375
+ title?: string | undefined;
17376
+ task?: string | undefined;
17377
+ };
17378
+ } & {
17379
+ param: {
17380
+ id: string;
17381
+ };
17382
+ };
17374
17383
  };
17375
17384
  };
17376
17385
  } & {
@@ -17475,7 +17484,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17475
17484
  error: string;
17476
17485
  };
17477
17486
  outputFormat: "json";
17478
- status: 400;
17487
+ status: 404;
17479
17488
  input: {
17480
17489
  json: {
17481
17490
  text?: string | undefined;
@@ -17494,7 +17503,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17494
17503
  error: string;
17495
17504
  };
17496
17505
  outputFormat: "json";
17497
- status: 404;
17506
+ status: 409;
17498
17507
  input: {
17499
17508
  json: {
17500
17509
  text?: string | undefined;
@@ -17510,10 +17519,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17510
17519
  };
17511
17520
  } | {
17512
17521
  output: {
17513
- error: string;
17522
+ delivered: true;
17514
17523
  };
17515
17524
  outputFormat: "json";
17516
- status: 409;
17525
+ status: import("hono/utils/http-status").ContentfulStatusCode;
17517
17526
  input: {
17518
17527
  json: {
17519
17528
  text?: string | undefined;
@@ -17529,10 +17538,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17529
17538
  };
17530
17539
  } | {
17531
17540
  output: {
17532
- delivered: true;
17541
+ error: string;
17533
17542
  };
17534
17543
  outputFormat: "json";
17535
- status: import("hono/utils/http-status").ContentfulStatusCode;
17544
+ status: 400;
17536
17545
  input: {
17537
17546
  json: {
17538
17547
  text?: string | undefined;
@@ -17600,7 +17609,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17600
17609
  error: string;
17601
17610
  };
17602
17611
  outputFormat: "json";
17603
- status: 400;
17612
+ status: 404;
17604
17613
  input: {
17605
17614
  json: {
17606
17615
  text?: string | undefined;
@@ -17621,7 +17630,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17621
17630
  error: string;
17622
17631
  };
17623
17632
  outputFormat: "json";
17624
- status: 404;
17633
+ status: 400;
17625
17634
  input: {
17626
17635
  json: {
17627
17636
  text?: string | undefined;
@@ -17841,11 +17850,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17841
17850
  "/runs/:id/open-in-cli": {
17842
17851
  $post: {
17843
17852
  output: {
17844
- opened: true;
17845
- command: string;
17853
+ error: string;
17846
17854
  };
17847
17855
  outputFormat: "json";
17848
- status: import("hono/utils/http-status").ContentfulStatusCode;
17856
+ status: 404 | 409;
17849
17857
  input: {
17850
17858
  param: {
17851
17859
  id: string;
@@ -17853,10 +17861,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17853
17861
  };
17854
17862
  } | {
17855
17863
  output: {
17856
- error: string;
17864
+ opened: true;
17865
+ command: string;
17857
17866
  };
17858
17867
  outputFormat: "json";
17859
- status: 404 | 409;
17868
+ status: import("hono/utils/http-status").ContentfulStatusCode;
17860
17869
  input: {
17861
17870
  param: {
17862
17871
  id: string;
@@ -17871,7 +17880,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17871
17880
  error: string;
17872
17881
  };
17873
17882
  outputFormat: "json";
17874
- status: 400;
17883
+ status: 404 | 409;
17875
17884
  input: {
17876
17885
  json: {
17877
17886
  target: string;
@@ -17884,11 +17893,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17884
17893
  };
17885
17894
  } | {
17886
17895
  output: {
17887
- opened: true;
17888
- path: string;
17896
+ error: string;
17889
17897
  };
17890
17898
  outputFormat: "json";
17891
- status: import("hono/utils/http-status").ContentfulStatusCode;
17899
+ status: 400;
17892
17900
  input: {
17893
17901
  json: {
17894
17902
  target: string;
@@ -17901,10 +17909,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17901
17909
  };
17902
17910
  } | {
17903
17911
  output: {
17904
- error: string;
17912
+ opened: true;
17913
+ path: string;
17905
17914
  };
17906
17915
  outputFormat: "json";
17907
- status: 404 | 409;
17916
+ status: import("hono/utils/http-status").ContentfulStatusCode;
17908
17917
  input: {
17909
17918
  json: {
17910
17919
  target: string;
@@ -17944,12 +17953,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17944
17953
  } & {
17945
17954
  "/runs/:id/images/:file": {
17946
17955
  $get: {
17947
- output: {
17948
- error: string;
17949
- code?: "invalid_input" | undefined;
17950
- };
17951
- outputFormat: "json";
17952
- status: 400;
17956
+ output: {};
17957
+ outputFormat: string;
17958
+ status: import("hono/utils/http-status").StatusCode;
17953
17959
  input: {
17954
17960
  param: {
17955
17961
  id: string;
@@ -17957,9 +17963,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17957
17963
  };
17958
17964
  };
17959
17965
  } | {
17960
- output: {};
17961
- outputFormat: string;
17962
- status: import("hono/utils/http-status").StatusCode;
17966
+ output: {
17967
+ error: string;
17968
+ code?: "invalid_input" | undefined;
17969
+ };
17970
+ outputFormat: "json";
17971
+ status: 400;
17963
17972
  input: {
17964
17973
  param: {
17965
17974
  id: string;
@@ -17995,6 +18004,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17995
18004
  } & {
17996
18005
  "/runs/:id/changes": {
17997
18006
  $get: {
18007
+ output: {
18008
+ error: string;
18009
+ };
18010
+ outputFormat: "json";
18011
+ status: 404 | 409;
18012
+ input: {
18013
+ param: {
18014
+ id: string;
18015
+ };
18016
+ };
18017
+ } | {
17998
18018
  output: {
17999
18019
  files: {
18000
18020
  path: string;
@@ -18023,7 +18043,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18023
18043
  id: string;
18024
18044
  };
18025
18045
  };
18026
- } | {
18046
+ };
18047
+ };
18048
+ } & {
18049
+ "/runs/:id/commits": {
18050
+ $get: {
18027
18051
  output: {
18028
18052
  error: string;
18029
18053
  };
@@ -18034,11 +18058,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18034
18058
  id: string;
18035
18059
  };
18036
18060
  };
18037
- };
18038
- };
18039
- } & {
18040
- "/runs/:id/commits": {
18041
- $get: {
18061
+ } | {
18042
18062
  output: {
18043
18063
  commits: {
18044
18064
  sha: string;
@@ -18054,7 +18074,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18054
18074
  id: string;
18055
18075
  };
18056
18076
  };
18057
- } | {
18077
+ };
18078
+ };
18079
+ } & {
18080
+ "/runs/:id/commit/:sha": {
18081
+ $get: {
18058
18082
  output: {
18059
18083
  error: string;
18060
18084
  };
@@ -18063,13 +18087,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18063
18087
  input: {
18064
18088
  param: {
18065
18089
  id: string;
18090
+ } & {
18091
+ sha: string;
18066
18092
  };
18067
18093
  };
18068
- };
18069
- };
18070
- } & {
18071
- "/runs/:id/commit/:sha": {
18072
- $get: {
18094
+ } | {
18073
18095
  output: {
18074
18096
  sha: string;
18075
18097
  subject: string;
@@ -18100,19 +18122,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18100
18122
  sha: string;
18101
18123
  };
18102
18124
  };
18103
- } | {
18104
- output: {
18105
- error: string;
18106
- };
18107
- outputFormat: "json";
18108
- status: 404 | 409;
18109
- input: {
18110
- param: {
18111
- id: string;
18112
- } & {
18113
- sha: string;
18114
- };
18115
- };
18116
18125
  };
18117
18126
  };
18118
18127
  } & {
@@ -18148,6 +18157,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18148
18157
  raw?: "1" | undefined;
18149
18158
  };
18150
18159
  };
18160
+ } | {
18161
+ output: {
18162
+ error: string;
18163
+ };
18164
+ outputFormat: "json";
18165
+ status: 404 | 409;
18166
+ input: {
18167
+ param: {
18168
+ id: string;
18169
+ };
18170
+ } & {
18171
+ query: {
18172
+ path: string | string[];
18173
+ raw?: "1" | undefined;
18174
+ };
18175
+ };
18151
18176
  } | {
18152
18177
  output: {
18153
18178
  type: "file";
@@ -18184,22 +18209,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18184
18209
  raw?: "1" | undefined;
18185
18210
  };
18186
18211
  };
18187
- } | {
18188
- output: {
18189
- error: string;
18190
- };
18191
- outputFormat: "json";
18192
- status: 404 | 409;
18193
- input: {
18194
- param: {
18195
- id: string;
18196
- };
18197
- } & {
18198
- query: {
18199
- path: string | string[];
18200
- raw?: "1" | undefined;
18201
- };
18202
- };
18203
18212
  };
18204
18213
  };
18205
18214
  } & {
@@ -18264,18 +18273,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18264
18273
  artifactId: string;
18265
18274
  };
18266
18275
  };
18267
- } | {
18268
- output: {
18269
- error: string;
18270
- };
18271
- outputFormat: "json";
18272
- status: 404;
18273
- input: {
18274
- param: {
18275
- id: string;
18276
- artifactId: string;
18277
- };
18278
- };
18279
18276
  } | {
18280
18277
  output: {
18281
18278
  type: "file";
@@ -18304,6 +18301,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18304
18301
  artifactId: string;
18305
18302
  };
18306
18303
  };
18304
+ } | {
18305
+ output: {
18306
+ error: string;
18307
+ };
18308
+ outputFormat: "json";
18309
+ status: 404;
18310
+ input: {
18311
+ param: {
18312
+ id: string;
18313
+ artifactId: string;
18314
+ };
18315
+ };
18307
18316
  };
18308
18317
  };
18309
18318
  } & {
@@ -18479,6 +18488,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18479
18488
  id: string;
18480
18489
  };
18481
18490
  };
18491
+ } | {
18492
+ output: {
18493
+ error: string;
18494
+ };
18495
+ outputFormat: "json";
18496
+ status: 404 | 409;
18497
+ input: {
18498
+ query: {
18499
+ path?: string | undefined;
18500
+ raw?: string | undefined;
18501
+ };
18502
+ } & {
18503
+ param: {
18504
+ id: string;
18505
+ };
18506
+ };
18482
18507
  } | {
18483
18508
  output: {
18484
18509
  type: 'dir';
@@ -18522,33 +18547,16 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18522
18547
  id: string;
18523
18548
  };
18524
18549
  };
18525
- } | {
18526
- output: {
18527
- error: string;
18528
- };
18529
- outputFormat: "json";
18530
- status: 404 | 409;
18531
- input: {
18532
- query: {
18533
- path?: string | undefined;
18534
- raw?: string | undefined;
18535
- };
18536
- } & {
18537
- param: {
18538
- id: string;
18539
- };
18540
- };
18541
18550
  };
18542
18551
  };
18543
18552
  } & {
18544
18553
  "/runs/:id/git/commit": {
18545
18554
  $post: {
18546
18555
  output: {
18547
- committed: true;
18548
- sha: string;
18556
+ error: string;
18549
18557
  };
18550
18558
  outputFormat: "json";
18551
- status: import("hono/utils/http-status").ContentfulStatusCode;
18559
+ status: 404 | 409;
18552
18560
  input: {
18553
18561
  json: {
18554
18562
  message: string;
@@ -18560,10 +18568,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18560
18568
  };
18561
18569
  } | {
18562
18570
  output: {
18563
- error: string;
18571
+ committed: true;
18572
+ sha: string;
18564
18573
  };
18565
18574
  outputFormat: "json";
18566
- status: 404 | 409;
18575
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18567
18576
  input: {
18568
18577
  json: {
18569
18578
  message: string;
@@ -18579,13 +18588,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18579
18588
  "/runs/:id/git/push": {
18580
18589
  $post: {
18581
18590
  output: {
18582
- pushed: true;
18583
- branch: string;
18584
- remote: string;
18585
- upstreamSet: boolean;
18591
+ error: string;
18586
18592
  };
18587
18593
  outputFormat: "json";
18588
- status: import("hono/utils/http-status").ContentfulStatusCode;
18594
+ status: 404 | 409;
18589
18595
  input: {
18590
18596
  param: {
18591
18597
  id: string;
@@ -18593,10 +18599,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18593
18599
  };
18594
18600
  } | {
18595
18601
  output: {
18596
- error: string;
18602
+ pushed: true;
18603
+ branch: string;
18604
+ remote: string;
18605
+ upstreamSet: boolean;
18597
18606
  };
18598
18607
  outputFormat: "json";
18599
- status: 404 | 409;
18608
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18600
18609
  input: {
18601
18610
  param: {
18602
18611
  id: string;
@@ -18608,11 +18617,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18608
18617
  "/runs/:id/pr": {
18609
18618
  $post: {
18610
18619
  output: {
18611
- url: string;
18612
- dryRun: boolean;
18620
+ error: string;
18613
18621
  };
18614
18622
  outputFormat: "json";
18615
- status: 201;
18623
+ status: 404 | 409;
18616
18624
  input: {
18617
18625
  param: {
18618
18626
  id: string;
@@ -18620,10 +18628,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18620
18628
  };
18621
18629
  } | {
18622
18630
  output: {
18623
- error: string;
18631
+ url: string;
18632
+ dryRun: boolean;
18624
18633
  };
18625
18634
  outputFormat: "json";
18626
- status: 404 | 409;
18635
+ status: 201;
18627
18636
  input: {
18628
18637
  param: {
18629
18638
  id: string;
@@ -18635,10 +18644,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18635
18644
  "/runs/:id/remove-worktree": {
18636
18645
  $post: {
18637
18646
  output: {
18638
- removed: true;
18647
+ error: string;
18639
18648
  };
18640
18649
  outputFormat: "json";
18641
- status: import("hono/utils/http-status").ContentfulStatusCode;
18650
+ status: 404 | 409;
18642
18651
  input: {
18643
18652
  param: {
18644
18653
  id: string;
@@ -18646,10 +18655,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18646
18655
  };
18647
18656
  } | {
18648
18657
  output: {
18649
- error: string;
18658
+ removed: true;
18650
18659
  };
18651
18660
  outputFormat: "json";
18652
- status: 404 | 409;
18661
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18653
18662
  input: {
18654
18663
  param: {
18655
18664
  id: string;
@@ -18661,10 +18670,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18661
18670
  "/runs/:id": {
18662
18671
  $delete: {
18663
18672
  output: {
18664
- deleted: true;
18673
+ error: string;
18665
18674
  };
18666
18675
  outputFormat: "json";
18667
- status: import("hono/utils/http-status").ContentfulStatusCode;
18676
+ status: 404 | 409;
18668
18677
  input: {
18669
18678
  param: {
18670
18679
  id: string;
@@ -18672,10 +18681,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18672
18681
  };
18673
18682
  } | {
18674
18683
  output: {
18675
- error: string;
18684
+ deleted: true;
18676
18685
  };
18677
18686
  outputFormat: "json";
18678
- status: 404 | 409;
18687
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18679
18688
  input: {
18680
18689
  param: {
18681
18690
  id: string;
@@ -18744,6 +18753,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18744
18753
  }, "/"> | import("hono/types").MergeSchemaPath<{
18745
18754
  "/plan": {
18746
18755
  $post: {
18756
+ output: {
18757
+ error: string;
18758
+ };
18759
+ outputFormat: "json";
18760
+ status: 400 | 404 | 409;
18761
+ input: {
18762
+ json: {
18763
+ task: string;
18764
+ agentProfile?: string | undefined;
18765
+ };
18766
+ };
18767
+ } | {
18747
18768
  output: {
18748
18769
  name?: string;
18749
18770
  steps: {
@@ -18780,18 +18801,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18780
18801
  agentProfile?: string | undefined;
18781
18802
  };
18782
18803
  };
18783
- } | {
18784
- output: {
18785
- error: string;
18786
- };
18787
- outputFormat: "json";
18788
- status: 400 | 404 | 409;
18789
- input: {
18790
- json: {
18791
- task: string;
18792
- agentProfile?: string | undefined;
18793
- };
18794
- };
18795
18804
  };
18796
18805
  };
18797
18806
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -18816,7 +18825,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18816
18825
  error: string;
18817
18826
  };
18818
18827
  outputFormat: "json";
18819
- status: 400;
18828
+ status: 409;
18820
18829
  input: {
18821
18830
  json: {
18822
18831
  target: string;
@@ -18827,7 +18836,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18827
18836
  error: string;
18828
18837
  };
18829
18838
  outputFormat: "json";
18830
- status: 409;
18839
+ status: 400;
18831
18840
  input: {
18832
18841
  json: {
18833
18842
  target: string;
@@ -18894,10 +18903,42 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18894
18903
  "/ui-state": {
18895
18904
  $put: {
18896
18905
  output: {
18897
- error: string;
18906
+ [x: string]: import("hono/utils/types").JSONValue;
18907
+ sidebarLimits?: {
18908
+ overall?: number | null | undefined;
18909
+ needsYou?: number | null | undefined;
18910
+ finished?: number | null | undefined;
18911
+ working?: number | null | undefined;
18912
+ } | undefined;
18913
+ lastTask?: {
18914
+ source: "skill" | "workflow";
18915
+ ref: string;
18916
+ } | null | undefined;
18917
+ recentSources?: {
18918
+ source: "skill" | "workflow";
18919
+ ref: string;
18920
+ }[] | undefined;
18921
+ lastWorktree?: boolean | undefined;
18922
+ lastAutonomous?: boolean | undefined;
18923
+ skillUsage?: {
18924
+ [x: string]: number;
18925
+ } | undefined;
18926
+ runsView?: "list" | "table" | undefined;
18927
+ githubView?: "issues" | "prs" | undefined;
18928
+ appearance?: {
18929
+ accent?: "cezarion" | "lime" | "violet" | undefined;
18930
+ density?: "comfortable" | "compact" | "ultra" | undefined;
18931
+ width?: "narrow" | "wide" | undefined;
18932
+ } | undefined;
18933
+ promptTemplates?: {
18934
+ id: string;
18935
+ label: string;
18936
+ text: string;
18937
+ skills?: string[] | undefined;
18938
+ }[] | undefined;
18898
18939
  };
18899
18940
  outputFormat: "json";
18900
- status: 500;
18941
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18901
18942
  input: {
18902
18943
  json: {
18903
18944
  [x: string]: unknown;
@@ -18935,42 +18976,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18935
18976
  };
18936
18977
  } | {
18937
18978
  output: {
18938
- [x: string]: import("hono/utils/types").JSONValue;
18939
- sidebarLimits?: {
18940
- overall?: number | null | undefined;
18941
- needsYou?: number | null | undefined;
18942
- finished?: number | null | undefined;
18943
- working?: number | null | undefined;
18944
- } | undefined;
18945
- lastTask?: {
18946
- source: "skill" | "workflow";
18947
- ref: string;
18948
- } | null | undefined;
18949
- recentSources?: {
18950
- source: "skill" | "workflow";
18951
- ref: string;
18952
- }[] | undefined;
18953
- lastWorktree?: boolean | undefined;
18954
- lastAutonomous?: boolean | undefined;
18955
- skillUsage?: {
18956
- [x: string]: number;
18957
- } | undefined;
18958
- runsView?: "list" | "table" | undefined;
18959
- githubView?: "issues" | "prs" | undefined;
18960
- appearance?: {
18961
- accent?: "cezarion" | "lime" | "violet" | undefined;
18962
- density?: "comfortable" | "compact" | "ultra" | undefined;
18963
- width?: "narrow" | "wide" | undefined;
18964
- } | undefined;
18965
- promptTemplates?: {
18966
- id: string;
18967
- label: string;
18968
- text: string;
18969
- skills?: string[] | undefined;
18970
- }[] | undefined;
18979
+ error: string;
18971
18980
  };
18972
18981
  outputFormat: "json";
18973
- status: import("hono/utils/http-status").ContentfulStatusCode;
18982
+ status: 500;
18974
18983
  input: {
18975
18984
  json: {
18976
18985
  [x: string]: unknown;
@@ -19011,12 +19020,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19011
19020
  }, "/"> | import("hono/types").MergeSchemaPath<{
19012
19021
  "/runs/:id/events": {
19013
19022
  $get: {
19014
- output: {
19015
- error: string;
19016
- code?: "invalid_input" | undefined;
19017
- };
19018
- outputFormat: "json";
19019
- status: 400;
19023
+ output: {};
19024
+ outputFormat: string;
19025
+ status: import("hono/utils/http-status").StatusCode;
19020
19026
  input: {
19021
19027
  param: {
19022
19028
  id: string;
@@ -19028,9 +19034,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19028
19034
  };
19029
19035
  };
19030
19036
  } | {
19031
- output: {};
19032
- outputFormat: string;
19033
- status: import("hono/utils/http-status").StatusCode;
19037
+ output: {
19038
+ error: string;
19039
+ code?: "invalid_input" | undefined;
19040
+ };
19041
+ outputFormat: "json";
19042
+ status: 400;
19034
19043
  input: {
19035
19044
  param: {
19036
19045
  id: string;
@@ -19091,10 +19100,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19091
19100
  "/config": {
19092
19101
  $put: {
19093
19102
  output: {
19094
- error: string;
19103
+ archiveOnMerge: boolean | null;
19104
+ effectiveArchiveOnMerge: boolean;
19105
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
19106
+ baseBranch: string | null;
19107
+ defaultRunner: string;
19108
+ systemPrompt: string | null;
19109
+ defaultModels: {
19110
+ [x: string]: string | undefined;
19111
+ };
19112
+ modelsLocked: boolean;
19113
+ maxParallel: number;
19114
+ memoryLimitMb: number | null;
19115
+ worktreeRetention: number;
19116
+ liveTitleUpdates: boolean | null;
19117
+ reviewGate: boolean | null;
19118
+ worktreeSetup: {
19119
+ commands: string[];
19120
+ timeoutSeconds: number;
19121
+ } | null;
19122
+ worktreeSetupIssue: string | null;
19123
+ worktreeTeardown: {
19124
+ commands: string[];
19125
+ timeoutSeconds: number;
19126
+ } | null;
19127
+ worktreeTeardownIssue: string | null;
19095
19128
  };
19096
19129
  outputFormat: "json";
19097
- status: 409;
19130
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19098
19131
  input: {
19099
19132
  json: {
19100
19133
  archiveOnMerge?: boolean | null | undefined;
@@ -19122,7 +19155,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19122
19155
  error: string;
19123
19156
  };
19124
19157
  outputFormat: "json";
19125
- status: 500;
19158
+ status: 409;
19126
19159
  input: {
19127
19160
  json: {
19128
19161
  archiveOnMerge?: boolean | null | undefined;
@@ -19147,34 +19180,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19147
19180
  };
19148
19181
  } | {
19149
19182
  output: {
19150
- archiveOnMerge: boolean | null;
19151
- effectiveArchiveOnMerge: boolean;
19152
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
19153
- baseBranch: string | null;
19154
- defaultRunner: string;
19155
- systemPrompt: string | null;
19156
- defaultModels: {
19157
- [x: string]: string | undefined;
19158
- };
19159
- modelsLocked: boolean;
19160
- maxParallel: number;
19161
- memoryLimitMb: number | null;
19162
- worktreeRetention: number;
19163
- liveTitleUpdates: boolean | null;
19164
- reviewGate: boolean | null;
19165
- worktreeSetup: {
19166
- commands: string[];
19167
- timeoutSeconds: number;
19168
- } | null;
19169
- worktreeSetupIssue: string | null;
19170
- worktreeTeardown: {
19171
- commands: string[];
19172
- timeoutSeconds: number;
19173
- } | null;
19174
- worktreeTeardownIssue: string | null;
19183
+ error: string;
19175
19184
  };
19176
19185
  outputFormat: "json";
19177
- status: import("hono/utils/http-status").ContentfulStatusCode;
19186
+ status: 500;
19178
19187
  input: {
19179
19188
  json: {
19180
19189
  archiveOnMerge?: boolean | null | undefined;
@@ -19323,7 +19332,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19323
19332
  error: string;
19324
19333
  };
19325
19334
  outputFormat: "json";
19326
- status: 400;
19335
+ status: 409;
19327
19336
  input: {
19328
19337
  query: {
19329
19338
  q?: string | undefined;
@@ -19336,7 +19345,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19336
19345
  error: string;
19337
19346
  };
19338
19347
  outputFormat: "json";
19339
- status: 409;
19348
+ status: 400;
19340
19349
  input: {
19341
19350
  query: {
19342
19351
  q?: string | undefined;
@@ -19441,11 +19450,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19441
19450
  };
19442
19451
  } | {
19443
19452
  output: {
19444
- runId: string;
19445
- worktreeReclaimedAt: string;
19453
+ error: string;
19446
19454
  };
19447
19455
  outputFormat: "json";
19448
- status: import("hono/utils/http-status").ContentfulStatusCode;
19456
+ status: 404 | 409;
19449
19457
  input: {
19450
19458
  param: {
19451
19459
  runId: string;
@@ -19457,10 +19465,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19457
19465
  };
19458
19466
  } | {
19459
19467
  output: {
19460
- error: string;
19468
+ runId: string;
19469
+ worktreeReclaimedAt: string;
19461
19470
  };
19462
19471
  outputFormat: "json";
19463
- status: 404 | 409;
19472
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19464
19473
  input: {
19465
19474
  param: {
19466
19475
  runId: string;
@@ -19560,10 +19569,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19560
19569
  "/agent-config/:id": {
19561
19570
  $put: {
19562
19571
  output: {
19563
- error: string;
19572
+ id: string;
19573
+ path: string;
19574
+ exists: boolean;
19575
+ content: string;
19576
+ version: string | null;
19564
19577
  };
19565
19578
  outputFormat: "json";
19566
- status: 404;
19579
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19567
19580
  input: {
19568
19581
  json: {
19569
19582
  content: string;
@@ -19576,14 +19589,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19576
19589
  };
19577
19590
  } | {
19578
19591
  output: {
19579
- id: string;
19580
- path: string;
19581
- exists: boolean;
19582
- content: string;
19583
- version: string | null;
19592
+ error: string;
19584
19593
  };
19585
19594
  outputFormat: "json";
19586
- status: import("hono/utils/http-status").ContentfulStatusCode;
19595
+ status: 404;
19587
19596
  input: {
19588
19597
  json: {
19589
19598
  content: string;
@@ -19760,11 +19769,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19760
19769
  "/workflows": {
19761
19770
  $post: {
19762
19771
  output: {
19763
- path: string;
19764
- name: string;
19772
+ error: string;
19765
19773
  };
19766
19774
  outputFormat: "json";
19767
- status: 201;
19775
+ status: 400;
19768
19776
  input: {
19769
19777
  json: {
19770
19778
  name: string;
@@ -19797,9 +19805,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19797
19805
  } | {
19798
19806
  output: {
19799
19807
  error: string;
19808
+ exists: true;
19800
19809
  };
19801
19810
  outputFormat: "json";
19802
- status: 400;
19811
+ status: 409;
19803
19812
  input: {
19804
19813
  json: {
19805
19814
  name: string;
@@ -19832,10 +19841,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19832
19841
  } | {
19833
19842
  output: {
19834
19843
  error: string;
19835
- exists: true;
19836
19844
  };
19837
19845
  outputFormat: "json";
19838
- status: 409;
19846
+ status: 500;
19839
19847
  input: {
19840
19848
  json: {
19841
19849
  name: string;
@@ -19867,10 +19875,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19867
19875
  };
19868
19876
  } | {
19869
19877
  output: {
19870
- error: string;
19878
+ path: string;
19879
+ name: string;
19871
19880
  };
19872
19881
  outputFormat: "json";
19873
- status: 500;
19882
+ status: 201;
19874
19883
  input: {
19875
19884
  json: {
19876
19885
  name: string;
@@ -19906,11 +19915,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19906
19915
  "/workflows/:name": {
19907
19916
  $delete: {
19908
19917
  output: {
19909
- ok: true;
19910
- path: string;
19918
+ error: string;
19911
19919
  };
19912
19920
  outputFormat: "json";
19913
- status: import("hono/utils/http-status").ContentfulStatusCode;
19921
+ status: 400 | 404 | 409 | 500;
19914
19922
  input: {
19915
19923
  param: {
19916
19924
  name: string;
@@ -19918,10 +19926,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19918
19926
  };
19919
19927
  } | {
19920
19928
  output: {
19921
- error: string;
19929
+ ok: true;
19930
+ path: string;
19922
19931
  };
19923
19932
  outputFormat: "json";
19924
- status: 400 | 404 | 409 | 500;
19933
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19925
19934
  input: {
19926
19935
  param: {
19927
19936
  name: string;
@@ -20097,18 +20106,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20097
20106
  "/repo/branches/delete": {
20098
20107
  $post: {
20099
20108
  output: {
20100
- deleted: string[];
20109
+ error: string;
20101
20110
  refused: {
20102
20111
  name: string;
20103
20112
  reason: string;
20104
20113
  }[];
20105
- dropped?: {
20106
- sha: string;
20107
- subject: string;
20108
- }[] | undefined;
20109
20114
  };
20110
20115
  outputFormat: "json";
20111
- status: 200;
20116
+ status: 409;
20112
20117
  input: {
20113
20118
  json: {
20114
20119
  names: string[];
@@ -20117,14 +20122,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20117
20122
  };
20118
20123
  } | {
20119
20124
  output: {
20120
- error: string;
20125
+ deleted: string[];
20121
20126
  refused: {
20122
20127
  name: string;
20123
20128
  reason: string;
20124
20129
  }[];
20130
+ dropped?: {
20131
+ sha: string;
20132
+ subject: string;
20133
+ }[] | undefined;
20125
20134
  };
20126
20135
  outputFormat: "json";
20127
- status: 409;
20136
+ status: 200;
20128
20137
  input: {
20129
20138
  json: {
20130
20139
  names: string[];
@@ -20145,6 +20154,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20145
20154
  } & {
20146
20155
  "/repo/commit/:sha": {
20147
20156
  $get: {
20157
+ output: string;
20158
+ outputFormat: "text";
20159
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20160
+ input: {
20161
+ query: {
20162
+ structured?: string | undefined;
20163
+ };
20164
+ } & {
20165
+ param: {
20166
+ sha: string;
20167
+ };
20168
+ };
20169
+ } | {
20148
20170
  output: {
20149
20171
  error: string;
20150
20172
  code?: "invalid_input" | undefined;
@@ -20208,19 +20230,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20208
20230
  sha: string;
20209
20231
  };
20210
20232
  };
20211
- } | {
20212
- output: string;
20213
- outputFormat: "text";
20214
- status: import("hono/utils/http-status").ContentfulStatusCode;
20215
- input: {
20216
- query: {
20217
- structured?: string | undefined;
20218
- };
20219
- } & {
20220
- param: {
20221
- sha: string;
20222
- };
20223
- };
20224
20233
  };
20225
20234
  };
20226
20235
  } & {
@@ -20281,12 +20290,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20281
20290
  "/repo/pull": {
20282
20291
  $post: {
20283
20292
  output: {
20284
- branch: string;
20285
- pulled: true;
20286
- summary: string;
20293
+ error: string;
20287
20294
  };
20288
20295
  outputFormat: "json";
20289
- status: 200;
20296
+ status: 409;
20290
20297
  input: {
20291
20298
  json: {
20292
20299
  branch?: string | undefined;
@@ -20295,10 +20302,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20295
20302
  };
20296
20303
  } | {
20297
20304
  output: {
20298
- error: string;
20305
+ branch: string;
20306
+ pulled: true;
20307
+ summary: string;
20299
20308
  };
20300
20309
  outputFormat: "json";
20301
- status: 409;
20310
+ status: 200;
20302
20311
  input: {
20303
20312
  json: {
20304
20313
  branch?: string | undefined;
@@ -22149,6 +22158,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22149
22158
  archivedAt: string;
22150
22159
  fingerprint: string;
22151
22160
  pullRequests: {
22161
+ host?: string | undefined;
22152
22162
  owner: string;
22153
22163
  repo: string;
22154
22164
  number: number;
@@ -22247,18 +22257,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22247
22257
  } & {
22248
22258
  "/run-summaries": {
22249
22259
  $get: {
22250
- output: {
22251
- error: string;
22252
- code?: "invalid_input" | undefined;
22253
- };
22254
- outputFormat: "json";
22255
- status: 400;
22256
- input: {
22257
- query: {
22258
- archived?: "all" | "recent" | undefined;
22259
- };
22260
- };
22261
- } | {
22262
22260
  output: {
22263
22261
  id: string;
22264
22262
  title: string;
@@ -22396,6 +22394,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22396
22394
  archived?: "all" | "recent" | undefined;
22397
22395
  };
22398
22396
  };
22397
+ } | {
22398
+ output: {
22399
+ error: string;
22400
+ code?: "invalid_input" | undefined;
22401
+ };
22402
+ outputFormat: "json";
22403
+ status: 400;
22404
+ input: {
22405
+ query: {
22406
+ archived?: "all" | "recent" | undefined;
22407
+ };
22408
+ };
22399
22409
  };
22400
22410
  };
22401
22411
  } & {
@@ -22757,24 +22767,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22757
22767
  "/runs/:id/worker-destroy": {
22758
22768
  $post: {
22759
22769
  output: {
22760
- workerId: string;
22761
- state: "complete" | "incomplete";
22762
- work?: {
22763
- uncommittedFiles: number;
22764
- commits: number;
22765
- } | undefined;
22766
- deleted?: ({
22767
- kind: "worktree";
22768
- path: string;
22769
- } | {
22770
- kind: "branch";
22771
- ref: string;
22772
- })[] | undefined;
22773
- remaining: ("branch" | "process" | "worktree")[];
22774
- error?: string | undefined;
22770
+ error: string;
22771
+ code?: "invalid_input" | undefined;
22775
22772
  };
22776
22773
  outputFormat: "json";
22777
- status: 200;
22774
+ status: 400;
22778
22775
  input: {
22779
22776
  query: {
22780
22777
  [x: string]: string | string[];
@@ -22790,11 +22787,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22790
22787
  };
22791
22788
  } | {
22792
22789
  output: {
22793
- error: string;
22794
- code?: "invalid_input" | undefined;
22790
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
22791
+ readonly error: string;
22792
+ readonly modelChoices?: {
22793
+ runner: string;
22794
+ requestedModel: string;
22795
+ availableModels: {
22796
+ id: string;
22797
+ label: string;
22798
+ description: string;
22799
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
22800
+ }[];
22801
+ otherRunners: string[];
22802
+ } | undefined;
22795
22803
  };
22796
22804
  outputFormat: "json";
22797
- status: 400;
22805
+ status: 400 | 401 | 403 | 409 | 503;
22798
22806
  input: {
22799
22807
  query: {
22800
22808
  [x: string]: string | string[];
@@ -22827,7 +22835,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22827
22835
  error?: string | undefined;
22828
22836
  };
22829
22837
  outputFormat: "json";
22830
- status: 409;
22838
+ status: 200;
22831
22839
  input: {
22832
22840
  query: {
22833
22841
  [x: string]: string | string[];
@@ -22843,22 +22851,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22843
22851
  };
22844
22852
  } | {
22845
22853
  output: {
22846
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
22847
- readonly error: string;
22848
- readonly modelChoices?: {
22849
- runner: string;
22850
- requestedModel: string;
22851
- availableModels: {
22852
- id: string;
22853
- label: string;
22854
- description: string;
22855
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
22856
- }[];
22857
- otherRunners: string[];
22854
+ workerId: string;
22855
+ state: "complete" | "incomplete";
22856
+ work?: {
22857
+ uncommittedFiles: number;
22858
+ commits: number;
22858
22859
  } | undefined;
22860
+ deleted?: ({
22861
+ kind: "worktree";
22862
+ path: string;
22863
+ } | {
22864
+ kind: "branch";
22865
+ ref: string;
22866
+ })[] | undefined;
22867
+ remaining: ("branch" | "process" | "worktree")[];
22868
+ error?: string | undefined;
22859
22869
  };
22860
22870
  outputFormat: "json";
22861
- status: 400 | 401 | 403 | 409 | 503;
22871
+ status: 409;
22862
22872
  input: {
22863
22873
  query: {
22864
22874
  [x: string]: string | string[];
@@ -22910,21 +22920,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22910
22920
  } & {
22911
22921
  "/runs/:id/archive": {
22912
22922
  $post: {
22913
- output: {
22914
- error: string;
22915
- };
22916
- outputFormat: "json";
22917
- status: 404;
22918
- input: {
22919
- json: {
22920
- archived?: boolean | undefined;
22921
- };
22922
- } & {
22923
- param: {
22924
- id: string;
22925
- };
22926
- };
22927
- } | {
22928
22923
  output: {
22929
22924
  archiveWhenDone?: boolean | undefined;
22930
22925
  autoMergePr?: boolean | undefined;
@@ -24010,6 +24005,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24010
24005
  archivedAt: string;
24011
24006
  fingerprint: string;
24012
24007
  pullRequests: {
24008
+ host?: string | undefined;
24013
24009
  owner: string;
24014
24010
  repo: string;
24015
24011
  number: number;
@@ -24103,32 +24099,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24103
24099
  id: string;
24104
24100
  };
24105
24101
  };
24106
- };
24107
- };
24108
- } & {
24109
- "/runs/:id/pin": {
24110
- $post: {
24102
+ } | {
24111
24103
  output: {
24112
24104
  error: string;
24113
- code?: "invalid_input" | undefined;
24114
24105
  };
24115
24106
  outputFormat: "json";
24116
- status: 400;
24107
+ status: 404;
24117
24108
  input: {
24118
- param: {
24119
- id: string;
24109
+ json: {
24110
+ archived?: boolean | undefined;
24120
24111
  };
24121
24112
  } & {
24122
- json: {
24123
- pinned?: boolean | undefined;
24113
+ param: {
24114
+ id: string;
24124
24115
  };
24125
24116
  };
24126
- } | {
24117
+ };
24118
+ };
24119
+ } & {
24120
+ "/runs/:id/pin": {
24121
+ $post: {
24127
24122
  output: {
24128
24123
  error: string;
24124
+ code?: "invalid_input" | undefined;
24129
24125
  };
24130
24126
  outputFormat: "json";
24131
- status: 404;
24127
+ status: 400;
24132
24128
  input: {
24133
24129
  param: {
24134
24130
  id: string;
@@ -25224,6 +25220,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25224
25220
  archivedAt: string;
25225
25221
  fingerprint: string;
25226
25222
  pullRequests: {
25223
+ host?: string | undefined;
25227
25224
  owner: string;
25228
25225
  repo: string;
25229
25226
  number: number;
@@ -25317,6 +25314,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25317
25314
  pinned?: boolean | undefined;
25318
25315
  };
25319
25316
  };
25317
+ } | {
25318
+ output: {
25319
+ error: string;
25320
+ };
25321
+ outputFormat: "json";
25322
+ status: 404;
25323
+ input: {
25324
+ param: {
25325
+ id: string;
25326
+ };
25327
+ } & {
25328
+ json: {
25329
+ pinned?: boolean | undefined;
25330
+ };
25331
+ };
25320
25332
  };
25321
25333
  };
25322
25334
  } & {
@@ -25343,7 +25355,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25343
25355
  error: string;
25344
25356
  };
25345
25357
  outputFormat: "json";
25346
- status: 400;
25358
+ status: 404;
25347
25359
  input: {
25348
25360
  param: {
25349
25361
  id: string;
@@ -25359,7 +25371,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25359
25371
  error: string;
25360
25372
  };
25361
25373
  outputFormat: "json";
25362
- status: 404;
25374
+ status: 400;
25363
25375
  input: {
25364
25376
  param: {
25365
25377
  id: string;
@@ -26156,6 +26168,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
26156
26168
  archivedAt: string;
26157
26169
  fingerprint: string;
26158
26170
  pullRequests: {
26171
+ host?: string | undefined;
26159
26172
  owner: string;
26160
26173
  repo: string;
26161
26174
  number: number;
@@ -26581,17 +26594,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
26581
26594
  } & {
26582
26595
  "/runs/:id/read": {
26583
26596
  $post: {
26584
- output: {
26585
- error: string;
26586
- };
26587
- outputFormat: "json";
26588
- status: 404;
26589
- input: {
26590
- param: {
26591
- id: string;
26592
- };
26593
- };
26594
- } | {
26595
26597
  output: {
26596
26598
  archiveWhenDone?: boolean | undefined;
26597
26599
  autoMergePr?: boolean | undefined;
@@ -27677,6 +27679,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27677
27679
  archivedAt: string;
27678
27680
  fingerprint: string;
27679
27681
  pullRequests: {
27682
+ host?: string | undefined;
27680
27683
  owner: string;
27681
27684
  repo: string;
27682
27685
  number: number;
@@ -27766,11 +27769,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27766
27769
  id: string;
27767
27770
  };
27768
27771
  };
27769
- };
27770
- };
27771
- } & {
27772
- "/runs/:id/unread": {
27773
- $post: {
27772
+ } | {
27774
27773
  output: {
27775
27774
  error: string;
27776
27775
  };
@@ -27781,7 +27780,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27781
27780
  id: string;
27782
27781
  };
27783
27782
  };
27784
- } | {
27783
+ };
27784
+ };
27785
+ } & {
27786
+ "/runs/:id/unread": {
27787
+ $post: {
27785
27788
  output: {
27786
27789
  archiveWhenDone?: boolean | undefined;
27787
27790
  autoMergePr?: boolean | undefined;
@@ -28867,6 +28870,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28867
28870
  archivedAt: string;
28868
28871
  fingerprint: string;
28869
28872
  pullRequests: {
28873
+ host?: string | undefined;
28870
28874
  owner: string;
28871
28875
  repo: string;
28872
28876
  number: number;
@@ -28956,6 +28960,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28956
28960
  id: string;
28957
28961
  };
28958
28962
  };
28963
+ } | {
28964
+ output: {
28965
+ error: string;
28966
+ };
28967
+ outputFormat: "json";
28968
+ status: 404;
28969
+ input: {
28970
+ param: {
28971
+ id: string;
28972
+ };
28973
+ };
28959
28974
  };
28960
28975
  };
28961
28976
  } & {
@@ -29746,6 +29761,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29746
29761
  archivedAt: string;
29747
29762
  fingerprint: string;
29748
29763
  pullRequests: {
29764
+ host?: string | undefined;
29749
29765
  owner: string;
29750
29766
  repo: string;
29751
29767
  number: number;
@@ -30231,17 +30247,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
30231
30247
  } & {
30232
30248
  "/runs/:id": {
30233
30249
  $get: {
30234
- output: {
30235
- error: string;
30236
- };
30237
- outputFormat: "json";
30238
- status: 404;
30239
- input: {
30240
- param: {
30241
- id: string;
30242
- };
30243
- };
30244
- } | {
30245
30250
  output: {
30246
30251
  archiveWhenDone?: boolean | undefined;
30247
30252
  autoMergePr?: boolean | undefined;
@@ -31327,6 +31332,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31327
31332
  archivedAt: string;
31328
31333
  fingerprint: string;
31329
31334
  pullRequests: {
31335
+ host?: string | undefined;
31330
31336
  owner: string;
31331
31337
  repo: string;
31332
31338
  number: number;
@@ -31424,6 +31430,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31424
31430
  id: string;
31425
31431
  };
31426
31432
  };
31433
+ } | {
31434
+ output: {
31435
+ error: string;
31436
+ };
31437
+ outputFormat: "json";
31438
+ status: 404;
31439
+ input: {
31440
+ param: {
31441
+ id: string;
31442
+ };
31443
+ };
31427
31444
  };
31428
31445
  };
31429
31446
  } & {
@@ -31551,66 +31568,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31551
31568
  } & {
31552
31569
  "/runs/:id": {
31553
31570
  $patch: {
31554
- output: {
31555
- error: string;
31556
- };
31557
- outputFormat: "json";
31558
- status: 400;
31559
- input: {
31560
- json: {
31561
- archiveWhenDone?: boolean | undefined;
31562
- autoMergePr?: boolean | undefined;
31563
- allowWorkers?: boolean | undefined;
31564
- allowMessaging?: boolean | undefined;
31565
- title?: string | undefined;
31566
- task?: string | undefined;
31567
- };
31568
- } & {
31569
- param: {
31570
- id: string;
31571
- };
31572
- };
31573
- } | {
31574
- output: {
31575
- error: string;
31576
- };
31577
- outputFormat: "json";
31578
- status: 404;
31579
- input: {
31580
- json: {
31581
- archiveWhenDone?: boolean | undefined;
31582
- autoMergePr?: boolean | undefined;
31583
- allowWorkers?: boolean | undefined;
31584
- allowMessaging?: boolean | undefined;
31585
- title?: string | undefined;
31586
- task?: string | undefined;
31587
- };
31588
- } & {
31589
- param: {
31590
- id: string;
31591
- };
31592
- };
31593
- } | {
31594
- output: {
31595
- error: string;
31596
- };
31597
- outputFormat: "json";
31598
- status: 409;
31599
- input: {
31600
- json: {
31601
- archiveWhenDone?: boolean | undefined;
31602
- autoMergePr?: boolean | undefined;
31603
- allowWorkers?: boolean | undefined;
31604
- allowMessaging?: boolean | undefined;
31605
- title?: string | undefined;
31606
- task?: string | undefined;
31607
- };
31608
- } & {
31609
- param: {
31610
- id: string;
31611
- };
31612
- };
31613
- } | {
31614
31571
  output: {
31615
31572
  archiveWhenDone?: boolean | undefined;
31616
31573
  autoMergePr?: boolean | undefined;
@@ -32396,6 +32353,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32396
32353
  archivedAt: string;
32397
32354
  fingerprint: string;
32398
32355
  pullRequests: {
32356
+ host?: string | undefined;
32399
32357
  owner: string;
32400
32358
  repo: string;
32401
32359
  number: number;
@@ -32794,6 +32752,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32794
32752
  id: string;
32795
32753
  };
32796
32754
  };
32755
+ } | {
32756
+ output: {
32757
+ error: string;
32758
+ };
32759
+ outputFormat: "json";
32760
+ status: 404;
32761
+ input: {
32762
+ json: {
32763
+ archiveWhenDone?: boolean | undefined;
32764
+ autoMergePr?: boolean | undefined;
32765
+ allowWorkers?: boolean | undefined;
32766
+ allowMessaging?: boolean | undefined;
32767
+ title?: string | undefined;
32768
+ task?: string | undefined;
32769
+ };
32770
+ } & {
32771
+ param: {
32772
+ id: string;
32773
+ };
32774
+ };
32775
+ } | {
32776
+ output: {
32777
+ error: string;
32778
+ };
32779
+ outputFormat: "json";
32780
+ status: 400;
32781
+ input: {
32782
+ json: {
32783
+ archiveWhenDone?: boolean | undefined;
32784
+ autoMergePr?: boolean | undefined;
32785
+ allowWorkers?: boolean | undefined;
32786
+ allowMessaging?: boolean | undefined;
32787
+ title?: string | undefined;
32788
+ task?: string | undefined;
32789
+ };
32790
+ } & {
32791
+ param: {
32792
+ id: string;
32793
+ };
32794
+ };
32795
+ } | {
32796
+ output: {
32797
+ error: string;
32798
+ };
32799
+ outputFormat: "json";
32800
+ status: 409;
32801
+ input: {
32802
+ json: {
32803
+ archiveWhenDone?: boolean | undefined;
32804
+ autoMergePr?: boolean | undefined;
32805
+ allowWorkers?: boolean | undefined;
32806
+ allowMessaging?: boolean | undefined;
32807
+ title?: string | undefined;
32808
+ task?: string | undefined;
32809
+ };
32810
+ } & {
32811
+ param: {
32812
+ id: string;
32813
+ };
32814
+ };
32797
32815
  };
32798
32816
  };
32799
32817
  } & {
@@ -32898,7 +32916,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32898
32916
  error: string;
32899
32917
  };
32900
32918
  outputFormat: "json";
32901
- status: 400;
32919
+ status: 404;
32902
32920
  input: {
32903
32921
  json: {
32904
32922
  text?: string | undefined;
@@ -32917,7 +32935,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32917
32935
  error: string;
32918
32936
  };
32919
32937
  outputFormat: "json";
32920
- status: 404;
32938
+ status: 409;
32921
32939
  input: {
32922
32940
  json: {
32923
32941
  text?: string | undefined;
@@ -32933,10 +32951,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32933
32951
  };
32934
32952
  } | {
32935
32953
  output: {
32936
- error: string;
32954
+ delivered: true;
32937
32955
  };
32938
32956
  outputFormat: "json";
32939
- status: 409;
32957
+ status: import("hono/utils/http-status").ContentfulStatusCode;
32940
32958
  input: {
32941
32959
  json: {
32942
32960
  text?: string | undefined;
@@ -32952,10 +32970,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32952
32970
  };
32953
32971
  } | {
32954
32972
  output: {
32955
- delivered: true;
32973
+ error: string;
32956
32974
  };
32957
32975
  outputFormat: "json";
32958
- status: import("hono/utils/http-status").ContentfulStatusCode;
32976
+ status: 400;
32959
32977
  input: {
32960
32978
  json: {
32961
32979
  text?: string | undefined;
@@ -33023,7 +33041,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33023
33041
  error: string;
33024
33042
  };
33025
33043
  outputFormat: "json";
33026
- status: 400;
33044
+ status: 404;
33027
33045
  input: {
33028
33046
  json: {
33029
33047
  text?: string | undefined;
@@ -33044,7 +33062,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33044
33062
  error: string;
33045
33063
  };
33046
33064
  outputFormat: "json";
33047
- status: 404;
33065
+ status: 400;
33048
33066
  input: {
33049
33067
  json: {
33050
33068
  text?: string | undefined;
@@ -33263,6 +33281,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33263
33281
  } & {
33264
33282
  "/runs/:id/open-in-cli": {
33265
33283
  $post: {
33284
+ output: {
33285
+ error: string;
33286
+ };
33287
+ outputFormat: "json";
33288
+ status: 404 | 409;
33289
+ input: {
33290
+ param: {
33291
+ id: string;
33292
+ };
33293
+ };
33294
+ } | {
33266
33295
  output: {
33267
33296
  opened: true;
33268
33297
  command: string;
@@ -33274,6 +33303,123 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33274
33303
  id: string;
33275
33304
  };
33276
33305
  };
33306
+ };
33307
+ };
33308
+ } & {
33309
+ "/runs/:id/open-in": {
33310
+ $post: {
33311
+ output: {
33312
+ error: string;
33313
+ };
33314
+ outputFormat: "json";
33315
+ status: 404 | 409;
33316
+ input: {
33317
+ json: {
33318
+ target: string;
33319
+ path?: string | undefined;
33320
+ };
33321
+ } & {
33322
+ param: {
33323
+ id: string;
33324
+ };
33325
+ };
33326
+ } | {
33327
+ output: {
33328
+ error: string;
33329
+ };
33330
+ outputFormat: "json";
33331
+ status: 400;
33332
+ input: {
33333
+ json: {
33334
+ target: string;
33335
+ path?: string | undefined;
33336
+ };
33337
+ } & {
33338
+ param: {
33339
+ id: string;
33340
+ };
33341
+ };
33342
+ } | {
33343
+ output: {
33344
+ opened: true;
33345
+ path: string;
33346
+ };
33347
+ outputFormat: "json";
33348
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33349
+ input: {
33350
+ json: {
33351
+ target: string;
33352
+ path?: string | undefined;
33353
+ };
33354
+ } & {
33355
+ param: {
33356
+ id: string;
33357
+ };
33358
+ };
33359
+ };
33360
+ };
33361
+ } & {
33362
+ "/runs/:id/handoff": {
33363
+ $get: {
33364
+ output: string;
33365
+ outputFormat: "text";
33366
+ status: 200;
33367
+ input: {
33368
+ param: {
33369
+ id: string;
33370
+ };
33371
+ };
33372
+ } | {
33373
+ output: {
33374
+ error: string;
33375
+ };
33376
+ outputFormat: "json";
33377
+ status: 404;
33378
+ input: {
33379
+ param: {
33380
+ id: string;
33381
+ };
33382
+ };
33383
+ };
33384
+ };
33385
+ } & {
33386
+ "/runs/:id/images/:file": {
33387
+ $get: {
33388
+ output: {};
33389
+ outputFormat: string;
33390
+ status: import("hono/utils/http-status").StatusCode;
33391
+ input: {
33392
+ param: {
33393
+ id: string;
33394
+ file: string;
33395
+ };
33396
+ };
33397
+ } | {
33398
+ output: {
33399
+ error: string;
33400
+ code?: "invalid_input" | undefined;
33401
+ };
33402
+ outputFormat: "json";
33403
+ status: 400;
33404
+ input: {
33405
+ param: {
33406
+ id: string;
33407
+ file: string;
33408
+ };
33409
+ };
33410
+ };
33411
+ };
33412
+ } & {
33413
+ "/runs/:id/diff": {
33414
+ $get: {
33415
+ output: string;
33416
+ outputFormat: "text";
33417
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33418
+ input: {
33419
+ param: {
33420
+ id: string;
33421
+ };
33422
+ };
33277
33423
  } | {
33278
33424
  output: {
33279
33425
  error: string;
@@ -33288,121 +33434,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33288
33434
  };
33289
33435
  };
33290
33436
  } & {
33291
- "/runs/:id/open-in": {
33292
- $post: {
33293
- output: {
33294
- error: string;
33295
- };
33296
- outputFormat: "json";
33297
- status: 400;
33298
- input: {
33299
- json: {
33300
- target: string;
33301
- path?: string | undefined;
33302
- };
33303
- } & {
33304
- param: {
33305
- id: string;
33306
- };
33307
- };
33308
- } | {
33309
- output: {
33310
- opened: true;
33311
- path: string;
33312
- };
33313
- outputFormat: "json";
33314
- status: import("hono/utils/http-status").ContentfulStatusCode;
33315
- input: {
33316
- json: {
33317
- target: string;
33318
- path?: string | undefined;
33319
- };
33320
- } & {
33321
- param: {
33322
- id: string;
33323
- };
33324
- };
33325
- } | {
33326
- output: {
33327
- error: string;
33328
- };
33329
- outputFormat: "json";
33330
- status: 404 | 409;
33331
- input: {
33332
- json: {
33333
- target: string;
33334
- path?: string | undefined;
33335
- };
33336
- } & {
33337
- param: {
33338
- id: string;
33339
- };
33340
- };
33341
- };
33342
- };
33343
- } & {
33344
- "/runs/:id/handoff": {
33345
- $get: {
33346
- output: string;
33347
- outputFormat: "text";
33348
- status: 200;
33349
- input: {
33350
- param: {
33351
- id: string;
33352
- };
33353
- };
33354
- } | {
33355
- output: {
33356
- error: string;
33357
- };
33358
- outputFormat: "json";
33359
- status: 404;
33360
- input: {
33361
- param: {
33362
- id: string;
33363
- };
33364
- };
33365
- };
33366
- };
33367
- } & {
33368
- "/runs/:id/images/:file": {
33369
- $get: {
33370
- output: {
33371
- error: string;
33372
- code?: "invalid_input" | undefined;
33373
- };
33374
- outputFormat: "json";
33375
- status: 400;
33376
- input: {
33377
- param: {
33378
- id: string;
33379
- file: string;
33380
- };
33381
- };
33382
- } | {
33383
- output: {};
33384
- outputFormat: string;
33385
- status: import("hono/utils/http-status").StatusCode;
33386
- input: {
33387
- param: {
33388
- id: string;
33389
- file: string;
33390
- };
33391
- };
33392
- };
33393
- };
33394
- } & {
33395
- "/runs/:id/diff": {
33437
+ "/runs/:id/changes": {
33396
33438
  $get: {
33397
- output: string;
33398
- outputFormat: "text";
33399
- status: import("hono/utils/http-status").ContentfulStatusCode;
33400
- input: {
33401
- param: {
33402
- id: string;
33403
- };
33404
- };
33405
- } | {
33406
33439
  output: {
33407
33440
  error: string;
33408
33441
  };
@@ -33413,11 +33446,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33413
33446
  id: string;
33414
33447
  };
33415
33448
  };
33416
- };
33417
- };
33418
- } & {
33419
- "/runs/:id/changes": {
33420
- $get: {
33449
+ } | {
33421
33450
  output: {
33422
33451
  files: {
33423
33452
  path: string;
@@ -33446,7 +33475,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33446
33475
  id: string;
33447
33476
  };
33448
33477
  };
33449
- } | {
33478
+ };
33479
+ };
33480
+ } & {
33481
+ "/runs/:id/commits": {
33482
+ $get: {
33450
33483
  output: {
33451
33484
  error: string;
33452
33485
  };
@@ -33457,11 +33490,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33457
33490
  id: string;
33458
33491
  };
33459
33492
  };
33460
- };
33461
- };
33462
- } & {
33463
- "/runs/:id/commits": {
33464
- $get: {
33493
+ } | {
33465
33494
  output: {
33466
33495
  commits: {
33467
33496
  sha: string;
@@ -33477,7 +33506,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33477
33506
  id: string;
33478
33507
  };
33479
33508
  };
33480
- } | {
33509
+ };
33510
+ };
33511
+ } & {
33512
+ "/runs/:id/commit/:sha": {
33513
+ $get: {
33481
33514
  output: {
33482
33515
  error: string;
33483
33516
  };
@@ -33486,13 +33519,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33486
33519
  input: {
33487
33520
  param: {
33488
33521
  id: string;
33522
+ } & {
33523
+ sha: string;
33489
33524
  };
33490
33525
  };
33491
- };
33492
- };
33493
- } & {
33494
- "/runs/:id/commit/:sha": {
33495
- $get: {
33526
+ } | {
33496
33527
  output: {
33497
33528
  sha: string;
33498
33529
  subject: string;
@@ -33523,19 +33554,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33523
33554
  sha: string;
33524
33555
  };
33525
33556
  };
33526
- } | {
33527
- output: {
33528
- error: string;
33529
- };
33530
- outputFormat: "json";
33531
- status: 404 | 409;
33532
- input: {
33533
- param: {
33534
- id: string;
33535
- } & {
33536
- sha: string;
33537
- };
33538
- };
33539
33557
  };
33540
33558
  };
33541
33559
  } & {
@@ -33571,6 +33589,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33571
33589
  raw?: "1" | undefined;
33572
33590
  };
33573
33591
  };
33592
+ } | {
33593
+ output: {
33594
+ error: string;
33595
+ };
33596
+ outputFormat: "json";
33597
+ status: 404 | 409;
33598
+ input: {
33599
+ param: {
33600
+ id: string;
33601
+ };
33602
+ } & {
33603
+ query: {
33604
+ path: string | string[];
33605
+ raw?: "1" | undefined;
33606
+ };
33607
+ };
33574
33608
  } | {
33575
33609
  output: {
33576
33610
  type: "file";
@@ -33607,22 +33641,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33607
33641
  raw?: "1" | undefined;
33608
33642
  };
33609
33643
  };
33610
- } | {
33611
- output: {
33612
- error: string;
33613
- };
33614
- outputFormat: "json";
33615
- status: 404 | 409;
33616
- input: {
33617
- param: {
33618
- id: string;
33619
- };
33620
- } & {
33621
- query: {
33622
- path: string | string[];
33623
- raw?: "1" | undefined;
33624
- };
33625
- };
33626
33644
  };
33627
33645
  };
33628
33646
  } & {
@@ -33687,18 +33705,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33687
33705
  artifactId: string;
33688
33706
  };
33689
33707
  };
33690
- } | {
33691
- output: {
33692
- error: string;
33693
- };
33694
- outputFormat: "json";
33695
- status: 404;
33696
- input: {
33697
- param: {
33698
- id: string;
33699
- artifactId: string;
33700
- };
33701
- };
33702
33708
  } | {
33703
33709
  output: {
33704
33710
  type: "file";
@@ -33727,6 +33733,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33727
33733
  artifactId: string;
33728
33734
  };
33729
33735
  };
33736
+ } | {
33737
+ output: {
33738
+ error: string;
33739
+ };
33740
+ outputFormat: "json";
33741
+ status: 404;
33742
+ input: {
33743
+ param: {
33744
+ id: string;
33745
+ artifactId: string;
33746
+ };
33747
+ };
33730
33748
  };
33731
33749
  };
33732
33750
  } & {
@@ -33904,16 +33922,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33904
33922
  };
33905
33923
  } | {
33906
33924
  output: {
33907
- type: 'dir';
33908
- path: string;
33909
- entries: {
33910
- name: string;
33911
- type: 'dir' | 'file';
33912
- size?: number;
33913
- }[];
33925
+ error: string;
33914
33926
  };
33915
33927
  outputFormat: "json";
33916
- status: import("hono/utils/http-status").ContentfulStatusCode;
33928
+ status: 404 | 409;
33917
33929
  input: {
33918
33930
  query: {
33919
33931
  path?: string | undefined;
@@ -33926,12 +33938,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33926
33938
  };
33927
33939
  } | {
33928
33940
  output: {
33929
- type: 'file';
33941
+ type: 'dir';
33930
33942
  path: string;
33931
- size: number;
33932
- binary: boolean;
33933
- tooLarge: boolean;
33934
- content?: string | undefined;
33943
+ entries: {
33944
+ name: string;
33945
+ type: 'dir' | 'file';
33946
+ size?: number;
33947
+ }[];
33935
33948
  };
33936
33949
  outputFormat: "json";
33937
33950
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -33947,10 +33960,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33947
33960
  };
33948
33961
  } | {
33949
33962
  output: {
33950
- error: string;
33963
+ type: 'file';
33964
+ path: string;
33965
+ size: number;
33966
+ binary: boolean;
33967
+ tooLarge: boolean;
33968
+ content?: string | undefined;
33951
33969
  };
33952
33970
  outputFormat: "json";
33953
- status: 404 | 409;
33971
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33954
33972
  input: {
33955
33973
  query: {
33956
33974
  path?: string | undefined;
@@ -33967,11 +33985,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33967
33985
  "/runs/:id/git/commit": {
33968
33986
  $post: {
33969
33987
  output: {
33970
- committed: true;
33971
- sha: string;
33988
+ error: string;
33972
33989
  };
33973
33990
  outputFormat: "json";
33974
- status: import("hono/utils/http-status").ContentfulStatusCode;
33991
+ status: 404 | 409;
33975
33992
  input: {
33976
33993
  json: {
33977
33994
  message: string;
@@ -33983,10 +34000,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33983
34000
  };
33984
34001
  } | {
33985
34002
  output: {
33986
- error: string;
34003
+ committed: true;
34004
+ sha: string;
33987
34005
  };
33988
34006
  outputFormat: "json";
33989
- status: 404 | 409;
34007
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33990
34008
  input: {
33991
34009
  json: {
33992
34010
  message: string;
@@ -34002,13 +34020,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34002
34020
  "/runs/:id/git/push": {
34003
34021
  $post: {
34004
34022
  output: {
34005
- pushed: true;
34006
- branch: string;
34007
- remote: string;
34008
- upstreamSet: boolean;
34023
+ error: string;
34009
34024
  };
34010
34025
  outputFormat: "json";
34011
- status: import("hono/utils/http-status").ContentfulStatusCode;
34026
+ status: 404 | 409;
34012
34027
  input: {
34013
34028
  param: {
34014
34029
  id: string;
@@ -34016,10 +34031,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34016
34031
  };
34017
34032
  } | {
34018
34033
  output: {
34019
- error: string;
34034
+ pushed: true;
34035
+ branch: string;
34036
+ remote: string;
34037
+ upstreamSet: boolean;
34020
34038
  };
34021
34039
  outputFormat: "json";
34022
- status: 404 | 409;
34040
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34023
34041
  input: {
34024
34042
  param: {
34025
34043
  id: string;
@@ -34031,11 +34049,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34031
34049
  "/runs/:id/pr": {
34032
34050
  $post: {
34033
34051
  output: {
34034
- url: string;
34035
- dryRun: boolean;
34052
+ error: string;
34036
34053
  };
34037
34054
  outputFormat: "json";
34038
- status: 201;
34055
+ status: 404 | 409;
34039
34056
  input: {
34040
34057
  param: {
34041
34058
  id: string;
@@ -34043,10 +34060,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34043
34060
  };
34044
34061
  } | {
34045
34062
  output: {
34046
- error: string;
34063
+ url: string;
34064
+ dryRun: boolean;
34047
34065
  };
34048
34066
  outputFormat: "json";
34049
- status: 404 | 409;
34067
+ status: 201;
34050
34068
  input: {
34051
34069
  param: {
34052
34070
  id: string;
@@ -34058,10 +34076,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34058
34076
  "/runs/:id/remove-worktree": {
34059
34077
  $post: {
34060
34078
  output: {
34061
- removed: true;
34079
+ error: string;
34062
34080
  };
34063
34081
  outputFormat: "json";
34064
- status: import("hono/utils/http-status").ContentfulStatusCode;
34082
+ status: 404 | 409;
34065
34083
  input: {
34066
34084
  param: {
34067
34085
  id: string;
@@ -34069,10 +34087,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34069
34087
  };
34070
34088
  } | {
34071
34089
  output: {
34072
- error: string;
34090
+ removed: true;
34073
34091
  };
34074
34092
  outputFormat: "json";
34075
- status: 404 | 409;
34093
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34076
34094
  input: {
34077
34095
  param: {
34078
34096
  id: string;
@@ -34084,10 +34102,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34084
34102
  "/runs/:id": {
34085
34103
  $delete: {
34086
34104
  output: {
34087
- deleted: true;
34105
+ error: string;
34088
34106
  };
34089
34107
  outputFormat: "json";
34090
- status: import("hono/utils/http-status").ContentfulStatusCode;
34108
+ status: 404 | 409;
34091
34109
  input: {
34092
34110
  param: {
34093
34111
  id: string;
@@ -34095,10 +34113,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34095
34113
  };
34096
34114
  } | {
34097
34115
  output: {
34098
- error: string;
34116
+ deleted: true;
34099
34117
  };
34100
34118
  outputFormat: "json";
34101
- status: 404 | 409;
34119
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34102
34120
  input: {
34103
34121
  param: {
34104
34122
  id: string;