@hearsay-tools/squawk 0.19.0-dev.8943 → 0.19.0-dev.8945

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.
@@ -94,6 +94,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
94
94
  } | undefined;
95
95
  invalidAsk?: boolean | undefined;
96
96
  delegation?: {
97
+ role: "invalid";
98
+ } | {
97
99
  role: "root";
98
100
  conversation?: {
99
101
  messages: {
@@ -328,8 +330,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
328
330
  } | undefined;
329
331
  executionRevision?: number | undefined;
330
332
  executionStartSeq?: number | undefined;
331
- } | {
332
- role: "invalid";
333
333
  } | undefined;
334
334
  agentInputs?: {
335
335
  conversation?: {
@@ -1217,6 +1217,18 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1217
1217
  } & {
1218
1218
  "/run-summaries": {
1219
1219
  $get: {
1220
+ output: {
1221
+ error: string;
1222
+ code?: "invalid_input" | undefined;
1223
+ };
1224
+ outputFormat: "json";
1225
+ status: 400;
1226
+ input: {
1227
+ query: {
1228
+ archived?: "all" | "recent" | undefined;
1229
+ };
1230
+ };
1231
+ } | {
1220
1232
  output: {
1221
1233
  id: string;
1222
1234
  title: string;
@@ -1354,18 +1366,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1354
1366
  archived?: "all" | "recent" | undefined;
1355
1367
  };
1356
1368
  };
1357
- } | {
1358
- output: {
1359
- error: string;
1360
- code?: "invalid_input" | undefined;
1361
- };
1362
- outputFormat: "json";
1363
- status: 400;
1364
- input: {
1365
- query: {
1366
- archived?: "all" | "recent" | undefined;
1367
- };
1368
- };
1369
1369
  };
1370
1370
  };
1371
1371
  } & {
@@ -1727,11 +1727,24 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1727
1727
  "/runs/:id/worker-destroy": {
1728
1728
  $post: {
1729
1729
  output: {
1730
- error: string;
1731
- code?: "invalid_input" | undefined;
1730
+ workerId: string;
1731
+ state: "complete" | "incomplete";
1732
+ work?: {
1733
+ uncommittedFiles: number;
1734
+ commits: number;
1735
+ } | undefined;
1736
+ deleted?: ({
1737
+ kind: "worktree";
1738
+ path: string;
1739
+ } | {
1740
+ kind: "branch";
1741
+ ref: string;
1742
+ })[] | undefined;
1743
+ remaining: ("branch" | "process" | "worktree")[];
1744
+ error?: string | undefined;
1732
1745
  };
1733
1746
  outputFormat: "json";
1734
- status: 400;
1747
+ status: 200;
1735
1748
  input: {
1736
1749
  query: {
1737
1750
  [x: string]: string | string[];
@@ -1747,24 +1760,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1747
1760
  };
1748
1761
  } | {
1749
1762
  output: {
1750
- workerId: string;
1751
- state: "complete" | "incomplete";
1752
- work?: {
1753
- uncommittedFiles: number;
1754
- commits: number;
1755
- } | undefined;
1756
- deleted?: ({
1757
- kind: "worktree";
1758
- path: string;
1759
- } | {
1760
- kind: "branch";
1761
- ref: string;
1762
- })[] | undefined;
1763
- remaining: ("branch" | "process" | "worktree")[];
1764
- error?: string | undefined;
1763
+ error: string;
1764
+ code?: "invalid_input" | undefined;
1765
1765
  };
1766
1766
  outputFormat: "json";
1767
- status: 200;
1767
+ status: 400;
1768
1768
  input: {
1769
1769
  query: {
1770
1770
  [x: string]: string | string[];
@@ -1880,6 +1880,21 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1880
1880
  } & {
1881
1881
  "/runs/:id/archive": {
1882
1882
  $post: {
1883
+ output: {
1884
+ error: string;
1885
+ };
1886
+ outputFormat: "json";
1887
+ status: 404;
1888
+ input: {
1889
+ json: {
1890
+ archived?: boolean | undefined;
1891
+ };
1892
+ } & {
1893
+ param: {
1894
+ id: string;
1895
+ };
1896
+ };
1897
+ } | {
1883
1898
  output: {
1884
1899
  archiveWhenDone?: boolean | undefined;
1885
1900
  autoMergePr?: boolean | undefined;
@@ -1941,6 +1956,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1941
1956
  } | undefined;
1942
1957
  invalidAsk?: boolean | undefined;
1943
1958
  delegation?: {
1959
+ role: "invalid";
1960
+ } | {
1944
1961
  role: "root";
1945
1962
  conversation?: {
1946
1963
  messages: {
@@ -2175,8 +2192,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
2175
2192
  } | undefined;
2176
2193
  executionRevision?: number | undefined;
2177
2194
  executionStartSeq?: number | undefined;
2178
- } | {
2179
- role: "invalid";
2180
2195
  } | undefined;
2181
2196
  agentInputs?: {
2182
2197
  conversation?: {
@@ -3059,32 +3074,32 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3059
3074
  id: string;
3060
3075
  };
3061
3076
  };
3062
- } | {
3077
+ };
3078
+ };
3079
+ } & {
3080
+ "/runs/:id/pin": {
3081
+ $post: {
3063
3082
  output: {
3064
3083
  error: string;
3084
+ code?: "invalid_input" | undefined;
3065
3085
  };
3066
3086
  outputFormat: "json";
3067
- status: 404;
3087
+ status: 400;
3068
3088
  input: {
3069
- json: {
3070
- archived?: boolean | undefined;
3071
- };
3072
- } & {
3073
3089
  param: {
3074
3090
  id: string;
3075
3091
  };
3092
+ } & {
3093
+ json: {
3094
+ pinned?: boolean | undefined;
3095
+ };
3076
3096
  };
3077
- };
3078
- };
3079
- } & {
3080
- "/runs/:id/pin": {
3081
- $post: {
3097
+ } | {
3082
3098
  output: {
3083
3099
  error: string;
3084
- code?: "invalid_input" | undefined;
3085
3100
  };
3086
3101
  outputFormat: "json";
3087
- status: 400;
3102
+ status: 404;
3088
3103
  input: {
3089
3104
  param: {
3090
3105
  id: string;
@@ -3156,6 +3171,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3156
3171
  } | undefined;
3157
3172
  invalidAsk?: boolean | undefined;
3158
3173
  delegation?: {
3174
+ role: "invalid";
3175
+ } | {
3159
3176
  role: "root";
3160
3177
  conversation?: {
3161
3178
  messages: {
@@ -3390,8 +3407,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3390
3407
  } | undefined;
3391
3408
  executionRevision?: number | undefined;
3392
3409
  executionStartSeq?: number | undefined;
3393
- } | {
3394
- role: "invalid";
3395
3410
  } | undefined;
3396
3411
  agentInputs?: {
3397
3412
  conversation?: {
@@ -4274,21 +4289,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4274
4289
  pinned?: boolean | undefined;
4275
4290
  };
4276
4291
  };
4277
- } | {
4278
- output: {
4279
- error: string;
4280
- };
4281
- outputFormat: "json";
4282
- status: 404;
4283
- input: {
4284
- param: {
4285
- id: string;
4286
- };
4287
- } & {
4288
- json: {
4289
- pinned?: boolean | undefined;
4290
- };
4291
- };
4292
4292
  };
4293
4293
  };
4294
4294
  } & {
@@ -4315,7 +4315,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4315
4315
  error: string;
4316
4316
  };
4317
4317
  outputFormat: "json";
4318
- status: 404;
4318
+ status: 400;
4319
4319
  input: {
4320
4320
  param: {
4321
4321
  id: string;
@@ -4331,7 +4331,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4331
4331
  error: string;
4332
4332
  };
4333
4333
  outputFormat: "json";
4334
- status: 400;
4334
+ status: 404;
4335
4335
  input: {
4336
4336
  param: {
4337
4337
  id: string;
@@ -5142,6 +5142,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5142
5142
  currentStepId?: string | undefined;
5143
5143
  error?: string | undefined;
5144
5144
  delegation?: {
5145
+ role: "invalid";
5146
+ } | {
5145
5147
  role: "root";
5146
5148
  conversation?: {
5147
5149
  messages: {
@@ -5376,8 +5378,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5376
5378
  } | undefined;
5377
5379
  executionRevision?: number | undefined;
5378
5380
  executionStartSeq?: number | undefined;
5379
- } | {
5380
- role: "invalid";
5381
5381
  } | undefined;
5382
5382
  lastWaitsError?: string | undefined;
5383
5383
  automaticWakes?: number | undefined;
@@ -5554,6 +5554,17 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5554
5554
  } & {
5555
5555
  "/runs/:id/read": {
5556
5556
  $post: {
5557
+ output: {
5558
+ error: string;
5559
+ };
5560
+ outputFormat: "json";
5561
+ status: 404;
5562
+ input: {
5563
+ param: {
5564
+ id: string;
5565
+ };
5566
+ };
5567
+ } | {
5557
5568
  output: {
5558
5569
  archiveWhenDone?: boolean | undefined;
5559
5570
  autoMergePr?: boolean | undefined;
@@ -5615,6 +5626,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5615
5626
  } | undefined;
5616
5627
  invalidAsk?: boolean | undefined;
5617
5628
  delegation?: {
5629
+ role: "invalid";
5630
+ } | {
5618
5631
  role: "root";
5619
5632
  conversation?: {
5620
5633
  messages: {
@@ -5849,8 +5862,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5849
5862
  } | undefined;
5850
5863
  executionRevision?: number | undefined;
5851
5864
  executionStartSeq?: number | undefined;
5852
- } | {
5853
- role: "invalid";
5854
5865
  } | undefined;
5855
5866
  agentInputs?: {
5856
5867
  conversation?: {
@@ -6729,7 +6740,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6729
6740
  id: string;
6730
6741
  };
6731
6742
  };
6732
- } | {
6743
+ };
6744
+ };
6745
+ } & {
6746
+ "/runs/:id/unread": {
6747
+ $post: {
6733
6748
  output: {
6734
6749
  error: string;
6735
6750
  };
@@ -6740,11 +6755,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6740
6755
  id: string;
6741
6756
  };
6742
6757
  };
6743
- };
6744
- };
6745
- } & {
6746
- "/runs/:id/unread": {
6747
- $post: {
6758
+ } | {
6748
6759
  output: {
6749
6760
  archiveWhenDone?: boolean | undefined;
6750
6761
  autoMergePr?: boolean | undefined;
@@ -6806,6 +6817,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6806
6817
  } | undefined;
6807
6818
  invalidAsk?: boolean | undefined;
6808
6819
  delegation?: {
6820
+ role: "invalid";
6821
+ } | {
6809
6822
  role: "root";
6810
6823
  conversation?: {
6811
6824
  messages: {
@@ -7040,8 +7053,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
7040
7053
  } | undefined;
7041
7054
  executionRevision?: number | undefined;
7042
7055
  executionStartSeq?: number | undefined;
7043
- } | {
7044
- role: "invalid";
7045
7056
  } | undefined;
7046
7057
  agentInputs?: {
7047
7058
  conversation?: {
@@ -7920,17 +7931,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
7920
7931
  id: string;
7921
7932
  };
7922
7933
  };
7923
- } | {
7924
- output: {
7925
- error: string;
7926
- };
7927
- outputFormat: "json";
7928
- status: 404;
7929
- input: {
7930
- param: {
7931
- id: string;
7932
- };
7933
- };
7934
7934
  };
7935
7935
  };
7936
7936
  } & {
@@ -8735,6 +8735,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
8735
8735
  currentStepId?: string | undefined;
8736
8736
  error?: string | undefined;
8737
8737
  delegation?: {
8738
+ role: "invalid";
8739
+ } | {
8738
8740
  role: "root";
8739
8741
  conversation?: {
8740
8742
  messages: {
@@ -8969,8 +8971,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
8969
8971
  } | undefined;
8970
8972
  executionRevision?: number | undefined;
8971
8973
  executionStartSeq?: number | undefined;
8972
- } | {
8973
- role: "invalid";
8974
8974
  } | undefined;
8975
8975
  lastWaitsError?: string | undefined;
8976
8976
  automaticWakes?: number | undefined;
@@ -9207,6 +9207,17 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9207
9207
  } & {
9208
9208
  "/runs/:id": {
9209
9209
  $get: {
9210
+ output: {
9211
+ error: string;
9212
+ };
9213
+ outputFormat: "json";
9214
+ status: 404;
9215
+ input: {
9216
+ param: {
9217
+ id: string;
9218
+ };
9219
+ };
9220
+ } | {
9210
9221
  output: {
9211
9222
  archiveWhenDone?: boolean | undefined;
9212
9223
  autoMergePr?: boolean | undefined;
@@ -9268,6 +9279,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9268
9279
  } | undefined;
9269
9280
  invalidAsk?: boolean | undefined;
9270
9281
  delegation?: {
9282
+ role: "invalid";
9283
+ } | {
9271
9284
  role: "root";
9272
9285
  conversation?: {
9273
9286
  messages: {
@@ -9502,8 +9515,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9502
9515
  } | undefined;
9503
9516
  executionRevision?: number | undefined;
9504
9517
  executionStartSeq?: number | undefined;
9505
- } | {
9506
- role: "invalid";
9507
9518
  } | undefined;
9508
9519
  agentInputs?: {
9509
9520
  conversation?: {
@@ -10390,17 +10401,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10390
10401
  id: string;
10391
10402
  };
10392
10403
  };
10393
- } | {
10394
- output: {
10395
- error: string;
10396
- };
10397
- outputFormat: "json";
10398
- status: 404;
10399
- input: {
10400
- param: {
10401
- id: string;
10402
- };
10403
- };
10404
10404
  };
10405
10405
  };
10406
10406
  } & {
@@ -10529,42 +10529,102 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10529
10529
  "/runs/:id": {
10530
10530
  $patch: {
10531
10531
  output: {
10532
- archiveWhenDone?: boolean | undefined;
10533
- autoMergePr?: boolean | undefined;
10534
- allowWorkers?: boolean | undefined;
10535
- allowMessaging?: boolean | undefined;
10536
- id: string;
10537
- title: string;
10538
- titleSummary?: string | undefined;
10539
- diffStat?: {
10540
- adds: number;
10541
- dels: number;
10542
- files: number;
10543
- repointed?: boolean | undefined;
10544
- } | undefined;
10545
- workflow: string;
10546
- task: string;
10547
- queuedMessages?: {
10548
- replayAfterOpen?: true | undefined;
10549
- id: string;
10550
- text: string;
10551
- images?: string[] | undefined;
10552
- createdAt: string;
10553
- }[] | undefined;
10554
- continuationMessage?: {
10555
- replayAfterOpen?: true | undefined;
10556
- id: string;
10557
- text: string;
10558
- images?: string[] | undefined;
10559
- createdAt: string;
10560
- origin?: "human" | "lifecycle" | undefined;
10561
- agentInputId?: string | undefined;
10532
+ error: string;
10533
+ };
10534
+ outputFormat: "json";
10535
+ status: 400;
10536
+ input: {
10537
+ json: {
10538
+ archiveWhenDone?: boolean | undefined;
10539
+ autoMergePr?: boolean | undefined;
10540
+ allowWorkers?: boolean | undefined;
10541
+ allowMessaging?: boolean | undefined;
10542
+ title?: string | undefined;
10562
10543
  task?: string | undefined;
10563
- resumeContext?: {
10564
- failure?: {
10565
- stepId?: string | undefined;
10566
- error: string;
10567
- } | undefined;
10544
+ };
10545
+ } & {
10546
+ param: {
10547
+ id: string;
10548
+ };
10549
+ };
10550
+ } | {
10551
+ output: {
10552
+ error: string;
10553
+ };
10554
+ outputFormat: "json";
10555
+ status: 404;
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
+ error: string;
10573
+ };
10574
+ outputFormat: "json";
10575
+ status: 409;
10576
+ input: {
10577
+ json: {
10578
+ archiveWhenDone?: boolean | undefined;
10579
+ autoMergePr?: boolean | undefined;
10580
+ allowWorkers?: boolean | undefined;
10581
+ allowMessaging?: boolean | undefined;
10582
+ title?: string | undefined;
10583
+ task?: string | undefined;
10584
+ };
10585
+ } & {
10586
+ param: {
10587
+ id: string;
10588
+ };
10589
+ };
10590
+ } | {
10591
+ output: {
10592
+ archiveWhenDone?: boolean | undefined;
10593
+ autoMergePr?: boolean | undefined;
10594
+ allowWorkers?: boolean | undefined;
10595
+ allowMessaging?: boolean | undefined;
10596
+ id: string;
10597
+ title: string;
10598
+ titleSummary?: string | undefined;
10599
+ diffStat?: {
10600
+ adds: number;
10601
+ dels: number;
10602
+ files: number;
10603
+ repointed?: boolean | undefined;
10604
+ } | undefined;
10605
+ workflow: string;
10606
+ task: string;
10607
+ queuedMessages?: {
10608
+ replayAfterOpen?: true | undefined;
10609
+ id: string;
10610
+ text: string;
10611
+ images?: string[] | undefined;
10612
+ createdAt: string;
10613
+ }[] | undefined;
10614
+ continuationMessage?: {
10615
+ replayAfterOpen?: true | undefined;
10616
+ id: string;
10617
+ text: string;
10618
+ images?: string[] | undefined;
10619
+ createdAt: string;
10620
+ origin?: "human" | "lifecycle" | undefined;
10621
+ agentInputId?: string | undefined;
10622
+ task?: string | undefined;
10623
+ resumeContext?: {
10624
+ failure?: {
10625
+ stepId?: string | undefined;
10626
+ error: string;
10627
+ } | undefined;
10568
10628
  restarted?: true | undefined;
10569
10629
  cutOff?: {
10570
10630
  tools?: string[] | undefined;
@@ -11327,6 +11387,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11327
11387
  currentStepId?: string | undefined;
11328
11388
  error?: string | undefined;
11329
11389
  delegation?: {
11390
+ role: "invalid";
11391
+ } | {
11330
11392
  role: "root";
11331
11393
  conversation?: {
11332
11394
  messages: {
@@ -11561,8 +11623,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11561
11623
  } | undefined;
11562
11624
  executionRevision?: number | undefined;
11563
11625
  executionStartSeq?: number | undefined;
11564
- } | {
11565
- role: "invalid";
11566
11626
  } | undefined;
11567
11627
  lastWaitsError?: string | undefined;
11568
11628
  automaticWakes?: number | undefined;
@@ -11712,66 +11772,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11712
11772
  id: string;
11713
11773
  };
11714
11774
  };
11715
- } | {
11716
- output: {
11717
- error: string;
11718
- };
11719
- outputFormat: "json";
11720
- status: 404;
11721
- input: {
11722
- json: {
11723
- archiveWhenDone?: boolean | undefined;
11724
- autoMergePr?: boolean | undefined;
11725
- allowWorkers?: boolean | undefined;
11726
- allowMessaging?: boolean | undefined;
11727
- title?: string | undefined;
11728
- task?: string | undefined;
11729
- };
11730
- } & {
11731
- param: {
11732
- id: string;
11733
- };
11734
- };
11735
- } | {
11736
- output: {
11737
- error: string;
11738
- };
11739
- outputFormat: "json";
11740
- status: 400;
11741
- input: {
11742
- json: {
11743
- archiveWhenDone?: boolean | undefined;
11744
- autoMergePr?: boolean | undefined;
11745
- allowWorkers?: boolean | undefined;
11746
- allowMessaging?: boolean | undefined;
11747
- title?: string | undefined;
11748
- task?: string | undefined;
11749
- };
11750
- } & {
11751
- param: {
11752
- id: string;
11753
- };
11754
- };
11755
- } | {
11756
- output: {
11757
- error: string;
11758
- };
11759
- outputFormat: "json";
11760
- status: 409;
11761
- input: {
11762
- json: {
11763
- archiveWhenDone?: boolean | undefined;
11764
- autoMergePr?: boolean | undefined;
11765
- allowWorkers?: boolean | undefined;
11766
- allowMessaging?: boolean | undefined;
11767
- title?: string | undefined;
11768
- task?: string | undefined;
11769
- };
11770
- } & {
11771
- param: {
11772
- id: string;
11773
- };
11774
- };
11775
11775
  };
11776
11776
  };
11777
11777
  } & {
@@ -11876,7 +11876,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11876
11876
  error: string;
11877
11877
  };
11878
11878
  outputFormat: "json";
11879
- status: 404;
11879
+ status: 400;
11880
11880
  input: {
11881
11881
  json: {
11882
11882
  text?: string | undefined;
@@ -11895,7 +11895,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11895
11895
  error: string;
11896
11896
  };
11897
11897
  outputFormat: "json";
11898
- status: 409;
11898
+ status: 404;
11899
11899
  input: {
11900
11900
  json: {
11901
11901
  text?: string | undefined;
@@ -11911,10 +11911,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11911
11911
  };
11912
11912
  } | {
11913
11913
  output: {
11914
- delivered: true;
11914
+ error: string;
11915
11915
  };
11916
11916
  outputFormat: "json";
11917
- status: import("hono/utils/http-status").ContentfulStatusCode;
11917
+ status: 409;
11918
11918
  input: {
11919
11919
  json: {
11920
11920
  text?: string | undefined;
@@ -11930,10 +11930,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11930
11930
  };
11931
11931
  } | {
11932
11932
  output: {
11933
- error: string;
11933
+ delivered: true;
11934
11934
  };
11935
11935
  outputFormat: "json";
11936
- status: 400;
11936
+ status: import("hono/utils/http-status").ContentfulStatusCode;
11937
11937
  input: {
11938
11938
  json: {
11939
11939
  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;
@@ -12022,7 +12022,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12022
12022
  error: string;
12023
12023
  };
12024
12024
  outputFormat: "json";
12025
- status: 400;
12025
+ status: 404;
12026
12026
  input: {
12027
12027
  json: {
12028
12028
  text?: string | undefined;
@@ -12242,10 +12242,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12242
12242
  "/runs/:id/open-in-cli": {
12243
12243
  $post: {
12244
12244
  output: {
12245
- error: string;
12245
+ opened: true;
12246
+ command: string;
12246
12247
  };
12247
12248
  outputFormat: "json";
12248
- status: 404 | 409;
12249
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12249
12250
  input: {
12250
12251
  param: {
12251
12252
  id: string;
@@ -12253,11 +12254,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12253
12254
  };
12254
12255
  } | {
12255
12256
  output: {
12256
- opened: true;
12257
- command: string;
12257
+ error: string;
12258
12258
  };
12259
12259
  outputFormat: "json";
12260
- status: import("hono/utils/http-status").ContentfulStatusCode;
12260
+ status: 404 | 409;
12261
12261
  input: {
12262
12262
  param: {
12263
12263
  id: string;
@@ -12272,7 +12272,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12272
12272
  error: string;
12273
12273
  };
12274
12274
  outputFormat: "json";
12275
- status: 404 | 409;
12275
+ status: 400;
12276
12276
  input: {
12277
12277
  json: {
12278
12278
  target: string;
@@ -12285,10 +12285,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12285
12285
  };
12286
12286
  } | {
12287
12287
  output: {
12288
- error: string;
12288
+ opened: true;
12289
+ path: string;
12289
12290
  };
12290
12291
  outputFormat: "json";
12291
- status: 400;
12292
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12292
12293
  input: {
12293
12294
  json: {
12294
12295
  target: string;
@@ -12301,11 +12302,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12301
12302
  };
12302
12303
  } | {
12303
12304
  output: {
12304
- opened: true;
12305
- path: string;
12305
+ error: string;
12306
12306
  };
12307
12307
  outputFormat: "json";
12308
- status: import("hono/utils/http-status").ContentfulStatusCode;
12308
+ status: 404 | 409;
12309
12309
  input: {
12310
12310
  json: {
12311
12311
  target: string;
@@ -12345,9 +12345,12 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12345
12345
  } & {
12346
12346
  "/runs/:id/images/:file": {
12347
12347
  $get: {
12348
- output: {};
12349
- outputFormat: string;
12350
- status: import("hono/utils/http-status").StatusCode;
12348
+ output: {
12349
+ error: string;
12350
+ code?: "invalid_input" | undefined;
12351
+ };
12352
+ outputFormat: "json";
12353
+ status: 400;
12351
12354
  input: {
12352
12355
  param: {
12353
12356
  id: string;
@@ -12355,12 +12358,9 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12355
12358
  };
12356
12359
  };
12357
12360
  } | {
12358
- output: {
12359
- error: string;
12360
- code?: "invalid_input" | undefined;
12361
- };
12362
- outputFormat: "json";
12363
- status: 400;
12361
+ output: {};
12362
+ outputFormat: string;
12363
+ status: import("hono/utils/http-status").StatusCode;
12364
12364
  input: {
12365
12365
  param: {
12366
12366
  id: string;
@@ -12396,17 +12396,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12396
12396
  } & {
12397
12397
  "/runs/:id/changes": {
12398
12398
  $get: {
12399
- output: {
12400
- error: string;
12401
- };
12402
- outputFormat: "json";
12403
- status: 404 | 409;
12404
- input: {
12405
- param: {
12406
- id: string;
12407
- };
12408
- };
12409
- } | {
12410
12399
  output: {
12411
12400
  files: {
12412
12401
  path: string;
@@ -12435,11 +12424,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12435
12424
  id: string;
12436
12425
  };
12437
12426
  };
12438
- };
12439
- };
12440
- } & {
12441
- "/runs/:id/commits": {
12442
- $get: {
12427
+ } | {
12443
12428
  output: {
12444
12429
  error: string;
12445
12430
  };
@@ -12450,7 +12435,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12450
12435
  id: string;
12451
12436
  };
12452
12437
  };
12453
- } | {
12438
+ };
12439
+ };
12440
+ } & {
12441
+ "/runs/:id/commits": {
12442
+ $get: {
12454
12443
  output: {
12455
12444
  commits: {
12456
12445
  sha: string;
@@ -12466,11 +12455,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12466
12455
  id: string;
12467
12456
  };
12468
12457
  };
12469
- };
12470
- };
12471
- } & {
12472
- "/runs/:id/commit/:sha": {
12473
- $get: {
12458
+ } | {
12474
12459
  output: {
12475
12460
  error: string;
12476
12461
  };
@@ -12479,11 +12464,13 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12479
12464
  input: {
12480
12465
  param: {
12481
12466
  id: string;
12482
- } & {
12483
- sha: string;
12484
12467
  };
12485
12468
  };
12486
- } | {
12469
+ };
12470
+ };
12471
+ } & {
12472
+ "/runs/:id/commit/:sha": {
12473
+ $get: {
12487
12474
  output: {
12488
12475
  sha: string;
12489
12476
  subject: string;
@@ -12509,9 +12496,22 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12509
12496
  status: import("hono/utils/http-status").ContentfulStatusCode;
12510
12497
  input: {
12511
12498
  param: {
12512
- id: string;
12499
+ sha: string;
12513
12500
  } & {
12501
+ id: string;
12502
+ };
12503
+ };
12504
+ } | {
12505
+ output: {
12506
+ error: string;
12507
+ };
12508
+ outputFormat: "json";
12509
+ status: 404 | 409;
12510
+ input: {
12511
+ param: {
12514
12512
  sha: string;
12513
+ } & {
12514
+ id: string;
12515
12515
  };
12516
12516
  };
12517
12517
  };
@@ -12549,22 +12549,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12549
12549
  raw?: "1" | undefined;
12550
12550
  };
12551
12551
  };
12552
- } | {
12553
- output: {
12554
- error: string;
12555
- };
12556
- outputFormat: "json";
12557
- status: 404 | 409;
12558
- input: {
12559
- param: {
12560
- id: string;
12561
- };
12562
- } & {
12563
- query: {
12564
- path: string | string[];
12565
- raw?: "1" | undefined;
12566
- };
12567
- };
12568
12552
  } | {
12569
12553
  output: {
12570
12554
  type: "file";
@@ -12601,6 +12585,22 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12601
12585
  raw?: "1" | undefined;
12602
12586
  };
12603
12587
  };
12588
+ } | {
12589
+ output: {
12590
+ error: string;
12591
+ };
12592
+ outputFormat: "json";
12593
+ status: 404 | 409;
12594
+ input: {
12595
+ param: {
12596
+ id: string;
12597
+ };
12598
+ } & {
12599
+ query: {
12600
+ path: string | string[];
12601
+ raw?: "1" | undefined;
12602
+ };
12603
+ };
12604
12604
  };
12605
12605
  };
12606
12606
  } & {
@@ -12665,6 +12665,18 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12665
12665
  artifactId: string;
12666
12666
  };
12667
12667
  };
12668
+ } | {
12669
+ output: {
12670
+ error: string;
12671
+ };
12672
+ outputFormat: "json";
12673
+ status: 404;
12674
+ input: {
12675
+ param: {
12676
+ id: string;
12677
+ artifactId: string;
12678
+ };
12679
+ };
12668
12680
  } | {
12669
12681
  output: {
12670
12682
  type: "file";
@@ -12693,18 +12705,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12693
12705
  artifactId: string;
12694
12706
  };
12695
12707
  };
12696
- } | {
12697
- output: {
12698
- error: string;
12699
- };
12700
- outputFormat: "json";
12701
- status: 404;
12702
- input: {
12703
- param: {
12704
- id: string;
12705
- artifactId: string;
12706
- };
12707
- };
12708
12708
  };
12709
12709
  };
12710
12710
  } & {
@@ -12882,10 +12882,16 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12882
12882
  };
12883
12883
  } | {
12884
12884
  output: {
12885
- error: string;
12885
+ type: 'dir';
12886
+ path: string;
12887
+ entries: {
12888
+ name: string;
12889
+ type: 'dir' | 'file';
12890
+ size?: number;
12891
+ }[];
12886
12892
  };
12887
12893
  outputFormat: "json";
12888
- status: 404 | 409;
12894
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12889
12895
  input: {
12890
12896
  query: {
12891
12897
  path?: string | undefined;
@@ -12898,13 +12904,12 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12898
12904
  };
12899
12905
  } | {
12900
12906
  output: {
12901
- type: 'dir';
12907
+ type: 'file';
12902
12908
  path: string;
12903
- entries: {
12904
- name: string;
12905
- type: 'dir' | 'file';
12906
- size?: number;
12907
- }[];
12909
+ size: number;
12910
+ binary: boolean;
12911
+ tooLarge: boolean;
12912
+ content?: string | undefined;
12908
12913
  };
12909
12914
  outputFormat: "json";
12910
12915
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -12920,15 +12925,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12920
12925
  };
12921
12926
  } | {
12922
12927
  output: {
12923
- type: 'file';
12924
- path: string;
12925
- size: number;
12926
- binary: boolean;
12927
- tooLarge: boolean;
12928
- content?: string | undefined;
12928
+ error: string;
12929
12929
  };
12930
12930
  outputFormat: "json";
12931
- status: import("hono/utils/http-status").ContentfulStatusCode;
12931
+ status: 404 | 409;
12932
12932
  input: {
12933
12933
  query: {
12934
12934
  path?: string | undefined;
@@ -12945,10 +12945,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12945
12945
  "/runs/:id/git/commit": {
12946
12946
  $post: {
12947
12947
  output: {
12948
- error: string;
12948
+ committed: true;
12949
+ sha: string;
12949
12950
  };
12950
12951
  outputFormat: "json";
12951
- status: 404 | 409;
12952
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12952
12953
  input: {
12953
12954
  json: {
12954
12955
  message: string;
@@ -12960,11 +12961,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12960
12961
  };
12961
12962
  } | {
12962
12963
  output: {
12963
- committed: true;
12964
- sha: string;
12964
+ error: string;
12965
12965
  };
12966
12966
  outputFormat: "json";
12967
- status: import("hono/utils/http-status").ContentfulStatusCode;
12967
+ status: 404 | 409;
12968
12968
  input: {
12969
12969
  json: {
12970
12970
  message: string;
@@ -12980,10 +12980,13 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12980
12980
  "/runs/:id/git/push": {
12981
12981
  $post: {
12982
12982
  output: {
12983
- error: string;
12983
+ pushed: true;
12984
+ branch: string;
12985
+ remote: string;
12986
+ upstreamSet: boolean;
12984
12987
  };
12985
12988
  outputFormat: "json";
12986
- status: 404 | 409;
12989
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12987
12990
  input: {
12988
12991
  param: {
12989
12992
  id: string;
@@ -12991,13 +12994,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12991
12994
  };
12992
12995
  } | {
12993
12996
  output: {
12994
- pushed: true;
12995
- branch: string;
12996
- remote: string;
12997
- upstreamSet: boolean;
12997
+ error: string;
12998
12998
  };
12999
12999
  outputFormat: "json";
13000
- status: import("hono/utils/http-status").ContentfulStatusCode;
13000
+ status: 404 | 409;
13001
13001
  input: {
13002
13002
  param: {
13003
13003
  id: string;
@@ -13009,10 +13009,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13009
13009
  "/runs/:id/pr": {
13010
13010
  $post: {
13011
13011
  output: {
13012
- error: string;
13012
+ url: string;
13013
+ dryRun: boolean;
13013
13014
  };
13014
13015
  outputFormat: "json";
13015
- status: 404 | 409;
13016
+ status: 201;
13016
13017
  input: {
13017
13018
  param: {
13018
13019
  id: string;
@@ -13020,11 +13021,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13020
13021
  };
13021
13022
  } | {
13022
13023
  output: {
13023
- url: string;
13024
- dryRun: boolean;
13024
+ error: string;
13025
13025
  };
13026
13026
  outputFormat: "json";
13027
- status: 201;
13027
+ status: 404 | 409;
13028
13028
  input: {
13029
13029
  param: {
13030
13030
  id: string;
@@ -13036,10 +13036,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13036
13036
  "/runs/:id/remove-worktree": {
13037
13037
  $post: {
13038
13038
  output: {
13039
- error: string;
13039
+ removed: true;
13040
13040
  };
13041
13041
  outputFormat: "json";
13042
- status: 404 | 409;
13042
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13043
13043
  input: {
13044
13044
  param: {
13045
13045
  id: string;
@@ -13047,10 +13047,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13047
13047
  };
13048
13048
  } | {
13049
13049
  output: {
13050
- removed: true;
13050
+ error: string;
13051
13051
  };
13052
13052
  outputFormat: "json";
13053
- status: import("hono/utils/http-status").ContentfulStatusCode;
13053
+ status: 404 | 409;
13054
13054
  input: {
13055
13055
  param: {
13056
13056
  id: string;
@@ -13062,10 +13062,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13062
13062
  "/runs/:id": {
13063
13063
  $delete: {
13064
13064
  output: {
13065
- error: string;
13065
+ deleted: true;
13066
13066
  };
13067
13067
  outputFormat: "json";
13068
- status: 404 | 409;
13068
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13069
13069
  input: {
13070
13070
  param: {
13071
13071
  id: string;
@@ -13073,10 +13073,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13073
13073
  };
13074
13074
  } | {
13075
13075
  output: {
13076
- deleted: true;
13076
+ error: string;
13077
13077
  };
13078
13078
  outputFormat: "json";
13079
- status: import("hono/utils/http-status").ContentfulStatusCode;
13079
+ status: 404 | 409;
13080
13080
  input: {
13081
13081
  param: {
13082
13082
  id: string;