@runa-ai/runa-cli 0.5.26
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.
Potentially problematic release.
This version of @runa-ai/runa-cli might be problematic. Click here for more details.
- package/dist/cli/contract-mode.d.ts +2 -0
- package/dist/cli/contract-mode.d.ts.map +1 -0
- package/dist/cli/contract-output.d.ts +4 -0
- package/dist/cli/contract-output.d.ts.map +1 -0
- package/dist/cli/early-flags.d.ts +10 -0
- package/dist/cli/early-flags.d.ts.map +1 -0
- package/dist/cli/error-handler.d.ts +28 -0
- package/dist/cli/error-handler.d.ts.map +1 -0
- package/dist/cli/exec.d.ts +15 -0
- package/dist/cli/exec.d.ts.map +1 -0
- package/dist/cli/index.d.ts +16 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/json-output.d.ts +4 -0
- package/dist/cli/json-output.d.ts.map +1 -0
- package/dist/cli/non-interactive.d.ts +4 -0
- package/dist/cli/non-interactive.d.ts.map +1 -0
- package/dist/cli/output-format.d.ts +5 -0
- package/dist/cli/output-format.d.ts.map +1 -0
- package/dist/cli/signal-handler.d.ts +32 -0
- package/dist/cli/signal-handler.d.ts.map +1 -0
- package/dist/commands/build/actors/build.d.ts +32 -0
- package/dist/commands/build/actors/build.d.ts.map +1 -0
- package/dist/commands/build/actors/clean.d.ts +36 -0
- package/dist/commands/build/actors/clean.d.ts.map +1 -0
- package/dist/commands/build/actors/db-sync.d.ts +30 -0
- package/dist/commands/build/actors/db-sync.d.ts.map +1 -0
- package/dist/commands/build/actors/index.d.ts +20 -0
- package/dist/commands/build/actors/index.d.ts.map +1 -0
- package/dist/commands/build/actors/manifest.d.ts +34 -0
- package/dist/commands/build/actors/manifest.d.ts.map +1 -0
- package/dist/commands/build/actors/setup.d.ts +74 -0
- package/dist/commands/build/actors/setup.d.ts.map +1 -0
- package/dist/commands/build/actors/static-checks.d.ts +36 -0
- package/dist/commands/build/actors/static-checks.d.ts.map +1 -0
- package/dist/commands/build/actors/validate.d.ts +28 -0
- package/dist/commands/build/actors/validate.d.ts.map +1 -0
- package/dist/commands/build/commands/build.d.ts +25 -0
- package/dist/commands/build/commands/build.d.ts.map +1 -0
- package/dist/commands/build/contract.d.ts +213 -0
- package/dist/commands/build/contract.d.ts.map +1 -0
- package/dist/commands/build/guards.d.ts +106 -0
- package/dist/commands/build/guards.d.ts.map +1 -0
- package/dist/commands/build/index.d.ts +9 -0
- package/dist/commands/build/index.d.ts.map +1 -0
- package/dist/commands/build/machine.d.ts +212 -0
- package/dist/commands/build/machine.d.ts.map +1 -0
- package/dist/commands/build/types.d.ts +75 -0
- package/dist/commands/build/types.d.ts.map +1 -0
- package/dist/commands/cache.d.ts +32 -0
- package/dist/commands/cache.d.ts.map +1 -0
- package/dist/commands/check/commands/check.d.ts +26 -0
- package/dist/commands/check/commands/check.d.ts.map +1 -0
- package/dist/commands/check/index.d.ts +24 -0
- package/dist/commands/check/index.d.ts.map +1 -0
- package/dist/commands/ci/commands/ci-checks.d.ts +14 -0
- package/dist/commands/ci/commands/ci-checks.d.ts.map +1 -0
- package/dist/commands/ci/commands/ci-layer-content.d.ts +40 -0
- package/dist/commands/ci/commands/ci-layer-content.d.ts.map +1 -0
- package/dist/commands/ci/commands/ci-pr-capabilities.d.ts +30 -0
- package/dist/commands/ci/commands/ci-pr-capabilities.d.ts.map +1 -0
- package/dist/commands/ci/commands/ci-prod-apply.d.ts +10 -0
- package/dist/commands/ci/commands/ci-prod-apply.d.ts.map +1 -0
- package/dist/commands/ci/commands/ci-prod-db-operations.d.ts +98 -0
- package/dist/commands/ci/commands/ci-prod-db-operations.d.ts.map +1 -0
- package/dist/commands/ci/commands/ci-prod-github.d.ts +28 -0
- package/dist/commands/ci/commands/ci-prod-github.d.ts.map +1 -0
- package/dist/commands/ci/commands/ci-prod-utils.d.ts +33 -0
- package/dist/commands/ci/commands/ci-prod-utils.d.ts.map +1 -0
- package/dist/commands/ci/commands/ci-resolvers.d.ts +71 -0
- package/dist/commands/ci/commands/ci-resolvers.d.ts.map +1 -0
- package/dist/commands/ci/commands/ci-static.d.ts +18 -0
- package/dist/commands/ci/commands/ci-static.d.ts.map +1 -0
- package/dist/commands/ci/commands/ci-supabase-local.d.ts +51 -0
- package/dist/commands/ci/commands/ci-supabase-local.d.ts.map +1 -0
- package/dist/commands/ci/index.d.ts +23 -0
- package/dist/commands/ci/index.d.ts.map +1 -0
- package/dist/commands/ci/machine/actors/build/app-build.d.ts +31 -0
- package/dist/commands/ci/machine/actors/build/app-build.d.ts.map +1 -0
- package/dist/commands/ci/machine/actors/build/app-start.d.ts +47 -0
- package/dist/commands/ci/machine/actors/build/app-start.d.ts.map +1 -0
- package/dist/commands/ci/machine/actors/build/build-and-playwright.d.ts +41 -0
- package/dist/commands/ci/machine/actors/build/build-and-playwright.d.ts.map +1 -0
- package/dist/commands/ci/machine/actors/build/index.d.ts +12 -0
- package/dist/commands/ci/machine/actors/build/index.d.ts.map +1 -0
- package/dist/commands/ci/machine/actors/build/playwright-install.d.ts +30 -0
- package/dist/commands/ci/machine/actors/build/playwright-install.d.ts.map +1 -0
- package/dist/commands/ci/machine/actors/build/static-checks.d.ts +35 -0
- package/dist/commands/ci/machine/actors/build/static-checks.d.ts.map +1 -0
- package/dist/commands/ci/machine/actors/db/apply-seeds.d.ts +32 -0
- package/dist/commands/ci/machine/actors/db/apply-seeds.d.ts.map +1 -0
- package/dist/commands/ci/machine/actors/db/collect-schema-stats.d.ts +38 -0
- package/dist/commands/ci/machine/actors/db/collect-schema-stats.d.ts.map +1 -0
- package/dist/commands/ci/machine/actors/db/index.d.ts +16 -0
- package/dist/commands/ci/machine/actors/db/index.d.ts.map +1 -0
- package/dist/commands/ci/machine/actors/db/pgtap-install.d.ts +33 -0
- package/dist/commands/ci/machine/actors/db/pgtap-install.d.ts.map +1 -0
- package/dist/commands/ci/machine/actors/db/production-preview.d.ts +34 -0
- package/dist/commands/ci/machine/actors/db/production-preview.d.ts.map +1 -0
- package/dist/commands/ci/machine/actors/db/pull-production.d.ts +35 -0
- package/dist/commands/ci/machine/actors/db/pull-production.d.ts.map +1 -0
- package/dist/commands/ci/machine/actors/db/reset.d.ts +31 -0
- package/dist/commands/ci/machine/actors/db/reset.d.ts.map +1 -0
- package/dist/commands/ci/machine/actors/db/schema-stats.d.ts +141 -0
- package/dist/commands/ci/machine/actors/db/schema-stats.d.ts.map +1 -0
- package/dist/commands/ci/machine/actors/db/setup-roles.d.ts +37 -0
- package/dist/commands/ci/machine/actors/db/setup-roles.d.ts.map +1 -0
- package/dist/commands/ci/machine/actors/db/sync-schema.d.ts +48 -0
- package/dist/commands/ci/machine/actors/db/sync-schema.d.ts.map +1 -0
- package/dist/commands/ci/machine/actors/finalize/github.d.ts +66 -0
- package/dist/commands/ci/machine/actors/finalize/github.d.ts.map +1 -0
- package/dist/commands/ci/machine/actors/finalize/index.d.ts +9 -0
- package/dist/commands/ci/machine/actors/finalize/index.d.ts.map +1 -0
- package/dist/commands/ci/machine/actors/finalize/summary.d.ts +32 -0
- package/dist/commands/ci/machine/actors/finalize/summary.d.ts.map +1 -0
- package/dist/commands/ci/machine/actors/index.d.ts +17 -0
- package/dist/commands/ci/machine/actors/index.d.ts.map +1 -0
- package/dist/commands/ci/machine/actors/setup/index.d.ts +10 -0
- package/dist/commands/ci/machine/actors/setup/index.d.ts.map +1 -0
- package/dist/commands/ci/machine/actors/setup/local.d.ts +41 -0
- package/dist/commands/ci/machine/actors/setup/local.d.ts.map +1 -0
- package/dist/commands/ci/machine/actors/setup/pr-common.d.ts +145 -0
- package/dist/commands/ci/machine/actors/setup/pr-common.d.ts.map +1 -0
- package/dist/commands/ci/machine/actors/setup/pr-local.d.ts +17 -0
- package/dist/commands/ci/machine/actors/setup/pr-local.d.ts.map +1 -0
- package/dist/commands/ci/machine/actors/test/capabilities.d.ts +66 -0
- package/dist/commands/ci/machine/actors/test/capabilities.d.ts.map +1 -0
- package/dist/commands/ci/machine/actors/test/index.d.ts +9 -0
- package/dist/commands/ci/machine/actors/test/index.d.ts.map +1 -0
- package/dist/commands/ci/machine/actors/test/run-layers.d.ts +43 -0
- package/dist/commands/ci/machine/actors/test/run-layers.d.ts.map +1 -0
- package/dist/commands/ci/machine/commands/ci-local.d.ts +18 -0
- package/dist/commands/ci/machine/commands/ci-local.d.ts.map +1 -0
- package/dist/commands/ci/machine/commands/ci-pr.d.ts +14 -0
- package/dist/commands/ci/machine/commands/ci-pr.d.ts.map +1 -0
- package/dist/commands/ci/machine/commands/index.d.ts +13 -0
- package/dist/commands/ci/machine/commands/index.d.ts.map +1 -0
- package/dist/commands/ci/machine/commands/machine-runner.d.ts +36 -0
- package/dist/commands/ci/machine/commands/machine-runner.d.ts.map +1 -0
- package/dist/commands/ci/machine/contract.d.ts +393 -0
- package/dist/commands/ci/machine/contract.d.ts.map +1 -0
- package/dist/commands/ci/machine/formatters/github-comment-types.d.ts +87 -0
- package/dist/commands/ci/machine/formatters/github-comment-types.d.ts.map +1 -0
- package/dist/commands/ci/machine/formatters/github-comment.d.ts +44 -0
- package/dist/commands/ci/machine/formatters/github-comment.d.ts.map +1 -0
- package/dist/commands/ci/machine/formatters/index.d.ts +13 -0
- package/dist/commands/ci/machine/formatters/index.d.ts.map +1 -0
- package/dist/commands/ci/machine/formatters/sections/final-comment.d.ts +18 -0
- package/dist/commands/ci/machine/formatters/sections/final-comment.d.ts.map +1 -0
- package/dist/commands/ci/machine/formatters/sections/format-helpers.d.ts +63 -0
- package/dist/commands/ci/machine/formatters/sections/format-helpers.d.ts.map +1 -0
- package/dist/commands/ci/machine/formatters/sections/index.d.ts +10 -0
- package/dist/commands/ci/machine/formatters/sections/index.d.ts.map +1 -0
- package/dist/commands/ci/machine/formatters/sections/progress-comment.d.ts +14 -0
- package/dist/commands/ci/machine/formatters/sections/progress-comment.d.ts.map +1 -0
- package/dist/commands/ci/machine/formatters/sections/schema-matrix.d.ts +25 -0
- package/dist/commands/ci/machine/formatters/sections/schema-matrix.d.ts.map +1 -0
- package/dist/commands/ci/machine/formatters/summary.d.ts +27 -0
- package/dist/commands/ci/machine/formatters/summary.d.ts.map +1 -0
- package/dist/commands/ci/machine/guards.d.ts +136 -0
- package/dist/commands/ci/machine/guards.d.ts.map +1 -0
- package/dist/commands/ci/machine/helpers.d.ts +88 -0
- package/dist/commands/ci/machine/helpers.d.ts.map +1 -0
- package/dist/commands/ci/machine/index.d.ts +21 -0
- package/dist/commands/ci/machine/index.d.ts.map +1 -0
- package/dist/commands/ci/machine/machine.d.ts +315 -0
- package/dist/commands/ci/machine/machine.d.ts.map +1 -0
- package/dist/commands/ci/machine/types.d.ts +264 -0
- package/dist/commands/ci/machine/types.d.ts.map +1 -0
- package/dist/commands/ci/utils/ai-report.d.ts +70 -0
- package/dist/commands/ci/utils/ai-report.d.ts.map +1 -0
- package/dist/commands/ci/utils/app-process.d.ts +29 -0
- package/dist/commands/ci/utils/app-process.d.ts.map +1 -0
- package/dist/commands/ci/utils/app-runtime.d.ts +27 -0
- package/dist/commands/ci/utils/app-runtime.d.ts.map +1 -0
- package/dist/commands/ci/utils/ci-config.d.ts +22 -0
- package/dist/commands/ci/utils/ci-config.d.ts.map +1 -0
- package/dist/commands/ci/utils/ci-env-schema.d.ts +128 -0
- package/dist/commands/ci/utils/ci-env-schema.d.ts.map +1 -0
- package/dist/commands/ci/utils/ci-logging.d.ts +16 -0
- package/dist/commands/ci/utils/ci-logging.d.ts.map +1 -0
- package/dist/commands/ci/utils/ci-summary.d.ts +109 -0
- package/dist/commands/ci/utils/ci-summary.d.ts.map +1 -0
- package/dist/commands/ci/utils/config-readers.d.ts +46 -0
- package/dist/commands/ci/utils/config-readers.d.ts.map +1 -0
- package/dist/commands/ci/utils/db-url-utils.d.ts +81 -0
- package/dist/commands/ci/utils/db-url-utils.d.ts.map +1 -0
- package/dist/commands/ci/utils/e2e-auth-setup.d.ts +78 -0
- package/dist/commands/ci/utils/e2e-auth-setup.d.ts.map +1 -0
- package/dist/commands/ci/utils/execa-helpers.d.ts +14 -0
- package/dist/commands/ci/utils/execa-helpers.d.ts.map +1 -0
- package/dist/commands/ci/utils/exit-code-computation.d.ts +62 -0
- package/dist/commands/ci/utils/exit-code-computation.d.ts.map +1 -0
- package/dist/commands/ci/utils/github-api.d.ts +54 -0
- package/dist/commands/ci/utils/github-api.d.ts.map +1 -0
- package/dist/commands/ci/utils/github.d.ts +43 -0
- package/dist/commands/ci/utils/github.d.ts.map +1 -0
- package/dist/commands/ci/utils/index.d.ts +25 -0
- package/dist/commands/ci/utils/index.d.ts.map +1 -0
- package/dist/commands/ci/utils/pgtap-installer.d.ts +34 -0
- package/dist/commands/ci/utils/pgtap-installer.d.ts.map +1 -0
- package/dist/commands/ci/utils/rls-verification.d.ts +72 -0
- package/dist/commands/ci/utils/rls-verification.d.ts.map +1 -0
- package/dist/commands/ci/utils/schema-operations.d.ts +42 -0
- package/dist/commands/ci/utils/schema-operations.d.ts.map +1 -0
- package/dist/commands/ci/utils/seed-operations.d.ts +101 -0
- package/dist/commands/ci/utils/seed-operations.d.ts.map +1 -0
- package/dist/commands/ci/utils/test-parallel.d.ts +45 -0
- package/dist/commands/ci/utils/test-parallel.d.ts.map +1 -0
- package/dist/commands/ci/utils/timestamp-invariants.d.ts +13 -0
- package/dist/commands/ci/utils/timestamp-invariants.d.ts.map +1 -0
- package/dist/commands/db/apply/actors.d.ts +42 -0
- package/dist/commands/db/apply/actors.d.ts.map +1 -0
- package/dist/commands/db/apply/contract.d.ts +64 -0
- package/dist/commands/db/apply/contract.d.ts.map +1 -0
- package/dist/commands/db/apply/helpers/advisory-lock.d.ts +18 -0
- package/dist/commands/db/apply/helpers/advisory-lock.d.ts.map +1 -0
- package/dist/commands/db/apply/helpers/index.d.ts +11 -0
- package/dist/commands/db/apply/helpers/index.d.ts.map +1 -0
- package/dist/commands/db/apply/helpers/pg-schema-diff-helpers.d.ts +122 -0
- package/dist/commands/db/apply/helpers/pg-schema-diff-helpers.d.ts.map +1 -0
- package/dist/commands/db/apply/helpers/retry-logic.d.ts +51 -0
- package/dist/commands/db/apply/helpers/retry-logic.d.ts.map +1 -0
- package/dist/commands/db/apply/index.d.ts +9 -0
- package/dist/commands/db/apply/index.d.ts.map +1 -0
- package/dist/commands/db/apply/machine.d.ts +126 -0
- package/dist/commands/db/apply/machine.d.ts.map +1 -0
- package/dist/commands/db/commands/db-apply.d.ts +6 -0
- package/dist/commands/db/commands/db-apply.d.ts.map +1 -0
- package/dist/commands/db/commands/db-audit.d.ts +13 -0
- package/dist/commands/db/commands/db-audit.d.ts.map +1 -0
- package/dist/commands/db/commands/db-backup.d.ts +18 -0
- package/dist/commands/db/commands/db-backup.d.ts.map +1 -0
- package/dist/commands/db/commands/db-cleanup.d.ts +3 -0
- package/dist/commands/db/commands/db-cleanup.d.ts.map +1 -0
- package/dist/commands/db/commands/db-derive-role-passwords.d.ts +18 -0
- package/dist/commands/db/commands/db-derive-role-passwords.d.ts.map +1 -0
- package/dist/commands/db/commands/db-derive-urls.d.ts +14 -0
- package/dist/commands/db/commands/db-derive-urls.d.ts.map +1 -0
- package/dist/commands/db/commands/db-diagram.d.ts +21 -0
- package/dist/commands/db/commands/db-diagram.d.ts.map +1 -0
- package/dist/commands/db/commands/db-drizzle.d.ts +17 -0
- package/dist/commands/db/commands/db-drizzle.d.ts.map +1 -0
- package/dist/commands/db/commands/db-extension.d.ts +16 -0
- package/dist/commands/db/commands/db-extension.d.ts.map +1 -0
- package/dist/commands/db/commands/db-generate-password.d.ts +19 -0
- package/dist/commands/db/commands/db-generate-password.d.ts.map +1 -0
- package/dist/commands/db/commands/db-lifecycle.d.ts +43 -0
- package/dist/commands/db/commands/db-lifecycle.d.ts.map +1 -0
- package/dist/commands/db/commands/db-rollback.d.ts +17 -0
- package/dist/commands/db/commands/db-rollback.d.ts.map +1 -0
- package/dist/commands/db/commands/db-schema.d.ts +51 -0
- package/dist/commands/db/commands/db-schema.d.ts.map +1 -0
- package/dist/commands/db/commands/db-seed-metadata.d.ts +20 -0
- package/dist/commands/db/commands/db-seed-metadata.d.ts.map +1 -0
- package/dist/commands/db/commands/db-seed-verify.d.ts +13 -0
- package/dist/commands/db/commands/db-seed-verify.d.ts.map +1 -0
- package/dist/commands/db/commands/db-seed.d.ts +32 -0
- package/dist/commands/db/commands/db-seed.d.ts.map +1 -0
- package/dist/commands/db/commands/db-snapshot.d.ts +12 -0
- package/dist/commands/db/commands/db-snapshot.d.ts.map +1 -0
- package/dist/commands/db/commands/db-stack.d.ts +17 -0
- package/dist/commands/db/commands/db-stack.d.ts.map +1 -0
- package/dist/commands/db/commands/db-stats.d.ts +15 -0
- package/dist/commands/db/commands/db-stats.d.ts.map +1 -0
- package/dist/commands/db/commands/db-sync.d.ts +3 -0
- package/dist/commands/db/commands/db-sync.d.ts.map +1 -0
- package/dist/commands/db/commands/db-test.d.ts +27 -0
- package/dist/commands/db/commands/db-test.d.ts.map +1 -0
- package/dist/commands/db/constants.d.ts +97 -0
- package/dist/commands/db/constants.d.ts.map +1 -0
- package/dist/commands/db/extension-registry.d.ts +81 -0
- package/dist/commands/db/extension-registry.d.ts.map +1 -0
- package/dist/commands/db/index.d.ts +17 -0
- package/dist/commands/db/index.d.ts.map +1 -0
- package/dist/commands/db/preflight/actors.d.ts +6 -0
- package/dist/commands/db/preflight/actors.d.ts.map +1 -0
- package/dist/commands/db/preflight/contract.d.ts +53 -0
- package/dist/commands/db/preflight/contract.d.ts.map +1 -0
- package/dist/commands/db/preflight/index.d.ts +3 -0
- package/dist/commands/db/preflight/index.d.ts.map +1 -0
- package/dist/commands/db/sync/actors.d.ts +93 -0
- package/dist/commands/db/sync/actors.d.ts.map +1 -0
- package/dist/commands/db/sync/contract.d.ts +155 -0
- package/dist/commands/db/sync/contract.d.ts.map +1 -0
- package/dist/commands/db/sync/index.d.ts +10 -0
- package/dist/commands/db/sync/index.d.ts.map +1 -0
- package/dist/commands/db/sync/machine.d.ts +159 -0
- package/dist/commands/db/sync/machine.d.ts.map +1 -0
- package/dist/commands/db/types.d.ts +107 -0
- package/dist/commands/db/types.d.ts.map +1 -0
- package/dist/commands/db/utils/db-target.d.ts +53 -0
- package/dist/commands/db/utils/db-target.d.ts.map +1 -0
- package/dist/commands/db/utils/db-url-builder.d.ts +34 -0
- package/dist/commands/db/utils/db-url-builder.d.ts.map +1 -0
- package/dist/commands/db/utils/error-handlers.d.ts +17 -0
- package/dist/commands/db/utils/error-handlers.d.ts.map +1 -0
- package/dist/commands/db/utils/preflight-check.d.ts +20 -0
- package/dist/commands/db/utils/preflight-check.d.ts.map +1 -0
- package/dist/commands/db/utils/psql.d.ts +17 -0
- package/dist/commands/db/utils/psql.d.ts.map +1 -0
- package/dist/commands/db/utils/schema-detector.d.ts +32 -0
- package/dist/commands/db/utils/schema-detector.d.ts.map +1 -0
- package/dist/commands/db/utils/schema-sync.d.ts +59 -0
- package/dist/commands/db/utils/schema-sync.d.ts.map +1 -0
- package/dist/commands/db/utils/script-runner.d.ts +34 -0
- package/dist/commands/db/utils/script-runner.d.ts.map +1 -0
- package/dist/commands/db/utils/seed-manager.d.ts +23 -0
- package/dist/commands/db/utils/seed-manager.d.ts.map +1 -0
- package/dist/commands/db/utils/semantic-mapper.d.ts +119 -0
- package/dist/commands/db/utils/semantic-mapper.d.ts.map +1 -0
- package/dist/commands/db/utils/sql-table-extractor.d.ts +56 -0
- package/dist/commands/db/utils/sql-table-extractor.d.ts.map +1 -0
- package/dist/commands/db/utils/stack-detector.d.ts +34 -0
- package/dist/commands/db/utils/stack-detector.d.ts.map +1 -0
- package/dist/commands/db/utils/table-registry.d.ts +112 -0
- package/dist/commands/db/utils/table-registry.d.ts.map +1 -0
- package/dist/commands/dev/actors/index.d.ts +14 -0
- package/dist/commands/dev/actors/index.d.ts.map +1 -0
- package/dist/commands/dev/commands/dev.d.ts +15 -0
- package/dist/commands/dev/commands/dev.d.ts.map +1 -0
- package/dist/commands/dev/contract.d.ts +46 -0
- package/dist/commands/dev/contract.d.ts.map +1 -0
- package/dist/commands/dev/guards.d.ts +26 -0
- package/dist/commands/dev/guards.d.ts.map +1 -0
- package/dist/commands/dev/machine.d.ts +121 -0
- package/dist/commands/dev/machine.d.ts.map +1 -0
- package/dist/commands/dev/types.d.ts +44 -0
- package/dist/commands/dev/types.d.ts.map +1 -0
- package/dist/commands/env/commands/env-check.d.ts +24 -0
- package/dist/commands/env/commands/env-check.d.ts.map +1 -0
- package/dist/commands/env/commands/env-encrypt.d.ts +19 -0
- package/dist/commands/env/commands/env-encrypt.d.ts.map +1 -0
- package/dist/commands/env/commands/env-pull.d.ts +49 -0
- package/dist/commands/env/commands/env-pull.d.ts.map +1 -0
- package/dist/commands/env/commands/env-setup.d.ts +51 -0
- package/dist/commands/env/commands/env-setup.d.ts.map +1 -0
- package/dist/commands/env/commands/env-sync.d.ts +18 -0
- package/dist/commands/env/commands/env-sync.d.ts.map +1 -0
- package/dist/commands/env/commands/setup/action.d.ts +18 -0
- package/dist/commands/env/commands/setup/action.d.ts.map +1 -0
- package/dist/commands/env/commands/setup/auth.d.ts +25 -0
- package/dist/commands/env/commands/setup/auth.d.ts.map +1 -0
- package/dist/commands/env/commands/setup/file-export.d.ts +20 -0
- package/dist/commands/env/commands/setup/file-export.d.ts.map +1 -0
- package/dist/commands/env/commands/setup/github-api.d.ts +17 -0
- package/dist/commands/env/commands/setup/github-api.d.ts.map +1 -0
- package/dist/commands/env/commands/setup/helpers.d.ts +117 -0
- package/dist/commands/env/commands/setup/helpers.d.ts.map +1 -0
- package/dist/commands/env/commands/setup/index.d.ts +16 -0
- package/dist/commands/env/commands/setup/index.d.ts.map +1 -0
- package/dist/commands/env/commands/setup/parsers.d.ts +66 -0
- package/dist/commands/env/commands/setup/parsers.d.ts.map +1 -0
- package/dist/commands/env/commands/setup/prompts.d.ts +41 -0
- package/dist/commands/env/commands/setup/prompts.d.ts.map +1 -0
- package/dist/commands/env/commands/setup/supabase-api.d.ts +30 -0
- package/dist/commands/env/commands/setup/supabase-api.d.ts.map +1 -0
- package/dist/commands/env/commands/setup/types.d.ts +105 -0
- package/dist/commands/env/commands/setup/types.d.ts.map +1 -0
- package/dist/commands/env/commands/setup/vercel-api.d.ts +34 -0
- package/dist/commands/env/commands/setup/vercel-api.d.ts.map +1 -0
- package/dist/commands/env/constants/local-supabase.d.ts +43 -0
- package/dist/commands/env/constants/local-supabase.d.ts.map +1 -0
- package/dist/commands/env/index.d.ts +14 -0
- package/dist/commands/env/index.d.ts.map +1 -0
- package/dist/commands/hotfix/actors.d.ts +88 -0
- package/dist/commands/hotfix/actors.d.ts.map +1 -0
- package/dist/commands/hotfix/commands/hotfix-complete.d.ts +23 -0
- package/dist/commands/hotfix/commands/hotfix-complete.d.ts.map +1 -0
- package/dist/commands/hotfix/commands/hotfix-create.d.ts +23 -0
- package/dist/commands/hotfix/commands/hotfix-create.d.ts.map +1 -0
- package/dist/commands/hotfix/commands/hotfix-deploy.d.ts +23 -0
- package/dist/commands/hotfix/commands/hotfix-deploy.d.ts.map +1 -0
- package/dist/commands/hotfix/commands/hotfix-status.d.ts +20 -0
- package/dist/commands/hotfix/commands/hotfix-status.d.ts.map +1 -0
- package/dist/commands/hotfix/contract.d.ts +219 -0
- package/dist/commands/hotfix/contract.d.ts.map +1 -0
- package/dist/commands/hotfix/index.d.ts +15 -0
- package/dist/commands/hotfix/index.d.ts.map +1 -0
- package/dist/commands/hotfix/machine.d.ts +242 -0
- package/dist/commands/hotfix/machine.d.ts.map +1 -0
- package/dist/commands/hotfix/metadata.d.ts +37 -0
- package/dist/commands/hotfix/metadata.d.ts.map +1 -0
- package/dist/commands/hotfix/utils/hotfix-machine-helper.d.ts +58 -0
- package/dist/commands/hotfix/utils/hotfix-machine-helper.d.ts.map +1 -0
- package/dist/commands/init.d.ts +21 -0
- package/dist/commands/init.d.ts.map +1 -0
- package/dist/commands/inject-test-attrs/action.d.ts +14 -0
- package/dist/commands/inject-test-attrs/action.d.ts.map +1 -0
- package/dist/commands/inject-test-attrs/commands/inject-test-attrs.d.ts +16 -0
- package/dist/commands/inject-test-attrs/commands/inject-test-attrs.d.ts.map +1 -0
- package/dist/commands/inject-test-attrs/contract.d.ts +52 -0
- package/dist/commands/inject-test-attrs/contract.d.ts.map +1 -0
- package/dist/commands/inject-test-attrs/formatter.d.ts +13 -0
- package/dist/commands/inject-test-attrs/formatter.d.ts.map +1 -0
- package/dist/commands/inject-test-attrs/index.d.ts +9 -0
- package/dist/commands/inject-test-attrs/index.d.ts.map +1 -0
- package/dist/commands/inject-test-attrs/manifest-generator.d.ts +21 -0
- package/dist/commands/inject-test-attrs/manifest-generator.d.ts.map +1 -0
- package/dist/commands/inject-test-attrs/processor-utils.d.ts +76 -0
- package/dist/commands/inject-test-attrs/processor-utils.d.ts.map +1 -0
- package/dist/commands/inject-test-attrs/processor.d.ts +35 -0
- package/dist/commands/inject-test-attrs/processor.d.ts.map +1 -0
- package/dist/commands/inject-test-attrs/types.d.ts +48 -0
- package/dist/commands/inject-test-attrs/types.d.ts.map +1 -0
- package/dist/commands/link.d.ts +16 -0
- package/dist/commands/link.d.ts.map +1 -0
- package/dist/commands/manifest/index.d.ts +27 -0
- package/dist/commands/manifest/index.d.ts.map +1 -0
- package/dist/commands/prepare/commands/prepare.d.ts +32 -0
- package/dist/commands/prepare/commands/prepare.d.ts.map +1 -0
- package/dist/commands/prepare/index.d.ts +10 -0
- package/dist/commands/prepare/index.d.ts.map +1 -0
- package/dist/commands/sdk/commands/publish.d.ts +33 -0
- package/dist/commands/sdk/commands/publish.d.ts.map +1 -0
- package/dist/commands/sdk/index.d.ts +14 -0
- package/dist/commands/sdk/index.d.ts.map +1 -0
- package/dist/commands/services/index.d.ts +3 -0
- package/dist/commands/services/index.d.ts.map +1 -0
- package/dist/commands/session/index.d.ts +19 -0
- package/dist/commands/session/index.d.ts.map +1 -0
- package/dist/commands/status.d.ts +13 -0
- package/dist/commands/status.d.ts.map +1 -0
- package/dist/commands/telemetry.d.ts +3 -0
- package/dist/commands/telemetry.d.ts.map +1 -0
- package/dist/commands/template-check/actors/compare.d.ts +18 -0
- package/dist/commands/template-check/actors/compare.d.ts.map +1 -0
- package/dist/commands/template-check/actors/discover.d.ts +18 -0
- package/dist/commands/template-check/actors/discover.d.ts.map +1 -0
- package/dist/commands/template-check/actors/index.d.ts +9 -0
- package/dist/commands/template-check/actors/index.d.ts.map +1 -0
- package/dist/commands/template-check/actors/report.d.ts +44 -0
- package/dist/commands/template-check/actors/report.d.ts.map +1 -0
- package/dist/commands/template-check/commands/template-check.d.ts +17 -0
- package/dist/commands/template-check/commands/template-check.d.ts.map +1 -0
- package/dist/commands/template-check/config.d.ts +100 -0
- package/dist/commands/template-check/config.d.ts.map +1 -0
- package/dist/commands/template-check/contract.d.ts +169 -0
- package/dist/commands/template-check/contract.d.ts.map +1 -0
- package/dist/commands/template-check/index.d.ts +8 -0
- package/dist/commands/template-check/index.d.ts.map +1 -0
- package/dist/commands/template-check/machine.d.ts +91 -0
- package/dist/commands/template-check/machine.d.ts.map +1 -0
- package/dist/commands/template-check/types.d.ts +87 -0
- package/dist/commands/template-check/types.d.ts.map +1 -0
- package/dist/commands/template-check/utils/diff-analyzer.d.ts +40 -0
- package/dist/commands/template-check/utils/diff-analyzer.d.ts.map +1 -0
- package/dist/commands/template-check/utils/normalizer.d.ts +55 -0
- package/dist/commands/template-check/utils/normalizer.d.ts.map +1 -0
- package/dist/commands/template-check/utils/path-mapping.d.ts +43 -0
- package/dist/commands/template-check/utils/path-mapping.d.ts.map +1 -0
- package/dist/commands/test/commands/test-db.d.ts +25 -0
- package/dist/commands/test/commands/test-db.d.ts.map +1 -0
- package/dist/commands/test/commands/test-e2e.d.ts +20 -0
- package/dist/commands/test/commands/test-e2e.d.ts.map +1 -0
- package/dist/commands/test/commands/test-fast.d.ts +21 -0
- package/dist/commands/test/commands/test-fast.d.ts.map +1 -0
- package/dist/commands/test/commands/test-integration.d.ts +3 -0
- package/dist/commands/test/commands/test-integration.d.ts.map +1 -0
- package/dist/commands/test/commands/test-layer.d.ts +8 -0
- package/dist/commands/test/commands/test-layer.d.ts.map +1 -0
- package/dist/commands/test/commands/test-owasp-generate.d.ts +11 -0
- package/dist/commands/test/commands/test-owasp-generate.d.ts.map +1 -0
- package/dist/commands/test/commands/test-service.d.ts +3 -0
- package/dist/commands/test/commands/test-service.d.ts.map +1 -0
- package/dist/commands/test/commands/test-static.d.ts +3 -0
- package/dist/commands/test/commands/test-static.d.ts.map +1 -0
- package/dist/commands/test/commands/test.d.ts +3 -0
- package/dist/commands/test/commands/test.d.ts.map +1 -0
- package/dist/commands/test/index.d.ts +39 -0
- package/dist/commands/test/index.d.ts.map +1 -0
- package/dist/commands/test-gen.d.ts +39 -0
- package/dist/commands/test-gen.d.ts.map +1 -0
- package/dist/commands/ui.d.ts +12 -0
- package/dist/commands/ui.d.ts.map +1 -0
- package/dist/commands/upgrade.d.ts +38 -0
- package/dist/commands/upgrade.d.ts.map +1 -0
- package/dist/commands/validate.d.ts +9 -0
- package/dist/commands/validate.d.ts.map +1 -0
- package/dist/commands/vuln-check.d.ts +18 -0
- package/dist/commands/vuln-check.d.ts.map +1 -0
- package/dist/commands/watch.d.ts +21 -0
- package/dist/commands/watch.d.ts.map +1 -0
- package/dist/commands/workflow/commands/deploy-production.d.ts +10 -0
- package/dist/commands/workflow/commands/deploy-production.d.ts.map +1 -0
- package/dist/commands/workflow/commands/final-status.d.ts +19 -0
- package/dist/commands/workflow/commands/final-status.d.ts.map +1 -0
- package/dist/commands/workflow/commands/log.d.ts +14 -0
- package/dist/commands/workflow/commands/log.d.ts.map +1 -0
- package/dist/commands/workflow/commands/notify.d.ts +18 -0
- package/dist/commands/workflow/commands/notify.d.ts.map +1 -0
- package/dist/commands/workflow/commands/paths.d.ts +15 -0
- package/dist/commands/workflow/commands/paths.d.ts.map +1 -0
- package/dist/commands/workflow/commands/sync.d.ts +21 -0
- package/dist/commands/workflow/commands/sync.d.ts.map +1 -0
- package/dist/commands/workflow/commands/validate.d.ts +9 -0
- package/dist/commands/workflow/commands/validate.d.ts.map +1 -0
- package/dist/commands/workflow/commands/verify-credentials.d.ts +15 -0
- package/dist/commands/workflow/commands/verify-credentials.d.ts.map +1 -0
- package/dist/commands/workflow/index.d.ts +15 -0
- package/dist/commands/workflow/index.d.ts.map +1 -0
- package/dist/commands/workflow/types.d.ts +87 -0
- package/dist/commands/workflow/types.d.ts.map +1 -0
- package/dist/config/env-files.d.ts +65 -0
- package/dist/config/env-files.d.ts.map +1 -0
- package/dist/config/env.d.ts +131 -0
- package/dist/config/env.d.ts.map +1 -0
- package/dist/constants/versions.d.ts +26 -0
- package/dist/constants/versions.d.ts.map +1 -0
- package/dist/contracts/envelope.d.ts +2 -0
- package/dist/contracts/envelope.d.ts.map +1 -0
- package/dist/errors/catalog.d.ts +461 -0
- package/dist/errors/catalog.d.ts.map +1 -0
- package/dist/errors/exit-codes.d.ts +46 -0
- package/dist/errors/exit-codes.d.ts.map +1 -0
- package/dist/errors/index.d.ts +13 -0
- package/dist/errors/index.d.ts.map +1 -0
- package/dist/incremental/affected-tests.d.ts +29 -0
- package/dist/incremental/affected-tests.d.ts.map +1 -0
- package/dist/index.d.ts +31 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +36594 -0
- package/dist/internal/machines/index.d.ts +10 -0
- package/dist/internal/machines/index.d.ts.map +1 -0
- package/dist/internal/machines/machine-runner.d.ts +18 -0
- package/dist/internal/machines/machine-runner.d.ts.map +1 -0
- package/dist/internal/machines/types.d.ts +48 -0
- package/dist/internal/machines/types.d.ts.map +1 -0
- package/dist/internal/vuln-checker/analyzers/dependency-analyzer.d.ts +24 -0
- package/dist/internal/vuln-checker/analyzers/dependency-analyzer.d.ts.map +1 -0
- package/dist/internal/vuln-checker/analyzers/rls-analyzer.d.ts +28 -0
- package/dist/internal/vuln-checker/analyzers/rls-analyzer.d.ts.map +1 -0
- package/dist/internal/vuln-checker/analyzers/secret-analyzer.d.ts +26 -0
- package/dist/internal/vuln-checker/analyzers/secret-analyzer.d.ts.map +1 -0
- package/dist/internal/vuln-checker/analyzers/typescript-analyzer.d.ts +25 -0
- package/dist/internal/vuln-checker/analyzers/typescript-analyzer.d.ts.map +1 -0
- package/dist/internal/vuln-checker/config/loader.d.ts +16 -0
- package/dist/internal/vuln-checker/config/loader.d.ts.map +1 -0
- package/dist/internal/vuln-checker/constants.d.ts +75 -0
- package/dist/internal/vuln-checker/constants.d.ts.map +1 -0
- package/dist/internal/vuln-checker/ignore/matcher.d.ts +23 -0
- package/dist/internal/vuln-checker/ignore/matcher.d.ts.map +1 -0
- package/dist/internal/vuln-checker/index.d.ts +45 -0
- package/dist/internal/vuln-checker/index.d.ts.map +1 -0
- package/dist/internal/vuln-checker/reporters/console-reporter.d.ts +9 -0
- package/dist/internal/vuln-checker/reporters/console-reporter.d.ts.map +1 -0
- package/dist/internal/vuln-checker/reporters/json-reporter.d.ts +9 -0
- package/dist/internal/vuln-checker/reporters/json-reporter.d.ts.map +1 -0
- package/dist/internal/vuln-checker/reporters/markdown-reporter.d.ts +9 -0
- package/dist/internal/vuln-checker/reporters/markdown-reporter.d.ts.map +1 -0
- package/dist/internal/vuln-checker/reporters/sarif-reporter.d.ts +12 -0
- package/dist/internal/vuln-checker/reporters/sarif-reporter.d.ts.map +1 -0
- package/dist/internal/vuln-checker/types.d.ts +149 -0
- package/dist/internal/vuln-checker/types.d.ts.map +1 -0
- package/dist/notifiers/desktop-notifier.d.ts +34 -0
- package/dist/notifiers/desktop-notifier.d.ts.map +1 -0
- package/dist/schemas/ci.config.schema.json +206 -0
- package/dist/ui/components/db-panel.d.ts +12 -0
- package/dist/ui/components/db-panel.d.ts.map +1 -0
- package/dist/ui/components/status-bar.d.ts +6 -0
- package/dist/ui/components/status-bar.d.ts.map +1 -0
- package/dist/ui/components/test-panel.d.ts +12 -0
- package/dist/ui/components/test-panel.d.ts.map +1 -0
- package/dist/ui/dashboard.d.ts +20 -0
- package/dist/ui/dashboard.d.ts.map +1 -0
- package/dist/ui/index.d.ts +16 -0
- package/dist/ui/index.d.ts.map +1 -0
- package/dist/utils/config-loader.d.ts +92 -0
- package/dist/utils/config-loader.d.ts.map +1 -0
- package/dist/utils/config-updater.d.ts +44 -0
- package/dist/utils/config-updater.d.ts.map +1 -0
- package/dist/utils/diagnostics.d.ts +44 -0
- package/dist/utils/diagnostics.d.ts.map +1 -0
- package/dist/utils/dotenvx.d.ts +33 -0
- package/dist/utils/dotenvx.d.ts.map +1 -0
- package/dist/utils/execution-plan.d.ts +43 -0
- package/dist/utils/execution-plan.d.ts.map +1 -0
- package/dist/utils/help-system.d.ts +34 -0
- package/dist/utils/help-system.d.ts.map +1 -0
- package/dist/utils/license/admin-auth.d.ts +39 -0
- package/dist/utils/license/admin-auth.d.ts.map +1 -0
- package/dist/utils/license/allowlist-checker.d.ts +56 -0
- package/dist/utils/license/allowlist-checker.d.ts.map +1 -0
- package/dist/utils/license/ci-detector.d.ts +43 -0
- package/dist/utils/license/ci-detector.d.ts.map +1 -0
- package/dist/utils/license/index.d.ts +49 -0
- package/dist/utils/license/index.d.ts.map +1 -0
- package/dist/utils/license/owner-resolver.d.ts +35 -0
- package/dist/utils/license/owner-resolver.d.ts.map +1 -0
- package/dist/utils/license/types.d.ts +42 -0
- package/dist/utils/license/types.d.ts.map +1 -0
- package/dist/utils/license/validate-owner.d.ts +33 -0
- package/dist/utils/license/validate-owner.d.ts.map +1 -0
- package/dist/utils/port-allocator.d.ts +59 -0
- package/dist/utils/port-allocator.d.ts.map +1 -0
- package/dist/utils/secure-exec.d.ts +95 -0
- package/dist/utils/secure-exec.d.ts.map +1 -0
- package/dist/utils/template-fetcher.d.ts +63 -0
- package/dist/utils/template-fetcher.d.ts.map +1 -0
- package/dist/utils/type-guards.d.ts +25 -0
- package/dist/utils/type-guards.d.ts.map +1 -0
- package/dist/utils/vercel-project.d.ts +38 -0
- package/dist/utils/vercel-project.d.ts.map +1 -0
- package/dist/utils/workspace-detector.d.ts +71 -0
- package/dist/utils/workspace-detector.d.ts.map +1 -0
- package/dist/validators/risk-detector.d.ts +38 -0
- package/dist/validators/risk-detector.d.ts.map +1 -0
- package/dist/validators/schema-validator.d.ts +20 -0
- package/dist/validators/schema-validator.d.ts.map +1 -0
- package/dist/version.d.ts +13 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/watchers/schema-watcher.d.ts +61 -0
- package/dist/watchers/schema-watcher.d.ts.map +1 -0
- package/dist/watchers/test-watcher.d.ts +57 -0
- package/dist/watchers/test-watcher.d.ts.map +1 -0
- package/package.json +74 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"test-static.d.ts","sourceRoot":"","sources":["../../../../src/commands/test/commands/test-static.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAWpC,eAAO,MAAM,iBAAiB,SAqC1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"test.d.ts","sourceRoot":"","sources":["../../../../src/commands/test/commands/test.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAoBpC,eAAO,MAAM,WAAW,SAoDpB,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AI HINT: CLI test command exports
|
|
3
|
+
*
|
|
4
|
+
* Goal: Keep @runa-ai/runa-cli as a thin adapter.
|
|
5
|
+
* Implementation: All test logic lives in @runa-ai/runa typed functions.
|
|
6
|
+
*
|
|
7
|
+
* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
8
|
+
* Naming Scheme (2025-01)
|
|
9
|
+
* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
10
|
+
*
|
|
11
|
+
* Layer Names (semantic):
|
|
12
|
+
* 0 = lint (静的解析: type-check, biome, build)
|
|
13
|
+
* 1 = logic (純粋ロジック: XState, 純粋関数, flow tests)
|
|
14
|
+
* 2 = schema (データ構造: Drizzle, RLS, pgTAP)
|
|
15
|
+
* 3 = api (エンドポイント: Hono RPC, Contract, Integration)
|
|
16
|
+
* 4 = browser (ユーザー体験: Playwright E2E)
|
|
17
|
+
*
|
|
18
|
+
* Note: Layer 5 Flow E2E was merged into Layer 1 XState Unit Tests.
|
|
19
|
+
*
|
|
20
|
+
* Group Names (execution environment):
|
|
21
|
+
* fast: Layer 0 + 1 (DB不要, 秒単位)
|
|
22
|
+
* db: Layer 2 + 3 (DB必要, 分単位)
|
|
23
|
+
* e2e: Layer 4 (ブラウザ必要, 数分)
|
|
24
|
+
*
|
|
25
|
+
* Legacy Names (backward compat):
|
|
26
|
+
* static: → fast (Layer 0-1)
|
|
27
|
+
* service: → db (Layer 1-3) ← Note: includes Layer 1 for compat
|
|
28
|
+
* integration: → e2e (Layer 4)
|
|
29
|
+
*/
|
|
30
|
+
export { testCommand } from './commands/test.js';
|
|
31
|
+
export { testApiCommand, testDbCommand, testSchemaCommand } from './commands/test-db.js';
|
|
32
|
+
export { testBrowserCommand, testE2ECommand } from './commands/test-e2e.js';
|
|
33
|
+
export { testFastCommand, testLintCommand } from './commands/test-fast.js';
|
|
34
|
+
export { testIntegrationCommand } from './commands/test-integration.js';
|
|
35
|
+
export { testLayer0Command, testLayer1Command, testLayer2Command, testLayer3Command, testLayer4Command, testLogicCommand, } from './commands/test-layer.js';
|
|
36
|
+
export { testOWASPGenerateCommand } from './commands/test-owasp-generate.js';
|
|
37
|
+
export { testServiceCommand } from './commands/test-service.js';
|
|
38
|
+
export { testStaticCommand } from './commands/test-static.js';
|
|
39
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/test/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AACzF,OAAO,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAI5E,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAIxE,OAAO,EACL,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EAEjB,gBAAgB,GACjB,MAAM,0BAA0B,CAAC;AAIlC,OAAO,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAC7E,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAIhE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command } from 'commander';
|
|
2
|
+
/**
|
|
3
|
+
* db:test:update-golden - Update golden schema record
|
|
4
|
+
*/
|
|
5
|
+
export declare const dbTestUpdateGoldenCommand: Command;
|
|
6
|
+
/**
|
|
7
|
+
* test:e2e:generate - Generate E2E tests from XState machines (Multi-Source)
|
|
8
|
+
*
|
|
9
|
+
* NEW IMPLEMENTATION (2024-12-18):
|
|
10
|
+
* - Discovers machines from multiple sources (core + dashboard + pj-repo)
|
|
11
|
+
* - Zero-hardcoding architecture
|
|
12
|
+
* - pj-repo agnostic
|
|
13
|
+
*/
|
|
14
|
+
export declare const testE2EGenerateCommand: Command;
|
|
15
|
+
/**
|
|
16
|
+
* test:security:generate - Generate Security tests (OWASP Top 10)
|
|
17
|
+
*
|
|
18
|
+
* NOTE: RLS tests are NOT generated here.
|
|
19
|
+
* RLS is Layer 2 responsibility (pgTAP).
|
|
20
|
+
* Use `runa test --layer 2` for RLS verification.
|
|
21
|
+
*/
|
|
22
|
+
export declare const testSecurityGenerateCommand: Command;
|
|
23
|
+
/**
|
|
24
|
+
* test:unit:generate - Generate Unit tests from XState machines (Layer 1)
|
|
25
|
+
*/
|
|
26
|
+
export declare const testUnitGenerateCommand: Command;
|
|
27
|
+
/**
|
|
28
|
+
* test:api:gen - Generate API integration tests from Hono routes (Zero Hardcoding)
|
|
29
|
+
*/
|
|
30
|
+
export declare const testApiGenerateCommand: Command;
|
|
31
|
+
/**
|
|
32
|
+
* test:component:gen - Generate Playwright Component Tests from React components (Zero Hardcoding)
|
|
33
|
+
*/
|
|
34
|
+
export declare const testComponentGenerateCommand: Command;
|
|
35
|
+
/**
|
|
36
|
+
* test:e2e:scaffold - Generate E2E test scaffold from XState machines (Legacy)
|
|
37
|
+
*/
|
|
38
|
+
export declare const testE2EScaffoldCommand: Command;
|
|
39
|
+
//# sourceMappingURL=test-gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"test-gen.d.ts","sourceRoot":"","sources":["../../src/commands/test-gen.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAWpC;;GAEG;AACH,eAAO,MAAM,yBAAyB,SA8BlC,CAAC;AAEL;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB,SAK/B,CAAC;AAEL;;;;;;GAMG;AACH,eAAO,MAAM,2BAA2B,SAKpC,CAAC;AAEL;;GAEG;AACH,eAAO,MAAM,uBAAuB,SAMhC,CAAC;AAEL;;GAEG;AACH,eAAO,MAAM,sBAAsB,SAK/B,CAAC;AAEL;;GAEG;AACH,eAAO,MAAM,4BAA4B,SAYrC,CAAC;AAEL;;GAEG;AACH,eAAO,MAAM,sBAAsB,SA4B/B,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AI HINT: UI command for launching TUI dashboard
|
|
3
|
+
*
|
|
4
|
+
* Purpose: Provide interactive terminal UI for CLI operations
|
|
5
|
+
* Features: Real-time updates, keyboard navigation, multiple views
|
|
6
|
+
*/
|
|
7
|
+
import { Command } from 'commander';
|
|
8
|
+
/**
|
|
9
|
+
* UI dashboard command
|
|
10
|
+
*/
|
|
11
|
+
export declare const uiCommand: Command;
|
|
12
|
+
//# sourceMappingURL=ui.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui.d.ts","sourceRoot":"","sources":["../../src/commands/ui.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAMpC;;GAEG;AACH,eAAO,MAAM,SAAS,SA2ClB,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AI HINT: runa upgrade command
|
|
3
|
+
*
|
|
4
|
+
* Purpose: Upgrade SDK packages AND templates in pj-repo with conflict detection
|
|
5
|
+
* Features:
|
|
6
|
+
* - Package updates (@runa-ai/runa, @runa-ai/runa-cli, @runa-ai/runa-xstate-test-plugin)
|
|
7
|
+
* - Template fetching from @r06-dev/runa-templates (GitHub Packages)
|
|
8
|
+
* - Template caching at ~/.cache/runa/templates/{version}/
|
|
9
|
+
* - Version tracking (.runa-version)
|
|
10
|
+
* - Conflict detection with merge markers
|
|
11
|
+
* - Pre-check phase for version/conflict warnings (BR-DX-001, BR-DX-002)
|
|
12
|
+
* - Post-upgrade validation warnings
|
|
13
|
+
* - Optional post-upgrade verification (type-check, lint, build)
|
|
14
|
+
* - Backup and rollback support
|
|
15
|
+
* - Partial upgrade (--only option)
|
|
16
|
+
*
|
|
17
|
+
* Usage:
|
|
18
|
+
* runa upgrade # Upgrade packages AND templates (recommended)
|
|
19
|
+
* runa upgrade --preview # Dry-run, show what would change
|
|
20
|
+
* runa upgrade --force # Overwrite all (no conflicts)
|
|
21
|
+
* runa upgrade --keep-local # Skip conflicts, keep local versions
|
|
22
|
+
* runa upgrade --yes # Skip confirmation prompts
|
|
23
|
+
* runa upgrade --verify # Run type-check, lint, build after upgrade
|
|
24
|
+
* runa upgrade --no-packages # Skip package updates (templates only)
|
|
25
|
+
* runa upgrade --backup # Keep backup after upgrade (for manual rollback)
|
|
26
|
+
* runa upgrade --rollback <id> # Rollback to a specific backup
|
|
27
|
+
* runa upgrade --rollback-latest # Rollback to the latest backup
|
|
28
|
+
* runa upgrade --list-backups # List available backups
|
|
29
|
+
* runa upgrade --only=rules # Only sync .claude/rules/sdk/ etc.
|
|
30
|
+
* runa upgrade --only=workflows # Only sync .github/workflows/ etc.
|
|
31
|
+
* runa upgrade --only=config # Only sync AGENTS.md, CLAUDE.md, .husky/ etc.
|
|
32
|
+
* runa upgrade --only=packages # Only update npm packages (skip templates)
|
|
33
|
+
* runa upgrade --templates-version <version> # Override templates version
|
|
34
|
+
* runa upgrade --fresh # Clear templates cache before fetching
|
|
35
|
+
*/
|
|
36
|
+
import { Command } from 'commander';
|
|
37
|
+
export declare const upgradeCommand: Command;
|
|
38
|
+
//# sourceMappingURL=upgrade.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"upgrade.d.ts","sourceRoot":"","sources":["../../src/commands/upgrade.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAeH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAq3BpC,eAAO,MAAM,cAAc,SA2DvB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AI HINT: runa validate command
|
|
3
|
+
*
|
|
4
|
+
* Purpose: Validate runa.config.ts and report actionable errors.
|
|
5
|
+
* Contract: JSON mode emits a single v1 envelope to stdout.
|
|
6
|
+
*/
|
|
7
|
+
import { Command } from 'commander';
|
|
8
|
+
export declare const validateCommand: Command;
|
|
9
|
+
//# sourceMappingURL=validate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validate.d.ts","sourceRoot":"","sources":["../../src/commands/validate.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAQH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAgCpC,eAAO,MAAM,eAAe,SAoBxB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AI HINT: runa vuln-check command
|
|
3
|
+
*
|
|
4
|
+
* Purpose: Comprehensive vulnerability scanning for TypeScript/PostgreSQL projects
|
|
5
|
+
* Features:
|
|
6
|
+
* - OWASP Top 10 detection
|
|
7
|
+
* - Secret detection (API keys, tokens)
|
|
8
|
+
* - RLS policy analysis
|
|
9
|
+
* - Dependency vulnerability scanning (npm audit)
|
|
10
|
+
* - SARIF output for GitHub Code Scanning
|
|
11
|
+
* - False positive management
|
|
12
|
+
*/
|
|
13
|
+
import { Command } from 'commander';
|
|
14
|
+
/**
|
|
15
|
+
* vuln-check command instance
|
|
16
|
+
*/
|
|
17
|
+
export declare const vulnCheckCommand: Command;
|
|
18
|
+
//# sourceMappingURL=vuln-check.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vuln-check.d.ts","sourceRoot":"","sources":["../../src/commands/vuln-check.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAIH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA8DpC;;GAEG;AACH,eAAO,MAAM,gBAAgB,SAsFzB,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AI HINT: Watch command for continuous development feedback
|
|
3
|
+
*
|
|
4
|
+
* Purpose: Watch files and provide instant feedback
|
|
5
|
+
* Features: Schema watching, test watching, combined mode
|
|
6
|
+
* Dynamic: Detects schema paths from runa.config.ts
|
|
7
|
+
*/
|
|
8
|
+
import { Command } from 'commander';
|
|
9
|
+
/**
|
|
10
|
+
* Watch schema files
|
|
11
|
+
*/
|
|
12
|
+
export declare const watchSchemaCommand: Command;
|
|
13
|
+
/**
|
|
14
|
+
* Watch test files
|
|
15
|
+
*/
|
|
16
|
+
export declare const watchTestCommand: Command;
|
|
17
|
+
/**
|
|
18
|
+
* Main watch command
|
|
19
|
+
*/
|
|
20
|
+
export declare const watchCommand: Command;
|
|
21
|
+
//# sourceMappingURL=watch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"watch.d.ts","sourceRoot":"","sources":["../../src/commands/watch.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAUH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAgDpC;;GAEG;AACH,eAAO,MAAM,kBAAkB,SA4C3B,CAAC;AAEL;;GAEG;AACH,eAAO,MAAM,gBAAgB,SA+CzB,CAAC;AA6DL;;GAEG;AACH,eAAO,MAAM,YAAY,SAoBrB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Command } from 'commander';
|
|
2
|
+
/**
|
|
3
|
+
* runa workflow deploy-production - Deploy schema to production
|
|
4
|
+
*
|
|
5
|
+
* PRD Naming Convention:
|
|
6
|
+
* - GH_DATABASE_URL_ADMIN = postgres role (DDL capable, for schema deployment)
|
|
7
|
+
* - GH_DATABASE_URL = drizzle_app role (app runtime)
|
|
8
|
+
*/
|
|
9
|
+
export declare const deployProductionCommand: Command;
|
|
10
|
+
//# sourceMappingURL=deploy-production.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deploy-production.d.ts","sourceRoot":"","sources":["../../../../src/commands/workflow/commands/deploy-production.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAQpC;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB,SAkDjC,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AI HINT: Final status aggregation for workflows
|
|
3
|
+
*
|
|
4
|
+
* Purpose:
|
|
5
|
+
* - Replace brittle bash conditionals based on `needs.*.result`.
|
|
6
|
+
* - Produce a stable status + error message for runa-app notifications.
|
|
7
|
+
*
|
|
8
|
+
* Inputs:
|
|
9
|
+
* - DEPLOY_PREVIEW_RESULT
|
|
10
|
+
* - INTEGRATION_TESTS_RESULT
|
|
11
|
+
* - CLEANUP_RESULT (non-critical; informational)
|
|
12
|
+
*
|
|
13
|
+
* Outputs (GitHub Actions):
|
|
14
|
+
* - status: success | failure | cancelled
|
|
15
|
+
* - error_message: string (optional; empty on success)
|
|
16
|
+
*/
|
|
17
|
+
import { Command } from 'commander';
|
|
18
|
+
export declare const workflowFinalStatusCommand: Command;
|
|
19
|
+
//# sourceMappingURL=final-status.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"final-status.d.ts","sourceRoot":"","sources":["../../../../src/commands/workflow/commands/final-status.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAIH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAmFpC,eAAO,MAAM,0BAA0B,SA6CnC,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AI HINT: Workflow logging helpers
|
|
3
|
+
*
|
|
4
|
+
* Purpose:
|
|
5
|
+
* - Replace long echo blocks in GitHub Actions workflows.
|
|
6
|
+
* - No side effects (no outputs, no file writes, no network).
|
|
7
|
+
*
|
|
8
|
+
* Design:
|
|
9
|
+
* - `runa workflow log <event>` prints a deterministic, human-readable message.
|
|
10
|
+
* - Keep the output stable to avoid noisy diffs in pj-repos.
|
|
11
|
+
*/
|
|
12
|
+
import { Command } from 'commander';
|
|
13
|
+
export declare const workflowLogCommand: Command;
|
|
14
|
+
//# sourceMappingURL=log.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"log.d.ts","sourceRoot":"","sources":["../../../../src/commands/workflow/commands/log.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAqHpC,eAAO,MAAM,kBAAkB,SAM3B,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Command } from 'commander';
|
|
2
|
+
/**
|
|
3
|
+
* runa workflow notify start - Notify workflow start
|
|
4
|
+
*/
|
|
5
|
+
export declare const startCommand: Command;
|
|
6
|
+
/**
|
|
7
|
+
* runa workflow notify complete - Notify workflow completion
|
|
8
|
+
*/
|
|
9
|
+
export declare const completeCommand: Command;
|
|
10
|
+
/**
|
|
11
|
+
* runa workflow notify deployment - Notify deployment event
|
|
12
|
+
*/
|
|
13
|
+
export declare const deploymentCommand: Command;
|
|
14
|
+
/**
|
|
15
|
+
* Main notify command - groups subcommands
|
|
16
|
+
*/
|
|
17
|
+
export declare const notifyCommand: Command;
|
|
18
|
+
//# sourceMappingURL=notify.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notify.d.ts","sourceRoot":"","sources":["../../../../src/commands/workflow/commands/notify.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAyCpC;;GAEG;AACH,eAAO,MAAM,YAAY,SAuEtB,CAAC;AAEJ;;GAEG;AACH,eAAO,MAAM,eAAe,SAmGzB,CAAC;AAEJ;;GAEG;AACH,eAAO,MAAM,iBAAiB,SA8F3B,CAAC;AAEJ;;GAEG;AACH,eAAO,MAAM,aAAa,SAIM,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AI HINT: GitHub Actions path discovery
|
|
3
|
+
*
|
|
4
|
+
* Purpose:
|
|
5
|
+
* - Replace fragile inline bash/Node snippets in workflow YAML.
|
|
6
|
+
* - Provide deterministic outputs for downstream steps.
|
|
7
|
+
*
|
|
8
|
+
* Outputs (GitHub Actions):
|
|
9
|
+
* - app_dir
|
|
10
|
+
* - db_stack
|
|
11
|
+
* - db_root
|
|
12
|
+
*/
|
|
13
|
+
import { Command } from 'commander';
|
|
14
|
+
export declare const workflowPathsCommand: Command;
|
|
15
|
+
//# sourceMappingURL=paths.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paths.d.ts","sourceRoot":"","sources":["../../../../src/commands/workflow/commands/paths.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAIH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAkCpC,eAAO,MAAM,oBAAoB,SA4C7B,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AI HINT: Workflow sync commands
|
|
3
|
+
*
|
|
4
|
+
* Purpose: Synchronize SDK templates with pj-repo
|
|
5
|
+
* Design: DRY principle - single source of truth for workflows and database scripts
|
|
6
|
+
* Features:
|
|
7
|
+
* - sync: Copy template to project files
|
|
8
|
+
* - check: Verify template matches (for pre-commit)
|
|
9
|
+
* - Supports multiple targets: workflow, database:seeds, all
|
|
10
|
+
* - Supports both runa-repo and pj-repo
|
|
11
|
+
*/
|
|
12
|
+
import { Command } from 'commander';
|
|
13
|
+
/**
|
|
14
|
+
* runa workflow check - Check workflow sync status
|
|
15
|
+
*/
|
|
16
|
+
export declare const checkCommand: Command;
|
|
17
|
+
/**
|
|
18
|
+
* runa workflow sync - Sync workflow with SDK template
|
|
19
|
+
*/
|
|
20
|
+
export declare const syncCommand: Command;
|
|
21
|
+
//# sourceMappingURL=sync.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sync.d.ts","sourceRoot":"","sources":["../../../../src/commands/workflow/commands/sync.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAWH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAYpC;;GAEG;AACH,eAAO,MAAM,YAAY,SAsBrB,CAAC;AAEL;;GAEG;AACH,eAAO,MAAM,WAAW,SAsBpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validate.d.ts","sourceRoot":"","sources":["../../../../src/commands/workflow/commands/validate.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAoCpC;;GAEG;AACH;;GAEG;AACH,eAAO,MAAM,eAAe,SAuHxB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AI HINT: Workflow credential verification
|
|
3
|
+
*
|
|
4
|
+
* Purpose:
|
|
5
|
+
* - Replace fragile bash checks in workflows.
|
|
6
|
+
* - Fail fast with clear error messages when dynamic credentials are missing.
|
|
7
|
+
*
|
|
8
|
+
* Expected env vars (recommended):
|
|
9
|
+
* - SUPABASE_URL
|
|
10
|
+
* - SUPABASE_ANON_KEY
|
|
11
|
+
* - RUNA_PRIMARY_ROOT_ID
|
|
12
|
+
*/
|
|
13
|
+
import { Command } from 'commander';
|
|
14
|
+
export declare const verifyCredentialsCommand: Command;
|
|
15
|
+
//# sourceMappingURL=verify-credentials.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verify-credentials.d.ts","sourceRoot":"","sources":["../../../../src/commands/workflow/commands/verify-credentials.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAGH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAiBpC,eAAO,MAAM,wBAAwB,SAkBjC,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AI HINT: Workflow management commands
|
|
3
|
+
*
|
|
4
|
+
* Purpose: GitHub Actions workflow utilities
|
|
5
|
+
* Design: Reduce code duplication in GitHub Actions workflows
|
|
6
|
+
* Commands:
|
|
7
|
+
* - notify: Send notifications to runa-app
|
|
8
|
+
* - sync: Synchronize workflows with SDK templates
|
|
9
|
+
* - check: Verify workflow sync status
|
|
10
|
+
* - deploy-production: Deploy schema to production database
|
|
11
|
+
*/
|
|
12
|
+
import { Command } from 'commander';
|
|
13
|
+
export declare const workflowCommand: Command;
|
|
14
|
+
export type { ProductionDeployConfig, ProductionDeployResponse, WorkflowNotifyConfig, WorkflowNotifyResponse, WorkflowStatus, WorkflowSyncConfig, WorkflowSyncResponse, } from './types.js';
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/workflow/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAUpC,eAAO,MAAM,eAAe,SAE3B,CAAC;AAsBF,YAAY,EACV,sBAAsB,EACtB,wBAAwB,EACxB,oBAAoB,EACpB,sBAAsB,EACtB,cAAc,EACd,kBAAkB,EAClB,oBAAoB,GACrB,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AI HINT: Workflow command types
|
|
3
|
+
*
|
|
4
|
+
* Purpose: Type definitions for workflow management
|
|
5
|
+
* Design: Simple types for GitHub Actions integration
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Workflow notification status
|
|
9
|
+
*/
|
|
10
|
+
export type WorkflowStatus = 'in_progress' | 'success' | 'failure' | 'cancelled';
|
|
11
|
+
/**
|
|
12
|
+
* Workflow notification config
|
|
13
|
+
*/
|
|
14
|
+
export interface WorkflowNotifyConfig {
|
|
15
|
+
/** runa-app webhook URL */
|
|
16
|
+
runaAppUrl: string;
|
|
17
|
+
/** runa-app API token */
|
|
18
|
+
apiToken: string;
|
|
19
|
+
/** GitHub repository full name (owner/repo) */
|
|
20
|
+
repositoryFullName: string;
|
|
21
|
+
/** Pull request number (optional for deployment notifications) */
|
|
22
|
+
prNumber?: number;
|
|
23
|
+
/** Commit SHA */
|
|
24
|
+
commitSha: string;
|
|
25
|
+
/** Workflow status */
|
|
26
|
+
status: WorkflowStatus;
|
|
27
|
+
/** Optional error message */
|
|
28
|
+
errorMessage?: string;
|
|
29
|
+
/** Event type (workflow-update or deployment) */
|
|
30
|
+
eventType?: 'runa-workflow-update' | 'runa-deployment';
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Workflow notification response
|
|
34
|
+
*/
|
|
35
|
+
export interface WorkflowNotifyResponse {
|
|
36
|
+
success: boolean;
|
|
37
|
+
httpCode: number;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Workflow sync config
|
|
41
|
+
*/
|
|
42
|
+
export interface WorkflowSyncConfig {
|
|
43
|
+
/** Is this a runa-repo (vs pj-repo) */
|
|
44
|
+
isRunaRepo: boolean;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Workflow sync response
|
|
48
|
+
*/
|
|
49
|
+
export interface WorkflowSyncResponse {
|
|
50
|
+
/** Whether workflow is in sync with template */
|
|
51
|
+
inSync: boolean;
|
|
52
|
+
/** Human-readable message */
|
|
53
|
+
message: string;
|
|
54
|
+
/** Template path used */
|
|
55
|
+
templatePath: string;
|
|
56
|
+
/** Target path checked/synced */
|
|
57
|
+
targetPath: string;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Production deployment config
|
|
61
|
+
*/
|
|
62
|
+
export interface ProductionDeployConfig {
|
|
63
|
+
/** Production database URL */
|
|
64
|
+
productionDatabaseUrl: string;
|
|
65
|
+
/** Whether to skip validation (not recommended) */
|
|
66
|
+
skipValidation?: boolean;
|
|
67
|
+
/** Whether to skip risk detection (not recommended) */
|
|
68
|
+
skipRiskDetection?: boolean;
|
|
69
|
+
/** Maximum retry attempts for schema application */
|
|
70
|
+
maxRetries?: number;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Production deployment response
|
|
74
|
+
*/
|
|
75
|
+
export interface ProductionDeployResponse {
|
|
76
|
+
/** Whether deployment was successful */
|
|
77
|
+
success: boolean;
|
|
78
|
+
/** Steps completed */
|
|
79
|
+
stepsCompleted: string[];
|
|
80
|
+
/** Steps failed (if any) */
|
|
81
|
+
stepsFailed?: string[];
|
|
82
|
+
/** Error message (if failed) */
|
|
83
|
+
errorMessage?: string;
|
|
84
|
+
/** Rollback instructions (if failed) */
|
|
85
|
+
rollbackInstructions?: string[];
|
|
86
|
+
}
|
|
87
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/commands/workflow/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,aAAa,GAAG,SAAS,GAAG,SAAS,GAAG,WAAW,CAAC;AAEjF;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,2BAA2B;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,yBAAyB;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,+CAA+C;IAC/C,kBAAkB,EAAE,MAAM,CAAC;IAC3B,kEAAkE;IAClE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,iBAAiB;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,sBAAsB;IACtB,MAAM,EAAE,cAAc,CAAC;IACvB,6BAA6B;IAC7B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iDAAiD;IACjD,SAAS,CAAC,EAAE,sBAAsB,GAAG,iBAAiB,CAAC;CACxD;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,uCAAuC;IACvC,UAAU,EAAE,OAAO,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,gDAAgD;IAChD,MAAM,EAAE,OAAO,CAAC;IAChB,6BAA6B;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,yBAAyB;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,iCAAiC;IACjC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,8BAA8B;IAC9B,qBAAqB,EAAE,MAAM,CAAC;IAC9B,mDAAmD;IACnD,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,uDAAuD;IACvD,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,oDAAoD;IACpD,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,wCAAwC;IACxC,OAAO,EAAE,OAAO,CAAC;IACjB,sBAAsB;IACtB,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,4BAA4B;IAC5B,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,gCAAgC;IAChC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,wCAAwC;IACxC,oBAAoB,CAAC,EAAE,MAAM,EAAE,CAAC;CACjC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AI HINT: Environment file loader for CLI (Vercel-aligned structure)
|
|
3
|
+
*
|
|
4
|
+
* Purpose:
|
|
5
|
+
* - Load environment variables from Vercel-aligned .env files for CLI execution.
|
|
6
|
+
* - Auto-decrypt dotenvx encrypted files using .env.keys.
|
|
7
|
+
* - Keep explicit process.env values as the highest priority.
|
|
8
|
+
*
|
|
9
|
+
* Vercel-Aligned Structure (3 environments = 3 files = 3 keys):
|
|
10
|
+
* .env.development → DOTENV_PRIVATE_KEY_DEVELOPMENT
|
|
11
|
+
* .env.preview → DOTENV_PRIVATE_KEY_PREVIEW
|
|
12
|
+
* .env.production → DOTENV_PRIVATE_KEY_PRODUCTION
|
|
13
|
+
*
|
|
14
|
+
* Auto-decryption:
|
|
15
|
+
* - If .env.keys exists, keys are loaded first
|
|
16
|
+
* - dotenvx automatically decrypts encrypted values
|
|
17
|
+
* - No need for `dotenvx run --` wrapper
|
|
18
|
+
*
|
|
19
|
+
* Design goals:
|
|
20
|
+
* - Works in both runa-repo (workspace) and pj-repo (standalone).
|
|
21
|
+
* - Matches Next.js/Vercel environment naming convention.
|
|
22
|
+
* - AI-friendly: `runa db sync` works without special wrappers.
|
|
23
|
+
*/
|
|
24
|
+
type VercelEnvironment = 'development' | 'preview' | 'production';
|
|
25
|
+
type RunaEnvironment = 'local' | 'preview' | 'main' | 'production';
|
|
26
|
+
type EnvFilesLoadOptions = {
|
|
27
|
+
cwd?: string;
|
|
28
|
+
nodeEnv?: 'development' | 'production' | 'test';
|
|
29
|
+
/**
|
|
30
|
+
* If provided, additionally loads `.env.<runaEnv>` and `.env.<runaEnv>.local`.
|
|
31
|
+
* This is useful for environment-scoped commands (e.g., `runa db sync preview`).
|
|
32
|
+
*
|
|
33
|
+
* When runaEnv is 'local', DATABASE_URL related variables are excluded from loading
|
|
34
|
+
* to prevent production URL leakage from .env.development (which contains Vercel
|
|
35
|
+
* Development environment URLs, not local Supabase URLs).
|
|
36
|
+
*/
|
|
37
|
+
runaEnv?: RunaEnvironment;
|
|
38
|
+
/**
|
|
39
|
+
* Overrides which Vercel environment file under `.vercel/` should be loaded.
|
|
40
|
+
*/
|
|
41
|
+
vercelEnv?: VercelEnvironment;
|
|
42
|
+
silent?: boolean;
|
|
43
|
+
};
|
|
44
|
+
type EnvFilesLoadResult = {
|
|
45
|
+
projectRoot: string;
|
|
46
|
+
loadedFiles: string[];
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* Load environment files into process.env with deterministic precedence.
|
|
50
|
+
*
|
|
51
|
+
* Precedence (highest → lowest):
|
|
52
|
+
* - process.env (explicitly provided by caller)
|
|
53
|
+
* - `.env.<NODE_ENV>.local`
|
|
54
|
+
* - `.env.local` (skipped when NODE_ENV is `test` to match Next.js)
|
|
55
|
+
* - `.vercel/.env.<vercelEnv>.local` (Vercel CLI output)
|
|
56
|
+
* - `.env.<NODE_ENV>`
|
|
57
|
+
* - `.env`
|
|
58
|
+
*
|
|
59
|
+
* If runaEnv is provided, the following files are also loaded (in the same precedence model):
|
|
60
|
+
* - `.env.<runaEnv>`
|
|
61
|
+
* - `.env.<runaEnv>.local`
|
|
62
|
+
*/
|
|
63
|
+
export declare function loadEnvFiles(options?: EnvFilesLoadOptions): EnvFilesLoadResult;
|
|
64
|
+
export {};
|
|
65
|
+
//# sourceMappingURL=env-files.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"env-files.d.ts","sourceRoot":"","sources":["../../src/config/env-files.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAYH,KAAK,iBAAiB,GAAG,aAAa,GAAG,SAAS,GAAG,YAAY,CAAC;AAClE,KAAK,eAAe,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,YAAY,CAAC;AAEnE,KAAK,mBAAmB,GAAG;IACzB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,aAAa,GAAG,YAAY,GAAG,MAAM,CAAC;IAChD;;;;;;;OAOG;IACH,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B;;OAEG;IACH,SAAS,CAAC,EAAE,iBAAiB,CAAC;IAC9B,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,KAAK,kBAAkB,GAAG;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,EAAE,CAAC;CACvB,CAAC;AA6EF;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,YAAY,CAAC,OAAO,GAAE,mBAAwB,GAAG,kBAAkB,CAwFlF"}
|