@hearsay-tools/squawk 0.19.0-dev.9200 → 0.19.0-dev.9210

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.
@@ -92,6 +92,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
92
92
  } | undefined;
93
93
  invalidAsk?: boolean | undefined;
94
94
  delegation?: {
95
+ role: "invalid";
96
+ } | {
95
97
  role: "root";
96
98
  conversation?: {
97
99
  messages: {
@@ -326,8 +328,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
326
328
  } | undefined;
327
329
  executionRevision?: number | undefined;
328
330
  executionStartSeq?: number | undefined;
329
- } | {
330
- role: "invalid";
331
331
  } | undefined;
332
332
  agentInputs?: {
333
333
  conversation?: {
@@ -1215,6 +1215,18 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1215
1215
  } & {
1216
1216
  "/run-summaries": {
1217
1217
  $get: {
1218
+ output: {
1219
+ error: string;
1220
+ code?: "invalid_input" | undefined;
1221
+ };
1222
+ outputFormat: "json";
1223
+ status: 400;
1224
+ input: {
1225
+ query: {
1226
+ archived?: "all" | "recent" | undefined;
1227
+ };
1228
+ };
1229
+ } | {
1218
1230
  output: {
1219
1231
  id: string;
1220
1232
  title: string;
@@ -1352,18 +1364,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1352
1364
  archived?: "all" | "recent" | undefined;
1353
1365
  };
1354
1366
  };
1355
- } | {
1356
- output: {
1357
- error: string;
1358
- code?: "invalid_input" | undefined;
1359
- };
1360
- outputFormat: "json";
1361
- status: 400;
1362
- input: {
1363
- query: {
1364
- archived?: "all" | "recent" | undefined;
1365
- };
1366
- };
1367
1367
  };
1368
1368
  };
1369
1369
  } & {
@@ -1725,11 +1725,24 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1725
1725
  "/runs/:id/worker-destroy": {
1726
1726
  $post: {
1727
1727
  output: {
1728
- error: string;
1729
- code?: "invalid_input" | undefined;
1728
+ workerId: string;
1729
+ state: "complete" | "incomplete";
1730
+ work?: {
1731
+ uncommittedFiles: number;
1732
+ commits: number;
1733
+ } | undefined;
1734
+ deleted?: ({
1735
+ kind: "worktree";
1736
+ path: string;
1737
+ } | {
1738
+ kind: "branch";
1739
+ ref: string;
1740
+ })[] | undefined;
1741
+ remaining: ("branch" | "process" | "worktree")[];
1742
+ error?: string | undefined;
1730
1743
  };
1731
1744
  outputFormat: "json";
1732
- status: 400;
1745
+ status: 200;
1733
1746
  input: {
1734
1747
  query: {
1735
1748
  [x: string]: string | string[];
@@ -1745,24 +1758,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1745
1758
  };
1746
1759
  } | {
1747
1760
  output: {
1748
- workerId: string;
1749
- state: "complete" | "incomplete";
1750
- work?: {
1751
- uncommittedFiles: number;
1752
- commits: number;
1753
- } | undefined;
1754
- deleted?: ({
1755
- kind: "worktree";
1756
- path: string;
1757
- } | {
1758
- kind: "branch";
1759
- ref: string;
1760
- })[] | undefined;
1761
- remaining: ("branch" | "process" | "worktree")[];
1762
- error?: string | undefined;
1761
+ error: string;
1762
+ code?: "invalid_input" | undefined;
1763
1763
  };
1764
1764
  outputFormat: "json";
1765
- status: 200;
1765
+ status: 400;
1766
1766
  input: {
1767
1767
  query: {
1768
1768
  [x: string]: string | string[];
@@ -1878,6 +1878,21 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1878
1878
  } & {
1879
1879
  "/runs/:id/archive": {
1880
1880
  $post: {
1881
+ output: {
1882
+ error: string;
1883
+ };
1884
+ outputFormat: "json";
1885
+ status: 404;
1886
+ input: {
1887
+ json: {
1888
+ archived?: boolean | undefined;
1889
+ };
1890
+ } & {
1891
+ param: {
1892
+ id: string;
1893
+ };
1894
+ };
1895
+ } | {
1881
1896
  output: {
1882
1897
  archiveWhenDone?: boolean | undefined;
1883
1898
  autoMergePr?: boolean | undefined;
@@ -1939,6 +1954,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1939
1954
  } | undefined;
1940
1955
  invalidAsk?: boolean | undefined;
1941
1956
  delegation?: {
1957
+ role: "invalid";
1958
+ } | {
1942
1959
  role: "root";
1943
1960
  conversation?: {
1944
1961
  messages: {
@@ -2173,8 +2190,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
2173
2190
  } | undefined;
2174
2191
  executionRevision?: number | undefined;
2175
2192
  executionStartSeq?: number | undefined;
2176
- } | {
2177
- role: "invalid";
2178
2193
  } | undefined;
2179
2194
  agentInputs?: {
2180
2195
  conversation?: {
@@ -3057,32 +3072,32 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3057
3072
  id: string;
3058
3073
  };
3059
3074
  };
3060
- } | {
3075
+ };
3076
+ };
3077
+ } & {
3078
+ "/runs/:id/pin": {
3079
+ $post: {
3061
3080
  output: {
3062
3081
  error: string;
3082
+ code?: "invalid_input" | undefined;
3063
3083
  };
3064
3084
  outputFormat: "json";
3065
- status: 404;
3085
+ status: 400;
3066
3086
  input: {
3067
- json: {
3068
- archived?: boolean | undefined;
3069
- };
3070
- } & {
3071
3087
  param: {
3072
3088
  id: string;
3073
3089
  };
3090
+ } & {
3091
+ json: {
3092
+ pinned?: boolean | undefined;
3093
+ };
3074
3094
  };
3075
- };
3076
- };
3077
- } & {
3078
- "/runs/:id/pin": {
3079
- $post: {
3095
+ } | {
3080
3096
  output: {
3081
3097
  error: string;
3082
- code?: "invalid_input" | undefined;
3083
3098
  };
3084
3099
  outputFormat: "json";
3085
- status: 400;
3100
+ status: 404;
3086
3101
  input: {
3087
3102
  param: {
3088
3103
  id: string;
@@ -3154,6 +3169,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3154
3169
  } | undefined;
3155
3170
  invalidAsk?: boolean | undefined;
3156
3171
  delegation?: {
3172
+ role: "invalid";
3173
+ } | {
3157
3174
  role: "root";
3158
3175
  conversation?: {
3159
3176
  messages: {
@@ -3388,8 +3405,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3388
3405
  } | undefined;
3389
3406
  executionRevision?: number | undefined;
3390
3407
  executionStartSeq?: number | undefined;
3391
- } | {
3392
- role: "invalid";
3393
3408
  } | undefined;
3394
3409
  agentInputs?: {
3395
3410
  conversation?: {
@@ -4272,21 +4287,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4272
4287
  pinned?: boolean | undefined;
4273
4288
  };
4274
4289
  };
4275
- } | {
4276
- output: {
4277
- error: string;
4278
- };
4279
- outputFormat: "json";
4280
- status: 404;
4281
- input: {
4282
- param: {
4283
- id: string;
4284
- };
4285
- } & {
4286
- json: {
4287
- pinned?: boolean | undefined;
4288
- };
4289
- };
4290
4290
  };
4291
4291
  };
4292
4292
  } & {
@@ -4308,22 +4308,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4308
4308
  message?: string | undefined;
4309
4309
  };
4310
4310
  };
4311
- } | {
4312
- output: {
4313
- error: string;
4314
- };
4315
- outputFormat: "json";
4316
- status: 400 | 404 | 409;
4317
- input: {
4318
- param: {
4319
- id: string;
4320
- };
4321
- } & {
4322
- json: {
4323
- notify: boolean;
4324
- message?: string | undefined;
4325
- };
4326
- };
4327
4311
  } | {
4328
4312
  output: {
4329
4313
  archiveWhenDone?: boolean | undefined;
@@ -5124,6 +5108,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5124
5108
  currentStepId?: string | undefined;
5125
5109
  error?: string | undefined;
5126
5110
  delegation?: {
5111
+ role: "invalid";
5112
+ } | {
5127
5113
  role: "root";
5128
5114
  conversation?: {
5129
5115
  messages: {
@@ -5358,8 +5344,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5358
5344
  } | undefined;
5359
5345
  executionRevision?: number | undefined;
5360
5346
  executionStartSeq?: number | undefined;
5361
- } | {
5362
- role: "invalid";
5363
5347
  } | undefined;
5364
5348
  lastWaitsError?: string | undefined;
5365
5349
  automaticWakes?: number | undefined;
@@ -5505,6 +5489,22 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5505
5489
  message?: string | undefined;
5506
5490
  };
5507
5491
  };
5492
+ } | {
5493
+ output: {
5494
+ error: string;
5495
+ };
5496
+ outputFormat: "json";
5497
+ status: 400 | 404 | 409;
5498
+ input: {
5499
+ param: {
5500
+ id: string;
5501
+ };
5502
+ } & {
5503
+ json: {
5504
+ notify: boolean;
5505
+ message?: string | undefined;
5506
+ };
5507
+ };
5508
5508
  };
5509
5509
  };
5510
5510
  } & {
@@ -5536,6 +5536,17 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5536
5536
  } & {
5537
5537
  "/runs/:id/read": {
5538
5538
  $post: {
5539
+ output: {
5540
+ error: string;
5541
+ };
5542
+ outputFormat: "json";
5543
+ status: 404;
5544
+ input: {
5545
+ param: {
5546
+ id: string;
5547
+ };
5548
+ };
5549
+ } | {
5539
5550
  output: {
5540
5551
  archiveWhenDone?: boolean | undefined;
5541
5552
  autoMergePr?: boolean | undefined;
@@ -5597,6 +5608,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5597
5608
  } | undefined;
5598
5609
  invalidAsk?: boolean | undefined;
5599
5610
  delegation?: {
5611
+ role: "invalid";
5612
+ } | {
5600
5613
  role: "root";
5601
5614
  conversation?: {
5602
5615
  messages: {
@@ -5831,8 +5844,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5831
5844
  } | undefined;
5832
5845
  executionRevision?: number | undefined;
5833
5846
  executionStartSeq?: number | undefined;
5834
- } | {
5835
- role: "invalid";
5836
5847
  } | undefined;
5837
5848
  agentInputs?: {
5838
5849
  conversation?: {
@@ -6711,7 +6722,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6711
6722
  id: string;
6712
6723
  };
6713
6724
  };
6714
- } | {
6725
+ };
6726
+ };
6727
+ } & {
6728
+ "/runs/:id/unread": {
6729
+ $post: {
6715
6730
  output: {
6716
6731
  error: string;
6717
6732
  };
@@ -6722,11 +6737,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6722
6737
  id: string;
6723
6738
  };
6724
6739
  };
6725
- };
6726
- };
6727
- } & {
6728
- "/runs/:id/unread": {
6729
- $post: {
6740
+ } | {
6730
6741
  output: {
6731
6742
  archiveWhenDone?: boolean | undefined;
6732
6743
  autoMergePr?: boolean | undefined;
@@ -6788,6 +6799,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6788
6799
  } | undefined;
6789
6800
  invalidAsk?: boolean | undefined;
6790
6801
  delegation?: {
6802
+ role: "invalid";
6803
+ } | {
6791
6804
  role: "root";
6792
6805
  conversation?: {
6793
6806
  messages: {
@@ -7022,8 +7035,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
7022
7035
  } | undefined;
7023
7036
  executionRevision?: number | undefined;
7024
7037
  executionStartSeq?: number | undefined;
7025
- } | {
7026
- role: "invalid";
7027
7038
  } | undefined;
7028
7039
  agentInputs?: {
7029
7040
  conversation?: {
@@ -7902,17 +7913,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
7902
7913
  id: string;
7903
7914
  };
7904
7915
  };
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
  } & {
@@ -8717,6 +8717,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
8717
8717
  currentStepId?: string | undefined;
8718
8718
  error?: string | undefined;
8719
8719
  delegation?: {
8720
+ role: "invalid";
8721
+ } | {
8720
8722
  role: "root";
8721
8723
  conversation?: {
8722
8724
  messages: {
@@ -8951,8 +8953,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
8951
8953
  } | undefined;
8952
8954
  executionRevision?: number | undefined;
8953
8955
  executionStartSeq?: number | undefined;
8954
- } | {
8955
- role: "invalid";
8956
8956
  } | undefined;
8957
8957
  lastWaitsError?: string | undefined;
8958
8958
  automaticWakes?: number | undefined;
@@ -9189,6 +9189,17 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9189
9189
  } & {
9190
9190
  "/runs/:id": {
9191
9191
  $get: {
9192
+ output: {
9193
+ error: string;
9194
+ };
9195
+ outputFormat: "json";
9196
+ status: 404;
9197
+ input: {
9198
+ param: {
9199
+ id: string;
9200
+ };
9201
+ };
9202
+ } | {
9192
9203
  output: {
9193
9204
  archiveWhenDone?: boolean | undefined;
9194
9205
  autoMergePr?: boolean | undefined;
@@ -9250,6 +9261,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9250
9261
  } | undefined;
9251
9262
  invalidAsk?: boolean | undefined;
9252
9263
  delegation?: {
9264
+ role: "invalid";
9265
+ } | {
9253
9266
  role: "root";
9254
9267
  conversation?: {
9255
9268
  messages: {
@@ -9484,8 +9497,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9484
9497
  } | undefined;
9485
9498
  executionRevision?: number | undefined;
9486
9499
  executionStartSeq?: number | undefined;
9487
- } | {
9488
- role: "invalid";
9489
9500
  } | undefined;
9490
9501
  agentInputs?: {
9491
9502
  conversation?: {
@@ -10372,17 +10383,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10372
10383
  id: string;
10373
10384
  };
10374
10385
  };
10375
- } | {
10376
- output: {
10377
- error: string;
10378
- };
10379
- outputFormat: "json";
10380
- status: 404;
10381
- input: {
10382
- param: {
10383
- id: string;
10384
- };
10385
- };
10386
10386
  };
10387
10387
  };
10388
10388
  } & {
@@ -10511,24 +10511,84 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10511
10511
  "/runs/:id": {
10512
10512
  $patch: {
10513
10513
  output: {
10514
- archiveWhenDone?: boolean | undefined;
10515
- autoMergePr?: boolean | undefined;
10516
- allowWorkers?: boolean | undefined;
10517
- allowMessaging?: boolean | undefined;
10518
- id: string;
10519
- title: string;
10520
- titleSummary?: string | undefined;
10521
- diffStat?: {
10522
- adds: number;
10523
- dels: number;
10524
- files: number;
10525
- repointed?: boolean | undefined;
10526
- } | undefined;
10527
- workflow: string;
10528
- task: string;
10529
- queuedMessages?: {
10530
- replayAfterOpen?: true | undefined;
10531
- id: string;
10514
+ error: string;
10515
+ };
10516
+ outputFormat: "json";
10517
+ status: 400;
10518
+ input: {
10519
+ json: {
10520
+ archiveWhenDone?: boolean | undefined;
10521
+ autoMergePr?: boolean | undefined;
10522
+ allowWorkers?: boolean | undefined;
10523
+ allowMessaging?: boolean | undefined;
10524
+ title?: string | undefined;
10525
+ task?: string | undefined;
10526
+ };
10527
+ } & {
10528
+ param: {
10529
+ id: string;
10530
+ };
10531
+ };
10532
+ } | {
10533
+ output: {
10534
+ error: string;
10535
+ };
10536
+ outputFormat: "json";
10537
+ status: 404;
10538
+ input: {
10539
+ json: {
10540
+ archiveWhenDone?: boolean | undefined;
10541
+ autoMergePr?: boolean | undefined;
10542
+ allowWorkers?: boolean | undefined;
10543
+ allowMessaging?: boolean | undefined;
10544
+ title?: string | undefined;
10545
+ task?: string | undefined;
10546
+ };
10547
+ } & {
10548
+ param: {
10549
+ id: string;
10550
+ };
10551
+ };
10552
+ } | {
10553
+ output: {
10554
+ error: string;
10555
+ };
10556
+ outputFormat: "json";
10557
+ status: 409;
10558
+ input: {
10559
+ json: {
10560
+ archiveWhenDone?: boolean | undefined;
10561
+ autoMergePr?: boolean | undefined;
10562
+ allowWorkers?: boolean | undefined;
10563
+ allowMessaging?: boolean | undefined;
10564
+ title?: string | undefined;
10565
+ task?: string | undefined;
10566
+ };
10567
+ } & {
10568
+ param: {
10569
+ id: string;
10570
+ };
10571
+ };
10572
+ } | {
10573
+ output: {
10574
+ archiveWhenDone?: boolean | undefined;
10575
+ autoMergePr?: boolean | undefined;
10576
+ allowWorkers?: boolean | undefined;
10577
+ allowMessaging?: boolean | undefined;
10578
+ id: string;
10579
+ title: string;
10580
+ titleSummary?: string | undefined;
10581
+ diffStat?: {
10582
+ adds: number;
10583
+ dels: number;
10584
+ files: number;
10585
+ repointed?: boolean | undefined;
10586
+ } | undefined;
10587
+ workflow: string;
10588
+ task: string;
10589
+ queuedMessages?: {
10590
+ replayAfterOpen?: true | undefined;
10591
+ id: string;
10532
10592
  text: string;
10533
10593
  images?: string[] | undefined;
10534
10594
  createdAt: string;
@@ -11309,6 +11369,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11309
11369
  currentStepId?: string | undefined;
11310
11370
  error?: string | undefined;
11311
11371
  delegation?: {
11372
+ role: "invalid";
11373
+ } | {
11312
11374
  role: "root";
11313
11375
  conversation?: {
11314
11376
  messages: {
@@ -11543,8 +11605,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11543
11605
  } | undefined;
11544
11606
  executionRevision?: number | undefined;
11545
11607
  executionStartSeq?: number | undefined;
11546
- } | {
11547
- role: "invalid";
11548
11608
  } | undefined;
11549
11609
  lastWaitsError?: string | undefined;
11550
11610
  automaticWakes?: number | undefined;
@@ -11694,66 +11754,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11694
11754
  id: string;
11695
11755
  };
11696
11756
  };
11697
- } | {
11698
- output: {
11699
- error: string;
11700
- };
11701
- outputFormat: "json";
11702
- status: 404;
11703
- input: {
11704
- json: {
11705
- archiveWhenDone?: boolean | undefined;
11706
- autoMergePr?: boolean | undefined;
11707
- allowWorkers?: boolean | undefined;
11708
- allowMessaging?: boolean | undefined;
11709
- title?: string | undefined;
11710
- task?: string | undefined;
11711
- };
11712
- } & {
11713
- param: {
11714
- id: string;
11715
- };
11716
- };
11717
- } | {
11718
- output: {
11719
- error: string;
11720
- };
11721
- outputFormat: "json";
11722
- status: 400;
11723
- input: {
11724
- json: {
11725
- archiveWhenDone?: boolean | undefined;
11726
- autoMergePr?: boolean | undefined;
11727
- allowWorkers?: boolean | undefined;
11728
- allowMessaging?: boolean | undefined;
11729
- title?: string | undefined;
11730
- task?: string | undefined;
11731
- };
11732
- } & {
11733
- param: {
11734
- id: string;
11735
- };
11736
- };
11737
- } | {
11738
- output: {
11739
- error: string;
11740
- };
11741
- outputFormat: "json";
11742
- status: 409;
11743
- input: {
11744
- json: {
11745
- archiveWhenDone?: boolean | undefined;
11746
- autoMergePr?: boolean | undefined;
11747
- allowWorkers?: boolean | undefined;
11748
- allowMessaging?: boolean | undefined;
11749
- title?: string | undefined;
11750
- task?: string | undefined;
11751
- };
11752
- } & {
11753
- param: {
11754
- id: string;
11755
- };
11756
- };
11757
11757
  };
11758
11758
  };
11759
11759
  } & {
@@ -11858,7 +11858,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11858
11858
  error: string;
11859
11859
  };
11860
11860
  outputFormat: "json";
11861
- status: 404;
11861
+ status: 400;
11862
11862
  input: {
11863
11863
  json: {
11864
11864
  text?: string | undefined;
@@ -11877,7 +11877,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11877
11877
  error: string;
11878
11878
  };
11879
11879
  outputFormat: "json";
11880
- status: 409;
11880
+ status: 404;
11881
11881
  input: {
11882
11882
  json: {
11883
11883
  text?: string | undefined;
@@ -11893,10 +11893,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11893
11893
  };
11894
11894
  } | {
11895
11895
  output: {
11896
- delivered: true;
11896
+ error: string;
11897
11897
  };
11898
11898
  outputFormat: "json";
11899
- status: import("hono/utils/http-status").ContentfulStatusCode;
11899
+ status: 409;
11900
11900
  input: {
11901
11901
  json: {
11902
11902
  text?: string | undefined;
@@ -11912,10 +11912,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11912
11912
  };
11913
11913
  } | {
11914
11914
  output: {
11915
- error: string;
11915
+ delivered: true;
11916
11916
  };
11917
11917
  outputFormat: "json";
11918
- status: 400;
11918
+ status: import("hono/utils/http-status").ContentfulStatusCode;
11919
11919
  input: {
11920
11920
  json: {
11921
11921
  text?: string | undefined;
@@ -11983,7 +11983,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11983
11983
  error: string;
11984
11984
  };
11985
11985
  outputFormat: "json";
11986
- status: 404;
11986
+ status: 400;
11987
11987
  input: {
11988
11988
  json: {
11989
11989
  text?: string | undefined;
@@ -12004,7 +12004,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12004
12004
  error: string;
12005
12005
  };
12006
12006
  outputFormat: "json";
12007
- status: 400;
12007
+ status: 404;
12008
12008
  input: {
12009
12009
  json: {
12010
12010
  text?: string | undefined;
@@ -12224,10 +12224,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12224
12224
  "/runs/:id/open-in-cli": {
12225
12225
  $post: {
12226
12226
  output: {
12227
- error: string;
12227
+ opened: true;
12228
+ command: string;
12228
12229
  };
12229
12230
  outputFormat: "json";
12230
- status: 404 | 409;
12231
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12231
12232
  input: {
12232
12233
  param: {
12233
12234
  id: string;
@@ -12235,11 +12236,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12235
12236
  };
12236
12237
  } | {
12237
12238
  output: {
12238
- opened: true;
12239
- command: string;
12239
+ error: string;
12240
12240
  };
12241
12241
  outputFormat: "json";
12242
- status: import("hono/utils/http-status").ContentfulStatusCode;
12242
+ status: 404 | 409;
12243
12243
  input: {
12244
12244
  param: {
12245
12245
  id: string;
@@ -12254,7 +12254,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12254
12254
  error: string;
12255
12255
  };
12256
12256
  outputFormat: "json";
12257
- status: 404 | 409;
12257
+ status: 400;
12258
12258
  input: {
12259
12259
  json: {
12260
12260
  target: string;
@@ -12267,10 +12267,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12267
12267
  };
12268
12268
  } | {
12269
12269
  output: {
12270
- error: string;
12270
+ opened: true;
12271
+ path: string;
12271
12272
  };
12272
12273
  outputFormat: "json";
12273
- status: 400;
12274
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12274
12275
  input: {
12275
12276
  json: {
12276
12277
  target: string;
@@ -12283,11 +12284,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12283
12284
  };
12284
12285
  } | {
12285
12286
  output: {
12286
- opened: true;
12287
- path: string;
12287
+ error: string;
12288
12288
  };
12289
12289
  outputFormat: "json";
12290
- status: import("hono/utils/http-status").ContentfulStatusCode;
12290
+ status: 404 | 409;
12291
12291
  input: {
12292
12292
  json: {
12293
12293
  target: string;
@@ -12327,9 +12327,12 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12327
12327
  } & {
12328
12328
  "/runs/:id/images/:file": {
12329
12329
  $get: {
12330
- output: {};
12331
- outputFormat: string;
12332
- status: import("hono/utils/http-status").StatusCode;
12330
+ output: {
12331
+ error: string;
12332
+ code?: "invalid_input" | undefined;
12333
+ };
12334
+ outputFormat: "json";
12335
+ status: 400;
12333
12336
  input: {
12334
12337
  param: {
12335
12338
  id: string;
@@ -12337,12 +12340,9 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12337
12340
  };
12338
12341
  };
12339
12342
  } | {
12340
- output: {
12341
- error: string;
12342
- code?: "invalid_input" | undefined;
12343
- };
12344
- outputFormat: "json";
12345
- status: 400;
12343
+ output: {};
12344
+ outputFormat: string;
12345
+ status: import("hono/utils/http-status").StatusCode;
12346
12346
  input: {
12347
12347
  param: {
12348
12348
  id: string;
@@ -12378,17 +12378,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12378
12378
  } & {
12379
12379
  "/runs/:id/changes": {
12380
12380
  $get: {
12381
- output: {
12382
- error: string;
12383
- };
12384
- outputFormat: "json";
12385
- status: 404 | 409;
12386
- input: {
12387
- param: {
12388
- id: string;
12389
- };
12390
- };
12391
- } | {
12392
12381
  output: {
12393
12382
  files: {
12394
12383
  path: string;
@@ -12417,11 +12406,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12417
12406
  id: string;
12418
12407
  };
12419
12408
  };
12420
- };
12421
- };
12422
- } & {
12423
- "/runs/:id/commits": {
12424
- $get: {
12409
+ } | {
12425
12410
  output: {
12426
12411
  error: string;
12427
12412
  };
@@ -12432,7 +12417,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12432
12417
  id: string;
12433
12418
  };
12434
12419
  };
12435
- } | {
12420
+ };
12421
+ };
12422
+ } & {
12423
+ "/runs/:id/commits": {
12424
+ $get: {
12436
12425
  output: {
12437
12426
  commits: {
12438
12427
  sha: string;
@@ -12448,11 +12437,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12448
12437
  id: string;
12449
12438
  };
12450
12439
  };
12451
- };
12452
- };
12453
- } & {
12454
- "/runs/:id/commit/:sha": {
12455
- $get: {
12440
+ } | {
12456
12441
  output: {
12457
12442
  error: string;
12458
12443
  };
@@ -12461,11 +12446,13 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12461
12446
  input: {
12462
12447
  param: {
12463
12448
  id: string;
12464
- } & {
12465
- sha: string;
12466
12449
  };
12467
12450
  };
12468
- } | {
12451
+ };
12452
+ };
12453
+ } & {
12454
+ "/runs/:id/commit/:sha": {
12455
+ $get: {
12469
12456
  output: {
12470
12457
  sha: string;
12471
12458
  subject: string;
@@ -12496,6 +12483,19 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12496
12483
  sha: string;
12497
12484
  };
12498
12485
  };
12486
+ } | {
12487
+ output: {
12488
+ error: string;
12489
+ };
12490
+ outputFormat: "json";
12491
+ status: 404 | 409;
12492
+ input: {
12493
+ param: {
12494
+ id: string;
12495
+ } & {
12496
+ sha: string;
12497
+ };
12498
+ };
12499
12499
  };
12500
12500
  };
12501
12501
  } & {
@@ -12519,10 +12519,15 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12519
12519
  };
12520
12520
  } | {
12521
12521
  output: {
12522
- error: string;
12522
+ type: 'file';
12523
+ path: string;
12524
+ size: number;
12525
+ binary: boolean;
12526
+ tooLarge: boolean;
12527
+ content?: string | undefined;
12523
12528
  };
12524
12529
  outputFormat: "json";
12525
- status: 404 | 409;
12530
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12526
12531
  input: {
12527
12532
  param: {
12528
12533
  sha: string;
@@ -12535,15 +12540,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12535
12540
  };
12536
12541
  } | {
12537
12542
  output: {
12538
- type: 'file';
12539
- path: string;
12540
- size: number;
12541
- binary: boolean;
12542
- tooLarge: boolean;
12543
- content?: string | undefined;
12543
+ error: string;
12544
12544
  };
12545
12545
  outputFormat: "json";
12546
- status: import("hono/utils/http-status").ContentfulStatusCode;
12546
+ status: 404 | 409;
12547
12547
  input: {
12548
12548
  param: {
12549
12549
  sha: string;
@@ -12589,22 +12589,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12589
12589
  raw?: "1" | undefined;
12590
12590
  };
12591
12591
  };
12592
- } | {
12593
- output: {
12594
- error: string;
12595
- };
12596
- outputFormat: "json";
12597
- status: 404 | 409;
12598
- input: {
12599
- param: {
12600
- id: string;
12601
- };
12602
- } & {
12603
- query: {
12604
- path: string | string[];
12605
- raw?: "1" | undefined;
12606
- };
12607
- };
12608
12592
  } | {
12609
12593
  output: {
12610
12594
  type: "file";
@@ -12641,6 +12625,22 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12641
12625
  raw?: "1" | undefined;
12642
12626
  };
12643
12627
  };
12628
+ } | {
12629
+ output: {
12630
+ error: string;
12631
+ };
12632
+ outputFormat: "json";
12633
+ status: 404 | 409;
12634
+ input: {
12635
+ param: {
12636
+ id: string;
12637
+ };
12638
+ } & {
12639
+ query: {
12640
+ path: string | string[];
12641
+ raw?: "1" | undefined;
12642
+ };
12643
+ };
12644
12644
  };
12645
12645
  };
12646
12646
  } & {
@@ -12705,6 +12705,18 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12705
12705
  artifactId: string;
12706
12706
  };
12707
12707
  };
12708
+ } | {
12709
+ output: {
12710
+ error: string;
12711
+ };
12712
+ outputFormat: "json";
12713
+ status: 404;
12714
+ input: {
12715
+ param: {
12716
+ id: string;
12717
+ artifactId: string;
12718
+ };
12719
+ };
12708
12720
  } | {
12709
12721
  output: {
12710
12722
  type: "file";
@@ -12733,18 +12745,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12733
12745
  artifactId: string;
12734
12746
  };
12735
12747
  };
12736
- } | {
12737
- output: {
12738
- error: string;
12739
- };
12740
- outputFormat: "json";
12741
- status: 404;
12742
- input: {
12743
- param: {
12744
- id: string;
12745
- artifactId: string;
12746
- };
12747
- };
12748
12748
  };
12749
12749
  };
12750
12750
  } & {
@@ -12920,22 +12920,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12920
12920
  id: string;
12921
12921
  };
12922
12922
  };
12923
- } | {
12924
- output: {
12925
- error: string;
12926
- };
12927
- outputFormat: "json";
12928
- status: 404 | 409;
12929
- input: {
12930
- query: {
12931
- path?: string | undefined;
12932
- raw?: string | undefined;
12933
- };
12934
- } & {
12935
- param: {
12936
- id: string;
12937
- };
12938
- };
12939
12923
  } | {
12940
12924
  output: {
12941
12925
  type: 'file';
@@ -12980,16 +12964,33 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12980
12964
  id: string;
12981
12965
  };
12982
12966
  };
12967
+ } | {
12968
+ output: {
12969
+ error: string;
12970
+ };
12971
+ outputFormat: "json";
12972
+ status: 404 | 409;
12973
+ input: {
12974
+ query: {
12975
+ path?: string | undefined;
12976
+ raw?: string | undefined;
12977
+ };
12978
+ } & {
12979
+ param: {
12980
+ id: string;
12981
+ };
12982
+ };
12983
12983
  };
12984
12984
  };
12985
12985
  } & {
12986
12986
  "/runs/:id/git/commit": {
12987
12987
  $post: {
12988
12988
  output: {
12989
- error: string;
12989
+ committed: true;
12990
+ sha: string;
12990
12991
  };
12991
12992
  outputFormat: "json";
12992
- status: 404 | 409;
12993
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12993
12994
  input: {
12994
12995
  json: {
12995
12996
  message: string;
@@ -13001,11 +13002,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13001
13002
  };
13002
13003
  } | {
13003
13004
  output: {
13004
- committed: true;
13005
- sha: string;
13005
+ error: string;
13006
13006
  };
13007
13007
  outputFormat: "json";
13008
- status: import("hono/utils/http-status").ContentfulStatusCode;
13008
+ status: 404 | 409;
13009
13009
  input: {
13010
13010
  json: {
13011
13011
  message: string;
@@ -13021,10 +13021,13 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13021
13021
  "/runs/:id/git/push": {
13022
13022
  $post: {
13023
13023
  output: {
13024
- error: string;
13024
+ pushed: true;
13025
+ branch: string;
13026
+ remote: string;
13027
+ upstreamSet: boolean;
13025
13028
  };
13026
13029
  outputFormat: "json";
13027
- status: 404 | 409;
13030
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13028
13031
  input: {
13029
13032
  param: {
13030
13033
  id: string;
@@ -13032,13 +13035,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13032
13035
  };
13033
13036
  } | {
13034
13037
  output: {
13035
- pushed: true;
13036
- branch: string;
13037
- remote: string;
13038
- upstreamSet: boolean;
13038
+ error: string;
13039
13039
  };
13040
13040
  outputFormat: "json";
13041
- status: import("hono/utils/http-status").ContentfulStatusCode;
13041
+ status: 404 | 409;
13042
13042
  input: {
13043
13043
  param: {
13044
13044
  id: string;
@@ -13050,10 +13050,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13050
13050
  "/runs/:id/pr": {
13051
13051
  $post: {
13052
13052
  output: {
13053
- error: string;
13053
+ url: string;
13054
+ dryRun: boolean;
13054
13055
  };
13055
13056
  outputFormat: "json";
13056
- status: 404 | 409;
13057
+ status: 201;
13057
13058
  input: {
13058
13059
  param: {
13059
13060
  id: string;
@@ -13061,11 +13062,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13061
13062
  };
13062
13063
  } | {
13063
13064
  output: {
13064
- url: string;
13065
- dryRun: boolean;
13065
+ error: string;
13066
13066
  };
13067
13067
  outputFormat: "json";
13068
- status: 201;
13068
+ status: 404 | 409;
13069
13069
  input: {
13070
13070
  param: {
13071
13071
  id: string;
@@ -13077,10 +13077,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13077
13077
  "/runs/:id/remove-worktree": {
13078
13078
  $post: {
13079
13079
  output: {
13080
- error: string;
13080
+ removed: true;
13081
13081
  };
13082
13082
  outputFormat: "json";
13083
- status: 404 | 409;
13083
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13084
13084
  input: {
13085
13085
  param: {
13086
13086
  id: string;
@@ -13088,10 +13088,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13088
13088
  };
13089
13089
  } | {
13090
13090
  output: {
13091
- removed: true;
13091
+ error: string;
13092
13092
  };
13093
13093
  outputFormat: "json";
13094
- status: import("hono/utils/http-status").ContentfulStatusCode;
13094
+ status: 404 | 409;
13095
13095
  input: {
13096
13096
  param: {
13097
13097
  id: string;
@@ -13103,10 +13103,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13103
13103
  "/runs/:id": {
13104
13104
  $delete: {
13105
13105
  output: {
13106
- error: string;
13106
+ deleted: true;
13107
13107
  };
13108
13108
  outputFormat: "json";
13109
- status: 404 | 409;
13109
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13110
13110
  input: {
13111
13111
  param: {
13112
13112
  id: string;
@@ -13114,10 +13114,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13114
13114
  };
13115
13115
  } | {
13116
13116
  output: {
13117
- deleted: true;
13117
+ error: string;
13118
13118
  };
13119
13119
  outputFormat: "json";
13120
- status: import("hono/utils/http-status").ContentfulStatusCode;
13120
+ status: 404 | 409;
13121
13121
  input: {
13122
13122
  param: {
13123
13123
  id: string;