@runa-ai/runa-cli 0.5.72 → 0.7.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-V66FAQXB.js +1719 -0
- package/dist/cache-N7WNPEYF.js +111 -0
- package/dist/check-LOMVIRHX.js +12 -0
- package/dist/chunk-2APB25TT.js +442 -0
- package/dist/chunk-3FDQW524.js +544 -0
- package/dist/chunk-3WDV32GA.js +33 -0
- package/dist/chunk-5FT3F36G.js +59 -0
- package/dist/chunk-5NKWR4FF.js +254 -0
- package/dist/chunk-644FVGIQ.js +194 -0
- package/dist/chunk-6AALH2ED.js +121 -0
- package/dist/chunk-6FAU4IGR.js +63 -0
- package/dist/chunk-6Y3LAUGL.js +35 -0
- package/dist/chunk-7B5C6U2K.js +274 -0
- package/dist/chunk-AAIE4F2U.js +140 -0
- package/dist/chunk-AIP6MR42.js +12 -0
- package/dist/chunk-CCKG5R4Y.js +59 -0
- package/dist/chunk-DRSUEMAK.js +123 -0
- package/dist/chunk-FHG3ILE4.js +2011 -0
- package/dist/chunk-H2AHNI75.js +31 -0
- package/dist/chunk-HD74F6W2.js +460 -0
- package/dist/chunk-HKUWEGUX.js +36 -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-KE6QJBZG.js +41 -0
- package/dist/chunk-KWX3JHCY.js +85 -0
- package/dist/chunk-MXRWBNIY.js +74 -0
- package/dist/chunk-NPSRD26F.js +149 -0
- package/dist/chunk-QDF7QXBL.js +67 -0
- package/dist/chunk-QM53IQHM.js +209 -0
- package/dist/chunk-RZLYEO4U.js +219 -0
- package/dist/chunk-SGJG3BKD.js +351 -0
- package/dist/chunk-TYIAD6SB.js +74 -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-WJXC4MVY.js +75 -0
- package/dist/chunk-XDCHRVE3.js +215 -0
- package/dist/chunk-Z4Z5DNW4.js +1196 -0
- package/dist/chunk-ZZOXM6Q4.js +8 -0
- package/dist/ci-ZWRVWNFX.js +9298 -0
- package/dist/cli/contract-output.d.ts +1 -0
- package/dist/cli/index.d.ts +7 -1
- package/dist/cli/requested-command.d.ts +8 -0
- package/dist/cli-2JNBJUBB.js +704 -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/actors/validate.d.ts +2 -0
- 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/check/commands/check.d.ts +8 -3
- package/dist/commands/ci/machine/actors/db/collect-schema-stats.d.ts +9 -6
- package/dist/commands/ci/machine/actors/db/schema-canonical-diff.d.ts +55 -0
- package/dist/commands/ci/machine/actors/db/schema-stats.d.ts +11 -0
- package/dist/commands/ci/machine/actors/db/sync-schema.d.ts +9 -1
- 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/formatters/sections/schema-matrix.d.ts +3 -3
- 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 +2 -5
- package/dist/commands/ci/utils/ci-summary.d.ts +15 -15
- package/dist/commands/ci/utils/execa-helpers.d.ts +2 -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/error-classifier.d.ts +9 -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 +12 -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/actors/tables-manifest.d.ts +16 -0
- package/dist/commands/dev/contract.d.ts +3 -3
- package/dist/commands/dev/guards.d.ts +24 -0
- package/dist/commands/dev/machine.d.ts +27 -32
- package/dist/commands/dev/types.d.ts +2 -0
- package/dist/commands/doctor.d.ts +9 -0
- 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/inject-test-attrs/defaults.d.ts +9 -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/commands/utils/machine-state-logging.d.ts +20 -0
- package/dist/commands/utils/repo-root.d.ts +2 -0
- package/dist/config/env.d.ts +4 -4
- package/dist/config-loader-GT3HAQ7U.js +7 -0
- package/dist/db-XULCILOU.js +14137 -0
- package/dist/dev-5YXNPTCJ.js +992 -0
- package/dist/doctor-MZLOA53G.js +44 -0
- package/dist/env-HMMRSYCI.js +7 -0
- package/dist/env-SS66PZ4B.js +2623 -0
- package/dist/env-files-2UIUYLLR.js +8 -0
- package/dist/error-handler-HEXBRNVV.js +460 -0
- package/dist/hotfix-YA3DGLOM.js +1477 -0
- package/dist/index.d.ts +5 -1
- package/dist/index.js +48 -42995
- package/dist/init-ZIL6LRFO.js +631 -0
- package/dist/inject-test-attrs-P44BVTQS.js +23 -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-VSNDVZZD.js +59 -0
- package/dist/manifest-TMFLESHW.js +19 -0
- package/dist/prepare-32DOVHTE.js +250 -0
- package/dist/risk-detector-4U6ZJ2G5.js +6 -0
- package/dist/risk-detector-core-TK4OAI3N.js +166 -0
- package/dist/risk-detector-plpgsql-HWKS4OLR.js +1886 -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-UTKS63AB.js +94 -0
- package/dist/telemetry-P56UBLZ2.js +93 -0
- package/dist/template-check-3P4HZXVY.js +1944 -0
- package/dist/test-V4KQL574.js +650 -0
- package/dist/test-gen-FS4CEY3P.js +88 -0
- package/dist/ui-RJAMCWUI.js +331 -0
- package/dist/upgrade-NUK3ZBCL.js +637 -0
- package/dist/utils/config-loader.d.ts +0 -3
- package/dist/validate-CAAW4Y44.js +54 -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-2W7N5TA2.js +121 -0
- package/dist/vuln-checker-IQJ56RUV.js +3223 -0
- package/dist/watch-PNTKZYFB.js +911 -0
- package/dist/workflow-H75N4BXX.js +897 -0
- package/package.json +5 -2
- 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
|
|
@@ -11,12 +11,14 @@
|
|
|
11
11
|
export interface ValidateInput {
|
|
12
12
|
repoRoot: string;
|
|
13
13
|
skipManifest: boolean;
|
|
14
|
+
skipTables: boolean;
|
|
14
15
|
}
|
|
15
16
|
export interface ValidateOutput {
|
|
16
17
|
passed: boolean;
|
|
17
18
|
checks: {
|
|
18
19
|
buildOutputs: boolean;
|
|
19
20
|
manifests: boolean;
|
|
21
|
+
tables: boolean;
|
|
20
22
|
};
|
|
21
23
|
warnings: string[];
|
|
22
24
|
error?: string;
|
|
@@ -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
|
*/
|
|
@@ -13,14 +13,19 @@
|
|
|
13
13
|
* - 1: Critical issues found (blocks operations)
|
|
14
14
|
*/
|
|
15
15
|
import { Command } from 'commander';
|
|
16
|
-
interface CheckOptions {
|
|
16
|
+
export interface CheckOptions {
|
|
17
17
|
scope?: 'all' | 'build' | 'ci' | 'deploy' | 'testing' | 'layer1' | 'layer2' | 'layer3' | 'layer4';
|
|
18
18
|
fix?: boolean;
|
|
19
19
|
verbose?: boolean;
|
|
20
20
|
dryRun?: boolean;
|
|
21
21
|
cwd?: string;
|
|
22
22
|
}
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
interface RunCheckCommandOptions {
|
|
24
|
+
command: Command;
|
|
25
|
+
loggerName: string;
|
|
26
|
+
deprecationNotice?: string;
|
|
27
|
+
}
|
|
28
|
+
export declare function runCheckCommand(options: CheckOptions, runOptions: RunCheckCommandOptions): Promise<void>;
|
|
25
29
|
export declare const checkCommand: Command;
|
|
30
|
+
export {};
|
|
26
31
|
//# sourceMappingURL=check.d.ts.map
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* AI HINT: Collect Schema Stats Actor
|
|
3
3
|
*
|
|
4
|
-
* Purpose: Collect schema statistics from
|
|
4
|
+
* Purpose: Collect schema statistics from Reference, CI, and Production databases
|
|
5
5
|
* Pattern: Fine-grained actor for single step
|
|
6
6
|
*
|
|
7
|
-
*
|
|
8
|
-
* -
|
|
9
|
-
* Note: Schema files include both declarative/*.sql AND idempotent/*.sql
|
|
7
|
+
* Comparison strategy:
|
|
8
|
+
* - Reference stats: Build a temporary reference DB from repo SQL, then query it
|
|
10
9
|
* - CI stats: Query CI database (Docker Supabase or Branch DB)
|
|
11
10
|
* - Production stats: Query Production DB (if GH_DATABASE_URL_ADMIN set)
|
|
12
11
|
*
|
|
@@ -18,12 +17,16 @@
|
|
|
18
17
|
*/
|
|
19
18
|
import { type SchemaStatsSnapshot } from './schema-stats.js';
|
|
20
19
|
export interface CollectSchemaStatsInput {
|
|
21
|
-
/**
|
|
22
|
-
|
|
20
|
+
/** Repository root (used to build a reference DB from repo SQL) */
|
|
21
|
+
repoRoot: string;
|
|
22
|
+
/** Reference source DB URL (used to create/drop temp DB) */
|
|
23
|
+
referenceDbUrl: string | null;
|
|
23
24
|
/** CI database URL (Docker Supabase or Branch DB) */
|
|
24
25
|
ciDbUrl: string | null;
|
|
25
26
|
/** Whether to query production (requires GH_DATABASE_URL_ADMIN) */
|
|
26
27
|
queryProduction: boolean;
|
|
28
|
+
/** Temporary directory for logs */
|
|
29
|
+
tmpDir: string;
|
|
27
30
|
}
|
|
28
31
|
export interface CollectSchemaStatsOutput {
|
|
29
32
|
/** Schema statistics snapshot */
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AI HINT: Canonical schema snapshot + semantic diff
|
|
3
|
+
*
|
|
4
|
+
* Purpose: Detect schema drift beyond simple T/F/P/I counts.
|
|
5
|
+
* Pattern: Normalize PostgreSQL catalog metadata into stable signatures.
|
|
6
|
+
*
|
|
7
|
+
* Detects semantic differences in:
|
|
8
|
+
* - Tables (columns, constraints, RLS flags)
|
|
9
|
+
* - Functions (signature, language, volatility, security, body)
|
|
10
|
+
* - Policies (command, roles, USING / WITH CHECK)
|
|
11
|
+
* - Indexes (definition, uniqueness, predicate)
|
|
12
|
+
* - Triggers (definition)
|
|
13
|
+
*/
|
|
14
|
+
export type CanonicalSchemaObjectKind = 'table' | 'function' | 'policy' | 'index' | 'trigger';
|
|
15
|
+
export interface CanonicalSchemaObject {
|
|
16
|
+
kind: CanonicalSchemaObjectKind;
|
|
17
|
+
schema: string;
|
|
18
|
+
name: string;
|
|
19
|
+
key: string;
|
|
20
|
+
label: string;
|
|
21
|
+
parentName?: string;
|
|
22
|
+
signature: string;
|
|
23
|
+
}
|
|
24
|
+
export interface CanonicalSchemaSnapshot {
|
|
25
|
+
available: boolean;
|
|
26
|
+
objects: CanonicalSchemaObject[];
|
|
27
|
+
error?: string;
|
|
28
|
+
}
|
|
29
|
+
export interface CanonicalSchemaObjectPair {
|
|
30
|
+
reference: CanonicalSchemaObject;
|
|
31
|
+
target: CanonicalSchemaObject;
|
|
32
|
+
}
|
|
33
|
+
export interface CanonicalSchemaDiff {
|
|
34
|
+
missing: CanonicalSchemaObject[];
|
|
35
|
+
extra: CanonicalSchemaObject[];
|
|
36
|
+
changed: CanonicalSchemaObjectPair[];
|
|
37
|
+
renamed: CanonicalSchemaObjectPair[];
|
|
38
|
+
}
|
|
39
|
+
export interface SchemaSemanticSummary {
|
|
40
|
+
hasChanges: boolean;
|
|
41
|
+
changedKinds: CanonicalSchemaObjectKind[];
|
|
42
|
+
counts: {
|
|
43
|
+
missing: number;
|
|
44
|
+
extra: number;
|
|
45
|
+
changed: number;
|
|
46
|
+
renamed: number;
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
export type CanonicalDiffBySchema = Record<string, SchemaSemanticSummary>;
|
|
50
|
+
export declare function createUnavailableCanonicalSnapshot(error: string): CanonicalSchemaSnapshot;
|
|
51
|
+
export declare function getCanonicalSchemaSnapshot(databaseUrl: string): Promise<CanonicalSchemaSnapshot>;
|
|
52
|
+
export declare function compareCanonicalSnapshots(reference: CanonicalSchemaSnapshot, target: CanonicalSchemaSnapshot): CanonicalSchemaDiff;
|
|
53
|
+
export declare function summarizeCanonicalDiffBySchema(diff: CanonicalSchemaDiff): CanonicalDiffBySchema;
|
|
54
|
+
export declare function hasCanonicalChanges(diff: CanonicalSchemaDiff): boolean;
|
|
55
|
+
//# sourceMappingURL=schema-canonical-diff.d.ts.map
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
* - Supabase platform functions: supabase_* (not extension-owned)
|
|
33
33
|
* - PostgREST platform functions: postgrest_*, pgrst_*, _pgrst_* (not extension-owned)
|
|
34
34
|
*/
|
|
35
|
+
import type { CanonicalSchemaSnapshot } from './schema-canonical-diff.js';
|
|
35
36
|
/**
|
|
36
37
|
* Statistics for a single schema.
|
|
37
38
|
*/
|
|
@@ -59,6 +60,10 @@ export interface IndexInfo {
|
|
|
59
60
|
isPartial: boolean;
|
|
60
61
|
/** WHERE clause for partial indexes (e.g., 'check_run_id IS NOT NULL') */
|
|
61
62
|
whereClause?: string;
|
|
63
|
+
/** Access method (e.g., btree, gin) */
|
|
64
|
+
accessMethod?: string;
|
|
65
|
+
/** Normalized index definition for semantic comparison */
|
|
66
|
+
definition?: string;
|
|
62
67
|
}
|
|
63
68
|
/**
|
|
64
69
|
* Statistics for all schemas in an environment.
|
|
@@ -70,6 +75,12 @@ export interface EnvironmentSchemaStats {
|
|
|
70
75
|
total: SchemaStats;
|
|
71
76
|
/** Detailed index list for diff detection (optional for backward compatibility) */
|
|
72
77
|
indexList?: IndexInfo[];
|
|
78
|
+
/** Canonical snapshot for semantic diff detection */
|
|
79
|
+
canonicalSnapshot?: CanonicalSchemaSnapshot;
|
|
80
|
+
/** False when stats collection failed and counts should not be trusted */
|
|
81
|
+
available?: boolean;
|
|
82
|
+
/** Collection error summary for degraded display */
|
|
83
|
+
error?: string;
|
|
73
84
|
}
|
|
74
85
|
/**
|
|
75
86
|
* Snapshot of schema statistics across all environments.
|