@hearsay-tools/squawk 0.19.0-dev.9235 → 0.19.0-dev.9239

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.
@@ -1234,6 +1234,18 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1234
1234
  } & {
1235
1235
  "/run-summaries": {
1236
1236
  $get: {
1237
+ output: {
1238
+ error: string;
1239
+ code?: "invalid_input" | undefined;
1240
+ };
1241
+ outputFormat: "json";
1242
+ status: 400;
1243
+ input: {
1244
+ query: {
1245
+ archived?: "all" | "recent" | undefined;
1246
+ };
1247
+ };
1248
+ } | {
1237
1249
  output: {
1238
1250
  id: string;
1239
1251
  title: string;
@@ -1371,18 +1383,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1371
1383
  archived?: "all" | "recent" | undefined;
1372
1384
  };
1373
1385
  };
1374
- } | {
1375
- output: {
1376
- error: string;
1377
- code?: "invalid_input" | undefined;
1378
- };
1379
- outputFormat: "json";
1380
- status: 400;
1381
- input: {
1382
- query: {
1383
- archived?: "all" | "recent" | undefined;
1384
- };
1385
- };
1386
1386
  };
1387
1387
  };
1388
1388
  } & {
@@ -1744,11 +1744,24 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1744
1744
  "/runs/:id/worker-destroy": {
1745
1745
  $post: {
1746
1746
  output: {
1747
- error: string;
1748
- code?: "invalid_input" | undefined;
1747
+ workerId: string;
1748
+ state: "complete" | "incomplete";
1749
+ work?: {
1750
+ uncommittedFiles: number;
1751
+ commits: number;
1752
+ } | undefined;
1753
+ deleted?: ({
1754
+ kind: "worktree";
1755
+ path: string;
1756
+ } | {
1757
+ kind: "branch";
1758
+ ref: string;
1759
+ })[] | undefined;
1760
+ remaining: ("branch" | "process" | "worktree")[];
1761
+ error?: string | undefined;
1749
1762
  };
1750
1763
  outputFormat: "json";
1751
- status: 400;
1764
+ status: 200;
1752
1765
  input: {
1753
1766
  query: {
1754
1767
  [x: string]: string | string[];
@@ -1764,24 +1777,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1764
1777
  };
1765
1778
  } | {
1766
1779
  output: {
1767
- workerId: string;
1768
- state: "complete" | "incomplete";
1769
- work?: {
1770
- uncommittedFiles: number;
1771
- commits: number;
1772
- } | undefined;
1773
- deleted?: ({
1774
- kind: "worktree";
1775
- path: string;
1776
- } | {
1777
- kind: "branch";
1778
- ref: string;
1779
- })[] | undefined;
1780
- remaining: ("branch" | "process" | "worktree")[];
1781
- error?: string | undefined;
1780
+ error: string;
1781
+ code?: "invalid_input" | undefined;
1782
1782
  };
1783
1783
  outputFormat: "json";
1784
- status: 200;
1784
+ status: 400;
1785
1785
  input: {
1786
1786
  query: {
1787
1787
  [x: string]: string | string[];
@@ -1897,6 +1897,21 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1897
1897
  } & {
1898
1898
  "/runs/:id/archive": {
1899
1899
  $post: {
1900
+ output: {
1901
+ error: string;
1902
+ };
1903
+ outputFormat: "json";
1904
+ status: 404;
1905
+ input: {
1906
+ json: {
1907
+ archived?: boolean | undefined;
1908
+ };
1909
+ } & {
1910
+ param: {
1911
+ id: string;
1912
+ };
1913
+ };
1914
+ } | {
1900
1915
  output: {
1901
1916
  archiveWhenDone?: boolean | undefined;
1902
1917
  autoMergePr?: boolean | undefined;
@@ -3095,32 +3110,32 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3095
3110
  id: string;
3096
3111
  };
3097
3112
  };
3098
- } | {
3113
+ };
3114
+ };
3115
+ } & {
3116
+ "/runs/:id/pin": {
3117
+ $post: {
3099
3118
  output: {
3100
3119
  error: string;
3120
+ code?: "invalid_input" | undefined;
3101
3121
  };
3102
3122
  outputFormat: "json";
3103
- status: 404;
3123
+ status: 400;
3104
3124
  input: {
3105
- json: {
3106
- archived?: boolean | undefined;
3107
- };
3108
- } & {
3109
3125
  param: {
3110
3126
  id: string;
3111
3127
  };
3128
+ } & {
3129
+ json: {
3130
+ pinned?: boolean | undefined;
3131
+ };
3112
3132
  };
3113
- };
3114
- };
3115
- } & {
3116
- "/runs/:id/pin": {
3117
- $post: {
3133
+ } | {
3118
3134
  output: {
3119
3135
  error: string;
3120
- code?: "invalid_input" | undefined;
3121
3136
  };
3122
3137
  outputFormat: "json";
3123
- status: 400;
3138
+ status: 404;
3124
3139
  input: {
3125
3140
  param: {
3126
3141
  id: string;
@@ -4329,21 +4344,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4329
4344
  pinned?: boolean | undefined;
4330
4345
  };
4331
4346
  };
4332
- } | {
4333
- output: {
4334
- error: string;
4335
- };
4336
- outputFormat: "json";
4337
- status: 404;
4338
- input: {
4339
- param: {
4340
- id: string;
4341
- };
4342
- } & {
4343
- json: {
4344
- pinned?: boolean | undefined;
4345
- };
4346
- };
4347
4347
  };
4348
4348
  };
4349
4349
  } & {
@@ -4365,22 +4365,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4365
4365
  message?: string | undefined;
4366
4366
  };
4367
4367
  };
4368
- } | {
4369
- output: {
4370
- error: string;
4371
- };
4372
- outputFormat: "json";
4373
- status: 400 | 404 | 409;
4374
- input: {
4375
- param: {
4376
- id: string;
4377
- };
4378
- } & {
4379
- json: {
4380
- notify: boolean;
4381
- message?: string | undefined;
4382
- };
4383
- };
4384
4368
  } | {
4385
4369
  output: {
4386
4370
  archiveWhenDone?: boolean | undefined;
@@ -5581,6 +5565,22 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5581
5565
  message?: string | undefined;
5582
5566
  };
5583
5567
  };
5568
+ } | {
5569
+ output: {
5570
+ error: string;
5571
+ };
5572
+ outputFormat: "json";
5573
+ status: 400 | 404 | 409;
5574
+ input: {
5575
+ param: {
5576
+ id: string;
5577
+ };
5578
+ } & {
5579
+ json: {
5580
+ notify: boolean;
5581
+ message?: string | undefined;
5582
+ };
5583
+ };
5584
5584
  };
5585
5585
  };
5586
5586
  } & {
@@ -5612,6 +5612,17 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5612
5612
  } & {
5613
5613
  "/runs/:id/read": {
5614
5614
  $post: {
5615
+ output: {
5616
+ error: string;
5617
+ };
5618
+ outputFormat: "json";
5619
+ status: 404;
5620
+ input: {
5621
+ param: {
5622
+ id: string;
5623
+ };
5624
+ };
5625
+ } | {
5615
5626
  output: {
5616
5627
  archiveWhenDone?: boolean | undefined;
5617
5628
  autoMergePr?: boolean | undefined;
@@ -6806,7 +6817,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6806
6817
  id: string;
6807
6818
  };
6808
6819
  };
6809
- } | {
6820
+ };
6821
+ };
6822
+ } & {
6823
+ "/runs/:id/unread": {
6824
+ $post: {
6810
6825
  output: {
6811
6826
  error: string;
6812
6827
  };
@@ -6817,11 +6832,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6817
6832
  id: string;
6818
6833
  };
6819
6834
  };
6820
- };
6821
- };
6822
- } & {
6823
- "/runs/:id/unread": {
6824
- $post: {
6835
+ } | {
6825
6836
  output: {
6826
6837
  archiveWhenDone?: boolean | undefined;
6827
6838
  autoMergePr?: boolean | undefined;
@@ -8016,17 +8027,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
8016
8027
  id: string;
8017
8028
  };
8018
8029
  };
8019
- } | {
8020
- output: {
8021
- error: string;
8022
- };
8023
- outputFormat: "json";
8024
- status: 404;
8025
- input: {
8026
- param: {
8027
- id: string;
8028
- };
8029
- };
8030
8030
  };
8031
8031
  };
8032
8032
  } & {
@@ -9322,6 +9322,17 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9322
9322
  } & {
9323
9323
  "/runs/:id": {
9324
9324
  $get: {
9325
+ output: {
9326
+ error: string;
9327
+ };
9328
+ outputFormat: "json";
9329
+ status: 404;
9330
+ input: {
9331
+ param: {
9332
+ id: string;
9333
+ };
9334
+ };
9335
+ } | {
9325
9336
  output: {
9326
9337
  archiveWhenDone?: boolean | undefined;
9327
9338
  autoMergePr?: boolean | undefined;
@@ -10524,17 +10535,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10524
10535
  id: string;
10525
10536
  };
10526
10537
  };
10527
- } | {
10528
- output: {
10529
- error: string;
10530
- };
10531
- outputFormat: "json";
10532
- status: 404;
10533
- input: {
10534
- param: {
10535
- id: string;
10536
- };
10537
- };
10538
10538
  };
10539
10539
  };
10540
10540
  } & {
@@ -10663,46 +10663,106 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10663
10663
  "/runs/:id": {
10664
10664
  $patch: {
10665
10665
  output: {
10666
- archiveWhenDone?: boolean | undefined;
10667
- autoMergePr?: boolean | undefined;
10668
- allowWorkers?: boolean | undefined;
10669
- allowMessaging?: boolean | undefined;
10670
- id: string;
10671
- title: string;
10672
- titleSummary?: string | undefined;
10673
- diffStat?: {
10674
- adds: number;
10675
- dels: number;
10676
- files: number;
10677
- repointed?: boolean | undefined;
10678
- } | undefined;
10679
- workflow: string;
10680
- task: string;
10681
- queuedMessages?: {
10682
- replayAfterOpen?: true | undefined;
10683
- id: string;
10684
- text: string;
10685
- images?: string[] | undefined;
10686
- createdAt: string;
10687
- }[] | undefined;
10688
- continuationMessage?: {
10689
- replayAfterOpen?: true | undefined;
10690
- id: string;
10691
- text: string;
10692
- images?: string[] | undefined;
10693
- createdAt: string;
10694
- origin?: "human" | "lifecycle" | undefined;
10695
- agentInputId?: string | undefined;
10666
+ error: string;
10667
+ };
10668
+ outputFormat: "json";
10669
+ status: 400;
10670
+ input: {
10671
+ json: {
10672
+ archiveWhenDone?: boolean | undefined;
10673
+ autoMergePr?: boolean | undefined;
10674
+ allowWorkers?: boolean | undefined;
10675
+ allowMessaging?: boolean | undefined;
10676
+ title?: string | undefined;
10696
10677
  task?: string | undefined;
10697
- resumeContext?: {
10698
- failure?: {
10699
- stepId?: string | undefined;
10700
- error: string;
10701
- } | undefined;
10702
- restarted?: true | undefined;
10703
- cutOff?: {
10704
- tools?: string[] | undefined;
10705
- subagents?: string[] | undefined;
10678
+ };
10679
+ } & {
10680
+ param: {
10681
+ id: string;
10682
+ };
10683
+ };
10684
+ } | {
10685
+ output: {
10686
+ error: string;
10687
+ };
10688
+ outputFormat: "json";
10689
+ status: 404;
10690
+ input: {
10691
+ json: {
10692
+ archiveWhenDone?: boolean | undefined;
10693
+ autoMergePr?: boolean | undefined;
10694
+ allowWorkers?: boolean | undefined;
10695
+ allowMessaging?: boolean | undefined;
10696
+ title?: string | undefined;
10697
+ task?: string | undefined;
10698
+ };
10699
+ } & {
10700
+ param: {
10701
+ id: string;
10702
+ };
10703
+ };
10704
+ } | {
10705
+ output: {
10706
+ error: string;
10707
+ };
10708
+ outputFormat: "json";
10709
+ status: 409;
10710
+ input: {
10711
+ json: {
10712
+ archiveWhenDone?: boolean | undefined;
10713
+ autoMergePr?: boolean | undefined;
10714
+ allowWorkers?: boolean | undefined;
10715
+ allowMessaging?: boolean | undefined;
10716
+ title?: string | undefined;
10717
+ task?: string | undefined;
10718
+ };
10719
+ } & {
10720
+ param: {
10721
+ id: string;
10722
+ };
10723
+ };
10724
+ } | {
10725
+ output: {
10726
+ archiveWhenDone?: boolean | undefined;
10727
+ autoMergePr?: boolean | undefined;
10728
+ allowWorkers?: boolean | undefined;
10729
+ allowMessaging?: boolean | undefined;
10730
+ id: string;
10731
+ title: string;
10732
+ titleSummary?: string | undefined;
10733
+ diffStat?: {
10734
+ adds: number;
10735
+ dels: number;
10736
+ files: number;
10737
+ repointed?: boolean | undefined;
10738
+ } | undefined;
10739
+ workflow: string;
10740
+ task: string;
10741
+ queuedMessages?: {
10742
+ replayAfterOpen?: true | undefined;
10743
+ id: string;
10744
+ text: string;
10745
+ images?: string[] | undefined;
10746
+ createdAt: string;
10747
+ }[] | undefined;
10748
+ continuationMessage?: {
10749
+ replayAfterOpen?: true | undefined;
10750
+ id: string;
10751
+ text: string;
10752
+ images?: string[] | undefined;
10753
+ createdAt: string;
10754
+ origin?: "human" | "lifecycle" | undefined;
10755
+ agentInputId?: string | undefined;
10756
+ task?: string | undefined;
10757
+ resumeContext?: {
10758
+ failure?: {
10759
+ stepId?: string | undefined;
10760
+ error: string;
10761
+ } | undefined;
10762
+ restarted?: true | undefined;
10763
+ cutOff?: {
10764
+ tools?: string[] | undefined;
10765
+ subagents?: string[] | undefined;
10706
10766
  } | undefined;
10707
10767
  } | undefined;
10708
10768
  } | undefined;
@@ -11865,66 +11925,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11865
11925
  id: string;
11866
11926
  };
11867
11927
  };
11868
- } | {
11869
- output: {
11870
- error: string;
11871
- };
11872
- outputFormat: "json";
11873
- status: 404;
11874
- input: {
11875
- json: {
11876
- archiveWhenDone?: boolean | undefined;
11877
- autoMergePr?: boolean | undefined;
11878
- allowWorkers?: boolean | undefined;
11879
- allowMessaging?: boolean | undefined;
11880
- title?: string | undefined;
11881
- task?: string | undefined;
11882
- };
11883
- } & {
11884
- param: {
11885
- id: string;
11886
- };
11887
- };
11888
- } | {
11889
- output: {
11890
- error: string;
11891
- };
11892
- outputFormat: "json";
11893
- status: 400;
11894
- input: {
11895
- json: {
11896
- archiveWhenDone?: boolean | undefined;
11897
- autoMergePr?: boolean | undefined;
11898
- allowWorkers?: boolean | undefined;
11899
- allowMessaging?: boolean | undefined;
11900
- title?: string | undefined;
11901
- task?: string | undefined;
11902
- };
11903
- } & {
11904
- param: {
11905
- id: string;
11906
- };
11907
- };
11908
- } | {
11909
- output: {
11910
- error: string;
11911
- };
11912
- outputFormat: "json";
11913
- status: 409;
11914
- input: {
11915
- json: {
11916
- archiveWhenDone?: boolean | undefined;
11917
- autoMergePr?: boolean | undefined;
11918
- allowWorkers?: boolean | undefined;
11919
- allowMessaging?: boolean | undefined;
11920
- title?: string | undefined;
11921
- task?: string | undefined;
11922
- };
11923
- } & {
11924
- param: {
11925
- id: string;
11926
- };
11927
- };
11928
11928
  };
11929
11929
  };
11930
11930
  } & {
@@ -12029,7 +12029,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12029
12029
  error: string;
12030
12030
  };
12031
12031
  outputFormat: "json";
12032
- status: 404;
12032
+ status: 400;
12033
12033
  input: {
12034
12034
  json: {
12035
12035
  text?: string | undefined;
@@ -12048,7 +12048,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12048
12048
  error: string;
12049
12049
  };
12050
12050
  outputFormat: "json";
12051
- status: 409;
12051
+ status: 404;
12052
12052
  input: {
12053
12053
  json: {
12054
12054
  text?: string | undefined;
@@ -12064,10 +12064,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12064
12064
  };
12065
12065
  } | {
12066
12066
  output: {
12067
- delivered: true;
12067
+ error: string;
12068
12068
  };
12069
12069
  outputFormat: "json";
12070
- status: import("hono/utils/http-status").ContentfulStatusCode;
12070
+ status: 409;
12071
12071
  input: {
12072
12072
  json: {
12073
12073
  text?: string | undefined;
@@ -12083,10 +12083,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12083
12083
  };
12084
12084
  } | {
12085
12085
  output: {
12086
- error: string;
12086
+ delivered: true;
12087
12087
  };
12088
12088
  outputFormat: "json";
12089
- status: 400;
12089
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12090
12090
  input: {
12091
12091
  json: {
12092
12092
  text?: string | undefined;
@@ -12154,7 +12154,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12154
12154
  error: string;
12155
12155
  };
12156
12156
  outputFormat: "json";
12157
- status: 404;
12157
+ status: 400;
12158
12158
  input: {
12159
12159
  json: {
12160
12160
  text?: string | undefined;
@@ -12175,7 +12175,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12175
12175
  error: string;
12176
12176
  };
12177
12177
  outputFormat: "json";
12178
- status: 400;
12178
+ status: 404;
12179
12179
  input: {
12180
12180
  json: {
12181
12181
  text?: string | undefined;
@@ -12395,10 +12395,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12395
12395
  "/runs/:id/open-in-cli": {
12396
12396
  $post: {
12397
12397
  output: {
12398
- error: string;
12398
+ opened: true;
12399
+ command: string;
12399
12400
  };
12400
12401
  outputFormat: "json";
12401
- status: 404 | 409;
12402
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12402
12403
  input: {
12403
12404
  param: {
12404
12405
  id: string;
@@ -12406,11 +12407,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12406
12407
  };
12407
12408
  } | {
12408
12409
  output: {
12409
- opened: true;
12410
- command: string;
12410
+ error: string;
12411
12411
  };
12412
12412
  outputFormat: "json";
12413
- status: import("hono/utils/http-status").ContentfulStatusCode;
12413
+ status: 404 | 409;
12414
12414
  input: {
12415
12415
  param: {
12416
12416
  id: string;
@@ -12425,7 +12425,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12425
12425
  error: string;
12426
12426
  };
12427
12427
  outputFormat: "json";
12428
- status: 404 | 409;
12428
+ status: 400;
12429
12429
  input: {
12430
12430
  json: {
12431
12431
  target: string;
@@ -12438,10 +12438,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12438
12438
  };
12439
12439
  } | {
12440
12440
  output: {
12441
- error: string;
12441
+ opened: true;
12442
+ path: string;
12442
12443
  };
12443
12444
  outputFormat: "json";
12444
- status: 400;
12445
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12445
12446
  input: {
12446
12447
  json: {
12447
12448
  target: string;
@@ -12454,11 +12455,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12454
12455
  };
12455
12456
  } | {
12456
12457
  output: {
12457
- opened: true;
12458
- path: string;
12458
+ error: string;
12459
12459
  };
12460
12460
  outputFormat: "json";
12461
- status: import("hono/utils/http-status").ContentfulStatusCode;
12461
+ status: 404 | 409;
12462
12462
  input: {
12463
12463
  json: {
12464
12464
  target: string;
@@ -12498,9 +12498,12 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12498
12498
  } & {
12499
12499
  "/runs/:id/images/:file": {
12500
12500
  $get: {
12501
- output: {};
12502
- outputFormat: string;
12503
- status: import("hono/utils/http-status").StatusCode;
12501
+ output: {
12502
+ error: string;
12503
+ code?: "invalid_input" | undefined;
12504
+ };
12505
+ outputFormat: "json";
12506
+ status: 400;
12504
12507
  input: {
12505
12508
  param: {
12506
12509
  id: string;
@@ -12508,12 +12511,9 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12508
12511
  };
12509
12512
  };
12510
12513
  } | {
12511
- output: {
12512
- error: string;
12513
- code?: "invalid_input" | undefined;
12514
- };
12515
- outputFormat: "json";
12516
- status: 400;
12514
+ output: {};
12515
+ outputFormat: string;
12516
+ status: import("hono/utils/http-status").StatusCode;
12517
12517
  input: {
12518
12518
  param: {
12519
12519
  id: string;
@@ -12549,17 +12549,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12549
12549
  } & {
12550
12550
  "/runs/:id/changes": {
12551
12551
  $get: {
12552
- output: {
12553
- error: string;
12554
- };
12555
- outputFormat: "json";
12556
- status: 404 | 409;
12557
- input: {
12558
- param: {
12559
- id: string;
12560
- };
12561
- };
12562
- } | {
12563
12552
  output: {
12564
12553
  files: {
12565
12554
  path: string;
@@ -12588,11 +12577,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12588
12577
  id: string;
12589
12578
  };
12590
12579
  };
12591
- };
12592
- };
12593
- } & {
12594
- "/runs/:id/commits": {
12595
- $get: {
12580
+ } | {
12596
12581
  output: {
12597
12582
  error: string;
12598
12583
  };
@@ -12603,7 +12588,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12603
12588
  id: string;
12604
12589
  };
12605
12590
  };
12606
- } | {
12591
+ };
12592
+ };
12593
+ } & {
12594
+ "/runs/:id/commits": {
12595
+ $get: {
12607
12596
  output: {
12608
12597
  commits: {
12609
12598
  sha: string;
@@ -12619,11 +12608,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12619
12608
  id: string;
12620
12609
  };
12621
12610
  };
12622
- };
12623
- };
12624
- } & {
12625
- "/runs/:id/commit/:sha": {
12626
- $get: {
12611
+ } | {
12627
12612
  output: {
12628
12613
  error: string;
12629
12614
  };
@@ -12632,11 +12617,13 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12632
12617
  input: {
12633
12618
  param: {
12634
12619
  id: string;
12635
- } & {
12636
- sha: string;
12637
12620
  };
12638
12621
  };
12639
- } | {
12622
+ };
12623
+ };
12624
+ } & {
12625
+ "/runs/:id/commit/:sha": {
12626
+ $get: {
12640
12627
  output: {
12641
12628
  sha: string;
12642
12629
  subject: string;
@@ -12667,6 +12654,19 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12667
12654
  sha: string;
12668
12655
  };
12669
12656
  };
12657
+ } | {
12658
+ output: {
12659
+ error: string;
12660
+ };
12661
+ outputFormat: "json";
12662
+ status: 404 | 409;
12663
+ input: {
12664
+ param: {
12665
+ id: string;
12666
+ } & {
12667
+ sha: string;
12668
+ };
12669
+ };
12670
12670
  };
12671
12671
  };
12672
12672
  } & {
@@ -12690,10 +12690,15 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12690
12690
  };
12691
12691
  } | {
12692
12692
  output: {
12693
- error: string;
12693
+ type: 'file';
12694
+ path: string;
12695
+ size: number;
12696
+ binary: boolean;
12697
+ tooLarge: boolean;
12698
+ content?: string | undefined;
12694
12699
  };
12695
12700
  outputFormat: "json";
12696
- status: 404 | 409;
12701
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12697
12702
  input: {
12698
12703
  param: {
12699
12704
  sha: string;
@@ -12706,15 +12711,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12706
12711
  };
12707
12712
  } | {
12708
12713
  output: {
12709
- type: 'file';
12710
- path: string;
12711
- size: number;
12712
- binary: boolean;
12713
- tooLarge: boolean;
12714
- content?: string | undefined;
12714
+ error: string;
12715
12715
  };
12716
12716
  outputFormat: "json";
12717
- status: import("hono/utils/http-status").ContentfulStatusCode;
12717
+ status: 404 | 409;
12718
12718
  input: {
12719
12719
  param: {
12720
12720
  sha: string;
@@ -12760,22 +12760,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12760
12760
  raw?: "1" | undefined;
12761
12761
  };
12762
12762
  };
12763
- } | {
12764
- output: {
12765
- error: string;
12766
- };
12767
- outputFormat: "json";
12768
- status: 404 | 409;
12769
- input: {
12770
- param: {
12771
- id: string;
12772
- };
12773
- } & {
12774
- query: {
12775
- path: string | string[];
12776
- raw?: "1" | undefined;
12777
- };
12778
- };
12779
12763
  } | {
12780
12764
  output: {
12781
12765
  type: "file";
@@ -12812,6 +12796,22 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12812
12796
  raw?: "1" | undefined;
12813
12797
  };
12814
12798
  };
12799
+ } | {
12800
+ output: {
12801
+ error: string;
12802
+ };
12803
+ outputFormat: "json";
12804
+ status: 404 | 409;
12805
+ input: {
12806
+ param: {
12807
+ id: string;
12808
+ };
12809
+ } & {
12810
+ query: {
12811
+ path: string | string[];
12812
+ raw?: "1" | undefined;
12813
+ };
12814
+ };
12815
12815
  };
12816
12816
  };
12817
12817
  } & {
@@ -12876,6 +12876,18 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12876
12876
  artifactId: string;
12877
12877
  };
12878
12878
  };
12879
+ } | {
12880
+ output: {
12881
+ error: string;
12882
+ };
12883
+ outputFormat: "json";
12884
+ status: 404;
12885
+ input: {
12886
+ param: {
12887
+ id: string;
12888
+ artifactId: string;
12889
+ };
12890
+ };
12879
12891
  } | {
12880
12892
  output: {
12881
12893
  type: "file";
@@ -12904,18 +12916,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12904
12916
  artifactId: string;
12905
12917
  };
12906
12918
  };
12907
- } | {
12908
- output: {
12909
- error: string;
12910
- };
12911
- outputFormat: "json";
12912
- status: 404;
12913
- input: {
12914
- param: {
12915
- id: string;
12916
- artifactId: string;
12917
- };
12918
- };
12919
12919
  };
12920
12920
  };
12921
12921
  } & {
@@ -13091,22 +13091,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13091
13091
  id: string;
13092
13092
  };
13093
13093
  };
13094
- } | {
13095
- output: {
13096
- error: string;
13097
- };
13098
- outputFormat: "json";
13099
- status: 404 | 409;
13100
- input: {
13101
- query: {
13102
- path?: string | undefined;
13103
- raw?: string | undefined;
13104
- };
13105
- } & {
13106
- param: {
13107
- id: string;
13108
- };
13109
- };
13110
13094
  } | {
13111
13095
  output: {
13112
13096
  type: 'file';
@@ -13151,16 +13135,33 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13151
13135
  id: string;
13152
13136
  };
13153
13137
  };
13138
+ } | {
13139
+ output: {
13140
+ error: string;
13141
+ };
13142
+ outputFormat: "json";
13143
+ status: 404 | 409;
13144
+ input: {
13145
+ query: {
13146
+ path?: string | undefined;
13147
+ raw?: string | undefined;
13148
+ };
13149
+ } & {
13150
+ param: {
13151
+ id: string;
13152
+ };
13153
+ };
13154
13154
  };
13155
13155
  };
13156
13156
  } & {
13157
13157
  "/runs/:id/git/commit": {
13158
13158
  $post: {
13159
13159
  output: {
13160
- error: string;
13160
+ committed: true;
13161
+ sha: string;
13161
13162
  };
13162
13163
  outputFormat: "json";
13163
- status: 404 | 409;
13164
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13164
13165
  input: {
13165
13166
  json: {
13166
13167
  message: string;
@@ -13172,11 +13173,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13172
13173
  };
13173
13174
  } | {
13174
13175
  output: {
13175
- committed: true;
13176
- sha: string;
13176
+ error: string;
13177
13177
  };
13178
13178
  outputFormat: "json";
13179
- status: import("hono/utils/http-status").ContentfulStatusCode;
13179
+ status: 404 | 409;
13180
13180
  input: {
13181
13181
  json: {
13182
13182
  message: string;
@@ -13192,10 +13192,13 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13192
13192
  "/runs/:id/git/push": {
13193
13193
  $post: {
13194
13194
  output: {
13195
- error: string;
13195
+ pushed: true;
13196
+ branch: string;
13197
+ remote: string;
13198
+ upstreamSet: boolean;
13196
13199
  };
13197
13200
  outputFormat: "json";
13198
- status: 404 | 409;
13201
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13199
13202
  input: {
13200
13203
  param: {
13201
13204
  id: string;
@@ -13203,13 +13206,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13203
13206
  };
13204
13207
  } | {
13205
13208
  output: {
13206
- pushed: true;
13207
- branch: string;
13208
- remote: string;
13209
- upstreamSet: boolean;
13209
+ error: string;
13210
13210
  };
13211
13211
  outputFormat: "json";
13212
- status: import("hono/utils/http-status").ContentfulStatusCode;
13212
+ status: 404 | 409;
13213
13213
  input: {
13214
13214
  param: {
13215
13215
  id: string;
@@ -13221,10 +13221,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13221
13221
  "/runs/:id/pr": {
13222
13222
  $post: {
13223
13223
  output: {
13224
- error: string;
13224
+ url: string;
13225
+ dryRun: boolean;
13225
13226
  };
13226
13227
  outputFormat: "json";
13227
- status: 404 | 409;
13228
+ status: 201;
13228
13229
  input: {
13229
13230
  param: {
13230
13231
  id: string;
@@ -13232,11 +13233,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13232
13233
  };
13233
13234
  } | {
13234
13235
  output: {
13235
- url: string;
13236
- dryRun: boolean;
13236
+ error: string;
13237
13237
  };
13238
13238
  outputFormat: "json";
13239
- status: 201;
13239
+ status: 404 | 409;
13240
13240
  input: {
13241
13241
  param: {
13242
13242
  id: string;
@@ -13248,10 +13248,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13248
13248
  "/runs/:id/remove-worktree": {
13249
13249
  $post: {
13250
13250
  output: {
13251
- error: string;
13251
+ removed: true;
13252
13252
  };
13253
13253
  outputFormat: "json";
13254
- status: 404 | 409;
13254
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13255
13255
  input: {
13256
13256
  param: {
13257
13257
  id: string;
@@ -13259,10 +13259,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13259
13259
  };
13260
13260
  } | {
13261
13261
  output: {
13262
- removed: true;
13262
+ error: string;
13263
13263
  };
13264
13264
  outputFormat: "json";
13265
- status: import("hono/utils/http-status").ContentfulStatusCode;
13265
+ status: 404 | 409;
13266
13266
  input: {
13267
13267
  param: {
13268
13268
  id: string;
@@ -13274,10 +13274,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13274
13274
  "/runs/:id": {
13275
13275
  $delete: {
13276
13276
  output: {
13277
- error: string;
13277
+ deleted: true;
13278
13278
  };
13279
13279
  outputFormat: "json";
13280
- status: 404 | 409;
13280
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13281
13281
  input: {
13282
13282
  param: {
13283
13283
  id: string;
@@ -13285,10 +13285,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13285
13285
  };
13286
13286
  } | {
13287
13287
  output: {
13288
- deleted: true;
13288
+ error: string;
13289
13289
  };
13290
13290
  outputFormat: "json";
13291
- status: import("hono/utils/http-status").ContentfulStatusCode;
13291
+ status: 404 | 409;
13292
13292
  input: {
13293
13293
  param: {
13294
13294
  id: string;