@wildo-ai/wildo-cli 1.1.11 → 1.1.13
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/bin/wildo.js.map +1 -1
- package/dist/src/commands/acp/probe.command.d.ts.map +1 -1
- 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 +5 -3
- package/dist/src/commands/align-deps.command.js.map +1 -1
- package/dist/src/commands/assets/sync.command.d.ts.map +1 -1
- package/dist/src/commands/assets/sync.command.js.map +1 -1
- package/dist/src/commands/assurance/assurance-command.utils.d.ts +14 -0
- package/dist/src/commands/assurance/assurance-command.utils.d.ts.map +1 -0
- package/dist/src/commands/assurance/assurance-command.utils.js +36 -0
- package/dist/src/commands/assurance/assurance-command.utils.js.map +1 -0
- package/dist/src/commands/assurance/report.command.d.ts +14 -0
- package/dist/src/commands/assurance/report.command.d.ts.map +1 -0
- package/dist/src/commands/assurance/report.command.js +28 -0
- package/dist/src/commands/assurance/report.command.js.map +1 -0
- package/dist/src/commands/assurance/run.command.d.ts +16 -0
- package/dist/src/commands/assurance/run.command.d.ts.map +1 -0
- package/dist/src/commands/assurance/run.command.js +49 -0
- package/dist/src/commands/assurance/run.command.js.map +1 -0
- package/dist/src/commands/assurance/schedule.command.d.ts +15 -0
- package/dist/src/commands/assurance/schedule.command.d.ts.map +1 -0
- package/dist/src/commands/assurance/schedule.command.js +49 -0
- package/dist/src/commands/assurance/schedule.command.js.map +1 -0
- package/dist/src/commands/blueprint/pack.command.d.ts.map +1 -1
- package/dist/src/commands/blueprint/pack.command.js.map +1 -1
- package/dist/src/commands/blueprint/publish.command.d.ts.map +1 -1
- package/dist/src/commands/blueprint/publish.command.js.map +1 -1
- package/dist/src/commands/blueprint/status.command.d.ts.map +1 -1
- package/dist/src/commands/blueprint/status.command.js.map +1 -1
- package/dist/src/commands/brand/propagate.command.d.ts.map +1 -1
- package/dist/src/commands/brand/propagate.command.js.map +1 -1
- package/dist/src/commands/build/accept.command.d.ts +4 -0
- package/dist/src/commands/build/accept.command.d.ts.map +1 -1
- package/dist/src/commands/build/accept.command.js +10 -1
- package/dist/src/commands/build/accept.command.js.map +1 -1
- package/dist/src/commands/build/approve.command.d.ts +18 -0
- package/dist/src/commands/build/approve.command.d.ts.map +1 -0
- package/dist/src/commands/build/approve.command.js +45 -0
- package/dist/src/commands/build/approve.command.js.map +1 -0
- package/dist/src/commands/build/checkpoint.command.d.ts +18 -0
- package/dist/src/commands/build/checkpoint.command.d.ts.map +1 -0
- package/dist/src/commands/build/checkpoint.command.js +36 -0
- package/dist/src/commands/build/checkpoint.command.js.map +1 -0
- package/dist/src/commands/build/close.command.d.ts +26 -0
- package/dist/src/commands/build/close.command.d.ts.map +1 -0
- package/dist/src/commands/build/close.command.js +58 -0
- package/dist/src/commands/build/close.command.js.map +1 -0
- package/dist/src/commands/build/dispatches.command.d.ts.map +1 -1
- package/dist/src/commands/build/dispatches.command.js +10 -9
- package/dist/src/commands/build/dispatches.command.js.map +1 -1
- package/dist/src/commands/build/next.command.d.ts.map +1 -1
- package/dist/src/commands/build/next.command.js +6 -1
- package/dist/src/commands/build/next.command.js.map +1 -1
- package/dist/src/commands/build/rearm.command.d.ts.map +1 -1
- package/dist/src/commands/build/rearm.command.js.map +1 -1
- package/dist/src/commands/build/run.command.d.ts.map +1 -1
- package/dist/src/commands/build/run.command.js.map +1 -1
- package/dist/src/commands/build/settle-window.command.d.ts +17 -0
- package/dist/src/commands/build/settle-window.command.d.ts.map +1 -0
- package/dist/src/commands/build/settle-window.command.js +42 -0
- package/dist/src/commands/build/settle-window.command.js.map +1 -0
- package/dist/src/commands/build/stop.command.d.ts +23 -0
- package/dist/src/commands/build/stop.command.d.ts.map +1 -0
- package/dist/src/commands/build/stop.command.js +52 -0
- package/dist/src/commands/build/stop.command.js.map +1 -0
- package/dist/src/commands/build/tasks.command.d.ts.map +1 -1
- package/dist/src/commands/build/tasks.command.js.map +1 -1
- package/dist/src/commands/compose.command.d.ts.map +1 -1
- package/dist/src/commands/compose.command.js.map +1 -1
- package/dist/src/commands/config/check-resources.command.d.ts +20 -6
- package/dist/src/commands/config/check-resources.command.d.ts.map +1 -1
- package/dist/src/commands/config/check-resources.command.js +33 -12
- package/dist/src/commands/config/check-resources.command.js.map +1 -1
- package/dist/src/commands/config/data-retention.command.d.ts.map +1 -1
- package/dist/src/commands/config/data-retention.command.js.map +1 -1
- package/dist/src/commands/config/document-releases.command.d.ts +3 -0
- package/dist/src/commands/config/document-releases.command.d.ts.map +1 -1
- package/dist/src/commands/config/document-releases.command.js +3 -0
- package/dist/src/commands/config/document-releases.command.js.map +1 -1
- package/dist/src/commands/config/legal-notice.command.d.ts.map +1 -1
- package/dist/src/commands/config/legal-notice.command.js.map +1 -1
- package/dist/src/commands/config/mutate.command.d.ts.map +1 -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.map +1 -1
- package/dist/src/commands/config/service-consent.command.d.ts.map +1 -1
- package/dist/src/commands/config/service-consent.command.js.map +1 -1
- package/dist/src/commands/config/subject-data-recipients.command.d.ts.map +1 -1
- package/dist/src/commands/config/subject-data-recipients.command.js.map +1 -1
- package/dist/src/commands/config/sync.command.d.ts +4 -3
- package/dist/src/commands/config/sync.command.d.ts.map +1 -1
- package/dist/src/commands/config/sync.command.js +51 -17
- package/dist/src/commands/config/sync.command.js.map +1 -1
- package/dist/src/commands/config/validate.command.d.ts.map +1 -1
- package/dist/src/commands/config/validate.command.js +10 -10
- package/dist/src/commands/config/validate.command.js.map +1 -1
- 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.map +1 -1
- package/dist/src/commands/context/context-command.utils.d.ts.map +1 -1
- package/dist/src/commands/context/context-command.utils.js.map +1 -1
- package/dist/src/commands/context/elements.command.d.ts +4 -2
- package/dist/src/commands/context/elements.command.d.ts.map +1 -1
- package/dist/src/commands/context/elements.command.js +4 -2
- package/dist/src/commands/context/elements.command.js.map +1 -1
- package/dist/src/commands/context/health.command.d.ts.map +1 -1
- package/dist/src/commands/context/health.command.js.map +1 -1
- package/dist/src/commands/context/info.command.d.ts.map +1 -1
- package/dist/src/commands/context/info.command.js.map +1 -1
- package/dist/src/commands/context/journey.command.d.ts +33 -2
- package/dist/src/commands/context/journey.command.d.ts.map +1 -1
- package/dist/src/commands/context/journey.command.js +186 -34
- 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/launch-blockers.command.d.ts +4 -2
- package/dist/src/commands/context/launch-blockers.command.d.ts.map +1 -1
- package/dist/src/commands/context/launch-blockers.command.js +6 -4
- package/dist/src/commands/context/launch-blockers.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.map +1 -1
- package/dist/src/commands/context/pipelines.command.d.ts.map +1 -1
- package/dist/src/commands/context/pipelines.command.js.map +1 -1
- package/dist/src/commands/context/workspace.command.d.ts.map +1 -1
- package/dist/src/commands/context/workspace.command.js.map +1 -1
- package/dist/src/commands/creation/accept.command.d.ts.map +1 -1
- package/dist/src/commands/creation/accept.command.js.map +1 -1
- package/dist/src/commands/creation/answer.command.d.ts +12 -0
- package/dist/src/commands/creation/answer.command.d.ts.map +1 -1
- package/dist/src/commands/creation/answer.command.js +69 -2
- package/dist/src/commands/creation/answer.command.js.map +1 -1
- package/dist/src/commands/creation/brand-logo.command.d.ts.map +1 -1
- package/dist/src/commands/creation/brand-logo.command.js.map +1 -1
- package/dist/src/commands/creation/brief.command.d.ts +10 -3
- package/dist/src/commands/creation/brief.command.d.ts.map +1 -1
- package/dist/src/commands/creation/brief.command.js +22 -7
- package/dist/src/commands/creation/brief.command.js.map +1 -1
- package/dist/src/commands/creation/deliberate.command.d.ts.map +1 -1
- package/dist/src/commands/creation/deliberate.command.js.map +1 -1
- package/dist/src/commands/creation/depth.command.d.ts.map +1 -1
- package/dist/src/commands/creation/depth.command.js.map +1 -1
- package/dist/src/commands/creation/diff.command.d.ts.map +1 -1
- package/dist/src/commands/creation/diff.command.js.map +1 -1
- package/dist/src/commands/creation/drive.command.d.ts +19 -0
- package/dist/src/commands/creation/drive.command.d.ts.map +1 -0
- package/dist/src/commands/creation/drive.command.js +112 -0
- package/dist/src/commands/creation/drive.command.js.map +1 -0
- package/dist/src/commands/creation/feed.command.d.ts +11 -0
- package/dist/src/commands/creation/feed.command.d.ts.map +1 -1
- package/dist/src/commands/creation/feed.command.js +75 -1
- package/dist/src/commands/creation/feed.command.js.map +1 -1
- package/dist/src/commands/creation/loop.command.d.ts +6 -0
- package/dist/src/commands/creation/loop.command.d.ts.map +1 -1
- package/dist/src/commands/creation/loop.command.js +16 -0
- package/dist/src/commands/creation/loop.command.js.map +1 -1
- package/dist/src/commands/creation/persona.command.d.ts.map +1 -1
- package/dist/src/commands/creation/persona.command.js.map +1 -1
- package/dist/src/commands/creation/preflight.command.d.ts.map +1 -1
- package/dist/src/commands/creation/preflight.command.js.map +1 -1
- package/dist/src/commands/creation/prompt-hook.command.d.ts +1 -1
- package/dist/src/commands/creation/prompt-hook.command.d.ts.map +1 -1
- package/dist/src/commands/creation/prompt-hook.command.js +7 -3
- package/dist/src/commands/creation/prompt-hook.command.js.map +1 -1
- package/dist/src/commands/creation/propose.command.d.ts.map +1 -1
- package/dist/src/commands/creation/propose.command.js.map +1 -1
- package/dist/src/commands/creation/pulse.command.d.ts.map +1 -1
- package/dist/src/commands/creation/pulse.command.js.map +1 -1
- package/dist/src/commands/creation/questions.command.d.ts.map +1 -1
- package/dist/src/commands/creation/questions.command.js +13 -0
- package/dist/src/commands/creation/questions.command.js.map +1 -1
- package/dist/src/commands/creation/reason.command.d.ts.map +1 -1
- package/dist/src/commands/creation/reason.command.js.map +1 -1
- package/dist/src/commands/creation/report.command.d.ts.map +1 -1
- package/dist/src/commands/creation/report.command.js +12 -0
- package/dist/src/commands/creation/report.command.js.map +1 -1
- package/dist/src/commands/creation/revert.command.d.ts.map +1 -1
- package/dist/src/commands/creation/revert.command.js +2 -0
- package/dist/src/commands/creation/revert.command.js.map +1 -1
- package/dist/src/commands/creation/run.command.d.ts.map +1 -1
- package/dist/src/commands/creation/run.command.js.map +1 -1
- package/dist/src/commands/creation/statusline.command.d.ts.map +1 -1
- package/dist/src/commands/creation/statusline.command.js.map +1 -1
- package/dist/src/commands/creation/watch.command.d.ts.map +1 -1
- package/dist/src/commands/creation/watch.command.js.map +1 -1
- package/dist/src/commands/creation/why.command.d.ts.map +1 -1
- package/dist/src/commands/creation/why.command.js +14 -9
- package/dist/src/commands/creation/why.command.js.map +1 -1
- package/dist/src/commands/creation/writes.command.d.ts +7 -0
- package/dist/src/commands/creation/writes.command.d.ts.map +1 -1
- package/dist/src/commands/creation/writes.command.js +21 -6
- package/dist/src/commands/creation/writes.command.js.map +1 -1
- package/dist/src/commands/db/db-schema-plan-migration.utils.d.ts.map +1 -1
- package/dist/src/commands/db/db-schema-plan-migration.utils.js.map +1 -1
- package/dist/src/commands/db/db-schema-plan.utils.d.ts.map +1 -1
- package/dist/src/commands/db/db-schema-plan.utils.js +2 -2
- package/dist/src/commands/db/db-schema-plan.utils.js.map +1 -1
- package/dist/src/commands/db/diff.command.d.ts +1 -1
- package/dist/src/commands/db/diff.command.d.ts.map +1 -1
- package/dist/src/commands/db/diff.command.js +2 -2
- package/dist/src/commands/db/diff.command.js.map +1 -1
- package/dist/src/commands/db/generate.command.d.ts +2 -3
- package/dist/src/commands/db/generate.command.d.ts.map +1 -1
- package/dist/src/commands/db/generate.command.js +2 -3
- 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/migrate.command.js +9 -1
- package/dist/src/commands/db/migrate.command.js.map +1 -1
- package/dist/src/commands/db/resolve.command.d.ts.map +1 -1
- package/dist/src/commands/db/resolve.command.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-brand.command.d.ts.map +1 -1
- package/dist/src/commands/dev/design-tokens-brand.command.js.map +1 -1
- package/dist/src/commands/dev/design-tokens-contract.command.d.ts.map +1 -1
- package/dist/src/commands/dev/design-tokens-contract.command.js.map +1 -1
- package/dist/src/commands/dev/design-tokens-contrast.command.d.ts.map +1 -1
- package/dist/src/commands/dev/design-tokens-contrast.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-generate.command.js.map +1 -1
- package/dist/src/commands/dev/design-tokens-init.command.d.ts.map +1 -1
- package/dist/src/commands/dev/design-tokens-init.command.js.map +1 -1
- package/dist/src/commands/dev/design-tokens-validate.command.d.ts.map +1 -1
- package/dist/src/commands/dev/design-tokens-validate.command.js.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.map +1 -1
- package/dist/src/commands/dev/resources.command.d.ts.map +1 -1
- package/dist/src/commands/dev/resources.command.js.map +1 -1
- package/dist/src/commands/dev/start.command.d.ts.map +1 -1
- 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.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.map +1 -1
- package/dist/src/commands/docs/check.command.d.ts.map +1 -1
- package/dist/src/commands/docs/check.command.js +12 -0
- package/dist/src/commands/docs/check.command.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/look.command.d.ts.map +1 -1
- package/dist/src/commands/frontend/look.command.js.map +1 -1
- package/dist/src/commands/frontend/publish.command.d.ts.map +1 -1
- package/dist/src/commands/frontend/publish.command.js.map +1 -1
- package/dist/src/commands/fwk/audit.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/audit.command.js.map +1 -1
- package/dist/src/commands/fwk/dev-skills.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/dev-skills.command.js +20 -0
- package/dist/src/commands/fwk/dev-skills.command.js.map +1 -1
- package/dist/src/commands/fwk/generate-blueprints.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/generate-blueprints.command.js +2 -1
- package/dist/src/commands/fwk/generate-blueprints.command.js.map +1 -1
- package/dist/src/commands/fwk/generate-docs.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/generate-docs.command.js.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 +2 -2
- package/dist/src/commands/fwk/generate-providers.command.js.map +1 -1
- package/dist/src/commands/fwk/graph.command.d.ts +1 -1
- package/dist/src/commands/fwk/graph.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/graph.command.js +1 -1
- package/dist/src/commands/fwk/graph.command.js.map +1 -1
- package/dist/src/commands/fwk/publish-all.command.d.ts +53 -0
- package/dist/src/commands/fwk/publish-all.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-all.command.js +345 -12
- 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-docker.command.js +9 -0
- package/dist/src/commands/fwk/publish-docker.command.js.map +1 -1
- package/dist/src/commands/fwk/publish-npm.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-npm.command.js +15 -4
- package/dist/src/commands/fwk/publish-npm.command.js.map +1 -1
- package/dist/src/commands/fwk/publish-promote.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-promote.command.js +32 -11
- package/dist/src/commands/fwk/publish-promote.command.js.map +1 -1
- package/dist/src/commands/fwk/publish-providers.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-providers.command.js +8 -0
- package/dist/src/commands/fwk/publish-providers.command.js.map +1 -1
- package/dist/src/commands/fwk/registry-host.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/registry-host.command.js.map +1 -1
- package/dist/src/commands/fwk/release.command.d.ts +22 -0
- package/dist/src/commands/fwk/release.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/release.command.js +216 -0
- package/dist/src/commands/fwk/release.command.js.map +1 -0
- package/dist/src/commands/fwk/version-bump.command.d.ts.map +1 -1
- 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-set.command.js.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/version-sync.command.js.map +1 -1
- package/dist/src/commands/fwk/what-touches.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/what-touches.command.js.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/email-command.utils.d.ts +15 -2
- package/dist/src/commands/generate/email-command.utils.d.ts.map +1 -1
- package/dist/src/commands/generate/email-command.utils.js +20 -7
- 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-status.command.js +2 -2
- package/dist/src/commands/generate/email-status.command.js.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.map +1 -1
- package/dist/src/commands/generate/email-translate.command.d.ts.map +1 -1
- package/dist/src/commands/generate/email-translate.command.js +2 -2
- package/dist/src/commands/generate/email-translate.command.js.map +1 -1
- package/dist/src/commands/generate/email.command.d.ts.map +1 -1
- package/dist/src/commands/generate/email.command.js +2 -2
- package/dist/src/commands/generate/email.command.js.map +1 -1
- package/dist/src/commands/generate/labelling-command.utils.d.ts +15 -0
- package/dist/src/commands/generate/labelling-command.utils.d.ts.map +1 -1
- package/dist/src/commands/generate/labelling-command.utils.js +110 -12
- 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.map +1 -1
- package/dist/src/commands/generate/labels.command.d.ts.map +1 -1
- package/dist/src/commands/generate/labels.command.js.map +1 -1
- package/dist/src/commands/generate/translate.command.d.ts +5 -0
- package/dist/src/commands/generate/translate.command.d.ts.map +1 -1
- package/dist/src/commands/generate/translate.command.js +9 -3
- 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 +2 -0
- package/dist/src/commands/help.command.js.map +1 -1
- package/dist/src/commands/init.command.d.ts +11 -3
- package/dist/src/commands/init.command.d.ts.map +1 -1
- package/dist/src/commands/init.command.js +73 -27
- package/dist/src/commands/init.command.js.map +1 -1
- package/dist/src/commands/keys/legacy-envelope-key.command.d.ts +8 -0
- package/dist/src/commands/keys/legacy-envelope-key.command.d.ts.map +1 -0
- package/dist/src/commands/keys/legacy-envelope-key.command.js +140 -0
- package/dist/src/commands/keys/legacy-envelope-key.command.js.map +1 -0
- package/dist/src/commands/keys/rotate-signing-keys.command.d.ts +8 -0
- package/dist/src/commands/keys/rotate-signing-keys.command.d.ts.map +1 -0
- package/dist/src/commands/keys/rotate-signing-keys.command.js +158 -0
- package/dist/src/commands/keys/rotate-signing-keys.command.js.map +1 -0
- package/dist/src/commands/keys/rotate.command.d.ts.map +1 -1
- package/dist/src/commands/keys/rotate.command.js.map +1 -1
- package/dist/src/commands/keys/thumbprint.command.d.ts.map +1 -1
- package/dist/src/commands/keys/thumbprint.command.js.map +1 -1
- package/dist/src/commands/keys/vault-rotate-tokens.command.d.ts +7 -0
- package/dist/src/commands/keys/vault-rotate-tokens.command.d.ts.map +1 -0
- package/dist/src/commands/keys/vault-rotate-tokens.command.js +100 -0
- package/dist/src/commands/keys/vault-rotate-tokens.command.js.map +1 -0
- package/dist/src/commands/keys/vault-rotate-unseal-key.command.d.ts +7 -0
- package/dist/src/commands/keys/vault-rotate-unseal-key.command.d.ts.map +1 -0
- package/dist/src/commands/keys/vault-rotate-unseal-key.command.js +96 -0
- package/dist/src/commands/keys/vault-rotate-unseal-key.command.js.map +1 -0
- package/dist/src/commands/local/deregister.command.d.ts.map +1 -1
- package/dist/src/commands/local/deregister.command.js.map +1 -1
- package/dist/src/commands/local/dev-status.command.d.ts +16 -4
- package/dist/src/commands/local/dev-status.command.d.ts.map +1 -1
- package/dist/src/commands/local/dev-status.command.js +50 -6
- package/dist/src/commands/local/dev-status.command.js.map +1 -1
- package/dist/src/commands/local/dev.command.d.ts +80 -5
- package/dist/src/commands/local/dev.command.d.ts.map +1 -1
- package/dist/src/commands/local/dev.command.js +273 -19
- package/dist/src/commands/local/dev.command.js.map +1 -1
- package/dist/src/commands/local/doctor.command.d.ts +22 -9
- package/dist/src/commands/local/doctor.command.d.ts.map +1 -1
- package/dist/src/commands/local/doctor.command.js +59 -43
- 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 +1 -2
- 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/logs.command.js.map +1 -1
- package/dist/src/commands/local/reinit.command.d.ts.map +1 -1
- package/dist/src/commands/local/reinit.command.js.map +1 -1
- package/dist/src/commands/local/reset.command.d.ts.map +1 -1
- package/dist/src/commands/local/reset.command.js.map +1 -1
- package/dist/src/commands/local/restore.command.d.ts.map +1 -1
- package/dist/src/commands/local/restore.command.js.map +1 -1
- package/dist/src/commands/local/smoke.command.d.ts.map +1 -1
- package/dist/src/commands/local/smoke.command.js +1 -1
- package/dist/src/commands/local/smoke.command.js.map +1 -1
- package/dist/src/commands/local/sor-addresses.command.d.ts +20 -0
- package/dist/src/commands/local/sor-addresses.command.d.ts.map +1 -0
- package/dist/src/commands/local/sor-addresses.command.js +65 -0
- package/dist/src/commands/local/sor-addresses.command.js.map +1 -0
- package/dist/src/commands/local/sor-command.utils.d.ts +12 -0
- package/dist/src/commands/local/sor-command.utils.d.ts.map +1 -0
- package/dist/src/commands/local/sor-command.utils.js +28 -0
- package/dist/src/commands/local/sor-command.utils.js.map +1 -0
- package/dist/src/commands/local/sor-secrets.command.d.ts +20 -0
- package/dist/src/commands/local/sor-secrets.command.d.ts.map +1 -0
- package/dist/src/commands/local/sor-secrets.command.js +75 -0
- package/dist/src/commands/local/sor-secrets.command.js.map +1 -0
- package/dist/src/commands/local/sor-simulators.command.d.ts +21 -0
- package/dist/src/commands/local/sor-simulators.command.d.ts.map +1 -0
- package/dist/src/commands/local/sor-simulators.command.js +55 -0
- package/dist/src/commands/local/sor-simulators.command.js.map +1 -0
- package/dist/src/commands/local/status.command.d.ts.map +1 -1
- package/dist/src/commands/local/status.command.js.map +1 -1
- package/dist/src/commands/local/up.command.d.ts.map +1 -1
- package/dist/src/commands/local/up.command.js.map +1 -1
- package/dist/src/commands/local-defaults/capture.command.d.ts.map +1 -1
- package/dist/src/commands/local-defaults/capture.command.js.map +1 -1
- package/dist/src/commands/lock/check.command.d.ts +7 -7
- package/dist/src/commands/lock/check.command.d.ts.map +1 -1
- package/dist/src/commands/lock/check.command.js +11 -11
- package/dist/src/commands/lock/check.command.js.map +1 -1
- package/dist/src/commands/market/generate.command.d.ts.map +1 -1
- package/dist/src/commands/market/generate.command.js.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.map +1 -1
- package/dist/src/commands/prefs/set.command.js.map +1 -1
- package/dist/src/commands/providers/application-connection-session.utils.d.ts +9 -0
- package/dist/src/commands/providers/application-connection-session.utils.d.ts.map +1 -0
- package/dist/src/commands/providers/application-connection-session.utils.js +49 -0
- package/dist/src/commands/providers/application-connection-session.utils.js.map +1 -0
- package/dist/src/commands/providers/chat-command-registrations.utils.d.ts.map +1 -1
- package/dist/src/commands/providers/chat-command-registrations.utils.js +2 -1
- package/dist/src/commands/providers/chat-command-registrations.utils.js.map +1 -1
- package/dist/src/commands/providers/connect.command.d.ts +19 -0
- package/dist/src/commands/providers/connect.command.d.ts.map +1 -0
- package/dist/src/commands/providers/connect.command.js +257 -0
- package/dist/src/commands/providers/connect.command.js.map +1 -0
- package/dist/src/commands/providers/connections.command.d.ts +14 -0
- package/dist/src/commands/providers/connections.command.d.ts.map +1 -0
- package/dist/src/commands/providers/connections.command.js +74 -0
- package/dist/src/commands/providers/connections.command.js.map +1 -0
- package/dist/src/commands/providers/disconnect.command.d.ts +15 -0
- package/dist/src/commands/providers/disconnect.command.d.ts.map +1 -0
- package/dist/src/commands/providers/disconnect.command.js +91 -0
- package/dist/src/commands/providers/disconnect.command.js.map +1 -0
- package/dist/src/commands/providers/new.command.d.ts.map +1 -1
- package/dist/src/commands/providers/new.command.js +2 -2
- package/dist/src/commands/providers/new.command.js.map +1 -1
- package/dist/src/commands/providers/probe.command.d.ts +0 -1
- package/dist/src/commands/providers/probe.command.d.ts.map +1 -1
- package/dist/src/commands/providers/probe.command.js +31 -31
- package/dist/src/commands/providers/probe.command.js.map +1 -1
- package/dist/src/commands/providers/prove.command.d.ts +16 -0
- package/dist/src/commands/providers/prove.command.d.ts.map +1 -0
- package/dist/src/commands/providers/prove.command.js +174 -0
- package/dist/src/commands/providers/prove.command.js.map +1 -0
- package/dist/src/commands/providers/register.command.d.ts.map +1 -1
- package/dist/src/commands/providers/register.command.js +45 -10
- package/dist/src/commands/providers/register.command.js.map +1 -1
- package/dist/src/commands/providers/show.command.d.ts.map +1 -1
- package/dist/src/commands/providers/show.command.js.map +1 -1
- package/dist/src/commands/registry/add.command.d.ts.map +1 -1
- package/dist/src/commands/registry/add.command.js.map +1 -1
- package/dist/src/commands/registry/domain.command.d.ts.map +1 -1
- package/dist/src/commands/registry/domain.command.js.map +1 -1
- package/dist/src/commands/registry/info.command.d.ts.map +1 -1
- package/dist/src/commands/registry/info.command.js.map +1 -1
- package/dist/src/commands/registry/key.command.d.ts.map +1 -1
- package/dist/src/commands/registry/key.command.js.map +1 -1
- package/dist/src/commands/registry/lockfile-smoke.command.d.ts.map +1 -1
- package/dist/src/commands/registry/lockfile-smoke.command.js.map +1 -1
- package/dist/src/commands/registry/login.command.d.ts.map +1 -1
- package/dist/src/commands/registry/login.command.js +4 -2
- 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/logout.command.js.map +1 -1
- package/dist/src/commands/registry/outdated.command.d.ts.map +1 -1
- package/dist/src/commands/registry/outdated.command.js.map +1 -1
- package/dist/src/commands/registry/ping.command.d.ts.map +1 -1
- package/dist/src/commands/registry/ping.command.js.map +1 -1
- package/dist/src/commands/registry/publish.command.d.ts.map +1 -1
- package/dist/src/commands/registry/publish.command.js +14 -0
- 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/remove.command.js.map +1 -1
- package/dist/src/commands/registry/repair-lockfile.command.d.ts +12 -11
- package/dist/src/commands/registry/repair-lockfile.command.d.ts.map +1 -1
- package/dist/src/commands/registry/repair-lockfile.command.js +47 -56
- 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/search.command.js.map +1 -1
- package/dist/src/commands/registry/status.command.d.ts.map +1 -1
- package/dist/src/commands/registry/status.command.js.map +1 -1
- package/dist/src/commands/registry/update.command.d.ts.map +1 -1
- 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 +4 -2
- package/dist/src/commands/registry/whoami.command.js.map +1 -1
- package/dist/src/commands/registry/yank.command.d.ts.map +1 -1
- package/dist/src/commands/registry/yank.command.js.map +1 -1
- package/dist/src/commands/remote/create.command.d.ts.map +1 -1
- package/dist/src/commands/remote/create.command.js.map +1 -1
- package/dist/src/commands/remote/list.command.d.ts.map +1 -1
- package/dist/src/commands/remote/list.command.js.map +1 -1
- package/dist/src/commands/remote/status.command.d.ts.map +1 -1
- package/dist/src/commands/remote/status.command.js.map +1 -1
- package/dist/src/commands/remote/sync.command.d.ts.map +1 -1
- package/dist/src/commands/remote/sync.command.js +1 -1
- package/dist/src/commands/remote/sync.command.js.map +1 -1
- package/dist/src/commands/seal/currency.command.d.ts +13 -0
- package/dist/src/commands/seal/currency.command.d.ts.map +1 -0
- package/dist/src/commands/seal/currency.command.js +52 -0
- package/dist/src/commands/seal/currency.command.js.map +1 -0
- package/dist/src/commands/seal/dead.command.d.ts.map +1 -1
- package/dist/src/commands/seal/dead.command.js +2 -1
- package/dist/src/commands/seal/dead.command.js.map +1 -1
- package/dist/src/commands/seal/export.command.d.ts.map +1 -1
- package/dist/src/commands/seal/export.command.js.map +1 -1
- package/dist/src/commands/seal/log-export.command.d.ts.map +1 -1
- package/dist/src/commands/seal/log-export.command.js +6 -1
- package/dist/src/commands/seal/log-export.command.js.map +1 -1
- package/dist/src/commands/seal/log-verify.command.d.ts.map +1 -1
- package/dist/src/commands/seal/log-verify.command.js +2 -1
- package/dist/src/commands/seal/log-verify.command.js.map +1 -1
- package/dist/src/commands/seal/rebuild-copy.command.d.ts +14 -0
- package/dist/src/commands/seal/rebuild-copy.command.d.ts.map +1 -0
- package/dist/src/commands/seal/rebuild-copy.command.js +48 -0
- package/dist/src/commands/seal/rebuild-copy.command.js.map +1 -0
- package/dist/src/commands/seal/retry.command.d.ts.map +1 -1
- package/dist/src/commands/seal/retry.command.js.map +1 -1
- package/dist/src/commands/seal/seal-admin-door.utils.d.ts.map +1 -1
- package/dist/src/commands/seal/seal-admin-door.utils.js +2 -0
- package/dist/src/commands/seal/seal-admin-door.utils.js.map +1 -1
- package/dist/src/commands/seal/signing-log-files.utils.d.ts.map +1 -1
- package/dist/src/commands/seal/signing-log-files.utils.js.map +1 -1
- package/dist/src/commands/seal/verify.command.d.ts +14 -0
- package/dist/src/commands/seal/verify.command.d.ts.map +1 -1
- package/dist/src/commands/seal/verify.command.js +85 -9
- package/dist/src/commands/seal/verify.command.js.map +1 -1
- package/dist/src/commands/secrets/github.command.d.ts.map +1 -1
- package/dist/src/commands/secrets/github.command.js.map +1 -1
- package/dist/src/commands/secrets/list.command.d.ts.map +1 -1
- package/dist/src/commands/secrets/list.command.js.map +1 -1
- package/dist/src/commands/secrets/set.command.d.ts.map +1 -1
- package/dist/src/commands/secrets/set.command.js +5 -3
- package/dist/src/commands/secrets/set.command.js.map +1 -1
- package/dist/src/commands/secrets/unset.command.d.ts.map +1 -1
- package/dist/src/commands/secrets/unset.command.js.map +1 -1
- package/dist/src/commands/setup.command.d.ts.map +1 -1
- package/dist/src/commands/setup.command.js.map +1 -1
- package/dist/src/commands/update.command.d.ts.map +1 -1
- package/dist/src/commands/update.command.js +86 -7
- package/dist/src/commands/update.command.js.map +1 -1
- package/dist/src/commands/version.command.d.ts.map +1 -1
- package/dist/src/commands/version.command.js.map +1 -1
- package/dist/src/commands/website/audit.command.d.ts.map +1 -1
- package/dist/src/commands/website/audit.command.js +15 -1
- package/dist/src/commands/website/audit.command.js.map +1 -1
- package/dist/src/commands/website/look.command.d.ts.map +1 -1
- package/dist/src/commands/website/look.command.js.map +1 -1
- package/dist/src/commands/workbench/open.command.d.ts.map +1 -1
- package/dist/src/commands/workbench/open.command.js +12 -3
- package/dist/src/commands/workbench/open.command.js.map +1 -1
- package/dist/src/commands/workbench/parallelism.command.d.ts.map +1 -1
- package/dist/src/commands/workbench/parallelism.command.js.map +1 -1
- package/dist/src/commands/workbench/status.command.d.ts.map +1 -1
- 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/errors/error.utils.js.map +1 -1
- package/dist/src/infrastructure/io/file.utils.d.ts.map +1 -1
- package/dist/src/infrastructure/io/file.utils.js.map +1 -1
- package/dist/src/infrastructure/io/io.schemas.d.ts +4 -4
- package/dist/src/infrastructure/io/io.schemas.d.ts.map +1 -1
- package/dist/src/infrastructure/io/io.schemas.js +4 -4
- package/dist/src/infrastructure/io/io.schemas.js.map +1 -1
- package/dist/src/infrastructure/io/template-processor.d.ts.map +1 -1
- package/dist/src/infrastructure/io/template-processor.js.map +1 -1
- package/dist/src/infrastructure/logger/logger.service.d.ts.map +1 -1
- package/dist/src/infrastructure/logger/logger.service.js.map +1 -1
- package/dist/src/infrastructure/process/spawn.utils.d.ts.map +1 -1
- package/dist/src/infrastructure/process/spawn.utils.js.map +1 -1
- package/dist/src/infrastructure/ui/formatting.service.d.ts.map +1 -1
- package/dist/src/infrastructure/ui/formatting.service.js.map +1 -1
- package/dist/src/infrastructure/ui/interaction-engine.service.d.ts.map +1 -1
- package/dist/src/infrastructure/ui/interaction-engine.service.js.map +1 -1
- package/dist/src/infrastructure/ui/markdown-renderer.service.d.ts.map +1 -1
- package/dist/src/infrastructure/ui/markdown-renderer.service.js.map +1 -1
- package/dist/src/infrastructure/ui/ui.schemas.d.ts.map +1 -1
- package/dist/src/infrastructure/ui/ui.schemas.js.map +1 -1
- package/dist/src/infrastructure/utils/string.utils.d.ts.map +1 -1
- package/dist/src/infrastructure/utils/string.utils.js.map +1 -1
- package/dist/src/infrastructure/validation/validator.service.d.ts.map +1 -1
- package/dist/src/infrastructure/validation/validator.service.js.map +1 -1
- package/dist/src/kernel/base-command.d.ts.map +1 -1
- package/dist/src/kernel/base-command.js.map +1 -1
- package/dist/src/kernel/bootstrap.d.ts +10 -0
- package/dist/src/kernel/bootstrap.d.ts.map +1 -1
- package/dist/src/kernel/bootstrap.js +13 -1
- package/dist/src/kernel/bootstrap.js.map +1 -1
- package/dist/src/kernel/command-index-cache.d.ts.map +1 -1
- package/dist/src/kernel/command-index-cache.js.map +1 -1
- package/dist/src/kernel/command-registry.d.ts.map +1 -1
- package/dist/src/kernel/command-registry.js +5 -0
- package/dist/src/kernel/command-registry.js.map +1 -1
- package/dist/src/kernel/command-runner.d.ts.map +1 -1
- package/dist/src/kernel/command-runner.js.map +1 -1
- package/dist/src/kernel/command-scope-utils.d.ts.map +1 -1
- package/dist/src/kernel/command-scope-utils.js.map +1 -1
- package/dist/src/kernel/flag-utils.d.ts.map +1 -1
- package/dist/src/kernel/flag-utils.js.map +1 -1
- package/dist/src/kernel/hooks.d.ts.map +1 -1
- package/dist/src/kernel/hooks.js.map +1 -1
- package/dist/src/kernel/json-document-output.d.ts.map +1 -1
- package/dist/src/kernel/json-document-output.js.map +1 -1
- package/dist/src/kernel/logger.d.ts.map +1 -1
- package/dist/src/kernel/logger.js.map +1 -1
- package/dist/src/kernel/types.d.ts +8 -1
- package/dist/src/kernel/types.d.ts.map +1 -1
- package/dist/src/kernel/types.js +7 -0
- package/dist/src/kernel/types.js.map +1 -1
- package/dist/src/main.d.ts.map +1 -1
- package/dist/src/main.js.map +1 -1
- package/dist/src/modules/domain/credentials/admin-user.module.d.ts.map +1 -1
- package/dist/src/modules/domain/credentials/admin-user.module.js.map +1 -1
- package/dist/src/modules/domain/credentials/approver-user.module.d.ts.map +1 -1
- package/dist/src/modules/domain/credentials/approver-user.module.js.map +1 -1
- package/dist/src/modules/domain/credentials/creation-essentials.module.d.ts.map +1 -1
- package/dist/src/modules/domain/credentials/creation-essentials.module.js.map +1 -1
- package/dist/src/modules/domain/credentials/module.types.d.ts.map +1 -1
- package/dist/src/modules/domain/credentials/module.types.js.map +1 -1
- package/dist/src/modules/domain/environment/database-config.module.d.ts.map +1 -1
- package/dist/src/modules/domain/environment/database-config.module.js.map +1 -1
- package/dist/src/modules/domain/environment/module.types.d.ts.map +1 -1
- package/dist/src/modules/domain/environment/module.types.js.map +1 -1
- package/dist/src/modules/domain/environment/paths-config.module.d.ts.map +1 -1
- package/dist/src/modules/domain/environment/paths-config.module.js.map +1 -1
- package/dist/src/modules/domain/environment/runtime-selector.module.d.ts.map +1 -1
- package/dist/src/modules/domain/environment/runtime-selector.module.js.map +1 -1
- package/dist/src/modules/domain/environment/runtime-semantics.module.d.ts.map +1 -1
- package/dist/src/modules/domain/environment/runtime-semantics.module.js.map +1 -1
- package/dist/src/modules/domain/module.types.d.ts.map +1 -1
- package/dist/src/modules/domain/module.types.js.map +1 -1
- package/dist/src/services/application/ai-use-declarations.service.d.ts.map +1 -1
- package/dist/src/services/application/ai-use-declarations.service.js.map +1 -1
- package/dist/src/services/application/app-bootstrap.service.d.ts +42 -3
- package/dist/src/services/application/app-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/app-bootstrap.service.js +147 -42
- 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-env.service.js.map +1 -1
- package/dist/src/services/application/app-local-runtime-addresses.service.d.ts +19 -1
- package/dist/src/services/application/app-local-runtime-addresses.service.d.ts.map +1 -1
- package/dist/src/services/application/app-local-runtime-addresses.service.js +23 -5
- package/dist/src/services/application/app-local-runtime-addresses.service.js.map +1 -1
- package/dist/src/services/application/app-runtime-targets.service.d.ts +8 -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 +17 -8
- 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 +5 -1
- package/dist/src/services/application/app-schema-bootstrap.service.js.map +1 -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 -1
- package/dist/src/services/application/application-assets-delivery.service.js.map +1 -1
- package/dist/src/services/application/application-browser-smoke.service.d.ts +23 -0
- package/dist/src/services/application/application-browser-smoke.service.d.ts.map +1 -1
- package/dist/src/services/application/application-browser-smoke.service.js +142 -19
- package/dist/src/services/application/application-browser-smoke.service.js.map +1 -1
- package/dist/src/services/application/application-creation-readiness.service.d.ts.map +1 -1
- package/dist/src/services/application/application-creation-readiness.service.js.map +1 -1
- package/dist/src/services/application/application-dependency-alignment.service.d.ts +10 -6
- package/dist/src/services/application/application-dependency-alignment.service.d.ts.map +1 -1
- package/dist/src/services/application/application-dependency-alignment.service.js +32 -18
- 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-dev-port-offsets.js.map +1 -1
- package/dist/src/services/application/application-dev-script-migration.service.d.ts +56 -0
- package/dist/src/services/application/application-dev-script-migration.service.d.ts.map +1 -0
- package/dist/src/services/application/application-dev-script-migration.service.js +208 -0
- package/dist/src/services/application/application-dev-script-migration.service.js.map +1 -0
- package/dist/src/services/application/application-initialization-verification.service.d.ts +8 -0
- package/dist/src/services/application/application-initialization-verification.service.d.ts.map +1 -1
- package/dist/src/services/application/application-initialization-verification.service.js +31 -11
- package/dist/src/services/application/application-initialization-verification.service.js.map +1 -1
- package/dist/src/services/application/application-root.utils.d.ts.map +1 -1
- package/dist/src/services/application/application-root.utils.js.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 +2 -0
- package/dist/src/services/application/application-runtime-bootstrap.service.js.map +1 -1
- package/dist/src/services/application/backend-config.paths.d.ts.map +1 -1
- package/dist/src/services/application/backend-config.paths.js.map +1 -1
- package/dist/src/services/application/composition-provider-plan.service.d.ts +1 -1
- package/dist/src/services/application/composition-provider-plan.service.d.ts.map +1 -1
- package/dist/src/services/application/composition-provider-plan.service.js +53 -28
- package/dist/src/services/application/composition-provider-plan.service.js.map +1 -1
- package/dist/src/services/application/content-guardrail-classifier.service.d.ts +19 -0
- package/dist/src/services/application/content-guardrail-classifier.service.d.ts.map +1 -1
- package/dist/src/services/application/content-guardrail-classifier.service.js +76 -12
- package/dist/src/services/application/content-guardrail-classifier.service.js.map +1 -1
- package/dist/src/services/application/creation-host-readiness.service.d.ts +13 -1
- package/dist/src/services/application/creation-host-readiness.service.d.ts.map +1 -1
- package/dist/src/services/application/creation-host-readiness.service.js +44 -5
- package/dist/src/services/application/creation-host-readiness.service.js.map +1 -1
- package/dist/src/services/application/creation-preflight.service.d.ts.map +1 -1
- package/dist/src/services/application/creation-preflight.service.js.map +1 -1
- package/dist/src/services/application/degraded-registration-declaration-convergence.service.d.ts.map +1 -1
- package/dist/src/services/application/degraded-registration-declaration-convergence.service.js.map +1 -1
- package/dist/src/services/application/dev-orchestrator.service.d.ts.map +1 -1
- package/dist/src/services/application/dev-orchestrator.service.js.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.map +1 -1
- package/dist/src/services/application/engine-label-base-seeding.service.d.ts +85 -0
- package/dist/src/services/application/engine-label-base-seeding.service.d.ts.map +1 -0
- package/dist/src/services/application/engine-label-base-seeding.service.js +130 -0
- package/dist/src/services/application/engine-label-base-seeding.service.js.map +1 -0
- package/dist/src/services/application/environment-provider-configurations.service.d.ts.map +1 -1
- package/dist/src/services/application/environment-provider-configurations.service.js.map +1 -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.map +1 -1
- package/dist/src/services/application/frontend-provider-sdk-declarations.service.d.ts.map +1 -1
- package/dist/src/services/application/frontend-provider-sdk-declarations.service.js +1 -1
- package/dist/src/services/application/frontend-provider-sdk-declarations.service.js.map +1 -1
- package/dist/src/services/application/frontend-provider-source.service.d.ts.map +1 -1
- package/dist/src/services/application/frontend-provider-source.service.js.map +1 -1
- package/dist/src/services/application/frontend-providers-not-configured.service.d.ts.map +1 -1
- package/dist/src/services/application/frontend-providers-not-configured.service.js.map +1 -1
- package/dist/src/services/application/frontend-public-config-secret-screen.service.d.ts.map +1 -1
- package/dist/src/services/application/frontend-public-config-secret-screen.service.js.map +1 -1
- package/dist/src/services/application/infra-system-of-record-addresses.editor.d.ts +13 -0
- package/dist/src/services/application/infra-system-of-record-addresses.editor.d.ts.map +1 -0
- package/dist/src/services/application/infra-system-of-record-addresses.editor.js +185 -0
- package/dist/src/services/application/infra-system-of-record-addresses.editor.js.map +1 -0
- package/dist/src/services/application/local-app-reinit.service.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/src/services/application/local-provider-doubles.service.d.ts +98 -0
- package/dist/src/services/application/local-provider-doubles.service.d.ts.map +1 -0
- package/dist/src/services/application/local-provider-doubles.service.js +214 -0
- package/dist/src/services/application/local-provider-doubles.service.js.map +1 -0
- package/dist/src/services/application/provider-runtime-sync.service.d.ts.map +1 -1
- package/dist/src/services/application/provider-runtime-sync.service.js +38 -10
- 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.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.d.ts +6 -2
- package/dist/src/services/application/saas-skeleton.service.d.ts.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.js +46 -11
- package/dist/src/services/application/saas-skeleton.service.js.map +1 -1
- package/dist/src/services/application/stored-declaration-currency.service.d.ts.map +1 -1
- package/dist/src/services/application/stored-declaration-currency.service.js.map +1 -1
- package/dist/src/services/application/system-of-record-simulators.service.d.ts +221 -0
- package/dist/src/services/application/system-of-record-simulators.service.d.ts.map +1 -0
- package/dist/src/services/application/system-of-record-simulators.service.js +442 -0
- package/dist/src/services/application/system-of-record-simulators.service.js.map +1 -0
- package/dist/src/services/application/systems-of-record-library.service.d.ts +1 -1
- package/dist/src/services/application/systems-of-record-library.service.d.ts.map +1 -1
- package/dist/src/services/application/systems-of-record-library.service.js +6 -3
- package/dist/src/services/application/systems-of-record-library.service.js.map +1 -1
- package/dist/src/services/assurance/assurance-cycle-location.service.d.ts +59 -0
- package/dist/src/services/assurance/assurance-cycle-location.service.d.ts.map +1 -0
- package/dist/src/services/assurance/assurance-cycle-location.service.js +139 -0
- package/dist/src/services/assurance/assurance-cycle-location.service.js.map +1 -0
- package/dist/src/services/blueprint/blueprint-apply.service.d.ts.map +1 -1
- package/dist/src/services/blueprint/blueprint-apply.service.js.map +1 -1
- package/dist/src/services/blueprint/blueprint-artifact.service.d.ts.map +1 -1
- package/dist/src/services/blueprint/blueprint-artifact.service.js +2 -1
- package/dist/src/services/blueprint/blueprint-artifact.service.js.map +1 -1
- package/dist/src/services/blueprint/blueprint-definition.reader.d.ts.map +1 -1
- package/dist/src/services/blueprint/blueprint-definition.reader.js.map +1 -1
- package/dist/src/services/blueprint/blueprint-export.service.d.ts.map +1 -1
- package/dist/src/services/blueprint/blueprint-export.service.js +2 -1
- package/dist/src/services/blueprint/blueprint-export.service.js.map +1 -1
- package/dist/src/services/blueprint/blueprint-line.service.d.ts.map +1 -1
- package/dist/src/services/blueprint/blueprint-line.service.js +5 -3
- package/dist/src/services/blueprint/blueprint-line.service.js.map +1 -1
- package/dist/src/services/blueprint/blueprint-module-references.service.d.ts.map +1 -1
- package/dist/src/services/blueprint/blueprint-module-references.service.js.map +1 -1
- package/dist/src/services/blueprint/blueprint-registry.service.d.ts.map +1 -1
- package/dist/src/services/blueprint/blueprint-registry.service.js.map +1 -1
- package/dist/src/services/blueprint/blueprint-report.d.ts.map +1 -1
- package/dist/src/services/blueprint/blueprint-report.js.map +1 -1
- package/dist/src/services/blueprint/framework-blueprint-catalog.service.d.ts +1 -1
- package/dist/src/services/blueprint/framework-blueprint-catalog.service.d.ts.map +1 -1
- package/dist/src/services/blueprint/framework-blueprint-catalog.service.js +1 -1
- package/dist/src/services/blueprint/framework-blueprint-catalog.service.js.map +1 -1
- package/dist/src/services/blueprint/framework-blueprints.service.d.ts.map +1 -1
- package/dist/src/services/blueprint/framework-blueprints.service.js +20 -7
- package/dist/src/services/blueprint/framework-blueprints.service.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 +8 -33
- package/dist/src/services/catalog/service-catalog.schemas.d.ts.map +1 -1
- package/dist/src/services/catalog/service-catalog.schemas.js +23 -6
- package/dist/src/services/catalog/service-catalog.schemas.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/coding-agents/coding-agent-login.service.d.ts.map +1 -1
- package/dist/src/services/coding-agents/coding-agent-login.service.js.map +1 -1
- package/dist/src/services/companion/agent-stop-reason-words.d.ts.map +1 -1
- package/dist/src/services/companion/agent-stop-reason-words.js.map +1 -1
- package/dist/src/services/companion/agent-work-shortfall-words.d.ts.map +1 -1
- package/dist/src/services/companion/agent-work-shortfall-words.js +21 -2
- package/dist/src/services/companion/agent-work-shortfall-words.js.map +1 -1
- package/dist/src/services/companion/build-console.service.d.ts +179 -7
- package/dist/src/services/companion/build-console.service.d.ts.map +1 -1
- package/dist/src/services/companion/build-console.service.js +184 -15
- package/dist/src/services/companion/build-console.service.js.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 +25 -1
- package/dist/src/services/companion/companion-client.service.d.ts.map +1 -1
- package/dist/src/services/companion/companion-client.service.js +61 -10
- package/dist/src/services/companion/companion-client.service.js.map +1 -1
- package/dist/src/services/companion/companion-health-hint.utils.d.ts +2 -1
- package/dist/src/services/companion/companion-health-hint.utils.d.ts.map +1 -1
- package/dist/src/services/companion/companion-health-hint.utils.js +8 -1
- package/dist/src/services/companion/companion-health-hint.utils.js.map +1 -1
- package/dist/src/services/companion/companion-lifecycle.service.d.ts.map +1 -1
- package/dist/src/services/companion/companion-lifecycle.service.js.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/console-agent.d.ts +50 -0
- package/dist/src/services/companion/console-agent.d.ts.map +1 -0
- package/dist/src/services/companion/console-agent.js +67 -0
- package/dist/src/services/companion/console-agent.js.map +1 -0
- package/dist/src/services/companion/console-fast-path.d.ts +6 -4
- package/dist/src/services/companion/console-fast-path.d.ts.map +1 -1
- package/dist/src/services/companion/console-fast-path.js +12 -9
- package/dist/src/services/companion/console-fast-path.js.map +1 -1
- package/dist/src/services/companion/console-verb.utils.d.ts +7 -0
- package/dist/src/services/companion/console-verb.utils.d.ts.map +1 -1
- package/dist/src/services/companion/console-verb.utils.js +22 -1
- package/dist/src/services/companion/console-verb.utils.js.map +1 -1
- package/dist/src/services/companion/creation-console.service.d.ts +44 -13
- package/dist/src/services/companion/creation-console.service.d.ts.map +1 -1
- package/dist/src/services/companion/creation-console.service.js +121 -7
- package/dist/src/services/companion/creation-console.service.js.map +1 -1
- package/dist/src/services/companion/creation-drive.service.d.ts +262 -0
- package/dist/src/services/companion/creation-drive.service.d.ts.map +1 -0
- package/dist/src/services/companion/creation-drive.service.js +499 -0
- package/dist/src/services/companion/creation-drive.service.js.map +1 -0
- package/dist/src/services/companion/creation-run-report.models.d.ts +14 -0
- package/dist/src/services/companion/creation-run-report.models.d.ts.map +1 -1
- package/dist/src/services/companion/creation-run-report.models.js.map +1 -1
- package/dist/src/services/companion/git-helper.service.d.ts.map +1 -1
- package/dist/src/services/companion/git-helper.service.js.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-browser-launcher.service.js.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/data-retention-schedule.generator.d.ts.map +1 -1
- package/dist/src/services/compliance/data-retention-schedule.generator.js.map +1 -1
- package/dist/src/services/compliance/generated-compliance-module-wiring.d.ts.map +1 -1
- package/dist/src/services/compliance/generated-compliance-module-wiring.js.map +1 -1
- package/dist/src/services/compliance/governed-document-releases.generator.d.ts +22 -6
- package/dist/src/services/compliance/governed-document-releases.generator.d.ts.map +1 -1
- package/dist/src/services/compliance/governed-document-releases.generator.js +31 -11
- package/dist/src/services/compliance/governed-document-releases.generator.js.map +1 -1
- package/dist/src/services/compliance/legal-notice.generator.d.ts.map +1 -1
- package/dist/src/services/compliance/legal-notice.generator.js.map +1 -1
- package/dist/src/services/compliance/service-consent-requirement.generator.d.ts.map +1 -1
- package/dist/src/services/compliance/service-consent-requirement.generator.js.map +1 -1
- package/dist/src/services/compliance/subject-data-recipients.generator.d.ts.map +1 -1
- package/dist/src/services/compliance/subject-data-recipients.generator.js.map +1 -1
- package/dist/src/services/context/context-manager.service.d.ts.map +1 -1
- package/dist/src/services/context/context-manager.service.js.map +1 -1
- package/dist/src/services/context/context.schemas.d.ts.map +1 -1
- package/dist/src/services/context/context.schemas.js.map +1 -1
- package/dist/src/services/context/machine-preferences.writer.d.ts.map +1 -1
- package/dist/src/services/context/machine-preferences.writer.js.map +1 -1
- package/dist/src/services/context/state-manager.service.d.ts.map +1 -1
- package/dist/src/services/context/state-manager.service.js.map +1 -1
- package/dist/src/services/credentials/application-secret-owners.service.d.ts +6 -1
- package/dist/src/services/credentials/application-secret-owners.service.d.ts.map +1 -1
- package/dist/src/services/credentials/application-secret-owners.service.js +50 -102
- package/dist/src/services/credentials/application-secret-owners.service.js.map +1 -1
- package/dist/src/services/credentials/application-secrets.service.d.ts.map +1 -1
- package/dist/src/services/credentials/application-secrets.service.js +42 -13
- package/dist/src/services/credentials/application-secrets.service.js.map +1 -1
- package/dist/src/services/credentials/ci-secrets-adapter.service.d.ts.map +1 -1
- package/dist/src/services/credentials/ci-secrets-adapter.service.js.map +1 -1
- package/dist/src/services/credentials/composed-provider-catalogue.d.ts +54 -3
- package/dist/src/services/credentials/composed-provider-catalogue.d.ts.map +1 -1
- package/dist/src/services/credentials/composed-provider-catalogue.js +77 -14
- package/dist/src/services/credentials/composed-provider-catalogue.js.map +1 -1
- package/dist/src/services/credentials/credentials.schemas.d.ts +21 -159
- package/dist/src/services/credentials/credentials.schemas.d.ts.map +1 -1
- package/dist/src/services/credentials/credentials.schemas.js +35 -18
- package/dist/src/services/credentials/credentials.schemas.js.map +1 -1
- package/dist/src/services/credentials/credentials.service.d.ts +8 -2
- package/dist/src/services/credentials/credentials.service.d.ts.map +1 -1
- package/dist/src/services/credentials/credentials.service.js +11 -2
- package/dist/src/services/credentials/credentials.service.js.map +1 -1
- package/dist/src/services/credentials/framework-managed-secrets.d.ts +19 -5
- package/dist/src/services/credentials/framework-managed-secrets.d.ts.map +1 -1
- package/dist/src/services/credentials/framework-managed-secrets.js +42 -14
- package/dist/src/services/credentials/framework-managed-secrets.js.map +1 -1
- package/dist/src/services/credentials/local-defaults.service.d.ts.map +1 -1
- package/dist/src/services/credentials/local-defaults.service.js.map +1 -1
- package/dist/src/services/credentials/local-secrets-store.service.d.ts.map +1 -1
- package/dist/src/services/credentials/local-secrets-store.service.js.map +1 -1
- package/dist/src/services/credentials/provider-env-vars.utils.d.ts.map +1 -1
- package/dist/src/services/credentials/provider-env-vars.utils.js +21 -5
- package/dist/src/services/credentials/provider-env-vars.utils.js.map +1 -1
- package/dist/src/services/credentials/provider-secret-format.d.ts.map +1 -1
- package/dist/src/services/credentials/provider-secret-format.js.map +1 -1
- package/dist/src/services/credentials/remote-secrets-store.service.d.ts.map +1 -1
- package/dist/src/services/credentials/remote-secrets-store.service.js.map +1 -1
- package/dist/src/services/credentials/secret-requirements.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secret-requirements.service.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.map +1 -1
- package/dist/src/services/credentials/secrets-reader.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-reader.service.js.map +1 -1
- package/dist/src/services/credentials/secrets-rotation.service.d.ts +9 -0
- package/dist/src/services/credentials/secrets-rotation.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-rotation.service.js +1 -1
- package/dist/src/services/credentials/secrets-rotation.service.js.map +1 -1
- package/dist/src/services/credentials/secrets-writer.service.d.ts +4 -1
- package/dist/src/services/credentials/secrets-writer.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-writer.service.js +4 -2
- package/dist/src/services/credentials/secrets-writer.service.js.map +1 -1
- package/dist/src/services/data-services/data-services.schemas.d.ts +9 -0
- package/dist/src/services/data-services/data-services.schemas.d.ts.map +1 -1
- package/dist/src/services/data-services/data-services.schemas.js +9 -0
- 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/data-services/data-services.service.js.map +1 -1
- package/dist/src/services/data-services/platform-key-vault.break-glass.service.d.ts +93 -0
- package/dist/src/services/data-services/platform-key-vault.break-glass.service.d.ts.map +1 -0
- package/dist/src/services/data-services/platform-key-vault.break-glass.service.js +253 -0
- package/dist/src/services/data-services/platform-key-vault.break-glass.service.js.map +1 -0
- package/dist/src/services/data-services/platform-key-vault.break-glass.target.d.ts +22 -0
- package/dist/src/services/data-services/platform-key-vault.break-glass.target.d.ts.map +1 -0
- package/dist/src/services/data-services/platform-key-vault.break-glass.target.js +64 -0
- package/dist/src/services/data-services/platform-key-vault.break-glass.target.js.map +1 -0
- package/dist/src/services/data-services/platform-key-vault.server-config.d.ts +42 -11
- package/dist/src/services/data-services/platform-key-vault.server-config.d.ts.map +1 -1
- package/dist/src/services/data-services/platform-key-vault.server-config.js +63 -16
- package/dist/src/services/data-services/platform-key-vault.server-config.js.map +1 -1
- package/dist/src/services/deployment/application-first-run-checks.service.d.ts +131 -0
- package/dist/src/services/deployment/application-first-run-checks.service.d.ts.map +1 -0
- package/dist/src/services/deployment/application-first-run-checks.service.js +438 -0
- package/dist/src/services/deployment/application-first-run-checks.service.js.map +1 -0
- package/dist/src/services/deployment/application-runtime-environment.d.ts +93 -0
- package/dist/src/services/deployment/application-runtime-environment.d.ts.map +1 -0
- package/dist/src/services/deployment/application-runtime-environment.js +116 -0
- package/dist/src/services/deployment/application-runtime-environment.js.map +1 -0
- package/dist/src/services/deployment/apps-manager-diagnostics.service.d.ts.map +1 -1
- package/dist/src/services/deployment/apps-manager-diagnostics.service.js.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 +14 -1
- package/dist/src/services/deployment/ci-deploy-generator.service.js.map +1 -1
- package/dist/src/services/deployment/ci-workflow-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/ci-workflow-generator.service.js.map +1 -1
- package/dist/src/services/deployment/docker/backing-service-health-watch.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/backing-service-health-watch.js.map +1 -1
- package/dist/src/services/deployment/docker/compose-service-health.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/compose-service-health.js.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts +177 -51
- 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 +368 -93
- package/dist/src/services/deployment/docker/docker-compose-generator.service.js.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker-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.schemas.js.map +1 -1
- package/dist/src/services/deployment/docker/docker.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker.service.js.map +1 -1
- package/dist/src/services/deployment/docker/local-data-adoption.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/local-data-adoption.service.js.map +1 -1
- package/dist/src/services/deployment/framework-pod-network-membership.d.ts +56 -0
- package/dist/src/services/deployment/framework-pod-network-membership.d.ts.map +1 -0
- package/dist/src/services/deployment/framework-pod-network-membership.js +126 -0
- package/dist/src/services/deployment/framework-pod-network-membership.js.map +1 -0
- package/dist/src/services/deployment/host-toolchain-readiness.service.d.ts.map +1 -1
- package/dist/src/services/deployment/host-toolchain-readiness.service.js.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 +4 -4
- package/dist/src/services/deployment/infra-writer.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.js.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.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-local-infra-readiness.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts +51 -10
- 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 +179 -43
- 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 +38 -2
- 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-operations.service.js.map +1 -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 +35 -31
- 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/k8s.schemas.js.map +1 -1
- package/dist/src/services/deployment/k8s/kind.service.d.ts.map +1 -1
- 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/k8s/local-k8s-application-pruning.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/off-cluster-backing-services.d.ts +38 -0
- package/dist/src/services/deployment/k8s/off-cluster-backing-services.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/off-cluster-backing-services.js +84 -0
- package/dist/src/services/deployment/k8s/off-cluster-backing-services.js.map +1 -0
- package/dist/src/services/deployment/local-dev-log-retention.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-dev-log-retention.service.js +3 -2
- package/dist/src/services/deployment/local-dev-log-retention.service.js.map +1 -1
- package/dist/src/services/deployment/local-dev-observer-lifecycle.d.ts.map +1 -1
- package/dist/src/services/deployment/local-dev-observer-lifecycle.js.map +1 -1
- package/dist/src/services/deployment/local-dev-output-boundary.d.ts.map +1 -1
- package/dist/src/services/deployment/local-dev-output-boundary.js.map +1 -1
- package/dist/src/services/deployment/local-dev-session-lease.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-dev-session-lease.service.js +22 -1
- 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.map +1 -1
- 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.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.schemas.js.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.service.d.ts +53 -0
- package/dist/src/services/deployment/local-precondition-checks.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.service.js +118 -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 +32 -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.map +1 -1
- package/dist/src/services/deployment/platform-runtime-policy.service.d.ts.map +1 -1
- package/dist/src/services/deployment/platform-runtime-policy.service.js.map +1 -1
- package/dist/src/services/deployment/version-compare.utils.d.ts.map +1 -1
- package/dist/src/services/deployment/version-compare.utils.js.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-command.service.js.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.service.js.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-config.template.js.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-css-block.service.js.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-paths.service.js.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.constants.js.map +1 -1
- package/dist/src/services/design-tokens/design-tokens.models.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens.models.js.map +1 -1
- package/dist/src/services/environment/application-backing-service-addressing.utils.d.ts.map +1 -1
- package/dist/src/services/environment/application-backing-service-addressing.utils.js.map +1 -1
- package/dist/src/services/environment/authored-infra-config.utils.d.ts +9 -1
- package/dist/src/services/environment/authored-infra-config.utils.d.ts.map +1 -1
- package/dist/src/services/environment/authored-infra-config.utils.js +14 -1
- package/dist/src/services/environment/authored-infra-config.utils.js.map +1 -1
- package/dist/src/services/environment/authored-infra-member-authority.d.ts +87 -0
- package/dist/src/services/environment/authored-infra-member-authority.d.ts.map +1 -0
- package/dist/src/services/environment/authored-infra-member-authority.js +256 -0
- package/dist/src/services/environment/authored-infra-member-authority.js.map +1 -0
- package/dist/src/services/environment/container-host-gateway-listen-host.d.ts +56 -0
- package/dist/src/services/environment/container-host-gateway-listen-host.d.ts.map +1 -0
- package/dist/src/services/environment/container-host-gateway-listen-host.js +102 -0
- package/dist/src/services/environment/container-host-gateway-listen-host.js.map +1 -0
- package/dist/src/services/environment/env-configuration-generator.service.d.ts +13 -8
- package/dist/src/services/environment/env-configuration-generator.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-configuration-generator.service.js +38 -13
- package/dist/src/services/environment/env-configuration-generator.service.js.map +1 -1
- package/dist/src/services/environment/env-sync.service.d.ts +3 -2
- package/dist/src/services/environment/env-sync.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-sync.service.js +21 -7
- package/dist/src/services/environment/env-sync.service.js.map +1 -1
- package/dist/src/services/environment/env-vars-builder.service.d.ts +35 -4
- package/dist/src/services/environment/env-vars-builder.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-vars-builder.service.js +88 -55
- 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 +29 -30
- package/dist/src/services/environment/environment-hydration.utils.js.map +1 -1
- package/dist/src/services/environment/environment-lifecycle.service.d.ts +19 -0
- package/dist/src/services/environment/environment-lifecycle.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-lifecycle.service.js +35 -0
- package/dist/src/services/environment/environment-lifecycle.service.js.map +1 -1
- 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 +5 -6
- package/dist/src/services/environment/environment-registry.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-registry.service.js +5 -6
- package/dist/src/services/environment/environment-registry.service.js.map +1 -1
- package/dist/src/services/environment/environment-service-profile.utils.d.ts +34 -0
- package/dist/src/services/environment/environment-service-profile.utils.d.ts.map +1 -0
- package/dist/src/services/environment/environment-service-profile.utils.js +43 -0
- package/dist/src/services/environment/environment-service-profile.utils.js.map +1 -0
- package/dist/src/services/environment/environment-setup.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-setup.service.js +1 -1
- package/dist/src/services/environment/environment-setup.service.js.map +1 -1
- package/dist/src/services/environment/environment.schemas.d.ts +14 -11
- 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 +5 -0
- package/dist/src/services/environment/environment.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment.service.js +2 -0
- package/dist/src/services/environment/environment.service.js.map +1 -1
- package/dist/src/services/environment/hosted-infrastructure-leftovers.service.d.ts.map +1 -1
- package/dist/src/services/environment/hosted-infrastructure-leftovers.service.js.map +1 -1
- package/dist/src/services/environment/infrastructure-host.service.d.ts.map +1 -1
- package/dist/src/services/environment/infrastructure-host.service.js.map +1 -1
- package/dist/src/services/environment/platform-engine-change.utils.d.ts.map +1 -1
- package/dist/src/services/environment/platform-engine-change.utils.js.map +1 -1
- package/dist/src/services/environment/platform-runtime-state.service.d.ts.map +1 -1
- package/dist/src/services/environment/platform-runtime-state.service.js.map +1 -1
- package/dist/src/services/environment/platform-runtime.schemas.d.ts +26 -0
- package/dist/src/services/environment/platform-runtime.schemas.d.ts.map +1 -1
- package/dist/src/services/environment/platform-runtime.schemas.js +28 -0
- package/dist/src/services/environment/platform-runtime.schemas.js.map +1 -1
- package/dist/src/services/environment/runtime-bootstrap.service.d.ts +106 -61
- package/dist/src/services/environment/runtime-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/environment/runtime-bootstrap.service.js +178 -152
- package/dist/src/services/environment/runtime-bootstrap.service.js.map +1 -1
- package/dist/src/services/framework/application-agent-hooks-console.d.ts +153 -0
- package/dist/src/services/framework/application-agent-hooks-console.d.ts.map +1 -0
- package/dist/src/services/framework/application-agent-hooks-console.js +401 -0
- package/dist/src/services/framework/application-agent-hooks-console.js.map +1 -0
- package/dist/src/services/framework/application-agent-skills-console.d.ts +78 -0
- package/dist/src/services/framework/application-agent-skills-console.d.ts.map +1 -0
- package/dist/src/services/framework/application-agent-skills-console.js +116 -0
- package/dist/src/services/framework/application-agent-skills-console.js.map +1 -0
- package/dist/src/services/framework/application-claude-settings.d.ts.map +1 -1
- package/dist/src/services/framework/application-claude-settings.js.map +1 -1
- package/dist/src/services/framework/application-console-loaders.d.ts +107 -0
- package/dist/src/services/framework/application-console-loaders.d.ts.map +1 -0
- package/dist/src/services/framework/application-console-loaders.js +221 -0
- package/dist/src/services/framework/application-console-loaders.js.map +1 -0
- package/dist/src/services/framework/application-opencode-console.d.ts +43 -0
- package/dist/src/services/framework/application-opencode-console.d.ts.map +1 -0
- package/dist/src/services/framework/application-opencode-console.js +68 -0
- package/dist/src/services/framework/application-opencode-console.js.map +1 -0
- package/dist/src/services/framework/application-provider-skills.service.d.ts.map +1 -1
- package/dist/src/services/framework/application-provider-skills.service.js.map +1 -1
- 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/auditable-event-catalog.generator.d.ts.map +1 -1
- package/dist/src/services/framework/auditable-event-catalog.generator.js.map +1 -1
- package/dist/src/services/framework/claude-plugin-compiler.d.ts +6 -0
- package/dist/src/services/framework/claude-plugin-compiler.d.ts.map +1 -1
- package/dist/src/services/framework/claude-plugin-compiler.js +6 -1
- package/dist/src/services/framework/claude-plugin-compiler.js.map +1 -1
- package/dist/src/services/framework/dev-compile-status.paths.d.ts.map +1 -1
- package/dist/src/services/framework/dev-compile-status.paths.js.map +1 -1
- package/dist/src/services/framework/enum-member-docs.reader.d.ts.map +1 -1
- package/dist/src/services/framework/enum-member-docs.reader.js.map +1 -1
- package/dist/src/services/framework/flows-actors-realtime-catalog.generator.d.ts +5 -0
- package/dist/src/services/framework/flows-actors-realtime-catalog.generator.d.ts.map +1 -1
- package/dist/src/services/framework/flows-actors-realtime-catalog.generator.js +7 -2
- package/dist/src/services/framework/flows-actors-realtime-catalog.generator.js.map +1 -1
- package/dist/src/services/framework/framework-development-skills-sync.service.d.ts +19 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-development-skills-sync.service.js +18 -4
- 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 +34 -2
- package/dist/src/services/framework/framework-docker-publish.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-docker-publish.service.js +63 -17
- 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-application-guidance.validator.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.d.ts +20 -3
- package/dist/src/services/framework/framework-knowledge-audit.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.js +86 -3
- package/dist/src/services/framework/framework-knowledge-audit.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-generation.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-generation.service.js.map +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.map +1 -1
- package/dist/src/services/framework/framework-npm-credential.d.ts +76 -0
- package/dist/src/services/framework/framework-npm-credential.d.ts.map +1 -0
- package/dist/src/services/framework/framework-npm-credential.js +113 -0
- package/dist/src/services/framework/framework-npm-credential.js.map +1 -0
- package/dist/src/services/framework/framework-npm-dist-tag.service.d.ts +100 -8
- package/dist/src/services/framework/framework-npm-dist-tag.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-npm-dist-tag.service.js +147 -25
- package/dist/src/services/framework/framework-npm-dist-tag.service.js.map +1 -1
- package/dist/src/services/framework/framework-npm-publish.service.d.ts +50 -4
- package/dist/src/services/framework/framework-npm-publish.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-npm-publish.service.js +128 -56
- package/dist/src/services/framework/framework-npm-publish.service.js.map +1 -1
- package/dist/src/services/framework/framework-publish-cli-origin.d.ts +22 -0
- package/dist/src/services/framework/framework-publish-cli-origin.d.ts.map +1 -0
- package/dist/src/services/framework/framework-publish-cli-origin.js +49 -0
- package/dist/src/services/framework/framework-publish-cli-origin.js.map +1 -0
- package/dist/src/services/framework/framework-publish-manifest.service.d.ts +18 -3
- package/dist/src/services/framework/framework-publish-manifest.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-publish-manifest.service.js +43 -75
- package/dist/src/services/framework/framework-publish-manifest.service.js.map +1 -1
- package/dist/src/services/framework/framework-release.service.d.ts +13 -0
- package/dist/src/services/framework/framework-release.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-release.service.js +15 -2
- package/dist/src/services/framework/framework-release.service.js.map +1 -1
- package/dist/src/services/framework/framework-update.service.d.ts +7 -3
- package/dist/src/services/framework/framework-update.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-update.service.js +25 -16
- package/dist/src/services/framework/framework-update.service.js.map +1 -1
- package/dist/src/services/framework/framework-version.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-version.service.js.map +1 -1
- package/dist/src/services/framework/frontend-component-catalog.generator.d.ts.map +1 -1
- package/dist/src/services/framework/frontend-component-catalog.generator.js.map +1 -1
- package/dist/src/services/framework/frontend-library-root-exports.d.ts.map +1 -1
- package/dist/src/services/framework/frontend-library-root-exports.js.map +1 -1
- package/dist/src/services/framework/installed-framework-assets.service.d.ts +2 -2
- package/dist/src/services/framework/installed-framework-assets.service.d.ts.map +1 -1
- package/dist/src/services/framework/installed-framework-assets.service.js +4 -0
- package/dist/src/services/framework/installed-framework-assets.service.js.map +1 -1
- package/dist/src/services/framework/npm-registry-output.d.ts.map +1 -1
- package/dist/src/services/framework/npm-registry-output.js.map +1 -1
- package/dist/src/services/framework/package-install.service.d.ts +13 -3
- package/dist/src/services/framework/package-install.service.d.ts.map +1 -1
- package/dist/src/services/framework/package-install.service.js +22 -9
- package/dist/src/services/framework/package-install.service.js.map +1 -1
- 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.map +1 -1
- package/dist/src/services/framework/provider-transposition/api-version-settlement.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/api-version-settlement.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/base-url-settlement.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/base-url-settlement.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/openapi-enrichment.d.ts.map +1 -1
- 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.map +1 -1
- 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.map +1 -1
- 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.map +1 -1
- 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.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.js +3 -3
- 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.map +1 -1
- package/dist/src/services/framework/provider-transposition/request-helper-url.js.map +1 -1
- 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.map +1 -1
- package/dist/src/services/framework/provider-transposition/source-static-evaluator.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/source-static-evaluator.js.map +1 -1
- 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.map +1 -1
- 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.map +1 -1
- package/dist/src/services/framework/registry-host/registry-host-monitoring.d.ts.map +1 -1
- package/dist/src/services/framework/registry-host/registry-host-monitoring.js.map +1 -1
- package/dist/src/services/framework/registry-host/registry-host-remote.d.ts.map +1 -1
- package/dist/src/services/framework/registry-host/registry-host-remote.js.map +1 -1
- package/dist/src/services/framework/registry-host/registry-host.service.d.ts.map +1 -1
- package/dist/src/services/framework/registry-host/registry-host.service.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 +3 -6
- package/dist/src/services/frontend/cloudflare-cdn.service.js.map +1 -1
- package/dist/src/services/frontend/frontend-dist-uploader.service.d.ts +11 -3
- package/dist/src/services/frontend/frontend-dist-uploader.service.d.ts.map +1 -1
- package/dist/src/services/frontend/frontend-dist-uploader.service.js +72 -29
- package/dist/src/services/frontend/frontend-dist-uploader.service.js.map +1 -1
- package/dist/src/services/frontend/frontend-look.service.d.ts.map +1 -1
- package/dist/src/services/frontend/frontend-look.service.js +2 -1
- package/dist/src/services/frontend/frontend-look.service.js.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.map +1 -1
- package/dist/src/services/generation/domain-generator.service.d.ts.map +1 -1
- package/dist/src/services/generation/domain-generator.service.js.map +1 -1
- package/dist/src/services/generation/generator.schemas.d.ts.map +1 -1
- package/dist/src/services/generation/generator.schemas.js.map +1 -1
- package/dist/src/services/generation/operation-generator.service.d.ts.map +1 -1
- package/dist/src/services/generation/operation-generator.service.js.map +1 -1
- package/dist/src/services/generation/resource-generator.service.d.ts.map +1 -1
- package/dist/src/services/generation/resource-generator.service.js.map +1 -1
- package/dist/src/services/generation/template-registry.service.d.ts.map +1 -1
- package/dist/src/services/generation/template-registry.service.js.map +1 -1
- package/dist/src/services/registry/application-provider-connection.service.d.ts +161 -0
- package/dist/src/services/registry/application-provider-connection.service.d.ts.map +1 -0
- package/dist/src/services/registry/application-provider-connection.service.js +337 -0
- package/dist/src/services/registry/application-provider-connection.service.js.map +1 -0
- package/dist/src/services/registry/artifact-extractor.utils.d.ts.map +1 -1
- package/dist/src/services/registry/artifact-extractor.utils.js.map +1 -1
- package/dist/src/services/registry/artifact-trust.utils.d.ts.map +1 -1
- package/dist/src/services/registry/artifact-trust.utils.js.map +1 -1
- package/dist/src/services/registry/boundary-fanout.utils.d.ts.map +1 -1
- package/dist/src/services/registry/boundary-fanout.utils.js.map +1 -1
- package/dist/src/services/registry/git-ignored-paths.utils.d.ts.map +1 -1
- package/dist/src/services/registry/git-ignored-paths.utils.js +13 -2
- package/dist/src/services/registry/git-ignored-paths.utils.js.map +1 -1
- package/dist/src/services/registry/index.d.ts.map +1 -1
- package/dist/src/services/registry/index.js.map +1 -1
- package/dist/src/services/registry/installed-file-state.utils.d.ts.map +1 -1
- package/dist/src/services/registry/installed-file-state.utils.js.map +1 -1
- package/dist/src/services/registry/installed-provider-module.service.d.ts.map +1 -1
- package/dist/src/services/registry/installed-provider-module.service.js.map +1 -1
- package/dist/src/services/registry/local-checkout-module-source.service.d.ts.map +1 -1
- package/dist/src/services/registry/local-checkout-module-source.service.js.map +1 -1
- package/dist/src/services/registry/migration-obligation.utils.d.ts.map +1 -1
- package/dist/src/services/registry/migration-obligation.utils.js.map +1 -1
- package/dist/src/services/registry/module-acquisition.utils.d.ts.map +1 -1
- package/dist/src/services/registry/module-acquisition.utils.js.map +1 -1
- package/dist/src/services/registry/module-artifact-files.utils.d.ts.map +1 -1
- package/dist/src/services/registry/module-artifact-files.utils.js.map +1 -1
- package/dist/src/services/registry/module-install.service.d.ts.map +1 -1
- package/dist/src/services/registry/module-install.service.js.map +1 -1
- package/dist/src/services/registry/module-publish.service.d.ts.map +1 -1
- package/dist/src/services/registry/module-publish.service.js +16 -7
- package/dist/src/services/registry/module-publish.service.js.map +1 -1
- package/dist/src/services/registry/module-registration.service.d.ts +0 -11
- package/dist/src/services/registry/module-registration.service.d.ts.map +1 -1
- package/dist/src/services/registry/module-registration.service.js +88 -149
- package/dist/src/services/registry/module-registration.service.js.map +1 -1
- package/dist/src/services/registry/module-requirements.service.d.ts.map +1 -1
- package/dist/src/services/registry/module-requirements.service.js +5 -5
- package/dist/src/services/registry/module-requirements.service.js.map +1 -1
- package/dist/src/services/registry/provider-configuration-checks.service.d.ts +55 -0
- package/dist/src/services/registry/provider-configuration-checks.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-configuration-checks.service.js +208 -0
- package/dist/src/services/registry/provider-configuration-checks.service.js.map +1 -0
- package/dist/src/services/registry/provider-connect.service.d.ts +300 -0
- package/dist/src/services/registry/provider-connect.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-connect.service.js +712 -0
- package/dist/src/services/registry/provider-connect.service.js.map +1 -0
- package/dist/src/services/registry/provider-graphql-schema-conformance.service.d.ts +29 -0
- package/dist/src/services/registry/provider-graphql-schema-conformance.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-graphql-schema-conformance.service.js +121 -0
- package/dist/src/services/registry/provider-graphql-schema-conformance.service.js.map +1 -0
- package/dist/src/services/registry/provider-install-step.d.ts +38 -4
- package/dist/src/services/registry/provider-install-step.d.ts.map +1 -1
- package/dist/src/services/registry/provider-install-step.js +56 -11
- package/dist/src/services/registry/provider-install-step.js.map +1 -1
- package/dist/src/services/registry/provider-module-checks.service.d.ts +12 -1
- package/dist/src/services/registry/provider-module-checks.service.d.ts.map +1 -1
- package/dist/src/services/registry/provider-module-checks.service.js +114 -25
- package/dist/src/services/registry/provider-module-checks.service.js.map +1 -1
- package/dist/src/services/registry/provider-module-engine-range.service.d.ts +88 -0
- package/dist/src/services/registry/provider-module-engine-range.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-module-engine-range.service.js +386 -0
- package/dist/src/services/registry/provider-module-engine-range.service.js.map +1 -0
- package/dist/src/services/registry/provider-module-identity.service.d.ts.map +1 -1
- package/dist/src/services/registry/provider-module-identity.service.js.map +1 -1
- package/dist/src/services/registry/provider-module-scaffold.service.d.ts +1 -1
- package/dist/src/services/registry/provider-module-scaffold.service.d.ts.map +1 -1
- package/dist/src/services/registry/provider-module-scaffold.service.js +9 -0
- package/dist/src/services/registry/provider-module-scaffold.service.js.map +1 -1
- package/dist/src/services/registry/provider-module-vendor-packages.service.d.ts +2 -2
- package/dist/src/services/registry/provider-module-vendor-packages.service.d.ts.map +1 -1
- package/dist/src/services/registry/provider-module-vendor-packages.service.js +9 -6
- package/dist/src/services/registry/provider-module-vendor-packages.service.js.map +1 -1
- package/dist/src/services/registry/provider-openapi-conformance.service.d.ts +22 -12
- package/dist/src/services/registry/provider-openapi-conformance.service.d.ts.map +1 -1
- package/dist/src/services/registry/provider-openapi-conformance.service.js +122 -51
- package/dist/src/services/registry/provider-openapi-conformance.service.js.map +1 -1
- package/dist/src/services/registry/provider-probe-credentials.service.d.ts +94 -0
- package/dist/src/services/registry/provider-probe-credentials.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-probe-credentials.service.js +184 -0
- package/dist/src/services/registry/provider-probe-credentials.service.js.map +1 -0
- package/dist/src/services/registry/provider-probe.service.d.ts +189 -5
- package/dist/src/services/registry/provider-probe.service.d.ts.map +1 -1
- package/dist/src/services/registry/provider-probe.service.js +268 -54
- package/dist/src/services/registry/provider-probe.service.js.map +1 -1
- package/dist/src/services/registry/provider-proof.service.d.ts +206 -0
- package/dist/src/services/registry/provider-proof.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-proof.service.js +640 -0
- package/dist/src/services/registry/provider-proof.service.js.map +1 -0
- package/dist/src/services/registry/provider-publication.service.d.ts +8 -0
- package/dist/src/services/registry/provider-publication.service.d.ts.map +1 -1
- package/dist/src/services/registry/provider-publication.service.js +25 -12
- package/dist/src/services/registry/provider-publication.service.js.map +1 -1
- package/dist/src/services/registry/provider-vendor-registration.service.d.ts +10 -0
- package/dist/src/services/registry/provider-vendor-registration.service.d.ts.map +1 -1
- package/dist/src/services/registry/provider-vendor-registration.service.js +34 -0
- package/dist/src/services/registry/provider-vendor-registration.service.js.map +1 -1
- package/dist/src/services/registry/provider-wiring.service.d.ts.map +1 -1
- package/dist/src/services/registry/provider-wiring.service.js +4 -4
- package/dist/src/services/registry/provider-wiring.service.js.map +1 -1
- package/dist/src/services/registry/registry-command.utils.d.ts.map +1 -1
- package/dist/src/services/registry/registry-command.utils.js.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.map +1 -1
- package/dist/src/services/registry/saas-root-required.error.d.ts.map +1 -1
- package/dist/src/services/registry/saas-root-required.error.js.map +1 -1
- package/dist/src/services/security/csp-sync.service.d.ts +20 -1
- package/dist/src/services/security/csp-sync.service.d.ts.map +1 -1
- package/dist/src/services/security/csp-sync.service.js +48 -6
- 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/tools/utility-tools.service.js.map +1 -1
- package/dist/src/services/tracker/creation-run-tracker.service.d.ts.map +1 -1
- package/dist/src/services/tracker/creation-run-tracker.service.js.map +1 -1
- package/dist/src/services/website/website-label-pack-audit.service.d.ts +2 -2
- package/dist/src/services/website/website-label-pack-audit.service.d.ts.map +1 -1
- package/dist/src/services/website/website-label-pack-audit.service.js +5 -4
- package/dist/src/services/website/website-label-pack-audit.service.js.map +1 -1
- package/dist/src/services/website/website-look.service.d.ts.map +1 -1
- package/dist/src/services/website/website-look.service.js.map +1 -1
- package/dist/src/services/website/website-schema-org-catalog.worker.d.ts +18 -0
- package/dist/src/services/website/website-schema-org-catalog.worker.d.ts.map +1 -0
- package/dist/src/services/website/website-schema-org-catalog.worker.js +104 -0
- package/dist/src/services/website/website-schema-org-catalog.worker.js.map +1 -0
- package/dist/src/services/website/website-structured-data-audit.service.d.ts +32 -5
- 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 +63 -36
- package/dist/src/services/website/website-structured-data-audit.service.js.map +1 -1
- package/dist/src/services/website/website-workspace.service.d.ts +42 -7
- package/dist/src/services/website/website-workspace.service.d.ts.map +1 -1
- package/dist/src/services/website/website-workspace.service.js +121 -12
- package/dist/src/services/website/website-workspace.service.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/framework-root-package.json +121 -59
- package/package.json +180 -99
- package/scripts/app-dependency-alignment/propagated-engine-overrides.json +67 -27
- package/scripts/dev-orchestrator/local-dev-protocol.mjs +176 -7
- package/scripts/dev-orchestrator/local-dev-status.mjs +297 -31
- package/scripts/pnpm-workspace-members.mjs +146 -0
- package/scripts/pnpm-workspace-settings.mjs +418 -0
- package/templates/infra/ci/deploy-k8s.yml.hbs +1 -1
- package/templates/infra/docker-compose/docker-compose.app.yml.hbs +17 -22
- package/templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs +139 -63
- package/templates/infra/docker-images/platform/Dockerfile.platform-base +2 -1
- package/templates/infra/k8s/applications/wildo-ai-application/custom-domain-reconciler.yaml.hbs +222 -0
- package/templates/infra/k8s/applications/wildo-ai-application/minion.deployment.yaml.hbs +30 -13
- package/templates/infra/k8s/ingress/cert-manager/wildcard-certificate.yaml.hbs +1 -2
- package/templates/infra/k8s/internal/clamav/deployment.yaml.hbs +1 -0
- package/templates/infra/k8s/internal/immudb/deployment.yaml.hbs +1 -0
- package/templates/infra/k8s/internal/minio/deployment.yaml.hbs +1 -0
- package/templates/infra/k8s/internal/mongodb/deployment.yaml.hbs +11 -0
- package/templates/infra/k8s/internal/mongot/deployment.yaml.hbs +1 -0
- package/templates/infra/k8s/internal/openbao/configmap.yaml.hbs +2 -2
- package/templates/infra/k8s/internal/openbao/deployment.yaml.hbs +19 -2
- package/templates/infra/k8s/internal/postgresql/deployment.yaml.hbs +2 -1
- package/templates/infra/k8s/internal/rabbitmq/deployment.yaml.hbs +1 -0
- package/templates/infra/k8s/internal/valkey/deployment.yaml.hbs +1 -0
- package/templates/infra/k8s/platform/platform-apps-manager/deployment.yaml.hbs +31 -0
- package/templates/infra/k8s/platform/platform-crontabs-batches-manager/deployment.yaml.hbs +1 -0
- package/templates/infra/k8s/platform/platform-module-registry/deployment.yaml.hbs +1 -0
- package/templates/infra/k8s/storage/local/persistent-volumes.yaml.hbs +3 -1
- package/templates/infra/registry-host/docker-compose.yml +4 -0
- package/templates/infra/yara-service/requirements.txt +1 -1
- package/templates/saas/blueprints/b2b-saas/blueprint.json +1 -1
- package/templates/saas/blueprints/internal-tool/blueprint.json +13 -1
- package/templates/saas/blueprints/service-firm/blueprint.json +1 -1
- package/templates/saas/engine-peer-closure.json +66 -8
- package/templates/saas/i18n/email/components/labels.fr.ts +1 -1
- package/templates/saas/i18n/email/resources/dataSubjectRequests/create.users-custom_ready/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/dataSubjectRequests/create.users-custom_ready/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/dataSubjectRequests/create.users-custom_received/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/dataSubjectRequests/create.users-custom_received/template.tsx +51 -0
- package/templates/saas/i18n/email/resources/dataSubjectRequests/update.users-custom_extended/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/dataSubjectRequests/update.users-custom_extended/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/organizationInvoiceRefs/create.organization-billing_payment-failed/labels.fr.ts +7 -5
- package/templates/saas/i18n/email/resources/organizationInvoiceRefs/update.organization-billing_payment-failed/labels.fr.ts +7 -5
- package/templates/saas/i18n/email/resources/organizationMembers/{update.organization-users → update.organization-user-management}/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationSsoConfig/repairUnreadableConfiguration.organization-users/labels.en.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationSsoConfig/repairUnreadableConfiguration.organization-users/template.tsx +63 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/cancel.organization-billing_subscription-ending/labels.fr.ts +10 -8
- package/templates/saas/i18n/email/resources/organizationSubscriptions/create.organization-billing_subscription-started/labels.fr.ts +5 -3
- package/templates/saas/i18n/email/resources/organizationSubscriptions/update.organization-billing_subscription-ending/labels.fr.ts +11 -9
- package/templates/saas/i18n/email/resources/organizationSubscriptions/update.organization-billing_subscription-started/labels.fr.ts +5 -3
- package/templates/saas/i18n/email/resources/userInvoiceRefs/create.users-custom_payment-failed/labels.fr.ts +8 -6
- package/templates/saas/i18n/email/resources/userInvoiceRefs/update.users-custom_payment-failed/labels.fr.ts +6 -4
- package/templates/saas/i18n/email/resources/userSubscriptions/cancel.users-custom_subscription-ending/labels.fr.ts +10 -8
- package/templates/saas/i18n/email/resources/userSubscriptions/create.users-custom_subscription-started/labels.fr.ts +6 -4
- package/templates/saas/i18n/email/resources/userSubscriptions/update.users-custom_subscription-ending/labels.fr.ts +11 -9
- package/templates/saas/i18n/email/resources/userSubscriptions/update.users-custom_subscription-started/labels.fr.ts +6 -4
- package/templates/saas/i18n/email/system/new-device-login/labels.fr.ts +5 -5
- package/templates/saas/i18n/email/system/relationship-invitation/labels.fr.ts +3 -3
- package/templates/saas/i18n/engine/README.md +8 -3
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_COMMAND_MENU.en.ts +2 -1
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_COMMAND_MENU.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_USER_DROPDOWN.en.ts +2 -1
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_USER_DROPDOWN.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.ts +3 -3
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.fr.ts +3 -3
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AUTONOMOUS_AGENTS_SETTINGS.en.ts +2 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AUTONOMOUS_AGENTS_SETTINGS.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.ts +4 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.fr.ts +4 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.ts +2 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_MODEL_COST_BREAKDOWN_SETTINGS.en.ts +4 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_MODEL_COST_BREAKDOWN_SETTINGS.fr.ts +4 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_REPRESENTATIVE_ACTIVITY_SETTINGS.en.ts +35 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_REPRESENTATIVE_ACTIVITY_SETTINGS.fr.ts +35 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_SECURITY_SETTINGS.fr.ts +9 -9
- package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.ts +10 -1
- package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.fr.ts +10 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.en.ts +18 -4
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.fr.ts +18 -4
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION_THREAD.en.ts +6 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION_THREAD.fr.ts +6 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_USAGE.en.ts +4 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_USAGE.fr.ts +4 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.en.ts +4 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.fr.ts +4 -1
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_AUTH.en.ts +2 -1
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_AUTH.fr.ts +2 -1
- package/templates/saas/i18n/engine/resources/actorSystemExecutions.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/actorSystemExecutions.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/actorTasks.en.ts +0 -7
- package/templates/saas/i18n/engine/resources/actorTasks.fr.ts +0 -7
- package/templates/saas/i18n/engine/resources/agentBehaviorReports.en.ts +432 -0
- package/templates/saas/i18n/engine/resources/agentBehaviorReports.fr.ts +432 -0
- package/templates/saas/i18n/engine/resources/agentOperationRecords.en.ts +497 -0
- package/templates/saas/i18n/engine/resources/agentOperationRecords.fr.ts +497 -0
- package/templates/saas/i18n/engine/resources/agentWorkCaptureSettings.en.ts +3 -3
- package/templates/saas/i18n/engine/resources/agentWorkCaptureSettings.fr.ts +2 -2
- package/templates/saas/i18n/engine/resources/anonymous_users.en.ts +2 -1
- package/templates/saas/i18n/engine/resources/anonymous_users.fr.ts +2 -1
- package/templates/saas/i18n/engine/resources/applicationAccessGrants.en.ts +57 -42
- package/templates/saas/i18n/engine/resources/applicationAccessGrants.fr.ts +19 -4
- package/templates/saas/i18n/engine/resources/applicationAgentPolicies.en.ts +113 -0
- package/templates/saas/i18n/engine/resources/applicationAgentPolicies.fr.ts +113 -0
- package/templates/saas/i18n/engine/resources/applicationApiKeys.en.ts +18 -31
- package/templates/saas/i18n/engine/resources/applicationApiKeys.fr.ts +3 -16
- package/templates/saas/i18n/engine/resources/applicationDataKeys.en.ts +223 -0
- package/templates/saas/i18n/engine/resources/applicationDataKeys.fr.ts +223 -0
- package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.en.ts +64 -0
- package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.fr.ts +64 -0
- package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.en.ts +11 -28
- package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.fr.ts +0 -17
- package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.en.ts +1 -1
- package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/applicationOAuthClients.en.ts +10 -24
- package/templates/saas/i18n/engine/resources/applicationOAuthClients.fr.ts +3 -17
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.en.ts +5 -5
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.fr.ts +2 -2
- package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.en.ts +4 -4
- package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.fr.ts +5 -5
- package/templates/saas/i18n/engine/resources/applicationSsoConfig.en.ts +14 -14
- package/templates/saas/i18n/engine/resources/applicationSsoConfig.fr.ts +3 -3
- package/templates/saas/i18n/engine/resources/applicationSsoConnections.en.ts +44 -44
- package/templates/saas/i18n/engine/resources/applicationSsoConnections.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/applications.en.ts +280 -8
- package/templates/saas/i18n/engine/resources/applications.fr.ts +279 -7
- package/templates/saas/i18n/engine/resources/approvalSeals.en.ts +529 -0
- package/templates/saas/i18n/engine/resources/approvalSeals.fr.ts +529 -0
- package/templates/saas/i18n/engine/resources/dataSeedRuns.en.ts +281 -325
- package/templates/saas/i18n/engine/resources/dataSeedRuns.fr.ts +120 -164
- package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.en.ts +36 -36
- package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.fr.ts +4 -4
- package/templates/saas/i18n/engine/resources/files.en.ts +30 -1
- package/templates/saas/i18n/engine/resources/files.fr.ts +30 -1
- package/templates/saas/i18n/engine/resources/jobExecutions.en.ts +226 -248
- package/templates/saas/i18n/engine/resources/jobExecutions.fr.ts +60 -82
- package/templates/saas/i18n/engine/resources/legalHolds.en.ts +21 -21
- package/templates/saas/i18n/engine/resources/legalHolds.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/modelCallAttributions.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/modelCallAttributions.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/operationApprovalRequests.en.ts +221 -0
- package/templates/saas/i18n/engine/resources/operationApprovalRequests.fr.ts +221 -0
- package/templates/saas/i18n/engine/resources/organizationAgentPolicies.en.ts +184 -0
- package/templates/saas/i18n/engine/resources/organizationAgentPolicies.fr.ts +184 -0
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisionContents.en.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisionContents.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationApiKeys.en.ts +16 -26
- package/templates/saas/i18n/engine/resources/organizationApiKeys.fr.ts +2 -12
- package/templates/saas/i18n/engine/resources/organizationBillingAccounts.en.ts +24 -22
- package/templates/saas/i18n/engine/resources/organizationBillingAccounts.fr.ts +24 -22
- package/templates/saas/i18n/engine/resources/organizationFeatures.en.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationFeatures.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.en.ts +64 -0
- package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.fr.ts +64 -0
- package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.en.ts +11 -28
- package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.fr.ts +0 -17
- package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.en.ts +12 -4
- package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.fr.ts +12 -4
- package/templates/saas/i18n/engine/resources/organizationLifecycleState.en.ts +5 -5
- package/templates/saas/i18n/engine/resources/organizationLifecycleState.fr.ts +2 -2
- package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.en.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationMembers.en.ts +23 -4
- package/templates/saas/i18n/engine/resources/organizationMembers.fr.ts +23 -4
- package/templates/saas/i18n/engine/resources/{workbenchParkedCodingQuestions.en.ts → organizationModelUsageCeilingState.en.ts} +75 -81
- package/templates/saas/i18n/engine/resources/{workbenchParkedCodingQuestions.fr.ts → organizationModelUsageCeilingState.fr.ts} +75 -81
- package/templates/saas/i18n/engine/resources/organizationOAuthClients.en.ts +35 -45
- package/templates/saas/i18n/engine/resources/organizationOAuthClients.fr.ts +2 -12
- package/templates/saas/i18n/engine/resources/{workbenchComplianceCandidateVariantSelections.en.ts → organizationPersonTokenCeilingState.en.ts} +70 -54
- package/templates/saas/i18n/engine/resources/organizationPersonTokenCeilingState.fr.ts +166 -0
- package/templates/saas/i18n/engine/resources/organizationPreferences.en.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationPreferences.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationProfiles.en.ts +9 -1
- package/templates/saas/i18n/engine/resources/organizationProfiles.fr.ts +9 -1
- package/templates/saas/i18n/engine/resources/organizationProgressionState.en.ts +5 -5
- package/templates/saas/i18n/engine/resources/organizationProgressionState.fr.ts +2 -2
- package/templates/saas/i18n/engine/resources/organizationProviderCredentials.en.ts +27 -27
- package/templates/saas/i18n/engine/resources/organizationProviderCredentials.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationRelationships.en.ts +17 -2
- package/templates/saas/i18n/engine/resources/organizationRelationships.fr.ts +17 -2
- package/templates/saas/i18n/engine/resources/organizationRepresentations.en.ts +8 -2
- package/templates/saas/i18n/engine/resources/organizationRepresentations.fr.ts +8 -2
- package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.en.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationScimTokens.en.ts +20 -28
- package/templates/saas/i18n/engine/resources/organizationScimTokens.fr.ts +1 -9
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.en.ts +2 -2
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.fr.ts +2 -2
- package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.en.ts +6 -6
- package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.fr.ts +6 -6
- package/templates/saas/i18n/engine/resources/organizationSsoConfig.en.ts +15 -15
- package/templates/saas/i18n/engine/resources/organizationSsoConfig.fr.ts +4 -4
- package/templates/saas/i18n/engine/resources/organizationSsoConnections.en.ts +69 -69
- package/templates/saas/i18n/engine/resources/organizationSsoConnections.fr.ts +2 -2
- package/templates/saas/i18n/engine/resources/organizationSubscriptions.en.ts +169 -169
- package/templates/saas/i18n/engine/resources/organizationSubscriptions.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationUnitMembers.en.ts +4 -4
- package/templates/saas/i18n/engine/resources/organizationUnitMembers.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationUnits.en.ts +5 -5
- package/templates/saas/i18n/engine/resources/organizationUnits.fr.ts +2 -2
- package/templates/saas/i18n/engine/resources/organizationUsageRecords.en.ts +19 -3
- package/templates/saas/i18n/engine/resources/organizationUsageRecords.fr.ts +18 -2
- package/templates/saas/i18n/engine/resources/organizationWebhookConfig.en.ts +9 -9
- package/templates/saas/i18n/engine/resources/organizationWebhookConfig.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizations.en.ts +45 -10
- package/templates/saas/i18n/engine/resources/organizations.fr.ts +45 -10
- package/templates/saas/i18n/engine/resources/platformAccessGrants.en.ts +46 -46
- package/templates/saas/i18n/engine/resources/platformAccessGrants.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/{workbenchCreationHomeLines.en.ts → postCommitEffectOutbox.en.ts} +58 -75
- package/templates/saas/i18n/engine/resources/{workbenchCreationHomeLines.fr.ts → postCommitEffectOutbox.fr.ts} +58 -75
- package/templates/saas/i18n/engine/resources/prices.en.ts +10 -10
- package/templates/saas/i18n/engine/resources/prices.fr.ts +10 -10
- package/templates/saas/i18n/engine/resources/products.en.ts +5 -5
- package/templates/saas/i18n/engine/resources/products.fr.ts +5 -5
- package/templates/saas/i18n/engine/resources/professionalQualifications.en.ts +345 -0
- package/templates/saas/i18n/engine/resources/professionalQualifications.fr.ts +345 -0
- package/templates/saas/i18n/engine/resources/promotions.en.ts +10 -10
- package/templates/saas/i18n/engine/resources/promotions.fr.ts +2 -2
- package/templates/saas/i18n/engine/resources/providerCallRecords.en.ts +19 -1
- package/templates/saas/i18n/engine/resources/providerCallRecords.fr.ts +19 -1
- package/templates/saas/i18n/engine/resources/publishedVerificationKeys.en.ts +334 -0
- package/templates/saas/i18n/engine/resources/publishedVerificationKeys.fr.ts +334 -0
- package/templates/saas/i18n/engine/resources/relationshipCapabilityGrants.en.ts +24 -24
- package/templates/saas/i18n/engine/resources/relationshipCapabilityGrants.fr.ts +2 -2
- package/templates/saas/i18n/engine/resources/relationshipInvitations.en.ts +8 -2
- package/templates/saas/i18n/engine/resources/relationshipInvitations.fr.ts +8 -2
- package/templates/saas/i18n/engine/resources/representativeAssignments.en.ts +223 -2
- package/templates/saas/i18n/engine/resources/representativeAssignments.fr.ts +223 -2
- package/templates/saas/i18n/engine/resources/retentionEnforcementRecords.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/retentionEnforcementRecords.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/{workbenchBrandNameJurisdictions.en.ts → ssoDomainReservations.en.ts} +57 -44
- package/templates/saas/i18n/engine/resources/{workbenchMarketCategories.fr.ts → ssoDomainReservations.fr.ts} +52 -47
- package/templates/saas/i18n/engine/resources/transactionalCommitReceipts.en.ts +69 -0
- package/templates/saas/i18n/engine/resources/transactionalCommitReceipts.fr.ts +69 -0
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisionContents.en.ts +1 -1
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisionContents.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/userBillingAccounts.en.ts +31 -31
- package/templates/saas/i18n/engine/resources/userBillingAccounts.fr.ts +31 -31
- package/templates/saas/i18n/engine/resources/userFlowActorExecutions.en.ts +64 -0
- package/templates/saas/i18n/engine/resources/userFlowActorExecutions.fr.ts +64 -0
- package/templates/saas/i18n/engine/resources/userFlowActorTasks.en.ts +11 -28
- package/templates/saas/i18n/engine/resources/userFlowActorTasks.fr.ts +0 -17
- package/templates/saas/i18n/engine/resources/userInvoiceRefs.en.ts +18 -5
- package/templates/saas/i18n/engine/resources/userInvoiceRefs.fr.ts +18 -5
- package/templates/saas/i18n/engine/resources/userLifecycleState.en.ts +5 -7
- package/templates/saas/i18n/engine/resources/userLifecycleState.fr.ts +2 -4
- package/templates/saas/i18n/engine/resources/userPreferences.en.ts +15 -2
- package/templates/saas/i18n/engine/resources/userPreferences.fr.ts +15 -2
- package/templates/saas/i18n/engine/resources/userProfiles.en.ts +15 -2
- package/templates/saas/i18n/engine/resources/userProfiles.fr.ts +15 -2
- package/templates/saas/i18n/engine/resources/userProgressionState.en.ts +5 -5
- package/templates/saas/i18n/engine/resources/userProgressionState.fr.ts +2 -2
- package/templates/saas/i18n/engine/resources/userProviderCredentials.en.ts +11 -11
- package/templates/saas/i18n/engine/resources/userProviderCredentials.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/userSelfPreferences.en.ts +15 -4
- package/templates/saas/i18n/engine/resources/userSelfPreferences.fr.ts +15 -4
- package/templates/saas/i18n/engine/resources/userSelfProfiles.en.ts +15 -4
- package/templates/saas/i18n/engine/resources/userSelfProfiles.fr.ts +15 -4
- package/templates/saas/i18n/engine/resources/userSubscriptions.en.ts +7 -2
- package/templates/saas/i18n/engine/resources/userSubscriptions.fr.ts +7 -2
- package/templates/saas/i18n/engine/resources/userUsageRecords.en.ts +25 -4
- package/templates/saas/i18n/engine/resources/userUsageRecords.fr.ts +25 -4
- package/templates/saas/i18n/engine/resources/user_self.en.ts +46 -5
- package/templates/saas/i18n/engine/resources/user_self.fr.ts +46 -5
- package/templates/saas/i18n/engine/resources/users.en.ts +23 -36
- package/templates/saas/i18n/engine/resources/users.fr.ts +23 -36
- package/templates/saas/scenarios/add-locale/files/website/src/i18n/__localePath__/landing.landing-hero.json.hbs +6 -0
- package/templates/saas/scenarios/add-locale/files/website/src/i18n/__localePath__.json.hbs +0 -5
- package/templates/saas/scenarios/add-locale/scenario.json +2 -2
- package/templates/saas/scenarios/add-marketing-page/files/website/src/i18n/en/__pageRef__.__pageRef__-hero.json.hbs +4 -0
- package/templates/saas/scenarios/add-marketing-page/scenario.json +3 -5
- package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/package.json.hbs +2 -2
- package/templates/saas/scenarios/add-resource/files/shared-lib/src/modules/__moduleId__/resources/__resourceDir__/__resourceDir__.schemas.ts.hbs +6 -0
- package/templates/saas/scenarios/add-resource/scenario.json +1 -1
- package/templates/saas/scenarios/add-technical-doc/files/patches/@docusaurus__utils@3.10.2.patch +77 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/docusaurus.config.ts.hbs +15 -13
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/basic.conf +2 -3
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/location/cross-domain-fonts.conf.hbs +3 -5
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/sites-enabled/default.hbs +10 -19
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/package.json.hbs +1 -1
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/scripts/verify-api-reference-conservation.ts +1 -1
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/csp.config.ts +16 -3
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/documentation-site-locales.ts +29 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/generated/api-reference/indexes/api-reference-search.json +4 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/generated/consumer-documentation/indexes/search.json +4 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/generated/csp.generated.json.hbs +10 -2
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/search.tsx +29 -4
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/wildo.tech-doc.config.ts.hbs +8 -5
- package/templates/saas/scenarios/add-technical-doc/scenario.json +7 -3
- package/templates/saas/scenarios/add-website/files/website/Dockerfile +2 -0
- package/templates/saas/scenarios/add-website/files/website/astro.config.ts.hbs +4 -8
- package/templates/saas/scenarios/add-website/files/website/package.json.hbs +4 -4
- package/templates/saas/scenarios/add-website/files/website/src/csp.config.ts +10 -2
- package/templates/saas/scenarios/add-website/files/website/src/generated/csp.generated.json.hbs +10 -2
- package/templates/saas/scenarios/add-website/files/website/src/i18n/en/landing.landing-hero.json.hbs +6 -0
- package/templates/saas/scenarios/add-website/files/website/src/i18n/en.json.hbs +0 -5
- package/templates/saas/scenarios/add-website/scenario.json +4 -2
- package/templates/saas/scenarios/add-website-section/files/website/src/i18n/en/__pageRef__.__sectionRef__.json.hbs +10 -0
- package/templates/saas/scenarios/add-website-section/scenario.json +2 -16
- package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/package.json.hbs +3 -2
- package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/src/index.ts.hbs +2 -3
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/Cargo.lock.hbs +2233 -0
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/Cargo.toml.hbs +12 -2
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/Dockerfile.hbs +27 -9
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/README.md +96 -0
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/src/main.rs.hbs +159 -156
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/src/response_integrity.rs +851 -0
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/src/worker_request_keys.rs +404 -0
- package/templates/saas/scenarios/add-worker-rust/scenario.json +2 -2
- package/templates/saas/skeleton/.wildo-saas/dev-framework-scripts/sync-engine.sh +39 -7
- package/templates/saas/skeleton/backend-api/package.json.hbs +7 -2
- package/templates/saas/skeleton/backend-api/src/index.ts +7 -6
- package/templates/saas/skeleton/backend-api/src/saas-config.backend.ts.hbs +1 -3
- package/templates/saas/skeleton/backend-api/tsconfig.build.json +1 -1
- package/templates/saas/skeleton/frontend/package.json.hbs +6 -2
- package/templates/saas/skeleton/frontend/src/__tests__/setup.ts.hbs +18 -14
- package/templates/saas/skeleton/frontend/src/config/settings-hub.config.ts +3 -1
- package/templates/saas/skeleton/frontend/src/csp.config.ts +10 -2
- package/templates/saas/skeleton/frontend/src/engine/component-registrations.frontend.ts +1 -1
- package/templates/saas/skeleton/frontend/src/generated/csp.generated.json.hbs +10 -2
- package/templates/saas/skeleton/frontend/src/index.css.hbs +25 -18
- package/templates/saas/skeleton/frontend/src/modules-registry.frontend.ts.hbs +7 -2
- package/templates/saas/skeleton/frontend/vite-engine-dependency-prebundle.ts +20 -9
- package/templates/saas/skeleton/frontend/vite.config.ts.hbs +22 -3
- package/templates/saas/skeleton/gitignore +13 -0
- package/templates/saas/skeleton/shared-lib/package.json.hbs +6 -1
- package/templates/saas/skeleton/specifications/package.json.hbs +10 -1
- package/templates/saas/skeleton/tsconfig.common.json +6 -2
- package/wildo-framework.info.json +1 -1
- package/dist/src/services/application/provider-package-links.service.d.ts +0 -210
- package/dist/src/services/application/provider-package-links.service.d.ts.map +0 -1
- package/dist/src/services/application/provider-package-links.service.js +0 -421
- package/dist/src/services/application/provider-package-links.service.js.map +0 -1
- package/templates/infra/k8s/ingress/providers/scaleway-annotations.yaml.hbs +0 -39
- package/templates/saas/i18n/engine/resources/workbenchApplicationSecrets.en.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchApplicationSecrets.fr.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchAuthoredDocumentFactDeclarations.en.ts +0 -198
- package/templates/saas/i18n/engine/resources/workbenchAuthoredDocumentFactDeclarations.fr.ts +0 -198
- package/templates/saas/i18n/engine/resources/workbenchBrandAssets.en.ts +0 -198
- package/templates/saas/i18n/engine/resources/workbenchBrandAssets.fr.ts +0 -190
- package/templates/saas/i18n/engine/resources/workbenchBrandAudiences.en.ts +0 -174
- package/templates/saas/i18n/engine/resources/workbenchBrandAudiences.fr.ts +0 -174
- package/templates/saas/i18n/engine/resources/workbenchBrandLogoDirections.en.ts +0 -166
- package/templates/saas/i18n/engine/resources/workbenchBrandLogoDirections.fr.ts +0 -166
- package/templates/saas/i18n/engine/resources/workbenchBrandNameCandidates.en.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchBrandNameCandidates.fr.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchBrandNameJurisdictions.fr.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchBrandNameNiceClasses.en.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchBrandNameNiceClasses.fr.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchBrandNames.en.ts +0 -166
- package/templates/saas/i18n/engine/resources/workbenchBrandNames.fr.ts +0 -166
- package/templates/saas/i18n/engine/resources/workbenchBrandVisualTones.en.ts +0 -166
- package/templates/saas/i18n/engine/resources/workbenchBrandVisualTones.fr.ts +0 -166
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatchPlan.en.ts +0 -278
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatchPlan.fr.ts +0 -278
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatches.en.ts +0 -238
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatches.fr.ts +0 -238
- package/templates/saas/i18n/engine/resources/workbenchBuildPlanTasks.en.ts +0 -515
- package/templates/saas/i18n/engine/resources/workbenchBuildPlanTasks.fr.ts +0 -515
- package/templates/saas/i18n/engine/resources/workbenchBuildTaskRecords.en.ts +0 -702
- package/templates/saas/i18n/engine/resources/workbenchBuildTaskRecords.fr.ts +0 -702
- package/templates/saas/i18n/engine/resources/workbenchBuildTasks.en.ts +0 -878
- package/templates/saas/i18n/engine/resources/workbenchBuildTasks.fr.ts +0 -878
- package/templates/saas/i18n/engine/resources/workbenchCodingLaneStatus.en.ts +0 -238
- package/templates/saas/i18n/engine/resources/workbenchCodingLaneStatus.fr.ts +0 -238
- package/templates/saas/i18n/engine/resources/workbenchComplianceApplicabilityDecisions.en.ts +0 -206
- package/templates/saas/i18n/engine/resources/workbenchComplianceApplicabilityDecisions.fr.ts +0 -206
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSections.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSections.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSetSections.en.ts +0 -254
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSetSections.fr.ts +0 -254
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateVariantSelections.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidates.en.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidates.fr.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchComplianceCoverageDecisions.en.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchComplianceCoverageDecisions.fr.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchComplianceDocumentationRequirements.en.ts +0 -174
- package/templates/saas/i18n/engine/resources/workbenchComplianceDocumentationRequirements.fr.ts +0 -174
- package/templates/saas/i18n/engine/resources/workbenchComplianceGaps.en.ts +0 -278
- package/templates/saas/i18n/engine/resources/workbenchComplianceGaps.fr.ts +0 -278
- package/templates/saas/i18n/engine/resources/workbenchComplianceImplementationDecisions.en.ts +0 -214
- package/templates/saas/i18n/engine/resources/workbenchComplianceImplementationDecisions.fr.ts +0 -214
- package/templates/saas/i18n/engine/resources/workbenchComplianceObligations.en.ts +0 -518
- package/templates/saas/i18n/engine/resources/workbenchComplianceObligations.fr.ts +0 -518
- package/templates/saas/i18n/engine/resources/workbenchComplianceResponsibilityAssignments.en.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchComplianceResponsibilityAssignments.fr.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchComplianceRoleAuthorities.en.ts +0 -326
- package/templates/saas/i18n/engine/resources/workbenchComplianceRoleAuthorities.fr.ts +0 -326
- package/templates/saas/i18n/engine/resources/workbenchComplianceScopeSelectors.en.ts +0 -326
- package/templates/saas/i18n/engine/resources/workbenchComplianceScopeSelectors.fr.ts +0 -326
- package/templates/saas/i18n/engine/resources/workbenchComplianceSharedResponsibilityRules.en.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchComplianceSharedResponsibilityRules.fr.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchCompositionDecisions.en.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchCompositionDecisions.fr.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchCreationOutcomes.en.ts +0 -190
- package/templates/saas/i18n/engine/resources/workbenchCreationOutcomes.fr.ts +0 -190
- package/templates/saas/i18n/engine/resources/workbenchDocumentFactDeclarations.en.ts +0 -198
- package/templates/saas/i18n/engine/resources/workbenchDocumentFactDeclarations.fr.ts +0 -198
- package/templates/saas/i18n/engine/resources/workbenchDocumentPublicationVariants.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchDocumentPublicationVariants.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchDocumentReleases.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchDocumentReleases.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchDocumentationChapters.en.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchDocumentationChapters.fr.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanLifecycles.en.ts +0 -174
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanLifecycles.fr.ts +0 -174
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanModules.en.ts +0 -358
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanModules.fr.ts +0 -358
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanRelationships.en.ts +0 -206
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanRelationships.fr.ts +0 -206
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanResources.en.ts +0 -430
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanResources.fr.ts +0 -430
- package/templates/saas/i18n/engine/resources/workbenchDomainResources.en.ts +0 -534
- package/templates/saas/i18n/engine/resources/workbenchDomainResources.fr.ts +0 -534
- package/templates/saas/i18n/engine/resources/workbenchDossierEntries.en.ts +0 -456
- package/templates/saas/i18n/engine/resources/workbenchDossierEntries.fr.ts +0 -456
- package/templates/saas/i18n/engine/resources/workbenchExperienceConfigurations.en.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchExperienceConfigurations.fr.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchExperienceGuidance.en.ts +0 -486
- package/templates/saas/i18n/engine/resources/workbenchExperienceGuidance.fr.ts +0 -486
- package/templates/saas/i18n/engine/resources/workbenchExperienceHomes.en.ts +0 -254
- package/templates/saas/i18n/engine/resources/workbenchExperienceHomes.fr.ts +0 -254
- package/templates/saas/i18n/engine/resources/workbenchExperienceMilestones.en.ts +0 -478
- package/templates/saas/i18n/engine/resources/workbenchExperienceMilestones.fr.ts +0 -478
- package/templates/saas/i18n/engine/resources/workbenchExperienceViews.en.ts +0 -510
- package/templates/saas/i18n/engine/resources/workbenchExperienceViews.fr.ts +0 -510
- package/templates/saas/i18n/engine/resources/workbenchFeatureDrafts.en.ts +0 -390
- package/templates/saas/i18n/engine/resources/workbenchFeatureDrafts.fr.ts +0 -390
- package/templates/saas/i18n/engine/resources/workbenchFunctionalRequirements.en.ts +0 -574
- package/templates/saas/i18n/engine/resources/workbenchFunctionalRequirements.fr.ts +0 -574
- package/templates/saas/i18n/engine/resources/workbenchGovernanceDocuments.en.ts +0 -308
- package/templates/saas/i18n/engine/resources/workbenchGovernanceDocuments.fr.ts +0 -308
- package/templates/saas/i18n/engine/resources/workbenchGovernanceQuestions.en.ts +0 -230
- package/templates/saas/i18n/engine/resources/workbenchGovernanceQuestions.fr.ts +0 -230
- package/templates/saas/i18n/engine/resources/workbenchIntegrationInboundChannels.en.ts +0 -334
- package/templates/saas/i18n/engine/resources/workbenchIntegrationInboundChannels.fr.ts +0 -334
- package/templates/saas/i18n/engine/resources/workbenchIntegrationMinions.en.ts +0 -414
- package/templates/saas/i18n/engine/resources/workbenchIntegrationMinions.fr.ts +0 -414
- package/templates/saas/i18n/engine/resources/workbenchIntegrationProviderBindings.en.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchIntegrationProviderBindings.fr.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchIntegrationWorkers.en.ts +0 -334
- package/templates/saas/i18n/engine/resources/workbenchIntegrationWorkers.fr.ts +0 -334
- package/templates/saas/i18n/engine/resources/workbenchMarketAlternatives.en.ts +0 -230
- package/templates/saas/i18n/engine/resources/workbenchMarketAlternatives.fr.ts +0 -222
- package/templates/saas/i18n/engine/resources/workbenchMarketBenefits.en.ts +0 -606
- package/templates/saas/i18n/engine/resources/workbenchMarketBenefits.fr.ts +0 -598
- package/templates/saas/i18n/engine/resources/workbenchMarketBuyingJourneys.en.ts +0 -198
- package/templates/saas/i18n/engine/resources/workbenchMarketBuyingJourneys.fr.ts +0 -190
- package/templates/saas/i18n/engine/resources/workbenchMarketCategories.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchMarketChannels.en.ts +0 -270
- package/templates/saas/i18n/engine/resources/workbenchMarketChannels.fr.ts +0 -262
- package/templates/saas/i18n/engine/resources/workbenchMarketGains.en.ts +0 -270
- package/templates/saas/i18n/engine/resources/workbenchMarketGains.fr.ts +0 -262
- package/templates/saas/i18n/engine/resources/workbenchMarketIcps.en.ts +0 -990
- package/templates/saas/i18n/engine/resources/workbenchMarketIcps.fr.ts +0 -990
- package/templates/saas/i18n/engine/resources/workbenchMarketJobs.en.ts +0 -350
- package/templates/saas/i18n/engine/resources/workbenchMarketJobs.fr.ts +0 -342
- package/templates/saas/i18n/engine/resources/workbenchMarketMessageTemplates.en.ts +0 -198
- package/templates/saas/i18n/engine/resources/workbenchMarketMessageTemplates.fr.ts +0 -190
- package/templates/saas/i18n/engine/resources/workbenchMarketObjections.en.ts +0 -422
- package/templates/saas/i18n/engine/resources/workbenchMarketObjections.fr.ts +0 -414
- package/templates/saas/i18n/engine/resources/workbenchMarketPains.en.ts +0 -294
- package/templates/saas/i18n/engine/resources/workbenchMarketPains.fr.ts +0 -294
- package/templates/saas/i18n/engine/resources/workbenchMarketPersonas.en.ts +0 -518
- package/templates/saas/i18n/engine/resources/workbenchMarketPersonas.fr.ts +0 -510
- package/templates/saas/i18n/engine/resources/workbenchMarketPositionings.en.ts +0 -342
- package/templates/saas/i18n/engine/resources/workbenchMarketPositionings.fr.ts +0 -334
- package/templates/saas/i18n/engine/resources/workbenchMarketProofs.en.ts +0 -366
- package/templates/saas/i18n/engine/resources/workbenchMarketProofs.fr.ts +0 -358
- package/templates/saas/i18n/engine/resources/workbenchMarketTonesOfVoice.en.ts +0 -294
- package/templates/saas/i18n/engine/resources/workbenchMarketTonesOfVoice.fr.ts +0 -294
- package/templates/saas/i18n/engine/resources/workbenchMarketTriggers.en.ts +0 -286
- package/templates/saas/i18n/engine/resources/workbenchMarketTriggers.fr.ts +0 -278
- package/templates/saas/i18n/engine/resources/workbenchNonFunctionalRequirements.en.ts +0 -574
- package/templates/saas/i18n/engine/resources/workbenchNonFunctionalRequirements.fr.ts +0 -574
- package/templates/saas/i18n/engine/resources/workbenchPlacementDecisions.en.ts +0 -254
- package/templates/saas/i18n/engine/resources/workbenchPlacementDecisions.fr.ts +0 -254
- package/templates/saas/i18n/engine/resources/workbenchPlacementGroups.en.ts +0 -190
- package/templates/saas/i18n/engine/resources/workbenchPlacementGroups.fr.ts +0 -182
- package/templates/saas/i18n/engine/resources/workbenchPlaybookRuns.en.ts +0 -358
- package/templates/saas/i18n/engine/resources/workbenchPlaybookRuns.fr.ts +0 -358
- package/templates/saas/i18n/engine/resources/workbenchPlaybooks.en.ts +0 -1256
- package/templates/saas/i18n/engine/resources/workbenchPlaybooks.fr.ts +0 -1256
- package/templates/saas/i18n/engine/resources/workbenchPricingPlans.en.ts +0 -286
- package/templates/saas/i18n/engine/resources/workbenchPricingPlans.fr.ts +0 -286
- package/templates/saas/i18n/engine/resources/workbenchProcessorRegisterEntries.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchProcessorRegisterEntries.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchReleasePolicySelections.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchReleasePolicySelections.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchRequirementMaturities.en.ts +0 -294
- package/templates/saas/i18n/engine/resources/workbenchRequirementMaturities.fr.ts +0 -294
- package/templates/saas/i18n/engine/resources/workbenchRiskRegisterEntries.en.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchRiskRegisterEntries.fr.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchRoadmapPhases.en.ts +0 -478
- package/templates/saas/i18n/engine/resources/workbenchRoadmapPhases.fr.ts +0 -478
- package/templates/saas/i18n/engine/resources/workbenchRunWriteRecords.en.ts +0 -599
- package/templates/saas/i18n/engine/resources/workbenchRunWriteRecords.fr.ts +0 -599
- package/templates/saas/i18n/engine/resources/workbenchSpecificationArtifacts.en.ts +0 -478
- package/templates/saas/i18n/engine/resources/workbenchSpecificationArtifacts.fr.ts +0 -478
- package/templates/saas/i18n/engine/resources/workbenchTraceSessions.en.ts +0 -394
- package/templates/saas/i18n/engine/resources/workbenchTraceSessions.fr.ts +0 -394
- package/templates/saas/i18n/engine/resources/workbenchVisionConstraints.en.ts +0 -190
- package/templates/saas/i18n/engine/resources/workbenchVisionConstraints.fr.ts +0 -182
- package/templates/saas/i18n/engine/resources/workbenchVisionIdeas.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchVisionIdeas.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchVisionMissions.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchVisionMissions.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchVisionProblems.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchVisionProblems.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchVisionSuccessCriteria.en.ts +0 -390
- package/templates/saas/i18n/engine/resources/workbenchVisionSuccessCriteria.fr.ts +0 -390
- package/templates/saas/i18n/engine/resources/workbenchWaitingPlaybookRuns.en.ts +0 -214
- package/templates/saas/i18n/engine/resources/workbenchWaitingPlaybookRuns.fr.ts +0 -214
- package/templates/saas/i18n/engine/resources/workbenchWebsitePages.en.ts +0 -214
- package/templates/saas/i18n/engine/resources/workbenchWebsitePages.fr.ts +0 -214
- /package/templates/saas/i18n/email/resources/organizationMembers/{update.organization-users → update.organization-user-management}/labels.en.ts +0 -0
- /package/templates/saas/i18n/email/resources/organizationMembers/{update.organization-users → update.organization-user-management}/labels.fr.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module-registration.service.js","sourceRoot":"","sources":["../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AI,0FAA0F,CAAC,CAAC;QACzJ,CAAC;QACD,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,qBAAqB,EAAE,CAAC;IAC/F,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,MAAM,MAAM,GAAG,0BAA0B,UAAU,CAAC,mBAAmB,CAAC,KAAK,CAAC,EAAE,CAAC;QACjF,IAAI,kBAAkB,EAAE,CAAC;YACvB,8GAA8G;YAC9G,iHAAiH;YACjH,gHAAgH;YAChH,+GAA+G;YAC/G,8FAA8F;YAC9F,2BAA2B,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC;YACjD,MAAM,IAAI,KAAK,CAAC,GAAG,MAAM,mFAAmF,CAAC,CAAC;QAChH,CAAC;QACD,kGAAkG;QAClG,OAAO,EAAE,GAAG,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,qBAAqB,EAAE,MAAM,EAAE,CAAC;IACrI,CAAC;AACH,CAAC;AAED,0FAA0F;AAC1F,MAAM,UAAU,2BAA2B,CAAC,QAAgB,EAAE,SAA0C;IACtG,KAAK,MAAM,QAAQ,IAAI,CAAC,GAAG,SAAS,CAAC,CAAC,OAAO,EAAE;QAAE,2BAA2B,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;AACnG,CAAC","sourcesContent":["/**\n * Registering an installed registry module in its host application — and unregistering it (#1755).\n *\n * `wildo registry add` copies a module's files. Registration is what makes the application KNOW the\n * module: the shared, specifications and frontend registries and `wildo.saas.config.ts >\n * applicationModules`. Without it the backend discovers `backend-api/src/modules/<dir>` by directory\n * scan while every other layer ignores the module — live on one side, unknown on the other.\n *\n * ## One source for \"how a module is registered\"\n *\n * The framework's `add-module` composition scenario already declares those edits (its `edits` block),\n * and `wildo compose add-module` applies them to a module it scaffolds. Installation reuses the SAME\n * edit steps — the application's delivered copy of the scenario, else the framework's — with the\n * scenario's CREATE steps stripped (the module's files arrive from the artifact, not from templates).\n * No second copy of the registry anchors exists here.\n *\n * ## Why the manifest carries no code\n *\n * The edits render code into the host's own files. A manifest that carried edit TEXT could append\n * anything to `wildo.saas.config.ts`. It carries only the module directory (`moduleId`), the camelCase stem the\n * scenario names entries from (`moduleCamel`) and, for a partial module, the layers it covers — the\n * identifiers restricted to identifier alphabets, and the stem the one DERIVED from the directory, so a\n * registration cannot name another module's entries. Anything else a scenario needs (the services a module\n * binds to) is derived here from those values.\n *\n * ## Derived at publish, never authored\n *\n * `wildo registry publish` plans the same edits against the PUBLISHING application. If every one is\n * already present there, the module demonstrably is registered there and the registration is\n * recorded; otherwise it is left out and the reason reported.\n *\n * ## A registration is applied only where nothing is there yet\n *\n * On a fresh install, if the host ALREADY has any of the registration's entries, the directory is the\n * host's own and install does not take it over: the module is installed and MARKED as not registered.\n * That is what keeps `remove` honest — it reverses only a registration install actually made, so it does\n * not delete an entry the application wrote itself (`application-creation-directive.md`: mark, don't\n * block).\n *\n * One exception, by design (#2014 review): a provider's SCOPE (`config-property-add`) is the application's\n * once it exists, because binding capabilities there is how an application uses the provider. A scope\n * already present never blocks an install and is left as written; `remove` takes a scope out only while it\n * still says exactly what the install writes (see `reverseEdit`).\n *\n * ## The three shapes (#1755, #1773)\n *\n * - a DOMAIN module replays `add-module` — all four layers, or a SUBSET that includes the backend or the\n * frontend: only the edits targeting its layers run, and its `applicationModules` entry is bound to\n * exactly the services its layers provide (derived here, never read from the manifest);\n * - a MINION replays `add-minion`, a WORKER `add-worker-node` — their bucket entry, provider scope and\n * pnpm workspace member. Their scenarios' other variables (package name, port, display strings) only\n * feed the files a scenario creates, which the artifact supplies instead, so the edits need the\n * directory and the stem alone.\n *\n * Anything else — a mixed artifact, a shared+specifications-only module (no service to bind it to) —\n * installs with the gap marked.\n */\n\nimport { join } from 'node:path';\nimport { readFileSync, writeFileSync } from 'node:fs';\nimport ts from 'typescript';\nimport { parse as parseYaml } from 'yaml';\nimport {\n applyCompositionScenarioPlan,\n CompositionScenarioEditKind,\n createCompositionTemplateRenderer,\n listCompositionScenarioDirectories,\n loadCompositionScenario,\n planCompositionScenario,\n removeBracedListEntry,\n readConfigObjectPropertyText,\n removeConfigObjectProperty,\n unwrapInitializer,\n type CompositionScenario,\n type CompositionScenarioEdit,\n} from '@wildo-ai/application-creation-runtime';\nimport {\n DOMAIN_MODULE_LAYERS,\n DomainModuleLayer,\n MODULE_BOUNDARY_LAYER_ROOTS,\n ModuleKind,\n ModuleRegistrationScenario,\n PROVIDER_WORKSPACE_FILE,\n WILDO_SAAS_LOCK_RELATIVE_PATH,\n type ModuleBoundaryLayer,\n type ModuleManifest,\n type ModuleManifestRegistration,\n} from '@wildo-ai/platform-config-lib';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\nimport { deriveProviderWiring, providerWiringScenario } from './provider-wiring.service';\nimport { readFrameworkOwnedDependencyNames, vendorPinInstallRefusals } from './provider-module-vendor-packages.service';\n\nconst renderer = createCompositionTemplateRenderer();\n\n/** A directory that does not exist, so a scenario plan carries its EDIT steps and no file creations. */\nconst NO_FILES_DIRECTORY = '__registry-install-edits-only__';\n\n/** The only edit kinds registration can undo — see {@link reverseEdit}. */\nconst REVERSIBLE_EDIT_KINDS: ReadonlySet<string> = new Set([\n CompositionScenarioEditKind.TS_IMPORT_ADD,\n CompositionScenarioEditKind.TS_ARRAY_APPEND,\n CompositionScenarioEditKind.TS_OBJECT_APPEND,\n CompositionScenarioEditKind.APPEND_LINE,\n // #2014: the provider wiring's dependency and scope.\n CompositionScenarioEditKind.PACKAGE_DEPENDENCY_ADD,\n CompositionScenarioEditKind.CONFIG_PROPERTY_ADD,\n // #2789: the provider module's vendor pins.\n CompositionScenarioEditKind.PNPM_OVERRIDE_APPEND,\n // #2801: the install scripts its vendor packages need.\n CompositionScenarioEditKind.PNPM_ONLY_BUILT_APPEND,\n]);\n\n/**\n * The service each service-bearing layer binds its module to in `applicationModules`, in the order the\n * `add-module` scenario's default writes them (`'backendApi', 'app'`) — so a whole module registered by\n * install renders the SAME entry `wildo compose` scaffolds. Shared and specifications bind no service.\n */\nconst SERVICE_BINDINGS: ReadonlyArray<readonly [DomainModuleLayer, string]> = [\n [DomainModuleLayer.BACKEND, 'backendApi'],\n [DomainModuleLayer.FRONTEND, 'app'],\n];\n\n/** The application config file, whose `applicationModules` entry every module shape is bound through. */\nconst SAAS_CONFIG_FILE = 'wildo.saas.config.ts';\n\n/** The directory of the application a domain layer's registry edits target (the `add-module` edit files). */\nconst EDIT_ROOT_OF_LAYER: Partial<Record<DomainModuleLayer, string>> = {\n [DomainModuleLayer.SHARED]: 'shared-lib/',\n [DomainModuleLayer.SPECIFICATIONS]: 'specifications/',\n [DomainModuleLayer.FRONTEND]: 'frontend/',\n};\n\n/**\n * The ONLY variables a registration supplies to each scenario, derived from the registration — never\n * read from the manifest beyond its two identifiers. A scenario reading any other is refused, because the\n * renderer would render it empty and write broken code.\n */\nfunction registrationVariables(registration: ModuleManifestRegistration): Record<string, string> {\n switch (registration.scenario) {\n case ModuleRegistrationScenario.ADD_MODULE: {\n const layers = registration.layers ?? DOMAIN_MODULE_LAYERS;\n const services = SERVICE_BINDINGS.filter(([layer]) => layers.includes(layer)).map(([, service]) => service);\n return { moduleId: registration.moduleId, moduleCamel: registration.moduleCamel, moduleServices: services.map((service) => `'${service}'`).join(', ') };\n }\n case ModuleRegistrationScenario.ADD_MINION:\n return { minionDir: registration.moduleId, minionCamel: registration.moduleCamel };\n case ModuleRegistrationScenario.ADD_WORKER_NODE:\n return { workerDir: registration.moduleId, workerCamel: registration.moduleCamel };\n case ModuleRegistrationScenario.ADD_PROVIDER_PACKAGE:\n // Its edits are built already rendered, from the recorded wiring (`providerWiringScenario`).\n return {};\n }\n}\n\n/** The two shapes of registry anchor an entry is removed from. */\nenum RegistryAnchorShape {\n ARRAY = 'array',\n OBJECT = 'object',\n}\n\n/**\n * The registration's scenario as visible from this application, reduced to the edits the registration\n * covers and with its file-creation tree removed — the delivered copy wins over the framework's, like\n * `wildo compose`.\n *\n * FAIL-CLOSED on its edits, BEFORE anything is written: an edit kind this module cannot undo, a variable\n * a registration does not carry, or — for a layer subset — a delivered `add-module` copy whose\n * `applicationModules` entry still hard-codes both services (it predates #1773 and would bind the module\n * to a service it does not provide).\n */\nexport function loadRegistrationScenario(saasRoot: string, frameworkRoot: string | null, registration: ModuleManifestRegistration): CompositionScenario {\n if (registration.scenario === ModuleRegistrationScenario.ADD_PROVIDER_PACKAGE) {\n // #2014: no scenario directory — the wiring the installer recorded IS the edit list.\n return providerWiringScenario(saasRoot, registration.moduleId, registration.providerWiring!);\n }\n const ref = registration.scenario;\n const directory = listCompositionScenarioDirectories({ applicationRoot: saasRoot, frameworkRoot }).get(ref);\n if (!directory) {\n throw new Error(\n `No '${ref}' composition scenario is visible from ${saasRoot} — run the framework asset sync `\n + '(it delivers .wildo-saas/templates/scenarios) before installing or publishing a registered module.',\n );\n }\n const scenario = loadCompositionScenario(directory);\n const allowed = new Set(Object.keys(registrationVariables(registration)));\n let edits = scenario.manifest.edits ?? [];\n for (const edit of edits) {\n if (!REVERSIBLE_EDIT_KINDS.has(edit.kind)) {\n throw new Error(`The '${ref}' scenario at ${directory} uses edit kind '${edit.kind}', which registration cannot reverse.`);\n }\n for (const match of JSON.stringify(edit).matchAll(/\\{\\{\\s*(\\w+)\\s*\\}\\}/g)) {\n if (!allowed.has(match[1]!)) {\n throw new Error(`The '${ref}' scenario at ${directory} reads variable '${match[1]}', which a registration does not carry.`);\n }\n }\n }\n if (registration.scenario === ModuleRegistrationScenario.ADD_MODULE && registration.layers !== undefined) {\n const layers = registration.layers;\n // Keep the edits of the covered layers, and the config entry (the schema guarantees a service to bind).\n edits = edits.filter((edit) => {\n const layer = DOMAIN_MODULE_LAYERS.find((candidate) => EDIT_ROOT_OF_LAYER[candidate] !== undefined && edit.file.startsWith(EDIT_ROOT_OF_LAYER[candidate]!));\n if (layer !== undefined) return layers.includes(layer);\n // Fail closed on an edit no layer owns (#1773 review): replaying it for a subset would register the\n // module in a place its files never reach. The config entry is the one such edit, and it is bound\n // to exactly the covered services.\n if (edit.file === SAAS_CONFIG_FILE) return true;\n throw new Error(\n `The '${ref}' scenario at ${directory} edits ${edit.file}, which no module layer owns, so it cannot register a module covering only ${layers.join(', ')}.`,\n );\n });\n // The config entry by its FILE: since #2508 the scenario also appends spreads to the companion exports, so the first\n // object-append is no longer necessarily the one that binds services.\n const configEdit = edits.find((edit) => edit.kind === CompositionScenarioEditKind.TS_OBJECT_APPEND && edit.file === SAAS_CONFIG_FILE);\n if (configEdit && !JSON.stringify(configEdit).includes('moduleServices')) {\n throw new Error(\n `The '${ref}' scenario at ${directory} binds every module to both services, so it cannot register a module covering `\n + `only ${layers.join(', ')} — run the framework asset sync to deliver the current scenario.`,\n );\n }\n }\n return { ...scenario, manifest: { ...scenario.manifest, edits }, filesDirectory: join(scenario.scenarioDirectory, NO_FILES_DIRECTORY) };\n}\n\n/** The camelCase stem a scenario names entries from — derived from the directory for every shape. */\nexport function moduleCamelFromDirectory(moduleId: string): string {\n return moduleId.replace(/-([a-z0-9])/g, (_m, c: string) => c.toUpperCase());\n}\n\n/**\n * A registration must name entries for the directory it registers and no other: the stem is DERIVED from\n * the directory. Checked at install and at removal (the lockfile is hand-editable), because a mismatched\n * stem makes the edits reach entries belonging to another module.\n */\nfunction assertRegistrationIsSelfConsistent(registration: ModuleManifestRegistration): void {\n if (registration.moduleCamel !== moduleCamelFromDirectory(registration.moduleId)) {\n throw new Error(\n `Refusing registration for '${registration.moduleId}': its moduleCamel '${registration.moduleCamel}' is not the one derived `\n + `from the directory ('${moduleCamelFromDirectory(registration.moduleId)}'). Nothing was changed.`,\n );\n }\n}\n\n/** The registration shape an artifact's boundaries describe: scenario, directory and (for a subset) layers. */\nexport type RegistrationShape = Pick<ModuleManifestRegistration, 'scenario' | 'moduleId' | 'layers'>;\n\n/** The single directory `<root>/<dir>` a boundary layer names, or why it names no single one. */\nfunction singleDirectory(manifest: ModuleManifest, layer: ModuleBoundaryLayer): { dir: string } | { reason: string } {\n const entries = manifest.boundaries?.[layer] ?? [];\n const root = `${MODULE_BOUNDARY_LAYER_ROOTS[layer]}/`;\n if (entries.length !== 1 || !entries[0]!.startsWith(root) || entries[0]!.slice(root.length).includes('/')) {\n return { reason: `boundaries.${layer} must be exactly one directory \\`${root}<dir>\\` (found ${JSON.stringify(entries)})` };\n }\n return { dir: entries[0]!.slice(root.length) };\n}\n\n/**\n * The registration shape an artifact installs, read from its boundaries — or why it has none:\n * - only `minions` → a minion; only `workers` → a worker;\n * - only domain layers, each exactly one directory and all the SAME directory → a domain module\n * (`layers` set when not all four, and refused unless it includes the backend or the frontend);\n * - anything else (a mix, several directories) → no registration.\n */\nexport function registrationShapeFromBoundaries(manifest: ModuleManifest): RegistrationShape | { reason: string } {\n const present = (Object.keys(MODULE_BOUNDARY_LAYER_ROOTS) as ModuleBoundaryLayer[])\n .filter((layer) => (manifest.boundaries?.[layer] ?? []).length > 0);\n // A provider package (#2014) is never registered from its manifest: its owners are the INSTALLING\n // application's, so the installer derives its wiring (`deriveProviderRegistration`). The manifest schema\n // already refuses `providers/` beside any other layer; this keeps the rule true for an unparsed manifest.\n if (present.includes('providers')) {\n return { reason: 'a provider package is wired by each installing application, never by its publisher (#2014)' };\n }\n const packageShapes: Array<[ModuleBoundaryLayer, ModuleRegistrationScenario]> = [\n ['minions', ModuleRegistrationScenario.ADD_MINION],\n ['workers', ModuleRegistrationScenario.ADD_WORKER_NODE],\n ];\n for (const [layer, scenario] of packageShapes) {\n if (!present.includes(layer)) continue;\n if (present.length !== 1) return { reason: `a ${layer.slice(0, -1)} is registered on its own, but this artifact also covers ${present.filter((p) => p !== layer).join(', ')}` };\n const directory = singleDirectory(manifest, layer);\n return 'reason' in directory ? directory : { scenario, moduleId: directory.dir };\n }\n const layers = DOMAIN_MODULE_LAYERS.filter((layer) => present.includes(layer));\n if (layers.length === 0) return { reason: 'the artifact declares no boundaries to register' };\n const directories = new Set<string>();\n for (const layer of layers) {\n const directory = singleDirectory(manifest, layer);\n if ('reason' in directory) return directory;\n directories.add(directory.dir);\n }\n if (directories.size !== 1) return { reason: `its layers name different module directories (${[...directories].join(', ')})` };\n if (!layers.includes(DomainModuleLayer.BACKEND) && !layers.includes(DomainModuleLayer.FRONTEND)) {\n return { reason: `it covers only ${layers.join(', ')}; an application module is bound to the backend or the frontend, so there is nothing to bind it to` };\n }\n return {\n scenario: ModuleRegistrationScenario.ADD_MODULE,\n moduleId: [...directories][0]!,\n ...(layers.length < DOMAIN_MODULE_LAYERS.length ? { layers } : {}),\n };\n}\n\nfunction sameShape(a: RegistrationShape, b: RegistrationShape): boolean {\n return a.scenario === b.scenario && a.moduleId === b.moduleId && (a.layers ?? []).join(',') === (b.layers ?? []).join(',');\n}\n\n/**\n * How the host holds an object-anchor entry a registration names, judged by the entry's KEY (#1773 review).\n *\n * A bucket entry is configuration the operator is EXPECTED to edit after install: a minion is scaffolded\n * with a deny-all `resourceAccess` and no providers, so every working minion carries an entry that no\n * longer matches its rendered text. Judged by text, such an entry was a \"different value\" conflict — the\n * publisher could never record a registration and removal silently left it behind. The key is the\n * module's runtime identity (derived from its directory), and where the entry carries a `path`, that path\n * names the package the key belongs to.\n *\n * What key-only matching gives up, stated rather than implied (#1773 re-review R10): an entry with no\n * `path` — the domain module's `applicationModules` entry, `'<id>': { services: [...] }` — is judged by\n * its key alone, so publish no longer compares its `services` binding with the artifact's layers. The\n * per-layer registry edits still must all be present, which is what catches a layer mismatch; a host\n * that rebinds services after install keeps its binding, which is the point of the change.\n */\nenum KeyedEntryState {\n /** No property with the entry's key. */\n ABSENT = 'absent',\n /** The key is there and belongs to this module: its `path` (when the entry has one) names this directory. */\n HELD = 'held',\n /** The key is there and its `path` names another directory: a different package owns that identity. */\n FOREIGN = 'foreign',\n /**\n * The key is there and its `path` cannot be read without evaluating code — a shorthand property, a\n * variable, a helper call. Treated as refusal like FOREIGN (fail closed), but reported as what it is:\n * the registry cannot tell whose it is, not that it is someone else's (#1773 re-review R9).\n */\n UNDETERMINED = 'undetermined',\n}\n\n/** A property name as the key it denotes: `billing`, `'billing'` and `\"billing\"` are one key. */\nfunction propertyKey(name: ts.PropertyName): string | undefined {\n if (ts.isIdentifier(name) || ts.isStringLiteral(name) || ts.isNumericLiteral(name)) return name.text;\n return undefined;\n}\n\n/** The string value of the `path` property of an object-literal value, when it has one. */\nfunction pathOfValue(value: ts.Expression | undefined): string | undefined {\n if (!value) return undefined;\n const literal = unwrapInitializer(value);\n if (!ts.isObjectLiteralExpression(literal)) return undefined;\n for (const property of literal.properties) {\n if (ts.isPropertyAssignment(property) && propertyKey(property.name) === 'path' && ts.isStringLiteralLike(property.initializer)) {\n return property.initializer.text;\n }\n }\n return undefined;\n}\n\n/**\n * What identifies a rendered object-append entry in the host: the KEY a `key: value` entry declares (and its `path`,\n * when present), or the EXPRESSION a `...spread` entry spreads.\n *\n * A spread has no key, and since #2508 `add-module` appends one per specification map into the companion exports\n * (`...billingResourceSpecifications`). Its expression is derived from the module the same way a key is\n * (`{{moduleCamel}}…`), so it identifies the entry exactly; two modules cannot share it.\n */\ntype ObjectEntryIdentity = { readonly key: string; readonly path?: string } | { readonly spread: string };\n\n/** The identity a rendered entry declares: its key (and `path`), or the expression it spreads. */\nfunction objectEntryIdentity(entryText: string): ObjectEntryIdentity {\n const sourceFile = ts.createSourceFile('entry.ts', `({${entryText}})`, ts.ScriptTarget.Latest, true);\n const statement = sourceFile.statements[0];\n const literal = statement && ts.isExpressionStatement(statement) ? unwrapInitializer(statement.expression) : undefined;\n const property = literal && ts.isObjectLiteralExpression(literal) && literal.properties.length === 1 ? literal.properties[0] : undefined;\n if (property && ts.isSpreadAssignment(property)) return { spread: property.expression.getText(sourceFile).trim() };\n const key = property && ts.isPropertyAssignment(property) ? propertyKey(property.name) : undefined;\n if (!property || !ts.isPropertyAssignment(property) || key === undefined) {\n throw new Error(`registration cannot identify the object entry \\`${entryText}\\` by a key`);\n }\n const path = pathOfValue(property.initializer);\n return { key, ...(path !== undefined ? { path } : {}) };\n}\n\n/** The top-level `const <variableName> = [...] | {...}` literal of a file, as a source file and literal. */\nfunction findAnchorLiteral(content: string, fileName: string, variableName: string): { sourceFile: ts.SourceFile; literal: ts.Expression } | undefined {\n const sourceFile = ts.createSourceFile(fileName, content, ts.ScriptTarget.Latest, true);\n for (const statement of sourceFile.statements) {\n if (!ts.isVariableStatement(statement)) continue;\n for (const declaration of statement.declarationList.declarations) {\n if (ts.isIdentifier(declaration.name) && declaration.name.text === variableName && declaration.initializer) {\n return { sourceFile, literal: unwrapInitializer(declaration.initializer) };\n }\n }\n }\n return undefined;\n}\n\n/** The property of the anchor object carrying `key`, if any. */\nfunction findKeyedProperty(literal: ts.Expression, key: string): ts.ObjectLiteralElementLike | undefined {\n if (!ts.isObjectLiteralExpression(literal)) return undefined;\n return literal.properties.find((property) =>\n (ts.isPropertyAssignment(property) || ts.isShorthandPropertyAssignment(property)) && propertyKey(property.name) === key);\n}\n\n/** The `...expression` entry of the anchor object spreading `expression`, if any. */\nfunction findSpreadEntry(literal: ts.Expression, sourceFile: ts.SourceFile, expression: string): ts.ObjectLiteralElementLike | undefined {\n if (!ts.isObjectLiteralExpression(literal)) return undefined;\n return literal.properties.find((property) => ts.isSpreadAssignment(property) && property.expression.getText(sourceFile).trim() === expression);\n}\n\n/** How the host holds the entry an object-append `edit` would write, rendered with `variables`. */\nfunction keyedEntryState(saasRoot: string, edit: CompositionScenarioEdit, variables: Record<string, string>): { state: KeyedEntryState; label: string } {\n const targetRelative = renderer.render(edit.file, variables);\n const objectName = renderer.render(edit.exportedObject!, variables);\n const identity = objectEntryIdentity(renderer.render(edit.entry!, variables).trim());\n const label = 'spread' in identity ? `${targetRelative} > ${objectName}.…${identity.spread}` : `${targetRelative} > ${objectName}.${identity.key}`;\n let content: string;\n try {\n content = readFileSync(join(saasRoot, targetRelative), 'utf8');\n } catch {\n return { state: KeyedEntryState.ABSENT, label };\n }\n const anchor = findAnchorLiteral(content, targetRelative, objectName);\n if ('spread' in identity) {\n // A spread of this module's own map is this module's: there is no path to compare, and no other module spreads it.\n const held = anchor !== undefined && findSpreadEntry(anchor.literal, anchor.sourceFile, identity.spread) !== undefined;\n return { state: held ? KeyedEntryState.HELD : KeyedEntryState.ABSENT, label };\n }\n const property = anchor ? findKeyedProperty(anchor.literal, identity.key) : undefined;\n if (!property) return { state: KeyedEntryState.ABSENT, label };\n if (identity.path === undefined) return { state: KeyedEntryState.HELD, label };\n const heldPath = ts.isPropertyAssignment(property) ? pathOfValue(property.initializer) : undefined;\n if (heldPath === undefined) return { state: KeyedEntryState.UNDETERMINED, label };\n return { state: normalisePath(heldPath) === normalisePath(identity.path) ? KeyedEntryState.HELD : KeyedEntryState.FOREIGN, label: `${label} (path '${heldPath}')` };\n}\n\nfunction normalisePath(path: string | undefined): string | undefined {\n return path?.replace(/^\\.\\//, '').replace(/\\/+$/, '');\n}\n\n/**\n * A `config-property-add` step's property in the host: its label, and its text when present.\n *\n * The property a provider install adds is its SCOPE (`providers.scopes.<runtime>.providers.<ref>`), and a scope is the\n * APPLICATION's once it exists (#2014 review): it is where the application binds engine capabilities, and it may\n * predate the install (an application that scoped a catalogue provider before adopting the registry copy). So an\n * install only guarantees the key is PRESENT — one already there, whatever it says, is left as it is — and a remove\n * takes it out only while it still says exactly what the install wrote.\n */\nfunction configPropertyState(saasRoot: string, edit: CompositionScenarioEdit, variables: Record<string, string>): { label: string; path: string[]; text?: string } {\n const targetRelative = renderer.render(edit.file, variables);\n const path = (edit.configPath ?? []).map((segment) => renderer.render(segment, variables));\n const label = `${targetRelative} > ${path.join('.')}`;\n let content: string;\n try {\n content = readFileSync(join(saasRoot, targetRelative), 'utf8');\n } catch {\n return { label, path };\n }\n const text = readConfigObjectPropertyText({ filePath: targetRelative, content, target: { path } });\n return text === undefined ? { label, path } : { label, path, text };\n}\n\n/**\n * The identity of one edit step, rendered: two registrations share a step exactly when they would write the same\n * thing to the same place. Used to move a provider's wiring from one derivation to the next step by step (#2014\n * review), rather than by undoing all of it and writing it again, which is what reset a bound scope to empty.\n */\nfunction editIdentity(edit: CompositionScenarioEdit, variables: Record<string, string>): string {\n const render = (value: string | undefined) => (value === undefined ? '' : renderer.render(value, variables));\n return JSON.stringify([\n edit.kind,\n render(edit.file),\n render(edit.line),\n render(edit.statement),\n render(edit.element),\n render(edit.entry),\n (edit.configPath ?? []).map(render),\n Object.entries(edit.entries ?? {}).map(([name, specifier]) => [render(name), render(specifier)]),\n (edit.names ?? []).map(render),\n ]);\n}\n\n/**\n * The registration's edits planned against the host, with every object entry the host already HOLDS by key\n * taken out of the plan (present, however it has been edited since) and every FOREIGN one reported.\n */\nfunction planRegistrationEdits(saasRoot: string, frameworkRoot: string | null, registration: ModuleManifestRegistration) {\n const scenario = loadRegistrationScenario(saasRoot, frameworkRoot, registration);\n const variables = registrationVariables(registration);\n const held: string[] = [];\n const unowned: string[] = [];\n const applicationOwned: string[] = [];\n const pinConflicts: string[] = [];\n const heldPins: string[] = [];\n const movedPins: string[] = [];\n const heldOnlyBuilt: string[] = [];\n const onlyBuiltWarnings: string[] = [];\n const allowedOnlyBuilt: string[] = [];\n const edits = (scenario.manifest.edits ?? []).flatMap((edit): CompositionScenarioEdit[] => {\n if (edit.kind === CompositionScenarioEditKind.CONFIG_PROPERTY_ADD) {\n // Present, whatever it says: the application's. See `configPropertyState`.\n const { label, text } = configPropertyState(saasRoot, edit, variables);\n if (text !== undefined) applicationOwned.push(label);\n return text === undefined ? [edit] : [];\n }\n if (edit.kind === CompositionScenarioEditKind.PNPM_OVERRIDE_APPEND) {\n // A vendor pin (#2789), see `vendorPinStates`: only the absent ones are written.\n const states = vendorPinStates(saasRoot, edit, variables, registration.moduleId);\n heldPins.push(...states.held);\n movedPins.push(...states.moved);\n pinConflicts.push(...states.conflicts);\n return Object.keys(states.absent).length === 0 ? [] : [{ ...edit, entries: states.absent }];\n }\n if (edit.kind === CompositionScenarioEditKind.PNPM_ONLY_BUILT_APPEND) {\n // The install scripts to allow (#2801), see `onlyBuiltStates`: only the absent names are written.\n const states = onlyBuiltStates(saasRoot, edit, variables, registration.moduleId);\n heldOnlyBuilt.push(...states.held);\n onlyBuiltWarnings.push(...states.warnings);\n allowedOnlyBuilt.push(...states.absent);\n return states.absent.length === 0 ? [] : [{ ...edit, names: states.absent }];\n }\n if (edit.kind !== CompositionScenarioEditKind.TS_OBJECT_APPEND) return [edit];\n const { state, label } = keyedEntryState(saasRoot, edit, variables);\n if (state === KeyedEntryState.HELD) held.push(label);\n if (state === KeyedEntryState.FOREIGN || state === KeyedEntryState.UNDETERMINED) unowned.push(describeUnowned(state, label));\n return state === KeyedEntryState.ABSENT ? [edit] : [];\n });\n const plan = planCompositionScenario({\n scenario: { ...scenario, manifest: { ...scenario.manifest, edits } },\n applicationRoot: saasRoot,\n variables,\n renderer,\n });\n return { plan, held, unowned, applicationOwned, pinConflicts, heldPins, movedPins, heldOnlyBuilt, onlyBuiltWarnings, allowedOnlyBuilt };\n}\n\n/**\n * Each name of a `pnpm-only-built-append` step (#2801), against the application's root manifest, its workspace file and\n * the other installed modules' records. A list written into the manifest collides with every other build policy the\n * application has (pnpm 10.6.4, measured in #2801): it REPLACES a `pnpm-workspace.yaml` list, and beside a\n * `neverBuiltDependencies` list (\"run every script but these\") pnpm refuses to install at all\n * (`ERR_PNPM_CONFIG_CONFLICT_BUILT_DEPENDENCIES`). So:\n * - the application declares an allow-list AND a `neverBuiltDependencies` list, in either file → nothing written and the\n * conflict WARNED: pnpm refuses to install with both (#2809 review), so writing a name would change nothing;\n * - the manifest carries no list, and the application keeps one in its workspace file, or keeps a\n * `neverBuiltDependencies` list anywhere → nothing written. Recorded as held, since this install wrote none of them,\n * and WARNED, with a remedy that works: the install's own `pnpm install` has already skipped the script, so adding a\n * name is not enough, the package must be rebuilt (`pnpm rebuild -r <names>`), or `pnpm approve-builds` does both;\n * - absent from the manifest's list → written (the install then rebuilds it, see `allowed`);\n * - present → left as written: `held` when no other installed module records it (the application allowed it itself,\n * so `remove` leaves it), and shared when one does (`remove` then leaves it for that module).\n */\nfunction onlyBuiltStates(saasRoot: string, edit: CompositionScenarioEdit, variables: Record<string, string>, moduleId: string): {\n absent: string[];\n held: string[];\n warnings: string[];\n} {\n const file = renderer.render(edit.file, variables);\n const names = [...new Set((edit.names ?? []).map((name) => renderer.render(name, variables)))];\n let pnpmSection: { onlyBuiltDependencies?: unknown; neverBuiltDependencies?: unknown } | undefined;\n try {\n pnpmSection = (JSON.parse(readFileSync(join(saasRoot, file), 'utf8')) as { pnpm?: typeof pnpmSection }).pnpm;\n } catch {\n // An unreadable manifest is the apply's to refuse, with its own message.\n }\n const manifestList = pnpmSection?.onlyBuiltDependencies;\n const records = installedProviderRegistrations(saasRoot);\n /**\n * A name this install leaves as it found it, whose record decides what `remove` does with it later: the application's\n * own (held, so no removal touches it) unless another installed module WROTE it, in which case it stays that module's\n * to take out (#2809 review R-L2). The same rule the written path applies below.\n */\n const heldByApplication = (name: string): boolean => {\n const other = records.find((record) => record.registration.moduleId !== moduleId && record.registration.providerWiring?.onlyBuiltDependencies?.includes(name));\n return other === undefined || other.registration.providerWiring?.heldOnlyBuiltDependencies?.includes(name) === true;\n };\n const heldWithoutWriting = (candidates: readonly string[]): string[] => candidates.filter(heldByApplication);\n const workspace = readWorkspaceBuildPolicy(saasRoot);\n const manifestNever = Array.isArray(pnpmSection?.neverBuiltDependencies) ? (pnpmSection!.neverBuiltDependencies as unknown[]).map(String) : undefined;\n const never = manifestNever ?? workspace.neverBuiltDependencies;\n const allowList = Array.isArray(manifestList) ? manifestList.map(String) : manifestList === undefined ? workspace.onlyBuiltDependencies : undefined;\n if ((manifestList !== undefined || workspace.onlyBuiltDependencies !== undefined) && never !== undefined) {\n // Both kinds of list, in either file: pnpm 10.6.4 refuses to install at all (#2809 review, measured), so a name written\n // here would change nothing. Nothing is written and the conflict is named, as `repair-lockfile` names it.\n const unallowed = names.filter((name) => !(allowList ?? []).includes(name));\n return {\n absent: [],\n held: heldWithoutWriting(names),\n warnings: unallowed.length === 0 ? [] : [\n `${moduleId}'s vendor package${unallowed.length === 1 ? '' : 's'} ${unallowed.join(', ')} run${unallowed.length === 1 ? 's' : ''} an install script, `\n + 'and the application declares both an onlyBuiltDependencies and a neverBuiltDependencies list, which pnpm refuses to install with. '\n + `Nothing was written. Keep one list, with ${unallowed.join(', ')} allowed by it, then run \\`pnpm install\\` and \\`pnpm rebuild -r ${unallowed.join(' ')}\\`.`,\n ],\n };\n }\n if (manifestList === undefined) {\n if (workspace.onlyBuiltDependencies !== undefined) {\n const missing = names.filter((name) => !workspace.onlyBuiltDependencies!.includes(name));\n return {\n absent: [],\n held: heldWithoutWriting(names),\n warnings: missing.length === 0 ? [] : [\n `${moduleId}'s vendor package${missing.length === 1 ? '' : 's'} ${missing.join(', ')} run${missing.length === 1 ? 's' : ''} an install script, `\n + `and the application keeps its allow-list in ${PROVIDER_WORKSPACE_FILE}, which a list in ${file} would replace, so nothing was written. `\n + `Add ${missing.join(', ')} to onlyBuiltDependencies in ${PROVIDER_WORKSPACE_FILE}, then run \\`pnpm rebuild -r ${missing.join(' ')}\\` `\n + '(the install has already skipped the script), or run `pnpm approve-builds`, which does both.',\n ],\n };\n }\n if (never !== undefined) {\n const blocked = names.filter((name) => never.includes(name));\n return {\n absent: [],\n held: heldWithoutWriting(names),\n warnings: blocked.length === 0 ? [] : [\n `${moduleId}'s vendor package${blocked.length === 1 ? '' : 's'} ${blocked.join(', ')} run${blocked.length === 1 ? 's' : ''} an install script, `\n + `and the application's neverBuiltDependencies lists ${blocked.length === 1 ? 'it' : 'them'}. Nothing was written: pnpm refuses to install with `\n + `both an onlyBuiltDependencies and a neverBuiltDependencies list. Take ${blocked.join(', ')} out of neverBuiltDependencies, then run `\n + `\\`pnpm rebuild -r ${blocked.join(' ')}\\`.`,\n ],\n };\n }\n }\n const current = Array.isArray(manifestList) ? manifestList.filter((name): name is string => typeof name === 'string') : [];\n const absent: string[] = [];\n const held: string[] = [];\n for (const name of names) {\n if (!current.includes(name)) {\n absent.push(name);\n continue;\n }\n // Shared with another module: the application's only if that module says so, as a vendor pin is (#2789 re-review R1).\n if (heldByApplication(name)) held.push(name);\n }\n return { absent, held, warnings: [] };\n}\n\n/** The names the application's root manifest allows in `pnpm.onlyBuiltDependencies`; none when it lists none or is unreadable. */\nfunction readManifestOnlyBuiltDependencies(saasRoot: string): string[] {\n try {\n const list = (JSON.parse(readFileSync(join(saasRoot, 'package.json'), 'utf8')) as { pnpm?: { onlyBuiltDependencies?: unknown } }).pnpm?.onlyBuiltDependencies;\n return Array.isArray(list) ? list.filter((name): name is string => typeof name === 'string') : [];\n } catch {\n return [];\n }\n}\n\n/**\n * The build policy of the application's `pnpm-workspace.yaml`: its `onlyBuiltDependencies` and `neverBuiltDependencies`\n * lists, each `undefined` when the file does not declare it. Read with the YAML parser, so a quoted key, a comment or a\n * flow list reads as pnpm reads it. A key declared with no value counts as a list (an empty one): it is still the\n * application's policy, which a manifest list must not replace. An unreadable or unparsable file declares nothing.\n * `wildo registry repair-lockfile` reads it here too (#2809), so the install and the repair judge one policy alike.\n */\nexport function readWorkspaceBuildPolicy(saasRoot: string): { onlyBuiltDependencies?: string[]; neverBuiltDependencies?: string[] } {\n let parsed: unknown;\n try {\n parsed = parseYaml(readFileSync(join(saasRoot, PROVIDER_WORKSPACE_FILE), 'utf8'));\n } catch {\n return {};\n }\n if (parsed === null || typeof parsed !== 'object' || Array.isArray(parsed)) return {};\n const listOf = (key: string): string[] | undefined => {\n if (!Object.hasOwn(parsed as object, key)) return undefined;\n const value = (parsed as Record<string, unknown>)[key];\n return Array.isArray(value) ? value.map(String) : [];\n };\n return { onlyBuiltDependencies: listOf('onlyBuiltDependencies'), neverBuiltDependencies: listOf('neverBuiltDependencies') };\n}\n\n/**\n * Each vendor pin of a `pnpm-override-append` step (#2789), against the application's root manifest AND the other\n * installed modules' recorded pins:\n * - another installed module records the package at ANOTHER version → a conflict naming that module, whatever the\n * overrides hold right now (an update that first took this module's own pin out must not slip past it);\n * - absent → written;\n * - held at the same version → left as written: `held` when no other installed module records it (the application\n * pinned the SDK itself, recorded so `remove` leaves it, or this module wrote it before, an unchanged pin on an update;\n * the caller tells those two apart), and shared when one does (`remove` then leaves it for that module);\n * - held at another version that THIS module recorded at the version it still pins → `moved`: the application moved\n * the module's pin, which is its decision, kept and said (as `remove` and `repair-lockfile` treat it);\n * - held at another version otherwise → a conflict naming the application's own pin.\n */\nfunction vendorPinStates(saasRoot: string, edit: CompositionScenarioEdit, variables: Record<string, string>, moduleId: string): {\n absent: Record<string, string>;\n held: string[];\n moved: string[];\n conflicts: string[];\n} {\n const file = renderer.render(edit.file, variables);\n let overrides: Record<string, unknown> = {};\n try {\n const manifest = JSON.parse(readFileSync(join(saasRoot, file), 'utf8')) as { pnpm?: { overrides?: Record<string, unknown> } };\n overrides = manifest.pnpm?.overrides ?? {};\n } catch {\n // An unreadable manifest is the apply's to refuse, with its own message.\n }\n const absent: Record<string, string> = {};\n const held: string[] = [];\n const moved: string[] = [];\n const conflicts: string[] = [];\n const records = installedProviderRegistrations(saasRoot);\n const ownRecord = records.find((record) => record.registration.moduleId === moduleId)?.registration.providerWiring?.vendorPins;\n for (const [nameTemplate, versionTemplate] of Object.entries(edit.entries ?? {})) {\n const name = renderer.render(nameTemplate, variables);\n const version = renderer.render(versionTemplate, variables);\n const other = records.find((record) => record.registration.moduleId !== moduleId && record.registration.providerWiring?.vendorPins?.[name] !== undefined);\n const otherVersion = other?.registration.providerWiring?.vendorPins?.[name];\n if (other !== undefined && otherVersion !== version) {\n conflicts.push(`the installed module ${other.moduleId} pins ${name} at ${otherVersion}, and ${moduleId} pins it at ${version}`);\n } else if (!Object.hasOwn(overrides, name)) {\n absent[name] = version;\n } else if (overrides[name] === version) {\n // Another installed module pinning it at this version: shared. It is the application's only if that module says\n // so (it found the pin held), and then it is recorded held here too, so whichever module goes LAST still leaves the\n // application's own pin (#2789 re-review R1).\n if (other === undefined || other.registration.providerWiring?.heldVendorPins?.includes(name)) held.push(name);\n } else if (ownRecord?.[name] === version) {\n moved.push(`${file} > pnpm.overrides.${name} (the application moved it to ${String(overrides[name])}; left as the application set it)`);\n } else {\n conflicts.push(`${file} pins ${name} at ${String(overrides[name])} (${other === undefined ? 'the application\\'s own pin' : `as ${other.moduleId} records it`}), and ${moduleId} pins it at ${version}`);\n }\n }\n return { absent, held, moved, conflicts };\n}\n\n/** Every installed module's recorded registration, from the application's lockfile (#2789); none without one. */\nfunction installedProviderRegistrations(saasRoot: string): Array<{ moduleId: string; registration: ModuleManifestRegistration }> {\n try {\n const lock = JSON.parse(readFileSync(join(saasRoot, WILDO_SAAS_LOCK_RELATIVE_PATH), 'utf8')) as {\n sections?: { modules?: { installed?: Record<string, { registration?: ModuleManifestRegistration }> } };\n };\n return Object.entries(lock.sections?.modules?.installed ?? {})\n .flatMap(([moduleId, entry]) => (entry.registration === undefined ? [] : [{ moduleId, registration: entry.registration }]));\n } catch {\n // No lockfile, or one that does not parse: nothing records who wrote a pin.\n return [];\n }\n}\n\n/** Why an entry held under this module's key is not provably this module's, in words that are true. */\nfunction describeUnowned(state: KeyedEntryState, label: string): string {\n return state === KeyedEntryState.FOREIGN\n ? `${label} names another package`\n : `${label} has a path that cannot be read without running code, so whose it is cannot be told`;\n}\n\n/**\n * Publish side: the registration to record for `manifest`, or why there is none. Registered means every\n * registry edit of its shape's scenario, rendered for this module, is ALREADY present in the publishing\n * application.\n */\nexport function deriveModuleRegistration(\n saasRoot: string,\n frameworkRoot: string | null,\n manifest: ModuleManifest,\n): { registration: ModuleManifestRegistration } | { reason: string } {\n const shape = registrationShapeFromBoundaries(manifest);\n if ('reason' in shape) return shape;\n const registration: ModuleManifestRegistration = { ...shape, moduleCamel: moduleCamelFromDirectory(shape.moduleId) };\n try {\n const { plan, unowned } = planRegistrationEdits(saasRoot, frameworkRoot, registration);\n if (unowned.length > 0) {\n return { reason: `its runtime identity is held by an entry it cannot prove is its own: ${unowned.join('; ')}` };\n }\n if (plan.edits.length > 0) {\n return { reason: `the publishing application does not register it: ${plan.edits.map((edit) => `${edit.targetRelativePath} (${edit.summary})`).join('; ')}` };\n }\n return { registration };\n } catch (error) {\n return { reason: ErrorUtils.extractErrorMessage(error) };\n }\n}\n\n/** Every file a registration touches, with its content before — enough to roll it back exactly. */\nexport type RegistrationSnapshot = ReadonlyArray<{ targetRelativePath: string; previousContent: string }>;\n\n/**\n * Install side: apply the registration's edits to the host.\n *\n * - The registration must be self-consistent and name the directory the artifact installs into.\n * - `expectNothingPresent` (a FRESH registration): if the host already has ANY of its entries, the\n * directory is the host's own — refuse, so removal can never later take the host's entries with it.\n * A provider scope already present is the exception: it is left as written and reported, never refused.\n * Re-applying a registration the module already holds (an update to the same one) passes `false` and\n * is an idempotent no-op for entries present.\n * - Atomic for the caller: a failure part-way restores every file already written before rethrowing.\n */\nexport function applyModuleRegistration(\n saasRoot: string,\n frameworkRoot: string | null,\n manifest: ModuleManifest,\n registration: ModuleManifestRegistration,\n options: {\n expectNothingPresent: boolean;\n /** Receives, on a FRESH install, a sentence for each scope already present that it left as written. */\n kept?: string[];\n /** Receives, on EVERY run, the label of each scope already present, so nothing reports it as written unbound. */\n present?: string[];\n /** Receives the vendor pins already present at the module's version, which this run did not write (#2789). */\n heldVendorPins?: string[];\n /** Receives the install-script names already allowed, or kept in the YAML list, which this run did not write (#2801). */\n heldOnlyBuiltDependencies?: string[];\n /** Receives what the operator must do that this run could not (#2801: an allow-list it must not write). */\n warnings?: string[];\n /** Receives the install-script names this run wrote into the allow-list, which the install then rebuilds (#2801). */\n allowedInstallScripts?: string[];\n },\n): RegistrationSnapshot {\n assertRegistrationIsSelfConsistent(registration);\n // The registration must describe exactly what the artifact installs — its scenario, directory and\n // layers — so it can never register entries for more than the files that arrive.\n const shape: RegistrationShape | { reason: string } = registration.scenario === ModuleRegistrationScenario.ADD_PROVIDER_PACKAGE\n ? (manifest.kind === ModuleKind.PROVIDER && manifest.provider !== undefined\n ? { scenario: registration.scenario, moduleId: manifest.provider.ref }\n : { reason: 'the artifact is not a provider module' })\n : registrationShapeFromBoundaries(manifest);\n if ('reason' in shape || !sameShape(shape, registration)) {\n throw new Error(\n `Refusing to register: the manifest's registration (${registration.scenario} '${registration.moduleId}'${registration.layers ? ` [${registration.layers.join(', ')}]` : ''}) `\n + `is not what its boundaries install (${'reason' in shape ? shape.reason : `${shape.scenario} '${shape.moduleId}'${shape.layers ? ` [${shape.layers.join(', ')}]` : ''}`}). Nothing was registered.`,\n );\n }\n const { plan, held, unowned, applicationOwned, pinConflicts, heldPins, movedPins, heldOnlyBuilt, onlyBuiltWarnings, allowedOnlyBuilt } = planRegistrationEdits(saasRoot, frameworkRoot, registration);\n if (unowned.length > 0) {\n throw new Error(`its runtime identity is held by an entry it cannot prove is its own (${unowned.join('; ')}). Nothing was registered.`);\n }\n if (pinConflicts.length > 0) {\n // Not \"nothing was registered\": on a re-apply the previous registration stays recorded (#2789 review F4).\n throw new Error(`its vendor packages are pinned at other versions: ${pinConflicts.join('; ')}. Align the versions, then run it again; this run wrote nothing`);\n }\n options.heldVendorPins?.push(...heldPins);\n options.heldOnlyBuiltDependencies?.push(...heldOnlyBuilt);\n options.kept?.push(...movedPins);\n options.warnings?.push(...onlyBuiltWarnings);\n options.allowedInstallScripts?.push(...allowedOnlyBuilt);\n // A scope already present never counts as \"the application registers it itself\": scoping a provider is how an\n // application uses one, before or after the registry copy arrives.\n options.present?.push(...applicationOwned);\n // Said only on a fresh install: on an update a present scope is the expected state.\n if (options.expectNothingPresent) options.kept?.push(...applicationOwned.map((label) => `${label} (already present; left as the application wrote it)`));\n if (options.expectNothingPresent && (plan.skippedEdits.length > 0 || held.length > 0)) {\n throw new Error(\n `the application already registers '${registration.moduleId}' itself (${[...plan.skippedEdits.map((edit) => edit.targetRelativePath), ...held].join(', ')}); `\n + 'the install does not take over those entries. Nothing was registered.',\n );\n }\n const snapshot = plan.edits.map((edit) => ({\n targetRelativePath: edit.targetRelativePath,\n previousContent: readFileSync(join(saasRoot, edit.targetRelativePath), 'utf8'),\n }));\n try {\n applyCompositionScenarioPlan({ plan: { ...plan, writes: [], collisions: [] }, applicationRoot: saasRoot });\n } catch (error) {\n restoreRegistrationSnapshot(saasRoot, snapshot);\n throw error;\n }\n return snapshot;\n}\n\n/** Undo a registration change from its snapshot (the rollback of a failed install / remove). */\nexport function restoreRegistrationSnapshot(saasRoot: string, snapshot: RegistrationSnapshot): void {\n for (const { targetRelativePath, previousContent } of snapshot) {\n writeFileSync(join(saasRoot, targetRelativePath), previousContent, 'utf8');\n }\n}\n\n/**\n * Remove side: delete the entries the registration's edits add — the inverse of each edit step, keyed on\n * the same rendered text. Only ever called for a registration install RECORDED as applied, and install\n * refuses to record one whose entries the host already had, so these are entries install wrote — except a\n * provider scope, which is removed only while it still says exactly what the install writes (`reverseEdit`).\n * An entry already absent is skipped (idempotent). Returns the prior content of every file changed, so a caller\n * that must roll back can restore it.\n *\n * Exact byte-for-byte restoration holds for the layout the framework scaffolds (one entry per line,\n * trailing commas, LF or CRLF); any other layout is restored to equivalent, valid source.\n */\nexport function reverseModuleRegistration(\n saasRoot: string,\n frameworkRoot: string | null,\n registration: ModuleManifestRegistration,\n options: {\n /** Reverse only the steps this selects (an update's transition); every step by default. */\n only?: (edit: CompositionScenarioEdit, variables: Record<string, string>) => boolean;\n /** Receives each application-owned property left in place because it no longer says what the install wrote. */\n kept?: string[];\n } = {},\n): RegistrationSnapshot {\n assertRegistrationIsSelfConsistent(registration);\n const scenario = loadRegistrationScenario(saasRoot, frameworkRoot, registration);\n const variables = registrationVariables(registration);\n const steps = (scenario.manifest.edits ?? []).filter((edit) => options.only?.(edit, variables) ?? true);\n // Before anything is written: an object entry whose key now names ANOTHER package is not this module's\n // to remove (#1773 review). Refused whole, so the command stops with the application untouched.\n const unowned = steps\n .filter((edit) => edit.kind === CompositionScenarioEditKind.TS_OBJECT_APPEND)\n .map((edit) => keyedEntryState(saasRoot, edit, variables))\n .filter(({ state }) => state === KeyedEntryState.FOREIGN || state === KeyedEntryState.UNDETERMINED)\n .map(({ state, label }) => describeUnowned(state, label));\n if (unowned.length > 0) {\n throw new Error(\n `Refusing to unregister '${registration.moduleId}': ${unowned.join('; ')}, and this module removes only what it wrote. Nothing was removed.`,\n );\n }\n const snapshot = new Map<string, string>();\n const collected = () => [...snapshot].map(([targetRelativePath, previousContent]) => ({ targetRelativePath, previousContent }));\n try {\n // Reverse order: the last edit applied is the first undone.\n for (const edit of [...steps].reverse()) {\n const targetRelative = renderer.render(edit.file, variables);\n const targetAbsolute = join(saasRoot, targetRelative);\n let content: string;\n try {\n content = readFileSync(targetAbsolute, 'utf8');\n } catch {\n continue;\n }\n const next = reverseEdit(edit, content, targetRelative, variables, options.kept, (name, version) => keptVendorPinReason(saasRoot, registration, name, version),\n (name) => keptOnlyBuiltReason(saasRoot, registration, name));\n if (next !== content) {\n // First change to a file wins: that is its content before this reversal began.\n if (!snapshot.has(targetRelative)) snapshot.set(targetRelative, content);\n writeFileSync(targetAbsolute, next, 'utf8');\n }\n }\n } catch (error) {\n // Atomic, like the apply: a step that throws part-way (a manifest that is not JSON, a config that no longer walks)\n // must not leave the steps before it undone and the rest in place (#2014 review F7).\n restoreRegistrationSnapshot(saasRoot, collected());\n throw error;\n }\n return collected();\n}\n\n/**\n * Why `remove` must leave the vendor pin `name@version` this registration's step names (#2789), or `undefined` when it is\n * this install's to take out: the application held it before the install, or another installed module records it at the\n * same version and still needs it.\n */\nfunction keptVendorPinReason(saasRoot: string, registration: ModuleManifestRegistration, name: string, version: string): string | undefined {\n if (registration.providerWiring?.heldVendorPins?.includes(name)) return 'the application pinned it before the install';\n const other = installedProviderRegistrations(saasRoot)\n .find((record) => record.registration.moduleId !== registration.moduleId && record.registration.providerWiring?.vendorPins?.[name] === version);\n return other === undefined ? undefined : `the installed module ${other.moduleId} pins it too`;\n}\n\n/**\n * Why `remove` must leave the install-script name `name` this registration's step names (#2801), or `undefined` when it\n * is this install's to take out: the application allowed it before the install (or keeps its list in its workspace\n * file, where this install wrote nothing), or another installed module records it and still needs it.\n */\nfunction keptOnlyBuiltReason(saasRoot: string, registration: ModuleManifestRegistration, name: string): string | undefined {\n if (registration.providerWiring?.heldOnlyBuiltDependencies?.includes(name)) return 'the application allowed it before the install';\n const other = installedProviderRegistrations(saasRoot)\n .find((record) => record.registration.moduleId !== registration.moduleId && record.registration.providerWiring?.onlyBuiltDependencies?.includes(name));\n return other === undefined ? undefined : `the installed module ${other.moduleId} needs it too`;\n}\n\nfunction reverseEdit(\n edit: CompositionScenarioEdit,\n content: string,\n targetRelative: string,\n variables: Record<string, string>,\n kept?: string[],\n keepVendorPin?: (name: string, version: string) => string | undefined,\n keepOnlyBuilt?: (name: string) => string | undefined,\n): string {\n switch (edit.kind) {\n case CompositionScenarioEditKind.TS_IMPORT_ADD:\n return removeInsertedImport(content, renderer.render(edit.statement!, variables).trim());\n case CompositionScenarioEditKind.APPEND_LINE:\n return removeWholeLine(content, renderer.render(edit.line!, variables).replace(/\\r?\\n+$/, '').trim());\n case CompositionScenarioEditKind.TS_ARRAY_APPEND: {\n const element = renderer.render(edit.element!, variables).trim();\n return removeListEntry(content, targetRelative, renderer.render(edit.exportedArray!, variables), RegistryAnchorShape.ARRAY,\n (entry, sourceFile) => entry.getText(sourceFile).trim() === element);\n }\n case CompositionScenarioEditKind.TS_OBJECT_APPEND: {\n // By KEY, not text: the operator edits a bucket entry after install, and the edited entry is still\n // this module's (the pre-pass above refused one whose path names another package). A spread is removed by\n // the expression it spreads (#2508).\n const identity = objectEntryIdentity(renderer.render(edit.entry!, variables).trim());\n return removeListEntry(content, targetRelative, renderer.render(edit.exportedObject!, variables), RegistryAnchorShape.OBJECT,\n (entry, sourceFile) => ('spread' in identity\n ? ts.isSpreadAssignment(entry) && entry.expression.getText(sourceFile).trim() === identity.spread\n : (ts.isPropertyAssignment(entry) || ts.isShorthandPropertyAssignment(entry)) && propertyKey(entry.name) === identity.key));\n }\n case CompositionScenarioEditKind.PACKAGE_DEPENDENCY_ADD:\n return removeAddedDependencies(content, targetRelative, edit, variables);\n case CompositionScenarioEditKind.PNPM_OVERRIDE_APPEND:\n return removeAddedOverrides(content, targetRelative, edit, variables, kept, keepVendorPin);\n case CompositionScenarioEditKind.PNPM_ONLY_BUILT_APPEND:\n return removeAddedOnlyBuilt(content, targetRelative, edit, variables, kept, keepOnlyBuilt);\n case CompositionScenarioEditKind.CONFIG_PROPERTY_ADD: {\n const path = (edit.configPath ?? []).map((segment) => renderer.render(segment, variables));\n // Absent (a parent the operator removed takes it with it): the goal state.\n const text = readConfigObjectPropertyText({ filePath: targetRelative, content, target: { path } });\n if (text === undefined) return content;\n // Changed since the install wrote it — capabilities bound, protocols listed — so it is the application's, and\n // removing it would take the application's decision with it. Kept, and said.\n //\n // Deliberate: a scope that says EXACTLY what the install writes is removed even if the application wrote it\n // before the install (the review's P4). It binds nothing, and once the provider's package is gone it would name\n // a provider no runtime contributes, which `wildo config sync` refuses; removing it is the consistent end state.\n if (text !== renderer.render(edit.valueText ?? '', variables).trim()) {\n kept?.push(`${targetRelative} > ${path.join('.')} (the application changed it since install; remove it yourself if nothing should scope this provider)`);\n return content;\n }\n return removeConfigObjectProperty({ filePath: targetRelative, content, target: { path } }).newContent;\n }\n default:\n // Unreachable: `loadRegistrationScenario` refuses any other kind before a single write.\n throw new Error(`registration cannot reverse edit kind '${edit.kind}'`);\n }\n}\n\n/**\n * The inverse of `package-dependency-add` (#2014): drop each entry the step added, but only while it still carries the\n * specifier the step wrote. A dependency the operator re-pointed since is theirs now, and is kept. Written back in\n * the step's own form (two-space JSON), so a manifest the install edited returns to the same bytes.\n */\nfunction removeAddedDependencies(content: string, targetRelative: string, edit: CompositionScenarioEdit, variables: Record<string, string>): string {\n let manifest: Record<string, unknown>;\n try {\n manifest = JSON.parse(content) as Record<string, unknown>;\n } catch {\n throw new Error(`${targetRelative} is not valid JSON, so the dependency this module added cannot be removed from it.`);\n }\n const field = edit.dependencyField ?? 'dependencies';\n const dependencies = manifest[field];\n if (dependencies === null || typeof dependencies !== 'object' || Array.isArray(dependencies)) return content;\n const next = { ...(dependencies as Record<string, unknown>) };\n let changed = false;\n for (const [nameTemplate, specifierTemplate] of Object.entries(edit.entries ?? {})) {\n const name = renderer.render(nameTemplate, variables);\n if (next[name] === renderer.render(specifierTemplate, variables)) {\n delete next[name];\n changed = true;\n }\n }\n if (!changed) return content;\n manifest[field] = next;\n return `${JSON.stringify(manifest, null, 2)}\\n`;\n}\n\n/**\n * The inverse of `pnpm-override-append` (#2789): drop each vendor pin the step WROTE, while it still holds the version\n * written. Kept: a pin the application moved since (its own now, and said); a pin the application held before the\n * install (`heldVendorPins`); a pin another installed module records at the same version (it still needs it). Written\n * back the way the step writes (sorted, two-space JSON).\n */\nfunction removeAddedOverrides(\n content: string,\n targetRelative: string,\n edit: CompositionScenarioEdit,\n variables: Record<string, string>,\n kept?: string[],\n keepVendorPin?: (name: string, version: string) => string | undefined,\n): string {\n let manifest: Record<string, unknown>;\n try {\n manifest = JSON.parse(content) as Record<string, unknown>;\n } catch {\n throw new Error(`${targetRelative} is not valid JSON, so the vendor pins this module added cannot be removed from it.`);\n }\n const pnpm = manifest.pnpm;\n if (pnpm === null || typeof pnpm !== 'object' || Array.isArray(pnpm)) return content;\n const overrides = (pnpm as Record<string, unknown>).overrides;\n if (overrides === null || typeof overrides !== 'object' || Array.isArray(overrides)) return content;\n const next = { ...(overrides as Record<string, unknown>) };\n let changed = false;\n for (const [nameTemplate, versionTemplate] of Object.entries(edit.entries ?? {})) {\n const name = renderer.render(nameTemplate, variables);\n if (!Object.hasOwn(next, name)) continue;\n const version = renderer.render(versionTemplate, variables);\n if (next[name] === version) {\n const reason = keepVendorPin?.(name, version);\n if (reason !== undefined) {\n kept?.push(`${targetRelative} > pnpm.overrides.${name} (left: ${reason})`);\n continue;\n }\n delete next[name];\n changed = true;\n } else {\n kept?.push(`${targetRelative} > pnpm.overrides.${name} (the application moved it to ${String(next[name])} since install; remove it yourself if nothing uses it)`);\n }\n }\n if (!changed) return content;\n manifest.pnpm = { ...(pnpm as Record<string, unknown>), overrides: Object.fromEntries(Object.keys(next).sort().map((name) => [name, next[name]])) };\n return `${JSON.stringify(manifest, null, 2)}\\n`;\n}\n\n/**\n * The inverse of `pnpm-only-built-append` (#2801): drop each install-script name the step WROTE. Kept: one the\n * application allowed before the install, or one another installed module records (`keepOnlyBuilt`). A list left empty\n * is removed with its key, which gives back the manifest the install found. Written back in the list's own order.\n */\nfunction removeAddedOnlyBuilt(\n content: string,\n targetRelative: string,\n edit: CompositionScenarioEdit,\n variables: Record<string, string>,\n kept?: string[],\n keepOnlyBuilt?: (name: string) => string | undefined,\n): string {\n let manifest: Record<string, unknown>;\n try {\n manifest = JSON.parse(content) as Record<string, unknown>;\n } catch {\n throw new Error(`${targetRelative} is not valid JSON, so the install scripts this module allowed cannot be removed from it.`);\n }\n const pnpm = manifest.pnpm;\n if (pnpm === null || typeof pnpm !== 'object' || Array.isArray(pnpm)) return content;\n const list = (pnpm as Record<string, unknown>).onlyBuiltDependencies;\n if (!Array.isArray(list)) return content;\n const remove = new Set<string>();\n for (const name of new Set((edit.names ?? []).map((template) => renderer.render(template, variables)))) {\n if (!list.includes(name)) continue;\n const reason = keepOnlyBuilt?.(name);\n if (reason !== undefined) {\n kept?.push(`${targetRelative} > pnpm.onlyBuiltDependencies ${name} (left: ${reason})`);\n continue;\n }\n remove.add(name);\n }\n if (remove.size === 0) return content;\n const next = list.filter((name) => !(typeof name === 'string' && remove.has(name)));\n const { onlyBuiltDependencies: _removed, ...rest } = pnpm as Record<string, unknown>;\n // A list that survives keeps its place among the `pnpm` keys, as the apply left it, so the manifest comes back as it was.\n const nextPnpm = next.length === 0 ? rest : { ...(pnpm as Record<string, unknown>), onlyBuiltDependencies: next };\n if (Object.keys(nextPnpm).length === 0) delete manifest.pnpm;\n else manifest.pnpm = nextPnpm;\n return `${JSON.stringify(manifest, null, 2)}\\n`;\n}\n\n/**\n * The inverse of `ts-import-add`, which inserts `\\n<statement>` right after the last import. Removing\n * exactly that preserves the file's own line endings (CRLF included); a statement found elsewhere is\n * removed as a whole line.\n */\nfunction removeInsertedImport(content: string, statement: string): string {\n const inserted = `\\n${statement}`;\n const at = content.indexOf(inserted);\n if (at !== -1) return content.slice(0, at) + content.slice(at + inserted.length);\n return removeWholeLine(content, statement);\n}\n\n/** Remove the one line whose trimmed text equals `line`, with its line break. */\nfunction removeWholeLine(content: string, line: string): string {\n const lines = content.split('\\n');\n const index = lines.findIndex((candidate) => candidate.trim() === line);\n if (index === -1) return content;\n lines.splice(index, 1);\n return lines.join('\\n');\n}\n\n/**\n * Remove the element / property `matches` selects from the top-level variable `variableName`'s array or object literal:\n * the inverse of the append the registration's scenario made. The removal itself is `removeBracedListEntry`, the one\n * inverse of `appendIntoBracedList` that every caller shares, so this list and a config property cannot come to\n * disagree about what an append added (#2014 review, which found this copy and the runtime's disagreeing about a\n * comment the application wrote inside a list).\n */\nfunction removeListEntry(\n content: string,\n fileName: string,\n variableName: string,\n shape: RegistryAnchorShape,\n matches: (entry: ts.Node, sourceFile: ts.SourceFile) => boolean,\n): string {\n const anchor = findAnchorLiteral(content, fileName, variableName);\n if (!anchor) return content;\n const { sourceFile, literal } = anchor;\n const entries: ts.NodeArray<ts.Node> | null = shape === RegistryAnchorShape.ARRAY && ts.isArrayLiteralExpression(literal)\n ? literal.elements\n : shape === RegistryAnchorShape.OBJECT && ts.isObjectLiteralExpression(literal) ? literal.properties : null;\n if (entries === null) return content;\n const index = entries.findIndex((candidate) => matches(candidate, sourceFile));\n if (index === -1) return content;\n return removeBracedListEntry({ content, sourceFile, entries, index, closeBracePosition: literal.end - 1 });\n}\n\nexport interface InstallRegistrationOutcome {\n /** The registration now applied to the host, to record in the lockfile entry; absent when none is. */\n registration?: ModuleManifestRegistration;\n /** Every change made, in order, for `rollbackInstallRegistration`. */\n snapshots: RegistrationSnapshot[];\n /** Set when the module ends up NOT registered — reported to the operator, never fatal. */\n notice?: string;\n /** Application-owned entries the install or update left as it found them, one sentence each, for the operator. */\n kept: string[];\n /** Labels of the provider scopes already present when this run applied the registration: it wrote none of them. */\n present: string[];\n /** What the operator must do that this run could not, one sentence each, said as warnings (#2801). */\n warnings: string[];\n /**\n * The install-script names this run newly allowed (#2801). The install rebuilds them after `pnpm install`: a package\n * already installed, its script skipped, is \"already up to date\" to an install, and only a rebuild runs the script.\n */\n allowedInstallScripts: string[];\n}\n\n/** The wiring as derived from the module and the application: what an install observed (`heldVendorPins`) is not part of it. */\nfunction derivedWiring(wiring: ModuleManifestRegistration['providerWiring']): string {\n if (wiring === undefined) return JSON.stringify(wiring);\n const { heldVendorPins: _observed, heldOnlyBuiltDependencies: _observedBuilt, ...derived } = wiring;\n return JSON.stringify(derived);\n}\n\nfunction sameRegistration(a: ModuleManifestRegistration, b: ModuleManifestRegistration): boolean {\n return sameShape(a, b) && a.moduleCamel === b.moduleCamel && derivedWiring(a.providerWiring) === derivedWiring(b.providerWiring);\n}\n\n/**\n * The registration to RECORD after an apply (#2789): `next`, with the vendor pins this install found already held and\n * did not write (`heldVendorPins`). A pin the previous registration of this module wrote itself is not \"held\" just because\n * an unchanged step left it in place; one the previous registration recorded as held stays held.\n */\nfunction withHeldVendorPins(\n next: ModuleManifestRegistration,\n previous: ModuleManifestRegistration | undefined,\n heldNow: readonly string[],\n /** The install-script names found already allowed (#2801), recorded the same way: one the previous registration wrote is not held. */\n heldOnlyBuiltNow: readonly string[] = [],\n): ModuleManifestRegistration {\n if (next.providerWiring === undefined) return next;\n const previousHeld = new Set(previous?.providerWiring?.heldVendorPins ?? []);\n const previousWrote = (name: string) => previous?.providerWiring?.vendorPins?.[name] !== undefined && !previousHeld.has(name);\n const held = [...new Set(heldNow)].filter((name) => !previousWrote(name)).sort();\n const previousHeldBuilt = new Set(previous?.providerWiring?.heldOnlyBuiltDependencies ?? []);\n const previousWroteBuilt = (name: string) => (previous?.providerWiring?.onlyBuiltDependencies ?? []).includes(name) && !previousHeldBuilt.has(name);\n const heldBuilt = [...new Set(heldOnlyBuiltNow)].filter((name) => !previousWroteBuilt(name)).sort();\n const { heldVendorPins: _derivedNone, heldOnlyBuiltDependencies: _derivedNoneBuilt, ...wiring } = next.providerWiring;\n return {\n ...next,\n providerWiring: {\n ...wiring,\n ...(held.length === 0 ? {} : { heldVendorPins: held }),\n ...(heldBuilt.length === 0 ? {} : { heldOnlyBuiltDependencies: heldBuilt }),\n },\n };\n}\n\n/**\n * Install side, provider modules (#2014): the registration an install of `manifest` applies HERE — the wiring derived\n * from this application's own services. The lockfile records it, so `remove` reverses exactly this.\n */\nexport async function deriveProviderRegistration(saasRoot: string, manifest: ModuleManifest): Promise<ModuleManifestRegistration> {\n if (manifest.kind !== ModuleKind.PROVIDER || manifest.provider === undefined) {\n throw new Error(`${manifest.id} is not a provider module; it is registered from its manifest.`);\n }\n const ref = manifest.provider.ref;\n const vendorPins = manifest.dependsOn?.npm?.dependencies ?? {};\n const onlyBuilt = manifest.dependsOn?.npm?.onlyBuiltDependencies ?? [];\n // The pins (and the install scripts) this install would write, checked again here: the artifact is what arrives\n // (#2789 review F9, #2801).\n if (Object.keys(vendorPins).length > 0 || onlyBuilt.length > 0) {\n const refusals = vendorPinInstallRefusals(vendorPins, readFrameworkOwnedDependencyNames(), onlyBuilt);\n if (refusals.length > 0) {\n throw new Error(`${manifest.id} carries vendor pins an install cannot write into the application: ${refusals.join('; ')}. Nothing was installed.`);\n }\n }\n return {\n scenario: ModuleRegistrationScenario.ADD_PROVIDER_PACKAGE,\n moduleId: ref,\n moduleCamel: moduleCamelFromDirectory(ref),\n providerWiring: await deriveProviderWiring(saasRoot, manifest.provider, vendorPins, onlyBuilt),\n };\n}\n\n/**\n * The install / update step: reverse a PREVIOUS registration the new version no longer carries, then\n * apply the new one. A module that ships no registration, or whose registration cannot be applied here (an\n * application scaffolded before the registry anchors existed, or one that registers the directory itself),\n * installs with the gap MARKED. Throws when reversing a previous registration fails, and when a provider's changed\n * wiring cannot be applied (its partial reversal undone first) — the caller rolls the whole install back for that.\n *\n * A provider's wiring that CHANGED between two derivations (a frontend service added, a facet gained) moves step by\n * step (#2014 review): only the steps the new wiring no longer has are reversed, and the new wiring is then applied\n * over what stays. Undoing all of it and writing it again removed every scope the application had bound and put it\n * back empty.\n */\nexport function registerModuleForInstall(\n saasRoot: string,\n frameworkRoot: string | null,\n manifest: ModuleManifest,\n previous: ModuleManifestRegistration | undefined,\n /** A provider module's wiring, derived by `deriveProviderRegistration` (#2014); a provider manifest carries none. */\n providerRegistration?: ModuleManifestRegistration,\n): InstallRegistrationOutcome {\n const snapshots: RegistrationSnapshot[] = [];\n const kept: string[] = [];\n const present: string[] = [];\n const warnings: string[] = [];\n const allowedInstallScripts: string[] = [];\n const next = manifest.kind === ModuleKind.PROVIDER ? providerRegistration : manifest.registration;\n const keepsPrevious = previous !== undefined && next !== undefined && sameRegistration(previous, next);\n const providerTransition = previous !== undefined && next !== undefined && !keepsPrevious\n && previous.scenario === ModuleRegistrationScenario.ADD_PROVIDER_PACKAGE && next.scenario === ModuleRegistrationScenario.ADD_PROVIDER_PACKAGE;\n if (previous && !keepsPrevious) {\n if (providerTransition) {\n const nextVariables = registrationVariables(next);\n const nextSteps = new Set((loadRegistrationScenario(saasRoot, frameworkRoot, next).manifest.edits ?? []).map((edit) => editIdentity(edit, nextVariables)));\n snapshots.push(reverseModuleRegistration(saasRoot, frameworkRoot, previous, {\n only: (edit, variables) => !nextSteps.has(editIdentity(edit, variables)),\n kept,\n }));\n } else {\n snapshots.push(reverseModuleRegistration(saasRoot, frameworkRoot, previous, { kept }));\n }\n }\n if (!next) {\n return {\n snapshots,\n kept,\n present,\n warnings,\n allowedInstallScripts,\n notice: 'the module ships no registration (its publisher did not register it, or it is not a shape registration covers); '\n + 'declare it in the application by hand',\n };\n }\n try {\n // A provider transition re-applies over the steps it kept, so it must not refuse what is already there.\n const heldVendorPins: string[] = [];\n const heldOnlyBuiltDependencies: string[] = [];\n snapshots.push(applyModuleRegistration(saasRoot, frameworkRoot, manifest, next, {\n expectNothingPresent: !keepsPrevious && !providerTransition,\n kept,\n present,\n heldVendorPins,\n heldOnlyBuiltDependencies,\n warnings,\n allowedInstallScripts,\n }));\n // Recomputed on every apply, an unchanged wiring included (#2801 review L4): what is held is a fact about the\n // application NOW. An entry recorded held that the application has since dropped is written again by this apply, and\n // must stop being called held, or `remove` would leave behind an entry the install wrote. `withHeldVendorPins` never\n // calls held what the previous registration wrote, so an unchanged application records the same content.\n const recorded = withHeldVendorPins(next, previous, heldVendorPins, heldOnlyBuiltDependencies);\n // A transition's reversal and its re-apply both report a pin the application moved; say it once (re-review R2).\n const movedOnReapply = new Set(kept.filter((line) => / \\(the application moved it to [^;]+; left as the application set it\\)$/.test(line)).map((line) => line.slice(0, line.indexOf(' ('))));\n for (let index = kept.length - 1; index >= 0; index -= 1) {\n const line = kept[index]!;\n if (/ since install; remove it yourself if nothing uses it\\)$/.test(line) && movedOnReapply.has(line.slice(0, line.indexOf(' (')))) kept.splice(index, 1);\n }\n for (const name of recorded.providerWiring?.heldVendorPins ?? []) {\n if (previous?.providerWiring?.heldVendorPins?.includes(name)) continue;\n kept.push(`package.json > pnpm.overrides.${name} (already pinned at that version by the application; left as its own pin, so removing the module leaves it)`);\n }\n // Said only for a name the manifest's own list holds: one held because the list lives in the workspace file was\n // already said, with what to add there (`onlyBuiltStates`).\n const manifestAllowed = readManifestOnlyBuiltDependencies(saasRoot);\n for (const name of recorded.providerWiring?.heldOnlyBuiltDependencies ?? []) {\n if (previous?.providerWiring?.heldOnlyBuiltDependencies?.includes(name) || !manifestAllowed.includes(name)) continue;\n kept.push(`package.json > pnpm.onlyBuiltDependencies ${name} (already allowed by the application; left as its own, so removing the module leaves it)`);\n }\n return { registration: recorded, snapshots, kept, present, warnings, allowedInstallScripts };\n } catch (error) {\n const notice = `could not register it: ${ErrorUtils.extractErrorMessage(error)}`;\n if (providerTransition) {\n // A provider transition reversed only PART of the previous wiring and kept the rest. Neither answer that lets\n // the update go on is coherent: recording no registration leaves the kept steps with nothing able to remove them\n // (#2014 re-review H1), and recording the PREVIOUS one describes files this update is about to replace, a facet\n // it deletes included (third review F2). So the partial reversal is undone and the update FAILS; the command's\n // own catch rolls the new files back, which leaves the old files and the old wiring together.\n rollbackInstallRegistration(saasRoot, snapshots);\n throw new Error(`${notice}. The update was not applied; the installed version and its wiring are unchanged.`);\n }\n // Re-applying the SAME registration failed: its entries are still in place, so it stays recorded.\n return { ...(keepsPrevious ? { registration: previous } : {}), snapshots, kept, present, warnings, allowedInstallScripts, notice };\n }\n}\n\n/** Undo `registerModuleForInstall` (a failed install's rollback), latest change first. */\nexport function rollbackInstallRegistration(saasRoot: string, snapshots: readonly RegistrationSnapshot[]): void {\n for (const snapshot of [...snapshots].reverse()) restoreRegistrationSnapshot(saasRoot, snapshot);\n}\n"]}
|
|
1
|
+
{"version":3,"file":"module-registration.service.js","sourceRoot":"","sources":["../../../../src/services/registry/module-registration.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACtD,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EACL,4BAA4B,EAC5B,2BAA2B,EAC3B,iCAAiC,EACjC,kCAAkC,EAClC,uBAAuB,EACvB,uBAAuB,EACvB,qBAAqB,EACrB,4BAA4B,EAC5B,0BAA0B,EAC1B,iBAAiB,GAGlB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACL,oBAAoB,EACpB,iBAAiB,EACjB,2BAA2B,EAC3B,UAAU,EACV,0BAA0B,EAC1B,uBAAuB,EACvB,gBAAgB,EAChB,kBAAkB,EAClB,2BAA2B,EAC3B,6BAA6B,EAC7B,+BAA+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AAC;YACvB,8GAA8G;YAC9G,iHAAiH;YACjH,gHAAgH;YAChH,+GAA+G;YAC/G,8FAA8F;YAC9F,2BAA2B,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC;YACjD,MAAM,IAAI,KAAK,CAAC,GAAG,MAAM,mFAAmF,CAAC,CAAC;QAChH,CAAC;QACD,kGAAkG;QAClG,OAAO,EAAE,GAAG,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,qBAAqB,EAAE,MAAM,EAAE,CAAC;IACrI,CAAC;AACH,CAAC;AAED,0FAA0F;AAC1F,MAAM,UAAU,2BAA2B,CAAC,QAAgB,EAAE,SAA0C;IACtG,KAAK,MAAM,QAAQ,IAAI,CAAC,GAAG,SAAS,CAAC,CAAC,OAAO,EAAE;QAAE,2BAA2B,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;AACnG,CAAC","sourcesContent":["/**\n * Registering an installed registry module in its host application — and unregistering it (#1755).\n *\n * `wildo registry add` copies a module's files. Registration is what makes the application KNOW the\n * module: the shared, specifications and frontend registries and `wildo.saas.config.ts >\n * applicationModules`. Without it the backend discovers `backend-api/src/modules/<dir>` by directory\n * scan while every other layer ignores the module — live on one side, unknown on the other.\n *\n * ## One source for \"how a module is registered\"\n *\n * The framework's `add-module` composition scenario already declares those edits (its `edits` block),\n * and `wildo compose add-module` applies them to a module it scaffolds. Installation reuses the SAME\n * edit steps — the application's delivered copy of the scenario, else the framework's — with the\n * scenario's CREATE steps stripped (the module's files arrive from the artifact, not from templates).\n * No second copy of the registry anchors exists here.\n *\n * ## Why the manifest carries no code\n *\n * The edits render code into the host's own files. A manifest that carried edit TEXT could append\n * anything to `wildo.saas.config.ts`. It carries only the module directory (`moduleId`), the camelCase stem the\n * scenario names entries from (`moduleCamel`) and, for a partial module, the layers it covers — the\n * identifiers restricted to identifier alphabets, and the stem the one DERIVED from the directory, so a\n * registration cannot name another module's entries. Anything else a scenario needs (the services a module\n * binds to) is derived here from those values.\n *\n * ## Derived at publish, never authored\n *\n * `wildo registry publish` plans the same edits against the PUBLISHING application. If every one is\n * already present there, the module demonstrably is registered there and the registration is\n * recorded; otherwise it is left out and the reason reported.\n *\n * ## A registration is applied only where nothing is there yet\n *\n * On a fresh install, if the host ALREADY has any of the registration's entries, the directory is the\n * host's own and install does not take it over: the module is installed and MARKED as not registered.\n * That is what keeps `remove` honest — it reverses only a registration install actually made, so it does\n * not delete an entry the application wrote itself (`application-creation-directive.md`: mark, don't\n * block).\n *\n * One exception, by design (#2014 review): a provider's SCOPE (`config-property-add`) is the application's\n * once it exists, because binding capabilities there is how an application uses the provider. A scope\n * already present never blocks an install and is left as written; `remove` takes a scope out only while it\n * still says exactly what the install writes (see `reverseEdit`).\n *\n * ## The three shapes (#1755, #1773)\n *\n * - a DOMAIN module replays `add-module` — all four layers, or a SUBSET that includes the backend or the\n * frontend: only the edits targeting its layers run, and its `applicationModules` entry is bound to\n * exactly the services its layers provide (derived here, never read from the manifest);\n * - a MINION replays `add-minion`, a WORKER `add-worker-node` — their bucket entry, provider scope and\n * pnpm workspace member. Their scenarios' other variables (package name, port, display strings) only\n * feed the files a scenario creates, which the artifact supplies instead, so the edits need the\n * directory and the stem alone.\n *\n * Anything else — a mixed artifact, a shared+specifications-only module (no service to bind it to) —\n * installs with the gap marked.\n */\n\nimport { join } from 'node:path';\nimport { readFileSync, writeFileSync } from 'node:fs';\nimport ts from 'typescript';\nimport {\n applyCompositionScenarioPlan,\n CompositionScenarioEditKind,\n createCompositionTemplateRenderer,\n listCompositionScenarioDirectories,\n loadCompositionScenario,\n planCompositionScenario,\n removeBracedListEntry,\n readConfigObjectPropertyText,\n removeConfigObjectProperty,\n unwrapInitializer,\n type CompositionScenario,\n type CompositionScenarioEdit,\n} from '@wildo-ai/application-creation-runtime';\nimport {\n DOMAIN_MODULE_LAYERS,\n DomainModuleLayer,\n MODULE_BOUNDARY_LAYER_ROOTS,\n ModuleKind,\n ModuleRegistrationScenario,\n PROVIDER_WORKSPACE_FILE,\n PnpmOwnedSetting,\n PnpmSettingsSource,\n readApplicationPnpmSettings,\n readPnpmWorkspaceSettingsText,\n updatePnpmWorkspaceSettingsText,\n WILDO_SAAS_LOCK_RELATIVE_PATH,\n type ApplicationPnpmSettings,\n type ModuleBoundaryLayer,\n type ModuleManifest,\n type ModuleManifestRegistration,\n} from '@wildo-ai/platform-config-lib';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\nimport { deriveProviderWiring, providerWiringScenario } from './provider-wiring.service';\nimport { readFrameworkOwnedDependencyNames, vendorPinInstallRefusals } from './provider-module-vendor-packages.service';\n\nconst renderer = createCompositionTemplateRenderer();\n\n/** A directory that does not exist, so a scenario plan carries its EDIT steps and no file creations. */\nconst NO_FILES_DIRECTORY = '__registry-install-edits-only__';\n\n/** The only edit kinds registration can undo — see {@link reverseEdit}. */\nconst REVERSIBLE_EDIT_KINDS: ReadonlySet<string> = new Set([\n CompositionScenarioEditKind.TS_IMPORT_ADD,\n CompositionScenarioEditKind.TS_ARRAY_APPEND,\n CompositionScenarioEditKind.TS_OBJECT_APPEND,\n CompositionScenarioEditKind.APPEND_LINE,\n // #2014: the provider wiring's dependency and scope.\n CompositionScenarioEditKind.PACKAGE_DEPENDENCY_ADD,\n CompositionScenarioEditKind.CONFIG_PROPERTY_ADD,\n // #2789: the provider module's vendor pins.\n CompositionScenarioEditKind.PNPM_OVERRIDE_APPEND,\n // #2801: the install scripts its vendor packages need.\n CompositionScenarioEditKind.PNPM_ONLY_BUILT_APPEND,\n]);\n\n/**\n * The service each service-bearing layer binds its module to in `applicationModules`, in the order the\n * `add-module` scenario's default writes them (`'backendApi', 'app'`) — so a whole module registered by\n * install renders the SAME entry `wildo compose` scaffolds. Shared and specifications bind no service.\n */\nconst SERVICE_BINDINGS: ReadonlyArray<readonly [DomainModuleLayer, string]> = [\n [DomainModuleLayer.BACKEND, 'backendApi'],\n [DomainModuleLayer.FRONTEND, 'app'],\n];\n\n/** The application config file, whose `applicationModules` entry every module shape is bound through. */\nconst SAAS_CONFIG_FILE = 'wildo.saas.config.ts';\n\n/** The directory of the application a domain layer's registry edits target (the `add-module` edit files). */\nconst EDIT_ROOT_OF_LAYER: Partial<Record<DomainModuleLayer, string>> = {\n [DomainModuleLayer.SHARED]: 'shared-lib/',\n [DomainModuleLayer.SPECIFICATIONS]: 'specifications/',\n [DomainModuleLayer.FRONTEND]: 'frontend/',\n};\n\n/**\n * The ONLY variables a registration supplies to each scenario, derived from the registration — never\n * read from the manifest beyond its two identifiers. A scenario reading any other is refused, because the\n * renderer would render it empty and write broken code.\n */\nfunction registrationVariables(registration: ModuleManifestRegistration): Record<string, string> {\n switch (registration.scenario) {\n case ModuleRegistrationScenario.ADD_MODULE: {\n const layers = registration.layers ?? DOMAIN_MODULE_LAYERS;\n const services = SERVICE_BINDINGS.filter(([layer]) => layers.includes(layer)).map(([, service]) => service);\n return { moduleId: registration.moduleId, moduleCamel: registration.moduleCamel, moduleServices: services.map((service) => `'${service}'`).join(', ') };\n }\n case ModuleRegistrationScenario.ADD_MINION:\n return { minionDir: registration.moduleId, minionCamel: registration.moduleCamel };\n case ModuleRegistrationScenario.ADD_WORKER_NODE:\n return { workerDir: registration.moduleId, workerCamel: registration.moduleCamel };\n case ModuleRegistrationScenario.ADD_PROVIDER_PACKAGE:\n // Its edits are built already rendered, from the recorded wiring (`providerWiringScenario`).\n return {};\n }\n}\n\n/** The two shapes of registry anchor an entry is removed from. */\nenum RegistryAnchorShape {\n ARRAY = 'array',\n OBJECT = 'object',\n}\n\n/**\n * The registration's scenario as visible from this application, reduced to the edits the registration\n * covers and with its file-creation tree removed — the delivered copy wins over the framework's, like\n * `wildo compose`.\n *\n * FAIL-CLOSED on its edits, BEFORE anything is written: an edit kind this module cannot undo, a variable\n * a registration does not carry, or — for a layer subset — a delivered `add-module` copy whose\n * `applicationModules` entry still hard-codes both services (it predates #1773 and would bind the module\n * to a service it does not provide).\n */\nexport function loadRegistrationScenario(saasRoot: string, frameworkRoot: string | null, registration: ModuleManifestRegistration): CompositionScenario {\n if (registration.scenario === ModuleRegistrationScenario.ADD_PROVIDER_PACKAGE) {\n // #2014: no scenario directory — the wiring the installer recorded IS the edit list.\n return providerWiringScenario(saasRoot, registration.moduleId, registration.providerWiring!);\n }\n const ref = registration.scenario;\n const directory = listCompositionScenarioDirectories({ applicationRoot: saasRoot, frameworkRoot }).get(ref);\n if (!directory) {\n throw new Error(\n `No '${ref}' composition scenario is visible from ${saasRoot} — run the framework asset sync `\n + '(it delivers .wildo-saas/templates/scenarios) before installing or publishing a registered module.',\n );\n }\n const scenario = loadCompositionScenario(directory);\n const allowed = new Set(Object.keys(registrationVariables(registration)));\n let edits = scenario.manifest.edits ?? [];\n for (const edit of edits) {\n if (!REVERSIBLE_EDIT_KINDS.has(edit.kind)) {\n throw new Error(`The '${ref}' scenario at ${directory} uses edit kind '${edit.kind}', which registration cannot reverse.`);\n }\n for (const match of JSON.stringify(edit).matchAll(/\\{\\{\\s*(\\w+)\\s*\\}\\}/g)) {\n if (!allowed.has(match[1]!)) {\n throw new Error(`The '${ref}' scenario at ${directory} reads variable '${match[1]}', which a registration does not carry.`);\n }\n }\n }\n if (registration.scenario === ModuleRegistrationScenario.ADD_MODULE && registration.layers !== undefined) {\n const layers = registration.layers;\n // Keep the edits of the covered layers, and the config entry (the schema guarantees a service to bind).\n edits = edits.filter((edit) => {\n const layer = DOMAIN_MODULE_LAYERS.find((candidate) => EDIT_ROOT_OF_LAYER[candidate] !== undefined && edit.file.startsWith(EDIT_ROOT_OF_LAYER[candidate]!));\n if (layer !== undefined) return layers.includes(layer);\n // Fail closed on an edit no layer owns (#1773 review): replaying it for a subset would register the\n // module in a place its files never reach. The config entry is the one such edit, and it is bound\n // to exactly the covered services.\n if (edit.file === SAAS_CONFIG_FILE) return true;\n throw new Error(\n `The '${ref}' scenario at ${directory} edits ${edit.file}, which no module layer owns, so it cannot register a module covering only ${layers.join(', ')}.`,\n );\n });\n // The config entry by its FILE: since #2508 the scenario also appends spreads to the companion exports, so the first\n // object-append is no longer necessarily the one that binds services.\n const configEdit = edits.find((edit) => edit.kind === CompositionScenarioEditKind.TS_OBJECT_APPEND && edit.file === SAAS_CONFIG_FILE);\n if (configEdit && !JSON.stringify(configEdit).includes('moduleServices')) {\n throw new Error(\n `The '${ref}' scenario at ${directory} binds every module to both services, so it cannot register a module covering `\n + `only ${layers.join(', ')} — run the framework asset sync to deliver the current scenario.`,\n );\n }\n }\n return { ...scenario, manifest: { ...scenario.manifest, edits }, filesDirectory: join(scenario.scenarioDirectory, NO_FILES_DIRECTORY) };\n}\n\n/** The camelCase stem a scenario names entries from — derived from the directory for every shape. */\nexport function moduleCamelFromDirectory(moduleId: string): string {\n return moduleId.replace(/-([a-z0-9])/g, (_m, c: string) => c.toUpperCase());\n}\n\n/**\n * A registration must name entries for the directory it registers and no other: the stem is DERIVED from\n * the directory. Checked at install and at removal (the lockfile is hand-editable), because a mismatched\n * stem makes the edits reach entries belonging to another module.\n */\nfunction assertRegistrationIsSelfConsistent(registration: ModuleManifestRegistration): void {\n if (registration.moduleCamel !== moduleCamelFromDirectory(registration.moduleId)) {\n throw new Error(\n `Refusing registration for '${registration.moduleId}': its moduleCamel '${registration.moduleCamel}' is not the one derived `\n + `from the directory ('${moduleCamelFromDirectory(registration.moduleId)}'). Nothing was changed.`,\n );\n }\n}\n\n/** The registration shape an artifact's boundaries describe: scenario, directory and (for a subset) layers. */\nexport type RegistrationShape = Pick<ModuleManifestRegistration, 'scenario' | 'moduleId' | 'layers'>;\n\n/** The single directory `<root>/<dir>` a boundary layer names, or why it names no single one. */\nfunction singleDirectory(manifest: ModuleManifest, layer: ModuleBoundaryLayer): { dir: string } | { reason: string } {\n const entries = manifest.boundaries?.[layer] ?? [];\n const root = `${MODULE_BOUNDARY_LAYER_ROOTS[layer]}/`;\n if (entries.length !== 1 || !entries[0]!.startsWith(root) || entries[0]!.slice(root.length).includes('/')) {\n return { reason: `boundaries.${layer} must be exactly one directory \\`${root}<dir>\\` (found ${JSON.stringify(entries)})` };\n }\n return { dir: entries[0]!.slice(root.length) };\n}\n\n/**\n * The registration shape an artifact installs, read from its boundaries — or why it has none:\n * - only `minions` → a minion; only `workers` → a worker;\n * - only domain layers, each exactly one directory and all the SAME directory → a domain module\n * (`layers` set when not all four, and refused unless it includes the backend or the frontend);\n * - anything else (a mix, several directories) → no registration.\n */\nexport function registrationShapeFromBoundaries(manifest: ModuleManifest): RegistrationShape | { reason: string } {\n const present = (Object.keys(MODULE_BOUNDARY_LAYER_ROOTS) as ModuleBoundaryLayer[])\n .filter((layer) => (manifest.boundaries?.[layer] ?? []).length > 0);\n // A provider package (#2014) is never registered from its manifest: its owners are the INSTALLING\n // application's, so the installer derives its wiring (`deriveProviderRegistration`). The manifest schema\n // already refuses `providers/` beside any other layer; this keeps the rule true for an unparsed manifest.\n if (present.includes('providers')) {\n return { reason: 'a provider package is wired by each installing application, never by its publisher (#2014)' };\n }\n const packageShapes: Array<[ModuleBoundaryLayer, ModuleRegistrationScenario]> = [\n ['minions', ModuleRegistrationScenario.ADD_MINION],\n ['workers', ModuleRegistrationScenario.ADD_WORKER_NODE],\n ];\n for (const [layer, scenario] of packageShapes) {\n if (!present.includes(layer)) continue;\n if (present.length !== 1) return { reason: `a ${layer.slice(0, -1)} is registered on its own, but this artifact also covers ${present.filter((p) => p !== layer).join(', ')}` };\n const directory = singleDirectory(manifest, layer);\n return 'reason' in directory ? directory : { scenario, moduleId: directory.dir };\n }\n const layers = DOMAIN_MODULE_LAYERS.filter((layer) => present.includes(layer));\n if (layers.length === 0) return { reason: 'the artifact declares no boundaries to register' };\n const directories = new Set<string>();\n for (const layer of layers) {\n const directory = singleDirectory(manifest, layer);\n if ('reason' in directory) return directory;\n directories.add(directory.dir);\n }\n if (directories.size !== 1) return { reason: `its layers name different module directories (${[...directories].join(', ')})` };\n if (!layers.includes(DomainModuleLayer.BACKEND) && !layers.includes(DomainModuleLayer.FRONTEND)) {\n return { reason: `it covers only ${layers.join(', ')}; an application module is bound to the backend or the frontend, so there is nothing to bind it to` };\n }\n return {\n scenario: ModuleRegistrationScenario.ADD_MODULE,\n moduleId: [...directories][0]!,\n ...(layers.length < DOMAIN_MODULE_LAYERS.length ? { layers } : {}),\n };\n}\n\nfunction sameShape(a: RegistrationShape, b: RegistrationShape): boolean {\n return a.scenario === b.scenario && a.moduleId === b.moduleId && (a.layers ?? []).join(',') === (b.layers ?? []).join(',');\n}\n\n/**\n * How the host holds an object-anchor entry a registration names, judged by the entry's KEY (#1773 review).\n *\n * A bucket entry is configuration the operator is EXPECTED to edit after install: a minion is scaffolded\n * with a deny-all `resourceAccess` and no providers, so every working minion carries an entry that no\n * longer matches its rendered text. Judged by text, such an entry was a \"different value\" conflict — the\n * publisher could never record a registration and removal silently left it behind. The key is the\n * module's runtime identity (derived from its directory), and where the entry carries a `path`, that path\n * names the package the key belongs to.\n *\n * What key-only matching gives up, stated rather than implied (#1773 re-review R10): an entry with no\n * `path` — the domain module's `applicationModules` entry, `'<id>': { services: [...] }` — is judged by\n * its key alone, so publish no longer compares its `services` binding with the artifact's layers. The\n * per-layer registry edits still must all be present, which is what catches a layer mismatch; a host\n * that rebinds services after install keeps its binding, which is the point of the change.\n */\nenum KeyedEntryState {\n /** No property with the entry's key. */\n ABSENT = 'absent',\n /** The key is there and belongs to this module: its `path` (when the entry has one) names this directory. */\n HELD = 'held',\n /** The key is there and its `path` names another directory: a different package owns that identity. */\n FOREIGN = 'foreign',\n /**\n * The key is there and its `path` cannot be read without evaluating code — a shorthand property, a\n * variable, a helper call. Treated as refusal like FOREIGN (fail closed), but reported as what it is:\n * the registry cannot tell whose it is, not that it is someone else's (#1773 re-review R9).\n */\n UNDETERMINED = 'undetermined',\n}\n\n/** A property name as the key it denotes: `billing`, `'billing'` and `\"billing\"` are one key. */\nfunction propertyKey(name: ts.PropertyName): string | undefined {\n if (ts.isIdentifier(name) || ts.isStringLiteral(name) || ts.isNumericLiteral(name)) return name.text;\n return undefined;\n}\n\n/** The string value of the `path` property of an object-literal value, when it has one. */\nfunction pathOfValue(value: ts.Expression | undefined): string | undefined {\n if (!value) return undefined;\n const literal = unwrapInitializer(value);\n if (!ts.isObjectLiteralExpression(literal)) return undefined;\n for (const property of literal.properties) {\n if (ts.isPropertyAssignment(property) && propertyKey(property.name) === 'path' && ts.isStringLiteralLike(property.initializer)) {\n return property.initializer.text;\n }\n }\n return undefined;\n}\n\n/**\n * What identifies a rendered object-append entry in the host: the KEY a `key: value` entry declares (and its `path`,\n * when present), or the EXPRESSION a `...spread` entry spreads.\n *\n * A spread has no key, and since #2508 `add-module` appends one per specification map into the companion exports\n * (`...billingResourceSpecifications`). Its expression is derived from the module the same way a key is\n * (`{{moduleCamel}}…`), so it identifies the entry exactly; two modules cannot share it.\n */\ntype ObjectEntryIdentity = { readonly key: string; readonly path?: string } | { readonly spread: string };\n\n/** The identity a rendered entry declares: its key (and `path`), or the expression it spreads. */\nfunction objectEntryIdentity(entryText: string): ObjectEntryIdentity {\n const sourceFile = ts.createSourceFile('entry.ts', `({${entryText}})`, ts.ScriptTarget.Latest, true);\n const statement = sourceFile.statements[0];\n const literal = statement && ts.isExpressionStatement(statement) ? unwrapInitializer(statement.expression) : undefined;\n const property = literal && ts.isObjectLiteralExpression(literal) && literal.properties.length === 1 ? literal.properties[0] : undefined;\n if (property && ts.isSpreadAssignment(property)) return { spread: property.expression.getText(sourceFile).trim() };\n const key = property && ts.isPropertyAssignment(property) ? propertyKey(property.name) : undefined;\n if (!property || !ts.isPropertyAssignment(property) || key === undefined) {\n throw new Error(`registration cannot identify the object entry \\`${entryText}\\` by a key`);\n }\n const path = pathOfValue(property.initializer);\n return { key, ...(path !== undefined ? { path } : {}) };\n}\n\n/** The top-level `const <variableName> = [...] | {...}` literal of a file, as a source file and literal. */\nfunction findAnchorLiteral(content: string, fileName: string, variableName: string): { sourceFile: ts.SourceFile; literal: ts.Expression } | undefined {\n const sourceFile = ts.createSourceFile(fileName, content, ts.ScriptTarget.Latest, true);\n for (const statement of sourceFile.statements) {\n if (!ts.isVariableStatement(statement)) continue;\n for (const declaration of statement.declarationList.declarations) {\n if (ts.isIdentifier(declaration.name) && declaration.name.text === variableName && declaration.initializer) {\n return { sourceFile, literal: unwrapInitializer(declaration.initializer) };\n }\n }\n }\n return undefined;\n}\n\n/** The property of the anchor object carrying `key`, if any. */\nfunction findKeyedProperty(literal: ts.Expression, key: string): ts.ObjectLiteralElementLike | undefined {\n if (!ts.isObjectLiteralExpression(literal)) return undefined;\n return literal.properties.find((property) =>\n (ts.isPropertyAssignment(property) || ts.isShorthandPropertyAssignment(property)) && propertyKey(property.name) === key);\n}\n\n/** The `...expression` entry of the anchor object spreading `expression`, if any. */\nfunction findSpreadEntry(literal: ts.Expression, sourceFile: ts.SourceFile, expression: string): ts.ObjectLiteralElementLike | undefined {\n if (!ts.isObjectLiteralExpression(literal)) return undefined;\n return literal.properties.find((property) => ts.isSpreadAssignment(property) && property.expression.getText(sourceFile).trim() === expression);\n}\n\n/** How the host holds the entry an object-append `edit` would write, rendered with `variables`. */\nfunction keyedEntryState(saasRoot: string, edit: CompositionScenarioEdit, variables: Record<string, string>): { state: KeyedEntryState; label: string } {\n const targetRelative = renderer.render(edit.file, variables);\n const objectName = renderer.render(edit.exportedObject!, variables);\n const identity = objectEntryIdentity(renderer.render(edit.entry!, variables).trim());\n const label = 'spread' in identity ? `${targetRelative} > ${objectName}.…${identity.spread}` : `${targetRelative} > ${objectName}.${identity.key}`;\n let content: string;\n try {\n content = readFileSync(join(saasRoot, targetRelative), 'utf8');\n } catch {\n return { state: KeyedEntryState.ABSENT, label };\n }\n const anchor = findAnchorLiteral(content, targetRelative, objectName);\n if ('spread' in identity) {\n // A spread of this module's own map is this module's: there is no path to compare, and no other module spreads it.\n const held = anchor !== undefined && findSpreadEntry(anchor.literal, anchor.sourceFile, identity.spread) !== undefined;\n return { state: held ? KeyedEntryState.HELD : KeyedEntryState.ABSENT, label };\n }\n const property = anchor ? findKeyedProperty(anchor.literal, identity.key) : undefined;\n if (!property) return { state: KeyedEntryState.ABSENT, label };\n if (identity.path === undefined) return { state: KeyedEntryState.HELD, label };\n const heldPath = ts.isPropertyAssignment(property) ? pathOfValue(property.initializer) : undefined;\n if (heldPath === undefined) return { state: KeyedEntryState.UNDETERMINED, label };\n return { state: normalisePath(heldPath) === normalisePath(identity.path) ? KeyedEntryState.HELD : KeyedEntryState.FOREIGN, label: `${label} (path '${heldPath}')` };\n}\n\nfunction normalisePath(path: string | undefined): string | undefined {\n return path?.replace(/^\\.\\//, '').replace(/\\/+$/, '');\n}\n\n/**\n * A `config-property-add` step's property in the host: its label, and its text when present.\n *\n * The property a provider install adds is its SCOPE (`providers.scopes.<runtime>.providers.<ref>`), and a scope is the\n * APPLICATION's once it exists (#2014 review): it is where the application binds engine capabilities, and it may\n * predate the install (an application that scoped a catalogue provider before adopting the registry copy). So an\n * install only guarantees the key is PRESENT — one already there, whatever it says, is left as it is — and a remove\n * takes it out only while it still says exactly what the install wrote.\n */\nfunction configPropertyState(saasRoot: string, edit: CompositionScenarioEdit, variables: Record<string, string>): { label: string; path: string[]; text?: string } {\n const targetRelative = renderer.render(edit.file, variables);\n const path = (edit.configPath ?? []).map((segment) => renderer.render(segment, variables));\n const label = `${targetRelative} > ${path.join('.')}`;\n let content: string;\n try {\n content = readFileSync(join(saasRoot, targetRelative), 'utf8');\n } catch {\n return { label, path };\n }\n const text = readConfigObjectPropertyText({ filePath: targetRelative, content, target: { path } });\n return text === undefined ? { label, path } : { label, path, text };\n}\n\n/**\n * The identity of one edit step, rendered: two registrations share a step exactly when they would write the same\n * thing to the same place. Used to move a provider's wiring from one derivation to the next step by step (#2014\n * review), rather than by undoing all of it and writing it again, which is what reset a bound scope to empty.\n */\nfunction editIdentity(edit: CompositionScenarioEdit, variables: Record<string, string>): string {\n const render = (value: string | undefined) => (value === undefined ? '' : renderer.render(value, variables));\n return JSON.stringify([\n edit.kind,\n render(edit.file),\n render(edit.line),\n render(edit.statement),\n render(edit.element),\n render(edit.entry),\n (edit.configPath ?? []).map(render),\n Object.entries(edit.entries ?? {}).map(([name, specifier]) => [render(name), render(specifier)]),\n (edit.names ?? []).map(render),\n ]);\n}\n\n/**\n * The registration's edits planned against the host, with every object entry the host already HOLDS by key\n * taken out of the plan (present, however it has been edited since) and every FOREIGN one reported.\n */\nfunction planRegistrationEdits(saasRoot: string, frameworkRoot: string | null, registration: ModuleManifestRegistration) {\n const scenario = loadRegistrationScenario(saasRoot, frameworkRoot, registration);\n const variables = registrationVariables(registration);\n const held: string[] = [];\n const unowned: string[] = [];\n const applicationOwned: string[] = [];\n const pinConflicts: string[] = [];\n const heldPins: string[] = [];\n const movedPins: string[] = [];\n const heldOnlyBuilt: string[] = [];\n const onlyBuiltWarnings: string[] = [];\n const allowedOnlyBuilt: string[] = [];\n const edits = (scenario.manifest.edits ?? []).flatMap((edit): CompositionScenarioEdit[] => {\n if (edit.kind === CompositionScenarioEditKind.CONFIG_PROPERTY_ADD) {\n // Present, whatever it says: the application's. See `configPropertyState`.\n const { label, text } = configPropertyState(saasRoot, edit, variables);\n if (text !== undefined) applicationOwned.push(label);\n return text === undefined ? [edit] : [];\n }\n if (edit.kind === CompositionScenarioEditKind.PNPM_OVERRIDE_APPEND) {\n // A vendor pin (#2789), see `vendorPinStates`: only the absent ones are written.\n const states = vendorPinStates(saasRoot, edit, variables, registration.moduleId);\n heldPins.push(...states.held);\n movedPins.push(...states.moved);\n pinConflicts.push(...states.conflicts);\n return Object.keys(states.absent).length === 0 ? [] : [{ ...edit, entries: states.absent }];\n }\n if (edit.kind === CompositionScenarioEditKind.PNPM_ONLY_BUILT_APPEND) {\n // The install scripts to allow (#2801), see `onlyBuiltStates`: only the absent names are written.\n const states = onlyBuiltStates(saasRoot, edit, variables, registration.moduleId);\n heldOnlyBuilt.push(...states.held);\n onlyBuiltWarnings.push(...states.warnings);\n allowedOnlyBuilt.push(...states.absent);\n return states.absent.length === 0 ? [] : [{ ...edit, names: states.absent }];\n }\n if (edit.kind !== CompositionScenarioEditKind.TS_OBJECT_APPEND) return [edit];\n const { state, label } = keyedEntryState(saasRoot, edit, variables);\n if (state === KeyedEntryState.HELD) held.push(label);\n if (state === KeyedEntryState.FOREIGN || state === KeyedEntryState.UNDETERMINED) unowned.push(describeUnowned(state, label));\n return state === KeyedEntryState.ABSENT ? [edit] : [];\n });\n const plan = planCompositionScenario({\n scenario: { ...scenario, manifest: { ...scenario.manifest, edits } },\n applicationRoot: saasRoot,\n variables,\n renderer,\n });\n return { plan, held, unowned, applicationOwned, pinConflicts, heldPins, movedPins, heldOnlyBuilt, onlyBuiltWarnings, allowedOnlyBuilt };\n}\n\n/**\n * The application's effective pnpm settings (#2808), as pnpm 10 reads them: `pnpm-workspace.yaml`, or `package.json` →\n * `pnpm` for an older application that still keeps a setting there (that copy replaces the YAML one). The plan moves such\n * a copy into the workspace file when it writes the setting (`planPnpmSettingsStep`). A file that cannot be read\n * faithfully reads as no settings here; the plan refuses it with its own message.\n */\nfunction effectivePnpmSettings(saasRoot: string): Pick<ApplicationPnpmSettings, 'overrides' | 'onlyBuiltDependencies' | 'neverBuiltDependencies'> {\n try {\n return readApplicationPnpmSettings(saasRoot);\n } catch {\n return {};\n }\n}\n\n/**\n * Each name of a `pnpm-only-built-append` step (#2801), against the application's effective install-script policy\n * (#2808: wherever pnpm 10 reads it) and the other installed modules' records:\n * - the application declares an allow-list AND a `neverBuiltDependencies` list → nothing written and the conflict WARNED:\n * pnpm refuses to install with both (`ERR_PNPM_CONFIG_CONFLICT_BUILT_DEPENDENCIES`, measured on 10.6.4 in #2809 and\n * #2808, in either file, and on 10.34.9 in #3014), so writing a name would change nothing;\n * - no allow-list, and a `neverBuiltDependencies` list → nothing written, recorded as held and WARNED, with a remedy that\n * works: the install's own `pnpm install` has already skipped the script, so the package must be rebuilt\n * (`pnpm rebuild -r <names>`) once the list allows it;\n * - absent from the allow-list → written (the install then rebuilds it, see `allowed`);\n * - present → left as written: `held` when no other installed module records it (the application allowed it itself,\n * so `remove` leaves it), and shared when one does (`remove` then leaves it for that module).\n *\n * Until #2808 an allow-list kept in `pnpm-workspace.yaml` was refused here, because the install wrote `package.json`,\n * whose list would have REPLACED it. The install now writes the workspace file, so that case is an ordinary write.\n */\nfunction onlyBuiltStates(saasRoot: string, edit: CompositionScenarioEdit, variables: Record<string, string>, moduleId: string): {\n absent: string[];\n held: string[];\n warnings: string[];\n} {\n const names = [...new Set((edit.names ?? []).map((name) => renderer.render(name, variables)))];\n const settings = effectivePnpmSettings(saasRoot);\n const records = installedProviderRegistrations(saasRoot);\n /**\n * A name this install leaves as it found it, whose record decides what `remove` does with it later: the application's\n * own (held, so no removal touches it) unless another installed module WROTE it, in which case it stays that module's\n * to take out (#2809 review R-L2). The same rule the written path applies below.\n */\n const heldByApplication = (name: string): boolean => {\n const other = records.find((record) => record.registration.moduleId !== moduleId && record.registration.providerWiring?.onlyBuiltDependencies?.includes(name));\n return other === undefined || other.registration.providerWiring?.heldOnlyBuiltDependencies?.includes(name) === true;\n };\n const heldWithoutWriting = (candidates: readonly string[]): string[] => candidates.filter(heldByApplication);\n const allowList = settings.onlyBuiltDependencies;\n const never = settings.neverBuiltDependencies;\n if (allowList !== undefined && never !== undefined) {\n const unallowed = names.filter((name) => !allowList.includes(name));\n return {\n absent: [],\n held: heldWithoutWriting(names),\n warnings: unallowed.length === 0 ? [] : [\n `${moduleId}'s vendor package${unallowed.length === 1 ? '' : 's'} ${unallowed.join(', ')} run${unallowed.length === 1 ? 's' : ''} an install script, `\n + 'and the application declares both an onlyBuiltDependencies and a neverBuiltDependencies list, which pnpm refuses to install with. '\n + `Nothing was written. Keep one list, with ${unallowed.join(', ')} allowed by it, then run \\`pnpm install\\` and \\`pnpm rebuild -r ${unallowed.join(' ')}\\`.`,\n ],\n };\n }\n if (allowList === undefined && never !== undefined) {\n const blocked = names.filter((name) => never.includes(name));\n return {\n absent: [],\n held: heldWithoutWriting(names),\n warnings: blocked.length === 0 ? [] : [\n `${moduleId}'s vendor package${blocked.length === 1 ? '' : 's'} ${blocked.join(', ')} run${blocked.length === 1 ? 's' : ''} an install script, `\n + `and the application's neverBuiltDependencies lists ${blocked.length === 1 ? 'it' : 'them'}. Nothing was written: pnpm refuses to install with `\n + `both an onlyBuiltDependencies and a neverBuiltDependencies list. Take ${blocked.join(', ')} out of neverBuiltDependencies, then run `\n + `\\`pnpm rebuild -r ${blocked.join(' ')}\\`.`,\n ],\n };\n }\n const current = allowList ?? [];\n const absent: string[] = [];\n const held: string[] = [];\n for (const name of names) {\n if (!current.includes(name)) {\n absent.push(name);\n continue;\n }\n // Shared with another module: the application's only if that module says so, as a vendor pin is (#2789 re-review R1).\n if (heldByApplication(name)) held.push(name);\n }\n return { absent, held, warnings: [] };\n}\n\n/** The names the application's effective allow-list holds (#2808: wherever pnpm 10 reads it); none when it has none. */\nfunction readAllowedInstallScripts(saasRoot: string): string[] {\n return effectivePnpmSettings(saasRoot).onlyBuiltDependencies ?? [];\n}\n\n/**\n * Each vendor pin of a `pnpm-override-append` step (#2789), against the application's root manifest AND the other\n * installed modules' recorded pins:\n * - another installed module records the package at ANOTHER version → a conflict naming that module, whatever the\n * overrides hold right now (an update that first took this module's own pin out must not slip past it);\n * - absent → written;\n * - held at the same version → left as written: `held` when no other installed module records it (the application\n * pinned the SDK itself, recorded so `remove` leaves it, or this module wrote it before, an unchanged pin on an update;\n * the caller tells those two apart), and shared when one does (`remove` then leaves it for that module);\n * - held at another version that THIS module recorded at the version it still pins → `moved`: the application moved\n * the module's pin, which is its decision, kept and said (as `remove` and `repair-lockfile` treat it);\n * - held at another version otherwise → a conflict naming the application's own pin.\n */\nfunction vendorPinStates(saasRoot: string, edit: CompositionScenarioEdit, variables: Record<string, string>, moduleId: string): {\n absent: Record<string, string>;\n held: string[];\n moved: string[];\n conflicts: string[];\n} {\n const file = renderer.render(edit.file, variables);\n // #2808: the effective overrides, wherever pnpm 10 reads them; an unreadable file is the plan's to refuse.\n const overrides: Record<string, unknown> = effectivePnpmSettings(saasRoot).overrides ?? {};\n const absent: Record<string, string> = {};\n const held: string[] = [];\n const moved: string[] = [];\n const conflicts: string[] = [];\n const records = installedProviderRegistrations(saasRoot);\n const ownRecord = records.find((record) => record.registration.moduleId === moduleId)?.registration.providerWiring?.vendorPins;\n for (const [nameTemplate, versionTemplate] of Object.entries(edit.entries ?? {})) {\n const name = renderer.render(nameTemplate, variables);\n const version = renderer.render(versionTemplate, variables);\n const other = records.find((record) => record.registration.moduleId !== moduleId && record.registration.providerWiring?.vendorPins?.[name] !== undefined);\n const otherVersion = other?.registration.providerWiring?.vendorPins?.[name];\n if (other !== undefined && otherVersion !== version) {\n conflicts.push(`the installed module ${other.moduleId} pins ${name} at ${otherVersion}, and ${moduleId} pins it at ${version}`);\n } else if (!Object.hasOwn(overrides, name)) {\n absent[name] = version;\n } else if (overrides[name] === version) {\n // Another installed module pinning it at this version: shared. It is the application's only if that module says\n // so (it found the pin held), and then it is recorded held here too, so whichever module goes LAST still leaves the\n // application's own pin (#2789 re-review R1).\n if (other === undefined || other.registration.providerWiring?.heldVendorPins?.includes(name)) held.push(name);\n } else if (ownRecord?.[name] === version) {\n moved.push(`${file} > overrides.${name} (the application moved it to ${String(overrides[name])}; left as the application set it)`);\n } else {\n conflicts.push(`${file} pins ${name} at ${String(overrides[name])} (${other === undefined ? 'the application\\'s own pin' : `as ${other.moduleId} records it`}), and ${moduleId} pins it at ${version}`);\n }\n }\n return { absent, held, moved, conflicts };\n}\n\n/** Every installed module's recorded registration, from the application's lockfile (#2789); none without one. */\nfunction installedProviderRegistrations(saasRoot: string): Array<{ moduleId: string; registration: ModuleManifestRegistration }> {\n try {\n const lock = JSON.parse(readFileSync(join(saasRoot, WILDO_SAAS_LOCK_RELATIVE_PATH), 'utf8')) as {\n sections?: { modules?: { installed?: Record<string, { registration?: ModuleManifestRegistration }> } };\n };\n return Object.entries(lock.sections?.modules?.installed ?? {})\n .flatMap(([moduleId, entry]) => (entry.registration === undefined ? [] : [{ moduleId, registration: entry.registration }]));\n } catch {\n // No lockfile, or one that does not parse: nothing records who wrote a pin.\n return [];\n }\n}\n\n/** Why an entry held under this module's key is not provably this module's, in words that are true. */\nfunction describeUnowned(state: KeyedEntryState, label: string): string {\n return state === KeyedEntryState.FOREIGN\n ? `${label} names another package`\n : `${label} has a path that cannot be read without running code, so whose it is cannot be told`;\n}\n\n/**\n * Publish side: the registration to record for `manifest`, or why there is none. Registered means every\n * registry edit of its shape's scenario, rendered for this module, is ALREADY present in the publishing\n * application.\n */\nexport function deriveModuleRegistration(\n saasRoot: string,\n frameworkRoot: string | null,\n manifest: ModuleManifest,\n): { registration: ModuleManifestRegistration } | { reason: string } {\n const shape = registrationShapeFromBoundaries(manifest);\n if ('reason' in shape) return shape;\n const registration: ModuleManifestRegistration = { ...shape, moduleCamel: moduleCamelFromDirectory(shape.moduleId) };\n try {\n const { plan, unowned } = planRegistrationEdits(saasRoot, frameworkRoot, registration);\n if (unowned.length > 0) {\n return { reason: `its runtime identity is held by an entry it cannot prove is its own: ${unowned.join('; ')}` };\n }\n if (plan.edits.length > 0) {\n return { reason: `the publishing application does not register it: ${plan.edits.map((edit) => `${edit.targetRelativePath} (${edit.summary})`).join('; ')}` };\n }\n return { registration };\n } catch (error) {\n return { reason: ErrorUtils.extractErrorMessage(error) };\n }\n}\n\n/** Every file a registration touches, with its content before — enough to roll it back exactly. */\nexport type RegistrationSnapshot = ReadonlyArray<{ targetRelativePath: string; previousContent: string }>;\n\n/**\n * Install side: apply the registration's edits to the host.\n *\n * - The registration must be self-consistent and name the directory the artifact installs into.\n * - `expectNothingPresent` (a FRESH registration): if the host already has ANY of its entries, the\n * directory is the host's own — refuse, so removal can never later take the host's entries with it.\n * A provider scope already present is the exception: it is left as written and reported, never refused.\n * Re-applying a registration the module already holds (an update to the same one) passes `false` and\n * is an idempotent no-op for entries present.\n * - Atomic for the caller: a failure part-way restores every file already written before rethrowing.\n */\nexport function applyModuleRegistration(\n saasRoot: string,\n frameworkRoot: string | null,\n manifest: ModuleManifest,\n registration: ModuleManifestRegistration,\n options: {\n expectNothingPresent: boolean;\n /** Receives, on a FRESH install, a sentence for each scope already present that it left as written. */\n kept?: string[];\n /** Receives, on EVERY run, the label of each scope already present, so nothing reports it as written unbound. */\n present?: string[];\n /** Receives the vendor pins already present at the module's version, which this run did not write (#2789). */\n heldVendorPins?: string[];\n /** Receives the install-script names already allowed, or kept in the YAML list, which this run did not write (#2801). */\n heldOnlyBuiltDependencies?: string[];\n /** Receives what the operator must do that this run could not (#2801: an allow-list it must not write). */\n warnings?: string[];\n /** Receives the install-script names this run wrote into the allow-list, which the install then rebuilds (#2801). */\n allowedInstallScripts?: string[];\n },\n): RegistrationSnapshot {\n assertRegistrationIsSelfConsistent(registration);\n // The registration must describe exactly what the artifact installs — its scenario, directory and\n // layers — so it can never register entries for more than the files that arrive.\n const shape: RegistrationShape | { reason: string } = registration.scenario === ModuleRegistrationScenario.ADD_PROVIDER_PACKAGE\n ? (manifest.kind === ModuleKind.PROVIDER && manifest.provider !== undefined\n ? { scenario: registration.scenario, moduleId: manifest.provider.ref }\n : { reason: 'the artifact is not a provider module' })\n : registrationShapeFromBoundaries(manifest);\n if ('reason' in shape || !sameShape(shape, registration)) {\n throw new Error(\n `Refusing to register: the manifest's registration (${registration.scenario} '${registration.moduleId}'${registration.layers ? ` [${registration.layers.join(', ')}]` : ''}) `\n + `is not what its boundaries install (${'reason' in shape ? shape.reason : `${shape.scenario} '${shape.moduleId}'${shape.layers ? ` [${shape.layers.join(', ')}]` : ''}`}). Nothing was registered.`,\n );\n }\n const { plan, held, unowned, applicationOwned, pinConflicts, heldPins, movedPins, heldOnlyBuilt, onlyBuiltWarnings, allowedOnlyBuilt } = planRegistrationEdits(saasRoot, frameworkRoot, registration);\n if (unowned.length > 0) {\n throw new Error(`its runtime identity is held by an entry it cannot prove is its own (${unowned.join('; ')}). Nothing was registered.`);\n }\n if (pinConflicts.length > 0) {\n // Not \"nothing was registered\": on a re-apply the previous registration stays recorded (#2789 review F4).\n throw new Error(`its vendor packages are pinned at other versions: ${pinConflicts.join('; ')}. Align the versions, then run it again; this run wrote nothing`);\n }\n options.heldVendorPins?.push(...heldPins);\n options.heldOnlyBuiltDependencies?.push(...heldOnlyBuilt);\n options.kept?.push(...movedPins);\n options.warnings?.push(...onlyBuiltWarnings);\n options.allowedInstallScripts?.push(...allowedOnlyBuilt);\n // A scope already present never counts as \"the application registers it itself\": scoping a provider is how an\n // application uses one, before or after the registry copy arrives.\n options.present?.push(...applicationOwned);\n // Said only on a fresh install: on an update a present scope is the expected state.\n if (options.expectNothingPresent) options.kept?.push(...applicationOwned.map((label) => `${label} (already present; left as the application wrote it)`));\n if (options.expectNothingPresent && (plan.skippedEdits.length > 0 || held.length > 0)) {\n throw new Error(\n `the application already registers '${registration.moduleId}' itself (${[...plan.skippedEdits.map((edit) => edit.targetRelativePath), ...held].join(', ')}); `\n + 'the install does not take over those entries. Nothing was registered.',\n );\n }\n const snapshot = plan.edits.map((edit) => ({\n targetRelativePath: edit.targetRelativePath,\n previousContent: readFileSync(join(saasRoot, edit.targetRelativePath), 'utf8'),\n }));\n try {\n applyCompositionScenarioPlan({ plan: { ...plan, writes: [], collisions: [] }, applicationRoot: saasRoot });\n } catch (error) {\n restoreRegistrationSnapshot(saasRoot, snapshot);\n throw error;\n }\n return snapshot;\n}\n\n/** Undo a registration change from its snapshot (the rollback of a failed install / remove). */\nexport function restoreRegistrationSnapshot(saasRoot: string, snapshot: RegistrationSnapshot): void {\n for (const { targetRelativePath, previousContent } of snapshot) {\n writeFileSync(join(saasRoot, targetRelativePath), previousContent, 'utf8');\n }\n}\n\n/**\n * Remove side: delete the entries the registration's edits add — the inverse of each edit step, keyed on\n * the same rendered text. Only ever called for a registration install RECORDED as applied, and install\n * refuses to record one whose entries the host already had, so these are entries install wrote — except a\n * provider scope, which is removed only while it still says exactly what the install writes (`reverseEdit`).\n * An entry already absent is skipped (idempotent). Returns the prior content of every file changed, so a caller\n * that must roll back can restore it.\n *\n * Exact byte-for-byte restoration holds for the layout the framework scaffolds (one entry per line,\n * trailing commas, LF or CRLF); any other layout is restored to equivalent, valid source.\n */\nexport function reverseModuleRegistration(\n saasRoot: string,\n frameworkRoot: string | null,\n registration: ModuleManifestRegistration,\n options: {\n /** Reverse only the steps this selects (an update's transition); every step by default. */\n only?: (edit: CompositionScenarioEdit, variables: Record<string, string>) => boolean;\n /** Receives each application-owned property left in place because it no longer says what the install wrote. */\n kept?: string[];\n } = {},\n): RegistrationSnapshot {\n assertRegistrationIsSelfConsistent(registration);\n const scenario = loadRegistrationScenario(saasRoot, frameworkRoot, registration);\n const variables = registrationVariables(registration);\n const steps = (scenario.manifest.edits ?? []).filter((edit) => options.only?.(edit, variables) ?? true);\n // Before anything is written: an object entry whose key now names ANOTHER package is not this module's\n // to remove (#1773 review). Refused whole, so the command stops with the application untouched.\n const unowned = steps\n .filter((edit) => edit.kind === CompositionScenarioEditKind.TS_OBJECT_APPEND)\n .map((edit) => keyedEntryState(saasRoot, edit, variables))\n .filter(({ state }) => state === KeyedEntryState.FOREIGN || state === KeyedEntryState.UNDETERMINED)\n .map(({ state, label }) => describeUnowned(state, label));\n if (unowned.length > 0) {\n throw new Error(\n `Refusing to unregister '${registration.moduleId}': ${unowned.join('; ')}, and this module removes only what it wrote. Nothing was removed.`,\n );\n }\n // #2808: the pins and install-script names are removed from pnpm-workspace.yaml. An older application that still keeps\n // the setting in package.json → pnpm (which pnpm 10 reads in place of the YAML copy) is moved first, by the command\n // that moves every setting at once, rather than half-reversed here.\n const legacySettings = steps\n .map((edit): PnpmOwnedSetting | undefined => (edit.kind === CompositionScenarioEditKind.PNPM_OVERRIDE_APPEND ? PnpmOwnedSetting.OVERRIDES\n : edit.kind === CompositionScenarioEditKind.PNPM_ONLY_BUILT_APPEND ? PnpmOwnedSetting.ONLY_BUILT_DEPENDENCIES : undefined))\n .filter((setting): setting is PnpmOwnedSetting => setting !== undefined && readApplicationPnpmSettings(saasRoot).sources[setting] === PnpmSettingsSource.PACKAGE_JSON);\n if (legacySettings.length > 0) {\n throw new Error(\n `Refusing to unregister '${registration.moduleId}': the application keeps ${legacySettings.map((setting) => `pnpm.${setting}`).join(' and ')} in package.json, `\n + `which pnpm 11 does not read. Run \\`wildo align-deps --write\\` to move it into ${PROVIDER_WORKSPACE_FILE}, then remove the module again. Nothing was removed.`,\n );\n }\n const snapshot = new Map<string, string>();\n const collected = () => [...snapshot].map(([targetRelativePath, previousContent]) => ({ targetRelativePath, previousContent }));\n try {\n // Reverse order: the last edit applied is the first undone.\n for (const edit of [...steps].reverse()) {\n const targetRelative = renderer.render(edit.file, variables);\n const targetAbsolute = join(saasRoot, targetRelative);\n let content: string;\n try {\n content = readFileSync(targetAbsolute, 'utf8');\n } catch {\n continue;\n }\n const next = reverseEdit(edit, content, targetRelative, variables, options.kept, (name, version) => keptVendorPinReason(saasRoot, registration, name, version),\n (name) => keptOnlyBuiltReason(saasRoot, registration, name));\n if (next !== content) {\n // First change to a file wins: that is its content before this reversal began.\n if (!snapshot.has(targetRelative)) snapshot.set(targetRelative, content);\n writeFileSync(targetAbsolute, next, 'utf8');\n }\n }\n } catch (error) {\n // Atomic, like the apply: a step that throws part-way (a manifest that is not JSON, a config that no longer walks)\n // must not leave the steps before it undone and the rest in place (#2014 review F7).\n restoreRegistrationSnapshot(saasRoot, collected());\n throw error;\n }\n return collected();\n}\n\n/**\n * Why `remove` must leave the vendor pin `name@version` this registration's step names (#2789), or `undefined` when it is\n * this install's to take out: the application held it before the install, or another installed module records it at the\n * same version and still needs it.\n */\nfunction keptVendorPinReason(saasRoot: string, registration: ModuleManifestRegistration, name: string, version: string): string | undefined {\n if (registration.providerWiring?.heldVendorPins?.includes(name)) return 'the application pinned it before the install';\n const other = installedProviderRegistrations(saasRoot)\n .find((record) => record.registration.moduleId !== registration.moduleId && record.registration.providerWiring?.vendorPins?.[name] === version);\n return other === undefined ? undefined : `the installed module ${other.moduleId} pins it too`;\n}\n\n/**\n * Why `remove` must leave the install-script name `name` this registration's step names (#2801), or `undefined` when it\n * is this install's to take out: the application allowed it before the install, or another installed module records\n * it and still needs it.\n */\nfunction keptOnlyBuiltReason(saasRoot: string, registration: ModuleManifestRegistration, name: string): string | undefined {\n if (registration.providerWiring?.heldOnlyBuiltDependencies?.includes(name)) return 'the application allowed it before the install';\n const other = installedProviderRegistrations(saasRoot)\n .find((record) => record.registration.moduleId !== registration.moduleId && record.registration.providerWiring?.onlyBuiltDependencies?.includes(name));\n return other === undefined ? undefined : `the installed module ${other.moduleId} needs it too`;\n}\n\nfunction reverseEdit(\n edit: CompositionScenarioEdit,\n content: string,\n targetRelative: string,\n variables: Record<string, string>,\n kept?: string[],\n keepVendorPin?: (name: string, version: string) => string | undefined,\n keepOnlyBuilt?: (name: string) => string | undefined,\n): string {\n switch (edit.kind) {\n case CompositionScenarioEditKind.TS_IMPORT_ADD:\n return removeInsertedImport(content, renderer.render(edit.statement!, variables).trim());\n case CompositionScenarioEditKind.APPEND_LINE:\n return removeWholeLine(content, renderer.render(edit.line!, variables).replace(/\\r?\\n+$/, '').trim());\n case CompositionScenarioEditKind.TS_ARRAY_APPEND: {\n const element = renderer.render(edit.element!, variables).trim();\n return removeListEntry(content, targetRelative, renderer.render(edit.exportedArray!, variables), RegistryAnchorShape.ARRAY,\n (entry, sourceFile) => entry.getText(sourceFile).trim() === element);\n }\n case CompositionScenarioEditKind.TS_OBJECT_APPEND: {\n // By KEY, not text: the operator edits a bucket entry after install, and the edited entry is still\n // this module's (the pre-pass above refused one whose path names another package). A spread is removed by\n // the expression it spreads (#2508).\n const identity = objectEntryIdentity(renderer.render(edit.entry!, variables).trim());\n return removeListEntry(content, targetRelative, renderer.render(edit.exportedObject!, variables), RegistryAnchorShape.OBJECT,\n (entry, sourceFile) => ('spread' in identity\n ? ts.isSpreadAssignment(entry) && entry.expression.getText(sourceFile).trim() === identity.spread\n : (ts.isPropertyAssignment(entry) || ts.isShorthandPropertyAssignment(entry)) && propertyKey(entry.name) === identity.key));\n }\n case CompositionScenarioEditKind.PACKAGE_DEPENDENCY_ADD:\n return removeAddedDependencies(content, targetRelative, edit, variables);\n case CompositionScenarioEditKind.PNPM_OVERRIDE_APPEND:\n return removeAddedOverrides(content, targetRelative, edit, variables, kept, keepVendorPin);\n case CompositionScenarioEditKind.PNPM_ONLY_BUILT_APPEND:\n return removeAddedOnlyBuilt(content, targetRelative, edit, variables, kept, keepOnlyBuilt);\n case CompositionScenarioEditKind.CONFIG_PROPERTY_ADD: {\n const path = (edit.configPath ?? []).map((segment) => renderer.render(segment, variables));\n // Absent (a parent the operator removed takes it with it): the goal state.\n const text = readConfigObjectPropertyText({ filePath: targetRelative, content, target: { path } });\n if (text === undefined) return content;\n // Changed since the install wrote it — capabilities bound, protocols listed — so it is the application's, and\n // removing it would take the application's decision with it. Kept, and said.\n //\n // Deliberate: a scope that says EXACTLY what the install writes is removed even if the application wrote it\n // before the install (the review's P4). It binds nothing, and once the provider's package is gone it would name\n // a provider no runtime contributes, which `wildo config sync` refuses; removing it is the consistent end state.\n if (text !== renderer.render(edit.valueText ?? '', variables).trim()) {\n kept?.push(`${targetRelative} > ${path.join('.')} (the application changed it since install; remove it yourself if nothing should scope this provider)`);\n return content;\n }\n return removeConfigObjectProperty({ filePath: targetRelative, content, target: { path } }).newContent;\n }\n default:\n // Unreachable: `loadRegistrationScenario` refuses any other kind before a single write.\n throw new Error(`registration cannot reverse edit kind '${edit.kind}'`);\n }\n}\n\n/**\n * The inverse of `package-dependency-add` (#2014): drop each entry the step added, but only while it still carries the\n * specifier the step wrote. A dependency the operator re-pointed since is theirs now, and is kept. Written back in\n * the step's own form (two-space JSON), so a manifest the install edited returns to the same bytes.\n */\nfunction removeAddedDependencies(content: string, targetRelative: string, edit: CompositionScenarioEdit, variables: Record<string, string>): string {\n let manifest: Record<string, unknown>;\n try {\n manifest = JSON.parse(content) as Record<string, unknown>;\n } catch {\n throw new Error(`${targetRelative} is not valid JSON, so the dependency this module added cannot be removed from it.`);\n }\n const field = edit.dependencyField ?? 'dependencies';\n const dependencies = manifest[field];\n if (dependencies === null || typeof dependencies !== 'object' || Array.isArray(dependencies)) return content;\n const next = { ...(dependencies as Record<string, unknown>) };\n let changed = false;\n for (const [nameTemplate, specifierTemplate] of Object.entries(edit.entries ?? {})) {\n const name = renderer.render(nameTemplate, variables);\n if (next[name] === renderer.render(specifierTemplate, variables)) {\n delete next[name];\n changed = true;\n }\n }\n if (!changed) return content;\n manifest[field] = next;\n return `${JSON.stringify(manifest, null, 2)}\\n`;\n}\n\n/** A workspace file's owned settings, refusing one this module cannot read faithfully: a reversal never guesses. */\nfunction readWorkspaceSettingsForReversal(content: string, targetRelative: string): ReturnType<typeof readPnpmWorkspaceSettingsText> {\n try {\n return readPnpmWorkspaceSettingsText(content, targetRelative);\n } catch (error) {\n throw new Error(`${targetRelative} cannot be read faithfully, so the pnpm settings this module added cannot be removed from it (${ErrorUtils.extractErrorMessage(error)}).`);\n }\n}\n\n/**\n * The inverse of `pnpm-override-append` (#2789): drop each vendor pin the step WROTE, while it still holds the version\n * written. Kept: a pin the application moved since (its own now, and said); a pin the application held before the\n * install (`heldVendorPins`); a pin another installed module records at the same version (it still needs it). Written\n * back through the pnpm-settings helper (#2808), the way the step writes it.\n */\nfunction removeAddedOverrides(\n content: string,\n targetRelative: string,\n edit: CompositionScenarioEdit,\n variables: Record<string, string>,\n kept?: string[],\n keepVendorPin?: (name: string, version: string) => string | undefined,\n): string {\n const overrides = readWorkspaceSettingsForReversal(content, targetRelative).overrides as Record<string, string> | undefined;\n if (overrides === undefined) return content;\n const next = { ...overrides };\n let changed = false;\n for (const [nameTemplate, versionTemplate] of Object.entries(edit.entries ?? {})) {\n const name = renderer.render(nameTemplate, variables);\n if (!Object.hasOwn(next, name)) continue;\n const version = renderer.render(versionTemplate, variables);\n if (next[name] === version) {\n const reason = keepVendorPin?.(name, version);\n if (reason !== undefined) {\n kept?.push(`${targetRelative} > overrides.${name} (left: ${reason})`);\n continue;\n }\n delete next[name];\n changed = true;\n } else {\n kept?.push(`${targetRelative} > overrides.${name} (the application moved it to ${String(next[name])} since install; remove it yourself if nothing uses it)`);\n }\n }\n return changed ? updatePnpmWorkspaceSettingsText(content, targetRelative, { overrides: next }) : content;\n}\n\n/**\n * The inverse of `pnpm-only-built-append` (#2801): drop each install-script name the step WROTE. Kept: one the\n * application allowed before the install, or one another installed module records (`keepOnlyBuilt`). A list left empty\n * is removed with its key, which gives back the file the install found.\n */\nfunction removeAddedOnlyBuilt(\n content: string,\n targetRelative: string,\n edit: CompositionScenarioEdit,\n variables: Record<string, string>,\n kept?: string[],\n keepOnlyBuilt?: (name: string) => string | undefined,\n): string {\n const list = readWorkspaceSettingsForReversal(content, targetRelative).onlyBuiltDependencies as string[] | undefined;\n if (list === undefined) return content;\n const remove = new Set<string>();\n for (const name of new Set((edit.names ?? []).map((template) => renderer.render(template, variables)))) {\n if (!list.includes(name)) continue;\n const reason = keepOnlyBuilt?.(name);\n if (reason !== undefined) {\n kept?.push(`${targetRelative} > onlyBuiltDependencies ${name} (left: ${reason})`);\n continue;\n }\n remove.add(name);\n }\n if (remove.size === 0) return content;\n const next = list.filter((name) => !remove.has(name));\n return updatePnpmWorkspaceSettingsText(content, targetRelative, { onlyBuiltDependencies: next.length === 0 ? null : next });\n}\n\n/**\n * The inverse of `ts-import-add`, which inserts `\\n<statement>` right after the last import. Removing\n * exactly that preserves the file's own line endings (CRLF included); a statement found elsewhere is\n * removed as a whole line.\n */\nfunction removeInsertedImport(content: string, statement: string): string {\n const inserted = `\\n${statement}`;\n const at = content.indexOf(inserted);\n if (at !== -1) return content.slice(0, at) + content.slice(at + inserted.length);\n return removeWholeLine(content, statement);\n}\n\n/** Remove the one line whose trimmed text equals `line`, with its line break. */\nfunction removeWholeLine(content: string, line: string): string {\n const lines = content.split('\\n');\n const index = lines.findIndex((candidate) => candidate.trim() === line);\n if (index === -1) return content;\n lines.splice(index, 1);\n return lines.join('\\n');\n}\n\n/**\n * Remove the element / property `matches` selects from the top-level variable `variableName`'s array or object literal:\n * the inverse of the append the registration's scenario made. The removal itself is `removeBracedListEntry`, the one\n * inverse of `appendIntoBracedList` that every caller shares, so this list and a config property cannot come to\n * disagree about what an append added (#2014 review, which found this copy and the runtime's disagreeing about a\n * comment the application wrote inside a list).\n */\nfunction removeListEntry(\n content: string,\n fileName: string,\n variableName: string,\n shape: RegistryAnchorShape,\n matches: (entry: ts.Node, sourceFile: ts.SourceFile) => boolean,\n): string {\n const anchor = findAnchorLiteral(content, fileName, variableName);\n if (!anchor) return content;\n const { sourceFile, literal } = anchor;\n const entries: ts.NodeArray<ts.Node> | null = shape === RegistryAnchorShape.ARRAY && ts.isArrayLiteralExpression(literal)\n ? literal.elements\n : shape === RegistryAnchorShape.OBJECT && ts.isObjectLiteralExpression(literal) ? literal.properties : null;\n if (entries === null) return content;\n const index = entries.findIndex((candidate) => matches(candidate, sourceFile));\n if (index === -1) return content;\n return removeBracedListEntry({ content, sourceFile, entries, index, closeBracePosition: literal.end - 1 });\n}\n\nexport interface InstallRegistrationOutcome {\n /** The registration now applied to the host, to record in the lockfile entry; absent when none is. */\n registration?: ModuleManifestRegistration;\n /** Every change made, in order, for `rollbackInstallRegistration`. */\n snapshots: RegistrationSnapshot[];\n /** Set when the module ends up NOT registered — reported to the operator, never fatal. */\n notice?: string;\n /** Application-owned entries the install or update left as it found them, one sentence each, for the operator. */\n kept: string[];\n /** Labels of the provider scopes already present when this run applied the registration: it wrote none of them. */\n present: string[];\n /** What the operator must do that this run could not, one sentence each, said as warnings (#2801). */\n warnings: string[];\n /**\n * The install-script names this run newly allowed (#2801). The install rebuilds them after `pnpm install`: a package\n * already installed, its script skipped, is \"already up to date\" to an install, and only a rebuild runs the script.\n */\n allowedInstallScripts: string[];\n}\n\n/** The wiring as derived from the module and the application: what an install observed (`heldVendorPins`) is not part of it. */\nfunction derivedWiring(wiring: ModuleManifestRegistration['providerWiring']): string {\n if (wiring === undefined) return JSON.stringify(wiring);\n const { heldVendorPins: _observed, heldOnlyBuiltDependencies: _observedBuilt, ...derived } = wiring;\n return JSON.stringify(derived);\n}\n\nfunction sameRegistration(a: ModuleManifestRegistration, b: ModuleManifestRegistration): boolean {\n return sameShape(a, b) && a.moduleCamel === b.moduleCamel && derivedWiring(a.providerWiring) === derivedWiring(b.providerWiring);\n}\n\n/**\n * The registration to RECORD after an apply (#2789): `next`, with the vendor pins this install found already held and\n * did not write (`heldVendorPins`). A pin the previous registration of this module wrote itself is not \"held\" just because\n * an unchanged step left it in place; one the previous registration recorded as held stays held.\n */\nfunction withHeldVendorPins(\n next: ModuleManifestRegistration,\n previous: ModuleManifestRegistration | undefined,\n heldNow: readonly string[],\n /** The install-script names found already allowed (#2801), recorded the same way: one the previous registration wrote is not held. */\n heldOnlyBuiltNow: readonly string[] = [],\n): ModuleManifestRegistration {\n if (next.providerWiring === undefined) return next;\n const previousHeld = new Set(previous?.providerWiring?.heldVendorPins ?? []);\n const previousWrote = (name: string) => previous?.providerWiring?.vendorPins?.[name] !== undefined && !previousHeld.has(name);\n const held = [...new Set(heldNow)].filter((name) => !previousWrote(name)).sort();\n const previousHeldBuilt = new Set(previous?.providerWiring?.heldOnlyBuiltDependencies ?? []);\n const previousWroteBuilt = (name: string) => (previous?.providerWiring?.onlyBuiltDependencies ?? []).includes(name) && !previousHeldBuilt.has(name);\n const heldBuilt = [...new Set(heldOnlyBuiltNow)].filter((name) => !previousWroteBuilt(name)).sort();\n const { heldVendorPins: _derivedNone, heldOnlyBuiltDependencies: _derivedNoneBuilt, ...wiring } = next.providerWiring;\n return {\n ...next,\n providerWiring: {\n ...wiring,\n ...(held.length === 0 ? {} : { heldVendorPins: held }),\n ...(heldBuilt.length === 0 ? {} : { heldOnlyBuiltDependencies: heldBuilt }),\n },\n };\n}\n\n/**\n * Install side, provider modules (#2014): the registration an install of `manifest` applies HERE — the wiring derived\n * from this application's own services. The lockfile records it, so `remove` reverses exactly this.\n */\nexport async function deriveProviderRegistration(saasRoot: string, manifest: ModuleManifest): Promise<ModuleManifestRegistration> {\n if (manifest.kind !== ModuleKind.PROVIDER || manifest.provider === undefined) {\n throw new Error(`${manifest.id} is not a provider module; it is registered from its manifest.`);\n }\n const ref = manifest.provider.ref;\n const vendorPins = manifest.dependsOn?.npm?.dependencies ?? {};\n const onlyBuilt = manifest.dependsOn?.npm?.onlyBuiltDependencies ?? [];\n // The pins (and the install scripts) this install would write, checked again here: the artifact is what arrives\n // (#2789 review F9, #2801).\n if (Object.keys(vendorPins).length > 0 || onlyBuilt.length > 0) {\n const refusals = vendorPinInstallRefusals(vendorPins, readFrameworkOwnedDependencyNames(), onlyBuilt);\n if (refusals.length > 0) {\n throw new Error(`${manifest.id} carries vendor pins an install cannot write into the application: ${refusals.join('; ')}. Nothing was installed.`);\n }\n }\n return {\n scenario: ModuleRegistrationScenario.ADD_PROVIDER_PACKAGE,\n moduleId: ref,\n moduleCamel: moduleCamelFromDirectory(ref),\n providerWiring: await deriveProviderWiring(saasRoot, manifest.provider, vendorPins, onlyBuilt),\n };\n}\n\n/**\n * The install / update step: reverse a PREVIOUS registration the new version no longer carries, then\n * apply the new one. A module that ships no registration, or whose registration cannot be applied here (an\n * application scaffolded before the registry anchors existed, or one that registers the directory itself),\n * installs with the gap MARKED. Throws when reversing a previous registration fails, and when a provider's changed\n * wiring cannot be applied (its partial reversal undone first) — the caller rolls the whole install back for that.\n *\n * A provider's wiring that CHANGED between two derivations (a frontend service added, a facet gained) moves step by\n * step (#2014 review): only the steps the new wiring no longer has are reversed, and the new wiring is then applied\n * over what stays. Undoing all of it and writing it again removed every scope the application had bound and put it\n * back empty.\n */\nexport function registerModuleForInstall(\n saasRoot: string,\n frameworkRoot: string | null,\n manifest: ModuleManifest,\n previous: ModuleManifestRegistration | undefined,\n /** A provider module's wiring, derived by `deriveProviderRegistration` (#2014); a provider manifest carries none. */\n providerRegistration?: ModuleManifestRegistration,\n): InstallRegistrationOutcome {\n const snapshots: RegistrationSnapshot[] = [];\n const kept: string[] = [];\n const present: string[] = [];\n const warnings: string[] = [];\n const allowedInstallScripts: string[] = [];\n const next = manifest.kind === ModuleKind.PROVIDER ? providerRegistration : manifest.registration;\n const keepsPrevious = previous !== undefined && next !== undefined && sameRegistration(previous, next);\n const providerTransition = previous !== undefined && next !== undefined && !keepsPrevious\n && previous.scenario === ModuleRegistrationScenario.ADD_PROVIDER_PACKAGE && next.scenario === ModuleRegistrationScenario.ADD_PROVIDER_PACKAGE;\n if (previous && !keepsPrevious) {\n if (providerTransition) {\n const nextVariables = registrationVariables(next);\n const nextSteps = new Set((loadRegistrationScenario(saasRoot, frameworkRoot, next).manifest.edits ?? []).map((edit) => editIdentity(edit, nextVariables)));\n snapshots.push(reverseModuleRegistration(saasRoot, frameworkRoot, previous, {\n only: (edit, variables) => !nextSteps.has(editIdentity(edit, variables)),\n kept,\n }));\n } else {\n snapshots.push(reverseModuleRegistration(saasRoot, frameworkRoot, previous, { kept }));\n }\n }\n if (!next) {\n return {\n snapshots,\n kept,\n present,\n warnings,\n allowedInstallScripts,\n notice: 'the module ships no registration (its publisher did not register it, or it is not a shape registration covers); '\n + 'declare it in the application by hand',\n };\n }\n try {\n // A provider transition re-applies over the steps it kept, so it must not refuse what is already there.\n const heldVendorPins: string[] = [];\n const heldOnlyBuiltDependencies: string[] = [];\n snapshots.push(applyModuleRegistration(saasRoot, frameworkRoot, manifest, next, {\n expectNothingPresent: !keepsPrevious && !providerTransition,\n kept,\n present,\n heldVendorPins,\n heldOnlyBuiltDependencies,\n warnings,\n allowedInstallScripts,\n }));\n // Recomputed on every apply, an unchanged wiring included (#2801 review L4): what is held is a fact about the\n // application NOW. An entry recorded held that the application has since dropped is written again by this apply, and\n // must stop being called held, or `remove` would leave behind an entry the install wrote. `withHeldVendorPins` never\n // calls held what the previous registration wrote, so an unchanged application records the same content.\n const recorded = withHeldVendorPins(next, previous, heldVendorPins, heldOnlyBuiltDependencies);\n // A transition's reversal and its re-apply both report a pin the application moved; say it once (re-review R2).\n const movedOnReapply = new Set(kept.filter((line) => / \\(the application moved it to [^;]+; left as the application set it\\)$/.test(line)).map((line) => line.slice(0, line.indexOf(' ('))));\n for (let index = kept.length - 1; index >= 0; index -= 1) {\n const line = kept[index]!;\n if (/ since install; remove it yourself if nothing uses it\\)$/.test(line) && movedOnReapply.has(line.slice(0, line.indexOf(' (')))) kept.splice(index, 1);\n }\n for (const name of recorded.providerWiring?.heldVendorPins ?? []) {\n if (previous?.providerWiring?.heldVendorPins?.includes(name)) continue;\n kept.push(`${PROVIDER_WORKSPACE_FILE} > overrides.${name} (already pinned at that version by the application; left as its own pin, so removing the module leaves it)`);\n }\n // Said only for a name the manifest's own list holds: one held because the list lives in the workspace file was\n // already said, with what to add there (`onlyBuiltStates`).\n const manifestAllowed = readAllowedInstallScripts(saasRoot);\n for (const name of recorded.providerWiring?.heldOnlyBuiltDependencies ?? []) {\n if (previous?.providerWiring?.heldOnlyBuiltDependencies?.includes(name) || !manifestAllowed.includes(name)) continue;\n kept.push(`${PROVIDER_WORKSPACE_FILE} > onlyBuiltDependencies ${name} (already allowed by the application; left as its own, so removing the module leaves it)`);\n }\n return { registration: recorded, snapshots, kept, present, warnings, allowedInstallScripts };\n } catch (error) {\n const notice = `could not register it: ${ErrorUtils.extractErrorMessage(error)}`;\n if (providerTransition) {\n // A provider transition reversed only PART of the previous wiring and kept the rest. Neither answer that lets\n // the update go on is coherent: recording no registration leaves the kept steps with nothing able to remove them\n // (#2014 re-review H1), and recording the PREVIOUS one describes files this update is about to replace, a facet\n // it deletes included (third review F2). So the partial reversal is undone and the update FAILS; the command's\n // own catch rolls the new files back, which leaves the old files and the old wiring together.\n rollbackInstallRegistration(saasRoot, snapshots);\n throw new Error(`${notice}. The update was not applied; the installed version and its wiring are unchanged.`);\n }\n // Re-applying the SAME registration failed: its entries are still in place, so it stays recorded.\n return { ...(keepsPrevious ? { registration: previous } : {}), snapshots, kept, present, warnings, allowedInstallScripts, notice };\n }\n}\n\n/** Undo `registerModuleForInstall` (a failed install's rollback), latest change first. */\nexport function rollbackInstallRegistration(saasRoot: string, snapshots: readonly RegistrationSnapshot[]): void {\n for (const snapshot of [...snapshots].reverse()) restoreRegistrationSnapshot(saasRoot, snapshot);\n}\n"]}
|