@hearsay-tools/squawk 0.18.0-dev.8587 → 0.18.0-dev.8597

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.
@@ -1212,18 +1212,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1212
1212
  } & {
1213
1213
  "/run-summaries": {
1214
1214
  $get: {
1215
- output: {
1216
- error: string;
1217
- code?: "invalid_input" | undefined;
1218
- };
1219
- outputFormat: "json";
1220
- status: 400;
1221
- input: {
1222
- query: {
1223
- archived?: "all" | "recent" | undefined;
1224
- };
1225
- };
1226
- } | {
1227
1215
  output: {
1228
1216
  id: string;
1229
1217
  title: string;
@@ -1357,6 +1345,18 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1357
1345
  archived?: "all" | "recent" | undefined;
1358
1346
  };
1359
1347
  };
1348
+ } | {
1349
+ output: {
1350
+ error: string;
1351
+ code?: "invalid_input" | undefined;
1352
+ };
1353
+ outputFormat: "json";
1354
+ status: 400;
1355
+ input: {
1356
+ query: {
1357
+ archived?: "all" | "recent" | undefined;
1358
+ };
1359
+ };
1360
1360
  };
1361
1361
  };
1362
1362
  } & {
@@ -1714,24 +1714,22 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1714
1714
  "/runs/:id/worker-destroy": {
1715
1715
  $post: {
1716
1716
  output: {
1717
- workerId: string;
1718
- state: "complete" | "incomplete";
1719
- work?: {
1720
- uncommittedFiles: number;
1721
- commits: number;
1717
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
1718
+ readonly error: string;
1719
+ readonly modelChoices?: {
1720
+ runner: string;
1721
+ requestedModel: string;
1722
+ availableModels: {
1723
+ id: string;
1724
+ label: string;
1725
+ description: string;
1726
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
1727
+ }[];
1728
+ otherRunners: string[];
1722
1729
  } | undefined;
1723
- deleted?: ({
1724
- kind: "worktree";
1725
- path: string;
1726
- } | {
1727
- kind: "branch";
1728
- ref: string;
1729
- })[] | undefined;
1730
- remaining: ("branch" | "process" | "worktree")[];
1731
- error?: string | undefined;
1732
1730
  };
1733
1731
  outputFormat: "json";
1734
- status: 200;
1732
+ status: 400 | 401 | 403 | 409 | 503;
1735
1733
  input: {
1736
1734
  query: {
1737
1735
  [x: string]: string | string[];
@@ -1784,7 +1782,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1784
1782
  error?: string | undefined;
1785
1783
  };
1786
1784
  outputFormat: "json";
1787
- status: 409;
1785
+ status: 200;
1788
1786
  input: {
1789
1787
  query: {
1790
1788
  [x: string]: string | string[];
@@ -1800,22 +1798,24 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1800
1798
  };
1801
1799
  } | {
1802
1800
  output: {
1803
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
1804
- readonly error: string;
1805
- readonly modelChoices?: {
1806
- runner: string;
1807
- requestedModel: string;
1808
- availableModels: {
1809
- id: string;
1810
- label: string;
1811
- description: string;
1812
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
1813
- }[];
1814
- otherRunners: string[];
1801
+ workerId: string;
1802
+ state: "complete" | "incomplete";
1803
+ work?: {
1804
+ uncommittedFiles: number;
1805
+ commits: number;
1815
1806
  } | undefined;
1807
+ deleted?: ({
1808
+ kind: "worktree";
1809
+ path: string;
1810
+ } | {
1811
+ kind: "branch";
1812
+ ref: string;
1813
+ })[] | undefined;
1814
+ remaining: ("branch" | "process" | "worktree")[];
1815
+ error?: string | undefined;
1816
1816
  };
1817
1817
  outputFormat: "json";
1818
- status: 400 | 401 | 403 | 409 | 503;
1818
+ status: 409;
1819
1819
  input: {
1820
1820
  query: {
1821
1821
  [x: string]: string | string[];
@@ -1867,21 +1867,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1867
1867
  } & {
1868
1868
  "/runs/:id/archive": {
1869
1869
  $post: {
1870
- output: {
1871
- error: string;
1872
- };
1873
- outputFormat: "json";
1874
- status: 404;
1875
- input: {
1876
- json: {
1877
- archived?: boolean | undefined;
1878
- };
1879
- } & {
1880
- param: {
1881
- id: string;
1882
- };
1883
- };
1884
- } | {
1885
1870
  output: {
1886
1871
  archiveWhenDone?: boolean | undefined;
1887
1872
  autoMergePr?: boolean | undefined;
@@ -3060,32 +3045,32 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3060
3045
  id: string;
3061
3046
  };
3062
3047
  };
3063
- };
3064
- };
3065
- } & {
3066
- "/runs/:id/pin": {
3067
- $post: {
3048
+ } | {
3068
3049
  output: {
3069
3050
  error: string;
3070
- code?: "invalid_input" | undefined;
3071
3051
  };
3072
3052
  outputFormat: "json";
3073
- status: 400;
3053
+ status: 404;
3074
3054
  input: {
3075
- param: {
3076
- id: string;
3055
+ json: {
3056
+ archived?: boolean | undefined;
3077
3057
  };
3078
3058
  } & {
3079
- json: {
3080
- pinned?: boolean | undefined;
3059
+ param: {
3060
+ id: string;
3081
3061
  };
3082
3062
  };
3083
- } | {
3063
+ };
3064
+ };
3065
+ } & {
3066
+ "/runs/:id/pin": {
3067
+ $post: {
3084
3068
  output: {
3085
3069
  error: string;
3070
+ code?: "invalid_input" | undefined;
3086
3071
  };
3087
3072
  outputFormat: "json";
3088
- status: 404;
3073
+ status: 400;
3089
3074
  input: {
3090
3075
  param: {
3091
3076
  id: string;
@@ -4274,6 +4259,21 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4274
4259
  pinned?: boolean | undefined;
4275
4260
  };
4276
4261
  };
4262
+ } | {
4263
+ output: {
4264
+ error: string;
4265
+ };
4266
+ outputFormat: "json";
4267
+ status: 404;
4268
+ input: {
4269
+ param: {
4270
+ id: string;
4271
+ };
4272
+ } & {
4273
+ json: {
4274
+ pinned?: boolean | undefined;
4275
+ };
4276
+ };
4277
4277
  };
4278
4278
  };
4279
4279
  } & {
@@ -4300,7 +4300,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4300
4300
  error: string;
4301
4301
  };
4302
4302
  outputFormat: "json";
4303
- status: 400;
4303
+ status: 404;
4304
4304
  input: {
4305
4305
  param: {
4306
4306
  id: string;
@@ -4316,7 +4316,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4316
4316
  error: string;
4317
4317
  };
4318
4318
  outputFormat: "json";
4319
- status: 404;
4319
+ status: 400;
4320
4320
  input: {
4321
4321
  param: {
4322
4322
  id: string;
@@ -5538,17 +5538,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5538
5538
  } & {
5539
5539
  "/runs/:id/read": {
5540
5540
  $post: {
5541
- output: {
5542
- error: string;
5543
- };
5544
- outputFormat: "json";
5545
- status: 404;
5546
- input: {
5547
- param: {
5548
- id: string;
5549
- };
5550
- };
5551
- } | {
5552
5541
  output: {
5553
5542
  archiveWhenDone?: boolean | undefined;
5554
5543
  autoMergePr?: boolean | undefined;
@@ -6723,11 +6712,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6723
6712
  id: string;
6724
6713
  };
6725
6714
  };
6726
- };
6727
- };
6728
- } & {
6729
- "/runs/:id/unread": {
6730
- $post: {
6715
+ } | {
6731
6716
  output: {
6732
6717
  error: string;
6733
6718
  };
@@ -6738,7 +6723,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6738
6723
  id: string;
6739
6724
  };
6740
6725
  };
6741
- } | {
6726
+ };
6727
+ };
6728
+ } & {
6729
+ "/runs/:id/unread": {
6730
+ $post: {
6742
6731
  output: {
6743
6732
  archiveWhenDone?: boolean | undefined;
6744
6733
  autoMergePr?: boolean | undefined;
@@ -7913,6 +7902,17 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
7913
7902
  id: string;
7914
7903
  };
7915
7904
  };
7905
+ } | {
7906
+ output: {
7907
+ error: string;
7908
+ };
7909
+ outputFormat: "json";
7910
+ status: 404;
7911
+ input: {
7912
+ param: {
7913
+ id: string;
7914
+ };
7915
+ };
7916
7916
  };
7917
7917
  };
7918
7918
  } & {
@@ -9188,17 +9188,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9188
9188
  } & {
9189
9189
  "/runs/:id": {
9190
9190
  $get: {
9191
- output: {
9192
- error: string;
9193
- };
9194
- outputFormat: "json";
9195
- status: 404;
9196
- input: {
9197
- param: {
9198
- id: string;
9199
- };
9200
- };
9201
- } | {
9202
9191
  output: {
9203
9192
  archiveWhenDone?: boolean | undefined;
9204
9193
  autoMergePr?: boolean | undefined;
@@ -10381,6 +10370,17 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10381
10370
  id: string;
10382
10371
  };
10383
10372
  };
10373
+ } | {
10374
+ output: {
10375
+ error: string;
10376
+ };
10377
+ outputFormat: "json";
10378
+ status: 404;
10379
+ input: {
10380
+ param: {
10381
+ id: string;
10382
+ };
10383
+ };
10384
10384
  };
10385
10385
  };
10386
10386
  } & {
@@ -10509,90 +10509,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10509
10509
  "/runs/:id": {
10510
10510
  $patch: {
10511
10511
  output: {
10512
- error: string;
10513
- };
10514
- outputFormat: "json";
10515
- status: 400;
10516
- input: {
10517
- json: {
10518
- archiveWhenDone?: boolean | undefined;
10519
- autoMergePr?: boolean | undefined;
10520
- allowWorkers?: boolean | undefined;
10521
- allowMessaging?: boolean | undefined;
10522
- title?: string | undefined;
10523
- task?: string | undefined;
10524
- };
10525
- } & {
10526
- param: {
10512
+ archiveWhenDone?: boolean | undefined;
10513
+ autoMergePr?: boolean | undefined;
10514
+ allowWorkers?: boolean | undefined;
10515
+ allowMessaging?: boolean | undefined;
10516
+ id: string;
10517
+ title: string;
10518
+ titleSummary?: string | undefined;
10519
+ diffStat?: {
10520
+ adds: number;
10521
+ dels: number;
10522
+ files: number;
10523
+ repointed?: boolean | undefined;
10524
+ } | undefined;
10525
+ workflow: string;
10526
+ task: string;
10527
+ queuedMessages?: {
10528
+ replayAfterOpen?: true | undefined;
10527
10529
  id: string;
10528
- };
10529
- };
10530
- } | {
10531
- output: {
10532
- error: string;
10533
- };
10534
- outputFormat: "json";
10535
- status: 404;
10536
- input: {
10537
- json: {
10538
- archiveWhenDone?: boolean | undefined;
10539
- autoMergePr?: boolean | undefined;
10540
- allowWorkers?: boolean | undefined;
10541
- allowMessaging?: boolean | undefined;
10542
- title?: string | undefined;
10543
- task?: string | undefined;
10544
- };
10545
- } & {
10546
- param: {
10547
- id: string;
10548
- };
10549
- };
10550
- } | {
10551
- output: {
10552
- error: string;
10553
- };
10554
- outputFormat: "json";
10555
- status: 409;
10556
- input: {
10557
- json: {
10558
- archiveWhenDone?: boolean | undefined;
10559
- autoMergePr?: boolean | undefined;
10560
- allowWorkers?: boolean | undefined;
10561
- allowMessaging?: boolean | undefined;
10562
- title?: string | undefined;
10563
- task?: string | undefined;
10564
- };
10565
- } & {
10566
- param: {
10567
- id: string;
10568
- };
10569
- };
10570
- } | {
10571
- output: {
10572
- archiveWhenDone?: boolean | undefined;
10573
- autoMergePr?: boolean | undefined;
10574
- allowWorkers?: boolean | undefined;
10575
- allowMessaging?: boolean | undefined;
10576
- id: string;
10577
- title: string;
10578
- titleSummary?: string | undefined;
10579
- diffStat?: {
10580
- adds: number;
10581
- dels: number;
10582
- files: number;
10583
- repointed?: boolean | undefined;
10584
- } | undefined;
10585
- workflow: string;
10586
- task: string;
10587
- queuedMessages?: {
10588
- replayAfterOpen?: true | undefined;
10589
- id: string;
10590
- text: string;
10591
- images?: string[] | undefined;
10592
- createdAt: string;
10593
- }[] | undefined;
10594
- continuationMessage?: {
10595
- replayAfterOpen?: true | undefined;
10530
+ text: string;
10531
+ images?: string[] | undefined;
10532
+ createdAt: string;
10533
+ }[] | undefined;
10534
+ continuationMessage?: {
10535
+ replayAfterOpen?: true | undefined;
10596
10536
  id: string;
10597
10537
  text: string;
10598
10538
  images?: string[] | undefined;
@@ -11751,6 +11691,66 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11751
11691
  id: string;
11752
11692
  };
11753
11693
  };
11694
+ } | {
11695
+ output: {
11696
+ error: string;
11697
+ };
11698
+ outputFormat: "json";
11699
+ status: 404;
11700
+ input: {
11701
+ json: {
11702
+ archiveWhenDone?: boolean | undefined;
11703
+ autoMergePr?: boolean | undefined;
11704
+ allowWorkers?: boolean | undefined;
11705
+ allowMessaging?: boolean | undefined;
11706
+ title?: string | undefined;
11707
+ task?: string | undefined;
11708
+ };
11709
+ } & {
11710
+ param: {
11711
+ id: string;
11712
+ };
11713
+ };
11714
+ } | {
11715
+ output: {
11716
+ error: string;
11717
+ };
11718
+ outputFormat: "json";
11719
+ status: 400;
11720
+ input: {
11721
+ json: {
11722
+ archiveWhenDone?: boolean | undefined;
11723
+ autoMergePr?: boolean | undefined;
11724
+ allowWorkers?: boolean | undefined;
11725
+ allowMessaging?: boolean | undefined;
11726
+ title?: string | undefined;
11727
+ task?: string | undefined;
11728
+ };
11729
+ } & {
11730
+ param: {
11731
+ id: string;
11732
+ };
11733
+ };
11734
+ } | {
11735
+ output: {
11736
+ error: string;
11737
+ };
11738
+ outputFormat: "json";
11739
+ status: 409;
11740
+ input: {
11741
+ json: {
11742
+ archiveWhenDone?: boolean | undefined;
11743
+ autoMergePr?: boolean | undefined;
11744
+ allowWorkers?: boolean | undefined;
11745
+ allowMessaging?: boolean | undefined;
11746
+ title?: string | undefined;
11747
+ task?: string | undefined;
11748
+ };
11749
+ } & {
11750
+ param: {
11751
+ id: string;
11752
+ };
11753
+ };
11754
11754
  };
11755
11755
  };
11756
11756
  } & {
@@ -11855,7 +11855,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11855
11855
  error: string;
11856
11856
  };
11857
11857
  outputFormat: "json";
11858
- status: 400;
11858
+ status: 404;
11859
11859
  input: {
11860
11860
  json: {
11861
11861
  text?: string | undefined;
@@ -11874,7 +11874,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11874
11874
  error: string;
11875
11875
  };
11876
11876
  outputFormat: "json";
11877
- status: 404;
11877
+ status: 409;
11878
11878
  input: {
11879
11879
  json: {
11880
11880
  text?: string | undefined;
@@ -11890,10 +11890,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11890
11890
  };
11891
11891
  } | {
11892
11892
  output: {
11893
- error: string;
11893
+ delivered: true;
11894
11894
  };
11895
11895
  outputFormat: "json";
11896
- status: 409;
11896
+ status: import("hono/utils/http-status").ContentfulStatusCode;
11897
11897
  input: {
11898
11898
  json: {
11899
11899
  text?: string | undefined;
@@ -11909,10 +11909,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11909
11909
  };
11910
11910
  } | {
11911
11911
  output: {
11912
- delivered: true;
11912
+ error: string;
11913
11913
  };
11914
11914
  outputFormat: "json";
11915
- status: import("hono/utils/http-status").ContentfulStatusCode;
11915
+ status: 400;
11916
11916
  input: {
11917
11917
  json: {
11918
11918
  text?: string | undefined;
@@ -11980,7 +11980,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11980
11980
  error: string;
11981
11981
  };
11982
11982
  outputFormat: "json";
11983
- status: 400;
11983
+ status: 404;
11984
11984
  input: {
11985
11985
  json: {
11986
11986
  text?: string | undefined;
@@ -12001,7 +12001,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12001
12001
  error: string;
12002
12002
  };
12003
12003
  outputFormat: "json";
12004
- status: 404;
12004
+ status: 400;
12005
12005
  input: {
12006
12006
  json: {
12007
12007
  text?: string | undefined;
@@ -12221,11 +12221,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12221
12221
  "/runs/:id/open-in-cli": {
12222
12222
  $post: {
12223
12223
  output: {
12224
- opened: true;
12225
- command: string;
12224
+ error: string;
12226
12225
  };
12227
12226
  outputFormat: "json";
12228
- status: import("hono/utils/http-status").ContentfulStatusCode;
12227
+ status: 404 | 409;
12229
12228
  input: {
12230
12229
  param: {
12231
12230
  id: string;
@@ -12233,10 +12232,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12233
12232
  };
12234
12233
  } | {
12235
12234
  output: {
12236
- error: string;
12235
+ opened: true;
12236
+ command: string;
12237
12237
  };
12238
12238
  outputFormat: "json";
12239
- status: 404 | 409;
12239
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12240
12240
  input: {
12241
12241
  param: {
12242
12242
  id: string;
@@ -12251,7 +12251,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12251
12251
  error: string;
12252
12252
  };
12253
12253
  outputFormat: "json";
12254
- status: 400;
12254
+ status: 404 | 409;
12255
12255
  input: {
12256
12256
  json: {
12257
12257
  target: string;
@@ -12264,11 +12264,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12264
12264
  };
12265
12265
  } | {
12266
12266
  output: {
12267
- opened: true;
12268
- path: string;
12267
+ error: string;
12269
12268
  };
12270
12269
  outputFormat: "json";
12271
- status: import("hono/utils/http-status").ContentfulStatusCode;
12270
+ status: 400;
12272
12271
  input: {
12273
12272
  json: {
12274
12273
  target: string;
@@ -12281,10 +12280,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12281
12280
  };
12282
12281
  } | {
12283
12282
  output: {
12284
- error: string;
12283
+ opened: true;
12284
+ path: string;
12285
12285
  };
12286
12286
  outputFormat: "json";
12287
- status: 404 | 409;
12287
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12288
12288
  input: {
12289
12289
  json: {
12290
12290
  target: string;
@@ -12324,12 +12324,9 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12324
12324
  } & {
12325
12325
  "/runs/:id/images/:file": {
12326
12326
  $get: {
12327
- output: {
12328
- error: string;
12329
- code?: "invalid_input" | undefined;
12330
- };
12331
- outputFormat: "json";
12332
- status: 400;
12327
+ output: {};
12328
+ outputFormat: string;
12329
+ status: import("hono/utils/http-status").StatusCode;
12333
12330
  input: {
12334
12331
  param: {
12335
12332
  id: string;
@@ -12337,9 +12334,12 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12337
12334
  };
12338
12335
  };
12339
12336
  } | {
12340
- output: {};
12341
- outputFormat: string;
12342
- status: import("hono/utils/http-status").StatusCode;
12337
+ output: {
12338
+ error: string;
12339
+ code?: "invalid_input" | undefined;
12340
+ };
12341
+ outputFormat: "json";
12342
+ status: 400;
12343
12343
  input: {
12344
12344
  param: {
12345
12345
  id: string;
@@ -12375,6 +12375,17 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12375
12375
  } & {
12376
12376
  "/runs/:id/changes": {
12377
12377
  $get: {
12378
+ output: {
12379
+ error: string;
12380
+ };
12381
+ outputFormat: "json";
12382
+ status: 404 | 409;
12383
+ input: {
12384
+ param: {
12385
+ id: string;
12386
+ };
12387
+ };
12388
+ } | {
12378
12389
  output: {
12379
12390
  files: {
12380
12391
  path: string;
@@ -12403,7 +12414,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12403
12414
  id: string;
12404
12415
  };
12405
12416
  };
12406
- } | {
12417
+ };
12418
+ };
12419
+ } & {
12420
+ "/runs/:id/commits": {
12421
+ $get: {
12407
12422
  output: {
12408
12423
  error: string;
12409
12424
  };
@@ -12414,11 +12429,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12414
12429
  id: string;
12415
12430
  };
12416
12431
  };
12417
- };
12418
- };
12419
- } & {
12420
- "/runs/:id/commits": {
12421
- $get: {
12432
+ } | {
12422
12433
  output: {
12423
12434
  commits: {
12424
12435
  sha: string;
@@ -12434,7 +12445,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12434
12445
  id: string;
12435
12446
  };
12436
12447
  };
12437
- } | {
12448
+ };
12449
+ };
12450
+ } & {
12451
+ "/runs/:id/commit/:sha": {
12452
+ $get: {
12438
12453
  output: {
12439
12454
  error: string;
12440
12455
  };
@@ -12443,13 +12458,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12443
12458
  input: {
12444
12459
  param: {
12445
12460
  id: string;
12461
+ } & {
12462
+ sha: string;
12446
12463
  };
12447
12464
  };
12448
- };
12449
- };
12450
- } & {
12451
- "/runs/:id/commit/:sha": {
12452
- $get: {
12465
+ } | {
12453
12466
  output: {
12454
12467
  sha: string;
12455
12468
  subject: string;
@@ -12480,19 +12493,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12480
12493
  sha: string;
12481
12494
  };
12482
12495
  };
12483
- } | {
12484
- output: {
12485
- error: string;
12486
- };
12487
- outputFormat: "json";
12488
- status: 404 | 409;
12489
- input: {
12490
- param: {
12491
- id: string;
12492
- } & {
12493
- sha: string;
12494
- };
12495
- };
12496
12496
  };
12497
12497
  };
12498
12498
  } & {
@@ -12528,6 +12528,22 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12528
12528
  raw?: "1" | undefined;
12529
12529
  };
12530
12530
  };
12531
+ } | {
12532
+ output: {
12533
+ error: string;
12534
+ };
12535
+ outputFormat: "json";
12536
+ status: 404 | 409;
12537
+ input: {
12538
+ param: {
12539
+ id: string;
12540
+ };
12541
+ } & {
12542
+ query: {
12543
+ path: string | string[];
12544
+ raw?: "1" | undefined;
12545
+ };
12546
+ };
12531
12547
  } | {
12532
12548
  output: {
12533
12549
  type: "file";
@@ -12564,22 +12580,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12564
12580
  raw?: "1" | undefined;
12565
12581
  };
12566
12582
  };
12567
- } | {
12568
- output: {
12569
- error: string;
12570
- };
12571
- outputFormat: "json";
12572
- status: 404 | 409;
12573
- input: {
12574
- param: {
12575
- id: string;
12576
- };
12577
- } & {
12578
- query: {
12579
- path: string | string[];
12580
- raw?: "1" | undefined;
12581
- };
12582
- };
12583
12583
  };
12584
12584
  };
12585
12585
  } & {
@@ -12644,18 +12644,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12644
12644
  artifactId: string;
12645
12645
  };
12646
12646
  };
12647
- } | {
12648
- output: {
12649
- error: string;
12650
- };
12651
- outputFormat: "json";
12652
- status: 404;
12653
- input: {
12654
- param: {
12655
- id: string;
12656
- artifactId: string;
12657
- };
12658
- };
12659
12647
  } | {
12660
12648
  output: {
12661
12649
  type: "file";
@@ -12684,6 +12672,18 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12684
12672
  artifactId: string;
12685
12673
  };
12686
12674
  };
12675
+ } | {
12676
+ output: {
12677
+ error: string;
12678
+ };
12679
+ outputFormat: "json";
12680
+ status: 404;
12681
+ input: {
12682
+ param: {
12683
+ id: string;
12684
+ artifactId: string;
12685
+ };
12686
+ };
12687
12687
  };
12688
12688
  };
12689
12689
  } & {
@@ -12861,16 +12861,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12861
12861
  };
12862
12862
  } | {
12863
12863
  output: {
12864
- type: 'dir';
12865
- path: string;
12866
- entries: {
12867
- name: string;
12868
- type: 'dir' | 'file';
12869
- size?: number;
12870
- }[];
12864
+ error: string;
12871
12865
  };
12872
12866
  outputFormat: "json";
12873
- status: import("hono/utils/http-status").ContentfulStatusCode;
12867
+ status: 404 | 409;
12874
12868
  input: {
12875
12869
  query: {
12876
12870
  path?: string | undefined;
@@ -12883,12 +12877,13 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12883
12877
  };
12884
12878
  } | {
12885
12879
  output: {
12886
- type: 'file';
12880
+ type: 'dir';
12887
12881
  path: string;
12888
- size: number;
12889
- binary: boolean;
12890
- tooLarge: boolean;
12891
- content?: string | undefined;
12882
+ entries: {
12883
+ name: string;
12884
+ type: 'dir' | 'file';
12885
+ size?: number;
12886
+ }[];
12892
12887
  };
12893
12888
  outputFormat: "json";
12894
12889
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -12904,10 +12899,15 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12904
12899
  };
12905
12900
  } | {
12906
12901
  output: {
12907
- error: string;
12902
+ type: 'file';
12903
+ path: string;
12904
+ size: number;
12905
+ binary: boolean;
12906
+ tooLarge: boolean;
12907
+ content?: string | undefined;
12908
12908
  };
12909
12909
  outputFormat: "json";
12910
- status: 404 | 409;
12910
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12911
12911
  input: {
12912
12912
  query: {
12913
12913
  path?: string | undefined;
@@ -12924,11 +12924,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12924
12924
  "/runs/:id/git/commit": {
12925
12925
  $post: {
12926
12926
  output: {
12927
- committed: true;
12928
- sha: string;
12927
+ error: string;
12929
12928
  };
12930
12929
  outputFormat: "json";
12931
- status: import("hono/utils/http-status").ContentfulStatusCode;
12930
+ status: 404 | 409;
12932
12931
  input: {
12933
12932
  json: {
12934
12933
  message: string;
@@ -12940,10 +12939,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12940
12939
  };
12941
12940
  } | {
12942
12941
  output: {
12943
- error: string;
12942
+ committed: true;
12943
+ sha: string;
12944
12944
  };
12945
12945
  outputFormat: "json";
12946
- status: 404 | 409;
12946
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12947
12947
  input: {
12948
12948
  json: {
12949
12949
  message: string;
@@ -12959,13 +12959,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12959
12959
  "/runs/:id/git/push": {
12960
12960
  $post: {
12961
12961
  output: {
12962
- pushed: true;
12963
- branch: string;
12964
- remote: string;
12965
- upstreamSet: boolean;
12962
+ error: string;
12966
12963
  };
12967
12964
  outputFormat: "json";
12968
- status: import("hono/utils/http-status").ContentfulStatusCode;
12965
+ status: 404 | 409;
12969
12966
  input: {
12970
12967
  param: {
12971
12968
  id: string;
@@ -12973,10 +12970,13 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12973
12970
  };
12974
12971
  } | {
12975
12972
  output: {
12976
- error: string;
12973
+ pushed: true;
12974
+ branch: string;
12975
+ remote: string;
12976
+ upstreamSet: boolean;
12977
12977
  };
12978
12978
  outputFormat: "json";
12979
- status: 404 | 409;
12979
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12980
12980
  input: {
12981
12981
  param: {
12982
12982
  id: string;
@@ -12988,11 +12988,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12988
12988
  "/runs/:id/pr": {
12989
12989
  $post: {
12990
12990
  output: {
12991
- url: string;
12992
- dryRun: boolean;
12991
+ error: string;
12993
12992
  };
12994
12993
  outputFormat: "json";
12995
- status: 201;
12994
+ status: 404 | 409;
12996
12995
  input: {
12997
12996
  param: {
12998
12997
  id: string;
@@ -13000,10 +12999,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13000
12999
  };
13001
13000
  } | {
13002
13001
  output: {
13003
- error: string;
13002
+ url: string;
13003
+ dryRun: boolean;
13004
13004
  };
13005
13005
  outputFormat: "json";
13006
- status: 404 | 409;
13006
+ status: 201;
13007
13007
  input: {
13008
13008
  param: {
13009
13009
  id: string;
@@ -13015,10 +13015,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13015
13015
  "/runs/:id/remove-worktree": {
13016
13016
  $post: {
13017
13017
  output: {
13018
- removed: true;
13018
+ error: string;
13019
13019
  };
13020
13020
  outputFormat: "json";
13021
- status: import("hono/utils/http-status").ContentfulStatusCode;
13021
+ status: 404 | 409;
13022
13022
  input: {
13023
13023
  param: {
13024
13024
  id: string;
@@ -13026,10 +13026,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13026
13026
  };
13027
13027
  } | {
13028
13028
  output: {
13029
- error: string;
13029
+ removed: true;
13030
13030
  };
13031
13031
  outputFormat: "json";
13032
- status: 404 | 409;
13032
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13033
13033
  input: {
13034
13034
  param: {
13035
13035
  id: string;
@@ -13041,10 +13041,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13041
13041
  "/runs/:id": {
13042
13042
  $delete: {
13043
13043
  output: {
13044
- deleted: true;
13044
+ error: string;
13045
13045
  };
13046
13046
  outputFormat: "json";
13047
- status: import("hono/utils/http-status").ContentfulStatusCode;
13047
+ status: 404 | 409;
13048
13048
  input: {
13049
13049
  param: {
13050
13050
  id: string;
@@ -13052,10 +13052,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13052
13052
  };
13053
13053
  } | {
13054
13054
  output: {
13055
- error: string;
13055
+ deleted: true;
13056
13056
  };
13057
13057
  outputFormat: "json";
13058
- status: 404 | 409;
13058
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13059
13059
  input: {
13060
13060
  param: {
13061
13061
  id: string;