@cnc-tools/storm 0.16.0 → 0.18.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 (290) hide show
  1. package/dist/bin/storm.js +54 -40
  2. package/dist/build-info.js +1 -1
  3. package/dist/chunks/{chunk-VL7WFTVQ.js → chunk-24UYAK4R.js} +465 -365
  4. package/dist/chunks/{chunk-DC2CDHNK.js → chunk-2JMWUKH3.js} +2074 -473
  5. package/dist/chunks/{chunk-FOZWA52V.js → chunk-3VXZONGE.js} +481 -376
  6. package/dist/chunks/{chunk-ZG3WQ4UF.js → chunk-55O4FCN4.js} +1 -1
  7. package/dist/chunks/{chunk-CN4EFA5J.js → chunk-72ZFEMAW.js} +1 -1
  8. package/dist/chunks/chunk-AS37D43E.js +2173 -0
  9. package/dist/chunks/chunk-CQAY6GLP.js +1260 -0
  10. package/dist/chunks/chunk-DZLU7BYK.js +340 -0
  11. package/dist/chunks/{chunk-R7XVBZOY.js → chunk-EEENLQHE.js} +59 -11
  12. package/dist/chunks/{chunk-TJNFVNKR.js → chunk-EI3XDCEI.js} +1 -1
  13. package/dist/chunks/{chunk-HVNK3I45.js → chunk-FDUY3BNF.js} +1 -1
  14. package/dist/chunks/{chunk-FCQUJDA4.js → chunk-GUCCYCIO.js} +4 -189
  15. package/dist/chunks/{chunk-OIY3DMF2.js → chunk-HBI4LEMH.js} +3 -3
  16. package/dist/chunks/{chunk-2MAD5NKK.js → chunk-K4MDQPLW.js} +1 -18
  17. package/dist/chunks/chunk-KK7PAWIZ.js +198 -0
  18. package/dist/chunks/{chunk-G3PHMXH5.js → chunk-KQ5FXRUD.js} +18 -1
  19. package/dist/chunks/{chunk-5VXBKPW6.js → chunk-LKXHGGGX.js} +1 -1
  20. package/dist/chunks/{chunk-P357TZAY.js → chunk-LOGHIUUB.js} +21 -18
  21. package/dist/chunks/{chunk-CK2GZEPK.js → chunk-OEPFINFT.js} +2 -2
  22. package/dist/chunks/{chunk-DWEAHX4T.js → chunk-OI4AP6Z7.js} +5 -5
  23. package/dist/chunks/{chunk-V4IKA3WI.js → chunk-PMBQWVTW.js} +26 -19
  24. package/dist/chunks/chunk-SZMYIIG2.js +88 -0
  25. package/dist/chunks/{chunk-5CCP36QQ.js → chunk-TXCOFC7N.js} +1 -1
  26. package/dist/chunks/{chunk-VUPZH7J2.js → chunk-UXD3TVWM.js} +1 -1
  27. package/dist/chunks/{chunk-3L52KNQA.js → chunk-WNW2QXQK.js} +8 -8
  28. package/dist/chunks/{chunk-AWBSONHB.js → chunk-XBDRVFEV.js} +55 -16
  29. package/dist/chunks/{live-app-WECQOQ4C.js → live-app-UY7BEDUN.js} +17 -13
  30. package/dist/cli.d.ts +28 -0
  31. package/dist/cli.js +64 -0
  32. package/dist/commands/exec/across-sandboxes-outcomes.d.ts +2 -2
  33. package/dist/commands/exec/across-sandboxes-outcomes.js +3 -3
  34. package/dist/commands/exec/before-run.d.ts +123 -0
  35. package/dist/commands/exec/before-run.js +105 -0
  36. package/dist/commands/exec/command.d.ts +67 -14
  37. package/dist/commands/exec/command.js +31 -95
  38. package/dist/commands/exec/driver-plan.d.ts +9 -4
  39. package/dist/commands/exec/driver-plan.js +8 -8
  40. package/dist/commands/exec/exec-words.js +1 -1
  41. package/dist/commands/exec/execute-run.d.ts +39 -0
  42. package/dist/commands/exec/execute-run.js +325 -0
  43. package/dist/commands/exec/live-view.d.ts +3 -3
  44. package/dist/commands/exec/live-view.js +16 -15
  45. package/dist/commands/exec/metadata.js +1 -1
  46. package/dist/commands/exec/mint-failed.d.ts +38 -0
  47. package/dist/commands/exec/mint-failed.js +27 -4
  48. package/dist/commands/exec/outcomes.d.ts +104 -22
  49. package/dist/commands/exec/outcomes.js +73 -26
  50. package/dist/commands/exec/plan-run.d.ts +58 -150
  51. package/dist/commands/exec/plan-run.js +239 -90
  52. package/dist/commands/exec/progress.d.ts +10 -6
  53. package/dist/commands/exec/progress.js +38 -25
  54. package/dist/commands/exec/run-bin.d.ts +11 -11
  55. package/dist/commands/exec/run-bin.js +9 -9
  56. package/dist/commands/exec/run-flags.d.ts +69 -0
  57. package/dist/commands/exec/run-flags.js +58 -0
  58. package/dist/commands/exec/run-metadata.js +4 -4
  59. package/dist/commands/exec/run-summary.d.ts +58 -0
  60. package/dist/commands/exec/run-summary.js +205 -0
  61. package/dist/commands/exec/runner-refusals.d.ts +82 -0
  62. package/dist/commands/exec/runner-refusals.js +71 -0
  63. package/dist/commands/exec/sandbox-progress.js +3 -0
  64. package/dist/commands/exec/stopped-outcome.d.ts +12 -0
  65. package/dist/commands/exec/stopped-outcome.js +77 -0
  66. package/dist/commands/exec/view.d.ts +20 -11
  67. package/dist/commands/exec/view.js +103 -47
  68. package/dist/commands/runs/facts.d.ts +8 -4
  69. package/dist/commands/runs/facts.js +19 -10
  70. package/dist/commands/runs/list/command.d.ts +16 -8
  71. package/dist/commands/runs/list/command.js +10 -10
  72. package/dist/commands/runs/list/outcomes.d.ts +8 -4
  73. package/dist/commands/runs/logs/command.js +10 -10
  74. package/dist/commands/runs/show/command.d.ts +16 -8
  75. package/dist/commands/runs/show/command.js +31 -29
  76. package/dist/commands/runs/show/metadata.js +1 -1
  77. package/dist/commands/runs/show/outcomes.d.ts +8 -4
  78. package/dist/commands/runs/show/outcomes.js +8 -6
  79. package/dist/commands/snapshots/access.d.ts +111 -0
  80. package/dist/commands/snapshots/access.js +96 -0
  81. package/dist/commands/snapshots/build/command.d.ts +376 -101
  82. package/dist/commands/snapshots/build/command.js +447 -149
  83. package/dist/commands/snapshots/build/metadata.d.ts +10 -0
  84. package/dist/commands/snapshots/build/metadata.js +31 -11
  85. package/dist/commands/snapshots/build/outcomes.d.ts +242 -47
  86. package/dist/commands/snapshots/build/outcomes.js +200 -36
  87. package/dist/commands/snapshots/list/command.d.ts +368 -27
  88. package/dist/commands/snapshots/list/command.js +298 -68
  89. package/dist/commands/snapshots/list/metadata.d.ts +16 -0
  90. package/dist/commands/snapshots/list/metadata.js +29 -6
  91. package/dist/commands/snapshots/list/outcomes.d.ts +247 -15
  92. package/dist/commands/snapshots/list/outcomes.js +223 -52
  93. package/dist/commands/snapshots/metadata.js +1 -1
  94. package/dist/commands/snapshots/prune/command.d.ts +430 -0
  95. package/dist/commands/snapshots/prune/command.js +161 -0
  96. package/dist/commands/snapshots/prune/metadata.d.ts +28 -0
  97. package/dist/commands/snapshots/prune/metadata.js +39 -0
  98. package/dist/commands/snapshots/prune/outcomes.d.ts +208 -0
  99. package/dist/commands/snapshots/prune/outcomes.js +78 -0
  100. package/dist/commands/suites/list/command.js +17 -17
  101. package/dist/commands/suites/list/outcomes.js +2 -2
  102. package/dist/commands/test/command.d.ts +67 -14
  103. package/dist/commands/test/command.js +49 -252
  104. package/dist/commands/test/outcomes.d.ts +33 -7
  105. package/dist/config/check-runner.d.ts +3 -3
  106. package/dist/config/check-runner.js +8 -7
  107. package/dist/config/credential-resolver.d.ts +50 -5
  108. package/dist/config/credential-resolver.js +51 -19
  109. package/dist/config/credential-settle.d.ts +6 -2
  110. package/dist/config/credential-settle.js +11 -5
  111. package/dist/config/index.d.ts +2 -2
  112. package/dist/config/index.js +1 -1
  113. package/dist/config/runner.d.ts +5 -5
  114. package/dist/config/runner.js +1 -1
  115. package/dist/config/schema.d.ts +2 -2
  116. package/dist/config/schema.js +1 -1
  117. package/dist/config-file/define.d.ts +1 -1
  118. package/dist/config-file/define.js +1 -1
  119. package/dist/config-file/runner.d.ts +5 -5
  120. package/dist/config-file/toolchain.d.ts +14 -4
  121. package/dist/config-file/toolchain.js +43 -7
  122. package/dist/context.d.ts +10 -6
  123. package/dist/context.js +8 -6
  124. package/dist/core/across-sandboxes.d.ts +7 -6
  125. package/dist/core/across-sandboxes.js +123 -152
  126. package/dist/core/coordinator.d.ts +166 -0
  127. package/dist/core/coordinator.js +233 -0
  128. package/dist/core/events.d.ts +2 -2
  129. package/dist/core/index.d.ts +4 -2
  130. package/dist/core/index.js +1 -1
  131. package/dist/core/outcomes.d.ts +148 -0
  132. package/dist/core/{sandbox-end.js → outcomes.js} +28 -4
  133. package/dist/core/resources.d.ts +31 -53
  134. package/dist/core/resources.js +32 -70
  135. package/dist/core/run-state.d.ts +7 -1
  136. package/dist/core/run-state.js +2 -0
  137. package/dist/core/run.d.ts +32 -236
  138. package/dist/core/run.js +107 -267
  139. package/dist/core/state-directory.d.ts +1 -1
  140. package/dist/core/state-directory.js +2 -2
  141. package/dist/credential/gateways.d.ts +15 -1
  142. package/dist/credential/index.d.ts +4 -3
  143. package/dist/credential/index.js +3 -2
  144. package/dist/credential/live/vercel-cli-gateway.d.ts +1 -1
  145. package/dist/credential/live/vercel-cli-gateway.js +1 -1
  146. package/dist/credential/live/vercel-oidc-token-gateway.d.ts +11 -0
  147. package/dist/credential/live/vercel-oidc-token-gateway.js +16 -0
  148. package/dist/credential/source.d.ts +73 -6
  149. package/dist/credential/source.js +55 -2
  150. package/dist/extension-commands.d.ts +1 -1
  151. package/dist/extension-commands.js +2 -2
  152. package/dist/extensions/testserver/commands/pool/create/command.d.ts +35 -2
  153. package/dist/extensions/testserver/commands/pool/create/command.js +7 -7
  154. package/dist/extensions/testserver/commands/pool/create/metadata.js +5 -5
  155. package/dist/extensions/testserver/commands/pool/create/outcomes.d.ts +17 -1
  156. package/dist/extensions/testserver/commands/pool/list/command.js +4 -4
  157. package/dist/extensions/testserver/credential-facts.d.ts +6 -2
  158. package/dist/extensions/testserver/credential-facts.js +29 -11
  159. package/dist/extensions/testserver/lifecycle.js +7 -1
  160. package/dist/extensions/testserver/limit.d.ts +3 -0
  161. package/dist/extensions/testserver/limit.js +3 -0
  162. package/dist/extensions/testserver/provision.d.ts +8 -1
  163. package/dist/extensions/testserver/provision.js +8 -3
  164. package/dist/extensions/testserver/refusals.d.ts +6 -1
  165. package/dist/extensions/testserver/refusals.js +16 -1
  166. package/dist/extensions/testserver/resource.d.ts +1 -1
  167. package/dist/extensions/testserver/resource.js +1 -1
  168. package/dist/extensions/testserver/result.d.ts +1 -1
  169. package/dist/extensions/testserver/result.js +9 -4
  170. package/dist/planning/driver-file-lists.d.ts +0 -15
  171. package/dist/planning/driver-file-lists.js +2 -21
  172. package/dist/planning/plan-only.d.ts +3 -14
  173. package/dist/planning/plan-only.js +11 -20
  174. package/dist/planning/run-kind-flags.js +2 -2
  175. package/dist/planning/run-plan.d.ts +45 -12
  176. package/dist/planning/run-plan.js +4 -3
  177. package/dist/planning/suites.d.ts +1 -1
  178. package/dist/planning/suites.js +2 -2
  179. package/dist/planning/test-plan.d.ts +9 -0
  180. package/dist/planning/test-plan.js +9 -0
  181. package/dist/run-directory/recording.js +3 -3
  182. package/dist/run-directory/run-record.d.ts +26 -11
  183. package/dist/run-directory/run-record.js +16 -13
  184. package/dist/runner/base.js +1 -1
  185. package/dist/runner/build-snapshots.d.ts +60 -29
  186. package/dist/runner/build-snapshots.js +136 -29
  187. package/dist/runner/context.d.ts +15 -7
  188. package/dist/runner/context.js +19 -6
  189. package/dist/runner/events.d.ts +16 -10
  190. package/dist/runner/gateways.d.ts +122 -23
  191. package/dist/runner/gateways.js +1 -1
  192. package/dist/runner/gh.d.ts +42 -0
  193. package/dist/runner/gh.js +58 -0
  194. package/dist/runner/index.d.ts +13 -8
  195. package/dist/runner/index.js +12 -6
  196. package/dist/runner/live/checkout-gateway.js +7 -0
  197. package/dist/runner/live/gh-output.d.ts +17 -0
  198. package/dist/runner/live/gh-output.js +37 -0
  199. package/dist/runner/live/gh-token-gateway.d.ts +13 -0
  200. package/dist/runner/live/gh-token-gateway.js +51 -0
  201. package/dist/runner/live/sandbox-errors.d.ts +2 -0
  202. package/dist/runner/live/sandbox-errors.js +4 -0
  203. package/dist/runner/live/sandbox-gateway.js +140 -4
  204. package/dist/runner/live/snapshot-index-gateway.d.ts +12 -0
  205. package/dist/runner/live/{snapshot-cache-gateway.js → snapshot-index-gateway.js} +11 -11
  206. package/dist/runner/live/snapshot-records.js +12 -12
  207. package/dist/runner/local-snapshot-index.d.ts +205 -0
  208. package/dist/runner/local-snapshot-index.js +210 -0
  209. package/dist/runner/network-policy.d.ts +6 -6
  210. package/dist/runner/network-policy.js +7 -7
  211. package/dist/runner/policy-writes.d.ts +1 -1
  212. package/dist/runner/policy-writes.js +1 -1
  213. package/dist/runner/prepare.d.ts +14 -14
  214. package/dist/runner/prepare.js +20 -11
  215. package/dist/runner/ready.d.ts +19 -11
  216. package/dist/runner/ready.js +104 -33
  217. package/dist/runner/sandboxed-command.d.ts +3 -3
  218. package/dist/runner/sandboxed-command.js +3 -3
  219. package/dist/runner/scope.d.ts +15 -8
  220. package/dist/runner/scope.js +16 -5
  221. package/dist/runner/secrets.d.ts +41 -18
  222. package/dist/runner/secrets.js +226 -30
  223. package/dist/runner/session.d.ts +8 -8
  224. package/dist/runner/session.js +6 -3
  225. package/dist/runner/shared-snapshot-entry.d.ts +92 -0
  226. package/dist/runner/shared-snapshot-entry.js +168 -0
  227. package/dist/runner/shared-snapshot-list.d.ts +81 -0
  228. package/dist/runner/shared-snapshot-list.js +155 -0
  229. package/dist/runner/shared-snapshot-lookup.d.ts +51 -0
  230. package/dist/runner/shared-snapshot-lookup.js +118 -0
  231. package/dist/runner/shared-snapshot-prune.d.ts +58 -0
  232. package/dist/runner/shared-snapshot-prune.js +133 -0
  233. package/dist/runner/snapshot-build.d.ts +42 -14
  234. package/dist/runner/snapshot-build.js +79 -47
  235. package/dist/runner/snapshot-choice.js +2 -1
  236. package/dist/runner/snapshot-inspect.d.ts +39 -40
  237. package/dist/runner/snapshot-inspect.js +52 -35
  238. package/dist/runner/snapshot-key.d.ts +32 -17
  239. package/dist/runner/snapshot-key.js +43 -18
  240. package/dist/runner/snapshot-source.d.ts +31 -0
  241. package/dist/runner/snapshot-source.js +122 -0
  242. package/dist/runner/steps.d.ts +1 -1
  243. package/dist/runner/steps.js +1 -1
  244. package/dist/runner/{recipe-check.d.ts → vercel-sandbox-check.d.ts} +4 -2
  245. package/dist/runner/{recipe-check.js → vercel-sandbox-check.js} +7 -2
  246. package/dist/runner/{recipe.d.ts → vercel-sandbox-options.d.ts} +59 -28
  247. package/dist/runner/{recipe.js → vercel-sandbox-options.js} +128 -84
  248. package/dist/runner/vercel-sandbox-secrets.d.ts +116 -0
  249. package/dist/runner/{recipe-secrets.js → vercel-sandbox-secrets.js} +159 -26
  250. package/dist/sdk/extension/credential-diagnosis.d.ts +3 -1
  251. package/dist/sdk/extension/credential-diagnosis.js +25 -5
  252. package/dist/sdk/extension/credential-source.d.ts +20 -3
  253. package/dist/sdk/extension/credential-source.js +4 -4
  254. package/dist/sdk/extension/index.d.ts +3 -2
  255. package/dist/sdk/extension/index.js +2 -1
  256. package/dist/sdk/extension/resource-definition.d.ts +1 -1
  257. package/dist/sdk/extension/secret-source.d.ts +1 -1
  258. package/dist/sdk/extension/secret-source.js +1 -1
  259. package/dist/sdk/extension/vercel-oidc-facts.d.ts +20 -0
  260. package/dist/sdk/extension/vercel-oidc-facts.js +20 -0
  261. package/dist/shared/cleanup.d.ts +3 -3
  262. package/dist/shared/cleanup.js +15 -5
  263. package/dist/shared/snapshot-text.d.ts +4 -4
  264. package/dist/shared/snapshot-text.js +11 -11
  265. package/dist/time/duration.js +1 -1
  266. package/package.json +5 -3
  267. package/skills/overview.md +4 -4
  268. package/skills/plan-runs.md +1 -1
  269. package/skills/read-run-output.md +6 -6
  270. package/dist/application.d.ts +0 -21
  271. package/dist/application.js +0 -30
  272. package/dist/chunks/chunk-7EENF73W.js +0 -782
  273. package/dist/chunks/chunk-Z5PBVG3Y.js +0 -2599
  274. package/dist/commands/exec/across-sandboxes-run.d.ts +0 -180
  275. package/dist/commands/exec/across-sandboxes-run.js +0 -339
  276. package/dist/commands/exec/plan-only.d.ts +0 -10
  277. package/dist/commands/exec/plan-only.js +0 -45
  278. package/dist/commands/exec/run-command.d.ts +0 -475
  279. package/dist/commands/exec/run-command.js +0 -603
  280. package/dist/commands/exec/run-planned.d.ts +0 -20
  281. package/dist/commands/exec/run-planned.js +0 -22
  282. package/dist/commands/exec/sandbox-view.d.ts +0 -19
  283. package/dist/commands/exec/sandbox-view.js +0 -72
  284. package/dist/commands/test/plan.d.ts +0 -92
  285. package/dist/commands/test/plan.js +0 -125
  286. package/dist/core/sandbox-end.d.ts +0 -64
  287. package/dist/runner/live/snapshot-cache-gateway.d.ts +0 -12
  288. package/dist/runner/recipe-secrets.d.ts +0 -67
  289. package/dist/runner/snapshot-cache.d.ts +0 -148
  290. 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
+ image: 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
+ image: 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
+ image: 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: {
@@ -78,9 +183,11 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
78
183
  missing: ("project" | "scope")[];
79
184
  }]>;
80
185
  credentialsInvalid: import("@vercel/clinkr").SharedError<"credentials_invalid", [data: {
81
- variables: {
186
+ problems: {
82
187
  name: string;
83
- problem: "missing" | "multiline" | "short";
188
+ problem: "gh-failed" | "gh-not-authenticated" | "gh-not-installed" | "gh-preframed" | "gh-timed-out" | "missing" | "multiline" | "short";
189
+ detail: string;
190
+ hint: string;
84
191
  }[];
85
192
  minLength: number;
86
193
  configFile: string | null;
@@ -94,20 +201,6 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
94
201
  submodulesRefused: import("@vercel/clinkr").SharedError<"submodules_refused", [data: {
95
202
  paths: string[];
96
203
  }]>;
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
204
  runnerFailed: import("@vercel/clinkr").SharedError<"runner_failed", [data: {
112
205
  failure: {
113
206
  kind: "apply-failed" | "build-failed" | "install-failed" | "snapshot-build-step-failed";
@@ -140,7 +233,7 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
140
233
  refNotFound: z.ZodObject<{
141
234
  ref: z.ZodString;
142
235
  }, z.core.$strip>;
143
- snapshotNotCached: z.ZodObject<{
236
+ snapshotNotIndexed: z.ZodObject<{
144
237
  snapshot: z.ZodObject<{
145
238
  snapshotId: z.ZodString;
146
239
  base: z.ZodString;
@@ -150,12 +243,54 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
150
243
  message: z.ZodString;
151
244
  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
245
  }, z.core.$strip>;
246
+ mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
247
+ team: string;
248
+ project: string;
249
+ cause: string;
250
+ fix: string;
251
+ }]>;
153
252
  suiteNotFound: import("@vercel/clinkr").SharedError<"suite_not_found", [data: {
154
253
  suite: string;
155
254
  suites: string[];
156
255
  configFile: string | null;
157
256
  }]>;
257
+ tokenRequestFailed: import("@vercel/clinkr").SharedError<"token_request_failed", [data: {
258
+ cause: "request-failed" | "variables-missing";
259
+ missing: ("ACTIONS_ID_TOKEN_REQUEST_TOKEN" | "ACTIONS_ID_TOKEN_REQUEST_URL")[] | null;
260
+ status: number | null;
261
+ said: string | null;
262
+ detail: string;
263
+ fix: string;
264
+ }]>;
265
+ vercelOidcTokenFailed: import("@vercel/clinkr").SharedError<"vercel_oidc_token_failed", [data: {
266
+ cause: "invalid-token" | "missing-token";
267
+ detail: string;
268
+ fix: string;
269
+ }]>;
158
270
  }, {
271
+ readonly conflictingOptions: {
272
+ readonly exitCode: 2;
273
+ readonly description: "--suite and --all-suites were both given: --suite builds one runner, and --all-suites builds them all.";
274
+ readonly schema: z.ZodObject<{
275
+ conflicts: z.ZodArray<z.ZodObject<{
276
+ flag: z.ZodString;
277
+ message: z.ZodString;
278
+ }, z.core.$strip>>;
279
+ }, z.core.$strip>;
280
+ readonly render: ({ conflicts, }: {
281
+ readonly conflicts: readonly {
282
+ readonly flag: string;
283
+ readonly message: string;
284
+ }[];
285
+ }) => {
286
+ message: string;
287
+ rows: (readonly ["Conflicts", string[]])[];
288
+ next: {
289
+ type: "text";
290
+ text: string;
291
+ }[];
292
+ };
293
+ };
159
294
  readonly invalidConfig: import("@vercel/clinkr").SharedError<"invalid_config", [data: {
160
295
  file: string;
161
296
  problems: {
@@ -191,9 +326,11 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
191
326
  missing: ("project" | "scope")[];
192
327
  }]>;
193
328
  readonly credentialsInvalid: import("@vercel/clinkr").SharedError<"credentials_invalid", [data: {
194
- variables: {
329
+ problems: {
195
330
  name: string;
196
- problem: "missing" | "multiline" | "short";
331
+ problem: "gh-failed" | "gh-not-authenticated" | "gh-not-installed" | "gh-preframed" | "gh-timed-out" | "missing" | "multiline" | "short";
332
+ detail: string;
333
+ hint: string;
197
334
  }[];
198
335
  minLength: number;
199
336
  configFile: string | null;
@@ -207,20 +344,6 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
207
344
  readonly submodulesRefused: import("@vercel/clinkr").SharedError<"submodules_refused", [data: {
208
345
  paths: string[];
209
346
  }]>;
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
347
  readonly runnerFailed: import("@vercel/clinkr").SharedError<"runner_failed", [data: {
225
348
  failure: {
226
349
  kind: "apply-failed" | "build-failed" | "install-failed" | "snapshot-build-step-failed";
@@ -266,9 +389,9 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
266
389
  }[];
267
390
  };
268
391
  };
269
- readonly snapshotNotCached: {
392
+ readonly snapshotNotIndexed: {
270
393
  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.";
394
+ readonly description: "It built and saved the runner snapshot, but couldn't write its local snapshot index entry, so no run finds it.";
272
395
  readonly schema: z.ZodObject<{
273
396
  snapshot: z.ZodObject<{
274
397
  snapshotId: z.ZodString;
@@ -297,22 +420,44 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
297
420
  }[];
298
421
  };
299
422
  };
423
+ readonly mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
424
+ team: string;
425
+ project: string;
426
+ cause: string;
427
+ fix: string;
428
+ }]>;
300
429
  readonly suiteNotFound: import("@vercel/clinkr").SharedError<"suite_not_found", [data: {
301
430
  suite: string;
302
431
  suites: string[];
303
432
  configFile: string | null;
304
433
  }]>;
434
+ readonly tokenRequestFailed: import("@vercel/clinkr").SharedError<"token_request_failed", [data: {
435
+ cause: "request-failed" | "variables-missing";
436
+ missing: ("ACTIONS_ID_TOKEN_REQUEST_TOKEN" | "ACTIONS_ID_TOKEN_REQUEST_URL")[] | null;
437
+ status: number | null;
438
+ said: string | null;
439
+ detail: string;
440
+ fix: string;
441
+ }]>;
442
+ readonly vercelOidcTokenFailed: import("@vercel/clinkr").SharedError<"vercel_oidc_token_failed", [data: {
443
+ cause: "invalid-token" | "missing-token";
444
+ detail: string;
445
+ fix: string;
446
+ }]>;
305
447
  }>, import("@vercel/clinkr").OutcomeOf<import("@vercel/clinkr").Outcomes<{
306
448
  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;
449
+ teamId: z.ZodString;
450
+ projectId: z.ZodString;
451
+ team: z.ZodNullable<z.ZodString>;
452
+ project: z.ZodNullable<z.ZodString>;
312
453
  base: z.ZodString;
313
454
  baseRef: z.ZodString;
314
455
  uncommitted: z.ZodNullable<z.ZodBoolean>;
315
456
  atMergeBase: z.ZodNullable<z.ZodBoolean>;
457
+ ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
458
+ configFile: z.ZodNullable<z.ZodString>;
459
+ runner: z.ZodString;
460
+ head: z.ZodString;
316
461
  snapshot: z.ZodObject<{
317
462
  snapshotId: z.ZodString;
318
463
  base: z.ZodString;
@@ -320,28 +465,121 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
320
465
  }, z.core.$strip>;
321
466
  ms: z.ZodNumber;
322
467
  sizeBytes: z.ZodNumber;
468
+ sandboxName: z.ZodNullable<z.ZodString>;
469
+ localIndexWritten: z.ZodBoolean;
323
470
  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
471
  }, z.core.$strip>;
325
472
  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;
473
+ teamId: z.ZodString;
474
+ projectId: z.ZodString;
475
+ team: z.ZodNullable<z.ZodString>;
476
+ project: z.ZodNullable<z.ZodString>;
331
477
  base: z.ZodString;
332
478
  baseRef: z.ZodString;
333
479
  uncommitted: z.ZodNullable<z.ZodBoolean>;
334
480
  atMergeBase: z.ZodNullable<z.ZodBoolean>;
481
+ ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
482
+ configFile: z.ZodNullable<z.ZodString>;
483
+ runner: z.ZodString;
484
+ head: z.ZodString;
335
485
  snapshot: z.ZodObject<{
336
486
  snapshotId: z.ZodString;
337
487
  base: z.ZodString;
338
488
  expiresAt: z.ZodString;
339
489
  }, z.core.$strip>;
490
+ sandboxName: z.ZodNullable<z.ZodString>;
491
+ }, z.core.$strip>;
492
+ alreadyBuilding: z.ZodObject<{
493
+ teamId: z.ZodString;
494
+ projectId: z.ZodString;
495
+ team: z.ZodNullable<z.ZodString>;
496
+ project: z.ZodNullable<z.ZodString>;
497
+ base: z.ZodString;
498
+ baseRef: z.ZodString;
499
+ uncommitted: z.ZodNullable<z.ZodBoolean>;
500
+ atMergeBase: z.ZodNullable<z.ZodBoolean>;
501
+ ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
502
+ configFile: z.ZodNullable<z.ZodString>;
503
+ runner: z.ZodString;
504
+ head: z.ZodString;
505
+ sandboxName: z.ZodString;
506
+ status: z.ZodNullable<z.ZodString>;
507
+ }, z.core.$strip>;
508
+ allSuitesBuilt: z.ZodObject<{
509
+ teamId: z.ZodString;
510
+ projectId: z.ZodString;
511
+ team: z.ZodNullable<z.ZodString>;
512
+ project: z.ZodNullable<z.ZodString>;
513
+ configFile: z.ZodNullable<z.ZodString>;
514
+ head: z.ZodString;
515
+ runners: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
516
+ base: z.ZodString;
517
+ baseRef: z.ZodString;
518
+ uncommitted: z.ZodNullable<z.ZodBoolean>;
519
+ atMergeBase: z.ZodNullable<z.ZodBoolean>;
520
+ ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
521
+ runner: z.ZodString;
522
+ region: z.ZodString;
523
+ image: z.ZodString;
524
+ topLevel: z.ZodBoolean;
525
+ suites: z.ZodArray<z.ZodString>;
526
+ result: z.ZodLiteral<"built">;
527
+ snapshot: z.ZodObject<{
528
+ snapshotId: z.ZodString;
529
+ base: z.ZodString;
530
+ expiresAt: z.ZodString;
531
+ }, z.core.$strip>;
532
+ sandboxName: z.ZodNullable<z.ZodString>;
533
+ ms: z.ZodNumber;
534
+ sizeBytes: z.ZodNumber;
535
+ localIndexWritten: z.ZodBoolean;
536
+ }, z.core.$strip>, z.ZodObject<{
537
+ base: z.ZodString;
538
+ baseRef: z.ZodString;
539
+ uncommitted: z.ZodNullable<z.ZodBoolean>;
540
+ atMergeBase: z.ZodNullable<z.ZodBoolean>;
541
+ ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
542
+ runner: z.ZodString;
543
+ region: z.ZodString;
544
+ image: z.ZodString;
545
+ topLevel: z.ZodBoolean;
546
+ suites: z.ZodArray<z.ZodString>;
547
+ result: z.ZodLiteral<"up_to_date">;
548
+ snapshot: z.ZodObject<{
549
+ snapshotId: z.ZodString;
550
+ base: z.ZodString;
551
+ expiresAt: z.ZodString;
552
+ }, z.core.$strip>;
553
+ sandboxName: z.ZodNullable<z.ZodString>;
554
+ }, z.core.$strip>, z.ZodObject<{
555
+ base: z.ZodString;
556
+ baseRef: z.ZodString;
557
+ uncommitted: z.ZodNullable<z.ZodBoolean>;
558
+ atMergeBase: z.ZodNullable<z.ZodBoolean>;
559
+ ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
560
+ runner: z.ZodString;
561
+ region: z.ZodString;
562
+ image: z.ZodString;
563
+ topLevel: z.ZodBoolean;
564
+ suites: z.ZodArray<z.ZodString>;
565
+ result: z.ZodLiteral<"already_building">;
566
+ sandboxName: z.ZodString;
567
+ status: z.ZodNullable<z.ZodString>;
568
+ }, z.core.$strip>], "result">>;
569
+ 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
570
  }, z.core.$strip>;
341
571
  }, {
342
572
  built: unknown;
343
573
  upToDate: unknown;
574
+ alreadyBuilding: unknown;
575
+ allSuitesBuilt: unknown;
344
576
  }, {
577
+ conflictingOptions: z.ZodObject<{
578
+ conflicts: z.ZodArray<z.ZodObject<{
579
+ flag: z.ZodString;
580
+ message: z.ZodString;
581
+ }, z.core.$strip>>;
582
+ }, z.core.$strip>;
345
583
  invalidConfig: import("@vercel/clinkr").SharedError<"invalid_config", [data: {
346
584
  file: string;
347
585
  problems: {
@@ -364,9 +602,11 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
364
602
  missing: ("project" | "scope")[];
365
603
  }]>;
366
604
  credentialsInvalid: import("@vercel/clinkr").SharedError<"credentials_invalid", [data: {
367
- variables: {
605
+ problems: {
368
606
  name: string;
369
- problem: "missing" | "multiline" | "short";
607
+ problem: "gh-failed" | "gh-not-authenticated" | "gh-not-installed" | "gh-preframed" | "gh-timed-out" | "missing" | "multiline" | "short";
608
+ detail: string;
609
+ hint: string;
370
610
  }[];
371
611
  minLength: number;
372
612
  configFile: string | null;
@@ -380,20 +620,6 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
380
620
  submodulesRefused: import("@vercel/clinkr").SharedError<"submodules_refused", [data: {
381
621
  paths: string[];
382
622
  }]>;
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
623
  runnerFailed: import("@vercel/clinkr").SharedError<"runner_failed", [data: {
398
624
  failure: {
399
625
  kind: "apply-failed" | "build-failed" | "install-failed" | "snapshot-build-step-failed";
@@ -426,7 +652,7 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
426
652
  refNotFound: z.ZodObject<{
427
653
  ref: z.ZodString;
428
654
  }, z.core.$strip>;
429
- snapshotNotCached: z.ZodObject<{
655
+ snapshotNotIndexed: z.ZodObject<{
430
656
  snapshot: z.ZodObject<{
431
657
  snapshotId: z.ZodString;
432
658
  base: z.ZodString;
@@ -436,12 +662,54 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
436
662
  message: z.ZodString;
437
663
  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
664
  }, z.core.$strip>;
665
+ mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
666
+ team: string;
667
+ project: string;
668
+ cause: string;
669
+ fix: string;
670
+ }]>;
439
671
  suiteNotFound: import("@vercel/clinkr").SharedError<"suite_not_found", [data: {
440
672
  suite: string;
441
673
  suites: string[];
442
674
  configFile: string | null;
443
675
  }]>;
676
+ tokenRequestFailed: import("@vercel/clinkr").SharedError<"token_request_failed", [data: {
677
+ cause: "request-failed" | "variables-missing";
678
+ missing: ("ACTIONS_ID_TOKEN_REQUEST_TOKEN" | "ACTIONS_ID_TOKEN_REQUEST_URL")[] | null;
679
+ status: number | null;
680
+ said: string | null;
681
+ detail: string;
682
+ fix: string;
683
+ }]>;
684
+ vercelOidcTokenFailed: import("@vercel/clinkr").SharedError<"vercel_oidc_token_failed", [data: {
685
+ cause: "invalid-token" | "missing-token";
686
+ detail: string;
687
+ fix: string;
688
+ }]>;
444
689
  }, {
690
+ readonly conflictingOptions: {
691
+ readonly exitCode: 2;
692
+ readonly description: "--suite and --all-suites were both given: --suite builds one runner, and --all-suites builds them all.";
693
+ readonly schema: z.ZodObject<{
694
+ conflicts: z.ZodArray<z.ZodObject<{
695
+ flag: z.ZodString;
696
+ message: z.ZodString;
697
+ }, z.core.$strip>>;
698
+ }, z.core.$strip>;
699
+ readonly render: ({ conflicts, }: {
700
+ readonly conflicts: readonly {
701
+ readonly flag: string;
702
+ readonly message: string;
703
+ }[];
704
+ }) => {
705
+ message: string;
706
+ rows: (readonly ["Conflicts", string[]])[];
707
+ next: {
708
+ type: "text";
709
+ text: string;
710
+ }[];
711
+ };
712
+ };
445
713
  readonly invalidConfig: import("@vercel/clinkr").SharedError<"invalid_config", [data: {
446
714
  file: string;
447
715
  problems: {
@@ -477,9 +745,11 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
477
745
  missing: ("project" | "scope")[];
478
746
  }]>;
479
747
  readonly credentialsInvalid: import("@vercel/clinkr").SharedError<"credentials_invalid", [data: {
480
- variables: {
748
+ problems: {
481
749
  name: string;
482
- problem: "missing" | "multiline" | "short";
750
+ problem: "gh-failed" | "gh-not-authenticated" | "gh-not-installed" | "gh-preframed" | "gh-timed-out" | "missing" | "multiline" | "short";
751
+ detail: string;
752
+ hint: string;
483
753
  }[];
484
754
  minLength: number;
485
755
  configFile: string | null;
@@ -493,20 +763,6 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
493
763
  readonly submodulesRefused: import("@vercel/clinkr").SharedError<"submodules_refused", [data: {
494
764
  paths: string[];
495
765
  }]>;
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
766
  readonly runnerFailed: import("@vercel/clinkr").SharedError<"runner_failed", [data: {
511
767
  failure: {
512
768
  kind: "apply-failed" | "build-failed" | "install-failed" | "snapshot-build-step-failed";
@@ -552,9 +808,9 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
552
808
  }[];
553
809
  };
554
810
  };
555
- readonly snapshotNotCached: {
811
+ readonly snapshotNotIndexed: {
556
812
  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.";
813
+ readonly description: "It built and saved the runner snapshot, but couldn't write its local snapshot index entry, so no run finds it.";
558
814
  readonly schema: z.ZodObject<{
559
815
  snapshot: z.ZodObject<{
560
816
  snapshotId: z.ZodString;
@@ -583,10 +839,29 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
583
839
  }[];
584
840
  };
585
841
  };
842
+ readonly mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
843
+ team: string;
844
+ project: string;
845
+ cause: string;
846
+ fix: string;
847
+ }]>;
586
848
  readonly suiteNotFound: import("@vercel/clinkr").SharedError<"suite_not_found", [data: {
587
849
  suite: string;
588
850
  suites: string[];
589
851
  configFile: string | null;
590
852
  }]>;
591
- }>>, import("../../../context.ts").StormApp, false>;
853
+ readonly tokenRequestFailed: import("@vercel/clinkr").SharedError<"token_request_failed", [data: {
854
+ cause: "request-failed" | "variables-missing";
855
+ missing: ("ACTIONS_ID_TOKEN_REQUEST_TOKEN" | "ACTIONS_ID_TOKEN_REQUEST_URL")[] | null;
856
+ status: number | null;
857
+ said: string | null;
858
+ detail: string;
859
+ fix: string;
860
+ }]>;
861
+ readonly vercelOidcTokenFailed: import("@vercel/clinkr").SharedError<"vercel_oidc_token_failed", [data: {
862
+ cause: "invalid-token" | "missing-token";
863
+ detail: string;
864
+ fix: string;
865
+ }]>;
866
+ }>>, StormApp, false>;
592
867
  export default _default;