@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.
- package/dist/bin/storm.js +54 -40
- package/dist/build-info.js +1 -1
- package/dist/chunks/{chunk-VL7WFTVQ.js → chunk-24UYAK4R.js} +465 -365
- package/dist/chunks/{chunk-DC2CDHNK.js → chunk-2JMWUKH3.js} +2074 -473
- package/dist/chunks/{chunk-FOZWA52V.js → chunk-3VXZONGE.js} +481 -376
- package/dist/chunks/{chunk-ZG3WQ4UF.js → chunk-55O4FCN4.js} +1 -1
- package/dist/chunks/{chunk-CN4EFA5J.js → chunk-72ZFEMAW.js} +1 -1
- package/dist/chunks/chunk-AS37D43E.js +2173 -0
- package/dist/chunks/chunk-CQAY6GLP.js +1260 -0
- package/dist/chunks/chunk-DZLU7BYK.js +340 -0
- package/dist/chunks/{chunk-R7XVBZOY.js → chunk-EEENLQHE.js} +59 -11
- package/dist/chunks/{chunk-TJNFVNKR.js → chunk-EI3XDCEI.js} +1 -1
- package/dist/chunks/{chunk-HVNK3I45.js → chunk-FDUY3BNF.js} +1 -1
- package/dist/chunks/{chunk-FCQUJDA4.js → chunk-GUCCYCIO.js} +4 -189
- package/dist/chunks/{chunk-OIY3DMF2.js → chunk-HBI4LEMH.js} +3 -3
- package/dist/chunks/{chunk-2MAD5NKK.js → chunk-K4MDQPLW.js} +1 -18
- package/dist/chunks/chunk-KK7PAWIZ.js +198 -0
- package/dist/chunks/{chunk-G3PHMXH5.js → chunk-KQ5FXRUD.js} +18 -1
- package/dist/chunks/{chunk-5VXBKPW6.js → chunk-LKXHGGGX.js} +1 -1
- package/dist/chunks/{chunk-P357TZAY.js → chunk-LOGHIUUB.js} +21 -18
- package/dist/chunks/{chunk-CK2GZEPK.js → chunk-OEPFINFT.js} +2 -2
- package/dist/chunks/{chunk-DWEAHX4T.js → chunk-OI4AP6Z7.js} +5 -5
- package/dist/chunks/{chunk-V4IKA3WI.js → chunk-PMBQWVTW.js} +26 -19
- package/dist/chunks/chunk-SZMYIIG2.js +88 -0
- package/dist/chunks/{chunk-5CCP36QQ.js → chunk-TXCOFC7N.js} +1 -1
- package/dist/chunks/{chunk-VUPZH7J2.js → chunk-UXD3TVWM.js} +1 -1
- package/dist/chunks/{chunk-3L52KNQA.js → chunk-WNW2QXQK.js} +8 -8
- package/dist/chunks/{chunk-AWBSONHB.js → chunk-XBDRVFEV.js} +55 -16
- package/dist/chunks/{live-app-WECQOQ4C.js → live-app-UY7BEDUN.js} +17 -13
- package/dist/cli.d.ts +28 -0
- package/dist/cli.js +64 -0
- package/dist/commands/exec/across-sandboxes-outcomes.d.ts +2 -2
- package/dist/commands/exec/across-sandboxes-outcomes.js +3 -3
- package/dist/commands/exec/before-run.d.ts +123 -0
- package/dist/commands/exec/before-run.js +105 -0
- package/dist/commands/exec/command.d.ts +67 -14
- package/dist/commands/exec/command.js +31 -95
- package/dist/commands/exec/driver-plan.d.ts +9 -4
- package/dist/commands/exec/driver-plan.js +8 -8
- package/dist/commands/exec/exec-words.js +1 -1
- package/dist/commands/exec/execute-run.d.ts +39 -0
- package/dist/commands/exec/execute-run.js +325 -0
- package/dist/commands/exec/live-view.d.ts +3 -3
- package/dist/commands/exec/live-view.js +16 -15
- package/dist/commands/exec/metadata.js +1 -1
- package/dist/commands/exec/mint-failed.d.ts +38 -0
- package/dist/commands/exec/mint-failed.js +27 -4
- package/dist/commands/exec/outcomes.d.ts +104 -22
- package/dist/commands/exec/outcomes.js +73 -26
- package/dist/commands/exec/plan-run.d.ts +58 -150
- package/dist/commands/exec/plan-run.js +239 -90
- package/dist/commands/exec/progress.d.ts +10 -6
- package/dist/commands/exec/progress.js +38 -25
- package/dist/commands/exec/run-bin.d.ts +11 -11
- package/dist/commands/exec/run-bin.js +9 -9
- package/dist/commands/exec/run-flags.d.ts +69 -0
- package/dist/commands/exec/run-flags.js +58 -0
- package/dist/commands/exec/run-metadata.js +4 -4
- package/dist/commands/exec/run-summary.d.ts +58 -0
- package/dist/commands/exec/run-summary.js +205 -0
- package/dist/commands/exec/runner-refusals.d.ts +82 -0
- package/dist/commands/exec/runner-refusals.js +71 -0
- package/dist/commands/exec/sandbox-progress.js +3 -0
- package/dist/commands/exec/stopped-outcome.d.ts +12 -0
- package/dist/commands/exec/stopped-outcome.js +77 -0
- package/dist/commands/exec/view.d.ts +20 -11
- package/dist/commands/exec/view.js +103 -47
- package/dist/commands/runs/facts.d.ts +8 -4
- package/dist/commands/runs/facts.js +19 -10
- package/dist/commands/runs/list/command.d.ts +16 -8
- package/dist/commands/runs/list/command.js +10 -10
- package/dist/commands/runs/list/outcomes.d.ts +8 -4
- package/dist/commands/runs/logs/command.js +10 -10
- package/dist/commands/runs/show/command.d.ts +16 -8
- package/dist/commands/runs/show/command.js +31 -29
- package/dist/commands/runs/show/metadata.js +1 -1
- package/dist/commands/runs/show/outcomes.d.ts +8 -4
- package/dist/commands/runs/show/outcomes.js +8 -6
- package/dist/commands/snapshots/access.d.ts +111 -0
- package/dist/commands/snapshots/access.js +96 -0
- package/dist/commands/snapshots/build/command.d.ts +376 -101
- package/dist/commands/snapshots/build/command.js +447 -149
- package/dist/commands/snapshots/build/metadata.d.ts +10 -0
- package/dist/commands/snapshots/build/metadata.js +31 -11
- package/dist/commands/snapshots/build/outcomes.d.ts +242 -47
- package/dist/commands/snapshots/build/outcomes.js +200 -36
- package/dist/commands/snapshots/list/command.d.ts +368 -27
- package/dist/commands/snapshots/list/command.js +298 -68
- package/dist/commands/snapshots/list/metadata.d.ts +16 -0
- package/dist/commands/snapshots/list/metadata.js +29 -6
- package/dist/commands/snapshots/list/outcomes.d.ts +247 -15
- package/dist/commands/snapshots/list/outcomes.js +223 -52
- package/dist/commands/snapshots/metadata.js +1 -1
- package/dist/commands/snapshots/prune/command.d.ts +430 -0
- package/dist/commands/snapshots/prune/command.js +161 -0
- package/dist/commands/snapshots/prune/metadata.d.ts +28 -0
- package/dist/commands/snapshots/prune/metadata.js +39 -0
- package/dist/commands/snapshots/prune/outcomes.d.ts +208 -0
- package/dist/commands/snapshots/prune/outcomes.js +78 -0
- package/dist/commands/suites/list/command.js +17 -17
- package/dist/commands/suites/list/outcomes.js +2 -2
- package/dist/commands/test/command.d.ts +67 -14
- package/dist/commands/test/command.js +49 -252
- package/dist/commands/test/outcomes.d.ts +33 -7
- package/dist/config/check-runner.d.ts +3 -3
- package/dist/config/check-runner.js +8 -7
- package/dist/config/credential-resolver.d.ts +50 -5
- package/dist/config/credential-resolver.js +51 -19
- package/dist/config/credential-settle.d.ts +6 -2
- package/dist/config/credential-settle.js +11 -5
- package/dist/config/index.d.ts +2 -2
- package/dist/config/index.js +1 -1
- package/dist/config/runner.d.ts +5 -5
- package/dist/config/runner.js +1 -1
- package/dist/config/schema.d.ts +2 -2
- package/dist/config/schema.js +1 -1
- package/dist/config-file/define.d.ts +1 -1
- package/dist/config-file/define.js +1 -1
- package/dist/config-file/runner.d.ts +5 -5
- package/dist/config-file/toolchain.d.ts +14 -4
- package/dist/config-file/toolchain.js +43 -7
- package/dist/context.d.ts +10 -6
- package/dist/context.js +8 -6
- package/dist/core/across-sandboxes.d.ts +7 -6
- package/dist/core/across-sandboxes.js +123 -152
- package/dist/core/coordinator.d.ts +166 -0
- package/dist/core/coordinator.js +233 -0
- package/dist/core/events.d.ts +2 -2
- package/dist/core/index.d.ts +4 -2
- package/dist/core/index.js +1 -1
- package/dist/core/outcomes.d.ts +148 -0
- package/dist/core/{sandbox-end.js → outcomes.js} +28 -4
- package/dist/core/resources.d.ts +31 -53
- package/dist/core/resources.js +32 -70
- package/dist/core/run-state.d.ts +7 -1
- package/dist/core/run-state.js +2 -0
- package/dist/core/run.d.ts +32 -236
- package/dist/core/run.js +107 -267
- package/dist/core/state-directory.d.ts +1 -1
- package/dist/core/state-directory.js +2 -2
- package/dist/credential/gateways.d.ts +15 -1
- package/dist/credential/index.d.ts +4 -3
- package/dist/credential/index.js +3 -2
- package/dist/credential/live/vercel-cli-gateway.d.ts +1 -1
- package/dist/credential/live/vercel-cli-gateway.js +1 -1
- package/dist/credential/live/vercel-oidc-token-gateway.d.ts +11 -0
- package/dist/credential/live/vercel-oidc-token-gateway.js +16 -0
- package/dist/credential/source.d.ts +73 -6
- package/dist/credential/source.js +55 -2
- package/dist/extension-commands.d.ts +1 -1
- package/dist/extension-commands.js +2 -2
- package/dist/extensions/testserver/commands/pool/create/command.d.ts +35 -2
- package/dist/extensions/testserver/commands/pool/create/command.js +7 -7
- package/dist/extensions/testserver/commands/pool/create/metadata.js +5 -5
- package/dist/extensions/testserver/commands/pool/create/outcomes.d.ts +17 -1
- package/dist/extensions/testserver/commands/pool/list/command.js +4 -4
- package/dist/extensions/testserver/credential-facts.d.ts +6 -2
- package/dist/extensions/testserver/credential-facts.js +29 -11
- package/dist/extensions/testserver/lifecycle.js +7 -1
- package/dist/extensions/testserver/limit.d.ts +3 -0
- package/dist/extensions/testserver/limit.js +3 -0
- package/dist/extensions/testserver/provision.d.ts +8 -1
- package/dist/extensions/testserver/provision.js +8 -3
- package/dist/extensions/testserver/refusals.d.ts +6 -1
- package/dist/extensions/testserver/refusals.js +16 -1
- package/dist/extensions/testserver/resource.d.ts +1 -1
- package/dist/extensions/testserver/resource.js +1 -1
- package/dist/extensions/testserver/result.d.ts +1 -1
- package/dist/extensions/testserver/result.js +9 -4
- package/dist/planning/driver-file-lists.d.ts +0 -15
- package/dist/planning/driver-file-lists.js +2 -21
- package/dist/planning/plan-only.d.ts +3 -14
- package/dist/planning/plan-only.js +11 -20
- package/dist/planning/run-kind-flags.js +2 -2
- package/dist/planning/run-plan.d.ts +45 -12
- package/dist/planning/run-plan.js +4 -3
- package/dist/planning/suites.d.ts +1 -1
- package/dist/planning/suites.js +2 -2
- package/dist/planning/test-plan.d.ts +9 -0
- package/dist/planning/test-plan.js +9 -0
- package/dist/run-directory/recording.js +3 -3
- package/dist/run-directory/run-record.d.ts +26 -11
- package/dist/run-directory/run-record.js +16 -13
- package/dist/runner/base.js +1 -1
- package/dist/runner/build-snapshots.d.ts +60 -29
- package/dist/runner/build-snapshots.js +136 -29
- package/dist/runner/context.d.ts +15 -7
- package/dist/runner/context.js +19 -6
- package/dist/runner/events.d.ts +16 -10
- package/dist/runner/gateways.d.ts +122 -23
- package/dist/runner/gateways.js +1 -1
- package/dist/runner/gh.d.ts +42 -0
- package/dist/runner/gh.js +58 -0
- package/dist/runner/index.d.ts +13 -8
- package/dist/runner/index.js +12 -6
- package/dist/runner/live/checkout-gateway.js +7 -0
- package/dist/runner/live/gh-output.d.ts +17 -0
- package/dist/runner/live/gh-output.js +37 -0
- package/dist/runner/live/gh-token-gateway.d.ts +13 -0
- package/dist/runner/live/gh-token-gateway.js +51 -0
- package/dist/runner/live/sandbox-errors.d.ts +2 -0
- package/dist/runner/live/sandbox-errors.js +4 -0
- package/dist/runner/live/sandbox-gateway.js +140 -4
- package/dist/runner/live/snapshot-index-gateway.d.ts +12 -0
- package/dist/runner/live/{snapshot-cache-gateway.js → snapshot-index-gateway.js} +11 -11
- package/dist/runner/live/snapshot-records.js +12 -12
- package/dist/runner/local-snapshot-index.d.ts +205 -0
- package/dist/runner/local-snapshot-index.js +210 -0
- package/dist/runner/network-policy.d.ts +6 -6
- package/dist/runner/network-policy.js +7 -7
- package/dist/runner/policy-writes.d.ts +1 -1
- package/dist/runner/policy-writes.js +1 -1
- package/dist/runner/prepare.d.ts +14 -14
- package/dist/runner/prepare.js +20 -11
- package/dist/runner/ready.d.ts +19 -11
- package/dist/runner/ready.js +104 -33
- package/dist/runner/sandboxed-command.d.ts +3 -3
- package/dist/runner/sandboxed-command.js +3 -3
- package/dist/runner/scope.d.ts +15 -8
- package/dist/runner/scope.js +16 -5
- package/dist/runner/secrets.d.ts +41 -18
- package/dist/runner/secrets.js +226 -30
- package/dist/runner/session.d.ts +8 -8
- package/dist/runner/session.js +6 -3
- package/dist/runner/shared-snapshot-entry.d.ts +92 -0
- package/dist/runner/shared-snapshot-entry.js +168 -0
- package/dist/runner/shared-snapshot-list.d.ts +81 -0
- package/dist/runner/shared-snapshot-list.js +155 -0
- package/dist/runner/shared-snapshot-lookup.d.ts +51 -0
- package/dist/runner/shared-snapshot-lookup.js +118 -0
- package/dist/runner/shared-snapshot-prune.d.ts +58 -0
- package/dist/runner/shared-snapshot-prune.js +133 -0
- package/dist/runner/snapshot-build.d.ts +42 -14
- package/dist/runner/snapshot-build.js +79 -47
- package/dist/runner/snapshot-choice.js +2 -1
- package/dist/runner/snapshot-inspect.d.ts +39 -40
- package/dist/runner/snapshot-inspect.js +52 -35
- package/dist/runner/snapshot-key.d.ts +32 -17
- package/dist/runner/snapshot-key.js +43 -18
- package/dist/runner/snapshot-source.d.ts +31 -0
- package/dist/runner/snapshot-source.js +122 -0
- package/dist/runner/steps.d.ts +1 -1
- package/dist/runner/steps.js +1 -1
- package/dist/runner/{recipe-check.d.ts → vercel-sandbox-check.d.ts} +4 -2
- package/dist/runner/{recipe-check.js → vercel-sandbox-check.js} +7 -2
- package/dist/runner/{recipe.d.ts → vercel-sandbox-options.d.ts} +59 -28
- package/dist/runner/{recipe.js → vercel-sandbox-options.js} +128 -84
- package/dist/runner/vercel-sandbox-secrets.d.ts +116 -0
- package/dist/runner/{recipe-secrets.js → vercel-sandbox-secrets.js} +159 -26
- package/dist/sdk/extension/credential-diagnosis.d.ts +3 -1
- package/dist/sdk/extension/credential-diagnosis.js +25 -5
- package/dist/sdk/extension/credential-source.d.ts +20 -3
- package/dist/sdk/extension/credential-source.js +4 -4
- package/dist/sdk/extension/index.d.ts +3 -2
- package/dist/sdk/extension/index.js +2 -1
- package/dist/sdk/extension/resource-definition.d.ts +1 -1
- package/dist/sdk/extension/secret-source.d.ts +1 -1
- package/dist/sdk/extension/secret-source.js +1 -1
- package/dist/sdk/extension/vercel-oidc-facts.d.ts +20 -0
- package/dist/sdk/extension/vercel-oidc-facts.js +20 -0
- package/dist/shared/cleanup.d.ts +3 -3
- package/dist/shared/cleanup.js +15 -5
- package/dist/shared/snapshot-text.d.ts +4 -4
- package/dist/shared/snapshot-text.js +11 -11
- package/dist/time/duration.js +1 -1
- package/package.json +5 -3
- package/skills/overview.md +4 -4
- package/skills/plan-runs.md +1 -1
- package/skills/read-run-output.md +6 -6
- package/dist/application.d.ts +0 -21
- package/dist/application.js +0 -30
- package/dist/chunks/chunk-7EENF73W.js +0 -782
- package/dist/chunks/chunk-Z5PBVG3Y.js +0 -2599
- package/dist/commands/exec/across-sandboxes-run.d.ts +0 -180
- package/dist/commands/exec/across-sandboxes-run.js +0 -339
- package/dist/commands/exec/plan-only.d.ts +0 -10
- package/dist/commands/exec/plan-only.js +0 -45
- package/dist/commands/exec/run-command.d.ts +0 -475
- package/dist/commands/exec/run-command.js +0 -603
- package/dist/commands/exec/run-planned.d.ts +0 -20
- package/dist/commands/exec/run-planned.js +0 -22
- package/dist/commands/exec/sandbox-view.d.ts +0 -19
- package/dist/commands/exec/sandbox-view.js +0 -72
- package/dist/commands/test/plan.d.ts +0 -92
- package/dist/commands/test/plan.js +0 -125
- package/dist/core/sandbox-end.d.ts +0 -64
- package/dist/runner/live/snapshot-cache-gateway.d.ts +0 -12
- package/dist/runner/recipe-secrets.d.ts +0 -67
- package/dist/runner/snapshot-cache.d.ts +0 -148
- package/dist/runner/snapshot-cache.js +0 -126
|
@@ -1,31 +1,40 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
/**
|
|
3
|
-
* Lists the
|
|
4
|
-
* named suite's effective runner with `--suite`), or of every
|
|
3
|
+
* Lists the indexed runner snapshots of the Vercel Sandbox runner in the config file found from the working directory (or the
|
|
4
|
+
* named suite's effective runner with `--suite`), or of every runner with `--all` or when no runner applies, and marks
|
|
5
5
|
* the one a run here starts from, per team and project. Refuses when the effective runner is the launch machine, which
|
|
6
|
-
* has no runner snapshot. The runner module inspects the
|
|
7
|
-
* the cache, Git, and the
|
|
6
|
+
* has no runner snapshot. The runner module inspects the local snapshot index (`inspectLocalSnapshotIndex`): this reads the config file,
|
|
7
|
+
* the cache, Git, and the runner's declared base files at the merge-base, mints nothing, starts nothing, and changes
|
|
8
8
|
* nothing: an unreadable declared base file is `invalid_config`, as in a run. Its error can quote a declared base file
|
|
9
9
|
* path, so each declared credential's value that is set shows as `<token>` in it, as in a run; the list refuses
|
|
10
10
|
* no secret, since it needs none. A config file storm can't use is `invalid_config`, and git failing is
|
|
11
|
-
* `checkout_failed`.
|
|
11
|
+
* `checkout_failed`. With `--shared`, it also obtains a credential through the credential launcher resolver, as
|
|
12
|
+
* `snapshots build` does, and lists the runner's bucket in the project's shared snapshot index (`listSharedSnapshots`),
|
|
13
|
+
* which reads the Vercel Sandbox API and changes nothing there.
|
|
12
14
|
*/
|
|
13
15
|
declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
16
|
+
credential: z.ZodDefault<z.ZodEnum<{
|
|
17
|
+
mint: "mint";
|
|
18
|
+
"vercel-oidc": "vercel-oidc";
|
|
19
|
+
}>>;
|
|
20
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
21
|
+
project: z.ZodOptional<z.ZodString>;
|
|
14
22
|
suite: z.ZodOptional<z.ZodString>;
|
|
15
23
|
all: z.ZodDefault<z.ZodBoolean>;
|
|
24
|
+
shared: z.ZodDefault<z.ZodBoolean>;
|
|
16
25
|
}, z.core.$strip>, import("@vercel/clinkr").Outcomes<{
|
|
17
26
|
listed: z.ZodObject<{
|
|
18
27
|
directory: z.ZodString;
|
|
19
28
|
configFile: z.ZodNullable<z.ZodString>;
|
|
20
29
|
picking: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
21
|
-
kind: z.ZodLiteral<"
|
|
22
|
-
|
|
30
|
+
kind: z.ZodLiteral<"runner">;
|
|
31
|
+
runner: z.ZodString;
|
|
23
32
|
}, z.core.$strip>, z.ZodObject<{
|
|
24
33
|
kind: z.ZodLiteral<"none">;
|
|
25
34
|
why: z.ZodEnum<{
|
|
26
35
|
"no-base": "no-base";
|
|
27
36
|
"no-checkout": "no-checkout";
|
|
28
|
-
"no-
|
|
37
|
+
"no-runner": "no-runner";
|
|
29
38
|
}>;
|
|
30
39
|
}, z.core.$strip>], "kind">;
|
|
31
40
|
all: z.ZodBoolean;
|
|
@@ -33,11 +42,11 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
33
42
|
mergeBase: z.ZodNullable<z.ZodString>;
|
|
34
43
|
mergeBaseRef: z.ZodNullable<z.ZodString>;
|
|
35
44
|
readAt: z.ZodString;
|
|
36
|
-
|
|
45
|
+
local: z.ZodArray<z.ZodObject<{
|
|
37
46
|
snapshotId: z.ZodString;
|
|
38
|
-
|
|
47
|
+
runner: z.ZodString;
|
|
39
48
|
region: z.ZodString;
|
|
40
|
-
|
|
49
|
+
image: z.ZodString;
|
|
41
50
|
teamId: z.ZodString;
|
|
42
51
|
projectId: z.ZodString;
|
|
43
52
|
base: z.ZodString;
|
|
@@ -52,7 +61,7 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
52
61
|
"expires-soon": "expires-soon";
|
|
53
62
|
"other-base": "other-base";
|
|
54
63
|
"other-owner": "other-owner";
|
|
55
|
-
"other-
|
|
64
|
+
"other-runner": "other-runner";
|
|
56
65
|
"steps-changed": "steps-changed";
|
|
57
66
|
}>>;
|
|
58
67
|
}, z.core.$strip>>;
|
|
@@ -60,6 +69,43 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
60
69
|
file: z.ZodString;
|
|
61
70
|
reason: z.ZodString;
|
|
62
71
|
}, z.core.$strip>>;
|
|
72
|
+
shared: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
73
|
+
teamId: z.ZodString;
|
|
74
|
+
projectId: z.ZodString;
|
|
75
|
+
team: z.ZodNullable<z.ZodString>;
|
|
76
|
+
project: z.ZodNullable<z.ZodString>;
|
|
77
|
+
kind: z.ZodLiteral<"listed">;
|
|
78
|
+
bucket: z.ZodString;
|
|
79
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
80
|
+
sandboxName: z.ZodString;
|
|
81
|
+
base: z.ZodString;
|
|
82
|
+
status: z.ZodEnum<{
|
|
83
|
+
building: "building";
|
|
84
|
+
expired: "expired";
|
|
85
|
+
"expires-soon": "expires-soon";
|
|
86
|
+
failed: "failed";
|
|
87
|
+
missing: "missing";
|
|
88
|
+
"no-snapshot": "no-snapshot";
|
|
89
|
+
ready: "ready";
|
|
90
|
+
"unknown-expiry": "unknown-expiry";
|
|
91
|
+
}>;
|
|
92
|
+
sandboxStatus: z.ZodString;
|
|
93
|
+
snapshotId: z.ZodNullable<z.ZodString>;
|
|
94
|
+
snapshotStatus: z.ZodNullable<z.ZodString>;
|
|
95
|
+
createdAt: z.ZodString;
|
|
96
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
97
|
+
expired: z.ZodBoolean;
|
|
98
|
+
picked: z.ZodBoolean;
|
|
99
|
+
builtBehind: z.ZodNullable<z.ZodNumber>;
|
|
100
|
+
}, z.core.$strip>>;
|
|
101
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
102
|
+
kind: z.ZodLiteral<"not-listed">;
|
|
103
|
+
why: z.ZodEnum<{
|
|
104
|
+
"no-base": "no-base";
|
|
105
|
+
"no-checkout": "no-checkout";
|
|
106
|
+
"no-runner": "no-runner";
|
|
107
|
+
}>;
|
|
108
|
+
}, z.core.$strip>], "kind">>;
|
|
63
109
|
}, z.core.$strip>;
|
|
64
110
|
}, {
|
|
65
111
|
listed: unknown;
|
|
@@ -75,22 +121,80 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
75
121
|
problem: string;
|
|
76
122
|
}[];
|
|
77
123
|
}]>;
|
|
124
|
+
missingTarget: import("@vercel/clinkr").SharedError<"missing_target", [data: {
|
|
125
|
+
missing: ("project" | "scope")[];
|
|
126
|
+
}]>;
|
|
127
|
+
runnerFailed: import("@vercel/clinkr").SharedError<"runner_failed", [data: {
|
|
128
|
+
failure: {
|
|
129
|
+
kind: "apply-failed" | "build-failed" | "install-failed" | "snapshot-build-step-failed";
|
|
130
|
+
label: string;
|
|
131
|
+
exitCode: number | null;
|
|
132
|
+
tail: string[];
|
|
133
|
+
} | {
|
|
134
|
+
kind: "sandbox-api-failed";
|
|
135
|
+
operation: string;
|
|
136
|
+
status: number | null;
|
|
137
|
+
message: string;
|
|
138
|
+
} | {
|
|
139
|
+
kind: "checkout-failed";
|
|
140
|
+
message: string;
|
|
141
|
+
command: string | null;
|
|
142
|
+
} | {
|
|
143
|
+
kind: "credential-claims-missing";
|
|
144
|
+
team: string;
|
|
145
|
+
project: string;
|
|
146
|
+
} | {
|
|
147
|
+
kind: "network-policy-failed";
|
|
148
|
+
operation: "inject" | "remove";
|
|
149
|
+
around: "command" | "run-steps" | "snapshot-save" | "snapshot-steps";
|
|
150
|
+
reason: "api" | "timed-out";
|
|
151
|
+
status: number | null;
|
|
152
|
+
message: string;
|
|
153
|
+
};
|
|
154
|
+
cleanup: import("../../../shared/cleanup.ts").StormCleanupFacts;
|
|
155
|
+
}]>;
|
|
156
|
+
sharedListFailed: z.ZodObject<{
|
|
157
|
+
teamId: z.ZodString;
|
|
158
|
+
projectId: z.ZodString;
|
|
159
|
+
team: z.ZodNullable<z.ZodString>;
|
|
160
|
+
project: z.ZodNullable<z.ZodString>;
|
|
161
|
+
message: z.ZodString;
|
|
162
|
+
}, z.core.$strip>;
|
|
78
163
|
launchMachineHasNoSnapshot: z.ZodObject<{
|
|
79
164
|
suite: z.ZodNullable<z.ZodString>;
|
|
80
165
|
configFile: z.ZodNullable<z.ZodString>;
|
|
81
166
|
}, z.core.$strip>;
|
|
82
|
-
|
|
167
|
+
localIndexUnreadable: z.ZodObject<{
|
|
83
168
|
path: z.ZodString;
|
|
84
169
|
message: z.ZodString;
|
|
85
170
|
}, z.core.$strip>;
|
|
86
171
|
checkoutFailed: z.ZodObject<{
|
|
87
172
|
message: z.ZodString;
|
|
88
173
|
}, z.core.$strip>;
|
|
174
|
+
mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
|
|
175
|
+
team: string;
|
|
176
|
+
project: string;
|
|
177
|
+
cause: string;
|
|
178
|
+
fix: string;
|
|
179
|
+
}]>;
|
|
89
180
|
suiteNotFound: import("@vercel/clinkr").SharedError<"suite_not_found", [data: {
|
|
90
181
|
suite: string;
|
|
91
182
|
suites: string[];
|
|
92
183
|
configFile: string | null;
|
|
93
184
|
}]>;
|
|
185
|
+
tokenRequestFailed: import("@vercel/clinkr").SharedError<"token_request_failed", [data: {
|
|
186
|
+
cause: "request-failed" | "variables-missing";
|
|
187
|
+
missing: ("ACTIONS_ID_TOKEN_REQUEST_TOKEN" | "ACTIONS_ID_TOKEN_REQUEST_URL")[] | null;
|
|
188
|
+
status: number | null;
|
|
189
|
+
said: string | null;
|
|
190
|
+
detail: string;
|
|
191
|
+
fix: string;
|
|
192
|
+
}]>;
|
|
193
|
+
vercelOidcTokenFailed: import("@vercel/clinkr").SharedError<"vercel_oidc_token_failed", [data: {
|
|
194
|
+
cause: "invalid-token" | "missing-token";
|
|
195
|
+
detail: string;
|
|
196
|
+
fix: string;
|
|
197
|
+
}]>;
|
|
94
198
|
}, {
|
|
95
199
|
readonly invalidConfig: import("@vercel/clinkr").SharedError<"invalid_config", [data: {
|
|
96
200
|
file: string;
|
|
@@ -103,6 +207,58 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
103
207
|
problem: string;
|
|
104
208
|
}[];
|
|
105
209
|
}]>;
|
|
210
|
+
readonly missingTarget: import("@vercel/clinkr").SharedError<"missing_target", [data: {
|
|
211
|
+
missing: ("project" | "scope")[];
|
|
212
|
+
}]>;
|
|
213
|
+
readonly runnerFailed: import("@vercel/clinkr").SharedError<"runner_failed", [data: {
|
|
214
|
+
failure: {
|
|
215
|
+
kind: "apply-failed" | "build-failed" | "install-failed" | "snapshot-build-step-failed";
|
|
216
|
+
label: string;
|
|
217
|
+
exitCode: number | null;
|
|
218
|
+
tail: string[];
|
|
219
|
+
} | {
|
|
220
|
+
kind: "sandbox-api-failed";
|
|
221
|
+
operation: string;
|
|
222
|
+
status: number | null;
|
|
223
|
+
message: string;
|
|
224
|
+
} | {
|
|
225
|
+
kind: "checkout-failed";
|
|
226
|
+
message: string;
|
|
227
|
+
command: string | null;
|
|
228
|
+
} | {
|
|
229
|
+
kind: "credential-claims-missing";
|
|
230
|
+
team: string;
|
|
231
|
+
project: string;
|
|
232
|
+
} | {
|
|
233
|
+
kind: "network-policy-failed";
|
|
234
|
+
operation: "inject" | "remove";
|
|
235
|
+
around: "command" | "run-steps" | "snapshot-save" | "snapshot-steps";
|
|
236
|
+
reason: "api" | "timed-out";
|
|
237
|
+
status: number | null;
|
|
238
|
+
message: string;
|
|
239
|
+
};
|
|
240
|
+
cleanup: import("../../../shared/cleanup.ts").StormCleanupFacts;
|
|
241
|
+
}]>;
|
|
242
|
+
readonly sharedListFailed: {
|
|
243
|
+
exitCode: 1;
|
|
244
|
+
description: string;
|
|
245
|
+
schema: z.ZodObject<{
|
|
246
|
+
teamId: z.ZodString;
|
|
247
|
+
projectId: z.ZodString;
|
|
248
|
+
team: z.ZodNullable<z.ZodString>;
|
|
249
|
+
project: z.ZodNullable<z.ZodString>;
|
|
250
|
+
message: z.ZodString;
|
|
251
|
+
}, z.core.$strip>;
|
|
252
|
+
render: (facts: import("../access.ts").ProjectFacts & {
|
|
253
|
+
readonly message: string;
|
|
254
|
+
}) => {
|
|
255
|
+
message: string;
|
|
256
|
+
next: {
|
|
257
|
+
type: "text";
|
|
258
|
+
text: string;
|
|
259
|
+
}[];
|
|
260
|
+
};
|
|
261
|
+
};
|
|
106
262
|
readonly launchMachineHasNoSnapshot: {
|
|
107
263
|
readonly exitCode: 2;
|
|
108
264
|
readonly description: "The effective runner is the launch machine, which has no runner snapshot.";
|
|
@@ -120,9 +276,9 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
120
276
|
}[];
|
|
121
277
|
};
|
|
122
278
|
};
|
|
123
|
-
readonly
|
|
279
|
+
readonly localIndexUnreadable: {
|
|
124
280
|
readonly exitCode: 1;
|
|
125
|
-
readonly description: "storm couldn't read the
|
|
281
|
+
readonly description: "storm couldn't read the local snapshot index directory.";
|
|
126
282
|
readonly schema: z.ZodObject<{
|
|
127
283
|
path: z.ZodString;
|
|
128
284
|
message: z.ZodString;
|
|
@@ -137,7 +293,7 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
137
293
|
};
|
|
138
294
|
readonly checkoutFailed: {
|
|
139
295
|
readonly exitCode: 1;
|
|
140
|
-
readonly description: "git failed while storm checked the checkout or
|
|
296
|
+
readonly description: "git failed while storm checked the checkout or an indexed snapshot's base, as a run here would refuse.";
|
|
141
297
|
readonly schema: z.ZodObject<{
|
|
142
298
|
message: z.ZodString;
|
|
143
299
|
}, z.core.$strip>;
|
|
@@ -151,24 +307,43 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
151
307
|
}[];
|
|
152
308
|
};
|
|
153
309
|
};
|
|
310
|
+
readonly mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
|
|
311
|
+
team: string;
|
|
312
|
+
project: string;
|
|
313
|
+
cause: string;
|
|
314
|
+
fix: string;
|
|
315
|
+
}]>;
|
|
154
316
|
readonly suiteNotFound: import("@vercel/clinkr").SharedError<"suite_not_found", [data: {
|
|
155
317
|
suite: string;
|
|
156
318
|
suites: string[];
|
|
157
319
|
configFile: string | null;
|
|
158
320
|
}]>;
|
|
321
|
+
readonly tokenRequestFailed: import("@vercel/clinkr").SharedError<"token_request_failed", [data: {
|
|
322
|
+
cause: "request-failed" | "variables-missing";
|
|
323
|
+
missing: ("ACTIONS_ID_TOKEN_REQUEST_TOKEN" | "ACTIONS_ID_TOKEN_REQUEST_URL")[] | null;
|
|
324
|
+
status: number | null;
|
|
325
|
+
said: string | null;
|
|
326
|
+
detail: string;
|
|
327
|
+
fix: string;
|
|
328
|
+
}]>;
|
|
329
|
+
readonly vercelOidcTokenFailed: import("@vercel/clinkr").SharedError<"vercel_oidc_token_failed", [data: {
|
|
330
|
+
cause: "invalid-token" | "missing-token";
|
|
331
|
+
detail: string;
|
|
332
|
+
fix: string;
|
|
333
|
+
}]>;
|
|
159
334
|
}>, import("@vercel/clinkr").OutcomeOf<import("@vercel/clinkr").Outcomes<{
|
|
160
335
|
listed: z.ZodObject<{
|
|
161
336
|
directory: z.ZodString;
|
|
162
337
|
configFile: z.ZodNullable<z.ZodString>;
|
|
163
338
|
picking: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
164
|
-
kind: z.ZodLiteral<"
|
|
165
|
-
|
|
339
|
+
kind: z.ZodLiteral<"runner">;
|
|
340
|
+
runner: z.ZodString;
|
|
166
341
|
}, z.core.$strip>, z.ZodObject<{
|
|
167
342
|
kind: z.ZodLiteral<"none">;
|
|
168
343
|
why: z.ZodEnum<{
|
|
169
344
|
"no-base": "no-base";
|
|
170
345
|
"no-checkout": "no-checkout";
|
|
171
|
-
"no-
|
|
346
|
+
"no-runner": "no-runner";
|
|
172
347
|
}>;
|
|
173
348
|
}, z.core.$strip>], "kind">;
|
|
174
349
|
all: z.ZodBoolean;
|
|
@@ -176,11 +351,11 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
176
351
|
mergeBase: z.ZodNullable<z.ZodString>;
|
|
177
352
|
mergeBaseRef: z.ZodNullable<z.ZodString>;
|
|
178
353
|
readAt: z.ZodString;
|
|
179
|
-
|
|
354
|
+
local: z.ZodArray<z.ZodObject<{
|
|
180
355
|
snapshotId: z.ZodString;
|
|
181
|
-
|
|
356
|
+
runner: z.ZodString;
|
|
182
357
|
region: z.ZodString;
|
|
183
|
-
|
|
358
|
+
image: z.ZodString;
|
|
184
359
|
teamId: z.ZodString;
|
|
185
360
|
projectId: z.ZodString;
|
|
186
361
|
base: z.ZodString;
|
|
@@ -195,7 +370,7 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
195
370
|
"expires-soon": "expires-soon";
|
|
196
371
|
"other-base": "other-base";
|
|
197
372
|
"other-owner": "other-owner";
|
|
198
|
-
"other-
|
|
373
|
+
"other-runner": "other-runner";
|
|
199
374
|
"steps-changed": "steps-changed";
|
|
200
375
|
}>>;
|
|
201
376
|
}, z.core.$strip>>;
|
|
@@ -203,6 +378,43 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
203
378
|
file: z.ZodString;
|
|
204
379
|
reason: z.ZodString;
|
|
205
380
|
}, z.core.$strip>>;
|
|
381
|
+
shared: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
382
|
+
teamId: z.ZodString;
|
|
383
|
+
projectId: z.ZodString;
|
|
384
|
+
team: z.ZodNullable<z.ZodString>;
|
|
385
|
+
project: z.ZodNullable<z.ZodString>;
|
|
386
|
+
kind: z.ZodLiteral<"listed">;
|
|
387
|
+
bucket: z.ZodString;
|
|
388
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
389
|
+
sandboxName: z.ZodString;
|
|
390
|
+
base: z.ZodString;
|
|
391
|
+
status: z.ZodEnum<{
|
|
392
|
+
building: "building";
|
|
393
|
+
expired: "expired";
|
|
394
|
+
"expires-soon": "expires-soon";
|
|
395
|
+
failed: "failed";
|
|
396
|
+
missing: "missing";
|
|
397
|
+
"no-snapshot": "no-snapshot";
|
|
398
|
+
ready: "ready";
|
|
399
|
+
"unknown-expiry": "unknown-expiry";
|
|
400
|
+
}>;
|
|
401
|
+
sandboxStatus: z.ZodString;
|
|
402
|
+
snapshotId: z.ZodNullable<z.ZodString>;
|
|
403
|
+
snapshotStatus: z.ZodNullable<z.ZodString>;
|
|
404
|
+
createdAt: z.ZodString;
|
|
405
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
406
|
+
expired: z.ZodBoolean;
|
|
407
|
+
picked: z.ZodBoolean;
|
|
408
|
+
builtBehind: z.ZodNullable<z.ZodNumber>;
|
|
409
|
+
}, z.core.$strip>>;
|
|
410
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
411
|
+
kind: z.ZodLiteral<"not-listed">;
|
|
412
|
+
why: z.ZodEnum<{
|
|
413
|
+
"no-base": "no-base";
|
|
414
|
+
"no-checkout": "no-checkout";
|
|
415
|
+
"no-runner": "no-runner";
|
|
416
|
+
}>;
|
|
417
|
+
}, z.core.$strip>], "kind">>;
|
|
206
418
|
}, z.core.$strip>;
|
|
207
419
|
}, {
|
|
208
420
|
listed: unknown;
|
|
@@ -218,22 +430,80 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
218
430
|
problem: string;
|
|
219
431
|
}[];
|
|
220
432
|
}]>;
|
|
433
|
+
missingTarget: import("@vercel/clinkr").SharedError<"missing_target", [data: {
|
|
434
|
+
missing: ("project" | "scope")[];
|
|
435
|
+
}]>;
|
|
436
|
+
runnerFailed: import("@vercel/clinkr").SharedError<"runner_failed", [data: {
|
|
437
|
+
failure: {
|
|
438
|
+
kind: "apply-failed" | "build-failed" | "install-failed" | "snapshot-build-step-failed";
|
|
439
|
+
label: string;
|
|
440
|
+
exitCode: number | null;
|
|
441
|
+
tail: string[];
|
|
442
|
+
} | {
|
|
443
|
+
kind: "sandbox-api-failed";
|
|
444
|
+
operation: string;
|
|
445
|
+
status: number | null;
|
|
446
|
+
message: string;
|
|
447
|
+
} | {
|
|
448
|
+
kind: "checkout-failed";
|
|
449
|
+
message: string;
|
|
450
|
+
command: string | null;
|
|
451
|
+
} | {
|
|
452
|
+
kind: "credential-claims-missing";
|
|
453
|
+
team: string;
|
|
454
|
+
project: string;
|
|
455
|
+
} | {
|
|
456
|
+
kind: "network-policy-failed";
|
|
457
|
+
operation: "inject" | "remove";
|
|
458
|
+
around: "command" | "run-steps" | "snapshot-save" | "snapshot-steps";
|
|
459
|
+
reason: "api" | "timed-out";
|
|
460
|
+
status: number | null;
|
|
461
|
+
message: string;
|
|
462
|
+
};
|
|
463
|
+
cleanup: import("../../../shared/cleanup.ts").StormCleanupFacts;
|
|
464
|
+
}]>;
|
|
465
|
+
sharedListFailed: z.ZodObject<{
|
|
466
|
+
teamId: z.ZodString;
|
|
467
|
+
projectId: z.ZodString;
|
|
468
|
+
team: z.ZodNullable<z.ZodString>;
|
|
469
|
+
project: z.ZodNullable<z.ZodString>;
|
|
470
|
+
message: z.ZodString;
|
|
471
|
+
}, z.core.$strip>;
|
|
221
472
|
launchMachineHasNoSnapshot: z.ZodObject<{
|
|
222
473
|
suite: z.ZodNullable<z.ZodString>;
|
|
223
474
|
configFile: z.ZodNullable<z.ZodString>;
|
|
224
475
|
}, z.core.$strip>;
|
|
225
|
-
|
|
476
|
+
localIndexUnreadable: z.ZodObject<{
|
|
226
477
|
path: z.ZodString;
|
|
227
478
|
message: z.ZodString;
|
|
228
479
|
}, z.core.$strip>;
|
|
229
480
|
checkoutFailed: z.ZodObject<{
|
|
230
481
|
message: z.ZodString;
|
|
231
482
|
}, z.core.$strip>;
|
|
483
|
+
mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
|
|
484
|
+
team: string;
|
|
485
|
+
project: string;
|
|
486
|
+
cause: string;
|
|
487
|
+
fix: string;
|
|
488
|
+
}]>;
|
|
232
489
|
suiteNotFound: import("@vercel/clinkr").SharedError<"suite_not_found", [data: {
|
|
233
490
|
suite: string;
|
|
234
491
|
suites: string[];
|
|
235
492
|
configFile: string | null;
|
|
236
493
|
}]>;
|
|
494
|
+
tokenRequestFailed: import("@vercel/clinkr").SharedError<"token_request_failed", [data: {
|
|
495
|
+
cause: "request-failed" | "variables-missing";
|
|
496
|
+
missing: ("ACTIONS_ID_TOKEN_REQUEST_TOKEN" | "ACTIONS_ID_TOKEN_REQUEST_URL")[] | null;
|
|
497
|
+
status: number | null;
|
|
498
|
+
said: string | null;
|
|
499
|
+
detail: string;
|
|
500
|
+
fix: string;
|
|
501
|
+
}]>;
|
|
502
|
+
vercelOidcTokenFailed: import("@vercel/clinkr").SharedError<"vercel_oidc_token_failed", [data: {
|
|
503
|
+
cause: "invalid-token" | "missing-token";
|
|
504
|
+
detail: string;
|
|
505
|
+
fix: string;
|
|
506
|
+
}]>;
|
|
237
507
|
}, {
|
|
238
508
|
readonly invalidConfig: import("@vercel/clinkr").SharedError<"invalid_config", [data: {
|
|
239
509
|
file: string;
|
|
@@ -246,6 +516,58 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
246
516
|
problem: string;
|
|
247
517
|
}[];
|
|
248
518
|
}]>;
|
|
519
|
+
readonly missingTarget: import("@vercel/clinkr").SharedError<"missing_target", [data: {
|
|
520
|
+
missing: ("project" | "scope")[];
|
|
521
|
+
}]>;
|
|
522
|
+
readonly runnerFailed: import("@vercel/clinkr").SharedError<"runner_failed", [data: {
|
|
523
|
+
failure: {
|
|
524
|
+
kind: "apply-failed" | "build-failed" | "install-failed" | "snapshot-build-step-failed";
|
|
525
|
+
label: string;
|
|
526
|
+
exitCode: number | null;
|
|
527
|
+
tail: string[];
|
|
528
|
+
} | {
|
|
529
|
+
kind: "sandbox-api-failed";
|
|
530
|
+
operation: string;
|
|
531
|
+
status: number | null;
|
|
532
|
+
message: string;
|
|
533
|
+
} | {
|
|
534
|
+
kind: "checkout-failed";
|
|
535
|
+
message: string;
|
|
536
|
+
command: string | null;
|
|
537
|
+
} | {
|
|
538
|
+
kind: "credential-claims-missing";
|
|
539
|
+
team: string;
|
|
540
|
+
project: string;
|
|
541
|
+
} | {
|
|
542
|
+
kind: "network-policy-failed";
|
|
543
|
+
operation: "inject" | "remove";
|
|
544
|
+
around: "command" | "run-steps" | "snapshot-save" | "snapshot-steps";
|
|
545
|
+
reason: "api" | "timed-out";
|
|
546
|
+
status: number | null;
|
|
547
|
+
message: string;
|
|
548
|
+
};
|
|
549
|
+
cleanup: import("../../../shared/cleanup.ts").StormCleanupFacts;
|
|
550
|
+
}]>;
|
|
551
|
+
readonly sharedListFailed: {
|
|
552
|
+
exitCode: 1;
|
|
553
|
+
description: string;
|
|
554
|
+
schema: z.ZodObject<{
|
|
555
|
+
teamId: z.ZodString;
|
|
556
|
+
projectId: z.ZodString;
|
|
557
|
+
team: z.ZodNullable<z.ZodString>;
|
|
558
|
+
project: z.ZodNullable<z.ZodString>;
|
|
559
|
+
message: z.ZodString;
|
|
560
|
+
}, z.core.$strip>;
|
|
561
|
+
render: (facts: import("../access.ts").ProjectFacts & {
|
|
562
|
+
readonly message: string;
|
|
563
|
+
}) => {
|
|
564
|
+
message: string;
|
|
565
|
+
next: {
|
|
566
|
+
type: "text";
|
|
567
|
+
text: string;
|
|
568
|
+
}[];
|
|
569
|
+
};
|
|
570
|
+
};
|
|
249
571
|
readonly launchMachineHasNoSnapshot: {
|
|
250
572
|
readonly exitCode: 2;
|
|
251
573
|
readonly description: "The effective runner is the launch machine, which has no runner snapshot.";
|
|
@@ -263,9 +585,9 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
263
585
|
}[];
|
|
264
586
|
};
|
|
265
587
|
};
|
|
266
|
-
readonly
|
|
588
|
+
readonly localIndexUnreadable: {
|
|
267
589
|
readonly exitCode: 1;
|
|
268
|
-
readonly description: "storm couldn't read the
|
|
590
|
+
readonly description: "storm couldn't read the local snapshot index directory.";
|
|
269
591
|
readonly schema: z.ZodObject<{
|
|
270
592
|
path: z.ZodString;
|
|
271
593
|
message: z.ZodString;
|
|
@@ -280,7 +602,7 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
280
602
|
};
|
|
281
603
|
readonly checkoutFailed: {
|
|
282
604
|
readonly exitCode: 1;
|
|
283
|
-
readonly description: "git failed while storm checked the checkout or
|
|
605
|
+
readonly description: "git failed while storm checked the checkout or an indexed snapshot's base, as a run here would refuse.";
|
|
284
606
|
readonly schema: z.ZodObject<{
|
|
285
607
|
message: z.ZodString;
|
|
286
608
|
}, z.core.$strip>;
|
|
@@ -294,10 +616,29 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
294
616
|
}[];
|
|
295
617
|
};
|
|
296
618
|
};
|
|
619
|
+
readonly mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
|
|
620
|
+
team: string;
|
|
621
|
+
project: string;
|
|
622
|
+
cause: string;
|
|
623
|
+
fix: string;
|
|
624
|
+
}]>;
|
|
297
625
|
readonly suiteNotFound: import("@vercel/clinkr").SharedError<"suite_not_found", [data: {
|
|
298
626
|
suite: string;
|
|
299
627
|
suites: string[];
|
|
300
628
|
configFile: string | null;
|
|
301
629
|
}]>;
|
|
630
|
+
readonly tokenRequestFailed: import("@vercel/clinkr").SharedError<"token_request_failed", [data: {
|
|
631
|
+
cause: "request-failed" | "variables-missing";
|
|
632
|
+
missing: ("ACTIONS_ID_TOKEN_REQUEST_TOKEN" | "ACTIONS_ID_TOKEN_REQUEST_URL")[] | null;
|
|
633
|
+
status: number | null;
|
|
634
|
+
said: string | null;
|
|
635
|
+
detail: string;
|
|
636
|
+
fix: string;
|
|
637
|
+
}]>;
|
|
638
|
+
readonly vercelOidcTokenFailed: import("@vercel/clinkr").SharedError<"vercel_oidc_token_failed", [data: {
|
|
639
|
+
cause: "invalid-token" | "missing-token";
|
|
640
|
+
detail: string;
|
|
641
|
+
fix: string;
|
|
642
|
+
}]>;
|
|
302
643
|
}>>, import("../../../context.ts").StormApp, false>;
|
|
303
644
|
export default _default;
|