@wildo-ai/wildo-cli 1.1.2 → 1.1.4
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__/assurance-basis.command.test.d.ts +2 -0
- package/dist/src/commands/context/__tests__/assurance-basis.command.test.d.ts.map +1 -0
- package/dist/src/commands/context/__tests__/assurance-basis.command.test.js +63 -0
- package/dist/src/commands/context/__tests__/assurance-basis.command.test.js.map +1 -0
- 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/assurance-basis.command.d.ts +61 -0
- package/dist/src/commands/context/assurance-basis.command.d.ts.map +1 -0
- package/dist/src/commands/context/assurance-basis.command.js +166 -0
- package/dist/src/commands/context/assurance-basis.command.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 +5 -3
- package/dist/src/commands/dev/charts-audit.command.d.ts.map +1 -1
- package/dist/src/commands/dev/charts-audit.command.js +36 -7
- 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 +325 -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 +8 -0
- package/dist/src/commands/generate/email-preview.command.d.ts.map +1 -1
- package/dist/src/commands/generate/email-preview.command.js +57 -0
- package/dist/src/commands/generate/email-preview.command.js.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 +89 -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 +4 -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/login.command.js +2 -0
- package/dist/src/commands/registry/login.command.js.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/publish.command.js +2 -0
- package/dist/src/commands/registry/publish.command.js.map +1 -1
- package/dist/src/commands/registry/registry-transport.constants.d.ts +33 -0
- package/dist/src/commands/registry/registry-transport.constants.d.ts.map +1 -0
- package/dist/src/commands/registry/registry-transport.constants.js +33 -0
- package/dist/src/commands/registry/registry-transport.constants.js.map +1 -0
- 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/registry/whoami.command.js +2 -0
- package/dist/src/commands/registry/whoami.command.js.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__/approver-user.module.test.d.ts +2 -0
- package/dist/src/modules/domain/credentials/__tests__/approver-user.module.test.d.ts.map +1 -0
- package/dist/src/modules/domain/credentials/__tests__/approver-user.module.test.js +146 -0
- package/dist/src/modules/domain/credentials/__tests__/approver-user.module.test.js.map +1 -0
- 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/approver-user.module.d.ts +85 -0
- package/dist/src/modules/domain/credentials/approver-user.module.d.ts.map +1 -0
- package/dist/src/modules/domain/credentials/approver-user.module.js +92 -0
- package/dist/src/modules/domain/credentials/approver-user.module.js.map +1 -0
- 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.approving-administrator.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/app-bootstrap.approving-administrator.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/app-bootstrap.approving-administrator.test.js +111 -0
- package/dist/src/services/application/__tests__/app-bootstrap.approving-administrator.test.js.map +1 -0
- 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 +224 -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 +43 -10
- package/dist/src/services/application/app-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/app-bootstrap.service.js +92 -49
- 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 +6 -0
- package/dist/src/services/application/application-runtime-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/application-runtime-bootstrap.service.js +41 -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 +160 -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 +312 -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 +7 -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 +46 -26
- 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/companion/workbench-cli.service.js +10 -1
- package/dist/src/services/companion/workbench-cli.service.js.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__/provider-contribution-registration.guard.test.d.ts +2 -0
- package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.js +94 -0
- package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.js.map +1 -0
- 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 +114 -37
- package/dist/src/services/credentials/ci-secrets-adapter.service.js.map +1 -1
- package/dist/src/services/credentials/composed-provider-catalogue.d.ts +209 -0
- package/dist/src/services/credentials/composed-provider-catalogue.d.ts.map +1 -0
- package/dist/src/services/credentials/composed-provider-catalogue.js +263 -0
- package/dist/src/services/credentials/composed-provider-catalogue.js.map +1 -0
- package/dist/src/services/credentials/credentials.schemas.d.ts +29 -22
- package/dist/src/services/credentials/credentials.schemas.d.ts.map +1 -1
- package/dist/src/services/credentials/credentials.schemas.js +67 -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 +51 -8
- 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 +34 -7
- 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-bootstrap.service.test.js +45 -2
- package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.js.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 +23 -0
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js +52 -6
- 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 +188 -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 +55 -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 +17 -0
- 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 +101 -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 +86 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.js +212 -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__/base-url-is-a-declared-env-slot.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/base-url-is-a-declared-env-slot.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/base-url-is-a-declared-env-slot.test.js +100 -0
- package/dist/src/services/framework/provider-transposition/__tests__/base-url-is-a-declared-env-slot.test.js.map +1 -0
- 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 +219 -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 +139 -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 +1586 -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/cloudflare-cdn.service.js +33 -2
- package/dist/src/services/frontend/cloudflare-cdn.service.js.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 +15 -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 +394 -90
- 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/engine-peer-closure.json +12 -0
- 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-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 +52 -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 +75 -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 +46 -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/package.json.hbs +1 -1
- package/templates/saas/skeleton/backend-api/src/companion-exports.ts +13 -2
- 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-backend-provider/scenario.json +0 -17
- 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
- package/templates/saas/skeleton/backend-api/src/provider-contributions.ts +0 -44
|
@@ -0,0 +1,274 @@
|
|
|
1
|
+
import { TransposedAuthKind, TransposedOperationResolution, } from './transposed-provider.model.js';
|
|
2
|
+
export function mergeTransposedProviders(providers) {
|
|
3
|
+
const byVendor = new Map();
|
|
4
|
+
for (const provider of providers) {
|
|
5
|
+
const group = byVendor.get(provider.ref) ?? [];
|
|
6
|
+
group.push(provider);
|
|
7
|
+
byVendor.set(provider.ref, group);
|
|
8
|
+
}
|
|
9
|
+
const merged = [];
|
|
10
|
+
const reports = [];
|
|
11
|
+
for (const [ref, group] of byVendor) {
|
|
12
|
+
const operations = new Map();
|
|
13
|
+
let deduplicated = 0;
|
|
14
|
+
// RESOLVED first, so a pending operation always meets a complete endpoint set to match against
|
|
15
|
+
// rather than depending on which catalogue happened to be read first.
|
|
16
|
+
for (const operation of group.flatMap((provider) => provider.operations)) {
|
|
17
|
+
if (operation.resolution !== TransposedOperationResolution.RESOLVED)
|
|
18
|
+
continue;
|
|
19
|
+
const key = endpointIdentity(operation);
|
|
20
|
+
const existing = operations.get(key);
|
|
21
|
+
if (existing === undefined) {
|
|
22
|
+
operations.set(key, operation);
|
|
23
|
+
continue;
|
|
24
|
+
}
|
|
25
|
+
deduplicated += 1;
|
|
26
|
+
operations.set(key, preferRicher(existing, operation));
|
|
27
|
+
}
|
|
28
|
+
let completed = 0;
|
|
29
|
+
let stillPending = 0;
|
|
30
|
+
const resolvedByVendorName = indexByVendorOperationName([...operations.values()]);
|
|
31
|
+
for (const operation of group.flatMap((provider) => provider.operations)) {
|
|
32
|
+
if (operation.resolution !== TransposedOperationResolution.PENDING_ENDPOINT)
|
|
33
|
+
continue;
|
|
34
|
+
const match = operation.vendorOperationName === undefined ? undefined : resolvedByVendorName.get(normalise(operation.vendorOperationName));
|
|
35
|
+
if (match !== undefined) {
|
|
36
|
+
completed += 1;
|
|
37
|
+
// The pending side supplied identity, inputs and description; the resolved side supplied the
|
|
38
|
+
// endpoint. Both are recorded, because they answer different questions.
|
|
39
|
+
operations.set(endpointIdentity(match), {
|
|
40
|
+
...operation,
|
|
41
|
+
resolution: TransposedOperationResolution.RESOLVED,
|
|
42
|
+
method: match.method,
|
|
43
|
+
pathTemplate: match.pathTemplate,
|
|
44
|
+
parameters: match.parameters.length >= operation.parameters.length ? match.parameters : operation.parameters,
|
|
45
|
+
// The pending side described the operation, so ITS input declaration is the richer one —
|
|
46
|
+
// an SDK-backed action carries every prop a caller must pass while the endpoint side often
|
|
47
|
+
// carries only what rides in the path.
|
|
48
|
+
inputFields: operation.inputFields.length >= match.inputFields.length ? operation.inputFields : match.inputFields,
|
|
49
|
+
// The endpoint side is usually Sim, whose `outputs` block is DECLARED rather than inferred
|
|
50
|
+
// from an example, so it wins when both describe a response.
|
|
51
|
+
...(match.outputShape ?? operation.outputShape) === undefined
|
|
52
|
+
? {}
|
|
53
|
+
: { outputShape: match.outputShape ?? operation.outputShape },
|
|
54
|
+
endpointFrom: match.provenance,
|
|
55
|
+
});
|
|
56
|
+
continue;
|
|
57
|
+
}
|
|
58
|
+
stillPending += 1;
|
|
59
|
+
operations.set(`pending:${operation.vendorOperationName ?? operation.operationId}`, operation);
|
|
60
|
+
}
|
|
61
|
+
const ruleCompleted = applyInferredVendorEndpointRule(operations);
|
|
62
|
+
completed += ruleCompleted;
|
|
63
|
+
stillPending -= ruleCompleted;
|
|
64
|
+
merged.push({
|
|
65
|
+
ref,
|
|
66
|
+
vendor: ref,
|
|
67
|
+
auth: richestAuth(group.map((provider) => provider.auth)),
|
|
68
|
+
...(pickBaseUrl(group) === undefined ? {} : { baseUrl: pickBaseUrl(group) }),
|
|
69
|
+
operations: withUniqueOperationIds([...operations.values()]),
|
|
70
|
+
provenances: group.flatMap((provider) => provider.provenances),
|
|
71
|
+
});
|
|
72
|
+
reports.push({ vendor: ref, deduplicated, completed, stillPending });
|
|
73
|
+
}
|
|
74
|
+
return { providers: merged, reports };
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Resolve a pending operation from a rule the VENDOR'S OWN confirmed endpoints prove.
|
|
78
|
+
*
|
|
79
|
+
* Some APIs are RPC-shaped: every method lives at one prefix and the path's last segment IS the
|
|
80
|
+
* method name — `conversations.archive` at `/api/conversations.archive`. When a vendor's resolved
|
|
81
|
+
* operations unanimously show that, a pending operation that named a dotted method can be placed
|
|
82
|
+
* with no guessing at all: the rule is read off endpoints another catalogue confirmed, not assumed
|
|
83
|
+
* from the vendor's documentation or from what an SDK looks like.
|
|
84
|
+
*
|
|
85
|
+
* The unanimity is the guard, and it is strict on purpose. Measured across the catalogue on
|
|
86
|
+
* 2026-09-07, exactly ONE vendor qualifies — Slack, whose 34 confirmed endpoints all sit under
|
|
87
|
+
* `/api/` with a dotted tail — and it resolves 16 of its 20 remaining pendings. A looser rule would
|
|
88
|
+
* reach more vendors and start inventing endpoints, which is the single failure this transposer
|
|
89
|
+
* exists to avoid: a wrong URL is discovered by a customer, not by a test.
|
|
90
|
+
*
|
|
91
|
+
* Three confirmed endpoints minimum, because two can agree by accident.
|
|
92
|
+
*/
|
|
93
|
+
function applyInferredVendorEndpointRule(operations) {
|
|
94
|
+
const resolved = [...operations.values()].filter((o) => o.resolution === TransposedOperationResolution.RESOLVED && o.pathTemplate !== undefined);
|
|
95
|
+
if (resolved.length < 3)
|
|
96
|
+
return 0;
|
|
97
|
+
const split = resolved.map((operation) => {
|
|
98
|
+
const path = operation.pathTemplate;
|
|
99
|
+
const cut = path.lastIndexOf('/');
|
|
100
|
+
return { prefix: path.slice(0, cut + 1), tail: path.slice(cut + 1), method: operation.method };
|
|
101
|
+
});
|
|
102
|
+
const prefixes = new Set(split.map((entry) => entry.prefix));
|
|
103
|
+
if (prefixes.size !== 1)
|
|
104
|
+
return 0;
|
|
105
|
+
if (!split.every((entry) => DOTTED_METHOD_NAME.test(entry.tail)))
|
|
106
|
+
return 0;
|
|
107
|
+
const prefix = [...prefixes][0];
|
|
108
|
+
const method = modalMethod(split.map((entry) => entry.method));
|
|
109
|
+
let completed = 0;
|
|
110
|
+
for (const [key, operation] of [...operations.entries()]) {
|
|
111
|
+
if (operation.resolution !== TransposedOperationResolution.PENDING_ENDPOINT)
|
|
112
|
+
continue;
|
|
113
|
+
const name = operation.vendorOperationName;
|
|
114
|
+
if (name === undefined || !DOTTED_METHOD_NAME.test(name))
|
|
115
|
+
continue;
|
|
116
|
+
operations.delete(key);
|
|
117
|
+
const placed = {
|
|
118
|
+
...operation,
|
|
119
|
+
resolution: TransposedOperationResolution.RESOLVED,
|
|
120
|
+
method,
|
|
121
|
+
pathTemplate: `${prefix}${name}`,
|
|
122
|
+
summary: `${operation.summary ?? operation.operationId} (endpoint placed by this vendor's own confirmed URL pattern, ${prefix}<method>)`,
|
|
123
|
+
};
|
|
124
|
+
operations.set(endpointIdentity(placed), placed);
|
|
125
|
+
completed += 1;
|
|
126
|
+
}
|
|
127
|
+
return completed;
|
|
128
|
+
}
|
|
129
|
+
const DOTTED_METHOD_NAME = /^[a-zA-Z]+(\.[a-zA-Z]+)+$/;
|
|
130
|
+
/** The method the vendor's confirmed endpoints overwhelmingly use; ties go to POST, the RPC default. */
|
|
131
|
+
function modalMethod(methods) {
|
|
132
|
+
const tally = new Map();
|
|
133
|
+
for (const method of methods) {
|
|
134
|
+
if (method === undefined)
|
|
135
|
+
continue;
|
|
136
|
+
tally.set(method, (tally.get(method) ?? 0) + 1);
|
|
137
|
+
}
|
|
138
|
+
let best = 'POST';
|
|
139
|
+
let bestCount = 0;
|
|
140
|
+
for (const [method, count] of tally) {
|
|
141
|
+
if (count > bestCount) {
|
|
142
|
+
best = method;
|
|
143
|
+
bestCount = count;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
return best;
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* Make every operationId unique within the provider.
|
|
150
|
+
*
|
|
151
|
+
* The merge's identity is the ENDPOINT, which is right — two catalogues naming one request
|
|
152
|
+
* differently must collapse. But the converse also happens: two DIFFERENT endpoints can arrive
|
|
153
|
+
* carrying the same name, because each catalogue names operations only within its own scope. The
|
|
154
|
+
* emitted catalogue is keyed by operationId, so a collision there is not a cosmetic clash — it is
|
|
155
|
+
* an object literal with a repeated key, where the later entry silently replaces the earlier and an
|
|
156
|
+
* operation an application can see in the source disappears at runtime. Measured on the first full
|
|
157
|
+
* batch: 22 such collisions across 684 providers, 20 of them in `discord`.
|
|
158
|
+
*
|
|
159
|
+
* Disambiguation is deterministic and derived from the thing that made them different in the first
|
|
160
|
+
* place — the method, then the path's last literal segment, then an ordinal. A regeneration must
|
|
161
|
+
* produce the same ids, or every batch would show a diff nobody caused.
|
|
162
|
+
*/
|
|
163
|
+
function withUniqueOperationIds(operations) {
|
|
164
|
+
const taken = new Set();
|
|
165
|
+
return operations.map((operation) => {
|
|
166
|
+
if (!taken.has(operation.operationId)) {
|
|
167
|
+
taken.add(operation.operationId);
|
|
168
|
+
return operation;
|
|
169
|
+
}
|
|
170
|
+
for (const candidate of disambiguationCandidates(operation)) {
|
|
171
|
+
if (taken.has(candidate))
|
|
172
|
+
continue;
|
|
173
|
+
taken.add(candidate);
|
|
174
|
+
return { ...operation, operationId: candidate };
|
|
175
|
+
}
|
|
176
|
+
// Unreachable in practice: the ordinal candidates are unbounded. Kept so the function is total
|
|
177
|
+
// rather than relying on that being true.
|
|
178
|
+
const fallback = `${operation.operationId}-${taken.size}`;
|
|
179
|
+
taken.add(fallback);
|
|
180
|
+
return { ...operation, operationId: fallback };
|
|
181
|
+
});
|
|
182
|
+
}
|
|
183
|
+
function* disambiguationCandidates(operation) {
|
|
184
|
+
const base = operation.operationId;
|
|
185
|
+
if (operation.method !== undefined)
|
|
186
|
+
yield `${base}-${operation.method.toLowerCase()}`;
|
|
187
|
+
const segments = (operation.pathTemplate ?? '').split('/').filter((segment) => segment.length > 0 && !segment.startsWith('{'));
|
|
188
|
+
const tail = segments[segments.length - 1];
|
|
189
|
+
if (tail !== undefined)
|
|
190
|
+
yield `${base}-${tail.replace(/[^a-zA-Z0-9]+/g, '-')}`;
|
|
191
|
+
for (let ordinal = 2; ordinal < 1000; ordinal += 1)
|
|
192
|
+
yield `${base}-${ordinal}`;
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* Two operations are the SAME when they reach the same endpoint. Not when they share a name: the two
|
|
196
|
+
* catalogues name the same call `slack-create-channel` and `slack_create_conversation`, so a
|
|
197
|
+
* name-keyed merge would emit both and a caller would have to know which catalogue it came from.
|
|
198
|
+
*/
|
|
199
|
+
function endpointIdentity(operation) {
|
|
200
|
+
return `${operation.method ?? 'UNKNOWN'} ${(operation.pathTemplate ?? '').replace(/\{[^}]*\}/g, '{}')}`;
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* Index resolved operations by the vendor operation name a PENDING entry would have named.
|
|
204
|
+
*
|
|
205
|
+
* The path's tail IS that name for the API styles where an SDK method mirrors the endpoint —
|
|
206
|
+
* `/api/conversations.create` is `conversations.create`. Both the dotted tail and the last path
|
|
207
|
+
* segment are indexed, and matching is exact on a normalised form: a fuzzy match here would attach a
|
|
208
|
+
* real endpoint to the wrong operation, which is the one failure mode worse than staying pending.
|
|
209
|
+
*/
|
|
210
|
+
function indexByVendorOperationName(operations) {
|
|
211
|
+
const index = new Map();
|
|
212
|
+
for (const operation of operations) {
|
|
213
|
+
const path = operation.pathTemplate ?? '';
|
|
214
|
+
const segments = path.split('/').filter((segment) => segment.length > 0 && !segment.startsWith('{'));
|
|
215
|
+
const tail = segments[segments.length - 1];
|
|
216
|
+
if (tail === undefined)
|
|
217
|
+
continue;
|
|
218
|
+
for (const candidate of [tail, segments.slice(-2).join('.')]) {
|
|
219
|
+
const key = normalise(candidate);
|
|
220
|
+
if (key.length > 0 && !index.has(key))
|
|
221
|
+
index.set(key, operation);
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
return index;
|
|
225
|
+
}
|
|
226
|
+
function normalise(value) {
|
|
227
|
+
return value.toLowerCase().replace(/[^a-z0-9.]/g, '');
|
|
228
|
+
}
|
|
229
|
+
/** More declared parameters means more contract; ties keep the incumbent, so the merge is stable. */
|
|
230
|
+
function preferRicher(existing, candidate) {
|
|
231
|
+
const winner = candidate.parameters.length > existing.parameters.length ? candidate : existing;
|
|
232
|
+
const loser = winner === existing ? candidate : existing;
|
|
233
|
+
return {
|
|
234
|
+
...winner,
|
|
235
|
+
alsoDescribedBy: [...(winner.alsoDescribedBy ?? []), loser.provenance],
|
|
236
|
+
};
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* The most INFORMATIVE credential shape wins.
|
|
240
|
+
*
|
|
241
|
+
* OAuth2 carrying its endpoints beats bare OAuth2, which beats a plain secret, which beats a
|
|
242
|
+
* vendor-specific bag — because each step down loses something a deployment would otherwise have to
|
|
243
|
+
* supply by hand. This is where the two catalogues complement each other most quietly: Sim states
|
|
244
|
+
* that a vendor is OAuth2 and Activepieces states its authorize and token URLs.
|
|
245
|
+
*/
|
|
246
|
+
function richestAuth(auths) {
|
|
247
|
+
const score = (auth) => {
|
|
248
|
+
switch (auth.kind) {
|
|
249
|
+
case TransposedAuthKind.OAUTH2:
|
|
250
|
+
return auth.authUrl !== undefined && auth.tokenUrl !== undefined ? 5 : 4;
|
|
251
|
+
case TransposedAuthKind.SECRET_TEXT:
|
|
252
|
+
return 3;
|
|
253
|
+
case TransposedAuthKind.BASIC:
|
|
254
|
+
return 2;
|
|
255
|
+
case TransposedAuthKind.CUSTOM:
|
|
256
|
+
return 1;
|
|
257
|
+
case TransposedAuthKind.NONE:
|
|
258
|
+
return 0;
|
|
259
|
+
}
|
|
260
|
+
};
|
|
261
|
+
return [...auths].sort((left, right) => score(right) - score(left))[0] ?? { kind: TransposedAuthKind.NONE };
|
|
262
|
+
}
|
|
263
|
+
/**
|
|
264
|
+
* The base URL every source agrees on, or none.
|
|
265
|
+
*
|
|
266
|
+
* Disagreement is left UNSET on purpose rather than resolved by majority: two catalogues naming
|
|
267
|
+
* different hosts for one vendor means either a regional split or a stale entry, and inventing a
|
|
268
|
+
* winner would point every operation at a host nobody verified. Unset makes the deployment name it.
|
|
269
|
+
*/
|
|
270
|
+
function pickBaseUrl(group) {
|
|
271
|
+
const urls = [...new Set(group.map((provider) => provider.baseUrl).filter((url) => url !== undefined))];
|
|
272
|
+
return urls.length === 1 ? urls[0] : undefined;
|
|
273
|
+
}
|
|
274
|
+
//# sourceMappingURL=provider-merge.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider-merge.js","sourceRoot":"","sources":["../../../../../src/services/framework/provider-transposition/provider-merge.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,6BAA6B,GAI9B,MAAM,6BAA6B,CAAC;AAyCrC,MAAM,UAAU,wBAAwB,CAAC,SAAwC;IAC/E,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAgC,CAAC;IACzD,KAAK,MAAM,QAAQ,IAAI,SAAS,EAAE,CAAC;QACjC,MAAM,KAAK,GAAG,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC;QAC/C,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC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AC,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;YAC3E,KAAK,kBAAkB,CAAC,WAAW;gBACjC,OAAO,CAAC,CAAC;YACX,KAAK,kBAAkB,CAAC,KAAK;gBAC3B,OAAO,CAAC,CAAC;YACX,KAAK,kBAAkB,CAAC,MAAM;gBAC5B,OAAO,CAAC,CAAC;YACX,KAAK,kBAAkB,CAAC,IAAI;gBAC1B,OAAO,CAAC,CAAC;QACb,CAAC;IACH,CAAC,CAAC;IACF,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,kBAAkB,CAAC,IAAI,EAAE,CAAC;AAC9G,CAAC;AAED;;;;;;GAMG;AACH,SAAS,WAAW,CAAC,KAAoC;IACvD,MAAM,IAAI,GAAG,CAAC,GAAG,IAAI,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAiB,EAAE,CAAC,GAAG,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC;IACvH,OAAO,IAAI,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;AACjD,CAAC","sourcesContent":["import {\n TransposedAuthKind,\n TransposedOperationResolution,\n type TransposedAuth,\n type TransposedOperation,\n type TransposedProvider,\n} from './transposed-provider.model';\n\n/**\n * Merge every catalogue's view of a vendor into ONE Wildo provider.\n *\n * Decided by Paul on 2026-09-06: **one merged provider per vendor**. Slack, Google, HubSpot and\n * Notion are described by more than one source, and they produce one `providers/<vendor>` package\n * each — never `slack-activepieces` beside `slack-sim`. Package identity is the vendor; the sources\n * are provenance carried per operation.\n *\n * ## The merge is not tidying — it is what completes the catalogue\n *\n * The two sources fail in opposite directions, and that is why merging them is worth more than\n * either. An Activepieces action for a big vendor delegates to an SDK: it carries the operation's\n * identity, its inputs, its description and its auth, and no endpoint. A Sim tool for the same\n * vendor carries the endpoint. Matched on the vendor operation the SDK call named, the pending half\n * is COMPLETED by the other catalogue in the same pass — which is why 70 unreachable Slack actions\n * and 35 Sim endpoints are together better than either alone.\n *\n * ## What decides a tie\n *\n * When two sources describe the same endpoint, the one carrying more declared parameters wins, and\n * the loser is recorded in `alsoDescribedBy` rather than dropped: the NOTICE owes it attribution,\n * and a future disagreement between two catalogues is only diagnosable if both were kept.\n */\n\nexport interface MergeReport {\n readonly vendor: string;\n /** Operations that existed in more than one catalogue and were collapsed into one. */\n readonly deduplicated: number;\n /** PENDING operations an endpoint from another catalogue completed. */\n readonly completed: number;\n /** PENDING operations no catalogue could complete — the honest remainder. */\n readonly stillPending: number;\n}\n\nexport interface MergeResult {\n readonly providers: readonly TransposedProvider[];\n readonly reports: readonly MergeReport[];\n}\n\nexport function mergeTransposedProviders(providers: readonly TransposedProvider[]): MergeResult {\n const byVendor = new Map<string, TransposedProvider[]>();\n for (const provider of providers) {\n const group = byVendor.get(provider.ref) ?? [];\n group.push(provider);\n byVendor.set(provider.ref, group);\n }\n\n const merged: TransposedProvider[] = [];\n const reports: MergeReport[] = [];\n\n for (const [ref, group] of byVendor) {\n const operations = new Map<string, TransposedOperation>();\n let deduplicated = 0;\n\n // RESOLVED first, so a pending operation always meets a complete endpoint set to match against\n // rather than depending on which catalogue happened to be read first.\n for (const operation of group.flatMap((provider) => provider.operations)) {\n if (operation.resolution !== TransposedOperationResolution.RESOLVED) continue;\n const key = endpointIdentity(operation);\n const existing = operations.get(key);\n if (existing === undefined) {\n operations.set(key, operation);\n continue;\n }\n deduplicated += 1;\n operations.set(key, preferRicher(existing, operation));\n }\n\n let completed = 0;\n let stillPending = 0;\n const resolvedByVendorName = indexByVendorOperationName([...operations.values()]);\n\n for (const operation of group.flatMap((provider) => provider.operations)) {\n if (operation.resolution !== TransposedOperationResolution.PENDING_ENDPOINT) continue;\n const match = operation.vendorOperationName === undefined ? undefined : resolvedByVendorName.get(normalise(operation.vendorOperationName));\n if (match !== undefined) {\n completed += 1;\n // The pending side supplied identity, inputs and description; the resolved side supplied the\n // endpoint. Both are recorded, because they answer different questions.\n operations.set(endpointIdentity(match), {\n ...operation,\n resolution: TransposedOperationResolution.RESOLVED,\n method: match.method,\n pathTemplate: match.pathTemplate,\n parameters: match.parameters.length >= operation.parameters.length ? match.parameters : operation.parameters,\n // The pending side described the operation, so ITS input declaration is the richer one —\n // an SDK-backed action carries every prop a caller must pass while the endpoint side often\n // carries only what rides in the path.\n inputFields: operation.inputFields.length >= match.inputFields.length ? operation.inputFields : match.inputFields,\n // The endpoint side is usually Sim, whose `outputs` block is DECLARED rather than inferred\n // from an example, so it wins when both describe a response.\n ...(match.outputShape ?? operation.outputShape) === undefined\n ? {}\n : { outputShape: match.outputShape ?? operation.outputShape },\n endpointFrom: match.provenance,\n });\n continue;\n }\n stillPending += 1;\n operations.set(`pending:${operation.vendorOperationName ?? operation.operationId}`, operation);\n }\n\n const ruleCompleted = applyInferredVendorEndpointRule(operations);\n completed += ruleCompleted;\n stillPending -= ruleCompleted;\n\n merged.push({\n ref,\n vendor: ref,\n auth: richestAuth(group.map((provider) => provider.auth)),\n ...(pickBaseUrl(group) === undefined ? {} : { baseUrl: pickBaseUrl(group)! }),\n operations: withUniqueOperationIds([...operations.values()]),\n provenances: group.flatMap((provider) => provider.provenances),\n });\n reports.push({ vendor: ref, deduplicated, completed, stillPending });\n }\n\n return { providers: merged, reports };\n}\n\n/**\n * Resolve a pending operation from a rule the VENDOR'S OWN confirmed endpoints prove.\n *\n * Some APIs are RPC-shaped: every method lives at one prefix and the path's last segment IS the\n * method name — `conversations.archive` at `/api/conversations.archive`. When a vendor's resolved\n * operations unanimously show that, a pending operation that named a dotted method can be placed\n * with no guessing at all: the rule is read off endpoints another catalogue confirmed, not assumed\n * from the vendor's documentation or from what an SDK looks like.\n *\n * The unanimity is the guard, and it is strict on purpose. Measured across the catalogue on\n * 2026-09-07, exactly ONE vendor qualifies — Slack, whose 34 confirmed endpoints all sit under\n * `/api/` with a dotted tail — and it resolves 16 of its 20 remaining pendings. A looser rule would\n * reach more vendors and start inventing endpoints, which is the single failure this transposer\n * exists to avoid: a wrong URL is discovered by a customer, not by a test.\n *\n * Three confirmed endpoints minimum, because two can agree by accident.\n */\nfunction applyInferredVendorEndpointRule(operations: Map<string, TransposedOperation>): number {\n const resolved = [...operations.values()].filter((o) => o.resolution === TransposedOperationResolution.RESOLVED && o.pathTemplate !== undefined);\n if (resolved.length < 3) return 0;\n\n const split = resolved.map((operation) => {\n const path = operation.pathTemplate!;\n const cut = path.lastIndexOf('/');\n return { prefix: path.slice(0, cut + 1), tail: path.slice(cut + 1), method: operation.method };\n });\n const prefixes = new Set(split.map((entry) => entry.prefix));\n if (prefixes.size !== 1) return 0;\n if (!split.every((entry) => DOTTED_METHOD_NAME.test(entry.tail))) return 0;\n\n const prefix = [...prefixes][0]!;\n const method = modalMethod(split.map((entry) => entry.method));\n let completed = 0;\n\n for (const [key, operation] of [...operations.entries()]) {\n if (operation.resolution !== TransposedOperationResolution.PENDING_ENDPOINT) continue;\n const name = operation.vendorOperationName;\n if (name === undefined || !DOTTED_METHOD_NAME.test(name)) continue;\n operations.delete(key);\n const placed: TransposedOperation = {\n ...operation,\n resolution: TransposedOperationResolution.RESOLVED,\n method,\n pathTemplate: `${prefix}${name}`,\n summary: `${operation.summary ?? operation.operationId} (endpoint placed by this vendor's own confirmed URL pattern, ${prefix}<method>)`,\n };\n operations.set(endpointIdentity(placed), placed);\n completed += 1;\n }\n return completed;\n}\n\nconst DOTTED_METHOD_NAME = /^[a-zA-Z]+(\\.[a-zA-Z]+)+$/;\n\n/** The method the vendor's confirmed endpoints overwhelmingly use; ties go to POST, the RPC default. */\nfunction modalMethod(methods: readonly (string | undefined)[]): string {\n const tally = new Map<string, number>();\n for (const method of methods) {\n if (method === undefined) continue;\n tally.set(method, (tally.get(method) ?? 0) + 1);\n }\n let best = 'POST';\n let bestCount = 0;\n for (const [method, count] of tally) {\n if (count > bestCount) { best = method; bestCount = count; }\n }\n return best;\n}\n\n/**\n * Make every operationId unique within the provider.\n *\n * The merge's identity is the ENDPOINT, which is right — two catalogues naming one request\n * differently must collapse. But the converse also happens: two DIFFERENT endpoints can arrive\n * carrying the same name, because each catalogue names operations only within its own scope. The\n * emitted catalogue is keyed by operationId, so a collision there is not a cosmetic clash — it is\n * an object literal with a repeated key, where the later entry silently replaces the earlier and an\n * operation an application can see in the source disappears at runtime. Measured on the first full\n * batch: 22 such collisions across 684 providers, 20 of them in `discord`.\n *\n * Disambiguation is deterministic and derived from the thing that made them different in the first\n * place — the method, then the path's last literal segment, then an ordinal. A regeneration must\n * produce the same ids, or every batch would show a diff nobody caused.\n */\nfunction withUniqueOperationIds(operations: readonly TransposedOperation[]): readonly TransposedOperation[] {\n const taken = new Set<string>();\n return operations.map((operation) => {\n if (!taken.has(operation.operationId)) {\n taken.add(operation.operationId);\n return operation;\n }\n for (const candidate of disambiguationCandidates(operation)) {\n if (taken.has(candidate)) continue;\n taken.add(candidate);\n return { ...operation, operationId: candidate };\n }\n // Unreachable in practice: the ordinal candidates are unbounded. Kept so the function is total\n // rather than relying on that being true.\n const fallback = `${operation.operationId}-${taken.size}`;\n taken.add(fallback);\n return { ...operation, operationId: fallback };\n });\n}\n\nfunction* disambiguationCandidates(operation: TransposedOperation): Generator<string> {\n const base = operation.operationId;\n if (operation.method !== undefined) yield `${base}-${operation.method.toLowerCase()}`;\n const segments = (operation.pathTemplate ?? '').split('/').filter((segment) => segment.length > 0 && !segment.startsWith('{'));\n const tail = segments[segments.length - 1];\n if (tail !== undefined) yield `${base}-${tail.replace(/[^a-zA-Z0-9]+/g, '-')}`;\n for (let ordinal = 2; ordinal < 1000; ordinal += 1) yield `${base}-${ordinal}`;\n}\n\n/**\n * Two operations are the SAME when they reach the same endpoint. Not when they share a name: the two\n * catalogues name the same call `slack-create-channel` and `slack_create_conversation`, so a\n * name-keyed merge would emit both and a caller would have to know which catalogue it came from.\n */\nfunction endpointIdentity(operation: TransposedOperation): string {\n return `${operation.method ?? 'UNKNOWN'} ${(operation.pathTemplate ?? '').replace(/\\{[^}]*\\}/g, '{}')}`;\n}\n\n/**\n * Index resolved operations by the vendor operation name a PENDING entry would have named.\n *\n * The path's tail IS that name for the API styles where an SDK method mirrors the endpoint —\n * `/api/conversations.create` is `conversations.create`. Both the dotted tail and the last path\n * segment are indexed, and matching is exact on a normalised form: a fuzzy match here would attach a\n * real endpoint to the wrong operation, which is the one failure mode worse than staying pending.\n */\nfunction indexByVendorOperationName(operations: readonly TransposedOperation[]): ReadonlyMap<string, TransposedOperation> {\n const index = new Map<string, TransposedOperation>();\n for (const operation of operations) {\n const path = operation.pathTemplate ?? '';\n const segments = path.split('/').filter((segment) => segment.length > 0 && !segment.startsWith('{'));\n const tail = segments[segments.length - 1];\n if (tail === undefined) continue;\n for (const candidate of [tail, segments.slice(-2).join('.')]) {\n const key = normalise(candidate);\n if (key.length > 0 && !index.has(key)) index.set(key, operation);\n }\n }\n return index;\n}\n\nfunction normalise(value: string): string {\n return value.toLowerCase().replace(/[^a-z0-9.]/g, '');\n}\n\n/** More declared parameters means more contract; ties keep the incumbent, so the merge is stable. */\nfunction preferRicher(existing: TransposedOperation, candidate: TransposedOperation): TransposedOperation {\n const winner = candidate.parameters.length > existing.parameters.length ? candidate : existing;\n const loser = winner === existing ? candidate : existing;\n return {\n ...winner,\n alsoDescribedBy: [...(winner.alsoDescribedBy ?? []), loser.provenance],\n };\n}\n\n/**\n * The most INFORMATIVE credential shape wins.\n *\n * OAuth2 carrying its endpoints beats bare OAuth2, which beats a plain secret, which beats a\n * vendor-specific bag — because each step down loses something a deployment would otherwise have to\n * supply by hand. This is where the two catalogues complement each other most quietly: Sim states\n * that a vendor is OAuth2 and Activepieces states its authorize and token URLs.\n */\nfunction richestAuth(auths: readonly TransposedAuth[]): TransposedAuth {\n const score = (auth: TransposedAuth): number => {\n switch (auth.kind) {\n case TransposedAuthKind.OAUTH2:\n return auth.authUrl !== undefined && auth.tokenUrl !== undefined ? 5 : 4;\n case TransposedAuthKind.SECRET_TEXT:\n return 3;\n case TransposedAuthKind.BASIC:\n return 2;\n case TransposedAuthKind.CUSTOM:\n return 1;\n case TransposedAuthKind.NONE:\n return 0;\n }\n };\n return [...auths].sort((left, right) => score(right) - score(left))[0] ?? { kind: TransposedAuthKind.NONE };\n}\n\n/**\n * The base URL every source agrees on, or none.\n *\n * Disagreement is left UNSET on purpose rather than resolved by majority: two catalogues naming\n * different hosts for one vendor means either a regional split or a stale entry, and inventing a\n * winner would point every operation at a host nobody verified. Unset makes the deployment name it.\n */\nfunction pickBaseUrl(group: readonly TransposedProvider[]): string | undefined {\n const urls = [...new Set(group.map((provider) => provider.baseUrl).filter((url): url is string => url !== undefined))];\n return urls.length === 1 ? urls[0] : undefined;\n}\n"]}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import type { CatalogueDecisions } from './provider-catalogue-record';
|
|
2
|
+
import { type TransposedOperation, type TransposedProvider } from './transposed-provider.model';
|
|
3
|
+
/**
|
|
4
|
+
* Writes every transposed vendor into ONE package with a subpath export each.
|
|
5
|
+
*
|
|
6
|
+
* Decided by Paul on 2026-09-06, replacing 684 separate packages, and the deciding constraint was
|
|
7
|
+
* npm rather than anything measured inside the repository:
|
|
8
|
+
*
|
|
9
|
+
* - **Trademark.** 684 packages meant 684 names carrying other companies' marks —
|
|
10
|
+
* `@wildo-ai/provider-slack`, `-hubspot`, `-stripe`. As subpaths the vendor name appears in
|
|
11
|
+
* `@wildo-ai/providers/slack`, which is a materially smaller footprint: one published name, ours.
|
|
12
|
+
* - **npm's spam policy** targets bulk-published low-content package families, which is exactly the
|
|
13
|
+
* SHAPE of 684 auto-generated 15 KB packages published in one run, however legitimate they are.
|
|
14
|
+
* - **Publish mechanics.** One version, one tarball, one 2FA-gated publish, one security surface —
|
|
15
|
+
* instead of 684 of each, rate-limited.
|
|
16
|
+
*
|
|
17
|
+
* What it costs, stated plainly: an application installs every vendor's definitions (5.4 MB of
|
|
18
|
+
* source) rather than only the ones it declares. That is the trade, and it is affordable because the
|
|
19
|
+
* cost is DISK rather than memory — nothing loads until a subpath is imported.
|
|
20
|
+
*
|
|
21
|
+
* ## No root barrel, deliberately
|
|
22
|
+
*
|
|
23
|
+
* There is no `src/index.ts`, and there must never be one. A root barrel re-exporting 684 vendors
|
|
24
|
+
* would let a single careless import pull 6,518 operations into a process's module graph, which is
|
|
25
|
+
* precisely what a subpath-only package exists to prevent — and it would undo the lazy catalogue
|
|
26
|
+
* loading the engine contract requires. The only way in is a vendor's own subpath.
|
|
27
|
+
*/
|
|
28
|
+
export interface EmitPackageOptions {
|
|
29
|
+
/** Absolute path of the package root (`<repo>/providers`). */
|
|
30
|
+
readonly packageRoot: string;
|
|
31
|
+
readonly providers: readonly TransposedProvider[];
|
|
32
|
+
/** Operations the readers refused, by vendor ref, written beside each vendor's source. */
|
|
33
|
+
readonly unreadableByVendor: ReadonlyMap<string, readonly TransposedOperation[]>;
|
|
34
|
+
/**
|
|
35
|
+
* Whether this run covered EVERY vendor of EVERY configured catalogue.
|
|
36
|
+
*
|
|
37
|
+
* Only a full batch may conclude that a record entry matching nothing is stale, because only a
|
|
38
|
+
* full batch looked everywhere. A filtered or single-catalogue run reports and withdraws nothing.
|
|
39
|
+
*/
|
|
40
|
+
readonly fullBatch: boolean;
|
|
41
|
+
}
|
|
42
|
+
export interface EmitPackageResult {
|
|
43
|
+
readonly vendors: number;
|
|
44
|
+
/**
|
|
45
|
+
* Which refs actually got a subpath, and how many operations each carries.
|
|
46
|
+
*
|
|
47
|
+
* Reported rather than left to be re-derived, because `vendorIsExported` has THREE clauses and a
|
|
48
|
+
* caller reconstructing it will miss one — the inventory did, on `ENGINE_OWNED_PROVIDER_REFS`, and
|
|
49
|
+
* over-reported 707 exports against 682 emitted. The same reason the plan and the emit share one
|
|
50
|
+
* predicate: a second implementation is a thing that disagrees.
|
|
51
|
+
*/
|
|
52
|
+
readonly exportedOperationCounts: ReadonlyMap<string, number>;
|
|
53
|
+
readonly executableOperations: number;
|
|
54
|
+
readonly pendingOperations: number;
|
|
55
|
+
readonly unreadableOperations: number;
|
|
56
|
+
/**
|
|
57
|
+
* Operations the coherence guard refused, by vendor ref and reason code.
|
|
58
|
+
*
|
|
59
|
+
* Measured 2026-09-07: this population was 856 operations across 100 vendors, and it left the
|
|
60
|
+
* catalogue with no count in this result, no entry in any vendor's sidecar and no line in the
|
|
61
|
+
* run's report — while the invariant table read `PATH parameters nothing feeds: 0`, which was
|
|
62
|
+
* true of the survivors and true BECAUSE the guard had removed the rest. A metric satisfied by
|
|
63
|
+
* the deletion it exists to detect is not a metric. See issue #392.
|
|
64
|
+
*/
|
|
65
|
+
readonly refusedByVendor: ReadonlyMap<string, ReadonlyMap<EmitRefusalReason, number>>;
|
|
66
|
+
/**
|
|
67
|
+
* Vendors whose refusal count MOVED since the previous run, and by how much per reason.
|
|
68
|
+
*
|
|
69
|
+
* Growth is ordinary — an upstream catalogue adding an operation with a positionally-named path
|
|
70
|
+
* hole produces it — so this is reported and never refused. It is here so that a change nobody
|
|
71
|
+
* asked for is seen in the run rather than only in a 738-file diff.
|
|
72
|
+
*/
|
|
73
|
+
readonly refusalMovement: ReadonlyMap<string, Readonly<Record<string, number>>>;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Why an otherwise-resolved operation was not emitted.
|
|
77
|
+
*
|
|
78
|
+
* A closed vocabulary rather than a sentence, because the ACCEPTANCE of a refusal is stored as a
|
|
79
|
+
* per-vendor shrink-only baseline keyed by this code — the shape `spec-citations.baseline.json` and
|
|
80
|
+
* `check:invented-display-text` already use — so that a NEW refusal stands out against an
|
|
81
|
+
* understood one. The list of refused ids is deliberately NOT stored: the guard re-derives it every
|
|
82
|
+
* run, and a stored copy would rot the first time a hole is named.
|
|
83
|
+
*/
|
|
84
|
+
export declare enum EmitRefusalReason {
|
|
85
|
+
/** No path template at all, or `/` — there is no endpoint to call. */
|
|
86
|
+
NO_PATH_TEMPLATE = "NO_PATH_TEMPLATE",
|
|
87
|
+
/** A `{hole}` in the path that the operation's own parameters never declare. */
|
|
88
|
+
UNDECLARED_PATH_HOLE = "UNDECLARED_PATH_HOLE",
|
|
89
|
+
/**
|
|
90
|
+
* A PATH parameter no input field feeds. Dominated by positionally-named holes (`{param1}`,
|
|
91
|
+
* `{param2}`) where the source's URL expression was too complex to name, and `declareWhatTheWireNeeds`
|
|
92
|
+
* declines to invent a name because an input called `param1` is a sentence no caller can act on.
|
|
93
|
+
*/
|
|
94
|
+
UNFED_PATH_PARAMETER = "UNFED_PATH_PARAMETER",
|
|
95
|
+
/**
|
|
96
|
+
* A path template that is not a PATH — it carries whitespace, so it is a query language the source
|
|
97
|
+
* expressed as a URL rather than an endpoint.
|
|
98
|
+
*
|
|
99
|
+
* Measured 2026-09-09 across 4,328 emitted operations: THREE, all Salesforce, all SOQL —
|
|
100
|
+
* `/SELECT FIELDS(ALL) FROM {object} WHERE {field} = '…' LIMIT 200`. Salesforce takes SOQL in a
|
|
101
|
+
* QUERY PARAMETER (`/services/data/vXX.0/query?q=…`), never in the path, so each of the three
|
|
102
|
+
* would have requested a nonsense URL. They shipped as callable and typechecked perfectly.
|
|
103
|
+
*
|
|
104
|
+
* Whitespace, and NOT the quotes or parentheses a first pass reached for. Eleven operations carry
|
|
105
|
+
* one of those and eight are correct: OData addresses a resource as
|
|
106
|
+
* `/workbook/worksheets('{sheetName}')/range(address='{address}')`, where both are legal inside a
|
|
107
|
+
* path segment. A space is not legal unencoded, so it is the one character that separates a
|
|
108
|
+
* malformed path from an unusual one.
|
|
109
|
+
*/
|
|
110
|
+
PATH_TEMPLATE_IS_NOT_A_PATH = "PATH_TEMPLATE_IS_NOT_A_PATH"
|
|
111
|
+
}
|
|
112
|
+
export declare function emitProvidersPackage(options: EmitPackageOptions): EmitPackageResult;
|
|
113
|
+
/**
|
|
114
|
+
* Whether a vendor gets a SUBPATH in the emitted package.
|
|
115
|
+
*
|
|
116
|
+
* One function because the answers must agree and twice already did not. `--dry-run` exists so a
|
|
117
|
+
* batch can be inspected before it replaces every vendor directory in the package, which is worth
|
|
118
|
+
* nothing if the plan and the emit compute different things: they disagreed by 856 operations once
|
|
119
|
+
* (#393, one copy of the refusal accounting), and by 9 VENDORS until 2026-09-08 — the plan applied
|
|
120
|
+
* the "nothing executable" half and skipped the decisions half, so a dry run promised subpaths for
|
|
121
|
+
* exactly the nine vendors then withheld for colliding with an engine provider. That is the worst
|
|
122
|
+
* possible set to over-report: it tells the reader the collision is back.
|
|
123
|
+
*
|
|
124
|
+
* The three clauses:
|
|
125
|
+
*
|
|
126
|
+
* - **nothing executable** — a subpath resolving to auth and no operations looks complete to
|
|
127
|
+
* everyone downstream and can do nothing;
|
|
128
|
+
* - **the engine owns the ref** — see `ENGINE_OWNED_PROVIDER_REFS`. Derived, so it cannot be short
|
|
129
|
+
* by two the way the hand-written version was;
|
|
130
|
+
* - **`scrape: false`** — a deliberate withholding, for a reason no rule derives. It is the door
|
|
131
|
+
* that stays open for the next one-off.
|
|
132
|
+
*
|
|
133
|
+
* All three withhold the SUBPATH and nothing else: the vendor is still emitted and its ledger still
|
|
134
|
+
* maintained, so re-enabling it cannot renumber ids an application called before it was withheld,
|
|
135
|
+
* which is exactly the breakage the record exists to prevent.
|
|
136
|
+
*/
|
|
137
|
+
export declare function vendorIsExported(ref: string, resolvedOperationCount: number, decisions: CatalogueDecisions | undefined): boolean;
|
|
138
|
+
export declare function planProvidersPackage(options: EmitPackageOptions): EmitPackageResult;
|
|
139
|
+
//# sourceMappingURL=provider-package.emitter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider-package.emitter.d.ts","sourceRoot":"","sources":["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