@wildo-ai/wildo-cli 1.1.4 → 1.1.5
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/__tests__/compose-dependency-preview.test.d.ts +2 -0
- package/dist/src/commands/__tests__/compose-dependency-preview.test.d.ts.map +1 -0
- package/dist/src/commands/__tests__/compose-dependency-preview.test.js +271 -0
- package/dist/src/commands/__tests__/compose-dependency-preview.test.js.map +1 -0
- package/dist/src/commands/__tests__/init-application-repository.test.d.ts +2 -0
- package/dist/src/commands/__tests__/init-application-repository.test.d.ts.map +1 -0
- package/dist/src/commands/__tests__/init-application-repository.test.js +125 -0
- package/dist/src/commands/__tests__/init-application-repository.test.js.map +1 -0
- package/dist/src/commands/__tests__/init-scaffold-dispatch.test.d.ts +2 -0
- package/dist/src/commands/__tests__/init-scaffold-dispatch.test.d.ts.map +1 -0
- package/dist/src/commands/__tests__/init-scaffold-dispatch.test.js +51 -0
- package/dist/src/commands/__tests__/init-scaffold-dispatch.test.js.map +1 -0
- package/dist/src/commands/__tests__/update.command.test.d.ts +2 -0
- package/dist/src/commands/__tests__/update.command.test.d.ts.map +1 -0
- package/dist/src/commands/__tests__/update.command.test.js +235 -0
- package/dist/src/commands/__tests__/update.command.test.js.map +1 -0
- package/dist/src/commands/acp/__tests__/probe.command.test.d.ts +2 -0
- package/dist/src/commands/acp/__tests__/probe.command.test.d.ts.map +1 -0
- package/dist/src/commands/acp/__tests__/probe.command.test.js +36 -0
- package/dist/src/commands/acp/__tests__/probe.command.test.js.map +1 -0
- package/dist/src/commands/acp/probe.command.d.ts +6 -5
- package/dist/src/commands/acp/probe.command.d.ts.map +1 -1
- package/dist/src/commands/acp/probe.command.js +25 -6
- 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/align-deps.command.js +3 -0
- package/dist/src/commands/align-deps.command.js.map +1 -1
- package/dist/src/commands/assets/sync.command.d.ts +7 -10
- package/dist/src/commands/assets/sync.command.d.ts.map +1 -1
- package/dist/src/commands/assets/sync.command.js +14 -12
- 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 +6 -18
- 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.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 +35 -9
- package/dist/src/commands/config/__tests__/sync.command.test.js.map +1 -1
- package/dist/src/commands/config/__tests__/sync.config-source-hosting.command.test.d.ts +2 -0
- package/dist/src/commands/config/__tests__/sync.config-source-hosting.command.test.d.ts.map +1 -0
- package/dist/src/commands/config/__tests__/sync.config-source-hosting.command.test.js +134 -0
- package/dist/src/commands/config/__tests__/sync.config-source-hosting.command.test.js.map +1 -0
- package/dist/src/commands/config/__tests__/sync.hosted.command.test.d.ts +2 -0
- package/dist/src/commands/config/__tests__/sync.hosted.command.test.d.ts.map +1 -0
- package/dist/src/commands/config/__tests__/sync.hosted.command.test.js +106 -0
- package/dist/src/commands/config/__tests__/sync.hosted.command.test.js.map +1 -0
- package/dist/src/commands/config/__tests__/validate.command.test.d.ts.map +1 -1
- package/dist/src/commands/config/__tests__/validate.command.test.js +580 -0
- package/dist/src/commands/config/__tests__/validate.command.test.js.map +1 -1
- package/dist/src/commands/config/document-releases.command.d.ts +20 -0
- package/dist/src/commands/config/document-releases.command.d.ts.map +1 -0
- package/dist/src/commands/config/document-releases.command.js +74 -0
- package/dist/src/commands/config/document-releases.command.js.map +1 -0
- package/dist/src/commands/config/mutate.command.d.ts.map +1 -1
- package/dist/src/commands/config/mutate.command.js +2 -1
- package/dist/src/commands/config/mutate.command.js.map +1 -1
- package/dist/src/commands/config/reapply-declaration.command.d.ts.map +1 -1
- package/dist/src/commands/config/reapply-declaration.command.js +1 -1
- package/dist/src/commands/config/reapply-declaration.command.js.map +1 -1
- package/dist/src/commands/config/service-consent.command.d.ts +18 -0
- package/dist/src/commands/config/service-consent.command.d.ts.map +1 -0
- package/dist/src/commands/config/service-consent.command.js +59 -0
- package/dist/src/commands/config/service-consent.command.js.map +1 -0
- package/dist/src/commands/config/sync.command.d.ts.map +1 -1
- package/dist/src/commands/config/sync.command.js +166 -31
- package/dist/src/commands/config/sync.command.js.map +1 -1
- package/dist/src/commands/config/validate.command.d.ts +110 -2
- package/dist/src/commands/config/validate.command.d.ts.map +1 -1
- package/dist/src/commands/config/validate.command.js +483 -15
- package/dist/src/commands/config/validate.command.js.map +1 -1
- package/dist/src/commands/context/__tests__/assurance-basis.command.test.d.ts.map +1 -1
- package/dist/src/commands/context/__tests__/assurance-basis.command.test.js.map +1 -1
- package/dist/src/commands/context/__tests__/default-service-key.test.d.ts +2 -0
- package/dist/src/commands/context/__tests__/default-service-key.test.d.ts.map +1 -0
- package/dist/src/commands/context/__tests__/default-service-key.test.js +103 -0
- package/dist/src/commands/context/__tests__/default-service-key.test.js.map +1 -0
- package/dist/src/commands/context/__tests__/elements.command.test.d.ts +2 -0
- package/dist/src/commands/context/__tests__/elements.command.test.d.ts.map +1 -0
- package/dist/src/commands/context/__tests__/elements.command.test.js +81 -0
- package/dist/src/commands/context/__tests__/elements.command.test.js.map +1 -0
- package/dist/src/commands/context/__tests__/info.command.test.d.ts +2 -0
- package/dist/src/commands/context/__tests__/info.command.test.d.ts.map +1 -0
- package/dist/src/commands/context/__tests__/info.command.test.js +320 -0
- package/dist/src/commands/context/__tests__/info.command.test.js.map +1 -0
- package/dist/src/commands/context/__tests__/jurisdictions.command.test.d.ts.map +1 -1
- package/dist/src/commands/context/__tests__/jurisdictions.command.test.js.map +1 -1
- package/dist/src/commands/context/__tests__/workspace.command.test.d.ts +2 -0
- package/dist/src/commands/context/__tests__/workspace.command.test.d.ts.map +1 -0
- package/dist/src/commands/context/__tests__/workspace.command.test.js +60 -0
- package/dist/src/commands/context/__tests__/workspace.command.test.js.map +1 -0
- package/dist/src/commands/context/assurance-basis.command.d.ts.map +1 -1
- package/dist/src/commands/context/assurance-basis.command.js.map +1 -1
- package/dist/src/commands/context/coherence.command.d.ts.map +1 -1
- package/dist/src/commands/context/coherence.command.js +1 -1
- package/dist/src/commands/context/coherence.command.js.map +1 -1
- package/dist/src/commands/context/context-command.utils.d.ts +44 -2
- package/dist/src/commands/context/context-command.utils.d.ts.map +1 -1
- package/dist/src/commands/context/context-command.utils.js +130 -7
- package/dist/src/commands/context/context-command.utils.js.map +1 -1
- package/dist/src/commands/context/elements.command.d.ts +22 -0
- package/dist/src/commands/context/elements.command.d.ts.map +1 -0
- package/dist/src/commands/context/elements.command.js +77 -0
- package/dist/src/commands/context/elements.command.js.map +1 -0
- package/dist/src/commands/context/health.command.d.ts.map +1 -1
- package/dist/src/commands/context/info.command.d.ts +2 -1
- package/dist/src/commands/context/info.command.d.ts.map +1 -1
- package/dist/src/commands/context/info.command.js +16 -35
- package/dist/src/commands/context/info.command.js.map +1 -1
- package/dist/src/commands/context/journey.command.d.ts +8 -10
- package/dist/src/commands/context/journey.command.d.ts.map +1 -1
- package/dist/src/commands/context/journey.command.js +464 -11
- package/dist/src/commands/context/journey.command.js.map +1 -1
- package/dist/src/commands/context/jurisdictions.command.d.ts.map +1 -1
- package/dist/src/commands/context/jurisdictions.command.js.map +1 -1
- package/dist/src/commands/context/list.command.d.ts.map +1 -1
- package/dist/src/commands/context/list.command.js +5 -1
- package/dist/src/commands/context/list.command.js.map +1 -1
- package/dist/src/commands/context/workspace.command.d.ts +25 -0
- package/dist/src/commands/context/workspace.command.d.ts.map +1 -0
- package/dist/src/commands/context/workspace.command.js +78 -0
- package/dist/src/commands/context/workspace.command.js.map +1 -0
- package/dist/src/commands/db/__tests__/compiled-model-currency.test.d.ts +2 -0
- package/dist/src/commands/db/__tests__/compiled-model-currency.test.d.ts.map +1 -0
- package/dist/src/commands/db/__tests__/compiled-model-currency.test.js +99 -0
- package/dist/src/commands/db/__tests__/compiled-model-currency.test.js.map +1 -0
- package/dist/src/commands/db/__tests__/schema-plan-migration-write.test.d.ts +2 -0
- package/dist/src/commands/db/__tests__/schema-plan-migration-write.test.d.ts.map +1 -0
- package/dist/src/commands/db/__tests__/schema-plan-migration-write.test.js +68 -0
- package/dist/src/commands/db/__tests__/schema-plan-migration-write.test.js.map +1 -0
- package/dist/src/commands/db/db-schema-plan.utils.d.ts +77 -0
- package/dist/src/commands/db/db-schema-plan.utils.d.ts.map +1 -1
- package/dist/src/commands/db/db-schema-plan.utils.js +184 -2
- package/dist/src/commands/db/db-schema-plan.utils.js.map +1 -1
- package/dist/src/commands/db/diff.command.d.ts +4 -3
- package/dist/src/commands/db/diff.command.d.ts.map +1 -1
- package/dist/src/commands/db/diff.command.js +8 -6
- package/dist/src/commands/db/diff.command.js.map +1 -1
- package/dist/src/commands/db/generate.command.d.ts.map +1 -1
- package/dist/src/commands/db/generate.command.js +12 -21
- package/dist/src/commands/db/generate.command.js.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__/force-stop.hosted.command.test.d.ts +2 -0
- package/dist/src/commands/dev/__tests__/force-stop.hosted.command.test.d.ts.map +1 -0
- package/dist/src/commands/dev/__tests__/force-stop.hosted.command.test.js +69 -0
- package/dist/src/commands/dev/__tests__/force-stop.hosted.command.test.js.map +1 -0
- package/dist/src/commands/dev/__tests__/start.command.test.d.ts.map +1 -1
- package/dist/src/commands/dev/__tests__/start.command.test.js +8 -1
- package/dist/src/commands/dev/__tests__/start.command.test.js.map +1 -1
- package/dist/src/commands/dev/__tests__/start.hosted.command.test.d.ts +2 -0
- package/dist/src/commands/dev/__tests__/start.hosted.command.test.d.ts.map +1 -0
- package/dist/src/commands/dev/__tests__/start.hosted.command.test.js +132 -0
- package/dist/src/commands/dev/__tests__/start.hosted.command.test.js.map +1 -0
- package/dist/src/commands/dev/__tests__/stop-all.hosted.command.test.d.ts +2 -0
- package/dist/src/commands/dev/__tests__/stop-all.hosted.command.test.d.ts.map +1 -0
- package/dist/src/commands/dev/__tests__/stop-all.hosted.command.test.js +88 -0
- package/dist/src/commands/dev/__tests__/stop-all.hosted.command.test.js.map +1 -0
- 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 +9 -1
- package/dist/src/commands/dev/__tests__/sync-csp.command.test.js.map +1 -1
- package/dist/src/commands/dev/charts-audit.command.d.ts.map +1 -1
- package/dist/src/commands/dev/charts-audit.command.js.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/force-stop.command.js +22 -1
- package/dist/src/commands/dev/force-stop.command.js.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 +56 -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/stop-all.command.js +22 -0
- package/dist/src/commands/dev/stop-all.command.js.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 +14 -2
- package/dist/src/commands/dev/sync-csp.command.js.map +1 -1
- package/dist/src/commands/docs/__tests__/publish.command.test.d.ts.map +1 -1
- package/dist/src/commands/docs/__tests__/publish.command.test.js.map +1 -1
- package/dist/src/commands/docs/publish.command.d.ts.map +1 -1
- package/dist/src/commands/docs/publish.command.js.map +1 -1
- package/dist/src/commands/frontend/__tests__/publish.command.test.d.ts +2 -0
- package/dist/src/commands/frontend/__tests__/publish.command.test.d.ts.map +1 -0
- package/dist/src/commands/frontend/__tests__/publish.command.test.js +66 -0
- package/dist/src/commands/frontend/__tests__/publish.command.test.js.map +1 -0
- package/dist/src/commands/frontend/publish.command.d.ts.map +1 -1
- package/dist/src/commands/frontend/publish.command.js +11 -1
- package/dist/src/commands/frontend/publish.command.js.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/__tests__/publish-all.command.test.d.ts +2 -0
- package/dist/src/commands/fwk/__tests__/publish-all.command.test.d.ts.map +1 -0
- package/dist/src/commands/fwk/__tests__/publish-all.command.test.js +215 -0
- package/dist/src/commands/fwk/__tests__/publish-all.command.test.js.map +1 -0
- package/dist/src/commands/fwk/audit.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/dev-skills.command.d.ts +29 -3
- package/dist/src/commands/fwk/dev-skills.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/dev-skills.command.js +29 -3
- 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.map +1 -1
- package/dist/src/commands/fwk/generate-providers.command.js +259 -21
- package/dist/src/commands/fwk/generate-providers.command.js.map +1 -1
- package/dist/src/commands/fwk/graph.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-all.command.d.ts +42 -0
- package/dist/src/commands/fwk/publish-all.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-all.command.js +304 -31
- package/dist/src/commands/fwk/publish-all.command.js.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-bump.command.js +5 -6
- package/dist/src/commands/fwk/version-bump.command.js.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.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.map +1 -1
- package/dist/src/commands/fwk/wt-status.command.js.map +1 -1
- package/dist/src/commands/fwk/wt-tail.command.d.ts.map +1 -1
- 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 +2 -0
- package/dist/src/commands/generate/__tests__/email-command.utils.test.js.map +1 -1
- package/dist/src/commands/generate/__tests__/email-test-send.command.test.d.ts +2 -0
- package/dist/src/commands/generate/__tests__/email-test-send.command.test.d.ts.map +1 -0
- package/dist/src/commands/generate/__tests__/email-test-send.command.test.js +46 -0
- package/dist/src/commands/generate/__tests__/email-test-send.command.test.js.map +1 -0
- package/dist/src/commands/generate/__tests__/empty-unit-selection.test.d.ts +2 -0
- package/dist/src/commands/generate/__tests__/empty-unit-selection.test.d.ts.map +1 -0
- package/dist/src/commands/generate/__tests__/empty-unit-selection.test.js +33 -0
- package/dist/src/commands/generate/__tests__/empty-unit-selection.test.js.map +1 -0
- package/dist/src/commands/generate/email-command.utils.d.ts +5 -0
- package/dist/src/commands/generate/email-command.utils.d.ts.map +1 -1
- package/dist/src/commands/generate/email-command.utils.js.map +1 -1
- package/dist/src/commands/generate/email-preview.command.d.ts.map +1 -1
- package/dist/src/commands/generate/email-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-test-send.command.js +26 -6
- package/dist/src/commands/generate/email-test-send.command.js.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 +40 -0
- package/dist/src/commands/generate/labelling-command.utils.d.ts.map +1 -1
- package/dist/src/commands/generate/labelling-command.utils.js +43 -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-plan.command.js +4 -1
- package/dist/src/commands/generate/labels-plan.command.js.map +1 -1
- package/dist/src/commands/generate/labels.command.d.ts.map +1 -1
- package/dist/src/commands/generate/labels.command.js +3 -2
- package/dist/src/commands/generate/labels.command.js.map +1 -1
- package/dist/src/commands/generate/translate.command.d.ts.map +1 -1
- package/dist/src/commands/generate/translate.command.js +5 -2
- package/dist/src/commands/generate/translate.command.js.map +1 -1
- package/dist/src/commands/help.command.d.ts.map +1 -1
- package/dist/src/commands/help.command.js.map +1 -1
- package/dist/src/commands/init.command.d.ts +76 -0
- package/dist/src/commands/init.command.d.ts.map +1 -1
- package/dist/src/commands/init.command.js +413 -31
- 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 +8 -0
- package/dist/src/commands/local/__tests__/dev.command.test.js.map +1 -1
- package/dist/src/commands/local/__tests__/dev.hosted.command.test.d.ts +2 -0
- package/dist/src/commands/local/__tests__/dev.hosted.command.test.d.ts.map +1 -0
- package/dist/src/commands/local/__tests__/dev.hosted.command.test.js +164 -0
- package/dist/src/commands/local/__tests__/dev.hosted.command.test.js.map +1 -0
- package/dist/src/commands/local/__tests__/doctor.command.test.d.ts.map +1 -1
- package/dist/src/commands/local/__tests__/doctor.command.test.js +11 -0
- package/dist/src/commands/local/__tests__/doctor.command.test.js.map +1 -1
- package/dist/src/commands/local/__tests__/doctor.hosted.command.test.d.ts +2 -0
- package/dist/src/commands/local/__tests__/doctor.hosted.command.test.d.ts.map +1 -0
- package/dist/src/commands/local/__tests__/doctor.hosted.command.test.js +111 -0
- package/dist/src/commands/local/__tests__/doctor.hosted.command.test.js.map +1 -0
- package/dist/src/commands/local/__tests__/hosted-refusals.command.test.d.ts +2 -0
- package/dist/src/commands/local/__tests__/hosted-refusals.command.test.d.ts.map +1 -0
- package/dist/src/commands/local/__tests__/hosted-refusals.command.test.js +136 -0
- package/dist/src/commands/local/__tests__/hosted-refusals.command.test.js.map +1 -0
- package/dist/src/commands/local/__tests__/init.command.test.d.ts.map +1 -1
- package/dist/src/commands/local/__tests__/init.command.test.js +3 -3
- 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__/reinit.command.test.js +9 -0
- package/dist/src/commands/local/__tests__/reinit.command.test.js.map +1 -1
- package/dist/src/commands/local/__tests__/reset.command.test.d.ts.map +1 -1
- package/dist/src/commands/local/__tests__/reset.command.test.js +43 -1
- package/dist/src/commands/local/__tests__/reset.command.test.js.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 +11 -0
- package/dist/src/commands/local/__tests__/up.command.test.js.map +1 -1
- package/dist/src/commands/local/deregister.command.d.ts +20 -0
- package/dist/src/commands/local/deregister.command.d.ts.map +1 -0
- package/dist/src/commands/local/deregister.command.js +146 -0
- package/dist/src/commands/local/deregister.command.js.map +1 -0
- package/dist/src/commands/local/dev-status.command.d.ts.map +1 -1
- package/dist/src/commands/local/dev.command.d.ts.map +1 -1
- package/dist/src/commands/local/dev.command.js +99 -13
- package/dist/src/commands/local/dev.command.js.map +1 -1
- package/dist/src/commands/local/doctor.command.d.ts.map +1 -1
- package/dist/src/commands/local/doctor.command.js +64 -1
- 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/down.command.js +53 -10
- package/dist/src/commands/local/down.command.js.map +1 -1
- package/dist/src/commands/local/init.command.d.ts.map +1 -1
- 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 +2 -1
- package/dist/src/commands/local/reinit.command.d.ts.map +1 -1
- package/dist/src/commands/local/reinit.command.js +34 -7
- package/dist/src/commands/local/reinit.command.js.map +1 -1
- package/dist/src/commands/local/reset.command.d.ts +17 -13
- package/dist/src/commands/local/reset.command.d.ts.map +1 -1
- package/dist/src/commands/local/reset.command.js +89 -23
- package/dist/src/commands/local/reset.command.js.map +1 -1
- package/dist/src/commands/local/restore.command.d.ts +7 -0
- package/dist/src/commands/local/restore.command.d.ts.map +1 -0
- package/dist/src/commands/local/restore.command.js +72 -0
- package/dist/src/commands/local/restore.command.js.map +1 -0
- 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 +148 -10
- package/dist/src/commands/local/up.command.js.map +1 -1
- package/dist/src/commands/local-defaults/capture.command.d.ts +7 -0
- package/dist/src/commands/local-defaults/capture.command.d.ts.map +1 -0
- package/dist/src/commands/local-defaults/capture.command.js +118 -0
- package/dist/src/commands/local-defaults/capture.command.js.map +1 -0
- 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.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 +2 -0
- 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.map +1 -1
- package/dist/src/commands/prefs/set.command.d.ts +17 -0
- package/dist/src/commands/prefs/set.command.d.ts.map +1 -0
- package/dist/src/commands/prefs/set.command.js +178 -0
- package/dist/src/commands/prefs/set.command.js.map +1 -0
- package/dist/src/commands/providers/__tests__/required-inputs.test.d.ts.map +1 -1
- package/dist/src/commands/providers/__tests__/required-inputs.test.js.map +1 -1
- package/dist/src/commands/providers/show.command.d.ts.map +1 -1
- package/dist/src/commands/providers/show.command.js +2 -1
- package/dist/src/commands/providers/show.command.js.map +1 -1
- package/dist/src/commands/registry/__tests__/repair-contract.test.d.ts +2 -0
- package/dist/src/commands/registry/__tests__/repair-contract.test.d.ts.map +1 -0
- package/dist/src/commands/registry/__tests__/repair-contract.test.js +141 -0
- package/dist/src/commands/registry/__tests__/repair-contract.test.js.map +1 -0
- package/dist/src/commands/registry/__tests__/requirements.test.d.ts +2 -0
- package/dist/src/commands/registry/__tests__/requirements.test.d.ts.map +1 -0
- package/dist/src/commands/registry/__tests__/requirements.test.js +119 -0
- package/dist/src/commands/registry/__tests__/requirements.test.js.map +1 -0
- package/dist/src/commands/registry/__tests__/version-resolution.test.d.ts +2 -0
- package/dist/src/commands/registry/__tests__/version-resolution.test.d.ts.map +1 -0
- package/dist/src/commands/registry/__tests__/version-resolution.test.js +82 -0
- package/dist/src/commands/registry/__tests__/version-resolution.test.js.map +1 -0
- package/dist/src/commands/registry/add.command.d.ts +6 -10
- package/dist/src/commands/registry/add.command.d.ts.map +1 -1
- package/dist/src/commands/registry/add.command.js +9 -10
- package/dist/src/commands/registry/add.command.js.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.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.map +1 -1
- package/dist/src/commands/registry/registry-transport.constants.d.ts.map +1 -1
- package/dist/src/commands/registry/registry-transport.constants.js.map +1 -1
- package/dist/src/commands/registry/remove.command.d.ts.map +1 -1
- package/dist/src/commands/registry/repair-lockfile.command.d.ts +4 -8
- package/dist/src/commands/registry/repair-lockfile.command.d.ts.map +1 -1
- package/dist/src/commands/registry/repair-lockfile.command.js +19 -20
- package/dist/src/commands/registry/repair-lockfile.command.js.map +1 -1
- package/dist/src/commands/registry/search.command.d.ts.map +1 -1
- package/dist/src/commands/registry/update.command.d.ts +4 -1
- package/dist/src/commands/registry/update.command.d.ts.map +1 -1
- package/dist/src/commands/registry/update.command.js +8 -3
- package/dist/src/commands/registry/update.command.js.map +1 -1
- package/dist/src/commands/registry/whoami.command.d.ts.map +1 -1
- 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/setup.command.js +55 -0
- package/dist/src/commands/setup.command.js.map +1 -1
- package/dist/src/commands/update.command.d.ts +7 -0
- package/dist/src/commands/update.command.d.ts.map +1 -0
- package/dist/src/commands/update.command.js +297 -0
- package/dist/src/commands/update.command.js.map +1 -0
- 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__/parallelism.command.test.d.ts +2 -0
- package/dist/src/commands/workbench/__tests__/parallelism.command.test.d.ts.map +1 -0
- package/dist/src/commands/workbench/__tests__/parallelism.command.test.js +51 -0
- package/dist/src/commands/workbench/__tests__/parallelism.command.test.js.map +1 -0
- 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/open.command.js +2 -1
- package/dist/src/commands/workbench/open.command.js.map +1 -1
- package/dist/src/commands/workbench/parallelism.command.d.ts +17 -0
- package/dist/src/commands/workbench/parallelism.command.d.ts.map +1 -0
- package/dist/src/commands/workbench/parallelism.command.js +48 -0
- package/dist/src/commands/workbench/parallelism.command.js.map +1 -0
- package/dist/src/commands/workbench/rearm-task.command.d.ts +16 -0
- package/dist/src/commands/workbench/rearm-task.command.d.ts.map +1 -0
- package/dist/src/commands/workbench/rearm-task.command.js +61 -0
- package/dist/src/commands/workbench/rearm-task.command.js.map +1 -0
- package/dist/src/commands/workbench/status.command.d.ts.map +1 -1
- package/dist/src/commands/workbench/status.command.js +16 -2
- package/dist/src/commands/workbench/status.command.js.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.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/__tests__/machine-preference-answers.test.d.ts +2 -0
- package/dist/src/kernel/__tests__/machine-preference-answers.test.d.ts.map +1 -0
- package/dist/src/kernel/__tests__/machine-preference-answers.test.js +118 -0
- package/dist/src/kernel/__tests__/machine-preference-answers.test.js.map +1 -0
- package/dist/src/kernel/base-command.d.ts +4 -3
- package/dist/src/kernel/base-command.d.ts.map +1 -1
- package/dist/src/kernel/base-command.js +19 -3
- package/dist/src/kernel/base-command.js.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.map +1 -1
- package/dist/src/kernel/command-runner.d.ts +7 -0
- package/dist/src/kernel/command-runner.d.ts.map +1 -1
- package/dist/src/kernel/command-runner.js +14 -0
- package/dist/src/kernel/command-runner.js.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 +18 -1
- package/dist/src/kernel/types.d.ts.map +1 -1
- package/dist/src/kernel/types.js.map +1 -1
- package/dist/src/main.d.ts.map +1 -1
- package/dist/src/main.js +39 -1
- package/dist/src/main.js.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.map +1 -1
- package/dist/src/modules/domain/credentials/__tests__/approver-user.module.test.js +10 -2
- package/dist/src/modules/domain/credentials/__tests__/approver-user.module.test.js.map +1 -1
- package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.d.ts.map +1 -1
- package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.js.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 +3 -5
- package/dist/src/modules/domain/credentials/approver-user.module.d.ts.map +1 -1
- package/dist/src/modules/domain/credentials/approver-user.module.js +7 -4
- package/dist/src/modules/domain/credentials/approver-user.module.js.map +1 -1
- package/dist/src/modules/domain/credentials/module.types.d.ts.map +1 -1
- package/dist/src/modules/domain/credentials/providers-config.module.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/src/services/application/__tests__/app-bootstrap.approving-administrator.test.js +1 -0
- package/dist/src/services/application/__tests__/app-bootstrap.approving-administrator.test.js.map +1 -1
- package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.js +68 -0
- package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.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.apps-manager-reconnect.test.js +14 -3
- package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.js.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 +2 -0
- 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 +29 -7
- 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 +16 -0
- 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 +21 -2
- package/dist/src/services/application/__tests__/app-runtime-targets.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/app-schema-bootstrap.unmigrated-postgresql.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/app-schema-bootstrap.unmigrated-postgresql.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/app-schema-bootstrap.unmigrated-postgresql.test.js +51 -0
- package/dist/src/services/application/__tests__/app-schema-bootstrap.unmigrated-postgresql.test.js.map +1 -0
- 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 +45 -6
- package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/application-creation-readiness.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/application-creation-readiness.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/application-creation-readiness.test.js +152 -0
- package/dist/src/services/application/__tests__/application-creation-readiness.test.js.map +1 -0
- package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.js +6 -2
- package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/application-dev-port-offsets.copies.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/application-dev-port-offsets.copies.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/application-dev-port-offsets.copies.test.js +29 -0
- package/dist/src/services/application/__tests__/application-dev-port-offsets.copies.test.js.map +1 -0
- 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__/application-runtime-bootstrap.service.test.js +6 -0
- package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.js.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__/dev-schema-drift.service.test.js +15 -1
- package/dist/src/services/application/__tests__/dev-schema-drift.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/environment-provider-configurations.service.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/environment-provider-configurations.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/environment-provider-configurations.service.test.js +60 -0
- package/dist/src/services/application/__tests__/environment-provider-configurations.service.test.js.map +1 -0
- 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 +8 -1
- package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/frontend-provider-source.service.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/frontend-provider-source.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/frontend-provider-source.service.test.js +118 -0
- package/dist/src/services/application/__tests__/frontend-provider-source.service.test.js.map +1 -0
- package/dist/src/services/application/__tests__/local-app-reinit.hosted-guard.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/local-app-reinit.hosted-guard.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/local-app-reinit.hosted-guard.test.js +82 -0
- package/dist/src/services/application/__tests__/local-app-reinit.hosted-guard.test.js.map +1 -0
- 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 +41 -13
- 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.hosted.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.js +119 -0
- package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.js.map +1 -0
- 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.map +1 -1
- package/dist/src/services/application/__tests__/provider-package-links.service.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/provider-package-links.service.test.js.map +1 -1
- 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 +80 -10
- 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 +17 -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 +441 -5
- package/dist/src/services/application/__tests__/saas-skeleton.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/skeleton-infra-ownership.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/skeleton-infra-ownership.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/skeleton-infra-ownership.test.js +180 -0
- package/dist/src/services/application/__tests__/skeleton-infra-ownership.test.js.map +1 -0
- package/dist/src/services/application/app-bootstrap.service.d.ts +74 -1
- package/dist/src/services/application/app-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/app-bootstrap.service.js +71 -15
- 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 +13 -1
- package/dist/src/services/application/app-runtime-targets.service.d.ts.map +1 -1
- package/dist/src/services/application/app-runtime-targets.service.js +31 -7
- package/dist/src/services/application/app-runtime-targets.service.js.map +1 -1
- package/dist/src/services/application/app-schema-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/app-schema-bootstrap.service.js +28 -5
- package/dist/src/services/application/app-schema-bootstrap.service.js.map +1 -1
- package/dist/src/services/application/application-assets-delivery.service.d.ts +10 -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 +10 -4
- package/dist/src/services/application/application-assets-delivery.service.js.map +1 -1
- package/dist/src/services/application/application-creation-readiness.service.d.ts +39 -0
- package/dist/src/services/application/application-creation-readiness.service.d.ts.map +1 -0
- package/dist/src/services/application/application-creation-readiness.service.js +186 -0
- package/dist/src/services/application/application-creation-readiness.service.js.map +1 -0
- package/dist/src/services/application/application-dependency-alignment.service.d.ts +12 -0
- package/dist/src/services/application/application-dependency-alignment.service.d.ts.map +1 -1
- package/dist/src/services/application/application-dependency-alignment.service.js +21 -0
- package/dist/src/services/application/application-dependency-alignment.service.js.map +1 -1
- package/dist/src/services/application/application-dev-port-offsets.d.ts.map +1 -1
- package/dist/src/services/application/application-initialization-verification.service.d.ts.map +1 -1
- package/dist/src/services/application/application-root.utils.d.ts.map +1 -1
- package/dist/src/services/application/application-runtime-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/application-runtime-bootstrap.service.js +15 -2
- package/dist/src/services/application/application-runtime-bootstrap.service.js.map +1 -1
- package/dist/src/services/application/composition-provider-plan.service.d.ts +18 -0
- package/dist/src/services/application/composition-provider-plan.service.d.ts.map +1 -0
- package/dist/src/services/application/composition-provider-plan.service.js +66 -0
- package/dist/src/services/application/composition-provider-plan.service.js.map +1 -0
- 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/dev-schema-drift.service.js +5 -49
- package/dist/src/services/application/dev-schema-drift.service.js.map +1 -1
- package/dist/src/services/application/environment-provider-configurations.service.d.ts +29 -0
- package/dist/src/services/application/environment-provider-configurations.service.d.ts.map +1 -0
- package/dist/src/services/application/environment-provider-configurations.service.js +70 -0
- package/dist/src/services/application/environment-provider-configurations.service.js.map +1 -0
- package/dist/src/services/application/existing-app-bootstrap.service.d.ts +9 -1
- package/dist/src/services/application/existing-app-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/existing-app-bootstrap.service.js +16 -10
- package/dist/src/services/application/existing-app-bootstrap.service.js.map +1 -1
- package/dist/src/services/application/frontend-provider-source.service.d.ts +16 -0
- package/dist/src/services/application/frontend-provider-source.service.d.ts.map +1 -0
- package/dist/src/services/application/frontend-provider-source.service.js +182 -0
- package/dist/src/services/application/frontend-provider-source.service.js.map +1 -0
- package/dist/src/services/application/local-app-reinit.service.d.ts +1 -1
- package/dist/src/services/application/local-app-reinit.service.d.ts.map +1 -1
- package/dist/src/services/application/local-app-reinit.service.js +18 -8
- package/dist/src/services/application/local-app-reinit.service.js.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 -2
- package/dist/src/services/application/local-application-initialization.service.js.map +1 -1
- package/dist/src/services/application/provider-package-links.service.d.ts +14 -5
- package/dist/src/services/application/provider-package-links.service.d.ts.map +1 -1
- package/dist/src/services/application/provider-package-links.service.js +32 -23
- package/dist/src/services/application/provider-package-links.service.js.map +1 -1
- package/dist/src/services/application/provider-runtime-sync.service.d.ts +53 -2
- package/dist/src/services/application/provider-runtime-sync.service.d.ts.map +1 -1
- package/dist/src/services/application/provider-runtime-sync.service.js +90 -5
- 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 +12 -0
- package/dist/src/services/application/saas-scaffold.service.js.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.d.ts +115 -0
- package/dist/src/services/application/saas-skeleton.service.d.ts.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.js +247 -112
- 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.map +1 -1
- package/dist/src/services/catalog/__tests__/durable-state-classification.test.js.map +1 -1
- package/dist/src/services/catalog/__tests__/live-recreate-classification.test.d.ts +2 -0
- package/dist/src/services/catalog/__tests__/live-recreate-classification.test.d.ts.map +1 -0
- package/dist/src/services/catalog/__tests__/live-recreate-classification.test.js +89 -0
- package/dist/src/services/catalog/__tests__/live-recreate-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.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.map +1 -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.map +1 -1
- package/dist/src/services/catalog/service-catalog.schemas.d.ts +63 -0
- package/dist/src/services/catalog/service-catalog.schemas.d.ts.map +1 -1
- package/dist/src/services/catalog/service-catalog.schemas.js +79 -0
- 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.map +1 -1
- package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.js.map +1 -1
- 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.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 +28 -1
- 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.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 +70 -2
- 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.map +1 -1
- package/dist/src/services/companion/companion-local-token.utils.js.map +1 -1
- 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.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.map +1 -1
- package/dist/src/services/compliance/__tests__/generated-compliance-module-wiring.test.d.ts +2 -0
- package/dist/src/services/compliance/__tests__/generated-compliance-module-wiring.test.d.ts.map +1 -0
- package/dist/src/services/compliance/__tests__/generated-compliance-module-wiring.test.js +85 -0
- package/dist/src/services/compliance/__tests__/generated-compliance-module-wiring.test.js.map +1 -0
- package/dist/src/services/compliance/__tests__/governed-document-releases.generator.test.d.ts +2 -0
- package/dist/src/services/compliance/__tests__/governed-document-releases.generator.test.d.ts.map +1 -0
- package/dist/src/services/compliance/__tests__/governed-document-releases.generator.test.js +289 -0
- package/dist/src/services/compliance/__tests__/governed-document-releases.generator.test.js.map +1 -0
- package/dist/src/services/compliance/__tests__/governed-document-releases.loader.test.d.ts +2 -0
- package/dist/src/services/compliance/__tests__/governed-document-releases.loader.test.d.ts.map +1 -0
- package/dist/src/services/compliance/__tests__/governed-document-releases.loader.test.js +78 -0
- package/dist/src/services/compliance/__tests__/governed-document-releases.loader.test.js.map +1 -0
- package/dist/src/services/compliance/__tests__/service-consent-requirement.generator.test.d.ts +2 -0
- package/dist/src/services/compliance/__tests__/service-consent-requirement.generator.test.d.ts.map +1 -0
- package/dist/src/services/compliance/__tests__/service-consent-requirement.generator.test.js +67 -0
- package/dist/src/services/compliance/__tests__/service-consent-requirement.generator.test.js.map +1 -0
- package/dist/src/services/compliance/generated-compliance-module-wiring.d.ts +65 -0
- package/dist/src/services/compliance/generated-compliance-module-wiring.d.ts.map +1 -0
- package/dist/src/services/compliance/generated-compliance-module-wiring.js +88 -0
- package/dist/src/services/compliance/generated-compliance-module-wiring.js.map +1 -0
- package/dist/src/services/compliance/governed-document-releases.generator.d.ts +156 -0
- package/dist/src/services/compliance/governed-document-releases.generator.d.ts.map +1 -0
- package/dist/src/services/compliance/governed-document-releases.generator.js +392 -0
- package/dist/src/services/compliance/governed-document-releases.generator.js.map +1 -0
- package/dist/src/services/compliance/service-consent-requirement.generator.d.ts +51 -0
- package/dist/src/services/compliance/service-consent-requirement.generator.d.ts.map +1 -0
- package/dist/src/services/compliance/service-consent-requirement.generator.js +124 -0
- package/dist/src/services/compliance/service-consent-requirement.generator.js.map +1 -0
- package/dist/src/services/context/__tests__/context-manager.hosted-infra-context.test.d.ts +2 -0
- package/dist/src/services/context/__tests__/context-manager.hosted-infra-context.test.d.ts.map +1 -0
- package/dist/src/services/context/__tests__/context-manager.hosted-infra-context.test.js +54 -0
- package/dist/src/services/context/__tests__/context-manager.hosted-infra-context.test.js.map +1 -0
- 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.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 +20 -1
- package/dist/src/services/context/context-manager.service.d.ts.map +1 -1
- package/dist/src/services/context/context-manager.service.js +69 -2
- package/dist/src/services/context/context-manager.service.js.map +1 -1
- package/dist/src/services/context/context.schemas.d.ts +46 -1
- package/dist/src/services/context/context.schemas.d.ts.map +1 -1
- package/dist/src/services/context/context.schemas.js.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.map +1 -1
- package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.js.map +1 -1
- package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.d.ts.map +1 -1
- package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.js +1 -0
- package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.js.map +1 -1
- package/dist/src/services/credentials/__tests__/credentials.service.hosted-write.test.d.ts +2 -0
- package/dist/src/services/credentials/__tests__/credentials.service.hosted-write.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/credentials.service.hosted-write.test.js +52 -0
- package/dist/src/services/credentials/__tests__/credentials.service.hosted-write.test.js.map +1 -0
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.scope.test.d.ts +2 -0
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.scope.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.scope.test.js +89 -0
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.scope.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__/framework-managed-secrets.test.js +2 -2
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.js.map +1 -1
- package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.d.ts.map +1 -1
- package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.js.map +1 -1
- package/dist/src/services/credentials/__tests__/secrets-contracts.test.d.ts.map +1 -1
- package/dist/src/services/credentials/__tests__/secrets-contracts.test.js +2 -2
- package/dist/src/services/credentials/__tests__/secrets-contracts.test.js.map +1 -1
- package/dist/src/services/credentials/__tests__/secrets-provisioning.hosted-scope.test.d.ts +2 -0
- package/dist/src/services/credentials/__tests__/secrets-provisioning.hosted-scope.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/secrets-provisioning.hosted-scope.test.js +54 -0
- package/dist/src/services/credentials/__tests__/secrets-provisioning.hosted-scope.test.js.map +1 -0
- package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.d.ts +2 -0
- package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.js +60 -0
- package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.js.map +1 -0
- package/dist/src/services/credentials/ci-secrets-adapter.service.d.ts +5 -0
- package/dist/src/services/credentials/ci-secrets-adapter.service.d.ts.map +1 -1
- package/dist/src/services/credentials/ci-secrets-adapter.service.js +23 -0
- package/dist/src/services/credentials/ci-secrets-adapter.service.js.map +1 -1
- package/dist/src/services/credentials/composed-provider-catalogue.d.ts.map +1 -1
- package/dist/src/services/credentials/composed-provider-catalogue.js.map +1 -1
- package/dist/src/services/credentials/credentials.schemas.d.ts +90 -5
- package/dist/src/services/credentials/credentials.schemas.d.ts.map +1 -1
- package/dist/src/services/credentials/credentials.schemas.js +167 -8
- 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/credentials.service.js +13 -1
- package/dist/src/services/credentials/credentials.service.js.map +1 -1
- package/dist/src/services/credentials/framework-managed-secrets.d.ts +25 -4
- package/dist/src/services/credentials/framework-managed-secrets.d.ts.map +1 -1
- package/dist/src/services/credentials/framework-managed-secrets.js +68 -4
- package/dist/src/services/credentials/framework-managed-secrets.js.map +1 -1
- package/dist/src/services/credentials/local-defaults.service.d.ts +141 -0
- package/dist/src/services/credentials/local-defaults.service.d.ts.map +1 -0
- package/dist/src/services/credentials/local-defaults.service.js +296 -0
- package/dist/src/services/credentials/local-defaults.service.js.map +1 -0
- package/dist/src/services/credentials/provider-env-vars.utils.d.ts.map +1 -1
- 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-provisioning.service.js +12 -2
- package/dist/src/services/credentials/secrets-provisioning.service.js.map +1 -1
- package/dist/src/services/credentials/secrets-reader.service.d.ts +17 -0
- package/dist/src/services/credentials/secrets-reader.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-reader.service.js +17 -0
- package/dist/src/services/credentials/secrets-reader.service.js.map +1 -1
- package/dist/src/services/credentials/secrets-rotation.service.d.ts +3 -1
- package/dist/src/services/credentials/secrets-rotation.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-rotation.service.js +6 -3
- package/dist/src/services/credentials/secrets-rotation.service.js.map +1 -1
- package/dist/src/services/credentials/secrets-writer.service.d.ts +12 -2
- package/dist/src/services/credentials/secrets-writer.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-writer.service.js +44 -7
- package/dist/src/services/credentials/secrets-writer.service.js.map +1 -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.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.hosted.test.d.ts +2 -0
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.hosted.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.hosted.test.js +90 -0
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.hosted.test.js.map +1 -0
- 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 +135 -3
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.js.map +1 -1
- package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.d.ts +2 -0
- package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.js +47 -0
- package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.js.map +1 -0
- package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.js +65 -1
- package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.js.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 +484 -33
- 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.map +1 -1
- package/dist/src/services/deployment/__tests__/hosted-compose-edge-ownership.test.d.ts +2 -0
- package/dist/src/services/deployment/__tests__/hosted-compose-edge-ownership.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/hosted-compose-edge-ownership.test.js +83 -0
- package/dist/src/services/deployment/__tests__/hosted-compose-edge-ownership.test.js.map +1 -0
- package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/infra-writer.hosted.test.d.ts +2 -0
- package/dist/src/services/deployment/__tests__/infra-writer.hosted.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/infra-writer.hosted.test.js +68 -0
- package/dist/src/services/deployment/__tests__/infra-writer.hosted.test.js.map +1 -0
- 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-session-lease.service.test.js +114 -1
- package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.js.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-infrastructure-initialization.hosted-guard.test.d.ts +2 -0
- package/dist/src/services/deployment/__tests__/local-infrastructure-initialization.hosted-guard.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/local-infrastructure-initialization.hosted-guard.test.js +79 -0
- package/dist/src/services/deployment/__tests__/local-infrastructure-initialization.hosted-guard.test.js.map +1 -0
- 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.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.map +1 -1
- package/dist/src/services/deployment/__tests__/platform-lifecycle.hosted-guard.test.d.ts +2 -0
- package/dist/src/services/deployment/__tests__/platform-lifecycle.hosted-guard.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/platform-lifecycle.hosted-guard.test.js +100 -0
- package/dist/src/services/deployment/__tests__/platform-lifecycle.hosted-guard.test.js.map +1 -0
- 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 +42 -14
- package/dist/src/services/deployment/ci-deploy-generator.service.js.map +1 -1
- package/dist/src/services/deployment/ci-workflow-generator.service.d.ts +88 -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 +92 -8
- package/dist/src/services/deployment/ci-workflow-generator.service.js.map +1 -1
- package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.d.ts +2 -0
- package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.d.ts.map +1 -0
- package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.js +269 -0
- package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.js.map +1 -0
- 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.hosted-guard.test.d.ts +2 -0
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.hosted-guard.test.d.ts.map +1 -0
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.hosted-guard.test.js +151 -0
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.hosted-guard.test.js.map +1 -0
- 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 +224 -2
- 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/__tests__/docker-compose-readiness.service.test.js +79 -0
- package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.js.map +1 -1
- package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.d.ts +2 -0
- package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.d.ts.map +1 -0
- package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.js +177 -0
- package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.js.map +1 -0
- package/dist/src/services/deployment/docker/__tests__/zz-dump2.test.d.ts +0 -0
- package/dist/src/services/deployment/docker/__tests__/zz-dump2.test.d.ts.map +0 -0
- package/dist/src/services/deployment/docker/__tests__/zz-dump2.test.js.map +0 -0
- package/dist/src/services/deployment/docker/__tests__/zz-storage-render-dump.test.d.ts +0 -0
- package/dist/src/services/deployment/docker/__tests__/zz-storage-render-dump.test.d.ts.map +0 -0
- package/dist/src/services/deployment/docker/__tests__/zz-storage-render-dump.test.js.map +0 -0
- package/dist/src/services/deployment/docker/backing-service-health-watch.d.ts +55 -0
- package/dist/src/services/deployment/docker/backing-service-health-watch.d.ts.map +1 -0
- package/dist/src/services/deployment/docker/backing-service-health-watch.js +181 -0
- package/dist/src/services/deployment/docker/backing-service-health-watch.js.map +1 -0
- package/dist/src/services/deployment/docker/compose-service-health.d.ts +70 -0
- package/dist/src/services/deployment/docker/compose-service-health.d.ts.map +1 -0
- package/dist/src/services/deployment/docker/compose-service-health.js +79 -0
- package/dist/src/services/deployment/docker/compose-service-health.js.map +1 -0
- package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts +133 -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 +252 -4
- 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 +52 -0
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.js +97 -4
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.js.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 +103 -0
- package/dist/src/services/deployment/docker/docker.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker.service.js +141 -0
- package/dist/src/services/deployment/docker/docker.service.js.map +1 -1
- package/dist/src/services/deployment/docker/local-data-adoption.service.d.ts +40 -0
- package/dist/src/services/deployment/docker/local-data-adoption.service.d.ts.map +1 -0
- package/dist/src/services/deployment/docker/local-data-adoption.service.js +182 -0
- package/dist/src/services/deployment/docker/local-data-adoption.service.js.map +1 -0
- 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 +17 -7
- package/dist/src/services/deployment/infra-writer.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.hosted-guard.test.d.ts +2 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.hosted-guard.test.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.hosted-guard.test.js +62 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.hosted-guard.test.js.map +1 -0
- 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 +30 -43
- 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.hosted-guard.test.d.ts +2 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.hosted-guard.test.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.hosted-guard.test.js +77 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.hosted-guard.test.js.map +1 -0
- 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 +20 -1
- 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.map +1 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.js +9 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.js.map +1 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.hosted.test.d.ts +2 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.hosted.test.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.hosted.test.js +71 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.hosted.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 +3 -3
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js.map +1 -1
- package/dist/src/services/deployment/k8s/__tests__/kind.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js +24 -62
- 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 +11 -8
- 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 +46 -15
- 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 +10 -0
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts.map +1 -1
- 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 +18 -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 +45 -14
- 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 +0 -1
- package/dist/src/services/deployment/k8s/kind.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/kind.service.js +0 -11
- package/dist/src/services/deployment/k8s/kind.service.js.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 +74 -0
- package/dist/src/services/deployment/local-dev-session-lease.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-dev-session-lease.service.js +102 -0
- package/dist/src/services/deployment/local-dev-session-lease.service.js.map +1 -1
- package/dist/src/services/deployment/local-dev-shutdown-coordinator.d.ts +3 -2
- package/dist/src/services/deployment/local-dev-shutdown-coordinator.d.ts.map +1 -1
- package/dist/src/services/deployment/local-dev-shutdown-coordinator.js +3 -2
- package/dist/src/services/deployment/local-dev-shutdown-coordinator.js.map +1 -1
- package/dist/src/services/deployment/local-infrastructure-initialization.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-infrastructure-initialization.service.js +2 -0
- package/dist/src/services/deployment/local-infrastructure-initialization.service.js.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.map +1 -1
- 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/local-runtime-process-cleanup.service.js +2 -1
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.js.map +1 -1
- package/dist/src/services/deployment/platform-lifecycle.service.d.ts.map +1 -1
- package/dist/src/services/deployment/platform-lifecycle.service.js +5 -0
- package/dist/src/services/deployment/platform-lifecycle.service.js.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__/application-admin-secret-env-key.test.d.ts +2 -0
- package/dist/src/services/environment/__tests__/application-admin-secret-env-key.test.d.ts.map +1 -0
- package/dist/src/services/environment/__tests__/application-admin-secret-env-key.test.js +52 -0
- package/dist/src/services/environment/__tests__/application-admin-secret-env-key.test.js.map +1 -0
- package/dist/src/services/environment/__tests__/compose-converge-args.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/compose-converge-args.test.js +22 -3
- package/dist/src/services/environment/__tests__/compose-converge-args.test.js.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.hosted.test.d.ts +2 -0
- package/dist/src/services/environment/__tests__/env-configuration-generator.hosted.test.d.ts.map +1 -0
- package/dist/src/services/environment/__tests__/env-configuration-generator.hosted.test.js +86 -0
- package/dist/src/services/environment/__tests__/env-configuration-generator.hosted.test.js.map +1 -0
- 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.map +1 -1
- package/dist/src/services/environment/__tests__/env-sync.hosted.test.d.ts +2 -0
- package/dist/src/services/environment/__tests__/env-sync.hosted.test.d.ts.map +1 -0
- package/dist/src/services/environment/__tests__/env-sync.hosted.test.js +80 -0
- package/dist/src/services/environment/__tests__/env-sync.hosted.test.js.map +1 -0
- 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 +86 -15
- 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 +128 -11
- 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-hydration.utils.test.js +11 -1
- package/dist/src/services/environment/__tests__/environment-hydration.utils.test.js.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.map +1 -1
- package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.js.map +1 -1
- package/dist/src/services/environment/__tests__/environment-paths.service.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/environment-registry.hosted-secrets.test.d.ts +2 -0
- package/dist/src/services/environment/__tests__/environment-registry.hosted-secrets.test.d.ts.map +1 -0
- package/dist/src/services/environment/__tests__/environment-registry.hosted-secrets.test.js +220 -0
- package/dist/src/services/environment/__tests__/environment-registry.hosted-secrets.test.js.map +1 -0
- package/dist/src/services/environment/__tests__/environment-registry.service.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/environment-registry.service.test.js +1 -1
- package/dist/src/services/environment/__tests__/environment-registry.service.test.js.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 +130 -8
- package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js.map +1 -1
- package/dist/src/services/environment/__tests__/hosted-infrastructure-leftovers.service.test.d.ts +2 -0
- package/dist/src/services/environment/__tests__/hosted-infrastructure-leftovers.service.test.d.ts.map +1 -0
- package/dist/src/services/environment/__tests__/hosted-infrastructure-leftovers.service.test.js +83 -0
- package/dist/src/services/environment/__tests__/hosted-infrastructure-leftovers.service.test.js.map +1 -0
- package/dist/src/services/environment/__tests__/infrastructure-host.service.test.d.ts +2 -0
- package/dist/src/services/environment/__tests__/infrastructure-host.service.test.d.ts.map +1 -0
- package/dist/src/services/environment/__tests__/infrastructure-host.service.test.js +162 -0
- package/dist/src/services/environment/__tests__/infrastructure-host.service.test.js.map +1 -0
- 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 +94 -15
- 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/__tests__/runtime-bootstrap.authored-database-refresh.test.js +29 -0
- package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.js.map +1 -1
- package/dist/src/services/environment/__tests__/runtime-bootstrap.hosted.test.d.ts +2 -0
- package/dist/src/services/environment/__tests__/runtime-bootstrap.hosted.test.d.ts.map +1 -0
- package/dist/src/services/environment/__tests__/runtime-bootstrap.hosted.test.js +79 -0
- package/dist/src/services/environment/__tests__/runtime-bootstrap.hosted.test.js.map +1 -0
- package/dist/src/services/environment/__tests__/runtime-bootstrap.hosting.test.d.ts +2 -0
- package/dist/src/services/environment/__tests__/runtime-bootstrap.hosting.test.d.ts.map +1 -0
- package/dist/src/services/environment/__tests__/runtime-bootstrap.hosting.test.js +108 -0
- package/dist/src/services/environment/__tests__/runtime-bootstrap.hosting.test.js.map +1 -0
- package/dist/src/services/environment/application-backing-service-addressing.utils.d.ts +25 -0
- package/dist/src/services/environment/application-backing-service-addressing.utils.d.ts.map +1 -0
- package/dist/src/services/environment/application-backing-service-addressing.utils.js +30 -0
- package/dist/src/services/environment/application-backing-service-addressing.utils.js.map +1 -0
- package/dist/src/services/environment/authored-infra-config.utils.d.ts +6 -0
- package/dist/src/services/environment/authored-infra-config.utils.d.ts.map +1 -1
- package/dist/src/services/environment/authored-infra-config.utils.js +26 -30
- package/dist/src/services/environment/authored-infra-config.utils.js.map +1 -1
- package/dist/src/services/environment/env-configuration-generator.service.d.ts +4 -0
- package/dist/src/services/environment/env-configuration-generator.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-configuration-generator.service.js +7 -1
- package/dist/src/services/environment/env-configuration-generator.service.js.map +1 -1
- package/dist/src/services/environment/env-sync.service.d.ts +36 -1
- package/dist/src/services/environment/env-sync.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-sync.service.js +52 -13
- package/dist/src/services/environment/env-sync.service.js.map +1 -1
- package/dist/src/services/environment/env-vars-builder.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-vars-builder.service.js +241 -27
- 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-hydration.utils.js +20 -6
- package/dist/src/services/environment/environment-hydration.utils.js.map +1 -1
- package/dist/src/services/environment/environment-lifecycle.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-lifecycle.service.js +8 -0
- package/dist/src/services/environment/environment-lifecycle.service.js.map +1 -1
- package/dist/src/services/environment/environment-paths.service.d.ts +1 -2
- package/dist/src/services/environment/environment-paths.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-paths.service.js.map +1 -1
- package/dist/src/services/environment/environment-registry.service.d.ts +32 -0
- package/dist/src/services/environment/environment-registry.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-registry.service.js +77 -2
- package/dist/src/services/environment/environment-registry.service.js.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 +138 -38
- package/dist/src/services/environment/environment-setup.service.js.map +1 -1
- package/dist/src/services/environment/environment.schemas.d.ts +42 -1
- package/dist/src/services/environment/environment.schemas.d.ts.map +1 -1
- package/dist/src/services/environment/environment.schemas.js.map +1 -1
- package/dist/src/services/environment/environment.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment.service.js.map +1 -1
- package/dist/src/services/environment/hosted-infrastructure-leftovers.service.d.ts +43 -0
- package/dist/src/services/environment/hosted-infrastructure-leftovers.service.d.ts.map +1 -0
- package/dist/src/services/environment/hosted-infrastructure-leftovers.service.js +139 -0
- package/dist/src/services/environment/hosted-infrastructure-leftovers.service.js.map +1 -0
- package/dist/src/services/environment/infrastructure-host.service.d.ts +111 -0
- package/dist/src/services/environment/infrastructure-host.service.d.ts.map +1 -0
- package/dist/src/services/environment/infrastructure-host.service.js +205 -0
- package/dist/src/services/environment/infrastructure-host.service.js.map +1 -0
- 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 +57 -28
- package/dist/src/services/environment/platform-runtime.schemas.d.ts.map +1 -1
- package/dist/src/services/environment/platform-runtime.schemas.js +56 -30
- package/dist/src/services/environment/platform-runtime.schemas.js.map +1 -1
- package/dist/src/services/environment/runtime-bootstrap.service.d.ts +2 -2
- package/dist/src/services/environment/runtime-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/environment/runtime-bootstrap.service.js +42 -8
- package/dist/src/services/environment/runtime-bootstrap.service.js.map +1 -1
- package/dist/src/services/framework/__tests__/application-rule-imports.test.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/application-rule-imports.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.js +3 -0
- package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.js.map +1 -1
- 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 +91 -4
- 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-application-guidance.validator.test.js +16 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.js.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 +23 -2
- 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 +259 -2
- 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 +47 -2
- 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 +282 -3
- 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.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 +21 -0
- 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-update.service.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/framework-update.service.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/framework-update.service.test.js +325 -0
- package/dist/src/services/framework/__tests__/framework-update.service.test.js.map +1 -0
- 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 +5 -5
- package/dist/src/services/framework/__tests__/framework-version.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/frontend-component-catalog.generator.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/frontend-component-catalog.generator.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/frontend-component-catalog.generator.test.js +200 -0
- package/dist/src/services/framework/__tests__/frontend-component-catalog.generator.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/playbook-input-aspects.live.contract.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/playbook-input-aspects.live.contract.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/playbook-input-aspects.live.contract.test.js +28 -0
- package/dist/src/services/framework/__tests__/playbook-input-aspects.live.contract.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/refine-mode-self-input.live.contract.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/refine-mode-self-input.live.contract.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/refine-mode-self-input.live.contract.test.js +60 -0
- package/dist/src/services/framework/__tests__/refine-mode-self-input.live.contract.test.js.map +1 -0
- package/dist/src/services/framework/application-rule-imports.d.ts.map +1 -1
- package/dist/src/services/framework/application-rule-imports.js.map +1 -1
- 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 +2 -1
- 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 +38 -0
- package/dist/src/services/framework/framework-docker-publish.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-docker-publish.service.js +77 -3
- 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 +127 -2
- package/dist/src/services/framework/framework-knowledge-audit.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.js +379 -20
- package/dist/src/services/framework/framework-knowledge-audit.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-generation.service.d.ts +10 -0
- package/dist/src/services/framework/framework-knowledge-generation.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-generation.service.js +74 -11
- package/dist/src/services/framework/framework-knowledge-generation.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts +1 -1
- package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-scan.constants.js +8 -0
- package/dist/src/services/framework/framework-knowledge-scan.constants.js.map +1 -1
- package/dist/src/services/framework/framework-npm-publish.service.d.ts +74 -5
- package/dist/src/services/framework/framework-npm-publish.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-npm-publish.service.js +319 -6
- package/dist/src/services/framework/framework-npm-publish.service.js.map +1 -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.map +1 -1
- package/dist/src/services/framework/framework-release.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-update.service.d.ts +310 -0
- package/dist/src/services/framework/framework-update.service.d.ts.map +1 -0
- package/dist/src/services/framework/framework-update.service.js +571 -0
- package/dist/src/services/framework/framework-update.service.js.map +1 -0
- package/dist/src/services/framework/framework-version.service.d.ts +10 -1
- package/dist/src/services/framework/framework-version.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-version.service.js +16 -3
- package/dist/src/services/framework/framework-version.service.js.map +1 -1
- package/dist/src/services/framework/frontend-component-catalog.generator.d.ts +114 -0
- package/dist/src/services/framework/frontend-component-catalog.generator.d.ts.map +1 -0
- package/dist/src/services/framework/frontend-component-catalog.generator.js +521 -0
- package/dist/src/services/framework/frontend-component-catalog.generator.js.map +1 -0
- package/dist/src/services/framework/frontend-library-root-exports.d.ts +10 -0
- package/dist/src/services/framework/frontend-library-root-exports.d.ts.map +1 -0
- package/dist/src/services/framework/frontend-library-root-exports.js +101 -0
- package/dist/src/services/framework/frontend-library-root-exports.js.map +1 -0
- package/dist/src/services/framework/installed-framework-assets.service.d.ts.map +1 -1
- package/dist/src/services/framework/npm-registry-output.d.ts +10 -0
- package/dist/src/services/framework/npm-registry-output.d.ts.map +1 -0
- package/dist/src/services/framework/npm-registry-output.js +12 -0
- package/dist/src/services/framework/npm-registry-output.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/api-version-settlement.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/api-version-settlement.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/api-version-settlement.test.js +57 -0
- package/dist/src/services/framework/provider-transposition/__tests__/api-version-settlement.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/base-url-is-a-declared-env-slot.test.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/__tests__/base-url-is-a-declared-env-slot.test.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/__tests__/helper-prefix-constants-and-base-url-hosts.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/helper-prefix-constants-and-base-url-hosts.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/helper-prefix-constants-and-base-url-hosts.test.js +905 -0
- package/dist/src/services/framework/provider-transposition/__tests__/helper-prefix-constants-and-base-url-hosts.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/input-options-derivation.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/input-options-derivation.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/input-options-derivation.test.js +228 -0
- package/dist/src/services/framework/provider-transposition/__tests__/input-options-derivation.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.js +308 -0
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.js +343 -0
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/openapi-enrichment.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/openapi-enrichment.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/openapi-enrichment.test.js +363 -0
- package/dist/src/services/framework/provider-transposition/__tests__/openapi-enrichment.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.js +27 -0
- package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/__tests__/reported-account-facts.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/reported-account-facts.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/reported-account-facts.test.js +177 -0
- package/dist/src/services/framework/provider-transposition/__tests__/reported-account-facts.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.js +33 -9
- package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/__tests__/typed-client-output-types.test.d.ts +9 -0
- package/dist/src/services/framework/provider-transposition/__tests__/typed-client-output-types.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/typed-client-output-types.test.js +77 -0
- package/dist/src/services/framework/provider-transposition/__tests__/typed-client-output-types.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/activepieces-source.reader.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/activepieces-source.reader.js +824 -36
- package/dist/src/services/framework/provider-transposition/activepieces-source.reader.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/api-version-settlement.d.ts +44 -0
- package/dist/src/services/framework/provider-transposition/api-version-settlement.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/api-version-settlement.js +42 -0
- package/dist/src/services/framework/provider-transposition/api-version-settlement.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/base-url-settlement.d.ts +41 -0
- package/dist/src/services/framework/provider-transposition/base-url-settlement.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/base-url-settlement.js +52 -0
- package/dist/src/services/framework/provider-transposition/base-url-settlement.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/openapi-enrichment.d.ts +119 -4
- package/dist/src/services/framework/provider-transposition/openapi-enrichment.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/openapi-enrichment.js +203 -39
- package/dist/src/services/framework/provider-transposition/openapi-enrichment.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/openapi-source.reader.d.ts +145 -11
- package/dist/src/services/framework/provider-transposition/openapi-source.reader.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/openapi-source.reader.js +222 -39
- package/dist/src/services/framework/provider-transposition/openapi-source.reader.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-catalogue-record.d.ts +288 -1
- package/dist/src/services/framework/provider-transposition/provider-catalogue-record.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-catalogue-record.js +156 -8
- package/dist/src/services/framework/provider-transposition/provider-catalogue-record.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-merge.d.ts +7 -1
- package/dist/src/services/framework/provider-transposition/provider-merge.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-merge.js +50 -14
- package/dist/src/services/framework/provider-transposition/provider-merge.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.d.ts +181 -5
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.js +943 -56
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/request-helper-url.d.ts +240 -0
- package/dist/src/services/framework/provider-transposition/request-helper-url.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/request-helper-url.js +826 -0
- package/dist/src/services/framework/provider-transposition/request-helper-url.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/sim-source.reader.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/sim-source.reader.js +21 -14
- package/dist/src/services/framework/provider-transposition/sim-source.reader.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/source-static-evaluator.d.ts +76 -0
- package/dist/src/services/framework/provider-transposition/source-static-evaluator.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/source-static-evaluator.js +468 -0
- package/dist/src/services/framework/provider-transposition/source-static-evaluator.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/transposed-provider.model.d.ts +143 -0
- package/dist/src/services/framework/provider-transposition/transposed-provider.model.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/transposed-provider.model.js +43 -0
- package/dist/src/services/framework/provider-transposition/transposed-provider.model.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/url-template.extractor.d.ts +79 -2
- package/dist/src/services/framework/provider-transposition/url-template.extractor.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/url-template.extractor.js +312 -27
- package/dist/src/services/framework/provider-transposition/url-template.extractor.js.map +1 -1
- package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.d.ts.map +1 -1
- package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.js +6 -5
- package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.js.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/__tests__/frontend-publish.service.test.js +6 -0
- package/dist/src/services/frontend/__tests__/frontend-publish.service.test.js.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.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 +10 -4
- 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/__tests__/module-requirements.service.test.d.ts +2 -0
- package/dist/src/services/registry/__tests__/module-requirements.service.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/module-requirements.service.test.js +138 -0
- package/dist/src/services/registry/__tests__/module-requirements.service.test.js.map +1 -0
- 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/module-requirements.service.d.ts +22 -0
- package/dist/src/services/registry/module-requirements.service.d.ts.map +1 -0
- package/dist/src/services/registry/module-requirements.service.js +144 -0
- package/dist/src/services/registry/module-requirements.service.js.map +1 -0
- 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/registry-credentials.service.js +3 -4
- package/dist/src/services/registry/registry-credentials.service.js.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.map +1 -1
- package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.js +19 -2
- package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.js.map +1 -1
- package/dist/src/services/security/__tests__/csp-boundary.test.d.ts.map +1 -1
- package/dist/src/services/security/__tests__/csp-boundary.test.js +11 -7
- package/dist/src/services/security/__tests__/csp-boundary.test.js.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 +12 -1
- package/dist/src/services/security/__tests__/csp-sync.service.test.js.map +1 -1
- package/dist/src/services/security/csp-sync.service.d.ts.map +1 -1
- package/dist/src/services/security/csp-sync.service.js +13 -7
- 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.map +1 -1
- package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.js.map +1 -1
- 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 +2 -1
- package/dist/src/services/website/website-structured-data-audit.service.js.map +1 -1
- package/dist/src/test-utils/certificate-fixtures.test.utils.d.ts +21 -0
- package/dist/src/test-utils/certificate-fixtures.test.utils.d.ts.map +1 -0
- package/dist/src/test-utils/certificate-fixtures.test.utils.js +57 -0
- package/dist/src/test-utils/certificate-fixtures.test.utils.js.map +1 -0
- 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 +22 -28
- package/package.json +45 -53
- package/scripts/app-dependency-alignment/propagated-engine-overrides.json +168 -434
- package/templates/infra/ci/deploy-docker-compose.yml.hbs +59 -3
- package/templates/infra/ci/deploy-k8s.yml.hbs +55 -2
- package/templates/infra/docker-compose/docker-compose.app.yml.hbs +16 -0
- package/templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs +92 -26
- package/templates/infra/k8s/applications/wildo-ai-application/ingress.yaml.hbs +1 -1
- package/templates/infra/k8s/ingress/cert-manager/cluster-issuer.yaml.hbs +2 -2
- package/templates/infra/k8s/ingress/traefik/local/values.yaml +2 -3
- package/templates/infra/k8s/internal/minio/deployment.yaml.hbs +1 -1
- package/templates/infra/k8s/platform/platform-apps-manager/deployment.yaml.hbs +1 -1
- package/templates/infra/k8s/platform/platform-crontabs-batches-manager/deployment.yaml.hbs +1 -1
- package/templates/infra/k8s/platform/platform-module-registry/deployment.yaml.hbs +1 -1
- package/templates/saas/engine-peer-closure.json +20 -417
- package/templates/saas/i18n/email/system/security-alert/labels.en.ts +53 -2
- package/templates/saas/i18n/email/system/security-alert/template.tsx +37 -13
- package/templates/saas/i18n/engine/README.md +94 -0
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.ts +12 -0
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_ACTIVITY_BAR.fr.ts +12 -0
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_COMMAND_MENU.en.ts +39 -0
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_COMMAND_MENU.fr.ts +39 -0
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_CONTROL_PANEL.en.ts +22 -0
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_CONTROL_PANEL.fr.ts +22 -0
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_MENUBAR.en.ts +13 -0
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_MENUBAR.fr.ts +13 -0
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_NAVIGATION_BACK.en.ts +11 -0
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_NAVIGATION_BACK.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.ts +26 -0
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.fr.ts +34 -0
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.ts +14 -0
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.fr.ts +14 -0
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.ts +16 -0
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_QUICK_SWITCHER.fr.ts +16 -0
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_SIDEBAR.en.ts +24 -0
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_SIDEBAR.fr.ts +23 -0
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_STATUS_BAR.en.ts +19 -0
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_STATUS_BAR.fr.ts +19 -0
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_TOOLBAR.en.ts +12 -0
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_TOOLBAR.fr.ts +12 -0
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_USER_DROPDOWN.en.ts +21 -0
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_USER_DROPDOWN.fr.ts +21 -0
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_UTILITY_PANEL.en.ts +14 -0
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_UTILITY_PANEL.fr.ts +14 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.ts +16 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_APPEARANCE_SETTINGS.fr.ts +16 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_BILLING_SETTINGS.en.ts +20 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_BILLING_SETTINGS.fr.ts +20 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.ts +42 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.fr.ts +42 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONSENT_GATE.en.ts +25 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONSENT_GATE.fr.ts +25 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.ts +17 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.fr.ts +17 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_ERROR_BOUNDARY.en.ts +19 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_ERROR_BOUNDARY.fr.ts +19 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_HOME.en.ts +12 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_HOME.fr.ts +12 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.ts +22 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_INVITATIONS_SETTINGS.fr.ts +22 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_MAIN_CONTAINER.en.ts +13 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_MAIN_CONTAINER.fr.ts +13 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.ts +40 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.fr.ts +40 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_SECURITY_SETTINGS.en.ts +77 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_SECURITY_SETTINGS.fr.ts +77 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_SETTINGS_HUB.en.ts +13 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_SETTINGS_HUB.fr.ts +12 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.ts +16 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.fr.ts +15 -0
- package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_CHART.en.ts +25 -0
- package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_CHART.fr.ts +25 -0
- package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.ts +12 -0
- package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.fr.ts +12 -0
- package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_EXECUTION.en.ts +13 -0
- package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_EXECUTION.fr.ts +13 -0
- package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.ts +26 -0
- package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.fr.ts +26 -0
- package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.ts +18 -0
- package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_NOT_FOUND.fr.ts +18 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_ACTION_BAR.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_ACTION_BAR.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_ACTOR.en.ts +43 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_ACTOR.fr.ts +43 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_AGENT_CONFIG.en.ts +83 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_AGENT_CONFIG.fr.ts +83 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.en.ts +50 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.fr.ts +50 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_ARTIFACT.en.ts +15 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_ARTIFACT.fr.ts +15 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.ts +33 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.fr.ts +33 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CODE_BLOCK.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CODE_BLOCK.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONFIRMATION.en.ts +20 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONFIRMATION.fr.ts +20 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONTEXT.en.ts +16 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONTEXT.fr.ts +16 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION.en.ts +14 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION.fr.ts +14 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_DECISION.en.ts +20 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_DECISION.fr.ts +20 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_DIFF_BLOCK.en.ts +20 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_DIFF_BLOCK.fr.ts +20 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.ts +20 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_PLAN.fr.ts +20 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.ts +13 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_STREAM.fr.ts +13 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.ts +21 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_FLOW_EXECUTION.fr.ts +21 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_FLOW_NODE.en.ts +25 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_FLOW_NODE.fr.ts +25 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_INLINE_CITATION.en.ts +13 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_INLINE_CITATION.fr.ts +13 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_MESSAGE.en.ts +16 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_MESSAGE.fr.ts +16 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_MODEL_SELECTOR.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_OPEN_IN_CHAT.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_OPEN_IN_CHAT.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_PLAN.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_PLAN.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_PROMPT_INPUT.en.ts +13 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_PROMPT_INPUT.fr.ts +13 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.ts +64 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_SYSTEM_CATALOG.fr.ts +64 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_TASK_DETAIL.en.ts +30 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_TASK_DETAIL.fr.ts +30 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_TASK_MEMORY.en.ts +18 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_TASK_MEMORY.fr.ts +18 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_WEB_PREVIEW.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_WEB_PREVIEW.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.ts +20 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.fr.ts +20 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.ts +24 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.fr.ts +24 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.ts +13 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PORTAL_LINK.fr.ts +13 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.ts +31 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PRICING_TABLE.fr.ts +31 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.ts +24 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.fr.ts +24 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.ts +23 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.fr.ts +23 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BREADCRUMB.en.ts +12 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BREADCRUMB.fr.ts +12 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BUTTON.en.ts +14 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BUTTON.fr.ts +14 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_CAROUSEL.en.ts +12 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_CAROUSEL.fr.ts +12 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_CELEBRATION_OVERLAY.en.ts +12 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_CELEBRATION_OVERLAY.fr.ts +12 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_COLOR_INPUT.en.ts +16 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_COLOR_INPUT.fr.ts +16 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_COMMAND.en.ts +12 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_COMMAND.fr.ts +12 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.ts +27 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.fr.ts +27 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.ts +14 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DATETIME_RANGE_PICKER.fr.ts +14 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DIALOG.en.ts +12 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DIALOG.fr.ts +12 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.en.ts +20 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.fr.ts +20 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_CODE.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.ts +21 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE.fr.ts +20 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.ts +13 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.fr.ts +13 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.ts +16 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.fr.ts +16 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.ts +15 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.fr.ts +15 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.ts +14 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.fr.ts +14 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.en.ts +13 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.fr.ts +13 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DRAWER.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DRAWER.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DURATION.en.ts +13 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DURATION.fr.ts +13 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_ERROR_DISPLAY.en.ts +22 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_ERROR_DISPLAY.fr.ts +22 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FEATURE_LOCK_BADGE.en.ts +12 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FEATURE_LOCK_BADGE.fr.ts +12 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.ts +29 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.fr.ts +29 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FILE_UPLOAD.en.ts +15 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FILE_UPLOAD.fr.ts +15 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD.en.ts +38 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD.fr.ts +37 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.ts +19 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_ADDRESS.fr.ts +19 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.en.ts +20 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.fr.ts +20 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_CODE.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_CODE.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_FILE.en.ts +58 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_FILE.fr.ts +58 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_PHONE.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_PHONE.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.en.ts +14 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.fr.ts +14 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_MESSAGE.en.ts +42 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_MESSAGE.fr.ts +42 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_IMAGE_CROP.en.ts +18 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_IMAGE_CROP.fr.ts +18 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_LOADING_OVERLAY.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_LOADING_OVERLAY.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_LOADING_SPINNER.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_LOADING_SPINNER.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.ts +15 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.fr.ts +15 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_OVERLAY_CONTAINER.en.ts +16 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_OVERLAY_CONTAINER.fr.ts +16 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_PAGINATION.en.ts +14 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_PAGINATION.fr.ts +14 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_PASSWORD_INPUT.en.ts +12 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_PASSWORD_INPUT.fr.ts +12 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_RANGE_SLIDER.en.ts +12 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_RANGE_SLIDER.fr.ts +12 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_SELECT_MULTIPLE.en.ts +12 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_SELECT_MULTIPLE.fr.ts +12 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_SHEET.en.ts +12 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_SHEET.fr.ts +12 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_SIDEBAR.en.ts +13 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_SIDEBAR.fr.ts +13 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_TIME_RANGE_PICKER.en.ts +14 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_TIME_RANGE_PICKER.fr.ts +14 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.ts +18 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.fr.ts +18 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.ts +44 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.fr.ts +43 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.ts +38 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.fr.ts +38 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.ts +16 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.fr.ts +16 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.ts +44 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.fr.ts +44 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.ts +21 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.fr.ts +21 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.ts +13 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.fr.ts +13 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.ts +15 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.fr.ts +15 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.ts +16 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.fr.ts +16 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.ts +23 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.fr.ts +23 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_TERMS.en.ts +17 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_TERMS.fr.ts +17 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_AUTH.en.ts +49 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_AUTH.fr.ts +48 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.ts +31 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.fr.ts +31 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_INVITATION.en.ts +46 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_INVITATION.fr.ts +45 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.ts +37 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.fr.ts +36 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_REGISTER.en.ts +59 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_REGISTER.fr.ts +58 -0
- package/templates/saas/i18n/engine/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.ts +15 -0
- package/templates/saas/i18n/engine/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.fr.ts +15 -0
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_ACTION.en.ts +14 -0
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_ACTION.fr.ts +14 -0
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.ts +14 -0
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.fr.ts +13 -0
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_CREATE.en.ts +60 -0
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_CREATE.fr.ts +59 -0
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.ts +14 -0
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_DANGER_ZONE.fr.ts +14 -0
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_FILTERS.en.ts +21 -0
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_FILTERS.fr.ts +21 -0
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_HEADER.en.ts +12 -0
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_HEADER.fr.ts +12 -0
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.en.ts +37 -0
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.fr.ts +37 -0
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.ts +11 -0
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.ts +28 -0
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.fr.ts +27 -0
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_PAGINATION.en.ts +16 -0
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_PAGINATION.fr.ts +16 -0
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_READ.en.ts +23 -0
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_READ.fr.ts +23 -0
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_SEARCH.en.ts +15 -0
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_SEARCH.fr.ts +15 -0
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_UPDATE.en.ts +12 -0
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_UPDATE.fr.ts +12 -0
- package/templates/saas/i18n/engine/components/guidance_announcement.en.ts +11 -0
- package/templates/saas/i18n/engine/components/guidance_announcement.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/guidance_banner.en.ts +12 -0
- package/templates/saas/i18n/engine/components/guidance_banner.fr.ts +12 -0
- package/templates/saas/i18n/engine/components/guidance_card.en.ts +11 -0
- package/templates/saas/i18n/engine/components/guidance_card.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/guidance_checklist.en.ts +15 -0
- package/templates/saas/i18n/engine/components/guidance_checklist.fr.ts +15 -0
- package/templates/saas/i18n/engine/components/guidance_checklist_item.en.ts +13 -0
- package/templates/saas/i18n/engine/components/guidance_checklist_item.fr.ts +13 -0
- package/templates/saas/i18n/engine/components/guidance_modal.en.ts +14 -0
- package/templates/saas/i18n/engine/components/guidance_modal.fr.ts +14 -0
- package/templates/saas/i18n/engine/components/guidance_onboarding_view.en.ts +17 -0
- package/templates/saas/i18n/engine/components/guidance_onboarding_view.fr.ts +17 -0
- package/templates/saas/i18n/engine/components/guidance_survey.en.ts +18 -0
- package/templates/saas/i18n/engine/components/guidance_survey.fr.ts +18 -0
- package/templates/saas/i18n/engine/components/guidance_tooltip.en.ts +12 -0
- package/templates/saas/i18n/engine/components/guidance_tooltip.fr.ts +12 -0
- package/templates/saas/i18n/engine/components/guidance_tour.en.ts +16 -0
- package/templates/saas/i18n/engine/components/guidance_tour.fr.ts +16 -0
- package/templates/saas/i18n/engine/components/progression_achievement_badge.en.ts +13 -0
- package/templates/saas/i18n/engine/components/progression_achievement_badge.fr.ts +13 -0
- package/templates/saas/i18n/engine/components/progression_milestone_tracker.en.ts +22 -0
- package/templates/saas/i18n/engine/components/progression_milestone_tracker.fr.ts +21 -0
- package/templates/saas/i18n/engine/resources/anonymous_users.en.ts +330 -0
- package/templates/saas/i18n/engine/resources/anonymous_users.fr.ts +330 -0
- package/templates/saas/i18n/engine/resources/applicationA2aPushDeliveryLog.en.ts +558 -0
- package/templates/saas/i18n/engine/resources/applicationA2aPushDeliveryLog.fr.ts +558 -0
- package/templates/saas/i18n/engine/resources/applicationA2aTokenBudgetState.en.ts +196 -0
- package/templates/saas/i18n/engine/resources/applicationA2aTokenBudgetState.fr.ts +196 -0
- package/templates/saas/i18n/engine/resources/applicationAccessGrants.en.ts +254 -0
- package/templates/saas/i18n/engine/resources/applicationAccessGrants.fr.ts +254 -0
- package/templates/saas/i18n/engine/resources/applicationApiKeys.en.ts +717 -0
- package/templates/saas/i18n/engine/resources/applicationApiKeys.fr.ts +717 -0
- package/templates/saas/i18n/engine/resources/applicationAuditLogs.en.ts +490 -0
- package/templates/saas/i18n/engine/resources/applicationAuditLogs.fr.ts +490 -0
- package/templates/saas/i18n/engine/resources/applicationFeatures.en.ts +325 -0
- package/templates/saas/i18n/engine/resources/applicationFeatures.fr.ts +325 -0
- package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.en.ts +355 -0
- package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.fr.ts +355 -0
- package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.en.ts +487 -0
- package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.fr.ts +487 -0
- package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.en.ts +567 -0
- package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.fr.ts +567 -0
- package/templates/saas/i18n/engine/resources/applicationMetadata.en.ts +110 -0
- package/templates/saas/i18n/engine/resources/applicationMetadata.fr.ts +110 -0
- package/templates/saas/i18n/engine/resources/applicationOAuthClients.en.ts +729 -0
- package/templates/saas/i18n/engine/resources/applicationOAuthClients.fr.ts +729 -0
- package/templates/saas/i18n/engine/resources/applicationScimProvisioningConfig.en.ts +246 -0
- package/templates/saas/i18n/engine/resources/applicationScimProvisioningConfig.fr.ts +246 -0
- package/templates/saas/i18n/engine/resources/applicationScimTokens.en.ts +240 -0
- package/templates/saas/i18n/engine/resources/applicationScimTokens.fr.ts +345 -0
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.en.ts +270 -0
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.fr.ts +270 -0
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryOutbox.en.ts +203 -0
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryOutbox.fr.ts +203 -0
- package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.en.ts +327 -0
- package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.fr.ts +327 -0
- package/templates/saas/i18n/engine/resources/applicationSsoConfig.en.ts +598 -0
- package/templates/saas/i18n/engine/resources/applicationSsoConfig.fr.ts +446 -0
- package/templates/saas/i18n/engine/resources/applicationSsoConnections.en.ts +1017 -0
- package/templates/saas/i18n/engine/resources/applicationSsoConnections.fr.ts +1017 -0
- package/templates/saas/i18n/engine/resources/applicationVersions.en.ts +339 -0
- package/templates/saas/i18n/engine/resources/applicationVersions.fr.ts +339 -0
- package/templates/saas/i18n/engine/resources/applicationWebhookConfig.en.ts +287 -0
- package/templates/saas/i18n/engine/resources/applicationWebhookConfig.fr.ts +287 -0
- package/templates/saas/i18n/engine/resources/applications.en.ts +4026 -0
- package/templates/saas/i18n/engine/resources/applications.fr.ts +4026 -0
- package/templates/saas/i18n/engine/resources/auditLogs.en.ts +678 -0
- package/templates/saas/i18n/engine/resources/auditLogs.fr.ts +678 -0
- package/templates/saas/i18n/engine/resources/billingEffectOutbox.en.ts +148 -0
- package/templates/saas/i18n/engine/resources/billingEffectOutbox.fr.ts +148 -0
- package/templates/saas/i18n/engine/resources/billingProviderEventSettlements.en.ts +69 -0
- package/templates/saas/i18n/engine/resources/billingProviderEventSettlements.fr.ts +69 -0
- package/templates/saas/i18n/engine/resources/billingSubscriptionMutationCompletions.en.ts +89 -0
- package/templates/saas/i18n/engine/resources/billingSubscriptionMutationCompletions.fr.ts +89 -0
- package/templates/saas/i18n/engine/resources/billingSubscriptionMutationIntents.en.ts +377 -0
- package/templates/saas/i18n/engine/resources/billingSubscriptionMutationIntents.fr.ts +377 -0
- package/templates/saas/i18n/engine/resources/consumableTokens.en.ts +324 -0
- package/templates/saas/i18n/engine/resources/consumableTokens.fr.ts +324 -0
- package/templates/saas/i18n/engine/resources/dataSeedRuns.en.ts +2200 -0
- package/templates/saas/i18n/engine/resources/dataSeedRuns.fr.ts +2200 -0
- package/templates/saas/i18n/engine/resources/etlPipelineStates.en.ts +225 -0
- package/templates/saas/i18n/engine/resources/etlPipelineStates.fr.ts +225 -0
- package/templates/saas/i18n/engine/resources/externalDataPipelineMemberships.en.ts +101 -0
- package/templates/saas/i18n/engine/resources/externalDataPipelineMemberships.fr.ts +101 -0
- package/templates/saas/i18n/engine/resources/files.en.ts +375 -0
- package/templates/saas/i18n/engine/resources/files.fr.ts +373 -0
- package/templates/saas/i18n/engine/resources/inboundContacts.en.ts +327 -0
- package/templates/saas/i18n/engine/resources/inboundContacts.fr.ts +327 -0
- package/templates/saas/i18n/engine/resources/jobExecutions.en.ts +1666 -0
- package/templates/saas/i18n/engine/resources/jobExecutions.fr.ts +1666 -0
- package/templates/saas/i18n/engine/resources/jobPayloadStorage.en.ts +414 -0
- package/templates/saas/i18n/engine/resources/jobPayloadStorage.fr.ts +414 -0
- package/templates/saas/i18n/engine/resources/oauthConsentGrants.en.ts +207 -0
- package/templates/saas/i18n/engine/resources/oauthConsentGrants.fr.ts +207 -0
- package/templates/saas/i18n/engine/resources/organizationA2aPushDeliveryLog.en.ts +558 -0
- package/templates/saas/i18n/engine/resources/organizationA2aPushDeliveryLog.fr.ts +558 -0
- package/templates/saas/i18n/engine/resources/organizationA2aTokenBudgetState.en.ts +196 -0
- package/templates/saas/i18n/engine/resources/organizationA2aTokenBudgetState.fr.ts +196 -0
- package/templates/saas/i18n/engine/resources/organizationApiKeys.en.ts +799 -0
- package/templates/saas/i18n/engine/resources/organizationApiKeys.fr.ts +799 -0
- package/templates/saas/i18n/engine/resources/organizationBillingAccounts.en.ts +1744 -0
- package/templates/saas/i18n/engine/resources/organizationBillingAccounts.fr.ts +1744 -0
- package/templates/saas/i18n/engine/resources/organizationCreditPools.en.ts +210 -0
- package/templates/saas/i18n/engine/resources/organizationCreditPools.fr.ts +210 -0
- package/templates/saas/i18n/engine/resources/organizationFeatures.en.ts +391 -0
- package/templates/saas/i18n/engine/resources/organizationFeatures.fr.ts +390 -0
- package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.en.ts +355 -0
- package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.fr.ts +355 -0
- package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.en.ts +487 -0
- package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.fr.ts +487 -0
- package/templates/saas/i18n/engine/resources/organizationGuidanceState.en.ts +190 -0
- package/templates/saas/i18n/engine/resources/organizationGuidanceState.fr.ts +190 -0
- package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.en.ts +316 -0
- package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.fr.ts +316 -0
- package/templates/saas/i18n/engine/resources/organizationLifecycleState.en.ts +323 -0
- package/templates/saas/i18n/engine/resources/organizationLifecycleState.fr.ts +323 -0
- package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.en.ts +567 -0
- package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.fr.ts +567 -0
- package/templates/saas/i18n/engine/resources/organizationMembers.en.ts +594 -0
- package/templates/saas/i18n/engine/resources/organizationMembers.fr.ts +592 -0
- package/templates/saas/i18n/engine/resources/organizationNotificationBadges.en.ts +163 -0
- package/templates/saas/i18n/engine/resources/organizationNotificationBadges.fr.ts +163 -0
- package/templates/saas/i18n/engine/resources/organizationNotifications.en.ts +162 -0
- package/templates/saas/i18n/engine/resources/organizationNotifications.fr.ts +162 -0
- package/templates/saas/i18n/engine/resources/organizationOAuthClients.en.ts +801 -0
- package/templates/saas/i18n/engine/resources/organizationOAuthClients.fr.ts +801 -0
- package/templates/saas/i18n/engine/resources/organizationOnboardingOperations.en.ts +108 -0
- package/templates/saas/i18n/engine/resources/organizationOnboardingOperations.fr.ts +108 -0
- package/templates/saas/i18n/engine/resources/organizationPreferences.en.ts +232 -0
- package/templates/saas/i18n/engine/resources/organizationPreferences.fr.ts +231 -0
- package/templates/saas/i18n/engine/resources/organizationProfiles.en.ts +399 -0
- package/templates/saas/i18n/engine/resources/organizationProfiles.fr.ts +398 -0
- package/templates/saas/i18n/engine/resources/organizationProgressionState.en.ts +232 -0
- package/templates/saas/i18n/engine/resources/organizationProgressionState.fr.ts +232 -0
- package/templates/saas/i18n/engine/resources/organizationProviderCredentials.en.ts +278 -0
- package/templates/saas/i18n/engine/resources/organizationProviderCredentials.fr.ts +278 -0
- package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.en.ts +272 -0
- package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.fr.ts +271 -0
- package/templates/saas/i18n/engine/resources/organizationScimTokens.en.ts +295 -0
- package/templates/saas/i18n/engine/resources/organizationScimTokens.fr.ts +294 -0
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.en.ts +270 -0
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.fr.ts +270 -0
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryOutbox.en.ts +203 -0
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryOutbox.fr.ts +203 -0
- package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.en.ts +352 -0
- package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.fr.ts +352 -0
- package/templates/saas/i18n/engine/resources/organizationSsoConfig.en.ts +624 -0
- package/templates/saas/i18n/engine/resources/organizationSsoConfig.fr.ts +471 -0
- package/templates/saas/i18n/engine/resources/organizationSsoConnections.en.ts +1043 -0
- package/templates/saas/i18n/engine/resources/organizationSsoConnections.fr.ts +1042 -0
- package/templates/saas/i18n/engine/resources/organizationSubscriptions.en.ts +584 -0
- package/templates/saas/i18n/engine/resources/organizationSubscriptions.fr.ts +584 -0
- package/templates/saas/i18n/engine/resources/organizationUnitMembers.en.ts +225 -0
- package/templates/saas/i18n/engine/resources/organizationUnitMembers.fr.ts +225 -0
- package/templates/saas/i18n/engine/resources/organizationUnits.en.ts +480 -0
- package/templates/saas/i18n/engine/resources/organizationUnits.fr.ts +480 -0
- package/templates/saas/i18n/engine/resources/organizationUsageRecords.en.ts +333 -0
- package/templates/saas/i18n/engine/resources/organizationUsageRecords.fr.ts +333 -0
- package/templates/saas/i18n/engine/resources/organizationWebhookConfig.en.ts +313 -0
- package/templates/saas/i18n/engine/resources/organizationWebhookConfig.fr.ts +312 -0
- package/templates/saas/i18n/engine/resources/organizations.en.ts +1924 -0
- package/templates/saas/i18n/engine/resources/organizations.fr.ts +1924 -0
- package/templates/saas/i18n/engine/resources/platformAccessGrants.en.ts +324 -0
- package/templates/saas/i18n/engine/resources/platformAccessGrants.fr.ts +324 -0
- package/templates/saas/i18n/engine/resources/prices.en.ts +409 -0
- package/templates/saas/i18n/engine/resources/prices.fr.ts +409 -0
- package/templates/saas/i18n/engine/resources/products.en.ts +540 -0
- package/templates/saas/i18n/engine/resources/products.fr.ts +540 -0
- package/templates/saas/i18n/engine/resources/promotions.en.ts +383 -0
- package/templates/saas/i18n/engine/resources/promotions.fr.ts +383 -0
- package/templates/saas/i18n/engine/resources/referrals.en.ts +337 -0
- package/templates/saas/i18n/engine/resources/referrals.fr.ts +337 -0
- package/templates/saas/i18n/engine/resources/userA2aPushDeliveryLog.en.ts +558 -0
- package/templates/saas/i18n/engine/resources/userA2aPushDeliveryLog.fr.ts +558 -0
- package/templates/saas/i18n/engine/resources/userA2aTokenBudgetState.en.ts +196 -0
- package/templates/saas/i18n/engine/resources/userA2aTokenBudgetState.fr.ts +196 -0
- package/templates/saas/i18n/engine/resources/userBillingAccounts.en.ts +1728 -0
- package/templates/saas/i18n/engine/resources/userBillingAccounts.fr.ts +1728 -0
- package/templates/saas/i18n/engine/resources/userCredentials.en.ts +365 -0
- package/templates/saas/i18n/engine/resources/userCredentials.fr.ts +365 -0
- package/templates/saas/i18n/engine/resources/userCreditPools.en.ts +210 -0
- package/templates/saas/i18n/engine/resources/userCreditPools.fr.ts +210 -0
- package/templates/saas/i18n/engine/resources/userFeatures.en.ts +265 -0
- package/templates/saas/i18n/engine/resources/userFeatures.fr.ts +265 -0
- package/templates/saas/i18n/engine/resources/userFlowActorExecutions.en.ts +355 -0
- package/templates/saas/i18n/engine/resources/userFlowActorExecutions.fr.ts +355 -0
- package/templates/saas/i18n/engine/resources/userFlowActorTasks.en.ts +487 -0
- package/templates/saas/i18n/engine/resources/userFlowActorTasks.fr.ts +487 -0
- package/templates/saas/i18n/engine/resources/userGovernedDocumentAcceptances.en.ts +198 -0
- package/templates/saas/i18n/engine/resources/userGovernedDocumentAcceptances.fr.ts +198 -0
- package/templates/saas/i18n/engine/resources/userGuidanceState.en.ts +234 -0
- package/templates/saas/i18n/engine/resources/userGuidanceState.fr.ts +234 -0
- package/templates/saas/i18n/engine/resources/userIdentityLinks.en.ts +273 -0
- package/templates/saas/i18n/engine/resources/userIdentityLinks.fr.ts +273 -0
- package/templates/saas/i18n/engine/resources/userInvoiceRefs.en.ts +300 -0
- package/templates/saas/i18n/engine/resources/userInvoiceRefs.fr.ts +300 -0
- package/templates/saas/i18n/engine/resources/userLifecycleState.en.ts +359 -0
- package/templates/saas/i18n/engine/resources/userLifecycleState.fr.ts +359 -0
- package/templates/saas/i18n/engine/resources/userNotificationBadges.en.ts +202 -0
- package/templates/saas/i18n/engine/resources/userNotificationBadges.fr.ts +202 -0
- package/templates/saas/i18n/engine/resources/userPreferences.en.ts +399 -0
- package/templates/saas/i18n/engine/resources/userPreferences.fr.ts +399 -0
- package/templates/saas/i18n/engine/resources/userProfiles.en.ts +662 -0
- package/templates/saas/i18n/engine/resources/userProfiles.fr.ts +662 -0
- package/templates/saas/i18n/engine/resources/userProgressionState.en.ts +262 -0
- package/templates/saas/i18n/engine/resources/userProgressionState.fr.ts +262 -0
- package/templates/saas/i18n/engine/resources/userProviderCredentials.en.ts +270 -0
- package/templates/saas/i18n/engine/resources/userProviderCredentials.fr.ts +270 -0
- package/templates/saas/i18n/engine/resources/userSelfPreferences.en.ts +391 -0
- package/templates/saas/i18n/engine/resources/userSelfPreferences.fr.ts +391 -0
- package/templates/saas/i18n/engine/resources/userSelfProfiles.en.ts +481 -0
- package/templates/saas/i18n/engine/resources/userSelfProfiles.fr.ts +481 -0
- package/templates/saas/i18n/engine/resources/userSubscriptions.en.ts +568 -0
- package/templates/saas/i18n/engine/resources/userSubscriptions.fr.ts +568 -0
- package/templates/saas/i18n/engine/resources/userUsageRecords.en.ts +317 -0
- package/templates/saas/i18n/engine/resources/userUsageRecords.fr.ts +317 -0
- package/templates/saas/i18n/engine/resources/user_self.en.ts +720 -0
- package/templates/saas/i18n/engine/resources/user_self.fr.ts +719 -0
- package/templates/saas/i18n/engine/resources/users.en.ts +1166 -0
- package/templates/saas/i18n/engine/resources/users.fr.ts +1166 -0
- package/templates/saas/i18n/engine/resources/wildoApplication.en.ts +590 -0
- package/templates/saas/i18n/engine/resources/wildoApplication.fr.ts +574 -0
- package/templates/saas/i18n/engine/resources/wildoApplicationVersions.en.ts +293 -0
- package/templates/saas/i18n/engine/resources/wildoApplicationVersions.fr.ts +293 -0
- package/templates/saas/i18n/engine/resources/workbenchAuthoredDocumentFactDeclarations.en.ts +150 -0
- package/templates/saas/i18n/engine/resources/workbenchAuthoredDocumentFactDeclarations.fr.ts +150 -0
- package/templates/saas/i18n/engine/resources/workbenchBrandAssets.en.ts +198 -0
- package/templates/saas/i18n/engine/resources/workbenchBrandAssets.fr.ts +198 -0
- package/templates/saas/i18n/engine/resources/workbenchBrandLogoDirections.en.ts +150 -0
- package/templates/saas/i18n/engine/resources/workbenchBrandLogoDirections.fr.ts +150 -0
- package/templates/saas/i18n/engine/resources/workbenchBrandNames.en.ts +150 -0
- package/templates/saas/i18n/engine/resources/workbenchBrandNames.fr.ts +150 -0
- package/templates/saas/i18n/engine/resources/workbenchBrandVisualTones.en.ts +150 -0
- package/templates/saas/i18n/engine/resources/workbenchBrandVisualTones.fr.ts +150 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatchPlan.en.ts +214 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatchPlan.fr.ts +214 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatches.en.ts +198 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatches.fr.ts +190 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildPlanTasks.en.ts +182 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildPlanTasks.fr.ts +182 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildTasks.en.ts +478 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildTasks.fr.ts +478 -0
- package/templates/saas/i18n/engine/resources/workbenchCodingLaneStatus.en.ts +214 -0
- package/templates/saas/i18n/engine/resources/workbenchCodingLaneStatus.fr.ts +206 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSections.en.ts +150 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSections.fr.ts +150 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateVariantSelections.en.ts +150 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateVariantSelections.fr.ts +150 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidates.en.ts +150 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidates.fr.ts +150 -0
- package/templates/saas/i18n/engine/resources/workbenchDocumentFactDeclarations.en.ts +150 -0
- package/templates/saas/i18n/engine/resources/workbenchDocumentFactDeclarations.fr.ts +150 -0
- package/templates/saas/i18n/engine/resources/workbenchDocumentPublicationVariants.en.ts +150 -0
- package/templates/saas/i18n/engine/resources/workbenchDocumentPublicationVariants.fr.ts +150 -0
- package/templates/saas/i18n/engine/resources/workbenchDocumentReleases.en.ts +150 -0
- package/templates/saas/i18n/engine/resources/workbenchDocumentReleases.fr.ts +150 -0
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanModules.en.ts +150 -0
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanModules.fr.ts +150 -0
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanRelationships.en.ts +150 -0
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanRelationships.fr.ts +150 -0
- package/templates/saas/i18n/engine/resources/workbenchDomainResources.en.ts +542 -0
- package/templates/saas/i18n/engine/resources/workbenchDomainResources.fr.ts +542 -0
- package/templates/saas/i18n/engine/resources/workbenchFeatureDrafts.en.ts +190 -0
- package/templates/saas/i18n/engine/resources/workbenchFeatureDrafts.fr.ts +190 -0
- package/templates/saas/i18n/engine/resources/workbenchFunctionalRequirements.en.ts +366 -0
- package/templates/saas/i18n/engine/resources/workbenchFunctionalRequirements.fr.ts +366 -0
- package/templates/saas/i18n/engine/resources/workbenchGovernanceDocuments.en.ts +126 -0
- package/templates/saas/i18n/engine/resources/workbenchGovernanceDocuments.fr.ts +126 -0
- package/templates/saas/i18n/engine/resources/workbenchGovernanceQuestions.en.ts +198 -0
- package/templates/saas/i18n/engine/resources/workbenchGovernanceQuestions.fr.ts +198 -0
- package/templates/saas/i18n/engine/resources/workbenchMarketAlternatives.en.ts +230 -0
- package/templates/saas/i18n/engine/resources/workbenchMarketAlternatives.fr.ts +230 -0
- package/templates/saas/i18n/engine/resources/workbenchMarketBenefits.en.ts +606 -0
- package/templates/saas/i18n/engine/resources/workbenchMarketBenefits.fr.ts +606 -0
- package/templates/saas/i18n/engine/resources/workbenchMarketBuyingJourneys.en.ts +198 -0
- package/templates/saas/i18n/engine/resources/workbenchMarketBuyingJourneys.fr.ts +198 -0
- package/templates/saas/i18n/engine/resources/workbenchMarketCategories.en.ts +150 -0
- package/templates/saas/i18n/engine/resources/workbenchMarketCategories.fr.ts +150 -0
- package/templates/saas/i18n/engine/resources/workbenchMarketChannels.en.ts +270 -0
- package/templates/saas/i18n/engine/resources/workbenchMarketChannels.fr.ts +270 -0
- package/templates/saas/i18n/engine/resources/workbenchMarketGains.en.ts +270 -0
- package/templates/saas/i18n/engine/resources/workbenchMarketGains.fr.ts +270 -0
- package/templates/saas/i18n/engine/resources/workbenchMarketIcps.en.ts +1030 -0
- package/templates/saas/i18n/engine/resources/workbenchMarketIcps.fr.ts +1030 -0
- package/templates/saas/i18n/engine/resources/workbenchMarketJobs.en.ts +350 -0
- package/templates/saas/i18n/engine/resources/workbenchMarketJobs.fr.ts +350 -0
- package/templates/saas/i18n/engine/resources/workbenchMarketMessageTemplates.en.ts +198 -0
- package/templates/saas/i18n/engine/resources/workbenchMarketMessageTemplates.fr.ts +198 -0
- package/templates/saas/i18n/engine/resources/workbenchMarketObjections.en.ts +422 -0
- package/templates/saas/i18n/engine/resources/workbenchMarketObjections.fr.ts +422 -0
- package/templates/saas/i18n/engine/resources/workbenchMarketPains.en.ts +270 -0
- package/templates/saas/i18n/engine/resources/workbenchMarketPains.fr.ts +270 -0
- package/templates/saas/i18n/engine/resources/workbenchMarketPersonas.en.ts +518 -0
- package/templates/saas/i18n/engine/resources/workbenchMarketPersonas.fr.ts +518 -0
- package/templates/saas/i18n/engine/resources/workbenchMarketPositionings.en.ts +342 -0
- package/templates/saas/i18n/engine/resources/workbenchMarketPositionings.fr.ts +342 -0
- package/templates/saas/i18n/engine/resources/workbenchMarketProofs.en.ts +366 -0
- package/templates/saas/i18n/engine/resources/workbenchMarketProofs.fr.ts +366 -0
- package/templates/saas/i18n/engine/resources/workbenchMarketTonesOfVoice.en.ts +310 -0
- package/templates/saas/i18n/engine/resources/workbenchMarketTonesOfVoice.fr.ts +310 -0
- package/templates/saas/i18n/engine/resources/workbenchMarketTriggers.en.ts +286 -0
- package/templates/saas/i18n/engine/resources/workbenchMarketTriggers.fr.ts +286 -0
- package/templates/saas/i18n/engine/resources/workbenchNonFunctionalRequirements.en.ts +366 -0
- package/templates/saas/i18n/engine/resources/workbenchNonFunctionalRequirements.fr.ts +366 -0
- package/templates/saas/i18n/engine/resources/workbenchParkedCodingQuestions.en.ts +142 -0
- package/templates/saas/i18n/engine/resources/workbenchParkedCodingQuestions.fr.ts +142 -0
- package/templates/saas/i18n/engine/resources/workbenchPlacementDecisions.en.ts +198 -0
- package/templates/saas/i18n/engine/resources/workbenchPlacementDecisions.fr.ts +198 -0
- package/templates/saas/i18n/engine/resources/workbenchPlacementGroups.en.ts +190 -0
- package/templates/saas/i18n/engine/resources/workbenchPlacementGroups.fr.ts +190 -0
- package/templates/saas/i18n/engine/resources/workbenchPlaybookRuns.en.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchPlaybookRuns.fr.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchPlaybooks.en.ts +452 -0
- package/templates/saas/i18n/engine/resources/workbenchPlaybooks.fr.ts +452 -0
- package/templates/saas/i18n/engine/resources/workbenchPricingPlans.en.ts +294 -0
- package/templates/saas/i18n/engine/resources/workbenchPricingPlans.fr.ts +294 -0
- package/templates/saas/i18n/engine/resources/workbenchProcessorRegisterEntries.en.ts +150 -0
- package/templates/saas/i18n/engine/resources/workbenchProcessorRegisterEntries.fr.ts +150 -0
- package/templates/saas/i18n/engine/resources/workbenchReleasePolicySelections.en.ts +150 -0
- package/templates/saas/i18n/engine/resources/workbenchReleasePolicySelections.fr.ts +150 -0
- package/templates/saas/i18n/engine/resources/workbenchRiskRegisterEntries.en.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchRiskRegisterEntries.fr.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchRoadmapPhases.en.ts +334 -0
- package/templates/saas/i18n/engine/resources/workbenchRoadmapPhases.fr.ts +334 -0
- package/templates/saas/i18n/engine/resources/workbenchRunWriteRecords.en.ts +441 -0
- package/templates/saas/i18n/engine/resources/workbenchRunWriteRecords.fr.ts +441 -0
- package/templates/saas/i18n/engine/resources/workbenchSpecificationArtifacts.en.ts +251 -0
- package/templates/saas/i18n/engine/resources/workbenchSpecificationArtifacts.fr.ts +251 -0
- package/templates/saas/i18n/engine/resources/workbenchTraceSessions.en.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchTraceSessions.fr.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchVisionConstraints.en.ts +190 -0
- package/templates/saas/i18n/engine/resources/workbenchVisionConstraints.fr.ts +190 -0
- package/templates/saas/i18n/engine/resources/workbenchVisionIdeas.en.ts +150 -0
- package/templates/saas/i18n/engine/resources/workbenchVisionIdeas.fr.ts +150 -0
- package/templates/saas/i18n/engine/resources/workbenchVisionMissions.en.ts +150 -0
- package/templates/saas/i18n/engine/resources/workbenchVisionMissions.fr.ts +150 -0
- package/templates/saas/i18n/engine/resources/workbenchVisionProblems.en.ts +150 -0
- package/templates/saas/i18n/engine/resources/workbenchVisionProblems.fr.ts +150 -0
- package/templates/saas/i18n/engine/resources/workbenchVisionSuccessCriteria.en.ts +230 -0
- package/templates/saas/i18n/engine/resources/workbenchVisionSuccessCriteria.fr.ts +230 -0
- package/templates/saas/i18n/engine/resources/workbenchWaitingPlaybookRuns.en.ts +206 -0
- package/templates/saas/i18n/engine/resources/workbenchWaitingPlaybookRuns.fr.ts +206 -0
- package/templates/saas/scenarios/add-environment/files/infrastructure/__envName__/wildo.infra.remote.config.ts.hbs +9 -0
- package/templates/saas/scenarios/add-file-picker-provider/files/frontend/src/engine/providers/__providerRef__.frontend-app.module.ts.hbs +34 -0
- package/templates/saas/scenarios/add-file-picker-provider/scenario.json +84 -14
- package/templates/saas/scenarios/add-marketing-page/files/website/src/pages-impl/__pageRef__.bridge.tsx.hbs +2 -0
- package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/Dockerfile.hbs +5 -2
- package/templates/saas/scenarios/add-resource/files/shared-lib/src/modules/__moduleId__/resources/__resourceDir__/__resourceDir__.schemas.ts.hbs +3 -1
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/Dockerfile +57 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/docusaurus.config.ts.hbs +25 -1
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/package.json.hbs +2 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/scripts/verify-api-reference-conservation.ts +45 -2
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/generated/frontend-provider-service.generated.json +1 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/generated/frontend-providers.generated.ts +3 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/generated-consumer-documentation.ts +19 -3
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/theme/Root.tsx +15 -7
- package/templates/saas/scenarios/add-website/files/website/Dockerfile +39 -0
- package/templates/saas/scenarios/add-website/files/website/src/app-origin.ts.hbs +4 -0
- package/templates/saas/scenarios/add-website/files/website/src/components/HeaderComponent.tsx +9 -2
- package/templates/saas/scenarios/add-website/files/website/src/generated/frontend-provider-service.generated.json +1 -0
- package/templates/saas/scenarios/add-website/files/website/src/generated/frontend-providers.generated.ts +3 -0
- package/templates/saas/scenarios/add-website/files/website/src/i18n/en.json.hbs +14 -1
- package/templates/saas/scenarios/add-website/files/website/src/pages-impl/landing.bridge.tsx +2 -0
- package/templates/saas/scenarios/add-website/files/website/wildo.website.config.ts.hbs +4 -1
- package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/Dockerfile.hbs +4 -1
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/Dockerfile.hbs +7 -4
- package/templates/saas/scenarios/add-worker-rust/scenario.json +1 -1
- package/templates/saas/skeleton/.wildo-saas/application-creation-workbench/scripts/dev-supervised.sh.hbs +27 -10
- package/templates/saas/skeleton/.wildo-saas/dev-framework-scripts/sync-engine.sh +29 -1
- package/templates/saas/skeleton/.wildo-saas/wildo-dev-companion/scripts/dev-supervised.sh +39 -2
- package/templates/saas/skeleton/CLAUDE.md.hbs +15 -5
- package/templates/saas/skeleton/backend-api/Dockerfile +54 -0
- package/templates/saas/skeleton/backend-api/package.json.hbs +2 -1
- package/templates/saas/skeleton/backend-api/scripts/dev-supervised.sh.hbs +8 -5
- package/templates/saas/skeleton/backend-api/src/saas-config.backend.ts.hbs +67 -6
- package/templates/saas/skeleton/dockerignore +40 -0
- package/templates/saas/skeleton/frontend/package.json.hbs +5 -2
- package/templates/saas/skeleton/frontend/scripts/dev-supervised.sh +9 -6
- package/templates/saas/skeleton/frontend/src/generated/frontend-provider-service.generated.json +1 -0
- package/templates/saas/skeleton/frontend/src/generated/frontend-providers.generated.ts +3 -0
- package/templates/saas/skeleton/frontend/src/index.css.hbs +23 -17
- package/templates/saas/skeleton/frontend/src/modules-registry.frontend.ts.hbs +2 -0
- package/templates/saas/skeleton/frontend/src/provider-contributions.ts.hbs +38 -0
- package/templates/saas/skeleton/frontend/src/resource-ui-behaviors.exports.ts +60 -0
- package/templates/saas/skeleton/frontend/tsconfig.library.json +1 -0
- package/templates/saas/skeleton/gitignore +17 -0
- package/templates/saas/skeleton/infrastructure/local/wildo.infra.local.config.ts.hbs +112 -1
- package/templates/saas/skeleton/tsconfig.common.json +21 -0
- package/templates/saas/skeleton/wildo.saas.config.ts.init.hbs +133 -9
- package/templates/saas/skeleton-ownership.json +17 -0
- package/wildo-framework.info.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"boundary-fanout.utils.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"boundary-fanout.utils.d.ts","sourceRoot":"","sources":["../../../../../../src/services/registry/boundary-fanout.utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAIH,OAAO,KAAK,EAAE,cAAc,EAA4B,MAAM,+BAA+B,CAAC;AAG9F,MAAM,WAAW,YAAY;IAC3B;;;OAGG;IACH,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB;;;;;OAKG;IACH,OAAO,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACrC;;;;;OAKG;IACH,eAAe,EAAE,aAAa,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,aAAa,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACzE;AA4CD;;;;;;;;;GASG;AACH,wBAAsB,kBAAkB,CAAC,IAAI,EAAE;IAC7C,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,cAAc,CAAC;IACzB;;;;;OAKG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,OAAO,CAAC,YAAY,CAAC,CAuExB;AAED;;;;;;GAMG;AACH,wBAAsB,cAAc,CAAC,IAAI,EAAE;IACzC,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,YAAY,CAAC;CACtB,GAAG,OAAO,CAAC,IAAI,CAAC,CAqBhB;AAED;;;;;GAKG;AACH,wBAAsB,kBAAkB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC,CAIpF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/services/registry/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC;AACnD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type ModuleManifest } from '@wildo-ai/platform-config-lib';
|
|
2
|
+
/** An observed installed package, not a desired override or the CLI's own version. */
|
|
3
|
+
export interface InstalledFrameworkVersion {
|
|
4
|
+
manifestPath: string;
|
|
5
|
+
version: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Follow installed framework imports from every authored workspace package. Resolve from physical
|
|
9
|
+
* package locations so pnpm's isolated copies remain distinct. Reading the package directory avoids
|
|
10
|
+
* requiring a package.json public export; Node's lookup paths determine which directory is visible.
|
|
11
|
+
* Workspace exclusions apply to entry roots, not to installed dependencies reached from those roots.
|
|
12
|
+
*/
|
|
13
|
+
export declare function readApplicationFrameworkVersions(applicationRoot: string): InstalledFrameworkVersion[];
|
|
14
|
+
/**
|
|
15
|
+
* Read-only adoption preflight. Call after verified extraction/manifest parsing and before any
|
|
16
|
+
* application source or adoption-record mutation, including same-version repair. Each requirement
|
|
17
|
+
* loads only the host surface it needs. A passing lockfile check proves recorded adoption; authored
|
|
18
|
+
* capability activation and installed package versions do not assert a healthy running application.
|
|
19
|
+
* Returned npm notices are advisory and never cause package edits or dependency installation.
|
|
20
|
+
*/
|
|
21
|
+
export declare function checkModuleRequirements(applicationRoot: string, manifest: ModuleManifest): Promise<string[]>;
|
|
22
|
+
//# sourceMappingURL=module-requirements.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module-requirements.service.d.ts","sourceRoot":"","sources":["../../../../../../src/services/registry/module-requirements.service.ts"],"names":[],"mappings":"AAQA,OAAO,EAAqD,KAAK,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAevH,sFAAsF;AACtF,MAAM,WAAW,yBAAyB;IACxC,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;CACjB;AAMD;;;;;GAKG;AACH,wBAAgB,gCAAgC,CAAC,eAAe,EAAE,MAAM,GAAG,yBAAyB,EAAE,CA0DrG;AAMD;;;;;;GAMG;AACH,wBAAsB,uBAAuB,CAAC,eAAe,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAsClH"}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import { existsSync, readFileSync, realpathSync } from 'node:fs';
|
|
2
|
+
import { createRequire } from 'node:module';
|
|
3
|
+
import { dirname, join, resolve } from 'node:path';
|
|
4
|
+
import { globSync } from 'glob';
|
|
5
|
+
import { parse as parseYaml } from 'yaml';
|
|
6
|
+
import { satisfies, valid, validRange } from 'semver';
|
|
7
|
+
import { z } from 'zod';
|
|
8
|
+
import { EngineCapability } from '@wildo-ai/saas-models';
|
|
9
|
+
import { EngineCapabilityActivationsSchema, loadSaasConfig } from '@wildo-ai/platform-config-lib';
|
|
10
|
+
import { RegistryLockfileService } from '@wildo-ai/wildo-module-client';
|
|
11
|
+
const dependencyMap = z.record(z.string(), z.string()).optional();
|
|
12
|
+
const packageManifestSchema = z.object({
|
|
13
|
+
name: z.string().optional(),
|
|
14
|
+
version: z.string().optional(),
|
|
15
|
+
dependencies: dependencyMap,
|
|
16
|
+
devDependencies: dependencyMap,
|
|
17
|
+
peerDependencies: dependencyMap,
|
|
18
|
+
optionalDependencies: dependencyMap,
|
|
19
|
+
});
|
|
20
|
+
const workspaceSchema = z.object({ packages: z.array(z.string()).default([]) });
|
|
21
|
+
const FRAMEWORK_MODELS_PACKAGE = '@wildo-ai/saas-models';
|
|
22
|
+
function readPackage(manifestPath) {
|
|
23
|
+
return packageManifestSchema.parse(JSON.parse(readFileSync(manifestPath, 'utf8')));
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Follow installed framework imports from every authored workspace package. Resolve from physical
|
|
27
|
+
* package locations so pnpm's isolated copies remain distinct. Reading the package directory avoids
|
|
28
|
+
* requiring a package.json public export; Node's lookup paths determine which directory is visible.
|
|
29
|
+
* Workspace exclusions apply to entry roots, not to installed dependencies reached from those roots.
|
|
30
|
+
*/
|
|
31
|
+
export function readApplicationFrameworkVersions(applicationRoot) {
|
|
32
|
+
const root = resolve(applicationRoot);
|
|
33
|
+
const workspacePath = join(root, 'pnpm-workspace.yaml');
|
|
34
|
+
const patterns = existsSync(workspacePath)
|
|
35
|
+
? workspaceSchema.parse(parseYaml(readFileSync(workspacePath, 'utf8'))).packages
|
|
36
|
+
: [];
|
|
37
|
+
const exclusions = patterns.filter((pattern) => pattern.startsWith('!')).map((pattern) => pattern.slice(1));
|
|
38
|
+
const ignore = ['**/node_modules/**', '**/.git/**', '.wildo-saas/**', ...exclusions];
|
|
39
|
+
const members = globSync(patterns.filter((pattern) => !pattern.startsWith('!')), { cwd: root, ignore, dot: true });
|
|
40
|
+
const workspaceManifests = [root, ...members.map((member) => resolve(root, member))]
|
|
41
|
+
.map((member) => join(member, 'package.json'))
|
|
42
|
+
.filter(existsSync)
|
|
43
|
+
.map((manifestPath) => realpathSync(manifestPath));
|
|
44
|
+
const authoredWorkspaceManifests = new Set(workspaceManifests);
|
|
45
|
+
const pending = [...workspaceManifests];
|
|
46
|
+
const visited = new Set();
|
|
47
|
+
const versions = [];
|
|
48
|
+
while (pending.length) {
|
|
49
|
+
const manifestPath = realpathSync(pending.pop());
|
|
50
|
+
if (visited.has(manifestPath))
|
|
51
|
+
continue;
|
|
52
|
+
visited.add(manifestPath);
|
|
53
|
+
const manifest = readPackage(manifestPath);
|
|
54
|
+
if (manifest.name === FRAMEWORK_MODELS_PACKAGE) {
|
|
55
|
+
if (!manifest.version || !valid(manifest.version)) {
|
|
56
|
+
throw new Error(`Cannot verify framework compatibility: ${manifestPath} has no valid installed version.`);
|
|
57
|
+
}
|
|
58
|
+
versions.push({ manifestPath, version: manifest.version });
|
|
59
|
+
}
|
|
60
|
+
const required = { ...manifest.dependencies, ...(authoredWorkspaceManifests.has(manifestPath) ? manifest.devDependencies : {}) };
|
|
61
|
+
const dependencies = { ...required, ...manifest.peerDependencies, ...manifest.optionalDependencies };
|
|
62
|
+
const lookup = createRequire(manifestPath);
|
|
63
|
+
// Ignore process-global NODE_PATH additions (including the CLI's own installation).
|
|
64
|
+
// Only package-directory ancestry establishes the receiving workspace's installed imports.
|
|
65
|
+
const localLookupPaths = new Set();
|
|
66
|
+
let directory = dirname(manifestPath);
|
|
67
|
+
for (;;) {
|
|
68
|
+
localLookupPaths.add(join(directory, 'node_modules'));
|
|
69
|
+
const parent = dirname(directory);
|
|
70
|
+
if (parent === directory)
|
|
71
|
+
break;
|
|
72
|
+
directory = parent;
|
|
73
|
+
}
|
|
74
|
+
for (const name of Object.keys(dependencies).filter((name) => name.startsWith('@wildo-ai/'))) {
|
|
75
|
+
const resolved = (lookup.resolve.paths(name) ?? [])
|
|
76
|
+
.filter((directory) => localLookupPaths.has(directory))
|
|
77
|
+
.map((directory) => join(directory, name, 'package.json'))
|
|
78
|
+
.find(existsSync);
|
|
79
|
+
if (resolved) {
|
|
80
|
+
pending.push(resolved);
|
|
81
|
+
}
|
|
82
|
+
else if (name in required && !(name in (manifest.optionalDependencies ?? {}))) {
|
|
83
|
+
throw new Error(`Cannot verify framework compatibility: ${name}, declared by ${manifestPath}, is not installed. Install application dependencies first.`);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
if (!versions.length) {
|
|
88
|
+
throw new Error(`Cannot verify framework compatibility: no installed ${FRAMEWORK_MODELS_PACKAGE} is reachable from ${root}. Install application dependencies first.`);
|
|
89
|
+
}
|
|
90
|
+
return versions;
|
|
91
|
+
}
|
|
92
|
+
function requireRange(range, requirement) {
|
|
93
|
+
if (!validRange(range))
|
|
94
|
+
throw new Error(`${requirement} declares invalid semver range "${range}". Dependency requirements must use ranges, not registry tags.`);
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Read-only adoption preflight. Call after verified extraction/manifest parsing and before any
|
|
98
|
+
* application source or adoption-record mutation, including same-version repair. Each requirement
|
|
99
|
+
* loads only the host surface it needs. A passing lockfile check proves recorded adoption; authored
|
|
100
|
+
* capability activation and installed package versions do not assert a healthy running application.
|
|
101
|
+
* Returned npm notices are advisory and never cause package edits or dependency installation.
|
|
102
|
+
*/
|
|
103
|
+
export async function checkModuleRequirements(applicationRoot, manifest) {
|
|
104
|
+
const requirements = manifest.dependsOn;
|
|
105
|
+
const moduleRequirements = Object.entries(requirements?.modules ?? {});
|
|
106
|
+
if (moduleRequirements.length) {
|
|
107
|
+
const installed = await RegistryLockfileService.read(applicationRoot);
|
|
108
|
+
for (const [moduleId, range] of moduleRequirements) {
|
|
109
|
+
requireRange(range, `Module ${moduleId}`);
|
|
110
|
+
if (moduleId === manifest.id)
|
|
111
|
+
throw new Error(`Module ${manifest.id} cannot declare itself as a prerequisite.`);
|
|
112
|
+
const version = installed.installed[moduleId]?.version;
|
|
113
|
+
if (!version || !satisfies(version, range)) {
|
|
114
|
+
throw new Error(`Module ${manifest.id} requires ${moduleId}@${range}; recorded adoption is ${version ?? 'missing'}. Add or update that dependency first.`);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
if (requirements?.capabilities.length) {
|
|
119
|
+
const configPath = join(applicationRoot, 'wildo.saas.config.ts');
|
|
120
|
+
const requiredCapabilities = z.array(z.enum(EngineCapability)).parse(requirements.capabilities);
|
|
121
|
+
const config = await loadSaasConfig(configPath);
|
|
122
|
+
if (!config)
|
|
123
|
+
throw new Error(`Module ${manifest.id} requires capability activation, but ${configPath} is missing.`);
|
|
124
|
+
const activations = EngineCapabilityActivationsSchema.parse(config.engineCapabilities);
|
|
125
|
+
const missing = requiredCapabilities.filter((capability) => activations[capability]?.enabled !== true);
|
|
126
|
+
if (missing.length) {
|
|
127
|
+
throw new Error(`Module ${manifest.id} requires enabled capabilities: ${missing.join(', ')}. Configure their activation and providers in ${configPath} before adoption.`);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
if (manifest.engine) {
|
|
131
|
+
const range = manifest.engine.framework;
|
|
132
|
+
requireRange(range, `Module ${manifest.id} framework requirement`);
|
|
133
|
+
const versions = readApplicationFrameworkVersions(applicationRoot);
|
|
134
|
+
const incompatible = versions.filter(({ version }) => !satisfies(version, range));
|
|
135
|
+
if (incompatible.length) {
|
|
136
|
+
throw new Error(`Module ${manifest.id} requires framework ${range}; incompatible installed packages:\n${incompatible.map(({ version, manifestPath }) => ` ${version} — ${manifestPath}`).join('\n')}\nAlign the application's installed framework packages before adoption.`);
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
return [
|
|
140
|
+
...Object.entries(requirements?.npm.dependencies ?? {}).map(([name, range]) => `npm dependency: ${name}@${range}`),
|
|
141
|
+
...Object.entries(requirements?.npm.peerDependencies ?? {}).map(([name, range]) => `npm peer dependency: ${name}@${range}`),
|
|
142
|
+
].map((requirement) => `${requirement} — advisory: review and declare it in the consuming application package; no package.json edits or installation were performed.`);
|
|
143
|
+
}
|
|
144
|
+
//# sourceMappingURL=module-requirements.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module-requirements.service.js","sourceRoot":"","sources":["../../../../../../src/services/registry/module-requirements.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACjE,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,MAAM,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACtD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,iCAAiC,EAAE,cAAc,EAAuB,MAAM,+BAA+B,CAAC;AACvH,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AAExE,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM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,mBAAmB,IAAI,IAAI,KAAK,EAAE,CAAC;QAClH,GAAG,MAAM,CAAC,OAAO,CAAC,YAAY,EAAE,GAAG,CAAC,gBAAgB,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,wBAAwB,IAAI,IAAI,KAAK,EAAE,CAAC;KAC5H,CAAC,GAAG,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC,GAAG,WAAW,gIAAgI,CAAC,CAAC;AACzK,CAAC","sourcesContent":["import { existsSync, readFileSync, realpathSync } from 'node:fs';\nimport { createRequire } from 'node:module';\nimport { dirname, join, resolve } from 'node:path';\nimport { globSync } from 'glob';\nimport { parse as parseYaml } from 'yaml';\nimport { satisfies, valid, validRange } from 'semver';\nimport { z } from 'zod';\nimport { EngineCapability } from '@wildo-ai/saas-models';\nimport { EngineCapabilityActivationsSchema, loadSaasConfig, type ModuleManifest } from '@wildo-ai/platform-config-lib';\nimport { RegistryLockfileService } from '@wildo-ai/wildo-module-client';\n\nconst dependencyMap = z.record(z.string(), z.string()).optional();\nconst packageManifestSchema = z.object({\n name: z.string().optional(),\n version: z.string().optional(),\n dependencies: dependencyMap,\n devDependencies: dependencyMap,\n peerDependencies: dependencyMap,\n optionalDependencies: dependencyMap,\n});\nconst workspaceSchema = z.object({ packages: z.array(z.string()).default([]) });\nconst FRAMEWORK_MODELS_PACKAGE = '@wildo-ai/saas-models';\n\n/** An observed installed package, not a desired override or the CLI's own version. */\nexport interface InstalledFrameworkVersion {\n manifestPath: string;\n version: string;\n}\n\nfunction readPackage(manifestPath: string) {\n return packageManifestSchema.parse(JSON.parse(readFileSync(manifestPath, 'utf8')));\n}\n\n/**\n * Follow installed framework imports from every authored workspace package. Resolve from physical\n * package locations so pnpm's isolated copies remain distinct. Reading the package directory avoids\n * requiring a package.json public export; Node's lookup paths determine which directory is visible.\n * Workspace exclusions apply to entry roots, not to installed dependencies reached from those roots.\n */\nexport function readApplicationFrameworkVersions(applicationRoot: string): InstalledFrameworkVersion[] {\n const root = resolve(applicationRoot);\n const workspacePath = join(root, 'pnpm-workspace.yaml');\n const patterns = existsSync(workspacePath)\n ? workspaceSchema.parse(parseYaml(readFileSync(workspacePath, 'utf8'))).packages\n : [];\n const exclusions = patterns.filter((pattern) => pattern.startsWith('!')).map((pattern) => pattern.slice(1));\n const ignore = ['**/node_modules/**', '**/.git/**', '.wildo-saas/**', ...exclusions];\n const members = globSync(patterns.filter((pattern) => !pattern.startsWith('!')), { cwd: root, ignore, dot: true });\n const workspaceManifests = [root, ...members.map((member) => resolve(root, member))]\n .map((member) => join(member, 'package.json'))\n .filter(existsSync)\n .map((manifestPath) => realpathSync(manifestPath));\n const authoredWorkspaceManifests = new Set(workspaceManifests);\n const pending = [...workspaceManifests];\n const visited = new Set<string>();\n const versions: InstalledFrameworkVersion[] = [];\n\n while (pending.length) {\n const manifestPath = realpathSync(pending.pop()!);\n if (visited.has(manifestPath)) continue;\n visited.add(manifestPath);\n const manifest = readPackage(manifestPath);\n if (manifest.name === FRAMEWORK_MODELS_PACKAGE) {\n if (!manifest.version || !valid(manifest.version)) {\n throw new Error(`Cannot verify framework compatibility: ${manifestPath} has no valid installed version.`);\n }\n versions.push({ manifestPath, version: manifest.version });\n }\n const required = { ...manifest.dependencies, ...(authoredWorkspaceManifests.has(manifestPath) ? manifest.devDependencies : {}) };\n const dependencies = { ...required, ...manifest.peerDependencies, ...manifest.optionalDependencies };\n const lookup = createRequire(manifestPath);\n // Ignore process-global NODE_PATH additions (including the CLI's own installation).\n // Only package-directory ancestry establishes the receiving workspace's installed imports.\n const localLookupPaths = new Set<string>();\n let directory = dirname(manifestPath);\n for (;;) {\n localLookupPaths.add(join(directory, 'node_modules'));\n const parent = dirname(directory);\n if (parent === directory) break;\n directory = parent;\n }\n for (const name of Object.keys(dependencies).filter((name) => name.startsWith('@wildo-ai/'))) {\n const resolved = (lookup.resolve.paths(name) ?? [])\n .filter((directory) => localLookupPaths.has(directory))\n .map((directory) => join(directory, name, 'package.json'))\n .find(existsSync);\n if (resolved) {\n pending.push(resolved);\n } else if (name in required && !(name in (manifest.optionalDependencies ?? {}))) {\n throw new Error(`Cannot verify framework compatibility: ${name}, declared by ${manifestPath}, is not installed. Install application dependencies first.`);\n }\n }\n }\n if (!versions.length) {\n throw new Error(`Cannot verify framework compatibility: no installed ${FRAMEWORK_MODELS_PACKAGE} is reachable from ${root}. Install application dependencies first.`);\n }\n return versions;\n}\n\nfunction requireRange(range: string, requirement: string): void {\n if (!validRange(range)) throw new Error(`${requirement} declares invalid semver range \"${range}\". Dependency requirements must use ranges, not registry tags.`);\n}\n\n/**\n * Read-only adoption preflight. Call after verified extraction/manifest parsing and before any\n * application source or adoption-record mutation, including same-version repair. Each requirement\n * loads only the host surface it needs. A passing lockfile check proves recorded adoption; authored\n * capability activation and installed package versions do not assert a healthy running application.\n * Returned npm notices are advisory and never cause package edits or dependency installation.\n */\nexport async function checkModuleRequirements(applicationRoot: string, manifest: ModuleManifest): Promise<string[]> {\n const requirements = manifest.dependsOn;\n const moduleRequirements = Object.entries(requirements?.modules ?? {});\n if (moduleRequirements.length) {\n const installed = await RegistryLockfileService.read(applicationRoot);\n for (const [moduleId, range] of moduleRequirements) {\n requireRange(range, `Module ${moduleId}`);\n if (moduleId === manifest.id) throw new Error(`Module ${manifest.id} cannot declare itself as a prerequisite.`);\n const version = installed.installed[moduleId]?.version;\n if (!version || !satisfies(version, range)) {\n throw new Error(`Module ${manifest.id} requires ${moduleId}@${range}; recorded adoption is ${version ?? 'missing'}. Add or update that dependency first.`);\n }\n }\n }\n if (requirements?.capabilities.length) {\n const configPath = join(applicationRoot, 'wildo.saas.config.ts');\n const requiredCapabilities = z.array(z.enum(EngineCapability)).parse(requirements.capabilities);\n const config = await loadSaasConfig(configPath);\n if (!config) throw new Error(`Module ${manifest.id} requires capability activation, but ${configPath} is missing.`);\n const activations = EngineCapabilityActivationsSchema.parse(config.engineCapabilities);\n const missing = requiredCapabilities.filter((capability) => activations[capability]?.enabled !== true);\n if (missing.length) {\n throw new Error(`Module ${manifest.id} requires enabled capabilities: ${missing.join(', ')}. Configure their activation and providers in ${configPath} before adoption.`);\n }\n }\n if (manifest.engine) {\n const range = manifest.engine.framework;\n requireRange(range, `Module ${manifest.id} framework requirement`);\n const versions = readApplicationFrameworkVersions(applicationRoot);\n const incompatible = versions.filter(({ version }) => !satisfies(version, range));\n if (incompatible.length) {\n throw new Error(`Module ${manifest.id} requires framework ${range}; incompatible installed packages:\\n${incompatible.map(({ version, manifestPath }) => ` ${version} — ${manifestPath}`).join('\\n')}\\nAlign the application's installed framework packages before adoption.`);\n }\n }\n return [\n ...Object.entries(requirements?.npm.dependencies ?? {}).map(([name, range]) => `npm dependency: ${name}@${range}`),\n ...Object.entries(requirements?.npm.peerDependencies ?? {}).map(([name, range]) => `npm peer dependency: ${name}@${range}`),\n ].map((requirement) => `${requirement} — advisory: review and declare it in the consuming application package; no package.json edits or installation were performed.`);\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry-command.utils.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"registry-command.utils.d.ts","sourceRoot":"","sources":["../../../../../../src/services/registry/registry-command.utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,OAAO,EAGL,KAAK,cAAc,EAEpB,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAsB,KAAK,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAI/F;;;;;;;;;;;;;GAaG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAazE;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAsB,oBAAoB,CACxC,QAAQ,EAAE,MAAM,EAChB,GAAG,CAAC,EAAE,oBAAoB,GACzB,OAAO,CAAC,cAAc,CAAC,CAkCzB;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,cAAc,GAAG,MAAM,GAAG,SAAS,CAS9E;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAsB,4BAA4B,CAChD,GAAG,EAAE,cAAc,EACnB,IAAI,EAAE;IAAE,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAAC,2BAA2B,CAAC,EAAE,OAAO,CAAA;CAAE,GAChF,OAAO,CAAC,gBAAgB,CAAC,CAa3B;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,cAAc,GAAG,oBAAoB,CAO1E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry-config-resolver.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"registry-config-resolver.service.d.ts","sourceRoot":"","sources":["../../../../../../src/services/registry/registry-config-resolver.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,OAAO,EAGL,mBAAmB,EACnB,KAAK,cAAc,EACpB,MAAM,+BAA+B,CAAC;AAIvC,OAAO,EAAE,mBAAmB,EAAE,CAAC;AAE/B,MAAM,WAAW,uBAAuB;IACtC,sEAAsE;IACtE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,yEAAyE;IACzE,gBAAgB,CAAC,EAAE,cAAc,CAAC;IAClC,gEAAgE;IAChE,2BAA2B,CAAC,EAAE,OAAO,CAAC;CACvC;AAED,MAAM,WAAW,gBAAgB;IAC/B,GAAG,EAAE,MAAM,CAAC;IACZ,iEAAiE;IACjE,MAAM,EAAE,UAAU,GAAG,YAAY,GAAG,SAAS,GAAG,gBAAgB,GAAG,YAAY,CAAC;IAChF,4EAA4E;IAC5E,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAiBD;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,GAAG,gBAAgB,CA0CnF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry-credentials.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"registry-credentials.service.d.ts","sourceRoot":"","sources":["../../../../../../src/services/registry/registry-credentials.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAIH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,QAAA,MAAM,6BAA6B;;;;;;;iBAejC,CAAC;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAmBpF;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAGxD;AAuDD,MAAM,WAAW,kBAAkB;IACjC,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,0BAA0B;IACrC;;;OAGG;qBACoB,MAAM,GAAG,OAAO,CAAC,uBAAuB,GAAG,SAAS,CAAC;IAM5E,uEAAuE;YACzD,OAAO,CAAC,SAAS,uBAAuB,EAAE,CAAC;IAKzD;;;;OAIG;eACc,kBAAkB,GAAG,OAAO,CAAC,uBAAuB,CAAC;IAgBtE,qEAAqE;wBAC3C,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IASnD,gEAAgE;uBACvC,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAWhD,CAAC"}
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
* to a URL before consulting the credential store.
|
|
20
20
|
*/
|
|
21
21
|
import * as fs from 'node:fs/promises';
|
|
22
|
-
import * as os from 'node:os';
|
|
23
22
|
import * as path from 'node:path';
|
|
24
23
|
import { z } from 'zod';
|
|
24
|
+
import { resolveMachineWildoHomePath } from '@wildo-ai/platform-config-lib';
|
|
25
25
|
import { ErrorUtils } from '../../infrastructure/errors/error.utils.js';
|
|
26
26
|
const RegistryCredentialEntrySchema = z.object({
|
|
27
27
|
/** Normalized registry URL (lowercased, no trailing slash). */
|
|
@@ -44,10 +44,9 @@ const RegistryCredentialFileSchema = z.object({
|
|
|
44
44
|
credentials: z.array(RegistryCredentialEntrySchema).default([]),
|
|
45
45
|
});
|
|
46
46
|
const FILE_BASENAME = 'registry-credentials.json';
|
|
47
|
+
/** The machine Wildo home — one rule for every file there, `$WILDO_HOME` first (see `resolveMachineWildoHomePath`). */
|
|
47
48
|
function defaultCredentialsRoot() {
|
|
48
|
-
|
|
49
|
-
return process.env.WILDO_HOME;
|
|
50
|
-
return path.join(os.homedir(), '.wildo');
|
|
49
|
+
return resolveMachineWildoHomePath();
|
|
51
50
|
}
|
|
52
51
|
function credentialsFilePath(root = defaultCredentialsRoot()) {
|
|
53
52
|
return path.join(root, FILE_BASENAME);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry-credentials.service.js","sourceRoot":"","sources":["../../../../../../src/services/registry/registry-credentials.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACvC,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,MAAM,8CAA8C,CAAC;AAE1E,MAAM,6BAA6B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,+DAA+D;IAC/D,WAAW,EAAE,CAAC,CAAC,GAAG,E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AE,QAAQ,EAAE,CAAC,CAAC;QAC7D,OAAO,IAAI,CAAC;IACd,CAAC;IAED,gEAAgE;IAChE,KAAK,CAAC,KAAK,CAAC,WAAmB;QAC7B,MAAM,UAAU,GAAG,oBAAoB,CAAC,WAAW,CAAC,CAAC;QACrD,MAAM,IAAI,GAAG,MAAM,QAAQ,EAAE,CAAC;QAC9B,MAAM,GAAG,GAAG,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,KAAK,UAAU,CAAC,CAAC;QAC5E,IAAI,GAAG,GAAG,CAAC;YAAE,OAAO;QACpB,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,GAAG;YACtB,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC;YACxB,UAAU,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;SACrC,CAAC;QACF,MAAM,SAAS,CAAC,IAAI,CAAC,CAAC;IACxB,CAAC;CACF,CAAC","sourcesContent":["/**\n * Per-machine registry credentials store.\n *\n * Holds bearer tokens that authenticate the CLI against\n * `platform-module-registry` instances. Credentials live OUTSIDE the\n * SaaS app workspace (per KD-11 / Security model) — they're per-user,\n * per-machine, never committed alongside code.\n *\n * Storage: a single JSON file at `$WILDO_HOME/registry-credentials.json`\n * (defaults to `~/.wildo/registry-credentials.json`). The file is\n * group/world-unreadable (`chmod 0600`) so other users on shared\n * machines can't read tokens. Atomic write (temp file + rename) so\n * a SIGINT mid-write can't half-update the file.\n *\n * Lookups are keyed by **registry URL** (normalized: lowercased,\n * trailing-slash-stripped) — there's no notion of registry id at this\n * layer because credentials are issued per-server, not per-config-entry.\n * The resolver above this service translates a `--registry <id>` flag\n * to a URL before consulting the credential store.\n */\n\nimport * as fs from 'node:fs/promises';\nimport * as os from 'node:os';\nimport * as path from 'node:path';\nimport { z } from 'zod';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\n\nconst RegistryCredentialEntrySchema = z.object({\n /** Normalized registry URL (lowercased, no trailing slash). */\n registryUrl: z.url(),\n /**\n * Display label (org name, api-key name) — surfaced by `whoami` so\n * the user knows which credential is active. Cached at login;\n * re-fetched on demand if absent.\n */\n organizationId: z.string().min(1).optional(),\n apiKeyId: z.string().min(1).optional(),\n apiKeyName: z.string().min(1).optional(),\n /** Raw bearer token (`wks_...`). Stored only here; never echoed back. */\n rawToken: z.string().min(1),\n /** ISO timestamp of last successful use (for staleness UX). */\n lastUsedAt: z.iso.datetime().optional(),\n});\nexport type RegistryCredentialEntry = z.infer<typeof RegistryCredentialEntrySchema>;\n\nconst RegistryCredentialFileSchema = z.object({\n schemaVersion: z.literal(1),\n credentials: z.array(RegistryCredentialEntrySchema).default([]),\n});\ntype RegistryCredentialFile = z.infer<typeof RegistryCredentialFileSchema>;\n\nconst FILE_BASENAME = 'registry-credentials.json';\n\nfunction defaultCredentialsRoot(): string {\n if (process.env.WILDO_HOME) return process.env.WILDO_HOME;\n return path.join(os.homedir(), '.wildo');\n}\n\nfunction credentialsFilePath(root: string = defaultCredentialsRoot()): string {\n return path.join(root, FILE_BASENAME);\n}\n\n/**\n * Normalize a registry URL so lookups are stable regardless of how\n * the user typed the flag — `Https://Registry.Wildo.AI/` and\n * `https://registry.wildo.ai` collapse to the same key.\n */\nexport function normalizeRegistryUrl(url: string): string {\n const lower = url.trim().toLowerCase();\n return lower.endsWith('/') ? lower.slice(0, -1) : lower;\n}\n\nasync function readFile(): Promise<RegistryCredentialFile> {\n const filePath = credentialsFilePath();\n try {\n const raw = await fs.readFile(filePath, 'utf8');\n const parsed = JSON.parse(raw) as unknown;\n return RegistryCredentialFileSchema.parse(parsed);\n } catch (err) {\n if ((err as NodeJS.ErrnoException).code === 'ENOENT') {\n return { schemaVersion: 1, credentials: [] };\n }\n throw err;\n }\n}\n\nasync function writeFile(file: RegistryCredentialFile): Promise<void> {\n const filePath = credentialsFilePath();\n await fs.mkdir(path.dirname(filePath), { recursive: true });\n const tmp = `${filePath}.${process.pid}.${Date.now()}.tmp`;\n await fs.writeFile(tmp, JSON.stringify(file, null, 2), { mode: 0o600 });\n // Belt-and-braces: `fs.writeFile`'s `mode` is umask-sensitive on\n // first create, so on hosts with a permissive umask the tmp file\n // can briefly be group-readable. `chmod` immediately closes that\n // window before the rename publishes the file.\n //\n // L11 (third-pass review): chmod failures used to be silently\n // swallowed. On non-POSIX hosts (Windows) chmod is intentionally\n // a no-op; on POSIX a failure is potentially security-relevant.\n // Log to stderr at warn-level instead of swallowing — operators\n // running with `WILDO_DEBUG=1` see the signal, normal users see\n // nothing change. We don't throw because the fallback (default\n // perms) is still acceptable for a credential file in $WILDO_HOME.\n await fs.chmod(tmp, 0o600).catch((err) => {\n if (process.platform !== 'win32') {\n console.warn(\n `[wildo-registry-credentials] chmod 0600 failed on tmp file (${tmp}): ${ErrorUtils.extractErrorMessage(err)}. ` +\n 'Credential file may be created with default umask permissions.',\n );\n }\n });\n await fs.rename(tmp, filePath);\n // Defensive again on the final path — `rename` preserves the tmp's\n // mode, but a pre-existing file may have looser perms from older\n // versions / manual edits.\n await fs.chmod(filePath, 0o600).catch((err) => {\n if (process.platform !== 'win32') {\n console.warn(\n `[wildo-registry-credentials] chmod 0600 failed on final path (${filePath}): ${ErrorUtils.extractErrorMessage(err)}. ` +\n 'Existing file may have looser permissions; consider \\`chmod 600\\` manually.',\n );\n }\n });\n}\n\nexport interface SetCredentialInput {\n registryUrl: string;\n rawToken: string;\n organizationId?: string;\n apiKeyId?: string;\n apiKeyName?: string;\n}\n\nexport const RegistryCredentialsService = {\n /**\n * Look up the credential for a given registry URL. Returns\n * `undefined` if no credential is stored.\n */\n async get(registryUrl: string): Promise<RegistryCredentialEntry | undefined> {\n const normalized = normalizeRegistryUrl(registryUrl);\n const file = await readFile();\n return file.credentials.find((c) => c.registryUrl === normalized);\n },\n\n /** List all stored credentials (for `wildo registry whoami --all`). */\n async list(): Promise<readonly RegistryCredentialEntry[]> {\n const file = await readFile();\n return file.credentials;\n },\n\n /**\n * Upsert a credential entry. The raw token is shown ONCE at\n * registry-side mint time — once persisted here, it's the only\n * surviving copy on the user's machine.\n */\n async set(input: SetCredentialInput): Promise<RegistryCredentialEntry> {\n const normalized = normalizeRegistryUrl(input.registryUrl);\n const file = await readFile();\n const others = file.credentials.filter((c) => c.registryUrl !== normalized);\n const next: RegistryCredentialEntry = {\n registryUrl: normalized,\n rawToken: input.rawToken,\n organizationId: input.organizationId,\n apiKeyId: input.apiKeyId,\n apiKeyName: input.apiKeyName,\n lastUsedAt: new Date().toISOString(),\n };\n await writeFile({ schemaVersion: 1, credentials: [...others, next] });\n return next;\n },\n\n /** Remove the credential for a registry URL. Returns true on hit. */\n async remove(registryUrl: string): Promise<boolean> {\n const normalized = normalizeRegistryUrl(registryUrl);\n const file = await readFile();\n const filtered = file.credentials.filter((c) => c.registryUrl !== normalized);\n if (filtered.length === file.credentials.length) return false;\n await writeFile({ schemaVersion: 1, credentials: filtered });\n return true;\n },\n\n /** Touch `lastUsedAt` after a successful authenticated call. */\n async touch(registryUrl: string): Promise<void> {\n const normalized = normalizeRegistryUrl(registryUrl);\n const file = await readFile();\n const idx = file.credentials.findIndex((c) => c.registryUrl === normalized);\n if (idx < 0) return;\n file.credentials[idx] = {\n ...file.credentials[idx],\n lastUsedAt: new Date().toISOString(),\n };\n await writeFile(file);\n },\n};\n"]}
|
|
1
|
+
{"version":3,"file":"registry-credentials.service.js","sourceRoot":"","sources":["../../../../../../src/services/registry/registry-credentials.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACvC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,8CAA8C,CAAC;AAE1E,MAAM,6BAA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AAI,CAAC;IACd,CAAC;IAED,gEAAgE;IAChE,KAAK,CAAC,KAAK,CAAC,WAAmB;QAC7B,MAAM,UAAU,GAAG,oBAAoB,CAAC,WAAW,CAAC,CAAC;QACrD,MAAM,IAAI,GAAG,MAAM,QAAQ,EAAE,CAAC;QAC9B,MAAM,GAAG,GAAG,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,KAAK,UAAU,CAAC,CAAC;QAC5E,IAAI,GAAG,GAAG,CAAC;YAAE,OAAO;QACpB,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,GAAG;YACtB,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC;YACxB,UAAU,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;SACrC,CAAC;QACF,MAAM,SAAS,CAAC,IAAI,CAAC,CAAC;IACxB,CAAC;CACF,CAAC","sourcesContent":["/**\n * Per-machine registry credentials store.\n *\n * Holds bearer tokens that authenticate the CLI against\n * `platform-module-registry` instances. Credentials live OUTSIDE the\n * SaaS app workspace (per KD-11 / Security model) — they're per-user,\n * per-machine, never committed alongside code.\n *\n * Storage: a single JSON file at `$WILDO_HOME/registry-credentials.json`\n * (defaults to `~/.wildo/registry-credentials.json`). The file is\n * group/world-unreadable (`chmod 0600`) so other users on shared\n * machines can't read tokens. Atomic write (temp file + rename) so\n * a SIGINT mid-write can't half-update the file.\n *\n * Lookups are keyed by **registry URL** (normalized: lowercased,\n * trailing-slash-stripped) — there's no notion of registry id at this\n * layer because credentials are issued per-server, not per-config-entry.\n * The resolver above this service translates a `--registry <id>` flag\n * to a URL before consulting the credential store.\n */\n\nimport * as fs from 'node:fs/promises';\nimport * as path from 'node:path';\nimport { z } from 'zod';\nimport { resolveMachineWildoHomePath } from '@wildo-ai/platform-config-lib';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\n\nconst RegistryCredentialEntrySchema = z.object({\n /** Normalized registry URL (lowercased, no trailing slash). */\n registryUrl: z.url(),\n /**\n * Display label (org name, api-key name) — surfaced by `whoami` so\n * the user knows which credential is active. Cached at login;\n * re-fetched on demand if absent.\n */\n organizationId: z.string().min(1).optional(),\n apiKeyId: z.string().min(1).optional(),\n apiKeyName: z.string().min(1).optional(),\n /** Raw bearer token (`wks_...`). Stored only here; never echoed back. */\n rawToken: z.string().min(1),\n /** ISO timestamp of last successful use (for staleness UX). */\n lastUsedAt: z.iso.datetime().optional(),\n});\nexport type RegistryCredentialEntry = z.infer<typeof RegistryCredentialEntrySchema>;\n\nconst RegistryCredentialFileSchema = z.object({\n schemaVersion: z.literal(1),\n credentials: z.array(RegistryCredentialEntrySchema).default([]),\n});\ntype RegistryCredentialFile = z.infer<typeof RegistryCredentialFileSchema>;\n\nconst FILE_BASENAME = 'registry-credentials.json';\n\n/** The machine Wildo home — one rule for every file there, `$WILDO_HOME` first (see `resolveMachineWildoHomePath`). */\nfunction defaultCredentialsRoot(): string {\n return resolveMachineWildoHomePath();\n}\n\nfunction credentialsFilePath(root: string = defaultCredentialsRoot()): string {\n return path.join(root, FILE_BASENAME);\n}\n\n/**\n * Normalize a registry URL so lookups are stable regardless of how\n * the user typed the flag — `Https://Registry.Wildo.AI/` and\n * `https://registry.wildo.ai` collapse to the same key.\n */\nexport function normalizeRegistryUrl(url: string): string {\n const lower = url.trim().toLowerCase();\n return lower.endsWith('/') ? lower.slice(0, -1) : lower;\n}\n\nasync function readFile(): Promise<RegistryCredentialFile> {\n const filePath = credentialsFilePath();\n try {\n const raw = await fs.readFile(filePath, 'utf8');\n const parsed = JSON.parse(raw) as unknown;\n return RegistryCredentialFileSchema.parse(parsed);\n } catch (err) {\n if ((err as NodeJS.ErrnoException).code === 'ENOENT') {\n return { schemaVersion: 1, credentials: [] };\n }\n throw err;\n }\n}\n\nasync function writeFile(file: RegistryCredentialFile): Promise<void> {\n const filePath = credentialsFilePath();\n await fs.mkdir(path.dirname(filePath), { recursive: true });\n const tmp = `${filePath}.${process.pid}.${Date.now()}.tmp`;\n await fs.writeFile(tmp, JSON.stringify(file, null, 2), { mode: 0o600 });\n // Belt-and-braces: `fs.writeFile`'s `mode` is umask-sensitive on\n // first create, so on hosts with a permissive umask the tmp file\n // can briefly be group-readable. `chmod` immediately closes that\n // window before the rename publishes the file.\n //\n // L11 (third-pass review): chmod failures used to be silently\n // swallowed. On non-POSIX hosts (Windows) chmod is intentionally\n // a no-op; on POSIX a failure is potentially security-relevant.\n // Log to stderr at warn-level instead of swallowing — operators\n // running with `WILDO_DEBUG=1` see the signal, normal users see\n // nothing change. We don't throw because the fallback (default\n // perms) is still acceptable for a credential file in $WILDO_HOME.\n await fs.chmod(tmp, 0o600).catch((err) => {\n if (process.platform !== 'win32') {\n console.warn(\n `[wildo-registry-credentials] chmod 0600 failed on tmp file (${tmp}): ${ErrorUtils.extractErrorMessage(err)}. ` +\n 'Credential file may be created with default umask permissions.',\n );\n }\n });\n await fs.rename(tmp, filePath);\n // Defensive again on the final path — `rename` preserves the tmp's\n // mode, but a pre-existing file may have looser perms from older\n // versions / manual edits.\n await fs.chmod(filePath, 0o600).catch((err) => {\n if (process.platform !== 'win32') {\n console.warn(\n `[wildo-registry-credentials] chmod 0600 failed on final path (${filePath}): ${ErrorUtils.extractErrorMessage(err)}. ` +\n 'Existing file may have looser permissions; consider \\`chmod 600\\` manually.',\n );\n }\n });\n}\n\nexport interface SetCredentialInput {\n registryUrl: string;\n rawToken: string;\n organizationId?: string;\n apiKeyId?: string;\n apiKeyName?: string;\n}\n\nexport const RegistryCredentialsService = {\n /**\n * Look up the credential for a given registry URL. Returns\n * `undefined` if no credential is stored.\n */\n async get(registryUrl: string): Promise<RegistryCredentialEntry | undefined> {\n const normalized = normalizeRegistryUrl(registryUrl);\n const file = await readFile();\n return file.credentials.find((c) => c.registryUrl === normalized);\n },\n\n /** List all stored credentials (for `wildo registry whoami --all`). */\n async list(): Promise<readonly RegistryCredentialEntry[]> {\n const file = await readFile();\n return file.credentials;\n },\n\n /**\n * Upsert a credential entry. The raw token is shown ONCE at\n * registry-side mint time — once persisted here, it's the only\n * surviving copy on the user's machine.\n */\n async set(input: SetCredentialInput): Promise<RegistryCredentialEntry> {\n const normalized = normalizeRegistryUrl(input.registryUrl);\n const file = await readFile();\n const others = file.credentials.filter((c) => c.registryUrl !== normalized);\n const next: RegistryCredentialEntry = {\n registryUrl: normalized,\n rawToken: input.rawToken,\n organizationId: input.organizationId,\n apiKeyId: input.apiKeyId,\n apiKeyName: input.apiKeyName,\n lastUsedAt: new Date().toISOString(),\n };\n await writeFile({ schemaVersion: 1, credentials: [...others, next] });\n return next;\n },\n\n /** Remove the credential for a registry URL. Returns true on hit. */\n async remove(registryUrl: string): Promise<boolean> {\n const normalized = normalizeRegistryUrl(registryUrl);\n const file = await readFile();\n const filtered = file.credentials.filter((c) => c.registryUrl !== normalized);\n if (filtered.length === file.credentials.length) return false;\n await writeFile({ schemaVersion: 1, credentials: filtered });\n return true;\n },\n\n /** Touch `lastUsedAt` after a successful authenticated call. */\n async touch(registryUrl: string): Promise<void> {\n const normalized = normalizeRegistryUrl(registryUrl);\n const file = await readFile();\n const idx = file.credentials.findIndex((c) => c.registryUrl === normalized);\n if (idx < 0) return;\n file.credentials[idx] = {\n ...file.credentials[idx],\n lastUsedAt: new Date().toISOString(),\n };\n await writeFile(file);\n },\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"saas-root-required.error.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"saas-root-required.error.d.ts","sourceRoot":"","sources":["../../../../../../src/services/registry/saas-root-required.error.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,qBAAa,qBAAsB,SAAQ,KAAK;IAC9C,QAAQ,CAAC,IAAI,EAAG,mCAAmC,CAAU;gBAEjD,IAAI,EAAE,MAAM;CAOzB"}
|
package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"csp-artifact-currency.live.contract.test.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"csp-artifact-currency.live.contract.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/services/security/__tests__/csp-artifact-currency.live.contract.test.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgEG"}
|
|
@@ -63,6 +63,7 @@
|
|
|
63
63
|
* surfaces the drifted service inline. The `--check` flag exists for a developer at a terminal; the
|
|
64
64
|
* contract is exercised here through the same service call the flag makes.
|
|
65
65
|
*/
|
|
66
|
+
import { execFileSync } from 'node:child_process';
|
|
66
67
|
import { existsSync, readdirSync, statSync } from 'node:fs';
|
|
67
68
|
import { dirname, join, relative, resolve } from 'node:path';
|
|
68
69
|
import { fileURLToPath } from 'node:url';
|
|
@@ -95,6 +96,21 @@ const CHECKED_ENV_NAME = 'local';
|
|
|
95
96
|
* resolution throw rather than report drift — a scaffolding-in-progress directory must not turn
|
|
96
97
|
* this gate red for a reason that has nothing to do with CSP.
|
|
97
98
|
*/
|
|
99
|
+
/**
|
|
100
|
+
* Whether git ignores this application root. A gitignored application — the `examples/scratch-*` apps a
|
|
101
|
+
* session creates to try something — commits nothing, so it has no committed artifact for this contract to
|
|
102
|
+
* guard, and a stale one there says nothing about the repository. Before this, a local scratch app with an
|
|
103
|
+
* old CSP artifact failed the suite on every developer machine that had one, and on none that did not.
|
|
104
|
+
*/
|
|
105
|
+
function isGitIgnored(path) {
|
|
106
|
+
try {
|
|
107
|
+
execFileSync('git', ['check-ignore', '-q', path], { cwd: REPO_ROOT, stdio: 'ignore' });
|
|
108
|
+
return true;
|
|
109
|
+
}
|
|
110
|
+
catch {
|
|
111
|
+
return false;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
98
114
|
function discoverApplications() {
|
|
99
115
|
if (!existsSync(EXAMPLES_ROOT)) {
|
|
100
116
|
return [];
|
|
@@ -102,7 +118,8 @@ function discoverApplications() {
|
|
|
102
118
|
return readdirSync(EXAMPLES_ROOT)
|
|
103
119
|
.filter((entry) => statSync(join(EXAMPLES_ROOT, entry)).isDirectory())
|
|
104
120
|
.map((app) => ({ app, saasRoot: join(EXAMPLES_ROOT, app) }))
|
|
105
|
-
.filter((candidate) =>
|
|
121
|
+
.filter((candidate) => !isGitIgnored(candidate.saasRoot) &&
|
|
122
|
+
existsSync(join(candidate.saasRoot, 'wildo.saas.config.ts')) &&
|
|
106
123
|
existsSync(join(candidate.saasRoot, 'infrastructure', CHECKED_ENV_NAME, 'wildo.infra.local.config.ts')))
|
|
107
124
|
.sort((left, right) => left.app.localeCompare(right.app));
|
|
108
125
|
}
|
|
@@ -123,7 +140,7 @@ function discoverCommittedArtifacts() {
|
|
|
123
140
|
const collected = [];
|
|
124
141
|
for (const app of readdirSync(EXAMPLES_ROOT)) {
|
|
125
142
|
const appRoot = join(EXAMPLES_ROOT, app);
|
|
126
|
-
if (!statSync(appRoot).isDirectory())
|
|
143
|
+
if (!statSync(appRoot).isDirectory() || isGitIgnored(appRoot))
|
|
127
144
|
continue;
|
|
128
145
|
for (const serviceDirectory of readdirSync(appRoot)) {
|
|
129
146
|
if (serviceDirectory === 'node_modules')
|
package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"csp-artifact-currency.live.contract.test.js","sourceRoot":"","sources":["../../../../../src/services/security/__tests__/csp-artifact-currency.live.contract.test.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgEG;AAEH,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,OAA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O,CACR,CAAC;IAEF;;;;;;;;;;;;OAYG;IACH,EAAE,CAAC,sFAAsF,EAAE,GAAG,EAAE;QAC9F,MAAM,SAAS,GAAG,mBAAmB,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,uBAAuB,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC;QAEnG,MAAM,CACJ,SAAS,EACT,SAAS,CAAC,MAAM,GAAG,CAAC;YAClB,CAAC,CAAC,kGAAkG;kBAChG,gGAAgG;kBAChG,kBAAkB,gBAAgB,yEAAyE;kBAC3G,sGAAsG;kBACtG,+CAA+C;YACnD,CAAC,CAAC,SAAS,CACd,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;IAChB,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["/**\n * Live contract test for the generated CSP artifacts (#513).\n *\n * Resolves every CSP-capable frontend service of EVERY dogfood application under `examples/` from\n * its real inputs — the platform baseline, the app-static block, the per-environment\n * `csp.<service>.extraDirectives` and the declared providers' own footprints — and asserts that the\n * committed `<service>/src/generated/csp.generated.json` AND every nginx marker pair under that\n * service's `nginx-config/` already say the same thing.\n *\n * ## The pipeline has two hops, and this gate covers both\n *\n * ```\n * config ──(1)──▶ <service>/src/generated/csp.generated.json ──(2)──▶ nginx marker region\n * ```\n *\n * Hop 1 is `reconcileGeneratedCspArtifacts`; hop 2 is `nginxCspMarkerPairsAreOutOfDate`, which\n * reuses the SAME pure rewriter the writing path is built on rather than re-parsing the markers\n * itself. Both are exercised here through one `CspSyncService.sync({ checkOnly: true })` call per\n * application, so the gate can never disagree with the generator it gates.\n *\n * `engine/saas-technical-doc`'s `csp-mirror-drift.test.ts` also guards hop 2, but ONLY for\n * `examples/<app>/technical-doc/` — the `'technical-doc'` path segment is hardcoded in both of its\n * discovery walks. That test compares a marker region against the committed artifact (through the\n * thin `src/csp.config.ts` re-exporter); this one compares it against a policy resolved FRESH from\n * the configuration, which is strictly stronger — a stale artifact fails hop 1 here before hop 2 is\n * ever consulted. It is deliberately NOT widened to the other services: doing so would need a\n * second marker parser competing with the rewriter, which is the \"a check that disagrees with the\n * thing it checks is worse than no check\" trade `csp-sync.service.ts` already refused.\n *\n * ## Why this gate exists\n *\n * Those artifacts are TRACKED and GENERATED, and until #513 nothing re-derived them. Measured\n * 2026-09-08 by running the command: the `website` artifact was **four months** behind its own\n * authored inputs (missing `connect-src http://localhost:4241`, authored 2026-08-11) and the `app`\n * artifact three weeks behind (missing `worker-src 'self' blob:`, authored 2026-08-19). Both\n * authors had written down what breaks without their directive — an empty PDF viewer, a\n * cross-origin capture form — and neither regenerated, because nothing asked them to.\n *\n * **Report-only is what let it accumulate.** Local CSP ships as\n * `Content-Security-Policy-Report-Only`, so a wrong policy produces no failing check, no test and\n * no error anyone reads. The first enforcement flip would have met a policy that had never once\n * been correct, and the failures would have landed on exactly the surfaces nobody exercises while\n * flipping a security header.\n *\n * ## Why the application is DISCOVERED rather than named\n *\n * This gate named `examples/wonder-todos` as a literal until 2026-09-09, so Wonder CRM — the active\n * dogfood application — had **no** config-to-artifact guard at all, and its\n * `frontend/nginx-config/default.conf` marker region was outside BOTH guards (the mirror test only\n * walks `technical-doc/`). That is the repository's most frequent defect shape: an invariant\n * applied at one of its N sites, where N grows the day somebody scaffolds an application.\n *\n * So the population is enumerated from the filesystem, and the \"guards the guard\" assertion below\n * is TOTAL over the committed artifacts rather than a count: every `csp.generated.json` that exists\n * on disk must have been RESOLVED by the walk. A discovery regression, a renamed service directory\n * or a fourth application therefore fails here instead of quietly shrinking the covered set — a\n * walk that matched nothing would otherwise report a clean repository and a broken gate identically.\n *\n * ## Why a vitest test rather than a `wildo dev sync-csp --check` subprocess\n *\n * Mirrors `check.live.contract.test.ts` and `framework-knowledge-audit.live.contract.test.ts`: it\n * runs in seconds without building the CLI binary or installing the example app, and a failure\n * surfaces the drifted service inline. The `--check` flag exists for a developer at a terminal; the\n * contract is exercised here through the same service call the flag makes.\n */\n\nimport { existsSync, readdirSync, statSync } from 'node:fs';\nimport { dirname, join, relative, resolve } from 'node:path';\nimport { fileURLToPath } from 'node:url';\n\nimport { describe, expect, it } from 'vitest';\n\nimport { CspSyncService } from '~wildo-cli/services/security/csp-sync.service';\n\nfunction resolveRepoRoot(): string {\n const here = dirname(fileURLToPath(import.meta.url));\n let cursor = here;\n for (let depth = 0; depth < 10; depth++) {\n if (existsSync(resolve(cursor, 'pnpm-workspace.yaml')) && existsSync(resolve(cursor, '.wildo-framework'))) {\n return cursor;\n }\n const parent = dirname(cursor);\n if (parent === cursor) break;\n cursor = parent;\n }\n throw new Error('Could not resolve the framework repository root from the CSP live contract test.');\n}\n\nconst REPO_ROOT = resolveRepoRoot();\nconst EXAMPLES_ROOT = join(REPO_ROOT, 'examples');\n\n/** The environment every dogfood application authors, and the only one a checkout can resolve. */\nconst CHECKED_ENV_NAME = 'local';\n\ninterface DiscoveredApplication {\n /** Directory name under `examples/`, used as the `it.each` label. */\n readonly app: string;\n readonly saasRoot: string;\n}\n\n/**\n * Every application under `examples/` that can actually be resolved.\n *\n * Both conditions are load-bearing. `wildo.saas.config.ts` is what makes a directory an\n * application at all; the authored `infrastructure/local/wildo.infra.local.config.ts` is what\n * `CspSyncService` reads for the per-environment override layer, and its absence would make the\n * resolution throw rather than report drift — a scaffolding-in-progress directory must not turn\n * this gate red for a reason that has nothing to do with CSP.\n */\nfunction discoverApplications(): readonly DiscoveredApplication[] {\n if (!existsSync(EXAMPLES_ROOT)) {\n return [];\n }\n\n return readdirSync(EXAMPLES_ROOT)\n .filter((entry) => statSync(join(EXAMPLES_ROOT, entry)).isDirectory())\n .map((app) => ({ app, saasRoot: join(EXAMPLES_ROOT, app) }))\n .filter(\n (candidate) =>\n existsSync(join(candidate.saasRoot, 'wildo.saas.config.ts')) &&\n existsSync(join(candidate.saasRoot, 'infrastructure', CHECKED_ENV_NAME, 'wildo.infra.local.config.ts')),\n )\n .sort((left, right) => left.app.localeCompare(right.app));\n}\n\n/**\n * Every committed `csp.generated.json` under `examples/`, as repo-relative paths.\n *\n * This is the POPULATION the coverage assertion is total over — read off the filesystem rather\n * than derived from the same config walk it is checking, so the two answers are independent. A\n * generated artifact is always at `<serviceRoot>/src/generated/csp.generated.json` and a service\n * root is always an immediate child of the application root, which is why one level of `readdir`\n * is enough and a recursive walk (which would descend into `node_modules` and `.wildo-saas`) is\n * not wanted here.\n */\nfunction discoverCommittedArtifacts(): readonly string[] {\n if (!existsSync(EXAMPLES_ROOT)) {\n return [];\n }\n\n const collected: string[] = [];\n for (const app of readdirSync(EXAMPLES_ROOT)) {\n const appRoot = join(EXAMPLES_ROOT, app);\n if (!statSync(appRoot).isDirectory()) continue;\n\n for (const serviceDirectory of readdirSync(appRoot)) {\n if (serviceDirectory === 'node_modules') continue;\n const serviceRoot = join(appRoot, serviceDirectory);\n if (!statSync(serviceRoot).isDirectory()) continue;\n\n const artifactPath = join(serviceRoot, 'src', 'generated', 'csp.generated.json');\n if (existsSync(artifactPath)) {\n collected.push(relative(REPO_ROOT, artifactPath));\n }\n }\n }\n return collected.sort();\n}\n\nconst APPLICATIONS = discoverApplications();\nconst COMMITTED_ARTIFACTS = discoverCommittedArtifacts();\n\n/**\n * Collected by the per-application tests below and read by the coverage assertion.\n *\n * A module-level mutable accumulator rather than a second resolution pass: resolving every\n * application's configuration twice roughly doubles the gate's runtime for no additional evidence,\n * and the coverage question is exactly \"did the runs that just happened touch every artifact\".\n */\nconst RESOLVED_ARTIFACT_PATHS = new Set<string>();\n\ndescribe('generated CSP artifacts — live contract against every dogfood application', () => {\n it('discovers the dogfood applications and their committed artifacts', () => {\n // Two independent walks, both non-empty. Either returning zero would make every assertion\n // below vacuous, which is the false-green shape this whole area keeps losing time to.\n expect(\n APPLICATIONS.map((application) => application.app),\n `expected at least one application under ${EXAMPLES_ROOT} carrying both wildo.saas.config.ts and `\n + `infrastructure/${CHECKED_ENV_NAME}/wildo.infra.local.config.ts, found none.`,\n ).not.toEqual([]);\n expect(\n COMMITTED_ARTIFACTS,\n `expected at least one committed <service>/src/generated/csp.generated.json under ${EXAMPLES_ROOT}, found none.`,\n ).not.toEqual([]);\n });\n\n it.each(APPLICATIONS)(\n '$app — every committed artifact still describes its own inputs, and every marker region mirrors it',\n async ({ app, saasRoot }) => {\n const result = await CspSyncService.sync({\n saasRoot,\n envName: CHECKED_ENV_NAME,\n env: process.env,\n // Non-negotiable here: a gate that repaired the drift it was asked to report would pass\n // CI while leaving the committed artifact wrong, which is the failure this gate is for.\n checkOnly: true,\n });\n\n for (const service of result.services) {\n RESOLVED_ARTIFACT_PATHS.add(relative(REPO_ROOT, resolve(saasRoot, service.generatedArtifactPath)));\n }\n\n expect(\n result.services.map((service) => service.serviceKey),\n `${app} resolved no CSP-capable frontend service at all. Either the application genuinely has none `\n + '(then it should not have reached this gate) or the service walk broke.',\n ).not.toEqual([]);\n expect(result.services.every((service) => service.wroteChanges === false)).toBe(true);\n\n const stale = result.services.filter(\n (service) => service.generatedArtifactOutOfDate || service.outOfDateNginxFiles.length > 0,\n );\n\n expect(\n stale.map((service) => ({\n service: service.serviceKey,\n artifact: service.generatedArtifactOutOfDate ? service.generatedArtifactPath : null,\n nginx: service.outOfDateNginxFiles,\n })),\n stale.length > 0\n ? 'Generated CSP artifacts no longer describe their inputs. Run `wildo dev sync-csp` in '\n + `examples/${app} and commit the result. These files are generated AND tracked, and local `\n + 'CSP is report-only — so a drifted one is a policy that has never been correct and nothing else '\n + 'will say so until somebody enforces it (#513). An `artifact` entry is the config-to-artifact hop; '\n + 'an `nginx` entry is the artifact-to-marker-region hop.'\n : undefined,\n ).toEqual([]);\n },\n 120_000,\n );\n\n /**\n * Guards the guard, TOTALLY rather than by a count.\n *\n * Runs last on purpose — it reads what the per-application tests resolved. Vitest executes the\n * `it`s of one file in declaration order within a single worker, so the accumulator is populated\n * by the time this reads it; were that ever to stop holding, this assertion fails loudly (the\n * resolved set would be empty) rather than passing vacuously, which is the safe direction.\n *\n * The failure it exists to catch: a committed artifact that no application's service walk claims.\n * That is what \"Wonder CRM was never checked\" looked like from the outside — two tracked,\n * generated files that nothing on earth re-derived — and a count-based assertion\n * (`length >= 3`) reported the repository clean throughout.\n */\n it('every committed csp.generated.json under examples/ was resolved by one of those runs', () => {\n const unclaimed = COMMITTED_ARTIFACTS.filter((artifact) => !RESOLVED_ARTIFACT_PATHS.has(artifact));\n\n expect(\n unclaimed,\n unclaimed.length > 0\n ? 'These committed CSP artifacts were not produced by any application resolution above, so NOTHING '\n + 'checks that they still describe their own inputs. Either the owning application is missing an '\n + `infrastructure/${CHECKED_ENV_NAME}/wildo.infra.local.config.ts (so discovery skipped it), its service is `\n + 'no longer declared as a CSP-capable frontend in wildo.saas.config.ts, or the artifact is a leftover '\n + 'from a deleted service and should be removed.'\n : undefined,\n ).toEqual([]);\n });\n});\n"]}
|
|
1
|
+
{"version":3,"file":"csp-artifact-currency.live.contract.test.js","sourceRoot":"","sources":["../../../../../../../src/services/security/__tests__/csp-artifact-currency.live.contract.test.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgEG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAE9C,OAAO,EAAE,cAAc,EAAE,MAAM,+CAA+C,CAAC;AAE/E,SAAS,eAAe;IACtB,MAAM,IAAI,GAAG,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;IACrD,IAAI,M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OAAO,CAAC,EAAE,CAAC,CAAC;IAChB,CAAC,EACD,OAAO,CACR,CAAC;IAEF;;;;;;;;;;;;OAYG;IACH,EAAE,CAAC,sFAAsF,EAAE,GAAG,EAAE;QAC9F,MAAM,SAAS,GAAG,mBAAmB,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,uBAAuB,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC;QAEnG,MAAM,CACJ,SAAS,EACT,SAAS,CAAC,MAAM,GAAG,CAAC;YAClB,CAAC,CAAC,kGAAkG;kBAChG,gGAAgG;kBAChG,kBAAkB,gBAAgB,yEAAyE;kBAC3G,sGAAsG;kBACtG,+CAA+C;YACnD,CAAC,CAAC,SAAS,CACd,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;IAChB,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["/**\n * Live contract test for the generated CSP artifacts (#513).\n *\n * Resolves every CSP-capable frontend service of EVERY dogfood application under `examples/` from\n * its real inputs — the platform baseline, the app-static block, the per-environment\n * `csp.<service>.extraDirectives` and the declared providers' own footprints — and asserts that the\n * committed `<service>/src/generated/csp.generated.json` AND every nginx marker pair under that\n * service's `nginx-config/` already say the same thing.\n *\n * ## The pipeline has two hops, and this gate covers both\n *\n * ```\n * config ──(1)──▶ <service>/src/generated/csp.generated.json ──(2)──▶ nginx marker region\n * ```\n *\n * Hop 1 is `reconcileGeneratedCspArtifacts`; hop 2 is `nginxCspMarkerPairsAreOutOfDate`, which\n * reuses the SAME pure rewriter the writing path is built on rather than re-parsing the markers\n * itself. Both are exercised here through one `CspSyncService.sync({ checkOnly: true })` call per\n * application, so the gate can never disagree with the generator it gates.\n *\n * `engine/saas-technical-doc`'s `csp-mirror-drift.test.ts` also guards hop 2, but ONLY for\n * `examples/<app>/technical-doc/` — the `'technical-doc'` path segment is hardcoded in both of its\n * discovery walks. That test compares a marker region against the committed artifact (through the\n * thin `src/csp.config.ts` re-exporter); this one compares it against a policy resolved FRESH from\n * the configuration, which is strictly stronger — a stale artifact fails hop 1 here before hop 2 is\n * ever consulted. It is deliberately NOT widened to the other services: doing so would need a\n * second marker parser competing with the rewriter, which is the \"a check that disagrees with the\n * thing it checks is worse than no check\" trade `csp-sync.service.ts` already refused.\n *\n * ## Why this gate exists\n *\n * Those artifacts are TRACKED and GENERATED, and until #513 nothing re-derived them. Measured\n * 2026-09-08 by running the command: the `website` artifact was **four months** behind its own\n * authored inputs (missing `connect-src http://localhost:4241`, authored 2026-08-11) and the `app`\n * artifact three weeks behind (missing `worker-src 'self' blob:`, authored 2026-08-19). Both\n * authors had written down what breaks without their directive — an empty PDF viewer, a\n * cross-origin capture form — and neither regenerated, because nothing asked them to.\n *\n * **Report-only is what let it accumulate.** Local CSP ships as\n * `Content-Security-Policy-Report-Only`, so a wrong policy produces no failing check, no test and\n * no error anyone reads. The first enforcement flip would have met a policy that had never once\n * been correct, and the failures would have landed on exactly the surfaces nobody exercises while\n * flipping a security header.\n *\n * ## Why the application is DISCOVERED rather than named\n *\n * This gate named `examples/wonder-todos` as a literal until 2026-09-09, so Wonder CRM — the active\n * dogfood application — had **no** config-to-artifact guard at all, and its\n * `frontend/nginx-config/default.conf` marker region was outside BOTH guards (the mirror test only\n * walks `technical-doc/`). That is the repository's most frequent defect shape: an invariant\n * applied at one of its N sites, where N grows the day somebody scaffolds an application.\n *\n * So the population is enumerated from the filesystem, and the \"guards the guard\" assertion below\n * is TOTAL over the committed artifacts rather than a count: every `csp.generated.json` that exists\n * on disk must have been RESOLVED by the walk. A discovery regression, a renamed service directory\n * or a fourth application therefore fails here instead of quietly shrinking the covered set — a\n * walk that matched nothing would otherwise report a clean repository and a broken gate identically.\n *\n * ## Why a vitest test rather than a `wildo dev sync-csp --check` subprocess\n *\n * Mirrors `check.live.contract.test.ts` and `framework-knowledge-audit.live.contract.test.ts`: it\n * runs in seconds without building the CLI binary or installing the example app, and a failure\n * surfaces the drifted service inline. The `--check` flag exists for a developer at a terminal; the\n * contract is exercised here through the same service call the flag makes.\n */\n\nimport { execFileSync } from 'node:child_process';\nimport { existsSync, readdirSync, statSync } from 'node:fs';\nimport { dirname, join, relative, resolve } from 'node:path';\nimport { fileURLToPath } from 'node:url';\n\nimport { describe, expect, it } from 'vitest';\n\nimport { CspSyncService } from '~wildo-cli/services/security/csp-sync.service';\n\nfunction resolveRepoRoot(): string {\n const here = dirname(fileURLToPath(import.meta.url));\n let cursor = here;\n for (let depth = 0; depth < 10; depth++) {\n if (existsSync(resolve(cursor, 'pnpm-workspace.yaml')) && existsSync(resolve(cursor, '.wildo-framework'))) {\n return cursor;\n }\n const parent = dirname(cursor);\n if (parent === cursor) break;\n cursor = parent;\n }\n throw new Error('Could not resolve the framework repository root from the CSP live contract test.');\n}\n\nconst REPO_ROOT = resolveRepoRoot();\nconst EXAMPLES_ROOT = join(REPO_ROOT, 'examples');\n\n/** The environment every dogfood application authors, and the only one a checkout can resolve. */\nconst CHECKED_ENV_NAME = 'local';\n\ninterface DiscoveredApplication {\n /** Directory name under `examples/`, used as the `it.each` label. */\n readonly app: string;\n readonly saasRoot: string;\n}\n\n/**\n * Every application under `examples/` that can actually be resolved.\n *\n * Both conditions are load-bearing. `wildo.saas.config.ts` is what makes a directory an\n * application at all; the authored `infrastructure/local/wildo.infra.local.config.ts` is what\n * `CspSyncService` reads for the per-environment override layer, and its absence would make the\n * resolution throw rather than report drift — a scaffolding-in-progress directory must not turn\n * this gate red for a reason that has nothing to do with CSP.\n */\n/**\n * Whether git ignores this application root. A gitignored application — the `examples/scratch-*` apps a\n * session creates to try something — commits nothing, so it has no committed artifact for this contract to\n * guard, and a stale one there says nothing about the repository. Before this, a local scratch app with an\n * old CSP artifact failed the suite on every developer machine that had one, and on none that did not.\n */\nfunction isGitIgnored(path: string): boolean {\n try {\n execFileSync('git', ['check-ignore', '-q', path], { cwd: REPO_ROOT, stdio: 'ignore' });\n return true;\n } catch {\n return false;\n }\n}\n\nfunction discoverApplications(): readonly DiscoveredApplication[] {\n if (!existsSync(EXAMPLES_ROOT)) {\n return [];\n }\n\n return readdirSync(EXAMPLES_ROOT)\n .filter((entry) => statSync(join(EXAMPLES_ROOT, entry)).isDirectory())\n .map((app) => ({ app, saasRoot: join(EXAMPLES_ROOT, app) }))\n .filter(\n (candidate) =>\n !isGitIgnored(candidate.saasRoot) &&\n existsSync(join(candidate.saasRoot, 'wildo.saas.config.ts')) &&\n existsSync(join(candidate.saasRoot, 'infrastructure', CHECKED_ENV_NAME, 'wildo.infra.local.config.ts')),\n )\n .sort((left, right) => left.app.localeCompare(right.app));\n}\n\n/**\n * Every committed `csp.generated.json` under `examples/`, as repo-relative paths.\n *\n * This is the POPULATION the coverage assertion is total over — read off the filesystem rather\n * than derived from the same config walk it is checking, so the two answers are independent. A\n * generated artifact is always at `<serviceRoot>/src/generated/csp.generated.json` and a service\n * root is always an immediate child of the application root, which is why one level of `readdir`\n * is enough and a recursive walk (which would descend into `node_modules` and `.wildo-saas`) is\n * not wanted here.\n */\nfunction discoverCommittedArtifacts(): readonly string[] {\n if (!existsSync(EXAMPLES_ROOT)) {\n return [];\n }\n\n const collected: string[] = [];\n for (const app of readdirSync(EXAMPLES_ROOT)) {\n const appRoot = join(EXAMPLES_ROOT, app);\n if (!statSync(appRoot).isDirectory() || isGitIgnored(appRoot)) continue;\n\n for (const serviceDirectory of readdirSync(appRoot)) {\n if (serviceDirectory === 'node_modules') continue;\n const serviceRoot = join(appRoot, serviceDirectory);\n if (!statSync(serviceRoot).isDirectory()) continue;\n\n const artifactPath = join(serviceRoot, 'src', 'generated', 'csp.generated.json');\n if (existsSync(artifactPath)) {\n collected.push(relative(REPO_ROOT, artifactPath));\n }\n }\n }\n return collected.sort();\n}\n\nconst APPLICATIONS = discoverApplications();\nconst COMMITTED_ARTIFACTS = discoverCommittedArtifacts();\n\n/**\n * Collected by the per-application tests below and read by the coverage assertion.\n *\n * A module-level mutable accumulator rather than a second resolution pass: resolving every\n * application's configuration twice roughly doubles the gate's runtime for no additional evidence,\n * and the coverage question is exactly \"did the runs that just happened touch every artifact\".\n */\nconst RESOLVED_ARTIFACT_PATHS = new Set<string>();\n\ndescribe('generated CSP artifacts — live contract against every dogfood application', () => {\n it('discovers the dogfood applications and their committed artifacts', () => {\n // Two independent walks, both non-empty. Either returning zero would make every assertion\n // below vacuous, which is the false-green shape this whole area keeps losing time to.\n expect(\n APPLICATIONS.map((application) => application.app),\n `expected at least one application under ${EXAMPLES_ROOT} carrying both wildo.saas.config.ts and `\n + `infrastructure/${CHECKED_ENV_NAME}/wildo.infra.local.config.ts, found none.`,\n ).not.toEqual([]);\n expect(\n COMMITTED_ARTIFACTS,\n `expected at least one committed <service>/src/generated/csp.generated.json under ${EXAMPLES_ROOT}, found none.`,\n ).not.toEqual([]);\n });\n\n it.each(APPLICATIONS)(\n '$app — every committed artifact still describes its own inputs, and every marker region mirrors it',\n async ({ app, saasRoot }) => {\n const result = await CspSyncService.sync({\n saasRoot,\n envName: CHECKED_ENV_NAME,\n env: process.env,\n // Non-negotiable here: a gate that repaired the drift it was asked to report would pass\n // CI while leaving the committed artifact wrong, which is the failure this gate is for.\n checkOnly: true,\n });\n\n for (const service of result.services) {\n RESOLVED_ARTIFACT_PATHS.add(relative(REPO_ROOT, resolve(saasRoot, service.generatedArtifactPath)));\n }\n\n expect(\n result.services.map((service) => service.serviceKey),\n `${app} resolved no CSP-capable frontend service at all. Either the application genuinely has none `\n + '(then it should not have reached this gate) or the service walk broke.',\n ).not.toEqual([]);\n expect(result.services.every((service) => service.wroteChanges === false)).toBe(true);\n\n const stale = result.services.filter(\n (service) => service.generatedArtifactOutOfDate || service.outOfDateNginxFiles.length > 0,\n );\n\n expect(\n stale.map((service) => ({\n service: service.serviceKey,\n artifact: service.generatedArtifactOutOfDate ? service.generatedArtifactPath : null,\n nginx: service.outOfDateNginxFiles,\n })),\n stale.length > 0\n ? 'Generated CSP artifacts no longer describe their inputs. Run `wildo dev sync-csp` in '\n + `examples/${app} and commit the result. These files are generated AND tracked, and local `\n + 'CSP is report-only — so a drifted one is a policy that has never been correct and nothing else '\n + 'will say so until somebody enforces it (#513). An `artifact` entry is the config-to-artifact hop; '\n + 'an `nginx` entry is the artifact-to-marker-region hop.'\n : undefined,\n ).toEqual([]);\n },\n 120_000,\n );\n\n /**\n * Guards the guard, TOTALLY rather than by a count.\n *\n * Runs last on purpose — it reads what the per-application tests resolved. Vitest executes the\n * `it`s of one file in declaration order within a single worker, so the accumulator is populated\n * by the time this reads it; were that ever to stop holding, this assertion fails loudly (the\n * resolved set would be empty) rather than passing vacuously, which is the safe direction.\n *\n * The failure it exists to catch: a committed artifact that no application's service walk claims.\n * That is what \"Wonder CRM was never checked\" looked like from the outside — two tracked,\n * generated files that nothing on earth re-derived — and a count-based assertion\n * (`length >= 3`) reported the repository clean throughout.\n */\n it('every committed csp.generated.json under examples/ was resolved by one of those runs', () => {\n const unclaimed = COMMITTED_ARTIFACTS.filter((artifact) => !RESOLVED_ARTIFACT_PATHS.has(artifact));\n\n expect(\n unclaimed,\n unclaimed.length > 0\n ? 'These committed CSP artifacts were not produced by any application resolution above, so NOTHING '\n + 'checks that they still describe their own inputs. Either the owning application is missing an '\n + `infrastructure/${CHECKED_ENV_NAME}/wildo.infra.local.config.ts (so discovery skipped it), its service is `\n + 'no longer declared as a CSP-capable frontend in wildo.saas.config.ts, or the artifact is a leftover '\n + 'from a deleted service and should be removed.'\n : undefined,\n ).toEqual([]);\n });\n});\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"csp-boundary.test.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"csp-boundary.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/services/security/__tests__/csp-boundary.test.ts"],"names":[],"mappings":""}
|
|
@@ -60,25 +60,29 @@ describe('Wonder Todos CSP ownership boundaries', () => {
|
|
|
60
60
|
expect(source).not.toContain('csp-sync.utils');
|
|
61
61
|
}
|
|
62
62
|
});
|
|
63
|
-
|
|
63
|
+
/**
|
|
64
|
+
* The CSP is synced BEFORE the image build, never inside it. An in-image `wildo dev sync-csp` had no environment,
|
|
65
|
+
* fell back to `local`, and baked the local `connect-src` into staging and production nginx configs (retired in
|
|
66
|
+
* 81f9fbfa). The generated deploy workflow now runs `wildo dev sync-csp --env=<env>` on the checkout ahead of every
|
|
67
|
+
* build — that ordering is pinned in `deployment-template-contracts.test.ts` — so each image only COPIES the synced
|
|
68
|
+
* nginx config out of the builder stage.
|
|
69
|
+
*/
|
|
70
|
+
it('keeps Dockerfiles as consumers of the pre-build CSP sync, never re-syncing in-image', () => {
|
|
64
71
|
const surfaces = [
|
|
65
72
|
{
|
|
66
73
|
dockerfile: 'frontend/Dockerfile',
|
|
67
|
-
serviceKey: 'app',
|
|
68
74
|
expectedNginxCopies: [
|
|
69
75
|
'COPY --from=builder /workspace/examples/wonder-todos/frontend/nginx-config/default.conf /etc/nginx/conf.d/default.conf',
|
|
70
76
|
],
|
|
71
77
|
},
|
|
72
78
|
{
|
|
73
79
|
dockerfile: 'website/Dockerfile',
|
|
74
|
-
serviceKey: 'website',
|
|
75
80
|
expectedNginxCopies: [
|
|
76
81
|
'COPY --from=builder /workspace/examples/wonder-todos/website/nginx-config/default.conf /etc/nginx/conf.d/default.conf',
|
|
77
82
|
],
|
|
78
83
|
},
|
|
79
84
|
{
|
|
80
85
|
dockerfile: 'technical-doc/Dockerfile',
|
|
81
|
-
serviceKey: 'docs',
|
|
82
86
|
expectedNginxCopies: [
|
|
83
87
|
'COPY --from=builder /workspace/examples/wonder-todos/technical-doc/nginx-config/sites-enabled/ /etc/nginx/sites-enabled/',
|
|
84
88
|
'COPY --from=builder /workspace/examples/wonder-todos/technical-doc/nginx-config/location/ /etc/nginx/location/',
|
|
@@ -87,9 +91,9 @@ describe('Wonder Todos CSP ownership boundaries', () => {
|
|
|
87
91
|
];
|
|
88
92
|
for (const surface of surfaces) {
|
|
89
93
|
const source = readWorkspaceFile(surface.dockerfile);
|
|
90
|
-
expect(source).toContain(
|
|
91
|
-
expect(source).
|
|
92
|
-
expect(source).not.toContain('RUN pnpm sync:nginx-csp');
|
|
94
|
+
expect(source, surface.dockerfile).not.toContain(CLI_SOURCE_INVOCATION);
|
|
95
|
+
expect(source, surface.dockerfile).not.toMatch(/^RUN .*\bsync-csp\b/m);
|
|
96
|
+
expect(source, surface.dockerfile).not.toContain('RUN pnpm sync:nginx-csp');
|
|
93
97
|
for (const expectedCopy of surface.expectedNginxCopies) {
|
|
94
98
|
expect(source).toContain(expectedCopy);
|
|
95
99
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"csp-boundary.test.js","sourceRoot":"","sources":["../../../../../../../src/services/security/__tests__/csp-boundary.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAE9C,MAAM,SAAS,GAAG,OAAO,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,UAAU,CAAC,CAAC;AACrD,MAAM,WAAW,GAAG,OAAO,CAAC,SAAS,EAAE,uBAAuB,CAAC,CAAC;AAChE,MAAM,qBAAqB,GACzB,yIAAyI,CAAC;AAE5I,SAAS,iBAAiB,CAAC,YAAoB;IAC7C,OAAO,YAAY,CAAC,OAAO,CAAC,WAAW,EAAE,YAAY,CAAC,EAAE,OAAO,CAAC,CAAC;AACnE,CAAC;AAED,SAAS,eAAe,CAAC,YAAoB;IAC3C,OAAO,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAC,YAAY,CAAC,CAAyC,CAAC;AAC7F,CAAC;AAED,QAAQ,CAAC,uCAAuC,EAAE,GAAG,EAAE;IACrD,EAAE,CAAC,+CAA+C,EAAE,GAAG,EAAE;QACvD,MAAM,YAAY,GAAG;YACnB,uBAAuB;YACvB,s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AAK,MAAM,YAAY,IAAI,aAAa,EAAE,CAAC;YACzC,MAAM,MAAM,GAAG,iBAAiB,CAAC,YAAY,CAAC,CAAC;YAC/C,MAAM,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,oBAAoB,CAAC,CAAC;YAC/C,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,kBAAkB,CAAC,CAAC;YACjD,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,kBAAkB,CAAC,CAAC;YACjD,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,4BAA4B,CAAC,CAAC;YAC3D,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,iBAAiB,CAAC,CAAC;YAChD,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;QACjD,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"csp-boundary.test.js","sourceRoot":"","sources":["../../../../../../../src/services/security/__tests__/csp-boundary.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAE9C,MAAM,SAAS,GAAG,OAAO,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,UAAU,CAAC,CAAC;AACrD,MAAM,WAAW,GAAG,OAAO,CAAC,SAAS,EAAE,uBAAuB,CAAC,CAAC;AAChE,MAAM,qBAAqB,GACzB,yIAAyI,CAAC;AAE5I,SAAS,iBAAiB,CAAC,YAAoB;IAC7C,OAAO,YAAY,CAAC,OAAO,CAAC,WAAW,EAAE,YAAY,CAAC,EAAE,OAAO,CAAC,CAAC;AACn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F,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC/B,MAAM,MAAM,GAAG,iBAAiB,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;YACrD,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,qBAAqB,CAAC,CAAC;YACxE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC;YACvE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,yBAAyB,CAAC,CAAC;YAE5E,KAAK,MAAM,YAAY,IAAI,OAAO,CAAC,mBAAmB,EAAE,CAAC;gBACvD,MAAM,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC;YACzC,CAAC;QACH,CAAC;IACH,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { existsSync, readFileSync } from 'node:fs';\nimport { resolve } from 'node:path';\nimport { describe, expect, it } from 'vitest';\n\nconst REPO_ROOT = resolve(process.cwd(), '../../..');\nconst WONDER_ROOT = resolve(REPO_ROOT, 'examples/wonder-todos');\nconst CLI_SOURCE_INVOCATION =\n 'pnpm exec tsx --tsconfig ../../../platform/factory/wildo-cli/tsconfig.json ../../../platform/factory/wildo-cli/src/main.ts dev sync-csp';\n\nfunction readWorkspaceFile(relativePath: string): string {\n return readFileSync(resolve(WONDER_ROOT, relativePath), 'utf-8');\n}\n\nfunction readPackageJson(relativePath: string): { scripts?: Record<string, string> } {\n return JSON.parse(readWorkspaceFile(relativePath)) as { scripts?: Record<string, string> };\n}\n\ndescribe('Wonder Todos CSP ownership boundaries', () => {\n it('keeps CSP sync out of service package scripts', () => {\n const packageFiles = [\n 'frontend/package.json',\n 'website/package.json',\n 'technical-doc/package.json',\n ];\n\n for (const packageFile of packageFiles) {\n const scripts = readPackageJson(packageFile).scripts ?? {};\n expect(scripts).not.toHaveProperty('sync:nginx-csp');\n for (const [scriptName, command] of Object.entries(scripts)) {\n expect(`${packageFile}:${scriptName}`).not.toContain('sync:nginx-csp');\n expect(command).not.toContain('sync:nginx-csp');\n expect(command).not.toContain('dev sync-csp');\n }\n }\n });\n\n it('keeps retired service-local CSP processors deleted', () => {\n const retiredFiles = [\n 'scripts/csp-sync.utils.ts',\n 'frontend/scripts/csp-sync.shared.ts',\n 'frontend/scripts/sync-nginx-csp.ts',\n 'frontend/src/csp-sync.shared.ts',\n 'website/scripts/csp-sync.shared.ts',\n 'website/scripts/sync-nginx-csp.ts',\n 'website/src/csp-sync.shared.ts',\n 'technical-doc/scripts/csp-sync.shared.ts',\n 'technical-doc/scripts/sync-nginx-csp.ts',\n 'technical-doc/src/csp-sync.shared.ts',\n ];\n\n for (const retiredFile of retiredFiles) {\n expect(existsSync(resolve(WONDER_ROOT, retiredFile)), retiredFile).toBe(false);\n }\n });\n\n it('keeps service csp.config modules as generated-artifact consumers', () => {\n const consumerFiles = [\n 'frontend/src/csp.config.ts',\n 'website/src/csp.config.ts',\n 'technical-doc/src/csp.config.ts',\n ];\n\n for (const consumerFile of consumerFiles) {\n const source = readWorkspaceFile(consumerFile);\n expect(source).toContain('csp.generated.json');\n expect(source).not.toContain('resolveCspPolicy');\n expect(source).not.toContain('emitCspArtifacts');\n expect(source).not.toContain('rewriteNginxCspMarkerPairs');\n expect(source).not.toContain('csp-sync.shared');\n expect(source).not.toContain('csp-sync.utils');\n }\n });\n\n /**\n * The CSP is synced BEFORE the image build, never inside it. An in-image `wildo dev sync-csp` had no environment,\n * fell back to `local`, and baked the local `connect-src` into staging and production nginx configs (retired in\n * 81f9fbfa). The generated deploy workflow now runs `wildo dev sync-csp --env=<env>` on the checkout ahead of every\n * build — that ordering is pinned in `deployment-template-contracts.test.ts` — so each image only COPIES the synced\n * nginx config out of the builder stage.\n */\n it('keeps Dockerfiles as consumers of the pre-build CSP sync, never re-syncing in-image', () => {\n const surfaces = [\n {\n dockerfile: 'frontend/Dockerfile',\n expectedNginxCopies: [\n 'COPY --from=builder /workspace/examples/wonder-todos/frontend/nginx-config/default.conf /etc/nginx/conf.d/default.conf',\n ],\n },\n {\n dockerfile: 'website/Dockerfile',\n expectedNginxCopies: [\n 'COPY --from=builder /workspace/examples/wonder-todos/website/nginx-config/default.conf /etc/nginx/conf.d/default.conf',\n ],\n },\n {\n dockerfile: 'technical-doc/Dockerfile',\n expectedNginxCopies: [\n 'COPY --from=builder /workspace/examples/wonder-todos/technical-doc/nginx-config/sites-enabled/ /etc/nginx/sites-enabled/',\n 'COPY --from=builder /workspace/examples/wonder-todos/technical-doc/nginx-config/location/ /etc/nginx/location/',\n ],\n },\n ];\n\n for (const surface of surfaces) {\n const source = readWorkspaceFile(surface.dockerfile);\n expect(source, surface.dockerfile).not.toContain(CLI_SOURCE_INVOCATION);\n expect(source, surface.dockerfile).not.toMatch(/^RUN .*\\bsync-csp\\b/m);\n expect(source, surface.dockerfile).not.toContain('RUN pnpm sync:nginx-csp');\n\n for (const expectedCopy of surface.expectedNginxCopies) {\n expect(source).toContain(expectedCopy);\n }\n }\n });\n});\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"csp-sync.service.test.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"csp-sync.service.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/services/security/__tests__/csp-sync.service.test.ts"],"names":[],"mappings":""}
|