@hearsay-tools/squawk 0.19.0-dev.9239 → 0.19.0-dev.9242

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.
Files changed (45) hide show
  1. package/dist/built-in-run-slots.d.ts +4 -4
  2. package/dist/built-in-run-slots.js +10 -6
  3. package/dist/built-in-run-slots.js.map +1 -1
  4. package/dist/ci-wait/controller.d.ts +7 -7
  5. package/dist/delegation/removal-slot.d.ts +6 -4
  6. package/dist/delegation/removal-slot.js +11 -18
  7. package/dist/delegation/removal-slot.js.map +1 -1
  8. package/dist/delegation/results.d.ts +9 -12
  9. package/dist/delegation/results.js +40 -167
  10. package/dist/delegation/results.js.map +1 -1
  11. package/dist/delegation/routes.d.ts +21 -21
  12. package/dist/delegation/transport.d.ts +10 -10
  13. package/dist/features/automations/automations-routes.d.ts +150 -150
  14. package/dist/features/automations/tools.d.ts +8 -8
  15. package/dist/features/reports/routes.d.ts +2 -2
  16. package/dist/runs/removal-slots.d.ts +4 -1
  17. package/dist/runs/removal-slots.js.map +1 -1
  18. package/dist/runs/retention.js +6 -1
  19. package/dist/runs/retention.js.map +1 -1
  20. package/dist/runs/task-result-builder.d.ts +117 -0
  21. package/dist/runs/task-result-builder.js +636 -0
  22. package/dist/runs/task-result-builder.js.map +1 -0
  23. package/dist/runs/task-result-preparation.d.ts +21 -0
  24. package/dist/runs/task-result-preparation.js +115 -0
  25. package/dist/runs/task-result-preparation.js.map +1 -0
  26. package/dist/runs/worker-workspace-evidence-registry.d.ts +31 -0
  27. package/dist/runs/worker-workspace-evidence-registry.js +24 -0
  28. package/dist/runs/worker-workspace-evidence-registry.js.map +1 -0
  29. package/dist/server/activity-routes.d.ts +23 -23
  30. package/dist/server/live-routes.d.ts +6 -6
  31. package/dist/server/project-settings-routes.d.ts +107 -107
  32. package/dist/server/projects-routes.d.ts +41 -41
  33. package/dist/server/provider-sign-in-routes.d.ts +2 -2
  34. package/dist/server/runner-install-routes.d.ts +10 -10
  35. package/dist/server/runs-routes.d.ts +308 -308
  36. package/dist/server/runs-routes.js +28 -3
  37. package/dist/server/runs-routes.js.map +1 -1
  38. package/dist/server/server.d.ts +2666 -2666
  39. package/dist/server/workspace-identity-routes.d.ts +5 -5
  40. package/dist/workflows/continuation-admission.d.ts +72 -72
  41. package/dist/workflows/input-acknowledgement.d.ts +24 -24
  42. package/dist/workflows/run/continuation-acceptance.d.ts +1 -0
  43. package/dist/workflows/run/continuation-acceptance.js +9 -2
  44. package/dist/workflows/run/continuation-acceptance.js.map +1 -1
  45. package/package.json +4 -4
@@ -1234,18 +1234,6 @@ 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
- } | {
1249
1237
  output: {
1250
1238
  id: string;
1251
1239
  title: string;
@@ -1383,6 +1371,18 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1383
1371
  archived?: "all" | "recent" | undefined;
1384
1372
  };
1385
1373
  };
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,24 +1744,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1744
1744
  "/runs/:id/worker-destroy": {
1745
1745
  $post: {
1746
1746
  output: {
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;
1747
+ error: string;
1748
+ code?: "invalid_input" | undefined;
1762
1749
  };
1763
1750
  outputFormat: "json";
1764
- status: 200;
1751
+ status: 400;
1765
1752
  input: {
1766
1753
  query: {
1767
1754
  [x: string]: string | string[];
@@ -1777,11 +1764,22 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1777
1764
  };
1778
1765
  } | {
1779
1766
  output: {
1780
- error: string;
1781
- code?: "invalid_input" | undefined;
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;
1782
1780
  };
1783
1781
  outputFormat: "json";
1784
- status: 400;
1782
+ status: 400 | 401 | 403 | 409 | 503;
1785
1783
  input: {
1786
1784
  query: {
1787
1785
  [x: string]: string | string[];
@@ -1814,7 +1812,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1814
1812
  error?: string | undefined;
1815
1813
  };
1816
1814
  outputFormat: "json";
1817
- status: 409;
1815
+ status: 200;
1818
1816
  input: {
1819
1817
  query: {
1820
1818
  [x: string]: string | string[];
@@ -1830,22 +1828,24 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1830
1828
  };
1831
1829
  } | {
1832
1830
  output: {
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[];
1831
+ workerId: string;
1832
+ state: "complete" | "incomplete";
1833
+ work?: {
1834
+ uncommittedFiles: number;
1835
+ commits: number;
1845
1836
  } | 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: 400 | 401 | 403 | 409 | 503;
1848
+ status: 409;
1849
1849
  input: {
1850
1850
  query: {
1851
1851
  [x: string]: string | string[];
@@ -1897,21 +1897,6 @@ 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
- } | {
1915
1900
  output: {
1916
1901
  archiveWhenDone?: boolean | undefined;
1917
1902
  autoMergePr?: boolean | undefined;
@@ -3110,32 +3095,32 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3110
3095
  id: string;
3111
3096
  };
3112
3097
  };
3113
- };
3114
- };
3115
- } & {
3116
- "/runs/:id/pin": {
3117
- $post: {
3098
+ } | {
3118
3099
  output: {
3119
3100
  error: string;
3120
- code?: "invalid_input" | undefined;
3121
3101
  };
3122
3102
  outputFormat: "json";
3123
- status: 400;
3103
+ status: 404;
3124
3104
  input: {
3125
- param: {
3126
- id: string;
3105
+ json: {
3106
+ archived?: boolean | undefined;
3127
3107
  };
3128
3108
  } & {
3129
- json: {
3130
- pinned?: boolean | undefined;
3109
+ param: {
3110
+ id: string;
3131
3111
  };
3132
3112
  };
3133
- } | {
3113
+ };
3114
+ };
3115
+ } & {
3116
+ "/runs/:id/pin": {
3117
+ $post: {
3134
3118
  output: {
3135
3119
  error: string;
3120
+ code?: "invalid_input" | undefined;
3136
3121
  };
3137
3122
  outputFormat: "json";
3138
- status: 404;
3123
+ status: 400;
3139
3124
  input: {
3140
3125
  param: {
3141
3126
  id: string;
@@ -4344,6 +4329,21 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4344
4329
  pinned?: boolean | undefined;
4345
4330
  };
4346
4331
  };
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,6 +4365,22 @@ 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
+ };
4368
4384
  } | {
4369
4385
  output: {
4370
4386
  archiveWhenDone?: boolean | undefined;
@@ -5565,22 +5581,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5565
5581
  message?: string | undefined;
5566
5582
  };
5567
5583
  };
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,17 +5612,6 @@ 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
- } | {
5626
5615
  output: {
5627
5616
  archiveWhenDone?: boolean | undefined;
5628
5617
  autoMergePr?: boolean | undefined;
@@ -6817,11 +6806,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6817
6806
  id: string;
6818
6807
  };
6819
6808
  };
6820
- };
6821
- };
6822
- } & {
6823
- "/runs/:id/unread": {
6824
- $post: {
6809
+ } | {
6825
6810
  output: {
6826
6811
  error: string;
6827
6812
  };
@@ -6832,7 +6817,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6832
6817
  id: string;
6833
6818
  };
6834
6819
  };
6835
- } | {
6820
+ };
6821
+ };
6822
+ } & {
6823
+ "/runs/:id/unread": {
6824
+ $post: {
6836
6825
  output: {
6837
6826
  archiveWhenDone?: boolean | undefined;
6838
6827
  autoMergePr?: boolean | undefined;
@@ -8027,6 +8016,17 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
8027
8016
  id: string;
8028
8017
  };
8029
8018
  };
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,17 +9322,6 @@ 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
- } | {
9336
9325
  output: {
9337
9326
  archiveWhenDone?: boolean | undefined;
9338
9327
  autoMergePr?: boolean | undefined;
@@ -10535,6 +10524,17 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10535
10524
  id: string;
10536
10525
  };
10537
10526
  };
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
  } & {
@@ -10662,66 +10662,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10662
10662
  } & {
10663
10663
  "/runs/:id": {
10664
10664
  $patch: {
10665
- output: {
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
10665
  output: {
10726
10666
  archiveWhenDone?: boolean | undefined;
10727
10667
  autoMergePr?: boolean | undefined;
@@ -11925,6 +11865,66 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11925
11865
  id: string;
11926
11866
  };
11927
11867
  };
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: 400;
12032
+ status: 404;
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: 404;
12051
+ status: 409;
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
- error: string;
12067
+ delivered: true;
12068
12068
  };
12069
12069
  outputFormat: "json";
12070
- status: 409;
12070
+ status: import("hono/utils/http-status").ContentfulStatusCode;
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
- delivered: true;
12086
+ error: string;
12087
12087
  };
12088
12088
  outputFormat: "json";
12089
- status: import("hono/utils/http-status").ContentfulStatusCode;
12089
+ status: 400;
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: 400;
12157
+ status: 404;
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: 404;
12178
+ status: 400;
12179
12179
  input: {
12180
12180
  json: {
12181
12181
  text?: string | undefined;
@@ -12395,11 +12395,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12395
12395
  "/runs/:id/open-in-cli": {
12396
12396
  $post: {
12397
12397
  output: {
12398
- opened: true;
12399
- command: string;
12398
+ error: string;
12400
12399
  };
12401
12400
  outputFormat: "json";
12402
- status: import("hono/utils/http-status").ContentfulStatusCode;
12401
+ status: 404 | 409;
12403
12402
  input: {
12404
12403
  param: {
12405
12404
  id: string;
@@ -12407,10 +12406,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12407
12406
  };
12408
12407
  } | {
12409
12408
  output: {
12410
- error: string;
12409
+ opened: true;
12410
+ command: string;
12411
12411
  };
12412
12412
  outputFormat: "json";
12413
- status: 404 | 409;
12413
+ status: import("hono/utils/http-status").ContentfulStatusCode;
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: 400;
12428
+ status: 404 | 409;
12429
12429
  input: {
12430
12430
  json: {
12431
12431
  target: string;
@@ -12438,11 +12438,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12438
12438
  };
12439
12439
  } | {
12440
12440
  output: {
12441
- opened: true;
12442
- path: string;
12441
+ error: string;
12443
12442
  };
12444
12443
  outputFormat: "json";
12445
- status: import("hono/utils/http-status").ContentfulStatusCode;
12444
+ status: 400;
12446
12445
  input: {
12447
12446
  json: {
12448
12447
  target: string;
@@ -12455,10 +12454,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12455
12454
  };
12456
12455
  } | {
12457
12456
  output: {
12458
- error: string;
12457
+ opened: true;
12458
+ path: string;
12459
12459
  };
12460
12460
  outputFormat: "json";
12461
- status: 404 | 409;
12461
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12462
12462
  input: {
12463
12463
  json: {
12464
12464
  target: string;
@@ -12498,12 +12498,9 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12498
12498
  } & {
12499
12499
  "/runs/:id/images/:file": {
12500
12500
  $get: {
12501
- output: {
12502
- error: string;
12503
- code?: "invalid_input" | undefined;
12504
- };
12505
- outputFormat: "json";
12506
- status: 400;
12501
+ output: {};
12502
+ outputFormat: string;
12503
+ status: import("hono/utils/http-status").StatusCode;
12507
12504
  input: {
12508
12505
  param: {
12509
12506
  id: string;
@@ -12511,9 +12508,12 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12511
12508
  };
12512
12509
  };
12513
12510
  } | {
12514
- output: {};
12515
- outputFormat: string;
12516
- status: import("hono/utils/http-status").StatusCode;
12511
+ output: {
12512
+ error: string;
12513
+ code?: "invalid_input" | undefined;
12514
+ };
12515
+ outputFormat: "json";
12516
+ status: 400;
12517
12517
  input: {
12518
12518
  param: {
12519
12519
  id: string;
@@ -12549,6 +12549,17 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12549
12549
  } & {
12550
12550
  "/runs/:id/changes": {
12551
12551
  $get: {
12552
+ output: {
12553
+ error: string;
12554
+ };
12555
+ outputFormat: "json";
12556
+ status: 404 | 409;
12557
+ input: {
12558
+ param: {
12559
+ id: string;
12560
+ };
12561
+ };
12562
+ } | {
12552
12563
  output: {
12553
12564
  files: {
12554
12565
  path: string;
@@ -12577,7 +12588,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12577
12588
  id: string;
12578
12589
  };
12579
12590
  };
12580
- } | {
12591
+ };
12592
+ };
12593
+ } & {
12594
+ "/runs/:id/commits": {
12595
+ $get: {
12581
12596
  output: {
12582
12597
  error: string;
12583
12598
  };
@@ -12588,11 +12603,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12588
12603
  id: string;
12589
12604
  };
12590
12605
  };
12591
- };
12592
- };
12593
- } & {
12594
- "/runs/:id/commits": {
12595
- $get: {
12606
+ } | {
12596
12607
  output: {
12597
12608
  commits: {
12598
12609
  sha: string;
@@ -12608,7 +12619,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12608
12619
  id: string;
12609
12620
  };
12610
12621
  };
12611
- } | {
12622
+ };
12623
+ };
12624
+ } & {
12625
+ "/runs/:id/commit/:sha": {
12626
+ $get: {
12612
12627
  output: {
12613
12628
  error: string;
12614
12629
  };
@@ -12617,13 +12632,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12617
12632
  input: {
12618
12633
  param: {
12619
12634
  id: string;
12635
+ } & {
12636
+ sha: string;
12620
12637
  };
12621
12638
  };
12622
- };
12623
- };
12624
- } & {
12625
- "/runs/:id/commit/:sha": {
12626
- $get: {
12639
+ } | {
12627
12640
  output: {
12628
12641
  sha: string;
12629
12642
  subject: string;
@@ -12654,19 +12667,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12654
12667
  sha: string;
12655
12668
  };
12656
12669
  };
12657
- } | {
12658
- output: {
12659
- error: string;
12660
- };
12661
- outputFormat: "json";
12662
- status: 404 | 409;
12663
- input: {
12664
- param: {
12665
- id: string;
12666
- } & {
12667
- sha: string;
12668
- };
12669
- };
12670
12670
  };
12671
12671
  };
12672
12672
  } & {
@@ -12690,15 +12690,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12690
12690
  };
12691
12691
  } | {
12692
12692
  output: {
12693
- type: 'file';
12694
- path: string;
12695
- size: number;
12696
- binary: boolean;
12697
- tooLarge: boolean;
12698
- content?: string | undefined;
12693
+ error: string;
12699
12694
  };
12700
12695
  outputFormat: "json";
12701
- status: import("hono/utils/http-status").ContentfulStatusCode;
12696
+ status: 404 | 409;
12702
12697
  input: {
12703
12698
  param: {
12704
12699
  sha: string;
@@ -12711,10 +12706,15 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12711
12706
  };
12712
12707
  } | {
12713
12708
  output: {
12714
- error: string;
12709
+ type: 'file';
12710
+ path: string;
12711
+ size: number;
12712
+ binary: boolean;
12713
+ tooLarge: boolean;
12714
+ content?: string | undefined;
12715
12715
  };
12716
12716
  outputFormat: "json";
12717
- status: 404 | 409;
12717
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12718
12718
  input: {
12719
12719
  param: {
12720
12720
  sha: string;
@@ -12760,6 +12760,22 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12760
12760
  raw?: "1" | undefined;
12761
12761
  };
12762
12762
  };
12763
+ } | {
12764
+ output: {
12765
+ error: string;
12766
+ };
12767
+ outputFormat: "json";
12768
+ status: 404 | 409;
12769
+ input: {
12770
+ param: {
12771
+ id: string;
12772
+ };
12773
+ } & {
12774
+ query: {
12775
+ path: string | string[];
12776
+ raw?: "1" | undefined;
12777
+ };
12778
+ };
12763
12779
  } | {
12764
12780
  output: {
12765
12781
  type: "file";
@@ -12796,22 +12812,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12796
12812
  raw?: "1" | undefined;
12797
12813
  };
12798
12814
  };
12799
- } | {
12800
- output: {
12801
- error: string;
12802
- };
12803
- outputFormat: "json";
12804
- status: 404 | 409;
12805
- input: {
12806
- param: {
12807
- id: string;
12808
- };
12809
- } & {
12810
- query: {
12811
- path: string | string[];
12812
- raw?: "1" | undefined;
12813
- };
12814
- };
12815
12815
  };
12816
12816
  };
12817
12817
  } & {
@@ -12876,18 +12876,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12876
12876
  artifactId: string;
12877
12877
  };
12878
12878
  };
12879
- } | {
12880
- output: {
12881
- error: string;
12882
- };
12883
- outputFormat: "json";
12884
- status: 404;
12885
- input: {
12886
- param: {
12887
- id: string;
12888
- artifactId: string;
12889
- };
12890
- };
12891
12879
  } | {
12892
12880
  output: {
12893
12881
  type: "file";
@@ -12916,6 +12904,18 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12916
12904
  artifactId: string;
12917
12905
  };
12918
12906
  };
12907
+ } | {
12908
+ output: {
12909
+ error: string;
12910
+ };
12911
+ outputFormat: "json";
12912
+ status: 404;
12913
+ input: {
12914
+ param: {
12915
+ id: string;
12916
+ artifactId: string;
12917
+ };
12918
+ };
12919
12919
  };
12920
12920
  };
12921
12921
  } & {
@@ -13093,15 +13093,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13093
13093
  };
13094
13094
  } | {
13095
13095
  output: {
13096
- type: 'file';
13097
- path: string;
13098
- size: number;
13099
- binary: boolean;
13100
- tooLarge: boolean;
13101
- content?: string | undefined;
13096
+ error: string;
13102
13097
  };
13103
13098
  outputFormat: "json";
13104
- status: import("hono/utils/http-status").ContentfulStatusCode;
13099
+ status: 404 | 409;
13105
13100
  input: {
13106
13101
  query: {
13107
13102
  path?: string | undefined;
@@ -13114,14 +13109,12 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13114
13109
  };
13115
13110
  } | {
13116
13111
  output: {
13117
- type: 'dir';
13112
+ type: 'file';
13118
13113
  path: string;
13119
- entries: {
13120
- name: string;
13121
- type: 'dir' | 'file';
13122
- size?: number;
13123
- chain?: string;
13124
- }[];
13114
+ size: number;
13115
+ binary: boolean;
13116
+ tooLarge: boolean;
13117
+ content?: string | undefined;
13125
13118
  };
13126
13119
  outputFormat: "json";
13127
13120
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -13137,10 +13130,17 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13137
13130
  };
13138
13131
  } | {
13139
13132
  output: {
13140
- error: string;
13133
+ type: 'dir';
13134
+ path: string;
13135
+ entries: {
13136
+ name: string;
13137
+ type: 'dir' | 'file';
13138
+ size?: number;
13139
+ chain?: string;
13140
+ }[];
13141
13141
  };
13142
13142
  outputFormat: "json";
13143
- status: 404 | 409;
13143
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13144
13144
  input: {
13145
13145
  query: {
13146
13146
  path?: string | undefined;
@@ -13157,11 +13157,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13157
13157
  "/runs/:id/git/commit": {
13158
13158
  $post: {
13159
13159
  output: {
13160
- committed: true;
13161
- sha: string;
13160
+ error: string;
13162
13161
  };
13163
13162
  outputFormat: "json";
13164
- status: import("hono/utils/http-status").ContentfulStatusCode;
13163
+ status: 404 | 409;
13165
13164
  input: {
13166
13165
  json: {
13167
13166
  message: string;
@@ -13173,10 +13172,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13173
13172
  };
13174
13173
  } | {
13175
13174
  output: {
13176
- error: string;
13175
+ committed: true;
13176
+ sha: string;
13177
13177
  };
13178
13178
  outputFormat: "json";
13179
- status: 404 | 409;
13179
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13180
13180
  input: {
13181
13181
  json: {
13182
13182
  message: string;
@@ -13192,13 +13192,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13192
13192
  "/runs/:id/git/push": {
13193
13193
  $post: {
13194
13194
  output: {
13195
- pushed: true;
13196
- branch: string;
13197
- remote: string;
13198
- upstreamSet: boolean;
13195
+ error: string;
13199
13196
  };
13200
13197
  outputFormat: "json";
13201
- status: import("hono/utils/http-status").ContentfulStatusCode;
13198
+ status: 404 | 409;
13202
13199
  input: {
13203
13200
  param: {
13204
13201
  id: string;
@@ -13206,10 +13203,13 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13206
13203
  };
13207
13204
  } | {
13208
13205
  output: {
13209
- error: string;
13206
+ pushed: true;
13207
+ branch: string;
13208
+ remote: string;
13209
+ upstreamSet: boolean;
13210
13210
  };
13211
13211
  outputFormat: "json";
13212
- status: 404 | 409;
13212
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13213
13213
  input: {
13214
13214
  param: {
13215
13215
  id: string;
@@ -13221,11 +13221,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13221
13221
  "/runs/:id/pr": {
13222
13222
  $post: {
13223
13223
  output: {
13224
- url: string;
13225
- dryRun: boolean;
13224
+ error: string;
13226
13225
  };
13227
13226
  outputFormat: "json";
13228
- status: 201;
13227
+ status: 404 | 409;
13229
13228
  input: {
13230
13229
  param: {
13231
13230
  id: string;
@@ -13233,10 +13232,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13233
13232
  };
13234
13233
  } | {
13235
13234
  output: {
13236
- error: string;
13235
+ url: string;
13236
+ dryRun: boolean;
13237
13237
  };
13238
13238
  outputFormat: "json";
13239
- status: 404 | 409;
13239
+ status: 201;
13240
13240
  input: {
13241
13241
  param: {
13242
13242
  id: string;
@@ -13248,10 +13248,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13248
13248
  "/runs/:id/remove-worktree": {
13249
13249
  $post: {
13250
13250
  output: {
13251
- removed: true;
13251
+ error: string;
13252
13252
  };
13253
13253
  outputFormat: "json";
13254
- status: import("hono/utils/http-status").ContentfulStatusCode;
13254
+ status: 404 | 409;
13255
13255
  input: {
13256
13256
  param: {
13257
13257
  id: string;
@@ -13259,10 +13259,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13259
13259
  };
13260
13260
  } | {
13261
13261
  output: {
13262
- error: string;
13262
+ removed: true;
13263
13263
  };
13264
13264
  outputFormat: "json";
13265
- status: 404 | 409;
13265
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13266
13266
  input: {
13267
13267
  param: {
13268
13268
  id: string;
@@ -13274,10 +13274,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13274
13274
  "/runs/:id": {
13275
13275
  $delete: {
13276
13276
  output: {
13277
- deleted: true;
13277
+ error: string;
13278
13278
  };
13279
13279
  outputFormat: "json";
13280
- status: import("hono/utils/http-status").ContentfulStatusCode;
13280
+ status: 404 | 409;
13281
13281
  input: {
13282
13282
  param: {
13283
13283
  id: string;
@@ -13285,10 +13285,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13285
13285
  };
13286
13286
  } | {
13287
13287
  output: {
13288
- error: string;
13288
+ deleted: true;
13289
13289
  };
13290
13290
  outputFormat: "json";
13291
- status: 404 | 409;
13291
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13292
13292
  input: {
13293
13293
  param: {
13294
13294
  id: string;