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

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.
@@ -158,6 +158,29 @@ export type { ProjectsResponse, RegisterProjectResponse, RemoveProjectResponse,
158
158
  export declare function createApp(deps: ServerDeps): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
159
159
  "/workspace/activity": {
160
160
  $get: {
161
+ output: {
162
+ error: string;
163
+ code?: "invalid_input" | undefined;
164
+ };
165
+ outputFormat: "json";
166
+ status: 400;
167
+ input: {
168
+ query: {
169
+ project?: string | undefined;
170
+ };
171
+ };
172
+ } | {
173
+ output: {
174
+ error: string;
175
+ };
176
+ outputFormat: "json";
177
+ status: 404 | 409 | 503;
178
+ input: {
179
+ query: {
180
+ project?: string | undefined;
181
+ };
182
+ };
183
+ } | {
161
184
  output: {
162
185
  generatedAt: string;
163
186
  projects: {
@@ -408,7 +431,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
408
431
  project?: string | undefined;
409
432
  };
410
433
  };
411
- } | {
434
+ };
435
+ };
436
+ }, "/"> | import("hono/types").MergeSchemaPath<{
437
+ "/fs/browse": {
438
+ $get: {
412
439
  output: {
413
440
  error: string;
414
441
  code?: "invalid_input" | undefined;
@@ -417,7 +444,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
417
444
  status: 400;
418
445
  input: {
419
446
  query: {
420
- project?: string | undefined;
447
+ path?: string | undefined;
448
+ showHidden?: string | undefined;
421
449
  };
422
450
  };
423
451
  } | {
@@ -425,23 +453,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
425
453
  error: string;
426
454
  };
427
455
  outputFormat: "json";
428
- status: 404 | 409 | 503;
429
- input: {
430
- query: {
431
- project?: string | undefined;
432
- };
433
- };
434
- };
435
- };
436
- }, "/"> | import("hono/types").MergeSchemaPath<{
437
- "/fs/browse": {
438
- $get: {
439
- output: {
440
- error: string;
441
- code?: "invalid_input" | undefined;
442
- };
443
- outputFormat: "json";
444
- status: 400;
456
+ status: 400 | 403 | 404;
445
457
  input: {
446
458
  query: {
447
459
  path?: string | undefined;
@@ -467,38 +479,26 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
467
479
  showHidden?: string | undefined;
468
480
  };
469
481
  };
470
- } | {
471
- output: {
472
- error: string;
473
- };
474
- outputFormat: "json";
475
- status: 400 | 403 | 404;
476
- input: {
477
- query: {
478
- path?: string | undefined;
479
- showHidden?: string | undefined;
480
- };
481
- };
482
482
  };
483
483
  };
484
484
  }, "/"> | import("hono/types").MergeSchemaPath<{
485
485
  "/workspace/events": {
486
486
  $get: {
487
- output: {
488
- error: string;
489
- code?: "invalid_input" | undefined;
490
- };
491
- outputFormat: "json";
492
- status: 400;
487
+ output: {};
488
+ outputFormat: string;
489
+ status: import("hono/utils/http-status").StatusCode;
493
490
  input: {
494
491
  query: {
495
492
  runs?: "summary" | undefined;
496
493
  };
497
494
  };
498
495
  } | {
499
- output: {};
500
- outputFormat: string;
501
- status: import("hono/utils/http-status").StatusCode;
496
+ output: {
497
+ error: string;
498
+ code?: "invalid_input" | undefined;
499
+ };
500
+ outputFormat: "json";
501
+ status: 400;
502
502
  input: {
503
503
  query: {
504
504
  runs?: "summary" | undefined;
@@ -580,18 +580,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
580
580
  profileId?: string | undefined;
581
581
  };
582
582
  };
583
- } | {
584
- output: {
585
- error: string;
586
- };
587
- outputFormat: "json";
588
- status: 400;
589
- input: {
590
- query: {
591
- runner: string | string[];
592
- profileId?: string | undefined;
593
- };
594
- };
595
583
  } | {
596
584
  output: {
597
585
  runner: string;
@@ -613,179 +601,191 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
613
601
  profileId?: string | undefined;
614
602
  };
615
603
  };
616
- };
617
- };
618
- }, "/"> | import("hono/types").MergeSchemaPath<{
619
- "/workspace/runs-index": {
620
- $get: {
621
- output: {
622
- runs: {
623
- id: string;
624
- title: string;
625
- titleSummary?: string | undefined;
626
- titleOrigin?: "auto" | "marker" | "user" | undefined;
627
- status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
628
- hasPendingPermission?: boolean | undefined;
629
- waitingOn?: {
630
- kind: "human";
631
- shown?: true | undefined;
632
- } | {
633
- kind: "usage-limit";
634
- at: string;
635
- } | {
636
- kind: "workers";
637
- count: number;
638
- replies?: true | undefined;
639
- peers?: true | undefined;
640
- } | {
641
- kind: "peers";
642
- count: number;
643
- } | {
644
- kind: "subagents";
645
- count: number;
646
- } | {
647
- kind: "pr";
648
- until: "checks" | "merge" | "merge_or_blocked";
649
- waitId: string;
650
- prUrl: string;
651
- repository: string;
652
- prNumber: number;
653
- deadline: string;
654
- } | {
655
- kind: "process";
656
- waitId: string;
657
- pid: number;
658
- deadline: string;
659
- note?: string | undefined;
660
- } | {
661
- kind: "plugin";
662
- pluginKind: string;
663
- waitId: string;
664
- summary: string;
665
- deadline?: string | undefined;
666
- } | {
667
- kind: "timer";
668
- waitId: string;
669
- at: string;
670
- note?: string | undefined;
671
- } | undefined;
672
- waitWakePending?: true | undefined;
673
- delegation?: {
674
- role: "invalid";
675
- } | {
676
- role: "root";
677
- wait?: {
678
- workerIds?: string[] | undefined;
679
- requestIds?: string[] | undefined;
680
- phase: "parked" | "registered" | "wake-pending";
681
- outcomes?: {
682
- workerId: string;
683
- }[] | undefined;
684
- } | undefined;
685
- } | {
686
- role: "worker";
687
- parentRunId: string;
688
- supervisorRunId?: string | undefined;
689
- wait?: {
690
- requestIds?: string[] | undefined;
691
- phase: "parked" | "registered" | "wake-pending";
692
- } | undefined;
693
- } | undefined;
694
- createdAt: string;
695
- finishedAt?: string | undefined;
696
- seenAt?: string | undefined;
697
- archived: boolean;
698
- autoResumeAt?: string | undefined;
699
- autoResumeReason?: "provider-error" | "usage-limit" | undefined;
700
- workflow: string;
701
- branch?: string | undefined;
702
- startedAt?: string | undefined;
703
- pullRequestUrl?: string | undefined;
704
- pullRequests?: {
705
- number: number;
706
- url?: string | undefined;
707
- source: "created" | "declared";
708
- }[] | undefined;
709
- referencedPullRequestUrl?: string | undefined;
710
- prNumber?: number | undefined;
711
- issueNumber?: number | undefined;
712
- referencedIssueUrl?: string | undefined;
713
- markerRefs?: {
714
- pr?: number | undefined;
715
- issue?: number | undefined;
716
- } | undefined;
717
- costUsd?: number | undefined;
718
- peakRssBytes?: number | undefined;
719
- peakProcCount?: number | undefined;
720
- usage?: {
721
- cpuPct: number;
722
- rssBytes: number;
723
- procCount: number;
724
- } | undefined;
725
- workflowLabel: string;
726
- groupId?: string | undefined;
727
- variant?: string | undefined;
728
- pinned?: boolean | undefined;
729
- automationId?: string | undefined;
730
- runner?: string | undefined;
731
- removedRunner?: string | undefined;
732
- model?: string | undefined;
733
- notify?: boolean | undefined;
734
- diffStat?: {
735
- adds: number;
736
- dels: number;
737
- files: number;
738
- repointed?: boolean | undefined;
739
- } | undefined;
740
- tokensUsed: number;
741
- inputTokens?: number | undefined;
742
- outputTokens?: number | undefined;
743
- currentStepId?: string | undefined;
744
- currentStepBackend?: string | undefined;
745
- error?: string | undefined;
746
- statePreview?: {
747
- kind: "ask" | "error" | "permission" | "review";
748
- text: string;
749
- } | undefined;
750
- worktreePath?: string | undefined;
751
- projectId: string;
752
- }[];
753
- referenceStatuses: {
754
- [x: string]: {
755
- prs: {
756
- [x: number]: "changes-requested" | "checks-failing" | "checks-pending" | "closed" | "completed" | "draft" | "merged" | "not-planned" | "open" | "ready" | "review-required";
757
- };
758
- issues: {
759
- [x: number]: "changes-requested" | "checks-failing" | "checks-pending" | "closed" | "completed" | "draft" | "merged" | "not-planned" | "open" | "ready" | "review-required";
760
- };
761
- };
762
- };
763
- perProjectLimit: number;
764
- truncated: string[];
765
- generation: string;
766
- eventSeq: number;
767
- };
768
- outputFormat: "json";
769
- status: import("hono/utils/http-status").ContentfulStatusCode;
770
- input: {};
771
- };
772
- };
773
- } & {
774
- "/workspace/runs-search": {
775
- $get: {
604
+ } | {
776
605
  output: {
777
606
  error: string;
778
- code?: "invalid_input" | undefined;
779
607
  };
780
608
  outputFormat: "json";
781
609
  status: 400;
782
610
  input: {
783
611
  query: {
784
- q: string | string[];
785
- limit?: number | undefined;
612
+ runner: string | string[];
613
+ profileId?: string | undefined;
786
614
  };
787
615
  };
788
- } | {
616
+ };
617
+ };
618
+ }, "/"> | import("hono/types").MergeSchemaPath<{
619
+ "/workspace/runs-index": {
620
+ $get: {
621
+ output: {
622
+ runs: {
623
+ id: string;
624
+ title: string;
625
+ titleSummary?: string | undefined;
626
+ titleOrigin?: "auto" | "marker" | "user" | undefined;
627
+ status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
628
+ hasPendingPermission?: boolean | undefined;
629
+ waitingOn?: {
630
+ kind: "human";
631
+ shown?: true | undefined;
632
+ } | {
633
+ kind: "usage-limit";
634
+ at: string;
635
+ } | {
636
+ kind: "workers";
637
+ count: number;
638
+ replies?: true | undefined;
639
+ peers?: true | undefined;
640
+ } | {
641
+ kind: "peers";
642
+ count: number;
643
+ } | {
644
+ kind: "subagents";
645
+ count: number;
646
+ } | {
647
+ kind: "pr";
648
+ until: "checks" | "merge" | "merge_or_blocked";
649
+ waitId: string;
650
+ prUrl: string;
651
+ repository: string;
652
+ prNumber: number;
653
+ deadline: string;
654
+ } | {
655
+ kind: "process";
656
+ waitId: string;
657
+ pid: number;
658
+ deadline: string;
659
+ note?: string | undefined;
660
+ } | {
661
+ kind: "plugin";
662
+ pluginKind: string;
663
+ waitId: string;
664
+ summary: string;
665
+ deadline?: string | undefined;
666
+ } | {
667
+ kind: "timer";
668
+ waitId: string;
669
+ at: string;
670
+ note?: string | undefined;
671
+ } | undefined;
672
+ waitWakePending?: true | undefined;
673
+ delegation?: {
674
+ role: "invalid";
675
+ } | {
676
+ role: "root";
677
+ wait?: {
678
+ workerIds?: string[] | undefined;
679
+ requestIds?: string[] | undefined;
680
+ phase: "parked" | "registered" | "wake-pending";
681
+ outcomes?: {
682
+ workerId: string;
683
+ }[] | undefined;
684
+ } | undefined;
685
+ } | {
686
+ role: "worker";
687
+ parentRunId: string;
688
+ supervisorRunId?: string | undefined;
689
+ wait?: {
690
+ requestIds?: string[] | undefined;
691
+ phase: "parked" | "registered" | "wake-pending";
692
+ } | undefined;
693
+ } | undefined;
694
+ createdAt: string;
695
+ finishedAt?: string | undefined;
696
+ seenAt?: string | undefined;
697
+ archived: boolean;
698
+ autoResumeAt?: string | undefined;
699
+ autoResumeReason?: "provider-error" | "usage-limit" | undefined;
700
+ workflow: string;
701
+ branch?: string | undefined;
702
+ startedAt?: string | undefined;
703
+ pullRequestUrl?: string | undefined;
704
+ pullRequests?: {
705
+ number: number;
706
+ url?: string | undefined;
707
+ source: "created" | "declared";
708
+ }[] | undefined;
709
+ referencedPullRequestUrl?: string | undefined;
710
+ prNumber?: number | undefined;
711
+ issueNumber?: number | undefined;
712
+ referencedIssueUrl?: string | undefined;
713
+ markerRefs?: {
714
+ pr?: number | undefined;
715
+ issue?: number | undefined;
716
+ } | undefined;
717
+ costUsd?: number | undefined;
718
+ peakRssBytes?: number | undefined;
719
+ peakProcCount?: number | undefined;
720
+ usage?: {
721
+ cpuPct: number;
722
+ rssBytes: number;
723
+ procCount: number;
724
+ } | undefined;
725
+ workflowLabel: string;
726
+ groupId?: string | undefined;
727
+ variant?: string | undefined;
728
+ pinned?: boolean | undefined;
729
+ automationId?: string | undefined;
730
+ runner?: string | undefined;
731
+ removedRunner?: string | undefined;
732
+ model?: string | undefined;
733
+ notify?: boolean | undefined;
734
+ diffStat?: {
735
+ adds: number;
736
+ dels: number;
737
+ files: number;
738
+ repointed?: boolean | undefined;
739
+ } | undefined;
740
+ tokensUsed: number;
741
+ inputTokens?: number | undefined;
742
+ outputTokens?: number | undefined;
743
+ currentStepId?: string | undefined;
744
+ currentStepBackend?: string | undefined;
745
+ error?: string | undefined;
746
+ statePreview?: {
747
+ kind: "ask" | "error" | "permission" | "review";
748
+ text: string;
749
+ } | undefined;
750
+ worktreePath?: string | undefined;
751
+ projectId: string;
752
+ }[];
753
+ referenceStatuses: {
754
+ [x: string]: {
755
+ prs: {
756
+ [x: number]: "changes-requested" | "checks-failing" | "checks-pending" | "closed" | "completed" | "draft" | "merged" | "not-planned" | "open" | "ready" | "review-required";
757
+ };
758
+ issues: {
759
+ [x: number]: "changes-requested" | "checks-failing" | "checks-pending" | "closed" | "completed" | "draft" | "merged" | "not-planned" | "open" | "ready" | "review-required";
760
+ };
761
+ };
762
+ };
763
+ perProjectLimit: number;
764
+ truncated: string[];
765
+ generation: string;
766
+ eventSeq: number;
767
+ };
768
+ outputFormat: "json";
769
+ status: import("hono/utils/http-status").ContentfulStatusCode;
770
+ input: {};
771
+ };
772
+ };
773
+ } & {
774
+ "/workspace/runs-search": {
775
+ $get: {
776
+ output: {
777
+ error: string;
778
+ code?: "invalid_input" | undefined;
779
+ };
780
+ outputFormat: "json";
781
+ status: 400;
782
+ input: {
783
+ query: {
784
+ q: string | string[];
785
+ limit?: number | undefined;
786
+ };
787
+ };
788
+ } | {
789
789
  output: {
790
790
  runs: {
791
791
  id: string;
@@ -969,10 +969,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
969
969
  "/workspace/config": {
970
970
  $put: {
971
971
  output: {
972
- error: string;
972
+ browseRoot: string;
973
+ projectsDir: string;
974
+ archiveOnMerge: boolean | null;
975
+ effectiveArchiveOnMerge: boolean;
976
+ archiveOnMergeSource: "default" | "environment" | "global";
977
+ composerDefaults: {
978
+ autonomous: boolean | null;
979
+ worktree: boolean | null;
980
+ inheritedAutonomous: "source-dependent" | boolean;
981
+ inheritedWorktree: boolean;
982
+ };
983
+ resources: {
984
+ maxParallel: number;
985
+ maxMonitoringSessions: number;
986
+ monitoringWakeIntervalMinutes: number | null;
987
+ autoResumeOnUsageLimit: boolean;
988
+ memoryLimitMb: number | null;
989
+ worktreeRetentionDefault: number;
990
+ };
991
+ agentDefaults: {
992
+ runner?: string | undefined;
993
+ models?: {
994
+ [x: string]: string | undefined;
995
+ } | undefined;
996
+ };
973
997
  };
974
998
  outputFormat: "json";
975
- status: 400;
999
+ status: import("hono/utils/http-status").ContentfulStatusCode;
976
1000
  input: {
977
1001
  json: {
978
1002
  browseRoot?: string | undefined;
@@ -1001,7 +1025,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1001
1025
  error: string;
1002
1026
  };
1003
1027
  outputFormat: "json";
1004
- status: 500;
1028
+ status: 400;
1005
1029
  input: {
1006
1030
  json: {
1007
1031
  browseRoot?: string | undefined;
@@ -1027,34 +1051,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1027
1051
  };
1028
1052
  } | {
1029
1053
  output: {
1030
- browseRoot: string;
1031
- projectsDir: string;
1032
- archiveOnMerge: boolean | null;
1033
- effectiveArchiveOnMerge: boolean;
1034
- archiveOnMergeSource: "default" | "environment" | "global";
1035
- composerDefaults: {
1036
- autonomous: boolean | null;
1037
- worktree: boolean | null;
1038
- inheritedAutonomous: "source-dependent" | boolean;
1039
- inheritedWorktree: boolean;
1040
- };
1041
- resources: {
1042
- maxParallel: number;
1043
- maxMonitoringSessions: number;
1044
- monitoringWakeIntervalMinutes: number | null;
1045
- autoResumeOnUsageLimit: boolean;
1046
- memoryLimitMb: number | null;
1047
- worktreeRetentionDefault: number;
1048
- };
1049
- agentDefaults: {
1050
- runner?: string | undefined;
1051
- models?: {
1052
- [x: string]: string | undefined;
1053
- } | undefined;
1054
- };
1054
+ error: string;
1055
1055
  };
1056
1056
  outputFormat: "json";
1057
- status: import("hono/utils/http-status").ContentfulStatusCode;
1057
+ status: 500;
1058
1058
  input: {
1059
1059
  json: {
1060
1060
  browseRoot?: string | undefined;
@@ -1126,10 +1126,41 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1126
1126
  "/workspace/ui-state": {
1127
1127
  $put: {
1128
1128
  output: {
1129
- error: string;
1129
+ [x: string]: import("hono/utils/types").JSONValue;
1130
+ sidebar?: {
1131
+ [x: string]: import("hono/utils/types").JSONValue;
1132
+ collapsed?: {
1133
+ [x: string]: boolean;
1134
+ } | undefined;
1135
+ projectOrder?: string[] | undefined;
1136
+ } | undefined;
1137
+ dismissedProviderAuthFailures?: {
1138
+ [x: string]: string | undefined;
1139
+ } | undefined;
1140
+ appearance?: {
1141
+ accent?: "cezarion" | "lime" | "violet" | undefined;
1142
+ density?: "comfortable" | "compact" | "ultra" | undefined;
1143
+ width?: "narrow" | "wide" | undefined;
1144
+ } | undefined;
1145
+ notifications?: {
1146
+ [x: string]: import("hono/utils/types").JSONValue;
1147
+ enabled?: boolean | undefined;
1148
+ } | undefined;
1149
+ taskTable?: {
1150
+ [x: string]: import("hono/utils/types").JSONValue;
1151
+ expandedColumns?: {
1152
+ [x: string]: boolean;
1153
+ } | undefined;
1154
+ } | undefined;
1155
+ lastLocation?: {
1156
+ projectId: string;
1157
+ pathname: string;
1158
+ search?: string | undefined;
1159
+ hash?: string | undefined;
1160
+ } | undefined;
1130
1161
  };
1131
1162
  outputFormat: "json";
1132
- status: 500;
1163
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1133
1164
  input: {
1134
1165
  json: {
1135
1166
  [x: string]: unknown;
@@ -1162,41 +1193,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1162
1193
  };
1163
1194
  } | {
1164
1195
  output: {
1165
- [x: string]: import("hono/utils/types").JSONValue;
1166
- sidebar?: {
1167
- [x: string]: import("hono/utils/types").JSONValue;
1168
- collapsed?: {
1169
- [x: string]: boolean;
1170
- } | undefined;
1171
- projectOrder?: string[] | undefined;
1172
- } | undefined;
1173
- dismissedProviderAuthFailures?: {
1174
- [x: string]: string | undefined;
1175
- } | undefined;
1176
- appearance?: {
1177
- accent?: "cezarion" | "lime" | "violet" | undefined;
1178
- density?: "comfortable" | "compact" | "ultra" | undefined;
1179
- width?: "narrow" | "wide" | undefined;
1180
- } | undefined;
1181
- notifications?: {
1182
- [x: string]: import("hono/utils/types").JSONValue;
1183
- enabled?: boolean | undefined;
1184
- } | undefined;
1185
- taskTable?: {
1186
- [x: string]: import("hono/utils/types").JSONValue;
1187
- expandedColumns?: {
1188
- [x: string]: boolean;
1189
- } | undefined;
1190
- } | undefined;
1191
- lastLocation?: {
1192
- projectId: string;
1193
- pathname: string;
1194
- search?: string | undefined;
1195
- hash?: string | undefined;
1196
- } | undefined;
1196
+ error: string;
1197
1197
  };
1198
1198
  outputFormat: "json";
1199
- status: import("hono/utils/http-status").ContentfulStatusCode;
1199
+ status: 500;
1200
1200
  input: {
1201
1201
  json: {
1202
1202
  [x: string]: unknown;
@@ -1284,10 +1284,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1284
1284
  };
1285
1285
  } | {
1286
1286
  output: {
1287
- error: string;
1287
+ providers: {
1288
+ requiresAccountHome?: boolean | undefined;
1289
+ provider: string;
1290
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1291
+ enabled?: boolean | undefined;
1292
+ hint?: string | undefined;
1293
+ authFailureId?: string | undefined;
1294
+ profileId?: string | undefined;
1295
+ }[];
1288
1296
  };
1289
1297
  outputFormat: "json";
1290
- status: 500;
1298
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1291
1299
  input: {
1292
1300
  param: {
1293
1301
  provider: string;
@@ -1299,18 +1307,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1299
1307
  };
1300
1308
  } | {
1301
1309
  output: {
1302
- providers: {
1303
- requiresAccountHome?: boolean | undefined;
1304
- provider: string;
1305
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1306
- enabled?: boolean | undefined;
1307
- hint?: string | undefined;
1308
- authFailureId?: string | undefined;
1309
- profileId?: string | undefined;
1310
- }[];
1310
+ error: string;
1311
1311
  };
1312
1312
  outputFormat: "json";
1313
- status: import("hono/utils/http-status").ContentfulStatusCode;
1313
+ status: 500;
1314
1314
  input: {
1315
1315
  param: {
1316
1316
  provider: string;
@@ -1342,10 +1342,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1342
1342
  };
1343
1343
  } | {
1344
1344
  output: {
1345
- error: string;
1345
+ providers: {
1346
+ requiresAccountHome?: boolean | undefined;
1347
+ provider: string;
1348
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1349
+ enabled?: boolean | undefined;
1350
+ hint?: string | undefined;
1351
+ authFailureId?: string | undefined;
1352
+ profileId?: string | undefined;
1353
+ }[];
1346
1354
  };
1347
1355
  outputFormat: "json";
1348
- status: 409;
1356
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1349
1357
  input: {
1350
1358
  param: {
1351
1359
  provider: string;
@@ -1357,18 +1365,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1357
1365
  };
1358
1366
  } | {
1359
1367
  output: {
1360
- providers: {
1361
- requiresAccountHome?: boolean | undefined;
1362
- provider: string;
1363
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1364
- enabled?: boolean | undefined;
1365
- hint?: string | undefined;
1366
- authFailureId?: string | undefined;
1367
- profileId?: string | undefined;
1368
- }[];
1368
+ error: string;
1369
1369
  };
1370
1370
  outputFormat: "json";
1371
- status: import("hono/utils/http-status").ContentfulStatusCode;
1371
+ status: 409;
1372
1372
  input: {
1373
1373
  param: {
1374
1374
  provider: string;
@@ -1387,7 +1387,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1387
1387
  error: string;
1388
1388
  };
1389
1389
  outputFormat: "json";
1390
- status: 400;
1390
+ status: 409;
1391
1391
  input: {
1392
1392
  json: {
1393
1393
  provider: string;
@@ -1399,7 +1399,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1399
1399
  error: string;
1400
1400
  };
1401
1401
  outputFormat: "json";
1402
- status: 409;
1402
+ status: 400;
1403
1403
  input: {
1404
1404
  json: {
1405
1405
  provider: string;
@@ -1454,7 +1454,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1454
1454
  error: string;
1455
1455
  };
1456
1456
  outputFormat: "json";
1457
- status: 400;
1457
+ status: 409;
1458
1458
  input: {
1459
1459
  json: {
1460
1460
  provider: string;
@@ -1466,7 +1466,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1466
1466
  error: string;
1467
1467
  };
1468
1468
  outputFormat: "json";
1469
- status: 409;
1469
+ status: 400;
1470
1470
  input: {
1471
1471
  json: {
1472
1472
  provider: string;
@@ -1709,28 +1709,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1709
1709
  "/workspace/agent-profiles": {
1710
1710
  $post: {
1711
1711
  output: {
1712
- profile: {
1713
- id: string;
1714
- provider: string;
1715
- label: string;
1716
- configDir?: string | undefined;
1717
- path?: string | undefined;
1718
- exists: boolean;
1719
- looksValid: boolean;
1720
- isDefault: boolean;
1721
- status?: {
1722
- requiresAccountHome?: boolean | undefined;
1723
- provider: string;
1724
- status: "connected" | "disconnected" | "not-installed" | "unknown";
1725
- enabled?: boolean | undefined;
1726
- hint?: string | undefined;
1727
- authFailureId?: string | undefined;
1728
- profileId?: string | undefined;
1729
- } | undefined;
1730
- };
1712
+ error: string;
1731
1713
  };
1732
1714
  outputFormat: "json";
1733
- status: 201;
1715
+ status: 409;
1734
1716
  input: {
1735
1717
  json: {
1736
1718
  provider: string;
@@ -1756,7 +1738,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1756
1738
  error: string;
1757
1739
  };
1758
1740
  outputFormat: "json";
1759
- status: 409;
1741
+ status: 500;
1760
1742
  input: {
1761
1743
  json: {
1762
1744
  provider: string;
@@ -1766,10 +1748,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1766
1748
  };
1767
1749
  } | {
1768
1750
  output: {
1769
- error: string;
1751
+ profile: {
1752
+ id: string;
1753
+ provider: string;
1754
+ label: string;
1755
+ configDir?: string | undefined;
1756
+ path?: string | undefined;
1757
+ exists: boolean;
1758
+ looksValid: boolean;
1759
+ isDefault: boolean;
1760
+ status?: {
1761
+ requiresAccountHome?: boolean | undefined;
1762
+ provider: string;
1763
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
1764
+ enabled?: boolean | undefined;
1765
+ hint?: string | undefined;
1766
+ authFailureId?: string | undefined;
1767
+ profileId?: string | undefined;
1768
+ } | undefined;
1769
+ };
1770
1770
  };
1771
1771
  outputFormat: "json";
1772
- status: 500;
1772
+ status: 201;
1773
1773
  input: {
1774
1774
  json: {
1775
1775
  provider: string;
@@ -1803,7 +1803,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1803
1803
  error: string;
1804
1804
  };
1805
1805
  outputFormat: "json";
1806
- status: 400;
1806
+ status: 409;
1807
1807
  input: {
1808
1808
  param: {
1809
1809
  id: string;
@@ -1819,7 +1819,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1819
1819
  error: string;
1820
1820
  };
1821
1821
  outputFormat: "json";
1822
- status: 404;
1822
+ status: 400;
1823
1823
  input: {
1824
1824
  param: {
1825
1825
  id: string;
@@ -1835,7 +1835,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1835
1835
  error: string;
1836
1836
  };
1837
1837
  outputFormat: "json";
1838
- status: 409;
1838
+ status: 404;
1839
1839
  input: {
1840
1840
  param: {
1841
1841
  id: string;
@@ -1963,7 +1963,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1963
1963
  error: string;
1964
1964
  };
1965
1965
  outputFormat: "json";
1966
- status: 400;
1966
+ status: 404;
1967
1967
  input: {
1968
1968
  json: {
1969
1969
  projectId: string;
@@ -1976,7 +1976,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1976
1976
  error: string;
1977
1977
  };
1978
1978
  outputFormat: "json";
1979
- status: 404;
1979
+ status: 400;
1980
1980
  input: {
1981
1981
  json: {
1982
1982
  projectId: string;
@@ -2040,7 +2040,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2040
2040
  error: string;
2041
2041
  };
2042
2042
  outputFormat: "json";
2043
- status: 404;
2043
+ status: 409;
2044
2044
  input: {
2045
2045
  param: {
2046
2046
  id: string;
@@ -2051,7 +2051,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2051
2051
  error: string;
2052
2052
  };
2053
2053
  outputFormat: "json";
2054
- status: 409;
2054
+ status: 500;
2055
2055
  input: {
2056
2056
  param: {
2057
2057
  id: string;
@@ -2062,7 +2062,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2062
2062
  error: string;
2063
2063
  };
2064
2064
  outputFormat: "json";
2065
- status: 500;
2065
+ status: 404;
2066
2066
  input: {
2067
2067
  param: {
2068
2068
  id: string;
@@ -2126,6 +2126,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2126
2126
  } & {
2127
2127
  "/projects": {
2128
2128
  $post: {
2129
+ output: {
2130
+ error: string;
2131
+ };
2132
+ outputFormat: "json";
2133
+ status: 400 | 500;
2134
+ input: {
2135
+ json: {
2136
+ root: string;
2137
+ };
2138
+ };
2139
+ } | {
2129
2140
  output: {
2130
2141
  project: {
2131
2142
  id: string;
@@ -2156,10 +2167,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2156
2167
  agent: boolean;
2157
2168
  }[] | undefined;
2158
2169
  };
2159
- error?: string | undefined;
2170
+ error: string;
2160
2171
  };
2161
2172
  outputFormat: "json";
2162
- status: 200;
2173
+ status: 409;
2163
2174
  input: {
2164
2175
  json: {
2165
2176
  root: string;
@@ -2196,21 +2207,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2196
2207
  agent: boolean;
2197
2208
  }[] | undefined;
2198
2209
  };
2199
- error: string;
2200
- };
2201
- outputFormat: "json";
2202
- status: 409;
2203
- input: {
2204
- json: {
2205
- root: string;
2206
- };
2207
- };
2208
- } | {
2209
- output: {
2210
- error: string;
2210
+ error?: string | undefined;
2211
2211
  };
2212
2212
  outputFormat: "json";
2213
- status: 400 | 500;
2213
+ status: 200;
2214
2214
  input: {
2215
2215
  json: {
2216
2216
  root: string;
@@ -2369,7 +2369,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2369
2369
  error: string;
2370
2370
  };
2371
2371
  outputFormat: "json";
2372
- status: 400;
2372
+ status: 404;
2373
2373
  input: {
2374
2374
  param: {
2375
2375
  projectId: string;
@@ -2380,7 +2380,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2380
2380
  error: string;
2381
2381
  };
2382
2382
  outputFormat: "json";
2383
- status: 404;
2383
+ status: 400;
2384
2384
  input: {
2385
2385
  param: {
2386
2386
  projectId: string;
@@ -2405,6 +2405,27 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2405
2405
  } & {
2406
2406
  "/projects/:projectId/webhooks": {
2407
2407
  $post: {
2408
+ output: {
2409
+ error: string;
2410
+ };
2411
+ outputFormat: "json";
2412
+ status: 400 | 404 | 409 | 500;
2413
+ input: {
2414
+ json: {
2415
+ name: string;
2416
+ description?: string | undefined;
2417
+ url: string;
2418
+ token?: string | undefined;
2419
+ tasks?: boolean | undefined;
2420
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2421
+ agent?: boolean | undefined;
2422
+ };
2423
+ } & {
2424
+ param: {
2425
+ projectId: string;
2426
+ };
2427
+ };
2428
+ } | {
2408
2429
  output: {
2409
2430
  project: {
2410
2431
  id: string;
@@ -2463,27 +2484,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2463
2484
  projectId: string;
2464
2485
  };
2465
2486
  };
2466
- } | {
2467
- output: {
2468
- error: string;
2469
- };
2470
- outputFormat: "json";
2471
- status: 400 | 404 | 409 | 500;
2472
- input: {
2473
- json: {
2474
- name: string;
2475
- description?: string | undefined;
2476
- url: string;
2477
- token?: string | undefined;
2478
- tasks?: boolean | undefined;
2479
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2480
- agent?: boolean | undefined;
2481
- };
2482
- } & {
2483
- param: {
2484
- projectId: string;
2485
- };
2486
- };
2487
2487
  };
2488
2488
  };
2489
2489
  } & {
@@ -2681,10 +2681,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2681
2681
  };
2682
2682
  } | {
2683
2683
  output: {
2684
- error: string;
2684
+ ok: boolean;
2685
+ status?: number | undefined;
2686
+ error?: string | undefined;
2687
+ dryRun?: boolean | undefined;
2685
2688
  };
2686
2689
  outputFormat: "json";
2687
- status: 404;
2690
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2688
2691
  input: {
2689
2692
  param: {
2690
2693
  projectId: string;
@@ -2693,13 +2696,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2693
2696
  };
2694
2697
  } | {
2695
2698
  output: {
2696
- ok: boolean;
2697
- status?: number | undefined;
2698
- error?: string | undefined;
2699
- dryRun?: boolean | undefined;
2699
+ error: string;
2700
2700
  };
2701
2701
  outputFormat: "json";
2702
- status: import("hono/utils/http-status").ContentfulStatusCode;
2702
+ status: 404;
2703
2703
  input: {
2704
2704
  param: {
2705
2705
  projectId: string;
@@ -2940,15 +2940,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2940
2940
  "/runner-install/:runner": {
2941
2941
  $post: {
2942
2942
  output: {
2943
- supported: boolean;
2944
- installedVersion: string | null;
2945
- latestVersion: string | null;
2946
- updateAvailable: boolean;
2947
- phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
2948
- error: string | null;
2943
+ error: string;
2944
+ code?: "invalid_input" | undefined;
2949
2945
  };
2950
2946
  outputFormat: "json";
2951
- status: 202;
2947
+ status: 400;
2952
2948
  input: {
2953
2949
  param: {
2954
2950
  runner: string;
@@ -2960,11 +2956,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2960
2956
  };
2961
2957
  } | {
2962
2958
  output: {
2963
- error: string;
2964
- code?: "invalid_input" | undefined;
2959
+ supported: boolean;
2960
+ installedVersion: string | null;
2961
+ latestVersion: string | null;
2962
+ updateAvailable: boolean;
2963
+ phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
2964
+ error: string | null;
2965
2965
  };
2966
2966
  outputFormat: "json";
2967
- status: 400;
2967
+ status: 202;
2968
2968
  input: {
2969
2969
  param: {
2970
2970
  runner: string;
@@ -3321,6 +3321,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3321
3321
  }, "/"> | import("hono/types").MergeSchemaPath<{
3322
3322
  "/plan": {
3323
3323
  $post: {
3324
+ output: {
3325
+ error: string;
3326
+ };
3327
+ outputFormat: "json";
3328
+ status: 400 | 404 | 409;
3329
+ input: {
3330
+ json: {
3331
+ task: string;
3332
+ agentProfile?: string | undefined;
3333
+ };
3334
+ };
3335
+ } | {
3324
3336
  output: {
3325
3337
  name?: string;
3326
3338
  steps: {
@@ -3357,18 +3369,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3357
3369
  agentProfile?: string | undefined;
3358
3370
  };
3359
3371
  };
3360
- } | {
3361
- output: {
3362
- error: string;
3363
- };
3364
- outputFormat: "json";
3365
- status: 400 | 404 | 409;
3366
- input: {
3367
- json: {
3368
- task: string;
3369
- agentProfile?: string | undefined;
3370
- };
3371
- };
3372
3372
  };
3373
3373
  };
3374
3374
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -3393,7 +3393,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3393
3393
  error: string;
3394
3394
  };
3395
3395
  outputFormat: "json";
3396
- status: 400;
3396
+ status: 409;
3397
3397
  input: {
3398
3398
  json: {
3399
3399
  target: string;
@@ -3404,7 +3404,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3404
3404
  error: string;
3405
3405
  };
3406
3406
  outputFormat: "json";
3407
- status: 409;
3407
+ status: 400;
3408
3408
  input: {
3409
3409
  json: {
3410
3410
  target: string;
@@ -3471,10 +3471,42 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3471
3471
  "/ui-state": {
3472
3472
  $put: {
3473
3473
  output: {
3474
- error: string;
3474
+ [x: string]: import("hono/utils/types").JSONValue;
3475
+ sidebarLimits?: {
3476
+ overall?: number | null | undefined;
3477
+ needsYou?: number | null | undefined;
3478
+ finished?: number | null | undefined;
3479
+ working?: number | null | undefined;
3480
+ } | undefined;
3481
+ lastTask?: {
3482
+ source: "skill" | "workflow";
3483
+ ref: string;
3484
+ } | null | undefined;
3485
+ recentSources?: {
3486
+ source: "skill" | "workflow";
3487
+ ref: string;
3488
+ }[] | undefined;
3489
+ lastWorktree?: boolean | undefined;
3490
+ lastAutonomous?: boolean | undefined;
3491
+ skillUsage?: {
3492
+ [x: string]: number;
3493
+ } | undefined;
3494
+ runsView?: "list" | "table" | undefined;
3495
+ githubView?: "issues" | "prs" | undefined;
3496
+ appearance?: {
3497
+ accent?: "cezarion" | "lime" | "violet" | undefined;
3498
+ density?: "comfortable" | "compact" | "ultra" | undefined;
3499
+ width?: "narrow" | "wide" | undefined;
3500
+ } | undefined;
3501
+ promptTemplates?: {
3502
+ id: string;
3503
+ label: string;
3504
+ text: string;
3505
+ skills?: string[] | undefined;
3506
+ }[] | undefined;
3475
3507
  };
3476
3508
  outputFormat: "json";
3477
- status: 500;
3509
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3478
3510
  input: {
3479
3511
  json: {
3480
3512
  [x: string]: unknown;
@@ -3512,42 +3544,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3512
3544
  };
3513
3545
  } | {
3514
3546
  output: {
3515
- [x: string]: import("hono/utils/types").JSONValue;
3516
- sidebarLimits?: {
3517
- overall?: number | null | undefined;
3518
- needsYou?: number | null | undefined;
3519
- finished?: number | null | undefined;
3520
- working?: number | null | undefined;
3521
- } | undefined;
3522
- lastTask?: {
3523
- source: "skill" | "workflow";
3524
- ref: string;
3525
- } | null | undefined;
3526
- recentSources?: {
3527
- source: "skill" | "workflow";
3528
- ref: string;
3529
- }[] | undefined;
3530
- lastWorktree?: boolean | undefined;
3531
- lastAutonomous?: boolean | undefined;
3532
- skillUsage?: {
3533
- [x: string]: number;
3534
- } | undefined;
3535
- runsView?: "list" | "table" | undefined;
3536
- githubView?: "issues" | "prs" | undefined;
3537
- appearance?: {
3538
- accent?: "cezarion" | "lime" | "violet" | undefined;
3539
- density?: "comfortable" | "compact" | "ultra" | undefined;
3540
- width?: "narrow" | "wide" | undefined;
3541
- } | undefined;
3542
- promptTemplates?: {
3543
- id: string;
3544
- label: string;
3545
- text: string;
3546
- skills?: string[] | undefined;
3547
- }[] | undefined;
3547
+ error: string;
3548
3548
  };
3549
3549
  outputFormat: "json";
3550
- status: import("hono/utils/http-status").ContentfulStatusCode;
3550
+ status: 500;
3551
3551
  input: {
3552
3552
  json: {
3553
3553
  [x: string]: unknown;
@@ -3588,12 +3588,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3588
3588
  }, "/"> | import("hono/types").MergeSchemaPath<{
3589
3589
  "/runs/:id/events": {
3590
3590
  $get: {
3591
- output: {
3592
- error: string;
3593
- code?: "invalid_input" | undefined;
3594
- };
3595
- outputFormat: "json";
3596
- status: 400;
3591
+ output: {};
3592
+ outputFormat: string;
3593
+ status: import("hono/utils/http-status").StatusCode;
3597
3594
  input: {
3598
3595
  param: {
3599
3596
  id: string;
@@ -3605,9 +3602,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3605
3602
  };
3606
3603
  };
3607
3604
  } | {
3608
- output: {};
3609
- outputFormat: string;
3610
- status: import("hono/utils/http-status").StatusCode;
3605
+ output: {
3606
+ error: string;
3607
+ code?: "invalid_input" | undefined;
3608
+ };
3609
+ outputFormat: "json";
3610
+ status: 400;
3611
3611
  input: {
3612
3612
  param: {
3613
3613
  id: string;
@@ -3661,97 +3661,97 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3661
3661
  };
3662
3662
  outputFormat: "json";
3663
3663
  status: import("hono/utils/http-status").ContentfulStatusCode;
3664
- input: {};
3665
- };
3666
- };
3667
- } & {
3668
- "/config": {
3669
- $put: {
3670
- output: {
3671
- error: string;
3672
- };
3673
- outputFormat: "json";
3674
- status: 409;
3675
- input: {
3676
- json: {
3677
- archiveOnMerge?: boolean | null | undefined;
3678
- baseBranch?: string | null | undefined;
3679
- defaultRunner?: string | undefined;
3680
- defaultModels?: Record<string, string | null | undefined> | undefined;
3681
- maxParallel?: number | undefined;
3682
- memoryLimitMb?: number | null | undefined;
3683
- worktreeRetention?: number | null | undefined;
3684
- liveTitleUpdates?: boolean | null | undefined;
3685
- reviewGate?: boolean | null | undefined;
3686
- worktreeSetup?: {
3687
- commands: string[];
3688
- timeoutSeconds?: number | undefined;
3689
- } | null | undefined;
3690
- worktreeTeardown?: {
3691
- commands: string[];
3692
- timeoutSeconds?: number | undefined;
3693
- } | null | undefined;
3694
- systemPrompt?: string | null | undefined;
3695
- };
3696
- };
3697
- } | {
3698
- output: {
3699
- error: string;
3700
- };
3701
- outputFormat: "json";
3702
- status: 500;
3703
- input: {
3704
- json: {
3705
- archiveOnMerge?: boolean | null | undefined;
3706
- baseBranch?: string | null | undefined;
3707
- defaultRunner?: string | undefined;
3708
- defaultModels?: Record<string, string | null | undefined> | undefined;
3709
- maxParallel?: number | undefined;
3710
- memoryLimitMb?: number | null | undefined;
3711
- worktreeRetention?: number | null | undefined;
3712
- liveTitleUpdates?: boolean | null | undefined;
3713
- reviewGate?: boolean | null | undefined;
3714
- worktreeSetup?: {
3715
- commands: string[];
3716
- timeoutSeconds?: number | undefined;
3717
- } | null | undefined;
3718
- worktreeTeardown?: {
3719
- commands: string[];
3720
- timeoutSeconds?: number | undefined;
3721
- } | null | undefined;
3722
- systemPrompt?: string | null | undefined;
3723
- };
3724
- };
3725
- } | {
3726
- 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;
3752
- };
3753
- outputFormat: "json";
3754
- status: import("hono/utils/http-status").ContentfulStatusCode;
3664
+ input: {};
3665
+ };
3666
+ };
3667
+ } & {
3668
+ "/config": {
3669
+ $put: {
3670
+ output: {
3671
+ archiveOnMerge: boolean | null;
3672
+ effectiveArchiveOnMerge: boolean;
3673
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
3674
+ baseBranch: string | null;
3675
+ defaultRunner: string;
3676
+ systemPrompt: string | null;
3677
+ defaultModels: {
3678
+ [x: string]: string | undefined;
3679
+ };
3680
+ modelsLocked: boolean;
3681
+ maxParallel: number;
3682
+ memoryLimitMb: number | null;
3683
+ worktreeRetention: number;
3684
+ liveTitleUpdates: boolean | null;
3685
+ reviewGate: boolean | null;
3686
+ worktreeSetup: {
3687
+ commands: string[];
3688
+ timeoutSeconds: number;
3689
+ } | null;
3690
+ worktreeSetupIssue: string | null;
3691
+ worktreeTeardown: {
3692
+ commands: string[];
3693
+ timeoutSeconds: number;
3694
+ } | null;
3695
+ worktreeTeardownIssue: string | null;
3696
+ };
3697
+ outputFormat: "json";
3698
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3699
+ input: {
3700
+ json: {
3701
+ archiveOnMerge?: boolean | null | undefined;
3702
+ baseBranch?: string | null | undefined;
3703
+ defaultRunner?: string | undefined;
3704
+ defaultModels?: Record<string, string | null | undefined> | undefined;
3705
+ maxParallel?: number | undefined;
3706
+ memoryLimitMb?: number | null | undefined;
3707
+ worktreeRetention?: number | null | undefined;
3708
+ liveTitleUpdates?: boolean | null | undefined;
3709
+ reviewGate?: boolean | null | undefined;
3710
+ worktreeSetup?: {
3711
+ commands: string[];
3712
+ timeoutSeconds?: number | undefined;
3713
+ } | null | undefined;
3714
+ worktreeTeardown?: {
3715
+ commands: string[];
3716
+ timeoutSeconds?: number | undefined;
3717
+ } | null | undefined;
3718
+ systemPrompt?: string | null | undefined;
3719
+ };
3720
+ };
3721
+ } | {
3722
+ output: {
3723
+ error: string;
3724
+ };
3725
+ outputFormat: "json";
3726
+ status: 409;
3727
+ input: {
3728
+ json: {
3729
+ archiveOnMerge?: boolean | null | undefined;
3730
+ baseBranch?: string | null | undefined;
3731
+ defaultRunner?: string | undefined;
3732
+ defaultModels?: Record<string, string | null | undefined> | undefined;
3733
+ maxParallel?: number | undefined;
3734
+ memoryLimitMb?: number | null | undefined;
3735
+ worktreeRetention?: number | null | undefined;
3736
+ liveTitleUpdates?: boolean | null | undefined;
3737
+ reviewGate?: boolean | null | undefined;
3738
+ worktreeSetup?: {
3739
+ commands: string[];
3740
+ timeoutSeconds?: number | undefined;
3741
+ } | null | undefined;
3742
+ worktreeTeardown?: {
3743
+ commands: string[];
3744
+ timeoutSeconds?: number | undefined;
3745
+ } | null | undefined;
3746
+ systemPrompt?: string | null | undefined;
3747
+ };
3748
+ };
3749
+ } | {
3750
+ output: {
3751
+ error: string;
3752
+ };
3753
+ outputFormat: "json";
3754
+ status: 500;
3755
3755
  input: {
3756
3756
  json: {
3757
3757
  archiveOnMerge?: boolean | null | undefined;
@@ -3900,7 +3900,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3900
3900
  error: string;
3901
3901
  };
3902
3902
  outputFormat: "json";
3903
- status: 400;
3903
+ status: 409;
3904
3904
  input: {
3905
3905
  query: {
3906
3906
  q?: string | undefined;
@@ -3913,7 +3913,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3913
3913
  error: string;
3914
3914
  };
3915
3915
  outputFormat: "json";
3916
- status: 409;
3916
+ status: 400;
3917
3917
  input: {
3918
3918
  query: {
3919
3919
  q?: string | undefined;
@@ -4018,11 +4018,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4018
4018
  };
4019
4019
  } | {
4020
4020
  output: {
4021
- runId: string;
4022
- worktreeReclaimedAt: string;
4021
+ error: string;
4023
4022
  };
4024
4023
  outputFormat: "json";
4025
- status: import("hono/utils/http-status").ContentfulStatusCode;
4024
+ status: 404 | 409;
4026
4025
  input: {
4027
4026
  param: {
4028
4027
  runId: string;
@@ -4034,10 +4033,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4034
4033
  };
4035
4034
  } | {
4036
4035
  output: {
4037
- error: string;
4036
+ runId: string;
4037
+ worktreeReclaimedAt: string;
4038
4038
  };
4039
4039
  outputFormat: "json";
4040
- status: 404 | 409;
4040
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4041
4041
  input: {
4042
4042
  param: {
4043
4043
  runId: string;
@@ -4137,10 +4137,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4137
4137
  "/agent-config/:id": {
4138
4138
  $put: {
4139
4139
  output: {
4140
- error: string;
4140
+ id: string;
4141
+ path: string;
4142
+ exists: boolean;
4143
+ content: string;
4144
+ version: string | null;
4141
4145
  };
4142
4146
  outputFormat: "json";
4143
- status: 404;
4147
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4144
4148
  input: {
4145
4149
  json: {
4146
4150
  content: string;
@@ -4153,14 +4157,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4153
4157
  };
4154
4158
  } | {
4155
4159
  output: {
4156
- id: string;
4157
- path: string;
4158
- exists: boolean;
4159
- content: string;
4160
- version: string | null;
4160
+ error: string;
4161
4161
  };
4162
4162
  outputFormat: "json";
4163
- status: import("hono/utils/http-status").ContentfulStatusCode;
4163
+ status: 404;
4164
4164
  input: {
4165
4165
  json: {
4166
4166
  content: string;
@@ -4337,11 +4337,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4337
4337
  "/workflows": {
4338
4338
  $post: {
4339
4339
  output: {
4340
- path: string;
4341
- name: string;
4340
+ error: string;
4342
4341
  };
4343
4342
  outputFormat: "json";
4344
- status: 201;
4343
+ status: 400;
4345
4344
  input: {
4346
4345
  json: {
4347
4346
  name: string;
@@ -4374,9 +4373,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4374
4373
  } | {
4375
4374
  output: {
4376
4375
  error: string;
4376
+ exists: true;
4377
4377
  };
4378
4378
  outputFormat: "json";
4379
- status: 400;
4379
+ status: 409;
4380
4380
  input: {
4381
4381
  json: {
4382
4382
  name: string;
@@ -4409,10 +4409,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4409
4409
  } | {
4410
4410
  output: {
4411
4411
  error: string;
4412
- exists: true;
4413
4412
  };
4414
4413
  outputFormat: "json";
4415
- status: 409;
4414
+ status: 500;
4416
4415
  input: {
4417
4416
  json: {
4418
4417
  name: string;
@@ -4444,10 +4443,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4444
4443
  };
4445
4444
  } | {
4446
4445
  output: {
4447
- error: string;
4446
+ path: string;
4447
+ name: string;
4448
4448
  };
4449
4449
  outputFormat: "json";
4450
- status: 500;
4450
+ status: 201;
4451
4451
  input: {
4452
4452
  json: {
4453
4453
  name: string;
@@ -4483,11 +4483,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4483
4483
  "/workflows/:name": {
4484
4484
  $delete: {
4485
4485
  output: {
4486
- ok: true;
4487
- path: string;
4486
+ error: string;
4488
4487
  };
4489
4488
  outputFormat: "json";
4490
- status: import("hono/utils/http-status").ContentfulStatusCode;
4489
+ status: 400 | 404 | 409 | 500;
4491
4490
  input: {
4492
4491
  param: {
4493
4492
  name: string;
@@ -4495,10 +4494,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4495
4494
  };
4496
4495
  } | {
4497
4496
  output: {
4498
- error: string;
4497
+ ok: true;
4498
+ path: string;
4499
4499
  };
4500
4500
  outputFormat: "json";
4501
- status: 400 | 404 | 409 | 500;
4501
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4502
4502
  input: {
4503
4503
  param: {
4504
4504
  name: string;
@@ -4674,18 +4674,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4674
4674
  "/repo/branches/delete": {
4675
4675
  $post: {
4676
4676
  output: {
4677
- deleted: string[];
4677
+ error: string;
4678
4678
  refused: {
4679
4679
  name: string;
4680
4680
  reason: string;
4681
4681
  }[];
4682
- dropped?: {
4683
- sha: string;
4684
- subject: string;
4685
- }[] | undefined;
4686
4682
  };
4687
4683
  outputFormat: "json";
4688
- status: 200;
4684
+ status: 409;
4689
4685
  input: {
4690
4686
  json: {
4691
4687
  names: string[];
@@ -4694,14 +4690,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4694
4690
  };
4695
4691
  } | {
4696
4692
  output: {
4697
- error: string;
4693
+ deleted: string[];
4698
4694
  refused: {
4699
4695
  name: string;
4700
4696
  reason: string;
4701
4697
  }[];
4698
+ dropped?: {
4699
+ sha: string;
4700
+ subject: string;
4701
+ }[] | undefined;
4702
4702
  };
4703
4703
  outputFormat: "json";
4704
- status: 409;
4704
+ status: 200;
4705
4705
  input: {
4706
4706
  json: {
4707
4707
  names: string[];
@@ -4722,6 +4722,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4722
4722
  } & {
4723
4723
  "/repo/commit/:sha": {
4724
4724
  $get: {
4725
+ output: string;
4726
+ outputFormat: "text";
4727
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4728
+ input: {
4729
+ query: {
4730
+ structured?: string | undefined;
4731
+ };
4732
+ } & {
4733
+ param: {
4734
+ sha: string;
4735
+ };
4736
+ };
4737
+ } | {
4725
4738
  output: {
4726
4739
  error: string;
4727
4740
  code?: "invalid_input" | undefined;
@@ -4785,19 +4798,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4785
4798
  sha: string;
4786
4799
  };
4787
4800
  };
4788
- } | {
4789
- output: string;
4790
- outputFormat: "text";
4791
- status: import("hono/utils/http-status").ContentfulStatusCode;
4792
- input: {
4793
- query: {
4794
- structured?: string | undefined;
4795
- };
4796
- } & {
4797
- param: {
4798
- sha: string;
4799
- };
4800
- };
4801
4801
  };
4802
4802
  };
4803
4803
  } & {
@@ -4858,12 +4858,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4858
4858
  "/repo/pull": {
4859
4859
  $post: {
4860
4860
  output: {
4861
- branch: string;
4862
- pulled: true;
4863
- summary: string;
4861
+ error: string;
4864
4862
  };
4865
4863
  outputFormat: "json";
4866
- status: 200;
4864
+ status: 409;
4867
4865
  input: {
4868
4866
  json: {
4869
4867
  branch?: string | undefined;
@@ -4872,10 +4870,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4872
4870
  };
4873
4871
  } | {
4874
4872
  output: {
4875
- error: string;
4873
+ branch: string;
4874
+ pulled: true;
4875
+ summary: string;
4876
4876
  };
4877
4877
  outputFormat: "json";
4878
- status: 409;
4878
+ status: 200;
4879
4879
  input: {
4880
4880
  json: {
4881
4881
  branch?: string | undefined;
@@ -6825,18 +6825,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6825
6825
  } & {
6826
6826
  "/run-summaries": {
6827
6827
  $get: {
6828
- output: {
6829
- error: string;
6830
- code?: "invalid_input" | undefined;
6831
- };
6832
- outputFormat: "json";
6833
- status: 400;
6834
- input: {
6835
- query: {
6836
- archived?: "all" | "recent" | undefined;
6837
- };
6838
- };
6839
- } | {
6840
6828
  output: {
6841
6829
  id: string;
6842
6830
  title: string;
@@ -6974,6 +6962,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6974
6962
  archived?: "all" | "recent" | undefined;
6975
6963
  };
6976
6964
  };
6965
+ } | {
6966
+ output: {
6967
+ error: string;
6968
+ code?: "invalid_input" | undefined;
6969
+ };
6970
+ outputFormat: "json";
6971
+ status: 400;
6972
+ input: {
6973
+ query: {
6974
+ archived?: "all" | "recent" | undefined;
6975
+ };
6976
+ };
6977
6977
  };
6978
6978
  };
6979
6979
  } & {
@@ -7335,24 +7335,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7335
7335
  "/runs/:id/worker-destroy": {
7336
7336
  $post: {
7337
7337
  output: {
7338
- workerId: string;
7339
- state: "complete" | "incomplete";
7340
- work?: {
7341
- uncommittedFiles: number;
7342
- commits: number;
7343
- } | undefined;
7344
- deleted?: ({
7345
- kind: "worktree";
7346
- path: string;
7347
- } | {
7348
- kind: "branch";
7349
- ref: string;
7350
- })[] | undefined;
7351
- remaining: ("branch" | "process" | "worktree")[];
7352
- error?: string | undefined;
7338
+ error: string;
7339
+ code?: "invalid_input" | undefined;
7353
7340
  };
7354
7341
  outputFormat: "json";
7355
- status: 200;
7342
+ status: 400;
7356
7343
  input: {
7357
7344
  query: {
7358
7345
  [x: string]: string | string[];
@@ -7368,11 +7355,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7368
7355
  };
7369
7356
  } | {
7370
7357
  output: {
7371
- error: string;
7372
- code?: "invalid_input" | undefined;
7358
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
7359
+ readonly error: string;
7360
+ readonly modelChoices?: {
7361
+ runner: string;
7362
+ requestedModel: string;
7363
+ availableModels: {
7364
+ id: string;
7365
+ label: string;
7366
+ description: string;
7367
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
7368
+ }[];
7369
+ otherRunners: string[];
7370
+ } | undefined;
7373
7371
  };
7374
7372
  outputFormat: "json";
7375
- status: 400;
7373
+ status: 400 | 401 | 403 | 409 | 503;
7376
7374
  input: {
7377
7375
  query: {
7378
7376
  [x: string]: string | string[];
@@ -7405,7 +7403,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7405
7403
  error?: string | undefined;
7406
7404
  };
7407
7405
  outputFormat: "json";
7408
- status: 409;
7406
+ status: 200;
7409
7407
  input: {
7410
7408
  query: {
7411
7409
  [x: string]: string | string[];
@@ -7421,22 +7419,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7421
7419
  };
7422
7420
  } | {
7423
7421
  output: {
7424
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
7425
- readonly error: string;
7426
- readonly modelChoices?: {
7427
- runner: string;
7428
- requestedModel: string;
7429
- availableModels: {
7430
- id: string;
7431
- label: string;
7432
- description: string;
7433
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
7434
- }[];
7435
- otherRunners: string[];
7422
+ workerId: string;
7423
+ state: "complete" | "incomplete";
7424
+ work?: {
7425
+ uncommittedFiles: number;
7426
+ commits: number;
7436
7427
  } | undefined;
7428
+ deleted?: ({
7429
+ kind: "worktree";
7430
+ path: string;
7431
+ } | {
7432
+ kind: "branch";
7433
+ ref: string;
7434
+ })[] | undefined;
7435
+ remaining: ("branch" | "process" | "worktree")[];
7436
+ error?: string | undefined;
7437
7437
  };
7438
7438
  outputFormat: "json";
7439
- status: 400 | 401 | 403 | 409 | 503;
7439
+ status: 409;
7440
7440
  input: {
7441
7441
  query: {
7442
7442
  [x: string]: string | string[];
@@ -7488,21 +7488,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7488
7488
  } & {
7489
7489
  "/runs/:id/archive": {
7490
7490
  $post: {
7491
- output: {
7492
- error: string;
7493
- };
7494
- outputFormat: "json";
7495
- status: 404;
7496
- input: {
7497
- json: {
7498
- archived?: boolean | undefined;
7499
- };
7500
- } & {
7501
- param: {
7502
- id: string;
7503
- };
7504
- };
7505
- } | {
7506
7491
  output: {
7507
7492
  archiveWhenDone?: boolean | undefined;
7508
7493
  autoMergePr?: boolean | undefined;
@@ -8682,32 +8667,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8682
8667
  id: string;
8683
8668
  };
8684
8669
  };
8685
- };
8686
- };
8687
- } & {
8688
- "/runs/:id/pin": {
8689
- $post: {
8670
+ } | {
8690
8671
  output: {
8691
8672
  error: string;
8692
- code?: "invalid_input" | undefined;
8693
8673
  };
8694
8674
  outputFormat: "json";
8695
- status: 400;
8675
+ status: 404;
8696
8676
  input: {
8697
- param: {
8698
- id: string;
8677
+ json: {
8678
+ archived?: boolean | undefined;
8699
8679
  };
8700
8680
  } & {
8701
- json: {
8702
- pinned?: boolean | undefined;
8681
+ param: {
8682
+ id: string;
8703
8683
  };
8704
8684
  };
8705
- } | {
8685
+ };
8686
+ };
8687
+ } & {
8688
+ "/runs/:id/pin": {
8689
+ $post: {
8706
8690
  output: {
8707
8691
  error: string;
8692
+ code?: "invalid_input" | undefined;
8708
8693
  };
8709
8694
  outputFormat: "json";
8710
- status: 404;
8695
+ status: 400;
8711
8696
  input: {
8712
8697
  param: {
8713
8698
  id: string;
@@ -9897,6 +9882,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9897
9882
  pinned?: boolean | undefined;
9898
9883
  };
9899
9884
  };
9885
+ } | {
9886
+ output: {
9887
+ error: string;
9888
+ };
9889
+ outputFormat: "json";
9890
+ status: 404;
9891
+ input: {
9892
+ param: {
9893
+ id: string;
9894
+ };
9895
+ } & {
9896
+ json: {
9897
+ pinned?: boolean | undefined;
9898
+ };
9899
+ };
9900
9900
  };
9901
9901
  };
9902
9902
  } & {
@@ -9923,7 +9923,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9923
9923
  error: string;
9924
9924
  };
9925
9925
  outputFormat: "json";
9926
- status: 400;
9926
+ status: 404;
9927
9927
  input: {
9928
9928
  param: {
9929
9929
  id: string;
@@ -9939,7 +9939,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9939
9939
  error: string;
9940
9940
  };
9941
9941
  outputFormat: "json";
9942
- status: 404;
9942
+ status: 400;
9943
9943
  input: {
9944
9944
  param: {
9945
9945
  id: string;
@@ -11162,17 +11162,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11162
11162
  } & {
11163
11163
  "/runs/:id/read": {
11164
11164
  $post: {
11165
- output: {
11166
- error: string;
11167
- };
11168
- outputFormat: "json";
11169
- status: 404;
11170
- input: {
11171
- param: {
11172
- id: string;
11173
- };
11174
- };
11175
- } | {
11176
11165
  output: {
11177
11166
  archiveWhenDone?: boolean | undefined;
11178
11167
  autoMergePr?: boolean | undefined;
@@ -12348,11 +12337,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12348
12337
  id: string;
12349
12338
  };
12350
12339
  };
12351
- };
12352
- };
12353
- } & {
12354
- "/runs/:id/unread": {
12355
- $post: {
12340
+ } | {
12356
12341
  output: {
12357
12342
  error: string;
12358
12343
  };
@@ -12363,7 +12348,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12363
12348
  id: string;
12364
12349
  };
12365
12350
  };
12366
- } | {
12351
+ };
12352
+ };
12353
+ } & {
12354
+ "/runs/:id/unread": {
12355
+ $post: {
12367
12356
  output: {
12368
12357
  archiveWhenDone?: boolean | undefined;
12369
12358
  autoMergePr?: boolean | undefined;
@@ -13539,6 +13528,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13539
13528
  id: string;
13540
13529
  };
13541
13530
  };
13531
+ } | {
13532
+ output: {
13533
+ error: string;
13534
+ };
13535
+ outputFormat: "json";
13536
+ status: 404;
13537
+ input: {
13538
+ param: {
13539
+ id: string;
13540
+ };
13541
+ };
13542
13542
  };
13543
13543
  };
13544
13544
  } & {
@@ -14815,17 +14815,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14815
14815
  } & {
14816
14816
  "/runs/:id": {
14817
14817
  $get: {
14818
- output: {
14819
- error: string;
14820
- };
14821
- outputFormat: "json";
14822
- status: 404;
14823
- input: {
14824
- param: {
14825
- id: string;
14826
- };
14827
- };
14828
- } | {
14829
14818
  output: {
14830
14819
  archiveWhenDone?: boolean | undefined;
14831
14820
  autoMergePr?: boolean | undefined;
@@ -16009,6 +15998,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16009
15998
  id: string;
16010
15999
  };
16011
16000
  };
16001
+ } | {
16002
+ output: {
16003
+ error: string;
16004
+ };
16005
+ outputFormat: "json";
16006
+ status: 404;
16007
+ input: {
16008
+ param: {
16009
+ id: string;
16010
+ };
16011
+ };
16012
16012
  };
16013
16013
  };
16014
16014
  } & {
@@ -16136,66 +16136,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16136
16136
  } & {
16137
16137
  "/runs/:id": {
16138
16138
  $patch: {
16139
- output: {
16140
- error: string;
16141
- };
16142
- outputFormat: "json";
16143
- status: 400;
16144
- input: {
16145
- json: {
16146
- archiveWhenDone?: boolean | undefined;
16147
- autoMergePr?: boolean | undefined;
16148
- allowWorkers?: boolean | undefined;
16149
- allowMessaging?: boolean | undefined;
16150
- title?: string | undefined;
16151
- task?: string | undefined;
16152
- };
16153
- } & {
16154
- param: {
16155
- id: string;
16156
- };
16157
- };
16158
- } | {
16159
- output: {
16160
- error: string;
16161
- };
16162
- outputFormat: "json";
16163
- status: 404;
16164
- input: {
16165
- json: {
16166
- archiveWhenDone?: boolean | undefined;
16167
- autoMergePr?: boolean | undefined;
16168
- allowWorkers?: boolean | undefined;
16169
- allowMessaging?: boolean | undefined;
16170
- title?: string | undefined;
16171
- task?: string | undefined;
16172
- };
16173
- } & {
16174
- param: {
16175
- id: string;
16176
- };
16177
- };
16178
- } | {
16179
- output: {
16180
- error: string;
16181
- };
16182
- outputFormat: "json";
16183
- status: 409;
16184
- input: {
16185
- json: {
16186
- archiveWhenDone?: boolean | undefined;
16187
- autoMergePr?: boolean | undefined;
16188
- allowWorkers?: boolean | undefined;
16189
- allowMessaging?: boolean | undefined;
16190
- title?: string | undefined;
16191
- task?: string | undefined;
16192
- };
16193
- } & {
16194
- param: {
16195
- id: string;
16196
- };
16197
- };
16198
- } | {
16199
16139
  output: {
16200
16140
  archiveWhenDone?: boolean | undefined;
16201
16141
  autoMergePr?: boolean | undefined;
@@ -17380,6 +17320,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17380
17320
  id: string;
17381
17321
  };
17382
17322
  };
17323
+ } | {
17324
+ output: {
17325
+ error: string;
17326
+ };
17327
+ outputFormat: "json";
17328
+ status: 404;
17329
+ input: {
17330
+ json: {
17331
+ archiveWhenDone?: boolean | undefined;
17332
+ autoMergePr?: boolean | undefined;
17333
+ allowWorkers?: boolean | undefined;
17334
+ allowMessaging?: boolean | undefined;
17335
+ title?: string | undefined;
17336
+ task?: string | undefined;
17337
+ };
17338
+ } & {
17339
+ param: {
17340
+ id: string;
17341
+ };
17342
+ };
17343
+ } | {
17344
+ output: {
17345
+ error: string;
17346
+ };
17347
+ outputFormat: "json";
17348
+ status: 400;
17349
+ input: {
17350
+ json: {
17351
+ archiveWhenDone?: boolean | undefined;
17352
+ autoMergePr?: boolean | undefined;
17353
+ allowWorkers?: boolean | undefined;
17354
+ allowMessaging?: boolean | undefined;
17355
+ title?: string | undefined;
17356
+ task?: string | undefined;
17357
+ };
17358
+ } & {
17359
+ param: {
17360
+ id: string;
17361
+ };
17362
+ };
17363
+ } | {
17364
+ output: {
17365
+ error: string;
17366
+ };
17367
+ outputFormat: "json";
17368
+ status: 409;
17369
+ input: {
17370
+ json: {
17371
+ archiveWhenDone?: boolean | undefined;
17372
+ autoMergePr?: boolean | undefined;
17373
+ allowWorkers?: boolean | undefined;
17374
+ allowMessaging?: boolean | undefined;
17375
+ title?: string | undefined;
17376
+ task?: string | undefined;
17377
+ };
17378
+ } & {
17379
+ param: {
17380
+ id: string;
17381
+ };
17382
+ };
17383
17383
  };
17384
17384
  };
17385
17385
  } & {
@@ -17484,7 +17484,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17484
17484
  error: string;
17485
17485
  };
17486
17486
  outputFormat: "json";
17487
- status: 400;
17487
+ status: 404;
17488
17488
  input: {
17489
17489
  json: {
17490
17490
  text?: string | undefined;
@@ -17503,7 +17503,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17503
17503
  error: string;
17504
17504
  };
17505
17505
  outputFormat: "json";
17506
- status: 404;
17506
+ status: 409;
17507
17507
  input: {
17508
17508
  json: {
17509
17509
  text?: string | undefined;
@@ -17519,10 +17519,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17519
17519
  };
17520
17520
  } | {
17521
17521
  output: {
17522
- error: string;
17522
+ delivered: true;
17523
17523
  };
17524
17524
  outputFormat: "json";
17525
- status: 409;
17525
+ status: import("hono/utils/http-status").ContentfulStatusCode;
17526
17526
  input: {
17527
17527
  json: {
17528
17528
  text?: string | undefined;
@@ -17538,10 +17538,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17538
17538
  };
17539
17539
  } | {
17540
17540
  output: {
17541
- delivered: true;
17541
+ error: string;
17542
17542
  };
17543
17543
  outputFormat: "json";
17544
- status: import("hono/utils/http-status").ContentfulStatusCode;
17544
+ status: 400;
17545
17545
  input: {
17546
17546
  json: {
17547
17547
  text?: string | undefined;
@@ -17609,7 +17609,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17609
17609
  error: string;
17610
17610
  };
17611
17611
  outputFormat: "json";
17612
- status: 400;
17612
+ status: 404;
17613
17613
  input: {
17614
17614
  json: {
17615
17615
  text?: string | undefined;
@@ -17630,7 +17630,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17630
17630
  error: string;
17631
17631
  };
17632
17632
  outputFormat: "json";
17633
- status: 404;
17633
+ status: 400;
17634
17634
  input: {
17635
17635
  json: {
17636
17636
  text?: string | undefined;
@@ -17850,11 +17850,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17850
17850
  "/runs/:id/open-in-cli": {
17851
17851
  $post: {
17852
17852
  output: {
17853
- opened: true;
17854
- command: string;
17853
+ error: string;
17855
17854
  };
17856
17855
  outputFormat: "json";
17857
- status: import("hono/utils/http-status").ContentfulStatusCode;
17856
+ status: 404 | 409;
17858
17857
  input: {
17859
17858
  param: {
17860
17859
  id: string;
@@ -17862,10 +17861,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17862
17861
  };
17863
17862
  } | {
17864
17863
  output: {
17865
- error: string;
17864
+ opened: true;
17865
+ command: string;
17866
17866
  };
17867
17867
  outputFormat: "json";
17868
- status: 404 | 409;
17868
+ status: import("hono/utils/http-status").ContentfulStatusCode;
17869
17869
  input: {
17870
17870
  param: {
17871
17871
  id: string;
@@ -17880,7 +17880,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17880
17880
  error: string;
17881
17881
  };
17882
17882
  outputFormat: "json";
17883
- status: 400;
17883
+ status: 404 | 409;
17884
17884
  input: {
17885
17885
  json: {
17886
17886
  target: string;
@@ -17893,11 +17893,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17893
17893
  };
17894
17894
  } | {
17895
17895
  output: {
17896
- opened: true;
17897
- path: string;
17896
+ error: string;
17898
17897
  };
17899
17898
  outputFormat: "json";
17900
- status: import("hono/utils/http-status").ContentfulStatusCode;
17899
+ status: 400;
17901
17900
  input: {
17902
17901
  json: {
17903
17902
  target: string;
@@ -17910,10 +17909,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17910
17909
  };
17911
17910
  } | {
17912
17911
  output: {
17913
- error: string;
17912
+ opened: true;
17913
+ path: string;
17914
17914
  };
17915
17915
  outputFormat: "json";
17916
- status: 404 | 409;
17916
+ status: import("hono/utils/http-status").ContentfulStatusCode;
17917
17917
  input: {
17918
17918
  json: {
17919
17919
  target: string;
@@ -17953,12 +17953,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17953
17953
  } & {
17954
17954
  "/runs/:id/images/:file": {
17955
17955
  $get: {
17956
- output: {
17957
- error: string;
17958
- code?: "invalid_input" | undefined;
17959
- };
17960
- outputFormat: "json";
17961
- status: 400;
17956
+ output: {};
17957
+ outputFormat: string;
17958
+ status: import("hono/utils/http-status").StatusCode;
17962
17959
  input: {
17963
17960
  param: {
17964
17961
  id: string;
@@ -17966,9 +17963,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17966
17963
  };
17967
17964
  };
17968
17965
  } | {
17969
- output: {};
17970
- outputFormat: string;
17971
- status: import("hono/utils/http-status").StatusCode;
17966
+ output: {
17967
+ error: string;
17968
+ code?: "invalid_input" | undefined;
17969
+ };
17970
+ outputFormat: "json";
17971
+ status: 400;
17972
17972
  input: {
17973
17973
  param: {
17974
17974
  id: string;
@@ -18004,6 +18004,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18004
18004
  } & {
18005
18005
  "/runs/:id/changes": {
18006
18006
  $get: {
18007
+ output: {
18008
+ error: string;
18009
+ };
18010
+ outputFormat: "json";
18011
+ status: 404 | 409;
18012
+ input: {
18013
+ param: {
18014
+ id: string;
18015
+ };
18016
+ };
18017
+ } | {
18007
18018
  output: {
18008
18019
  files: {
18009
18020
  path: string;
@@ -18032,7 +18043,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18032
18043
  id: string;
18033
18044
  };
18034
18045
  };
18035
- } | {
18046
+ };
18047
+ };
18048
+ } & {
18049
+ "/runs/:id/commits": {
18050
+ $get: {
18036
18051
  output: {
18037
18052
  error: string;
18038
18053
  };
@@ -18043,11 +18058,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18043
18058
  id: string;
18044
18059
  };
18045
18060
  };
18046
- };
18047
- };
18048
- } & {
18049
- "/runs/:id/commits": {
18050
- $get: {
18061
+ } | {
18051
18062
  output: {
18052
18063
  commits: {
18053
18064
  sha: string;
@@ -18063,7 +18074,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18063
18074
  id: string;
18064
18075
  };
18065
18076
  };
18066
- } | {
18077
+ };
18078
+ };
18079
+ } & {
18080
+ "/runs/:id/commit/:sha": {
18081
+ $get: {
18067
18082
  output: {
18068
18083
  error: string;
18069
18084
  };
@@ -18071,14 +18086,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18071
18086
  status: 404 | 409;
18072
18087
  input: {
18073
18088
  param: {
18089
+ sha: string;
18090
+ } & {
18074
18091
  id: string;
18075
18092
  };
18076
18093
  };
18077
- };
18078
- };
18079
- } & {
18080
- "/runs/:id/commit/:sha": {
18081
- $get: {
18094
+ } | {
18082
18095
  output: {
18083
18096
  sha: string;
18084
18097
  subject: string;
@@ -18104,22 +18117,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18104
18117
  status: import("hono/utils/http-status").ContentfulStatusCode;
18105
18118
  input: {
18106
18119
  param: {
18107
- id: string;
18108
- } & {
18109
18120
  sha: string;
18110
- };
18111
- };
18112
- } | {
18113
- output: {
18114
- error: string;
18115
- };
18116
- outputFormat: "json";
18117
- status: 404 | 409;
18118
- input: {
18119
- param: {
18120
- id: string;
18121
18121
  } & {
18122
- sha: string;
18122
+ id: string;
18123
18123
  };
18124
18124
  };
18125
18125
  };
@@ -18157,6 +18157,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18157
18157
  raw?: "1" | undefined;
18158
18158
  };
18159
18159
  };
18160
+ } | {
18161
+ output: {
18162
+ error: string;
18163
+ };
18164
+ outputFormat: "json";
18165
+ status: 404 | 409;
18166
+ input: {
18167
+ param: {
18168
+ id: string;
18169
+ };
18170
+ } & {
18171
+ query: {
18172
+ path: string | string[];
18173
+ raw?: "1" | undefined;
18174
+ };
18175
+ };
18160
18176
  } | {
18161
18177
  output: {
18162
18178
  type: "file";
@@ -18193,22 +18209,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18193
18209
  raw?: "1" | undefined;
18194
18210
  };
18195
18211
  };
18196
- } | {
18197
- output: {
18198
- error: string;
18199
- };
18200
- outputFormat: "json";
18201
- status: 404 | 409;
18202
- input: {
18203
- param: {
18204
- id: string;
18205
- };
18206
- } & {
18207
- query: {
18208
- path: string | string[];
18209
- raw?: "1" | undefined;
18210
- };
18211
- };
18212
18212
  };
18213
18213
  };
18214
18214
  } & {
@@ -18273,18 +18273,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18273
18273
  artifactId: string;
18274
18274
  };
18275
18275
  };
18276
- } | {
18277
- output: {
18278
- error: string;
18279
- };
18280
- outputFormat: "json";
18281
- status: 404;
18282
- input: {
18283
- param: {
18284
- id: string;
18285
- artifactId: string;
18286
- };
18287
- };
18288
18276
  } | {
18289
18277
  output: {
18290
18278
  type: "file";
@@ -18313,6 +18301,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18313
18301
  artifactId: string;
18314
18302
  };
18315
18303
  };
18304
+ } | {
18305
+ output: {
18306
+ error: string;
18307
+ };
18308
+ outputFormat: "json";
18309
+ status: 404;
18310
+ input: {
18311
+ param: {
18312
+ id: string;
18313
+ artifactId: string;
18314
+ };
18315
+ };
18316
18316
  };
18317
18317
  };
18318
18318
  } & {
@@ -18490,16 +18490,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18490
18490
  };
18491
18491
  } | {
18492
18492
  output: {
18493
- type: 'dir';
18494
- path: string;
18495
- entries: {
18496
- name: string;
18497
- type: 'dir' | 'file';
18498
- size?: number;
18499
- }[];
18493
+ error: string;
18500
18494
  };
18501
18495
  outputFormat: "json";
18502
- status: import("hono/utils/http-status").ContentfulStatusCode;
18496
+ status: 404 | 409;
18503
18497
  input: {
18504
18498
  query: {
18505
18499
  path?: string | undefined;
@@ -18512,12 +18506,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18512
18506
  };
18513
18507
  } | {
18514
18508
  output: {
18515
- type: 'file';
18509
+ type: 'dir';
18516
18510
  path: string;
18517
- size: number;
18518
- binary: boolean;
18519
- tooLarge: boolean;
18520
- content?: string | undefined;
18511
+ entries: {
18512
+ name: string;
18513
+ type: 'dir' | 'file';
18514
+ size?: number;
18515
+ }[];
18521
18516
  };
18522
18517
  outputFormat: "json";
18523
18518
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -18533,10 +18528,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18533
18528
  };
18534
18529
  } | {
18535
18530
  output: {
18536
- error: string;
18531
+ type: 'file';
18532
+ path: string;
18533
+ size: number;
18534
+ binary: boolean;
18535
+ tooLarge: boolean;
18536
+ content?: string | undefined;
18537
18537
  };
18538
18538
  outputFormat: "json";
18539
- status: 404 | 409;
18539
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18540
18540
  input: {
18541
18541
  query: {
18542
18542
  path?: string | undefined;
@@ -18553,11 +18553,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18553
18553
  "/runs/:id/git/commit": {
18554
18554
  $post: {
18555
18555
  output: {
18556
- committed: true;
18557
- sha: string;
18556
+ error: string;
18558
18557
  };
18559
18558
  outputFormat: "json";
18560
- status: import("hono/utils/http-status").ContentfulStatusCode;
18559
+ status: 404 | 409;
18561
18560
  input: {
18562
18561
  json: {
18563
18562
  message: string;
@@ -18569,10 +18568,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18569
18568
  };
18570
18569
  } | {
18571
18570
  output: {
18572
- error: string;
18571
+ committed: true;
18572
+ sha: string;
18573
18573
  };
18574
18574
  outputFormat: "json";
18575
- status: 404 | 409;
18575
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18576
18576
  input: {
18577
18577
  json: {
18578
18578
  message: string;
@@ -18588,13 +18588,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18588
18588
  "/runs/:id/git/push": {
18589
18589
  $post: {
18590
18590
  output: {
18591
- pushed: true;
18592
- branch: string;
18593
- remote: string;
18594
- upstreamSet: boolean;
18591
+ error: string;
18595
18592
  };
18596
18593
  outputFormat: "json";
18597
- status: import("hono/utils/http-status").ContentfulStatusCode;
18594
+ status: 404 | 409;
18598
18595
  input: {
18599
18596
  param: {
18600
18597
  id: string;
@@ -18602,10 +18599,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18602
18599
  };
18603
18600
  } | {
18604
18601
  output: {
18605
- error: string;
18602
+ pushed: true;
18603
+ branch: string;
18604
+ remote: string;
18605
+ upstreamSet: boolean;
18606
18606
  };
18607
18607
  outputFormat: "json";
18608
- status: 404 | 409;
18608
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18609
18609
  input: {
18610
18610
  param: {
18611
18611
  id: string;
@@ -18617,11 +18617,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18617
18617
  "/runs/:id/pr": {
18618
18618
  $post: {
18619
18619
  output: {
18620
- url: string;
18621
- dryRun: boolean;
18620
+ error: string;
18622
18621
  };
18623
18622
  outputFormat: "json";
18624
- status: 201;
18623
+ status: 404 | 409;
18625
18624
  input: {
18626
18625
  param: {
18627
18626
  id: string;
@@ -18629,10 +18628,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18629
18628
  };
18630
18629
  } | {
18631
18630
  output: {
18632
- error: string;
18631
+ url: string;
18632
+ dryRun: boolean;
18633
18633
  };
18634
18634
  outputFormat: "json";
18635
- status: 404 | 409;
18635
+ status: 201;
18636
18636
  input: {
18637
18637
  param: {
18638
18638
  id: string;
@@ -18644,10 +18644,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18644
18644
  "/runs/:id/remove-worktree": {
18645
18645
  $post: {
18646
18646
  output: {
18647
- removed: true;
18647
+ error: string;
18648
18648
  };
18649
18649
  outputFormat: "json";
18650
- status: import("hono/utils/http-status").ContentfulStatusCode;
18650
+ status: 404 | 409;
18651
18651
  input: {
18652
18652
  param: {
18653
18653
  id: string;
@@ -18655,10 +18655,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18655
18655
  };
18656
18656
  } | {
18657
18657
  output: {
18658
- error: string;
18658
+ removed: true;
18659
18659
  };
18660
18660
  outputFormat: "json";
18661
- status: 404 | 409;
18661
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18662
18662
  input: {
18663
18663
  param: {
18664
18664
  id: string;
@@ -18670,10 +18670,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18670
18670
  "/runs/:id": {
18671
18671
  $delete: {
18672
18672
  output: {
18673
- deleted: true;
18673
+ error: string;
18674
18674
  };
18675
18675
  outputFormat: "json";
18676
- status: import("hono/utils/http-status").ContentfulStatusCode;
18676
+ status: 404 | 409;
18677
18677
  input: {
18678
18678
  param: {
18679
18679
  id: string;
@@ -18681,10 +18681,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18681
18681
  };
18682
18682
  } | {
18683
18683
  output: {
18684
- error: string;
18684
+ deleted: true;
18685
18685
  };
18686
18686
  outputFormat: "json";
18687
- status: 404 | 409;
18687
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18688
18688
  input: {
18689
18689
  param: {
18690
18690
  id: string;
@@ -18753,6 +18753,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18753
18753
  }, "/"> | import("hono/types").MergeSchemaPath<{
18754
18754
  "/plan": {
18755
18755
  $post: {
18756
+ output: {
18757
+ error: string;
18758
+ };
18759
+ outputFormat: "json";
18760
+ status: 400 | 404 | 409;
18761
+ input: {
18762
+ json: {
18763
+ task: string;
18764
+ agentProfile?: string | undefined;
18765
+ };
18766
+ };
18767
+ } | {
18756
18768
  output: {
18757
18769
  name?: string;
18758
18770
  steps: {
@@ -18789,18 +18801,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18789
18801
  agentProfile?: string | undefined;
18790
18802
  };
18791
18803
  };
18792
- } | {
18793
- output: {
18794
- error: string;
18795
- };
18796
- outputFormat: "json";
18797
- status: 400 | 404 | 409;
18798
- input: {
18799
- json: {
18800
- task: string;
18801
- agentProfile?: string | undefined;
18802
- };
18803
- };
18804
18804
  };
18805
18805
  };
18806
18806
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -18825,7 +18825,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18825
18825
  error: string;
18826
18826
  };
18827
18827
  outputFormat: "json";
18828
- status: 400;
18828
+ status: 409;
18829
18829
  input: {
18830
18830
  json: {
18831
18831
  target: string;
@@ -18836,7 +18836,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18836
18836
  error: string;
18837
18837
  };
18838
18838
  outputFormat: "json";
18839
- status: 409;
18839
+ status: 400;
18840
18840
  input: {
18841
18841
  json: {
18842
18842
  target: string;
@@ -18903,10 +18903,42 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18903
18903
  "/ui-state": {
18904
18904
  $put: {
18905
18905
  output: {
18906
- error: string;
18906
+ [x: string]: import("hono/utils/types").JSONValue;
18907
+ sidebarLimits?: {
18908
+ overall?: number | null | undefined;
18909
+ needsYou?: number | null | undefined;
18910
+ finished?: number | null | undefined;
18911
+ working?: number | null | undefined;
18912
+ } | undefined;
18913
+ lastTask?: {
18914
+ source: "skill" | "workflow";
18915
+ ref: string;
18916
+ } | null | undefined;
18917
+ recentSources?: {
18918
+ source: "skill" | "workflow";
18919
+ ref: string;
18920
+ }[] | undefined;
18921
+ lastWorktree?: boolean | undefined;
18922
+ lastAutonomous?: boolean | undefined;
18923
+ skillUsage?: {
18924
+ [x: string]: number;
18925
+ } | undefined;
18926
+ runsView?: "list" | "table" | undefined;
18927
+ githubView?: "issues" | "prs" | undefined;
18928
+ appearance?: {
18929
+ accent?: "cezarion" | "lime" | "violet" | undefined;
18930
+ density?: "comfortable" | "compact" | "ultra" | undefined;
18931
+ width?: "narrow" | "wide" | undefined;
18932
+ } | undefined;
18933
+ promptTemplates?: {
18934
+ id: string;
18935
+ label: string;
18936
+ text: string;
18937
+ skills?: string[] | undefined;
18938
+ }[] | undefined;
18907
18939
  };
18908
18940
  outputFormat: "json";
18909
- status: 500;
18941
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18910
18942
  input: {
18911
18943
  json: {
18912
18944
  [x: string]: unknown;
@@ -18944,42 +18976,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18944
18976
  };
18945
18977
  } | {
18946
18978
  output: {
18947
- [x: string]: import("hono/utils/types").JSONValue;
18948
- sidebarLimits?: {
18949
- overall?: number | null | undefined;
18950
- needsYou?: number | null | undefined;
18951
- finished?: number | null | undefined;
18952
- working?: number | null | undefined;
18953
- } | undefined;
18954
- lastTask?: {
18955
- source: "skill" | "workflow";
18956
- ref: string;
18957
- } | null | undefined;
18958
- recentSources?: {
18959
- source: "skill" | "workflow";
18960
- ref: string;
18961
- }[] | undefined;
18962
- lastWorktree?: boolean | undefined;
18963
- lastAutonomous?: boolean | undefined;
18964
- skillUsage?: {
18965
- [x: string]: number;
18966
- } | undefined;
18967
- runsView?: "list" | "table" | undefined;
18968
- githubView?: "issues" | "prs" | undefined;
18969
- appearance?: {
18970
- accent?: "cezarion" | "lime" | "violet" | undefined;
18971
- density?: "comfortable" | "compact" | "ultra" | undefined;
18972
- width?: "narrow" | "wide" | undefined;
18973
- } | undefined;
18974
- promptTemplates?: {
18975
- id: string;
18976
- label: string;
18977
- text: string;
18978
- skills?: string[] | undefined;
18979
- }[] | undefined;
18979
+ error: string;
18980
18980
  };
18981
18981
  outputFormat: "json";
18982
- status: import("hono/utils/http-status").ContentfulStatusCode;
18982
+ status: 500;
18983
18983
  input: {
18984
18984
  json: {
18985
18985
  [x: string]: unknown;
@@ -19020,12 +19020,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19020
19020
  }, "/"> | import("hono/types").MergeSchemaPath<{
19021
19021
  "/runs/:id/events": {
19022
19022
  $get: {
19023
- output: {
19024
- error: string;
19025
- code?: "invalid_input" | undefined;
19026
- };
19027
- outputFormat: "json";
19028
- status: 400;
19023
+ output: {};
19024
+ outputFormat: string;
19025
+ status: import("hono/utils/http-status").StatusCode;
19029
19026
  input: {
19030
19027
  param: {
19031
19028
  id: string;
@@ -19037,9 +19034,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19037
19034
  };
19038
19035
  };
19039
19036
  } | {
19040
- output: {};
19041
- outputFormat: string;
19042
- status: import("hono/utils/http-status").StatusCode;
19037
+ output: {
19038
+ error: string;
19039
+ code?: "invalid_input" | undefined;
19040
+ };
19041
+ outputFormat: "json";
19042
+ status: 400;
19043
19043
  input: {
19044
19044
  param: {
19045
19045
  id: string;
@@ -19100,10 +19100,34 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19100
19100
  "/config": {
19101
19101
  $put: {
19102
19102
  output: {
19103
- error: string;
19103
+ archiveOnMerge: boolean | null;
19104
+ effectiveArchiveOnMerge: boolean;
19105
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
19106
+ baseBranch: string | null;
19107
+ defaultRunner: string;
19108
+ systemPrompt: string | null;
19109
+ defaultModels: {
19110
+ [x: string]: string | undefined;
19111
+ };
19112
+ modelsLocked: boolean;
19113
+ maxParallel: number;
19114
+ memoryLimitMb: number | null;
19115
+ worktreeRetention: number;
19116
+ liveTitleUpdates: boolean | null;
19117
+ reviewGate: boolean | null;
19118
+ worktreeSetup: {
19119
+ commands: string[];
19120
+ timeoutSeconds: number;
19121
+ } | null;
19122
+ worktreeSetupIssue: string | null;
19123
+ worktreeTeardown: {
19124
+ commands: string[];
19125
+ timeoutSeconds: number;
19126
+ } | null;
19127
+ worktreeTeardownIssue: string | null;
19104
19128
  };
19105
19129
  outputFormat: "json";
19106
- status: 409;
19130
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19107
19131
  input: {
19108
19132
  json: {
19109
19133
  archiveOnMerge?: boolean | null | undefined;
@@ -19131,7 +19155,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19131
19155
  error: string;
19132
19156
  };
19133
19157
  outputFormat: "json";
19134
- status: 500;
19158
+ status: 409;
19135
19159
  input: {
19136
19160
  json: {
19137
19161
  archiveOnMerge?: boolean | null | undefined;
@@ -19156,34 +19180,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19156
19180
  };
19157
19181
  } | {
19158
19182
  output: {
19159
- archiveOnMerge: boolean | null;
19160
- effectiveArchiveOnMerge: boolean;
19161
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
19162
- baseBranch: string | null;
19163
- defaultRunner: string;
19164
- systemPrompt: string | null;
19165
- defaultModels: {
19166
- [x: string]: string | undefined;
19167
- };
19168
- modelsLocked: boolean;
19169
- maxParallel: number;
19170
- memoryLimitMb: number | null;
19171
- worktreeRetention: number;
19172
- liveTitleUpdates: boolean | null;
19173
- reviewGate: boolean | null;
19174
- worktreeSetup: {
19175
- commands: string[];
19176
- timeoutSeconds: number;
19177
- } | null;
19178
- worktreeSetupIssue: string | null;
19179
- worktreeTeardown: {
19180
- commands: string[];
19181
- timeoutSeconds: number;
19182
- } | null;
19183
- worktreeTeardownIssue: string | null;
19183
+ error: string;
19184
19184
  };
19185
19185
  outputFormat: "json";
19186
- status: import("hono/utils/http-status").ContentfulStatusCode;
19186
+ status: 500;
19187
19187
  input: {
19188
19188
  json: {
19189
19189
  archiveOnMerge?: boolean | null | undefined;
@@ -19332,7 +19332,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19332
19332
  error: string;
19333
19333
  };
19334
19334
  outputFormat: "json";
19335
- status: 400;
19335
+ status: 409;
19336
19336
  input: {
19337
19337
  query: {
19338
19338
  q?: string | undefined;
@@ -19345,7 +19345,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19345
19345
  error: string;
19346
19346
  };
19347
19347
  outputFormat: "json";
19348
- status: 409;
19348
+ status: 400;
19349
19349
  input: {
19350
19350
  query: {
19351
19351
  q?: string | undefined;
@@ -19450,11 +19450,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19450
19450
  };
19451
19451
  } | {
19452
19452
  output: {
19453
- runId: string;
19454
- worktreeReclaimedAt: string;
19453
+ error: string;
19455
19454
  };
19456
19455
  outputFormat: "json";
19457
- status: import("hono/utils/http-status").ContentfulStatusCode;
19456
+ status: 404 | 409;
19458
19457
  input: {
19459
19458
  param: {
19460
19459
  runId: string;
@@ -19466,10 +19465,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19466
19465
  };
19467
19466
  } | {
19468
19467
  output: {
19469
- error: string;
19468
+ runId: string;
19469
+ worktreeReclaimedAt: string;
19470
19470
  };
19471
19471
  outputFormat: "json";
19472
- status: 404 | 409;
19472
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19473
19473
  input: {
19474
19474
  param: {
19475
19475
  runId: string;
@@ -19569,10 +19569,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19569
19569
  "/agent-config/:id": {
19570
19570
  $put: {
19571
19571
  output: {
19572
- error: string;
19572
+ id: string;
19573
+ path: string;
19574
+ exists: boolean;
19575
+ content: string;
19576
+ version: string | null;
19573
19577
  };
19574
19578
  outputFormat: "json";
19575
- status: 404;
19579
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19576
19580
  input: {
19577
19581
  json: {
19578
19582
  content: string;
@@ -19585,14 +19589,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19585
19589
  };
19586
19590
  } | {
19587
19591
  output: {
19588
- id: string;
19589
- path: string;
19590
- exists: boolean;
19591
- content: string;
19592
- version: string | null;
19592
+ error: string;
19593
19593
  };
19594
19594
  outputFormat: "json";
19595
- status: import("hono/utils/http-status").ContentfulStatusCode;
19595
+ status: 404;
19596
19596
  input: {
19597
19597
  json: {
19598
19598
  content: string;
@@ -19769,11 +19769,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19769
19769
  "/workflows": {
19770
19770
  $post: {
19771
19771
  output: {
19772
- path: string;
19773
- name: string;
19772
+ error: string;
19774
19773
  };
19775
19774
  outputFormat: "json";
19776
- status: 201;
19775
+ status: 400;
19777
19776
  input: {
19778
19777
  json: {
19779
19778
  name: string;
@@ -19806,9 +19805,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19806
19805
  } | {
19807
19806
  output: {
19808
19807
  error: string;
19808
+ exists: true;
19809
19809
  };
19810
19810
  outputFormat: "json";
19811
- status: 400;
19811
+ status: 409;
19812
19812
  input: {
19813
19813
  json: {
19814
19814
  name: string;
@@ -19841,10 +19841,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19841
19841
  } | {
19842
19842
  output: {
19843
19843
  error: string;
19844
- exists: true;
19845
19844
  };
19846
19845
  outputFormat: "json";
19847
- status: 409;
19846
+ status: 500;
19848
19847
  input: {
19849
19848
  json: {
19850
19849
  name: string;
@@ -19876,10 +19875,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19876
19875
  };
19877
19876
  } | {
19878
19877
  output: {
19879
- error: string;
19878
+ path: string;
19879
+ name: string;
19880
19880
  };
19881
19881
  outputFormat: "json";
19882
- status: 500;
19882
+ status: 201;
19883
19883
  input: {
19884
19884
  json: {
19885
19885
  name: string;
@@ -19915,11 +19915,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19915
19915
  "/workflows/:name": {
19916
19916
  $delete: {
19917
19917
  output: {
19918
- ok: true;
19919
- path: string;
19918
+ error: string;
19920
19919
  };
19921
19920
  outputFormat: "json";
19922
- status: import("hono/utils/http-status").ContentfulStatusCode;
19921
+ status: 400 | 404 | 409 | 500;
19923
19922
  input: {
19924
19923
  param: {
19925
19924
  name: string;
@@ -19927,10 +19926,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19927
19926
  };
19928
19927
  } | {
19929
19928
  output: {
19930
- error: string;
19929
+ ok: true;
19930
+ path: string;
19931
19931
  };
19932
19932
  outputFormat: "json";
19933
- status: 400 | 404 | 409 | 500;
19933
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19934
19934
  input: {
19935
19935
  param: {
19936
19936
  name: string;
@@ -20106,18 +20106,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20106
20106
  "/repo/branches/delete": {
20107
20107
  $post: {
20108
20108
  output: {
20109
- deleted: string[];
20109
+ error: string;
20110
20110
  refused: {
20111
20111
  name: string;
20112
20112
  reason: string;
20113
20113
  }[];
20114
- dropped?: {
20115
- sha: string;
20116
- subject: string;
20117
- }[] | undefined;
20118
20114
  };
20119
20115
  outputFormat: "json";
20120
- status: 200;
20116
+ status: 409;
20121
20117
  input: {
20122
20118
  json: {
20123
20119
  names: string[];
@@ -20126,14 +20122,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20126
20122
  };
20127
20123
  } | {
20128
20124
  output: {
20129
- error: string;
20125
+ deleted: string[];
20130
20126
  refused: {
20131
20127
  name: string;
20132
20128
  reason: string;
20133
20129
  }[];
20130
+ dropped?: {
20131
+ sha: string;
20132
+ subject: string;
20133
+ }[] | undefined;
20134
20134
  };
20135
20135
  outputFormat: "json";
20136
- status: 409;
20136
+ status: 200;
20137
20137
  input: {
20138
20138
  json: {
20139
20139
  names: string[];
@@ -20154,6 +20154,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20154
20154
  } & {
20155
20155
  "/repo/commit/:sha": {
20156
20156
  $get: {
20157
+ output: string;
20158
+ outputFormat: "text";
20159
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20160
+ input: {
20161
+ query: {
20162
+ structured?: string | undefined;
20163
+ };
20164
+ } & {
20165
+ param: {
20166
+ sha: string;
20167
+ };
20168
+ };
20169
+ } | {
20157
20170
  output: {
20158
20171
  error: string;
20159
20172
  code?: "invalid_input" | undefined;
@@ -20217,19 +20230,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20217
20230
  sha: string;
20218
20231
  };
20219
20232
  };
20220
- } | {
20221
- output: string;
20222
- outputFormat: "text";
20223
- status: import("hono/utils/http-status").ContentfulStatusCode;
20224
- input: {
20225
- query: {
20226
- structured?: string | undefined;
20227
- };
20228
- } & {
20229
- param: {
20230
- sha: string;
20231
- };
20232
- };
20233
20233
  };
20234
20234
  };
20235
20235
  } & {
@@ -20290,12 +20290,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20290
20290
  "/repo/pull": {
20291
20291
  $post: {
20292
20292
  output: {
20293
- branch: string;
20294
- pulled: true;
20295
- summary: string;
20293
+ error: string;
20296
20294
  };
20297
20295
  outputFormat: "json";
20298
- status: 200;
20296
+ status: 409;
20299
20297
  input: {
20300
20298
  json: {
20301
20299
  branch?: string | undefined;
@@ -20304,10 +20302,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20304
20302
  };
20305
20303
  } | {
20306
20304
  output: {
20307
- error: string;
20305
+ branch: string;
20306
+ pulled: true;
20307
+ summary: string;
20308
20308
  };
20309
20309
  outputFormat: "json";
20310
- status: 409;
20310
+ status: 200;
20311
20311
  input: {
20312
20312
  json: {
20313
20313
  branch?: string | undefined;
@@ -22257,18 +22257,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22257
22257
  } & {
22258
22258
  "/run-summaries": {
22259
22259
  $get: {
22260
- output: {
22261
- error: string;
22262
- code?: "invalid_input" | undefined;
22263
- };
22264
- outputFormat: "json";
22265
- status: 400;
22266
- input: {
22267
- query: {
22268
- archived?: "all" | "recent" | undefined;
22269
- };
22270
- };
22271
- } | {
22272
22260
  output: {
22273
22261
  id: string;
22274
22262
  title: string;
@@ -22406,6 +22394,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22406
22394
  archived?: "all" | "recent" | undefined;
22407
22395
  };
22408
22396
  };
22397
+ } | {
22398
+ output: {
22399
+ error: string;
22400
+ code?: "invalid_input" | undefined;
22401
+ };
22402
+ outputFormat: "json";
22403
+ status: 400;
22404
+ input: {
22405
+ query: {
22406
+ archived?: "all" | "recent" | undefined;
22407
+ };
22408
+ };
22409
22409
  };
22410
22410
  };
22411
22411
  } & {
@@ -22767,24 +22767,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22767
22767
  "/runs/:id/worker-destroy": {
22768
22768
  $post: {
22769
22769
  output: {
22770
- workerId: string;
22771
- state: "complete" | "incomplete";
22772
- work?: {
22773
- uncommittedFiles: number;
22774
- commits: number;
22775
- } | undefined;
22776
- deleted?: ({
22777
- kind: "worktree";
22778
- path: string;
22779
- } | {
22780
- kind: "branch";
22781
- ref: string;
22782
- })[] | undefined;
22783
- remaining: ("branch" | "process" | "worktree")[];
22784
- error?: string | undefined;
22770
+ error: string;
22771
+ code?: "invalid_input" | undefined;
22785
22772
  };
22786
22773
  outputFormat: "json";
22787
- status: 200;
22774
+ status: 400;
22788
22775
  input: {
22789
22776
  query: {
22790
22777
  [x: string]: string | string[];
@@ -22800,11 +22787,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22800
22787
  };
22801
22788
  } | {
22802
22789
  output: {
22803
- error: string;
22804
- code?: "invalid_input" | undefined;
22790
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
22791
+ readonly error: string;
22792
+ readonly modelChoices?: {
22793
+ runner: string;
22794
+ requestedModel: string;
22795
+ availableModels: {
22796
+ id: string;
22797
+ label: string;
22798
+ description: string;
22799
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
22800
+ }[];
22801
+ otherRunners: string[];
22802
+ } | undefined;
22805
22803
  };
22806
22804
  outputFormat: "json";
22807
- status: 400;
22805
+ status: 400 | 401 | 403 | 409 | 503;
22808
22806
  input: {
22809
22807
  query: {
22810
22808
  [x: string]: string | string[];
@@ -22837,7 +22835,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22837
22835
  error?: string | undefined;
22838
22836
  };
22839
22837
  outputFormat: "json";
22840
- status: 409;
22838
+ status: 200;
22841
22839
  input: {
22842
22840
  query: {
22843
22841
  [x: string]: string | string[];
@@ -22853,22 +22851,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22853
22851
  };
22854
22852
  } | {
22855
22853
  output: {
22856
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
22857
- readonly error: string;
22858
- readonly modelChoices?: {
22859
- runner: string;
22860
- requestedModel: string;
22861
- availableModels: {
22862
- id: string;
22863
- label: string;
22864
- description: string;
22865
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
22866
- }[];
22867
- otherRunners: string[];
22854
+ workerId: string;
22855
+ state: "complete" | "incomplete";
22856
+ work?: {
22857
+ uncommittedFiles: number;
22858
+ commits: number;
22868
22859
  } | undefined;
22860
+ deleted?: ({
22861
+ kind: "worktree";
22862
+ path: string;
22863
+ } | {
22864
+ kind: "branch";
22865
+ ref: string;
22866
+ })[] | undefined;
22867
+ remaining: ("branch" | "process" | "worktree")[];
22868
+ error?: string | undefined;
22869
22869
  };
22870
22870
  outputFormat: "json";
22871
- status: 400 | 401 | 403 | 409 | 503;
22871
+ status: 409;
22872
22872
  input: {
22873
22873
  query: {
22874
22874
  [x: string]: string | string[];
@@ -22920,21 +22920,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22920
22920
  } & {
22921
22921
  "/runs/:id/archive": {
22922
22922
  $post: {
22923
- output: {
22924
- error: string;
22925
- };
22926
- outputFormat: "json";
22927
- status: 404;
22928
- input: {
22929
- json: {
22930
- archived?: boolean | undefined;
22931
- };
22932
- } & {
22933
- param: {
22934
- id: string;
22935
- };
22936
- };
22937
- } | {
22938
22923
  output: {
22939
22924
  archiveWhenDone?: boolean | undefined;
22940
22925
  autoMergePr?: boolean | undefined;
@@ -24114,32 +24099,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24114
24099
  id: string;
24115
24100
  };
24116
24101
  };
24117
- };
24118
- };
24119
- } & {
24120
- "/runs/:id/pin": {
24121
- $post: {
24102
+ } | {
24122
24103
  output: {
24123
24104
  error: string;
24124
- code?: "invalid_input" | undefined;
24125
24105
  };
24126
24106
  outputFormat: "json";
24127
- status: 400;
24107
+ status: 404;
24128
24108
  input: {
24129
- param: {
24130
- id: string;
24109
+ json: {
24110
+ archived?: boolean | undefined;
24131
24111
  };
24132
24112
  } & {
24133
- json: {
24134
- pinned?: boolean | undefined;
24113
+ param: {
24114
+ id: string;
24135
24115
  };
24136
24116
  };
24137
- } | {
24117
+ };
24118
+ };
24119
+ } & {
24120
+ "/runs/:id/pin": {
24121
+ $post: {
24138
24122
  output: {
24139
24123
  error: string;
24124
+ code?: "invalid_input" | undefined;
24140
24125
  };
24141
24126
  outputFormat: "json";
24142
- status: 404;
24127
+ status: 400;
24143
24128
  input: {
24144
24129
  param: {
24145
24130
  id: string;
@@ -25329,6 +25314,21 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25329
25314
  pinned?: boolean | undefined;
25330
25315
  };
25331
25316
  };
25317
+ } | {
25318
+ output: {
25319
+ error: string;
25320
+ };
25321
+ outputFormat: "json";
25322
+ status: 404;
25323
+ input: {
25324
+ param: {
25325
+ id: string;
25326
+ };
25327
+ } & {
25328
+ json: {
25329
+ pinned?: boolean | undefined;
25330
+ };
25331
+ };
25332
25332
  };
25333
25333
  };
25334
25334
  } & {
@@ -25355,7 +25355,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25355
25355
  error: string;
25356
25356
  };
25357
25357
  outputFormat: "json";
25358
- status: 400;
25358
+ status: 404;
25359
25359
  input: {
25360
25360
  param: {
25361
25361
  id: string;
@@ -25371,7 +25371,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25371
25371
  error: string;
25372
25372
  };
25373
25373
  outputFormat: "json";
25374
- status: 404;
25374
+ status: 400;
25375
25375
  input: {
25376
25376
  param: {
25377
25377
  id: string;
@@ -26594,17 +26594,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
26594
26594
  } & {
26595
26595
  "/runs/:id/read": {
26596
26596
  $post: {
26597
- output: {
26598
- error: string;
26599
- };
26600
- outputFormat: "json";
26601
- status: 404;
26602
- input: {
26603
- param: {
26604
- id: string;
26605
- };
26606
- };
26607
- } | {
26608
26597
  output: {
26609
26598
  archiveWhenDone?: boolean | undefined;
26610
26599
  autoMergePr?: boolean | undefined;
@@ -27780,11 +27769,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27780
27769
  id: string;
27781
27770
  };
27782
27771
  };
27783
- };
27784
- };
27785
- } & {
27786
- "/runs/:id/unread": {
27787
- $post: {
27772
+ } | {
27788
27773
  output: {
27789
27774
  error: string;
27790
27775
  };
@@ -27795,7 +27780,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27795
27780
  id: string;
27796
27781
  };
27797
27782
  };
27798
- } | {
27783
+ };
27784
+ };
27785
+ } & {
27786
+ "/runs/:id/unread": {
27787
+ $post: {
27799
27788
  output: {
27800
27789
  archiveWhenDone?: boolean | undefined;
27801
27790
  autoMergePr?: boolean | undefined;
@@ -28971,6 +28960,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28971
28960
  id: string;
28972
28961
  };
28973
28962
  };
28963
+ } | {
28964
+ output: {
28965
+ error: string;
28966
+ };
28967
+ outputFormat: "json";
28968
+ status: 404;
28969
+ input: {
28970
+ param: {
28971
+ id: string;
28972
+ };
28973
+ };
28974
28974
  };
28975
28975
  };
28976
28976
  } & {
@@ -30247,17 +30247,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
30247
30247
  } & {
30248
30248
  "/runs/:id": {
30249
30249
  $get: {
30250
- output: {
30251
- error: string;
30252
- };
30253
- outputFormat: "json";
30254
- status: 404;
30255
- input: {
30256
- param: {
30257
- id: string;
30258
- };
30259
- };
30260
- } | {
30261
30250
  output: {
30262
30251
  archiveWhenDone?: boolean | undefined;
30263
30252
  autoMergePr?: boolean | undefined;
@@ -31441,6 +31430,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31441
31430
  id: string;
31442
31431
  };
31443
31432
  };
31433
+ } | {
31434
+ output: {
31435
+ error: string;
31436
+ };
31437
+ outputFormat: "json";
31438
+ status: 404;
31439
+ input: {
31440
+ param: {
31441
+ id: string;
31442
+ };
31443
+ };
31444
31444
  };
31445
31445
  };
31446
31446
  } & {
@@ -31568,66 +31568,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31568
31568
  } & {
31569
31569
  "/runs/:id": {
31570
31570
  $patch: {
31571
- output: {
31572
- error: string;
31573
- };
31574
- outputFormat: "json";
31575
- status: 400;
31576
- input: {
31577
- json: {
31578
- archiveWhenDone?: boolean | undefined;
31579
- autoMergePr?: boolean | undefined;
31580
- allowWorkers?: boolean | undefined;
31581
- allowMessaging?: boolean | undefined;
31582
- title?: string | undefined;
31583
- task?: string | undefined;
31584
- };
31585
- } & {
31586
- param: {
31587
- id: string;
31588
- };
31589
- };
31590
- } | {
31591
- output: {
31592
- error: string;
31593
- };
31594
- outputFormat: "json";
31595
- status: 404;
31596
- input: {
31597
- json: {
31598
- archiveWhenDone?: boolean | undefined;
31599
- autoMergePr?: boolean | undefined;
31600
- allowWorkers?: boolean | undefined;
31601
- allowMessaging?: boolean | undefined;
31602
- title?: string | undefined;
31603
- task?: string | undefined;
31604
- };
31605
- } & {
31606
- param: {
31607
- id: string;
31608
- };
31609
- };
31610
- } | {
31611
- output: {
31612
- error: string;
31613
- };
31614
- outputFormat: "json";
31615
- status: 409;
31616
- input: {
31617
- json: {
31618
- archiveWhenDone?: boolean | undefined;
31619
- autoMergePr?: boolean | undefined;
31620
- allowWorkers?: boolean | undefined;
31621
- allowMessaging?: boolean | undefined;
31622
- title?: string | undefined;
31623
- task?: string | undefined;
31624
- };
31625
- } & {
31626
- param: {
31627
- id: string;
31628
- };
31629
- };
31630
- } | {
31631
31571
  output: {
31632
31572
  archiveWhenDone?: boolean | undefined;
31633
31573
  autoMergePr?: boolean | undefined;
@@ -32812,6 +32752,66 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32812
32752
  id: string;
32813
32753
  };
32814
32754
  };
32755
+ } | {
32756
+ output: {
32757
+ error: string;
32758
+ };
32759
+ outputFormat: "json";
32760
+ status: 404;
32761
+ input: {
32762
+ json: {
32763
+ archiveWhenDone?: boolean | undefined;
32764
+ autoMergePr?: boolean | undefined;
32765
+ allowWorkers?: boolean | undefined;
32766
+ allowMessaging?: boolean | undefined;
32767
+ title?: string | undefined;
32768
+ task?: string | undefined;
32769
+ };
32770
+ } & {
32771
+ param: {
32772
+ id: string;
32773
+ };
32774
+ };
32775
+ } | {
32776
+ output: {
32777
+ error: string;
32778
+ };
32779
+ outputFormat: "json";
32780
+ status: 400;
32781
+ input: {
32782
+ json: {
32783
+ archiveWhenDone?: boolean | undefined;
32784
+ autoMergePr?: boolean | undefined;
32785
+ allowWorkers?: boolean | undefined;
32786
+ allowMessaging?: boolean | undefined;
32787
+ title?: string | undefined;
32788
+ task?: string | undefined;
32789
+ };
32790
+ } & {
32791
+ param: {
32792
+ id: string;
32793
+ };
32794
+ };
32795
+ } | {
32796
+ output: {
32797
+ error: string;
32798
+ };
32799
+ outputFormat: "json";
32800
+ status: 409;
32801
+ input: {
32802
+ json: {
32803
+ archiveWhenDone?: boolean | undefined;
32804
+ autoMergePr?: boolean | undefined;
32805
+ allowWorkers?: boolean | undefined;
32806
+ allowMessaging?: boolean | undefined;
32807
+ title?: string | undefined;
32808
+ task?: string | undefined;
32809
+ };
32810
+ } & {
32811
+ param: {
32812
+ id: string;
32813
+ };
32814
+ };
32815
32815
  };
32816
32816
  };
32817
32817
  } & {
@@ -32916,7 +32916,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32916
32916
  error: string;
32917
32917
  };
32918
32918
  outputFormat: "json";
32919
- status: 400;
32919
+ status: 404;
32920
32920
  input: {
32921
32921
  json: {
32922
32922
  text?: string | undefined;
@@ -32935,7 +32935,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32935
32935
  error: string;
32936
32936
  };
32937
32937
  outputFormat: "json";
32938
- status: 404;
32938
+ status: 409;
32939
32939
  input: {
32940
32940
  json: {
32941
32941
  text?: string | undefined;
@@ -32951,10 +32951,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32951
32951
  };
32952
32952
  } | {
32953
32953
  output: {
32954
- error: string;
32954
+ delivered: true;
32955
32955
  };
32956
32956
  outputFormat: "json";
32957
- status: 409;
32957
+ status: import("hono/utils/http-status").ContentfulStatusCode;
32958
32958
  input: {
32959
32959
  json: {
32960
32960
  text?: string | undefined;
@@ -32970,10 +32970,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32970
32970
  };
32971
32971
  } | {
32972
32972
  output: {
32973
- delivered: true;
32973
+ error: string;
32974
32974
  };
32975
32975
  outputFormat: "json";
32976
- status: import("hono/utils/http-status").ContentfulStatusCode;
32976
+ status: 400;
32977
32977
  input: {
32978
32978
  json: {
32979
32979
  text?: string | undefined;
@@ -33041,7 +33041,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33041
33041
  error: string;
33042
33042
  };
33043
33043
  outputFormat: "json";
33044
- status: 400;
33044
+ status: 404;
33045
33045
  input: {
33046
33046
  json: {
33047
33047
  text?: string | undefined;
@@ -33062,7 +33062,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33062
33062
  error: string;
33063
33063
  };
33064
33064
  outputFormat: "json";
33065
- status: 404;
33065
+ status: 400;
33066
33066
  input: {
33067
33067
  json: {
33068
33068
  text?: string | undefined;
@@ -33282,11 +33282,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33282
33282
  "/runs/:id/open-in-cli": {
33283
33283
  $post: {
33284
33284
  output: {
33285
- opened: true;
33286
- command: string;
33285
+ error: string;
33287
33286
  };
33288
33287
  outputFormat: "json";
33289
- status: import("hono/utils/http-status").ContentfulStatusCode;
33288
+ status: 404 | 409;
33290
33289
  input: {
33291
33290
  param: {
33292
33291
  id: string;
@@ -33294,10 +33293,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33294
33293
  };
33295
33294
  } | {
33296
33295
  output: {
33297
- error: string;
33296
+ opened: true;
33297
+ command: string;
33298
33298
  };
33299
33299
  outputFormat: "json";
33300
- status: 404 | 409;
33300
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33301
33301
  input: {
33302
33302
  param: {
33303
33303
  id: string;
@@ -33312,7 +33312,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33312
33312
  error: string;
33313
33313
  };
33314
33314
  outputFormat: "json";
33315
- status: 400;
33315
+ status: 404 | 409;
33316
33316
  input: {
33317
33317
  json: {
33318
33318
  target: string;
@@ -33325,11 +33325,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33325
33325
  };
33326
33326
  } | {
33327
33327
  output: {
33328
- opened: true;
33329
- path: string;
33328
+ error: string;
33330
33329
  };
33331
33330
  outputFormat: "json";
33332
- status: import("hono/utils/http-status").ContentfulStatusCode;
33331
+ status: 400;
33333
33332
  input: {
33334
33333
  json: {
33335
33334
  target: string;
@@ -33342,10 +33341,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33342
33341
  };
33343
33342
  } | {
33344
33343
  output: {
33345
- error: string;
33344
+ opened: true;
33345
+ path: string;
33346
33346
  };
33347
33347
  outputFormat: "json";
33348
- status: 404 | 409;
33348
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33349
33349
  input: {
33350
33350
  json: {
33351
33351
  target: string;
@@ -33385,12 +33385,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33385
33385
  } & {
33386
33386
  "/runs/:id/images/:file": {
33387
33387
  $get: {
33388
- output: {
33389
- error: string;
33390
- code?: "invalid_input" | undefined;
33391
- };
33392
- outputFormat: "json";
33393
- status: 400;
33388
+ output: {};
33389
+ outputFormat: string;
33390
+ status: import("hono/utils/http-status").StatusCode;
33394
33391
  input: {
33395
33392
  param: {
33396
33393
  id: string;
@@ -33398,9 +33395,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33398
33395
  };
33399
33396
  };
33400
33397
  } | {
33401
- output: {};
33402
- outputFormat: string;
33403
- status: import("hono/utils/http-status").StatusCode;
33398
+ output: {
33399
+ error: string;
33400
+ code?: "invalid_input" | undefined;
33401
+ };
33402
+ outputFormat: "json";
33403
+ status: 400;
33404
33404
  input: {
33405
33405
  param: {
33406
33406
  id: string;
@@ -33436,6 +33436,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33436
33436
  } & {
33437
33437
  "/runs/:id/changes": {
33438
33438
  $get: {
33439
+ output: {
33440
+ error: string;
33441
+ };
33442
+ outputFormat: "json";
33443
+ status: 404 | 409;
33444
+ input: {
33445
+ param: {
33446
+ id: string;
33447
+ };
33448
+ };
33449
+ } | {
33439
33450
  output: {
33440
33451
  files: {
33441
33452
  path: string;
@@ -33464,7 +33475,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33464
33475
  id: string;
33465
33476
  };
33466
33477
  };
33467
- } | {
33478
+ };
33479
+ };
33480
+ } & {
33481
+ "/runs/:id/commits": {
33482
+ $get: {
33468
33483
  output: {
33469
33484
  error: string;
33470
33485
  };
@@ -33475,11 +33490,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33475
33490
  id: string;
33476
33491
  };
33477
33492
  };
33478
- };
33479
- };
33480
- } & {
33481
- "/runs/:id/commits": {
33482
- $get: {
33493
+ } | {
33483
33494
  output: {
33484
33495
  commits: {
33485
33496
  sha: string;
@@ -33495,7 +33506,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33495
33506
  id: string;
33496
33507
  };
33497
33508
  };
33498
- } | {
33509
+ };
33510
+ };
33511
+ } & {
33512
+ "/runs/:id/commit/:sha": {
33513
+ $get: {
33499
33514
  output: {
33500
33515
  error: string;
33501
33516
  };
@@ -33503,14 +33518,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33503
33518
  status: 404 | 409;
33504
33519
  input: {
33505
33520
  param: {
33521
+ sha: string;
33522
+ } & {
33506
33523
  id: string;
33507
33524
  };
33508
33525
  };
33509
- };
33510
- };
33511
- } & {
33512
- "/runs/:id/commit/:sha": {
33513
- $get: {
33526
+ } | {
33514
33527
  output: {
33515
33528
  sha: string;
33516
33529
  subject: string;
@@ -33536,22 +33549,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33536
33549
  status: import("hono/utils/http-status").ContentfulStatusCode;
33537
33550
  input: {
33538
33551
  param: {
33539
- id: string;
33540
- } & {
33541
33552
  sha: string;
33542
- };
33543
- };
33544
- } | {
33545
- output: {
33546
- error: string;
33547
- };
33548
- outputFormat: "json";
33549
- status: 404 | 409;
33550
- input: {
33551
- param: {
33552
- id: string;
33553
33553
  } & {
33554
- sha: string;
33554
+ id: string;
33555
33555
  };
33556
33556
  };
33557
33557
  };
@@ -33589,6 +33589,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33589
33589
  raw?: "1" | undefined;
33590
33590
  };
33591
33591
  };
33592
+ } | {
33593
+ output: {
33594
+ error: string;
33595
+ };
33596
+ outputFormat: "json";
33597
+ status: 404 | 409;
33598
+ input: {
33599
+ param: {
33600
+ id: string;
33601
+ };
33602
+ } & {
33603
+ query: {
33604
+ path: string | string[];
33605
+ raw?: "1" | undefined;
33606
+ };
33607
+ };
33592
33608
  } | {
33593
33609
  output: {
33594
33610
  type: "file";
@@ -33625,22 +33641,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33625
33641
  raw?: "1" | undefined;
33626
33642
  };
33627
33643
  };
33628
- } | {
33629
- output: {
33630
- error: string;
33631
- };
33632
- outputFormat: "json";
33633
- status: 404 | 409;
33634
- input: {
33635
- param: {
33636
- id: string;
33637
- };
33638
- } & {
33639
- query: {
33640
- path: string | string[];
33641
- raw?: "1" | undefined;
33642
- };
33643
- };
33644
33644
  };
33645
33645
  };
33646
33646
  } & {
@@ -33705,18 +33705,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33705
33705
  artifactId: string;
33706
33706
  };
33707
33707
  };
33708
- } | {
33709
- output: {
33710
- error: string;
33711
- };
33712
- outputFormat: "json";
33713
- status: 404;
33714
- input: {
33715
- param: {
33716
- id: string;
33717
- artifactId: string;
33718
- };
33719
- };
33720
33708
  } | {
33721
33709
  output: {
33722
33710
  type: "file";
@@ -33745,6 +33733,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33745
33733
  artifactId: string;
33746
33734
  };
33747
33735
  };
33736
+ } | {
33737
+ output: {
33738
+ error: string;
33739
+ };
33740
+ outputFormat: "json";
33741
+ status: 404;
33742
+ input: {
33743
+ param: {
33744
+ id: string;
33745
+ artifactId: string;
33746
+ };
33747
+ };
33748
33748
  };
33749
33749
  };
33750
33750
  } & {
@@ -33922,16 +33922,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33922
33922
  };
33923
33923
  } | {
33924
33924
  output: {
33925
- type: 'dir';
33926
- path: string;
33927
- entries: {
33928
- name: string;
33929
- type: 'dir' | 'file';
33930
- size?: number;
33931
- }[];
33925
+ error: string;
33932
33926
  };
33933
33927
  outputFormat: "json";
33934
- status: import("hono/utils/http-status").ContentfulStatusCode;
33928
+ status: 404 | 409;
33935
33929
  input: {
33936
33930
  query: {
33937
33931
  path?: string | undefined;
@@ -33944,12 +33938,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33944
33938
  };
33945
33939
  } | {
33946
33940
  output: {
33947
- type: 'file';
33941
+ type: 'dir';
33948
33942
  path: string;
33949
- size: number;
33950
- binary: boolean;
33951
- tooLarge: boolean;
33952
- content?: string | undefined;
33943
+ entries: {
33944
+ name: string;
33945
+ type: 'dir' | 'file';
33946
+ size?: number;
33947
+ }[];
33953
33948
  };
33954
33949
  outputFormat: "json";
33955
33950
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -33965,10 +33960,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33965
33960
  };
33966
33961
  } | {
33967
33962
  output: {
33968
- error: string;
33963
+ type: 'file';
33964
+ path: string;
33965
+ size: number;
33966
+ binary: boolean;
33967
+ tooLarge: boolean;
33968
+ content?: string | undefined;
33969
33969
  };
33970
33970
  outputFormat: "json";
33971
- status: 404 | 409;
33971
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33972
33972
  input: {
33973
33973
  query: {
33974
33974
  path?: string | undefined;
@@ -33985,11 +33985,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33985
33985
  "/runs/:id/git/commit": {
33986
33986
  $post: {
33987
33987
  output: {
33988
- committed: true;
33989
- sha: string;
33988
+ error: string;
33990
33989
  };
33991
33990
  outputFormat: "json";
33992
- status: import("hono/utils/http-status").ContentfulStatusCode;
33991
+ status: 404 | 409;
33993
33992
  input: {
33994
33993
  json: {
33995
33994
  message: string;
@@ -34001,10 +34000,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34001
34000
  };
34002
34001
  } | {
34003
34002
  output: {
34004
- error: string;
34003
+ committed: true;
34004
+ sha: string;
34005
34005
  };
34006
34006
  outputFormat: "json";
34007
- status: 404 | 409;
34007
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34008
34008
  input: {
34009
34009
  json: {
34010
34010
  message: string;
@@ -34020,13 +34020,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34020
34020
  "/runs/:id/git/push": {
34021
34021
  $post: {
34022
34022
  output: {
34023
- pushed: true;
34024
- branch: string;
34025
- remote: string;
34026
- upstreamSet: boolean;
34023
+ error: string;
34027
34024
  };
34028
34025
  outputFormat: "json";
34029
- status: import("hono/utils/http-status").ContentfulStatusCode;
34026
+ status: 404 | 409;
34030
34027
  input: {
34031
34028
  param: {
34032
34029
  id: string;
@@ -34034,10 +34031,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34034
34031
  };
34035
34032
  } | {
34036
34033
  output: {
34037
- error: string;
34034
+ pushed: true;
34035
+ branch: string;
34036
+ remote: string;
34037
+ upstreamSet: boolean;
34038
34038
  };
34039
34039
  outputFormat: "json";
34040
- status: 404 | 409;
34040
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34041
34041
  input: {
34042
34042
  param: {
34043
34043
  id: string;
@@ -34049,11 +34049,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34049
34049
  "/runs/:id/pr": {
34050
34050
  $post: {
34051
34051
  output: {
34052
- url: string;
34053
- dryRun: boolean;
34052
+ error: string;
34054
34053
  };
34055
34054
  outputFormat: "json";
34056
- status: 201;
34055
+ status: 404 | 409;
34057
34056
  input: {
34058
34057
  param: {
34059
34058
  id: string;
@@ -34061,10 +34060,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34061
34060
  };
34062
34061
  } | {
34063
34062
  output: {
34064
- error: string;
34063
+ url: string;
34064
+ dryRun: boolean;
34065
34065
  };
34066
34066
  outputFormat: "json";
34067
- status: 404 | 409;
34067
+ status: 201;
34068
34068
  input: {
34069
34069
  param: {
34070
34070
  id: string;
@@ -34076,10 +34076,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34076
34076
  "/runs/:id/remove-worktree": {
34077
34077
  $post: {
34078
34078
  output: {
34079
- removed: true;
34079
+ error: string;
34080
34080
  };
34081
34081
  outputFormat: "json";
34082
- status: import("hono/utils/http-status").ContentfulStatusCode;
34082
+ status: 404 | 409;
34083
34083
  input: {
34084
34084
  param: {
34085
34085
  id: string;
@@ -34087,10 +34087,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34087
34087
  };
34088
34088
  } | {
34089
34089
  output: {
34090
- error: string;
34090
+ removed: true;
34091
34091
  };
34092
34092
  outputFormat: "json";
34093
- status: 404 | 409;
34093
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34094
34094
  input: {
34095
34095
  param: {
34096
34096
  id: string;
@@ -34102,10 +34102,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34102
34102
  "/runs/:id": {
34103
34103
  $delete: {
34104
34104
  output: {
34105
- deleted: true;
34105
+ error: string;
34106
34106
  };
34107
34107
  outputFormat: "json";
34108
- status: import("hono/utils/http-status").ContentfulStatusCode;
34108
+ status: 404 | 409;
34109
34109
  input: {
34110
34110
  param: {
34111
34111
  id: string;
@@ -34113,10 +34113,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34113
34113
  };
34114
34114
  } | {
34115
34115
  output: {
34116
- error: string;
34116
+ deleted: true;
34117
34117
  };
34118
34118
  outputFormat: "json";
34119
- status: 404 | 409;
34119
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34120
34120
  input: {
34121
34121
  param: {
34122
34122
  id: string;