@cnc-tools/storm 0.14.1 → 0.15.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 +18 -8
- package/dist/build-info.js +1 -1
- package/dist/chunks/chunk-4U4DZ7VG.js +40 -0
- package/dist/chunks/{chunk-GSC6SRTW.js → chunk-5CCP36QQ.js} +1 -1
- package/dist/chunks/chunk-5GBMR4HM.js +966 -0
- package/dist/chunks/{chunk-43MWZLJR.js → chunk-5VXBKPW6.js} +1 -1
- package/dist/chunks/{chunk-RA4L2ACU.js → chunk-AWBSONHB.js} +88 -34
- package/dist/chunks/{chunk-BRUIATTR.js → chunk-CN4EFA5J.js} +59 -12
- package/dist/chunks/{chunk-27P2QSIM.js → chunk-CXAT7ZKP.js} +2 -2
- package/dist/chunks/chunk-E4PJNZVG.js +783 -0
- package/dist/chunks/{chunk-T6AZIDZD.js → chunk-F6N34UWB.js} +12 -244
- package/dist/chunks/{chunk-ZH5R7W4A.js → chunk-KC4KDJ5K.js} +147 -26
- package/dist/chunks/{chunk-5ED3IDUJ.js → chunk-L36GBUBB.js} +1652 -681
- package/dist/chunks/{chunk-QBR5VHJ7.js → chunk-OX7X4B2L.js} +7 -2
- package/dist/chunks/{chunk-Z5OXOZD3.js → chunk-PN5ULTTH.js} +140 -130
- package/dist/chunks/chunk-QUHY6FGN.js +108 -0
- package/dist/chunks/chunk-QVS7HRU7.js +74 -0
- package/dist/chunks/{chunk-UC6DULWY.js → chunk-R7XVBZOY.js} +130 -39
- package/dist/chunks/{chunk-YBPTMJUM.js → chunk-RAQEXKL6.js} +1120 -465
- package/dist/chunks/{chunk-RKONDLPS.js → chunk-SZEURWRS.js} +446 -52
- package/dist/chunks/chunk-TJNFVNKR.js +246 -0
- package/dist/chunks/{chunk-BW2ADH7U.js → chunk-VUPZH7J2.js} +1 -1
- package/dist/chunks/{chunk-XPCUINWS.js → chunk-XEVHP5ZW.js} +2 -2
- package/dist/chunks/{chunk-5TMHYH7G.js → chunk-YV7GE6EV.js} +638 -80
- package/dist/chunks/{chunk-GQIL3AHY.js → chunk-ZG3WQ4UF.js} +1 -1
- package/dist/chunks/{live-app-FBVWUUMT.js → live-app-PI3BAN6Y.js} +37 -26
- 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 +229 -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 +577 -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 +530 -73
- package/dist/commands/exec/outcomes.js +202 -66
- package/dist/commands/exec/plan-only.d.ts +10 -0
- package/dist/commands/exec/plan-only.js +46 -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 +35 -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 +345 -63
- package/dist/commands/exec/run-command.js +308 -258
- 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 +51 -9
- package/dist/commands/runs/facts.js +49 -29
- package/dist/commands/runs/list/command.d.ts +80 -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 +40 -2
- package/dist/commands/runs/logs/command.d.ts +103 -8
- 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 +49 -2
- package/dist/commands/runs/logs/outcomes.js +110 -6
- package/dist/commands/runs/past-run.d.ts +77 -6
- package/dist/commands/runs/past-run.js +133 -4
- package/dist/commands/runs/show/command.d.ts +568 -10
- 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 +276 -5
- 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 +4 -0
- 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 +162 -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 +1389 -0
- package/dist/commands/test/command.js +583 -0
- package/dist/commands/test/metadata.js +8 -0
- package/dist/commands/test/outcomes.d.ts +765 -0
- package/dist/commands/test/outcomes.js +140 -0
- package/dist/commands/test/plan.d.ts +92 -0
- package/dist/commands/test/plan.js +128 -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 +13 -0
- package/dist/config/check-runner.js +54 -0
- package/dist/config/check-suites.d.ts +14 -0
- package/dist/config/check-suites.js +99 -0
- package/dist/config/gateways.d.ts +24 -0
- package/dist/config/index.d.ts +6 -3
- package/dist/config/index.js +3 -1
- 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 +11 -10
- package/dist/config/load.js +35 -103
- package/dist/config/recipe-run.d.ts +8 -1
- package/dist/config/recipe-run.js +2 -1
- 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 +24 -0
- package/dist/config/runner.js +4 -0
- package/dist/config/schema.d.ts +26 -18
- package/dist/config/schema.js +41 -9
- 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-file/define.d.ts +49 -18
- package/dist/config-file/define.js +9 -8
- package/dist/config-file/runner.d.ts +12 -0
- package/dist/config-file/runner.js +9 -0
- package/dist/context.d.ts +13 -8
- package/dist/context.js +13 -4
- 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 +7 -4
- package/dist/core/payload.js +10 -4
- 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 +4 -4
- package/dist/extensions/testserver/resource.js +1 -1
- 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.d.ts +3 -1
- package/dist/live-app.js +9 -5
- 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 +81 -0
- package/dist/planning/plan-only.js +83 -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 +30 -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 -4
- 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/build-snapshots.d.ts +7 -7
- package/dist/runner/build-snapshots.js +12 -16
- package/dist/runner/events.d.ts +29 -8
- package/dist/runner/gateways.d.ts +59 -8
- package/dist/runner/index.d.ts +6 -4
- package/dist/runner/index.js +3 -2
- package/dist/runner/live/sandbox-gateway.js +177 -33
- package/dist/runner/live/terminal.d.ts +15 -3
- package/dist/runner/live/terminal.js +25 -3
- 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 +6 -7
- 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 +118 -28
- package/dist/runner/recipe.js +147 -154
- package/dist/runner/sandboxed-command.d.ts +24 -10
- package/dist/runner/sandboxed-command.js +37 -12
- 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 +7 -4
- package/dist/runner/snapshot-build.js +48 -28
- package/dist/runner/snapshot-choice.d.ts +37 -0
- package/dist/runner/snapshot-choice.js +38 -0
- package/dist/runner/snapshot-key.d.ts +16 -14
- package/dist/runner/snapshot-key.js +24 -18
- 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 +13 -10
- package/dist/sdk/extension/resource-definition.js +7 -2
- 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/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 +21 -17
- package/skills/plan-runs.md +67 -0
- package/skills/read-run-output.md +51 -19
- package/dist/chunks/chunk-BFLYGMG3.js +0 -607
- package/dist/chunks/chunk-HOKDKP5A.js +0 -49
- package/dist/chunks/chunk-IVRRGGCD.js +0 -201
- package/dist/chunks/chunk-NMVODY3P.js +0 -19
- 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/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,193 @@ 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.ZodLiteral<"function">]>>;
|
|
227
|
+
}, z.core.$strip>>;
|
|
228
|
+
sandboxes: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
229
|
+
sandbox: z.ZodNumber;
|
|
230
|
+
argv: z.ZodArray<z.ZodString>;
|
|
231
|
+
files: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
232
|
+
}, z.core.$strip>>>;
|
|
233
|
+
options: z.ZodArray<z.ZodObject<{
|
|
234
|
+
path: z.ZodString;
|
|
235
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
236
|
+
from: z.ZodEnum<{
|
|
237
|
+
default: "default";
|
|
238
|
+
file: "file";
|
|
239
|
+
flag: "flag";
|
|
240
|
+
}>;
|
|
241
|
+
}, z.core.$strip>>;
|
|
242
|
+
vcpus: z.ZodNullable<z.ZodNumber>;
|
|
80
243
|
}, z.core.$strip>;
|
|
81
244
|
}, {
|
|
82
245
|
ran: unknown;
|
|
246
|
+
sandboxesRan: unknown;
|
|
247
|
+
planned: unknown;
|
|
83
248
|
}, {
|
|
249
|
+
conflictingOptions: import("@vercel/clinkr").SharedError<"conflicting_options", [data: {
|
|
250
|
+
conflicts: {
|
|
251
|
+
flag: string;
|
|
252
|
+
message: string;
|
|
253
|
+
}[];
|
|
254
|
+
runner: "launch-machine" | "vercel-sandbox";
|
|
255
|
+
suite: string | null;
|
|
256
|
+
configFile: string | null;
|
|
257
|
+
}]>;
|
|
84
258
|
credentialUnused: import("@vercel/clinkr").SharedError<"credential_unused", [data: {
|
|
85
259
|
flags: string[];
|
|
86
260
|
configFile: string | null;
|
|
87
261
|
}]>;
|
|
262
|
+
credentialsInvalid: import("@vercel/clinkr").SharedError<"credentials_invalid", [data: {
|
|
263
|
+
variables: {
|
|
264
|
+
name: string;
|
|
265
|
+
problem: "missing" | "multiline" | "short";
|
|
266
|
+
}[];
|
|
267
|
+
minLength: number;
|
|
268
|
+
configFile: string | null;
|
|
269
|
+
}]>;
|
|
88
270
|
invalidConfig: import("@vercel/clinkr").SharedError<"invalid_config", [data: {
|
|
89
271
|
file: string;
|
|
90
272
|
problems: {
|
|
@@ -108,17 +290,26 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
108
290
|
}[];
|
|
109
291
|
}[];
|
|
110
292
|
}]>;
|
|
293
|
+
keepSandboxUnsafeSecretEnvVars: import("@vercel/clinkr").SharedError<"keep_sandbox_unsafe_secret_env_vars", [data: {
|
|
294
|
+
variables: string[];
|
|
295
|
+
configFile: string | null;
|
|
296
|
+
}]>;
|
|
111
297
|
mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
|
|
112
298
|
team: string;
|
|
113
299
|
project: string;
|
|
114
300
|
cause: string;
|
|
115
301
|
fix: string;
|
|
116
302
|
runner: boolean;
|
|
117
|
-
cleanup: import("
|
|
303
|
+
cleanup: import("../../shared/cleanup.ts").StormCleanupFacts;
|
|
118
304
|
}]>;
|
|
119
305
|
missingRunner: import("@vercel/clinkr").SharedError<"missing_runner", [data: {
|
|
120
306
|
configFile: string | null;
|
|
121
307
|
}]>;
|
|
308
|
+
missingSandboxesMax: import("@vercel/clinkr").SharedError<"missing_sandboxes_max", [data: {
|
|
309
|
+
flag: "--file-lists" | "--sandboxes";
|
|
310
|
+
key: string;
|
|
311
|
+
configFile: string | null;
|
|
312
|
+
}]>;
|
|
122
313
|
missingTarget: import("@vercel/clinkr").SharedError<"missing_target", [data: {
|
|
123
314
|
missing: ("project" | "scope")[];
|
|
124
315
|
}]>;
|
|
@@ -128,11 +319,15 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
128
319
|
reason: "missing" | "unrelated";
|
|
129
320
|
}[];
|
|
130
321
|
}]>;
|
|
322
|
+
resourceNeedsRunnerSandbox: import("@vercel/clinkr").SharedError<"resource_needs_runner_sandbox", [data: {
|
|
323
|
+
resources: string[];
|
|
324
|
+
configFile: string | null;
|
|
325
|
+
}]>;
|
|
131
326
|
resourceRefused: import("@vercel/clinkr").SharedError<"resource_refused", [data: {
|
|
132
327
|
resource: string;
|
|
133
328
|
refusal: string;
|
|
134
329
|
data: Record<string, unknown>;
|
|
135
|
-
cleanup: import("
|
|
330
|
+
cleanup: import("../../shared/cleanup.ts").StormCleanupFacts;
|
|
136
331
|
}, refusal: import("../../sdk/extension/lifecycle.ts").RefusalContent]>;
|
|
137
332
|
resourceRefusedBeforeRun: import("@vercel/clinkr").SharedError<"resource_refused_before_run", [data: {
|
|
138
333
|
resource: string;
|
|
@@ -159,15 +354,21 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
159
354
|
kind: "credential-claims-missing";
|
|
160
355
|
team: string;
|
|
161
356
|
project: string;
|
|
357
|
+
} | {
|
|
358
|
+
kind: "network-policy-failed";
|
|
359
|
+
operation: "inject" | "remove";
|
|
360
|
+
around: "command" | "run-steps" | "snapshot-save" | "snapshot-steps";
|
|
361
|
+
reason: "api" | "timed-out";
|
|
362
|
+
status: number | null;
|
|
363
|
+
message: string;
|
|
162
364
|
};
|
|
163
|
-
cleanup: import("
|
|
365
|
+
cleanup: import("../../shared/cleanup.ts").StormCleanupFacts;
|
|
164
366
|
}]>;
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
minLength: number;
|
|
367
|
+
sandboxesOverMax: import("@vercel/clinkr").SharedError<"sandboxes_over_max", [data: {
|
|
368
|
+
flag: "--file-lists" | "--sandboxes";
|
|
369
|
+
sandboxes: number;
|
|
370
|
+
key: string;
|
|
371
|
+
max: number;
|
|
171
372
|
configFile: string | null;
|
|
172
373
|
}]>;
|
|
173
374
|
snapshotGone: import("@vercel/clinkr").SharedError<"snapshot_gone", [data: {
|
|
@@ -177,22 +378,47 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
177
378
|
path: string;
|
|
178
379
|
message: string;
|
|
179
380
|
} | null;
|
|
180
|
-
cleanup: import("
|
|
381
|
+
cleanup: import("../../shared/cleanup.ts").StormCleanupFacts;
|
|
181
382
|
}]>;
|
|
182
383
|
spawnFailed: import("@vercel/clinkr").SharedError<"spawn_failed", [data: {
|
|
183
384
|
executable: string;
|
|
184
385
|
message: string;
|
|
185
|
-
cleanup: import("
|
|
386
|
+
cleanup: import("../../shared/cleanup.ts").StormCleanupFacts;
|
|
186
387
|
}]>;
|
|
187
388
|
submodulesRefused: import("@vercel/clinkr").SharedError<"submodules_refused", [data: {
|
|
188
389
|
paths: string[];
|
|
189
390
|
}]>;
|
|
391
|
+
unsafeSecretEnvVarsInvalid: import("@vercel/clinkr").SharedError<"unsafe_secret_env_vars_invalid", [data: {
|
|
392
|
+
variables: {
|
|
393
|
+
name: string;
|
|
394
|
+
problem: "missing" | "multiline" | "short";
|
|
395
|
+
}[];
|
|
396
|
+
minLength: number;
|
|
397
|
+
configFile: string | null;
|
|
398
|
+
}]>;
|
|
190
399
|
}, {
|
|
191
|
-
|
|
400
|
+
readonly conflictingOptions: import("@vercel/clinkr").SharedError<"conflicting_options", [data: {
|
|
401
|
+
conflicts: {
|
|
402
|
+
flag: string;
|
|
403
|
+
message: string;
|
|
404
|
+
}[];
|
|
405
|
+
runner: "launch-machine" | "vercel-sandbox";
|
|
406
|
+
suite: string | null;
|
|
407
|
+
configFile: string | null;
|
|
408
|
+
}]>;
|
|
409
|
+
readonly credentialUnused: import("@vercel/clinkr").SharedError<"credential_unused", [data: {
|
|
192
410
|
flags: string[];
|
|
193
411
|
configFile: string | null;
|
|
194
412
|
}]>;
|
|
195
|
-
|
|
413
|
+
readonly credentialsInvalid: import("@vercel/clinkr").SharedError<"credentials_invalid", [data: {
|
|
414
|
+
variables: {
|
|
415
|
+
name: string;
|
|
416
|
+
problem: "missing" | "multiline" | "short";
|
|
417
|
+
}[];
|
|
418
|
+
minLength: number;
|
|
419
|
+
configFile: string | null;
|
|
420
|
+
}]>;
|
|
421
|
+
readonly invalidConfig: import("@vercel/clinkr").SharedError<"invalid_config", [data: {
|
|
196
422
|
file: string;
|
|
197
423
|
problems: {
|
|
198
424
|
key: string | null;
|
|
@@ -203,7 +429,7 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
203
429
|
problem: string;
|
|
204
430
|
}[];
|
|
205
431
|
}]>;
|
|
206
|
-
invalidResourceOptions: import("@vercel/clinkr").SharedError<"invalid_resource_options", [data: {
|
|
432
|
+
readonly invalidResourceOptions: import("@vercel/clinkr").SharedError<"invalid_resource_options", [data: {
|
|
207
433
|
configFile: string | null;
|
|
208
434
|
problems: {
|
|
209
435
|
key: string;
|
|
@@ -215,39 +441,52 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
215
441
|
}[];
|
|
216
442
|
}[];
|
|
217
443
|
}]>;
|
|
218
|
-
|
|
444
|
+
readonly keepSandboxUnsafeSecretEnvVars: import("@vercel/clinkr").SharedError<"keep_sandbox_unsafe_secret_env_vars", [data: {
|
|
445
|
+
variables: string[];
|
|
446
|
+
configFile: string | null;
|
|
447
|
+
}]>;
|
|
448
|
+
readonly mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
|
|
219
449
|
team: string;
|
|
220
450
|
project: string;
|
|
221
451
|
cause: string;
|
|
222
452
|
fix: string;
|
|
223
453
|
runner: boolean;
|
|
224
|
-
cleanup: import("
|
|
454
|
+
cleanup: import("../../shared/cleanup.ts").StormCleanupFacts;
|
|
225
455
|
}]>;
|
|
226
|
-
missingRunner: import("@vercel/clinkr").SharedError<"missing_runner", [data: {
|
|
456
|
+
readonly missingRunner: import("@vercel/clinkr").SharedError<"missing_runner", [data: {
|
|
227
457
|
configFile: string | null;
|
|
228
458
|
}]>;
|
|
229
|
-
|
|
459
|
+
readonly missingSandboxesMax: import("@vercel/clinkr").SharedError<"missing_sandboxes_max", [data: {
|
|
460
|
+
flag: "--file-lists" | "--sandboxes";
|
|
461
|
+
key: string;
|
|
462
|
+
configFile: string | null;
|
|
463
|
+
}]>;
|
|
464
|
+
readonly missingTarget: import("@vercel/clinkr").SharedError<"missing_target", [data: {
|
|
230
465
|
missing: ("project" | "scope")[];
|
|
231
466
|
}]>;
|
|
232
|
-
noBaseRef: import("@vercel/clinkr").SharedError<"no_base_ref", [data: {
|
|
467
|
+
readonly noBaseRef: import("@vercel/clinkr").SharedError<"no_base_ref", [data: {
|
|
233
468
|
refs: {
|
|
234
469
|
ref: string;
|
|
235
470
|
reason: "missing" | "unrelated";
|
|
236
471
|
}[];
|
|
237
472
|
}]>;
|
|
238
|
-
|
|
473
|
+
readonly resourceNeedsRunnerSandbox: import("@vercel/clinkr").SharedError<"resource_needs_runner_sandbox", [data: {
|
|
474
|
+
resources: string[];
|
|
475
|
+
configFile: string | null;
|
|
476
|
+
}]>;
|
|
477
|
+
readonly resourceRefused: import("@vercel/clinkr").SharedError<"resource_refused", [data: {
|
|
239
478
|
resource: string;
|
|
240
479
|
refusal: string;
|
|
241
480
|
data: Record<string, unknown>;
|
|
242
|
-
cleanup: import("
|
|
481
|
+
cleanup: import("../../shared/cleanup.ts").StormCleanupFacts;
|
|
243
482
|
}, refusal: import("../../sdk/extension/lifecycle.ts").RefusalContent]>;
|
|
244
|
-
resourceRefusedBeforeRun: import("@vercel/clinkr").SharedError<"resource_refused_before_run", [data: {
|
|
483
|
+
readonly resourceRefusedBeforeRun: import("@vercel/clinkr").SharedError<"resource_refused_before_run", [data: {
|
|
245
484
|
resource: string;
|
|
246
485
|
refusal: string;
|
|
247
486
|
data: Record<string, unknown>;
|
|
248
487
|
configFile: string | null;
|
|
249
488
|
}, refusal: import("../../sdk/extension/lifecycle.ts").RefusalContent]>;
|
|
250
|
-
runnerFailed: import("@vercel/clinkr").SharedError<"runner_failed", [data: {
|
|
489
|
+
readonly runnerFailed: import("@vercel/clinkr").SharedError<"runner_failed", [data: {
|
|
251
490
|
failure: {
|
|
252
491
|
kind: "apply-failed" | "build-failed" | "install-failed" | "snapshot-build-step-failed";
|
|
253
492
|
label: string;
|
|
@@ -266,41 +505,55 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
266
505
|
kind: "credential-claims-missing";
|
|
267
506
|
team: string;
|
|
268
507
|
project: string;
|
|
508
|
+
} | {
|
|
509
|
+
kind: "network-policy-failed";
|
|
510
|
+
operation: "inject" | "remove";
|
|
511
|
+
around: "command" | "run-steps" | "snapshot-save" | "snapshot-steps";
|
|
512
|
+
reason: "api" | "timed-out";
|
|
513
|
+
status: number | null;
|
|
514
|
+
message: string;
|
|
269
515
|
};
|
|
270
|
-
cleanup: import("
|
|
516
|
+
cleanup: import("../../shared/cleanup.ts").StormCleanupFacts;
|
|
271
517
|
}]>;
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
minLength: number;
|
|
518
|
+
readonly sandboxesOverMax: import("@vercel/clinkr").SharedError<"sandboxes_over_max", [data: {
|
|
519
|
+
flag: "--file-lists" | "--sandboxes";
|
|
520
|
+
sandboxes: number;
|
|
521
|
+
key: string;
|
|
522
|
+
max: number;
|
|
278
523
|
configFile: string | null;
|
|
279
524
|
}]>;
|
|
280
|
-
snapshotGone: import("@vercel/clinkr").SharedError<"snapshot_gone", [data: {
|
|
525
|
+
readonly snapshotGone: import("@vercel/clinkr").SharedError<"snapshot_gone", [data: {
|
|
281
526
|
snapshotId: string;
|
|
282
527
|
base: string;
|
|
283
528
|
removal: {
|
|
284
529
|
path: string;
|
|
285
530
|
message: string;
|
|
286
531
|
} | null;
|
|
287
|
-
cleanup: import("
|
|
532
|
+
cleanup: import("../../shared/cleanup.ts").StormCleanupFacts;
|
|
288
533
|
}]>;
|
|
289
|
-
spawnFailed: import("@vercel/clinkr").SharedError<"spawn_failed", [data: {
|
|
534
|
+
readonly spawnFailed: import("@vercel/clinkr").SharedError<"spawn_failed", [data: {
|
|
290
535
|
executable: string;
|
|
291
536
|
message: string;
|
|
292
|
-
cleanup: import("
|
|
537
|
+
cleanup: import("../../shared/cleanup.ts").StormCleanupFacts;
|
|
293
538
|
}]>;
|
|
294
|
-
submodulesRefused: import("@vercel/clinkr").SharedError<"submodules_refused", [data: {
|
|
539
|
+
readonly submodulesRefused: import("@vercel/clinkr").SharedError<"submodules_refused", [data: {
|
|
295
540
|
paths: string[];
|
|
296
541
|
}]>;
|
|
542
|
+
readonly unsafeSecretEnvVarsInvalid: import("@vercel/clinkr").SharedError<"unsafe_secret_env_vars_invalid", [data: {
|
|
543
|
+
variables: {
|
|
544
|
+
name: string;
|
|
545
|
+
problem: "missing" | "multiline" | "short";
|
|
546
|
+
}[];
|
|
547
|
+
minLength: number;
|
|
548
|
+
configFile: string | null;
|
|
549
|
+
}]>;
|
|
297
550
|
}>, import("@vercel/clinkr").OutcomeOf<import("@vercel/clinkr").Outcomes<{
|
|
298
551
|
ran: z.ZodObject<{
|
|
299
552
|
version: z.ZodString;
|
|
300
553
|
commit: z.ZodNullable<z.ZodString>;
|
|
301
554
|
configFile: z.ZodNullable<z.ZodString>;
|
|
302
555
|
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("
|
|
556
|
+
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
557
|
command: z.ZodObject<{
|
|
305
558
|
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
306
559
|
signal: z.ZodNullable<z.ZodString>;
|
|
@@ -359,15 +612,193 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
359
612
|
}, z.core.$strip>>;
|
|
360
613
|
}, z.core.$strip>;
|
|
361
614
|
runId: z.ZodNullable<z.ZodString>;
|
|
362
|
-
|
|
615
|
+
}, z.core.$strip>;
|
|
616
|
+
sandboxesRan: z.ZodObject<{
|
|
617
|
+
version: z.ZodString;
|
|
618
|
+
commit: z.ZodNullable<z.ZodString>;
|
|
619
|
+
configFile: z.ZodNullable<z.ZodString>;
|
|
620
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
621
|
+
runDirectory: z.ZodNullable<z.ZodString>;
|
|
622
|
+
sandboxes: z.ZodArray<z.ZodObject<{
|
|
623
|
+
sandbox: z.ZodNumber;
|
|
624
|
+
argv: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
625
|
+
files: z.ZodNullable<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
626
|
+
state: z.ZodEnum<{
|
|
627
|
+
canceled: "canceled";
|
|
628
|
+
failed: "failed";
|
|
629
|
+
"not-started": "not-started";
|
|
630
|
+
passed: "passed";
|
|
631
|
+
pending: "pending";
|
|
632
|
+
}>;
|
|
633
|
+
failedStage: z.ZodNullable<z.ZodEnum<{
|
|
634
|
+
apply: "apply";
|
|
635
|
+
build: "build";
|
|
636
|
+
checkout: "checkout";
|
|
637
|
+
command: "command";
|
|
638
|
+
install: "install";
|
|
639
|
+
mint: "mint";
|
|
640
|
+
resource: "resource";
|
|
641
|
+
snapshot: "snapshot";
|
|
642
|
+
start: "start";
|
|
643
|
+
storm: "storm";
|
|
644
|
+
upload: "upload";
|
|
645
|
+
}>>;
|
|
646
|
+
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
647
|
+
cause: z.ZodNullable<z.ZodString>;
|
|
648
|
+
name: z.ZodNullable<z.ZodString>;
|
|
649
|
+
keptUntil: z.ZodNullable<z.ZodString>;
|
|
650
|
+
preparedMs: z.ZodNullable<z.ZodNumber>;
|
|
651
|
+
commandMs: z.ZodNullable<z.ZodNumber>;
|
|
652
|
+
tests: z.ZodNullable<z.ZodObject<{
|
|
653
|
+
passed: z.ZodNumber;
|
|
654
|
+
failed: z.ZodNumber;
|
|
655
|
+
skipped: z.ZodNumber;
|
|
656
|
+
}, z.core.$strip>>;
|
|
657
|
+
tail: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
658
|
+
}, z.core.$strip>>;
|
|
659
|
+
states: z.ZodObject<{
|
|
660
|
+
passed: z.ZodNumber;
|
|
661
|
+
failed: z.ZodNumber;
|
|
662
|
+
"not-started": z.ZodNumber;
|
|
663
|
+
canceled: z.ZodNumber;
|
|
664
|
+
}, z.core.$strip>;
|
|
665
|
+
tests: z.ZodNullable<z.ZodObject<{
|
|
666
|
+
passed: z.ZodNumber;
|
|
667
|
+
failed: z.ZodNumber;
|
|
668
|
+
skipped: z.ZodNumber;
|
|
669
|
+
}, z.core.$strip>>;
|
|
670
|
+
plan: z.ZodObject<{
|
|
671
|
+
tests: z.ZodOptional<z.ZodNumber>;
|
|
672
|
+
files: z.ZodOptional<z.ZodNumber>;
|
|
673
|
+
options: z.ZodArray<z.ZodObject<{
|
|
674
|
+
path: z.ZodString;
|
|
675
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
676
|
+
from: z.ZodEnum<{
|
|
677
|
+
default: "default";
|
|
678
|
+
file: "file";
|
|
679
|
+
flag: "flag";
|
|
680
|
+
}>;
|
|
681
|
+
}, z.core.$strip>>;
|
|
682
|
+
sandboxes: z.ZodOptional<z.ZodObject<{
|
|
683
|
+
count: z.ZodNumber;
|
|
684
|
+
from: z.ZodEnum<{
|
|
685
|
+
default: "default";
|
|
686
|
+
"file-lists": "file-lists";
|
|
687
|
+
flag: "flag";
|
|
688
|
+
}>;
|
|
689
|
+
max: z.ZodNumber;
|
|
690
|
+
default: z.ZodOptional<z.ZodNumber>;
|
|
691
|
+
requested: z.ZodOptional<z.ZodNumber>;
|
|
692
|
+
leftOut: z.ZodOptional<z.ZodNumber>;
|
|
693
|
+
}, z.core.$strip>>;
|
|
694
|
+
}, z.core.$strip>;
|
|
695
|
+
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>>;
|
|
696
|
+
wallMs: z.ZodNumber;
|
|
697
|
+
runner: z.ZodObject<{
|
|
698
|
+
snapshotId: z.ZodString;
|
|
699
|
+
base: z.ZodString;
|
|
700
|
+
builtBehind: z.ZodNullable<z.ZodNumber>;
|
|
701
|
+
built: z.ZodBoolean;
|
|
702
|
+
vcpus: z.ZodNumber;
|
|
703
|
+
region: z.ZodString;
|
|
704
|
+
runtime: z.ZodString;
|
|
705
|
+
uploadBytes: z.ZodNullable<z.ZodNumber>;
|
|
706
|
+
}, z.core.$strip>;
|
|
707
|
+
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>>;
|
|
708
|
+
kept: z.ZodArray<z.ZodObject<{
|
|
709
|
+
sandbox: z.ZodNumber;
|
|
710
|
+
name: z.ZodString;
|
|
711
|
+
stopsAt: z.ZodString;
|
|
712
|
+
url: z.ZodString;
|
|
713
|
+
}, z.core.$strip>>;
|
|
714
|
+
notKept: z.ZodArray<z.ZodObject<{
|
|
715
|
+
sandbox: z.ZodNumber;
|
|
716
|
+
name: z.ZodString;
|
|
717
|
+
message: z.ZodString;
|
|
718
|
+
}, z.core.$strip>>;
|
|
719
|
+
fileListMismatches: z.ZodArray<z.ZodObject<{
|
|
720
|
+
sandbox: z.ZodNumber;
|
|
721
|
+
missing: z.ZodArray<z.ZodString>;
|
|
722
|
+
extra: z.ZodArray<z.ZodString>;
|
|
723
|
+
}, z.core.$strip>>;
|
|
724
|
+
}, z.core.$strip>;
|
|
725
|
+
planned: z.ZodObject<{
|
|
726
|
+
version: z.ZodString;
|
|
727
|
+
commit: z.ZodNullable<z.ZodString>;
|
|
728
|
+
configFile: z.ZodNullable<z.ZodString>;
|
|
729
|
+
argv: z.ZodArray<z.ZodString>;
|
|
730
|
+
plan: z.ZodNullable<z.ZodObject<{
|
|
731
|
+
tests: z.ZodOptional<z.ZodNumber>;
|
|
732
|
+
files: z.ZodOptional<z.ZodNumber>;
|
|
733
|
+
options: z.ZodArray<z.ZodObject<{
|
|
734
|
+
path: z.ZodString;
|
|
735
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
736
|
+
from: z.ZodEnum<{
|
|
737
|
+
default: "default";
|
|
738
|
+
file: "file";
|
|
739
|
+
flag: "flag";
|
|
740
|
+
}>;
|
|
741
|
+
}, z.core.$strip>>;
|
|
742
|
+
sandboxes: z.ZodOptional<z.ZodObject<{
|
|
743
|
+
count: z.ZodNumber;
|
|
744
|
+
from: z.ZodEnum<{
|
|
745
|
+
default: "default";
|
|
746
|
+
"file-lists": "file-lists";
|
|
747
|
+
flag: "flag";
|
|
748
|
+
}>;
|
|
749
|
+
max: z.ZodNumber;
|
|
750
|
+
default: z.ZodOptional<z.ZodNumber>;
|
|
751
|
+
requested: z.ZodOptional<z.ZodNumber>;
|
|
752
|
+
leftOut: z.ZodOptional<z.ZodNumber>;
|
|
753
|
+
}, z.core.$strip>>;
|
|
754
|
+
}, z.core.$strip>>;
|
|
755
|
+
testFiles: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
756
|
+
runnerSandboxes: z.ZodNullable<z.ZodObject<{
|
|
757
|
+
max: z.ZodNumber;
|
|
758
|
+
default: z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"function">]>>;
|
|
759
|
+
}, z.core.$strip>>;
|
|
760
|
+
sandboxes: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
761
|
+
sandbox: z.ZodNumber;
|
|
762
|
+
argv: z.ZodArray<z.ZodString>;
|
|
763
|
+
files: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
764
|
+
}, z.core.$strip>>>;
|
|
765
|
+
options: z.ZodArray<z.ZodObject<{
|
|
766
|
+
path: z.ZodString;
|
|
767
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
768
|
+
from: z.ZodEnum<{
|
|
769
|
+
default: "default";
|
|
770
|
+
file: "file";
|
|
771
|
+
flag: "flag";
|
|
772
|
+
}>;
|
|
773
|
+
}, z.core.$strip>>;
|
|
774
|
+
vcpus: z.ZodNullable<z.ZodNumber>;
|
|
363
775
|
}, z.core.$strip>;
|
|
364
776
|
}, {
|
|
365
777
|
ran: unknown;
|
|
778
|
+
sandboxesRan: unknown;
|
|
779
|
+
planned: unknown;
|
|
366
780
|
}, {
|
|
781
|
+
conflictingOptions: import("@vercel/clinkr").SharedError<"conflicting_options", [data: {
|
|
782
|
+
conflicts: {
|
|
783
|
+
flag: string;
|
|
784
|
+
message: string;
|
|
785
|
+
}[];
|
|
786
|
+
runner: "launch-machine" | "vercel-sandbox";
|
|
787
|
+
suite: string | null;
|
|
788
|
+
configFile: string | null;
|
|
789
|
+
}]>;
|
|
367
790
|
credentialUnused: import("@vercel/clinkr").SharedError<"credential_unused", [data: {
|
|
368
791
|
flags: string[];
|
|
369
792
|
configFile: string | null;
|
|
370
793
|
}]>;
|
|
794
|
+
credentialsInvalid: import("@vercel/clinkr").SharedError<"credentials_invalid", [data: {
|
|
795
|
+
variables: {
|
|
796
|
+
name: string;
|
|
797
|
+
problem: "missing" | "multiline" | "short";
|
|
798
|
+
}[];
|
|
799
|
+
minLength: number;
|
|
800
|
+
configFile: string | null;
|
|
801
|
+
}]>;
|
|
371
802
|
invalidConfig: import("@vercel/clinkr").SharedError<"invalid_config", [data: {
|
|
372
803
|
file: string;
|
|
373
804
|
problems: {
|
|
@@ -391,17 +822,26 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
391
822
|
}[];
|
|
392
823
|
}[];
|
|
393
824
|
}]>;
|
|
825
|
+
keepSandboxUnsafeSecretEnvVars: import("@vercel/clinkr").SharedError<"keep_sandbox_unsafe_secret_env_vars", [data: {
|
|
826
|
+
variables: string[];
|
|
827
|
+
configFile: string | null;
|
|
828
|
+
}]>;
|
|
394
829
|
mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
|
|
395
830
|
team: string;
|
|
396
831
|
project: string;
|
|
397
832
|
cause: string;
|
|
398
833
|
fix: string;
|
|
399
834
|
runner: boolean;
|
|
400
|
-
cleanup: import("
|
|
835
|
+
cleanup: import("../../shared/cleanup.ts").StormCleanupFacts;
|
|
401
836
|
}]>;
|
|
402
837
|
missingRunner: import("@vercel/clinkr").SharedError<"missing_runner", [data: {
|
|
403
838
|
configFile: string | null;
|
|
404
839
|
}]>;
|
|
840
|
+
missingSandboxesMax: import("@vercel/clinkr").SharedError<"missing_sandboxes_max", [data: {
|
|
841
|
+
flag: "--file-lists" | "--sandboxes";
|
|
842
|
+
key: string;
|
|
843
|
+
configFile: string | null;
|
|
844
|
+
}]>;
|
|
405
845
|
missingTarget: import("@vercel/clinkr").SharedError<"missing_target", [data: {
|
|
406
846
|
missing: ("project" | "scope")[];
|
|
407
847
|
}]>;
|
|
@@ -411,11 +851,15 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
411
851
|
reason: "missing" | "unrelated";
|
|
412
852
|
}[];
|
|
413
853
|
}]>;
|
|
854
|
+
resourceNeedsRunnerSandbox: import("@vercel/clinkr").SharedError<"resource_needs_runner_sandbox", [data: {
|
|
855
|
+
resources: string[];
|
|
856
|
+
configFile: string | null;
|
|
857
|
+
}]>;
|
|
414
858
|
resourceRefused: import("@vercel/clinkr").SharedError<"resource_refused", [data: {
|
|
415
859
|
resource: string;
|
|
416
860
|
refusal: string;
|
|
417
861
|
data: Record<string, unknown>;
|
|
418
|
-
cleanup: import("
|
|
862
|
+
cleanup: import("../../shared/cleanup.ts").StormCleanupFacts;
|
|
419
863
|
}, refusal: import("../../sdk/extension/lifecycle.ts").RefusalContent]>;
|
|
420
864
|
resourceRefusedBeforeRun: import("@vercel/clinkr").SharedError<"resource_refused_before_run", [data: {
|
|
421
865
|
resource: string;
|
|
@@ -442,15 +886,21 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
442
886
|
kind: "credential-claims-missing";
|
|
443
887
|
team: string;
|
|
444
888
|
project: string;
|
|
889
|
+
} | {
|
|
890
|
+
kind: "network-policy-failed";
|
|
891
|
+
operation: "inject" | "remove";
|
|
892
|
+
around: "command" | "run-steps" | "snapshot-save" | "snapshot-steps";
|
|
893
|
+
reason: "api" | "timed-out";
|
|
894
|
+
status: number | null;
|
|
895
|
+
message: string;
|
|
445
896
|
};
|
|
446
|
-
cleanup: import("
|
|
897
|
+
cleanup: import("../../shared/cleanup.ts").StormCleanupFacts;
|
|
447
898
|
}]>;
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
minLength: number;
|
|
899
|
+
sandboxesOverMax: import("@vercel/clinkr").SharedError<"sandboxes_over_max", [data: {
|
|
900
|
+
flag: "--file-lists" | "--sandboxes";
|
|
901
|
+
sandboxes: number;
|
|
902
|
+
key: string;
|
|
903
|
+
max: number;
|
|
454
904
|
configFile: string | null;
|
|
455
905
|
}]>;
|
|
456
906
|
snapshotGone: import("@vercel/clinkr").SharedError<"snapshot_gone", [data: {
|
|
@@ -460,22 +910,47 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
460
910
|
path: string;
|
|
461
911
|
message: string;
|
|
462
912
|
} | null;
|
|
463
|
-
cleanup: import("
|
|
913
|
+
cleanup: import("../../shared/cleanup.ts").StormCleanupFacts;
|
|
464
914
|
}]>;
|
|
465
915
|
spawnFailed: import("@vercel/clinkr").SharedError<"spawn_failed", [data: {
|
|
466
916
|
executable: string;
|
|
467
917
|
message: string;
|
|
468
|
-
cleanup: import("
|
|
918
|
+
cleanup: import("../../shared/cleanup.ts").StormCleanupFacts;
|
|
469
919
|
}]>;
|
|
470
920
|
submodulesRefused: import("@vercel/clinkr").SharedError<"submodules_refused", [data: {
|
|
471
921
|
paths: string[];
|
|
472
922
|
}]>;
|
|
923
|
+
unsafeSecretEnvVarsInvalid: import("@vercel/clinkr").SharedError<"unsafe_secret_env_vars_invalid", [data: {
|
|
924
|
+
variables: {
|
|
925
|
+
name: string;
|
|
926
|
+
problem: "missing" | "multiline" | "short";
|
|
927
|
+
}[];
|
|
928
|
+
minLength: number;
|
|
929
|
+
configFile: string | null;
|
|
930
|
+
}]>;
|
|
473
931
|
}, {
|
|
474
|
-
|
|
932
|
+
readonly conflictingOptions: import("@vercel/clinkr").SharedError<"conflicting_options", [data: {
|
|
933
|
+
conflicts: {
|
|
934
|
+
flag: string;
|
|
935
|
+
message: string;
|
|
936
|
+
}[];
|
|
937
|
+
runner: "launch-machine" | "vercel-sandbox";
|
|
938
|
+
suite: string | null;
|
|
939
|
+
configFile: string | null;
|
|
940
|
+
}]>;
|
|
941
|
+
readonly credentialUnused: import("@vercel/clinkr").SharedError<"credential_unused", [data: {
|
|
475
942
|
flags: string[];
|
|
476
943
|
configFile: string | null;
|
|
477
944
|
}]>;
|
|
478
|
-
|
|
945
|
+
readonly credentialsInvalid: import("@vercel/clinkr").SharedError<"credentials_invalid", [data: {
|
|
946
|
+
variables: {
|
|
947
|
+
name: string;
|
|
948
|
+
problem: "missing" | "multiline" | "short";
|
|
949
|
+
}[];
|
|
950
|
+
minLength: number;
|
|
951
|
+
configFile: string | null;
|
|
952
|
+
}]>;
|
|
953
|
+
readonly invalidConfig: import("@vercel/clinkr").SharedError<"invalid_config", [data: {
|
|
479
954
|
file: string;
|
|
480
955
|
problems: {
|
|
481
956
|
key: string | null;
|
|
@@ -486,7 +961,7 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
486
961
|
problem: string;
|
|
487
962
|
}[];
|
|
488
963
|
}]>;
|
|
489
|
-
invalidResourceOptions: import("@vercel/clinkr").SharedError<"invalid_resource_options", [data: {
|
|
964
|
+
readonly invalidResourceOptions: import("@vercel/clinkr").SharedError<"invalid_resource_options", [data: {
|
|
490
965
|
configFile: string | null;
|
|
491
966
|
problems: {
|
|
492
967
|
key: string;
|
|
@@ -498,39 +973,52 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
498
973
|
}[];
|
|
499
974
|
}[];
|
|
500
975
|
}]>;
|
|
501
|
-
|
|
976
|
+
readonly keepSandboxUnsafeSecretEnvVars: import("@vercel/clinkr").SharedError<"keep_sandbox_unsafe_secret_env_vars", [data: {
|
|
977
|
+
variables: string[];
|
|
978
|
+
configFile: string | null;
|
|
979
|
+
}]>;
|
|
980
|
+
readonly mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
|
|
502
981
|
team: string;
|
|
503
982
|
project: string;
|
|
504
983
|
cause: string;
|
|
505
984
|
fix: string;
|
|
506
985
|
runner: boolean;
|
|
507
|
-
cleanup: import("
|
|
986
|
+
cleanup: import("../../shared/cleanup.ts").StormCleanupFacts;
|
|
508
987
|
}]>;
|
|
509
|
-
missingRunner: import("@vercel/clinkr").SharedError<"missing_runner", [data: {
|
|
988
|
+
readonly missingRunner: import("@vercel/clinkr").SharedError<"missing_runner", [data: {
|
|
510
989
|
configFile: string | null;
|
|
511
990
|
}]>;
|
|
512
|
-
|
|
991
|
+
readonly missingSandboxesMax: import("@vercel/clinkr").SharedError<"missing_sandboxes_max", [data: {
|
|
992
|
+
flag: "--file-lists" | "--sandboxes";
|
|
993
|
+
key: string;
|
|
994
|
+
configFile: string | null;
|
|
995
|
+
}]>;
|
|
996
|
+
readonly missingTarget: import("@vercel/clinkr").SharedError<"missing_target", [data: {
|
|
513
997
|
missing: ("project" | "scope")[];
|
|
514
998
|
}]>;
|
|
515
|
-
noBaseRef: import("@vercel/clinkr").SharedError<"no_base_ref", [data: {
|
|
999
|
+
readonly noBaseRef: import("@vercel/clinkr").SharedError<"no_base_ref", [data: {
|
|
516
1000
|
refs: {
|
|
517
1001
|
ref: string;
|
|
518
1002
|
reason: "missing" | "unrelated";
|
|
519
1003
|
}[];
|
|
520
1004
|
}]>;
|
|
521
|
-
|
|
1005
|
+
readonly resourceNeedsRunnerSandbox: import("@vercel/clinkr").SharedError<"resource_needs_runner_sandbox", [data: {
|
|
1006
|
+
resources: string[];
|
|
1007
|
+
configFile: string | null;
|
|
1008
|
+
}]>;
|
|
1009
|
+
readonly resourceRefused: import("@vercel/clinkr").SharedError<"resource_refused", [data: {
|
|
522
1010
|
resource: string;
|
|
523
1011
|
refusal: string;
|
|
524
1012
|
data: Record<string, unknown>;
|
|
525
|
-
cleanup: import("
|
|
1013
|
+
cleanup: import("../../shared/cleanup.ts").StormCleanupFacts;
|
|
526
1014
|
}, refusal: import("../../sdk/extension/lifecycle.ts").RefusalContent]>;
|
|
527
|
-
resourceRefusedBeforeRun: import("@vercel/clinkr").SharedError<"resource_refused_before_run", [data: {
|
|
1015
|
+
readonly resourceRefusedBeforeRun: import("@vercel/clinkr").SharedError<"resource_refused_before_run", [data: {
|
|
528
1016
|
resource: string;
|
|
529
1017
|
refusal: string;
|
|
530
1018
|
data: Record<string, unknown>;
|
|
531
1019
|
configFile: string | null;
|
|
532
1020
|
}, refusal: import("../../sdk/extension/lifecycle.ts").RefusalContent]>;
|
|
533
|
-
runnerFailed: import("@vercel/clinkr").SharedError<"runner_failed", [data: {
|
|
1021
|
+
readonly runnerFailed: import("@vercel/clinkr").SharedError<"runner_failed", [data: {
|
|
534
1022
|
failure: {
|
|
535
1023
|
kind: "apply-failed" | "build-failed" | "install-failed" | "snapshot-build-step-failed";
|
|
536
1024
|
label: string;
|
|
@@ -549,33 +1037,47 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
549
1037
|
kind: "credential-claims-missing";
|
|
550
1038
|
team: string;
|
|
551
1039
|
project: string;
|
|
1040
|
+
} | {
|
|
1041
|
+
kind: "network-policy-failed";
|
|
1042
|
+
operation: "inject" | "remove";
|
|
1043
|
+
around: "command" | "run-steps" | "snapshot-save" | "snapshot-steps";
|
|
1044
|
+
reason: "api" | "timed-out";
|
|
1045
|
+
status: number | null;
|
|
1046
|
+
message: string;
|
|
552
1047
|
};
|
|
553
|
-
cleanup: import("
|
|
1048
|
+
cleanup: import("../../shared/cleanup.ts").StormCleanupFacts;
|
|
554
1049
|
}]>;
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
minLength: number;
|
|
1050
|
+
readonly sandboxesOverMax: import("@vercel/clinkr").SharedError<"sandboxes_over_max", [data: {
|
|
1051
|
+
flag: "--file-lists" | "--sandboxes";
|
|
1052
|
+
sandboxes: number;
|
|
1053
|
+
key: string;
|
|
1054
|
+
max: number;
|
|
561
1055
|
configFile: string | null;
|
|
562
1056
|
}]>;
|
|
563
|
-
snapshotGone: import("@vercel/clinkr").SharedError<"snapshot_gone", [data: {
|
|
1057
|
+
readonly snapshotGone: import("@vercel/clinkr").SharedError<"snapshot_gone", [data: {
|
|
564
1058
|
snapshotId: string;
|
|
565
1059
|
base: string;
|
|
566
1060
|
removal: {
|
|
567
1061
|
path: string;
|
|
568
1062
|
message: string;
|
|
569
1063
|
} | null;
|
|
570
|
-
cleanup: import("
|
|
1064
|
+
cleanup: import("../../shared/cleanup.ts").StormCleanupFacts;
|
|
571
1065
|
}]>;
|
|
572
|
-
spawnFailed: import("@vercel/clinkr").SharedError<"spawn_failed", [data: {
|
|
1066
|
+
readonly spawnFailed: import("@vercel/clinkr").SharedError<"spawn_failed", [data: {
|
|
573
1067
|
executable: string;
|
|
574
1068
|
message: string;
|
|
575
|
-
cleanup: import("
|
|
1069
|
+
cleanup: import("../../shared/cleanup.ts").StormCleanupFacts;
|
|
576
1070
|
}]>;
|
|
577
|
-
submodulesRefused: import("@vercel/clinkr").SharedError<"submodules_refused", [data: {
|
|
1071
|
+
readonly submodulesRefused: import("@vercel/clinkr").SharedError<"submodules_refused", [data: {
|
|
578
1072
|
paths: string[];
|
|
579
1073
|
}]>;
|
|
1074
|
+
readonly unsafeSecretEnvVarsInvalid: import("@vercel/clinkr").SharedError<"unsafe_secret_env_vars_invalid", [data: {
|
|
1075
|
+
variables: {
|
|
1076
|
+
name: string;
|
|
1077
|
+
problem: "missing" | "multiline" | "short";
|
|
1078
|
+
}[];
|
|
1079
|
+
minLength: number;
|
|
1080
|
+
configFile: string | null;
|
|
1081
|
+
}]>;
|
|
580
1082
|
}>>, import("../../context.ts").StormApp, false>;
|
|
581
1083
|
export default _default;
|