@runa-ai/runa-cli 0.5.72 → 0.6.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/build-BXUJKYHC.js +1730 -0
- package/dist/cache-H63JKFYH.js +112 -0
- package/dist/check-6AB5NGWK.js +207 -0
- package/dist/chunk-22CS6EMA.js +31 -0
- package/dist/chunk-3FDQW524.js +544 -0
- package/dist/chunk-5NKWR4FF.js +254 -0
- package/dist/chunk-6AALH2ED.js +121 -0
- package/dist/chunk-6Y3LAUGL.js +35 -0
- package/dist/chunk-7QV7U6NI.js +62 -0
- package/dist/chunk-AAIE4F2U.js +140 -0
- package/dist/chunk-CCKG5R4Y.js +59 -0
- package/dist/chunk-CE3DEYFT.js +480 -0
- package/dist/chunk-DRSUEMAK.js +123 -0
- package/dist/chunk-GOGRLQNP.js +12 -0
- package/dist/chunk-HD74F6W2.js +460 -0
- package/dist/chunk-HKUWEGUX.js +36 -0
- package/dist/chunk-HPYJPB5Y.js +408 -0
- package/dist/chunk-IBVVGH6X.js +33 -0
- package/dist/chunk-II7VYQEM.js +179 -0
- package/dist/chunk-JMJP4A47.js +204 -0
- package/dist/chunk-JQXOVCOP.js +574 -0
- package/dist/chunk-JT5SUTWE.js +9 -0
- package/dist/chunk-KWX3JHCY.js +85 -0
- package/dist/chunk-M47WJJVS.js +71 -0
- package/dist/chunk-MNPMZERI.js +194 -0
- package/dist/chunk-MXRWBNIY.js +74 -0
- package/dist/chunk-NPSRD26F.js +149 -0
- package/dist/chunk-P7U52PBY.js +1149 -0
- package/dist/chunk-QDF7QXBL.js +67 -0
- package/dist/chunk-RRGQCUKT.js +48 -0
- package/dist/chunk-RZLYEO4U.js +219 -0
- package/dist/chunk-TYIAD6SB.js +74 -0
- package/dist/chunk-UU55OH7P.js +42 -0
- package/dist/chunk-UWWSAPDR.js +31 -0
- package/dist/chunk-VM3IWOT5.js +458 -0
- package/dist/chunk-VRXHCR5K.js +42 -0
- package/dist/chunk-XJBQINSA.js +351 -0
- package/dist/chunk-ZZOXM6Q4.js +8 -0
- package/dist/ci-V3PIG2GI.js +8322 -0
- package/dist/cli/index.d.ts +7 -1
- package/dist/cli/requested-command.d.ts +8 -0
- package/dist/cli-GFRZCJQR.js +661 -0
- package/dist/commands/build/actors/db-sync.d.ts +2 -0
- package/dist/commands/build/actors/static-checks.d.ts +7 -6
- package/dist/commands/build/contract.d.ts +30 -30
- package/dist/commands/build/machine-dry-run.d.ts +3 -0
- package/dist/commands/build/machine-e2e-meta.d.ts +120 -0
- package/dist/commands/build/machine.d.ts +22 -22
- package/dist/commands/build/types.d.ts +2 -4
- package/dist/commands/ci/machine/contract.d.ts +26 -26
- package/dist/commands/ci/machine/formatters/sections/final-comment.d.ts +1 -5
- package/dist/commands/ci/machine/formatters/sections/format-helpers.d.ts +5 -0
- package/dist/commands/ci/machine/formatters/sections/index.d.ts +2 -2
- package/dist/commands/ci/machine/machine-execution-helpers.d.ts +40 -0
- package/dist/commands/ci/machine/machine-state-helpers.d.ts +14 -0
- package/dist/commands/ci/machine/machine.d.ts +12 -12
- package/dist/commands/ci/machine/types.d.ts +0 -5
- package/dist/commands/ci/utils/ci-summary.d.ts +15 -15
- package/dist/commands/ci/utils/execa-helpers.d.ts +1 -0
- package/dist/commands/db/apply/actors/idempotent-actors.d.ts +34 -0
- package/dist/commands/db/apply/actors/lock-actors.d.ts +16 -0
- package/dist/commands/db/apply/actors/pg-schema-diff-actors.d.ts +31 -0
- package/dist/commands/db/apply/actors/seed-actors.d.ts +11 -0
- package/dist/commands/db/apply/actors/shared.d.ts +9 -0
- package/dist/commands/db/apply/actors.d.ts +16 -65
- package/dist/commands/db/apply/contract.d.ts +8 -1
- package/dist/commands/db/apply/helpers/data-compatibility-checker.d.ts +3 -4
- package/dist/commands/db/apply/helpers/data-integrity-verifier.d.ts +37 -0
- package/dist/commands/db/apply/helpers/fresh-db-handler.d.ts +34 -0
- package/dist/commands/db/apply/helpers/hazard-handler.d.ts +60 -0
- package/dist/commands/db/apply/helpers/idempotent-object-registry.d.ts +96 -0
- package/dist/commands/db/apply/helpers/idempotent-transaction.d.ts +20 -0
- package/dist/commands/db/apply/helpers/index.d.ts +6 -0
- package/dist/commands/db/apply/helpers/partition-validator.d.ts +2 -15
- package/dist/commands/db/apply/helpers/pg-schema-diff-helpers.d.ts +18 -162
- package/dist/commands/db/apply/helpers/pg-schema-diff-patterns.d.ts +55 -0
- package/dist/commands/db/apply/helpers/pg-schema-diff-version.d.ts +50 -0
- package/dist/commands/db/apply/helpers/plan-validator.d.ts +4 -10
- package/dist/commands/db/apply/helpers/rbac-password-manager.d.ts +34 -0
- package/dist/commands/db/apply/helpers/retry-logic.d.ts +16 -2
- package/dist/commands/db/apply/helpers/shadow-db-manager.d.ts +1 -1
- package/dist/commands/db/apply/helpers/sql-utils.d.ts +26 -0
- package/dist/commands/db/apply/machine.d.ts +52 -1
- package/dist/commands/db/commands/db-apply.d.ts +18 -0
- package/dist/commands/db/commands/db-sync/boundary-classifier.d.ts +21 -0
- package/dist/commands/db/commands/db-sync/plan-hazard-analyzer.d.ts +13 -0
- package/dist/commands/db/commands/db-sync/risk-reporter.d.ts +19 -0
- package/dist/commands/db/commands/db-sync/sql-parser.d.ts +25 -0
- package/dist/commands/db/commands/db-sync/types.d.ts +47 -0
- package/dist/commands/db/commands/db-sync.d.ts +14 -0
- package/dist/commands/db/sync/contract.d.ts +6 -2
- package/dist/commands/db/sync/machine.d.ts +2 -1
- package/dist/commands/db/types.d.ts +2 -0
- package/dist/commands/db/utils/boundary-policy/rule-compiler.d.ts +11 -0
- package/dist/commands/db/utils/boundary-policy/types.d.ts +105 -0
- package/dist/commands/db/utils/boundary-policy/validation.d.ts +20 -0
- package/dist/commands/db/utils/boundary-policy-runtime.d.ts +28 -0
- package/dist/commands/db/utils/boundary-policy.d.ts +5 -0
- package/dist/commands/db/utils/idempotent-risk-context.d.ts +29 -0
- package/dist/commands/db/utils/preflight-check.d.ts +14 -0
- package/dist/commands/db/utils/preflight-checks/domain-naming-checks.d.ts +106 -0
- package/dist/commands/db/utils/preflight-checks/orphan-checks.d.ts +36 -0
- package/dist/commands/db/utils/preflight-checks/schema-risk-checks.d.ts +22 -0
- package/dist/commands/db/utils/preflight-checks/supabase-checks.d.ts +55 -0
- package/dist/commands/db/utils/risk-detector-loader.d.ts +8 -0
- package/dist/commands/db/utils/schema-precheck-budget.d.ts +17 -0
- package/dist/commands/db/utils/sql-boundary-parser.d.ts +12 -0
- package/dist/commands/db/utils/sql-file-collector.d.ts +8 -0
- package/dist/commands/db/utils/sql-filename-parser.d.ts +20 -0
- package/dist/commands/db/utils/sql-table-extractor-ast.d.ts +19 -0
- package/dist/commands/db/utils/sql-table-extractor-regex.d.ts +50 -0
- package/dist/commands/db/utils/sql-table-extractor-rls.d.ts +13 -0
- package/dist/commands/db/utils/sql-table-extractor.d.ts +79 -1
- package/dist/commands/db/utils/table-registry-introspection.d.ts +68 -0
- package/dist/commands/db/utils/table-registry.d.ts +3 -38
- package/dist/commands/dev/actors/app-lifecycle.d.ts +18 -0
- package/dist/commands/dev/actors/index.d.ts +7 -2
- package/dist/commands/dev/actors/process-check.d.ts +12 -0
- package/dist/commands/dev/actors/shared.d.ts +15 -0
- package/dist/commands/dev/contract.d.ts +2 -2
- package/dist/commands/dev/machine.d.ts +7 -31
- package/dist/commands/env/commands/env-pull/auth.d.ts +13 -0
- package/dist/commands/env/commands/env-pull/dotenv-files.d.ts +14 -0
- package/dist/commands/env/commands/env-pull/security.d.ts +12 -0
- package/dist/commands/env/commands/env-pull/service.d.ts +8 -0
- package/dist/commands/env/commands/env-pull/shared.d.ts +79 -0
- package/dist/commands/env/commands/setup/types.d.ts +1 -1
- package/dist/commands/env/constants/local-supabase.d.ts +2 -0
- package/dist/commands/template-check/contract.d.ts +6 -6
- package/dist/commands/template-check/machine.d.ts +2 -2
- package/dist/commands/template-check/types.d.ts +0 -4
- package/dist/commands/template-check/utils/diff-analyzer.d.ts +0 -4
- package/dist/config/env.d.ts +4 -4
- package/dist/config-loader-GT3HAQ7U.js +7 -0
- package/dist/db-HR7CREX2.js +15913 -0
- package/dist/dev-A7RW6XQV.js +873 -0
- package/dist/env-B47Z4747.js +2624 -0
- package/dist/env-HMMRSYCI.js +7 -0
- package/dist/env-files-K2C7O7L5.js +8 -0
- package/dist/error-handler-4EYSDOSE.js +460 -0
- package/dist/hotfix-CULKKMGS.js +1477 -0
- package/dist/index.d.ts +5 -1
- package/dist/index.js +48 -42995
- package/dist/init-ELK5QCWR.js +632 -0
- package/dist/inject-test-attrs-Y5UD5P7Q.js +36 -0
- package/dist/internal/machines/snapshot-helpers.d.ts +6 -0
- package/dist/lib/sql-comment-utils.d.ts +25 -0
- package/dist/license-OB7GVJQ2.js +468 -0
- package/dist/link-C43JRZWY.js +60 -0
- package/dist/manifest-2NOQ2IMK.js +32 -0
- package/dist/prepare-32DOVHTE.js +250 -0
- package/dist/risk-detector-BXUY2WKS.js +6 -0
- package/dist/risk-detector-core-O7I7SPR7.js +166 -0
- package/dist/risk-detector-plpgsql-SGMVKYJP.js +1856 -0
- package/dist/sdk-XK6HQU7S.js +348 -0
- package/dist/services-7VK5KZTO.js +177 -0
- package/dist/session-SFW5QSXZ.js +142 -0
- package/dist/signal-handler-DO3OANW5.js +6 -0
- package/dist/status-IJ4ZWHMX.js +95 -0
- package/dist/telemetry-FN7V727Y.js +94 -0
- package/dist/template-check-PNG5NQ5H.js +1933 -0
- package/dist/test-QYXE5UVW.js +626 -0
- package/dist/test-gen-QPWOIEHU.js +89 -0
- package/dist/ui-RJAMCWUI.js +331 -0
- package/dist/upgrade-3SLWVNAC.js +625 -0
- package/dist/utils/config-loader.d.ts +0 -3
- package/dist/validate-SM4PXPS7.js +55 -0
- package/dist/validators/risk-detector-content-risks.d.ts +13 -0
- package/dist/validators/risk-detector-core.d.ts +25 -0
- package/dist/validators/risk-detector-patterns.d.ts +15 -0
- package/dist/validators/risk-detector-plpgsql-expression-resolver.d.ts +22 -0
- package/dist/validators/risk-detector-plpgsql-parser.d.ts +5 -0
- package/dist/validators/risk-detector-plpgsql-tokenizer.d.ts +18 -0
- package/dist/validators/risk-detector-plpgsql.d.ts +9 -0
- package/dist/validators/risk-detector-text-utils.d.ts +6 -0
- package/dist/validators/risk-detector-types.d.ts +16 -0
- package/dist/validators/risk-detector.d.ts +7 -26
- package/dist/vuln-check-TYQNEFS7.js +122 -0
- package/dist/vuln-checker-2QXGN5YT.js +2950 -0
- package/dist/watch-UCDVOQAH.js +911 -0
- package/dist/workflow-ZB5Q2PFY.js +898 -0
- package/package.json +4 -1
- package/dist/cli/contract-mode.d.ts.map +0 -1
- package/dist/cli/contract-output.d.ts.map +0 -1
- package/dist/cli/early-flags.d.ts.map +0 -1
- package/dist/cli/error-handler.d.ts.map +0 -1
- package/dist/cli/exec.d.ts.map +0 -1
- package/dist/cli/index.d.ts.map +0 -1
- package/dist/cli/json-output.d.ts.map +0 -1
- package/dist/cli/non-interactive.d.ts.map +0 -1
- package/dist/cli/output-format.d.ts.map +0 -1
- package/dist/cli/signal-handler.d.ts.map +0 -1
- package/dist/commands/build/actors/build.d.ts.map +0 -1
- package/dist/commands/build/actors/clean.d.ts.map +0 -1
- package/dist/commands/build/actors/db-sync.d.ts.map +0 -1
- package/dist/commands/build/actors/index.d.ts.map +0 -1
- package/dist/commands/build/actors/manifest.d.ts.map +0 -1
- package/dist/commands/build/actors/setup.d.ts.map +0 -1
- package/dist/commands/build/actors/static-checks.d.ts.map +0 -1
- package/dist/commands/build/actors/validate.d.ts.map +0 -1
- package/dist/commands/build/commands/build.d.ts.map +0 -1
- package/dist/commands/build/contract.d.ts.map +0 -1
- package/dist/commands/build/guards.d.ts.map +0 -1
- package/dist/commands/build/index.d.ts.map +0 -1
- package/dist/commands/build/machine.d.ts.map +0 -1
- package/dist/commands/build/types.d.ts.map +0 -1
- package/dist/commands/cache.d.ts.map +0 -1
- package/dist/commands/check/commands/check.d.ts.map +0 -1
- package/dist/commands/check/index.d.ts.map +0 -1
- package/dist/commands/ci/commands/ci-checks.d.ts.map +0 -1
- package/dist/commands/ci/commands/ci-layer-content.d.ts.map +0 -1
- package/dist/commands/ci/commands/ci-pr-capabilities.d.ts.map +0 -1
- package/dist/commands/ci/commands/ci-prod-apply.d.ts.map +0 -1
- package/dist/commands/ci/commands/ci-prod-db-operations.d.ts.map +0 -1
- package/dist/commands/ci/commands/ci-prod-github.d.ts.map +0 -1
- package/dist/commands/ci/commands/ci-prod-types.d.ts.map +0 -1
- package/dist/commands/ci/commands/ci-prod-utils.d.ts.map +0 -1
- package/dist/commands/ci/commands/ci-prod-workflow.d.ts.map +0 -1
- package/dist/commands/ci/commands/ci-resolvers.d.ts.map +0 -1
- package/dist/commands/ci/commands/ci-static.d.ts.map +0 -1
- package/dist/commands/ci/commands/ci-supabase-local.d.ts.map +0 -1
- package/dist/commands/ci/index.d.ts.map +0 -1
- package/dist/commands/ci/machine/actors/build/app-build.d.ts.map +0 -1
- package/dist/commands/ci/machine/actors/build/app-start.d.ts.map +0 -1
- package/dist/commands/ci/machine/actors/build/build-and-playwright.d.ts.map +0 -1
- package/dist/commands/ci/machine/actors/build/index.d.ts.map +0 -1
- package/dist/commands/ci/machine/actors/build/playwright-install.d.ts.map +0 -1
- package/dist/commands/ci/machine/actors/build/static-checks.d.ts.map +0 -1
- package/dist/commands/ci/machine/actors/db/apply-seeds.d.ts.map +0 -1
- package/dist/commands/ci/machine/actors/db/collect-schema-stats.d.ts.map +0 -1
- package/dist/commands/ci/machine/actors/db/index.d.ts.map +0 -1
- package/dist/commands/ci/machine/actors/db/pgtap-install.d.ts.map +0 -1
- package/dist/commands/ci/machine/actors/db/production-preview.d.ts.map +0 -1
- package/dist/commands/ci/machine/actors/db/pull-production.d.ts.map +0 -1
- package/dist/commands/ci/machine/actors/db/reset.d.ts.map +0 -1
- package/dist/commands/ci/machine/actors/db/schema-stats.d.ts.map +0 -1
- package/dist/commands/ci/machine/actors/db/setup-roles.d.ts.map +0 -1
- package/dist/commands/ci/machine/actors/db/sync-schema.d.ts.map +0 -1
- package/dist/commands/ci/machine/actors/finalize/github.d.ts.map +0 -1
- package/dist/commands/ci/machine/actors/finalize/index.d.ts.map +0 -1
- package/dist/commands/ci/machine/actors/finalize/summary.d.ts.map +0 -1
- package/dist/commands/ci/machine/actors/index.d.ts.map +0 -1
- package/dist/commands/ci/machine/actors/setup/index.d.ts.map +0 -1
- package/dist/commands/ci/machine/actors/setup/local.d.ts.map +0 -1
- package/dist/commands/ci/machine/actors/setup/pr-common.d.ts.map +0 -1
- package/dist/commands/ci/machine/actors/setup/pr-local.d.ts.map +0 -1
- package/dist/commands/ci/machine/actors/test/capabilities.d.ts.map +0 -1
- package/dist/commands/ci/machine/actors/test/index.d.ts.map +0 -1
- package/dist/commands/ci/machine/actors/test/run-layers.d.ts.map +0 -1
- package/dist/commands/ci/machine/commands/ci-local.d.ts.map +0 -1
- package/dist/commands/ci/machine/commands/ci-pr.d.ts.map +0 -1
- package/dist/commands/ci/machine/commands/index.d.ts.map +0 -1
- package/dist/commands/ci/machine/commands/machine-runner.d.ts.map +0 -1
- package/dist/commands/ci/machine/commands/runtime-env.d.ts.map +0 -1
- package/dist/commands/ci/machine/contract.d.ts.map +0 -1
- package/dist/commands/ci/machine/formatters/github-comment-types.d.ts.map +0 -1
- package/dist/commands/ci/machine/formatters/github-comment.d.ts.map +0 -1
- package/dist/commands/ci/machine/formatters/index.d.ts.map +0 -1
- package/dist/commands/ci/machine/formatters/sections/final-comment.d.ts.map +0 -1
- package/dist/commands/ci/machine/formatters/sections/format-helpers.d.ts.map +0 -1
- package/dist/commands/ci/machine/formatters/sections/index.d.ts.map +0 -1
- package/dist/commands/ci/machine/formatters/sections/progress-comment.d.ts.map +0 -1
- package/dist/commands/ci/machine/formatters/sections/schema-matrix.d.ts.map +0 -1
- package/dist/commands/ci/machine/formatters/summary.d.ts.map +0 -1
- package/dist/commands/ci/machine/guards.d.ts.map +0 -1
- package/dist/commands/ci/machine/helpers.d.ts.map +0 -1
- package/dist/commands/ci/machine/index.d.ts.map +0 -1
- package/dist/commands/ci/machine/machine.d.ts.map +0 -1
- package/dist/commands/ci/machine/types.d.ts.map +0 -1
- package/dist/commands/ci/utils/ai-report.d.ts.map +0 -1
- package/dist/commands/ci/utils/app-process.d.ts.map +0 -1
- package/dist/commands/ci/utils/app-runtime.d.ts.map +0 -1
- package/dist/commands/ci/utils/ci-config.d.ts.map +0 -1
- package/dist/commands/ci/utils/ci-env-schema.d.ts.map +0 -1
- package/dist/commands/ci/utils/ci-logging.d.ts.map +0 -1
- package/dist/commands/ci/utils/ci-summary.d.ts.map +0 -1
- package/dist/commands/ci/utils/config-readers.d.ts.map +0 -1
- package/dist/commands/ci/utils/db-url-utils.d.ts.map +0 -1
- package/dist/commands/ci/utils/e2e-auth-setup.d.ts.map +0 -1
- package/dist/commands/ci/utils/env-security.d.ts.map +0 -1
- package/dist/commands/ci/utils/execa-helpers.d.ts.map +0 -1
- package/dist/commands/ci/utils/exit-code-computation.d.ts.map +0 -1
- package/dist/commands/ci/utils/github-api.d.ts.map +0 -1
- package/dist/commands/ci/utils/github.d.ts.map +0 -1
- package/dist/commands/ci/utils/index.d.ts.map +0 -1
- package/dist/commands/ci/utils/pgtap-installer.d.ts.map +0 -1
- package/dist/commands/ci/utils/rls-verification.d.ts.map +0 -1
- package/dist/commands/ci/utils/schema-operations.d.ts.map +0 -1
- package/dist/commands/ci/utils/seed-operations.d.ts.map +0 -1
- package/dist/commands/ci/utils/test-parallel.d.ts.map +0 -1
- package/dist/commands/ci/utils/timestamp-invariants.d.ts.map +0 -1
- package/dist/commands/ci/utils/workflow-idempotency.d.ts.map +0 -1
- package/dist/commands/db/apply/actors.d.ts.map +0 -1
- package/dist/commands/db/apply/contract.d.ts.map +0 -1
- package/dist/commands/db/apply/helpers/advisory-lock.d.ts.map +0 -1
- package/dist/commands/db/apply/helpers/data-compatibility-checker.d.ts.map +0 -1
- package/dist/commands/db/apply/helpers/index.d.ts.map +0 -1
- package/dist/commands/db/apply/helpers/partition-acl-cleaner.d.ts.map +0 -1
- package/dist/commands/db/apply/helpers/partition-prefilter.d.ts.map +0 -1
- package/dist/commands/db/apply/helpers/partition-validator.d.ts.map +0 -1
- package/dist/commands/db/apply/helpers/pg-schema-diff-helpers.d.ts.map +0 -1
- package/dist/commands/db/apply/helpers/plan-validator.d.ts.map +0 -1
- package/dist/commands/db/apply/helpers/retry-logic.d.ts.map +0 -1
- package/dist/commands/db/apply/helpers/shadow-db-manager.d.ts.map +0 -1
- package/dist/commands/db/apply/index.d.ts.map +0 -1
- package/dist/commands/db/apply/machine.d.ts.map +0 -1
- package/dist/commands/db/commands/db-apply.d.ts.map +0 -1
- package/dist/commands/db/commands/db-audit.d.ts.map +0 -1
- package/dist/commands/db/commands/db-backup.d.ts.map +0 -1
- package/dist/commands/db/commands/db-cleanup.d.ts.map +0 -1
- package/dist/commands/db/commands/db-derive-role-passwords.d.ts.map +0 -1
- package/dist/commands/db/commands/db-derive-urls.d.ts.map +0 -1
- package/dist/commands/db/commands/db-diagram.d.ts.map +0 -1
- package/dist/commands/db/commands/db-drizzle.d.ts.map +0 -1
- package/dist/commands/db/commands/db-extension.d.ts.map +0 -1
- package/dist/commands/db/commands/db-generate-password.d.ts.map +0 -1
- package/dist/commands/db/commands/db-lifecycle.d.ts.map +0 -1
- package/dist/commands/db/commands/db-rollback.d.ts.map +0 -1
- package/dist/commands/db/commands/db-schema.d.ts.map +0 -1
- package/dist/commands/db/commands/db-seed-metadata.d.ts.map +0 -1
- package/dist/commands/db/commands/db-seed-verify.d.ts.map +0 -1
- package/dist/commands/db/commands/db-seed.d.ts.map +0 -1
- package/dist/commands/db/commands/db-snapshot.d.ts.map +0 -1
- package/dist/commands/db/commands/db-stack.d.ts.map +0 -1
- package/dist/commands/db/commands/db-stats.d.ts.map +0 -1
- package/dist/commands/db/commands/db-sync.d.ts.map +0 -1
- package/dist/commands/db/commands/db-test.d.ts.map +0 -1
- package/dist/commands/db/constants.d.ts.map +0 -1
- package/dist/commands/db/extension-registry.d.ts.map +0 -1
- package/dist/commands/db/index.d.ts.map +0 -1
- package/dist/commands/db/preflight/actors.d.ts.map +0 -1
- package/dist/commands/db/preflight/contract.d.ts.map +0 -1
- package/dist/commands/db/preflight/index.d.ts.map +0 -1
- package/dist/commands/db/sync/actors.d.ts.map +0 -1
- package/dist/commands/db/sync/contract.d.ts.map +0 -1
- package/dist/commands/db/sync/index.d.ts.map +0 -1
- package/dist/commands/db/sync/machine.d.ts.map +0 -1
- package/dist/commands/db/types.d.ts.map +0 -1
- package/dist/commands/db/utils/db-target.d.ts.map +0 -1
- package/dist/commands/db/utils/db-url-builder.d.ts.map +0 -1
- package/dist/commands/db/utils/error-handlers.d.ts.map +0 -1
- package/dist/commands/db/utils/import-impact-analyzer.d.ts.map +0 -1
- package/dist/commands/db/utils/preflight-check.d.ts.map +0 -1
- package/dist/commands/db/utils/psql.d.ts.map +0 -1
- package/dist/commands/db/utils/schema-detector.d.ts.map +0 -1
- package/dist/commands/db/utils/schema-sync.d.ts.map +0 -1
- package/dist/commands/db/utils/script-runner.d.ts.map +0 -1
- package/dist/commands/db/utils/seed-manager.d.ts.map +0 -1
- package/dist/commands/db/utils/semantic-mapper.d.ts.map +0 -1
- package/dist/commands/db/utils/sql-table-extractor.d.ts.map +0 -1
- package/dist/commands/db/utils/stack-detector.d.ts.map +0 -1
- package/dist/commands/db/utils/table-registry.d.ts.map +0 -1
- package/dist/commands/db/utils/table-source-classifier.d.ts.map +0 -1
- package/dist/commands/dev/actors/index.d.ts.map +0 -1
- package/dist/commands/dev/commands/dev.d.ts.map +0 -1
- package/dist/commands/dev/contract.d.ts.map +0 -1
- package/dist/commands/dev/guards.d.ts.map +0 -1
- package/dist/commands/dev/helpers/stale-process-detector.d.ts.map +0 -1
- package/dist/commands/dev/machine.d.ts.map +0 -1
- package/dist/commands/dev/types.d.ts.map +0 -1
- package/dist/commands/env/commands/env-check.d.ts.map +0 -1
- package/dist/commands/env/commands/env-encrypt.d.ts.map +0 -1
- package/dist/commands/env/commands/env-pull.d.ts.map +0 -1
- package/dist/commands/env/commands/env-setup.d.ts.map +0 -1
- package/dist/commands/env/commands/env-sync.d.ts.map +0 -1
- package/dist/commands/env/commands/setup/action.d.ts.map +0 -1
- package/dist/commands/env/commands/setup/auth.d.ts.map +0 -1
- package/dist/commands/env/commands/setup/file-export.d.ts.map +0 -1
- package/dist/commands/env/commands/setup/github-api.d.ts.map +0 -1
- package/dist/commands/env/commands/setup/helpers.d.ts.map +0 -1
- package/dist/commands/env/commands/setup/index.d.ts.map +0 -1
- package/dist/commands/env/commands/setup/parsers.d.ts.map +0 -1
- package/dist/commands/env/commands/setup/prompts.d.ts.map +0 -1
- package/dist/commands/env/commands/setup/supabase-api.d.ts.map +0 -1
- package/dist/commands/env/commands/setup/types.d.ts.map +0 -1
- package/dist/commands/env/commands/setup/vercel-api.d.ts.map +0 -1
- package/dist/commands/env/constants/local-supabase.d.ts.map +0 -1
- package/dist/commands/env/index.d.ts.map +0 -1
- package/dist/commands/hotfix/actors.d.ts.map +0 -1
- package/dist/commands/hotfix/commands/hotfix-complete.d.ts.map +0 -1
- package/dist/commands/hotfix/commands/hotfix-create.d.ts.map +0 -1
- package/dist/commands/hotfix/commands/hotfix-deploy.d.ts.map +0 -1
- package/dist/commands/hotfix/commands/hotfix-status.d.ts.map +0 -1
- package/dist/commands/hotfix/contract.d.ts.map +0 -1
- package/dist/commands/hotfix/index.d.ts.map +0 -1
- package/dist/commands/hotfix/machine.d.ts.map +0 -1
- package/dist/commands/hotfix/metadata.d.ts.map +0 -1
- package/dist/commands/hotfix/utils/hotfix-machine-helper.d.ts.map +0 -1
- package/dist/commands/init.d.ts.map +0 -1
- package/dist/commands/inject-test-attrs/action.d.ts.map +0 -1
- package/dist/commands/inject-test-attrs/commands/inject-test-attrs.d.ts.map +0 -1
- package/dist/commands/inject-test-attrs/contract.d.ts.map +0 -1
- package/dist/commands/inject-test-attrs/detection-diagnostics.d.ts.map +0 -1
- package/dist/commands/inject-test-attrs/formatter.d.ts.map +0 -1
- package/dist/commands/inject-test-attrs/index.d.ts.map +0 -1
- package/dist/commands/inject-test-attrs/manifest-generator.d.ts.map +0 -1
- package/dist/commands/inject-test-attrs/processor-utils.d.ts.map +0 -1
- package/dist/commands/inject-test-attrs/processor.d.ts.map +0 -1
- package/dist/commands/inject-test-attrs/types.d.ts.map +0 -1
- package/dist/commands/link.d.ts.map +0 -1
- package/dist/commands/manifest/index.d.ts.map +0 -1
- package/dist/commands/prepare/commands/prepare.d.ts.map +0 -1
- package/dist/commands/prepare/index.d.ts.map +0 -1
- package/dist/commands/sdk/commands/publish.d.ts.map +0 -1
- package/dist/commands/sdk/index.d.ts.map +0 -1
- package/dist/commands/services/index.d.ts.map +0 -1
- package/dist/commands/session/index.d.ts.map +0 -1
- package/dist/commands/status.d.ts.map +0 -1
- package/dist/commands/telemetry.d.ts.map +0 -1
- package/dist/commands/template-check/actors/compare.d.ts.map +0 -1
- package/dist/commands/template-check/actors/discover.d.ts.map +0 -1
- package/dist/commands/template-check/actors/index.d.ts.map +0 -1
- package/dist/commands/template-check/actors/report.d.ts.map +0 -1
- package/dist/commands/template-check/commands/template-check.d.ts.map +0 -1
- package/dist/commands/template-check/config.d.ts.map +0 -1
- package/dist/commands/template-check/contract.d.ts.map +0 -1
- package/dist/commands/template-check/index.d.ts.map +0 -1
- package/dist/commands/template-check/machine.d.ts.map +0 -1
- package/dist/commands/template-check/types.d.ts.map +0 -1
- package/dist/commands/template-check/utils/diff-analyzer.d.ts.map +0 -1
- package/dist/commands/template-check/utils/normalizer.d.ts.map +0 -1
- package/dist/commands/template-check/utils/path-mapping.d.ts.map +0 -1
- package/dist/commands/test/commands/test-db.d.ts.map +0 -1
- package/dist/commands/test/commands/test-e2e.d.ts.map +0 -1
- package/dist/commands/test/commands/test-fast.d.ts.map +0 -1
- package/dist/commands/test/commands/test-integration.d.ts.map +0 -1
- package/dist/commands/test/commands/test-layer.d.ts.map +0 -1
- package/dist/commands/test/commands/test-owasp-generate.d.ts.map +0 -1
- package/dist/commands/test/commands/test-service.d.ts.map +0 -1
- package/dist/commands/test/commands/test-static.d.ts.map +0 -1
- package/dist/commands/test/commands/test.d.ts.map +0 -1
- package/dist/commands/test/index.d.ts.map +0 -1
- package/dist/commands/test-gen.d.ts.map +0 -1
- package/dist/commands/ui.d.ts.map +0 -1
- package/dist/commands/upgrade.d.ts.map +0 -1
- package/dist/commands/validate.d.ts.map +0 -1
- package/dist/commands/vuln-check.d.ts.map +0 -1
- package/dist/commands/watch.d.ts.map +0 -1
- package/dist/commands/workflow/commands/deploy-production.d.ts.map +0 -1
- package/dist/commands/workflow/commands/final-status.d.ts.map +0 -1
- package/dist/commands/workflow/commands/log.d.ts.map +0 -1
- package/dist/commands/workflow/commands/notify.d.ts.map +0 -1
- package/dist/commands/workflow/commands/paths.d.ts.map +0 -1
- package/dist/commands/workflow/commands/sync.d.ts.map +0 -1
- package/dist/commands/workflow/commands/validate.d.ts.map +0 -1
- package/dist/commands/workflow/commands/verify-credentials.d.ts.map +0 -1
- package/dist/commands/workflow/index.d.ts.map +0 -1
- package/dist/commands/workflow/types.d.ts.map +0 -1
- package/dist/config/env-files.d.ts.map +0 -1
- package/dist/config/env.d.ts.map +0 -1
- package/dist/constants/versions.d.ts.map +0 -1
- package/dist/contracts/envelope.d.ts.map +0 -1
- package/dist/errors/catalog.d.ts.map +0 -1
- package/dist/errors/exit-codes.d.ts.map +0 -1
- package/dist/errors/index.d.ts.map +0 -1
- package/dist/incremental/affected-tests.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/internal/machines/index.d.ts.map +0 -1
- package/dist/internal/machines/machine-runner.d.ts.map +0 -1
- package/dist/internal/machines/snapshot-helpers.d.ts.map +0 -1
- package/dist/internal/machines/types.d.ts.map +0 -1
- package/dist/internal/vuln-checker/analyzers/dependency-analyzer.d.ts.map +0 -1
- package/dist/internal/vuln-checker/analyzers/rls-analyzer.d.ts.map +0 -1
- package/dist/internal/vuln-checker/analyzers/secret-analyzer.d.ts.map +0 -1
- package/dist/internal/vuln-checker/analyzers/typescript-analyzer.d.ts.map +0 -1
- package/dist/internal/vuln-checker/config/loader.d.ts.map +0 -1
- package/dist/internal/vuln-checker/constants.d.ts.map +0 -1
- package/dist/internal/vuln-checker/ignore/matcher.d.ts.map +0 -1
- package/dist/internal/vuln-checker/index.d.ts.map +0 -1
- package/dist/internal/vuln-checker/reporters/console-reporter.d.ts.map +0 -1
- package/dist/internal/vuln-checker/reporters/json-reporter.d.ts.map +0 -1
- package/dist/internal/vuln-checker/reporters/markdown-reporter.d.ts.map +0 -1
- package/dist/internal/vuln-checker/reporters/sarif-reporter.d.ts.map +0 -1
- package/dist/internal/vuln-checker/security/path-validation.d.ts.map +0 -1
- package/dist/internal/vuln-checker/types.d.ts.map +0 -1
- package/dist/notifiers/desktop-notifier.d.ts.map +0 -1
- package/dist/ui/components/db-panel.d.ts.map +0 -1
- package/dist/ui/components/status-bar.d.ts.map +0 -1
- package/dist/ui/components/test-panel.d.ts.map +0 -1
- package/dist/ui/dashboard.d.ts.map +0 -1
- package/dist/ui/index.d.ts.map +0 -1
- package/dist/utils/config-loader.d.ts.map +0 -1
- package/dist/utils/config-updater.d.ts.map +0 -1
- package/dist/utils/diagnostics.d.ts.map +0 -1
- package/dist/utils/dotenvx.d.ts.map +0 -1
- package/dist/utils/env-local-bridge.d.ts.map +0 -1
- package/dist/utils/execution-plan.d.ts.map +0 -1
- package/dist/utils/github-output-security.d.ts.map +0 -1
- package/dist/utils/help-system.d.ts.map +0 -1
- package/dist/utils/license/admin-auth.d.ts.map +0 -1
- package/dist/utils/license/allowlist-checker.d.ts.map +0 -1
- package/dist/utils/license/ci-detector.d.ts.map +0 -1
- package/dist/utils/license/index.d.ts.map +0 -1
- package/dist/utils/license/owner-resolver.d.ts.map +0 -1
- package/dist/utils/license/types.d.ts.map +0 -1
- package/dist/utils/license/validate-owner.d.ts.map +0 -1
- package/dist/utils/path-security.d.ts.map +0 -1
- package/dist/utils/port-allocator.d.ts.map +0 -1
- package/dist/utils/secure-exec.d.ts.map +0 -1
- package/dist/utils/template-fetcher.d.ts.map +0 -1
- package/dist/utils/type-guards.d.ts.map +0 -1
- package/dist/utils/vercel-project.d.ts.map +0 -1
- package/dist/utils/workspace-detector.d.ts.map +0 -1
- package/dist/validators/risk-detector.d.ts.map +0 -1
- package/dist/validators/schema-validator.d.ts.map +0 -1
- package/dist/version.d.ts.map +0 -1
- package/dist/watchers/schema-watcher.d.ts.map +0 -1
- package/dist/watchers/test-watcher.d.ts.map +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* AI HINT: Static Checks Actor
|
|
3
3
|
*
|
|
4
|
-
* Purpose: Run static analysis (type-check, lint)
|
|
4
|
+
* Purpose: Run static analysis (type-check, lint)
|
|
5
5
|
* Pattern: Reuses pattern from CI machine
|
|
6
6
|
*
|
|
7
7
|
* Checks:
|
|
8
|
-
* -
|
|
9
|
-
* -
|
|
8
|
+
* - type-check (TypeScript compilation)
|
|
9
|
+
* - lint (Biome format + lint)
|
|
10
10
|
*/
|
|
11
11
|
export interface StaticChecksInput {
|
|
12
12
|
repoRoot: string;
|
|
@@ -27,10 +27,11 @@ export interface StaticChecksOutput {
|
|
|
27
27
|
error?: string;
|
|
28
28
|
}
|
|
29
29
|
/**
|
|
30
|
-
* Run static checks (type-check + lint)
|
|
30
|
+
* Run static checks (type-check + lint).
|
|
31
31
|
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
32
|
+
* Turbo mode uses a single command (`turbo run type-check lint`) to avoid
|
|
33
|
+
* duplicate dependency builds and race conditions from running two turbo
|
|
34
|
+
* commands concurrently.
|
|
34
35
|
*/
|
|
35
36
|
export declare const staticChecksActor: import("xstate").PromiseActorLogic<StaticChecksOutput, StaticChecksInput, import("xstate").EventObject>;
|
|
36
37
|
//# sourceMappingURL=static-checks.d.ts.map
|
|
@@ -19,10 +19,10 @@ import { z } from 'zod';
|
|
|
19
19
|
* Available build phases for partial build (--only option).
|
|
20
20
|
*/
|
|
21
21
|
export declare const BuildPhaseSchema: z.ZodEnum<{
|
|
22
|
+
db: "db";
|
|
23
|
+
build: "build";
|
|
22
24
|
lint: "lint";
|
|
23
25
|
types: "types";
|
|
24
|
-
build: "build";
|
|
25
|
-
db: "db";
|
|
26
26
|
manifest: "manifest";
|
|
27
27
|
}>;
|
|
28
28
|
export type BuildPhase = z.infer<typeof BuildPhaseSchema>;
|
|
@@ -42,10 +42,10 @@ export declare const BuildInputSchema: z.ZodObject<{
|
|
|
42
42
|
noSetup: z.ZodDefault<z.ZodBoolean>;
|
|
43
43
|
targetDir: z.ZodOptional<z.ZodString>;
|
|
44
44
|
only: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
45
|
+
db: "db";
|
|
46
|
+
build: "build";
|
|
45
47
|
lint: "lint";
|
|
46
48
|
types: "types";
|
|
47
|
-
build: "build";
|
|
48
|
-
db: "db";
|
|
49
49
|
manifest: "manifest";
|
|
50
50
|
}>>>;
|
|
51
51
|
}, z.core.$strict>;
|
|
@@ -54,11 +54,11 @@ export type BuildInput = z.infer<typeof BuildInputSchema>;
|
|
|
54
54
|
* Status of a build phase.
|
|
55
55
|
*/
|
|
56
56
|
export declare const BuildPhaseStatusSchema: z.ZodEnum<{
|
|
57
|
-
|
|
57
|
+
skipped: "skipped";
|
|
58
58
|
failed: "failed";
|
|
59
59
|
pending: "pending";
|
|
60
60
|
running: "running";
|
|
61
|
-
|
|
61
|
+
passed: "passed";
|
|
62
62
|
}>;
|
|
63
63
|
export type BuildPhaseStatus = z.infer<typeof BuildPhaseStatusSchema>;
|
|
64
64
|
/**
|
|
@@ -66,11 +66,11 @@ export type BuildPhaseStatus = z.infer<typeof BuildPhaseStatusSchema>;
|
|
|
66
66
|
*/
|
|
67
67
|
export declare const BuildPhaseResultSchema: z.ZodObject<{
|
|
68
68
|
status: z.ZodEnum<{
|
|
69
|
-
|
|
69
|
+
skipped: "skipped";
|
|
70
70
|
failed: "failed";
|
|
71
71
|
pending: "pending";
|
|
72
72
|
running: "running";
|
|
73
|
-
|
|
73
|
+
passed: "passed";
|
|
74
74
|
}>;
|
|
75
75
|
durationMs: z.ZodNumber;
|
|
76
76
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -85,121 +85,121 @@ export declare const BuildOutputSchema: z.ZodObject<{
|
|
|
85
85
|
phases: z.ZodObject<{
|
|
86
86
|
depsInstall: z.ZodOptional<z.ZodObject<{
|
|
87
87
|
status: z.ZodEnum<{
|
|
88
|
-
|
|
88
|
+
skipped: "skipped";
|
|
89
89
|
failed: "failed";
|
|
90
90
|
pending: "pending";
|
|
91
91
|
running: "running";
|
|
92
|
-
|
|
92
|
+
passed: "passed";
|
|
93
93
|
}>;
|
|
94
94
|
durationMs: z.ZodNumber;
|
|
95
95
|
error: z.ZodOptional<z.ZodString>;
|
|
96
96
|
}, z.core.$strip>>;
|
|
97
97
|
envCheck: z.ZodOptional<z.ZodObject<{
|
|
98
98
|
status: z.ZodEnum<{
|
|
99
|
-
|
|
99
|
+
skipped: "skipped";
|
|
100
100
|
failed: "failed";
|
|
101
101
|
pending: "pending";
|
|
102
102
|
running: "running";
|
|
103
|
-
|
|
103
|
+
passed: "passed";
|
|
104
104
|
}>;
|
|
105
105
|
durationMs: z.ZodNumber;
|
|
106
106
|
error: z.ZodOptional<z.ZodString>;
|
|
107
107
|
}, z.core.$strip>>;
|
|
108
108
|
supabaseStart: z.ZodOptional<z.ZodObject<{
|
|
109
109
|
status: z.ZodEnum<{
|
|
110
|
-
|
|
110
|
+
skipped: "skipped";
|
|
111
111
|
failed: "failed";
|
|
112
112
|
pending: "pending";
|
|
113
113
|
running: "running";
|
|
114
|
-
|
|
114
|
+
passed: "passed";
|
|
115
115
|
}>;
|
|
116
116
|
durationMs: z.ZodNumber;
|
|
117
117
|
error: z.ZodOptional<z.ZodString>;
|
|
118
118
|
}, z.core.$strip>>;
|
|
119
119
|
clean: z.ZodOptional<z.ZodObject<{
|
|
120
120
|
status: z.ZodEnum<{
|
|
121
|
-
|
|
121
|
+
skipped: "skipped";
|
|
122
122
|
failed: "failed";
|
|
123
123
|
pending: "pending";
|
|
124
124
|
running: "running";
|
|
125
|
-
|
|
125
|
+
passed: "passed";
|
|
126
126
|
}>;
|
|
127
127
|
durationMs: z.ZodNumber;
|
|
128
128
|
error: z.ZodOptional<z.ZodString>;
|
|
129
129
|
}, z.core.$strip>>;
|
|
130
130
|
fresh: z.ZodOptional<z.ZodObject<{
|
|
131
131
|
status: z.ZodEnum<{
|
|
132
|
-
|
|
132
|
+
skipped: "skipped";
|
|
133
133
|
failed: "failed";
|
|
134
134
|
pending: "pending";
|
|
135
135
|
running: "running";
|
|
136
|
-
|
|
136
|
+
passed: "passed";
|
|
137
137
|
}>;
|
|
138
138
|
durationMs: z.ZodNumber;
|
|
139
139
|
error: z.ZodOptional<z.ZodString>;
|
|
140
140
|
}, z.core.$strip>>;
|
|
141
141
|
typeCheck: z.ZodObject<{
|
|
142
142
|
status: z.ZodEnum<{
|
|
143
|
-
|
|
143
|
+
skipped: "skipped";
|
|
144
144
|
failed: "failed";
|
|
145
145
|
pending: "pending";
|
|
146
146
|
running: "running";
|
|
147
|
-
|
|
147
|
+
passed: "passed";
|
|
148
148
|
}>;
|
|
149
149
|
durationMs: z.ZodNumber;
|
|
150
150
|
error: z.ZodOptional<z.ZodString>;
|
|
151
151
|
}, z.core.$strip>;
|
|
152
152
|
lint: z.ZodObject<{
|
|
153
153
|
status: z.ZodEnum<{
|
|
154
|
-
|
|
154
|
+
skipped: "skipped";
|
|
155
155
|
failed: "failed";
|
|
156
156
|
pending: "pending";
|
|
157
157
|
running: "running";
|
|
158
|
-
|
|
158
|
+
passed: "passed";
|
|
159
159
|
}>;
|
|
160
160
|
durationMs: z.ZodNumber;
|
|
161
161
|
error: z.ZodOptional<z.ZodString>;
|
|
162
162
|
}, z.core.$strip>;
|
|
163
163
|
build: z.ZodObject<{
|
|
164
164
|
status: z.ZodEnum<{
|
|
165
|
-
|
|
165
|
+
skipped: "skipped";
|
|
166
166
|
failed: "failed";
|
|
167
167
|
pending: "pending";
|
|
168
168
|
running: "running";
|
|
169
|
-
|
|
169
|
+
passed: "passed";
|
|
170
170
|
}>;
|
|
171
171
|
durationMs: z.ZodNumber;
|
|
172
172
|
error: z.ZodOptional<z.ZodString>;
|
|
173
173
|
}, z.core.$strip>;
|
|
174
174
|
dbSync: z.ZodOptional<z.ZodObject<{
|
|
175
175
|
status: z.ZodEnum<{
|
|
176
|
-
|
|
176
|
+
skipped: "skipped";
|
|
177
177
|
failed: "failed";
|
|
178
178
|
pending: "pending";
|
|
179
179
|
running: "running";
|
|
180
|
-
|
|
180
|
+
passed: "passed";
|
|
181
181
|
}>;
|
|
182
182
|
durationMs: z.ZodNumber;
|
|
183
183
|
error: z.ZodOptional<z.ZodString>;
|
|
184
184
|
}, z.core.$strip>>;
|
|
185
185
|
manifest: z.ZodOptional<z.ZodObject<{
|
|
186
186
|
status: z.ZodEnum<{
|
|
187
|
-
|
|
187
|
+
skipped: "skipped";
|
|
188
188
|
failed: "failed";
|
|
189
189
|
pending: "pending";
|
|
190
190
|
running: "running";
|
|
191
|
-
|
|
191
|
+
passed: "passed";
|
|
192
192
|
}>;
|
|
193
193
|
durationMs: z.ZodNumber;
|
|
194
194
|
error: z.ZodOptional<z.ZodString>;
|
|
195
195
|
}, z.core.$strip>>;
|
|
196
196
|
validate: z.ZodObject<{
|
|
197
197
|
status: z.ZodEnum<{
|
|
198
|
-
|
|
198
|
+
skipped: "skipped";
|
|
199
199
|
failed: "failed";
|
|
200
200
|
pending: "pending";
|
|
201
201
|
running: "running";
|
|
202
|
-
|
|
202
|
+
passed: "passed";
|
|
203
203
|
}>;
|
|
204
204
|
durationMs: z.ZodNumber;
|
|
205
205
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
export declare const buildMachineE2EMeta: {
|
|
2
|
+
idle: {
|
|
3
|
+
description: string;
|
|
4
|
+
severity: "non-critical";
|
|
5
|
+
observables: {
|
|
6
|
+
log: string;
|
|
7
|
+
};
|
|
8
|
+
assertions: string[];
|
|
9
|
+
nextStates: string[];
|
|
10
|
+
};
|
|
11
|
+
dryRun: {
|
|
12
|
+
description: string;
|
|
13
|
+
severity: "non-critical";
|
|
14
|
+
observables: {
|
|
15
|
+
log: string;
|
|
16
|
+
};
|
|
17
|
+
assertions: string[];
|
|
18
|
+
nextStates: string[];
|
|
19
|
+
};
|
|
20
|
+
setup: {
|
|
21
|
+
description: string;
|
|
22
|
+
severity: "blocking";
|
|
23
|
+
observables: {
|
|
24
|
+
log: string;
|
|
25
|
+
fs: string;
|
|
26
|
+
};
|
|
27
|
+
assertions: string[];
|
|
28
|
+
nextStates: string[];
|
|
29
|
+
};
|
|
30
|
+
clean: {
|
|
31
|
+
description: string;
|
|
32
|
+
severity: "non-critical";
|
|
33
|
+
observables: {
|
|
34
|
+
log: string;
|
|
35
|
+
fs: string;
|
|
36
|
+
};
|
|
37
|
+
assertions: string[];
|
|
38
|
+
nextStates: string[];
|
|
39
|
+
};
|
|
40
|
+
fresh: {
|
|
41
|
+
description: string;
|
|
42
|
+
severity: "blocking";
|
|
43
|
+
observables: {
|
|
44
|
+
log: string;
|
|
45
|
+
fs: string;
|
|
46
|
+
};
|
|
47
|
+
assertions: string[];
|
|
48
|
+
nextStates: string[];
|
|
49
|
+
};
|
|
50
|
+
staticAnalysis: {
|
|
51
|
+
description: string;
|
|
52
|
+
severity: "blocking";
|
|
53
|
+
observables: {
|
|
54
|
+
log: string;
|
|
55
|
+
exitCode: string;
|
|
56
|
+
};
|
|
57
|
+
assertions: string[];
|
|
58
|
+
nextStates: string[];
|
|
59
|
+
};
|
|
60
|
+
build: {
|
|
61
|
+
description: string;
|
|
62
|
+
severity: "blocking";
|
|
63
|
+
observables: {
|
|
64
|
+
log: string;
|
|
65
|
+
fs: string;
|
|
66
|
+
};
|
|
67
|
+
assertions: string[];
|
|
68
|
+
nextStates: string[];
|
|
69
|
+
};
|
|
70
|
+
dbSync: {
|
|
71
|
+
description: string;
|
|
72
|
+
severity: "non-critical";
|
|
73
|
+
observables: {
|
|
74
|
+
log: string;
|
|
75
|
+
db: string;
|
|
76
|
+
};
|
|
77
|
+
assertions: string[];
|
|
78
|
+
nextStates: string[];
|
|
79
|
+
};
|
|
80
|
+
manifest: {
|
|
81
|
+
description: string;
|
|
82
|
+
severity: "non-critical";
|
|
83
|
+
observables: {
|
|
84
|
+
log: string;
|
|
85
|
+
fs: string;
|
|
86
|
+
};
|
|
87
|
+
assertions: string[];
|
|
88
|
+
nextStates: string[];
|
|
89
|
+
};
|
|
90
|
+
validate: {
|
|
91
|
+
description: string;
|
|
92
|
+
severity: "non-critical";
|
|
93
|
+
observables: {
|
|
94
|
+
log: string;
|
|
95
|
+
};
|
|
96
|
+
assertions: string[];
|
|
97
|
+
nextStates: string[];
|
|
98
|
+
};
|
|
99
|
+
done: {
|
|
100
|
+
description: string;
|
|
101
|
+
severity: "final";
|
|
102
|
+
observables: {
|
|
103
|
+
log: string;
|
|
104
|
+
exitCode: number;
|
|
105
|
+
};
|
|
106
|
+
assertions: string[];
|
|
107
|
+
nextStates: never[];
|
|
108
|
+
};
|
|
109
|
+
failed: {
|
|
110
|
+
description: string;
|
|
111
|
+
severity: "final";
|
|
112
|
+
observables: {
|
|
113
|
+
log: string;
|
|
114
|
+
exitCode: number;
|
|
115
|
+
};
|
|
116
|
+
assertions: string[];
|
|
117
|
+
nextStates: never[];
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
//# sourceMappingURL=machine-e2e-meta.d.ts.map
|
|
@@ -35,11 +35,19 @@ interface BuildMachineInput {
|
|
|
35
35
|
repoRoot?: string;
|
|
36
36
|
}
|
|
37
37
|
export declare const buildMachine: import("xstate").StateMachine<BuildContext, BuildEvent, {
|
|
38
|
-
[x: string]: import("xstate").ActorRefFromLogic<import("xstate").PromiseActorLogic<import("./actors/
|
|
38
|
+
[x: string]: import("xstate").ActorRefFromLogic<import("xstate").PromiseActorLogic<import("./actors/clean.js").CleanOutput, import("./actors/clean.js").CleanInput, import("xstate").EventObject>> | import("xstate").ActorRefFromLogic<import("xstate").PromiseActorLogic<import("./actors/build.js").BuildOutput, import("./actors/build.js").BuildInput, import("xstate").EventObject>> | import("xstate").ActorRefFromLogic<import("xstate").PromiseActorLogic<import("./actors/validate.js").ValidateOutput, import("./actors/validate.js").ValidateInput, import("xstate").EventObject>> | import("xstate").ActorRefFromLogic<import("xstate").PromiseActorLogic<import("./actors/manifest.js").ManifestOutput, import("./actors/manifest.js").ManifestInput, import("xstate").EventObject>> | import("xstate").ActorRefFromLogic<import("xstate").PromiseActorLogic<import("./actors/setup.js").DepsInstallOutput, import("./actors/setup.js").SetupInput, import("xstate").EventObject>> | import("xstate").ActorRefFromLogic<import("xstate").PromiseActorLogic<import("./actors/setup.js").EnvCheckOutput, import("./actors/setup.js").SetupInput, import("xstate").EventObject>> | import("xstate").ActorRefFromLogic<import("xstate").PromiseActorLogic<import("./actors/setup.js").SupabaseStartOutput, import("./actors/setup.js").SetupInput, import("xstate").EventObject>> | import("xstate").ActorRefFromLogic<import("xstate").PromiseActorLogic<import("./actors/db-sync.js").DbSyncOutput, import("./actors/db-sync.js").DbSyncInput, import("xstate").EventObject>> | import("xstate").ActorRefFromLogic<import("xstate").PromiseActorLogic<import("./actors/static-checks.js").StaticChecksOutput, import("./actors/static-checks.js").StaticChecksInput, import("xstate").EventObject>> | undefined;
|
|
39
39
|
}, {
|
|
40
|
+
src: "fresh";
|
|
41
|
+
logic: import("xstate").PromiseActorLogic<import("./actors/clean.js").CleanOutput, import("./actors/clean.js").CleanInput, import("xstate").EventObject>;
|
|
42
|
+
id: string | undefined;
|
|
43
|
+
} | {
|
|
40
44
|
src: "build";
|
|
41
45
|
logic: import("xstate").PromiseActorLogic<import("./actors/build.js").BuildOutput, import("./actors/build.js").BuildInput, import("xstate").EventObject>;
|
|
42
46
|
id: string | undefined;
|
|
47
|
+
} | {
|
|
48
|
+
src: "validate";
|
|
49
|
+
logic: import("xstate").PromiseActorLogic<import("./actors/validate.js").ValidateOutput, import("./actors/validate.js").ValidateInput, import("xstate").EventObject>;
|
|
50
|
+
id: string | undefined;
|
|
43
51
|
} | {
|
|
44
52
|
src: "manifest";
|
|
45
53
|
logic: import("xstate").PromiseActorLogic<import("./actors/manifest.js").ManifestOutput, import("./actors/manifest.js").ManifestInput, import("xstate").EventObject>;
|
|
@@ -48,14 +56,6 @@ export declare const buildMachine: import("xstate").StateMachine<BuildContext, B
|
|
|
48
56
|
src: "clean";
|
|
49
57
|
logic: import("xstate").PromiseActorLogic<import("./actors/clean.js").CleanOutput, import("./actors/clean.js").CleanInput, import("xstate").EventObject>;
|
|
50
58
|
id: string | undefined;
|
|
51
|
-
} | {
|
|
52
|
-
src: "fresh";
|
|
53
|
-
logic: import("xstate").PromiseActorLogic<import("./actors/clean.js").CleanOutput, import("./actors/clean.js").CleanInput, import("xstate").EventObject>;
|
|
54
|
-
id: string | undefined;
|
|
55
|
-
} | {
|
|
56
|
-
src: "validate";
|
|
57
|
-
logic: import("xstate").PromiseActorLogic<import("./actors/validate.js").ValidateOutput, import("./actors/validate.js").ValidateInput, import("xstate").EventObject>;
|
|
58
|
-
id: string | undefined;
|
|
59
59
|
} | {
|
|
60
60
|
src: "depsInstall";
|
|
61
61
|
logic: import("xstate").PromiseActorLogic<import("./actors/setup.js").DepsInstallOutput, import("./actors/setup.js").SetupInput, import("xstate").EventObject>;
|
|
@@ -106,64 +106,64 @@ export declare const buildMachine: import("xstate").StateMachine<BuildContext, B
|
|
|
106
106
|
} | {
|
|
107
107
|
type: "isDryRun";
|
|
108
108
|
params: unknown;
|
|
109
|
-
}, never, "
|
|
110
|
-
setup: "
|
|
109
|
+
}, never, "fresh" | "done" | "failed" | "build" | "dryRun" | "validate" | "manifest" | "clean" | "dbSync" | "preClean" | "staticAnalysis" | "idle" | {
|
|
110
|
+
setup: "done" | "depsInstall" | "envCheck" | "supabaseStart";
|
|
111
111
|
}, string, BuildMachineInput, {
|
|
112
112
|
success: boolean;
|
|
113
113
|
exitCode: 0 | 1;
|
|
114
114
|
phases: {
|
|
115
115
|
typeCheck: {
|
|
116
|
-
status: "
|
|
116
|
+
status: "skipped" | "failed" | "pending" | "running" | "passed";
|
|
117
117
|
durationMs: number;
|
|
118
118
|
error?: string | undefined;
|
|
119
119
|
};
|
|
120
120
|
lint: {
|
|
121
|
-
status: "
|
|
121
|
+
status: "skipped" | "failed" | "pending" | "running" | "passed";
|
|
122
122
|
durationMs: number;
|
|
123
123
|
error?: string | undefined;
|
|
124
124
|
};
|
|
125
125
|
build: {
|
|
126
|
-
status: "
|
|
126
|
+
status: "skipped" | "failed" | "pending" | "running" | "passed";
|
|
127
127
|
durationMs: number;
|
|
128
128
|
error?: string | undefined;
|
|
129
129
|
};
|
|
130
130
|
validate: {
|
|
131
|
-
status: "
|
|
131
|
+
status: "skipped" | "failed" | "pending" | "running" | "passed";
|
|
132
132
|
durationMs: number;
|
|
133
133
|
error?: string | undefined;
|
|
134
134
|
};
|
|
135
135
|
depsInstall?: {
|
|
136
|
-
status: "
|
|
136
|
+
status: "skipped" | "failed" | "pending" | "running" | "passed";
|
|
137
137
|
durationMs: number;
|
|
138
138
|
error?: string | undefined;
|
|
139
139
|
} | undefined;
|
|
140
140
|
envCheck?: {
|
|
141
|
-
status: "
|
|
141
|
+
status: "skipped" | "failed" | "pending" | "running" | "passed";
|
|
142
142
|
durationMs: number;
|
|
143
143
|
error?: string | undefined;
|
|
144
144
|
} | undefined;
|
|
145
145
|
supabaseStart?: {
|
|
146
|
-
status: "
|
|
146
|
+
status: "skipped" | "failed" | "pending" | "running" | "passed";
|
|
147
147
|
durationMs: number;
|
|
148
148
|
error?: string | undefined;
|
|
149
149
|
} | undefined;
|
|
150
150
|
clean?: {
|
|
151
|
-
status: "
|
|
151
|
+
status: "skipped" | "failed" | "pending" | "running" | "passed";
|
|
152
152
|
durationMs: number;
|
|
153
153
|
error?: string | undefined;
|
|
154
154
|
} | undefined;
|
|
155
155
|
fresh?: {
|
|
156
|
-
status: "
|
|
156
|
+
status: "skipped" | "failed" | "pending" | "running" | "passed";
|
|
157
157
|
durationMs: number;
|
|
158
158
|
error?: string | undefined;
|
|
159
159
|
} | undefined;
|
|
160
160
|
dbSync?: {
|
|
161
|
-
status: "
|
|
161
|
+
status: "skipped" | "failed" | "pending" | "running" | "passed";
|
|
162
162
|
durationMs: number;
|
|
163
163
|
error?: string | undefined;
|
|
164
164
|
} | undefined;
|
|
165
165
|
manifest?: {
|
|
166
|
-
status: "
|
|
166
|
+
status: "skipped" | "failed" | "pending" | "running" | "passed";
|
|
167
167
|
durationMs: number;
|
|
168
168
|
error?: string | undefined;
|
|
169
169
|
} | undefined;
|
|
@@ -30,6 +30,8 @@ export interface BuildContext {
|
|
|
30
30
|
hasManifestTask: boolean;
|
|
31
31
|
/** Whether turbo.json exists */
|
|
32
32
|
hasTurbo: boolean;
|
|
33
|
+
/** Whether Supabase is running (set by setup phase, avoids re-checking in dbSync) */
|
|
34
|
+
supabaseRunning: boolean;
|
|
33
35
|
phases: {
|
|
34
36
|
depsInstall: BuildPhaseResult | null;
|
|
35
37
|
envCheck: BuildPhaseResult | null;
|
|
@@ -64,10 +66,6 @@ export declare function createInitialContext(input: BuildInput, repoRoot: string
|
|
|
64
66
|
* Create output from context.
|
|
65
67
|
*/
|
|
66
68
|
export declare function createOutput(context: BuildContext): BuildOutput;
|
|
67
|
-
/**
|
|
68
|
-
* Extract error message from unknown error value.
|
|
69
|
-
*/
|
|
70
|
-
export declare function getErrorMessage(error: unknown): string;
|
|
71
69
|
/**
|
|
72
70
|
* Create a phase result.
|
|
73
71
|
*/
|
|
@@ -37,8 +37,8 @@ export declare const CiPhaseSchema: z.ZodEnum<{
|
|
|
37
37
|
}>;
|
|
38
38
|
export type CiPhase = z.infer<typeof CiPhaseSchema>;
|
|
39
39
|
export declare const CiDbModeSchema: z.ZodEnum<{
|
|
40
|
-
local: "local";
|
|
41
40
|
auto: "auto";
|
|
41
|
+
local: "local";
|
|
42
42
|
}>;
|
|
43
43
|
export type CiDbMode = z.infer<typeof CiDbModeSchema>;
|
|
44
44
|
export declare const RepoKindSchema: z.ZodEnum<{
|
|
@@ -49,17 +49,17 @@ export declare const RepoKindSchema: z.ZodEnum<{
|
|
|
49
49
|
export type RepoKind = z.infer<typeof RepoKindSchema>;
|
|
50
50
|
export declare const StepStatusSchema: z.ZodEnum<{
|
|
51
51
|
timeout: "timeout";
|
|
52
|
-
passed: "passed";
|
|
53
|
-
failed: "failed";
|
|
54
52
|
skipped: "skipped";
|
|
53
|
+
failed: "failed";
|
|
54
|
+
passed: "passed";
|
|
55
55
|
}>;
|
|
56
56
|
export type StepStatus = z.infer<typeof StepStatusSchema>;
|
|
57
57
|
export declare const LayerStatusSchema: z.ZodEnum<{
|
|
58
|
+
killed: "killed";
|
|
58
59
|
timeout: "timeout";
|
|
59
|
-
passed: "passed";
|
|
60
|
-
failed: "failed";
|
|
61
60
|
skipped: "skipped";
|
|
62
|
-
|
|
61
|
+
failed: "failed";
|
|
62
|
+
passed: "passed";
|
|
63
63
|
}>;
|
|
64
64
|
export type LayerStatus = z.infer<typeof LayerStatusSchema>;
|
|
65
65
|
/**
|
|
@@ -110,8 +110,8 @@ export declare const CiInputSchema: z.ZodObject<{
|
|
|
110
110
|
test: "test";
|
|
111
111
|
}>>;
|
|
112
112
|
dbMode: z.ZodOptional<z.ZodEnum<{
|
|
113
|
-
local: "local";
|
|
114
113
|
auto: "auto";
|
|
114
|
+
local: "local";
|
|
115
115
|
}>>;
|
|
116
116
|
branchName: z.ZodOptional<z.ZodString>;
|
|
117
117
|
skipStaticChecks: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -220,11 +220,11 @@ export type CapabilityResult = z.infer<typeof CapabilityResultSchema>;
|
|
|
220
220
|
export declare const LayerResultSchema: z.ZodObject<{
|
|
221
221
|
layer: z.ZodNumber;
|
|
222
222
|
status: z.ZodEnum<{
|
|
223
|
+
killed: "killed";
|
|
223
224
|
timeout: "timeout";
|
|
224
|
-
passed: "passed";
|
|
225
|
-
failed: "failed";
|
|
226
225
|
skipped: "skipped";
|
|
227
|
-
|
|
226
|
+
failed: "failed";
|
|
227
|
+
passed: "passed";
|
|
228
228
|
}>;
|
|
229
229
|
exitCode: z.ZodNumber;
|
|
230
230
|
passed: z.ZodOptional<z.ZodNumber>;
|
|
@@ -241,11 +241,11 @@ export type LayerResult = z.infer<typeof LayerResultSchema>;
|
|
|
241
241
|
export declare const TestRunResultSchema: z.ZodObject<{
|
|
242
242
|
passed: z.ZodBoolean;
|
|
243
243
|
layerResults: z.ZodRecord<z.ZodCoercedNumber<unknown>, z.ZodEnum<{
|
|
244
|
+
killed: "killed";
|
|
244
245
|
timeout: "timeout";
|
|
245
|
-
passed: "passed";
|
|
246
|
-
failed: "failed";
|
|
247
246
|
skipped: "skipped";
|
|
248
|
-
|
|
247
|
+
failed: "failed";
|
|
248
|
+
passed: "passed";
|
|
249
249
|
}>>;
|
|
250
250
|
passedCount: z.ZodNumber;
|
|
251
251
|
failedCount: z.ZodNumber;
|
|
@@ -267,9 +267,9 @@ export type FinalizeResult = z.infer<typeof FinalizeResultSchema>;
|
|
|
267
267
|
export declare const StepSummarySchema: z.ZodObject<{
|
|
268
268
|
status: z.ZodEnum<{
|
|
269
269
|
timeout: "timeout";
|
|
270
|
-
passed: "passed";
|
|
271
|
-
failed: "failed";
|
|
272
270
|
skipped: "skipped";
|
|
271
|
+
failed: "failed";
|
|
272
|
+
passed: "passed";
|
|
273
273
|
}>;
|
|
274
274
|
exitCode: z.ZodOptional<z.ZodNumber>;
|
|
275
275
|
logPath: z.ZodOptional<z.ZodString>;
|
|
@@ -281,11 +281,11 @@ export type StepSummary = z.infer<typeof StepSummarySchema>;
|
|
|
281
281
|
*/
|
|
282
282
|
export declare const LayerSummarySchema: z.ZodObject<{
|
|
283
283
|
status: z.ZodEnum<{
|
|
284
|
+
killed: "killed";
|
|
284
285
|
timeout: "timeout";
|
|
285
|
-
passed: "passed";
|
|
286
|
-
failed: "failed";
|
|
287
286
|
skipped: "skipped";
|
|
288
|
-
|
|
287
|
+
failed: "failed";
|
|
288
|
+
passed: "passed";
|
|
289
289
|
}>;
|
|
290
290
|
exitCode: z.ZodNumber;
|
|
291
291
|
passed: z.ZodOptional<z.ZodNumber>;
|
|
@@ -295,8 +295,8 @@ export declare const LayerSummarySchema: z.ZodObject<{
|
|
|
295
295
|
logPath: z.ZodOptional<z.ZodString>;
|
|
296
296
|
description: z.ZodOptional<z.ZodString>;
|
|
297
297
|
level: z.ZodOptional<z.ZodEnum<{
|
|
298
|
-
blocking: "blocking";
|
|
299
298
|
warning: "warning";
|
|
299
|
+
blocking: "blocking";
|
|
300
300
|
reportOnly: "reportOnly";
|
|
301
301
|
}>>;
|
|
302
302
|
}, z.core.$strip>;
|
|
@@ -310,8 +310,8 @@ export declare const CiOutputSchema: z.ZodObject<{
|
|
|
310
310
|
"ci-pr-local": "ci-pr-local";
|
|
311
311
|
}>;
|
|
312
312
|
status: z.ZodEnum<{
|
|
313
|
-
timeout: "timeout";
|
|
314
313
|
success: "success";
|
|
314
|
+
timeout: "timeout";
|
|
315
315
|
failure: "failure";
|
|
316
316
|
cancelled: "cancelled";
|
|
317
317
|
}>;
|
|
@@ -323,9 +323,9 @@ export declare const CiOutputSchema: z.ZodObject<{
|
|
|
323
323
|
steps: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
324
324
|
status: z.ZodEnum<{
|
|
325
325
|
timeout: "timeout";
|
|
326
|
-
passed: "passed";
|
|
327
|
-
failed: "failed";
|
|
328
326
|
skipped: "skipped";
|
|
327
|
+
failed: "failed";
|
|
328
|
+
passed: "passed";
|
|
329
329
|
}>;
|
|
330
330
|
exitCode: z.ZodOptional<z.ZodNumber>;
|
|
331
331
|
logPath: z.ZodOptional<z.ZodString>;
|
|
@@ -333,11 +333,11 @@ export declare const CiOutputSchema: z.ZodObject<{
|
|
|
333
333
|
}, z.core.$strip>>;
|
|
334
334
|
layers: z.ZodRecord<z.ZodCoercedNumber<unknown>, z.ZodObject<{
|
|
335
335
|
status: z.ZodEnum<{
|
|
336
|
+
killed: "killed";
|
|
336
337
|
timeout: "timeout";
|
|
337
|
-
passed: "passed";
|
|
338
|
-
failed: "failed";
|
|
339
338
|
skipped: "skipped";
|
|
340
|
-
|
|
339
|
+
failed: "failed";
|
|
340
|
+
passed: "passed";
|
|
341
341
|
}>;
|
|
342
342
|
exitCode: z.ZodNumber;
|
|
343
343
|
passed: z.ZodOptional<z.ZodNumber>;
|
|
@@ -347,8 +347,8 @@ export declare const CiOutputSchema: z.ZodObject<{
|
|
|
347
347
|
logPath: z.ZodOptional<z.ZodString>;
|
|
348
348
|
description: z.ZodOptional<z.ZodString>;
|
|
349
349
|
level: z.ZodOptional<z.ZodEnum<{
|
|
350
|
-
blocking: "blocking";
|
|
351
350
|
warning: "warning";
|
|
351
|
+
blocking: "blocking";
|
|
352
352
|
reportOnly: "reportOnly";
|
|
353
353
|
}>>;
|
|
354
354
|
}, z.core.$strip>>;
|
|
@@ -6,11 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* Usage: Called by upsertComment actor at CI completion
|
|
8
8
|
*/
|
|
9
|
-
import type { CommentInput
|
|
10
|
-
/**
|
|
11
|
-
* Get GitHub environment from process.env.
|
|
12
|
-
*/
|
|
13
|
-
export declare function getGitHubEnv(): GitHubEnv;
|
|
9
|
+
import type { CommentInput } from '../github-comment-types.js';
|
|
14
10
|
/**
|
|
15
11
|
* Generate GitHub PR comment body from CI context (final result or intermediate).
|
|
16
12
|
*/
|