@cnc-tools/storm 0.17.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 (129) hide show
  1. package/dist/bin/storm.js +37 -39
  2. package/dist/build-info.js +1 -1
  3. package/dist/chunks/{chunk-4WAMTUWZ.js → chunk-24UYAK4R.js} +88 -67
  4. package/dist/chunks/{chunk-RNAS7JHE.js → chunk-2JMWUKH3.js} +710 -102
  5. package/dist/chunks/{chunk-YEPFSLQR.js → chunk-3VXZONGE.js} +2 -2
  6. package/dist/chunks/{chunk-D27KILIA.js → chunk-55O4FCN4.js} +1 -1
  7. package/dist/chunks/{chunk-JN3YY6ZH.js → chunk-AS37D43E.js} +27 -20
  8. package/dist/chunks/{chunk-2VP4GRJM.js → chunk-CQAY6GLP.js} +54 -13
  9. package/dist/chunks/{chunk-MR77L2GK.js → chunk-DZLU7BYK.js} +5 -5
  10. package/dist/chunks/{chunk-LKTZ5OXS.js → chunk-EI3XDCEI.js} +1 -1
  11. package/dist/chunks/{chunk-FNBB6V4R.js → chunk-FDUY3BNF.js} +1 -1
  12. package/dist/chunks/{chunk-RWIXDDCK.js → chunk-GUCCYCIO.js} +3 -3
  13. package/dist/chunks/{chunk-6UHIJXZG.js → chunk-HBI4LEMH.js} +2 -2
  14. package/dist/chunks/{chunk-CKGZA25H.js → chunk-K4MDQPLW.js} +1 -1
  15. package/dist/chunks/{chunk-F4MOYHRY.js → chunk-KK7PAWIZ.js} +1 -1
  16. package/dist/chunks/{chunk-GRT3UIBV.js → chunk-KQ5FXRUD.js} +1 -1
  17. package/dist/chunks/{chunk-WV3DP6NR.js → chunk-LKXHGGGX.js} +1 -1
  18. package/dist/chunks/{chunk-4O5C2XGJ.js → chunk-LOGHIUUB.js} +6 -6
  19. package/dist/chunks/{chunk-7DZE67QM.js → chunk-OEPFINFT.js} +2 -2
  20. package/dist/chunks/{chunk-HWIQ2S7K.js → chunk-OI4AP6Z7.js} +3 -3
  21. package/dist/chunks/{chunk-DADEYJDW.js → chunk-PMBQWVTW.js} +6 -6
  22. package/dist/chunks/{chunk-HP3CURSZ.js → chunk-SZMYIIG2.js} +2 -2
  23. package/dist/chunks/{chunk-2RNDPDTJ.js → chunk-TXCOFC7N.js} +2 -2
  24. package/dist/chunks/{chunk-BCBKYOHW.js → chunk-UXD3TVWM.js} +1 -1
  25. package/dist/chunks/{chunk-M7EKRGVD.js → chunk-WNW2QXQK.js} +1 -1
  26. package/dist/chunks/{live-app-R76JQXZL.js → live-app-UY7BEDUN.js} +9 -7
  27. package/dist/cli.d.ts +28 -0
  28. package/dist/cli.js +64 -0
  29. package/dist/commands/exec/across-sandboxes-outcomes.d.ts +1 -1
  30. package/dist/commands/exec/across-sandboxes-outcomes.js +1 -1
  31. package/dist/commands/exec/before-run.d.ts +1 -1
  32. package/dist/commands/exec/command.d.ts +36 -12
  33. package/dist/commands/exec/command.js +18 -18
  34. package/dist/commands/exec/execute-run.js +1 -1
  35. package/dist/commands/exec/outcomes.d.ts +71 -15
  36. package/dist/commands/exec/outcomes.js +46 -6
  37. package/dist/commands/exec/plan-run.d.ts +1 -1
  38. package/dist/commands/exec/plan-run.js +8 -3
  39. package/dist/commands/exec/run-metadata.js +1 -1
  40. package/dist/commands/exec/run-summary.js +1 -1
  41. package/dist/commands/runs/facts.d.ts +1 -1
  42. package/dist/commands/runs/facts.js +2 -2
  43. package/dist/commands/runs/list/command.d.ts +2 -2
  44. package/dist/commands/runs/list/command.js +9 -9
  45. package/dist/commands/runs/list/outcomes.d.ts +1 -1
  46. package/dist/commands/runs/logs/command.js +9 -9
  47. package/dist/commands/runs/show/command.d.ts +2 -2
  48. package/dist/commands/runs/show/command.js +16 -16
  49. package/dist/commands/runs/show/metadata.js +1 -1
  50. package/dist/commands/runs/show/outcomes.d.ts +1 -1
  51. package/dist/commands/runs/show/outcomes.js +1 -1
  52. package/dist/commands/snapshots/build/command.d.ts +22 -14
  53. package/dist/commands/snapshots/build/command.js +32 -30
  54. package/dist/commands/snapshots/build/metadata.js +1 -1
  55. package/dist/commands/snapshots/build/outcomes.d.ts +14 -10
  56. package/dist/commands/snapshots/build/outcomes.js +1 -1
  57. package/dist/commands/snapshots/list/command.d.ts +2 -2
  58. package/dist/commands/snapshots/list/command.js +19 -19
  59. package/dist/commands/snapshots/list/outcomes.d.ts +2 -2
  60. package/dist/commands/snapshots/list/outcomes.js +3 -3
  61. package/dist/commands/snapshots/prune/command.js +14 -14
  62. package/dist/commands/suites/list/command.js +10 -10
  63. package/dist/commands/test/command.d.ts +36 -12
  64. package/dist/commands/test/command.js +20 -20
  65. package/dist/commands/test/outcomes.d.ts +18 -6
  66. package/dist/config-file/define.d.ts +1 -1
  67. package/dist/config-file/toolchain.d.ts +13 -3
  68. package/dist/config-file/toolchain.js +41 -5
  69. package/dist/context.d.ts +3 -1
  70. package/dist/context.js +2 -1
  71. package/dist/core/outcomes.d.ts +1 -1
  72. package/dist/core/run.js +1 -1
  73. package/dist/extension-commands.d.ts +2 -7
  74. package/dist/extension-commands.js +3 -17
  75. package/dist/extensions/testserver/commands/pool/create/command.js +3 -3
  76. package/dist/extensions/testserver/commands/pool/list/command.js +2 -2
  77. package/dist/run-directory/recording.js +1 -1
  78. package/dist/run-directory/run-record.d.ts +5 -5
  79. package/dist/run-directory/run-record.js +5 -5
  80. package/dist/runner/build-snapshots.d.ts +5 -0
  81. package/dist/runner/build-snapshots.js +11 -5
  82. package/dist/runner/gateways.d.ts +37 -4
  83. package/dist/runner/gh.d.ts +42 -0
  84. package/dist/runner/gh.js +58 -0
  85. package/dist/runner/index.d.ts +5 -4
  86. package/dist/runner/index.js +3 -2
  87. package/dist/runner/live/checkout-gateway.js +7 -0
  88. package/dist/runner/live/gh-output.d.ts +17 -0
  89. package/dist/runner/live/gh-output.js +37 -0
  90. package/dist/runner/live/gh-token-gateway.d.ts +13 -0
  91. package/dist/runner/live/gh-token-gateway.js +51 -0
  92. package/dist/runner/live/sandbox-gateway.js +12 -2
  93. package/dist/runner/live/snapshot-records.js +10 -9
  94. package/dist/runner/local-snapshot-index.d.ts +11 -5
  95. package/dist/runner/local-snapshot-index.js +13 -14
  96. package/dist/runner/ready.d.ts +1 -1
  97. package/dist/runner/ready.js +1 -1
  98. package/dist/runner/scope.d.ts +5 -2
  99. package/dist/runner/scope.js +6 -2
  100. package/dist/runner/secrets.d.ts +37 -14
  101. package/dist/runner/secrets.js +218 -25
  102. package/dist/runner/session.js +3 -0
  103. package/dist/runner/shared-snapshot-entry.d.ts +3 -3
  104. package/dist/runner/shared-snapshot-entry.js +4 -4
  105. package/dist/runner/shared-snapshot-list.d.ts +1 -1
  106. package/dist/runner/shared-snapshot-list.js +1 -1
  107. package/dist/runner/shared-snapshot-lookup.d.ts +1 -1
  108. package/dist/runner/shared-snapshot-lookup.js +1 -1
  109. package/dist/runner/snapshot-build.js +54 -25
  110. package/dist/runner/snapshot-choice.js +1 -0
  111. package/dist/runner/snapshot-inspect.js +2 -5
  112. package/dist/runner/snapshot-key.d.ts +21 -7
  113. package/dist/runner/snapshot-key.js +31 -7
  114. package/dist/runner/snapshot-source.d.ts +31 -0
  115. package/dist/runner/snapshot-source.js +122 -0
  116. package/dist/runner/vercel-sandbox-check.d.ts +2 -0
  117. package/dist/runner/vercel-sandbox-check.js +6 -2
  118. package/dist/runner/vercel-sandbox-options.d.ts +36 -6
  119. package/dist/runner/vercel-sandbox-options.js +62 -19
  120. package/dist/runner/vercel-sandbox-secrets.d.ts +55 -6
  121. package/dist/runner/vercel-sandbox-secrets.js +142 -9
  122. package/dist/sdk/extension/commands.d.ts +3 -8
  123. package/dist/sdk/extension/commands.js +1 -3
  124. package/package.json +4 -3
  125. package/skills/overview.md +1 -1
  126. package/dist/application.d.ts +0 -30
  127. package/dist/application.js +0 -41
  128. package/dist/bin/run.d.ts +0 -18
  129. package/dist/bin/run.js +0 -31
@@ -3,13 +3,13 @@ import {
3
3
  SNAPSHOT_ACCESS_CLI,
4
4
  SNAPSHOT_ACCESS_FIELDS,
5
5
  settleSnapshotAccess
6
- } from "../../../chunks/chunk-HP3CURSZ.js";
6
+ } from "../../../chunks/chunk-SZMYIIG2.js";
7
7
  import {
8
8
  suiteNotFoundErrors
9
- } from "../../../chunks/chunk-7DZE67QM.js";
9
+ } from "../../../chunks/chunk-OEPFINFT.js";
10
10
  import {
11
11
  lineProgress
12
- } from "../../../chunks/chunk-MR77L2GK.js";
12
+ } from "../../../chunks/chunk-DZLU7BYK.js";
13
13
  import "../../../chunks/chunk-I5GZLOLQ.js";
14
14
  import {
15
15
  RUN_CLEANUP,
@@ -18,30 +18,30 @@ import {
18
18
  prepareRefusal,
19
19
  runErrors,
20
20
  runnerFailureFacts
21
- } from "../../../chunks/chunk-2VP4GRJM.js";
21
+ } from "../../../chunks/chunk-CQAY6GLP.js";
22
22
  import {
23
23
  redactStrings,
24
24
  redactor
25
- } from "../../../chunks/chunk-FNBB6V4R.js";
26
- import "../../../chunks/chunk-M7EKRGVD.js";
27
- import "../../../chunks/chunk-F4MOYHRY.js";
28
- import "../../../chunks/chunk-HWIQ2S7K.js";
25
+ } from "../../../chunks/chunk-FDUY3BNF.js";
26
+ import "../../../chunks/chunk-WNW2QXQK.js";
27
+ import "../../../chunks/chunk-KK7PAWIZ.js";
28
+ import "../../../chunks/chunk-OI4AP6Z7.js";
29
29
  import "../../../chunks/chunk-EEENLQHE.js";
30
30
  import "../../../chunks/chunk-72ZFEMAW.js";
31
- import "../../../chunks/chunk-D27KILIA.js";
32
- import "../../../chunks/chunk-2RNDPDTJ.js";
31
+ import "../../../chunks/chunk-55O4FCN4.js";
32
+ import "../../../chunks/chunk-TXCOFC7N.js";
33
33
  import {
34
34
  renderOutcome
35
- } from "../../../chunks/chunk-LKTZ5OXS.js";
35
+ } from "../../../chunks/chunk-EI3XDCEI.js";
36
36
  import {
37
37
  seconds,
38
38
  short
39
- } from "../../../chunks/chunk-GRT3UIBV.js";
40
- import "../../../chunks/chunk-4O5C2XGJ.js";
39
+ } from "../../../chunks/chunk-KQ5FXRUD.js";
40
+ import "../../../chunks/chunk-LOGHIUUB.js";
41
41
  import "../../../chunks/chunk-F6N34UWB.js";
42
42
  import {
43
43
  megabytesText
44
- } from "../../../chunks/chunk-YEPFSLQR.js";
44
+ } from "../../../chunks/chunk-3VXZONGE.js";
45
45
  import {
46
46
  buildSnapshots,
47
47
  configErrors,
@@ -51,17 +51,18 @@ import {
51
51
  effectiveConfig,
52
52
  fileSettings,
53
53
  prepareSnapshotBuild,
54
- readCredentials
55
- } from "../../../chunks/chunk-RNAS7JHE.js";
54
+ readCredentials,
55
+ sameSnapshotBuild
56
+ } from "../../../chunks/chunk-2JMWUKH3.js";
56
57
  import {
57
58
  SECRET_MIN_LENGTH
58
59
  } from "../../../chunks/chunk-XBDRVFEV.js";
59
60
  import {
60
61
  stormCommands
61
- } from "../../../chunks/chunk-WV3DP6NR.js";
62
+ } from "../../../chunks/chunk-LKXHGGGX.js";
62
63
  import {
63
64
  defineOutcomes
64
- } from "../../../chunks/chunk-4WAMTUWZ.js";
65
+ } from "../../../chunks/chunk-24UYAK4R.js";
65
66
 
66
67
  // src/commands/snapshots/build/command.ts
67
68
  import { z as z2 } from "zod";
@@ -142,7 +143,7 @@ var alreadyBuildingSchema = z.object({
142
143
  var runnerBuildCommon = {
143
144
  runner: z.string(),
144
145
  region: z.string(),
145
- runtime: z.string(),
146
+ image: z.string(),
146
147
  /** Whether the top-level runner uses this runner configuration. */
147
148
  topLevel: z.boolean(),
148
149
  /** The suites whose effective runner uses this runner configuration, in declaration order. */
@@ -407,10 +408,10 @@ var command_default = stormCommands.define({
407
408
  if (!resolved.ok) return resolved.refusal;
408
409
  const chosen = settleSnapshotAccess(app, request.credential, resolved.settings, ui.progress);
409
410
  if (!chosen.ok) return chosen.refusal;
410
- const redact = redactor(resolved.targets.flatMap(({ options }) => declaredSecretValues(options, app.env)));
411
- const planning = await planBuilds(app, request, resolved.targets, { configFile, redact });
411
+ const baseSecrets = resolved.targets.flatMap(({ options }) => declaredSecretValues(options, app.env));
412
+ const planning = await planBuilds(app, request, resolved.targets, { configFile, baseSecrets });
412
413
  if (!planning.ok) return planning.refusal;
413
- const { builds } = planning;
414
+ const { builds, redact } = planning;
414
415
  const progress = buildProgress(app, ui.progress, (line) => redactStrings(line, redact));
415
416
  const single = request.allSuites ? void 0 : builds[0].build;
416
417
  if (single !== void 0 && single.ref === null && single.mergeBase !== null)
@@ -455,22 +456,25 @@ var command_default = stormCommands.define({
455
456
  }
456
457
  });
457
458
  async function planBuilds(app, request, targets, words) {
458
- const { configFile, redact } = words;
459
+ const { configFile, baseSecrets } = words;
459
460
  const credentialsByRunner = /* @__PURE__ */ new Map();
461
+ const resolvedSecrets = [...baseSecrets];
460
462
  for (const { options } of targets) {
461
463
  if (credentialsByRunner.has(options)) continue;
462
- const credentials = readCredentials(options, app.env);
464
+ const credentials = await readCredentials(options, app.env, app.context);
463
465
  if (!credentials.ok)
464
466
  return {
465
467
  ok: false,
466
468
  refusal: runErrors.credentialsInvalid({
467
- variables: credentials.variables.map(({ name, problem }) => ({ name, problem })),
469
+ problems: credentials.problems.map(({ name, problem, detail, hint }) => ({ name, problem, detail, hint })),
468
470
  minLength: SECRET_MIN_LENGTH,
469
471
  configFile
470
472
  })
471
473
  };
472
474
  credentialsByRunner.set(options, credentials.credentials);
475
+ resolvedSecrets.push(...credentials.secrets);
473
476
  }
477
+ const redact = redactor(resolvedSecrets);
474
478
  const preparedByRunner = /* @__PURE__ */ new Map();
475
479
  const builds = [];
476
480
  for (const { suite, options } of targets) {
@@ -489,9 +493,7 @@ async function planBuilds(app, request, targets, words) {
489
493
  preparedByRunner.set(options, build);
490
494
  }
491
495
  const { plan } = build;
492
- let same = builds.find(
493
- ({ build: { plan: seen } }) => seen.options.name === plan.options.name && seen.options.region === plan.options.region && seen.options.runtime === plan.options.runtime && seen.snapshotKey === plan.snapshotKey
494
- );
496
+ let same = builds.find(({ build: { plan: seen } }) => sameSnapshotBuild(seen, plan));
495
497
  if (same === void 0) {
496
498
  same = { build, credentials: credentialsByRunner.get(options) ?? [], topLevel: false, suites: [] };
497
499
  builds.push(same);
@@ -499,7 +501,7 @@ async function planBuilds(app, request, targets, words) {
499
501
  if (suite === null) same.topLevel = true;
500
502
  else same.suites.push(suite);
501
503
  }
502
- return { ok: true, builds };
504
+ return { ok: true, builds, redact };
503
505
  }
504
506
  function labeledProgress(planned, progress, heading) {
505
507
  const { build } = planned;
@@ -522,7 +524,7 @@ function runnerBuildFacts(outcome, planned) {
522
524
  const facts = {
523
525
  runner: options.name,
524
526
  region: options.region,
525
- runtime: options.runtime,
527
+ image: options.image,
526
528
  topLevel,
527
529
  suites: [...suites],
528
530
  base: build.plan.base,
@@ -12,7 +12,7 @@ var metadata = {
12
12
  description: "Build for the named suite's effective runner from storm.config.ts instead of the top-level runner. Not with --all-suites."
13
13
  },
14
14
  allSuites: {
15
- description: "Build for the top-level runner and each suite's effective runner, in the order storm.config.ts declares them, skipping launchMachine() runners. Runners with the same name, region, runtime, and snapshot key share one build. It obtains one credential for every build, and stops at the first build that fails or is canceled. With --base, every runner builds at that commit, and the result warns as a single build does. Not with --suite."
15
+ description: "Build for the top-level runner and each suite's effective runner, in the order storm.config.ts declares them, skipping launchMachine() runners. Runners with the same name, region, image, and snapshot key share one build. It obtains one credential for every build, and stops at the first build that fails or is canceled. With --base, every runner builds at that commit, and the result warns as a single build does. Not with --suite."
16
16
  },
17
17
  full: {
18
18
  description: "Build a new runner snapshot at the commit whatever the local snapshot index holds, replacing the entry at that commit. With --publish, it replaces the shared snapshot index entry too, unless another build owns it."
@@ -21,7 +21,7 @@ declare const runnerBuildSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
21
21
  ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
22
22
  runner: z.ZodString;
23
23
  region: z.ZodString;
24
- runtime: z.ZodString;
24
+ image: z.ZodString;
25
25
  topLevel: z.ZodBoolean;
26
26
  suites: z.ZodArray<z.ZodString>;
27
27
  result: z.ZodLiteral<"built">;
@@ -42,7 +42,7 @@ declare const runnerBuildSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
42
42
  ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
43
43
  runner: z.ZodString;
44
44
  region: z.ZodString;
45
- runtime: z.ZodString;
45
+ image: z.ZodString;
46
46
  topLevel: z.ZodBoolean;
47
47
  suites: z.ZodArray<z.ZodString>;
48
48
  result: z.ZodLiteral<"up_to_date">;
@@ -60,7 +60,7 @@ declare const runnerBuildSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
60
60
  ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
61
61
  runner: z.ZodString;
62
62
  region: z.ZodString;
63
- runtime: z.ZodString;
63
+ image: z.ZodString;
64
64
  topLevel: z.ZodBoolean;
65
65
  suites: z.ZodArray<z.ZodString>;
66
66
  result: z.ZodLiteral<"already_building">;
@@ -151,7 +151,7 @@ export declare const outcomes: import("@vercel/clinkr").Outcomes<{
151
151
  ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
152
152
  runner: z.ZodString;
153
153
  region: z.ZodString;
154
- runtime: z.ZodString;
154
+ image: z.ZodString;
155
155
  topLevel: z.ZodBoolean;
156
156
  suites: z.ZodArray<z.ZodString>;
157
157
  result: z.ZodLiteral<"built">;
@@ -172,7 +172,7 @@ export declare const outcomes: import("@vercel/clinkr").Outcomes<{
172
172
  ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
173
173
  runner: z.ZodString;
174
174
  region: z.ZodString;
175
- runtime: z.ZodString;
175
+ image: z.ZodString;
176
176
  topLevel: z.ZodBoolean;
177
177
  suites: z.ZodArray<z.ZodString>;
178
178
  result: z.ZodLiteral<"up_to_date">;
@@ -190,7 +190,7 @@ export declare const outcomes: import("@vercel/clinkr").Outcomes<{
190
190
  ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
191
191
  runner: z.ZodString;
192
192
  region: z.ZodString;
193
- runtime: z.ZodString;
193
+ image: z.ZodString;
194
194
  topLevel: z.ZodBoolean;
195
195
  suites: z.ZodArray<z.ZodString>;
196
196
  result: z.ZodLiteral<"already_building">;
@@ -233,9 +233,11 @@ export declare const outcomes: import("@vercel/clinkr").Outcomes<{
233
233
  missing: ("project" | "scope")[];
234
234
  }]>;
235
235
  credentialsInvalid: import("@vercel/clinkr").SharedError<"credentials_invalid", [data: {
236
- variables: {
236
+ problems: {
237
237
  name: string;
238
- problem: "missing" | "multiline" | "short";
238
+ problem: "gh-failed" | "gh-not-authenticated" | "gh-not-installed" | "gh-preframed" | "gh-timed-out" | "missing" | "multiline" | "short";
239
+ detail: string;
240
+ hint: string;
239
241
  }[];
240
242
  minLength: number;
241
243
  configFile: string | null;
@@ -374,9 +376,11 @@ export declare const outcomes: import("@vercel/clinkr").Outcomes<{
374
376
  missing: ("project" | "scope")[];
375
377
  }]>;
376
378
  readonly credentialsInvalid: import("@vercel/clinkr").SharedError<"credentials_invalid", [data: {
377
- variables: {
379
+ problems: {
378
380
  name: string;
379
- problem: "missing" | "multiline" | "short";
381
+ problem: "gh-failed" | "gh-not-authenticated" | "gh-not-installed" | "gh-preframed" | "gh-timed-out" | "missing" | "multiline" | "short";
382
+ detail: string;
383
+ hint: string;
380
384
  }[];
381
385
  minLength: number;
382
386
  configFile: string | null;
@@ -87,7 +87,7 @@ const alreadyBuildingSchema = z.object({
87
87
  const runnerBuildCommon = {
88
88
  runner: z.string(),
89
89
  region: z.string(),
90
- runtime: z.string(),
90
+ image: z.string(),
91
91
  /** Whether the top-level runner uses this runner configuration. */
92
92
  topLevel: z.boolean(),
93
93
  /** The suites whose effective runner uses this runner configuration, in declaration order. */
@@ -46,7 +46,7 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
46
46
  snapshotId: z.ZodString;
47
47
  runner: z.ZodString;
48
48
  region: z.ZodString;
49
- runtime: z.ZodString;
49
+ image: z.ZodString;
50
50
  teamId: z.ZodString;
51
51
  projectId: z.ZodString;
52
52
  base: z.ZodString;
@@ -355,7 +355,7 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
355
355
  snapshotId: z.ZodString;
356
356
  runner: z.ZodString;
357
357
  region: z.ZodString;
358
- runtime: z.ZodString;
358
+ image: z.ZodString;
359
359
  teamId: z.ZodString;
360
360
  projectId: z.ZodString;
361
361
  base: z.ZodString;
@@ -5,38 +5,38 @@ import {
5
5
  projectDisplayText,
6
6
  settleSnapshotAccess,
7
7
  sharedListFailedError
8
- } from "../../../chunks/chunk-HP3CURSZ.js";
8
+ } from "../../../chunks/chunk-SZMYIIG2.js";
9
9
  import {
10
10
  suiteNotFoundErrors
11
- } from "../../../chunks/chunk-7DZE67QM.js";
11
+ } from "../../../chunks/chunk-OEPFINFT.js";
12
12
  import {
13
13
  runErrors
14
- } from "../../../chunks/chunk-2VP4GRJM.js";
14
+ } from "../../../chunks/chunk-CQAY6GLP.js";
15
15
  import {
16
16
  redactor
17
- } from "../../../chunks/chunk-FNBB6V4R.js";
17
+ } from "../../../chunks/chunk-FDUY3BNF.js";
18
18
  import {
19
19
  REJECTIONS_SHOWN,
20
20
  REJECTION_REASONS,
21
21
  builtAtText,
22
22
  rejectionText
23
- } from "../../../chunks/chunk-M7EKRGVD.js";
24
- import "../../../chunks/chunk-F4MOYHRY.js";
25
- import "../../../chunks/chunk-HWIQ2S7K.js";
23
+ } from "../../../chunks/chunk-WNW2QXQK.js";
24
+ import "../../../chunks/chunk-KK7PAWIZ.js";
25
+ import "../../../chunks/chunk-OI4AP6Z7.js";
26
26
  import "../../../chunks/chunk-EEENLQHE.js";
27
27
  import "../../../chunks/chunk-72ZFEMAW.js";
28
- import "../../../chunks/chunk-D27KILIA.js";
29
- import "../../../chunks/chunk-2RNDPDTJ.js";
28
+ import "../../../chunks/chunk-55O4FCN4.js";
29
+ import "../../../chunks/chunk-TXCOFC7N.js";
30
30
  import {
31
31
  path,
32
32
  renderOutcome
33
- } from "../../../chunks/chunk-LKTZ5OXS.js";
33
+ } from "../../../chunks/chunk-EI3XDCEI.js";
34
34
  import {
35
35
  short
36
- } from "../../../chunks/chunk-GRT3UIBV.js";
37
- import "../../../chunks/chunk-4O5C2XGJ.js";
36
+ } from "../../../chunks/chunk-KQ5FXRUD.js";
37
+ import "../../../chunks/chunk-LOGHIUUB.js";
38
38
  import "../../../chunks/chunk-F6N34UWB.js";
39
- import "../../../chunks/chunk-YEPFSLQR.js";
39
+ import "../../../chunks/chunk-3VXZONGE.js";
40
40
  import {
41
41
  configErrors,
42
42
  credentialErrors,
@@ -48,14 +48,14 @@ import {
48
48
  invalidConfig,
49
49
  listSharedSnapshots,
50
50
  pickSnapshotAcrossIndexes
51
- } from "../../../chunks/chunk-RNAS7JHE.js";
51
+ } from "../../../chunks/chunk-2JMWUKH3.js";
52
52
  import "../../../chunks/chunk-XBDRVFEV.js";
53
53
  import {
54
54
  stormCommands
55
- } from "../../../chunks/chunk-WV3DP6NR.js";
55
+ } from "../../../chunks/chunk-LKXHGGGX.js";
56
56
  import {
57
57
  defineOutcomes
58
- } from "../../../chunks/chunk-4WAMTUWZ.js";
58
+ } from "../../../chunks/chunk-24UYAK4R.js";
59
59
 
60
60
  // src/commands/snapshots/list/command.ts
61
61
  import { z as z2 } from "zod";
@@ -66,10 +66,10 @@ var reasonSchema = z.enum([...REJECTION_REASONS, "other-runner"]);
66
66
  var snapshotSchema = z.object({
67
67
  /** The snapshot's id in Vercel Sandbox. */
68
68
  snapshotId: z.string(),
69
- /** The Vercel Sandbox runner's name, region, and runtime it was built for. */
69
+ /** The Vercel Sandbox runner's name, region, and image it was built for. */
70
70
  runner: z.string(),
71
71
  region: z.string(),
72
- runtime: z.string(),
72
+ image: z.string(),
73
73
  /** The team and project ids it was built for. */
74
74
  teamId: z.string(),
75
75
  projectId: z.string(),
@@ -191,7 +191,7 @@ function snapshotFacts(snapshot) {
191
191
  snapshotId: entry.snapshotId,
192
192
  runner: entry.runnerName,
193
193
  region: entry.region,
194
- runtime: entry.runtime,
194
+ image: entry.image,
195
195
  teamId: entry.teamId,
196
196
  projectId: entry.projectId,
197
197
  base: entry.base,
@@ -4,7 +4,7 @@ declare const snapshotSchema: z.ZodObject<{
4
4
  snapshotId: z.ZodString;
5
5
  runner: z.ZodString;
6
6
  region: z.ZodString;
7
- runtime: z.ZodString;
7
+ image: z.ZodString;
8
8
  teamId: z.ZodString;
9
9
  projectId: z.ZodString;
10
10
  base: z.ZodString;
@@ -122,7 +122,7 @@ export declare const outcomes: import("@vercel/clinkr").Outcomes<{
122
122
  snapshotId: z.ZodString;
123
123
  runner: z.ZodString;
124
124
  region: z.ZodString;
125
- runtime: z.ZodString;
125
+ image: z.ZodString;
126
126
  teamId: z.ZodString;
127
127
  projectId: z.ZodString;
128
128
  base: z.ZodString;
@@ -12,10 +12,10 @@ const reasonSchema = z.enum([...REJECTION_REASONS, "other-runner"]);
12
12
  const snapshotSchema = z.object({
13
13
  /** The snapshot's id in Vercel Sandbox. */
14
14
  snapshotId: z.string(),
15
- /** The Vercel Sandbox runner's name, region, and runtime it was built for. */
15
+ /** The Vercel Sandbox runner's name, region, and image it was built for. */
16
16
  runner: z.string(),
17
17
  region: z.string(),
18
- runtime: z.string(),
18
+ image: z.string(),
19
19
  /** The team and project ids it was built for. */
20
20
  teamId: z.string(),
21
21
  projectId: z.string(),
@@ -141,7 +141,7 @@ export function snapshotFacts(snapshot) {
141
141
  snapshotId: entry.snapshotId,
142
142
  runner: entry.runnerName,
143
143
  region: entry.region,
144
- runtime: entry.runtime,
144
+ image: entry.image,
145
145
  teamId: entry.teamId,
146
146
  projectId: entry.projectId,
147
147
  base: entry.base,
@@ -5,38 +5,38 @@ import {
5
5
  projectDisplayText,
6
6
  settleSnapshotAccess,
7
7
  sharedListFailedError
8
- } from "../../../chunks/chunk-HP3CURSZ.js";
8
+ } from "../../../chunks/chunk-SZMYIIG2.js";
9
9
  import {
10
10
  runErrors
11
- } from "../../../chunks/chunk-2VP4GRJM.js";
12
- import "../../../chunks/chunk-FNBB6V4R.js";
13
- import "../../../chunks/chunk-F4MOYHRY.js";
14
- import "../../../chunks/chunk-HWIQ2S7K.js";
11
+ } from "../../../chunks/chunk-CQAY6GLP.js";
12
+ import "../../../chunks/chunk-FDUY3BNF.js";
13
+ import "../../../chunks/chunk-KK7PAWIZ.js";
14
+ import "../../../chunks/chunk-OI4AP6Z7.js";
15
15
  import "../../../chunks/chunk-EEENLQHE.js";
16
16
  import "../../../chunks/chunk-72ZFEMAW.js";
17
- import "../../../chunks/chunk-D27KILIA.js";
18
- import "../../../chunks/chunk-2RNDPDTJ.js";
17
+ import "../../../chunks/chunk-55O4FCN4.js";
18
+ import "../../../chunks/chunk-TXCOFC7N.js";
19
19
  import {
20
20
  renderOutcome
21
- } from "../../../chunks/chunk-LKTZ5OXS.js";
22
- import "../../../chunks/chunk-GRT3UIBV.js";
23
- import "../../../chunks/chunk-4O5C2XGJ.js";
21
+ } from "../../../chunks/chunk-EI3XDCEI.js";
22
+ import "../../../chunks/chunk-KQ5FXRUD.js";
23
+ import "../../../chunks/chunk-LOGHIUUB.js";
24
24
  import "../../../chunks/chunk-F6N34UWB.js";
25
- import "../../../chunks/chunk-YEPFSLQR.js";
25
+ import "../../../chunks/chunk-3VXZONGE.js";
26
26
  import {
27
27
  configErrors,
28
28
  credentialErrors,
29
29
  credentialSourceErrors,
30
30
  fileSettings,
31
31
  pruneSharedSnapshots
32
- } from "../../../chunks/chunk-RNAS7JHE.js";
32
+ } from "../../../chunks/chunk-2JMWUKH3.js";
33
33
  import "../../../chunks/chunk-XBDRVFEV.js";
34
34
  import {
35
35
  stormCommands
36
- } from "../../../chunks/chunk-WV3DP6NR.js";
36
+ } from "../../../chunks/chunk-LKXHGGGX.js";
37
37
  import {
38
38
  defineOutcomes
39
- } from "../../../chunks/chunk-4WAMTUWZ.js";
39
+ } from "../../../chunks/chunk-24UYAK4R.js";
40
40
 
41
41
  // src/commands/snapshots/prune/command.ts
42
42
  import { z as z2 } from "zod";
@@ -2,36 +2,36 @@ import {
2
2
  formatCommandLine,
3
3
  listResolvedSuites,
4
4
  targetRedactor
5
- } from "../../../chunks/chunk-6UHIJXZG.js";
5
+ } from "../../../chunks/chunk-HBI4LEMH.js";
6
6
  import {
7
7
  redactStrings
8
- } from "../../../chunks/chunk-FNBB6V4R.js";
8
+ } from "../../../chunks/chunk-FDUY3BNF.js";
9
9
  import {
10
10
  DRIVER_NAMES,
11
11
  driverNamed
12
- } from "../../../chunks/chunk-HWIQ2S7K.js";
12
+ } from "../../../chunks/chunk-OI4AP6Z7.js";
13
13
  import "../../../chunks/chunk-EEENLQHE.js";
14
14
  import "../../../chunks/chunk-72ZFEMAW.js";
15
- import "../../../chunks/chunk-D27KILIA.js";
16
- import "../../../chunks/chunk-2RNDPDTJ.js";
15
+ import "../../../chunks/chunk-55O4FCN4.js";
16
+ import "../../../chunks/chunk-TXCOFC7N.js";
17
17
  import {
18
18
  path,
19
19
  renderOutcome
20
- } from "../../../chunks/chunk-LKTZ5OXS.js";
20
+ } from "../../../chunks/chunk-EI3XDCEI.js";
21
21
  import "../../../chunks/chunk-F6N34UWB.js";
22
- import "../../../chunks/chunk-YEPFSLQR.js";
22
+ import "../../../chunks/chunk-3VXZONGE.js";
23
23
  import {
24
24
  CONFIG_FILE_NAME,
25
25
  CONFIG_FILE_NAMES_TEXT,
26
26
  configErrors
27
- } from "../../../chunks/chunk-RNAS7JHE.js";
27
+ } from "../../../chunks/chunk-2JMWUKH3.js";
28
28
  import "../../../chunks/chunk-XBDRVFEV.js";
29
29
  import {
30
30
  stormCommands
31
- } from "../../../chunks/chunk-WV3DP6NR.js";
31
+ } from "../../../chunks/chunk-LKXHGGGX.js";
32
32
  import {
33
33
  defineOutcomes
34
- } from "../../../chunks/chunk-4WAMTUWZ.js";
34
+ } from "../../../chunks/chunk-24UYAK4R.js";
35
35
 
36
36
  // src/commands/suites/list/command.ts
37
37
  import { z as z2 } from "zod";
@@ -35,7 +35,7 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
35
35
  built: z.ZodBoolean;
36
36
  vcpus: z.ZodNumber;
37
37
  region: z.ZodString;
38
- runtime: z.ZodString;
38
+ image: z.ZodString;
39
39
  buildMs: z.ZodNumber;
40
40
  }, z.core.$strip>>;
41
41
  timeline: z.ZodObject<{
@@ -198,7 +198,7 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
198
198
  built: z.ZodBoolean;
199
199
  vcpus: z.ZodNumber;
200
200
  region: z.ZodString;
201
- runtime: z.ZodString;
201
+ image: z.ZodString;
202
202
  uploadBytes: z.ZodNullable<z.ZodNumber>;
203
203
  }, z.core.$strip>;
204
204
  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>>;
@@ -295,9 +295,11 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
295
295
  configFile: string | null;
296
296
  }]>;
297
297
  credentialsInvalid: import("@vercel/clinkr").SharedError<"credentials_invalid", [data: {
298
- variables: {
298
+ problems: {
299
299
  name: string;
300
- problem: "missing" | "multiline" | "short";
300
+ problem: "gh-failed" | "gh-not-authenticated" | "gh-not-installed" | "gh-preframed" | "gh-timed-out" | "missing" | "multiline" | "short";
301
+ detail: string;
302
+ hint: string;
301
303
  }[];
302
304
  minLength: number;
303
305
  configFile: string | null;
@@ -365,6 +367,10 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
365
367
  }[];
366
368
  }[];
367
369
  }]>;
370
+ keepSandboxManagedCredentials: import("@vercel/clinkr").SharedError<"keep_sandbox_managed_credentials", [data: {
371
+ providers: string[];
372
+ configFile: string | null;
373
+ }]>;
368
374
  keepSandboxUnsafeSecretEnvVars: import("@vercel/clinkr").SharedError<"keep_sandbox_unsafe_secret_env_vars", [data: {
369
375
  variables: string[];
370
376
  configFile: string | null;
@@ -514,9 +520,11 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
514
520
  configFile: string | null;
515
521
  }]>;
516
522
  readonly credentialsInvalid: import("@vercel/clinkr").SharedError<"credentials_invalid", [data: {
517
- variables: {
523
+ problems: {
518
524
  name: string;
519
- problem: "missing" | "multiline" | "short";
525
+ problem: "gh-failed" | "gh-not-authenticated" | "gh-not-installed" | "gh-preframed" | "gh-timed-out" | "missing" | "multiline" | "short";
526
+ detail: string;
527
+ hint: string;
520
528
  }[];
521
529
  minLength: number;
522
530
  configFile: string | null;
@@ -584,6 +592,10 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
584
592
  }[];
585
593
  }[];
586
594
  }]>;
595
+ readonly keepSandboxManagedCredentials: import("@vercel/clinkr").SharedError<"keep_sandbox_managed_credentials", [data: {
596
+ providers: string[];
597
+ configFile: string | null;
598
+ }]>;
587
599
  readonly keepSandboxUnsafeSecretEnvVars: import("@vercel/clinkr").SharedError<"keep_sandbox_unsafe_secret_env_vars", [data: {
588
600
  variables: string[];
589
601
  configFile: string | null;
@@ -737,7 +749,7 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
737
749
  built: z.ZodBoolean;
738
750
  vcpus: z.ZodNumber;
739
751
  region: z.ZodString;
740
- runtime: z.ZodString;
752
+ image: z.ZodString;
741
753
  buildMs: z.ZodNumber;
742
754
  }, z.core.$strip>>;
743
755
  timeline: z.ZodObject<{
@@ -900,7 +912,7 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
900
912
  built: z.ZodBoolean;
901
913
  vcpus: z.ZodNumber;
902
914
  region: z.ZodString;
903
- runtime: z.ZodString;
915
+ image: z.ZodString;
904
916
  uploadBytes: z.ZodNullable<z.ZodNumber>;
905
917
  }, z.core.$strip>;
906
918
  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>>;
@@ -997,9 +1009,11 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
997
1009
  configFile: string | null;
998
1010
  }]>;
999
1011
  credentialsInvalid: import("@vercel/clinkr").SharedError<"credentials_invalid", [data: {
1000
- variables: {
1012
+ problems: {
1001
1013
  name: string;
1002
- problem: "missing" | "multiline" | "short";
1014
+ problem: "gh-failed" | "gh-not-authenticated" | "gh-not-installed" | "gh-preframed" | "gh-timed-out" | "missing" | "multiline" | "short";
1015
+ detail: string;
1016
+ hint: string;
1003
1017
  }[];
1004
1018
  minLength: number;
1005
1019
  configFile: string | null;
@@ -1067,6 +1081,10 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
1067
1081
  }[];
1068
1082
  }[];
1069
1083
  }]>;
1084
+ keepSandboxManagedCredentials: import("@vercel/clinkr").SharedError<"keep_sandbox_managed_credentials", [data: {
1085
+ providers: string[];
1086
+ configFile: string | null;
1087
+ }]>;
1070
1088
  keepSandboxUnsafeSecretEnvVars: import("@vercel/clinkr").SharedError<"keep_sandbox_unsafe_secret_env_vars", [data: {
1071
1089
  variables: string[];
1072
1090
  configFile: string | null;
@@ -1216,9 +1234,11 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
1216
1234
  configFile: string | null;
1217
1235
  }]>;
1218
1236
  readonly credentialsInvalid: import("@vercel/clinkr").SharedError<"credentials_invalid", [data: {
1219
- variables: {
1237
+ problems: {
1220
1238
  name: string;
1221
- problem: "missing" | "multiline" | "short";
1239
+ problem: "gh-failed" | "gh-not-authenticated" | "gh-not-installed" | "gh-preframed" | "gh-timed-out" | "missing" | "multiline" | "short";
1240
+ detail: string;
1241
+ hint: string;
1222
1242
  }[];
1223
1243
  minLength: number;
1224
1244
  configFile: string | null;
@@ -1286,6 +1306,10 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
1286
1306
  }[];
1287
1307
  }[];
1288
1308
  }]>;
1309
+ readonly keepSandboxManagedCredentials: import("@vercel/clinkr").SharedError<"keep_sandbox_managed_credentials", [data: {
1310
+ providers: string[];
1311
+ configFile: string | null;
1312
+ }]>;
1289
1313
  readonly keepSandboxUnsafeSecretEnvVars: import("@vercel/clinkr").SharedError<"keep_sandbox_unsafe_secret_env_vars", [data: {
1290
1314
  variables: string[];
1291
1315
  configFile: string | null;