@wildo-ai/wildo-cli 1.1.2 → 1.1.3
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/bin/wildo.d.ts.map +1 -1
- package/dist/src/__tests__/sandbox-dependencies.test-helpers.d.ts.map +1 -1
- package/dist/src/commands/acp/probe.command.d.ts.map +1 -1
- package/dist/src/commands/acp/probe.command.js +13 -0
- package/dist/src/commands/acp/probe.command.js.map +1 -1
- package/dist/src/commands/align-deps.command.d.ts.map +1 -1
- package/dist/src/commands/assets/sync.command.d.ts +6 -0
- package/dist/src/commands/assets/sync.command.d.ts.map +1 -1
- package/dist/src/commands/assets/sync.command.js +13 -3
- package/dist/src/commands/assets/sync.command.js.map +1 -1
- package/dist/src/commands/brand/propagate.command.d.ts.map +1 -1
- package/dist/src/commands/compose.command.d.ts.map +1 -1
- package/dist/src/commands/compose.command.js +16 -0
- package/dist/src/commands/compose.command.js.map +1 -1
- package/dist/src/commands/config/__tests__/reapply-declaration.command.test.d.ts.map +1 -1
- package/dist/src/commands/config/__tests__/reapply-declaration.command.test.js +1 -1
- package/dist/src/commands/config/__tests__/reapply-declaration.command.test.js.map +1 -1
- package/dist/src/commands/config/__tests__/sync.command.test.d.ts.map +1 -1
- package/dist/src/commands/config/__tests__/sync.command.test.js +115 -8
- package/dist/src/commands/config/__tests__/sync.command.test.js.map +1 -1
- package/dist/src/commands/config/__tests__/validate.command.test.d.ts.map +1 -1
- package/dist/src/commands/config/mutate.command.d.ts.map +1 -1
- package/dist/src/commands/config/reapply-declaration.command.d.ts.map +1 -1
- package/dist/src/commands/config/sync.command.d.ts +36 -0
- package/dist/src/commands/config/sync.command.d.ts.map +1 -1
- package/dist/src/commands/config/sync.command.js +61 -7
- package/dist/src/commands/config/sync.command.js.map +1 -1
- package/dist/src/commands/config/validate.command.d.ts.map +1 -1
- package/dist/src/commands/context/__tests__/jurisdictions.command.test.d.ts +19 -0
- package/dist/src/commands/context/__tests__/jurisdictions.command.test.d.ts.map +1 -0
- package/dist/src/commands/context/__tests__/jurisdictions.command.test.js +106 -0
- package/dist/src/commands/context/__tests__/jurisdictions.command.test.js.map +1 -0
- package/dist/src/commands/context/coherence.command.d.ts.map +1 -1
- package/dist/src/commands/context/context-command.utils.d.ts.map +1 -1
- package/dist/src/commands/context/health.command.d.ts.map +1 -1
- package/dist/src/commands/context/info.command.d.ts.map +1 -1
- package/dist/src/commands/context/journey.command.d.ts +6 -2
- package/dist/src/commands/context/journey.command.d.ts.map +1 -1
- package/dist/src/commands/context/journey.command.js +8 -4
- package/dist/src/commands/context/journey.command.js.map +1 -1
- package/dist/src/commands/context/jurisdictions.command.d.ts +36 -0
- package/dist/src/commands/context/jurisdictions.command.d.ts.map +1 -0
- package/dist/src/commands/context/jurisdictions.command.js +115 -0
- package/dist/src/commands/context/jurisdictions.command.js.map +1 -0
- package/dist/src/commands/context/list.command.d.ts.map +1 -1
- package/dist/src/commands/db/db-schema-plan.utils.d.ts.map +1 -1
- package/dist/src/commands/db/diff.command.d.ts.map +1 -1
- package/dist/src/commands/db/generate.command.d.ts.map +1 -1
- package/dist/src/commands/db/migrate.command.d.ts.map +1 -1
- package/dist/src/commands/db/resolve.command.d.ts.map +1 -1
- package/dist/src/commands/dev/__tests__/design-tokens.command.test.d.ts.map +1 -1
- package/dist/src/commands/dev/__tests__/start.command.test.d.ts.map +1 -1
- package/dist/src/commands/dev/__tests__/start.command.test.js +6 -6
- package/dist/src/commands/dev/__tests__/start.command.test.js.map +1 -1
- package/dist/src/commands/dev/__tests__/stop.command.test.d.ts.map +1 -1
- package/dist/src/commands/dev/__tests__/sync-csp.command.test.d.ts.map +1 -1
- package/dist/src/commands/dev/__tests__/sync-csp.command.test.js +71 -0
- package/dist/src/commands/dev/__tests__/sync-csp.command.test.js.map +1 -1
- package/dist/src/commands/dev/charts-audit.command.d.ts.map +1 -1
- package/dist/src/commands/dev/charts-audit.command.js +1 -1
- package/dist/src/commands/dev/charts-audit.command.js.map +1 -1
- package/dist/src/commands/dev/design-tokens-generate.command.d.ts.map +1 -1
- package/dist/src/commands/dev/design-tokens-init.command.d.ts.map +1 -1
- package/dist/src/commands/dev/design-tokens-validate.command.d.ts.map +1 -1
- package/dist/src/commands/dev/force-stop.command.d.ts.map +1 -1
- package/dist/src/commands/dev/resources.command.d.ts.map +1 -1
- package/dist/src/commands/dev/start.command.d.ts.map +1 -1
- package/dist/src/commands/dev/start.command.js +8 -7
- package/dist/src/commands/dev/start.command.js.map +1 -1
- package/dist/src/commands/dev/stop-all.command.d.ts.map +1 -1
- package/dist/src/commands/dev/sync-csp.command.d.ts.map +1 -1
- package/dist/src/commands/dev/sync-csp.command.js +35 -7
- package/dist/src/commands/dev/sync-csp.command.js.map +1 -1
- package/dist/src/commands/docs/__tests__/publish.command.test.d.ts +2 -0
- package/dist/src/commands/docs/__tests__/publish.command.test.d.ts.map +1 -0
- package/dist/src/commands/docs/__tests__/publish.command.test.js +101 -0
- package/dist/src/commands/docs/__tests__/publish.command.test.js.map +1 -0
- package/dist/src/commands/docs/publish.command.d.ts +29 -0
- package/dist/src/commands/docs/publish.command.d.ts.map +1 -0
- package/dist/src/commands/docs/publish.command.js +82 -0
- package/dist/src/commands/docs/publish.command.js.map +1 -0
- package/dist/src/commands/frontend/publish.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/__tests__/dev-skills.command.test.d.ts.map +1 -1
- package/dist/src/commands/fwk/__tests__/generate-docs.command.test.d.ts.map +1 -1
- package/dist/src/commands/fwk/__tests__/generate-docs.command.test.js.map +1 -1
- package/dist/src/commands/fwk/audit.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/dev-skills.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/dev-skills.command.js +12 -0
- package/dist/src/commands/fwk/dev-skills.command.js.map +1 -1
- package/dist/src/commands/fwk/generate-docs.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/generate-providers.command.d.ts +21 -0
- package/dist/src/commands/fwk/generate-providers.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/generate-providers.command.js +309 -0
- package/dist/src/commands/fwk/generate-providers.command.js.map +1 -0
- package/dist/src/commands/fwk/graph.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-all.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-docker.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-npm.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/version-bump.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/version-set.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/version-show.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/version-show.command.js +9 -1
- package/dist/src/commands/fwk/version-show.command.js.map +1 -1
- package/dist/src/commands/fwk/version-sync.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/what-touches.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/wt-status.command.d.ts +13 -4
- package/dist/src/commands/fwk/wt-status.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/wt-status.command.js +34 -5
- package/dist/src/commands/fwk/wt-status.command.js.map +1 -1
- package/dist/src/commands/fwk/wt-tail.command.d.ts +12 -6
- package/dist/src/commands/fwk/wt-tail.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/wt-tail.command.js +40 -10
- package/dist/src/commands/fwk/wt-tail.command.js.map +1 -1
- package/dist/src/commands/generate/__tests__/email-command.utils.test.d.ts.map +1 -1
- package/dist/src/commands/generate/__tests__/email-command.utils.test.js +0 -1
- package/dist/src/commands/generate/__tests__/email-command.utils.test.js.map +1 -1
- package/dist/src/commands/generate/email-command.utils.d.ts.map +1 -1
- package/dist/src/commands/generate/email-command.utils.js +1 -0
- package/dist/src/commands/generate/email-command.utils.js.map +1 -1
- package/dist/src/commands/generate/email-preview.command.d.ts.map +1 -1
- package/dist/src/commands/generate/email-status.command.d.ts.map +1 -1
- package/dist/src/commands/generate/email-test-send.command.d.ts.map +1 -1
- package/dist/src/commands/generate/email-translate.command.d.ts.map +1 -1
- package/dist/src/commands/generate/email.command.d.ts.map +1 -1
- package/dist/src/commands/generate/labelling-command.utils.d.ts.map +1 -1
- package/dist/src/commands/generate/labelling-command.utils.js +1 -0
- package/dist/src/commands/generate/labelling-command.utils.js.map +1 -1
- package/dist/src/commands/generate/labels-plan.command.d.ts.map +1 -1
- package/dist/src/commands/generate/labels.command.d.ts.map +1 -1
- package/dist/src/commands/generate/translate.command.d.ts.map +1 -1
- package/dist/src/commands/help.command.d.ts.map +1 -1
- package/dist/src/commands/help.command.js +2 -0
- package/dist/src/commands/help.command.js.map +1 -1
- package/dist/src/commands/init.command.d.ts +17 -0
- package/dist/src/commands/init.command.d.ts.map +1 -1
- package/dist/src/commands/init.command.js +57 -4
- package/dist/src/commands/init.command.js.map +1 -1
- package/dist/src/commands/local/__tests__/dev-status.command.test.d.ts.map +1 -1
- package/dist/src/commands/local/__tests__/dev.command.test.d.ts.map +1 -1
- package/dist/src/commands/local/__tests__/dev.command.test.js +60 -0
- package/dist/src/commands/local/__tests__/dev.command.test.js.map +1 -1
- package/dist/src/commands/local/__tests__/doctor.command.test.d.ts.map +1 -1
- package/dist/src/commands/local/__tests__/doctor.command.test.js +16 -2
- package/dist/src/commands/local/__tests__/doctor.command.test.js.map +1 -1
- package/dist/src/commands/local/__tests__/init.command.test.d.ts.map +1 -1
- package/dist/src/commands/local/__tests__/init.command.test.js +28 -1
- package/dist/src/commands/local/__tests__/init.command.test.js.map +1 -1
- package/dist/src/commands/local/__tests__/reinit.command.test.d.ts.map +1 -1
- package/dist/src/commands/local/__tests__/reset.command.test.d.ts.map +1 -1
- package/dist/src/commands/local/__tests__/up.command.test.d.ts.map +1 -1
- package/dist/src/commands/local/__tests__/up.command.test.js +7 -0
- package/dist/src/commands/local/__tests__/up.command.test.js.map +1 -1
- package/dist/src/commands/local/dev-status.command.d.ts.map +1 -1
- package/dist/src/commands/local/dev.command.d.ts +6 -3
- package/dist/src/commands/local/dev.command.d.ts.map +1 -1
- package/dist/src/commands/local/dev.command.js +13 -4
- package/dist/src/commands/local/dev.command.js.map +1 -1
- package/dist/src/commands/local/doctor.command.d.ts +9 -0
- package/dist/src/commands/local/doctor.command.d.ts.map +1 -1
- package/dist/src/commands/local/doctor.command.js +24 -6
- package/dist/src/commands/local/doctor.command.js.map +1 -1
- package/dist/src/commands/local/down.command.d.ts.map +1 -1
- package/dist/src/commands/local/init.command.d.ts.map +1 -1
- package/dist/src/commands/local/init.command.js +11 -2
- package/dist/src/commands/local/init.command.js.map +1 -1
- package/dist/src/commands/local/logs.command.d.ts.map +1 -1
- package/dist/src/commands/local/reinit.command.d.ts.map +1 -1
- package/dist/src/commands/local/reset.command.d.ts.map +1 -1
- package/dist/src/commands/local/status.command.d.ts.map +1 -1
- package/dist/src/commands/local/up.command.d.ts.map +1 -1
- package/dist/src/commands/local/up.command.js.map +1 -1
- package/dist/src/commands/lock/__tests__/check.command.test.d.ts.map +1 -1
- package/dist/src/commands/lock/__tests__/check.live.contract.test.d.ts.map +1 -1
- package/dist/src/commands/lock/check.command.d.ts.map +1 -1
- package/dist/src/commands/lock/check.command.js +3 -10
- package/dist/src/commands/lock/check.command.js.map +1 -1
- package/dist/src/commands/market/__tests__/generate.command.test.d.ts.map +1 -1
- package/dist/src/commands/market/__tests__/market-command.utils.test.d.ts.map +1 -1
- package/dist/src/commands/market/__tests__/market-command.utils.test.js +0 -1
- package/dist/src/commands/market/__tests__/market-command.utils.test.js.map +1 -1
- package/dist/src/commands/market/generate.command.d.ts.map +1 -1
- package/dist/src/commands/market/market-command.utils.d.ts.map +1 -1
- package/dist/src/commands/market/market-command.utils.js +1 -0
- package/dist/src/commands/market/market-command.utils.js.map +1 -1
- package/dist/src/commands/providers/__tests__/required-inputs.test.d.ts +2 -0
- package/dist/src/commands/providers/__tests__/required-inputs.test.d.ts.map +1 -0
- package/dist/src/commands/providers/__tests__/required-inputs.test.js +35 -0
- package/dist/src/commands/providers/__tests__/required-inputs.test.js.map +1 -0
- package/dist/src/commands/providers/show.command.d.ts +51 -0
- package/dist/src/commands/providers/show.command.d.ts.map +1 -0
- package/dist/src/commands/providers/show.command.js +152 -0
- package/dist/src/commands/providers/show.command.js.map +1 -0
- package/dist/src/commands/registry/add.command.d.ts.map +1 -1
- package/dist/src/commands/registry/info.command.d.ts.map +1 -1
- package/dist/src/commands/registry/lockfile-smoke.command.d.ts.map +1 -1
- package/dist/src/commands/registry/login.command.d.ts.map +1 -1
- package/dist/src/commands/registry/logout.command.d.ts.map +1 -1
- package/dist/src/commands/registry/ping.command.d.ts.map +1 -1
- package/dist/src/commands/registry/publish.command.d.ts.map +1 -1
- package/dist/src/commands/registry/remove.command.d.ts.map +1 -1
- package/dist/src/commands/registry/repair-lockfile.command.d.ts.map +1 -1
- package/dist/src/commands/registry/search.command.d.ts.map +1 -1
- package/dist/src/commands/registry/update.command.d.ts.map +1 -1
- package/dist/src/commands/registry/whoami.command.d.ts.map +1 -1
- package/dist/src/commands/remote/__tests__/remote-commands.test.d.ts.map +1 -1
- package/dist/src/commands/remote/create.command.d.ts.map +1 -1
- package/dist/src/commands/remote/list.command.d.ts.map +1 -1
- package/dist/src/commands/remote/status.command.d.ts.map +1 -1
- package/dist/src/commands/remote/sync.command.d.ts.map +1 -1
- package/dist/src/commands/setup.command.d.ts.map +1 -1
- package/dist/src/commands/version.command.d.ts.map +1 -1
- package/dist/src/commands/website/__tests__/audit.command.test.d.ts.map +1 -1
- package/dist/src/commands/website/audit.command.d.ts.map +1 -1
- package/dist/src/commands/workbench/__tests__/workbench.commands.test.d.ts.map +1 -1
- package/dist/src/commands/workbench/open.command.d.ts.map +1 -1
- package/dist/src/commands/workbench/status.command.d.ts.map +1 -1
- package/dist/src/infrastructure/errors/error.utils.d.ts.map +1 -1
- package/dist/src/infrastructure/io/file.utils.d.ts.map +1 -1
- package/dist/src/infrastructure/io/io.schemas.d.ts.map +1 -1
- package/dist/src/infrastructure/io/template-processor.d.ts.map +1 -1
- package/dist/src/infrastructure/logger/logger.service.d.ts.map +1 -1
- package/dist/src/infrastructure/process/__tests__/spawn.utils.test.d.ts.map +1 -1
- package/dist/src/infrastructure/process/spawn.utils.d.ts.map +1 -1
- package/dist/src/infrastructure/ui/formatting.service.d.ts.map +1 -1
- package/dist/src/infrastructure/ui/interaction-engine.service.d.ts.map +1 -1
- package/dist/src/infrastructure/ui/markdown-renderer.service.d.ts.map +1 -1
- package/dist/src/infrastructure/ui/ui.schemas.d.ts.map +1 -1
- package/dist/src/infrastructure/utils/string.utils.d.ts.map +1 -1
- package/dist/src/infrastructure/validation/validator.service.d.ts.map +1 -1
- package/dist/src/kernel/__tests__/bootstrap.test.d.ts.map +1 -1
- package/dist/src/kernel/__tests__/command-registry.test.d.ts.map +1 -1
- package/dist/src/kernel/__tests__/command-registry.test.js +9 -0
- package/dist/src/kernel/__tests__/command-registry.test.js.map +1 -1
- package/dist/src/kernel/__tests__/command-runner.test.d.ts.map +1 -1
- package/dist/src/kernel/__tests__/command-scope-utils.test.d.ts.map +1 -1
- package/dist/src/kernel/__tests__/flag-utils.test.d.ts.map +1 -1
- package/dist/src/kernel/__tests__/hooks.test.d.ts.map +1 -1
- package/dist/src/kernel/base-command.d.ts.map +1 -1
- package/dist/src/kernel/bootstrap.d.ts.map +1 -1
- package/dist/src/kernel/command-registry.d.ts.map +1 -1
- package/dist/src/kernel/command-registry.js +6 -0
- package/dist/src/kernel/command-registry.js.map +1 -1
- package/dist/src/kernel/command-runner.d.ts.map +1 -1
- package/dist/src/kernel/command-scope-utils.d.ts.map +1 -1
- package/dist/src/kernel/flag-utils.d.ts.map +1 -1
- package/dist/src/kernel/hooks.d.ts.map +1 -1
- package/dist/src/kernel/logger.d.ts.map +1 -1
- package/dist/src/kernel/types.d.ts +17 -1
- package/dist/src/kernel/types.d.ts.map +1 -1
- package/dist/src/kernel/types.js +16 -0
- package/dist/src/kernel/types.js.map +1 -1
- package/dist/src/main.d.ts.map +1 -1
- package/dist/src/modules/domain/credentials/__tests__/admin-user.module.test.d.ts.map +1 -1
- package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.d.ts.map +1 -1
- package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.js +2 -2
- package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.js.map +1 -1
- package/dist/src/modules/domain/credentials/admin-user.module.d.ts.map +1 -1
- package/dist/src/modules/domain/credentials/module.types.d.ts.map +1 -1
- package/dist/src/modules/domain/credentials/providers-config.module.d.ts +17 -9
- package/dist/src/modules/domain/credentials/providers-config.module.d.ts.map +1 -1
- package/dist/src/modules/domain/credentials/providers-config.module.js +18 -10
- package/dist/src/modules/domain/credentials/providers-config.module.js.map +1 -1
- package/dist/src/modules/domain/environment/__tests__/database-config.module.test.d.ts.map +1 -1
- package/dist/src/modules/domain/environment/database-config.module.d.ts.map +1 -1
- package/dist/src/modules/domain/environment/module.types.d.ts.map +1 -1
- package/dist/src/modules/domain/environment/paths-config.module.d.ts.map +1 -1
- package/dist/src/modules/domain/environment/runtime-selector.module.d.ts.map +1 -1
- package/dist/src/modules/domain/environment/runtime-semantics.module.d.ts.map +1 -1
- package/dist/src/modules/domain/module.types.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.degraded-env.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.js +1 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.js.map +1 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.test.js +22 -29
- package/dist/src/services/application/__tests__/app-bootstrap.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js +1 -1
- package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js.map +1 -1
- package/dist/src/services/application/__tests__/app-runtime-targets.service.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/app-runtime-targets.service.test.js +2 -2
- package/dist/src/services/application/__tests__/app-runtime-targets.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/application-assets-delivery.service.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js +19 -0
- package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/application-initialization-verification.service.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.js.map +1 -1
- package/dist/src/services/application/__tests__/audit-provider-immudb-backing.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/dev-orchestrator.service.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/dev-schema-drift.service.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.js +0 -1
- package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/local-app-reinit.service.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/local-app-reinit.service.test.js +8 -1
- package/dist/src/services/application/__tests__/local-app-reinit.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/local-application-initialization.guard.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/local-application-initialization.service.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/local-application-initialization.service.test.js +35 -0
- package/dist/src/services/application/__tests__/local-application-initialization.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/provider-package-links.service.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/provider-package-links.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/provider-package-links.service.test.js +156 -0
- package/dist/src/services/application/__tests__/provider-package-links.service.test.js.map +1 -0
- package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js +28 -0
- package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.js +0 -1
- package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.js.map +1 -1
- package/dist/src/services/application/__tests__/saas-scaffold.service.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/saas-skeleton.service.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/saas-skeleton.service.test.js.map +1 -1
- package/dist/src/services/application/app-bootstrap.service.d.ts +34 -10
- package/dist/src/services/application/app-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/app-bootstrap.service.js +62 -48
- package/dist/src/services/application/app-bootstrap.service.js.map +1 -1
- package/dist/src/services/application/app-env.service.d.ts.map +1 -1
- package/dist/src/services/application/app-local-runtime-addresses.service.d.ts.map +1 -1
- package/dist/src/services/application/app-runtime-targets.service.d.ts.map +1 -1
- package/dist/src/services/application/app-schema-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/application-assets-delivery.service.d.ts +22 -1
- package/dist/src/services/application/application-assets-delivery.service.d.ts.map +1 -1
- package/dist/src/services/application/application-assets-delivery.service.js +35 -7
- package/dist/src/services/application/application-assets-delivery.service.js.map +1 -1
- package/dist/src/services/application/application-dependency-alignment.service.d.ts.map +1 -1
- package/dist/src/services/application/application-dev-port-offsets.d.ts.map +1 -1
- package/dist/src/services/application/application-initialization-verification.service.d.ts.map +1 -1
- package/dist/src/services/application/application-root.utils.d.ts.map +1 -1
- package/dist/src/services/application/application-runtime-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/application-runtime-bootstrap.service.js +0 -2
- package/dist/src/services/application/application-runtime-bootstrap.service.js.map +1 -1
- package/dist/src/services/application/dev-orchestrator.service.d.ts.map +1 -1
- package/dist/src/services/application/dev-schema-drift.service.d.ts.map +1 -1
- package/dist/src/services/application/existing-app-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/local-app-reinit.service.d.ts.map +1 -1
- package/dist/src/services/application/local-application-initialization.service.d.ts.map +1 -1
- package/dist/src/services/application/local-application-initialization.service.js +22 -6
- package/dist/src/services/application/local-application-initialization.service.js.map +1 -1
- package/dist/src/services/application/provider-package-links.service.d.ts +130 -0
- package/dist/src/services/application/provider-package-links.service.d.ts.map +1 -0
- package/dist/src/services/application/provider-package-links.service.js +280 -0
- package/dist/src/services/application/provider-package-links.service.js.map +1 -0
- package/dist/src/services/application/provider-runtime-sync.service.d.ts.map +1 -1
- package/dist/src/services/application/provider-runtime-sync.service.js +6 -20
- package/dist/src/services/application/provider-runtime-sync.service.js.map +1 -1
- package/dist/src/services/application/saas-scaffold.service.d.ts.map +1 -1
- package/dist/src/services/application/saas-scaffold.service.js +11 -2
- package/dist/src/services/application/saas-scaffold.service.js.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.d.ts.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.js +24 -24
- package/dist/src/services/application/saas-skeleton.service.js.map +1 -1
- package/dist/src/services/brand/__tests__/brand-asset-delivery.test.d.ts.map +1 -1
- package/dist/src/services/brand/brand-asset-projection.d.ts.map +1 -1
- package/dist/src/services/brand/brand-destination-utils.d.ts.map +1 -1
- package/dist/src/services/brand/brand-propagation.types.d.ts.map +1 -1
- package/dist/src/services/brand/brand-ssot-reader.d.ts.map +1 -1
- package/dist/src/services/brand/destinations/app-public.destination.d.ts.map +1 -1
- package/dist/src/services/brand/destinations/runtime-app-config.destination.d.ts.map +1 -1
- package/dist/src/services/brand/destinations/technical-doc-static.destination.d.ts.map +1 -1
- package/dist/src/services/brand/destinations/website-og.destination.d.ts.map +1 -1
- package/dist/src/services/brand/destinations/website-public.destination.d.ts.map +1 -1
- package/dist/src/services/catalog/__tests__/durable-state-classification.test.d.ts +2 -0
- package/dist/src/services/catalog/__tests__/durable-state-classification.test.d.ts.map +1 -0
- package/dist/src/services/catalog/__tests__/durable-state-classification.test.js +93 -0
- package/dist/src/services/catalog/__tests__/durable-state-classification.test.js.map +1 -0
- package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.d.ts.map +1 -1
- package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js +25 -5
- package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js.map +1 -1
- package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.d.ts.map +1 -1
- package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.js +109 -51
- package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.js.map +1 -1
- package/dist/src/services/catalog/service-address-resolver.service.d.ts +0 -1
- package/dist/src/services/catalog/service-address-resolver.service.d.ts.map +1 -1
- package/dist/src/services/catalog/service-address-resolver.service.js +23 -7
- package/dist/src/services/catalog/service-address-resolver.service.js.map +1 -1
- package/dist/src/services/catalog/service-catalog.schemas.d.ts +148 -51
- package/dist/src/services/catalog/service-catalog.schemas.d.ts.map +1 -1
- package/dist/src/services/catalog/service-catalog.schemas.js +230 -78
- package/dist/src/services/catalog/service-catalog.schemas.js.map +1 -1
- package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.d.ts +2 -0
- package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.d.ts.map +1 -0
- package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.js +110 -0
- package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.js.map +1 -0
- package/dist/src/services/coding-agents/acp-conformance-probe.service.d.ts +32 -0
- package/dist/src/services/coding-agents/acp-conformance-probe.service.d.ts.map +1 -1
- package/dist/src/services/coding-agents/acp-conformance-probe.service.js +165 -7
- package/dist/src/services/coding-agents/acp-conformance-probe.service.js.map +1 -1
- package/dist/src/services/companion/__tests__/companion-client.service.test.d.ts.map +1 -1
- package/dist/src/services/companion/__tests__/companion-client.service.test.js +96 -0
- package/dist/src/services/companion/__tests__/companion-client.service.test.js.map +1 -1
- package/dist/src/services/companion/__tests__/companion-lifecycle.service.test.d.ts.map +1 -1
- package/dist/src/services/companion/__tests__/workbench-browser-launcher.service.test.d.ts.map +1 -1
- package/dist/src/services/companion/__tests__/workbench-cli.service.test.d.ts.map +1 -1
- package/dist/src/services/companion/companion-client-options.utils.d.ts.map +1 -1
- package/dist/src/services/companion/companion-client-options.utils.js +6 -0
- package/dist/src/services/companion/companion-client-options.utils.js.map +1 -1
- package/dist/src/services/companion/companion-client.service.d.ts.map +1 -1
- package/dist/src/services/companion/companion-client.service.js +34 -0
- package/dist/src/services/companion/companion-client.service.js.map +1 -1
- package/dist/src/services/companion/companion-lifecycle.service.d.ts.map +1 -1
- package/dist/src/services/companion/companion-local-token.utils.d.ts +20 -0
- package/dist/src/services/companion/companion-local-token.utils.d.ts.map +1 -0
- package/dist/src/services/companion/companion-local-token.utils.js +62 -0
- package/dist/src/services/companion/companion-local-token.utils.js.map +1 -0
- package/dist/src/services/companion/companion.schemas.d.ts +12 -0
- package/dist/src/services/companion/companion.schemas.d.ts.map +1 -1
- package/dist/src/services/companion/companion.schemas.js.map +1 -1
- package/dist/src/services/companion/git-helper.service.d.ts.map +1 -1
- package/dist/src/services/companion/local-companion-authority.service.d.ts.map +1 -1
- package/dist/src/services/companion/local-companion-authority.service.js +9 -30
- package/dist/src/services/companion/local-companion-authority.service.js.map +1 -1
- package/dist/src/services/companion/workbench-browser-launcher.service.d.ts.map +1 -1
- package/dist/src/services/companion/workbench-cli.service.d.ts.map +1 -1
- package/dist/src/services/context/__tests__/context-manager.installed-assets.test.d.ts.map +1 -1
- package/dist/src/services/context/__tests__/context-manager.installed-assets.test.js +7 -0
- package/dist/src/services/context/__tests__/context-manager.installed-assets.test.js.map +1 -1
- package/dist/src/services/context/__tests__/context-manager.service.test.d.ts.map +1 -1
- package/dist/src/services/context/context-manager.service.d.ts +9 -0
- package/dist/src/services/context/context-manager.service.d.ts.map +1 -1
- package/dist/src/services/context/context-manager.service.js +13 -1
- package/dist/src/services/context/context-manager.service.js.map +1 -1
- package/dist/src/services/context/context.schemas.d.ts.map +1 -1
- package/dist/src/services/context/state-manager.service.d.ts.map +1 -1
- package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.d.ts +28 -0
- package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.js +197 -0
- package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.js.map +1 -0
- package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.d.ts +2 -0
- package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.js +327 -0
- package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.js.map +1 -0
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.d.ts.map +1 -1
- package/dist/src/services/credentials/__tests__/secrets-contracts.test.d.ts.map +1 -1
- package/dist/src/services/credentials/ci-secrets-adapter.service.d.ts.map +1 -1
- package/dist/src/services/credentials/ci-secrets-adapter.service.js +98 -37
- package/dist/src/services/credentials/ci-secrets-adapter.service.js.map +1 -1
- package/dist/src/services/credentials/composed-provider-catalogue.d.ts +175 -0
- package/dist/src/services/credentials/composed-provider-catalogue.d.ts.map +1 -0
- package/dist/src/services/credentials/composed-provider-catalogue.js +228 -0
- package/dist/src/services/credentials/composed-provider-catalogue.js.map +1 -0
- package/dist/src/services/credentials/credentials.schemas.d.ts +2 -22
- package/dist/src/services/credentials/credentials.schemas.d.ts.map +1 -1
- package/dist/src/services/credentials/credentials.schemas.js +17 -5
- package/dist/src/services/credentials/credentials.schemas.js.map +1 -1
- package/dist/src/services/credentials/credentials.service.d.ts.map +1 -1
- package/dist/src/services/credentials/framework-managed-secrets.d.ts +105 -1
- package/dist/src/services/credentials/framework-managed-secrets.d.ts.map +1 -1
- package/dist/src/services/credentials/framework-managed-secrets.js +2 -0
- package/dist/src/services/credentials/framework-managed-secrets.js.map +1 -1
- package/dist/src/services/credentials/provider-env-vars.utils.d.ts +127 -7
- package/dist/src/services/credentials/provider-env-vars.utils.d.ts.map +1 -1
- package/dist/src/services/credentials/provider-env-vars.utils.js +189 -45
- package/dist/src/services/credentials/provider-env-vars.utils.js.map +1 -1
- package/dist/src/services/credentials/secrets-provisioning.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-reader.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-rotation.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-writer.service.d.ts.map +1 -1
- package/dist/src/services/data-services/data-services.schemas.d.ts +0 -1
- package/dist/src/services/data-services/data-services.schemas.d.ts.map +1 -1
- package/dist/src/services/data-services/data-services.schemas.js +0 -1
- package/dist/src/services/data-services/data-services.schemas.js.map +1 -1
- package/dist/src/services/data-services/data-services.service.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/apps-manager-diagnostics.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.js +91 -1
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.js.map +1 -1
- package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js +45 -15
- package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js.map +1 -1
- package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.js +33 -1
- package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.js.map +1 -1
- package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/local-dev-observer-lifecycle.test.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/local-dev-output-boundary.test.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/local-dev-shutdown-coordinator.test.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.js +44 -1
- package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.js.map +1 -1
- package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.js +82 -87
- package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.js.map +1 -1
- package/dist/src/services/deployment/__tests__/platform-lifecycle.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/platform-runtime-policy.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/apps-manager-diagnostics.service.d.ts.map +1 -1
- package/dist/src/services/deployment/ci-deploy-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/ci-deploy-generator.service.js +11 -1
- package/dist/src/services/deployment/ci-deploy-generator.service.js.map +1 -1
- package/dist/src/services/deployment/ci-workflow-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/ci-workflow-generator.service.js +23 -4
- package/dist/src/services/deployment/ci-workflow-generator.service.js.map +1 -1
- package/dist/src/services/deployment/docker/__tests__/compose-env-value-encoding.test.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/__tests__/compose-host-mounted-artifact.test.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js +150 -7
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js.map +1 -1
- package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts +1 -1
- package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-generator.service.js +60 -12
- package/dist/src/services/deployment/docker/docker-compose-generator.service.js.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker.schemas.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker.service.d.ts.map +1 -1
- package/dist/src/services/deployment/host-toolchain-readiness.service.d.ts.map +1 -1
- package/dist/src/services/deployment/infra-writer.service.d.ts.map +1 -1
- package/dist/src/services/deployment/infra-writer.service.js +11 -3
- package/dist/src/services/deployment/infra-writer.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js +110 -9
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js.map +1 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-operations.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.d.ts +2 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.js +226 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.js.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js +132 -12
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js.map +1 -1
- package/dist/src/services/deployment/k8s/__tests__/kind.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js +3 -0
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js +45 -9
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts +4 -3
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js +0 -4
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-operations.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.d.ts +10 -1
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js +193 -33
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s.schemas.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/kind.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/local-k8s-application-pruning.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-dev-observer-lifecycle.d.ts.map +1 -1
- package/dist/src/services/deployment/local-dev-output-boundary.d.ts.map +1 -1
- package/dist/src/services/deployment/local-dev-session-lease.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-dev-shutdown-coordinator.d.ts.map +1 -1
- package/dist/src/services/deployment/local-infrastructure-initialization.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.schemas.d.ts.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.service.d.ts +28 -17
- package/dist/src/services/deployment/local-precondition-checks.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.service.js +83 -3
- package/dist/src/services/deployment/local-precondition-checks.service.js.map +1 -1
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.d.ts.map +1 -1
- package/dist/src/services/deployment/platform-lifecycle.service.d.ts.map +1 -1
- package/dist/src/services/deployment/platform-runtime-policy.service.d.ts.map +1 -1
- package/dist/src/services/deployment/version-compare.utils.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-command.service.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-config.service.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-config.template.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-css-block.service.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-paths.service.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens.constants.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens.models.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/compose-converge-args.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/config-hydration-seam.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.js +36 -20
- package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.js.map +1 -1
- package/dist/src/services/environment/__tests__/env-sync.service.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/env-sync.service.test.js +6 -4
- package/dist/src/services/environment/__tests__/env-sync.service.test.js.map +1 -1
- package/dist/src/services/environment/__tests__/env-vars-builder.service.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js +89 -8
- package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js.map +1 -1
- package/dist/src/services/environment/__tests__/environment-hydration.utils.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-mongodb.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-postgresql.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.d.ts +2 -0
- package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.d.ts.map +1 -0
- package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.js +136 -0
- package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.js.map +1 -0
- package/dist/src/services/environment/__tests__/environment-paths.service.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/environment-registry.service.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js +23 -0
- package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js.map +1 -1
- package/dist/src/services/environment/__tests__/platform-engine-change.utils.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/platform-image-ref.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/platform-image-ref.test.js.map +1 -1
- package/dist/src/services/environment/__tests__/platform-runtime-state.service.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/provider-secrets-env.service.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.d.ts.map +1 -1
- package/dist/src/services/environment/authored-infra-config.utils.d.ts.map +1 -1
- package/dist/src/services/environment/env-configuration-generator.service.d.ts +52 -14
- package/dist/src/services/environment/env-configuration-generator.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-configuration-generator.service.js +41 -38
- package/dist/src/services/environment/env-configuration-generator.service.js.map +1 -1
- package/dist/src/services/environment/env-sync.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-sync.service.js +13 -13
- package/dist/src/services/environment/env-sync.service.js.map +1 -1
- package/dist/src/services/environment/env-vars-builder.service.d.ts +28 -0
- package/dist/src/services/environment/env-vars-builder.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-vars-builder.service.js +169 -41
- package/dist/src/services/environment/env-vars-builder.service.js.map +1 -1
- package/dist/src/services/environment/environment-hydration.utils.d.ts.map +1 -1
- package/dist/src/services/environment/environment-lifecycle.service.d.ts +53 -1
- package/dist/src/services/environment/environment-lifecycle.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-lifecycle.service.js +65 -1
- package/dist/src/services/environment/environment-lifecycle.service.js.map +1 -1
- package/dist/src/services/environment/environment-paths.service.d.ts +2 -1
- package/dist/src/services/environment/environment-paths.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-paths.service.js +5 -3
- package/dist/src/services/environment/environment-paths.service.js.map +1 -1
- package/dist/src/services/environment/environment-registry.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-setup.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-setup.service.js +23 -9
- package/dist/src/services/environment/environment-setup.service.js.map +1 -1
- package/dist/src/services/environment/environment.schemas.d.ts.map +1 -1
- package/dist/src/services/environment/environment.service.d.ts +6 -1
- package/dist/src/services/environment/environment.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment.service.js +2 -0
- package/dist/src/services/environment/environment.service.js.map +1 -1
- package/dist/src/services/environment/platform-engine-change.utils.d.ts.map +1 -1
- package/dist/src/services/environment/platform-runtime-state.service.d.ts.map +1 -1
- package/dist/src/services/environment/platform-runtime.schemas.d.ts.map +1 -1
- package/dist/src/services/environment/platform-runtime.schemas.js.map +1 -1
- package/dist/src/services/environment/runtime-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/application-rule-imports.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/application-rule-imports.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/application-rule-imports.test.js +58 -0
- package/dist/src/services/framework/__tests__/application-rule-imports.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.js +47 -0
- package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.package-only.test.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.service.test.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js +50 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js +4 -70
- package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js +78 -6
- package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-release.service.test.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/framework-release.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-secrets-writer.test.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/framework-version.service.test.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/framework-version.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.d.ts.map +1 -1
- package/dist/src/services/framework/application-rule-imports.d.ts +36 -0
- package/dist/src/services/framework/application-rule-imports.d.ts.map +1 -0
- package/dist/src/services/framework/application-rule-imports.js +77 -0
- package/dist/src/services/framework/application-rule-imports.js.map +1 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.d.ts +23 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-development-skills-sync.service.js +51 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.js.map +1 -1
- package/dist/src/services/framework/framework-docker-publish.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-docker-publish.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-application-guidance.validator.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.d.ts +45 -0
- package/dist/src/services/framework/framework-knowledge-audit.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.js +122 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-generation.service.d.ts +0 -1
- package/dist/src/services/framework/framework-knowledge-generation.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-generation.service.js +29 -215
- package/dist/src/services/framework/framework-knowledge-generation.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts.map +1 -1
- package/dist/src/services/framework/framework-npm-publish.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-npm-publish.service.js +7 -3
- package/dist/src/services/framework/framework-npm-publish.service.js.map +1 -1
- package/dist/src/services/framework/framework-publish-manifest.service.d.ts +44 -1
- package/dist/src/services/framework/framework-publish-manifest.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-publish-manifest.service.js +79 -4
- package/dist/src/services/framework/framework-publish-manifest.service.js.map +1 -1
- package/dist/src/services/framework/framework-release.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-version.service.d.ts +13 -0
- package/dist/src/services/framework/framework-version.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-version.service.js +23 -24
- package/dist/src/services/framework/framework-version.service.js.map +1 -1
- package/dist/src/services/framework/installed-framework-assets.service.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.js +92 -0
- package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.js +83 -0
- package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.js +166 -0
- package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.js +372 -0
- package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.js +794 -0
- package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/activepieces-source.reader.d.ts +14 -0
- package/dist/src/services/framework/provider-transposition/activepieces-source.reader.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/activepieces-source.reader.js +1047 -0
- package/dist/src/services/framework/provider-transposition/activepieces-source.reader.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/openapi-enrichment.d.ts +26 -0
- package/dist/src/services/framework/provider-transposition/openapi-enrichment.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/openapi-enrichment.js +57 -0
- package/dist/src/services/framework/provider-transposition/openapi-enrichment.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/openapi-source.reader.d.ts +35 -0
- package/dist/src/services/framework/provider-transposition/openapi-source.reader.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/openapi-source.reader.js +204 -0
- package/dist/src/services/framework/provider-transposition/openapi-source.reader.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/provider-catalogue-record.d.ts +410 -0
- package/dist/src/services/framework/provider-transposition/provider-catalogue-record.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/provider-catalogue-record.js +434 -0
- package/dist/src/services/framework/provider-transposition/provider-catalogue-record.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/provider-merge.d.ts +39 -0
- package/dist/src/services/framework/provider-transposition/provider-merge.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/provider-merge.js +274 -0
- package/dist/src/services/framework/provider-transposition/provider-merge.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.d.ts +130 -0
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.js +1466 -0
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/sim-source.reader.d.ts +35 -0
- package/dist/src/services/framework/provider-transposition/sim-source.reader.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/sim-source.reader.js +527 -0
- package/dist/src/services/framework/provider-transposition/sim-source.reader.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/transposed-provider.model.d.ts +229 -0
- package/dist/src/services/framework/provider-transposition/transposed-provider.model.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/transposed-provider.model.js +96 -0
- package/dist/src/services/framework/provider-transposition/transposed-provider.model.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/url-template.extractor.d.ts +55 -0
- package/dist/src/services/framework/provider-transposition/url-template.extractor.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/url-template.extractor.js +196 -0
- package/dist/src/services/framework/provider-transposition/url-template.extractor.js.map +1 -0
- package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.d.ts.map +1 -1
- package/dist/src/services/frontend/__tests__/frontend-dist-uploader.service.test.d.ts.map +1 -1
- package/dist/src/services/frontend/__tests__/frontend-publish.service.test.d.ts.map +1 -1
- package/dist/src/services/frontend/cloudflare-cdn.service.d.ts.map +1 -1
- package/dist/src/services/frontend/frontend-dist-uploader.service.d.ts.map +1 -1
- package/dist/src/services/frontend/frontend-publish.service.d.ts.map +1 -1
- package/dist/src/services/frontend/frontend-publish.service.js +1 -1
- package/dist/src/services/frontend/frontend-publish.service.js.map +1 -1
- package/dist/src/services/generation/domain-generator.service.d.ts.map +1 -1
- package/dist/src/services/generation/generator.schemas.d.ts.map +1 -1
- package/dist/src/services/generation/operation-generator.service.d.ts.map +1 -1
- package/dist/src/services/generation/resource-generator.service.d.ts.map +1 -1
- package/dist/src/services/generation/template-registry.service.d.ts.map +1 -1
- package/dist/src/services/registry/artifact-extractor.utils.d.ts.map +1 -1
- package/dist/src/services/registry/boundary-fanout.utils.d.ts.map +1 -1
- package/dist/src/services/registry/index.d.ts.map +1 -1
- package/dist/src/services/registry/registry-command.utils.d.ts.map +1 -1
- package/dist/src/services/registry/registry-config-resolver.service.d.ts.map +1 -1
- package/dist/src/services/registry/registry-credentials.service.d.ts.map +1 -1
- package/dist/src/services/registry/saas-root-required.error.d.ts.map +1 -1
- package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.d.ts +67 -0
- package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.d.ts.map +1 -0
- package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.js +212 -0
- package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.js.map +1 -0
- package/dist/src/services/security/__tests__/csp-boundary.test.d.ts.map +1 -1
- package/dist/src/services/security/__tests__/csp-sync.service.test.d.ts.map +1 -1
- package/dist/src/services/security/__tests__/csp-sync.service.test.js +411 -5
- package/dist/src/services/security/__tests__/csp-sync.service.test.js.map +1 -1
- package/dist/src/services/security/csp-sync.service.d.ts +27 -5
- package/dist/src/services/security/csp-sync.service.d.ts.map +1 -1
- package/dist/src/services/security/csp-sync.service.js +204 -16
- package/dist/src/services/security/csp-sync.service.js.map +1 -1
- package/dist/src/services/tools/utility-tools.service.d.ts.map +1 -1
- package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.d.ts +2 -0
- package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.d.ts.map +1 -0
- package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.js +94 -0
- package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.js.map +1 -0
- package/dist/src/services/website/website-structured-data-audit.service.d.ts +9 -0
- package/dist/src/services/website/website-structured-data-audit.service.d.ts.map +1 -1
- package/dist/src/services/website/website-structured-data-audit.service.js +72 -11
- package/dist/src/services/website/website-structured-data-audit.service.js.map +1 -1
- package/dist/src/test-utils/resolved-homes.test.utils.d.ts.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/framework-root-package.json +2 -0
- package/package.json +19 -17
- package/scripts/app-dependency-alignment/propagated-engine-overrides.json +2 -0
- package/templates/infra/ci/deploy-docker-compose.yml.hbs +1 -1
- package/templates/infra/ci/deploy-k8s.yml.hbs +1 -1
- package/templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs +330 -74
- package/templates/infra/docker-images/backend/Dockerfile.backend-base +7 -1
- package/templates/infra/docker-images/backend/Dockerfile.backend-base-java +7 -1
- package/templates/infra/docker-images/platform/Dockerfile.platform-base.dockerignore +23 -0
- package/templates/infra/k8s/applications/wildo-ai-application/backend.deployment.yaml.hbs +8 -5
- package/templates/infra/k8s/applications/wildo-ai-application/ingress.yaml.hbs +3 -2
- package/templates/infra/k8s/applications/wildo-ai-application/minion.deployment.yaml.hbs +22 -6
- package/templates/infra/k8s/applications/wildo-ai-application/worker.deployment.yaml.hbs +17 -13
- package/templates/infra/k8s/platform/platform-crontabs-batches-manager/deployment.yaml.hbs +11 -0
- package/templates/infra/k8s/storage/local/persistent-volumes.yaml.hbs +18 -4
- package/templates/saas/i18n/email/components/EmailHeader.tsx +9 -0
- package/templates/saas/i18n/email/components/EmailLayout.tsx +14 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/create.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applicationApiKeys/deactivate.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applicationApiKeys/reactivate.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applicationApiKeys/regenerate.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applicationApiKeys/rotate.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applicationOAuthClients/create.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applicationOAuthClients/regenerate.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applicationOAuthClients/rotate.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applicationVersions/create.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applicationVersions/delete.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applicationVersions/deprecate.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applicationVersions/promote.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applicationVersions/rollback.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applications/create.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applications/create.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applications/delete.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applications/delete.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applications/transfer.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applications/transfer.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applications/update.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applications/update.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationApiKeys/create.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationApiKeys/create.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationApiKeys/delete.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationApiKeys/delete.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationFeatures/disable_feature.organization-users/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationFeatures/enable_feature.organization-users/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationFeatures/reset_features.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationFeatures/update.organization-users/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationMembers/create.user-self/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-users/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationMembers/grantOwnership.organization-users/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-users/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.user-self/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationMembers/resend.user-self/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_admin/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_invitee/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-users/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.user-self/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationMembers/update.organization-users/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationOAuthClients/create.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationOAuthClients/create.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationUnits/archive.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationUnits/create.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationUnits/delete.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationUnits/move.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationUnits/restore.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationUnits/update.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizations/activate.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizations/create.admin.user-self/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizations/create.user-self/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizations/request_deletion.admin.organization-users/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizations/request_deletion.organization-users/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizations/restore.organization-users/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizations/suspend.organization-users/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizations/update.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizations/update.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/platformAccessGrants/requestAccess.organization-users/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/user_self/deactivate_account.user-self/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/user_self/reactivate_account.user-self/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/users/assign_roles.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/users/create.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/users/delete.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/users/force_password_reset.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/users/revoke_roles.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/users/send_invitation.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/users/suspend_user.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/users/unsuspend_user.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/users/update.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/system/email-otp/template.tsx +1 -0
- package/templates/saas/i18n/email/system/email-verification/template.tsx +1 -1
- package/templates/saas/i18n/email/system/magic-link/template.tsx +1 -1
- package/templates/saas/i18n/email/system/new-device-login/template.tsx +1 -1
- package/templates/saas/i18n/email/system/organization-invitation/template.tsx +1 -0
- package/templates/saas/i18n/email/system/organization-member-removed/template.tsx +1 -0
- package/templates/saas/i18n/email/system/password-reset/template.tsx +1 -1
- package/templates/saas/i18n/email/system/payment-failed/template.tsx +1 -1
- package/templates/saas/i18n/email/system/security-alert/template.tsx +1 -0
- package/templates/saas/i18n/email/system/subscription-cancelled/template.tsx +1 -1
- package/templates/saas/i18n/email/system/subscription-confirmation/template.tsx +1 -0
- package/templates/saas/i18n/email/system/welcome-email/template.tsx +1 -1
- package/templates/saas/scenarios/add-backend-provider/scenario.json +2 -2
- package/templates/saas/scenarios/add-file-picker-provider/files/frontend/src/engine/providers/__providerRef__.frontend-app.module.ts.hbs +10 -4
- package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/src/index.ts.hbs +9 -5
- package/templates/saas/scenarios/add-module/scenario.json +3 -3
- package/templates/saas/scenarios/add-provider/scenario.json +36 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/docusaurus.config.ts.hbs +18 -2
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/csp.config.ts +20 -3
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/auth/exchange.tsx +52 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/search.tsx.hbs +47 -3
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/theme/Root.tsx +26 -4
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/static/img/favicon.svg +5 -4
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/static/img/logo.svg +11 -5
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/wildo.tech-doc.config.ts.hbs +18 -7
- package/templates/saas/scenarios/add-website/files/website/src/app-origin.ts.hbs +32 -16
- package/templates/saas/scenarios/add-website/files/website/src/components/HeaderComponent.tsx +2 -2
- package/templates/saas/scenarios/add-website/files/website/src/pages/index.astro +1 -0
- package/templates/saas/scenarios/add-website/files/website/src/sections/landing.sections.tsx +2 -2
- package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/src/index.ts.hbs +9 -5
- package/templates/saas/skeleton/.wildo-saas/dev-framework-scripts/sync-engine.sh +46 -14
- package/templates/saas/skeleton/CLAUDE.md.hbs +12 -0
- package/templates/saas/skeleton/backend-api/src/index.ts +16 -0
- package/templates/saas/skeleton/frontend/src/config/settings-hub.config.ts +11 -5
- package/templates/saas/skeleton/frontend/src/engine/app-level-views/app-level-views.definitions.module.frontend.ts +1 -1
- package/templates/saas/skeleton/frontend/src/generated/csp.generated.json.hbs +17 -0
- package/templates/saas/skeleton/infrastructure/local/wildo.infra.local.config.ts.hbs +19 -0
- package/templates/saas/skeleton/wildo.saas.config.ts.init.hbs +59 -2
- package/wildo-framework.info.json +1 -1
- package/templates/infra/k8s/internal/gotenberg/deployment.yaml.hbs +0 -46
- package/templates/infra/k8s/internal/gotenberg/service.yaml.hbs +0 -19
- package/templates/infra/k8s/middleware.yaml.hbs +0 -101
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/static/img/favicon.png +0 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/static/img/logo.png +0 -0
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `wildo context jurisdictions` — the surface that took the coverage answer out of the creation lane.
|
|
3
|
+
*
|
|
4
|
+
* The derivation itself is pinned in `saas-specifications`; what is pinned HERE is the surface's own
|
|
5
|
+
* three decisions, each of which is a judgement rather than a mechanism:
|
|
6
|
+
*
|
|
7
|
+
* 1. it REPORTS, and `--check` is the opt-in that turns the report into a refusal;
|
|
8
|
+
* 2. `NOT_DECLARED` never fails, even under `--check` — nobody has answered, which is a different
|
|
9
|
+
* thing from answering badly, and failing there would gate every application on compliance work
|
|
10
|
+
* it may not yet owe;
|
|
11
|
+
* 3. `GUIDANCE_ONLY` counts as uncovered — a voluntary framework reaching a jurisdiction is not that
|
|
12
|
+
* jurisdiction's law, and collapsing the two is the one error that would let a document rest a
|
|
13
|
+
* legal statement on NIST CSF.
|
|
14
|
+
*
|
|
15
|
+
* The command is offline by construction (no companion), which is what makes it reachable from CI —
|
|
16
|
+
* so the config loader is the only seam.
|
|
17
|
+
*/
|
|
18
|
+
import { describe, expect, it, vi, beforeEach } from 'vitest';
|
|
19
|
+
import { WorkspaceScope } from '@wildo-ai/platform-config-lib';
|
|
20
|
+
import { DEFAULT_GLOBAL_FLAGS } from '../../../kernel/types.js';
|
|
21
|
+
import { createResolvedHomesMock, createWorkspaceScopeMock } from '../../../test-utils/resolved-homes.test.utils.js';
|
|
22
|
+
const loadSaasConfigMock = vi.fn();
|
|
23
|
+
vi.mock('@wildo-ai/platform-config-lib', async () => {
|
|
24
|
+
const actual = await vi.importActual('@wildo-ai/platform-config-lib');
|
|
25
|
+
return { ...actual, loadSaasConfig: (...args) => loadSaasConfigMock(...args) };
|
|
26
|
+
});
|
|
27
|
+
const { default: ContextJurisdictionsCommand } = await import('../jurisdictions.command.js');
|
|
28
|
+
function createLogger() {
|
|
29
|
+
return { info: vi.fn(), success: vi.fn(), warn: vi.fn(), error: vi.fn() };
|
|
30
|
+
}
|
|
31
|
+
function createCommandContext(flags = {}) {
|
|
32
|
+
// A real saas-app scope: `requireSaasRoot` needs an ABSOLUTE declarationRoot, and the default
|
|
33
|
+
// mock is UNINITIALIZED with a null root — which would make every case here fail for the wrong reason.
|
|
34
|
+
const workspaceScope = createWorkspaceScopeMock({
|
|
35
|
+
scope: WorkspaceScope.SAAS_APP,
|
|
36
|
+
saasRoot: '/tmp/wildo-jurisdictions-probe',
|
|
37
|
+
saasConfigPath: '/tmp/wildo-jurisdictions-probe/wildo.saas.config.ts',
|
|
38
|
+
});
|
|
39
|
+
return {
|
|
40
|
+
args: {},
|
|
41
|
+
flags,
|
|
42
|
+
rawArgs: [],
|
|
43
|
+
globalFlags: DEFAULT_GLOBAL_FLAGS,
|
|
44
|
+
answers: {},
|
|
45
|
+
activeEnv: null,
|
|
46
|
+
preferences: null,
|
|
47
|
+
cliContext: {
|
|
48
|
+
resolvedHomes: createResolvedHomesMock(workspaceScope),
|
|
49
|
+
workspaceScope,
|
|
50
|
+
scope: workspaceScope.scope,
|
|
51
|
+
preferences: null,
|
|
52
|
+
hasFrameworkWorkspace: workspaceScope.frameworkRoot !== null,
|
|
53
|
+
},
|
|
54
|
+
log: createLogger(),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
/** The EU is reached by registered law in the initial registry; `gb` is reached by nothing. */
|
|
58
|
+
const declaring = (...slugs) => ({
|
|
59
|
+
operatingJurisdictions: { jurisdictions: slugs.map((slug) => ({ jurisdictionSlug: slug, basis: `declared for ${slug}` })) },
|
|
60
|
+
});
|
|
61
|
+
const messages = (ctx) => [ctx.log.info, ctx.log.warn, ctx.log.success, ctx.log.error]
|
|
62
|
+
.flatMap((fn) => fn.mock.calls.map(([m]) => String(m)))
|
|
63
|
+
.join('\n');
|
|
64
|
+
describe('wildo context jurisdictions', () => {
|
|
65
|
+
beforeEach(() => loadSaasConfigMock.mockReset());
|
|
66
|
+
it('reports an uncovered jurisdiction and still SUCCEEDS — reporting is the default', async () => {
|
|
67
|
+
loadSaasConfigMock.mockResolvedValue(declaring('eu', 'gb'));
|
|
68
|
+
const ctx = createCommandContext();
|
|
69
|
+
const result = await new ContextJurisdictionsCommand().run(ctx);
|
|
70
|
+
expect(result.success).toBe(true);
|
|
71
|
+
expect(messages(ctx)).toContain('NOT COVERED');
|
|
72
|
+
});
|
|
73
|
+
it('REFUSES under --check when a declared jurisdiction is backed by no registered law', async () => {
|
|
74
|
+
loadSaasConfigMock.mockResolvedValue(declaring('eu', 'gb'));
|
|
75
|
+
const ctx = createCommandContext({ check: true });
|
|
76
|
+
expect((await new ContextJurisdictionsCommand().run(ctx)).success).toBe(false);
|
|
77
|
+
});
|
|
78
|
+
it('succeeds under --check when every declared jurisdiction is covered by law', async () => {
|
|
79
|
+
loadSaasConfigMock.mockResolvedValue(declaring('eu'));
|
|
80
|
+
const ctx = createCommandContext({ check: true });
|
|
81
|
+
const result = await new ContextJurisdictionsCommand().run(ctx);
|
|
82
|
+
expect(result.success).toBe(true);
|
|
83
|
+
expect(messages(ctx)).toContain('backed by registered law');
|
|
84
|
+
});
|
|
85
|
+
it('does NOT fail an undeclared application, even under --check', async () => {
|
|
86
|
+
/*
|
|
87
|
+
* The load-bearing exemption. An application with no `operatingJurisdictions` has not been asked
|
|
88
|
+
* the question; treating that as a coverage failure would turn a CI gate into a blocker on every
|
|
89
|
+
* application that has not begun compliance work — and would push someone to guess a jurisdiction
|
|
90
|
+
* from a currency or a customer address, which is the one thing the brief tells them not to do.
|
|
91
|
+
*/
|
|
92
|
+
loadSaasConfigMock.mockResolvedValue({});
|
|
93
|
+
const ctx = createCommandContext({ check: true });
|
|
94
|
+
const result = await new ContextJurisdictionsCommand().run(ctx);
|
|
95
|
+
expect(result.success).toBe(true);
|
|
96
|
+
expect(messages(ctx)).toContain('NOT DECLARED');
|
|
97
|
+
});
|
|
98
|
+
it('fails when the configuration cannot be read, rather than reporting full coverage', async () => {
|
|
99
|
+
// A load failure and "no jurisdictions are uncovered" must never render identically —
|
|
100
|
+
// `.claude/rules/negative-results-require-a-positive-probe.md`.
|
|
101
|
+
loadSaasConfigMock.mockResolvedValue(null);
|
|
102
|
+
const ctx = createCommandContext();
|
|
103
|
+
expect((await new ContextJurisdictionsCommand().run(ctx)).success).toBe(false);
|
|
104
|
+
});
|
|
105
|
+
});
|
|
106
|
+
//# sourceMappingURL=jurisdictions.command.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jurisdictions.command.test.js","sourceRoot":"","sources":["../../../../../src/commands/context/__tests__/jurisdictions.command.test.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAE9D,OAAO,EAAE,cAAc,EAA6B,MAAM,+BAA+B,CAAC;AAG1F,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,iDAAiD,CAAC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AC,GAAG,CAAC,GAAG,CAAC,CAAC;QAEhE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAClC,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;IAClD,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,kFAAkF,EAAE,KAAK,IAAI,EAAE;QAChG,sFAAsF;QACtF,gEAAgE;QAChE,kBAAkB,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;QAC3C,MAAM,GAAG,GAAG,oBAAoB,EAAE,CAAC;QAEnC,MAAM,CAAC,CAAC,MAAM,IAAI,2BAA2B,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACjF,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["/**\n * `wildo context jurisdictions` — the surface that took the coverage answer out of the creation lane.\n *\n * The derivation itself is pinned in `saas-specifications`; what is pinned HERE is the surface's own\n * three decisions, each of which is a judgement rather than a mechanism:\n *\n * 1. it REPORTS, and `--check` is the opt-in that turns the report into a refusal;\n * 2. `NOT_DECLARED` never fails, even under `--check` — nobody has answered, which is a different\n * thing from answering badly, and failing there would gate every application on compliance work\n * it may not yet owe;\n * 3. `GUIDANCE_ONLY` counts as uncovered — a voluntary framework reaching a jurisdiction is not that\n * jurisdiction's law, and collapsing the two is the one error that would let a document rest a\n * legal statement on NIST CSF.\n *\n * The command is offline by construction (no companion), which is what makes it reachable from CI —\n * so the config loader is the only seam.\n */\n\nimport { describe, expect, it, vi, beforeEach } from 'vitest';\n\nimport { WorkspaceScope, type WorkspaceScopeResult } from '@wildo-ai/platform-config-lib';\n\nimport type { CommandContext, Logger } from '~wildo-cli/kernel/types';\nimport { DEFAULT_GLOBAL_FLAGS } from '~wildo-cli/kernel/types';\nimport { createResolvedHomesMock, createWorkspaceScopeMock } from '~wildo-cli/test-utils/resolved-homes.test.utils';\n\nconst loadSaasConfigMock = vi.fn();\nvi.mock('@wildo-ai/platform-config-lib', async () => {\n const actual = await vi.importActual<Record<string, unknown>>('@wildo-ai/platform-config-lib');\n return { ...actual, loadSaasConfig: (...args: unknown[]) => loadSaasConfigMock(...(args as [])) };\n});\n\nconst { default: ContextJurisdictionsCommand } = await import('../jurisdictions.command');\n\nfunction createLogger(): Logger {\n return { info: vi.fn(), success: vi.fn(), warn: vi.fn(), error: vi.fn() } as unknown as Logger;\n}\n\nfunction createCommandContext(flags: Record<string, unknown> = {}): CommandContext {\n // A real saas-app scope: `requireSaasRoot` needs an ABSOLUTE declarationRoot, and the default\n // mock is UNINITIALIZED with a null root — which would make every case here fail for the wrong reason.\n const workspaceScope: WorkspaceScopeResult = createWorkspaceScopeMock({\n scope: WorkspaceScope.SAAS_APP,\n saasRoot: '/tmp/wildo-jurisdictions-probe',\n saasConfigPath: '/tmp/wildo-jurisdictions-probe/wildo.saas.config.ts',\n });\n return {\n args: {},\n flags,\n rawArgs: [],\n globalFlags: DEFAULT_GLOBAL_FLAGS,\n answers: {},\n activeEnv: null,\n preferences: null,\n cliContext: {\n resolvedHomes: createResolvedHomesMock(workspaceScope),\n workspaceScope,\n scope: workspaceScope.scope,\n preferences: null,\n hasFrameworkWorkspace: workspaceScope.frameworkRoot !== null,\n },\n log: createLogger(),\n } as unknown as CommandContext;\n}\n\n/** The EU is reached by registered law in the initial registry; `gb` is reached by nothing. */\nconst declaring = (...slugs: string[]) => ({\n operatingJurisdictions: { jurisdictions: slugs.map((slug) => ({ jurisdictionSlug: slug, basis: `declared for ${slug}` })) },\n});\n\nconst messages = (ctx: CommandContext): string =>\n [ctx.log.info, ctx.log.warn, ctx.log.success, ctx.log.error]\n .flatMap((fn) => (fn as ReturnType<typeof vi.fn>).mock.calls.map(([m]) => String(m)))\n .join('\\n');\n\ndescribe('wildo context jurisdictions', () => {\n beforeEach(() => loadSaasConfigMock.mockReset());\n\n it('reports an uncovered jurisdiction and still SUCCEEDS — reporting is the default', async () => {\n loadSaasConfigMock.mockResolvedValue(declaring('eu', 'gb'));\n const ctx = createCommandContext();\n\n const result = await new ContextJurisdictionsCommand().run(ctx);\n\n expect(result.success).toBe(true);\n expect(messages(ctx)).toContain('NOT COVERED');\n });\n\n it('REFUSES under --check when a declared jurisdiction is backed by no registered law', async () => {\n loadSaasConfigMock.mockResolvedValue(declaring('eu', 'gb'));\n const ctx = createCommandContext({ check: true });\n\n expect((await new ContextJurisdictionsCommand().run(ctx)).success).toBe(false);\n });\n\n it('succeeds under --check when every declared jurisdiction is covered by law', async () => {\n loadSaasConfigMock.mockResolvedValue(declaring('eu'));\n const ctx = createCommandContext({ check: true });\n\n const result = await new ContextJurisdictionsCommand().run(ctx);\n\n expect(result.success).toBe(true);\n expect(messages(ctx)).toContain('backed by registered law');\n });\n\n it('does NOT fail an undeclared application, even under --check', async () => {\n /*\n * The load-bearing exemption. An application with no `operatingJurisdictions` has not been asked\n * the question; treating that as a coverage failure would turn a CI gate into a blocker on every\n * application that has not begun compliance work — and would push someone to guess a jurisdiction\n * from a currency or a customer address, which is the one thing the brief tells them not to do.\n */\n loadSaasConfigMock.mockResolvedValue({});\n const ctx = createCommandContext({ check: true });\n\n const result = await new ContextJurisdictionsCommand().run(ctx);\n\n expect(result.success).toBe(true);\n expect(messages(ctx)).toContain('NOT DECLARED');\n });\n\n it('fails when the configuration cannot be read, rather than reporting full coverage', async () => {\n // A load failure and \"no jurisdictions are uncovered\" must never render identically —\n // `.claude/rules/negative-results-require-a-positive-probe.md`.\n loadSaasConfigMock.mockResolvedValue(null);\n const ctx = createCommandContext();\n\n expect((await new ContextJurisdictionsCommand().run(ctx)).success).toBe(false);\n });\n});\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coherence.command.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"coherence.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/context/coherence.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAI7D,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAI1F;;;;;GAKG;AACH,MAAM,CAAC,OAAO,OAAO,uBAAwB,SAAQ,WAAW;IAC9D,QAAQ,CAAC,IAAI,EAAE,WAAW,CAIxB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;CAsBvD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context-command.utils.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"context-command.utils.d.ts","sourceRoot":"","sources":["../../../../src/commands/context/context-command.utils.ts"],"names":[],"mappings":"AA4BA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iDAAiD,CAAC;AAC9F,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAE9D;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,QAAgB,CAAC;AAErD;;;;;GAKG;AACH,eAAO,MAAM,gCAAgC,QAAgB,CAAC;AAE9D,wBAAsB,qBAAqB,CAAC,GAAG,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAEnH;AAED,sFAAsF;AACtF,wBAAgB,iBAAiB,CAC/B,GAAG,EAAE,cAAc,EACnB,OAAO,EAAE,sBAAsB,EAC/B,KAAK,EAAE;IAAE,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;CAAE,GAC9D,IAAI,CAEN;AAED,uFAAuF;AACvF,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,SAAS,EAAE,aAAa,CAAC;QAChC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;QAC5B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;QAC7B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;QAC1B,QAAQ,CAAC,qBAAqB,EAAE,SAAS,MAAM,EAAE,CAAC;KACnD,CAAC,CAAC;IACH,QAAQ,CAAC,WAAW,EAAE,aAAa,CAAC;QAAE,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACrF,QAAQ,CAAC,wBAAwB,EAAE,MAAM,GAAG,IAAI,CAAC;CAClD;AAED,wBAAsB,oBAAoB,CAAC,OAAO,EAAE,sBAAsB,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAE3G;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,cAAc,EAAE,OAAO,EAAE,OAAO,GAAG,IAAI,CAE5E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"health.command.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"health.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/context/health.command.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAK7D,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAO1F;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,oBAAqB,SAAQ,WAAW;IAC3D,QAAQ,CAAC,IAAI,EAAE,WAAW,CAIxB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;CAiBvD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"info.command.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"info.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/context/info.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAI7D,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAW1F;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,WAAW;IACzD,QAAQ,CAAC,IAAI,EAAE,WAAW,CAexB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;CA4DvD"}
|
|
@@ -2,8 +2,12 @@ import { BaseCommand } from '../../kernel/base-command';
|
|
|
2
2
|
import type { CommandMeta, CommandContext, CommandResult } from '../../kernel/types';
|
|
3
3
|
/**
|
|
4
4
|
* Journey status — the answer the 34 shipped `wildo context journey-status` references were promising
|
|
5
|
-
* (issues #250/#252): which
|
|
6
|
-
*
|
|
5
|
+
* (issues #250/#252): which playbooks are eligible RIGHT NOW and why the others are not, and what is
|
|
6
|
+
* running or died resumable.
|
|
7
|
+
*
|
|
8
|
+
* There is no board-level PHASE, and the command no longer claims one. The derived application
|
|
9
|
+
* phase was deleted 2026-09-04 and `listPlaybooks` stopped returning the field; the printed line
|
|
10
|
+
* kept reading it and rendered `Phase: undefined` on every run.
|
|
7
11
|
*
|
|
8
12
|
* Derived entirely from two working-tree GET reads; nothing here caches, so the answer is the tree.
|
|
9
13
|
* Both lists are printed IN FULL with exact counts — the board is ~23 rows and the whole point of the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"journey.command.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"journey.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/context/journey.command.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAI7D,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAoB1F;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,OAAO,OAAO,qBAAsB,SAAQ,WAAW;IAC5D,QAAQ,CAAC,IAAI,EAAE,WAAW,CAIxB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;CA+CvD"}
|
|
@@ -7,8 +7,12 @@ import { ensureSaasAppScope } from '../../kernel/command-scope-utils.js';
|
|
|
7
7
|
import { CONTEXT_READ_TIMEOUT_MS, printSourceHeader, resolveContextOptions } from './context-command.utils.js';
|
|
8
8
|
/**
|
|
9
9
|
* Journey status — the answer the 34 shipped `wildo context journey-status` references were promising
|
|
10
|
-
* (issues #250/#252): which
|
|
11
|
-
*
|
|
10
|
+
* (issues #250/#252): which playbooks are eligible RIGHT NOW and why the others are not, and what is
|
|
11
|
+
* running or died resumable.
|
|
12
|
+
*
|
|
13
|
+
* There is no board-level PHASE, and the command no longer claims one. The derived application
|
|
14
|
+
* phase was deleted 2026-09-04 and `listPlaybooks` stopped returning the field; the printed line
|
|
15
|
+
* kept reading it and rendered `Phase: undefined` on every run.
|
|
12
16
|
*
|
|
13
17
|
* Derived entirely from two working-tree GET reads; nothing here caches, so the answer is the tree.
|
|
14
18
|
* Both lists are printed IN FULL with exact counts — the board is ~23 rows and the whole point of the
|
|
@@ -17,7 +21,7 @@ import { CONTEXT_READ_TIMEOUT_MS, printSourceHeader, resolveContextOptions } fro
|
|
|
17
21
|
export default class ContextJourneyCommand extends BaseCommand {
|
|
18
22
|
meta = {
|
|
19
23
|
name: 'context journey',
|
|
20
|
-
description: 'Show the creation journey status:
|
|
24
|
+
description: 'Show the creation journey status: the playbook eligibility board (with why-not reasons) and runs in flight.',
|
|
21
25
|
category: CommandCategory.Context,
|
|
22
26
|
};
|
|
23
27
|
async run(ctx) {
|
|
@@ -32,7 +36,7 @@ export default class ContextJourneyCommand extends BaseCommand {
|
|
|
32
36
|
]);
|
|
33
37
|
printSourceHeader(ctx, options, { surface: 'journey board + runs in flight', freshness: 'CURRENT (derived from the working tree)' });
|
|
34
38
|
ctx.log.info('');
|
|
35
|
-
ctx.log.info(`${chalk.bold('
|
|
39
|
+
ctx.log.info(`${chalk.bold('Eligible:')} ${board.eligibleCount} of ${board.playbooks.length}`);
|
|
36
40
|
if (runs.running) {
|
|
37
41
|
ctx.log.info(`${chalk.bold('Running now:')} ${runs.running.playbookRef} (started ${runs.running.startedAt})`);
|
|
38
42
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"journey.command.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"journey.command.js","sourceRoot":"","sources":["../../../../src/commands/context/journey.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,wDAAwD,CAAC;AACzF,OAAO,EAAE,UAAU,EAAE,MAAM,8CAA8C,CAAC;AAE1E,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,uBAAuB,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAkB5G;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,OAAO,OAAO,qBAAsB,SAAQ,WAAW;IACnD,IAAI,GAAgB;QAC3B,IAAI,EAAE,iBAAiB;QACvB,WAAW,EAAE,6GAA6G;QAC1H,QAAQ,EAAE,eAAe,CAAC,OAAO;KAClC,CAAC;IAEF,KAAK,CAAC,GAAG,CAAC,GAAmB;QAC3B,IAAI,CAAC,kBAAkB,CAAC,GAAG,CAAC,EAAE,CAAC;YAC7B,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;QAC5B,CAAC;QACD,IAAI,CAAC;YACH,MAAM,OAAO,GAAG,MAAM,qBAAqB,CAAC,GAAG,EAAE,uBAAuB,CAAC,CAAC;YAC1E,MAAM,CAAC,KAAK,EAAE,IA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CAAC,KAAK,CAAC,sCAAsC,UAAU,CAAC,mBAAmB,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;YAC7F,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,iFAAiF,CAAC,CAAC;YACjG,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;QAC5B,CAAC;IACH,CAAC;CACF","sourcesContent":["import chalk from 'chalk';\n\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport { CompanionClient } from '~wildo-cli/services/companion/companion-client.service';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\nimport type { CommandMeta, CommandContext, CommandResult } from '~wildo-cli/kernel/types';\nimport { ensureSaasAppScope } from '~wildo-cli/kernel/command-scope-utils';\nimport { CONTEXT_READ_TIMEOUT_MS, printSourceHeader, resolveContextOptions } from './context-command.utils';\n\n/** What `GET /playbooks` answers — the board the unattended loop and the workbench both read. */\ninterface EligibilityBoardResponse {\n readonly eligibleCount: number;\n readonly playbooks: ReadonlyArray<{\n readonly playbookRef: string;\n readonly eligible: boolean;\n readonly intent: string;\n readonly unmet: readonly string[];\n }>;\n}\n\ninterface RunsInFlightResponse {\n readonly running: { readonly playbookRef: string; readonly startedAt: string } | null;\n readonly interrupted: ReadonlyArray<{ readonly playbookRef?: string; readonly runId?: string }> | unknown[];\n}\n\n/**\n * Journey status — the answer the 34 shipped `wildo context journey-status` references were promising\n * (issues #250/#252): which playbooks are eligible RIGHT NOW and why the others are not, and what is\n * running or died resumable.\n *\n * There is no board-level PHASE, and the command no longer claims one. The derived application\n * phase was deleted 2026-09-04 and `listPlaybooks` stopped returning the field; the printed line\n * kept reading it and rendered `Phase: undefined` on every run.\n *\n * Derived entirely from two working-tree GET reads; nothing here caches, so the answer is the tree.\n * Both lists are printed IN FULL with exact counts — the board is ~23 rows and the whole point of the\n * \"why not\" half is that ineligibility reasons are information, not noise.\n */\nexport default class ContextJourneyCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'context journey',\n description: 'Show the creation journey status: the playbook eligibility board (with why-not reasons) and runs in flight.',\n category: CommandCategory.Context,\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n if (!ensureSaasAppScope(ctx)) {\n return { success: false };\n }\n try {\n const options = await resolveContextOptions(ctx, CONTEXT_READ_TIMEOUT_MS);\n const [board, runs] = await Promise.all([\n CompanionClient.get<EligibilityBoardResponse>('/api/companion/playbooks', options),\n CompanionClient.get<RunsInFlightResponse>('/api/companion/playbooks/runs', options),\n ]);\n\n printSourceHeader(ctx, options, { surface: 'journey board + runs in flight', freshness: 'CURRENT (derived from the working tree)' });\n ctx.log.info('');\n ctx.log.info(`${chalk.bold('Eligible:')} ${board.eligibleCount} of ${board.playbooks.length}`);\n\n if (runs.running) {\n ctx.log.info(`${chalk.bold('Running now:')} ${runs.running.playbookRef} (started ${runs.running.startedAt})`);\n }\n const interrupted = Array.isArray(runs.interrupted) ? runs.interrupted : [];\n if (interrupted.length > 0) {\n ctx.log.info(`${chalk.bold('Interrupted (resumable):')} ${interrupted.length} — GET /api/companion/playbooks/runs for detail`);\n }\n\n const eligible = board.playbooks.filter((entry) => entry.eligible);\n const ineligible = board.playbooks.filter((entry) => !entry.eligible);\n ctx.log.info('');\n ctx.log.info(chalk.bold(`Eligible now (${eligible.length})`));\n for (const entry of eligible) {\n ctx.log.info(` ${chalk.green(entry.playbookRef)}`);\n }\n ctx.log.info('');\n ctx.log.info(chalk.bold(`Not eligible (${ineligible.length}) — and why`));\n for (const entry of ineligible) {\n ctx.log.info(` ${entry.playbookRef}`);\n for (const reason of entry.unmet) {\n ctx.log.info(chalk.dim(` - ${reason}`));\n }\n }\n ctx.log.info('');\n ctx.log.info(chalk.dim('Landed family/artifact detail: `wildo context info specification-artifacts` · coherence: `wildo context coherence`'));\n return { success: true };\n } catch (error) {\n ctx.log.error(`Could not read the journey status: ${ErrorUtils.extractErrorMessage(error)}`);\n ctx.log.error('Is the application\\'s dev companion running? Check with `wildo context health`.');\n return { success: false };\n }\n }\n}\n"]}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { BaseCommand } from '../../kernel/base-command';
|
|
2
|
+
import type { CommandMeta, CommandContext, CommandResult } from '../../kernel/types';
|
|
3
|
+
/**
|
|
4
|
+
* What the framework knows about the law where this application says it operates (#453).
|
|
5
|
+
*
|
|
6
|
+
* ## Why this is a command, and why it is OFFLINE
|
|
7
|
+
*
|
|
8
|
+
* The coverage answer has existed since #229 and reached exactly one surface: the compliance-document
|
|
9
|
+
* DRAFTING BRIEF. So an application declaring a jurisdiction the source registry cannot reach was told
|
|
10
|
+
* only if a creation-lane drafting step happened to run — and silence about an unreached jurisdiction
|
|
11
|
+
* is indistinguishable from a claim of coverage.
|
|
12
|
+
*
|
|
13
|
+
* `assessAssuranceJurisdictionCoverage` is a pure function over the declared jurisdictions and the
|
|
14
|
+
* source registry, so this command needs no companion, no stack and no network. That is deliberate
|
|
15
|
+
* rather than convenient: the reason to prefer a command over a page is that a command is reachable
|
|
16
|
+
* from CI, and a command that first requires a running dev companion is not. Contrast
|
|
17
|
+
* `wildo context coherence`, which legitimately asks the companion because its answer is derived from
|
|
18
|
+
* the landed specification families.
|
|
19
|
+
*
|
|
20
|
+
* ## It REPORTS. `--check` is opt-in, and NOT_DECLARED is not a failure
|
|
21
|
+
*
|
|
22
|
+
* Reporting is the decided behaviour: a boot or build refusal over jurisdiction coverage would be a
|
|
23
|
+
* second decision, and one that lands on applications that have not begun compliance work. `--check`
|
|
24
|
+
* exists so CI can gate deliberately, and it fails only on a DECLARED jurisdiction that no registered
|
|
25
|
+
* law reaches — a known unknown the produced document must name.
|
|
26
|
+
*
|
|
27
|
+
* `NOT_DECLARED` never fails, even under `--check`. Nobody has answered the question, which is a
|
|
28
|
+
* different thing from answering it badly, and failing there would gate every application on work it
|
|
29
|
+
* may not yet owe. It is still printed, as its own paragraph rather than as an empty list, because a
|
|
30
|
+
* list of zero uncovered jurisdictions is exactly what a fully covered application looks like.
|
|
31
|
+
*/
|
|
32
|
+
export default class ContextJurisdictionsCommand extends BaseCommand {
|
|
33
|
+
readonly meta: CommandMeta;
|
|
34
|
+
run(ctx: CommandContext): Promise<CommandResult>;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=jurisdictions.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jurisdictions.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/context/jurisdictions.command.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAI7D,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAE1F;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAM,CAAC,OAAO,OAAO,2BAA4B,SAAQ,WAAW;IAClE,QAAQ,CAAC,IAAI,EAAE,WAAW,CAWxB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;CA2EvD"}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import chalk from 'chalk';
|
|
2
|
+
import { join } from 'node:path';
|
|
3
|
+
import { AssuranceJurisdictionCoverageStatus, INITIAL_ASSURANCE_SOURCE_REGISTRY, assessAssuranceJurisdictionCoverage, } from '@wildo-ai/saas-specifications/assurance';
|
|
4
|
+
import { loadSaasConfig } from '@wildo-ai/platform-config-lib';
|
|
5
|
+
import { BaseCommand } from '../../kernel/base-command.js';
|
|
6
|
+
import { CommandCategory } from '../../kernel/types.js';
|
|
7
|
+
import { ErrorUtils } from '../../infrastructure/errors/error.utils.js';
|
|
8
|
+
import { requireSaasRoot } from '../../services/registry/registry-command.utils.js';
|
|
9
|
+
/**
|
|
10
|
+
* What the framework knows about the law where this application says it operates (#453).
|
|
11
|
+
*
|
|
12
|
+
* ## Why this is a command, and why it is OFFLINE
|
|
13
|
+
*
|
|
14
|
+
* The coverage answer has existed since #229 and reached exactly one surface: the compliance-document
|
|
15
|
+
* DRAFTING BRIEF. So an application declaring a jurisdiction the source registry cannot reach was told
|
|
16
|
+
* only if a creation-lane drafting step happened to run — and silence about an unreached jurisdiction
|
|
17
|
+
* is indistinguishable from a claim of coverage.
|
|
18
|
+
*
|
|
19
|
+
* `assessAssuranceJurisdictionCoverage` is a pure function over the declared jurisdictions and the
|
|
20
|
+
* source registry, so this command needs no companion, no stack and no network. That is deliberate
|
|
21
|
+
* rather than convenient: the reason to prefer a command over a page is that a command is reachable
|
|
22
|
+
* from CI, and a command that first requires a running dev companion is not. Contrast
|
|
23
|
+
* `wildo context coherence`, which legitimately asks the companion because its answer is derived from
|
|
24
|
+
* the landed specification families.
|
|
25
|
+
*
|
|
26
|
+
* ## It REPORTS. `--check` is opt-in, and NOT_DECLARED is not a failure
|
|
27
|
+
*
|
|
28
|
+
* Reporting is the decided behaviour: a boot or build refusal over jurisdiction coverage would be a
|
|
29
|
+
* second decision, and one that lands on applications that have not begun compliance work. `--check`
|
|
30
|
+
* exists so CI can gate deliberately, and it fails only on a DECLARED jurisdiction that no registered
|
|
31
|
+
* law reaches — a known unknown the produced document must name.
|
|
32
|
+
*
|
|
33
|
+
* `NOT_DECLARED` never fails, even under `--check`. Nobody has answered the question, which is a
|
|
34
|
+
* different thing from answering it badly, and failing there would gate every application on work it
|
|
35
|
+
* may not yet owe. It is still printed, as its own paragraph rather than as an empty list, because a
|
|
36
|
+
* list of zero uncovered jurisdictions is exactly what a fully covered application looks like.
|
|
37
|
+
*/
|
|
38
|
+
export default class ContextJurisdictionsCommand extends BaseCommand {
|
|
39
|
+
meta = {
|
|
40
|
+
name: 'context jurisdictions',
|
|
41
|
+
description: 'Print what the framework knows about the law in each jurisdiction this application declares it operates in.',
|
|
42
|
+
category: CommandCategory.Context,
|
|
43
|
+
flags: {
|
|
44
|
+
check: {
|
|
45
|
+
type: 'boolean',
|
|
46
|
+
description: 'Exit non-zero when a declared jurisdiction is not backed by registered law. Reporting is the default.',
|
|
47
|
+
default: false,
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
};
|
|
51
|
+
async run(ctx) {
|
|
52
|
+
let saasRoot;
|
|
53
|
+
try {
|
|
54
|
+
saasRoot = requireSaasRoot(ctx, 'context-jurisdictions');
|
|
55
|
+
}
|
|
56
|
+
catch (error) {
|
|
57
|
+
ctx.log.error(ErrorUtils.extractErrorMessage(error));
|
|
58
|
+
return { success: false };
|
|
59
|
+
}
|
|
60
|
+
const config = await loadSaasConfig(join(saasRoot, 'wildo.saas.config.ts'));
|
|
61
|
+
if (config === null) {
|
|
62
|
+
ctx.log.error(`Could not load ${join(saasRoot, 'wildo.saas.config.ts')}.`);
|
|
63
|
+
return { success: false };
|
|
64
|
+
}
|
|
65
|
+
const report = assessAssuranceJurisdictionCoverage(config.operatingJurisdictions, INITIAL_ASSURANCE_SOURCE_REGISTRY.sources);
|
|
66
|
+
ctx.log.info(chalk.cyan(`\n Operating-jurisdiction coverage — ${saasRoot}\n`));
|
|
67
|
+
ctx.log.info(`source: wildo.saas.config.ts · registry: ${INITIAL_ASSURANCE_SOURCE_REGISTRY.sources.length} source(s) · freshness: CURRENT (derived from the working tree)`);
|
|
68
|
+
ctx.log.info('');
|
|
69
|
+
if (report.kind === 'NOT_DECLARED') {
|
|
70
|
+
/*
|
|
71
|
+
* Deliberately not phrased as a gap to close. `operatingJurisdictions` being absent means the
|
|
72
|
+
* question was never put, and the one thing an operator must not do is answer it from a currency,
|
|
73
|
+
* a language or a customer address — where a product is SOLD is a commercial fact, and guessing
|
|
74
|
+
* it wrong puts a false statement of applicable law into a document a reader relies on.
|
|
75
|
+
*/
|
|
76
|
+
ctx.log.warn('Operating jurisdictions: NOT DECLARED.');
|
|
77
|
+
ctx.log.info(' Where this application operates has not been established, so nothing can be said about');
|
|
78
|
+
ctx.log.info(' which legal regimes reach it. That is NOT "it operates nowhere" and NOT "no regime');
|
|
79
|
+
ctx.log.info(' applies" — nobody has answered.');
|
|
80
|
+
ctx.log.info(' Declare them in wildo.saas.config.ts under `operatingJurisdictions`.');
|
|
81
|
+
return { success: true };
|
|
82
|
+
}
|
|
83
|
+
const basisOf = (slug) => config.operatingJurisdictions?.jurisdictions.find((entry) => entry.jurisdictionSlug === slug)?.basis ?? '';
|
|
84
|
+
for (const entry of report.entries) {
|
|
85
|
+
const reaching = entry.reachingSourceRefs.join(', ');
|
|
86
|
+
switch (entry.status) {
|
|
87
|
+
case AssuranceJurisdictionCoverageStatus.COVERED_BY_LAW:
|
|
88
|
+
ctx.log.success(` ${entry.jurisdictionSlug} (${basisOf(entry.jurisdictionSlug)}) — law available: ${reaching}`);
|
|
89
|
+
break;
|
|
90
|
+
case AssuranceJurisdictionCoverageStatus.GUIDANCE_ONLY:
|
|
91
|
+
ctx.log.warn(` ${entry.jurisdictionSlug} (${basisOf(entry.jurisdictionSlug)}) — GUIDANCE ONLY: ${reaching}`);
|
|
92
|
+
ctx.log.info(' No law or regulation for this place is registered. A voluntary framework is not');
|
|
93
|
+
ctx.log.info(' that jurisdiction\'s law; do not state a legal requirement on this basis.');
|
|
94
|
+
break;
|
|
95
|
+
default:
|
|
96
|
+
ctx.log.warn(` ${entry.jurisdictionSlug} (${basisOf(entry.jurisdictionSlug)}) — NOT COVERED`);
|
|
97
|
+
ctx.log.info(' No registered source states this jurisdiction\'s requirements. State it as an');
|
|
98
|
+
ctx.log.info(' explicit limitation of any produced document rather than filling the gap.');
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
const uncovered = report.entries.filter((entry) => entry.status !== AssuranceJurisdictionCoverageStatus.COVERED_BY_LAW);
|
|
102
|
+
ctx.log.info('');
|
|
103
|
+
if (uncovered.length === 0) {
|
|
104
|
+
ctx.log.success(` All ${report.entries.length} declared jurisdiction(s) are backed by registered law.`);
|
|
105
|
+
return { success: true };
|
|
106
|
+
}
|
|
107
|
+
ctx.log.warn(` ${uncovered.length} of ${report.entries.length} declared jurisdiction(s) are not backed by registered law.`);
|
|
108
|
+
ctx.log.info(' That is a KNOWN UNKNOWN and belongs in a produced document\'s stated limitations, named');
|
|
109
|
+
ctx.log.info(' place by place. A document that omits it reads as though every declared jurisdiction was');
|
|
110
|
+
ctx.log.info(' considered and cleared.');
|
|
111
|
+
// `--check` is the only path that turns this report into a refusal — see the class note above.
|
|
112
|
+
return { success: ctx.flags.check !== true };
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
//# sourceMappingURL=jurisdictions.command.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jurisdictions.command.js","sourceRoot":"","sources":["../../../../src/commands/context/jurisdictions.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,OAAO,EACL,mCAAmC,EACnC,iCAAiC,EACjC,mCAAmC,GACpC,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE/D,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,8CAA8C,CAAC;AAC1E,OAAO,EAAE,eAAe,EAAE,MAAM,qDAAqD,CAAC;AAGtF;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAM,CAAC,OAAO,OAAO,2BAA4B,SAAQ,WAAW;IACzD,IAAI,GAAgB;QAC3B,IAAI,EAAE,uBAAuB;QAC7B,WAAW,EAAE,6GAA6G;QAC1H,QAAQ,EAAE,eAAe,CAAC,OAAO;QACjC,KAAK,EAAE;YACL,KAAK,EAAE;gBACL,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,uGAAuG;gBACpH,OAAO,EAAE,KAAK;aACf;SACF;KACF,CAAC;IAEF,KAAK,CAAC,GAAG,CAAC,GAAmB;QA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AC;oBAC/F,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,qFAAqF,CAAC,CAAC;oBACpG,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,iFAAiF,CAAC,CAAC;YACpG,CAAC;QACH,CAAC;QAED,MAAM,SAAS,GAAG,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM,KAAK,mCAAmC,CAAC,cAAc,CAAC,CAAC;QACxH,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QACjB,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC3B,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC,SAAS,MAAM,CAAC,OAAO,CAAC,MAAM,yDAAyD,CAAC,CAAC;YACzG,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;QAC3B,CAAC;QAED,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,SAAS,CAAC,MAAM,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,6DAA6D,CAAC,CAAC;QAC7H,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,2FAA2F,CAAC,CAAC;QAC1G,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,4FAA4F,CAAC,CAAC;QAC3G,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,2BAA2B,CAAC,CAAC;QAE1C,+FAA+F;QAC/F,OAAO,EAAE,OAAO,EAAE,GAAG,CAAC,KAAK,CAAC,KAAK,KAAK,IAAI,EAAE,CAAC;IAC/C,CAAC;CACF","sourcesContent":["import chalk from 'chalk';\nimport { join } from 'node:path';\n\nimport {\n AssuranceJurisdictionCoverageStatus,\n INITIAL_ASSURANCE_SOURCE_REGISTRY,\n assessAssuranceJurisdictionCoverage,\n} from '@wildo-ai/saas-specifications/assurance';\nimport { loadSaasConfig } from '@wildo-ai/platform-config-lib';\n\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\nimport { requireSaasRoot } from '~wildo-cli/services/registry/registry-command.utils';\nimport type { CommandMeta, CommandContext, CommandResult } from '~wildo-cli/kernel/types';\n\n/**\n * What the framework knows about the law where this application says it operates (#453).\n *\n * ## Why this is a command, and why it is OFFLINE\n *\n * The coverage answer has existed since #229 and reached exactly one surface: the compliance-document\n * DRAFTING BRIEF. So an application declaring a jurisdiction the source registry cannot reach was told\n * only if a creation-lane drafting step happened to run — and silence about an unreached jurisdiction\n * is indistinguishable from a claim of coverage.\n *\n * `assessAssuranceJurisdictionCoverage` is a pure function over the declared jurisdictions and the\n * source registry, so this command needs no companion, no stack and no network. That is deliberate\n * rather than convenient: the reason to prefer a command over a page is that a command is reachable\n * from CI, and a command that first requires a running dev companion is not. Contrast\n * `wildo context coherence`, which legitimately asks the companion because its answer is derived from\n * the landed specification families.\n *\n * ## It REPORTS. `--check` is opt-in, and NOT_DECLARED is not a failure\n *\n * Reporting is the decided behaviour: a boot or build refusal over jurisdiction coverage would be a\n * second decision, and one that lands on applications that have not begun compliance work. `--check`\n * exists so CI can gate deliberately, and it fails only on a DECLARED jurisdiction that no registered\n * law reaches — a known unknown the produced document must name.\n *\n * `NOT_DECLARED` never fails, even under `--check`. Nobody has answered the question, which is a\n * different thing from answering it badly, and failing there would gate every application on work it\n * may not yet owe. It is still printed, as its own paragraph rather than as an empty list, because a\n * list of zero uncovered jurisdictions is exactly what a fully covered application looks like.\n */\nexport default class ContextJurisdictionsCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'context jurisdictions',\n description: 'Print what the framework knows about the law in each jurisdiction this application declares it operates in.',\n category: CommandCategory.Context,\n flags: {\n check: {\n type: 'boolean',\n description: 'Exit non-zero when a declared jurisdiction is not backed by registered law. Reporting is the default.',\n default: false,\n },\n },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n let saasRoot: string;\n try {\n saasRoot = requireSaasRoot(ctx, 'context-jurisdictions');\n } catch (error) {\n ctx.log.error(ErrorUtils.extractErrorMessage(error));\n return { success: false };\n }\n\n const config = await loadSaasConfig(join(saasRoot, 'wildo.saas.config.ts'));\n if (config === null) {\n ctx.log.error(`Could not load ${join(saasRoot, 'wildo.saas.config.ts')}.`);\n return { success: false };\n }\n\n const report = assessAssuranceJurisdictionCoverage(\n config.operatingJurisdictions,\n INITIAL_ASSURANCE_SOURCE_REGISTRY.sources,\n );\n\n ctx.log.info(chalk.cyan(`\\n Operating-jurisdiction coverage — ${saasRoot}\\n`));\n ctx.log.info(`source: wildo.saas.config.ts · registry: ${INITIAL_ASSURANCE_SOURCE_REGISTRY.sources.length} source(s) · freshness: CURRENT (derived from the working tree)`);\n ctx.log.info('');\n\n if (report.kind === 'NOT_DECLARED') {\n /*\n * Deliberately not phrased as a gap to close. `operatingJurisdictions` being absent means the\n * question was never put, and the one thing an operator must not do is answer it from a currency,\n * a language or a customer address — where a product is SOLD is a commercial fact, and guessing\n * it wrong puts a false statement of applicable law into a document a reader relies on.\n */\n ctx.log.warn('Operating jurisdictions: NOT DECLARED.');\n ctx.log.info(' Where this application operates has not been established, so nothing can be said about');\n ctx.log.info(' which legal regimes reach it. That is NOT \"it operates nowhere\" and NOT \"no regime');\n ctx.log.info(' applies\" — nobody has answered.');\n ctx.log.info(' Declare them in wildo.saas.config.ts under `operatingJurisdictions`.');\n return { success: true };\n }\n\n const basisOf = (slug: string): string =>\n config.operatingJurisdictions?.jurisdictions.find((entry) => entry.jurisdictionSlug === slug)?.basis ?? '';\n\n for (const entry of report.entries) {\n const reaching = entry.reachingSourceRefs.join(', ');\n switch (entry.status) {\n case AssuranceJurisdictionCoverageStatus.COVERED_BY_LAW:\n ctx.log.success(` ${entry.jurisdictionSlug} (${basisOf(entry.jurisdictionSlug)}) — law available: ${reaching}`);\n break;\n case AssuranceJurisdictionCoverageStatus.GUIDANCE_ONLY:\n ctx.log.warn(` ${entry.jurisdictionSlug} (${basisOf(entry.jurisdictionSlug)}) — GUIDANCE ONLY: ${reaching}`);\n ctx.log.info(' No law or regulation for this place is registered. A voluntary framework is not');\n ctx.log.info(' that jurisdiction\\'s law; do not state a legal requirement on this basis.');\n break;\n default:\n ctx.log.warn(` ${entry.jurisdictionSlug} (${basisOf(entry.jurisdictionSlug)}) — NOT COVERED`);\n ctx.log.info(' No registered source states this jurisdiction\\'s requirements. State it as an');\n ctx.log.info(' explicit limitation of any produced document rather than filling the gap.');\n }\n }\n\n const uncovered = report.entries.filter((entry) => entry.status !== AssuranceJurisdictionCoverageStatus.COVERED_BY_LAW);\n ctx.log.info('');\n if (uncovered.length === 0) {\n ctx.log.success(` All ${report.entries.length} declared jurisdiction(s) are backed by registered law.`);\n return { success: true };\n }\n\n ctx.log.warn(` ${uncovered.length} of ${report.entries.length} declared jurisdiction(s) are not backed by registered law.`);\n ctx.log.info(' That is a KNOWN UNKNOWN and belongs in a produced document\\'s stated limitations, named');\n ctx.log.info(' place by place. A document that omits it reads as though every declared jurisdiction was');\n ctx.log.info(' considered and cleared.');\n\n // `--check` is the only path that turns this report into a refusal — see the class note above.\n return { success: ctx.flags.check !== true };\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.command.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"list.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/context/list.command.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAG7D,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAS1F;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,WAAW;IACzD,QAAQ,CAAC,IAAI,EAAE,WAAW,CAIxB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;CAqCvD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"db-schema-plan.utils.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"db-schema-plan.utils.d.ts","sourceRoot":"","sources":["../../../../src/commands/db/db-schema-plan.utils.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAKH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAE9D,0FAA0F;AAC1F,eAAO,MAAM,sBAAsB,QAA6D,CAAC;AACjG,eAAO,MAAM,uBAAuB,QAAoC,CAAC;AACzE,eAAO,MAAM,8BAA8B,QAA6D,CAAC;AAEzG;;;;;;;;GAQG;AACH,wBAAgB,iBAAiB,IAAI,MAAM,CAuB1C;AAED,oGAAoG;AACpG,wBAAgB,0BAA0B,CAAC,GAAG,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CA2CpG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"diff.command.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"diff.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/db/diff.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAYH,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAW1F,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,WAAW;IACpD,QAAQ,CAAC,IAAI,EAAE,WAAW,CAgBxB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;IAsEtD,OAAO,CAAC,qBAAqB;IA4B7B,OAAO,CAAC,YAAY;CAYrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate.command.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"generate.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/db/generate.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAYH,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAc1F,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,WAAW;IACxD,QAAQ,CAAC,IAAI,EAAE,WAAW,CAgBxB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;CA0FvD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"migrate.command.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"migrate.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/db/migrate.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAIH,OAAO,EAML,KAAK,2BAA2B,EACjC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAO1F;;;;;;;;;GASG;AACH,wBAAsB,wBAAwB,CAAC,GAAG,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,2BAA2B,GAAG,SAAS,CAAC,CAMtI;AAED,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,WAAW;IACvD,QAAQ,CAAC,IAAI,EAAE,WAAW,CAWxB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;CA+CvD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolve.command.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"resolve.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/db/resolve.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AASH,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAM1F,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,WAAW;IACvD,QAAQ,CAAC,IAAI,EAAE,WAAW,CAmBxB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;CAkDvD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"design-tokens.command.test.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"design-tokens.command.test.d.ts","sourceRoot":"","sources":["../../../../../src/commands/dev/__tests__/design-tokens.command.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"start.command.test.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"start.command.test.d.ts","sourceRoot":"","sources":["../../../../../src/commands/dev/__tests__/start.command.test.ts"],"names":[],"mappings":""}
|
|
@@ -308,7 +308,8 @@ describe('DevStartCommand', () => {
|
|
|
308
308
|
APPLICATION_ENV: 'development',
|
|
309
309
|
},
|
|
310
310
|
serviceName: 'wonder-todos-dev-companion',
|
|
311
|
-
|
|
311
|
+
applicationRoot: '/tmp/project/examples/wonder-todos',
|
|
312
|
+
relativeDir: '.wildo-saas/wildo-dev-companion',
|
|
312
313
|
},
|
|
313
314
|
]);
|
|
314
315
|
vi.mocked(AppBootstrapService.buildApplicationFrontendTargets).mockResolvedValue([]);
|
|
@@ -354,7 +355,7 @@ describe('DevStartCommand', () => {
|
|
|
354
355
|
},
|
|
355
356
|
});
|
|
356
357
|
vi.mocked(AppBootstrapService.buildApplicationOperatorEnvTargets).mockReturnValue([{
|
|
357
|
-
|
|
358
|
+
applicationRoot: '/tmp/project/apps/demo',
|
|
358
359
|
disposition: ApplicationOperatorEnvFileDisposition.WRITE,
|
|
359
360
|
env: {
|
|
360
361
|
[ApplicationCreationVerificationEnvKey.EVIDENCE_DIRECTORY]: '.wildo-saas/logs/application-creation-evidence',
|
|
@@ -391,17 +392,16 @@ describe('DevStartCommand', () => {
|
|
|
391
392
|
config: expect.objectContaining({
|
|
392
393
|
applicationCreationVerification: expect.objectContaining({ silent: false }),
|
|
393
394
|
}),
|
|
394
|
-
frameworkPath: '/tmp/project',
|
|
395
395
|
saasRoot: '/tmp/project/apps/demo',
|
|
396
396
|
});
|
|
397
397
|
expect(envSync).toHaveBeenCalledWith(ctx.activeEnv, expect.anything(), expect.objectContaining({
|
|
398
|
-
applicationOperators: [expect.objectContaining({
|
|
398
|
+
applicationOperators: [expect.objectContaining({ applicationRoot: '/tmp/project/apps/demo' })],
|
|
399
399
|
}), log);
|
|
400
400
|
});
|
|
401
401
|
it('passes an explicit operator-env removal target through dev start after authored posture is revoked', async () => {
|
|
402
402
|
vi.mocked(EnvironmentUtils.loadConfigJson).mockReturnValue({});
|
|
403
403
|
vi.mocked(AppBootstrapService.buildApplicationOperatorEnvTargets).mockReturnValue([{
|
|
404
|
-
|
|
404
|
+
applicationRoot: '/tmp/project/apps/demo',
|
|
405
405
|
disposition: ApplicationOperatorEnvFileDisposition.REMOVE,
|
|
406
406
|
}]);
|
|
407
407
|
const log = createLogger();
|
|
@@ -425,7 +425,7 @@ describe('DevStartCommand', () => {
|
|
|
425
425
|
expect(await new DevStartCommand().run(ctx)).toEqual({ success: true });
|
|
426
426
|
expect(envSync).toHaveBeenCalledWith(ctx.activeEnv, expect.anything(), expect.objectContaining({
|
|
427
427
|
applicationOperators: [{
|
|
428
|
-
|
|
428
|
+
applicationRoot: '/tmp/project/apps/demo',
|
|
429
429
|
disposition: ApplicationOperatorEnvFileDisposition.REMOVE,
|
|
430
430
|
}],
|
|
431
431
|
}), log);
|