@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,10 +1,10 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import type { InspectedSnapshot } from "../../../runner/index.ts";
|
|
2
|
+
import type { InspectedSnapshot, SharedSnapshotSelection } from "../../../runner/index.ts";
|
|
3
3
|
declare const snapshotSchema: z.ZodObject<{
|
|
4
4
|
snapshotId: z.ZodString;
|
|
5
|
-
|
|
5
|
+
runner: z.ZodString;
|
|
6
6
|
region: z.ZodString;
|
|
7
|
-
|
|
7
|
+
image: z.ZodString;
|
|
8
8
|
teamId: z.ZodString;
|
|
9
9
|
projectId: z.ZodString;
|
|
10
10
|
base: z.ZodString;
|
|
@@ -19,11 +19,77 @@ declare const snapshotSchema: z.ZodObject<{
|
|
|
19
19
|
"expires-soon": "expires-soon";
|
|
20
20
|
"other-base": "other-base";
|
|
21
21
|
"other-owner": "other-owner";
|
|
22
|
-
"other-
|
|
22
|
+
"other-runner": "other-runner";
|
|
23
23
|
"steps-changed": "steps-changed";
|
|
24
24
|
}>>;
|
|
25
25
|
}, z.core.$strip>;
|
|
26
26
|
type SnapshotFacts = z.output<typeof snapshotSchema>;
|
|
27
|
+
/** One entry of the shared snapshot index, as `--shared` lists it. */
|
|
28
|
+
declare const sharedEntrySchema: z.ZodObject<{
|
|
29
|
+
sandboxName: z.ZodString;
|
|
30
|
+
base: z.ZodString;
|
|
31
|
+
status: z.ZodEnum<{
|
|
32
|
+
building: "building";
|
|
33
|
+
expired: "expired";
|
|
34
|
+
"expires-soon": "expires-soon";
|
|
35
|
+
failed: "failed";
|
|
36
|
+
missing: "missing";
|
|
37
|
+
"no-snapshot": "no-snapshot";
|
|
38
|
+
ready: "ready";
|
|
39
|
+
"unknown-expiry": "unknown-expiry";
|
|
40
|
+
}>;
|
|
41
|
+
sandboxStatus: z.ZodString;
|
|
42
|
+
snapshotId: z.ZodNullable<z.ZodString>;
|
|
43
|
+
snapshotStatus: z.ZodNullable<z.ZodString>;
|
|
44
|
+
createdAt: z.ZodString;
|
|
45
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
46
|
+
expired: z.ZodBoolean;
|
|
47
|
+
picked: z.ZodBoolean;
|
|
48
|
+
builtBehind: z.ZodNullable<z.ZodNumber>;
|
|
49
|
+
}, z.core.$strip>;
|
|
50
|
+
type SharedEntryFacts = z.output<typeof sharedEntrySchema>;
|
|
51
|
+
/** What `--shared` found in the shared snapshot index, or why it listed nothing. */
|
|
52
|
+
declare const sharedSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
53
|
+
teamId: z.ZodString;
|
|
54
|
+
projectId: z.ZodString;
|
|
55
|
+
team: z.ZodNullable<z.ZodString>;
|
|
56
|
+
project: z.ZodNullable<z.ZodString>;
|
|
57
|
+
kind: z.ZodLiteral<"listed">;
|
|
58
|
+
bucket: z.ZodString;
|
|
59
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
60
|
+
sandboxName: z.ZodString;
|
|
61
|
+
base: z.ZodString;
|
|
62
|
+
status: z.ZodEnum<{
|
|
63
|
+
building: "building";
|
|
64
|
+
expired: "expired";
|
|
65
|
+
"expires-soon": "expires-soon";
|
|
66
|
+
failed: "failed";
|
|
67
|
+
missing: "missing";
|
|
68
|
+
"no-snapshot": "no-snapshot";
|
|
69
|
+
ready: "ready";
|
|
70
|
+
"unknown-expiry": "unknown-expiry";
|
|
71
|
+
}>;
|
|
72
|
+
sandboxStatus: z.ZodString;
|
|
73
|
+
snapshotId: z.ZodNullable<z.ZodString>;
|
|
74
|
+
snapshotStatus: z.ZodNullable<z.ZodString>;
|
|
75
|
+
createdAt: z.ZodString;
|
|
76
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
77
|
+
expired: z.ZodBoolean;
|
|
78
|
+
picked: z.ZodBoolean;
|
|
79
|
+
builtBehind: z.ZodNullable<z.ZodNumber>;
|
|
80
|
+
}, z.core.$strip>>;
|
|
81
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
82
|
+
kind: z.ZodLiteral<"not-listed">;
|
|
83
|
+
why: z.ZodEnum<{
|
|
84
|
+
"no-base": "no-base";
|
|
85
|
+
"no-checkout": "no-checkout";
|
|
86
|
+
"no-runner": "no-runner";
|
|
87
|
+
}>;
|
|
88
|
+
}, z.core.$strip>], "kind">;
|
|
89
|
+
/** What `--shared` found, as the result reports it. */
|
|
90
|
+
export type SharedFacts = z.output<typeof sharedSchema>;
|
|
91
|
+
/** One shared snapshot index entry, with what the pick across both indexes says of it, as the result reports it. */
|
|
92
|
+
export declare function sharedEntryFacts(selection: SharedSnapshotSelection): SharedEntryFacts;
|
|
27
93
|
/** One inspected snapshot as the result reports it. */
|
|
28
94
|
export declare function snapshotFacts(snapshot: InspectedSnapshot): SnapshotFacts;
|
|
29
95
|
/**
|
|
@@ -37,14 +103,14 @@ export declare const outcomes: import("@vercel/clinkr").Outcomes<{
|
|
|
37
103
|
directory: z.ZodString;
|
|
38
104
|
configFile: z.ZodNullable<z.ZodString>;
|
|
39
105
|
picking: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
40
|
-
kind: z.ZodLiteral<"
|
|
41
|
-
|
|
106
|
+
kind: z.ZodLiteral<"runner">;
|
|
107
|
+
runner: z.ZodString;
|
|
42
108
|
}, z.core.$strip>, z.ZodObject<{
|
|
43
109
|
kind: z.ZodLiteral<"none">;
|
|
44
110
|
why: z.ZodEnum<{
|
|
45
111
|
"no-base": "no-base";
|
|
46
112
|
"no-checkout": "no-checkout";
|
|
47
|
-
"no-
|
|
113
|
+
"no-runner": "no-runner";
|
|
48
114
|
}>;
|
|
49
115
|
}, z.core.$strip>], "kind">;
|
|
50
116
|
all: z.ZodBoolean;
|
|
@@ -52,11 +118,11 @@ export declare const outcomes: import("@vercel/clinkr").Outcomes<{
|
|
|
52
118
|
mergeBase: z.ZodNullable<z.ZodString>;
|
|
53
119
|
mergeBaseRef: z.ZodNullable<z.ZodString>;
|
|
54
120
|
readAt: z.ZodString;
|
|
55
|
-
|
|
121
|
+
local: z.ZodArray<z.ZodObject<{
|
|
56
122
|
snapshotId: z.ZodString;
|
|
57
|
-
|
|
123
|
+
runner: z.ZodString;
|
|
58
124
|
region: z.ZodString;
|
|
59
|
-
|
|
125
|
+
image: z.ZodString;
|
|
60
126
|
teamId: z.ZodString;
|
|
61
127
|
projectId: z.ZodString;
|
|
62
128
|
base: z.ZodString;
|
|
@@ -71,7 +137,7 @@ export declare const outcomes: import("@vercel/clinkr").Outcomes<{
|
|
|
71
137
|
"expires-soon": "expires-soon";
|
|
72
138
|
"other-base": "other-base";
|
|
73
139
|
"other-owner": "other-owner";
|
|
74
|
-
"other-
|
|
140
|
+
"other-runner": "other-runner";
|
|
75
141
|
"steps-changed": "steps-changed";
|
|
76
142
|
}>>;
|
|
77
143
|
}, z.core.$strip>>;
|
|
@@ -79,6 +145,43 @@ export declare const outcomes: import("@vercel/clinkr").Outcomes<{
|
|
|
79
145
|
file: z.ZodString;
|
|
80
146
|
reason: z.ZodString;
|
|
81
147
|
}, z.core.$strip>>;
|
|
148
|
+
shared: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
149
|
+
teamId: z.ZodString;
|
|
150
|
+
projectId: z.ZodString;
|
|
151
|
+
team: z.ZodNullable<z.ZodString>;
|
|
152
|
+
project: z.ZodNullable<z.ZodString>;
|
|
153
|
+
kind: z.ZodLiteral<"listed">;
|
|
154
|
+
bucket: z.ZodString;
|
|
155
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
156
|
+
sandboxName: z.ZodString;
|
|
157
|
+
base: z.ZodString;
|
|
158
|
+
status: z.ZodEnum<{
|
|
159
|
+
building: "building";
|
|
160
|
+
expired: "expired";
|
|
161
|
+
"expires-soon": "expires-soon";
|
|
162
|
+
failed: "failed";
|
|
163
|
+
missing: "missing";
|
|
164
|
+
"no-snapshot": "no-snapshot";
|
|
165
|
+
ready: "ready";
|
|
166
|
+
"unknown-expiry": "unknown-expiry";
|
|
167
|
+
}>;
|
|
168
|
+
sandboxStatus: z.ZodString;
|
|
169
|
+
snapshotId: z.ZodNullable<z.ZodString>;
|
|
170
|
+
snapshotStatus: z.ZodNullable<z.ZodString>;
|
|
171
|
+
createdAt: z.ZodString;
|
|
172
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
173
|
+
expired: z.ZodBoolean;
|
|
174
|
+
picked: z.ZodBoolean;
|
|
175
|
+
builtBehind: z.ZodNullable<z.ZodNumber>;
|
|
176
|
+
}, z.core.$strip>>;
|
|
177
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
178
|
+
kind: z.ZodLiteral<"not-listed">;
|
|
179
|
+
why: z.ZodEnum<{
|
|
180
|
+
"no-base": "no-base";
|
|
181
|
+
"no-checkout": "no-checkout";
|
|
182
|
+
"no-runner": "no-runner";
|
|
183
|
+
}>;
|
|
184
|
+
}, z.core.$strip>], "kind">>;
|
|
82
185
|
}, z.core.$strip>;
|
|
83
186
|
}, {
|
|
84
187
|
listed: unknown;
|
|
@@ -94,22 +197,80 @@ export declare const outcomes: import("@vercel/clinkr").Outcomes<{
|
|
|
94
197
|
problem: string;
|
|
95
198
|
}[];
|
|
96
199
|
}]>;
|
|
200
|
+
missingTarget: import("@vercel/clinkr").SharedError<"missing_target", [data: {
|
|
201
|
+
missing: ("project" | "scope")[];
|
|
202
|
+
}]>;
|
|
203
|
+
runnerFailed: import("@vercel/clinkr").SharedError<"runner_failed", [data: {
|
|
204
|
+
failure: {
|
|
205
|
+
kind: "apply-failed" | "build-failed" | "install-failed" | "snapshot-build-step-failed";
|
|
206
|
+
label: string;
|
|
207
|
+
exitCode: number | null;
|
|
208
|
+
tail: string[];
|
|
209
|
+
} | {
|
|
210
|
+
kind: "sandbox-api-failed";
|
|
211
|
+
operation: string;
|
|
212
|
+
status: number | null;
|
|
213
|
+
message: string;
|
|
214
|
+
} | {
|
|
215
|
+
kind: "checkout-failed";
|
|
216
|
+
message: string;
|
|
217
|
+
command: string | null;
|
|
218
|
+
} | {
|
|
219
|
+
kind: "credential-claims-missing";
|
|
220
|
+
team: string;
|
|
221
|
+
project: string;
|
|
222
|
+
} | {
|
|
223
|
+
kind: "network-policy-failed";
|
|
224
|
+
operation: "inject" | "remove";
|
|
225
|
+
around: "command" | "run-steps" | "snapshot-save" | "snapshot-steps";
|
|
226
|
+
reason: "api" | "timed-out";
|
|
227
|
+
status: number | null;
|
|
228
|
+
message: string;
|
|
229
|
+
};
|
|
230
|
+
cleanup: import("../../../shared/cleanup.ts").StormCleanupFacts;
|
|
231
|
+
}]>;
|
|
232
|
+
sharedListFailed: z.ZodObject<{
|
|
233
|
+
teamId: z.ZodString;
|
|
234
|
+
projectId: z.ZodString;
|
|
235
|
+
team: z.ZodNullable<z.ZodString>;
|
|
236
|
+
project: z.ZodNullable<z.ZodString>;
|
|
237
|
+
message: z.ZodString;
|
|
238
|
+
}, z.core.$strip>;
|
|
97
239
|
launchMachineHasNoSnapshot: z.ZodObject<{
|
|
98
240
|
suite: z.ZodNullable<z.ZodString>;
|
|
99
241
|
configFile: z.ZodNullable<z.ZodString>;
|
|
100
242
|
}, z.core.$strip>;
|
|
101
|
-
|
|
243
|
+
localIndexUnreadable: z.ZodObject<{
|
|
102
244
|
path: z.ZodString;
|
|
103
245
|
message: z.ZodString;
|
|
104
246
|
}, z.core.$strip>;
|
|
105
247
|
checkoutFailed: z.ZodObject<{
|
|
106
248
|
message: z.ZodString;
|
|
107
249
|
}, z.core.$strip>;
|
|
250
|
+
mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
|
|
251
|
+
team: string;
|
|
252
|
+
project: string;
|
|
253
|
+
cause: string;
|
|
254
|
+
fix: string;
|
|
255
|
+
}]>;
|
|
108
256
|
suiteNotFound: import("@vercel/clinkr").SharedError<"suite_not_found", [data: {
|
|
109
257
|
suite: string;
|
|
110
258
|
suites: string[];
|
|
111
259
|
configFile: string | null;
|
|
112
260
|
}]>;
|
|
261
|
+
tokenRequestFailed: import("@vercel/clinkr").SharedError<"token_request_failed", [data: {
|
|
262
|
+
cause: "request-failed" | "variables-missing";
|
|
263
|
+
missing: ("ACTIONS_ID_TOKEN_REQUEST_TOKEN" | "ACTIONS_ID_TOKEN_REQUEST_URL")[] | null;
|
|
264
|
+
status: number | null;
|
|
265
|
+
said: string | null;
|
|
266
|
+
detail: string;
|
|
267
|
+
fix: string;
|
|
268
|
+
}]>;
|
|
269
|
+
vercelOidcTokenFailed: import("@vercel/clinkr").SharedError<"vercel_oidc_token_failed", [data: {
|
|
270
|
+
cause: "invalid-token" | "missing-token";
|
|
271
|
+
detail: string;
|
|
272
|
+
fix: string;
|
|
273
|
+
}]>;
|
|
113
274
|
}, {
|
|
114
275
|
readonly invalidConfig: import("@vercel/clinkr").SharedError<"invalid_config", [data: {
|
|
115
276
|
file: string;
|
|
@@ -122,6 +283,58 @@ export declare const outcomes: import("@vercel/clinkr").Outcomes<{
|
|
|
122
283
|
problem: string;
|
|
123
284
|
}[];
|
|
124
285
|
}]>;
|
|
286
|
+
readonly missingTarget: import("@vercel/clinkr").SharedError<"missing_target", [data: {
|
|
287
|
+
missing: ("project" | "scope")[];
|
|
288
|
+
}]>;
|
|
289
|
+
readonly runnerFailed: import("@vercel/clinkr").SharedError<"runner_failed", [data: {
|
|
290
|
+
failure: {
|
|
291
|
+
kind: "apply-failed" | "build-failed" | "install-failed" | "snapshot-build-step-failed";
|
|
292
|
+
label: string;
|
|
293
|
+
exitCode: number | null;
|
|
294
|
+
tail: string[];
|
|
295
|
+
} | {
|
|
296
|
+
kind: "sandbox-api-failed";
|
|
297
|
+
operation: string;
|
|
298
|
+
status: number | null;
|
|
299
|
+
message: string;
|
|
300
|
+
} | {
|
|
301
|
+
kind: "checkout-failed";
|
|
302
|
+
message: string;
|
|
303
|
+
command: string | null;
|
|
304
|
+
} | {
|
|
305
|
+
kind: "credential-claims-missing";
|
|
306
|
+
team: string;
|
|
307
|
+
project: string;
|
|
308
|
+
} | {
|
|
309
|
+
kind: "network-policy-failed";
|
|
310
|
+
operation: "inject" | "remove";
|
|
311
|
+
around: "command" | "run-steps" | "snapshot-save" | "snapshot-steps";
|
|
312
|
+
reason: "api" | "timed-out";
|
|
313
|
+
status: number | null;
|
|
314
|
+
message: string;
|
|
315
|
+
};
|
|
316
|
+
cleanup: import("../../../shared/cleanup.ts").StormCleanupFacts;
|
|
317
|
+
}]>;
|
|
318
|
+
readonly sharedListFailed: {
|
|
319
|
+
exitCode: 1;
|
|
320
|
+
description: string;
|
|
321
|
+
schema: z.ZodObject<{
|
|
322
|
+
teamId: z.ZodString;
|
|
323
|
+
projectId: z.ZodString;
|
|
324
|
+
team: z.ZodNullable<z.ZodString>;
|
|
325
|
+
project: z.ZodNullable<z.ZodString>;
|
|
326
|
+
message: z.ZodString;
|
|
327
|
+
}, z.core.$strip>;
|
|
328
|
+
render: (facts: import("../access.ts").ProjectFacts & {
|
|
329
|
+
readonly message: string;
|
|
330
|
+
}) => {
|
|
331
|
+
message: string;
|
|
332
|
+
next: {
|
|
333
|
+
type: "text";
|
|
334
|
+
text: string;
|
|
335
|
+
}[];
|
|
336
|
+
};
|
|
337
|
+
};
|
|
125
338
|
readonly launchMachineHasNoSnapshot: {
|
|
126
339
|
readonly exitCode: 2;
|
|
127
340
|
readonly description: "The effective runner is the launch machine, which has no runner snapshot.";
|
|
@@ -139,9 +352,9 @@ export declare const outcomes: import("@vercel/clinkr").Outcomes<{
|
|
|
139
352
|
}[];
|
|
140
353
|
};
|
|
141
354
|
};
|
|
142
|
-
readonly
|
|
355
|
+
readonly localIndexUnreadable: {
|
|
143
356
|
readonly exitCode: 1;
|
|
144
|
-
readonly description: "storm couldn't read the
|
|
357
|
+
readonly description: "storm couldn't read the local snapshot index directory.";
|
|
145
358
|
readonly schema: z.ZodObject<{
|
|
146
359
|
path: z.ZodString;
|
|
147
360
|
message: z.ZodString;
|
|
@@ -156,7 +369,7 @@ export declare const outcomes: import("@vercel/clinkr").Outcomes<{
|
|
|
156
369
|
};
|
|
157
370
|
readonly checkoutFailed: {
|
|
158
371
|
readonly exitCode: 1;
|
|
159
|
-
readonly description: "git failed while storm checked the checkout or
|
|
372
|
+
readonly description: "git failed while storm checked the checkout or an indexed snapshot's base, as a run here would refuse.";
|
|
160
373
|
readonly schema: z.ZodObject<{
|
|
161
374
|
message: z.ZodString;
|
|
162
375
|
}, z.core.$strip>;
|
|
@@ -170,10 +383,29 @@ export declare const outcomes: import("@vercel/clinkr").Outcomes<{
|
|
|
170
383
|
}[];
|
|
171
384
|
};
|
|
172
385
|
};
|
|
386
|
+
readonly mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
|
|
387
|
+
team: string;
|
|
388
|
+
project: string;
|
|
389
|
+
cause: string;
|
|
390
|
+
fix: string;
|
|
391
|
+
}]>;
|
|
173
392
|
readonly suiteNotFound: import("@vercel/clinkr").SharedError<"suite_not_found", [data: {
|
|
174
393
|
suite: string;
|
|
175
394
|
suites: string[];
|
|
176
395
|
configFile: string | null;
|
|
177
396
|
}]>;
|
|
397
|
+
readonly tokenRequestFailed: import("@vercel/clinkr").SharedError<"token_request_failed", [data: {
|
|
398
|
+
cause: "request-failed" | "variables-missing";
|
|
399
|
+
missing: ("ACTIONS_ID_TOKEN_REQUEST_TOKEN" | "ACTIONS_ID_TOKEN_REQUEST_URL")[] | null;
|
|
400
|
+
status: number | null;
|
|
401
|
+
said: string | null;
|
|
402
|
+
detail: string;
|
|
403
|
+
fix: string;
|
|
404
|
+
}]>;
|
|
405
|
+
readonly vercelOidcTokenFailed: import("@vercel/clinkr").SharedError<"vercel_oidc_token_failed", [data: {
|
|
406
|
+
cause: "invalid-token" | "missing-token";
|
|
407
|
+
detail: string;
|
|
408
|
+
fix: string;
|
|
409
|
+
}]>;
|
|
178
410
|
}>;
|
|
179
411
|
export {};
|