@hearsay-tools/squawk 0.19.0-dev.9246 → 0.19.0-dev.9260

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,22 +1777,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1764
1777
  };
1765
1778
  } | {
1766
1779
  output: {
1767
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
1768
- readonly error: string;
1769
- readonly modelChoices?: {
1770
- runner: string;
1771
- requestedModel: string;
1772
- availableModels: {
1773
- id: string;
1774
- label: string;
1775
- description: string;
1776
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
1777
- }[];
1778
- otherRunners: string[];
1779
- } | undefined;
1780
+ error: string;
1781
+ code?: "invalid_input" | undefined;
1780
1782
  };
1781
1783
  outputFormat: "json";
1782
- status: 400 | 401 | 403 | 409 | 503;
1784
+ status: 400;
1783
1785
  input: {
1784
1786
  query: {
1785
1787
  [x: string]: string | string[];
@@ -1812,7 +1814,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1812
1814
  error?: string | undefined;
1813
1815
  };
1814
1816
  outputFormat: "json";
1815
- status: 200;
1817
+ status: 409;
1816
1818
  input: {
1817
1819
  query: {
1818
1820
  [x: string]: string | string[];
@@ -1828,24 +1830,22 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1828
1830
  };
1829
1831
  } | {
1830
1832
  output: {
1831
- workerId: string;
1832
- state: "complete" | "incomplete";
1833
- work?: {
1834
- uncommittedFiles: number;
1835
- commits: number;
1833
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
1834
+ readonly error: string;
1835
+ readonly modelChoices?: {
1836
+ runner: string;
1837
+ requestedModel: string;
1838
+ availableModels: {
1839
+ id: string;
1840
+ label: string;
1841
+ description: string;
1842
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
1843
+ }[];
1844
+ otherRunners: string[];
1836
1845
  } | undefined;
1837
- deleted?: ({
1838
- kind: "worktree";
1839
- path: string;
1840
- } | {
1841
- kind: "branch";
1842
- ref: string;
1843
- })[] | undefined;
1844
- remaining: ("branch" | "process" | "worktree")[];
1845
- error?: string | undefined;
1846
1846
  };
1847
1847
  outputFormat: "json";
1848
- status: 409;
1848
+ status: 400 | 401 | 403 | 409 | 503;
1849
1849
  input: {
1850
1850
  query: {
1851
1851
  [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,28 +10663,88 @@ 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;
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;
10677
+ task?: 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;
10688
10748
  continuationMessage?: {
10689
10749
  replayAfterOpen?: true | undefined;
10690
10750
  id: string;
@@ -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;
@@ -12546,7 +12546,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12546
12546
  error: string;
12547
12547
  };
12548
12548
  outputFormat: "json";
12549
- status: 409;
12549
+ status: 404;
12550
12550
  input: {
12551
12551
  param: {
12552
12552
  id: string;
@@ -12562,7 +12562,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12562
12562
  error: string;
12563
12563
  };
12564
12564
  outputFormat: "json";
12565
- status: 404;
12565
+ status: 409;
12566
12566
  input: {
12567
12567
  param: {
12568
12568
  id: string;
@@ -12727,17 +12727,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12727
12727
  } & {
12728
12728
  "/runs/:id/changes": {
12729
12729
  $get: {
12730
- output: {
12731
- error: string;
12732
- };
12733
- outputFormat: "json";
12734
- status: 404 | 409;
12735
- input: {
12736
- param: {
12737
- id: string;
12738
- };
12739
- };
12740
- } | {
12741
12730
  output: {
12742
12731
  files: {
12743
12732
  path: string;
@@ -12766,11 +12755,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12766
12755
  id: string;
12767
12756
  };
12768
12757
  };
12769
- };
12770
- };
12771
- } & {
12772
- "/runs/:id/commits": {
12773
- $get: {
12758
+ } | {
12774
12759
  output: {
12775
12760
  error: string;
12776
12761
  };
@@ -12781,7 +12766,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12781
12766
  id: string;
12782
12767
  };
12783
12768
  };
12784
- } | {
12769
+ };
12770
+ };
12771
+ } & {
12772
+ "/runs/:id/commits": {
12773
+ $get: {
12785
12774
  output: {
12786
12775
  commits: {
12787
12776
  sha: string;
@@ -12797,11 +12786,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12797
12786
  id: string;
12798
12787
  };
12799
12788
  };
12800
- };
12801
- };
12802
- } & {
12803
- "/runs/:id/commit/:sha": {
12804
- $get: {
12789
+ } | {
12805
12790
  output: {
12806
12791
  error: string;
12807
12792
  };
@@ -12810,11 +12795,13 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12810
12795
  input: {
12811
12796
  param: {
12812
12797
  id: string;
12813
- } & {
12814
- sha: string;
12815
12798
  };
12816
12799
  };
12817
- } | {
12800
+ };
12801
+ };
12802
+ } & {
12803
+ "/runs/:id/commit/:sha": {
12804
+ $get: {
12818
12805
  output: {
12819
12806
  sha: string;
12820
12807
  subject: string;
@@ -12845,6 +12832,19 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12845
12832
  sha: string;
12846
12833
  };
12847
12834
  };
12835
+ } | {
12836
+ output: {
12837
+ error: string;
12838
+ };
12839
+ outputFormat: "json";
12840
+ status: 404 | 409;
12841
+ input: {
12842
+ param: {
12843
+ id: string;
12844
+ } & {
12845
+ sha: string;
12846
+ };
12847
+ };
12848
12848
  };
12849
12849
  };
12850
12850
  } & {
@@ -12868,10 +12868,15 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12868
12868
  };
12869
12869
  } | {
12870
12870
  output: {
12871
- error: string;
12871
+ type: 'file';
12872
+ path: string;
12873
+ size: number;
12874
+ binary: boolean;
12875
+ tooLarge: boolean;
12876
+ content?: string | undefined;
12872
12877
  };
12873
12878
  outputFormat: "json";
12874
- status: 404 | 409;
12879
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12875
12880
  input: {
12876
12881
  param: {
12877
12882
  sha: string;
@@ -12884,15 +12889,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12884
12889
  };
12885
12890
  } | {
12886
12891
  output: {
12887
- type: 'file';
12888
- path: string;
12889
- size: number;
12890
- binary: boolean;
12891
- tooLarge: boolean;
12892
- content?: string | undefined;
12892
+ error: string;
12893
12893
  };
12894
12894
  outputFormat: "json";
12895
- status: import("hono/utils/http-status").ContentfulStatusCode;
12895
+ status: 404 | 409;
12896
12896
  input: {
12897
12897
  param: {
12898
12898
  sha: string;
@@ -12938,22 +12938,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12938
12938
  raw?: "1" | undefined;
12939
12939
  };
12940
12940
  };
12941
- } | {
12942
- output: {
12943
- error: string;
12944
- };
12945
- outputFormat: "json";
12946
- status: 404 | 409;
12947
- input: {
12948
- param: {
12949
- id: string;
12950
- };
12951
- } & {
12952
- query: {
12953
- path: string | string[];
12954
- raw?: "1" | undefined;
12955
- };
12956
- };
12957
12941
  } | {
12958
12942
  output: {
12959
12943
  type: "file";
@@ -12990,6 +12974,22 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12990
12974
  raw?: "1" | undefined;
12991
12975
  };
12992
12976
  };
12977
+ } | {
12978
+ output: {
12979
+ error: string;
12980
+ };
12981
+ outputFormat: "json";
12982
+ status: 404 | 409;
12983
+ input: {
12984
+ param: {
12985
+ id: string;
12986
+ };
12987
+ } & {
12988
+ query: {
12989
+ path: string | string[];
12990
+ raw?: "1" | undefined;
12991
+ };
12992
+ };
12993
12993
  };
12994
12994
  };
12995
12995
  } & {
@@ -13054,6 +13054,18 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13054
13054
  artifactId: string;
13055
13055
  };
13056
13056
  };
13057
+ } | {
13058
+ output: {
13059
+ error: string;
13060
+ };
13061
+ outputFormat: "json";
13062
+ status: 404;
13063
+ input: {
13064
+ param: {
13065
+ id: string;
13066
+ artifactId: string;
13067
+ };
13068
+ };
13057
13069
  } | {
13058
13070
  output: {
13059
13071
  type: "file";
@@ -13082,18 +13094,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13082
13094
  artifactId: string;
13083
13095
  };
13084
13096
  };
13085
- } | {
13086
- output: {
13087
- error: string;
13088
- };
13089
- outputFormat: "json";
13090
- status: 404;
13091
- input: {
13092
- param: {
13093
- id: string;
13094
- artifactId: string;
13095
- };
13096
- };
13097
13097
  };
13098
13098
  };
13099
13099
  } & {
@@ -13269,22 +13269,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13269
13269
  id: string;
13270
13270
  };
13271
13271
  };
13272
- } | {
13273
- output: {
13274
- error: string;
13275
- };
13276
- outputFormat: "json";
13277
- status: 404 | 409;
13278
- input: {
13279
- query: {
13280
- path?: string | undefined;
13281
- raw?: string | undefined;
13282
- };
13283
- } & {
13284
- param: {
13285
- id: string;
13286
- };
13287
- };
13288
13272
  } | {
13289
13273
  output: {
13290
13274
  type: 'file';
@@ -13329,16 +13313,33 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13329
13313
  id: string;
13330
13314
  };
13331
13315
  };
13316
+ } | {
13317
+ output: {
13318
+ error: string;
13319
+ };
13320
+ outputFormat: "json";
13321
+ status: 404 | 409;
13322
+ input: {
13323
+ query: {
13324
+ path?: string | undefined;
13325
+ raw?: string | undefined;
13326
+ };
13327
+ } & {
13328
+ param: {
13329
+ id: string;
13330
+ };
13331
+ };
13332
13332
  };
13333
13333
  };
13334
13334
  } & {
13335
13335
  "/runs/:id/git/commit": {
13336
13336
  $post: {
13337
13337
  output: {
13338
- error: string;
13338
+ committed: true;
13339
+ sha: string;
13339
13340
  };
13340
13341
  outputFormat: "json";
13341
- status: 404 | 409;
13342
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13342
13343
  input: {
13343
13344
  json: {
13344
13345
  message: string;
@@ -13350,11 +13351,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13350
13351
  };
13351
13352
  } | {
13352
13353
  output: {
13353
- committed: true;
13354
- sha: string;
13354
+ error: string;
13355
13355
  };
13356
13356
  outputFormat: "json";
13357
- status: import("hono/utils/http-status").ContentfulStatusCode;
13357
+ status: 404 | 409;
13358
13358
  input: {
13359
13359
  json: {
13360
13360
  message: string;
@@ -13370,10 +13370,13 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13370
13370
  "/runs/:id/git/push": {
13371
13371
  $post: {
13372
13372
  output: {
13373
- error: string;
13373
+ pushed: true;
13374
+ branch: string;
13375
+ remote: string;
13376
+ upstreamSet: boolean;
13374
13377
  };
13375
13378
  outputFormat: "json";
13376
- status: 404 | 409;
13379
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13377
13380
  input: {
13378
13381
  param: {
13379
13382
  id: string;
@@ -13381,13 +13384,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13381
13384
  };
13382
13385
  } | {
13383
13386
  output: {
13384
- pushed: true;
13385
- branch: string;
13386
- remote: string;
13387
- upstreamSet: boolean;
13387
+ error: string;
13388
13388
  };
13389
13389
  outputFormat: "json";
13390
- status: import("hono/utils/http-status").ContentfulStatusCode;
13390
+ status: 404 | 409;
13391
13391
  input: {
13392
13392
  param: {
13393
13393
  id: string;
@@ -13399,10 +13399,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13399
13399
  "/runs/:id/pr": {
13400
13400
  $post: {
13401
13401
  output: {
13402
- error: string;
13402
+ url: string;
13403
+ dryRun: boolean;
13403
13404
  };
13404
13405
  outputFormat: "json";
13405
- status: 404 | 409;
13406
+ status: 201;
13406
13407
  input: {
13407
13408
  param: {
13408
13409
  id: string;
@@ -13410,11 +13411,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13410
13411
  };
13411
13412
  } | {
13412
13413
  output: {
13413
- url: string;
13414
- dryRun: boolean;
13414
+ error: string;
13415
13415
  };
13416
13416
  outputFormat: "json";
13417
- status: 201;
13417
+ status: 404 | 409;
13418
13418
  input: {
13419
13419
  param: {
13420
13420
  id: string;
@@ -13426,10 +13426,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13426
13426
  "/runs/:id/remove-worktree": {
13427
13427
  $post: {
13428
13428
  output: {
13429
- error: string;
13429
+ removed: true;
13430
13430
  };
13431
13431
  outputFormat: "json";
13432
- status: 404 | 409;
13432
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13433
13433
  input: {
13434
13434
  param: {
13435
13435
  id: string;
@@ -13437,10 +13437,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13437
13437
  };
13438
13438
  } | {
13439
13439
  output: {
13440
- removed: true;
13440
+ error: string;
13441
13441
  };
13442
13442
  outputFormat: "json";
13443
- status: import("hono/utils/http-status").ContentfulStatusCode;
13443
+ status: 404 | 409;
13444
13444
  input: {
13445
13445
  param: {
13446
13446
  id: string;
@@ -13452,10 +13452,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13452
13452
  "/runs/:id": {
13453
13453
  $delete: {
13454
13454
  output: {
13455
- error: string;
13455
+ deleted: true;
13456
13456
  };
13457
13457
  outputFormat: "json";
13458
- status: 404 | 409;
13458
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13459
13459
  input: {
13460
13460
  param: {
13461
13461
  id: string;
@@ -13463,10 +13463,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13463
13463
  };
13464
13464
  } | {
13465
13465
  output: {
13466
- deleted: true;
13466
+ error: string;
13467
13467
  };
13468
13468
  outputFormat: "json";
13469
- status: import("hono/utils/http-status").ContentfulStatusCode;
13469
+ status: 404 | 409;
13470
13470
  input: {
13471
13471
  param: {
13472
13472
  id: string;