@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
|
@@ -1,671 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
import type { Driver } from "../../sdk/extension/index.ts";
|
|
3
|
-
/**
|
|
4
|
-
* The run command of `driver`, which its `command.ts` default-exports. It takes the flags every run takes, then the
|
|
5
|
-
* driver's arguments, and runs the driver's command in a run (`runCommand`).
|
|
6
|
-
*
|
|
7
|
-
* It takes any arguments (`args`), which go to the driver's program unchanged, in order, those after `--` among
|
|
8
|
-
* them, which Clinkr reads into the same field, and `--count-tests` (`countTests`) for a driver that counts only the
|
|
9
|
-
* test files unless asked (`Driver.countTests`), with the driver's help for it. Its part of planning the run finds the
|
|
10
|
-
* program and, when the config file sets `testPlan` or the run takes `--count-tests`, counts its tests, or their files,
|
|
11
|
-
* before anything is minted, acquired or started (`planDriverCommand`). The count is the run's test plan, which sizes
|
|
12
|
-
* any resource option whose default is a function of it, and which its `ran` carries as `plan`; a run that counts
|
|
13
|
-
* nothing has no plan, as `storm exec`'s has none. Beside every run's
|
|
14
|
-
* errors it ends with the driver's two refusals, `no_matching_tests` and `driver_plan_failed`, in the driver's words
|
|
15
|
-
* (`driverRefusals`). Its `ran` warns `no_final_test_results` when its program exited 0 and saved no final test
|
|
16
|
-
* result, with the driver's steps that add storm's reporter as its next steps (`ranRenderer`).
|
|
17
|
-
*/
|
|
18
|
-
export declare function defineRunCommand(driver: Driver): import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
19
|
-
scope: z.ZodOptional<z.ZodString>;
|
|
20
|
-
project: z.ZodOptional<z.ZodString>;
|
|
21
|
-
credential: z.ZodOptional<z.ZodEnum<{
|
|
22
|
-
"github-actions": "github-actions";
|
|
23
|
-
mint: "mint";
|
|
24
|
-
}>>;
|
|
25
|
-
unsandboxed: z.ZodDefault<z.ZodBoolean>;
|
|
26
|
-
showOutput: z.ZodDefault<z.ZodBoolean>;
|
|
27
|
-
keepSandbox: z.ZodOptional<z.ZodString>;
|
|
28
|
-
verbose: z.ZodDefault<z.ZodBoolean>;
|
|
29
|
-
args: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
30
|
-
countTests?: z.ZodDefault<z.ZodBoolean>;
|
|
31
|
-
}, z.core.$strip>, import("@vercel/clinkr").Outcomes<{
|
|
32
|
-
ran: z.ZodObject<{
|
|
33
|
-
version: z.ZodString;
|
|
34
|
-
commit: z.ZodNullable<z.ZodString>;
|
|
35
|
-
configFile: z.ZodNullable<z.ZodString>;
|
|
36
|
-
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>>;
|
|
37
|
-
cleanup: z.ZodType<import("./cleanup.ts").StormCleanupFacts, import("./cleanup.ts").StormCleanupFacts, z.core.$ZodTypeInternals<import("./cleanup.ts").StormCleanupFacts, import("./cleanup.ts").StormCleanupFacts>>;
|
|
38
|
-
command: z.ZodObject<{
|
|
39
|
-
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
40
|
-
signal: z.ZodNullable<z.ZodString>;
|
|
41
|
-
}, z.core.$strip>;
|
|
42
|
-
runner: z.ZodNullable<z.ZodObject<{
|
|
43
|
-
snapshotId: z.ZodString;
|
|
44
|
-
base: z.ZodString;
|
|
45
|
-
builtBehind: z.ZodNumber;
|
|
46
|
-
uploadBytes: z.ZodNumber;
|
|
47
|
-
built: z.ZodBoolean;
|
|
48
|
-
vcpus: z.ZodNumber;
|
|
49
|
-
region: z.ZodString;
|
|
50
|
-
runtime: z.ZodString;
|
|
51
|
-
buildMs: z.ZodNumber;
|
|
52
|
-
}, z.core.$strip>>;
|
|
53
|
-
timeline: z.ZodObject<{
|
|
54
|
-
startedAt: z.ZodString;
|
|
55
|
-
totalMs: z.ZodNumber;
|
|
56
|
-
rows: z.ZodArray<z.ZodObject<{
|
|
57
|
-
name: z.ZodString;
|
|
58
|
-
resource: z.ZodNullable<z.ZodString>;
|
|
59
|
-
label: z.ZodString;
|
|
60
|
-
startMs: z.ZodNumber;
|
|
61
|
-
endMs: z.ZodNumber;
|
|
62
|
-
outcome: z.ZodEnum<{
|
|
63
|
-
done: "done";
|
|
64
|
-
failed: "failed";
|
|
65
|
-
stopped: "stopped";
|
|
66
|
-
unfinished: "unfinished";
|
|
67
|
-
}>;
|
|
68
|
-
steps: z.ZodArray<z.ZodObject<{
|
|
69
|
-
name: z.ZodString;
|
|
70
|
-
startMs: z.ZodNumber;
|
|
71
|
-
endMs: z.ZodNumber;
|
|
72
|
-
outcome: z.ZodEnum<{
|
|
73
|
-
done: "done";
|
|
74
|
-
failed: "failed";
|
|
75
|
-
stopped: "stopped";
|
|
76
|
-
unfinished: "unfinished";
|
|
77
|
-
}>;
|
|
78
|
-
bytes: z.ZodOptional<z.ZodNumber>;
|
|
79
|
-
}, z.core.$strip>>;
|
|
80
|
-
idleMs: z.ZodNumber;
|
|
81
|
-
snapshot: z.ZodOptional<z.ZodEnum<{
|
|
82
|
-
built: "built";
|
|
83
|
-
reused: "reused";
|
|
84
|
-
}>>;
|
|
85
|
-
sandboxes: z.ZodOptional<z.ZodObject<{
|
|
86
|
-
reused: z.ZodNumber;
|
|
87
|
-
created: z.ZodNumber;
|
|
88
|
-
}, z.core.$strip>>;
|
|
89
|
-
}, z.core.$strip>>;
|
|
90
|
-
criticalPath: z.ZodArray<z.ZodObject<{
|
|
91
|
-
name: z.ZodString;
|
|
92
|
-
resource: z.ZodNullable<z.ZodString>;
|
|
93
|
-
}, z.core.$strip>>;
|
|
94
|
-
}, z.core.$strip>;
|
|
95
|
-
runId: z.ZodNullable<z.ZodString>;
|
|
96
|
-
noFinalTestResults: z.ZodBoolean;
|
|
97
|
-
plan: z.ZodExactOptional<z.ZodObject<{
|
|
98
|
-
tests: z.ZodOptional<z.ZodNumber>;
|
|
99
|
-
files: z.ZodNumber;
|
|
100
|
-
options: z.ZodArray<z.ZodObject<{
|
|
101
|
-
path: z.ZodString;
|
|
102
|
-
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
103
|
-
from: z.ZodEnum<{
|
|
104
|
-
default: "default";
|
|
105
|
-
file: "file";
|
|
106
|
-
flag: "flag";
|
|
107
|
-
}>;
|
|
108
|
-
}, z.core.$strip>>;
|
|
109
|
-
}, z.core.$strip>>;
|
|
110
|
-
}, z.core.$strip>;
|
|
111
|
-
}, {
|
|
112
|
-
ran: unknown;
|
|
113
|
-
}, {
|
|
114
|
-
credentialUnused: import("@vercel/clinkr").SharedError<"credential_unused", [data: {
|
|
115
|
-
flags: string[];
|
|
116
|
-
configFile: string | null;
|
|
117
|
-
}]>;
|
|
118
|
-
driverPlanFailed: import("@vercel/clinkr").SharedError<"driver_plan_failed", [data: {
|
|
119
|
-
driver: string;
|
|
120
|
-
kind: "exited" | "start-failed" | "timed-out" | "unreadable-output";
|
|
121
|
-
message: string;
|
|
122
|
-
args: string[];
|
|
123
|
-
cwd: string;
|
|
124
|
-
}]>;
|
|
125
|
-
invalidConfig: import("@vercel/clinkr").SharedError<"invalid_config", [data: {
|
|
126
|
-
file: string;
|
|
127
|
-
problems: {
|
|
128
|
-
key: string | null;
|
|
129
|
-
location: {
|
|
130
|
-
line: number;
|
|
131
|
-
column: number | null;
|
|
132
|
-
} | null;
|
|
133
|
-
problem: string;
|
|
134
|
-
}[];
|
|
135
|
-
}]>;
|
|
136
|
-
invalidResourceOptions: import("@vercel/clinkr").SharedError<"invalid_resource_options", [data: {
|
|
137
|
-
configFile: string | null;
|
|
138
|
-
problems: {
|
|
139
|
-
key: string;
|
|
140
|
-
problem: string;
|
|
141
|
-
values: {
|
|
142
|
-
key: string;
|
|
143
|
-
value: string;
|
|
144
|
-
source: "default" | "file" | "flag";
|
|
145
|
-
}[];
|
|
146
|
-
}[];
|
|
147
|
-
}]>;
|
|
148
|
-
mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
|
|
149
|
-
team: string;
|
|
150
|
-
project: string;
|
|
151
|
-
cause: string;
|
|
152
|
-
fix: string;
|
|
153
|
-
runner: boolean;
|
|
154
|
-
cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
155
|
-
}]>;
|
|
156
|
-
missingRunner: import("@vercel/clinkr").SharedError<"missing_runner", [data: {
|
|
157
|
-
configFile: string | null;
|
|
158
|
-
}]>;
|
|
159
|
-
missingTarget: import("@vercel/clinkr").SharedError<"missing_target", [data: {
|
|
160
|
-
missing: ("project" | "scope")[];
|
|
161
|
-
}]>;
|
|
162
|
-
noBaseRef: import("@vercel/clinkr").SharedError<"no_base_ref", [data: {
|
|
163
|
-
refs: {
|
|
164
|
-
ref: string;
|
|
165
|
-
reason: "missing" | "unrelated";
|
|
166
|
-
}[];
|
|
167
|
-
}]>;
|
|
168
|
-
noMatchingTests: import("@vercel/clinkr").SharedError<"no_matching_tests", [data: {
|
|
169
|
-
driver: string;
|
|
170
|
-
args: string[];
|
|
171
|
-
cwd: string;
|
|
172
|
-
}]>;
|
|
173
|
-
resourceRefused: import("@vercel/clinkr").SharedError<"resource_refused", [data: {
|
|
174
|
-
resource: string;
|
|
175
|
-
refusal: string;
|
|
176
|
-
data: Record<string, unknown>;
|
|
177
|
-
cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
178
|
-
}, refusal: import("../../sdk/extension/lifecycle.ts").RefusalContent]>;
|
|
179
|
-
resourceRefusedBeforeRun: import("@vercel/clinkr").SharedError<"resource_refused_before_run", [data: {
|
|
180
|
-
resource: string;
|
|
181
|
-
refusal: string;
|
|
182
|
-
data: Record<string, unknown>;
|
|
183
|
-
configFile: string | null;
|
|
184
|
-
}, refusal: import("../../sdk/extension/lifecycle.ts").RefusalContent]>;
|
|
185
|
-
runnerFailed: import("@vercel/clinkr").SharedError<"runner_failed", [data: {
|
|
186
|
-
failure: {
|
|
187
|
-
kind: "apply-failed" | "build-failed" | "install-failed" | "snapshot-build-step-failed";
|
|
188
|
-
label: string;
|
|
189
|
-
exitCode: number | null;
|
|
190
|
-
tail: string[];
|
|
191
|
-
} | {
|
|
192
|
-
kind: "sandbox-api-failed";
|
|
193
|
-
operation: string;
|
|
194
|
-
status: number | null;
|
|
195
|
-
message: string;
|
|
196
|
-
} | {
|
|
197
|
-
kind: "checkout-failed";
|
|
198
|
-
message: string;
|
|
199
|
-
command: string | null;
|
|
200
|
-
} | {
|
|
201
|
-
kind: "credential-claims-missing";
|
|
202
|
-
team: string;
|
|
203
|
-
project: string;
|
|
204
|
-
};
|
|
205
|
-
cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
206
|
-
}]>;
|
|
207
|
-
runnerSecretsInvalid: import("@vercel/clinkr").SharedError<"runner_secrets_invalid", [data: {
|
|
208
|
-
variables: {
|
|
209
|
-
name: string;
|
|
210
|
-
problem: "missing" | "multiline" | "short";
|
|
211
|
-
}[];
|
|
212
|
-
minLength: number;
|
|
213
|
-
configFile: string | null;
|
|
214
|
-
}]>;
|
|
215
|
-
snapshotGone: import("@vercel/clinkr").SharedError<"snapshot_gone", [data: {
|
|
216
|
-
snapshotId: string;
|
|
217
|
-
base: string;
|
|
218
|
-
removal: {
|
|
219
|
-
path: string;
|
|
220
|
-
message: string;
|
|
221
|
-
} | null;
|
|
222
|
-
cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
223
|
-
}]>;
|
|
224
|
-
spawnFailed: import("@vercel/clinkr").SharedError<"spawn_failed", [data: {
|
|
225
|
-
executable: string;
|
|
226
|
-
message: string;
|
|
227
|
-
cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
228
|
-
}]>;
|
|
229
|
-
submodulesRefused: import("@vercel/clinkr").SharedError<"submodules_refused", [data: {
|
|
230
|
-
paths: string[];
|
|
231
|
-
}]>;
|
|
232
|
-
}, {
|
|
233
|
-
readonly credentialUnused: import("@vercel/clinkr").SharedError<"credential_unused", [data: {
|
|
234
|
-
flags: string[];
|
|
235
|
-
configFile: string | null;
|
|
236
|
-
}]>;
|
|
237
|
-
readonly driverPlanFailed: import("@vercel/clinkr").SharedError<"driver_plan_failed", [data: {
|
|
238
|
-
driver: string;
|
|
239
|
-
kind: "exited" | "start-failed" | "timed-out" | "unreadable-output";
|
|
240
|
-
message: string;
|
|
241
|
-
args: string[];
|
|
242
|
-
cwd: string;
|
|
243
|
-
}]>;
|
|
244
|
-
readonly invalidConfig: import("@vercel/clinkr").SharedError<"invalid_config", [data: {
|
|
245
|
-
file: string;
|
|
246
|
-
problems: {
|
|
247
|
-
key: string | null;
|
|
248
|
-
location: {
|
|
249
|
-
line: number;
|
|
250
|
-
column: number | null;
|
|
251
|
-
} | null;
|
|
252
|
-
problem: string;
|
|
253
|
-
}[];
|
|
254
|
-
}]>;
|
|
255
|
-
readonly invalidResourceOptions: import("@vercel/clinkr").SharedError<"invalid_resource_options", [data: {
|
|
256
|
-
configFile: string | null;
|
|
257
|
-
problems: {
|
|
258
|
-
key: string;
|
|
259
|
-
problem: string;
|
|
260
|
-
values: {
|
|
261
|
-
key: string;
|
|
262
|
-
value: string;
|
|
263
|
-
source: "default" | "file" | "flag";
|
|
264
|
-
}[];
|
|
265
|
-
}[];
|
|
266
|
-
}]>;
|
|
267
|
-
readonly mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
|
|
268
|
-
team: string;
|
|
269
|
-
project: string;
|
|
270
|
-
cause: string;
|
|
271
|
-
fix: string;
|
|
272
|
-
runner: boolean;
|
|
273
|
-
cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
274
|
-
}]>;
|
|
275
|
-
readonly missingRunner: import("@vercel/clinkr").SharedError<"missing_runner", [data: {
|
|
276
|
-
configFile: string | null;
|
|
277
|
-
}]>;
|
|
278
|
-
readonly missingTarget: import("@vercel/clinkr").SharedError<"missing_target", [data: {
|
|
279
|
-
missing: ("project" | "scope")[];
|
|
280
|
-
}]>;
|
|
281
|
-
readonly noBaseRef: import("@vercel/clinkr").SharedError<"no_base_ref", [data: {
|
|
282
|
-
refs: {
|
|
283
|
-
ref: string;
|
|
284
|
-
reason: "missing" | "unrelated";
|
|
285
|
-
}[];
|
|
286
|
-
}]>;
|
|
287
|
-
readonly noMatchingTests: import("@vercel/clinkr").SharedError<"no_matching_tests", [data: {
|
|
288
|
-
driver: string;
|
|
289
|
-
args: string[];
|
|
290
|
-
cwd: string;
|
|
291
|
-
}]>;
|
|
292
|
-
readonly resourceRefused: import("@vercel/clinkr").SharedError<"resource_refused", [data: {
|
|
293
|
-
resource: string;
|
|
294
|
-
refusal: string;
|
|
295
|
-
data: Record<string, unknown>;
|
|
296
|
-
cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
297
|
-
}, refusal: import("../../sdk/extension/lifecycle.ts").RefusalContent]>;
|
|
298
|
-
readonly resourceRefusedBeforeRun: import("@vercel/clinkr").SharedError<"resource_refused_before_run", [data: {
|
|
299
|
-
resource: string;
|
|
300
|
-
refusal: string;
|
|
301
|
-
data: Record<string, unknown>;
|
|
302
|
-
configFile: string | null;
|
|
303
|
-
}, refusal: import("../../sdk/extension/lifecycle.ts").RefusalContent]>;
|
|
304
|
-
readonly runnerFailed: import("@vercel/clinkr").SharedError<"runner_failed", [data: {
|
|
305
|
-
failure: {
|
|
306
|
-
kind: "apply-failed" | "build-failed" | "install-failed" | "snapshot-build-step-failed";
|
|
307
|
-
label: string;
|
|
308
|
-
exitCode: number | null;
|
|
309
|
-
tail: string[];
|
|
310
|
-
} | {
|
|
311
|
-
kind: "sandbox-api-failed";
|
|
312
|
-
operation: string;
|
|
313
|
-
status: number | null;
|
|
314
|
-
message: string;
|
|
315
|
-
} | {
|
|
316
|
-
kind: "checkout-failed";
|
|
317
|
-
message: string;
|
|
318
|
-
command: string | null;
|
|
319
|
-
} | {
|
|
320
|
-
kind: "credential-claims-missing";
|
|
321
|
-
team: string;
|
|
322
|
-
project: string;
|
|
323
|
-
};
|
|
324
|
-
cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
325
|
-
}]>;
|
|
326
|
-
readonly runnerSecretsInvalid: import("@vercel/clinkr").SharedError<"runner_secrets_invalid", [data: {
|
|
327
|
-
variables: {
|
|
328
|
-
name: string;
|
|
329
|
-
problem: "missing" | "multiline" | "short";
|
|
330
|
-
}[];
|
|
331
|
-
minLength: number;
|
|
332
|
-
configFile: string | null;
|
|
333
|
-
}]>;
|
|
334
|
-
readonly snapshotGone: import("@vercel/clinkr").SharedError<"snapshot_gone", [data: {
|
|
335
|
-
snapshotId: string;
|
|
336
|
-
base: string;
|
|
337
|
-
removal: {
|
|
338
|
-
path: string;
|
|
339
|
-
message: string;
|
|
340
|
-
} | null;
|
|
341
|
-
cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
342
|
-
}]>;
|
|
343
|
-
readonly spawnFailed: import("@vercel/clinkr").SharedError<"spawn_failed", [data: {
|
|
344
|
-
executable: string;
|
|
345
|
-
message: string;
|
|
346
|
-
cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
347
|
-
}]>;
|
|
348
|
-
readonly submodulesRefused: import("@vercel/clinkr").SharedError<"submodules_refused", [data: {
|
|
349
|
-
paths: string[];
|
|
350
|
-
}]>;
|
|
351
|
-
}>, import("@vercel/clinkr").OutcomeOf<import("@vercel/clinkr").Outcomes<{
|
|
352
|
-
ran: z.ZodObject<{
|
|
353
|
-
version: z.ZodString;
|
|
354
|
-
commit: z.ZodNullable<z.ZodString>;
|
|
355
|
-
configFile: z.ZodNullable<z.ZodString>;
|
|
356
|
-
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>>;
|
|
357
|
-
cleanup: z.ZodType<import("./cleanup.ts").StormCleanupFacts, import("./cleanup.ts").StormCleanupFacts, z.core.$ZodTypeInternals<import("./cleanup.ts").StormCleanupFacts, import("./cleanup.ts").StormCleanupFacts>>;
|
|
358
|
-
command: z.ZodObject<{
|
|
359
|
-
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
360
|
-
signal: z.ZodNullable<z.ZodString>;
|
|
361
|
-
}, z.core.$strip>;
|
|
362
|
-
runner: z.ZodNullable<z.ZodObject<{
|
|
363
|
-
snapshotId: z.ZodString;
|
|
364
|
-
base: z.ZodString;
|
|
365
|
-
builtBehind: z.ZodNumber;
|
|
366
|
-
uploadBytes: z.ZodNumber;
|
|
367
|
-
built: z.ZodBoolean;
|
|
368
|
-
vcpus: z.ZodNumber;
|
|
369
|
-
region: z.ZodString;
|
|
370
|
-
runtime: z.ZodString;
|
|
371
|
-
buildMs: z.ZodNumber;
|
|
372
|
-
}, z.core.$strip>>;
|
|
373
|
-
timeline: z.ZodObject<{
|
|
374
|
-
startedAt: z.ZodString;
|
|
375
|
-
totalMs: z.ZodNumber;
|
|
376
|
-
rows: z.ZodArray<z.ZodObject<{
|
|
377
|
-
name: z.ZodString;
|
|
378
|
-
resource: z.ZodNullable<z.ZodString>;
|
|
379
|
-
label: z.ZodString;
|
|
380
|
-
startMs: z.ZodNumber;
|
|
381
|
-
endMs: z.ZodNumber;
|
|
382
|
-
outcome: z.ZodEnum<{
|
|
383
|
-
done: "done";
|
|
384
|
-
failed: "failed";
|
|
385
|
-
stopped: "stopped";
|
|
386
|
-
unfinished: "unfinished";
|
|
387
|
-
}>;
|
|
388
|
-
steps: z.ZodArray<z.ZodObject<{
|
|
389
|
-
name: z.ZodString;
|
|
390
|
-
startMs: z.ZodNumber;
|
|
391
|
-
endMs: z.ZodNumber;
|
|
392
|
-
outcome: z.ZodEnum<{
|
|
393
|
-
done: "done";
|
|
394
|
-
failed: "failed";
|
|
395
|
-
stopped: "stopped";
|
|
396
|
-
unfinished: "unfinished";
|
|
397
|
-
}>;
|
|
398
|
-
bytes: z.ZodOptional<z.ZodNumber>;
|
|
399
|
-
}, z.core.$strip>>;
|
|
400
|
-
idleMs: z.ZodNumber;
|
|
401
|
-
snapshot: z.ZodOptional<z.ZodEnum<{
|
|
402
|
-
built: "built";
|
|
403
|
-
reused: "reused";
|
|
404
|
-
}>>;
|
|
405
|
-
sandboxes: z.ZodOptional<z.ZodObject<{
|
|
406
|
-
reused: z.ZodNumber;
|
|
407
|
-
created: z.ZodNumber;
|
|
408
|
-
}, z.core.$strip>>;
|
|
409
|
-
}, z.core.$strip>>;
|
|
410
|
-
criticalPath: z.ZodArray<z.ZodObject<{
|
|
411
|
-
name: z.ZodString;
|
|
412
|
-
resource: z.ZodNullable<z.ZodString>;
|
|
413
|
-
}, z.core.$strip>>;
|
|
414
|
-
}, z.core.$strip>;
|
|
415
|
-
runId: z.ZodNullable<z.ZodString>;
|
|
416
|
-
noFinalTestResults: z.ZodBoolean;
|
|
417
|
-
plan: z.ZodExactOptional<z.ZodObject<{
|
|
418
|
-
tests: z.ZodOptional<z.ZodNumber>;
|
|
419
|
-
files: z.ZodNumber;
|
|
420
|
-
options: z.ZodArray<z.ZodObject<{
|
|
421
|
-
path: z.ZodString;
|
|
422
|
-
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
423
|
-
from: z.ZodEnum<{
|
|
424
|
-
default: "default";
|
|
425
|
-
file: "file";
|
|
426
|
-
flag: "flag";
|
|
427
|
-
}>;
|
|
428
|
-
}, z.core.$strip>>;
|
|
429
|
-
}, z.core.$strip>>;
|
|
430
|
-
}, z.core.$strip>;
|
|
431
|
-
}, {
|
|
432
|
-
ran: unknown;
|
|
433
|
-
}, {
|
|
434
|
-
credentialUnused: import("@vercel/clinkr").SharedError<"credential_unused", [data: {
|
|
435
|
-
flags: string[];
|
|
436
|
-
configFile: string | null;
|
|
437
|
-
}]>;
|
|
438
|
-
driverPlanFailed: import("@vercel/clinkr").SharedError<"driver_plan_failed", [data: {
|
|
439
|
-
driver: string;
|
|
440
|
-
kind: "exited" | "start-failed" | "timed-out" | "unreadable-output";
|
|
441
|
-
message: string;
|
|
442
|
-
args: string[];
|
|
443
|
-
cwd: string;
|
|
444
|
-
}]>;
|
|
445
|
-
invalidConfig: import("@vercel/clinkr").SharedError<"invalid_config", [data: {
|
|
446
|
-
file: string;
|
|
447
|
-
problems: {
|
|
448
|
-
key: string | null;
|
|
449
|
-
location: {
|
|
450
|
-
line: number;
|
|
451
|
-
column: number | null;
|
|
452
|
-
} | null;
|
|
453
|
-
problem: string;
|
|
454
|
-
}[];
|
|
455
|
-
}]>;
|
|
456
|
-
invalidResourceOptions: import("@vercel/clinkr").SharedError<"invalid_resource_options", [data: {
|
|
457
|
-
configFile: string | null;
|
|
458
|
-
problems: {
|
|
459
|
-
key: string;
|
|
460
|
-
problem: string;
|
|
461
|
-
values: {
|
|
462
|
-
key: string;
|
|
463
|
-
value: string;
|
|
464
|
-
source: "default" | "file" | "flag";
|
|
465
|
-
}[];
|
|
466
|
-
}[];
|
|
467
|
-
}]>;
|
|
468
|
-
mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
|
|
469
|
-
team: string;
|
|
470
|
-
project: string;
|
|
471
|
-
cause: string;
|
|
472
|
-
fix: string;
|
|
473
|
-
runner: boolean;
|
|
474
|
-
cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
475
|
-
}]>;
|
|
476
|
-
missingRunner: import("@vercel/clinkr").SharedError<"missing_runner", [data: {
|
|
477
|
-
configFile: string | null;
|
|
478
|
-
}]>;
|
|
479
|
-
missingTarget: import("@vercel/clinkr").SharedError<"missing_target", [data: {
|
|
480
|
-
missing: ("project" | "scope")[];
|
|
481
|
-
}]>;
|
|
482
|
-
noBaseRef: import("@vercel/clinkr").SharedError<"no_base_ref", [data: {
|
|
483
|
-
refs: {
|
|
484
|
-
ref: string;
|
|
485
|
-
reason: "missing" | "unrelated";
|
|
486
|
-
}[];
|
|
487
|
-
}]>;
|
|
488
|
-
noMatchingTests: import("@vercel/clinkr").SharedError<"no_matching_tests", [data: {
|
|
489
|
-
driver: string;
|
|
490
|
-
args: string[];
|
|
491
|
-
cwd: string;
|
|
492
|
-
}]>;
|
|
493
|
-
resourceRefused: import("@vercel/clinkr").SharedError<"resource_refused", [data: {
|
|
494
|
-
resource: string;
|
|
495
|
-
refusal: string;
|
|
496
|
-
data: Record<string, unknown>;
|
|
497
|
-
cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
498
|
-
}, refusal: import("../../sdk/extension/lifecycle.ts").RefusalContent]>;
|
|
499
|
-
resourceRefusedBeforeRun: import("@vercel/clinkr").SharedError<"resource_refused_before_run", [data: {
|
|
500
|
-
resource: string;
|
|
501
|
-
refusal: string;
|
|
502
|
-
data: Record<string, unknown>;
|
|
503
|
-
configFile: string | null;
|
|
504
|
-
}, refusal: import("../../sdk/extension/lifecycle.ts").RefusalContent]>;
|
|
505
|
-
runnerFailed: import("@vercel/clinkr").SharedError<"runner_failed", [data: {
|
|
506
|
-
failure: {
|
|
507
|
-
kind: "apply-failed" | "build-failed" | "install-failed" | "snapshot-build-step-failed";
|
|
508
|
-
label: string;
|
|
509
|
-
exitCode: number | null;
|
|
510
|
-
tail: string[];
|
|
511
|
-
} | {
|
|
512
|
-
kind: "sandbox-api-failed";
|
|
513
|
-
operation: string;
|
|
514
|
-
status: number | null;
|
|
515
|
-
message: string;
|
|
516
|
-
} | {
|
|
517
|
-
kind: "checkout-failed";
|
|
518
|
-
message: string;
|
|
519
|
-
command: string | null;
|
|
520
|
-
} | {
|
|
521
|
-
kind: "credential-claims-missing";
|
|
522
|
-
team: string;
|
|
523
|
-
project: string;
|
|
524
|
-
};
|
|
525
|
-
cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
526
|
-
}]>;
|
|
527
|
-
runnerSecretsInvalid: import("@vercel/clinkr").SharedError<"runner_secrets_invalid", [data: {
|
|
528
|
-
variables: {
|
|
529
|
-
name: string;
|
|
530
|
-
problem: "missing" | "multiline" | "short";
|
|
531
|
-
}[];
|
|
532
|
-
minLength: number;
|
|
533
|
-
configFile: string | null;
|
|
534
|
-
}]>;
|
|
535
|
-
snapshotGone: import("@vercel/clinkr").SharedError<"snapshot_gone", [data: {
|
|
536
|
-
snapshotId: string;
|
|
537
|
-
base: string;
|
|
538
|
-
removal: {
|
|
539
|
-
path: string;
|
|
540
|
-
message: string;
|
|
541
|
-
} | null;
|
|
542
|
-
cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
543
|
-
}]>;
|
|
544
|
-
spawnFailed: import("@vercel/clinkr").SharedError<"spawn_failed", [data: {
|
|
545
|
-
executable: string;
|
|
546
|
-
message: string;
|
|
547
|
-
cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
548
|
-
}]>;
|
|
549
|
-
submodulesRefused: import("@vercel/clinkr").SharedError<"submodules_refused", [data: {
|
|
550
|
-
paths: string[];
|
|
551
|
-
}]>;
|
|
552
|
-
}, {
|
|
553
|
-
readonly credentialUnused: import("@vercel/clinkr").SharedError<"credential_unused", [data: {
|
|
554
|
-
flags: string[];
|
|
555
|
-
configFile: string | null;
|
|
556
|
-
}]>;
|
|
557
|
-
readonly driverPlanFailed: import("@vercel/clinkr").SharedError<"driver_plan_failed", [data: {
|
|
558
|
-
driver: string;
|
|
559
|
-
kind: "exited" | "start-failed" | "timed-out" | "unreadable-output";
|
|
560
|
-
message: string;
|
|
561
|
-
args: string[];
|
|
562
|
-
cwd: string;
|
|
563
|
-
}]>;
|
|
564
|
-
readonly invalidConfig: import("@vercel/clinkr").SharedError<"invalid_config", [data: {
|
|
565
|
-
file: string;
|
|
566
|
-
problems: {
|
|
567
|
-
key: string | null;
|
|
568
|
-
location: {
|
|
569
|
-
line: number;
|
|
570
|
-
column: number | null;
|
|
571
|
-
} | null;
|
|
572
|
-
problem: string;
|
|
573
|
-
}[];
|
|
574
|
-
}]>;
|
|
575
|
-
readonly invalidResourceOptions: import("@vercel/clinkr").SharedError<"invalid_resource_options", [data: {
|
|
576
|
-
configFile: string | null;
|
|
577
|
-
problems: {
|
|
578
|
-
key: string;
|
|
579
|
-
problem: string;
|
|
580
|
-
values: {
|
|
581
|
-
key: string;
|
|
582
|
-
value: string;
|
|
583
|
-
source: "default" | "file" | "flag";
|
|
584
|
-
}[];
|
|
585
|
-
}[];
|
|
586
|
-
}]>;
|
|
587
|
-
readonly mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
|
|
588
|
-
team: string;
|
|
589
|
-
project: string;
|
|
590
|
-
cause: string;
|
|
591
|
-
fix: string;
|
|
592
|
-
runner: boolean;
|
|
593
|
-
cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
594
|
-
}]>;
|
|
595
|
-
readonly missingRunner: import("@vercel/clinkr").SharedError<"missing_runner", [data: {
|
|
596
|
-
configFile: string | null;
|
|
597
|
-
}]>;
|
|
598
|
-
readonly missingTarget: import("@vercel/clinkr").SharedError<"missing_target", [data: {
|
|
599
|
-
missing: ("project" | "scope")[];
|
|
600
|
-
}]>;
|
|
601
|
-
readonly noBaseRef: import("@vercel/clinkr").SharedError<"no_base_ref", [data: {
|
|
602
|
-
refs: {
|
|
603
|
-
ref: string;
|
|
604
|
-
reason: "missing" | "unrelated";
|
|
605
|
-
}[];
|
|
606
|
-
}]>;
|
|
607
|
-
readonly noMatchingTests: import("@vercel/clinkr").SharedError<"no_matching_tests", [data: {
|
|
608
|
-
driver: string;
|
|
609
|
-
args: string[];
|
|
610
|
-
cwd: string;
|
|
611
|
-
}]>;
|
|
612
|
-
readonly resourceRefused: import("@vercel/clinkr").SharedError<"resource_refused", [data: {
|
|
613
|
-
resource: string;
|
|
614
|
-
refusal: string;
|
|
615
|
-
data: Record<string, unknown>;
|
|
616
|
-
cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
617
|
-
}, refusal: import("../../sdk/extension/lifecycle.ts").RefusalContent]>;
|
|
618
|
-
readonly resourceRefusedBeforeRun: import("@vercel/clinkr").SharedError<"resource_refused_before_run", [data: {
|
|
619
|
-
resource: string;
|
|
620
|
-
refusal: string;
|
|
621
|
-
data: Record<string, unknown>;
|
|
622
|
-
configFile: string | null;
|
|
623
|
-
}, refusal: import("../../sdk/extension/lifecycle.ts").RefusalContent]>;
|
|
624
|
-
readonly runnerFailed: import("@vercel/clinkr").SharedError<"runner_failed", [data: {
|
|
625
|
-
failure: {
|
|
626
|
-
kind: "apply-failed" | "build-failed" | "install-failed" | "snapshot-build-step-failed";
|
|
627
|
-
label: string;
|
|
628
|
-
exitCode: number | null;
|
|
629
|
-
tail: string[];
|
|
630
|
-
} | {
|
|
631
|
-
kind: "sandbox-api-failed";
|
|
632
|
-
operation: string;
|
|
633
|
-
status: number | null;
|
|
634
|
-
message: string;
|
|
635
|
-
} | {
|
|
636
|
-
kind: "checkout-failed";
|
|
637
|
-
message: string;
|
|
638
|
-
command: string | null;
|
|
639
|
-
} | {
|
|
640
|
-
kind: "credential-claims-missing";
|
|
641
|
-
team: string;
|
|
642
|
-
project: string;
|
|
643
|
-
};
|
|
644
|
-
cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
645
|
-
}]>;
|
|
646
|
-
readonly runnerSecretsInvalid: import("@vercel/clinkr").SharedError<"runner_secrets_invalid", [data: {
|
|
647
|
-
variables: {
|
|
648
|
-
name: string;
|
|
649
|
-
problem: "missing" | "multiline" | "short";
|
|
650
|
-
}[];
|
|
651
|
-
minLength: number;
|
|
652
|
-
configFile: string | null;
|
|
653
|
-
}]>;
|
|
654
|
-
readonly snapshotGone: import("@vercel/clinkr").SharedError<"snapshot_gone", [data: {
|
|
655
|
-
snapshotId: string;
|
|
656
|
-
base: string;
|
|
657
|
-
removal: {
|
|
658
|
-
path: string;
|
|
659
|
-
message: string;
|
|
660
|
-
} | null;
|
|
661
|
-
cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
662
|
-
}]>;
|
|
663
|
-
readonly spawnFailed: import("@vercel/clinkr").SharedError<"spawn_failed", [data: {
|
|
664
|
-
executable: string;
|
|
665
|
-
message: string;
|
|
666
|
-
cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
667
|
-
}]>;
|
|
668
|
-
readonly submodulesRefused: import("@vercel/clinkr").SharedError<"submodules_refused", [data: {
|
|
669
|
-
paths: string[];
|
|
670
|
-
}]>;
|
|
671
|
-
}>>, import("../../context.ts").StormApp, false>;
|