checkly 9.5.0 → 10.0.0-prerelease-4f88d60
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/README.md +10 -0
- package/bin/launch.cjs +12 -0
- package/dist/ai-context/context.js +1 -0
- package/dist/ai-context/context.js.map +1 -1
- package/dist/ai-context/onboarding-boilerplate/checkly-config-template.ts +2 -2
- package/dist/ai-context/public-skills/checkly/SKILL.md +34 -5
- package/dist/ai-context/skills-command/references/communicate.md +8 -5
- package/dist/ai-context/skills-command/references/configure-api-checks.md +1 -9
- package/dist/ai-context/skills-command/references/configure-browser-checks.md +1 -8
- package/dist/ai-context/skills-command/references/configure-check-groups.md +1 -0
- package/dist/ai-context/skills-command/references/configure-dns-monitors.md +1 -9
- package/dist/ai-context/skills-command/references/configure-grpc-monitors.md +24 -0
- package/dist/ai-context/skills-command/references/configure-heartbeat-monitors.md +1 -9
- package/dist/ai-context/skills-command/references/configure-icmp-monitors.md +1 -9
- package/dist/ai-context/skills-command/references/configure-multistep-checks.md +1 -9
- package/dist/ai-context/skills-command/references/configure-playwright-checks.md +2 -2
- package/dist/ai-context/skills-command/references/configure-supporting-constructs.md +6 -2
- package/dist/ai-context/skills-command/references/configure-tcp-monitors.md +1 -10
- package/dist/ai-context/skills-command/references/configure-url-monitors.md +1 -10
- package/dist/ai-context/skills-command/references/configure.md +17 -5
- package/dist/ai-context/skills-command/references/initialize.md +11 -3
- package/dist/ai-context/skills-command/references/investigate-checks.md +1 -1
- package/dist/auth/api-key.d.ts +24 -0
- package/dist/auth/api-key.js +104 -0
- package/dist/auth/api-key.js.map +1 -0
- package/dist/auth/device-flow.d.ts +58 -0
- package/dist/auth/device-flow.js +228 -0
- package/dist/auth/device-flow.js.map +1 -0
- package/dist/auth/index.d.ts +6 -6
- package/dist/auth/index.js +64 -64
- package/dist/auth/index.js.map +1 -1
- package/dist/commands/account/plan.js +1 -1
- package/dist/commands/account/plan.js.map +1 -1
- package/dist/commands/account/usage/projections.d.ts +16 -0
- package/dist/commands/account/usage/projections.js +40 -0
- package/dist/commands/account/usage/projections.js.map +1 -0
- package/dist/commands/account/usage/series.d.ts +7 -3
- package/dist/commands/account/usage/series.js +30 -87
- package/dist/commands/account/usage/series.js.map +1 -1
- package/dist/commands/account/usage/summary.d.ts +4 -1
- package/dist/commands/account/usage/summary.js +19 -27
- package/dist/commands/account/usage/summary.js.map +1 -1
- package/dist/commands/account/usage/term.d.ts +15 -0
- package/dist/commands/account/usage/term.js +32 -0
- package/dist/commands/account/usage/term.js.map +1 -0
- package/dist/commands/account/usage/terms.d.ts +4 -0
- package/dist/commands/account/usage/terms.js +19 -27
- package/dist/commands/account/usage/terms.js.map +1 -1
- package/dist/commands/alert-channels/get.js +2 -1
- package/dist/commands/alert-channels/get.js.map +1 -1
- package/dist/commands/alert-channels/list.js +2 -1
- package/dist/commands/alert-channels/list.js.map +1 -1
- package/dist/commands/alert-channels/logs.js +2 -1
- package/dist/commands/alert-channels/logs.js.map +1 -1
- package/dist/commands/api.js +53 -10
- package/dist/commands/api.js.map +1 -1
- package/dist/commands/assets/download.js +11 -7
- package/dist/commands/assets/download.js.map +1 -1
- package/dist/commands/assets/list.js +2 -3
- package/dist/commands/assets/list.js.map +1 -1
- package/dist/commands/authCommand.d.ts +19 -0
- package/dist/commands/authCommand.js +118 -12
- package/dist/commands/authCommand.js.map +1 -1
- package/dist/commands/baseCommand.d.ts +12 -1
- package/dist/commands/baseCommand.js +24 -5
- package/dist/commands/baseCommand.js.map +1 -1
- package/dist/commands/checks/delete.js +1 -1
- package/dist/commands/checks/delete.js.map +1 -1
- package/dist/commands/checks/run.js +3 -1
- package/dist/commands/checks/run.js.map +1 -1
- package/dist/commands/debug/parse-project.d.ts +1 -0
- package/dist/commands/debug/parse-project.js +5 -2
- package/dist/commands/debug/parse-project.js.map +1 -1
- package/dist/commands/deploy.d.ts +8 -2
- package/dist/commands/deploy.js +735 -274
- package/dist/commands/deploy.js.map +1 -1
- package/dist/commands/destroy.js +3 -3
- package/dist/commands/destroy.js.map +1 -1
- package/dist/commands/env/add.js +2 -2
- package/dist/commands/env/add.js.map +1 -1
- package/dist/commands/env/ls.js +2 -1
- package/dist/commands/env/ls.js.map +1 -1
- package/dist/commands/env/pull.js +3 -3
- package/dist/commands/env/pull.js.map +1 -1
- package/dist/commands/env/update.js +2 -2
- package/dist/commands/env/update.js.map +1 -1
- package/dist/commands/import/apply.js +12 -10
- package/dist/commands/import/apply.js.map +1 -1
- package/dist/commands/import/cancel.js +4 -4
- package/dist/commands/import/cancel.js.map +1 -1
- package/dist/commands/import/commit.js +11 -9
- package/dist/commands/import/commit.js.map +1 -1
- package/dist/commands/import/plan.js +82 -62
- package/dist/commands/import/plan.js.map +1 -1
- package/dist/commands/init.d.ts +2 -0
- package/dist/commands/init.js +62 -41
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/login.d.ts +38 -2
- package/dist/commands/login.js +848 -52
- package/dist/commands/login.js.map +1 -1
- package/dist/commands/logout.js +10 -4
- package/dist/commands/logout.js.map +1 -1
- package/dist/commands/pw-test.js +6 -3
- package/dist/commands/pw-test.js.map +1 -1
- package/dist/commands/rca/get.js +1 -1
- package/dist/commands/rca/get.js.map +1 -1
- package/dist/commands/rca/run.js +1 -1
- package/dist/commands/rca/run.js.map +1 -1
- package/dist/commands/skills/index.js +1 -1
- package/dist/commands/skills/index.js.map +1 -1
- package/dist/commands/skills/install.js +12 -12
- package/dist/commands/skills/install.js.map +1 -1
- package/dist/commands/switch.d.ts +10 -1
- package/dist/commands/switch.js +75 -13
- package/dist/commands/switch.js.map +1 -1
- package/dist/commands/sync-playwright.js +5 -10
- package/dist/commands/sync-playwright.js.map +1 -1
- package/dist/commands/test.d.ts +2 -0
- package/dist/commands/test.js +58 -29
- package/dist/commands/test.js.map +1 -1
- package/dist/commands/trigger.d.ts +1 -2
- package/dist/commands/trigger.js +27 -20
- package/dist/commands/trigger.js.map +1 -1
- package/dist/commands/validate.js +1 -0
- package/dist/commands/validate.js.map +1 -1
- package/dist/commands/whoami.d.ts +8 -0
- package/dist/commands/whoami.js +57 -6
- package/dist/commands/whoami.js.map +1 -1
- package/dist/constants.d.ts +3 -2
- package/dist/constants.js +8 -1
- package/dist/constants.js.map +1 -1
- package/dist/constructs/alert-channel-codegen.d.ts +6 -1
- package/dist/constructs/alert-channel-codegen.js +12 -6
- package/dist/constructs/alert-channel-codegen.js.map +1 -1
- package/dist/constructs/alert-channel-subscription.d.ts +1 -0
- package/dist/constructs/alert-channel-subscription.js +4 -0
- package/dist/constructs/alert-channel-subscription.js.map +1 -1
- package/dist/constructs/alert-channel.js +8 -5
- package/dist/constructs/alert-channel.js.map +1 -1
- package/dist/constructs/alert-escalation-policy-codegen.d.ts +7 -0
- package/dist/constructs/alert-escalation-policy-codegen.js +25 -8
- package/dist/constructs/alert-escalation-policy-codegen.js.map +1 -1
- package/dist/constructs/api-assertion.d.ts +0 -2
- package/dist/constructs/api-assertion.js +0 -4
- package/dist/constructs/api-assertion.js.map +1 -1
- package/dist/constructs/api-check-bundle.d.ts +4 -124
- package/dist/constructs/api-check-codegen.js +1 -1
- package/dist/constructs/api-check-codegen.js.map +1 -1
- package/dist/constructs/api-check.d.ts +8 -128
- package/dist/constructs/api-check.js +15 -17
- package/dist/constructs/api-check.js.map +1 -1
- package/dist/constructs/api-request-codegen.js +10 -8
- package/dist/constructs/api-request-codegen.js.map +1 -1
- package/dist/constructs/browser-check-bundle.d.ts +11 -125
- package/dist/constructs/browser-check-bundle.js +5 -1
- package/dist/constructs/browser-check-bundle.js.map +1 -1
- package/dist/constructs/browser-check.d.ts +5 -107
- package/dist/constructs/browser-check.js +1 -1
- package/dist/constructs/browser-check.js.map +1 -1
- package/dist/constructs/check-codegen.d.ts +46 -14
- package/dist/constructs/check-codegen.js +118 -34
- package/dist/constructs/check-codegen.js.map +1 -1
- package/dist/constructs/check-group-codegen.js +23 -9
- package/dist/constructs/check-group-codegen.js.map +1 -1
- package/dist/constructs/check-group-v1.d.ts +28 -16
- package/dist/constructs/check-group-v1.js +48 -17
- package/dist/constructs/check-group-v1.js.map +1 -1
- package/dist/constructs/check-group-v2.d.ts +2 -21
- package/dist/constructs/check-group-v2.js +4 -4
- package/dist/constructs/check-group-v2.js.map +1 -1
- package/dist/constructs/check.d.ts +68 -220
- package/dist/constructs/check.js +106 -37
- package/dist/constructs/check.js.map +1 -1
- package/dist/constructs/construct-codegen.d.ts +1 -2
- package/dist/constructs/construct-diagnostics.d.ts +3 -0
- package/dist/constructs/construct-diagnostics.js +11 -0
- package/dist/constructs/construct-diagnostics.js.map +1 -1
- package/dist/constructs/construct.d.ts +30 -4
- package/dist/constructs/construct.js +52 -6
- package/dist/constructs/construct.js.map +1 -1
- package/dist/constructs/dashboard.js +11 -7
- package/dist/constructs/dashboard.js.map +1 -1
- package/dist/constructs/dns-monitor.d.ts +4 -100
- package/dist/constructs/dns-request-codegen.js +1 -1
- package/dist/constructs/dns-request-codegen.js.map +1 -1
- package/dist/constructs/email-alert-channel-codegen.js +1 -1
- package/dist/constructs/email-alert-channel-codegen.js.map +1 -1
- package/dist/constructs/engine.d.ts +4 -2
- package/dist/constructs/engine.js +3 -1
- package/dist/constructs/engine.js.map +1 -1
- package/dist/constructs/frequency-codegen.js +10 -2
- package/dist/constructs/frequency-codegen.js.map +1 -1
- package/dist/constructs/frequency.d.ts +8 -3
- package/dist/constructs/frequency.js +7 -2
- package/dist/constructs/frequency.js.map +1 -1
- package/dist/constructs/grpc-monitor.d.ts +4 -100
- package/dist/constructs/grpc-monitor.js +19 -0
- package/dist/constructs/grpc-monitor.js.map +1 -1
- package/dist/constructs/grpc-request-codegen.js +13 -4
- package/dist/constructs/grpc-request-codegen.js.map +1 -1
- package/dist/constructs/grpc-request.d.ts +23 -0
- package/dist/constructs/heartbeat-monitor.d.ts +2 -1
- package/dist/constructs/heartbeat-monitor.js +2 -2
- package/dist/constructs/heartbeat-monitor.js.map +1 -1
- package/dist/constructs/icmp-monitor.d.ts +4 -100
- package/dist/constructs/icmp-request-codegen.js +1 -1
- package/dist/constructs/icmp-request-codegen.js.map +1 -1
- package/dist/constructs/incidentio-alert-channel-codegen.d.ts +1 -1
- package/dist/constructs/incidentio-alert-channel-codegen.js +14 -8
- package/dist/constructs/incidentio-alert-channel-codegen.js.map +1 -1
- package/dist/constructs/index.d.ts +1 -1
- package/dist/constructs/index.js +1 -1
- package/dist/constructs/index.js.map +1 -1
- package/dist/constructs/internal/assertion-validation.js +1 -2
- package/dist/constructs/internal/assertion-validation.js.map +1 -1
- package/dist/constructs/internal/codegen/context.d.ts +73 -6
- package/dist/constructs/internal/codegen/context.js +78 -6
- package/dist/constructs/internal/codegen/context.js.map +1 -1
- package/dist/constructs/internal/codegen/index.d.ts +3 -1
- package/dist/constructs/internal/codegen/index.js +2 -1
- package/dist/constructs/internal/codegen/index.js.map +1 -1
- package/dist/constructs/internal/codegen/render.d.ts +68 -0
- package/dist/constructs/internal/codegen/render.js +75 -0
- package/dist/constructs/internal/codegen/render.js.map +1 -0
- package/dist/constructs/internal/common-diagnostics.d.ts +1 -2
- package/dist/constructs/internal/common-diagnostics.js +7 -17
- package/dist/constructs/internal/common-diagnostics.js.map +1 -1
- package/dist/constructs/internal/declaring-file.d.ts +39 -0
- package/dist/constructs/internal/declaring-file.js +139 -0
- package/dist/constructs/internal/declaring-file.js.map +1 -0
- package/dist/constructs/internal/default-retry-strategy.d.ts +9 -0
- package/dist/constructs/internal/default-retry-strategy.js +13 -0
- package/dist/constructs/internal/default-retry-strategy.js.map +1 -0
- package/dist/constructs/internal/retry-strategy-defaults.d.ts +13 -0
- package/dist/constructs/internal/retry-strategy-defaults.js +14 -0
- package/dist/constructs/internal/retry-strategy-defaults.js.map +1 -0
- package/dist/constructs/key-value-pair-codegen.d.ts +6 -1
- package/dist/constructs/key-value-pair-codegen.js +24 -3
- package/dist/constructs/key-value-pair-codegen.js.map +1 -1
- package/dist/constructs/maintenance-window-codegen.d.ts +7 -0
- package/dist/constructs/maintenance-window-codegen.js +36 -19
- package/dist/constructs/maintenance-window-codegen.js.map +1 -1
- package/dist/constructs/maintenance-window.d.ts +37 -3
- package/dist/constructs/maintenance-window.js +34 -1
- package/dist/constructs/maintenance-window.js.map +1 -1
- package/dist/constructs/monitor.d.ts +6 -119
- package/dist/constructs/monitor.js +3 -5
- package/dist/constructs/monitor.js.map +1 -1
- package/dist/constructs/msteams-alert-channel-codegen.d.ts +1 -1
- package/dist/constructs/msteams-alert-channel-codegen.js +8 -18
- package/dist/constructs/msteams-alert-channel-codegen.js.map +1 -1
- package/dist/constructs/multi-step-check-bundle.d.ts +4 -109
- package/dist/constructs/multi-step-check.d.ts +4 -100
- package/dist/constructs/opsgenie-alert-channel-codegen.js +1 -1
- package/dist/constructs/opsgenie-alert-channel-codegen.js.map +1 -1
- package/dist/constructs/pagerduty-alert-channel-codegen.js +1 -1
- package/dist/constructs/pagerduty-alert-channel-codegen.js.map +1 -1
- package/dist/constructs/phone-call-alert-channel-codegen.js +1 -1
- package/dist/constructs/phone-call-alert-channel-codegen.js.map +1 -1
- package/dist/constructs/playwright-check-bundle.d.ts +10 -130
- package/dist/constructs/playwright-check-bundle.js +3 -3
- package/dist/constructs/playwright-check-bundle.js.map +1 -1
- package/dist/constructs/playwright-check-codegen.d.ts +85 -0
- package/dist/constructs/playwright-check-codegen.js +212 -0
- package/dist/constructs/playwright-check-codegen.js.map +1 -0
- package/dist/constructs/playwright-check.d.ts +14 -122
- package/dist/constructs/playwright-check.js +17 -51
- package/dist/constructs/playwright-check.js.map +1 -1
- package/dist/constructs/private-location-check-assignment.d.ts +1 -0
- package/dist/constructs/private-location-check-assignment.js +4 -0
- package/dist/constructs/private-location-check-assignment.js.map +1 -1
- package/dist/constructs/private-location-group-assignment.d.ts +1 -0
- package/dist/constructs/private-location-group-assignment.js +4 -0
- package/dist/constructs/private-location-group-assignment.js.map +1 -1
- package/dist/constructs/private-location.js +3 -1
- package/dist/constructs/private-location.js.map +1 -1
- package/dist/constructs/retry-strategy-codegen.d.ts +7 -1
- package/dist/constructs/retry-strategy-codegen.js +41 -32
- package/dist/constructs/retry-strategy-codegen.js.map +1 -1
- package/dist/constructs/retry-strategy.d.ts +0 -4
- package/dist/constructs/retry-strategy.js +5 -8
- package/dist/constructs/retry-strategy.js.map +1 -1
- package/dist/constructs/session.d.ts +38 -1
- package/dist/constructs/session.js +73 -3
- package/dist/constructs/session.js.map +1 -1
- package/dist/constructs/slack-alert-channel-codegen.js +1 -1
- package/dist/constructs/slack-alert-channel-codegen.js.map +1 -1
- package/dist/constructs/slack-app-alert-channel-codegen.js +1 -1
- package/dist/constructs/slack-app-alert-channel-codegen.js.map +1 -1
- package/dist/constructs/sms-alert-channel-codegen.js +1 -1
- package/dist/constructs/sms-alert-channel-codegen.js.map +1 -1
- package/dist/constructs/ssl-monitor.d.ts +4 -142
- package/dist/constructs/ssl-request-codegen.js +4 -3
- package/dist/constructs/ssl-request-codegen.js.map +1 -1
- package/dist/constructs/status-page-v3-automation-rule-codegen.js +5 -4
- package/dist/constructs/status-page-v3-automation-rule-codegen.js.map +1 -1
- package/dist/constructs/status-page-v3-codegen.js +3 -2
- package/dist/constructs/status-page-v3-codegen.js.map +1 -1
- package/dist/constructs/status-page-v3-component-codegen.js +8 -7
- package/dist/constructs/status-page-v3-component-codegen.js.map +1 -1
- package/dist/constructs/tcp-monitor-codegen.js +3 -2
- package/dist/constructs/tcp-monitor-codegen.js.map +1 -1
- package/dist/constructs/tcp-monitor.d.ts +8 -103
- package/dist/constructs/tcp-monitor.js +3 -2
- package/dist/constructs/tcp-monitor.js.map +1 -1
- package/dist/constructs/telegram-alert-channel-codegen.d.ts +1 -1
- package/dist/constructs/telegram-alert-channel-codegen.js +14 -8
- package/dist/constructs/telegram-alert-channel-codegen.js.map +1 -1
- package/dist/constructs/time-zone.d.ts +24 -0
- package/dist/constructs/time-zone.js +455 -0
- package/dist/constructs/time-zone.js.map +1 -0
- package/dist/constructs/traceroute-monitor.d.ts +4 -100
- package/dist/constructs/traceroute-request-codegen.js +2 -2
- package/dist/constructs/traceroute-request-codegen.js.map +1 -1
- package/dist/constructs/url-monitor-codegen.js +1 -1
- package/dist/constructs/url-monitor-codegen.js.map +1 -1
- package/dist/constructs/url-monitor.d.ts +7 -123
- package/dist/constructs/url-monitor.js +3 -0
- package/dist/constructs/url-monitor.js.map +1 -1
- package/dist/constructs/url-request-codegen.js +4 -3
- package/dist/constructs/url-request-codegen.js.map +1 -1
- package/dist/constructs/webhook-alert-channel-codegen.js +3 -3
- package/dist/constructs/webhook-alert-channel-codegen.js.map +1 -1
- package/dist/formatters/check-result-detail.js +0 -185
- package/dist/formatters/check-result-detail.js.map +1 -1
- package/dist/formatters/render.d.ts +2 -1
- package/dist/formatters/render.js +2 -2
- package/dist/formatters/render.js.map +1 -1
- package/dist/formatters/usage.d.ts +18 -12
- package/dist/formatters/usage.js +285 -245
- package/dist/formatters/usage.js.map +1 -1
- package/dist/help/help-extension.js +2 -1
- package/dist/help/help-extension.js.map +1 -1
- package/dist/helpers/accounts.d.ts +28 -0
- package/dist/helpers/accounts.js +50 -0
- package/dist/helpers/accounts.js.map +1 -0
- package/dist/helpers/activate-account.d.ts +13 -0
- package/dist/helpers/activate-account.js +24 -0
- package/dist/helpers/activate-account.js.map +1 -0
- package/dist/helpers/api-fields.js +3 -2
- package/dist/helpers/api-fields.js.map +1 -1
- package/dist/helpers/cli-mode.d.ts +24 -0
- package/dist/helpers/cli-mode.js +64 -8
- package/dist/helpers/cli-mode.js.map +1 -1
- package/dist/helpers/command-preview.d.ts +44 -0
- package/dist/helpers/command-preview.js +29 -9
- package/dist/helpers/command-preview.js.map +1 -1
- package/dist/helpers/command-style.d.ts +1 -0
- package/dist/helpers/command-style.js +51 -37
- package/dist/helpers/command-style.js.map +1 -1
- package/dist/helpers/flags.d.ts +10 -0
- package/dist/helpers/flags.js +18 -0
- package/dist/helpers/flags.js.map +1 -1
- package/dist/helpers/import-plan-selection.d.ts +1 -1
- package/dist/helpers/import-plan-selection.js +8 -20
- package/dist/helpers/import-plan-selection.js.map +1 -1
- package/dist/helpers/invalid-input-error.d.ts +15 -0
- package/dist/helpers/invalid-input-error.js +17 -0
- package/dist/helpers/invalid-input-error.js.map +1 -0
- package/dist/helpers/number.js +4 -3
- package/dist/helpers/number.js.map +1 -1
- package/dist/helpers/onboarding/boilerplate.js +15 -3
- package/dist/helpers/onboarding/boilerplate.js.map +1 -1
- package/dist/helpers/onboarding/index.d.ts +1 -1
- package/dist/helpers/onboarding/index.js +1 -1
- package/dist/helpers/onboarding/index.js.map +1 -1
- package/dist/helpers/onboarding/messages.d.ts +7 -0
- package/dist/helpers/onboarding/messages.js +14 -0
- package/dist/helpers/onboarding/messages.js.map +1 -1
- package/dist/helpers/onboarding/prompt-display.js +2 -2
- package/dist/helpers/onboarding/prompt-display.js.map +1 -1
- package/dist/helpers/onboarding/prompts-helpers.js +3 -1
- package/dist/helpers/onboarding/prompts-helpers.js.map +1 -1
- package/dist/helpers/onboarding/skill-install.js +4 -4
- package/dist/helpers/onboarding/skill-install.js.map +1 -1
- package/dist/helpers/prompts.d.ts +7 -0
- package/dist/helpers/prompts.js +10 -0
- package/dist/helpers/prompts.js.map +1 -0
- package/dist/helpers/result-assets.js +4 -3
- package/dist/helpers/result-assets.js.map +1 -1
- package/dist/helpers/test-helper.d.ts +14 -0
- package/dist/helpers/test-helper.js +33 -3
- package/dist/helpers/test-helper.js.map +1 -1
- package/dist/helpers/usage.d.ts +51 -14
- package/dist/helpers/usage.js +193 -53
- package/dist/helpers/usage.js.map +1 -1
- package/dist/helpers/wrap.js +1 -1
- package/dist/helpers/wrap.js.map +1 -1
- package/dist/messages/common-messages.d.ts +1 -0
- package/dist/messages/common-messages.js +4 -2
- package/dist/messages/common-messages.js.map +1 -1
- package/dist/reporters/abstract-list.d.ts +9 -2
- package/dist/reporters/abstract-list.js +105 -32
- package/dist/reporters/abstract-list.js.map +1 -1
- package/dist/reporters/ci.js +7 -4
- package/dist/reporters/ci.js.map +1 -1
- package/dist/reporters/dot.d.ts +1 -0
- package/dist/reporters/dot.js +19 -7
- package/dist/reporters/dot.js.map +1 -1
- package/dist/reporters/github.d.ts +2 -0
- package/dist/reporters/github.js +29 -4
- package/dist/reporters/github.js.map +1 -1
- package/dist/reporters/json.d.ts +2 -0
- package/dist/reporters/json.js +27 -4
- package/dist/reporters/json.js.map +1 -1
- package/dist/reporters/list.js +10 -8
- package/dist/reporters/list.js.map +1 -1
- package/dist/reporters/reporter.d.ts +1 -0
- package/dist/reporters/reporter.js.map +1 -1
- package/dist/reporters/util.d.ts +5 -2
- package/dist/reporters/util.js +25 -61
- package/dist/reporters/util.js.map +1 -1
- package/dist/rest/analytics.js +0 -4
- package/dist/rest/analytics.js.map +1 -1
- package/dist/rest/api.d.ts +10 -1
- package/dist/rest/api.js +44 -9
- package/dist/rest/api.js.map +1 -1
- package/dist/rest/check-results.d.ts +1 -50
- package/dist/rest/check-results.js.map +1 -1
- package/dist/rest/checkly-storage.d.ts +6 -1
- package/dist/rest/checkly-storage.js +13 -2
- package/dist/rest/checkly-storage.js.map +1 -1
- package/dist/rest/errors.d.ts +19 -0
- package/dist/rest/errors.js +20 -1
- package/dist/rest/errors.js.map +1 -1
- package/dist/rest/projects.d.ts +254 -4
- package/dist/rest/projects.js +208 -17
- package/dist/rest/projects.js.map +1 -1
- package/dist/rest/usage.d.ts +164 -73
- package/dist/rest/usage.js +21 -10
- package/dist/rest/usage.js.map +1 -1
- package/dist/services/abstract-check-runner.d.ts +34 -2
- package/dist/services/abstract-check-runner.js +183 -56
- package/dist/services/abstract-check-runner.js.map +1 -1
- package/dist/services/check-parser/bundler.d.ts +26 -0
- package/dist/services/check-parser/bundler.js +81 -7
- package/dist/services/check-parser/bundler.js.map +1 -1
- package/dist/services/check-parser/cache-hash.d.ts +1 -4
- package/dist/services/check-parser/cache-hash.js.map +1 -1
- package/dist/services/check-parser/package-files/json-text-source-file.d.ts +0 -2
- package/dist/services/check-parser/package-files/json-text-source-file.js +6 -6
- package/dist/services/check-parser/package-files/json-text-source-file.js.map +1 -1
- package/dist/services/check-parser/parser.d.ts +3 -2
- package/dist/services/check-parser/parser.js +31 -40
- package/dist/services/check-parser/parser.js.map +1 -1
- package/dist/services/checkly-config-codegen.js +4 -4
- package/dist/services/checkly-config-codegen.js.map +1 -1
- package/dist/services/checkly-config-loader.d.ts +18 -33
- package/dist/services/checkly-config-loader.js +50 -47
- package/dist/services/checkly-config-loader.js.map +1 -1
- package/dist/services/config.d.ts +42 -1
- package/dist/services/config.js +93 -9
- package/dist/services/config.js.map +1 -1
- package/dist/services/content-hash.d.ts +14 -0
- package/dist/services/content-hash.js +22 -0
- package/dist/services/content-hash.js.map +1 -0
- package/dist/services/deploy-diff/diff-lines.d.ts +52 -0
- package/dist/services/deploy-diff/diff-lines.js +327 -0
- package/dist/services/deploy-diff/diff-lines.js.map +1 -0
- package/dist/services/deploy-diff/double-check.d.ts +9 -0
- package/dist/services/deploy-diff/double-check.js +21 -0
- package/dist/services/deploy-diff/double-check.js.map +1 -0
- package/dist/services/deploy-diff/import-shape.d.ts +171 -0
- package/dist/services/deploy-diff/import-shape.js +633 -0
- package/dist/services/deploy-diff/import-shape.js.map +1 -0
- package/dist/services/deploy-diff/legacy-payload.d.ts +22 -0
- package/dist/services/deploy-diff/legacy-payload.js +51 -0
- package/dist/services/deploy-diff/legacy-payload.js.map +1 -0
- package/dist/services/deploy-diff/plan-summary.d.ts +81 -0
- package/dist/services/deploy-diff/plan-summary.js +262 -0
- package/dist/services/deploy-diff/plan-summary.js.map +1 -0
- package/dist/services/deploy-diff/preview-output.d.ts +63 -0
- package/dist/services/deploy-diff/preview-output.js +403 -0
- package/dist/services/deploy-diff/preview-output.js.map +1 -0
- package/dist/services/deploy-diff/render.d.ts +59 -0
- package/dist/services/deploy-diff/render.js +326 -0
- package/dist/services/deploy-diff/render.js.map +1 -0
- package/dist/services/deploy-diff/shape-changes.d.ts +2 -0
- package/dist/services/deploy-diff/shape-changes.js +48 -0
- package/dist/services/deploy-diff/shape-changes.js.map +1 -0
- package/dist/services/deploy-diff/source-index.d.ts +18 -0
- package/dist/services/deploy-diff/source-index.js +48 -0
- package/dist/services/deploy-diff/source-index.js.map +1 -0
- package/dist/services/deploy-diff/variable-names.d.ts +30 -0
- package/dist/services/deploy-diff/variable-names.js +64 -0
- package/dist/services/deploy-diff/variable-names.js.map +1 -0
- package/dist/services/engine-resolver.js +3 -0
- package/dist/services/engine-resolver.js.map +1 -1
- package/dist/services/engine-rules-loader.d.ts +6 -0
- package/dist/services/engine-rules-loader.js +12 -3
- package/dist/services/engine-rules-loader.js.map +1 -1
- package/dist/services/oxc-parser.d.ts +26 -0
- package/dist/services/oxc-parser.js +70 -0
- package/dist/services/oxc-parser.js.map +1 -0
- package/dist/services/project-cli.d.ts +75 -0
- package/dist/services/project-cli.js +302 -0
- package/dist/services/project-cli.js.map +1 -0
- package/dist/services/project-parser.d.ts +5 -0
- package/dist/services/project-parser.js +25 -13
- package/dist/services/project-parser.js.map +1 -1
- package/dist/services/skills.js +3 -3
- package/dist/services/skills.js.map +1 -1
- package/dist/services/snapshot-service.d.ts +25 -8
- package/dist/services/snapshot-service.js +46 -4
- package/dist/services/snapshot-service.js.map +1 -1
- package/dist/services/socket-client.js +1 -1
- package/dist/services/socket-client.js.map +1 -1
- package/dist/services/test-filters.d.ts +18 -0
- package/dist/services/test-filters.js +10 -0
- package/dist/services/test-filters.js.map +1 -1
- package/dist/services/test-runner.d.ts +1 -1
- package/dist/services/test-runner.js +10 -11
- package/dist/services/test-runner.js.map +1 -1
- package/dist/services/test-session-cancel.d.ts +5 -0
- package/dist/services/test-session-cancel.js +28 -3
- package/dist/services/test-session-cancel.js.map +1 -1
- package/dist/services/trigger-runner.d.ts +1 -1
- package/dist/services/trigger-runner.js +2 -2
- package/dist/services/trigger-runner.js.map +1 -1
- package/dist/services/two-installs.d.ts +39 -0
- package/dist/services/two-installs.js +155 -0
- package/dist/services/two-installs.js.map +1 -0
- package/dist/services/util.d.ts +17 -2
- package/dist/services/util.js +118 -11
- package/dist/services/util.js.map +1 -1
- package/dist/services/write-back/apply-edits.d.ts +29 -0
- package/dist/services/write-back/apply-edits.js +255 -0
- package/dist/services/write-back/apply-edits.js.map +1 -0
- package/dist/services/write-back/helper-edit.d.ts +135 -0
- package/dist/services/write-back/helper-edit.js +343 -0
- package/dist/services/write-back/helper-edit.js.map +1 -0
- package/dist/services/write-back/imports.d.ts +30 -0
- package/dist/services/write-back/imports.js +88 -0
- package/dist/services/write-back/imports.js.map +1 -0
- package/dist/services/write-back/literal-edit.d.ts +183 -0
- package/dist/services/write-back/literal-edit.js +359 -0
- package/dist/services/write-back/literal-edit.js.map +1 -0
- package/dist/services/write-back/output.d.ts +26 -0
- package/dist/services/write-back/output.js +110 -0
- package/dist/services/write-back/output.js.map +1 -0
- package/dist/services/write-back/plan.d.ts +180 -0
- package/dist/services/write-back/plan.js +1046 -0
- package/dist/services/write-back/plan.js.map +1 -0
- package/dist/services/write-back/source-file.d.ts +133 -0
- package/dist/services/write-back/source-file.js +460 -0
- package/dist/services/write-back/source-file.js.map +1 -0
- package/dist/sourcegen/index.d.ts +1 -1
- package/dist/sourcegen/index.js +1 -1
- package/dist/sourcegen/index.js.map +1 -1
- package/dist/sourcegen/program.d.ts +19 -1
- package/dist/sourcegen/program.js +32 -7
- package/dist/sourcegen/program.js.map +1 -1
- package/dist/testing/clear-git-env.d.ts +1 -0
- package/dist/testing/clear-git-env.js +25 -0
- package/dist/testing/clear-git-env.js.map +1 -0
- package/dist/testing/global-setup.d.ts +1 -0
- package/dist/testing/global-setup.js +3 -0
- package/dist/testing/global-setup.js.map +1 -1
- package/oclif.manifest.json +1113 -884
- package/package.json +21 -19
- package/dist/commands/rules.d.ts +0 -9
- package/dist/commands/rules.js +0 -13
- package/dist/commands/rules.js.map +0 -1
- package/dist/constructs/agentic-check-codegen.d.ts +0 -22
- package/dist/constructs/agentic-check-codegen.js +0 -59
- package/dist/constructs/agentic-check-codegen.js.map +0 -1
- package/dist/constructs/agentic-check.d.ts +0 -237
- package/dist/constructs/agentic-check.js +0 -100
- package/dist/constructs/agentic-check.js.map +0 -1
- package/dist/services/check-parser/package-files/json-text-source-file-parser.d.ts +0 -7
- package/dist/services/check-parser/package-files/json-text-source-file-parser.js +0 -47
- package/dist/services/check-parser/package-files/json-text-source-file-parser.js.map +0 -1
- package/dist/services/check-parser/package-files/source-file-parser.d.ts +0 -10
- package/dist/services/check-parser/package-files/source-file-parser.js +0 -13
- package/dist/services/check-parser/package-files/source-file-parser.js.map +0 -1
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { Bundle } from './construct.js';
|
|
2
|
-
import { BundlePathMarker, CacheHashMarker } from '../services/check-parser/bundler.js';
|
|
2
|
+
import { BundlePathMarker, CacheHashMarker, CodeBundleChecksumMarker } from '../services/check-parser/bundler.js';
|
|
3
3
|
import { PlaywrightCheck } from './playwright-check.js';
|
|
4
|
-
import { Ref } from './ref.js';
|
|
5
4
|
export interface PlaywrightCheckBundleProps {
|
|
6
|
-
groupId?: Ref;
|
|
7
5
|
codeBundlePath: BundlePathMarker;
|
|
6
|
+
codeBundleSha256?: CodeBundleChecksumMarker;
|
|
8
7
|
browsers?: string[];
|
|
9
8
|
cacheHash?: CacheHashMarker;
|
|
10
9
|
playwrightVersion?: string;
|
|
@@ -14,8 +13,8 @@ export interface PlaywrightCheckBundleProps {
|
|
|
14
13
|
}
|
|
15
14
|
export declare class PlaywrightCheckBundle implements Bundle {
|
|
16
15
|
playwrightCheck: PlaywrightCheck;
|
|
17
|
-
groupId?: Ref;
|
|
18
16
|
codeBundlePath: BundlePathMarker;
|
|
17
|
+
codeBundleSha256?: CodeBundleChecksumMarker;
|
|
19
18
|
browsers?: string[];
|
|
20
19
|
cacheHash?: CacheHashMarker;
|
|
21
20
|
playwrightVersion?: string;
|
|
@@ -24,8 +23,8 @@ export declare class PlaywrightCheckBundle implements Bundle {
|
|
|
24
23
|
workingDir?: string;
|
|
25
24
|
constructor(playwrightCheck: PlaywrightCheck, props: PlaywrightCheckBundleProps);
|
|
26
25
|
synthesize(): {
|
|
27
|
-
groupId: Ref | undefined;
|
|
28
26
|
codeBundlePath: BundlePathMarker;
|
|
27
|
+
codeBundleSha256: CodeBundleChecksumMarker | undefined;
|
|
29
28
|
browsers: string[] | undefined;
|
|
30
29
|
cacheHash: CacheHashMarker | undefined;
|
|
31
30
|
playwrightVersion: string | undefined;
|
|
@@ -35,105 +34,10 @@ export declare class PlaywrightCheckBundle implements Bundle {
|
|
|
35
34
|
engine?: string | undefined;
|
|
36
35
|
engineVersion?: string | undefined;
|
|
37
36
|
checkType: string;
|
|
38
|
-
doubleCheck: boolean;
|
|
39
37
|
runtimeId: string | undefined;
|
|
40
38
|
environmentVariables: import("./key-value-pair.js").default[] | undefined;
|
|
41
|
-
activated: boolean | undefined;
|
|
42
|
-
muted: boolean | undefined;
|
|
43
|
-
shouldFail: boolean | undefined;
|
|
44
|
-
locations: (keyof import("../index.js").Region)[] | undefined;
|
|
45
|
-
privateLocations: undefined;
|
|
46
|
-
tags: string[] | undefined;
|
|
47
|
-
frequency: number | undefined;
|
|
48
|
-
frequencyOffset: number | undefined;
|
|
49
|
-
retryStrategy: import("./retry-strategy.js").LinearRetryStrategy | import("./retry-strategy.js").ExponentialRetryStrategy | import("./retry-strategy.js").FixedRetryStrategy | import("./retry-strategy.js").SingleRetryRetryStrategy | null | undefined;
|
|
50
|
-
alertSettings: import("./alert-escalation-policy.js").AlertEscalation | undefined;
|
|
51
|
-
useGlobalAlertSettings: boolean | undefined;
|
|
52
|
-
runParallel: boolean | undefined;
|
|
53
|
-
triggerIncident: {
|
|
54
|
-
serviceId: Ref;
|
|
55
|
-
severity: "MINOR" | "MEDIUM" | "MAJOR" | "CRITICAL";
|
|
56
|
-
name: string;
|
|
57
|
-
description: string;
|
|
58
|
-
notifySubscribers: boolean;
|
|
59
|
-
} | undefined;
|
|
60
|
-
aiAutoRepairEnabled?: undefined;
|
|
61
|
-
intent?: undefined;
|
|
62
|
-
description?: string | undefined;
|
|
63
39
|
name: string;
|
|
64
|
-
|
|
65
|
-
groupId: Ref | undefined;
|
|
66
|
-
codeBundlePath: BundlePathMarker;
|
|
67
|
-
browsers: string[] | undefined;
|
|
68
|
-
cacheHash: CacheHashMarker | undefined;
|
|
69
|
-
playwrightVersion: string | undefined;
|
|
70
|
-
installCommand: string | undefined;
|
|
71
|
-
testCommand: string;
|
|
72
|
-
workingDir: string | undefined;
|
|
73
|
-
engine?: string | undefined;
|
|
74
|
-
engineVersion?: string | undefined;
|
|
75
|
-
checkType: string;
|
|
76
|
-
doubleCheck: boolean;
|
|
77
|
-
runtimeId: string | undefined;
|
|
78
|
-
environmentVariables: import("./key-value-pair.js").default[] | undefined;
|
|
79
|
-
activated: boolean | undefined;
|
|
80
|
-
muted: boolean | undefined;
|
|
81
|
-
shouldFail: boolean | undefined;
|
|
82
|
-
locations: (keyof import("../index.js").Region)[] | undefined;
|
|
83
|
-
privateLocations: undefined;
|
|
84
|
-
tags: string[] | undefined;
|
|
85
|
-
frequency: number | undefined;
|
|
86
|
-
frequencyOffset: number | undefined;
|
|
87
|
-
retryStrategy: import("./retry-strategy.js").LinearRetryStrategy | import("./retry-strategy.js").ExponentialRetryStrategy | import("./retry-strategy.js").FixedRetryStrategy | import("./retry-strategy.js").SingleRetryRetryStrategy | null | undefined;
|
|
88
|
-
alertSettings: import("./alert-escalation-policy.js").AlertEscalation | undefined;
|
|
89
|
-
useGlobalAlertSettings: boolean | undefined;
|
|
90
|
-
runParallel: boolean | undefined;
|
|
91
|
-
triggerIncident: {
|
|
92
|
-
serviceId: Ref;
|
|
93
|
-
severity: "MINOR" | "MEDIUM" | "MAJOR" | "CRITICAL";
|
|
94
|
-
name: string;
|
|
95
|
-
description: string;
|
|
96
|
-
notifySubscribers: boolean;
|
|
97
|
-
} | undefined;
|
|
98
|
-
aiAutoRepairEnabled: boolean | null;
|
|
99
|
-
intent?: undefined;
|
|
100
|
-
description?: string | undefined;
|
|
101
|
-
name: string;
|
|
102
|
-
} | {
|
|
103
|
-
groupId: Ref | undefined;
|
|
104
|
-
codeBundlePath: BundlePathMarker;
|
|
105
|
-
browsers: string[] | undefined;
|
|
106
|
-
cacheHash: CacheHashMarker | undefined;
|
|
107
|
-
playwrightVersion: string | undefined;
|
|
108
|
-
installCommand: string | undefined;
|
|
109
|
-
testCommand: string;
|
|
110
|
-
workingDir: string | undefined;
|
|
111
|
-
engine?: string | undefined;
|
|
112
|
-
engineVersion?: string | undefined;
|
|
113
|
-
checkType: string;
|
|
114
|
-
doubleCheck: boolean;
|
|
115
|
-
runtimeId: string | undefined;
|
|
116
|
-
environmentVariables: import("./key-value-pair.js").default[] | undefined;
|
|
117
|
-
activated: boolean | undefined;
|
|
118
|
-
muted: boolean | undefined;
|
|
119
|
-
shouldFail: boolean | undefined;
|
|
120
|
-
locations: (keyof import("../index.js").Region)[] | undefined;
|
|
121
|
-
privateLocations: undefined;
|
|
122
|
-
tags: string[] | undefined;
|
|
123
|
-
frequency: number | undefined;
|
|
124
|
-
frequencyOffset: number | undefined;
|
|
125
|
-
retryStrategy: import("./retry-strategy.js").LinearRetryStrategy | import("./retry-strategy.js").ExponentialRetryStrategy | import("./retry-strategy.js").FixedRetryStrategy | import("./retry-strategy.js").SingleRetryRetryStrategy | null | undefined;
|
|
126
|
-
alertSettings: import("./alert-escalation-policy.js").AlertEscalation | undefined;
|
|
127
|
-
useGlobalAlertSettings: boolean | undefined;
|
|
128
|
-
runParallel: boolean | undefined;
|
|
129
|
-
triggerIncident: {
|
|
130
|
-
serviceId: Ref;
|
|
131
|
-
severity: "MINOR" | "MEDIUM" | "MAJOR" | "CRITICAL";
|
|
132
|
-
name: string;
|
|
133
|
-
description: string;
|
|
134
|
-
notifySubscribers: boolean;
|
|
135
|
-
} | undefined;
|
|
136
|
-
aiAutoRepairEnabled?: undefined;
|
|
40
|
+
description: string | null;
|
|
137
41
|
intent: {
|
|
138
42
|
goal: string;
|
|
139
43
|
constraints: {
|
|
@@ -141,23 +45,7 @@ export declare class PlaywrightCheckBundle implements Bundle {
|
|
|
141
45
|
statement: string;
|
|
142
46
|
}[];
|
|
143
47
|
} | null;
|
|
144
|
-
|
|
145
|
-
name: string;
|
|
146
|
-
} | {
|
|
147
|
-
groupId: Ref | undefined;
|
|
148
|
-
codeBundlePath: BundlePathMarker;
|
|
149
|
-
browsers: string[] | undefined;
|
|
150
|
-
cacheHash: CacheHashMarker | undefined;
|
|
151
|
-
playwrightVersion: string | undefined;
|
|
152
|
-
installCommand: string | undefined;
|
|
153
|
-
testCommand: string;
|
|
154
|
-
workingDir: string | undefined;
|
|
155
|
-
engine?: string | undefined;
|
|
156
|
-
engineVersion?: string | undefined;
|
|
157
|
-
checkType: string;
|
|
158
|
-
doubleCheck: boolean;
|
|
159
|
-
runtimeId: string | undefined;
|
|
160
|
-
environmentVariables: import("./key-value-pair.js").default[] | undefined;
|
|
48
|
+
aiAutoRepairEnabled: boolean | null;
|
|
161
49
|
activated: boolean | undefined;
|
|
162
50
|
muted: boolean | undefined;
|
|
163
51
|
shouldFail: boolean | undefined;
|
|
@@ -166,26 +54,18 @@ export declare class PlaywrightCheckBundle implements Bundle {
|
|
|
166
54
|
tags: string[] | undefined;
|
|
167
55
|
frequency: number | undefined;
|
|
168
56
|
frequencyOffset: number | undefined;
|
|
169
|
-
|
|
57
|
+
groupId: import("./ref.js").Ref | null;
|
|
58
|
+
retryStrategy: import("./retry-strategy.js").LinearRetryStrategy | import("./retry-strategy.js").ExponentialRetryStrategy | import("./retry-strategy.js").FixedRetryStrategy | import("./retry-strategy.js").SingleRetryRetryStrategy | null;
|
|
59
|
+
doubleCheck: boolean;
|
|
170
60
|
alertSettings: import("./alert-escalation-policy.js").AlertEscalation | undefined;
|
|
171
61
|
useGlobalAlertSettings: boolean | undefined;
|
|
172
62
|
runParallel: boolean | undefined;
|
|
173
63
|
triggerIncident: {
|
|
174
|
-
serviceId: Ref;
|
|
64
|
+
serviceId: import("./ref.js").Ref;
|
|
175
65
|
severity: "MINOR" | "MEDIUM" | "MAJOR" | "CRITICAL";
|
|
176
66
|
name: string;
|
|
177
67
|
description: string;
|
|
178
68
|
notifySubscribers: boolean;
|
|
179
69
|
} | undefined;
|
|
180
|
-
aiAutoRepairEnabled: boolean | null;
|
|
181
|
-
intent: {
|
|
182
|
-
goal: string;
|
|
183
|
-
constraints: {
|
|
184
|
-
type: import("./check.js").CheckIntentConstraintType;
|
|
185
|
-
statement: string;
|
|
186
|
-
}[];
|
|
187
|
-
} | null;
|
|
188
|
-
description?: string | undefined;
|
|
189
|
-
name: string;
|
|
190
70
|
};
|
|
191
71
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export class PlaywrightCheckBundle {
|
|
2
2
|
playwrightCheck;
|
|
3
|
-
groupId;
|
|
4
3
|
codeBundlePath;
|
|
4
|
+
codeBundleSha256;
|
|
5
5
|
browsers;
|
|
6
6
|
cacheHash;
|
|
7
7
|
playwrightVersion;
|
|
@@ -10,8 +10,8 @@ export class PlaywrightCheckBundle {
|
|
|
10
10
|
workingDir;
|
|
11
11
|
constructor(playwrightCheck, props) {
|
|
12
12
|
this.playwrightCheck = playwrightCheck;
|
|
13
|
-
this.groupId = props.groupId;
|
|
14
13
|
this.codeBundlePath = props.codeBundlePath;
|
|
14
|
+
this.codeBundleSha256 = props.codeBundleSha256;
|
|
15
15
|
this.browsers = props.browsers;
|
|
16
16
|
this.cacheHash = props.cacheHash;
|
|
17
17
|
this.playwrightVersion = props.playwrightVersion;
|
|
@@ -22,8 +22,8 @@ export class PlaywrightCheckBundle {
|
|
|
22
22
|
synthesize() {
|
|
23
23
|
return {
|
|
24
24
|
...this.playwrightCheck.synthesize(),
|
|
25
|
-
groupId: this.groupId,
|
|
26
25
|
codeBundlePath: this.codeBundlePath,
|
|
26
|
+
codeBundleSha256: this.codeBundleSha256,
|
|
27
27
|
browsers: this.browsers,
|
|
28
28
|
cacheHash: this.cacheHash,
|
|
29
29
|
playwrightVersion: this.playwrightVersion,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playwright-check-bundle.js","sourceRoot":"","sources":["../../src/constructs/playwright-check-bundle.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"playwright-check-bundle.js","sourceRoot":"","sources":["../../src/constructs/playwright-check-bundle.ts"],"names":[],"mappings":"AAeA,MAAM,OAAO,qBAAqB;IAChC,eAAe,CAAiB;IAChC,cAAc,CAAkB;IAChC,gBAAgB,CAA2B;IAC3C,QAAQ,CAAW;IACnB,SAAS,CAAkB;IAC3B,iBAAiB,CAAS;IAC1B,cAAc,CAAS;IACvB,WAAW,CAAQ;IACnB,UAAU,CAAS;IAEnB,YAAa,eAAgC,EAAE,KAAiC;QAC9E,IAAI,CAAC,eAAe,GAAG,eAAe,CAAA;QACtC,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC,cAAc,CAAA;QAC1C,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC,gBAAgB,CAAA;QAC9C,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAA;QAC9B,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,CAAA;QAChC,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC,iBAAiB,CAAA;QAChD,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC,cAAc,CAAA;QAC1C,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC,WAAW,CAAA;QACpC,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC,UAAU,CAAA;IACpC,CAAC;IAED,UAAU;QACR,OAAO;YACL,GAAG,IAAI,CAAC,eAAe,CAAC,UAAU,EAAE;YACpC,cAAc,EAAE,IAAI,CAAC,cAAc;YACnC,gBAAgB,EAAE,IAAI,CAAC,gBAAgB;YACvC,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,iBAAiB,EAAE,IAAI,CAAC,iBAAiB;YACzC,cAAc,EAAE,IAAI,CAAC,cAAc;YACnC,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B,UAAU,EAAE,IAAI,CAAC,UAAU;SAC5B,CAAA;IACH,CAAC;CACF"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { Codegen, Context } from './internal/codegen/index.js';
|
|
2
|
+
import { RuntimeCheckResource } from './check-codegen.js';
|
|
3
|
+
/**
|
|
4
|
+
* The check props `PlaywrightCheckProps` leaves out that the codegen could
|
|
5
|
+
* otherwise spell; `doubleCheck` it never spells for any class.
|
|
6
|
+
*/
|
|
7
|
+
export declare const PLAYWRIGHT_CHECK_OMITTED_PROPS: readonly ["retryStrategy"];
|
|
8
|
+
/**
|
|
9
|
+
* Generates a `PlaywrightCheck` construct from a Playwright check suite's
|
|
10
|
+
* API representation.
|
|
11
|
+
*
|
|
12
|
+
* The deploy preview is this codegen's consumer: it renders the deployed and
|
|
13
|
+
* the local version of an updated suite as constructs and prints the
|
|
14
|
+
* difference. `checkly import` never writes a suite: the API leaves them out
|
|
15
|
+
* of import plans, because a suite is defined by its uploaded code bundle,
|
|
16
|
+
* which an import plan cannot hand back as source, and the import command
|
|
17
|
+
* refuses one on its own too (`PREVIEW_ONLY_CHECK_TYPES` in
|
|
18
|
+
* `check-codegen.ts`). The code generated here is displayed, not written to
|
|
19
|
+
* a project.
|
|
20
|
+
*
|
|
21
|
+
* What the API holds differs from what the construct takes. The construct's
|
|
22
|
+
* `playwrightConfigPath`, `pwProjects` and `pwTags` are not stored: the CLI
|
|
23
|
+
* folds them into `testCommand` on deploy (`PlaywrightCheck.buildTestCommand`
|
|
24
|
+
* appends `--config <path>`, `--project <name>…` and `--grep <tag>|<tag>` to
|
|
25
|
+
* the user's command, or to the package manager's `playwright test`). This
|
|
26
|
+
* codegen unfolds that command again, so the construct reads as the user
|
|
27
|
+
* wrote it, and prints `testCommand` only when the user's part differs from
|
|
28
|
+
* the package manager's default (the project's current one: a suite deployed
|
|
29
|
+
* under another package manager shows its old default as a `testCommand`
|
|
30
|
+
* the new deploy removes). A command that is not in the CLI's own
|
|
31
|
+
* format is printed whole and `playwrightConfigPath` is left out: the
|
|
32
|
+
* construct requires the prop, but a made-up path would show a change that
|
|
33
|
+
* did not happen. Such a construct would not type-check; the preview only
|
|
34
|
+
* displays it.
|
|
35
|
+
*
|
|
36
|
+
* Deliberately not printed: the code bundle (`codeBundlePath`,
|
|
37
|
+
* `codeBundleSha256`), the dependency cache hash, the Playwright version, the
|
|
38
|
+
* browsers and the working directory. They describe the bundled project
|
|
39
|
+
* rather than the construct's props; the API reports the bundle, the version
|
|
40
|
+
* and the cache as changes with a cause, which the preview prints as notes
|
|
41
|
+
* beside the construct. A `browsers` or `workingDir` change has no cause and
|
|
42
|
+
* is not listed beside a construct diff; both derive from the bundled
|
|
43
|
+
* Playwright project, whose change the code bundle note announces.
|
|
44
|
+
*
|
|
45
|
+
* A suite has no retry strategy and no double check (Playwright retries
|
|
46
|
+
* tests itself), and no automatic check repair, so none of those is printed
|
|
47
|
+
* whatever the API sends.
|
|
48
|
+
*/
|
|
49
|
+
export interface PlaywrightCheckResource extends RuntimeCheckResource {
|
|
50
|
+
checkType: 'PLAYWRIGHT';
|
|
51
|
+
/** The full command the runner executes; see {@link unfoldTestCommand}. */
|
|
52
|
+
testCommand?: string | null;
|
|
53
|
+
installCommand?: string | null;
|
|
54
|
+
/** The JavaScript engine's name (`node`, `bun`) and version. */
|
|
55
|
+
engine?: string | null;
|
|
56
|
+
engineVersion?: string | null;
|
|
57
|
+
}
|
|
58
|
+
/** A test command split into the construct props it was built from. */
|
|
59
|
+
export interface UnfoldedTestCommand {
|
|
60
|
+
/**
|
|
61
|
+
* The command without the flags the CLI appends; the whole command when it
|
|
62
|
+
* could not be unfolded.
|
|
63
|
+
*/
|
|
64
|
+
command: string;
|
|
65
|
+
playwrightConfigPath?: string;
|
|
66
|
+
pwProjects?: string[];
|
|
67
|
+
pwTags?: string[];
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Splits a stored test command back into the user's command and the
|
|
71
|
+
* construct props the CLI folded into it. A bare `--config` word marks where
|
|
72
|
+
* the CLI's part may start; the earliest one whose tail reads as the CLI's
|
|
73
|
+
* format wins, so a user's own command keeps whatever it had before it
|
|
74
|
+
* (spacing and quoting included) and a quoted value that merely spells a
|
|
75
|
+
* flag is never mistaken for the boundary. A command with no such boundary
|
|
76
|
+
* was not built by the CLI and is returned whole.
|
|
77
|
+
*
|
|
78
|
+
* The `--grep` pattern joins the tags with `|`, so a single tag that itself
|
|
79
|
+
* contains `|` cannot be told from two tags and comes back as two.
|
|
80
|
+
*/
|
|
81
|
+
export declare function unfoldTestCommand(testCommand: string): UnfoldedTestCommand;
|
|
82
|
+
export declare class PlaywrightCheckCodegen extends Codegen<PlaywrightCheckResource> {
|
|
83
|
+
describe(resource: PlaywrightCheckResource): string;
|
|
84
|
+
gencode(logicalId: string, resource: PlaywrightCheckResource, context: Context): void;
|
|
85
|
+
}
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
import { Codegen } from './internal/codegen/index.js';
|
|
2
|
+
import { expr, ident, unknown } from '../sourcegen/index.js';
|
|
3
|
+
import { buildRuntimeCheckProps } from './check-codegen.js';
|
|
4
|
+
import { PlaywrightCheck } from './playwright-check.js';
|
|
5
|
+
/**
|
|
6
|
+
* The check props `PlaywrightCheckProps` leaves out that the codegen could
|
|
7
|
+
* otherwise spell; `doubleCheck` it never spells for any class.
|
|
8
|
+
*/
|
|
9
|
+
export const PLAYWRIGHT_CHECK_OMITTED_PROPS = ['retryStrategy'];
|
|
10
|
+
/** The characters a backslash escapes inside double quotes in a POSIX shell. */
|
|
11
|
+
const DOUBLE_QUOTE_ESCAPABLE = new Set(['$', '`', '"', '\\']);
|
|
12
|
+
/**
|
|
13
|
+
* Splits a command into words the way a POSIX shell would: whitespace
|
|
14
|
+
* separates, single quotes take everything literally, double quotes let a
|
|
15
|
+
* backslash escape the few characters the shell would expand, a backslash
|
|
16
|
+
* outside quotes escapes the next character, and a backslash before a
|
|
17
|
+
* newline continues the line. This covers what
|
|
18
|
+
* `shellQuote` produces (bare words and single-quoted words with `'"'"'` for
|
|
19
|
+
* an embedded quote) and the usual hand-written forms. An unterminated quote
|
|
20
|
+
* makes the command unreadable.
|
|
21
|
+
*/
|
|
22
|
+
function shellWords(command) {
|
|
23
|
+
const words = [];
|
|
24
|
+
let current;
|
|
25
|
+
let quote;
|
|
26
|
+
for (let index = 0; index < command.length; index++) {
|
|
27
|
+
const char = command[index];
|
|
28
|
+
if (quote === undefined) {
|
|
29
|
+
if (char === ' ' || char === '\t' || char === '\n') {
|
|
30
|
+
if (current !== undefined) {
|
|
31
|
+
words.push(current);
|
|
32
|
+
current = undefined;
|
|
33
|
+
}
|
|
34
|
+
continue;
|
|
35
|
+
}
|
|
36
|
+
if (char === '\\' && command[index + 1] === '\n') {
|
|
37
|
+
index++;
|
|
38
|
+
continue;
|
|
39
|
+
}
|
|
40
|
+
current ??= { text: '', start: index, quoted: false };
|
|
41
|
+
if (char === '\'' || char === '"') {
|
|
42
|
+
quote = char;
|
|
43
|
+
current.quoted = true;
|
|
44
|
+
}
|
|
45
|
+
else if (char === '\\' && index + 1 < command.length) {
|
|
46
|
+
current.text += command[++index];
|
|
47
|
+
current.quoted = true;
|
|
48
|
+
}
|
|
49
|
+
else {
|
|
50
|
+
current.text += char;
|
|
51
|
+
}
|
|
52
|
+
continue;
|
|
53
|
+
}
|
|
54
|
+
if (char === quote) {
|
|
55
|
+
quote = undefined;
|
|
56
|
+
}
|
|
57
|
+
else if (quote === '"' && char === '\\' && command[index + 1] === '\n') {
|
|
58
|
+
index++;
|
|
59
|
+
}
|
|
60
|
+
else if (quote === '"' && char === '\\' && DOUBLE_QUOTE_ESCAPABLE.has(command[index + 1] ?? '')) {
|
|
61
|
+
current.text += command[++index];
|
|
62
|
+
}
|
|
63
|
+
else {
|
|
64
|
+
current.text += char;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
if (quote !== undefined) {
|
|
68
|
+
return undefined;
|
|
69
|
+
}
|
|
70
|
+
if (current !== undefined) {
|
|
71
|
+
words.push(current);
|
|
72
|
+
}
|
|
73
|
+
return words;
|
|
74
|
+
}
|
|
75
|
+
const isFlag = (word) => !word.quoted && word.text.startsWith('--');
|
|
76
|
+
/**
|
|
77
|
+
* Reads the part the CLI appended, starting at the word after `--config`:
|
|
78
|
+
* the config path, then `--project <name>…` and `--grep <tag>|<tag>`, each at
|
|
79
|
+
* most once. A value never looks like a flag: `shellQuote` leaves a bare
|
|
80
|
+
* `--foo` project name as it is, and reading such a tail could put the
|
|
81
|
+
* user's own trailing flag together with the CLI's config path, so the
|
|
82
|
+
* command is left whole instead. Anything else means the CLI did not build
|
|
83
|
+
* this tail.
|
|
84
|
+
*/
|
|
85
|
+
function readAppendedFlags(words) {
|
|
86
|
+
const [config, ...rest] = words;
|
|
87
|
+
if (config === undefined) {
|
|
88
|
+
return undefined;
|
|
89
|
+
}
|
|
90
|
+
let pwProjects;
|
|
91
|
+
let pwTags;
|
|
92
|
+
for (let index = 0; index < rest.length;) {
|
|
93
|
+
const flag = rest[index++].text;
|
|
94
|
+
const values = [];
|
|
95
|
+
while (index < rest.length && !isFlag(rest[index])) {
|
|
96
|
+
values.push(rest[index++].text);
|
|
97
|
+
}
|
|
98
|
+
if (flag === '--project' && pwProjects === undefined && values.length > 0) {
|
|
99
|
+
pwProjects = values;
|
|
100
|
+
}
|
|
101
|
+
else if (flag === '--grep' && pwTags === undefined && values.length === 1) {
|
|
102
|
+
pwTags = values[0].split('|');
|
|
103
|
+
}
|
|
104
|
+
else {
|
|
105
|
+
return undefined;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
return { playwrightConfigPath: config.text, pwProjects, pwTags };
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Splits a stored test command back into the user's command and the
|
|
112
|
+
* construct props the CLI folded into it. A bare `--config` word marks where
|
|
113
|
+
* the CLI's part may start; the earliest one whose tail reads as the CLI's
|
|
114
|
+
* format wins, so a user's own command keeps whatever it had before it
|
|
115
|
+
* (spacing and quoting included) and a quoted value that merely spells a
|
|
116
|
+
* flag is never mistaken for the boundary. A command with no such boundary
|
|
117
|
+
* was not built by the CLI and is returned whole.
|
|
118
|
+
*
|
|
119
|
+
* The `--grep` pattern joins the tags with `|`, so a single tag that itself
|
|
120
|
+
* contains `|` cannot be told from two tags and comes back as two.
|
|
121
|
+
*/
|
|
122
|
+
export function unfoldTestCommand(testCommand) {
|
|
123
|
+
const words = shellWords(testCommand) ?? [];
|
|
124
|
+
for (let index = 1; index < words.length; index++) {
|
|
125
|
+
if (!isFlag(words[index]) || words[index].text !== '--config') {
|
|
126
|
+
continue;
|
|
127
|
+
}
|
|
128
|
+
const appended = readAppendedFlags(words.slice(index + 1));
|
|
129
|
+
if (appended !== undefined) {
|
|
130
|
+
// Whitespace and a line continuation before the boundary belong to
|
|
131
|
+
// neither side.
|
|
132
|
+
const command = testCommand.slice(0, words[index].start).replace(/(\s|\\\n)+$/, '');
|
|
133
|
+
return { command, ...appended };
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
return { command: testCommand };
|
|
137
|
+
}
|
|
138
|
+
const construct = 'PlaywrightCheck';
|
|
139
|
+
export class PlaywrightCheckCodegen extends Codegen {
|
|
140
|
+
describe(resource) {
|
|
141
|
+
return `Playwright Check Suite: ${resource.name}`;
|
|
142
|
+
}
|
|
143
|
+
gencode(logicalId, resource, context) {
|
|
144
|
+
const filePath = context.filePath('resources/playwright-check-suites', resource.name, {
|
|
145
|
+
tags: resource.tags,
|
|
146
|
+
isolate: true,
|
|
147
|
+
unique: true,
|
|
148
|
+
});
|
|
149
|
+
const file = this.program.generatedConstructFile(filePath.fullPath);
|
|
150
|
+
file.namedImport(construct, 'checkly/constructs');
|
|
151
|
+
file.section(expr(ident(construct), builder => {
|
|
152
|
+
builder.new(builder => {
|
|
153
|
+
builder.string(logicalId);
|
|
154
|
+
builder.object(builder => {
|
|
155
|
+
const { command, playwrightConfigPath, pwProjects, pwTags } = resource.testCommand != null ? unfoldTestCommand(resource.testCommand) : {};
|
|
156
|
+
if (playwrightConfigPath !== undefined) {
|
|
157
|
+
builder.string('playwrightConfigPath', playwrightConfigPath);
|
|
158
|
+
}
|
|
159
|
+
if (pwProjects !== undefined) {
|
|
160
|
+
builder.array('pwProjects', builder => {
|
|
161
|
+
for (const project of pwProjects) {
|
|
162
|
+
builder.string(project);
|
|
163
|
+
}
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
if (pwTags !== undefined) {
|
|
167
|
+
builder.array('pwTags', builder => {
|
|
168
|
+
for (const tag of pwTags) {
|
|
169
|
+
builder.string(tag);
|
|
170
|
+
}
|
|
171
|
+
});
|
|
172
|
+
}
|
|
173
|
+
// The construct fills in the package manager's `playwright test`
|
|
174
|
+
// when no command is given, so that command is not spelled out.
|
|
175
|
+
if (command !== undefined
|
|
176
|
+
&& (command !== PlaywrightCheck.defaultTestCommand() || context.spelledOut('testCommand'))) {
|
|
177
|
+
builder.string('testCommand', command);
|
|
178
|
+
}
|
|
179
|
+
if (resource.installCommand != null) {
|
|
180
|
+
builder.string('installCommand', resource.installCommand);
|
|
181
|
+
}
|
|
182
|
+
// An engine without a version cannot be spelled as the construct's
|
|
183
|
+
// `Engine` (which always carries one) and is left out.
|
|
184
|
+
if (resource.engine != null && resource.engineVersion != null) {
|
|
185
|
+
builder.value('engine', valueForEngine(file, resource.engine, resource.engineVersion));
|
|
186
|
+
}
|
|
187
|
+
buildRuntimeCheckProps(this.program, file, builder, resource, context, {
|
|
188
|
+
omit: PLAYWRIGHT_CHECK_OMITTED_PROPS,
|
|
189
|
+
});
|
|
190
|
+
});
|
|
191
|
+
});
|
|
192
|
+
}));
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* `Engine.node(version)` or `Engine.bun(version)` for the engines the
|
|
197
|
+
* construct offers; any other name as a plain object of the same shape,
|
|
198
|
+
* which the prop's type accepts, so an unfamiliar engine still shows.
|
|
199
|
+
*/
|
|
200
|
+
function valueForEngine(file, name, version) {
|
|
201
|
+
if (name === 'node' || name === 'bun') {
|
|
202
|
+
file.namedImport('Engine', 'checkly/constructs');
|
|
203
|
+
return expr(ident('Engine'), builder => {
|
|
204
|
+
builder.member(ident(name));
|
|
205
|
+
builder.call(builder => {
|
|
206
|
+
builder.string(version);
|
|
207
|
+
});
|
|
208
|
+
});
|
|
209
|
+
}
|
|
210
|
+
return unknown({ name, version });
|
|
211
|
+
}
|
|
212
|
+
//# sourceMappingURL=playwright-check-codegen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"playwright-check-codegen.js","sourceRoot":"","sources":["../../src/constructs/playwright-check-codegen.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAW,MAAM,6BAA6B,CAAA;AAC9D,OAAO,EAAE,IAAI,EAAiB,KAAK,EAAE,OAAO,EAAS,MAAM,uBAAuB,CAAA;AAClF,OAAO,EAAE,sBAAsB,EAAiD,MAAM,oBAAoB,CAAA;AAC1G,OAAO,EAAE,eAAe,EAAmC,MAAM,uBAAuB,CAAA;AAExF;;;GAGG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,eAAe,CAAiF,CAAA;AAyE/I,gFAAgF;AAChF,MAAM,sBAAsB,GAAG,IAAI,GAAG,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,CAAC,CAAC,CAAA;AAE7D;;;;;;;;;GASG;AACH,SAAS,UAAU,CAAE,OAAe;IAClC,MAAM,KAAK,GAAW,EAAE,CAAA;IACxB,IAAI,OAAyB,CAAA;IAC7B,IAAI,KAA6B,CAAA;IACjC,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,OAAO,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC;QACpD,MAAM,IAAI,GAAG,OAAO,CAAC,KAAK,CAAC,CAAA;QAC3B,IAAI,KAAK,KAAK,SAAS,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