@hearsay-tools/squawk 0.18.0-dev.8387 → 0.18.0-dev.8411

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.
@@ -1209,6 +1209,18 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1209
1209
  } & {
1210
1210
  "/run-summaries": {
1211
1211
  $get: {
1212
+ output: {
1213
+ error: string;
1214
+ code?: "invalid_input" | undefined;
1215
+ };
1216
+ outputFormat: "json";
1217
+ status: 400;
1218
+ input: {
1219
+ query: {
1220
+ archived?: "all" | "recent" | undefined;
1221
+ };
1222
+ };
1223
+ } | {
1212
1224
  output: {
1213
1225
  id: string;
1214
1226
  title: string;
@@ -1342,18 +1354,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1342
1354
  archived?: "all" | "recent" | undefined;
1343
1355
  };
1344
1356
  };
1345
- } | {
1346
- output: {
1347
- error: string;
1348
- code?: "invalid_input" | undefined;
1349
- };
1350
- outputFormat: "json";
1351
- status: 400;
1352
- input: {
1353
- query: {
1354
- archived?: "all" | "recent" | undefined;
1355
- };
1356
- };
1357
1357
  };
1358
1358
  };
1359
1359
  } & {
@@ -1711,11 +1711,24 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1711
1711
  "/runs/:id/worker-destroy": {
1712
1712
  $post: {
1713
1713
  output: {
1714
- error: string;
1715
- code?: "invalid_input" | undefined;
1714
+ workerId: string;
1715
+ state: "complete" | "incomplete";
1716
+ work?: {
1717
+ uncommittedFiles: number;
1718
+ commits: number;
1719
+ } | undefined;
1720
+ deleted?: ({
1721
+ kind: "worktree";
1722
+ path: string;
1723
+ } | {
1724
+ kind: "branch";
1725
+ ref: string;
1726
+ })[] | undefined;
1727
+ remaining: ("branch" | "process" | "worktree")[];
1728
+ error?: string | undefined;
1716
1729
  };
1717
1730
  outputFormat: "json";
1718
- status: 400;
1731
+ status: 200;
1719
1732
  input: {
1720
1733
  query: {
1721
1734
  [x: string]: string | string[];
@@ -1731,24 +1744,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1731
1744
  };
1732
1745
  } | {
1733
1746
  output: {
1734
- workerId: string;
1735
- state: "complete" | "incomplete";
1736
- work?: {
1737
- uncommittedFiles: number;
1738
- commits: number;
1739
- } | undefined;
1740
- deleted?: ({
1741
- kind: "worktree";
1742
- path: string;
1743
- } | {
1744
- kind: "branch";
1745
- ref: string;
1746
- })[] | undefined;
1747
- remaining: ("branch" | "process" | "worktree")[];
1748
- error?: string | undefined;
1747
+ error: string;
1748
+ code?: "invalid_input" | undefined;
1749
1749
  };
1750
1750
  outputFormat: "json";
1751
- status: 200;
1751
+ status: 400;
1752
1752
  input: {
1753
1753
  query: {
1754
1754
  [x: string]: string | string[];
@@ -1864,6 +1864,21 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1864
1864
  } & {
1865
1865
  "/runs/:id/archive": {
1866
1866
  $post: {
1867
+ output: {
1868
+ error: string;
1869
+ };
1870
+ outputFormat: "json";
1871
+ status: 404;
1872
+ input: {
1873
+ json: {
1874
+ archived?: boolean | undefined;
1875
+ };
1876
+ } & {
1877
+ param: {
1878
+ id: string;
1879
+ };
1880
+ };
1881
+ } | {
1867
1882
  output: {
1868
1883
  archiveWhenDone?: boolean | undefined;
1869
1884
  autoMergePr?: boolean | undefined;
@@ -3039,32 +3054,32 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3039
3054
  id: string;
3040
3055
  };
3041
3056
  };
3042
- } | {
3057
+ };
3058
+ };
3059
+ } & {
3060
+ "/runs/:id/pin": {
3061
+ $post: {
3043
3062
  output: {
3044
3063
  error: string;
3064
+ code?: "invalid_input" | undefined;
3045
3065
  };
3046
3066
  outputFormat: "json";
3047
- status: 404;
3067
+ status: 400;
3048
3068
  input: {
3049
- json: {
3050
- archived?: boolean | undefined;
3051
- };
3052
- } & {
3053
3069
  param: {
3054
3070
  id: string;
3055
3071
  };
3072
+ } & {
3073
+ json: {
3074
+ pinned?: boolean | undefined;
3075
+ };
3056
3076
  };
3057
- };
3058
- };
3059
- } & {
3060
- "/runs/:id/pin": {
3061
- $post: {
3077
+ } | {
3062
3078
  output: {
3063
3079
  error: string;
3064
- code?: "invalid_input" | undefined;
3065
3080
  };
3066
3081
  outputFormat: "json";
3067
- status: 400;
3082
+ status: 404;
3068
3083
  input: {
3069
3084
  param: {
3070
3085
  id: string;
@@ -4250,21 +4265,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4250
4265
  pinned?: boolean | undefined;
4251
4266
  };
4252
4267
  };
4253
- } | {
4254
- output: {
4255
- error: string;
4256
- };
4257
- outputFormat: "json";
4258
- status: 404;
4259
- input: {
4260
- param: {
4261
- id: string;
4262
- };
4263
- } & {
4264
- json: {
4265
- pinned?: boolean | undefined;
4266
- };
4267
- };
4268
4268
  };
4269
4269
  };
4270
4270
  } & {
@@ -4291,7 +4291,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4291
4291
  error: string;
4292
4292
  };
4293
4293
  outputFormat: "json";
4294
- status: 404;
4294
+ status: 400;
4295
4295
  input: {
4296
4296
  param: {
4297
4297
  id: string;
@@ -4307,7 +4307,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4307
4307
  error: string;
4308
4308
  };
4309
4309
  outputFormat: "json";
4310
- status: 400;
4310
+ status: 404;
4311
4311
  input: {
4312
4312
  param: {
4313
4313
  id: string;
@@ -5526,6 +5526,17 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5526
5526
  } & {
5527
5527
  "/runs/:id/read": {
5528
5528
  $post: {
5529
+ output: {
5530
+ error: string;
5531
+ };
5532
+ outputFormat: "json";
5533
+ status: 404;
5534
+ input: {
5535
+ param: {
5536
+ id: string;
5537
+ };
5538
+ };
5539
+ } | {
5529
5540
  output: {
5530
5541
  archiveWhenDone?: boolean | undefined;
5531
5542
  autoMergePr?: boolean | undefined;
@@ -6697,7 +6708,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6697
6708
  id: string;
6698
6709
  };
6699
6710
  };
6700
- } | {
6711
+ };
6712
+ };
6713
+ } & {
6714
+ "/runs/:id/unread": {
6715
+ $post: {
6701
6716
  output: {
6702
6717
  error: string;
6703
6718
  };
@@ -6708,11 +6723,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6708
6723
  id: string;
6709
6724
  };
6710
6725
  };
6711
- };
6712
- };
6713
- } & {
6714
- "/runs/:id/unread": {
6715
- $post: {
6726
+ } | {
6716
6727
  output: {
6717
6728
  archiveWhenDone?: boolean | undefined;
6718
6729
  autoMergePr?: boolean | undefined;
@@ -7884,17 +7895,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
7884
7895
  id: string;
7885
7896
  };
7886
7897
  };
7887
- } | {
7888
- output: {
7889
- error: string;
7890
- };
7891
- outputFormat: "json";
7892
- status: 404;
7893
- input: {
7894
- param: {
7895
- id: string;
7896
- };
7897
- };
7898
7898
  };
7899
7899
  };
7900
7900
  } & {
@@ -9167,6 +9167,17 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9167
9167
  } & {
9168
9168
  "/runs/:id": {
9169
9169
  $get: {
9170
+ output: {
9171
+ error: string;
9172
+ };
9173
+ outputFormat: "json";
9174
+ status: 404;
9175
+ input: {
9176
+ param: {
9177
+ id: string;
9178
+ };
9179
+ };
9180
+ } | {
9170
9181
  output: {
9171
9182
  archiveWhenDone?: boolean | undefined;
9172
9183
  autoMergePr?: boolean | undefined;
@@ -10346,17 +10357,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10346
10357
  id: string;
10347
10358
  };
10348
10359
  };
10349
- } | {
10350
- output: {
10351
- error: string;
10352
- };
10353
- outputFormat: "json";
10354
- status: 404;
10355
- input: {
10356
- param: {
10357
- id: string;
10358
- };
10359
- };
10360
10360
  };
10361
10361
  };
10362
10362
  } & {
@@ -10484,6 +10484,66 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10484
10484
  } & {
10485
10485
  "/runs/:id": {
10486
10486
  $patch: {
10487
+ output: {
10488
+ error: string;
10489
+ };
10490
+ outputFormat: "json";
10491
+ status: 400;
10492
+ input: {
10493
+ json: {
10494
+ archiveWhenDone?: boolean | undefined;
10495
+ autoMergePr?: boolean | undefined;
10496
+ allowWorkers?: boolean | undefined;
10497
+ allowMessaging?: boolean | undefined;
10498
+ title?: string | undefined;
10499
+ task?: string | undefined;
10500
+ };
10501
+ } & {
10502
+ param: {
10503
+ id: string;
10504
+ };
10505
+ };
10506
+ } | {
10507
+ output: {
10508
+ error: string;
10509
+ };
10510
+ outputFormat: "json";
10511
+ status: 404;
10512
+ input: {
10513
+ json: {
10514
+ archiveWhenDone?: boolean | undefined;
10515
+ autoMergePr?: boolean | undefined;
10516
+ allowWorkers?: boolean | undefined;
10517
+ allowMessaging?: boolean | undefined;
10518
+ title?: string | undefined;
10519
+ task?: string | undefined;
10520
+ };
10521
+ } & {
10522
+ param: {
10523
+ id: string;
10524
+ };
10525
+ };
10526
+ } | {
10527
+ output: {
10528
+ error: string;
10529
+ };
10530
+ outputFormat: "json";
10531
+ status: 409;
10532
+ input: {
10533
+ json: {
10534
+ archiveWhenDone?: boolean | undefined;
10535
+ autoMergePr?: boolean | undefined;
10536
+ allowWorkers?: boolean | undefined;
10537
+ allowMessaging?: boolean | undefined;
10538
+ title?: string | undefined;
10539
+ task?: string | undefined;
10540
+ };
10541
+ } & {
10542
+ param: {
10543
+ id: string;
10544
+ };
10545
+ };
10546
+ } | {
10487
10547
  output: {
10488
10548
  archiveWhenDone?: boolean | undefined;
10489
10549
  autoMergePr?: boolean | undefined;
@@ -11664,84 +11724,24 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11664
11724
  id: string;
11665
11725
  };
11666
11726
  };
11667
- } | {
11727
+ };
11728
+ };
11729
+ } & {
11730
+ "/runs/:id/cancel": {
11731
+ $post: {
11668
11732
  output: {
11669
11733
  error: string;
11670
11734
  };
11671
11735
  outputFormat: "json";
11672
11736
  status: 404;
11673
11737
  input: {
11674
- json: {
11675
- archiveWhenDone?: boolean | undefined;
11676
- autoMergePr?: boolean | undefined;
11677
- allowWorkers?: boolean | undefined;
11678
- allowMessaging?: boolean | undefined;
11679
- title?: string | undefined;
11680
- task?: string | undefined;
11681
- };
11682
- } & {
11683
11738
  param: {
11684
11739
  id: string;
11685
11740
  };
11686
11741
  };
11687
11742
  } | {
11688
11743
  output: {
11689
- error: string;
11690
- };
11691
- outputFormat: "json";
11692
- status: 400;
11693
- input: {
11694
- json: {
11695
- archiveWhenDone?: boolean | undefined;
11696
- autoMergePr?: boolean | undefined;
11697
- allowWorkers?: boolean | undefined;
11698
- allowMessaging?: boolean | undefined;
11699
- title?: string | undefined;
11700
- task?: string | undefined;
11701
- };
11702
- } & {
11703
- param: {
11704
- id: string;
11705
- };
11706
- };
11707
- } | {
11708
- output: {
11709
- error: string;
11710
- };
11711
- outputFormat: "json";
11712
- status: 409;
11713
- input: {
11714
- json: {
11715
- archiveWhenDone?: boolean | undefined;
11716
- autoMergePr?: boolean | undefined;
11717
- allowWorkers?: boolean | undefined;
11718
- allowMessaging?: boolean | undefined;
11719
- title?: string | undefined;
11720
- task?: string | undefined;
11721
- };
11722
- } & {
11723
- param: {
11724
- id: string;
11725
- };
11726
- };
11727
- };
11728
- };
11729
- } & {
11730
- "/runs/:id/cancel": {
11731
- $post: {
11732
- output: {
11733
- error: string;
11734
- };
11735
- outputFormat: "json";
11736
- status: 404;
11737
- input: {
11738
- param: {
11739
- id: string;
11740
- };
11741
- };
11742
- } | {
11743
- output: {
11744
- cancelled: boolean;
11744
+ cancelled: boolean;
11745
11745
  };
11746
11746
  outputFormat: "json";
11747
11747
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -11828,7 +11828,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11828
11828
  error: string;
11829
11829
  };
11830
11830
  outputFormat: "json";
11831
- status: 404;
11831
+ status: 400;
11832
11832
  input: {
11833
11833
  json: {
11834
11834
  text?: string | undefined;
@@ -11847,7 +11847,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11847
11847
  error: string;
11848
11848
  };
11849
11849
  outputFormat: "json";
11850
- status: 409;
11850
+ status: 404;
11851
11851
  input: {
11852
11852
  json: {
11853
11853
  text?: string | undefined;
@@ -11863,10 +11863,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11863
11863
  };
11864
11864
  } | {
11865
11865
  output: {
11866
- delivered: true;
11866
+ error: string;
11867
11867
  };
11868
11868
  outputFormat: "json";
11869
- status: import("hono/utils/http-status").ContentfulStatusCode;
11869
+ status: 409;
11870
11870
  input: {
11871
11871
  json: {
11872
11872
  text?: string | undefined;
@@ -11882,10 +11882,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11882
11882
  };
11883
11883
  } | {
11884
11884
  output: {
11885
- error: string;
11885
+ delivered: true;
11886
11886
  };
11887
11887
  outputFormat: "json";
11888
- status: 400;
11888
+ status: import("hono/utils/http-status").ContentfulStatusCode;
11889
11889
  input: {
11890
11890
  json: {
11891
11891
  text?: string | undefined;
@@ -11953,7 +11953,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11953
11953
  error: string;
11954
11954
  };
11955
11955
  outputFormat: "json";
11956
- status: 404;
11956
+ status: 400;
11957
11957
  input: {
11958
11958
  json: {
11959
11959
  text?: string | undefined;
@@ -11974,7 +11974,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11974
11974
  error: string;
11975
11975
  };
11976
11976
  outputFormat: "json";
11977
- status: 400;
11977
+ status: 404;
11978
11978
  input: {
11979
11979
  json: {
11980
11980
  text?: string | undefined;
@@ -12194,10 +12194,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12194
12194
  "/runs/:id/open-in-cli": {
12195
12195
  $post: {
12196
12196
  output: {
12197
- error: string;
12197
+ opened: true;
12198
+ command: string;
12198
12199
  };
12199
12200
  outputFormat: "json";
12200
- status: 404 | 409;
12201
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12201
12202
  input: {
12202
12203
  param: {
12203
12204
  id: string;
@@ -12205,11 +12206,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12205
12206
  };
12206
12207
  } | {
12207
12208
  output: {
12208
- opened: true;
12209
- command: string;
12209
+ error: string;
12210
12210
  };
12211
12211
  outputFormat: "json";
12212
- status: import("hono/utils/http-status").ContentfulStatusCode;
12212
+ status: 404 | 409;
12213
12213
  input: {
12214
12214
  param: {
12215
12215
  id: string;
@@ -12224,7 +12224,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12224
12224
  error: string;
12225
12225
  };
12226
12226
  outputFormat: "json";
12227
- status: 404 | 409;
12227
+ status: 400;
12228
12228
  input: {
12229
12229
  json: {
12230
12230
  target: string;
@@ -12237,10 +12237,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12237
12237
  };
12238
12238
  } | {
12239
12239
  output: {
12240
- error: string;
12240
+ opened: true;
12241
+ path: string;
12241
12242
  };
12242
12243
  outputFormat: "json";
12243
- status: 400;
12244
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12244
12245
  input: {
12245
12246
  json: {
12246
12247
  target: string;
@@ -12253,11 +12254,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12253
12254
  };
12254
12255
  } | {
12255
12256
  output: {
12256
- opened: true;
12257
- path: string;
12257
+ error: string;
12258
12258
  };
12259
12259
  outputFormat: "json";
12260
- status: import("hono/utils/http-status").ContentfulStatusCode;
12260
+ status: 404 | 409;
12261
12261
  input: {
12262
12262
  json: {
12263
12263
  target: string;
@@ -12297,9 +12297,12 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12297
12297
  } & {
12298
12298
  "/runs/:id/images/:file": {
12299
12299
  $get: {
12300
- output: {};
12301
- outputFormat: string;
12302
- status: import("hono/utils/http-status").StatusCode;
12300
+ output: {
12301
+ error: string;
12302
+ code?: "invalid_input" | undefined;
12303
+ };
12304
+ outputFormat: "json";
12305
+ status: 400;
12303
12306
  input: {
12304
12307
  param: {
12305
12308
  id: string;
@@ -12307,12 +12310,9 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12307
12310
  };
12308
12311
  };
12309
12312
  } | {
12310
- output: {
12311
- error: string;
12312
- code?: "invalid_input" | undefined;
12313
- };
12314
- outputFormat: "json";
12315
- status: 400;
12313
+ output: {};
12314
+ outputFormat: string;
12315
+ status: import("hono/utils/http-status").StatusCode;
12316
12316
  input: {
12317
12317
  param: {
12318
12318
  id: string;
@@ -12348,17 +12348,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12348
12348
  } & {
12349
12349
  "/runs/:id/changes": {
12350
12350
  $get: {
12351
- output: {
12352
- error: string;
12353
- };
12354
- outputFormat: "json";
12355
- status: 404 | 409;
12356
- input: {
12357
- param: {
12358
- id: string;
12359
- };
12360
- };
12361
- } | {
12362
12351
  output: {
12363
12352
  files: {
12364
12353
  path: string;
@@ -12387,11 +12376,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12387
12376
  id: string;
12388
12377
  };
12389
12378
  };
12390
- };
12391
- };
12392
- } & {
12393
- "/runs/:id/commits": {
12394
- $get: {
12379
+ } | {
12395
12380
  output: {
12396
12381
  error: string;
12397
12382
  };
@@ -12402,7 +12387,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12402
12387
  id: string;
12403
12388
  };
12404
12389
  };
12405
- } | {
12390
+ };
12391
+ };
12392
+ } & {
12393
+ "/runs/:id/commits": {
12394
+ $get: {
12406
12395
  output: {
12407
12396
  commits: {
12408
12397
  sha: string;
@@ -12418,11 +12407,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12418
12407
  id: string;
12419
12408
  };
12420
12409
  };
12421
- };
12422
- };
12423
- } & {
12424
- "/runs/:id/commit/:sha": {
12425
- $get: {
12410
+ } | {
12426
12411
  output: {
12427
12412
  error: string;
12428
12413
  };
@@ -12431,11 +12416,13 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12431
12416
  input: {
12432
12417
  param: {
12433
12418
  id: string;
12434
- } & {
12435
- sha: string;
12436
12419
  };
12437
12420
  };
12438
- } | {
12421
+ };
12422
+ };
12423
+ } & {
12424
+ "/runs/:id/commit/:sha": {
12425
+ $get: {
12439
12426
  output: {
12440
12427
  sha: string;
12441
12428
  subject: string;
@@ -12466,6 +12453,19 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12466
12453
  sha: string;
12467
12454
  };
12468
12455
  };
12456
+ } | {
12457
+ output: {
12458
+ error: string;
12459
+ };
12460
+ outputFormat: "json";
12461
+ status: 404 | 409;
12462
+ input: {
12463
+ param: {
12464
+ id: string;
12465
+ } & {
12466
+ sha: string;
12467
+ };
12468
+ };
12469
12469
  };
12470
12470
  };
12471
12471
  } & {
@@ -12501,22 +12501,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12501
12501
  raw?: "1" | undefined;
12502
12502
  };
12503
12503
  };
12504
- } | {
12505
- output: {
12506
- error: string;
12507
- };
12508
- outputFormat: "json";
12509
- status: 404 | 409;
12510
- input: {
12511
- param: {
12512
- id: string;
12513
- };
12514
- } & {
12515
- query: {
12516
- path: string | string[];
12517
- raw?: "1" | undefined;
12518
- };
12519
- };
12520
12504
  } | {
12521
12505
  output: {
12522
12506
  type: "file";
@@ -12553,6 +12537,22 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12553
12537
  raw?: "1" | undefined;
12554
12538
  };
12555
12539
  };
12540
+ } | {
12541
+ output: {
12542
+ error: string;
12543
+ };
12544
+ outputFormat: "json";
12545
+ status: 404 | 409;
12546
+ input: {
12547
+ param: {
12548
+ id: string;
12549
+ };
12550
+ } & {
12551
+ query: {
12552
+ path: string | string[];
12553
+ raw?: "1" | undefined;
12554
+ };
12555
+ };
12556
12556
  };
12557
12557
  };
12558
12558
  } & {
@@ -12617,6 +12617,18 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12617
12617
  artifactId: string;
12618
12618
  };
12619
12619
  };
12620
+ } | {
12621
+ output: {
12622
+ error: string;
12623
+ };
12624
+ outputFormat: "json";
12625
+ status: 404;
12626
+ input: {
12627
+ param: {
12628
+ id: string;
12629
+ artifactId: string;
12630
+ };
12631
+ };
12620
12632
  } | {
12621
12633
  output: {
12622
12634
  type: "file";
@@ -12645,18 +12657,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12645
12657
  artifactId: string;
12646
12658
  };
12647
12659
  };
12648
- } | {
12649
- output: {
12650
- error: string;
12651
- };
12652
- outputFormat: "json";
12653
- status: 404;
12654
- input: {
12655
- param: {
12656
- id: string;
12657
- artifactId: string;
12658
- };
12659
- };
12660
12660
  };
12661
12661
  };
12662
12662
  } & {
@@ -12834,10 +12834,16 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12834
12834
  };
12835
12835
  } | {
12836
12836
  output: {
12837
- error: string;
12837
+ type: 'dir';
12838
+ path: string;
12839
+ entries: {
12840
+ name: string;
12841
+ type: 'dir' | 'file';
12842
+ size?: number;
12843
+ }[];
12838
12844
  };
12839
12845
  outputFormat: "json";
12840
- status: 404 | 409;
12846
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12841
12847
  input: {
12842
12848
  query: {
12843
12849
  path?: string | undefined;
@@ -12850,13 +12856,12 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12850
12856
  };
12851
12857
  } | {
12852
12858
  output: {
12853
- type: 'dir';
12859
+ type: 'file';
12854
12860
  path: string;
12855
- entries: {
12856
- name: string;
12857
- type: 'dir' | 'file';
12858
- size?: number;
12859
- }[];
12861
+ size: number;
12862
+ binary: boolean;
12863
+ tooLarge: boolean;
12864
+ content?: string | undefined;
12860
12865
  };
12861
12866
  outputFormat: "json";
12862
12867
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -12872,15 +12877,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12872
12877
  };
12873
12878
  } | {
12874
12879
  output: {
12875
- type: 'file';
12876
- path: string;
12877
- size: number;
12878
- binary: boolean;
12879
- tooLarge: boolean;
12880
- content?: string | undefined;
12880
+ error: string;
12881
12881
  };
12882
12882
  outputFormat: "json";
12883
- status: import("hono/utils/http-status").ContentfulStatusCode;
12883
+ status: 404 | 409;
12884
12884
  input: {
12885
12885
  query: {
12886
12886
  path?: string | undefined;
@@ -12897,10 +12897,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12897
12897
  "/runs/:id/git/commit": {
12898
12898
  $post: {
12899
12899
  output: {
12900
- error: string;
12900
+ committed: true;
12901
+ sha: string;
12901
12902
  };
12902
12903
  outputFormat: "json";
12903
- status: 404 | 409;
12904
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12904
12905
  input: {
12905
12906
  json: {
12906
12907
  message: string;
@@ -12912,11 +12913,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12912
12913
  };
12913
12914
  } | {
12914
12915
  output: {
12915
- committed: true;
12916
- sha: string;
12916
+ error: string;
12917
12917
  };
12918
12918
  outputFormat: "json";
12919
- status: import("hono/utils/http-status").ContentfulStatusCode;
12919
+ status: 404 | 409;
12920
12920
  input: {
12921
12921
  json: {
12922
12922
  message: string;
@@ -12932,10 +12932,13 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12932
12932
  "/runs/:id/git/push": {
12933
12933
  $post: {
12934
12934
  output: {
12935
- error: string;
12935
+ pushed: true;
12936
+ branch: string;
12937
+ remote: string;
12938
+ upstreamSet: boolean;
12936
12939
  };
12937
12940
  outputFormat: "json";
12938
- status: 404 | 409;
12941
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12939
12942
  input: {
12940
12943
  param: {
12941
12944
  id: string;
@@ -12943,13 +12946,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12943
12946
  };
12944
12947
  } | {
12945
12948
  output: {
12946
- pushed: true;
12947
- branch: string;
12948
- remote: string;
12949
- upstreamSet: boolean;
12949
+ error: string;
12950
12950
  };
12951
12951
  outputFormat: "json";
12952
- status: import("hono/utils/http-status").ContentfulStatusCode;
12952
+ status: 404 | 409;
12953
12953
  input: {
12954
12954
  param: {
12955
12955
  id: string;
@@ -12961,10 +12961,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12961
12961
  "/runs/:id/pr": {
12962
12962
  $post: {
12963
12963
  output: {
12964
- error: string;
12964
+ url: string;
12965
+ dryRun: boolean;
12965
12966
  };
12966
12967
  outputFormat: "json";
12967
- status: 404 | 409;
12968
+ status: 201;
12968
12969
  input: {
12969
12970
  param: {
12970
12971
  id: string;
@@ -12972,11 +12973,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12972
12973
  };
12973
12974
  } | {
12974
12975
  output: {
12975
- url: string;
12976
- dryRun: boolean;
12976
+ error: string;
12977
12977
  };
12978
12978
  outputFormat: "json";
12979
- status: 201;
12979
+ status: 404 | 409;
12980
12980
  input: {
12981
12981
  param: {
12982
12982
  id: string;
@@ -12988,10 +12988,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12988
12988
  "/runs/:id/remove-worktree": {
12989
12989
  $post: {
12990
12990
  output: {
12991
- error: string;
12991
+ removed: true;
12992
12992
  };
12993
12993
  outputFormat: "json";
12994
- status: 404 | 409;
12994
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12995
12995
  input: {
12996
12996
  param: {
12997
12997
  id: string;
@@ -12999,10 +12999,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12999
12999
  };
13000
13000
  } | {
13001
13001
  output: {
13002
- removed: true;
13002
+ error: string;
13003
13003
  };
13004
13004
  outputFormat: "json";
13005
- status: import("hono/utils/http-status").ContentfulStatusCode;
13005
+ status: 404 | 409;
13006
13006
  input: {
13007
13007
  param: {
13008
13008
  id: string;
@@ -13014,10 +13014,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13014
13014
  "/runs/:id": {
13015
13015
  $delete: {
13016
13016
  output: {
13017
- error: string;
13017
+ deleted: true;
13018
13018
  };
13019
13019
  outputFormat: "json";
13020
- status: 404 | 409;
13020
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13021
13021
  input: {
13022
13022
  param: {
13023
13023
  id: string;
@@ -13025,10 +13025,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13025
13025
  };
13026
13026
  } | {
13027
13027
  output: {
13028
- deleted: true;
13028
+ error: string;
13029
13029
  };
13030
13030
  outputFormat: "json";
13031
- status: import("hono/utils/http-status").ContentfulStatusCode;
13031
+ status: 404 | 409;
13032
13032
  input: {
13033
13033
  param: {
13034
13034
  id: string;