@cnc-tools/storm 0.16.0 → 0.17.0

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 (281) hide show
  1. package/dist/application.d.ts +22 -13
  2. package/dist/application.js +21 -10
  3. package/dist/bin/run.d.ts +18 -0
  4. package/dist/bin/run.js +31 -0
  5. package/dist/bin/storm.js +42 -26
  6. package/dist/build-info.js +1 -1
  7. package/dist/chunks/{chunk-5CCP36QQ.js → chunk-2RNDPDTJ.js} +2 -2
  8. package/dist/chunks/chunk-2VP4GRJM.js +1219 -0
  9. package/dist/chunks/{chunk-P357TZAY.js → chunk-4O5C2XGJ.js} +18 -15
  10. package/dist/chunks/{chunk-VL7WFTVQ.js → chunk-4WAMTUWZ.js} +419 -340
  11. package/dist/chunks/{chunk-OIY3DMF2.js → chunk-6UHIJXZG.js} +3 -3
  12. package/dist/chunks/{chunk-CN4EFA5J.js → chunk-72ZFEMAW.js} +1 -1
  13. package/dist/chunks/{chunk-CK2GZEPK.js → chunk-7DZE67QM.js} +2 -2
  14. package/dist/chunks/{chunk-VUPZH7J2.js → chunk-BCBKYOHW.js} +1 -1
  15. package/dist/chunks/{chunk-2MAD5NKK.js → chunk-CKGZA25H.js} +1 -18
  16. package/dist/chunks/{chunk-ZG3WQ4UF.js → chunk-D27KILIA.js} +1 -1
  17. package/dist/chunks/{chunk-V4IKA3WI.js → chunk-DADEYJDW.js} +24 -17
  18. package/dist/chunks/{chunk-R7XVBZOY.js → chunk-EEENLQHE.js} +59 -11
  19. package/dist/chunks/chunk-F4MOYHRY.js +198 -0
  20. package/dist/chunks/{chunk-HVNK3I45.js → chunk-FNBB6V4R.js} +1 -1
  21. package/dist/chunks/{chunk-G3PHMXH5.js → chunk-GRT3UIBV.js} +18 -1
  22. package/dist/chunks/chunk-HP3CURSZ.js +88 -0
  23. package/dist/chunks/{chunk-DWEAHX4T.js → chunk-HWIQ2S7K.js} +5 -5
  24. package/dist/chunks/chunk-JN3YY6ZH.js +2166 -0
  25. package/dist/chunks/{chunk-TJNFVNKR.js → chunk-LKTZ5OXS.js} +1 -1
  26. package/dist/chunks/{chunk-3L52KNQA.js → chunk-M7EKRGVD.js} +8 -8
  27. package/dist/chunks/chunk-MR77L2GK.js +340 -0
  28. package/dist/chunks/{chunk-DC2CDHNK.js → chunk-RNAS7JHE.js} +1438 -445
  29. package/dist/chunks/{chunk-FCQUJDA4.js → chunk-RWIXDDCK.js} +4 -189
  30. package/dist/chunks/{chunk-5VXBKPW6.js → chunk-WV3DP6NR.js} +1 -1
  31. package/dist/chunks/{chunk-AWBSONHB.js → chunk-XBDRVFEV.js} +55 -16
  32. package/dist/chunks/{chunk-FOZWA52V.js → chunk-YEPFSLQR.js} +480 -375
  33. package/dist/chunks/{live-app-WECQOQ4C.js → live-app-R76JQXZL.js} +15 -13
  34. package/dist/commands/exec/across-sandboxes-outcomes.d.ts +1 -1
  35. package/dist/commands/exec/across-sandboxes-outcomes.js +2 -2
  36. package/dist/commands/exec/before-run.d.ts +123 -0
  37. package/dist/commands/exec/before-run.js +105 -0
  38. package/dist/commands/exec/command.d.ts +31 -2
  39. package/dist/commands/exec/command.js +31 -95
  40. package/dist/commands/exec/driver-plan.d.ts +9 -4
  41. package/dist/commands/exec/driver-plan.js +8 -8
  42. package/dist/commands/exec/exec-words.js +1 -1
  43. package/dist/commands/exec/execute-run.d.ts +39 -0
  44. package/dist/commands/exec/execute-run.js +325 -0
  45. package/dist/commands/exec/live-view.d.ts +3 -3
  46. package/dist/commands/exec/live-view.js +16 -15
  47. package/dist/commands/exec/metadata.js +1 -1
  48. package/dist/commands/exec/mint-failed.d.ts +38 -0
  49. package/dist/commands/exec/mint-failed.js +27 -4
  50. package/dist/commands/exec/outcomes.d.ts +34 -8
  51. package/dist/commands/exec/outcomes.js +30 -23
  52. package/dist/commands/exec/plan-run.d.ts +58 -150
  53. package/dist/commands/exec/plan-run.js +232 -88
  54. package/dist/commands/exec/progress.d.ts +10 -6
  55. package/dist/commands/exec/progress.js +38 -25
  56. package/dist/commands/exec/run-bin.d.ts +11 -11
  57. package/dist/commands/exec/run-bin.js +9 -9
  58. package/dist/commands/exec/run-flags.d.ts +69 -0
  59. package/dist/commands/exec/run-flags.js +58 -0
  60. package/dist/commands/exec/run-metadata.js +4 -4
  61. package/dist/commands/exec/run-summary.d.ts +58 -0
  62. package/dist/commands/exec/run-summary.js +205 -0
  63. package/dist/commands/exec/runner-refusals.d.ts +82 -0
  64. package/dist/commands/exec/runner-refusals.js +71 -0
  65. package/dist/commands/exec/sandbox-progress.js +3 -0
  66. package/dist/commands/exec/stopped-outcome.d.ts +12 -0
  67. package/dist/commands/exec/stopped-outcome.js +77 -0
  68. package/dist/commands/exec/view.d.ts +20 -11
  69. package/dist/commands/exec/view.js +103 -47
  70. package/dist/commands/runs/facts.d.ts +7 -3
  71. package/dist/commands/runs/facts.js +17 -8
  72. package/dist/commands/runs/list/command.d.ts +14 -6
  73. package/dist/commands/runs/list/command.js +10 -10
  74. package/dist/commands/runs/list/outcomes.d.ts +7 -3
  75. package/dist/commands/runs/logs/command.js +10 -10
  76. package/dist/commands/runs/show/command.d.ts +14 -6
  77. package/dist/commands/runs/show/command.js +30 -28
  78. package/dist/commands/runs/show/outcomes.d.ts +7 -3
  79. package/dist/commands/runs/show/outcomes.js +7 -5
  80. package/dist/commands/snapshots/access.d.ts +111 -0
  81. package/dist/commands/snapshots/access.js +96 -0
  82. package/dist/commands/snapshots/build/command.d.ts +360 -93
  83. package/dist/commands/snapshots/build/command.js +446 -150
  84. package/dist/commands/snapshots/build/metadata.d.ts +10 -0
  85. package/dist/commands/snapshots/build/metadata.js +31 -11
  86. package/dist/commands/snapshots/build/outcomes.d.ts +234 -43
  87. package/dist/commands/snapshots/build/outcomes.js +200 -36
  88. package/dist/commands/snapshots/list/command.d.ts +366 -25
  89. package/dist/commands/snapshots/list/command.js +296 -66
  90. package/dist/commands/snapshots/list/metadata.d.ts +16 -0
  91. package/dist/commands/snapshots/list/metadata.js +29 -6
  92. package/dist/commands/snapshots/list/outcomes.d.ts +245 -13
  93. package/dist/commands/snapshots/list/outcomes.js +221 -50
  94. package/dist/commands/snapshots/metadata.js +1 -1
  95. package/dist/commands/snapshots/prune/command.d.ts +430 -0
  96. package/dist/commands/snapshots/prune/command.js +161 -0
  97. package/dist/commands/snapshots/prune/metadata.d.ts +28 -0
  98. package/dist/commands/snapshots/prune/metadata.js +39 -0
  99. package/dist/commands/snapshots/prune/outcomes.d.ts +208 -0
  100. package/dist/commands/snapshots/prune/outcomes.js +78 -0
  101. package/dist/commands/suites/list/command.js +17 -17
  102. package/dist/commands/suites/list/outcomes.js +2 -2
  103. package/dist/commands/test/command.d.ts +31 -2
  104. package/dist/commands/test/command.js +49 -252
  105. package/dist/commands/test/outcomes.d.ts +15 -1
  106. package/dist/config/check-runner.d.ts +3 -3
  107. package/dist/config/check-runner.js +8 -7
  108. package/dist/config/credential-resolver.d.ts +50 -5
  109. package/dist/config/credential-resolver.js +51 -19
  110. package/dist/config/credential-settle.d.ts +6 -2
  111. package/dist/config/credential-settle.js +11 -5
  112. package/dist/config/index.d.ts +2 -2
  113. package/dist/config/index.js +1 -1
  114. package/dist/config/runner.d.ts +5 -5
  115. package/dist/config/runner.js +1 -1
  116. package/dist/config/schema.d.ts +2 -2
  117. package/dist/config/schema.js +1 -1
  118. package/dist/config-file/define.d.ts +1 -1
  119. package/dist/config-file/define.js +1 -1
  120. package/dist/config-file/runner.d.ts +5 -5
  121. package/dist/config-file/toolchain.d.ts +1 -1
  122. package/dist/config-file/toolchain.js +2 -2
  123. package/dist/context.d.ts +8 -6
  124. package/dist/context.js +7 -6
  125. package/dist/core/across-sandboxes.d.ts +7 -6
  126. package/dist/core/across-sandboxes.js +123 -152
  127. package/dist/core/coordinator.d.ts +166 -0
  128. package/dist/core/coordinator.js +233 -0
  129. package/dist/core/events.d.ts +2 -2
  130. package/dist/core/index.d.ts +4 -2
  131. package/dist/core/index.js +1 -1
  132. package/dist/core/outcomes.d.ts +148 -0
  133. package/dist/core/{sandbox-end.js → outcomes.js} +28 -4
  134. package/dist/core/resources.d.ts +31 -53
  135. package/dist/core/resources.js +32 -70
  136. package/dist/core/run-state.d.ts +7 -1
  137. package/dist/core/run-state.js +2 -0
  138. package/dist/core/run.d.ts +32 -236
  139. package/dist/core/run.js +106 -266
  140. package/dist/core/state-directory.d.ts +1 -1
  141. package/dist/core/state-directory.js +2 -2
  142. package/dist/credential/gateways.d.ts +15 -1
  143. package/dist/credential/index.d.ts +4 -3
  144. package/dist/credential/index.js +3 -2
  145. package/dist/credential/live/vercel-cli-gateway.d.ts +1 -1
  146. package/dist/credential/live/vercel-cli-gateway.js +1 -1
  147. package/dist/credential/live/vercel-oidc-token-gateway.d.ts +11 -0
  148. package/dist/credential/live/vercel-oidc-token-gateway.js +16 -0
  149. package/dist/credential/source.d.ts +73 -6
  150. package/dist/credential/source.js +55 -2
  151. package/dist/extension-commands.d.ts +6 -1
  152. package/dist/extension-commands.js +15 -1
  153. package/dist/extensions/testserver/commands/pool/create/command.d.ts +35 -2
  154. package/dist/extensions/testserver/commands/pool/create/command.js +7 -7
  155. package/dist/extensions/testserver/commands/pool/create/metadata.js +5 -5
  156. package/dist/extensions/testserver/commands/pool/create/outcomes.d.ts +17 -1
  157. package/dist/extensions/testserver/commands/pool/list/command.js +4 -4
  158. package/dist/extensions/testserver/credential-facts.d.ts +6 -2
  159. package/dist/extensions/testserver/credential-facts.js +29 -11
  160. package/dist/extensions/testserver/lifecycle.js +7 -1
  161. package/dist/extensions/testserver/limit.d.ts +3 -0
  162. package/dist/extensions/testserver/limit.js +3 -0
  163. package/dist/extensions/testserver/provision.d.ts +8 -1
  164. package/dist/extensions/testserver/provision.js +8 -3
  165. package/dist/extensions/testserver/refusals.d.ts +6 -1
  166. package/dist/extensions/testserver/refusals.js +16 -1
  167. package/dist/extensions/testserver/resource.d.ts +1 -1
  168. package/dist/extensions/testserver/resource.js +1 -1
  169. package/dist/extensions/testserver/result.d.ts +1 -1
  170. package/dist/extensions/testserver/result.js +9 -4
  171. package/dist/planning/driver-file-lists.d.ts +0 -15
  172. package/dist/planning/driver-file-lists.js +2 -21
  173. package/dist/planning/plan-only.d.ts +3 -14
  174. package/dist/planning/plan-only.js +11 -20
  175. package/dist/planning/run-kind-flags.js +2 -2
  176. package/dist/planning/run-plan.d.ts +45 -12
  177. package/dist/planning/run-plan.js +4 -3
  178. package/dist/planning/suites.d.ts +1 -1
  179. package/dist/planning/suites.js +2 -2
  180. package/dist/planning/test-plan.d.ts +9 -0
  181. package/dist/planning/test-plan.js +9 -0
  182. package/dist/run-directory/recording.js +2 -2
  183. package/dist/run-directory/run-record.d.ts +21 -6
  184. package/dist/run-directory/run-record.js +12 -9
  185. package/dist/runner/base.js +1 -1
  186. package/dist/runner/build-snapshots.d.ts +55 -29
  187. package/dist/runner/build-snapshots.js +130 -29
  188. package/dist/runner/context.d.ts +15 -7
  189. package/dist/runner/context.js +19 -6
  190. package/dist/runner/events.d.ts +16 -10
  191. package/dist/runner/gateways.d.ts +87 -21
  192. package/dist/runner/gateways.js +1 -1
  193. package/dist/runner/index.d.ts +11 -7
  194. package/dist/runner/index.js +9 -4
  195. package/dist/runner/live/sandbox-errors.d.ts +2 -0
  196. package/dist/runner/live/sandbox-errors.js +4 -0
  197. package/dist/runner/live/sandbox-gateway.js +129 -3
  198. package/dist/runner/live/snapshot-index-gateway.d.ts +12 -0
  199. package/dist/runner/live/{snapshot-cache-gateway.js → snapshot-index-gateway.js} +11 -11
  200. package/dist/runner/live/snapshot-records.js +6 -7
  201. package/dist/runner/local-snapshot-index.d.ts +199 -0
  202. package/dist/runner/local-snapshot-index.js +211 -0
  203. package/dist/runner/network-policy.d.ts +6 -6
  204. package/dist/runner/network-policy.js +7 -7
  205. package/dist/runner/policy-writes.d.ts +1 -1
  206. package/dist/runner/policy-writes.js +1 -1
  207. package/dist/runner/prepare.d.ts +14 -14
  208. package/dist/runner/prepare.js +20 -11
  209. package/dist/runner/ready.d.ts +18 -10
  210. package/dist/runner/ready.js +104 -33
  211. package/dist/runner/sandboxed-command.d.ts +3 -3
  212. package/dist/runner/sandboxed-command.js +3 -3
  213. package/dist/runner/scope.d.ts +10 -6
  214. package/dist/runner/scope.js +10 -3
  215. package/dist/runner/secrets.d.ts +13 -13
  216. package/dist/runner/secrets.js +18 -15
  217. package/dist/runner/session.d.ts +8 -8
  218. package/dist/runner/session.js +3 -3
  219. package/dist/runner/shared-snapshot-entry.d.ts +92 -0
  220. package/dist/runner/shared-snapshot-entry.js +168 -0
  221. package/dist/runner/shared-snapshot-list.d.ts +81 -0
  222. package/dist/runner/shared-snapshot-list.js +155 -0
  223. package/dist/runner/shared-snapshot-lookup.d.ts +51 -0
  224. package/dist/runner/shared-snapshot-lookup.js +118 -0
  225. package/dist/runner/shared-snapshot-prune.d.ts +58 -0
  226. package/dist/runner/shared-snapshot-prune.js +133 -0
  227. package/dist/runner/snapshot-build.d.ts +42 -14
  228. package/dist/runner/snapshot-build.js +32 -29
  229. package/dist/runner/snapshot-choice.js +1 -1
  230. package/dist/runner/snapshot-inspect.d.ts +39 -40
  231. package/dist/runner/snapshot-inspect.js +55 -35
  232. package/dist/runner/snapshot-key.d.ts +13 -12
  233. package/dist/runner/snapshot-key.js +13 -12
  234. package/dist/runner/steps.d.ts +1 -1
  235. package/dist/runner/steps.js +1 -1
  236. package/dist/runner/{recipe-check.d.ts → vercel-sandbox-check.d.ts} +2 -2
  237. package/dist/runner/{recipe-check.js → vercel-sandbox-check.js} +3 -2
  238. package/dist/runner/{recipe.d.ts → vercel-sandbox-options.d.ts} +24 -23
  239. package/dist/runner/{recipe.js → vercel-sandbox-options.js} +70 -69
  240. package/dist/runner/{recipe-secrets.d.ts → vercel-sandbox-secrets.d.ts} +6 -6
  241. package/dist/runner/{recipe-secrets.js → vercel-sandbox-secrets.js} +20 -20
  242. package/dist/sdk/extension/commands.d.ts +8 -3
  243. package/dist/sdk/extension/commands.js +3 -1
  244. package/dist/sdk/extension/credential-diagnosis.d.ts +3 -1
  245. package/dist/sdk/extension/credential-diagnosis.js +25 -5
  246. package/dist/sdk/extension/credential-source.d.ts +20 -3
  247. package/dist/sdk/extension/credential-source.js +4 -4
  248. package/dist/sdk/extension/index.d.ts +3 -2
  249. package/dist/sdk/extension/index.js +2 -1
  250. package/dist/sdk/extension/resource-definition.d.ts +1 -1
  251. package/dist/sdk/extension/secret-source.d.ts +1 -1
  252. package/dist/sdk/extension/secret-source.js +1 -1
  253. package/dist/sdk/extension/vercel-oidc-facts.d.ts +20 -0
  254. package/dist/sdk/extension/vercel-oidc-facts.js +20 -0
  255. package/dist/shared/cleanup.d.ts +3 -3
  256. package/dist/shared/cleanup.js +15 -5
  257. package/dist/shared/snapshot-text.d.ts +4 -4
  258. package/dist/shared/snapshot-text.js +11 -11
  259. package/dist/time/duration.js +1 -1
  260. package/package.json +3 -2
  261. package/skills/overview.md +4 -4
  262. package/skills/plan-runs.md +1 -1
  263. package/skills/read-run-output.md +6 -6
  264. package/dist/chunks/chunk-7EENF73W.js +0 -782
  265. package/dist/chunks/chunk-Z5PBVG3Y.js +0 -2599
  266. package/dist/commands/exec/across-sandboxes-run.d.ts +0 -180
  267. package/dist/commands/exec/across-sandboxes-run.js +0 -339
  268. package/dist/commands/exec/plan-only.d.ts +0 -10
  269. package/dist/commands/exec/plan-only.js +0 -45
  270. package/dist/commands/exec/run-command.d.ts +0 -475
  271. package/dist/commands/exec/run-command.js +0 -603
  272. package/dist/commands/exec/run-planned.d.ts +0 -20
  273. package/dist/commands/exec/run-planned.js +0 -22
  274. package/dist/commands/exec/sandbox-view.d.ts +0 -19
  275. package/dist/commands/exec/sandbox-view.js +0 -72
  276. package/dist/commands/test/plan.d.ts +0 -92
  277. package/dist/commands/test/plan.js +0 -125
  278. package/dist/core/sandbox-end.d.ts +0 -64
  279. package/dist/runner/live/snapshot-cache-gateway.d.ts +0 -12
  280. package/dist/runner/snapshot-cache.d.ts +0 -148
  281. package/dist/runner/snapshot-cache.js +0 -126
@@ -1,32 +1,44 @@
1
1
  import { z } from "zod";
2
+ import type { StormApp } from "../../../context.ts";
2
3
  import { RUN_CLEANUP } from "../../../shared/cleanup.ts";
3
4
  /**
4
- * Builds a base snapshot the runner snapshot cache lacks, with no run: at the merge-base, or at the commit `--base`
5
- * names. The runner module checks the build on
6
- * this machine (`prepareSnapshotBuild`), then builds it in its own sandbox scope (`buildSnapshots`), which stops and
7
- * deletes every sandbox however it ends. This file loads the config file and the runner recipe, mints the credential
8
- * through the credential launcher resolver, reads the credentials' values, shows the runner's events as a run's plain
9
- * progress lines, and words the outcome. It refuses as a run does, in a run's order: `invalid_config`, then
10
- * `missing_runner`, `missing_target`, and `credentials_invalid`, then the local checks' refusals and `ref_not_found`,
11
- * all before it mints. Every refusal and line shows the credentials' values as `<token>`.
5
+ * Builds a runner snapshot that the local snapshot index lacks, with no run: at the merge-base, or at the commit
6
+ * `--base` names. The runner module checks the build on this machine (`prepareSnapshotBuild`), then builds it in its
7
+ * own sandbox scope (`buildSnapshots`), which stops and deletes every sandbox however it ends, but for the one
8
+ * `--publish` keeps stopped as the shared snapshot index entry. This file loads the config file and the runner
9
+ * options, obtains a credential through the credential launcher resolver, reads the credentials' values, shows the
10
+ * runner's events as a run's plain progress lines, and words the outcome. It refuses as a run does, in a run's order:
11
+ * `invalid_config`, then `missing_runner`, `missing_target`, and `credentials_invalid`, then the local checks'
12
+ * refusals and `ref_not_found`, all before it obtains a credential. Every refusal and line shows the credentials'
13
+ * values as `<token>`. `--all-suites` builds each distinct runner of the top-level runner and every suite's effective
14
+ * runner in turn, with one credential.
12
15
  */
13
16
  declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
17
+ credential: z.ZodDefault<z.ZodEnum<{
18
+ mint: "mint";
19
+ "vercel-oidc": "vercel-oidc";
20
+ }>>;
21
+ scope: z.ZodOptional<z.ZodString>;
22
+ project: z.ZodOptional<z.ZodString>;
14
23
  suite: z.ZodOptional<z.ZodString>;
24
+ allSuites: z.ZodDefault<z.ZodBoolean>;
15
25
  full: z.ZodDefault<z.ZodBoolean>;
26
+ publish: z.ZodDefault<z.ZodBoolean>;
16
27
  base: z.ZodOptional<z.ZodString>;
17
- scope: z.ZodOptional<z.ZodString>;
18
- project: z.ZodOptional<z.ZodString>;
19
28
  }, z.core.$strip>, import("@vercel/clinkr").Outcomes<{
20
29
  built: z.ZodObject<{
21
- configFile: z.ZodNullable<z.ZodString>;
22
- recipe: z.ZodString;
23
- team: z.ZodString;
24
- project: z.ZodString;
25
- head: z.ZodString;
30
+ teamId: z.ZodString;
31
+ projectId: z.ZodString;
32
+ team: z.ZodNullable<z.ZodString>;
33
+ project: z.ZodNullable<z.ZodString>;
26
34
  base: z.ZodString;
27
35
  baseRef: z.ZodString;
28
36
  uncommitted: z.ZodNullable<z.ZodBoolean>;
29
37
  atMergeBase: z.ZodNullable<z.ZodBoolean>;
38
+ ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
39
+ configFile: z.ZodNullable<z.ZodString>;
40
+ runner: z.ZodString;
41
+ head: z.ZodString;
30
42
  snapshot: z.ZodObject<{
31
43
  snapshotId: z.ZodString;
32
44
  base: z.ZodString;
@@ -34,28 +46,121 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
34
46
  }, z.core.$strip>;
35
47
  ms: z.ZodNumber;
36
48
  sizeBytes: z.ZodNumber;
49
+ sandboxName: z.ZodNullable<z.ZodString>;
50
+ localIndexWritten: z.ZodBoolean;
37
51
  cleanup: z.ZodType<import("../../../shared/cleanup.ts").StormCleanupFacts, import("../../../shared/cleanup.ts").StormCleanupFacts, z.core.$ZodTypeInternals<import("../../../shared/cleanup.ts").StormCleanupFacts, import("../../../shared/cleanup.ts").StormCleanupFacts>>;
38
52
  }, z.core.$strip>;
39
53
  upToDate: z.ZodObject<{
40
- configFile: z.ZodNullable<z.ZodString>;
41
- recipe: z.ZodString;
42
- team: z.ZodString;
43
- project: z.ZodString;
44
- head: z.ZodString;
54
+ teamId: z.ZodString;
55
+ projectId: z.ZodString;
56
+ team: z.ZodNullable<z.ZodString>;
57
+ project: z.ZodNullable<z.ZodString>;
45
58
  base: z.ZodString;
46
59
  baseRef: z.ZodString;
47
60
  uncommitted: z.ZodNullable<z.ZodBoolean>;
48
61
  atMergeBase: z.ZodNullable<z.ZodBoolean>;
62
+ ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
63
+ configFile: z.ZodNullable<z.ZodString>;
64
+ runner: z.ZodString;
65
+ head: z.ZodString;
49
66
  snapshot: z.ZodObject<{
50
67
  snapshotId: z.ZodString;
51
68
  base: z.ZodString;
52
69
  expiresAt: z.ZodString;
53
70
  }, z.core.$strip>;
71
+ sandboxName: z.ZodNullable<z.ZodString>;
72
+ }, z.core.$strip>;
73
+ alreadyBuilding: z.ZodObject<{
74
+ teamId: z.ZodString;
75
+ projectId: z.ZodString;
76
+ team: z.ZodNullable<z.ZodString>;
77
+ project: z.ZodNullable<z.ZodString>;
78
+ base: z.ZodString;
79
+ baseRef: z.ZodString;
80
+ uncommitted: z.ZodNullable<z.ZodBoolean>;
81
+ atMergeBase: z.ZodNullable<z.ZodBoolean>;
82
+ ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
83
+ configFile: z.ZodNullable<z.ZodString>;
84
+ runner: z.ZodString;
85
+ head: z.ZodString;
86
+ sandboxName: z.ZodString;
87
+ status: z.ZodNullable<z.ZodString>;
88
+ }, z.core.$strip>;
89
+ allSuitesBuilt: z.ZodObject<{
90
+ teamId: z.ZodString;
91
+ projectId: z.ZodString;
92
+ team: z.ZodNullable<z.ZodString>;
93
+ project: z.ZodNullable<z.ZodString>;
94
+ configFile: z.ZodNullable<z.ZodString>;
95
+ head: z.ZodString;
96
+ runners: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
97
+ base: z.ZodString;
98
+ baseRef: z.ZodString;
99
+ uncommitted: z.ZodNullable<z.ZodBoolean>;
100
+ atMergeBase: z.ZodNullable<z.ZodBoolean>;
101
+ ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
102
+ runner: z.ZodString;
103
+ region: z.ZodString;
104
+ runtime: z.ZodString;
105
+ topLevel: z.ZodBoolean;
106
+ suites: z.ZodArray<z.ZodString>;
107
+ result: z.ZodLiteral<"built">;
108
+ snapshot: z.ZodObject<{
109
+ snapshotId: z.ZodString;
110
+ base: z.ZodString;
111
+ expiresAt: z.ZodString;
112
+ }, z.core.$strip>;
113
+ sandboxName: z.ZodNullable<z.ZodString>;
114
+ ms: z.ZodNumber;
115
+ sizeBytes: z.ZodNumber;
116
+ localIndexWritten: z.ZodBoolean;
117
+ }, z.core.$strip>, z.ZodObject<{
118
+ base: z.ZodString;
119
+ baseRef: z.ZodString;
120
+ uncommitted: z.ZodNullable<z.ZodBoolean>;
121
+ atMergeBase: z.ZodNullable<z.ZodBoolean>;
122
+ ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
123
+ runner: z.ZodString;
124
+ region: z.ZodString;
125
+ runtime: z.ZodString;
126
+ topLevel: z.ZodBoolean;
127
+ suites: z.ZodArray<z.ZodString>;
128
+ result: z.ZodLiteral<"up_to_date">;
129
+ snapshot: z.ZodObject<{
130
+ snapshotId: z.ZodString;
131
+ base: z.ZodString;
132
+ expiresAt: z.ZodString;
133
+ }, z.core.$strip>;
134
+ sandboxName: z.ZodNullable<z.ZodString>;
135
+ }, z.core.$strip>, z.ZodObject<{
136
+ base: z.ZodString;
137
+ baseRef: z.ZodString;
138
+ uncommitted: z.ZodNullable<z.ZodBoolean>;
139
+ atMergeBase: z.ZodNullable<z.ZodBoolean>;
140
+ ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
141
+ runner: z.ZodString;
142
+ region: z.ZodString;
143
+ runtime: z.ZodString;
144
+ topLevel: z.ZodBoolean;
145
+ suites: z.ZodArray<z.ZodString>;
146
+ result: z.ZodLiteral<"already_building">;
147
+ sandboxName: z.ZodString;
148
+ status: z.ZodNullable<z.ZodString>;
149
+ }, z.core.$strip>], "result">>;
150
+ cleanup: z.ZodType<import("../../../shared/cleanup.ts").StormCleanupFacts, import("../../../shared/cleanup.ts").StormCleanupFacts, z.core.$ZodTypeInternals<import("../../../shared/cleanup.ts").StormCleanupFacts, import("../../../shared/cleanup.ts").StormCleanupFacts>>;
54
151
  }, z.core.$strip>;
55
152
  }, {
56
153
  built: unknown;
57
154
  upToDate: unknown;
155
+ alreadyBuilding: unknown;
156
+ allSuitesBuilt: unknown;
58
157
  }, {
158
+ conflictingOptions: z.ZodObject<{
159
+ conflicts: z.ZodArray<z.ZodObject<{
160
+ flag: z.ZodString;
161
+ message: z.ZodString;
162
+ }, z.core.$strip>>;
163
+ }, z.core.$strip>;
59
164
  invalidConfig: import("@vercel/clinkr").SharedError<"invalid_config", [data: {
60
165
  file: string;
61
166
  problems: {
@@ -94,20 +199,6 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
94
199
  submodulesRefused: import("@vercel/clinkr").SharedError<"submodules_refused", [data: {
95
200
  paths: string[];
96
201
  }]>;
97
- mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
98
- team: string;
99
- project: string;
100
- cause: string;
101
- fix: string;
102
- }]>;
103
- tokenRequestFailed: import("@vercel/clinkr").SharedError<"token_request_failed", [data: {
104
- cause: "request-failed" | "variables-missing";
105
- missing: ("ACTIONS_ID_TOKEN_REQUEST_TOKEN" | "ACTIONS_ID_TOKEN_REQUEST_URL")[] | null;
106
- status: number | null;
107
- said: string | null;
108
- detail: string;
109
- fix: string;
110
- }]>;
111
202
  runnerFailed: import("@vercel/clinkr").SharedError<"runner_failed", [data: {
112
203
  failure: {
113
204
  kind: "apply-failed" | "build-failed" | "install-failed" | "snapshot-build-step-failed";
@@ -140,7 +231,7 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
140
231
  refNotFound: z.ZodObject<{
141
232
  ref: z.ZodString;
142
233
  }, z.core.$strip>;
143
- snapshotNotCached: z.ZodObject<{
234
+ snapshotNotIndexed: z.ZodObject<{
144
235
  snapshot: z.ZodObject<{
145
236
  snapshotId: z.ZodString;
146
237
  base: z.ZodString;
@@ -150,12 +241,54 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
150
241
  message: z.ZodString;
151
242
  cleanup: z.ZodType<import("../../../shared/cleanup.ts").StormCleanupFacts, import("../../../shared/cleanup.ts").StormCleanupFacts, z.core.$ZodTypeInternals<import("../../../shared/cleanup.ts").StormCleanupFacts, import("../../../shared/cleanup.ts").StormCleanupFacts>>;
152
243
  }, z.core.$strip>;
244
+ mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
245
+ team: string;
246
+ project: string;
247
+ cause: string;
248
+ fix: string;
249
+ }]>;
153
250
  suiteNotFound: import("@vercel/clinkr").SharedError<"suite_not_found", [data: {
154
251
  suite: string;
155
252
  suites: string[];
156
253
  configFile: string | null;
157
254
  }]>;
255
+ tokenRequestFailed: import("@vercel/clinkr").SharedError<"token_request_failed", [data: {
256
+ cause: "request-failed" | "variables-missing";
257
+ missing: ("ACTIONS_ID_TOKEN_REQUEST_TOKEN" | "ACTIONS_ID_TOKEN_REQUEST_URL")[] | null;
258
+ status: number | null;
259
+ said: string | null;
260
+ detail: string;
261
+ fix: string;
262
+ }]>;
263
+ vercelOidcTokenFailed: import("@vercel/clinkr").SharedError<"vercel_oidc_token_failed", [data: {
264
+ cause: "invalid-token" | "missing-token";
265
+ detail: string;
266
+ fix: string;
267
+ }]>;
158
268
  }, {
269
+ readonly conflictingOptions: {
270
+ readonly exitCode: 2;
271
+ readonly description: "--suite and --all-suites were both given: --suite builds one runner, and --all-suites builds them all.";
272
+ readonly schema: z.ZodObject<{
273
+ conflicts: z.ZodArray<z.ZodObject<{
274
+ flag: z.ZodString;
275
+ message: z.ZodString;
276
+ }, z.core.$strip>>;
277
+ }, z.core.$strip>;
278
+ readonly render: ({ conflicts, }: {
279
+ readonly conflicts: readonly {
280
+ readonly flag: string;
281
+ readonly message: string;
282
+ }[];
283
+ }) => {
284
+ message: string;
285
+ rows: (readonly ["Conflicts", string[]])[];
286
+ next: {
287
+ type: "text";
288
+ text: string;
289
+ }[];
290
+ };
291
+ };
159
292
  readonly invalidConfig: import("@vercel/clinkr").SharedError<"invalid_config", [data: {
160
293
  file: string;
161
294
  problems: {
@@ -207,20 +340,6 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
207
340
  readonly submodulesRefused: import("@vercel/clinkr").SharedError<"submodules_refused", [data: {
208
341
  paths: string[];
209
342
  }]>;
210
- readonly mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
211
- team: string;
212
- project: string;
213
- cause: string;
214
- fix: string;
215
- }]>;
216
- readonly tokenRequestFailed: import("@vercel/clinkr").SharedError<"token_request_failed", [data: {
217
- cause: "request-failed" | "variables-missing";
218
- missing: ("ACTIONS_ID_TOKEN_REQUEST_TOKEN" | "ACTIONS_ID_TOKEN_REQUEST_URL")[] | null;
219
- status: number | null;
220
- said: string | null;
221
- detail: string;
222
- fix: string;
223
- }]>;
224
343
  readonly runnerFailed: import("@vercel/clinkr").SharedError<"runner_failed", [data: {
225
344
  failure: {
226
345
  kind: "apply-failed" | "build-failed" | "install-failed" | "snapshot-build-step-failed";
@@ -266,9 +385,9 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
266
385
  }[];
267
386
  };
268
387
  };
269
- readonly snapshotNotCached: {
388
+ readonly snapshotNotIndexed: {
270
389
  readonly exitCode: 1;
271
- readonly description: "It built and saved the base snapshot, but couldn't write its cache entry, so no run finds it.";
390
+ readonly description: "It built and saved the runner snapshot, but couldn't write its local snapshot index entry, so no run finds it.";
272
391
  readonly schema: z.ZodObject<{
273
392
  snapshot: z.ZodObject<{
274
393
  snapshotId: z.ZodString;
@@ -297,22 +416,44 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
297
416
  }[];
298
417
  };
299
418
  };
419
+ readonly mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
420
+ team: string;
421
+ project: string;
422
+ cause: string;
423
+ fix: string;
424
+ }]>;
300
425
  readonly suiteNotFound: import("@vercel/clinkr").SharedError<"suite_not_found", [data: {
301
426
  suite: string;
302
427
  suites: string[];
303
428
  configFile: string | null;
304
429
  }]>;
430
+ readonly tokenRequestFailed: import("@vercel/clinkr").SharedError<"token_request_failed", [data: {
431
+ cause: "request-failed" | "variables-missing";
432
+ missing: ("ACTIONS_ID_TOKEN_REQUEST_TOKEN" | "ACTIONS_ID_TOKEN_REQUEST_URL")[] | null;
433
+ status: number | null;
434
+ said: string | null;
435
+ detail: string;
436
+ fix: string;
437
+ }]>;
438
+ readonly vercelOidcTokenFailed: import("@vercel/clinkr").SharedError<"vercel_oidc_token_failed", [data: {
439
+ cause: "invalid-token" | "missing-token";
440
+ detail: string;
441
+ fix: string;
442
+ }]>;
305
443
  }>, import("@vercel/clinkr").OutcomeOf<import("@vercel/clinkr").Outcomes<{
306
444
  built: z.ZodObject<{
307
- configFile: z.ZodNullable<z.ZodString>;
308
- recipe: z.ZodString;
309
- team: z.ZodString;
310
- project: z.ZodString;
311
- head: z.ZodString;
445
+ teamId: z.ZodString;
446
+ projectId: z.ZodString;
447
+ team: z.ZodNullable<z.ZodString>;
448
+ project: z.ZodNullable<z.ZodString>;
312
449
  base: z.ZodString;
313
450
  baseRef: z.ZodString;
314
451
  uncommitted: z.ZodNullable<z.ZodBoolean>;
315
452
  atMergeBase: z.ZodNullable<z.ZodBoolean>;
453
+ ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
454
+ configFile: z.ZodNullable<z.ZodString>;
455
+ runner: z.ZodString;
456
+ head: z.ZodString;
316
457
  snapshot: z.ZodObject<{
317
458
  snapshotId: z.ZodString;
318
459
  base: z.ZodString;
@@ -320,28 +461,121 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
320
461
  }, z.core.$strip>;
321
462
  ms: z.ZodNumber;
322
463
  sizeBytes: z.ZodNumber;
464
+ sandboxName: z.ZodNullable<z.ZodString>;
465
+ localIndexWritten: z.ZodBoolean;
323
466
  cleanup: z.ZodType<import("../../../shared/cleanup.ts").StormCleanupFacts, import("../../../shared/cleanup.ts").StormCleanupFacts, z.core.$ZodTypeInternals<import("../../../shared/cleanup.ts").StormCleanupFacts, import("../../../shared/cleanup.ts").StormCleanupFacts>>;
324
467
  }, z.core.$strip>;
325
468
  upToDate: z.ZodObject<{
326
- configFile: z.ZodNullable<z.ZodString>;
327
- recipe: z.ZodString;
328
- team: z.ZodString;
329
- project: z.ZodString;
330
- head: z.ZodString;
469
+ teamId: z.ZodString;
470
+ projectId: z.ZodString;
471
+ team: z.ZodNullable<z.ZodString>;
472
+ project: z.ZodNullable<z.ZodString>;
331
473
  base: z.ZodString;
332
474
  baseRef: z.ZodString;
333
475
  uncommitted: z.ZodNullable<z.ZodBoolean>;
334
476
  atMergeBase: z.ZodNullable<z.ZodBoolean>;
477
+ ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
478
+ configFile: z.ZodNullable<z.ZodString>;
479
+ runner: z.ZodString;
480
+ head: z.ZodString;
335
481
  snapshot: z.ZodObject<{
336
482
  snapshotId: z.ZodString;
337
483
  base: z.ZodString;
338
484
  expiresAt: z.ZodString;
339
485
  }, z.core.$strip>;
486
+ sandboxName: z.ZodNullable<z.ZodString>;
487
+ }, z.core.$strip>;
488
+ alreadyBuilding: z.ZodObject<{
489
+ teamId: z.ZodString;
490
+ projectId: z.ZodString;
491
+ team: z.ZodNullable<z.ZodString>;
492
+ project: z.ZodNullable<z.ZodString>;
493
+ base: z.ZodString;
494
+ baseRef: z.ZodString;
495
+ uncommitted: z.ZodNullable<z.ZodBoolean>;
496
+ atMergeBase: z.ZodNullable<z.ZodBoolean>;
497
+ ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
498
+ configFile: z.ZodNullable<z.ZodString>;
499
+ runner: z.ZodString;
500
+ head: z.ZodString;
501
+ sandboxName: z.ZodString;
502
+ status: z.ZodNullable<z.ZodString>;
503
+ }, z.core.$strip>;
504
+ allSuitesBuilt: z.ZodObject<{
505
+ teamId: z.ZodString;
506
+ projectId: z.ZodString;
507
+ team: z.ZodNullable<z.ZodString>;
508
+ project: z.ZodNullable<z.ZodString>;
509
+ configFile: z.ZodNullable<z.ZodString>;
510
+ head: z.ZodString;
511
+ runners: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
512
+ base: z.ZodString;
513
+ baseRef: z.ZodString;
514
+ uncommitted: z.ZodNullable<z.ZodBoolean>;
515
+ atMergeBase: z.ZodNullable<z.ZodBoolean>;
516
+ ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
517
+ runner: z.ZodString;
518
+ region: z.ZodString;
519
+ runtime: z.ZodString;
520
+ topLevel: z.ZodBoolean;
521
+ suites: z.ZodArray<z.ZodString>;
522
+ result: z.ZodLiteral<"built">;
523
+ snapshot: z.ZodObject<{
524
+ snapshotId: z.ZodString;
525
+ base: z.ZodString;
526
+ expiresAt: z.ZodString;
527
+ }, z.core.$strip>;
528
+ sandboxName: z.ZodNullable<z.ZodString>;
529
+ ms: z.ZodNumber;
530
+ sizeBytes: z.ZodNumber;
531
+ localIndexWritten: z.ZodBoolean;
532
+ }, z.core.$strip>, z.ZodObject<{
533
+ base: z.ZodString;
534
+ baseRef: z.ZodString;
535
+ uncommitted: z.ZodNullable<z.ZodBoolean>;
536
+ atMergeBase: z.ZodNullable<z.ZodBoolean>;
537
+ ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
538
+ runner: z.ZodString;
539
+ region: z.ZodString;
540
+ runtime: z.ZodString;
541
+ topLevel: z.ZodBoolean;
542
+ suites: z.ZodArray<z.ZodString>;
543
+ result: z.ZodLiteral<"up_to_date">;
544
+ snapshot: z.ZodObject<{
545
+ snapshotId: z.ZodString;
546
+ base: z.ZodString;
547
+ expiresAt: z.ZodString;
548
+ }, z.core.$strip>;
549
+ sandboxName: z.ZodNullable<z.ZodString>;
550
+ }, z.core.$strip>, z.ZodObject<{
551
+ base: z.ZodString;
552
+ baseRef: z.ZodString;
553
+ uncommitted: z.ZodNullable<z.ZodBoolean>;
554
+ atMergeBase: z.ZodNullable<z.ZodBoolean>;
555
+ ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
556
+ runner: z.ZodString;
557
+ region: z.ZodString;
558
+ runtime: z.ZodString;
559
+ topLevel: z.ZodBoolean;
560
+ suites: z.ZodArray<z.ZodString>;
561
+ result: z.ZodLiteral<"already_building">;
562
+ sandboxName: z.ZodString;
563
+ status: z.ZodNullable<z.ZodString>;
564
+ }, z.core.$strip>], "result">>;
565
+ cleanup: z.ZodType<import("../../../shared/cleanup.ts").StormCleanupFacts, import("../../../shared/cleanup.ts").StormCleanupFacts, z.core.$ZodTypeInternals<import("../../../shared/cleanup.ts").StormCleanupFacts, import("../../../shared/cleanup.ts").StormCleanupFacts>>;
340
566
  }, z.core.$strip>;
341
567
  }, {
342
568
  built: unknown;
343
569
  upToDate: unknown;
570
+ alreadyBuilding: unknown;
571
+ allSuitesBuilt: unknown;
344
572
  }, {
573
+ conflictingOptions: z.ZodObject<{
574
+ conflicts: z.ZodArray<z.ZodObject<{
575
+ flag: z.ZodString;
576
+ message: z.ZodString;
577
+ }, z.core.$strip>>;
578
+ }, z.core.$strip>;
345
579
  invalidConfig: import("@vercel/clinkr").SharedError<"invalid_config", [data: {
346
580
  file: string;
347
581
  problems: {
@@ -380,20 +614,6 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
380
614
  submodulesRefused: import("@vercel/clinkr").SharedError<"submodules_refused", [data: {
381
615
  paths: string[];
382
616
  }]>;
383
- mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
384
- team: string;
385
- project: string;
386
- cause: string;
387
- fix: string;
388
- }]>;
389
- tokenRequestFailed: import("@vercel/clinkr").SharedError<"token_request_failed", [data: {
390
- cause: "request-failed" | "variables-missing";
391
- missing: ("ACTIONS_ID_TOKEN_REQUEST_TOKEN" | "ACTIONS_ID_TOKEN_REQUEST_URL")[] | null;
392
- status: number | null;
393
- said: string | null;
394
- detail: string;
395
- fix: string;
396
- }]>;
397
617
  runnerFailed: import("@vercel/clinkr").SharedError<"runner_failed", [data: {
398
618
  failure: {
399
619
  kind: "apply-failed" | "build-failed" | "install-failed" | "snapshot-build-step-failed";
@@ -426,7 +646,7 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
426
646
  refNotFound: z.ZodObject<{
427
647
  ref: z.ZodString;
428
648
  }, z.core.$strip>;
429
- snapshotNotCached: z.ZodObject<{
649
+ snapshotNotIndexed: z.ZodObject<{
430
650
  snapshot: z.ZodObject<{
431
651
  snapshotId: z.ZodString;
432
652
  base: z.ZodString;
@@ -436,12 +656,54 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
436
656
  message: z.ZodString;
437
657
  cleanup: z.ZodType<import("../../../shared/cleanup.ts").StormCleanupFacts, import("../../../shared/cleanup.ts").StormCleanupFacts, z.core.$ZodTypeInternals<import("../../../shared/cleanup.ts").StormCleanupFacts, import("../../../shared/cleanup.ts").StormCleanupFacts>>;
438
658
  }, z.core.$strip>;
659
+ mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
660
+ team: string;
661
+ project: string;
662
+ cause: string;
663
+ fix: string;
664
+ }]>;
439
665
  suiteNotFound: import("@vercel/clinkr").SharedError<"suite_not_found", [data: {
440
666
  suite: string;
441
667
  suites: string[];
442
668
  configFile: string | null;
443
669
  }]>;
670
+ tokenRequestFailed: import("@vercel/clinkr").SharedError<"token_request_failed", [data: {
671
+ cause: "request-failed" | "variables-missing";
672
+ missing: ("ACTIONS_ID_TOKEN_REQUEST_TOKEN" | "ACTIONS_ID_TOKEN_REQUEST_URL")[] | null;
673
+ status: number | null;
674
+ said: string | null;
675
+ detail: string;
676
+ fix: string;
677
+ }]>;
678
+ vercelOidcTokenFailed: import("@vercel/clinkr").SharedError<"vercel_oidc_token_failed", [data: {
679
+ cause: "invalid-token" | "missing-token";
680
+ detail: string;
681
+ fix: string;
682
+ }]>;
444
683
  }, {
684
+ readonly conflictingOptions: {
685
+ readonly exitCode: 2;
686
+ readonly description: "--suite and --all-suites were both given: --suite builds one runner, and --all-suites builds them all.";
687
+ readonly schema: z.ZodObject<{
688
+ conflicts: z.ZodArray<z.ZodObject<{
689
+ flag: z.ZodString;
690
+ message: z.ZodString;
691
+ }, z.core.$strip>>;
692
+ }, z.core.$strip>;
693
+ readonly render: ({ conflicts, }: {
694
+ readonly conflicts: readonly {
695
+ readonly flag: string;
696
+ readonly message: string;
697
+ }[];
698
+ }) => {
699
+ message: string;
700
+ rows: (readonly ["Conflicts", string[]])[];
701
+ next: {
702
+ type: "text";
703
+ text: string;
704
+ }[];
705
+ };
706
+ };
445
707
  readonly invalidConfig: import("@vercel/clinkr").SharedError<"invalid_config", [data: {
446
708
  file: string;
447
709
  problems: {
@@ -493,20 +755,6 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
493
755
  readonly submodulesRefused: import("@vercel/clinkr").SharedError<"submodules_refused", [data: {
494
756
  paths: string[];
495
757
  }]>;
496
- readonly mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
497
- team: string;
498
- project: string;
499
- cause: string;
500
- fix: string;
501
- }]>;
502
- readonly tokenRequestFailed: import("@vercel/clinkr").SharedError<"token_request_failed", [data: {
503
- cause: "request-failed" | "variables-missing";
504
- missing: ("ACTIONS_ID_TOKEN_REQUEST_TOKEN" | "ACTIONS_ID_TOKEN_REQUEST_URL")[] | null;
505
- status: number | null;
506
- said: string | null;
507
- detail: string;
508
- fix: string;
509
- }]>;
510
758
  readonly runnerFailed: import("@vercel/clinkr").SharedError<"runner_failed", [data: {
511
759
  failure: {
512
760
  kind: "apply-failed" | "build-failed" | "install-failed" | "snapshot-build-step-failed";
@@ -552,9 +800,9 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
552
800
  }[];
553
801
  };
554
802
  };
555
- readonly snapshotNotCached: {
803
+ readonly snapshotNotIndexed: {
556
804
  readonly exitCode: 1;
557
- readonly description: "It built and saved the base snapshot, but couldn't write its cache entry, so no run finds it.";
805
+ readonly description: "It built and saved the runner snapshot, but couldn't write its local snapshot index entry, so no run finds it.";
558
806
  readonly schema: z.ZodObject<{
559
807
  snapshot: z.ZodObject<{
560
808
  snapshotId: z.ZodString;
@@ -583,10 +831,29 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
583
831
  }[];
584
832
  };
585
833
  };
834
+ readonly mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
835
+ team: string;
836
+ project: string;
837
+ cause: string;
838
+ fix: string;
839
+ }]>;
586
840
  readonly suiteNotFound: import("@vercel/clinkr").SharedError<"suite_not_found", [data: {
587
841
  suite: string;
588
842
  suites: string[];
589
843
  configFile: string | null;
590
844
  }]>;
591
- }>>, import("../../../context.ts").StormApp, false>;
845
+ readonly tokenRequestFailed: import("@vercel/clinkr").SharedError<"token_request_failed", [data: {
846
+ cause: "request-failed" | "variables-missing";
847
+ missing: ("ACTIONS_ID_TOKEN_REQUEST_TOKEN" | "ACTIONS_ID_TOKEN_REQUEST_URL")[] | null;
848
+ status: number | null;
849
+ said: string | null;
850
+ detail: string;
851
+ fix: string;
852
+ }]>;
853
+ readonly vercelOidcTokenFailed: import("@vercel/clinkr").SharedError<"vercel_oidc_token_failed", [data: {
854
+ cause: "invalid-token" | "missing-token";
855
+ detail: string;
856
+ fix: string;
857
+ }]>;
858
+ }>>, StormApp, false>;
592
859
  export default _default;