@hearsay-tools/squawk 0.19.0-dev.8839 → 0.19.0-dev.8843

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 (59) hide show
  1. package/dist/ci-wait/controller.d.ts +7 -7
  2. package/dist/server/activity-routes.d.ts +23 -23
  3. package/dist/server/repo-routes.d.ts +21 -21
  4. package/dist/server/server.d.ts +1230 -1230
  5. package/dist/server/workspace-routes.d.ts +84 -84
  6. package/package.json +4 -4
  7. package/web/dist/assets/{accounts-section-Bb5BYebY.js → accounts-section-D1dia-hG.js} +1 -1
  8. package/web/dist/assets/{activity-motion-CA5BGeJu.js → activity-motion-fPvKJxvA.js} +1 -1
  9. package/web/dist/assets/{activity-route-DD4PBjfn.js → activity-route-CB5nog2G.js} +1 -1
  10. package/web/dist/assets/{agent-config-section-95nZ2oyM.js → agent-config-section-D0_Hh9sa.js} +1 -1
  11. package/web/dist/assets/{agent-defaults-section-DEN23fw4.js → agent-defaults-section-Da8_EROm.js} +1 -1
  12. package/web/dist/assets/{appearance-B1Iykzeh.js → appearance-D6Jy-FOI.js} +1 -1
  13. package/web/dist/assets/{automations-route-AUvP1Ssm.js → automations-route-CctTxl3u.js} +1 -1
  14. package/web/dist/assets/{commit-list-DDiXRZp-.js → commit-list-FImAZR2z.js} +1 -1
  15. package/web/dist/assets/{diff-BCDjpdWy.js → diff-DqOJaV4a.js} +2 -2
  16. package/web/dist/assets/{diff-controls-e4A8aqiA.js → diff-controls-DzbvRI1Q.js} +1 -1
  17. package/web/dist/assets/{diff-view-ChmtoShm.js → diff-view-D8TGCcR9.js} +1 -1
  18. package/web/dist/assets/{file-preview-B70cmj6I.js → file-preview-B4UtCBRw.js} +1 -1
  19. package/web/dist/assets/{git-toolbar-DjXTgNSk.js → git-toolbar-Dun1QqPH.js} +1 -1
  20. package/web/dist/assets/{github-gvOaefmM.js → github-BN-W-GO8.js} +1 -1
  21. package/web/dist/assets/{global-activity-route-CyXDQDJJ.js → global-activity-route--JbzbeqH.js} +1 -1
  22. package/web/dist/assets/index-DEWnkuj6.js +21 -0
  23. package/web/dist/assets/index-DOVwFCfP.css +1 -0
  24. package/web/dist/assets/{markdown-0A4VVYvY.js → markdown-DOEDwgDr.js} +1 -1
  25. package/web/dist/assets/{notifications-section-DDL2APZA.js → notifications-section-WK58Ps4V.js} +1 -1
  26. package/web/dist/assets/{preview-pane-connected-C-SuSKu7.js → preview-pane-connected-BWcpAxTc.js} +1 -1
  27. package/web/dist/assets/{projects-section-CZcR4qW7.js → projects-section-DOMgdG7r.js} +1 -1
  28. package/web/dist/assets/{prompt-templates-section-BbzMKGio.js → prompt-templates-section-DQK4c-Yk.js} +1 -1
  29. package/web/dist/assets/{reference-chip-CV_vG2eP.js → reference-chip-DXFYkdLT.js} +1 -1
  30. package/web/dist/assets/{remote-settings-notice-B6hTxIYs.js → remote-settings-notice-B8a6aNBw.js} +1 -1
  31. package/web/dist/assets/{repo-git-Cmjvi7od.js → repo-git-CL-s-Ml4.js} +1 -1
  32. package/web/dist/assets/{report-reader-DF5GJ0Oy.js → report-reader-CYzRGRF-.js} +1 -1
  33. package/web/dist/assets/{reports-UKabUE0O.js → reports-BF3eEnvh.js} +1 -1
  34. package/web/dist/assets/{resources-section-C78q0b21.js → resources-section-Bvw0anG8.js} +1 -1
  35. package/web/dist/assets/{review-panel-Bp-R8WNC.js → review-panel-DJivUXQc.js} +1 -1
  36. package/web/dist/assets/{run-header-BdTKi8uh.js → run-header-B1lhW0fF.js} +2 -2
  37. package/web/dist/assets/{select-XO8RqFp0.js → select-ttlXTWN-.js} +1 -1
  38. package/web/dist/assets/{session-context-section-DrMvcM5c.js → session-context-section-DhNuv3zS.js} +1 -1
  39. package/web/dist/assets/{settings-agent-picker-BwpdE0xN.js → settings-agent-picker-B-a6cPMj.js} +1 -1
  40. package/web/dist/assets/{settings-shell-DJnHvj8U.js → settings-shell-kDDr8_Jd.js} +1 -1
  41. package/web/dist/assets/{sidebar-section-yArRGW70.js → sidebar-section-BP2FtFmc.js} +1 -1
  42. package/web/dist/assets/{skills-BkWTRxwo.js → skills-CWozz5P0.js} +1 -1
  43. package/web/dist/assets/{task-changes-CrAzob8D.js → task-changes-CQEaFA9P.js} +1 -1
  44. package/web/dist/assets/{task-commits-DPoXXQps.js → task-commits-BHYH-E_r.js} +1 -1
  45. package/web/dist/assets/{task-file-scope-CacffK2K.js → task-file-scope-CgfssVeu.js} +1 -1
  46. package/web/dist/assets/{task-files-DgY-RwOe.js → task-files-CD4LqOtt.js} +1 -1
  47. package/web/dist/assets/task-github-item-BBwSUB9p.js +1 -0
  48. package/web/dist/assets/{task-thread-HnpjNSqn.js → task-thread-BPS4pya8.js} +2 -2
  49. package/web/dist/assets/tasks-table-B9Hu3rBi.js +1 -0
  50. package/web/dist/assets/{thread-state-CS4XvjJ-.js → thread-state-22G0OlcH.js} +1 -1
  51. package/web/dist/assets/{use-hand-to-agent-state-Bl0ROgTv.js → use-hand-to-agent-state-BdkYBCvG.js} +1 -1
  52. package/web/dist/assets/{workflows-C9WB0sEl.js → workflows-C9gvUvUy.js} +1 -1
  53. package/web/dist/assets/{workspace-tools-BBBmc9hT.js → workspace-tools-Cg0RKomm.js} +1 -1
  54. package/web/dist/assets/{worktrees-section-BpgeQfSs.js → worktrees-section-DHiLUz-l.js} +1 -1
  55. package/web/dist/index.html +4 -4
  56. package/web/dist/assets/index-01bdo9g3.js +0 -21
  57. package/web/dist/assets/index-Dnupmo-Y.css +0 -1
  58. package/web/dist/assets/task-github-item-CwnXC2qm.js +0 -1
  59. package/web/dist/assets/tasks-table-BY5niMlY.js +0 -1
@@ -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;
@@ -1282,21 +1282,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1282
1282
  enabled: boolean;
1283
1283
  };
1284
1284
  };
1285
- } | {
1286
- output: {
1287
- error: string;
1288
- };
1289
- outputFormat: "json";
1290
- status: 500;
1291
- input: {
1292
- param: {
1293
- provider: string;
1294
- };
1295
- } & {
1296
- json: {
1297
- enabled: boolean;
1298
- };
1299
- };
1300
1285
  } | {
1301
1286
  output: {
1302
1287
  providers: {
@@ -1320,32 +1305,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1320
1305
  enabled: boolean;
1321
1306
  };
1322
1307
  };
1323
- };
1324
- };
1325
- } & {
1326
- "/providers/:provider/retry": {
1327
- $post: {
1308
+ } | {
1328
1309
  output: {
1329
1310
  error: string;
1330
- code?: "invalid_input" | undefined;
1331
1311
  };
1332
1312
  outputFormat: "json";
1333
- status: 400;
1313
+ status: 500;
1334
1314
  input: {
1335
1315
  param: {
1336
1316
  provider: string;
1337
1317
  };
1338
1318
  } & {
1339
1319
  json: {
1340
- authFailureId: string;
1320
+ enabled: boolean;
1341
1321
  };
1342
1322
  };
1343
- } | {
1323
+ };
1324
+ };
1325
+ } & {
1326
+ "/providers/:provider/retry": {
1327
+ $post: {
1344
1328
  output: {
1345
1329
  error: string;
1330
+ code?: "invalid_input" | undefined;
1346
1331
  };
1347
1332
  outputFormat: "json";
1348
- status: 409;
1333
+ status: 400;
1349
1334
  input: {
1350
1335
  param: {
1351
1336
  provider: string;
@@ -1378,6 +1363,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1378
1363
  authFailureId: string;
1379
1364
  };
1380
1365
  };
1366
+ } | {
1367
+ output: {
1368
+ error: string;
1369
+ };
1370
+ outputFormat: "json";
1371
+ status: 409;
1372
+ input: {
1373
+ param: {
1374
+ provider: string;
1375
+ };
1376
+ } & {
1377
+ json: {
1378
+ authFailureId: string;
1379
+ };
1380
+ };
1381
1381
  };
1382
1382
  };
1383
1383
  } & {
@@ -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[];
@@ -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;
@@ -6824,18 +6824,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6824
6824
  } & {
6825
6825
  "/run-summaries": {
6826
6826
  $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
6827
  output: {
6840
6828
  id: string;
6841
6829
  title: string;
@@ -6973,6 +6961,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6973
6961
  archived?: "all" | "recent" | undefined;
6974
6962
  };
6975
6963
  };
6964
+ } | {
6965
+ output: {
6966
+ error: string;
6967
+ code?: "invalid_input" | undefined;
6968
+ };
6969
+ outputFormat: "json";
6970
+ status: 400;
6971
+ input: {
6972
+ query: {
6973
+ archived?: "all" | "recent" | undefined;
6974
+ };
6975
+ };
6976
6976
  };
6977
6977
  };
6978
6978
  } & {
@@ -7334,24 +7334,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7334
7334
  "/runs/:id/worker-destroy": {
7335
7335
  $post: {
7336
7336
  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;
7337
+ error: string;
7338
+ code?: "invalid_input" | undefined;
7352
7339
  };
7353
7340
  outputFormat: "json";
7354
- status: 200;
7341
+ status: 400;
7355
7342
  input: {
7356
7343
  query: {
7357
7344
  [x: string]: string | string[];
@@ -7367,11 +7354,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7367
7354
  };
7368
7355
  } | {
7369
7356
  output: {
7370
- error: string;
7371
- code?: "invalid_input" | undefined;
7357
+ workerId: string;
7358
+ state: "complete" | "incomplete";
7359
+ work?: {
7360
+ uncommittedFiles: number;
7361
+ commits: number;
7362
+ } | undefined;
7363
+ deleted?: ({
7364
+ kind: "worktree";
7365
+ path: string;
7366
+ } | {
7367
+ kind: "branch";
7368
+ ref: string;
7369
+ })[] | undefined;
7370
+ remaining: ("branch" | "process" | "worktree")[];
7371
+ error?: string | undefined;
7372
7372
  };
7373
7373
  outputFormat: "json";
7374
- status: 400;
7374
+ status: 200;
7375
7375
  input: {
7376
7376
  query: {
7377
7377
  [x: string]: string | string[];
@@ -7487,21 +7487,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7487
7487
  } & {
7488
7488
  "/runs/:id/archive": {
7489
7489
  $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
7490
  output: {
7506
7491
  archiveWhenDone?: boolean | undefined;
7507
7492
  autoMergePr?: boolean | undefined;
@@ -8680,32 +8665,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8680
8665
  id: string;
8681
8666
  };
8682
8667
  };
8683
- };
8684
- };
8685
- } & {
8686
- "/runs/:id/pin": {
8687
- $post: {
8668
+ } | {
8688
8669
  output: {
8689
8670
  error: string;
8690
- code?: "invalid_input" | undefined;
8691
8671
  };
8692
8672
  outputFormat: "json";
8693
- status: 400;
8673
+ status: 404;
8694
8674
  input: {
8695
- param: {
8696
- id: string;
8675
+ json: {
8676
+ archived?: boolean | undefined;
8697
8677
  };
8698
8678
  } & {
8699
- json: {
8700
- pinned?: boolean | undefined;
8679
+ param: {
8680
+ id: string;
8701
8681
  };
8702
8682
  };
8703
- } | {
8683
+ };
8684
+ };
8685
+ } & {
8686
+ "/runs/:id/pin": {
8687
+ $post: {
8704
8688
  output: {
8705
8689
  error: string;
8690
+ code?: "invalid_input" | undefined;
8706
8691
  };
8707
8692
  outputFormat: "json";
8708
- status: 404;
8693
+ status: 400;
8709
8694
  input: {
8710
8695
  param: {
8711
8696
  id: string;
@@ -9894,6 +9879,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9894
9879
  pinned?: boolean | undefined;
9895
9880
  };
9896
9881
  };
9882
+ } | {
9883
+ output: {
9884
+ error: string;
9885
+ };
9886
+ outputFormat: "json";
9887
+ status: 404;
9888
+ input: {
9889
+ param: {
9890
+ id: string;
9891
+ };
9892
+ } & {
9893
+ json: {
9894
+ pinned?: boolean | undefined;
9895
+ };
9896
+ };
9897
9897
  };
9898
9898
  };
9899
9899
  } & {
@@ -9920,7 +9920,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9920
9920
  error: string;
9921
9921
  };
9922
9922
  outputFormat: "json";
9923
- status: 400;
9923
+ status: 404;
9924
9924
  input: {
9925
9925
  param: {
9926
9926
  id: string;
@@ -9936,7 +9936,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9936
9936
  error: string;
9937
9937
  };
9938
9938
  outputFormat: "json";
9939
- status: 404;
9939
+ status: 400;
9940
9940
  input: {
9941
9941
  param: {
9942
9942
  id: string;
@@ -11158,17 +11158,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11158
11158
  } & {
11159
11159
  "/runs/:id/read": {
11160
11160
  $post: {
11161
- output: {
11162
- error: string;
11163
- };
11164
- outputFormat: "json";
11165
- status: 404;
11166
- input: {
11167
- param: {
11168
- id: string;
11169
- };
11170
- };
11171
- } | {
11172
11161
  output: {
11173
11162
  archiveWhenDone?: boolean | undefined;
11174
11163
  autoMergePr?: boolean | undefined;
@@ -12343,11 +12332,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12343
12332
  id: string;
12344
12333
  };
12345
12334
  };
12346
- };
12347
- };
12348
- } & {
12349
- "/runs/:id/unread": {
12350
- $post: {
12335
+ } | {
12351
12336
  output: {
12352
12337
  error: string;
12353
12338
  };
@@ -12358,7 +12343,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12358
12343
  id: string;
12359
12344
  };
12360
12345
  };
12361
- } | {
12346
+ };
12347
+ };
12348
+ } & {
12349
+ "/runs/:id/unread": {
12350
+ $post: {
12362
12351
  output: {
12363
12352
  archiveWhenDone?: boolean | undefined;
12364
12353
  autoMergePr?: boolean | undefined;
@@ -13533,6 +13522,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13533
13522
  id: string;
13534
13523
  };
13535
13524
  };
13525
+ } | {
13526
+ output: {
13527
+ error: string;
13528
+ };
13529
+ outputFormat: "json";
13530
+ status: 404;
13531
+ input: {
13532
+ param: {
13533
+ id: string;
13534
+ };
13535
+ };
13536
13536
  };
13537
13537
  };
13538
13538
  } & {
@@ -14808,17 +14808,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14808
14808
  } & {
14809
14809
  "/runs/:id": {
14810
14810
  $get: {
14811
- output: {
14812
- error: string;
14813
- };
14814
- outputFormat: "json";
14815
- status: 404;
14816
- input: {
14817
- param: {
14818
- id: string;
14819
- };
14820
- };
14821
- } | {
14822
14811
  output: {
14823
14812
  archiveWhenDone?: boolean | undefined;
14824
14813
  autoMergePr?: boolean | undefined;
@@ -16001,6 +15990,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16001
15990
  id: string;
16002
15991
  };
16003
15992
  };
15993
+ } | {
15994
+ output: {
15995
+ error: string;
15996
+ };
15997
+ outputFormat: "json";
15998
+ status: 404;
15999
+ input: {
16000
+ param: {
16001
+ id: string;
16002
+ };
16003
+ };
16004
16004
  };
16005
16005
  };
16006
16006
  } & {
@@ -16128,66 +16128,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16128
16128
  } & {
16129
16129
  "/runs/:id": {
16130
16130
  $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
16131
  output: {
16192
16132
  archiveWhenDone?: boolean | undefined;
16193
16133
  autoMergePr?: boolean | undefined;
@@ -17371,6 +17311,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17371
17311
  id: string;
17372
17312
  };
17373
17313
  };
17314
+ } | {
17315
+ output: {
17316
+ error: string;
17317
+ };
17318
+ outputFormat: "json";
17319
+ status: 404;
17320
+ input: {
17321
+ json: {
17322
+ archiveWhenDone?: boolean | undefined;
17323
+ autoMergePr?: boolean | undefined;
17324
+ allowWorkers?: boolean | undefined;
17325
+ allowMessaging?: boolean | undefined;
17326
+ title?: string | undefined;
17327
+ task?: string | undefined;
17328
+ };
17329
+ } & {
17330
+ param: {
17331
+ id: string;
17332
+ };
17333
+ };
17334
+ } | {
17335
+ output: {
17336
+ error: string;
17337
+ };
17338
+ outputFormat: "json";
17339
+ status: 400;
17340
+ input: {
17341
+ json: {
17342
+ archiveWhenDone?: boolean | undefined;
17343
+ autoMergePr?: boolean | undefined;
17344
+ allowWorkers?: boolean | undefined;
17345
+ allowMessaging?: boolean | undefined;
17346
+ title?: string | undefined;
17347
+ task?: string | undefined;
17348
+ };
17349
+ } & {
17350
+ param: {
17351
+ id: string;
17352
+ };
17353
+ };
17354
+ } | {
17355
+ output: {
17356
+ error: string;
17357
+ };
17358
+ outputFormat: "json";
17359
+ status: 409;
17360
+ input: {
17361
+ json: {
17362
+ archiveWhenDone?: boolean | undefined;
17363
+ autoMergePr?: boolean | undefined;
17364
+ allowWorkers?: boolean | undefined;
17365
+ allowMessaging?: boolean | undefined;
17366
+ title?: string | undefined;
17367
+ task?: string | undefined;
17368
+ };
17369
+ } & {
17370
+ param: {
17371
+ id: string;
17372
+ };
17373
+ };
17374
17374
  };
17375
17375
  };
17376
17376
  } & {
@@ -17475,7 +17475,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17475
17475
  error: string;
17476
17476
  };
17477
17477
  outputFormat: "json";
17478
- status: 400;
17478
+ status: 404;
17479
17479
  input: {
17480
17480
  json: {
17481
17481
  text?: string | undefined;
@@ -17494,7 +17494,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17494
17494
  error: string;
17495
17495
  };
17496
17496
  outputFormat: "json";
17497
- status: 404;
17497
+ status: 409;
17498
17498
  input: {
17499
17499
  json: {
17500
17500
  text?: string | undefined;
@@ -17510,10 +17510,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17510
17510
  };
17511
17511
  } | {
17512
17512
  output: {
17513
- error: string;
17513
+ delivered: true;
17514
17514
  };
17515
17515
  outputFormat: "json";
17516
- status: 409;
17516
+ status: import("hono/utils/http-status").ContentfulStatusCode;
17517
17517
  input: {
17518
17518
  json: {
17519
17519
  text?: string | undefined;
@@ -17529,10 +17529,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17529
17529
  };
17530
17530
  } | {
17531
17531
  output: {
17532
- delivered: true;
17532
+ error: string;
17533
17533
  };
17534
17534
  outputFormat: "json";
17535
- status: import("hono/utils/http-status").ContentfulStatusCode;
17535
+ status: 400;
17536
17536
  input: {
17537
17537
  json: {
17538
17538
  text?: string | undefined;
@@ -17600,7 +17600,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17600
17600
  error: string;
17601
17601
  };
17602
17602
  outputFormat: "json";
17603
- status: 400;
17603
+ status: 404;
17604
17604
  input: {
17605
17605
  json: {
17606
17606
  text?: string | undefined;
@@ -17621,7 +17621,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17621
17621
  error: string;
17622
17622
  };
17623
17623
  outputFormat: "json";
17624
- status: 404;
17624
+ status: 400;
17625
17625
  input: {
17626
17626
  json: {
17627
17627
  text?: string | undefined;
@@ -17841,11 +17841,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17841
17841
  "/runs/:id/open-in-cli": {
17842
17842
  $post: {
17843
17843
  output: {
17844
- opened: true;
17845
- command: string;
17844
+ error: string;
17846
17845
  };
17847
17846
  outputFormat: "json";
17848
- status: import("hono/utils/http-status").ContentfulStatusCode;
17847
+ status: 404 | 409;
17849
17848
  input: {
17850
17849
  param: {
17851
17850
  id: string;
@@ -17853,10 +17852,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17853
17852
  };
17854
17853
  } | {
17855
17854
  output: {
17856
- error: string;
17855
+ opened: true;
17856
+ command: string;
17857
17857
  };
17858
17858
  outputFormat: "json";
17859
- status: 404 | 409;
17859
+ status: import("hono/utils/http-status").ContentfulStatusCode;
17860
17860
  input: {
17861
17861
  param: {
17862
17862
  id: string;
@@ -17867,6 +17867,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17867
17867
  } & {
17868
17868
  "/runs/:id/open-in": {
17869
17869
  $post: {
17870
+ output: {
17871
+ error: string;
17872
+ };
17873
+ outputFormat: "json";
17874
+ status: 404 | 409;
17875
+ input: {
17876
+ json: {
17877
+ target: string;
17878
+ path?: string | undefined;
17879
+ };
17880
+ } & {
17881
+ param: {
17882
+ id: string;
17883
+ };
17884
+ };
17885
+ } | {
17870
17886
  output: {
17871
17887
  error: string;
17872
17888
  };
@@ -17899,18 +17915,26 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17899
17915
  id: string;
17900
17916
  };
17901
17917
  };
17902
- } | {
17918
+ };
17919
+ };
17920
+ } & {
17921
+ "/runs/:id/handoff": {
17922
+ $get: {
17903
17923
  output: {
17904
17924
  error: string;
17905
17925
  };
17906
17926
  outputFormat: "json";
17907
- status: 404 | 409;
17927
+ status: 404;
17908
17928
  input: {
17909
- json: {
17910
- target: string;
17911
- path?: string | undefined;
17929
+ param: {
17930
+ id: string;
17912
17931
  };
17913
- } & {
17932
+ };
17933
+ } | {
17934
+ output: string;
17935
+ outputFormat: "text";
17936
+ status: 200;
17937
+ input: {
17914
17938
  param: {
17915
17939
  id: string;
17916
17940
  };
@@ -17918,68 +17942,59 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17918
17942
  };
17919
17943
  };
17920
17944
  } & {
17921
- "/runs/:id/handoff": {
17945
+ "/runs/:id/images/:file": {
17922
17946
  $get: {
17923
- output: string;
17924
- outputFormat: "text";
17925
- status: 200;
17947
+ output: {};
17948
+ outputFormat: string;
17949
+ status: import("hono/utils/http-status").StatusCode;
17926
17950
  input: {
17927
17951
  param: {
17928
17952
  id: string;
17953
+ file: string;
17929
17954
  };
17930
17955
  };
17931
17956
  } | {
17932
17957
  output: {
17933
17958
  error: string;
17959
+ code?: "invalid_input" | undefined;
17934
17960
  };
17935
17961
  outputFormat: "json";
17936
- status: 404;
17962
+ status: 400;
17937
17963
  input: {
17938
17964
  param: {
17939
17965
  id: string;
17966
+ file: string;
17940
17967
  };
17941
17968
  };
17942
17969
  };
17943
17970
  };
17944
17971
  } & {
17945
- "/runs/:id/images/:file": {
17972
+ "/runs/:id/diff": {
17946
17973
  $get: {
17947
17974
  output: {
17948
17975
  error: string;
17949
- code?: "invalid_input" | undefined;
17950
17976
  };
17951
17977
  outputFormat: "json";
17952
- status: 400;
17978
+ status: 404 | 409;
17953
17979
  input: {
17954
17980
  param: {
17955
17981
  id: string;
17956
- file: string;
17957
17982
  };
17958
17983
  };
17959
17984
  } | {
17960
- output: {};
17961
- outputFormat: string;
17962
- status: import("hono/utils/http-status").StatusCode;
17985
+ output: string;
17986
+ outputFormat: "text";
17987
+ status: import("hono/utils/http-status").ContentfulStatusCode;
17963
17988
  input: {
17964
17989
  param: {
17965
17990
  id: string;
17966
- file: string;
17967
17991
  };
17968
17992
  };
17969
17993
  };
17970
17994
  };
17971
17995
  } & {
17972
- "/runs/:id/diff": {
17996
+ "/runs/:id/changes": {
17973
17997
  $get: {
17974
- output: string;
17975
- outputFormat: "text";
17976
- status: import("hono/utils/http-status").ContentfulStatusCode;
17977
- input: {
17978
- param: {
17979
- id: string;
17980
- };
17981
- };
17982
- } | {
17983
17998
  output: {
17984
17999
  error: string;
17985
18000
  };
@@ -17990,11 +18005,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17990
18005
  id: string;
17991
18006
  };
17992
18007
  };
17993
- };
17994
- };
17995
- } & {
17996
- "/runs/:id/changes": {
17997
- $get: {
18008
+ } | {
17998
18009
  output: {
17999
18010
  files: {
18000
18011
  path: string;
@@ -18023,7 +18034,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18023
18034
  id: string;
18024
18035
  };
18025
18036
  };
18026
- } | {
18037
+ };
18038
+ };
18039
+ } & {
18040
+ "/runs/:id/commits": {
18041
+ $get: {
18027
18042
  output: {
18028
18043
  error: string;
18029
18044
  };
@@ -18034,11 +18049,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18034
18049
  id: string;
18035
18050
  };
18036
18051
  };
18037
- };
18038
- };
18039
- } & {
18040
- "/runs/:id/commits": {
18041
- $get: {
18052
+ } | {
18042
18053
  output: {
18043
18054
  commits: {
18044
18055
  sha: string;
@@ -18054,7 +18065,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18054
18065
  id: string;
18055
18066
  };
18056
18067
  };
18057
- } | {
18068
+ };
18069
+ };
18070
+ } & {
18071
+ "/runs/:id/commit/:sha": {
18072
+ $get: {
18058
18073
  output: {
18059
18074
  error: string;
18060
18075
  };
@@ -18062,14 +18077,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18062
18077
  status: 404 | 409;
18063
18078
  input: {
18064
18079
  param: {
18080
+ sha: string;
18081
+ } & {
18065
18082
  id: string;
18066
18083
  };
18067
18084
  };
18068
- };
18069
- };
18070
- } & {
18071
- "/runs/:id/commit/:sha": {
18072
- $get: {
18085
+ } | {
18073
18086
  output: {
18074
18087
  sha: string;
18075
18088
  subject: string;
@@ -18095,22 +18108,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18095
18108
  status: import("hono/utils/http-status").ContentfulStatusCode;
18096
18109
  input: {
18097
18110
  param: {
18098
- id: string;
18099
- } & {
18100
18111
  sha: string;
18101
- };
18102
- };
18103
- } | {
18104
- output: {
18105
- error: string;
18106
- };
18107
- outputFormat: "json";
18108
- status: 404 | 409;
18109
- input: {
18110
- param: {
18111
- id: string;
18112
18112
  } & {
18113
- sha: string;
18113
+ id: string;
18114
18114
  };
18115
18115
  };
18116
18116
  };
@@ -18148,6 +18148,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18148
18148
  raw?: "1" | undefined;
18149
18149
  };
18150
18150
  };
18151
+ } | {
18152
+ output: {
18153
+ error: string;
18154
+ };
18155
+ outputFormat: "json";
18156
+ status: 404 | 409;
18157
+ input: {
18158
+ param: {
18159
+ id: string;
18160
+ };
18161
+ } & {
18162
+ query: {
18163
+ path: string | string[];
18164
+ raw?: "1" | undefined;
18165
+ };
18166
+ };
18151
18167
  } | {
18152
18168
  output: {
18153
18169
  type: "file";
@@ -18184,22 +18200,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18184
18200
  raw?: "1" | undefined;
18185
18201
  };
18186
18202
  };
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
18203
  };
18204
18204
  };
18205
18205
  } & {
@@ -18264,18 +18264,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18264
18264
  artifactId: string;
18265
18265
  };
18266
18266
  };
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
18267
  } | {
18280
18268
  output: {
18281
18269
  type: "file";
@@ -18304,6 +18292,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18304
18292
  artifactId: string;
18305
18293
  };
18306
18294
  };
18295
+ } | {
18296
+ output: {
18297
+ error: string;
18298
+ };
18299
+ outputFormat: "json";
18300
+ status: 404;
18301
+ input: {
18302
+ param: {
18303
+ id: string;
18304
+ artifactId: string;
18305
+ };
18306
+ };
18307
18307
  };
18308
18308
  };
18309
18309
  } & {
@@ -18481,16 +18481,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18481
18481
  };
18482
18482
  } | {
18483
18483
  output: {
18484
- type: 'dir';
18485
- path: string;
18486
- entries: {
18487
- name: string;
18488
- type: 'dir' | 'file';
18489
- size?: number;
18490
- }[];
18484
+ error: string;
18491
18485
  };
18492
18486
  outputFormat: "json";
18493
- status: import("hono/utils/http-status").ContentfulStatusCode;
18487
+ status: 404 | 409;
18494
18488
  input: {
18495
18489
  query: {
18496
18490
  path?: string | undefined;
@@ -18503,12 +18497,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18503
18497
  };
18504
18498
  } | {
18505
18499
  output: {
18506
- type: 'file';
18500
+ type: 'dir';
18507
18501
  path: string;
18508
- size: number;
18509
- binary: boolean;
18510
- tooLarge: boolean;
18511
- content?: string | undefined;
18502
+ entries: {
18503
+ name: string;
18504
+ type: 'dir' | 'file';
18505
+ size?: number;
18506
+ }[];
18512
18507
  };
18513
18508
  outputFormat: "json";
18514
18509
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -18524,10 +18519,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18524
18519
  };
18525
18520
  } | {
18526
18521
  output: {
18527
- error: string;
18522
+ type: 'file';
18523
+ path: string;
18524
+ size: number;
18525
+ binary: boolean;
18526
+ tooLarge: boolean;
18527
+ content?: string | undefined;
18528
18528
  };
18529
18529
  outputFormat: "json";
18530
- status: 404 | 409;
18530
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18531
18531
  input: {
18532
18532
  query: {
18533
18533
  path?: string | undefined;
@@ -18544,11 +18544,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18544
18544
  "/runs/:id/git/commit": {
18545
18545
  $post: {
18546
18546
  output: {
18547
- committed: true;
18548
- sha: string;
18547
+ error: string;
18549
18548
  };
18550
18549
  outputFormat: "json";
18551
- status: import("hono/utils/http-status").ContentfulStatusCode;
18550
+ status: 404 | 409;
18552
18551
  input: {
18553
18552
  json: {
18554
18553
  message: string;
@@ -18560,10 +18559,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18560
18559
  };
18561
18560
  } | {
18562
18561
  output: {
18563
- error: string;
18562
+ committed: true;
18563
+ sha: string;
18564
18564
  };
18565
18565
  outputFormat: "json";
18566
- status: 404 | 409;
18566
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18567
18567
  input: {
18568
18568
  json: {
18569
18569
  message: string;
@@ -18579,13 +18579,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18579
18579
  "/runs/:id/git/push": {
18580
18580
  $post: {
18581
18581
  output: {
18582
- pushed: true;
18583
- branch: string;
18584
- remote: string;
18585
- upstreamSet: boolean;
18582
+ error: string;
18586
18583
  };
18587
18584
  outputFormat: "json";
18588
- status: import("hono/utils/http-status").ContentfulStatusCode;
18585
+ status: 404 | 409;
18589
18586
  input: {
18590
18587
  param: {
18591
18588
  id: string;
@@ -18593,10 +18590,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18593
18590
  };
18594
18591
  } | {
18595
18592
  output: {
18596
- error: string;
18593
+ pushed: true;
18594
+ branch: string;
18595
+ remote: string;
18596
+ upstreamSet: boolean;
18597
18597
  };
18598
18598
  outputFormat: "json";
18599
- status: 404 | 409;
18599
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18600
18600
  input: {
18601
18601
  param: {
18602
18602
  id: string;
@@ -18608,11 +18608,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18608
18608
  "/runs/:id/pr": {
18609
18609
  $post: {
18610
18610
  output: {
18611
- url: string;
18612
- dryRun: boolean;
18611
+ error: string;
18613
18612
  };
18614
18613
  outputFormat: "json";
18615
- status: 201;
18614
+ status: 404 | 409;
18616
18615
  input: {
18617
18616
  param: {
18618
18617
  id: string;
@@ -18620,10 +18619,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18620
18619
  };
18621
18620
  } | {
18622
18621
  output: {
18623
- error: string;
18622
+ url: string;
18623
+ dryRun: boolean;
18624
18624
  };
18625
18625
  outputFormat: "json";
18626
- status: 404 | 409;
18626
+ status: 201;
18627
18627
  input: {
18628
18628
  param: {
18629
18629
  id: string;
@@ -18635,10 +18635,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18635
18635
  "/runs/:id/remove-worktree": {
18636
18636
  $post: {
18637
18637
  output: {
18638
- removed: true;
18638
+ error: string;
18639
18639
  };
18640
18640
  outputFormat: "json";
18641
- status: import("hono/utils/http-status").ContentfulStatusCode;
18641
+ status: 404 | 409;
18642
18642
  input: {
18643
18643
  param: {
18644
18644
  id: string;
@@ -18646,10 +18646,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18646
18646
  };
18647
18647
  } | {
18648
18648
  output: {
18649
- error: string;
18649
+ removed: true;
18650
18650
  };
18651
18651
  outputFormat: "json";
18652
- status: 404 | 409;
18652
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18653
18653
  input: {
18654
18654
  param: {
18655
18655
  id: string;
@@ -18661,10 +18661,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18661
18661
  "/runs/:id": {
18662
18662
  $delete: {
18663
18663
  output: {
18664
- deleted: true;
18664
+ error: string;
18665
18665
  };
18666
18666
  outputFormat: "json";
18667
- status: import("hono/utils/http-status").ContentfulStatusCode;
18667
+ status: 404 | 409;
18668
18668
  input: {
18669
18669
  param: {
18670
18670
  id: string;
@@ -18672,10 +18672,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18672
18672
  };
18673
18673
  } | {
18674
18674
  output: {
18675
- error: string;
18675
+ deleted: true;
18676
18676
  };
18677
18677
  outputFormat: "json";
18678
- status: 404 | 409;
18678
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18679
18679
  input: {
18680
18680
  param: {
18681
18681
  id: string;
@@ -18744,6 +18744,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18744
18744
  }, "/"> | import("hono/types").MergeSchemaPath<{
18745
18745
  "/plan": {
18746
18746
  $post: {
18747
+ output: {
18748
+ error: string;
18749
+ };
18750
+ outputFormat: "json";
18751
+ status: 400 | 404 | 409;
18752
+ input: {
18753
+ json: {
18754
+ task: string;
18755
+ agentProfile?: string | undefined;
18756
+ };
18757
+ };
18758
+ } | {
18747
18759
  output: {
18748
18760
  name?: string;
18749
18761
  steps: {
@@ -18780,18 +18792,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18780
18792
  agentProfile?: string | undefined;
18781
18793
  };
18782
18794
  };
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
18795
  };
18796
18796
  };
18797
18797
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -18816,7 +18816,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18816
18816
  error: string;
18817
18817
  };
18818
18818
  outputFormat: "json";
18819
- status: 400;
18819
+ status: 409;
18820
18820
  input: {
18821
18821
  json: {
18822
18822
  target: string;
@@ -18827,7 +18827,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18827
18827
  error: string;
18828
18828
  };
18829
18829
  outputFormat: "json";
18830
- status: 409;
18830
+ status: 400;
18831
18831
  input: {
18832
18832
  json: {
18833
18833
  target: string;
@@ -18894,10 +18894,42 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18894
18894
  "/ui-state": {
18895
18895
  $put: {
18896
18896
  output: {
18897
- error: string;
18897
+ [x: string]: import("hono/utils/types").JSONValue;
18898
+ sidebarLimits?: {
18899
+ overall?: number | null | undefined;
18900
+ needsYou?: number | null | undefined;
18901
+ finished?: number | null | undefined;
18902
+ working?: number | null | undefined;
18903
+ } | undefined;
18904
+ lastTask?: {
18905
+ source: "skill" | "workflow";
18906
+ ref: string;
18907
+ } | null | undefined;
18908
+ recentSources?: {
18909
+ source: "skill" | "workflow";
18910
+ ref: string;
18911
+ }[] | undefined;
18912
+ lastWorktree?: boolean | undefined;
18913
+ lastAutonomous?: boolean | undefined;
18914
+ skillUsage?: {
18915
+ [x: string]: number;
18916
+ } | undefined;
18917
+ runsView?: "list" | "table" | undefined;
18918
+ githubView?: "issues" | "prs" | undefined;
18919
+ appearance?: {
18920
+ accent?: "cezarion" | "lime" | "violet" | undefined;
18921
+ density?: "comfortable" | "compact" | "ultra" | undefined;
18922
+ width?: "narrow" | "wide" | undefined;
18923
+ } | undefined;
18924
+ promptTemplates?: {
18925
+ id: string;
18926
+ label: string;
18927
+ text: string;
18928
+ skills?: string[] | undefined;
18929
+ }[] | undefined;
18898
18930
  };
18899
18931
  outputFormat: "json";
18900
- status: 500;
18932
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18901
18933
  input: {
18902
18934
  json: {
18903
18935
  [x: string]: unknown;
@@ -18935,42 +18967,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18935
18967
  };
18936
18968
  } | {
18937
18969
  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;
18970
+ error: string;
18971
18971
  };
18972
18972
  outputFormat: "json";
18973
- status: import("hono/utils/http-status").ContentfulStatusCode;
18973
+ status: 500;
18974
18974
  input: {
18975
18975
  json: {
18976
18976
  [x: string]: unknown;
@@ -19011,12 +19011,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19011
19011
  }, "/"> | import("hono/types").MergeSchemaPath<{
19012
19012
  "/runs/:id/events": {
19013
19013
  $get: {
19014
- output: {
19015
- error: string;
19016
- code?: "invalid_input" | undefined;
19017
- };
19018
- outputFormat: "json";
19019
- status: 400;
19014
+ output: {};
19015
+ outputFormat: string;
19016
+ status: import("hono/utils/http-status").StatusCode;
19020
19017
  input: {
19021
19018
  param: {
19022
19019
  id: string;
@@ -19028,9 +19025,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19028
19025
  };
19029
19026
  };
19030
19027
  } | {
19031
- output: {};
19032
- outputFormat: string;
19033
- status: import("hono/utils/http-status").StatusCode;
19028
+ output: {
19029
+ error: string;
19030
+ code?: "invalid_input" | undefined;
19031
+ };
19032
+ outputFormat: "json";
19033
+ status: 400;
19034
19034
  input: {
19035
19035
  param: {
19036
19036
  id: string;
@@ -19091,10 +19091,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19091
19091
  "/config": {
19092
19092
  $put: {
19093
19093
  output: {
19094
- error: string;
19094
+ archiveOnMerge: boolean | null;
19095
+ effectiveArchiveOnMerge: boolean;
19096
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
19097
+ baseBranch: string | null;
19098
+ defaultRunner: string;
19099
+ systemPrompt: string | null;
19100
+ defaultModels: {
19101
+ [x: string]: string | undefined;
19102
+ };
19103
+ modelsLocked: boolean;
19104
+ maxParallel: number;
19105
+ memoryLimitMb: number | null;
19106
+ worktreeRetention: number;
19107
+ liveTitleUpdates: boolean | null;
19108
+ reviewGate: boolean | null;
19109
+ worktreeSetup: {
19110
+ commands: string[];
19111
+ timeoutSeconds: number;
19112
+ } | null;
19113
+ worktreeSetupIssue: string | null;
19114
+ worktreeTeardown: {
19115
+ commands: string[];
19116
+ timeoutSeconds: number;
19117
+ } | null;
19118
+ worktreeTeardownIssue: string | null;
19095
19119
  };
19096
19120
  outputFormat: "json";
19097
- status: 409;
19121
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19098
19122
  input: {
19099
19123
  json: {
19100
19124
  archiveOnMerge?: boolean | null | undefined;
@@ -19122,7 +19146,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19122
19146
  error: string;
19123
19147
  };
19124
19148
  outputFormat: "json";
19125
- status: 500;
19149
+ status: 409;
19126
19150
  input: {
19127
19151
  json: {
19128
19152
  archiveOnMerge?: boolean | null | undefined;
@@ -19147,34 +19171,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19147
19171
  };
19148
19172
  } | {
19149
19173
  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;
19174
+ error: string;
19175
19175
  };
19176
19176
  outputFormat: "json";
19177
- status: import("hono/utils/http-status").ContentfulStatusCode;
19177
+ status: 500;
19178
19178
  input: {
19179
19179
  json: {
19180
19180
  archiveOnMerge?: boolean | null | undefined;
@@ -19323,7 +19323,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19323
19323
  error: string;
19324
19324
  };
19325
19325
  outputFormat: "json";
19326
- status: 400;
19326
+ status: 409;
19327
19327
  input: {
19328
19328
  query: {
19329
19329
  q?: string | undefined;
@@ -19336,7 +19336,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19336
19336
  error: string;
19337
19337
  };
19338
19338
  outputFormat: "json";
19339
- status: 409;
19339
+ status: 400;
19340
19340
  input: {
19341
19341
  query: {
19342
19342
  q?: string | undefined;
@@ -19441,11 +19441,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19441
19441
  };
19442
19442
  } | {
19443
19443
  output: {
19444
- runId: string;
19445
- worktreeReclaimedAt: string;
19444
+ error: string;
19446
19445
  };
19447
19446
  outputFormat: "json";
19448
- status: import("hono/utils/http-status").ContentfulStatusCode;
19447
+ status: 404 | 409;
19449
19448
  input: {
19450
19449
  param: {
19451
19450
  runId: string;
@@ -19457,10 +19456,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19457
19456
  };
19458
19457
  } | {
19459
19458
  output: {
19460
- error: string;
19459
+ runId: string;
19460
+ worktreeReclaimedAt: string;
19461
19461
  };
19462
19462
  outputFormat: "json";
19463
- status: 404 | 409;
19463
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19464
19464
  input: {
19465
19465
  param: {
19466
19466
  runId: string;
@@ -19560,10 +19560,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19560
19560
  "/agent-config/:id": {
19561
19561
  $put: {
19562
19562
  output: {
19563
- error: string;
19563
+ id: string;
19564
+ path: string;
19565
+ exists: boolean;
19566
+ content: string;
19567
+ version: string | null;
19564
19568
  };
19565
19569
  outputFormat: "json";
19566
- status: 404;
19570
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19567
19571
  input: {
19568
19572
  json: {
19569
19573
  content: string;
@@ -19576,14 +19580,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19576
19580
  };
19577
19581
  } | {
19578
19582
  output: {
19579
- id: string;
19580
- path: string;
19581
- exists: boolean;
19582
- content: string;
19583
- version: string | null;
19583
+ error: string;
19584
19584
  };
19585
19585
  outputFormat: "json";
19586
- status: import("hono/utils/http-status").ContentfulStatusCode;
19586
+ status: 404;
19587
19587
  input: {
19588
19588
  json: {
19589
19589
  content: string;
@@ -19760,11 +19760,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19760
19760
  "/workflows": {
19761
19761
  $post: {
19762
19762
  output: {
19763
- path: string;
19764
- name: string;
19763
+ error: string;
19765
19764
  };
19766
19765
  outputFormat: "json";
19767
- status: 201;
19766
+ status: 400;
19768
19767
  input: {
19769
19768
  json: {
19770
19769
  name: string;
@@ -19797,9 +19796,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19797
19796
  } | {
19798
19797
  output: {
19799
19798
  error: string;
19799
+ exists: true;
19800
19800
  };
19801
19801
  outputFormat: "json";
19802
- status: 400;
19802
+ status: 409;
19803
19803
  input: {
19804
19804
  json: {
19805
19805
  name: string;
@@ -19832,10 +19832,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19832
19832
  } | {
19833
19833
  output: {
19834
19834
  error: string;
19835
- exists: true;
19836
19835
  };
19837
19836
  outputFormat: "json";
19838
- status: 409;
19837
+ status: 500;
19839
19838
  input: {
19840
19839
  json: {
19841
19840
  name: string;
@@ -19867,10 +19866,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19867
19866
  };
19868
19867
  } | {
19869
19868
  output: {
19870
- error: string;
19869
+ path: string;
19870
+ name: string;
19871
19871
  };
19872
19872
  outputFormat: "json";
19873
- status: 500;
19873
+ status: 201;
19874
19874
  input: {
19875
19875
  json: {
19876
19876
  name: string;
@@ -19906,11 +19906,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19906
19906
  "/workflows/:name": {
19907
19907
  $delete: {
19908
19908
  output: {
19909
- ok: true;
19910
- path: string;
19909
+ error: string;
19911
19910
  };
19912
19911
  outputFormat: "json";
19913
- status: import("hono/utils/http-status").ContentfulStatusCode;
19912
+ status: 400 | 404 | 409 | 500;
19914
19913
  input: {
19915
19914
  param: {
19916
19915
  name: string;
@@ -19918,10 +19917,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19918
19917
  };
19919
19918
  } | {
19920
19919
  output: {
19921
- error: string;
19920
+ ok: true;
19921
+ path: string;
19922
19922
  };
19923
19923
  outputFormat: "json";
19924
- status: 400 | 404 | 409 | 500;
19924
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19925
19925
  input: {
19926
19926
  param: {
19927
19927
  name: string;
@@ -20097,18 +20097,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20097
20097
  "/repo/branches/delete": {
20098
20098
  $post: {
20099
20099
  output: {
20100
- deleted: string[];
20100
+ error: string;
20101
20101
  refused: {
20102
20102
  name: string;
20103
20103
  reason: string;
20104
20104
  }[];
20105
- dropped?: {
20106
- sha: string;
20107
- subject: string;
20108
- }[] | undefined;
20109
20105
  };
20110
20106
  outputFormat: "json";
20111
- status: 200;
20107
+ status: 409;
20112
20108
  input: {
20113
20109
  json: {
20114
20110
  names: string[];
@@ -20117,14 +20113,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20117
20113
  };
20118
20114
  } | {
20119
20115
  output: {
20120
- error: string;
20116
+ deleted: string[];
20121
20117
  refused: {
20122
20118
  name: string;
20123
20119
  reason: string;
20124
20120
  }[];
20121
+ dropped?: {
20122
+ sha: string;
20123
+ subject: string;
20124
+ }[] | undefined;
20125
20125
  };
20126
20126
  outputFormat: "json";
20127
- status: 409;
20127
+ status: 200;
20128
20128
  input: {
20129
20129
  json: {
20130
20130
  names: string[];
@@ -20281,12 +20281,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20281
20281
  "/repo/pull": {
20282
20282
  $post: {
20283
20283
  output: {
20284
- branch: string;
20285
- pulled: true;
20286
- summary: string;
20284
+ error: string;
20287
20285
  };
20288
20286
  outputFormat: "json";
20289
- status: 200;
20287
+ status: 409;
20290
20288
  input: {
20291
20289
  json: {
20292
20290
  branch?: string | undefined;
@@ -20295,10 +20293,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20295
20293
  };
20296
20294
  } | {
20297
20295
  output: {
20298
- error: string;
20296
+ branch: string;
20297
+ pulled: true;
20298
+ summary: string;
20299
20299
  };
20300
20300
  outputFormat: "json";
20301
- status: 409;
20301
+ status: 200;
20302
20302
  input: {
20303
20303
  json: {
20304
20304
  branch?: string | undefined;
@@ -22247,18 +22247,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22247
22247
  } & {
22248
22248
  "/run-summaries": {
22249
22249
  $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
22250
  output: {
22263
22251
  id: string;
22264
22252
  title: string;
@@ -22396,6 +22384,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22396
22384
  archived?: "all" | "recent" | undefined;
22397
22385
  };
22398
22386
  };
22387
+ } | {
22388
+ output: {
22389
+ error: string;
22390
+ code?: "invalid_input" | undefined;
22391
+ };
22392
+ outputFormat: "json";
22393
+ status: 400;
22394
+ input: {
22395
+ query: {
22396
+ archived?: "all" | "recent" | undefined;
22397
+ };
22398
+ };
22399
22399
  };
22400
22400
  };
22401
22401
  } & {
@@ -22757,24 +22757,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22757
22757
  "/runs/:id/worker-destroy": {
22758
22758
  $post: {
22759
22759
  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;
22760
+ error: string;
22761
+ code?: "invalid_input" | undefined;
22775
22762
  };
22776
22763
  outputFormat: "json";
22777
- status: 200;
22764
+ status: 400;
22778
22765
  input: {
22779
22766
  query: {
22780
22767
  [x: string]: string | string[];
@@ -22790,11 +22777,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22790
22777
  };
22791
22778
  } | {
22792
22779
  output: {
22793
- error: string;
22794
- code?: "invalid_input" | undefined;
22780
+ workerId: string;
22781
+ state: "complete" | "incomplete";
22782
+ work?: {
22783
+ uncommittedFiles: number;
22784
+ commits: number;
22785
+ } | undefined;
22786
+ deleted?: ({
22787
+ kind: "worktree";
22788
+ path: string;
22789
+ } | {
22790
+ kind: "branch";
22791
+ ref: string;
22792
+ })[] | undefined;
22793
+ remaining: ("branch" | "process" | "worktree")[];
22794
+ error?: string | undefined;
22795
22795
  };
22796
22796
  outputFormat: "json";
22797
- status: 400;
22797
+ status: 200;
22798
22798
  input: {
22799
22799
  query: {
22800
22800
  [x: string]: string | string[];
@@ -22910,21 +22910,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22910
22910
  } & {
22911
22911
  "/runs/:id/archive": {
22912
22912
  $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
22913
  output: {
22929
22914
  archiveWhenDone?: boolean | undefined;
22930
22915
  autoMergePr?: boolean | undefined;
@@ -24103,32 +24088,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24103
24088
  id: string;
24104
24089
  };
24105
24090
  };
24106
- };
24107
- };
24108
- } & {
24109
- "/runs/:id/pin": {
24110
- $post: {
24091
+ } | {
24111
24092
  output: {
24112
24093
  error: string;
24113
- code?: "invalid_input" | undefined;
24114
24094
  };
24115
24095
  outputFormat: "json";
24116
- status: 400;
24096
+ status: 404;
24117
24097
  input: {
24118
- param: {
24119
- id: string;
24098
+ json: {
24099
+ archived?: boolean | undefined;
24120
24100
  };
24121
24101
  } & {
24122
- json: {
24123
- pinned?: boolean | undefined;
24102
+ param: {
24103
+ id: string;
24124
24104
  };
24125
24105
  };
24126
- } | {
24106
+ };
24107
+ };
24108
+ } & {
24109
+ "/runs/:id/pin": {
24110
+ $post: {
24127
24111
  output: {
24128
24112
  error: string;
24113
+ code?: "invalid_input" | undefined;
24129
24114
  };
24130
24115
  outputFormat: "json";
24131
- status: 404;
24116
+ status: 400;
24132
24117
  input: {
24133
24118
  param: {
24134
24119
  id: string;
@@ -25317,6 +25302,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25317
25302
  pinned?: boolean | undefined;
25318
25303
  };
25319
25304
  };
25305
+ } | {
25306
+ output: {
25307
+ error: string;
25308
+ };
25309
+ outputFormat: "json";
25310
+ status: 404;
25311
+ input: {
25312
+ param: {
25313
+ id: string;
25314
+ };
25315
+ } & {
25316
+ json: {
25317
+ pinned?: boolean | undefined;
25318
+ };
25319
+ };
25320
25320
  };
25321
25321
  };
25322
25322
  } & {
@@ -25343,7 +25343,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25343
25343
  error: string;
25344
25344
  };
25345
25345
  outputFormat: "json";
25346
- status: 400;
25346
+ status: 404;
25347
25347
  input: {
25348
25348
  param: {
25349
25349
  id: string;
@@ -25359,7 +25359,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25359
25359
  error: string;
25360
25360
  };
25361
25361
  outputFormat: "json";
25362
- status: 404;
25362
+ status: 400;
25363
25363
  input: {
25364
25364
  param: {
25365
25365
  id: string;
@@ -26581,17 +26581,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
26581
26581
  } & {
26582
26582
  "/runs/:id/read": {
26583
26583
  $post: {
26584
- output: {
26585
- error: string;
26586
- };
26587
- outputFormat: "json";
26588
- status: 404;
26589
- input: {
26590
- param: {
26591
- id: string;
26592
- };
26593
- };
26594
- } | {
26595
26584
  output: {
26596
26585
  archiveWhenDone?: boolean | undefined;
26597
26586
  autoMergePr?: boolean | undefined;
@@ -27766,11 +27755,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27766
27755
  id: string;
27767
27756
  };
27768
27757
  };
27769
- };
27770
- };
27771
- } & {
27772
- "/runs/:id/unread": {
27773
- $post: {
27758
+ } | {
27774
27759
  output: {
27775
27760
  error: string;
27776
27761
  };
@@ -27781,7 +27766,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27781
27766
  id: string;
27782
27767
  };
27783
27768
  };
27784
- } | {
27769
+ };
27770
+ };
27771
+ } & {
27772
+ "/runs/:id/unread": {
27773
+ $post: {
27785
27774
  output: {
27786
27775
  archiveWhenDone?: boolean | undefined;
27787
27776
  autoMergePr?: boolean | undefined;
@@ -28956,6 +28945,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28956
28945
  id: string;
28957
28946
  };
28958
28947
  };
28948
+ } | {
28949
+ output: {
28950
+ error: string;
28951
+ };
28952
+ outputFormat: "json";
28953
+ status: 404;
28954
+ input: {
28955
+ param: {
28956
+ id: string;
28957
+ };
28958
+ };
28959
28959
  };
28960
28960
  };
28961
28961
  } & {
@@ -30231,17 +30231,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
30231
30231
  } & {
30232
30232
  "/runs/:id": {
30233
30233
  $get: {
30234
- output: {
30235
- error: string;
30236
- };
30237
- outputFormat: "json";
30238
- status: 404;
30239
- input: {
30240
- param: {
30241
- id: string;
30242
- };
30243
- };
30244
- } | {
30245
30234
  output: {
30246
30235
  archiveWhenDone?: boolean | undefined;
30247
30236
  autoMergePr?: boolean | undefined;
@@ -31424,6 +31413,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31424
31413
  id: string;
31425
31414
  };
31426
31415
  };
31416
+ } | {
31417
+ output: {
31418
+ error: string;
31419
+ };
31420
+ outputFormat: "json";
31421
+ status: 404;
31422
+ input: {
31423
+ param: {
31424
+ id: string;
31425
+ };
31426
+ };
31427
31427
  };
31428
31428
  };
31429
31429
  } & {
@@ -31551,66 +31551,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31551
31551
  } & {
31552
31552
  "/runs/:id": {
31553
31553
  $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
31554
  output: {
31615
31555
  archiveWhenDone?: boolean | undefined;
31616
31556
  autoMergePr?: boolean | undefined;
@@ -32794,6 +32734,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32794
32734
  id: string;
32795
32735
  };
32796
32736
  };
32737
+ } | {
32738
+ output: {
32739
+ error: string;
32740
+ };
32741
+ outputFormat: "json";
32742
+ status: 404;
32743
+ input: {
32744
+ json: {
32745
+ archiveWhenDone?: boolean | undefined;
32746
+ autoMergePr?: boolean | undefined;
32747
+ allowWorkers?: boolean | undefined;
32748
+ allowMessaging?: boolean | undefined;
32749
+ title?: string | undefined;
32750
+ task?: string | undefined;
32751
+ };
32752
+ } & {
32753
+ param: {
32754
+ id: string;
32755
+ };
32756
+ };
32757
+ } | {
32758
+ output: {
32759
+ error: string;
32760
+ };
32761
+ outputFormat: "json";
32762
+ status: 400;
32763
+ input: {
32764
+ json: {
32765
+ archiveWhenDone?: boolean | undefined;
32766
+ autoMergePr?: boolean | undefined;
32767
+ allowWorkers?: boolean | undefined;
32768
+ allowMessaging?: boolean | undefined;
32769
+ title?: string | undefined;
32770
+ task?: string | undefined;
32771
+ };
32772
+ } & {
32773
+ param: {
32774
+ id: string;
32775
+ };
32776
+ };
32777
+ } | {
32778
+ output: {
32779
+ error: string;
32780
+ };
32781
+ outputFormat: "json";
32782
+ status: 409;
32783
+ input: {
32784
+ json: {
32785
+ archiveWhenDone?: boolean | undefined;
32786
+ autoMergePr?: boolean | undefined;
32787
+ allowWorkers?: boolean | undefined;
32788
+ allowMessaging?: boolean | undefined;
32789
+ title?: string | undefined;
32790
+ task?: string | undefined;
32791
+ };
32792
+ } & {
32793
+ param: {
32794
+ id: string;
32795
+ };
32796
+ };
32797
32797
  };
32798
32798
  };
32799
32799
  } & {
@@ -32898,7 +32898,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32898
32898
  error: string;
32899
32899
  };
32900
32900
  outputFormat: "json";
32901
- status: 400;
32901
+ status: 404;
32902
32902
  input: {
32903
32903
  json: {
32904
32904
  text?: string | undefined;
@@ -32917,7 +32917,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32917
32917
  error: string;
32918
32918
  };
32919
32919
  outputFormat: "json";
32920
- status: 404;
32920
+ status: 409;
32921
32921
  input: {
32922
32922
  json: {
32923
32923
  text?: string | undefined;
@@ -32933,10 +32933,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32933
32933
  };
32934
32934
  } | {
32935
32935
  output: {
32936
- error: string;
32936
+ delivered: true;
32937
32937
  };
32938
32938
  outputFormat: "json";
32939
- status: 409;
32939
+ status: import("hono/utils/http-status").ContentfulStatusCode;
32940
32940
  input: {
32941
32941
  json: {
32942
32942
  text?: string | undefined;
@@ -32952,10 +32952,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32952
32952
  };
32953
32953
  } | {
32954
32954
  output: {
32955
- delivered: true;
32955
+ error: string;
32956
32956
  };
32957
32957
  outputFormat: "json";
32958
- status: import("hono/utils/http-status").ContentfulStatusCode;
32958
+ status: 400;
32959
32959
  input: {
32960
32960
  json: {
32961
32961
  text?: string | undefined;
@@ -33023,7 +33023,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33023
33023
  error: string;
33024
33024
  };
33025
33025
  outputFormat: "json";
33026
- status: 400;
33026
+ status: 404;
33027
33027
  input: {
33028
33028
  json: {
33029
33029
  text?: string | undefined;
@@ -33044,7 +33044,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33044
33044
  error: string;
33045
33045
  };
33046
33046
  outputFormat: "json";
33047
- status: 404;
33047
+ status: 400;
33048
33048
  input: {
33049
33049
  json: {
33050
33050
  text?: string | undefined;
@@ -33264,11 +33264,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33264
33264
  "/runs/:id/open-in-cli": {
33265
33265
  $post: {
33266
33266
  output: {
33267
- opened: true;
33268
- command: string;
33267
+ error: string;
33269
33268
  };
33270
33269
  outputFormat: "json";
33271
- status: import("hono/utils/http-status").ContentfulStatusCode;
33270
+ status: 404 | 409;
33272
33271
  input: {
33273
33272
  param: {
33274
33273
  id: string;
@@ -33276,10 +33275,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33276
33275
  };
33277
33276
  } | {
33278
33277
  output: {
33279
- error: string;
33278
+ opened: true;
33279
+ command: string;
33280
33280
  };
33281
33281
  outputFormat: "json";
33282
- status: 404 | 409;
33282
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33283
33283
  input: {
33284
33284
  param: {
33285
33285
  id: string;
@@ -33294,7 +33294,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33294
33294
  error: string;
33295
33295
  };
33296
33296
  outputFormat: "json";
33297
- status: 400;
33297
+ status: 404 | 409;
33298
33298
  input: {
33299
33299
  json: {
33300
33300
  target: string;
@@ -33307,11 +33307,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33307
33307
  };
33308
33308
  } | {
33309
33309
  output: {
33310
- opened: true;
33311
- path: string;
33310
+ error: string;
33312
33311
  };
33313
33312
  outputFormat: "json";
33314
- status: import("hono/utils/http-status").ContentfulStatusCode;
33313
+ status: 400;
33315
33314
  input: {
33316
33315
  json: {
33317
33316
  target: string;
@@ -33324,10 +33323,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33324
33323
  };
33325
33324
  } | {
33326
33325
  output: {
33327
- error: string;
33326
+ opened: true;
33327
+ path: string;
33328
33328
  };
33329
33329
  outputFormat: "json";
33330
- status: 404 | 409;
33330
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33331
33331
  input: {
33332
33332
  json: {
33333
33333
  target: string;
@@ -33343,20 +33343,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33343
33343
  } & {
33344
33344
  "/runs/:id/handoff": {
33345
33345
  $get: {
33346
- output: string;
33347
- outputFormat: "text";
33348
- status: 200;
33346
+ output: {
33347
+ error: string;
33348
+ };
33349
+ outputFormat: "json";
33350
+ status: 404;
33349
33351
  input: {
33350
33352
  param: {
33351
33353
  id: string;
33352
33354
  };
33353
33355
  };
33354
33356
  } | {
33355
- output: {
33356
- error: string;
33357
- };
33358
- outputFormat: "json";
33359
- status: 404;
33357
+ output: string;
33358
+ outputFormat: "text";
33359
+ status: 200;
33360
33360
  input: {
33361
33361
  param: {
33362
33362
  id: string;
@@ -33367,12 +33367,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33367
33367
  } & {
33368
33368
  "/runs/:id/images/:file": {
33369
33369
  $get: {
33370
- output: {
33371
- error: string;
33372
- code?: "invalid_input" | undefined;
33373
- };
33374
- outputFormat: "json";
33375
- status: 400;
33370
+ output: {};
33371
+ outputFormat: string;
33372
+ status: import("hono/utils/http-status").StatusCode;
33376
33373
  input: {
33377
33374
  param: {
33378
33375
  id: string;
@@ -33380,9 +33377,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33380
33377
  };
33381
33378
  };
33382
33379
  } | {
33383
- output: {};
33384
- outputFormat: string;
33385
- status: import("hono/utils/http-status").StatusCode;
33380
+ output: {
33381
+ error: string;
33382
+ code?: "invalid_input" | undefined;
33383
+ };
33384
+ outputFormat: "json";
33385
+ status: 400;
33386
33386
  input: {
33387
33387
  param: {
33388
33388
  id: string;
@@ -33394,6 +33394,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33394
33394
  } & {
33395
33395
  "/runs/:id/diff": {
33396
33396
  $get: {
33397
+ output: {
33398
+ error: string;
33399
+ };
33400
+ outputFormat: "json";
33401
+ status: 404 | 409;
33402
+ input: {
33403
+ param: {
33404
+ id: string;
33405
+ };
33406
+ };
33407
+ } | {
33397
33408
  output: string;
33398
33409
  outputFormat: "text";
33399
33410
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -33402,7 +33413,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33402
33413
  id: string;
33403
33414
  };
33404
33415
  };
33405
- } | {
33416
+ };
33417
+ };
33418
+ } & {
33419
+ "/runs/:id/changes": {
33420
+ $get: {
33406
33421
  output: {
33407
33422
  error: string;
33408
33423
  };
@@ -33413,11 +33428,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33413
33428
  id: string;
33414
33429
  };
33415
33430
  };
33416
- };
33417
- };
33418
- } & {
33419
- "/runs/:id/changes": {
33420
- $get: {
33431
+ } | {
33421
33432
  output: {
33422
33433
  files: {
33423
33434
  path: string;
@@ -33446,7 +33457,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33446
33457
  id: string;
33447
33458
  };
33448
33459
  };
33449
- } | {
33460
+ };
33461
+ };
33462
+ } & {
33463
+ "/runs/:id/commits": {
33464
+ $get: {
33450
33465
  output: {
33451
33466
  error: string;
33452
33467
  };
@@ -33457,11 +33472,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33457
33472
  id: string;
33458
33473
  };
33459
33474
  };
33460
- };
33461
- };
33462
- } & {
33463
- "/runs/:id/commits": {
33464
- $get: {
33475
+ } | {
33465
33476
  output: {
33466
33477
  commits: {
33467
33478
  sha: string;
@@ -33477,7 +33488,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33477
33488
  id: string;
33478
33489
  };
33479
33490
  };
33480
- } | {
33491
+ };
33492
+ };
33493
+ } & {
33494
+ "/runs/:id/commit/:sha": {
33495
+ $get: {
33481
33496
  output: {
33482
33497
  error: string;
33483
33498
  };
@@ -33485,14 +33500,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33485
33500
  status: 404 | 409;
33486
33501
  input: {
33487
33502
  param: {
33503
+ sha: string;
33504
+ } & {
33488
33505
  id: string;
33489
33506
  };
33490
33507
  };
33491
- };
33492
- };
33493
- } & {
33494
- "/runs/:id/commit/:sha": {
33495
- $get: {
33508
+ } | {
33496
33509
  output: {
33497
33510
  sha: string;
33498
33511
  subject: string;
@@ -33518,22 +33531,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33518
33531
  status: import("hono/utils/http-status").ContentfulStatusCode;
33519
33532
  input: {
33520
33533
  param: {
33521
- id: string;
33522
- } & {
33523
33534
  sha: string;
33524
- };
33525
- };
33526
- } | {
33527
- output: {
33528
- error: string;
33529
- };
33530
- outputFormat: "json";
33531
- status: 404 | 409;
33532
- input: {
33533
- param: {
33534
- id: string;
33535
33535
  } & {
33536
- sha: string;
33536
+ id: string;
33537
33537
  };
33538
33538
  };
33539
33539
  };
@@ -33571,6 +33571,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33571
33571
  raw?: "1" | undefined;
33572
33572
  };
33573
33573
  };
33574
+ } | {
33575
+ output: {
33576
+ error: string;
33577
+ };
33578
+ outputFormat: "json";
33579
+ status: 404 | 409;
33580
+ input: {
33581
+ param: {
33582
+ id: string;
33583
+ };
33584
+ } & {
33585
+ query: {
33586
+ path: string | string[];
33587
+ raw?: "1" | undefined;
33588
+ };
33589
+ };
33574
33590
  } | {
33575
33591
  output: {
33576
33592
  type: "file";
@@ -33607,22 +33623,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33607
33623
  raw?: "1" | undefined;
33608
33624
  };
33609
33625
  };
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
33626
  };
33627
33627
  };
33628
33628
  } & {
@@ -33687,18 +33687,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33687
33687
  artifactId: string;
33688
33688
  };
33689
33689
  };
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
33690
  } | {
33703
33691
  output: {
33704
33692
  type: "file";
@@ -33727,6 +33715,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33727
33715
  artifactId: string;
33728
33716
  };
33729
33717
  };
33718
+ } | {
33719
+ output: {
33720
+ error: string;
33721
+ };
33722
+ outputFormat: "json";
33723
+ status: 404;
33724
+ input: {
33725
+ param: {
33726
+ id: string;
33727
+ artifactId: string;
33728
+ };
33729
+ };
33730
33730
  };
33731
33731
  };
33732
33732
  } & {
@@ -33904,16 +33904,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33904
33904
  };
33905
33905
  } | {
33906
33906
  output: {
33907
- type: 'dir';
33908
- path: string;
33909
- entries: {
33910
- name: string;
33911
- type: 'dir' | 'file';
33912
- size?: number;
33913
- }[];
33907
+ error: string;
33914
33908
  };
33915
33909
  outputFormat: "json";
33916
- status: import("hono/utils/http-status").ContentfulStatusCode;
33910
+ status: 404 | 409;
33917
33911
  input: {
33918
33912
  query: {
33919
33913
  path?: string | undefined;
@@ -33926,12 +33920,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33926
33920
  };
33927
33921
  } | {
33928
33922
  output: {
33929
- type: 'file';
33923
+ type: 'dir';
33930
33924
  path: string;
33931
- size: number;
33932
- binary: boolean;
33933
- tooLarge: boolean;
33934
- content?: string | undefined;
33925
+ entries: {
33926
+ name: string;
33927
+ type: 'dir' | 'file';
33928
+ size?: number;
33929
+ }[];
33935
33930
  };
33936
33931
  outputFormat: "json";
33937
33932
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -33947,10 +33942,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33947
33942
  };
33948
33943
  } | {
33949
33944
  output: {
33950
- error: string;
33945
+ type: 'file';
33946
+ path: string;
33947
+ size: number;
33948
+ binary: boolean;
33949
+ tooLarge: boolean;
33950
+ content?: string | undefined;
33951
33951
  };
33952
33952
  outputFormat: "json";
33953
- status: 404 | 409;
33953
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33954
33954
  input: {
33955
33955
  query: {
33956
33956
  path?: string | undefined;
@@ -33967,11 +33967,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33967
33967
  "/runs/:id/git/commit": {
33968
33968
  $post: {
33969
33969
  output: {
33970
- committed: true;
33971
- sha: string;
33970
+ error: string;
33972
33971
  };
33973
33972
  outputFormat: "json";
33974
- status: import("hono/utils/http-status").ContentfulStatusCode;
33973
+ status: 404 | 409;
33975
33974
  input: {
33976
33975
  json: {
33977
33976
  message: string;
@@ -33983,10 +33982,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33983
33982
  };
33984
33983
  } | {
33985
33984
  output: {
33986
- error: string;
33985
+ committed: true;
33986
+ sha: string;
33987
33987
  };
33988
33988
  outputFormat: "json";
33989
- status: 404 | 409;
33989
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33990
33990
  input: {
33991
33991
  json: {
33992
33992
  message: string;
@@ -34002,13 +34002,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34002
34002
  "/runs/:id/git/push": {
34003
34003
  $post: {
34004
34004
  output: {
34005
- pushed: true;
34006
- branch: string;
34007
- remote: string;
34008
- upstreamSet: boolean;
34005
+ error: string;
34009
34006
  };
34010
34007
  outputFormat: "json";
34011
- status: import("hono/utils/http-status").ContentfulStatusCode;
34008
+ status: 404 | 409;
34012
34009
  input: {
34013
34010
  param: {
34014
34011
  id: string;
@@ -34016,10 +34013,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34016
34013
  };
34017
34014
  } | {
34018
34015
  output: {
34019
- error: string;
34016
+ pushed: true;
34017
+ branch: string;
34018
+ remote: string;
34019
+ upstreamSet: boolean;
34020
34020
  };
34021
34021
  outputFormat: "json";
34022
- status: 404 | 409;
34022
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34023
34023
  input: {
34024
34024
  param: {
34025
34025
  id: string;
@@ -34031,11 +34031,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34031
34031
  "/runs/:id/pr": {
34032
34032
  $post: {
34033
34033
  output: {
34034
- url: string;
34035
- dryRun: boolean;
34034
+ error: string;
34036
34035
  };
34037
34036
  outputFormat: "json";
34038
- status: 201;
34037
+ status: 404 | 409;
34039
34038
  input: {
34040
34039
  param: {
34041
34040
  id: string;
@@ -34043,10 +34042,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34043
34042
  };
34044
34043
  } | {
34045
34044
  output: {
34046
- error: string;
34045
+ url: string;
34046
+ dryRun: boolean;
34047
34047
  };
34048
34048
  outputFormat: "json";
34049
- status: 404 | 409;
34049
+ status: 201;
34050
34050
  input: {
34051
34051
  param: {
34052
34052
  id: string;
@@ -34058,10 +34058,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34058
34058
  "/runs/:id/remove-worktree": {
34059
34059
  $post: {
34060
34060
  output: {
34061
- removed: true;
34061
+ error: string;
34062
34062
  };
34063
34063
  outputFormat: "json";
34064
- status: import("hono/utils/http-status").ContentfulStatusCode;
34064
+ status: 404 | 409;
34065
34065
  input: {
34066
34066
  param: {
34067
34067
  id: string;
@@ -34069,10 +34069,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34069
34069
  };
34070
34070
  } | {
34071
34071
  output: {
34072
- error: string;
34072
+ removed: true;
34073
34073
  };
34074
34074
  outputFormat: "json";
34075
- status: 404 | 409;
34075
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34076
34076
  input: {
34077
34077
  param: {
34078
34078
  id: string;
@@ -34084,10 +34084,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34084
34084
  "/runs/:id": {
34085
34085
  $delete: {
34086
34086
  output: {
34087
- deleted: true;
34087
+ error: string;
34088
34088
  };
34089
34089
  outputFormat: "json";
34090
- status: import("hono/utils/http-status").ContentfulStatusCode;
34090
+ status: 404 | 409;
34091
34091
  input: {
34092
34092
  param: {
34093
34093
  id: string;
@@ -34095,10 +34095,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34095
34095
  };
34096
34096
  } | {
34097
34097
  output: {
34098
- error: string;
34098
+ deleted: true;
34099
34099
  };
34100
34100
  outputFormat: "json";
34101
- status: 404 | 409;
34101
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34102
34102
  input: {
34103
34103
  param: {
34104
34104
  id: string;