@cnc-tools/storm 0.14.2 → 0.16.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/application.js +3 -1
- package/dist/bin/storm.js +9 -7
- package/dist/build-info.js +1 -1
- package/dist/chunks/chunk-2MAD5NKK.js +108 -0
- package/dist/chunks/{chunk-HDL4WKIB.js → chunk-3L52KNQA.js} +2 -2
- package/dist/chunks/{chunk-GSC6SRTW.js → chunk-5CCP36QQ.js} +1 -1
- package/dist/chunks/{chunk-43MWZLJR.js → chunk-5VXBKPW6.js} +1 -1
- package/dist/chunks/chunk-7EENF73W.js +782 -0
- package/dist/chunks/{chunk-RA4L2ACU.js → chunk-AWBSONHB.js} +88 -34
- package/dist/chunks/chunk-CK2GZEPK.js +40 -0
- package/dist/chunks/{chunk-BRUIATTR.js → chunk-CN4EFA5J.js} +59 -12
- package/dist/chunks/{chunk-I7AN3DIJ.js → chunk-DC2CDHNK.js} +1928 -738
- package/dist/chunks/{chunk-UUBZTGLV.js → chunk-DWEAHX4T.js} +140 -130
- package/dist/chunks/{chunk-T6AZIDZD.js → chunk-F6N34UWB.js} +12 -244
- package/dist/chunks/chunk-FCQUJDA4.js +963 -0
- package/dist/chunks/{chunk-VH2POPW5.js → chunk-FOZWA52V.js} +635 -79
- package/dist/chunks/{chunk-XZCDA5PE.js → chunk-G3PHMXH5.js} +7 -2
- package/dist/chunks/{chunk-3HBPNQ4Y.js → chunk-HVNK3I45.js} +2 -2
- package/dist/chunks/chunk-OIY3DMF2.js +74 -0
- package/dist/chunks/{chunk-GJOEPJJL.js → chunk-P357TZAY.js} +446 -52
- package/dist/chunks/{chunk-UC6DULWY.js → chunk-R7XVBZOY.js} +130 -39
- package/dist/chunks/chunk-TJNFVNKR.js +246 -0
- package/dist/chunks/{chunk-RUPD4TLT.js → chunk-V4IKA3WI.js} +198 -63
- package/dist/chunks/{chunk-BW2ADH7U.js → chunk-VUPZH7J2.js} +1 -1
- package/dist/chunks/{chunk-LUOHJ3LB.js → chunk-Z5PBVG3Y.js} +1131 -468
- package/dist/chunks/{chunk-GQIL3AHY.js → chunk-ZG3WQ4UF.js} +1 -1
- package/dist/chunks/{live-app-SZGEILCQ.js → live-app-WECQOQ4C.js} +28 -23
- package/dist/command-tree.d.ts +2 -2
- package/dist/command-tree.js +2 -2
- package/dist/commands/exec/across-sandboxes-outcomes.d.ts +364 -0
- package/dist/commands/exec/across-sandboxes-outcomes.js +230 -0
- package/dist/commands/exec/across-sandboxes-run.d.ts +180 -0
- package/dist/commands/exec/across-sandboxes-run.js +339 -0
- package/dist/commands/exec/command.d.ts +583 -75
- package/dist/commands/exec/command.js +165 -32
- package/dist/commands/exec/driver-plan.d.ts +8 -2
- package/dist/commands/exec/driver-plan.js +13 -3
- package/dist/commands/exec/exec-words.d.ts +17 -3
- package/dist/commands/exec/exec-words.js +27 -16
- package/dist/commands/exec/live-view.d.ts +3 -4
- package/dist/commands/exec/live-view.js +37 -28
- package/dist/commands/exec/metadata.js +2 -2
- package/dist/commands/exec/mint-failed.d.ts +4 -4
- package/dist/commands/exec/mint-failed.js +6 -6
- package/dist/commands/exec/outcomes.d.ts +533 -73
- package/dist/commands/exec/outcomes.js +203 -67
- package/dist/commands/exec/plan-only.d.ts +10 -0
- package/dist/commands/exec/plan-only.js +45 -0
- package/dist/commands/exec/plan-run.d.ts +54 -35
- package/dist/commands/exec/plan-run.js +81 -38
- package/dist/commands/exec/planned-outcome.d.ts +15 -0
- package/dist/commands/exec/planned-outcome.js +42 -0
- package/dist/commands/exec/progress.d.ts +2 -2
- package/dist/commands/exec/progress.js +35 -18
- package/dist/commands/exec/resource-refusals.d.ts +2 -2
- package/dist/commands/exec/resource-refusals.js +3 -3
- package/dist/commands/exec/run-bin.d.ts +1 -1
- package/dist/commands/exec/run-bin.js +2 -2
- package/dist/commands/exec/run-command.d.ts +344 -63
- package/dist/commands/exec/run-command.js +312 -263
- package/dist/commands/exec/run-metadata.d.ts +42 -8
- package/dist/commands/exec/run-metadata.js +40 -21
- package/dist/commands/exec/run-planned.d.ts +20 -0
- package/dist/commands/exec/run-planned.js +22 -0
- package/dist/commands/exec/sandbox-lines.d.ts +42 -0
- package/dist/commands/exec/sandbox-lines.js +59 -0
- package/dist/commands/exec/sandbox-progress.d.ts +30 -0
- package/dist/commands/exec/sandbox-progress.js +232 -0
- package/dist/commands/exec/sandbox-view.d.ts +19 -0
- package/dist/commands/exec/sandbox-view.js +72 -0
- package/dist/commands/exec/view.d.ts +3 -2
- package/dist/commands/exec/view.js +10 -6
- package/dist/commands/runs/facts.d.ts +53 -10
- package/dist/commands/runs/facts.js +60 -32
- package/dist/commands/runs/list/command.d.ts +82 -4
- package/dist/commands/runs/list/command.js +11 -10
- package/dist/commands/runs/list/metadata.js +1 -1
- package/dist/commands/runs/list/outcomes.d.ts +41 -2
- package/dist/commands/runs/logs/command.d.ts +109 -10
- package/dist/commands/runs/logs/command.js +139 -24
- package/dist/commands/runs/logs/metadata.d.ts +4 -0
- package/dist/commands/runs/logs/metadata.js +14 -7
- package/dist/commands/runs/logs/outcomes.d.ts +52 -3
- package/dist/commands/runs/logs/outcomes.js +110 -6
- package/dist/commands/runs/past-run.d.ts +91 -11
- package/dist/commands/runs/past-run.js +149 -9
- package/dist/commands/runs/show/command.d.ts +574 -12
- package/dist/commands/runs/show/command.js +634 -119
- package/dist/commands/runs/show/metadata.d.ts +17 -0
- package/dist/commands/runs/show/metadata.js +48 -7
- package/dist/commands/runs/show/outcomes.d.ts +279 -6
- package/dist/commands/runs/show/outcomes.js +484 -96
- package/dist/commands/snapshots/build/command.d.ts +109 -18
- package/dist/commands/snapshots/build/command.js +72 -36
- package/dist/commands/snapshots/build/metadata.d.ts +4 -0
- package/dist/commands/snapshots/build/metadata.js +5 -1
- package/dist/commands/snapshots/build/outcomes.d.ts +53 -8
- package/dist/commands/snapshots/build/outcomes.js +26 -3
- package/dist/commands/snapshots/list/command.d.ts +72 -7
- package/dist/commands/snapshots/list/command.js +57 -24
- package/dist/commands/snapshots/list/metadata.d.ts +4 -0
- package/dist/commands/snapshots/list/metadata.js +5 -1
- package/dist/commands/snapshots/list/outcomes.d.ts +31 -0
- package/dist/commands/snapshots/list/outcomes.js +25 -2
- package/dist/commands/suites/list/command.d.ts +129 -0
- package/dist/commands/suites/list/command.js +163 -0
- package/dist/commands/suites/list/metadata.d.ts +11 -0
- package/dist/commands/suites/list/metadata.js +15 -0
- package/dist/commands/suites/list/outcomes.d.ts +91 -0
- package/dist/commands/suites/list/outcomes.js +122 -0
- package/dist/commands/suites/metadata.js +8 -0
- package/dist/commands/test/command.d.ts +1395 -0
- package/dist/commands/test/command.js +581 -0
- package/dist/commands/test/metadata.js +8 -0
- package/dist/commands/test/outcomes.d.ts +768 -0
- package/dist/commands/test/outcomes.js +140 -0
- package/dist/commands/test/plan.d.ts +92 -0
- package/dist/commands/test/plan.js +125 -0
- package/dist/commands/test/test-words.d.ts +12 -0
- package/dist/commands/test/test-words.js +42 -0
- package/dist/config/check-resources.d.ts +14 -0
- package/dist/config/check-resources.js +98 -0
- package/dist/config/check-runner.d.ts +15 -0
- package/dist/config/check-runner.js +79 -0
- package/dist/config/check-suites.d.ts +14 -0
- package/dist/config/check-suites.js +100 -0
- package/dist/config/gateways.d.ts +31 -3
- package/dist/config/index.d.ts +8 -6
- package/dist/config/index.js +5 -4
- package/dist/config/live/config-gateway.js +5 -2
- package/dist/config/live/file-lists-file-gateway.d.ts +4 -0
- package/dist/config/live/file-lists-file-gateway.js +27 -0
- package/dist/config/load.d.ts +32 -14
- package/dist/config/load.js +162 -116
- package/dist/config/resolve.d.ts +3 -2
- package/dist/config/resolve.js +6 -3
- package/dist/config/resolver.d.ts +20 -6
- package/dist/config/resolver.js +11 -8
- package/dist/config/runner.d.ts +23 -0
- package/dist/config/runner.js +4 -0
- package/dist/config/schema.d.ts +39 -19
- package/dist/config/schema.js +50 -10
- package/dist/config/settings-file.d.ts +9 -3
- package/dist/config/settings-file.js +41 -4
- package/dist/config/suite.d.ts +39 -0
- package/dist/config/suite.js +5 -0
- package/dist/config/typed-options.d.ts +1 -6
- package/dist/config/typed-options.js +2 -10
- package/dist/config-file/define.d.ts +45 -24
- package/dist/config-file/define.js +9 -8
- package/dist/config-file/runner.d.ts +11 -0
- package/dist/config-file/runner.js +9 -0
- package/dist/config-file/toolchain.d.ts +13 -7
- package/dist/config-file/toolchain.js +51 -35
- package/dist/context.d.ts +12 -8
- package/dist/context.js +9 -3
- package/dist/core/across-sandboxes.d.ts +43 -0
- package/dist/core/across-sandboxes.js +319 -0
- package/dist/core/before-run.d.ts +5 -3
- package/dist/core/before-run.js +12 -1
- package/dist/core/events.d.ts +62 -6
- package/dist/core/events.js +14 -0
- package/dist/core/index.d.ts +4 -2
- package/dist/core/index.js +3 -1
- package/dist/core/payload.d.ts +2 -1
- package/dist/core/payload.js +2 -1
- package/dist/core/presentations.js +1 -1
- package/dist/core/resource.d.ts +1 -1
- package/dist/core/resources.d.ts +56 -6
- package/dist/core/resources.js +81 -5
- package/dist/core/run-state.js +9 -0
- package/dist/core/run.d.ts +77 -15
- package/dist/core/run.js +150 -86
- package/dist/core/sandbox-end.d.ts +64 -0
- package/dist/core/sandbox-end.js +128 -0
- package/dist/core/timeline.d.ts +4 -4
- package/dist/core/timeline.js +3 -3
- package/dist/credential/live/vercel-cli-gateway.d.ts +7 -0
- package/dist/credential/live/vercel-cli-gateway.js +14 -1
- package/dist/extensions/github/context.d.ts +1 -1
- package/dist/extensions/github/definition.d.ts +11 -9
- package/dist/extensions/github/definition.js +8 -6
- package/dist/extensions/github/extension.d.ts +3 -3
- package/dist/extensions/github/fixture-repo.d.ts +21 -2
- package/dist/extensions/github/fixture-repo.js +31 -2
- package/dist/extensions/github/index.d.ts +2 -2
- package/dist/extensions/github/index.js +2 -2
- package/dist/extensions/github/lifecycle.d.ts +16 -6
- package/dist/extensions/github/lifecycle.js +42 -25
- package/dist/extensions/github/options.d.ts +17 -11
- package/dist/extensions/github/options.js +14 -13
- package/dist/extensions/github/refusals.d.ts +23 -6
- package/dist/extensions/github/refusals.js +34 -12
- package/dist/extensions/github/resource.d.ts +21 -12
- package/dist/extensions/github/resource.js +16 -8
- package/dist/extensions/github/run/payload.d.ts +6 -6
- package/dist/extensions/github/run/payload.js +3 -5
- package/dist/extensions/github/split.d.ts +10 -0
- package/dist/extensions/github/split.js +12 -0
- package/dist/extensions/playwright/driver.js +6 -26
- package/dist/extensions/playwright/extension.js +1 -1
- package/dist/extensions/testserver/commands/pool/create/command.js +8 -8
- package/dist/extensions/testserver/commands/pool/list/command.js +4 -4
- package/dist/extensions/testserver/definition.d.ts +4 -4
- package/dist/extensions/testserver/definition.js +41 -31
- package/dist/extensions/testserver/extension.d.ts +4 -5
- package/dist/extensions/testserver/extension.js +14 -41
- package/dist/extensions/testserver/index.d.ts +1 -1
- package/dist/extensions/testserver/index.js +1 -1
- package/dist/extensions/testserver/lifecycle.d.ts +10 -2
- package/dist/extensions/testserver/lifecycle.js +29 -6
- package/dist/extensions/testserver/options/rules.d.ts +5 -5
- package/dist/extensions/testserver/options/rules.js +10 -8
- package/dist/extensions/testserver/options/sandboxes.d.ts +4 -2
- package/dist/extensions/testserver/options/sandboxes.js +8 -3
- package/dist/extensions/testserver/pool/gateways.d.ts +29 -4
- package/dist/extensions/testserver/pool/index.d.ts +2 -2
- package/dist/extensions/testserver/pool/index.js +1 -1
- package/dist/extensions/testserver/pool/lease.d.ts +10 -0
- package/dist/extensions/testserver/pool/lease.js +21 -0
- package/dist/extensions/testserver/pool/live/pool-store-gateway.js +38 -3
- package/dist/extensions/testserver/refusals.d.ts +12 -0
- package/dist/extensions/testserver/refusals.js +18 -0
- package/dist/extensions/testserver/release.d.ts +16 -0
- package/dist/extensions/testserver/release.js +56 -4
- package/dist/extensions/testserver/resource.d.ts +6 -6
- package/dist/extensions/testserver/resource.js +3 -3
- package/dist/extensions/testserver/split.d.ts +9 -0
- package/dist/extensions/testserver/split.js +22 -0
- package/dist/extensions/testserver/vitest/fixtures.d.ts +5 -5
- package/dist/extensions/testserver/vitest/fixtures.js +9 -38
- package/dist/extensions/vitest/driver.d.ts +7 -0
- package/dist/extensions/vitest/driver.js +33 -37
- package/dist/extensions/vitest/extension.js +1 -1
- package/dist/extensions/vitest/plan/plan-over.d.ts +8 -1
- package/dist/extensions/vitest/plan/plan-over.js +16 -2
- package/dist/extensions.d.ts +17 -16
- package/dist/extensions.js +5 -4
- package/dist/forward-sigterm.js +1 -1
- package/dist/launcher-resolvers/local-services.d.ts +1 -1
- package/dist/live-app.js +4 -3
- package/dist/local-services.js +1 -1
- package/dist/planning/driver-file-lists.d.ts +61 -0
- package/dist/planning/driver-file-lists.js +66 -0
- package/dist/{commands/exec → planning}/driver-refusals.d.ts +11 -10
- package/dist/{commands/exec → planning}/driver-refusals.js +18 -14
- package/dist/planning/file-lists-file.d.ts +58 -0
- package/dist/planning/file-lists-file.js +105 -0
- package/dist/planning/file-lists.d.ts +28 -0
- package/dist/planning/file-lists.js +52 -0
- package/dist/{commands/exec → planning}/final-results.d.ts +1 -1
- package/dist/{commands/exec → planning}/final-results.js +6 -6
- package/dist/planning/plan-only.d.ts +84 -0
- package/dist/planning/plan-only.js +86 -0
- package/dist/{commands/exec → planning}/redaction.d.ts +2 -2
- package/dist/{commands/exec → planning}/redaction.js +5 -4
- package/dist/{commands/exec → planning}/resource-flags.d.ts +5 -12
- package/dist/{commands/exec → planning}/resource-flags.js +6 -16
- package/dist/planning/run-kind-flags.d.ts +20 -0
- package/dist/planning/run-kind-flags.js +48 -0
- package/dist/planning/run-plan.d.ts +29 -0
- package/dist/planning/run-plan.js +4 -0
- package/dist/planning/sandbox-placeholders.d.ts +22 -0
- package/dist/planning/sandbox-placeholders.js +60 -0
- package/dist/planning/suite-not-found.d.ts +37 -0
- package/dist/planning/suite-not-found.js +36 -0
- package/dist/planning/suites.d.ts +43 -0
- package/dist/planning/suites.js +89 -0
- package/dist/{commands/exec → planning}/test-plan.d.ts +8 -3
- package/dist/{commands/exec → planning}/test-plan.js +32 -5
- package/dist/playwright/reporter.d.ts +20 -8
- package/dist/playwright/reporter.js +195 -15
- package/dist/presentation.d.ts +10 -6
- package/dist/presentation.js +13 -15
- package/dist/run-directory/gateways.d.ts +60 -4
- package/dist/run-directory/index.d.ts +4 -4
- package/dist/run-directory/index.js +2 -1
- package/dist/run-directory/live/run-directory-gateway.js +92 -16
- package/dist/run-directory/plan.d.ts +35 -2
- package/dist/run-directory/plan.js +44 -7
- package/dist/run-directory/reader.d.ts +26 -5
- package/dist/run-directory/reader.js +24 -1
- package/dist/run-directory/recording.d.ts +75 -49
- package/dist/run-directory/recording.js +214 -28
- package/dist/run-directory/run-directory.d.ts +22 -1
- package/dist/run-directory/run-directory.js +24 -0
- package/dist/run-directory/run-record.d.ts +144 -21
- package/dist/run-directory/run-record.js +118 -19
- package/dist/run-directory/timeline-facts.js +4 -4
- package/dist/runner/base.d.ts +0 -6
- package/dist/runner/base.js +0 -15
- package/dist/runner/build-snapshots.d.ts +7 -7
- package/dist/runner/build-snapshots.js +19 -24
- package/dist/runner/events.d.ts +29 -8
- package/dist/runner/gateways.d.ts +54 -6
- package/dist/runner/index.d.ts +6 -4
- package/dist/runner/index.js +3 -2
- package/dist/runner/live/sandbox-gateway.js +173 -31
- package/dist/runner/network-policy.d.ts +55 -0
- package/dist/runner/network-policy.js +46 -0
- package/dist/runner/policy-writes.d.ts +40 -0
- package/dist/runner/policy-writes.js +124 -0
- package/dist/runner/prepare.d.ts +16 -16
- package/dist/runner/prepare.js +11 -12
- package/dist/runner/ready.d.ts +39 -10
- package/dist/runner/ready.js +59 -47
- package/dist/runner/recipe-check.d.ts +6 -0
- package/dist/runner/recipe-check.js +29 -0
- package/dist/runner/recipe-secrets.d.ts +67 -0
- package/dist/runner/recipe-secrets.js +230 -0
- package/dist/runner/recipe.d.ts +151 -63
- package/dist/runner/recipe.js +277 -200
- package/dist/runner/sandboxed-command.d.ts +22 -8
- package/dist/runner/sandboxed-command.js +33 -10
- package/dist/runner/scope.d.ts +107 -21
- package/dist/runner/scope.js +274 -54
- package/dist/runner/secrets.d.ts +42 -31
- package/dist/runner/secrets.js +62 -40
- package/dist/runner/session.d.ts +59 -26
- package/dist/runner/session.js +82 -41
- package/dist/runner/snapshot-build.d.ts +8 -5
- package/dist/runner/snapshot-build.js +56 -29
- package/dist/runner/snapshot-choice.d.ts +37 -0
- package/dist/runner/snapshot-choice.js +38 -0
- package/dist/runner/snapshot-inspect.d.ts +4 -4
- package/dist/runner/snapshot-inspect.js +7 -7
- package/dist/runner/snapshot-key.d.ts +27 -17
- package/dist/runner/snapshot-key.js +51 -26
- package/dist/runner/steps.d.ts +13 -5
- package/dist/runner/steps.js +34 -4
- package/dist/runner/time-limit.d.ts +10 -0
- package/dist/runner/time-limit.js +43 -0
- package/dist/sdk/extension/commands.d.ts +1 -7
- package/dist/sdk/extension/driver.d.ts +39 -46
- package/dist/sdk/extension/driver.js +6 -6
- package/dist/sdk/extension/index.d.ts +3 -3
- package/dist/sdk/extension/index.js +3 -4
- package/dist/sdk/extension/lifecycle.d.ts +52 -9
- package/dist/sdk/extension/lifecycle.js +1 -1
- package/dist/sdk/extension/resource-definition.d.ts +16 -12
- package/dist/sdk/extension/resource-definition.js +10 -4
- package/dist/sdk/extension/resource-factory.js +3 -4
- package/dist/sdk/extension/resource.d.ts +2 -2
- package/dist/sdk/extension/secret-source.d.ts +58 -0
- package/dist/sdk/extension/secret-source.js +78 -0
- package/dist/sdk/index.d.ts +2 -2
- package/dist/sdk/index.js +1 -1
- package/dist/sdk/run/launcher.d.ts +1 -1
- package/dist/sdk/run/launcher.js +1 -1
- package/dist/sdk/run/payload.d.ts +16 -1
- package/dist/sdk/run/payload.js +17 -2
- package/dist/sdk/run/present.d.ts +3 -3
- package/dist/sdk/run/present.js +1 -3
- package/dist/sdk/run/redact.js +2 -2
- package/dist/sdk/run/test-events.d.ts +23 -6
- package/dist/sdk/run/test-events.js +6 -4
- package/dist/sdk/run/test-result-writer.d.ts +8 -3
- package/dist/sdk/run/test-result-writer.js +22 -2
- package/dist/{commands/exec → shared}/cleanup.d.ts +3 -3
- package/dist/{commands/exec → shared}/cleanup.js +11 -6
- package/dist/shared/job-summary.d.ts +19 -0
- package/dist/{commands/exec → shared}/job-summary.js +17 -0
- package/dist/shared/sandbox-table.d.ts +48 -0
- package/dist/shared/sandbox-table.js +109 -0
- package/dist/{commands/exec → shared}/snapshot-text.d.ts +1 -1
- package/dist/{commands/exec → shared}/tests-summary.d.ts +22 -6
- package/dist/{commands/exec → shared}/tests-summary.js +74 -31
- package/dist/{commands/exec → shared}/text.d.ts +7 -2
- package/dist/{commands/exec → shared}/text.js +9 -1
- package/dist/{commands/exec → shared}/waterfall.d.ts +8 -6
- package/dist/{commands/exec → shared}/waterfall.js +71 -24
- package/dist/shared/worker-chart.d.ts +172 -0
- package/dist/shared/worker-chart.js +623 -0
- package/dist/vitest/config.d.ts +35 -11
- package/dist/vitest/config.js +47 -14
- package/dist/vitest/index.d.ts +1 -1
- package/dist/vitest/index.js +3 -3
- package/dist/vitest/sequencer.d.ts +23 -0
- package/dist/vitest/sequencer.js +73 -0
- package/dist/vitest/setup.d.ts +1 -0
- package/dist/vitest/setup.js +34 -0
- package/dist/vitest/test-events.d.ts +32 -6
- package/dist/vitest/test-events.js +25 -5
- package/dist/vitest/test-results.d.ts +8 -3
- package/dist/vitest/test-results.js +6 -0
- package/package.json +7 -2
- package/skills/overview.md +23 -17
- package/skills/plan-runs.md +67 -0
- package/skills/read-run-output.md +51 -19
- package/dist/chunks/chunk-E3QU74NX.js +0 -49
- package/dist/chunks/chunk-HP54VHGY.js +0 -201
- package/dist/chunks/chunk-NMVODY3P.js +0 -19
- package/dist/chunks/chunk-TVMEKVOW.js +0 -607
- package/dist/commands/exec/define-run-command.d.ts +0 -671
- package/dist/commands/exec/define-run-command.js +0 -91
- package/dist/commands/exec/job-summary.d.ts +0 -10
- package/dist/commands/exec/worker-chart.d.ts +0 -87
- package/dist/commands/exec/worker-chart.js +0 -343
- package/dist/commands/playwright/command.d.ts +0 -661
- package/dist/commands/playwright/command.js +0 -31
- package/dist/commands/playwright/metadata.js +0 -8
- package/dist/commands/vitest/command.d.ts +0 -662
- package/dist/commands/vitest/command.js +0 -31
- package/dist/commands/vitest/metadata.js +0 -8
- package/dist/config/recipe-run.d.ts +0 -26
- package/dist/config/recipe-run.js +0 -27
- package/dist/sdk/extension/ci.d.ts +0 -2
- package/dist/sdk/extension/ci.js +0 -6
- package/dist/chunks/{chunk-YM6TZV4L.js → chunk-VL7WFTVQ.js} +52 -52
- package/dist/commands/{playwright → suites}/metadata.d.ts +1 -1
- package/dist/commands/{vitest → test}/metadata.d.ts +1 -1
- /package/dist/{commands → shared}/dashboard.d.ts +0 -0
- /package/dist/{commands → shared}/dashboard.js +0 -0
- /package/dist/{commands/exec → shared}/snapshot-text.js +0 -0
|
@@ -6,10 +6,14 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
6
6
|
"github-actions": "github-actions";
|
|
7
7
|
mint: "mint";
|
|
8
8
|
}>>;
|
|
9
|
-
unsandboxed: z.ZodDefault<z.ZodBoolean>;
|
|
10
9
|
showOutput: z.ZodDefault<z.ZodBoolean>;
|
|
11
10
|
keepSandbox: z.ZodOptional<z.ZodString>;
|
|
12
11
|
verbose: z.ZodDefault<z.ZodBoolean>;
|
|
12
|
+
planOnly: z.ZodDefault<z.ZodBoolean>;
|
|
13
|
+
runner: z.ZodOptional<z.ZodEnum<{
|
|
14
|
+
"launch-machine": "launch-machine";
|
|
15
|
+
}>>;
|
|
16
|
+
sandboxes: z.ZodOptional<z.ZodNumber>;
|
|
13
17
|
command: z.ZodArray<z.ZodString>;
|
|
14
18
|
}, z.core.$strip>, import("@vercel/clinkr").Outcomes<{
|
|
15
19
|
ran: z.ZodObject<{
|
|
@@ -17,7 +21,7 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
17
21
|
commit: z.ZodNullable<z.ZodString>;
|
|
18
22
|
configFile: z.ZodNullable<z.ZodString>;
|
|
19
23
|
resources: z.ZodType<import("../../core/resource-reports.ts").InstanceFacts, import("../../core/resource-reports.ts").InstanceFacts, z.core.$ZodTypeInternals<import("../../core/resource-reports.ts").InstanceFacts, import("../../core/resource-reports.ts").InstanceFacts>>;
|
|
20
|
-
cleanup: z.ZodType<import("
|
|
24
|
+
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>>;
|
|
21
25
|
command: z.ZodObject<{
|
|
22
26
|
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
23
27
|
signal: z.ZodNullable<z.ZodString>;
|
|
@@ -76,15 +80,196 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
76
80
|
}, z.core.$strip>>;
|
|
77
81
|
}, z.core.$strip>;
|
|
78
82
|
runId: z.ZodNullable<z.ZodString>;
|
|
79
|
-
|
|
83
|
+
}, z.core.$strip>;
|
|
84
|
+
sandboxesRan: z.ZodObject<{
|
|
85
|
+
version: z.ZodString;
|
|
86
|
+
commit: z.ZodNullable<z.ZodString>;
|
|
87
|
+
configFile: z.ZodNullable<z.ZodString>;
|
|
88
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
89
|
+
runDirectory: z.ZodNullable<z.ZodString>;
|
|
90
|
+
sandboxes: z.ZodArray<z.ZodObject<{
|
|
91
|
+
sandbox: z.ZodNumber;
|
|
92
|
+
argv: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
93
|
+
files: z.ZodNullable<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
94
|
+
state: z.ZodEnum<{
|
|
95
|
+
canceled: "canceled";
|
|
96
|
+
failed: "failed";
|
|
97
|
+
"not-started": "not-started";
|
|
98
|
+
passed: "passed";
|
|
99
|
+
pending: "pending";
|
|
100
|
+
}>;
|
|
101
|
+
failedStage: z.ZodNullable<z.ZodEnum<{
|
|
102
|
+
apply: "apply";
|
|
103
|
+
build: "build";
|
|
104
|
+
checkout: "checkout";
|
|
105
|
+
command: "command";
|
|
106
|
+
install: "install";
|
|
107
|
+
mint: "mint";
|
|
108
|
+
resource: "resource";
|
|
109
|
+
snapshot: "snapshot";
|
|
110
|
+
start: "start";
|
|
111
|
+
storm: "storm";
|
|
112
|
+
upload: "upload";
|
|
113
|
+
}>>;
|
|
114
|
+
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
115
|
+
cause: z.ZodNullable<z.ZodString>;
|
|
116
|
+
name: z.ZodNullable<z.ZodString>;
|
|
117
|
+
keptUntil: z.ZodNullable<z.ZodString>;
|
|
118
|
+
preparedMs: z.ZodNullable<z.ZodNumber>;
|
|
119
|
+
commandMs: z.ZodNullable<z.ZodNumber>;
|
|
120
|
+
tests: z.ZodNullable<z.ZodObject<{
|
|
121
|
+
passed: z.ZodNumber;
|
|
122
|
+
failed: z.ZodNumber;
|
|
123
|
+
skipped: z.ZodNumber;
|
|
124
|
+
}, z.core.$strip>>;
|
|
125
|
+
tail: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
126
|
+
}, z.core.$strip>>;
|
|
127
|
+
states: z.ZodObject<{
|
|
128
|
+
passed: z.ZodNumber;
|
|
129
|
+
failed: z.ZodNumber;
|
|
130
|
+
"not-started": z.ZodNumber;
|
|
131
|
+
canceled: z.ZodNumber;
|
|
132
|
+
}, z.core.$strip>;
|
|
133
|
+
tests: z.ZodNullable<z.ZodObject<{
|
|
134
|
+
passed: z.ZodNumber;
|
|
135
|
+
failed: z.ZodNumber;
|
|
136
|
+
skipped: z.ZodNumber;
|
|
137
|
+
}, z.core.$strip>>;
|
|
138
|
+
plan: z.ZodObject<{
|
|
139
|
+
tests: z.ZodOptional<z.ZodNumber>;
|
|
140
|
+
files: z.ZodOptional<z.ZodNumber>;
|
|
141
|
+
options: z.ZodArray<z.ZodObject<{
|
|
142
|
+
path: z.ZodString;
|
|
143
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
144
|
+
from: z.ZodEnum<{
|
|
145
|
+
default: "default";
|
|
146
|
+
file: "file";
|
|
147
|
+
flag: "flag";
|
|
148
|
+
}>;
|
|
149
|
+
}, z.core.$strip>>;
|
|
150
|
+
sandboxes: z.ZodOptional<z.ZodObject<{
|
|
151
|
+
count: z.ZodNumber;
|
|
152
|
+
from: z.ZodEnum<{
|
|
153
|
+
default: "default";
|
|
154
|
+
"file-lists": "file-lists";
|
|
155
|
+
flag: "flag";
|
|
156
|
+
}>;
|
|
157
|
+
max: z.ZodNumber;
|
|
158
|
+
default: z.ZodOptional<z.ZodNumber>;
|
|
159
|
+
requested: z.ZodOptional<z.ZodNumber>;
|
|
160
|
+
leftOut: z.ZodOptional<z.ZodNumber>;
|
|
161
|
+
}, z.core.$strip>>;
|
|
162
|
+
}, z.core.$strip>;
|
|
163
|
+
resources: z.ZodType<import("../../core/resource-reports.ts").InstanceFacts, import("../../core/resource-reports.ts").InstanceFacts, z.core.$ZodTypeInternals<import("../../core/resource-reports.ts").InstanceFacts, import("../../core/resource-reports.ts").InstanceFacts>>;
|
|
164
|
+
wallMs: z.ZodNumber;
|
|
165
|
+
runner: z.ZodObject<{
|
|
166
|
+
snapshotId: z.ZodString;
|
|
167
|
+
base: z.ZodString;
|
|
168
|
+
builtBehind: z.ZodNullable<z.ZodNumber>;
|
|
169
|
+
built: z.ZodBoolean;
|
|
170
|
+
vcpus: z.ZodNumber;
|
|
171
|
+
region: z.ZodString;
|
|
172
|
+
runtime: z.ZodString;
|
|
173
|
+
uploadBytes: z.ZodNullable<z.ZodNumber>;
|
|
174
|
+
}, z.core.$strip>;
|
|
175
|
+
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>>;
|
|
176
|
+
kept: z.ZodArray<z.ZodObject<{
|
|
177
|
+
sandbox: z.ZodNumber;
|
|
178
|
+
name: z.ZodString;
|
|
179
|
+
stopsAt: z.ZodString;
|
|
180
|
+
url: z.ZodString;
|
|
181
|
+
}, z.core.$strip>>;
|
|
182
|
+
notKept: z.ZodArray<z.ZodObject<{
|
|
183
|
+
sandbox: z.ZodNumber;
|
|
184
|
+
name: z.ZodString;
|
|
185
|
+
message: z.ZodString;
|
|
186
|
+
}, z.core.$strip>>;
|
|
187
|
+
fileListMismatches: z.ZodArray<z.ZodObject<{
|
|
188
|
+
sandbox: z.ZodNumber;
|
|
189
|
+
missing: z.ZodArray<z.ZodString>;
|
|
190
|
+
extra: z.ZodArray<z.ZodString>;
|
|
191
|
+
}, z.core.$strip>>;
|
|
192
|
+
}, z.core.$strip>;
|
|
193
|
+
planned: z.ZodObject<{
|
|
194
|
+
version: z.ZodString;
|
|
195
|
+
commit: z.ZodNullable<z.ZodString>;
|
|
196
|
+
configFile: z.ZodNullable<z.ZodString>;
|
|
197
|
+
argv: z.ZodArray<z.ZodString>;
|
|
198
|
+
plan: z.ZodNullable<z.ZodObject<{
|
|
199
|
+
tests: z.ZodOptional<z.ZodNumber>;
|
|
200
|
+
files: z.ZodOptional<z.ZodNumber>;
|
|
201
|
+
options: z.ZodArray<z.ZodObject<{
|
|
202
|
+
path: z.ZodString;
|
|
203
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
204
|
+
from: z.ZodEnum<{
|
|
205
|
+
default: "default";
|
|
206
|
+
file: "file";
|
|
207
|
+
flag: "flag";
|
|
208
|
+
}>;
|
|
209
|
+
}, z.core.$strip>>;
|
|
210
|
+
sandboxes: z.ZodOptional<z.ZodObject<{
|
|
211
|
+
count: z.ZodNumber;
|
|
212
|
+
from: z.ZodEnum<{
|
|
213
|
+
default: "default";
|
|
214
|
+
"file-lists": "file-lists";
|
|
215
|
+
flag: "flag";
|
|
216
|
+
}>;
|
|
217
|
+
max: z.ZodNumber;
|
|
218
|
+
default: z.ZodOptional<z.ZodNumber>;
|
|
219
|
+
requested: z.ZodOptional<z.ZodNumber>;
|
|
220
|
+
leftOut: z.ZodOptional<z.ZodNumber>;
|
|
221
|
+
}, z.core.$strip>>;
|
|
222
|
+
}, z.core.$strip>>;
|
|
223
|
+
testFiles: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
224
|
+
runnerSandboxes: z.ZodNullable<z.ZodObject<{
|
|
225
|
+
max: z.ZodNumber;
|
|
226
|
+
default: z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
227
|
+
filesPerSandbox: z.ZodNumber;
|
|
228
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
229
|
+
}, z.core.$strip>]>>;
|
|
230
|
+
}, z.core.$strip>>;
|
|
231
|
+
sandboxes: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
232
|
+
sandbox: z.ZodNumber;
|
|
233
|
+
argv: z.ZodArray<z.ZodString>;
|
|
234
|
+
files: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
235
|
+
}, z.core.$strip>>>;
|
|
236
|
+
options: z.ZodArray<z.ZodObject<{
|
|
237
|
+
path: z.ZodString;
|
|
238
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
239
|
+
from: z.ZodEnum<{
|
|
240
|
+
default: "default";
|
|
241
|
+
file: "file";
|
|
242
|
+
flag: "flag";
|
|
243
|
+
}>;
|
|
244
|
+
}, z.core.$strip>>;
|
|
245
|
+
vcpus: z.ZodNullable<z.ZodNumber>;
|
|
80
246
|
}, z.core.$strip>;
|
|
81
247
|
}, {
|
|
82
248
|
ran: unknown;
|
|
249
|
+
sandboxesRan: unknown;
|
|
250
|
+
planned: unknown;
|
|
83
251
|
}, {
|
|
252
|
+
conflictingOptions: import("@vercel/clinkr").SharedError<"conflicting_options", [data: {
|
|
253
|
+
conflicts: {
|
|
254
|
+
flag: string;
|
|
255
|
+
message: string;
|
|
256
|
+
}[];
|
|
257
|
+
runner: "launch-machine" | "vercel-sandbox";
|
|
258
|
+
suite: string | null;
|
|
259
|
+
configFile: string | null;
|
|
260
|
+
}]>;
|
|
84
261
|
credentialUnused: import("@vercel/clinkr").SharedError<"credential_unused", [data: {
|
|
85
262
|
flags: string[];
|
|
86
263
|
configFile: string | null;
|
|
87
264
|
}]>;
|
|
265
|
+
credentialsInvalid: import("@vercel/clinkr").SharedError<"credentials_invalid", [data: {
|
|
266
|
+
variables: {
|
|
267
|
+
name: string;
|
|
268
|
+
problem: "missing" | "multiline" | "short";
|
|
269
|
+
}[];
|
|
270
|
+
minLength: number;
|
|
271
|
+
configFile: string | null;
|
|
272
|
+
}]>;
|
|
88
273
|
invalidConfig: import("@vercel/clinkr").SharedError<"invalid_config", [data: {
|
|
89
274
|
file: string;
|
|
90
275
|
problems: {
|
|
@@ -108,17 +293,26 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
108
293
|
}[];
|
|
109
294
|
}[];
|
|
110
295
|
}]>;
|
|
296
|
+
keepSandboxUnsafeSecretEnvVars: import("@vercel/clinkr").SharedError<"keep_sandbox_unsafe_secret_env_vars", [data: {
|
|
297
|
+
variables: string[];
|
|
298
|
+
configFile: string | null;
|
|
299
|
+
}]>;
|
|
111
300
|
mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
|
|
112
301
|
team: string;
|
|
113
302
|
project: string;
|
|
114
303
|
cause: string;
|
|
115
304
|
fix: string;
|
|
116
305
|
runner: boolean;
|
|
117
|
-
cleanup: import("
|
|
306
|
+
cleanup: import("../../shared/cleanup.ts").StormCleanupFacts;
|
|
118
307
|
}]>;
|
|
119
308
|
missingRunner: import("@vercel/clinkr").SharedError<"missing_runner", [data: {
|
|
120
309
|
configFile: string | null;
|
|
121
310
|
}]>;
|
|
311
|
+
missingSandboxesMax: import("@vercel/clinkr").SharedError<"missing_sandboxes_max", [data: {
|
|
312
|
+
flag: "--file-lists" | "--sandboxes";
|
|
313
|
+
key: string;
|
|
314
|
+
configFile: string | null;
|
|
315
|
+
}]>;
|
|
122
316
|
missingTarget: import("@vercel/clinkr").SharedError<"missing_target", [data: {
|
|
123
317
|
missing: ("project" | "scope")[];
|
|
124
318
|
}]>;
|
|
@@ -128,11 +322,15 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
128
322
|
reason: "missing" | "unrelated";
|
|
129
323
|
}[];
|
|
130
324
|
}]>;
|
|
325
|
+
resourceNeedsRunnerSandbox: import("@vercel/clinkr").SharedError<"resource_needs_runner_sandbox", [data: {
|
|
326
|
+
resources: string[];
|
|
327
|
+
configFile: string | null;
|
|
328
|
+
}]>;
|
|
131
329
|
resourceRefused: import("@vercel/clinkr").SharedError<"resource_refused", [data: {
|
|
132
330
|
resource: string;
|
|
133
331
|
refusal: string;
|
|
134
332
|
data: Record<string, unknown>;
|
|
135
|
-
cleanup: import("
|
|
333
|
+
cleanup: import("../../shared/cleanup.ts").StormCleanupFacts;
|
|
136
334
|
}, refusal: import("../../sdk/extension/lifecycle.ts").RefusalContent]>;
|
|
137
335
|
resourceRefusedBeforeRun: import("@vercel/clinkr").SharedError<"resource_refused_before_run", [data: {
|
|
138
336
|
resource: string;
|
|
@@ -159,15 +357,21 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
159
357
|
kind: "credential-claims-missing";
|
|
160
358
|
team: string;
|
|
161
359
|
project: string;
|
|
360
|
+
} | {
|
|
361
|
+
kind: "network-policy-failed";
|
|
362
|
+
operation: "inject" | "remove";
|
|
363
|
+
around: "command" | "run-steps" | "snapshot-save" | "snapshot-steps";
|
|
364
|
+
reason: "api" | "timed-out";
|
|
365
|
+
status: number | null;
|
|
366
|
+
message: string;
|
|
162
367
|
};
|
|
163
|
-
cleanup: import("
|
|
368
|
+
cleanup: import("../../shared/cleanup.ts").StormCleanupFacts;
|
|
164
369
|
}]>;
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
minLength: number;
|
|
370
|
+
sandboxesOverMax: import("@vercel/clinkr").SharedError<"sandboxes_over_max", [data: {
|
|
371
|
+
flag: "--file-lists" | "--sandboxes";
|
|
372
|
+
sandboxes: number;
|
|
373
|
+
key: string;
|
|
374
|
+
max: number;
|
|
171
375
|
configFile: string | null;
|
|
172
376
|
}]>;
|
|
173
377
|
snapshotGone: import("@vercel/clinkr").SharedError<"snapshot_gone", [data: {
|
|
@@ -177,22 +381,47 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
177
381
|
path: string;
|
|
178
382
|
message: string;
|
|
179
383
|
} | null;
|
|
180
|
-
cleanup: import("
|
|
384
|
+
cleanup: import("../../shared/cleanup.ts").StormCleanupFacts;
|
|
181
385
|
}]>;
|
|
182
386
|
spawnFailed: import("@vercel/clinkr").SharedError<"spawn_failed", [data: {
|
|
183
387
|
executable: string;
|
|
184
388
|
message: string;
|
|
185
|
-
cleanup: import("
|
|
389
|
+
cleanup: import("../../shared/cleanup.ts").StormCleanupFacts;
|
|
186
390
|
}]>;
|
|
187
391
|
submodulesRefused: import("@vercel/clinkr").SharedError<"submodules_refused", [data: {
|
|
188
392
|
paths: string[];
|
|
189
393
|
}]>;
|
|
394
|
+
unsafeSecretEnvVarsInvalid: import("@vercel/clinkr").SharedError<"unsafe_secret_env_vars_invalid", [data: {
|
|
395
|
+
variables: {
|
|
396
|
+
name: string;
|
|
397
|
+
problem: "missing" | "multiline" | "short";
|
|
398
|
+
}[];
|
|
399
|
+
minLength: number;
|
|
400
|
+
configFile: string | null;
|
|
401
|
+
}]>;
|
|
190
402
|
}, {
|
|
191
|
-
|
|
403
|
+
readonly conflictingOptions: import("@vercel/clinkr").SharedError<"conflicting_options", [data: {
|
|
404
|
+
conflicts: {
|
|
405
|
+
flag: string;
|
|
406
|
+
message: string;
|
|
407
|
+
}[];
|
|
408
|
+
runner: "launch-machine" | "vercel-sandbox";
|
|
409
|
+
suite: string | null;
|
|
410
|
+
configFile: string | null;
|
|
411
|
+
}]>;
|
|
412
|
+
readonly credentialUnused: import("@vercel/clinkr").SharedError<"credential_unused", [data: {
|
|
192
413
|
flags: string[];
|
|
193
414
|
configFile: string | null;
|
|
194
415
|
}]>;
|
|
195
|
-
|
|
416
|
+
readonly credentialsInvalid: import("@vercel/clinkr").SharedError<"credentials_invalid", [data: {
|
|
417
|
+
variables: {
|
|
418
|
+
name: string;
|
|
419
|
+
problem: "missing" | "multiline" | "short";
|
|
420
|
+
}[];
|
|
421
|
+
minLength: number;
|
|
422
|
+
configFile: string | null;
|
|
423
|
+
}]>;
|
|
424
|
+
readonly invalidConfig: import("@vercel/clinkr").SharedError<"invalid_config", [data: {
|
|
196
425
|
file: string;
|
|
197
426
|
problems: {
|
|
198
427
|
key: string | null;
|
|
@@ -203,7 +432,7 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
203
432
|
problem: string;
|
|
204
433
|
}[];
|
|
205
434
|
}]>;
|
|
206
|
-
invalidResourceOptions: import("@vercel/clinkr").SharedError<"invalid_resource_options", [data: {
|
|
435
|
+
readonly invalidResourceOptions: import("@vercel/clinkr").SharedError<"invalid_resource_options", [data: {
|
|
207
436
|
configFile: string | null;
|
|
208
437
|
problems: {
|
|
209
438
|
key: string;
|
|
@@ -215,39 +444,52 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
215
444
|
}[];
|
|
216
445
|
}[];
|
|
217
446
|
}]>;
|
|
218
|
-
|
|
447
|
+
readonly keepSandboxUnsafeSecretEnvVars: import("@vercel/clinkr").SharedError<"keep_sandbox_unsafe_secret_env_vars", [data: {
|
|
448
|
+
variables: string[];
|
|
449
|
+
configFile: string | null;
|
|
450
|
+
}]>;
|
|
451
|
+
readonly mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
|
|
219
452
|
team: string;
|
|
220
453
|
project: string;
|
|
221
454
|
cause: string;
|
|
222
455
|
fix: string;
|
|
223
456
|
runner: boolean;
|
|
224
|
-
cleanup: import("
|
|
457
|
+
cleanup: import("../../shared/cleanup.ts").StormCleanupFacts;
|
|
225
458
|
}]>;
|
|
226
|
-
missingRunner: import("@vercel/clinkr").SharedError<"missing_runner", [data: {
|
|
459
|
+
readonly missingRunner: import("@vercel/clinkr").SharedError<"missing_runner", [data: {
|
|
227
460
|
configFile: string | null;
|
|
228
461
|
}]>;
|
|
229
|
-
|
|
462
|
+
readonly missingSandboxesMax: import("@vercel/clinkr").SharedError<"missing_sandboxes_max", [data: {
|
|
463
|
+
flag: "--file-lists" | "--sandboxes";
|
|
464
|
+
key: string;
|
|
465
|
+
configFile: string | null;
|
|
466
|
+
}]>;
|
|
467
|
+
readonly missingTarget: import("@vercel/clinkr").SharedError<"missing_target", [data: {
|
|
230
468
|
missing: ("project" | "scope")[];
|
|
231
469
|
}]>;
|
|
232
|
-
noBaseRef: import("@vercel/clinkr").SharedError<"no_base_ref", [data: {
|
|
470
|
+
readonly noBaseRef: import("@vercel/clinkr").SharedError<"no_base_ref", [data: {
|
|
233
471
|
refs: {
|
|
234
472
|
ref: string;
|
|
235
473
|
reason: "missing" | "unrelated";
|
|
236
474
|
}[];
|
|
237
475
|
}]>;
|
|
238
|
-
|
|
476
|
+
readonly resourceNeedsRunnerSandbox: import("@vercel/clinkr").SharedError<"resource_needs_runner_sandbox", [data: {
|
|
477
|
+
resources: string[];
|
|
478
|
+
configFile: string | null;
|
|
479
|
+
}]>;
|
|
480
|
+
readonly resourceRefused: import("@vercel/clinkr").SharedError<"resource_refused", [data: {
|
|
239
481
|
resource: string;
|
|
240
482
|
refusal: string;
|
|
241
483
|
data: Record<string, unknown>;
|
|
242
|
-
cleanup: import("
|
|
484
|
+
cleanup: import("../../shared/cleanup.ts").StormCleanupFacts;
|
|
243
485
|
}, refusal: import("../../sdk/extension/lifecycle.ts").RefusalContent]>;
|
|
244
|
-
resourceRefusedBeforeRun: import("@vercel/clinkr").SharedError<"resource_refused_before_run", [data: {
|
|
486
|
+
readonly resourceRefusedBeforeRun: import("@vercel/clinkr").SharedError<"resource_refused_before_run", [data: {
|
|
245
487
|
resource: string;
|
|
246
488
|
refusal: string;
|
|
247
489
|
data: Record<string, unknown>;
|
|
248
490
|
configFile: string | null;
|
|
249
491
|
}, refusal: import("../../sdk/extension/lifecycle.ts").RefusalContent]>;
|
|
250
|
-
runnerFailed: import("@vercel/clinkr").SharedError<"runner_failed", [data: {
|
|
492
|
+
readonly runnerFailed: import("@vercel/clinkr").SharedError<"runner_failed", [data: {
|
|
251
493
|
failure: {
|
|
252
494
|
kind: "apply-failed" | "build-failed" | "install-failed" | "snapshot-build-step-failed";
|
|
253
495
|
label: string;
|
|
@@ -266,41 +508,55 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
266
508
|
kind: "credential-claims-missing";
|
|
267
509
|
team: string;
|
|
268
510
|
project: string;
|
|
511
|
+
} | {
|
|
512
|
+
kind: "network-policy-failed";
|
|
513
|
+
operation: "inject" | "remove";
|
|
514
|
+
around: "command" | "run-steps" | "snapshot-save" | "snapshot-steps";
|
|
515
|
+
reason: "api" | "timed-out";
|
|
516
|
+
status: number | null;
|
|
517
|
+
message: string;
|
|
269
518
|
};
|
|
270
|
-
cleanup: import("
|
|
519
|
+
cleanup: import("../../shared/cleanup.ts").StormCleanupFacts;
|
|
271
520
|
}]>;
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
minLength: number;
|
|
521
|
+
readonly sandboxesOverMax: import("@vercel/clinkr").SharedError<"sandboxes_over_max", [data: {
|
|
522
|
+
flag: "--file-lists" | "--sandboxes";
|
|
523
|
+
sandboxes: number;
|
|
524
|
+
key: string;
|
|
525
|
+
max: number;
|
|
278
526
|
configFile: string | null;
|
|
279
527
|
}]>;
|
|
280
|
-
snapshotGone: import("@vercel/clinkr").SharedError<"snapshot_gone", [data: {
|
|
528
|
+
readonly snapshotGone: import("@vercel/clinkr").SharedError<"snapshot_gone", [data: {
|
|
281
529
|
snapshotId: string;
|
|
282
530
|
base: string;
|
|
283
531
|
removal: {
|
|
284
532
|
path: string;
|
|
285
533
|
message: string;
|
|
286
534
|
} | null;
|
|
287
|
-
cleanup: import("
|
|
535
|
+
cleanup: import("../../shared/cleanup.ts").StormCleanupFacts;
|
|
288
536
|
}]>;
|
|
289
|
-
spawnFailed: import("@vercel/clinkr").SharedError<"spawn_failed", [data: {
|
|
537
|
+
readonly spawnFailed: import("@vercel/clinkr").SharedError<"spawn_failed", [data: {
|
|
290
538
|
executable: string;
|
|
291
539
|
message: string;
|
|
292
|
-
cleanup: import("
|
|
540
|
+
cleanup: import("../../shared/cleanup.ts").StormCleanupFacts;
|
|
293
541
|
}]>;
|
|
294
|
-
submodulesRefused: import("@vercel/clinkr").SharedError<"submodules_refused", [data: {
|
|
542
|
+
readonly submodulesRefused: import("@vercel/clinkr").SharedError<"submodules_refused", [data: {
|
|
295
543
|
paths: string[];
|
|
296
544
|
}]>;
|
|
545
|
+
readonly unsafeSecretEnvVarsInvalid: import("@vercel/clinkr").SharedError<"unsafe_secret_env_vars_invalid", [data: {
|
|
546
|
+
variables: {
|
|
547
|
+
name: string;
|
|
548
|
+
problem: "missing" | "multiline" | "short";
|
|
549
|
+
}[];
|
|
550
|
+
minLength: number;
|
|
551
|
+
configFile: string | null;
|
|
552
|
+
}]>;
|
|
297
553
|
}>, import("@vercel/clinkr").OutcomeOf<import("@vercel/clinkr").Outcomes<{
|
|
298
554
|
ran: z.ZodObject<{
|
|
299
555
|
version: z.ZodString;
|
|
300
556
|
commit: z.ZodNullable<z.ZodString>;
|
|
301
557
|
configFile: z.ZodNullable<z.ZodString>;
|
|
302
558
|
resources: z.ZodType<import("../../core/resource-reports.ts").InstanceFacts, import("../../core/resource-reports.ts").InstanceFacts, z.core.$ZodTypeInternals<import("../../core/resource-reports.ts").InstanceFacts, import("../../core/resource-reports.ts").InstanceFacts>>;
|
|
303
|
-
cleanup: z.ZodType<import("
|
|
559
|
+
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>>;
|
|
304
560
|
command: z.ZodObject<{
|
|
305
561
|
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
306
562
|
signal: z.ZodNullable<z.ZodString>;
|
|
@@ -359,15 +615,196 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
359
615
|
}, z.core.$strip>>;
|
|
360
616
|
}, z.core.$strip>;
|
|
361
617
|
runId: z.ZodNullable<z.ZodString>;
|
|
362
|
-
|
|
618
|
+
}, z.core.$strip>;
|
|
619
|
+
sandboxesRan: z.ZodObject<{
|
|
620
|
+
version: z.ZodString;
|
|
621
|
+
commit: z.ZodNullable<z.ZodString>;
|
|
622
|
+
configFile: z.ZodNullable<z.ZodString>;
|
|
623
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
624
|
+
runDirectory: z.ZodNullable<z.ZodString>;
|
|
625
|
+
sandboxes: z.ZodArray<z.ZodObject<{
|
|
626
|
+
sandbox: z.ZodNumber;
|
|
627
|
+
argv: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
628
|
+
files: z.ZodNullable<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
629
|
+
state: z.ZodEnum<{
|
|
630
|
+
canceled: "canceled";
|
|
631
|
+
failed: "failed";
|
|
632
|
+
"not-started": "not-started";
|
|
633
|
+
passed: "passed";
|
|
634
|
+
pending: "pending";
|
|
635
|
+
}>;
|
|
636
|
+
failedStage: z.ZodNullable<z.ZodEnum<{
|
|
637
|
+
apply: "apply";
|
|
638
|
+
build: "build";
|
|
639
|
+
checkout: "checkout";
|
|
640
|
+
command: "command";
|
|
641
|
+
install: "install";
|
|
642
|
+
mint: "mint";
|
|
643
|
+
resource: "resource";
|
|
644
|
+
snapshot: "snapshot";
|
|
645
|
+
start: "start";
|
|
646
|
+
storm: "storm";
|
|
647
|
+
upload: "upload";
|
|
648
|
+
}>>;
|
|
649
|
+
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
650
|
+
cause: z.ZodNullable<z.ZodString>;
|
|
651
|
+
name: z.ZodNullable<z.ZodString>;
|
|
652
|
+
keptUntil: z.ZodNullable<z.ZodString>;
|
|
653
|
+
preparedMs: z.ZodNullable<z.ZodNumber>;
|
|
654
|
+
commandMs: z.ZodNullable<z.ZodNumber>;
|
|
655
|
+
tests: z.ZodNullable<z.ZodObject<{
|
|
656
|
+
passed: z.ZodNumber;
|
|
657
|
+
failed: z.ZodNumber;
|
|
658
|
+
skipped: z.ZodNumber;
|
|
659
|
+
}, z.core.$strip>>;
|
|
660
|
+
tail: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
661
|
+
}, z.core.$strip>>;
|
|
662
|
+
states: z.ZodObject<{
|
|
663
|
+
passed: z.ZodNumber;
|
|
664
|
+
failed: z.ZodNumber;
|
|
665
|
+
"not-started": z.ZodNumber;
|
|
666
|
+
canceled: z.ZodNumber;
|
|
667
|
+
}, z.core.$strip>;
|
|
668
|
+
tests: z.ZodNullable<z.ZodObject<{
|
|
669
|
+
passed: z.ZodNumber;
|
|
670
|
+
failed: z.ZodNumber;
|
|
671
|
+
skipped: z.ZodNumber;
|
|
672
|
+
}, z.core.$strip>>;
|
|
673
|
+
plan: z.ZodObject<{
|
|
674
|
+
tests: z.ZodOptional<z.ZodNumber>;
|
|
675
|
+
files: z.ZodOptional<z.ZodNumber>;
|
|
676
|
+
options: z.ZodArray<z.ZodObject<{
|
|
677
|
+
path: z.ZodString;
|
|
678
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
679
|
+
from: z.ZodEnum<{
|
|
680
|
+
default: "default";
|
|
681
|
+
file: "file";
|
|
682
|
+
flag: "flag";
|
|
683
|
+
}>;
|
|
684
|
+
}, z.core.$strip>>;
|
|
685
|
+
sandboxes: z.ZodOptional<z.ZodObject<{
|
|
686
|
+
count: z.ZodNumber;
|
|
687
|
+
from: z.ZodEnum<{
|
|
688
|
+
default: "default";
|
|
689
|
+
"file-lists": "file-lists";
|
|
690
|
+
flag: "flag";
|
|
691
|
+
}>;
|
|
692
|
+
max: z.ZodNumber;
|
|
693
|
+
default: z.ZodOptional<z.ZodNumber>;
|
|
694
|
+
requested: z.ZodOptional<z.ZodNumber>;
|
|
695
|
+
leftOut: z.ZodOptional<z.ZodNumber>;
|
|
696
|
+
}, z.core.$strip>>;
|
|
697
|
+
}, z.core.$strip>;
|
|
698
|
+
resources: z.ZodType<import("../../core/resource-reports.ts").InstanceFacts, import("../../core/resource-reports.ts").InstanceFacts, z.core.$ZodTypeInternals<import("../../core/resource-reports.ts").InstanceFacts, import("../../core/resource-reports.ts").InstanceFacts>>;
|
|
699
|
+
wallMs: z.ZodNumber;
|
|
700
|
+
runner: z.ZodObject<{
|
|
701
|
+
snapshotId: z.ZodString;
|
|
702
|
+
base: z.ZodString;
|
|
703
|
+
builtBehind: z.ZodNullable<z.ZodNumber>;
|
|
704
|
+
built: z.ZodBoolean;
|
|
705
|
+
vcpus: z.ZodNumber;
|
|
706
|
+
region: z.ZodString;
|
|
707
|
+
runtime: z.ZodString;
|
|
708
|
+
uploadBytes: z.ZodNullable<z.ZodNumber>;
|
|
709
|
+
}, z.core.$strip>;
|
|
710
|
+
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>>;
|
|
711
|
+
kept: z.ZodArray<z.ZodObject<{
|
|
712
|
+
sandbox: z.ZodNumber;
|
|
713
|
+
name: z.ZodString;
|
|
714
|
+
stopsAt: z.ZodString;
|
|
715
|
+
url: z.ZodString;
|
|
716
|
+
}, z.core.$strip>>;
|
|
717
|
+
notKept: z.ZodArray<z.ZodObject<{
|
|
718
|
+
sandbox: z.ZodNumber;
|
|
719
|
+
name: z.ZodString;
|
|
720
|
+
message: z.ZodString;
|
|
721
|
+
}, z.core.$strip>>;
|
|
722
|
+
fileListMismatches: z.ZodArray<z.ZodObject<{
|
|
723
|
+
sandbox: z.ZodNumber;
|
|
724
|
+
missing: z.ZodArray<z.ZodString>;
|
|
725
|
+
extra: z.ZodArray<z.ZodString>;
|
|
726
|
+
}, z.core.$strip>>;
|
|
727
|
+
}, z.core.$strip>;
|
|
728
|
+
planned: z.ZodObject<{
|
|
729
|
+
version: z.ZodString;
|
|
730
|
+
commit: z.ZodNullable<z.ZodString>;
|
|
731
|
+
configFile: z.ZodNullable<z.ZodString>;
|
|
732
|
+
argv: z.ZodArray<z.ZodString>;
|
|
733
|
+
plan: z.ZodNullable<z.ZodObject<{
|
|
734
|
+
tests: z.ZodOptional<z.ZodNumber>;
|
|
735
|
+
files: z.ZodOptional<z.ZodNumber>;
|
|
736
|
+
options: z.ZodArray<z.ZodObject<{
|
|
737
|
+
path: z.ZodString;
|
|
738
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
739
|
+
from: z.ZodEnum<{
|
|
740
|
+
default: "default";
|
|
741
|
+
file: "file";
|
|
742
|
+
flag: "flag";
|
|
743
|
+
}>;
|
|
744
|
+
}, z.core.$strip>>;
|
|
745
|
+
sandboxes: z.ZodOptional<z.ZodObject<{
|
|
746
|
+
count: z.ZodNumber;
|
|
747
|
+
from: z.ZodEnum<{
|
|
748
|
+
default: "default";
|
|
749
|
+
"file-lists": "file-lists";
|
|
750
|
+
flag: "flag";
|
|
751
|
+
}>;
|
|
752
|
+
max: z.ZodNumber;
|
|
753
|
+
default: z.ZodOptional<z.ZodNumber>;
|
|
754
|
+
requested: z.ZodOptional<z.ZodNumber>;
|
|
755
|
+
leftOut: z.ZodOptional<z.ZodNumber>;
|
|
756
|
+
}, z.core.$strip>>;
|
|
757
|
+
}, z.core.$strip>>;
|
|
758
|
+
testFiles: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
759
|
+
runnerSandboxes: z.ZodNullable<z.ZodObject<{
|
|
760
|
+
max: z.ZodNumber;
|
|
761
|
+
default: z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
762
|
+
filesPerSandbox: z.ZodNumber;
|
|
763
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
764
|
+
}, z.core.$strip>]>>;
|
|
765
|
+
}, z.core.$strip>>;
|
|
766
|
+
sandboxes: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
767
|
+
sandbox: z.ZodNumber;
|
|
768
|
+
argv: z.ZodArray<z.ZodString>;
|
|
769
|
+
files: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
770
|
+
}, z.core.$strip>>>;
|
|
771
|
+
options: z.ZodArray<z.ZodObject<{
|
|
772
|
+
path: z.ZodString;
|
|
773
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
774
|
+
from: z.ZodEnum<{
|
|
775
|
+
default: "default";
|
|
776
|
+
file: "file";
|
|
777
|
+
flag: "flag";
|
|
778
|
+
}>;
|
|
779
|
+
}, z.core.$strip>>;
|
|
780
|
+
vcpus: z.ZodNullable<z.ZodNumber>;
|
|
363
781
|
}, z.core.$strip>;
|
|
364
782
|
}, {
|
|
365
783
|
ran: unknown;
|
|
784
|
+
sandboxesRan: unknown;
|
|
785
|
+
planned: unknown;
|
|
366
786
|
}, {
|
|
787
|
+
conflictingOptions: import("@vercel/clinkr").SharedError<"conflicting_options", [data: {
|
|
788
|
+
conflicts: {
|
|
789
|
+
flag: string;
|
|
790
|
+
message: string;
|
|
791
|
+
}[];
|
|
792
|
+
runner: "launch-machine" | "vercel-sandbox";
|
|
793
|
+
suite: string | null;
|
|
794
|
+
configFile: string | null;
|
|
795
|
+
}]>;
|
|
367
796
|
credentialUnused: import("@vercel/clinkr").SharedError<"credential_unused", [data: {
|
|
368
797
|
flags: string[];
|
|
369
798
|
configFile: string | null;
|
|
370
799
|
}]>;
|
|
800
|
+
credentialsInvalid: import("@vercel/clinkr").SharedError<"credentials_invalid", [data: {
|
|
801
|
+
variables: {
|
|
802
|
+
name: string;
|
|
803
|
+
problem: "missing" | "multiline" | "short";
|
|
804
|
+
}[];
|
|
805
|
+
minLength: number;
|
|
806
|
+
configFile: string | null;
|
|
807
|
+
}]>;
|
|
371
808
|
invalidConfig: import("@vercel/clinkr").SharedError<"invalid_config", [data: {
|
|
372
809
|
file: string;
|
|
373
810
|
problems: {
|
|
@@ -391,17 +828,26 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
391
828
|
}[];
|
|
392
829
|
}[];
|
|
393
830
|
}]>;
|
|
831
|
+
keepSandboxUnsafeSecretEnvVars: import("@vercel/clinkr").SharedError<"keep_sandbox_unsafe_secret_env_vars", [data: {
|
|
832
|
+
variables: string[];
|
|
833
|
+
configFile: string | null;
|
|
834
|
+
}]>;
|
|
394
835
|
mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
|
|
395
836
|
team: string;
|
|
396
837
|
project: string;
|
|
397
838
|
cause: string;
|
|
398
839
|
fix: string;
|
|
399
840
|
runner: boolean;
|
|
400
|
-
cleanup: import("
|
|
841
|
+
cleanup: import("../../shared/cleanup.ts").StormCleanupFacts;
|
|
401
842
|
}]>;
|
|
402
843
|
missingRunner: import("@vercel/clinkr").SharedError<"missing_runner", [data: {
|
|
403
844
|
configFile: string | null;
|
|
404
845
|
}]>;
|
|
846
|
+
missingSandboxesMax: import("@vercel/clinkr").SharedError<"missing_sandboxes_max", [data: {
|
|
847
|
+
flag: "--file-lists" | "--sandboxes";
|
|
848
|
+
key: string;
|
|
849
|
+
configFile: string | null;
|
|
850
|
+
}]>;
|
|
405
851
|
missingTarget: import("@vercel/clinkr").SharedError<"missing_target", [data: {
|
|
406
852
|
missing: ("project" | "scope")[];
|
|
407
853
|
}]>;
|
|
@@ -411,11 +857,15 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
411
857
|
reason: "missing" | "unrelated";
|
|
412
858
|
}[];
|
|
413
859
|
}]>;
|
|
860
|
+
resourceNeedsRunnerSandbox: import("@vercel/clinkr").SharedError<"resource_needs_runner_sandbox", [data: {
|
|
861
|
+
resources: string[];
|
|
862
|
+
configFile: string | null;
|
|
863
|
+
}]>;
|
|
414
864
|
resourceRefused: import("@vercel/clinkr").SharedError<"resource_refused", [data: {
|
|
415
865
|
resource: string;
|
|
416
866
|
refusal: string;
|
|
417
867
|
data: Record<string, unknown>;
|
|
418
|
-
cleanup: import("
|
|
868
|
+
cleanup: import("../../shared/cleanup.ts").StormCleanupFacts;
|
|
419
869
|
}, refusal: import("../../sdk/extension/lifecycle.ts").RefusalContent]>;
|
|
420
870
|
resourceRefusedBeforeRun: import("@vercel/clinkr").SharedError<"resource_refused_before_run", [data: {
|
|
421
871
|
resource: string;
|
|
@@ -442,15 +892,21 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
442
892
|
kind: "credential-claims-missing";
|
|
443
893
|
team: string;
|
|
444
894
|
project: string;
|
|
895
|
+
} | {
|
|
896
|
+
kind: "network-policy-failed";
|
|
897
|
+
operation: "inject" | "remove";
|
|
898
|
+
around: "command" | "run-steps" | "snapshot-save" | "snapshot-steps";
|
|
899
|
+
reason: "api" | "timed-out";
|
|
900
|
+
status: number | null;
|
|
901
|
+
message: string;
|
|
445
902
|
};
|
|
446
|
-
cleanup: import("
|
|
903
|
+
cleanup: import("../../shared/cleanup.ts").StormCleanupFacts;
|
|
447
904
|
}]>;
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
minLength: number;
|
|
905
|
+
sandboxesOverMax: import("@vercel/clinkr").SharedError<"sandboxes_over_max", [data: {
|
|
906
|
+
flag: "--file-lists" | "--sandboxes";
|
|
907
|
+
sandboxes: number;
|
|
908
|
+
key: string;
|
|
909
|
+
max: number;
|
|
454
910
|
configFile: string | null;
|
|
455
911
|
}]>;
|
|
456
912
|
snapshotGone: import("@vercel/clinkr").SharedError<"snapshot_gone", [data: {
|
|
@@ -460,22 +916,47 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
460
916
|
path: string;
|
|
461
917
|
message: string;
|
|
462
918
|
} | null;
|
|
463
|
-
cleanup: import("
|
|
919
|
+
cleanup: import("../../shared/cleanup.ts").StormCleanupFacts;
|
|
464
920
|
}]>;
|
|
465
921
|
spawnFailed: import("@vercel/clinkr").SharedError<"spawn_failed", [data: {
|
|
466
922
|
executable: string;
|
|
467
923
|
message: string;
|
|
468
|
-
cleanup: import("
|
|
924
|
+
cleanup: import("../../shared/cleanup.ts").StormCleanupFacts;
|
|
469
925
|
}]>;
|
|
470
926
|
submodulesRefused: import("@vercel/clinkr").SharedError<"submodules_refused", [data: {
|
|
471
927
|
paths: string[];
|
|
472
928
|
}]>;
|
|
929
|
+
unsafeSecretEnvVarsInvalid: import("@vercel/clinkr").SharedError<"unsafe_secret_env_vars_invalid", [data: {
|
|
930
|
+
variables: {
|
|
931
|
+
name: string;
|
|
932
|
+
problem: "missing" | "multiline" | "short";
|
|
933
|
+
}[];
|
|
934
|
+
minLength: number;
|
|
935
|
+
configFile: string | null;
|
|
936
|
+
}]>;
|
|
473
937
|
}, {
|
|
474
|
-
|
|
938
|
+
readonly conflictingOptions: import("@vercel/clinkr").SharedError<"conflicting_options", [data: {
|
|
939
|
+
conflicts: {
|
|
940
|
+
flag: string;
|
|
941
|
+
message: string;
|
|
942
|
+
}[];
|
|
943
|
+
runner: "launch-machine" | "vercel-sandbox";
|
|
944
|
+
suite: string | null;
|
|
945
|
+
configFile: string | null;
|
|
946
|
+
}]>;
|
|
947
|
+
readonly credentialUnused: import("@vercel/clinkr").SharedError<"credential_unused", [data: {
|
|
475
948
|
flags: string[];
|
|
476
949
|
configFile: string | null;
|
|
477
950
|
}]>;
|
|
478
|
-
|
|
951
|
+
readonly credentialsInvalid: import("@vercel/clinkr").SharedError<"credentials_invalid", [data: {
|
|
952
|
+
variables: {
|
|
953
|
+
name: string;
|
|
954
|
+
problem: "missing" | "multiline" | "short";
|
|
955
|
+
}[];
|
|
956
|
+
minLength: number;
|
|
957
|
+
configFile: string | null;
|
|
958
|
+
}]>;
|
|
959
|
+
readonly invalidConfig: import("@vercel/clinkr").SharedError<"invalid_config", [data: {
|
|
479
960
|
file: string;
|
|
480
961
|
problems: {
|
|
481
962
|
key: string | null;
|
|
@@ -486,7 +967,7 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
486
967
|
problem: string;
|
|
487
968
|
}[];
|
|
488
969
|
}]>;
|
|
489
|
-
invalidResourceOptions: import("@vercel/clinkr").SharedError<"invalid_resource_options", [data: {
|
|
970
|
+
readonly invalidResourceOptions: import("@vercel/clinkr").SharedError<"invalid_resource_options", [data: {
|
|
490
971
|
configFile: string | null;
|
|
491
972
|
problems: {
|
|
492
973
|
key: string;
|
|
@@ -498,39 +979,52 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
498
979
|
}[];
|
|
499
980
|
}[];
|
|
500
981
|
}]>;
|
|
501
|
-
|
|
982
|
+
readonly keepSandboxUnsafeSecretEnvVars: import("@vercel/clinkr").SharedError<"keep_sandbox_unsafe_secret_env_vars", [data: {
|
|
983
|
+
variables: string[];
|
|
984
|
+
configFile: string | null;
|
|
985
|
+
}]>;
|
|
986
|
+
readonly mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
|
|
502
987
|
team: string;
|
|
503
988
|
project: string;
|
|
504
989
|
cause: string;
|
|
505
990
|
fix: string;
|
|
506
991
|
runner: boolean;
|
|
507
|
-
cleanup: import("
|
|
992
|
+
cleanup: import("../../shared/cleanup.ts").StormCleanupFacts;
|
|
508
993
|
}]>;
|
|
509
|
-
missingRunner: import("@vercel/clinkr").SharedError<"missing_runner", [data: {
|
|
994
|
+
readonly missingRunner: import("@vercel/clinkr").SharedError<"missing_runner", [data: {
|
|
510
995
|
configFile: string | null;
|
|
511
996
|
}]>;
|
|
512
|
-
|
|
997
|
+
readonly missingSandboxesMax: import("@vercel/clinkr").SharedError<"missing_sandboxes_max", [data: {
|
|
998
|
+
flag: "--file-lists" | "--sandboxes";
|
|
999
|
+
key: string;
|
|
1000
|
+
configFile: string | null;
|
|
1001
|
+
}]>;
|
|
1002
|
+
readonly missingTarget: import("@vercel/clinkr").SharedError<"missing_target", [data: {
|
|
513
1003
|
missing: ("project" | "scope")[];
|
|
514
1004
|
}]>;
|
|
515
|
-
noBaseRef: import("@vercel/clinkr").SharedError<"no_base_ref", [data: {
|
|
1005
|
+
readonly noBaseRef: import("@vercel/clinkr").SharedError<"no_base_ref", [data: {
|
|
516
1006
|
refs: {
|
|
517
1007
|
ref: string;
|
|
518
1008
|
reason: "missing" | "unrelated";
|
|
519
1009
|
}[];
|
|
520
1010
|
}]>;
|
|
521
|
-
|
|
1011
|
+
readonly resourceNeedsRunnerSandbox: import("@vercel/clinkr").SharedError<"resource_needs_runner_sandbox", [data: {
|
|
1012
|
+
resources: string[];
|
|
1013
|
+
configFile: string | null;
|
|
1014
|
+
}]>;
|
|
1015
|
+
readonly resourceRefused: import("@vercel/clinkr").SharedError<"resource_refused", [data: {
|
|
522
1016
|
resource: string;
|
|
523
1017
|
refusal: string;
|
|
524
1018
|
data: Record<string, unknown>;
|
|
525
|
-
cleanup: import("
|
|
1019
|
+
cleanup: import("../../shared/cleanup.ts").StormCleanupFacts;
|
|
526
1020
|
}, refusal: import("../../sdk/extension/lifecycle.ts").RefusalContent]>;
|
|
527
|
-
resourceRefusedBeforeRun: import("@vercel/clinkr").SharedError<"resource_refused_before_run", [data: {
|
|
1021
|
+
readonly resourceRefusedBeforeRun: import("@vercel/clinkr").SharedError<"resource_refused_before_run", [data: {
|
|
528
1022
|
resource: string;
|
|
529
1023
|
refusal: string;
|
|
530
1024
|
data: Record<string, unknown>;
|
|
531
1025
|
configFile: string | null;
|
|
532
1026
|
}, refusal: import("../../sdk/extension/lifecycle.ts").RefusalContent]>;
|
|
533
|
-
runnerFailed: import("@vercel/clinkr").SharedError<"runner_failed", [data: {
|
|
1027
|
+
readonly runnerFailed: import("@vercel/clinkr").SharedError<"runner_failed", [data: {
|
|
534
1028
|
failure: {
|
|
535
1029
|
kind: "apply-failed" | "build-failed" | "install-failed" | "snapshot-build-step-failed";
|
|
536
1030
|
label: string;
|
|
@@ -549,33 +1043,47 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
549
1043
|
kind: "credential-claims-missing";
|
|
550
1044
|
team: string;
|
|
551
1045
|
project: string;
|
|
1046
|
+
} | {
|
|
1047
|
+
kind: "network-policy-failed";
|
|
1048
|
+
operation: "inject" | "remove";
|
|
1049
|
+
around: "command" | "run-steps" | "snapshot-save" | "snapshot-steps";
|
|
1050
|
+
reason: "api" | "timed-out";
|
|
1051
|
+
status: number | null;
|
|
1052
|
+
message: string;
|
|
552
1053
|
};
|
|
553
|
-
cleanup: import("
|
|
1054
|
+
cleanup: import("../../shared/cleanup.ts").StormCleanupFacts;
|
|
554
1055
|
}]>;
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
minLength: number;
|
|
1056
|
+
readonly sandboxesOverMax: import("@vercel/clinkr").SharedError<"sandboxes_over_max", [data: {
|
|
1057
|
+
flag: "--file-lists" | "--sandboxes";
|
|
1058
|
+
sandboxes: number;
|
|
1059
|
+
key: string;
|
|
1060
|
+
max: number;
|
|
561
1061
|
configFile: string | null;
|
|
562
1062
|
}]>;
|
|
563
|
-
snapshotGone: import("@vercel/clinkr").SharedError<"snapshot_gone", [data: {
|
|
1063
|
+
readonly snapshotGone: import("@vercel/clinkr").SharedError<"snapshot_gone", [data: {
|
|
564
1064
|
snapshotId: string;
|
|
565
1065
|
base: string;
|
|
566
1066
|
removal: {
|
|
567
1067
|
path: string;
|
|
568
1068
|
message: string;
|
|
569
1069
|
} | null;
|
|
570
|
-
cleanup: import("
|
|
1070
|
+
cleanup: import("../../shared/cleanup.ts").StormCleanupFacts;
|
|
571
1071
|
}]>;
|
|
572
|
-
spawnFailed: import("@vercel/clinkr").SharedError<"spawn_failed", [data: {
|
|
1072
|
+
readonly spawnFailed: import("@vercel/clinkr").SharedError<"spawn_failed", [data: {
|
|
573
1073
|
executable: string;
|
|
574
1074
|
message: string;
|
|
575
|
-
cleanup: import("
|
|
1075
|
+
cleanup: import("../../shared/cleanup.ts").StormCleanupFacts;
|
|
576
1076
|
}]>;
|
|
577
|
-
submodulesRefused: import("@vercel/clinkr").SharedError<"submodules_refused", [data: {
|
|
1077
|
+
readonly submodulesRefused: import("@vercel/clinkr").SharedError<"submodules_refused", [data: {
|
|
578
1078
|
paths: string[];
|
|
579
1079
|
}]>;
|
|
1080
|
+
readonly unsafeSecretEnvVarsInvalid: import("@vercel/clinkr").SharedError<"unsafe_secret_env_vars_invalid", [data: {
|
|
1081
|
+
variables: {
|
|
1082
|
+
name: string;
|
|
1083
|
+
problem: "missing" | "multiline" | "short";
|
|
1084
|
+
}[];
|
|
1085
|
+
minLength: number;
|
|
1086
|
+
configFile: string | null;
|
|
1087
|
+
}]>;
|
|
580
1088
|
}>>, import("../../context.ts").StormApp, false>;
|
|
581
1089
|
export default _default;
|