@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":"application-dependency-alignment.service.js","sourceRoot":"","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EAAE,CAAC,CAAC;IAC1J,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC","sourcesContent":["/**\n * ApplicationDependencyAlignmentService — align a STANDALONE application's dependency pins and\n * engine peer declarations against the `@wildo-ai/*` packages it actually has installed (issue #222).\n *\n * ## The problem this closes\n *\n * `wildo init` bakes three derived things into an application: the `@wildo-ai/*` version pins, the\n * third-party pins propagated from the framework's root `pnpm.overrides`, and the engine peer\n * declarations every workspace package must carry. All three are computed from the framework\n * CHECKOUT, at scaffold time. A standalone application has no checkout afterwards, so nothing\n * re-derives them: an application moved to a newer framework keeps the OLD third-party versions and\n * the OLD peer obligations — and the peer half cannot be corrected by reinstalling, because an\n * undeclared peer's resolution is sticky (issue #167).\n *\n * ## Why nothing new has to be published\n *\n * The publish lane already substitutes the framework's root override into every published manifest —\n * exact for `dependencies`, caret-widened for `peerDependencies`. So the pin set and the peer closure\n * are recoverable from the installed packages themselves. Measured against the real 1.1.1 packages in\n * a scaffolded application: of 150 recoverable propagated names, **143 reproduce the framework's own\n * root override exactly**; 5 differ only exact-vs-caret (names that appear ONLY as peers, where the\n * caret is the publish lane's deliberate widening for a consumer); and 2 differ by a major because\n * the framework's root moved AFTER 1.1.1 shipped — which is the point, not a defect. An application\n * aligns to the framework version it HAS, the only contract it can honour.\n *\n * That is why this service reads `node_modules` rather than a published manifest of pins: the data\n * cannot drift from the packages it describes, because it IS them.\n *\n * ## What it deliberately does NOT do\n *\n * It never changes a `@wildo-ai/*` version. Which framework release to adopt is the operator's\n * decision; everything else follows mechanically from it. The flow is:\n *\n * 1. bump the `@wildo-ai/*` entries in the application's `pnpm.overrides`\n * 2. `pnpm install` (the new pin set cannot be read until the new version is on disk)\n * 3. `wildo align-deps --write`\n * 4. `pnpm install`\n *\n * `wildo update` runs that flow for a release upgrade (`update.command.ts`): the operator's decision\n * is its `--to <version>` / `--tag`, its step 1 is the bump, and its step 3 is the install → this\n * service → install. Use `align-deps` on its own only for the first alignment after `wildo init`.\n */\nimport { existsSync, readdirSync, readFileSync, writeFileSync } from 'fs';\nimport { dirname, join, relative } from 'path';\nimport { WILDO_SAAS_LOCK_RELATIVE_PATH } from '@wildo-ai/platform-config-lib';\n\n/** Where an application declares the names its own toolchain owns. Seeded by `wildo init`. */\nexport const APPLICATION_DEPENDENCY_EXCLUSIONS_RELATIVE = '.wildo-saas/dependency-exclusions.json';\n\nconst FRAMEWORK_SCOPE_PREFIX = '@wildo-ai/';\nconst EXACT_SEMVER_PATTERN = /^\\d+\\.\\d+\\.\\d+$/;\n\ninterface PackageManifest {\n name?: string;\n dependencies?: Record<string, string>;\n devDependencies?: Record<string, string>;\n peerDependencies?: Record<string, string>;\n peerDependenciesMeta?: Record<string, { optional?: boolean }>;\n optionalDependencies?: Record<string, string>;\n pnpm?: { overrides?: Record<string, string> };\n}\n\n/**\n * What is wrong with one manifest entry, and therefore what `--write` will do about it.\n *\n * The four are not degrees of the same thing — they split on TWO axes that need different repairs:\n * whether the name belongs in `pnpm.overrides` or in the importer's own dependency list, and whether\n * it is ABSENT or present-and-wrong. `peer-pinned-in-place` is the one that reads oddly and matters\n * most: the peer IS declared, but at a concrete version rather than `\"*\"`, so the framework's override\n * cannot reach it and a later pin bump silently will not land.\n */\nexport enum ApplicationAlignmentFindingKind {\n /** The framework pins this name and the application's `pnpm.overrides` does not carry it at all. */\n OVERRIDE_MISSING = 'override-missing',\n /** The application overrides the name, at a version the installed framework does not pin. */\n OVERRIDE_DRIFT = 'override-drift',\n /** A required engine peer the importer never declares, so `autoInstallPeers` resolves it unpinned. */\n PEER_MISSING = 'peer-missing',\n /** The peer is declared with a concrete version, which the override cannot rewrite. */\n PEER_PINNED_IN_PLACE = 'peer-pinned-in-place',\n}\n\nexport interface ApplicationAlignmentFinding {\n /** Application-root-relative path of the manifest that needs the change. */\n manifestRelativePath: string;\n kind: ApplicationAlignmentFindingKind;\n name: string;\n current?: string;\n desired: string;\n}\n\n/**\n * What alignment REPORTS and never changes (#2789): removing a pin or a dependency needs to know who wrote it, and\n * nothing records that for these. The twin of `findDependencyOrphans` in the framework's alignment script, which this\n * published CLI cannot import.\n */\nexport enum ApplicationAlignmentReportKind {\n /** A root override no authority writes, no manifest declares, and the lockfile resolves nowhere: it pins nothing. */\n ORPHAN_OVERRIDE = 'orphan-override',\n /** An adopted provider module's vendor package, declared by a manifest outside that module's facets. */\n MISPLACED_DEPENDENCY = 'misplaced-dependency',\n}\n\nexport interface ApplicationAlignmentReport {\n manifestRelativePath: string;\n kind: ApplicationAlignmentReportKind;\n name: string;\n /** The override's value (orphan) or the module that owns the package (misplaced). */\n detail: string;\n}\n\nexport interface ApplicationAlignmentResult {\n /** `@wildo-ai/*` packages whose installed manifest was read, with the version found. */\n installedFrameworkPackages: Array<{ name: string; version: string }>;\n /** Third-party names the installed engine pins, after exclusions. */\n derivedOverrides: Record<string, string>;\n /** Per framework package, the transitive REQUIRED peers a consumer must declare. */\n enginePeerClosure: Record<string, string[]>;\n excludedNames: string[];\n findings: ApplicationAlignmentFinding[];\n /**\n * Workspace member patterns this reader cannot expand (`dir/**`, an interior `*`, a `!exclusion`).\n * The packages they cover were NOT aligned; a caller reports them rather than calling the run clean.\n */\n unsupportedWorkspacePatterns: string[];\n /** Report-only defects (#2789): never part of `findings`, never written. */\n reports: ApplicationAlignmentReport[];\n written: boolean;\n}\n\n/** The package an override key governs: `x>y@2` → `y`, `@s/n@^1` → `@s/n`. */\nexport function overrideTargetName(key: string): string {\n const target = key.includes('>') ? key.slice(key.lastIndexOf('>') + 1) : key;\n const at = target.lastIndexOf('@');\n return at > 0 ? target.slice(0, at) : target;\n}\n\n/**\n * Every package name a pnpm lockfile resolves. Only the `packages:` and `snapshots:` blocks are read: the lockfile's own\n * `overrides:` block carries keys like `foo@1`, which would count an orphan override as resolved (#2789 review F7).\n */\nexport function readResolvedPackageNames(lockText: string | undefined): Set<string> {\n const names = new Set<string>();\n if (lockText === undefined) return names;\n let inResolved = false;\n for (const line of lockText.split(/\\r?\\n/)) {\n if (/^\\S/.test(line)) {\n inResolved = /^(packages|snapshots):\\s*$/.test(line);\n continue;\n }\n if (!inResolved) continue;\n const match = /^ {2}'?((?:@[^/'\\s]+\\/)?[^@'\\s/]+)@/.exec(line);\n if (match) names.add(match[1]!);\n }\n return names;\n}\n\nconst DEPENDENCY_FIELDS = ['dependencies', 'devDependencies', 'optionalDependencies', 'peerDependencies'] as const;\n\n/**\n * The two report-only defects of ONE application (#2789), with the semantics of the framework script's twin:\n * an ORPHAN override (no authority writes it, no manifest declares it, the lockfile resolves it nowhere; a deliberate\n * pin on a transitive dependency is resolved, so it is never one) and a MISPLACED dependency (an adopted module's vendor\n * package declared outside that module's facets).\n */\nexport function findDependencyOrphans(input: {\n appOverrides: Record<string, unknown>;\n authoredKeys: ReadonlySet<string>;\n adoptedVendorPins: ReadonlyMap<string, { moduleId: string; ref?: string }>;\n manifests: ReadonlyArray<{ member: string; manifest: Record<string, unknown> | undefined }>;\n resolvedNames: ReadonlySet<string>;\n}): ApplicationAlignmentReport[] {\n const fieldsOf = (manifest: Record<string, unknown> | undefined) => DEPENDENCY_FIELDS\n .map((field) => manifest?.[field])\n .filter((value): value is Record<string, unknown> => value !== null && typeof value === 'object' && !Array.isArray(value));\n const declared = new Set(input.manifests.flatMap(({ manifest }) => fieldsOf(manifest).flatMap((field) => Object.keys(field))));\n const reports: ApplicationAlignmentReport[] = Object.keys(input.appOverrides)\n .filter((key) => !input.authoredKeys.has(key))\n .filter((key) => !overrideTargetName(key).startsWith('@wildo-ai/'))\n .filter((key) => !input.adoptedVendorPins.has(overrideTargetName(key)))\n .filter((key) => !declared.has(overrideTargetName(key)))\n .filter((key) => !input.resolvedNames.has(overrideTargetName(key)))\n .sort()\n .map((key) => ({ manifestRelativePath: 'package.json', kind: ApplicationAlignmentReportKind.ORPHAN_OVERRIDE, name: key, detail: String(input.appOverrides[key]) }));\n const misplaced: ApplicationAlignmentReport[] = [];\n for (const { member, manifest } of input.manifests) {\n for (const [name, owner] of input.adoptedVendorPins) {\n if (owner.ref !== undefined && member.startsWith(`providers/${owner.ref}/`)) continue;\n if (fieldsOf(manifest).some((field) => field[name] !== undefined)) {\n misplaced.push({ manifestRelativePath: join(member, 'package.json'), kind: ApplicationAlignmentReportKind.MISPLACED_DEPENDENCY, name, detail: owner.moduleId });\n }\n }\n }\n // Ordered like the framework script's report: by member, then name.\n return [...reports, ...misplaced.sort((a, b) => `${a.manifestRelativePath}/${a.name}`.localeCompare(`${b.manifestRelativePath}/${b.name}`))];\n}\n\nexport class ApplicationDependencyAlignmentService {\n /**\n * Compute (and optionally apply) the alignment for one application root.\n *\n * Reading is total and writing is per-manifest: a `--check` run touches nothing, and a `--write`\n * run rewrites only the manifests that actually have findings.\n */\n static align(input: { applicationRoot: string; write: boolean }): ApplicationAlignmentResult {\n const { members: workspaceMembers, unsupportedPatterns: unsupportedWorkspacePatterns } =\n ApplicationDependencyAlignmentService.discoverWorkspaceMembers(input.applicationRoot);\n const installed = ApplicationDependencyAlignmentService.readInstalledFrameworkManifests({\n applicationRoot: input.applicationRoot,\n workspaceMembers,\n });\n if (installed.size === 0) {\n throw new Error(\n 'No @wildo-ai/* package could be resolved from this application — run `pnpm install` first. '\n + 'Alignment derives every pin from the framework packages the application HAS installed, so '\n + 'an empty node_modules would silently produce an empty pin set.',\n );\n }\n\n const excludedNames = ApplicationDependencyAlignmentService.readExclusions(input.applicationRoot);\n const derivedOverrides = ApplicationDependencyAlignmentService.deriveOverrides({ installed, excludedNames });\n const enginePeerClosure = ApplicationDependencyAlignmentService.deriveEnginePeerClosure({ installed, excludedNames });\n\n const findings: ApplicationAlignmentFinding[] = [];\n findings.push(...ApplicationDependencyAlignmentService.reconcileRootOverrides({\n applicationRoot: input.applicationRoot, derivedOverrides, write: input.write,\n }));\n for (const member of workspaceMembers) {\n findings.push(...ApplicationDependencyAlignmentService.reconcileMemberPeers({\n applicationRoot: input.applicationRoot, member, enginePeerClosure, write: input.write,\n }));\n }\n\n // #2789: report-only. Read after the writes above, so a run that just added a pin does not report it.\n const rootManifest = readJsonObject(join(input.applicationRoot, 'package.json'));\n const lockPath = join(input.applicationRoot, 'pnpm-lock.yaml');\n const reports = findDependencyOrphans({\n appOverrides: ((rootManifest?.pnpm as Record<string, unknown> | undefined)?.overrides as Record<string, unknown> | undefined) ?? {},\n authoredKeys: new Set(Object.keys(derivedOverrides)),\n adoptedVendorPins: readAdoptedVendorPins(input.applicationRoot),\n manifests: workspaceMembers.map((member) => ({ member, manifest: readJsonObject(join(input.applicationRoot, member, 'package.json')) })),\n resolvedNames: readResolvedPackageNames(existsSync(lockPath) ? readFileSync(lockPath, 'utf8') : undefined),\n });\n\n return {\n reports,\n installedFrameworkPackages: [...installed.entries()]\n .map(([name, manifest]) => ({ name, version: (manifest as { version?: string }).version ?? 'unknown' }))\n .sort((a, b) => a.name.localeCompare(b.name)),\n derivedOverrides,\n enginePeerClosure,\n excludedNames,\n findings,\n unsupportedWorkspacePatterns,\n written: input.write && findings.length > 0,\n };\n }\n\n /**\n * The application's own workspace members, plus its root (`.`).\n *\n * GENERATED drops are skipped: `.wildo-saas/wildo-dev-companion` has its manifest written by the\n * companion delivery on every start, so a declaration reconciled into it is erased.\n *\n * A member may be a GLOB, and one kind always is: `wildo registry add` wires a provider module as\n * `providers/<ref>/*`, one member per facet package. Reading members as literal paths dropped every\n * glob (no directory is literally named `*`), so an installed provider package was never aligned\n * (#2019 review). {@link expandWorkspaceMemberPatterns} expands them with the framework reader's semantics.\n */\n static discoverWorkspaceMembers(applicationRoot: string): { members: string[]; unsupportedPatterns: string[] } {\n const { members, unsupportedPatterns } = expandWorkspaceMemberPatterns(\n applicationRoot,\n readWorkspacePackagePatterns(join(applicationRoot, 'pnpm-workspace.yaml')),\n );\n return {\n members: [...new Set(['.', ...members])]\n .filter((member) => !member.startsWith('.wildo-saas/'))\n .filter((member) => existsSync(join(applicationRoot, member, 'package.json'))),\n unsupportedPatterns,\n };\n }\n\n /**\n * Every `@wildo-ai/*` manifest the application can resolve, keyed by package name.\n *\n * Resolution goes through `createRequire` from each workspace member rather than by walking\n * `node_modules/.pnpm`: the virtual store's directory naming is a pnpm implementation detail, while\n * `require.resolve` is the contract every runtime in the application already uses. A member that\n * cannot resolve a name simply contributes nothing — under pnpm's isolated layout only a package's\n * own declared dependencies are reachable from it, and that is exactly the set that matters.\n */\n static readInstalledFrameworkManifests(input: {\n applicationRoot: string;\n workspaceMembers: string[];\n }): Map<string, PackageManifest> {\n const found = new Map<string, PackageManifest>();\n const candidateNames = new Set<string>();\n\n for (const member of input.workspaceMembers) {\n const manifest = ApplicationDependencyAlignmentService.readManifest(\n join(input.applicationRoot, member, 'package.json'),\n );\n if (!manifest) continue;\n for (const field of ['dependencies', 'devDependencies', 'peerDependencies', 'optionalDependencies'] as const) {\n for (const name of Object.keys(manifest[field] ?? {})) {\n if (name.startsWith(FRAMEWORK_SCOPE_PREFIX)) candidateNames.add(name);\n }\n }\n }\n // The root `pnpm.overrides` names every framework package the scaffolder pinned, including ones\n // no member declares directly — they are still installed, and their peers still land on the app.\n const rootManifest = ApplicationDependencyAlignmentService.readManifest(join(input.applicationRoot, 'package.json'));\n for (const name of Object.keys(rootManifest?.pnpm?.overrides ?? {})) {\n if (name.startsWith(FRAMEWORK_SCOPE_PREFIX)) candidateNames.add(name);\n }\n\n // A framework package's own `@wildo-ai/*` dependencies are followed too: the closure is\n // transitive, and an application need never name `presets-components` to inherit its peers.\n const pending = [...candidateNames];\n while (pending.length > 0) {\n const name = pending.pop() as string;\n if (found.has(name)) continue;\n const manifest = ApplicationDependencyAlignmentService.resolveFrameworkManifest({\n applicationRoot: input.applicationRoot,\n workspaceMembers: input.workspaceMembers,\n name,\n });\n if (!manifest) continue;\n found.set(name, manifest);\n for (const field of ['dependencies', 'peerDependencies', 'optionalDependencies'] as const) {\n for (const dependencyName of Object.keys(manifest[field] ?? {})) {\n if (dependencyName.startsWith(FRAMEWORK_SCOPE_PREFIX) && !found.has(dependencyName)) pending.push(dependencyName);\n }\n }\n }\n return found;\n }\n\n /**\n * Find a framework package's manifest by walking `node_modules` upward from each workspace member,\n * which is Node's own package-DIRECTORY lookup.\n *\n * NOT `require.resolve('<name>/package.json')`, which was the first attempt and does not work: a\n * published `@wildo-ai/*` package declares an `exports` map, and an exports map that does not list\n * `./package.json` makes that specifier unresolvable. Measured on a freshly scaffolded application —\n * every one of the twenty packages was installed and every resolve threw, so the service reported\n * \"no framework package installed\" on a perfectly healthy tree. A directory walk asks the question\n * actually being asked (where does this package LIVE) and is unaffected by what a package exports.\n */\n private static resolveFrameworkManifest(input: {\n applicationRoot: string;\n workspaceMembers: string[];\n name: string;\n }): PackageManifest | null {\n for (const member of input.workspaceMembers) {\n let directory = join(input.applicationRoot, member);\n for (;;) {\n const candidate = join(directory, 'node_modules', input.name, 'package.json');\n if (existsSync(candidate)) return JSON.parse(readFileSync(candidate, 'utf8')) as PackageManifest;\n const parent = dirname(directory);\n if (parent === directory || !parent.startsWith(input.applicationRoot)) break;\n directory = parent;\n }\n }\n return null;\n }\n\n /**\n * The third-party pin set the installed engine implies.\n *\n * When a name appears with several specifiers the EXACT one wins. That is not arbitrary: the\n * publish lane writes the tested version exactly into `dependencies` and widens it to a caret in\n * `peerDependencies`, so both describe the same version and the exact form is the one the framework\n * actually ran. Measured, it reproduces the framework's own root override for 143 of 150 names.\n *\n * ## Only a name the framework's ROOT pins is pinned — never a package's own private dependency\n *\n * The propagation contract (`toolchain-installation-baseline.md`) moves exactly the names the framework\n * root pins, and a manifest says which those are: the publish lane writes a root pin EXACT into\n * `dependencies` and as a caret into `peerDependencies`, and source form writes it `*`. A dependency\n * the root does NOT pin keeps the range its package authored — `platform-config-lib`'s `jiti ^2.6.1`.\n * This used to pin every such range application-wide, and an override reaches every edge that names\n * the package: on 2026-09-24 it forced jiti 2 onto Docusaurus (which loads its config through jiti 1),\n * the documentation site could no longer read `export default config`, and the failed service tore the\n * whole dev stack down on start. So a name is pinned when some framework package declares it exact,\n * `*`, or as a peer; a name only ever declared as a private range stays that package's business.\n */\n static deriveOverrides(input: { installed: Map<string, PackageManifest>; excludedNames: string[] }): Record<string, string> {\n const candidates = new Map<string, Set<string>>();\n const rootPinned = new Set<string>();\n for (const manifest of input.installed.values()) {\n for (const field of ['dependencies', 'peerDependencies'] as const) {\n for (const [name, specifier] of Object.entries(manifest[field] ?? {})) {\n if (name.startsWith(FRAMEWORK_SCOPE_PREFIX)) continue;\n if (ApplicationDependencyAlignmentService.isExcluded(name, input.excludedNames)) continue;\n if (!candidates.has(name)) candidates.set(name, new Set());\n (candidates.get(name) as Set<string>).add(specifier);\n if (field === 'peerDependencies' || specifier === '*' || EXACT_SEMVER_PATTERN.test(specifier)) rootPinned.add(name);\n }\n }\n }\n const overrides: Record<string, string> = {};\n for (const [name, specifiers] of candidates) {\n if (!rootPinned.has(name)) continue;\n const exact = [...specifiers].find((specifier) => EXACT_SEMVER_PATTERN.test(specifier));\n overrides[name] = exact ?? [...specifiers][0];\n }\n return Object.fromEntries(Object.keys(overrides).sort().map((name) => [name, overrides[name]]));\n }\n\n /**\n * Per framework package, the transitive REQUIRED peers a consumer must declare.\n *\n * Optional peers (`peerDependenciesMeta`) are excluded — an optional peer is not an obligation, and\n * `saas-technical-doc` / `saas-website` use that field to say exactly this.\n */\n static deriveEnginePeerClosure(input: {\n installed: Map<string, PackageManifest>;\n excludedNames: string[];\n }): Record<string, string[]> {\n const closureOf = new Map<string, Set<string>>();\n\n const walk = (packageName: string, visiting: Set<string>): Set<string> => {\n const cached = closureOf.get(packageName);\n if (cached) return cached;\n const manifest = input.installed.get(packageName);\n if (!manifest || visiting.has(packageName)) return new Set();\n visiting.add(packageName);\n\n const peers = new Set<string>();\n const optional = manifest.peerDependenciesMeta ?? {};\n for (const name of Object.keys(manifest.peerDependencies ?? {})) {\n if (name.startsWith(FRAMEWORK_SCOPE_PREFIX)) continue;\n if (optional[name]?.optional) continue;\n if (ApplicationDependencyAlignmentService.isExcluded(name, input.excludedNames)) continue;\n peers.add(name);\n }\n for (const field of ['dependencies', 'peerDependencies', 'optionalDependencies'] as const) {\n for (const dependencyName of Object.keys(manifest[field] ?? {})) {\n if (!dependencyName.startsWith(FRAMEWORK_SCOPE_PREFIX)) continue;\n for (const inherited of walk(dependencyName, visiting)) peers.add(inherited);\n }\n }\n visiting.delete(packageName);\n closureOf.set(packageName, peers);\n return peers;\n };\n\n const result: Record<string, string[]> = {};\n for (const packageName of [...input.installed.keys()].sort()) {\n result[packageName] = [...walk(packageName, new Set())].sort();\n }\n return result;\n }\n\n /**\n * Names this application's own toolchain owns, which alignment must never pin.\n *\n * APPLICATION-owned on purpose. The framework's equivalent list is a judgement about a typical\n * application's stack — `esbuild` follows vite, `express` follows webpack-dev-server, `mime`\n * follows express — and pinning those names was measured to break the docs toolchain. A real\n * application knows its own stack better than the framework does, so the list is seeded at\n * `wildo init` and owned from there. An absent file means no exclusions, which is honest for an\n * application that has never declared any.\n */\n static readExclusions(applicationRoot: string): string[] {\n const path = join(applicationRoot, APPLICATION_DEPENDENCY_EXCLUSIONS_RELATIVE);\n if (!existsSync(path)) return [];\n const parsed = JSON.parse(readFileSync(path, 'utf8')) as { excludedNames?: Record<string, string> | string[] };\n const names = Array.isArray(parsed.excludedNames) ? parsed.excludedNames : Object.keys(parsed.excludedNames ?? {});\n return [...names].sort();\n }\n\n /** A key ending in `*` is a prefix match (`@astrojs/*`); anything else is exact. */\n static isExcluded(name: string, excludedNames: string[]): boolean {\n return excludedNames.some((key) => (key.endsWith('*') ? name.startsWith(key.slice(0, -1)) : key === name));\n }\n\n private static reconcileRootOverrides(input: {\n applicationRoot: string;\n derivedOverrides: Record<string, string>;\n write: boolean;\n }): ApplicationAlignmentFinding[] {\n const manifestPath = join(input.applicationRoot, 'package.json');\n const manifest = ApplicationDependencyAlignmentService.readManifest(manifestPath);\n if (!manifest) return [];\n const current = manifest.pnpm?.overrides ?? {};\n\n const findings: ApplicationAlignmentFinding[] = [];\n for (const [name, desired] of Object.entries(input.derivedOverrides)) {\n const existing = current[name];\n if (existing === desired) continue;\n findings.push({\n manifestRelativePath: 'package.json',\n kind: existing === undefined ? ApplicationAlignmentFindingKind.OVERRIDE_MISSING : ApplicationAlignmentFindingKind.OVERRIDE_DRIFT,\n name,\n current: existing,\n desired,\n });\n }\n if (!findings.length || !input.write) return findings;\n\n // MERGE, never replace: the application's `@wildo-ai/*` pins, and any pin it authored itself,\n // are not this service's to decide — only the names the installed engine implies are.\n const merged = { ...current, ...input.derivedOverrides };\n manifest.pnpm = { ...(manifest.pnpm ?? {}), overrides: Object.fromEntries(Object.keys(merged).sort().map((k) => [k, merged[k]])) };\n writeFileSync(manifestPath, `${JSON.stringify(manifest, null, 2)}\\n`, 'utf8');\n return findings;\n }\n\n private static reconcileMemberPeers(input: {\n applicationRoot: string;\n member: string;\n enginePeerClosure: Record<string, string[]>;\n write: boolean;\n }): ApplicationAlignmentFinding[] {\n const manifestPath = join(input.applicationRoot, input.member, 'package.json');\n const manifest = ApplicationDependencyAlignmentService.readManifest(manifestPath);\n if (!manifest) return [];\n\n const required = new Set<string>();\n for (const field of ['dependencies', 'devDependencies', 'peerDependencies', 'optionalDependencies'] as const) {\n for (const name of Object.keys(manifest[field] ?? {})) {\n if (!name.startsWith(FRAMEWORK_SCOPE_PREFIX)) continue;\n for (const peerName of input.enginePeerClosure[name] ?? []) required.add(peerName);\n }\n }\n // A name already declared as a real dependency needs no peer entry — the override reaches it there.\n for (const field of ['dependencies', 'devDependencies', 'optionalDependencies'] as const) {\n for (const name of Object.keys(manifest[field] ?? {})) required.delete(name);\n }\n\n const peers = { ...(manifest.peerDependencies ?? {}) };\n const findings: ApplicationAlignmentFinding[] = [];\n const relativePath = input.member === '.' ? 'package.json' : `${relative('.', join(input.member, 'package.json'))}`;\n for (const name of [...required].sort()) {\n if (peers[name] === '*') continue;\n findings.push({\n manifestRelativePath: relativePath,\n kind: name in peers ? ApplicationAlignmentFindingKind.PEER_PINNED_IN_PLACE : ApplicationAlignmentFindingKind.PEER_MISSING,\n name,\n current: peers[name],\n desired: '*',\n });\n }\n if (!findings.length || !input.write) return findings;\n\n // `\"*\"` and never a version: the pin lives in `pnpm.overrides`, so a later framework bump reaches\n // the application without touching this block. Nothing is removed — a name the closure does not\n // require may still be the application's own.\n for (const finding of findings) peers[finding.name] = '*';\n manifest.peerDependencies = Object.fromEntries(Object.keys(peers).sort().map((name) => [name, peers[name]]));\n writeFileSync(manifestPath, `${JSON.stringify(manifest, null, 2)}\\n`, 'utf8');\n return findings;\n }\n\n private static readManifest(path: string): PackageManifest | null {\n if (!existsSync(path)) return null;\n return JSON.parse(readFileSync(path, 'utf8')) as PackageManifest;\n }\n\n /** Exposed for the scaffolder's exclusion seeding, which reads the framework's own list. */\n static readFrameworkExclusions(frameworkPath: string): Record<string, string> {\n const path = join(frameworkPath, 'scripts', 'app-dependency-alignment', 'propagated-engine-overrides.json');\n if (!existsSync(path)) return {};\n const parsed = JSON.parse(readFileSync(path, 'utf8')) as { deliberatelyExcluded?: Record<string, string> };\n return parsed.deliberatelyExcluded ?? {};\n }\n\n}\n\n/**\n * The raw member patterns of a workspace file's `packages:` block, in authored order; `[]` when the file\n * is absent. Scoped to that block, as `scripts/pnpm-workspace-members.mjs` is: a scan of every `- ` line\n * also reads `onlyBuiltDependencies:` and the other list blocks as members.\n */\nexport function readWorkspacePackagePatterns(workspaceManifestPath: string): string[] {\n if (!existsSync(workspaceManifestPath)) return [];\n const patterns: string[] = [];\n let inPackages = false;\n for (const rawLine of readFileSync(workspaceManifestPath, 'utf8').split(/\\r?\\n/)) {\n if (/^packages:\\s*$/.test(rawLine)) {\n inPackages = true;\n continue;\n }\n // A new top-level key ends the block; comments and list items do not.\n if (inPackages && /^\\S/.test(rawLine)) break;\n if (!inPackages) continue;\n const item = rawLine.match(/^\\s*-\\s*['\"]?([^'\"#]+?)['\"]?\\s*(#.*)?$/);\n const pattern = item?.[1]?.trim();\n if (pattern) patterns.push(pattern);\n }\n return patterns;\n}\n\n/**\n * Expand `pnpm-workspace.yaml` member patterns into member directories, relative to the root.\n *\n * The same semantics as the framework's one reader, `scripts/pnpm-workspace-members.mjs` (#362),\n * which this published CLI cannot import (it ships without the framework's `scripts/`): a LITERAL\n * path, and a pattern with exactly ONE path segment that is `*` (a trailing `dir/*`, or an interior\n * one followed by a fixed tail, as in the providers-registry workspace's facet members, #2788), whose\n * matches count only when they hold a `package.json` (pnpm's own rule, and what keeps `dist/` and\n * `node_modules/` out). Anything else, such as `dir/**`, a `*` inside a segment, two wildcard\n * segments or a `!exclusion`, comes back in `unsupportedPatterns` for the caller to report, because a\n * member silently dropped makes every package it covers look aligned.\n */\nexport function expandWorkspaceMemberPatterns(\n root: string,\n patterns: readonly string[],\n): { members: string[]; unsupportedPatterns: string[] } {\n const members: string[] = [];\n const unsupportedPatterns: string[] = [];\n for (const raw of patterns) {\n const pattern = raw.replace(/^\\.\\//, '').replace(/\\/+$/, '');\n if (!pattern.includes('*') && !pattern.startsWith('!')) {\n members.push(pattern === '' ? '.' : pattern);\n continue;\n }\n const segments = pattern.split('/');\n const wildcardIndex = segments.indexOf('*');\n if (pattern.startsWith('!') || wildcardIndex === -1 || segments.some((segment, index) => index !== wildcardIndex && segment.includes('*'))) {\n unsupportedPatterns.push(raw);\n continue;\n }\n const parent = segments.slice(0, wildcardIndex).join('/');\n const tail = segments.slice(wildcardIndex + 1).join('/');\n let children: string[] = [];\n try {\n children = readdirSync(join(root, parent), { withFileTypes: true })\n .filter((entry) => entry.isDirectory())\n .map((entry) => (tail === '' ? entry.name : `${entry.name}/${tail}`))\n .filter((member) => existsSync(join(root, parent, member, 'package.json')))\n .sort();\n } catch {\n // An absent parent directory expands to no members, as in pnpm.\n }\n members.push(...children.map((name) => (parent === '' ? name : `${parent}/${name}`)));\n }\n return { members, unsupportedPatterns };\n}\n\nfunction readJsonObject(path: string): Record<string, unknown> | undefined {\n try {\n const parsed: unknown = JSON.parse(readFileSync(path, 'utf8'));\n return parsed !== null && typeof parsed === 'object' && !Array.isArray(parsed) ? (parsed as Record<string, unknown>) : undefined;\n } catch {\n return undefined;\n }\n}\n\n/** Each vendor pin an adopted provider module's recorded wiring wrote (#2789): name → its module, from the app lockfile. */\nfunction readAdoptedVendorPins(applicationRoot: string): Map<string, { moduleId: string; ref?: string }> {\n const owners = new Map<string, { moduleId: string; ref?: string }>();\n const lock = readJsonObject(join(applicationRoot, WILDO_SAAS_LOCK_RELATIVE_PATH)) as\n | { sections?: { modules?: { installed?: Record<string, { registration?: { moduleId?: string; providerWiring?: { vendorPins?: Record<string, string> } } }> } } }\n | undefined;\n for (const [moduleId, entry] of Object.entries(lock?.sections?.modules?.installed ?? {})) {\n for (const name of Object.keys(entry.registration?.providerWiring?.vendorPins ?? {})) owners.set(name, { moduleId, ref: entry.registration?.moduleId });\n }\n return owners;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"application-dependency-alignment.service.js","sourceRoot":"","sources":["../../../../src/services/application/application-dependency-alignment.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,IAAI,CAAC;AAC1E,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAC/C,OAAO,EACL,8BAA8B,EAC9B,mBAAmB,EACnB,kBAAkB,EAClB,2BAA2B,EAC3B,6BAA6B,EAC7B,4BAA4B,GAC7B,MAAM,+BAA+B,CAAC;AAEvC,8FAA8F;AAC9F,MAAM,CAAC,MAAM,0CAA0C,GAAG,wCAAwC,CAAC;AAEnG,MAAM,sBAAsB,GAAG,YAAY,CAAC;AAC5C,MAAM,oBAAoB,GAAG,iBAAiB,CAAC;AAW/C;;;;;;;;GAQG;AACH,MAAM,CAAN,IAAY,+BAcX;AAdD,WAAY,+BAA+B;IACzC,mHAAmH;IACnH,wEAAqC,CAAA;IACrC,6FAA6F;IAC7F,oEAAiC,CAAA;IACjC,sGAAsG;IACtG,gEA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AAS,CAAC;IACnI,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,SAAS,CAAC;IACnB,CAAC;AACH,CAAC;AAED,4HAA4H;AAC5H,SAAS,qBAAqB,CAAC,eAAuB;IACpD,MAAM,MAAM,GAAG,IAAI,GAAG,EAA8C,CAAC;IACrE,MAAM,IAAI,GAAG,cAAc,CAAC,IAAI,CAAC,eAAe,EAAE,6BAA6B,CAAC,CAEnE,CAAC;IACd,KAAK,MAAM,CAAC,QAAQ,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,IAAI,EAAE,CAAC,EAAE,CAAC;QACzF,KAAK,MAAM,IAAI,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,YAAY,EAAE,cAAc,EAAE,UAAU,IAAI,EAAE,CAAC;YAAE,MAAM,CAAC,GAAG,CAAC,IAAI,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,KAAK,CAAC,YAAY,EAAE,QAAQ,EAAE,CAAC,CAAC;IAC1J,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC","sourcesContent":["/**\n * ApplicationDependencyAlignmentService — align a STANDALONE application's dependency pins and\n * engine peer declarations against the `@wildo-ai/*` packages it actually has installed (issue #222).\n *\n * ## The problem this closes\n *\n * `wildo init` bakes three derived things into an application: the `@wildo-ai/*` version pins, the\n * third-party pins propagated from the framework's root `pnpm.overrides`, and the engine peer\n * declarations every workspace package must carry. All three are computed from the framework\n * CHECKOUT, at scaffold time. A standalone application has no checkout afterwards, so nothing\n * re-derives them: an application moved to a newer framework keeps the OLD third-party versions and\n * the OLD peer obligations — and the peer half cannot be corrected by reinstalling, because an\n * undeclared peer's resolution is sticky (issue #167).\n *\n * ## Why nothing new has to be published\n *\n * The publish lane already substitutes the framework's root override into every published manifest —\n * exact for `dependencies`, caret-widened for `peerDependencies`. So the pin set and the peer closure\n * are recoverable from the installed packages themselves. Measured against the real 1.1.1 packages in\n * a scaffolded application: of 150 recoverable propagated names, **143 reproduce the framework's own\n * root override exactly**; 5 differ only exact-vs-caret (names that appear ONLY as peers, where the\n * caret is the publish lane's deliberate widening for a consumer); and 2 differ by a major because\n * the framework's root moved AFTER 1.1.1 shipped — which is the point, not a defect. An application\n * aligns to the framework version it HAS, the only contract it can honour.\n *\n * That is why this service reads `node_modules` rather than a published manifest of pins: the data\n * cannot drift from the packages it describes, because it IS them.\n *\n * ## What it deliberately does NOT do\n *\n * It never changes a `@wildo-ai/*` version. Which framework release to adopt is the operator's\n * decision; everything else follows mechanically from it. The flow is:\n *\n * 1. bump the `@wildo-ai/*` entries in the application's overrides (pnpm-workspace.yaml)\n * 2. `pnpm install` (the new pin set cannot be read until the new version is on disk)\n * 3. `wildo align-deps --write`\n * 4. `pnpm install`\n *\n * `wildo update` runs that flow for a release upgrade (`update.command.ts`): the operator's decision\n * is its `--to <version>` / `--tag`, its step 1 is the bump, and its step 3 is the install → this\n * service → install. Use `align-deps` on its own only for the first alignment after `wildo init`.\n */\nimport { existsSync, readdirSync, readFileSync, writeFileSync } from 'fs';\nimport { dirname, join, relative } from 'path';\nimport {\n migrateApplicationPnpmSettings,\n PNPM_OWNED_SETTINGS,\n PnpmSettingsSource,\n readApplicationPnpmSettings,\n WILDO_SAAS_LOCK_RELATIVE_PATH,\n writeApplicationPnpmSettings,\n} from '@wildo-ai/platform-config-lib';\n\n/** Where an application declares the names its own toolchain owns. Seeded by `wildo init`. */\nexport const APPLICATION_DEPENDENCY_EXCLUSIONS_RELATIVE = '.wildo-saas/dependency-exclusions.json';\n\nconst FRAMEWORK_SCOPE_PREFIX = '@wildo-ai/';\nconst EXACT_SEMVER_PATTERN = /^\\d+\\.\\d+\\.\\d+$/;\n\ninterface PackageManifest {\n name?: string;\n dependencies?: Record<string, string>;\n devDependencies?: Record<string, string>;\n peerDependencies?: Record<string, string>;\n peerDependenciesMeta?: Record<string, { optional?: boolean }>;\n optionalDependencies?: Record<string, string>;\n}\n\n/**\n * What is wrong with one manifest entry, and therefore what `--write` will do about it.\n *\n * The four are not degrees of the same thing — they split on TWO axes that need different repairs:\n * whether the name belongs in overrides (pnpm-workspace.yaml) or in the importer's own dependency list, and whether\n * it is ABSENT or present-and-wrong. `peer-pinned-in-place` is the one that reads oddly and matters\n * most: the peer IS declared, but at a concrete version rather than `\"*\"`, so the framework's override\n * cannot reach it and a later pin bump silently will not land.\n */\nexport enum ApplicationAlignmentFindingKind {\n /** The framework pins this name and the application's overrides (pnpm-workspace.yaml) does not carry it at all. */\n OVERRIDE_MISSING = 'override-missing',\n /** The application overrides the name, at a version the installed framework does not pin. */\n OVERRIDE_DRIFT = 'override-drift',\n /** A required engine peer the importer never declares, so `autoInstallPeers` resolves it unpinned. */\n PEER_MISSING = 'peer-missing',\n /** The peer is declared with a concrete version, which the override cannot rewrite. */\n PEER_PINNED_IN_PLACE = 'peer-pinned-in-place',\n /**\n * A pnpm setting Wildo owns (`overrides`, `onlyBuiltDependencies`, `neverBuiltDependencies`) still in `package.json` →\n * `pnpm`, which pnpm 11 does not read (#2808). `--write` moves it, value unchanged, into `pnpm-workspace.yaml`.\n */\n SETTING_IN_PACKAGE_JSON = 'setting-in-package-json',\n}\n\nexport interface ApplicationAlignmentFinding {\n /** Application-root-relative path of the manifest that needs the change. */\n manifestRelativePath: string;\n kind: ApplicationAlignmentFindingKind;\n name: string;\n current?: string;\n desired: string;\n}\n\n/**\n * What alignment REPORTS and never changes (#2789): removing a pin or a dependency needs to know who wrote it, and\n * nothing records that for these. The twin of `findDependencyOrphans` in the framework's alignment script, which this\n * published CLI cannot import.\n */\nexport enum ApplicationAlignmentReportKind {\n /** A root override no authority writes, no manifest declares, and the lockfile resolves nowhere: it pins nothing. */\n ORPHAN_OVERRIDE = 'orphan-override',\n /** An adopted provider module's vendor package, declared by a manifest outside that module's facets. */\n MISPLACED_DEPENDENCY = 'misplaced-dependency',\n}\n\nexport interface ApplicationAlignmentReport {\n manifestRelativePath: string;\n kind: ApplicationAlignmentReportKind;\n name: string;\n /** The override's value (orphan) or the module that owns the package (misplaced). */\n detail: string;\n}\n\nexport interface ApplicationAlignmentResult {\n /** `@wildo-ai/*` packages whose installed manifest was read, with the version found. */\n installedFrameworkPackages: Array<{ name: string; version: string }>;\n /** Third-party names the installed engine pins, after exclusions. */\n derivedOverrides: Record<string, string>;\n /** Per framework package, the transitive REQUIRED peers a consumer must declare. */\n enginePeerClosure: Record<string, string[]>;\n excludedNames: string[];\n findings: ApplicationAlignmentFinding[];\n /**\n * Workspace member patterns this reader cannot expand (`dir/**`, an interior `*`, a `!exclusion`).\n * The packages they cover were NOT aligned; a caller reports them rather than calling the run clean.\n */\n unsupportedWorkspacePatterns: string[];\n /** Report-only defects (#2789): never part of `findings`, never written. */\n reports: ApplicationAlignmentReport[];\n written: boolean;\n}\n\n/** The package an override key governs: `x>y@2` → `y`, `@s/n@^1` → `@s/n`. */\nexport function overrideTargetName(key: string): string {\n const target = key.includes('>') ? key.slice(key.lastIndexOf('>') + 1) : key;\n const at = target.lastIndexOf('@');\n return at > 0 ? target.slice(0, at) : target;\n}\n\n/**\n * Every package name a pnpm lockfile resolves. Only the `packages:` and `snapshots:` blocks are read: the lockfile's own\n * `overrides:` block carries keys like `foo@1`, which would count an orphan override as resolved (#2789 review F7).\n */\nexport function readResolvedPackageNames(lockText: string | undefined): Set<string> {\n const names = new Set<string>();\n if (lockText === undefined) return names;\n let inResolved = false;\n for (const line of lockText.split(/\\r?\\n/)) {\n if (/^\\S/.test(line)) {\n inResolved = /^(packages|snapshots):\\s*$/.test(line);\n continue;\n }\n if (!inResolved) continue;\n const match = /^ {2}'?((?:@[^/'\\s]+\\/)?[^@'\\s/]+)@/.exec(line);\n if (match) names.add(match[1]!);\n }\n return names;\n}\n\nconst DEPENDENCY_FIELDS = ['dependencies', 'devDependencies', 'optionalDependencies', 'peerDependencies'] as const;\n\n/**\n * The two report-only defects of ONE application (#2789), with the semantics of the framework script's twin:\n * an ORPHAN override (no authority writes it, no manifest declares it, the lockfile resolves it nowhere; a deliberate\n * pin on a transitive dependency is resolved, so it is never one) and a MISPLACED dependency (an adopted module's vendor\n * package declared outside that module's facets).\n */\nexport function findDependencyOrphans(input: {\n appOverrides: Record<string, unknown>;\n /** The application-root file the overrides were read from (#2808); `pnpm-workspace.yaml` when not given. */\n overridesRelativePath?: string;\n authoredKeys: ReadonlySet<string>;\n adoptedVendorPins: ReadonlyMap<string, { moduleId: string; ref?: string }>;\n manifests: ReadonlyArray<{ member: string; manifest: Record<string, unknown> | undefined }>;\n resolvedNames: ReadonlySet<string>;\n}): ApplicationAlignmentReport[] {\n const fieldsOf = (manifest: Record<string, unknown> | undefined) => DEPENDENCY_FIELDS\n .map((field) => manifest?.[field])\n .filter((value): value is Record<string, unknown> => value !== null && typeof value === 'object' && !Array.isArray(value));\n const declared = new Set(input.manifests.flatMap(({ manifest }) => fieldsOf(manifest).flatMap((field) => Object.keys(field))));\n const reports: ApplicationAlignmentReport[] = Object.keys(input.appOverrides)\n .filter((key) => !input.authoredKeys.has(key))\n .filter((key) => !overrideTargetName(key).startsWith('@wildo-ai/'))\n .filter((key) => !input.adoptedVendorPins.has(overrideTargetName(key)))\n .filter((key) => !declared.has(overrideTargetName(key)))\n .filter((key) => !input.resolvedNames.has(overrideTargetName(key)))\n .sort()\n .map((key) => ({ manifestRelativePath: input.overridesRelativePath ?? PnpmSettingsSource.WORKSPACE_FILE, kind: ApplicationAlignmentReportKind.ORPHAN_OVERRIDE, name: key, detail: String(input.appOverrides[key]) }));\n const misplaced: ApplicationAlignmentReport[] = [];\n for (const { member, manifest } of input.manifests) {\n for (const [name, owner] of input.adoptedVendorPins) {\n if (owner.ref !== undefined && member.startsWith(`providers/${owner.ref}/`)) continue;\n if (fieldsOf(manifest).some((field) => field[name] !== undefined)) {\n misplaced.push({ manifestRelativePath: join(member, 'package.json'), kind: ApplicationAlignmentReportKind.MISPLACED_DEPENDENCY, name, detail: owner.moduleId });\n }\n }\n }\n // Ordered like the framework script's report: by member, then name.\n return [...reports, ...misplaced.sort((a, b) => `${a.manifestRelativePath}/${a.name}`.localeCompare(`${b.manifestRelativePath}/${b.name}`))];\n}\n\nexport class ApplicationDependencyAlignmentService {\n /**\n * Compute (and optionally apply) the alignment for one application root.\n *\n * Reading is total and writing is per-manifest: a `--check` run touches nothing, and a `--write`\n * run rewrites only the manifests that actually have findings.\n */\n static align(input: { applicationRoot: string; write: boolean }): ApplicationAlignmentResult {\n const { members: workspaceMembers, unsupportedPatterns: unsupportedWorkspacePatterns } =\n ApplicationDependencyAlignmentService.discoverWorkspaceMembers(input.applicationRoot);\n const installed = ApplicationDependencyAlignmentService.readInstalledFrameworkManifests({\n applicationRoot: input.applicationRoot,\n workspaceMembers,\n });\n if (installed.size === 0) {\n throw new Error(\n 'No @wildo-ai/* package could be resolved from this application — run `pnpm install` first. '\n + 'Alignment derives every pin from the framework packages the application HAS installed, so '\n + 'an empty node_modules would silently produce an empty pin set.',\n );\n }\n\n const excludedNames = ApplicationDependencyAlignmentService.readExclusions(input.applicationRoot);\n const derivedOverrides = ApplicationDependencyAlignmentService.deriveOverrides({ installed, excludedNames });\n const enginePeerClosure = ApplicationDependencyAlignmentService.deriveEnginePeerClosure({ installed, excludedNames });\n\n const findings: ApplicationAlignmentFinding[] = [];\n findings.push(...ApplicationDependencyAlignmentService.reconcileRootOverrides({\n applicationRoot: input.applicationRoot, derivedOverrides, write: input.write,\n }));\n for (const member of workspaceMembers) {\n findings.push(...ApplicationDependencyAlignmentService.reconcileMemberPeers({\n applicationRoot: input.applicationRoot, member, enginePeerClosure, write: input.write,\n }));\n }\n\n // #2789: report-only. Read after the writes above, so a run that just added a pin does not report it.\n const lockPath = join(input.applicationRoot, 'pnpm-lock.yaml');\n const settingsAfterWrite = readApplicationPnpmSettings(input.applicationRoot);\n const reports = findDependencyOrphans({\n appOverrides: settingsAfterWrite.overrides ?? {},\n overridesRelativePath: settingsAfterWrite.sources.overrides,\n authoredKeys: new Set(Object.keys(derivedOverrides)),\n adoptedVendorPins: readAdoptedVendorPins(input.applicationRoot),\n manifests: workspaceMembers.map((member) => ({ member, manifest: readJsonObject(join(input.applicationRoot, member, 'package.json')) })),\n resolvedNames: readResolvedPackageNames(existsSync(lockPath) ? readFileSync(lockPath, 'utf8') : undefined),\n });\n\n return {\n reports,\n installedFrameworkPackages: [...installed.entries()]\n .map(([name, manifest]) => ({ name, version: (manifest as { version?: string }).version ?? 'unknown' }))\n .sort((a, b) => a.name.localeCompare(b.name)),\n derivedOverrides,\n enginePeerClosure,\n excludedNames,\n findings,\n unsupportedWorkspacePatterns,\n written: input.write && findings.length > 0,\n };\n }\n\n /**\n * The application's own workspace members, plus its root (`.`).\n *\n * GENERATED drops are skipped: `.wildo-saas/wildo-dev-companion` has its manifest written by the\n * companion delivery on every start, so a declaration reconciled into it is erased.\n *\n * A member may be a GLOB, and one kind always is: `wildo registry add` wires a provider module as\n * `providers/<ref>/*`, one member per facet package. Reading members as literal paths dropped every\n * glob (no directory is literally named `*`), so an installed provider package was never aligned\n * (#2019 review). {@link expandWorkspaceMemberPatterns} expands them with the framework reader's semantics.\n */\n static discoverWorkspaceMembers(applicationRoot: string): { members: string[]; unsupportedPatterns: string[] } {\n const { members, unsupportedPatterns } = expandWorkspaceMemberPatterns(\n applicationRoot,\n readWorkspacePackagePatterns(join(applicationRoot, 'pnpm-workspace.yaml')),\n );\n return {\n members: [...new Set(['.', ...members])]\n .filter((member) => !member.startsWith('.wildo-saas/'))\n .filter((member) => existsSync(join(applicationRoot, member, 'package.json'))),\n unsupportedPatterns,\n };\n }\n\n /**\n * Every `@wildo-ai/*` manifest the application can resolve, keyed by package name.\n *\n * Resolution goes through `createRequire` from each workspace member rather than by walking\n * `node_modules/.pnpm`: the virtual store's directory naming is a pnpm implementation detail, while\n * `require.resolve` is the contract every runtime in the application already uses. A member that\n * cannot resolve a name simply contributes nothing — under pnpm's isolated layout only a package's\n * own declared dependencies are reachable from it, and that is exactly the set that matters.\n */\n static readInstalledFrameworkManifests(input: {\n applicationRoot: string;\n workspaceMembers: string[];\n }): Map<string, PackageManifest> {\n const found = new Map<string, PackageManifest>();\n const candidateNames = new Set<string>();\n\n for (const member of input.workspaceMembers) {\n const manifest = ApplicationDependencyAlignmentService.readManifest(\n join(input.applicationRoot, member, 'package.json'),\n );\n if (!manifest) continue;\n for (const field of ['dependencies', 'devDependencies', 'peerDependencies', 'optionalDependencies'] as const) {\n for (const name of Object.keys(manifest[field] ?? {})) {\n if (name.startsWith(FRAMEWORK_SCOPE_PREFIX)) candidateNames.add(name);\n }\n }\n }\n // The root `pnpm.overrides` names every framework package the scaffolder pinned, including ones\n // no member declares directly — they are still installed, and their peers still land on the app.\n for (const name of Object.keys(readApplicationPnpmSettings(input.applicationRoot).overrides ?? {})) {\n if (name.startsWith(FRAMEWORK_SCOPE_PREFIX)) candidateNames.add(name);\n }\n\n // A framework package's own `@wildo-ai/*` dependencies are followed too: the closure is\n // transitive, and an application need never name `presets-components` to inherit its peers.\n const pending = [...candidateNames];\n while (pending.length > 0) {\n const name = pending.pop() as string;\n if (found.has(name)) continue;\n const manifest = ApplicationDependencyAlignmentService.resolveFrameworkManifest({\n applicationRoot: input.applicationRoot,\n workspaceMembers: input.workspaceMembers,\n name,\n });\n if (!manifest) continue;\n found.set(name, manifest);\n for (const field of ['dependencies', 'peerDependencies', 'optionalDependencies'] as const) {\n for (const dependencyName of Object.keys(manifest[field] ?? {})) {\n if (dependencyName.startsWith(FRAMEWORK_SCOPE_PREFIX) && !found.has(dependencyName)) pending.push(dependencyName);\n }\n }\n }\n return found;\n }\n\n /**\n * Find a framework package's manifest by walking `node_modules` upward from each workspace member,\n * which is Node's own package-DIRECTORY lookup.\n *\n * NOT `require.resolve('<name>/package.json')`, which was the first attempt and does not work: a\n * published `@wildo-ai/*` package declares an `exports` map, and an exports map that does not list\n * `./package.json` makes that specifier unresolvable. Measured on a freshly scaffolded application —\n * every one of the twenty packages was installed and every resolve threw, so the service reported\n * \"no framework package installed\" on a perfectly healthy tree. A directory walk asks the question\n * actually being asked (where does this package LIVE) and is unaffected by what a package exports.\n */\n private static resolveFrameworkManifest(input: {\n applicationRoot: string;\n workspaceMembers: string[];\n name: string;\n }): PackageManifest | null {\n for (const member of input.workspaceMembers) {\n let directory = join(input.applicationRoot, member);\n for (;;) {\n const candidate = join(directory, 'node_modules', input.name, 'package.json');\n if (existsSync(candidate)) return JSON.parse(readFileSync(candidate, 'utf8')) as PackageManifest;\n const parent = dirname(directory);\n if (parent === directory || !parent.startsWith(input.applicationRoot)) break;\n directory = parent;\n }\n }\n return null;\n }\n\n /**\n * The third-party pin set the installed engine implies.\n *\n * When a name appears with several specifiers the EXACT one wins. That is not arbitrary: the\n * publish lane writes the tested version exactly into `dependencies` and widens it to a caret in\n * `peerDependencies`, so both describe the same version and the exact form is the one the framework\n * actually ran. Measured, it reproduces the framework's own root override for 143 of 150 names.\n *\n * ## Only a name the framework's ROOT pins is pinned — never a package's own private dependency\n *\n * The propagation contract (`toolchain-installation-baseline.md`) moves exactly the names the framework\n * root pins, and a manifest says which those are: the publish lane writes a root pin EXACT into\n * `dependencies` and as a caret into `peerDependencies`, and source form writes it `*`. A dependency\n * the root does NOT pin keeps the range its package authored — `platform-config-lib`'s `jiti ^2.6.1`.\n * This used to pin every such range application-wide, and an override reaches every edge that names\n * the package: on 2026-09-24 it forced jiti 2 onto Docusaurus (which loads its config through jiti 1),\n * the documentation site could no longer read `export default config`, and the failed service tore the\n * whole dev stack down on start. So a name is pinned when some framework package declares it exact,\n * `*`, or as a peer; a name only ever declared as a private range stays that package's business.\n */\n static deriveOverrides(input: { installed: Map<string, PackageManifest>; excludedNames: string[] }): Record<string, string> {\n const candidates = new Map<string, Set<string>>();\n const rootPinned = new Set<string>();\n for (const manifest of input.installed.values()) {\n for (const field of ['dependencies', 'peerDependencies'] as const) {\n for (const [name, specifier] of Object.entries(manifest[field] ?? {})) {\n if (name.startsWith(FRAMEWORK_SCOPE_PREFIX)) continue;\n if (ApplicationDependencyAlignmentService.isExcluded(name, input.excludedNames)) continue;\n if (!candidates.has(name)) candidates.set(name, new Set());\n (candidates.get(name) as Set<string>).add(specifier);\n if (field === 'peerDependencies' || specifier === '*' || EXACT_SEMVER_PATTERN.test(specifier)) rootPinned.add(name);\n }\n }\n }\n const overrides: Record<string, string> = {};\n for (const [name, specifiers] of candidates) {\n if (!rootPinned.has(name)) continue;\n const exact = [...specifiers].find((specifier) => EXACT_SEMVER_PATTERN.test(specifier));\n overrides[name] = exact ?? [...specifiers][0];\n }\n return Object.fromEntries(Object.keys(overrides).sort().map((name) => [name, overrides[name]]));\n }\n\n /**\n * Per framework package, the transitive REQUIRED peers a consumer must declare.\n *\n * Optional peers (`peerDependenciesMeta`) are excluded — an optional peer is not an obligation, and\n * `saas-technical-doc` / `saas-website` use that field to say exactly this.\n */\n static deriveEnginePeerClosure(input: {\n installed: Map<string, PackageManifest>;\n excludedNames: string[];\n }): Record<string, string[]> {\n const closureOf = new Map<string, Set<string>>();\n\n const walk = (packageName: string, visiting: Set<string>): Set<string> => {\n const cached = closureOf.get(packageName);\n if (cached) return cached;\n const manifest = input.installed.get(packageName);\n if (!manifest || visiting.has(packageName)) return new Set();\n visiting.add(packageName);\n\n const peers = new Set<string>();\n const optional = manifest.peerDependenciesMeta ?? {};\n for (const name of Object.keys(manifest.peerDependencies ?? {})) {\n if (name.startsWith(FRAMEWORK_SCOPE_PREFIX)) continue;\n if (optional[name]?.optional) continue;\n if (ApplicationDependencyAlignmentService.isExcluded(name, input.excludedNames)) continue;\n peers.add(name);\n }\n for (const field of ['dependencies', 'peerDependencies', 'optionalDependencies'] as const) {\n for (const dependencyName of Object.keys(manifest[field] ?? {})) {\n if (!dependencyName.startsWith(FRAMEWORK_SCOPE_PREFIX)) continue;\n for (const inherited of walk(dependencyName, visiting)) peers.add(inherited);\n }\n }\n visiting.delete(packageName);\n closureOf.set(packageName, peers);\n return peers;\n };\n\n const result: Record<string, string[]> = {};\n for (const packageName of [...input.installed.keys()].sort()) {\n result[packageName] = [...walk(packageName, new Set())].sort();\n }\n return result;\n }\n\n /**\n * Names this application's own toolchain owns, which alignment must never pin.\n *\n * APPLICATION-owned on purpose. The framework's equivalent list is a judgement about a typical\n * application's stack — `esbuild` follows vite, `express` follows webpack-dev-server, `mime`\n * follows express — and pinning those names was measured to break the docs toolchain. A real\n * application knows its own stack better than the framework does, so the list is seeded at\n * `wildo init` and owned from there. An absent file means no exclusions, which is honest for an\n * application that has never declared any.\n */\n static readExclusions(applicationRoot: string): string[] {\n const path = join(applicationRoot, APPLICATION_DEPENDENCY_EXCLUSIONS_RELATIVE);\n if (!existsSync(path)) return [];\n const parsed = JSON.parse(readFileSync(path, 'utf8')) as { excludedNames?: Record<string, string> | string[] };\n const names = Array.isArray(parsed.excludedNames) ? parsed.excludedNames : Object.keys(parsed.excludedNames ?? {});\n return [...names].sort();\n }\n\n /** A key ending in `*` is a prefix match (`@astrojs/*`); anything else is exact. */\n static isExcluded(name: string, excludedNames: string[]): boolean {\n return excludedNames.some((key) => (key.endsWith('*') ? name.startsWith(key.slice(0, -1)) : key === name));\n }\n\n private static reconcileRootOverrides(input: {\n applicationRoot: string;\n derivedOverrides: Record<string, string>;\n write: boolean;\n }): ApplicationAlignmentFinding[] {\n if (!ApplicationDependencyAlignmentService.readManifest(join(input.applicationRoot, 'package.json'))) return [];\n // #2808: the effective settings, wherever pnpm 10 reads them; every write lands in pnpm-workspace.yaml.\n const settings = readApplicationPnpmSettings(input.applicationRoot);\n const current = settings.overrides ?? {};\n\n const findings: ApplicationAlignmentFinding[] = [];\n for (const setting of PNPM_OWNED_SETTINGS) {\n if (settings.sources[setting] !== PnpmSettingsSource.PACKAGE_JSON) continue;\n findings.push({\n manifestRelativePath: PnpmSettingsSource.PACKAGE_JSON,\n kind: ApplicationAlignmentFindingKind.SETTING_IN_PACKAGE_JSON,\n name: `pnpm.${setting}`,\n desired: PnpmSettingsSource.WORKSPACE_FILE,\n });\n }\n for (const [name, desired] of Object.entries(input.derivedOverrides)) {\n const existing = current[name];\n if (existing === desired) continue;\n findings.push({\n manifestRelativePath: PnpmSettingsSource.WORKSPACE_FILE,\n kind: existing === undefined ? ApplicationAlignmentFindingKind.OVERRIDE_MISSING : ApplicationAlignmentFindingKind.OVERRIDE_DRIFT,\n name,\n current: existing,\n desired,\n });\n }\n if (!findings.length || !input.write) return findings;\n\n // MERGE, never replace: the application's `@wildo-ai/*` pins, and any pin it authored itself,\n // are not this service's to decide — only the names the installed engine implies are.\n writeApplicationPnpmSettings(input.applicationRoot, { overrides: { ...current, ...input.derivedOverrides } });\n migrateApplicationPnpmSettings(input.applicationRoot);\n return findings;\n }\n\n private static reconcileMemberPeers(input: {\n applicationRoot: string;\n member: string;\n enginePeerClosure: Record<string, string[]>;\n write: boolean;\n }): ApplicationAlignmentFinding[] {\n const manifestPath = join(input.applicationRoot, input.member, 'package.json');\n const manifest = ApplicationDependencyAlignmentService.readManifest(manifestPath);\n if (!manifest) return [];\n\n const required = new Set<string>();\n for (const field of ['dependencies', 'devDependencies', 'peerDependencies', 'optionalDependencies'] as const) {\n for (const name of Object.keys(manifest[field] ?? {})) {\n if (!name.startsWith(FRAMEWORK_SCOPE_PREFIX)) continue;\n for (const peerName of input.enginePeerClosure[name] ?? []) required.add(peerName);\n }\n }\n // A name already declared as a real dependency needs no peer entry — the override reaches it there.\n for (const field of ['dependencies', 'devDependencies', 'optionalDependencies'] as const) {\n for (const name of Object.keys(manifest[field] ?? {})) required.delete(name);\n }\n\n const peers = { ...(manifest.peerDependencies ?? {}) };\n const findings: ApplicationAlignmentFinding[] = [];\n const relativePath = input.member === '.' ? 'package.json' : `${relative('.', join(input.member, 'package.json'))}`;\n for (const name of [...required].sort()) {\n if (peers[name] === '*') continue;\n findings.push({\n manifestRelativePath: relativePath,\n kind: name in peers ? ApplicationAlignmentFindingKind.PEER_PINNED_IN_PLACE : ApplicationAlignmentFindingKind.PEER_MISSING,\n name,\n current: peers[name],\n desired: '*',\n });\n }\n if (!findings.length || !input.write) return findings;\n\n // `\"*\"` and never a version: the pin lives in overrides (pnpm-workspace.yaml), so a later framework bump reaches\n // the application without touching this block. Nothing is removed — a name the closure does not\n // require may still be the application's own.\n for (const finding of findings) peers[finding.name] = '*';\n manifest.peerDependencies = Object.fromEntries(Object.keys(peers).sort().map((name) => [name, peers[name]]));\n writeFileSync(manifestPath, `${JSON.stringify(manifest, null, 2)}\\n`, 'utf8');\n return findings;\n }\n\n private static readManifest(path: string): PackageManifest | null {\n if (!existsSync(path)) return null;\n return JSON.parse(readFileSync(path, 'utf8')) as PackageManifest;\n }\n\n /** Exposed for the scaffolder's exclusion seeding, which reads the framework's own list. */\n static readFrameworkExclusions(frameworkPath: string): Record<string, string> {\n const path = join(frameworkPath, 'scripts', 'app-dependency-alignment', 'propagated-engine-overrides.json');\n if (!existsSync(path)) return {};\n const parsed = JSON.parse(readFileSync(path, 'utf8')) as { deliberatelyExcluded?: Record<string, string> };\n return parsed.deliberatelyExcluded ?? {};\n }\n\n}\n\n/**\n * The raw member patterns of a workspace file's `packages:` block, in authored order; `[]` when the file\n * is absent. Scoped to that block, as `scripts/pnpm-workspace-members.mjs` is: a scan of every `- ` line\n * also reads `onlyBuiltDependencies:` and the other list blocks as members.\n */\nexport function readWorkspacePackagePatterns(workspaceManifestPath: string): string[] {\n if (!existsSync(workspaceManifestPath)) return [];\n const patterns: string[] = [];\n let inPackages = false;\n for (const rawLine of readFileSync(workspaceManifestPath, 'utf8').split(/\\r?\\n/)) {\n if (/^packages:\\s*$/.test(rawLine)) {\n inPackages = true;\n continue;\n }\n // A new top-level key ends the block; comments and list items do not.\n if (inPackages && /^\\S/.test(rawLine)) break;\n if (!inPackages) continue;\n const item = rawLine.match(/^\\s*-\\s*['\"]?([^'\"#]+?)['\"]?\\s*(#.*)?$/);\n const pattern = item?.[1]?.trim();\n if (pattern) patterns.push(pattern);\n }\n return patterns;\n}\n\n/**\n * Expand `pnpm-workspace.yaml` member patterns into member directories, relative to the root.\n *\n * The same semantics as the framework's one reader, `scripts/pnpm-workspace-members.mjs` (#362),\n * which this published CLI cannot import (it ships without the framework's `scripts/`): a LITERAL\n * path, and a pattern with exactly ONE path segment that is `*` (a trailing `dir/*`, or an interior\n * one followed by a fixed tail, as in the providers-registry workspace's facet members, #2788), whose\n * matches count only when they hold a `package.json` (pnpm's own rule, and what keeps `dist/` and\n * `node_modules/` out). Anything else, such as `dir/**`, a `*` inside a segment, two wildcard\n * segments or a `!exclusion`, comes back in `unsupportedPatterns` for the caller to report, because a\n * member silently dropped makes every package it covers look aligned.\n */\nexport function expandWorkspaceMemberPatterns(\n root: string,\n patterns: readonly string[],\n): { members: string[]; unsupportedPatterns: string[] } {\n const members: string[] = [];\n const unsupportedPatterns: string[] = [];\n for (const raw of patterns) {\n const pattern = raw.replace(/^\\.\\//, '').replace(/\\/+$/, '');\n if (!pattern.includes('*') && !pattern.startsWith('!')) {\n members.push(pattern === '' ? '.' : pattern);\n continue;\n }\n const segments = pattern.split('/');\n const wildcardIndex = segments.indexOf('*');\n if (pattern.startsWith('!') || wildcardIndex === -1 || segments.some((segment, index) => index !== wildcardIndex && segment.includes('*'))) {\n unsupportedPatterns.push(raw);\n continue;\n }\n const parent = segments.slice(0, wildcardIndex).join('/');\n const tail = segments.slice(wildcardIndex + 1).join('/');\n let children: string[] = [];\n try {\n children = readdirSync(join(root, parent), { withFileTypes: true })\n .filter((entry) => entry.isDirectory())\n .map((entry) => (tail === '' ? entry.name : `${entry.name}/${tail}`))\n .filter((member) => existsSync(join(root, parent, member, 'package.json')))\n .sort();\n } catch {\n // An absent parent directory expands to no members, as in pnpm.\n }\n members.push(...children.map((name) => (parent === '' ? name : `${parent}/${name}`)));\n }\n return { members, unsupportedPatterns };\n}\n\nfunction readJsonObject(path: string): Record<string, unknown> | undefined {\n try {\n const parsed: unknown = JSON.parse(readFileSync(path, 'utf8'));\n return parsed !== null && typeof parsed === 'object' && !Array.isArray(parsed) ? (parsed as Record<string, unknown>) : undefined;\n } catch {\n return undefined;\n }\n}\n\n/** Each vendor pin an adopted provider module's recorded wiring wrote (#2789): name → its module, from the app lockfile. */\nfunction readAdoptedVendorPins(applicationRoot: string): Map<string, { moduleId: string; ref?: string }> {\n const owners = new Map<string, { moduleId: string; ref?: string }>();\n const lock = readJsonObject(join(applicationRoot, WILDO_SAAS_LOCK_RELATIVE_PATH)) as\n | { sections?: { modules?: { installed?: Record<string, { registration?: { moduleId?: string; providerWiring?: { vendorPins?: Record<string, string> } } }> } } }\n | undefined;\n for (const [moduleId, entry] of Object.entries(lock?.sections?.modules?.installed ?? {})) {\n for (const name of Object.keys(entry.registration?.providerWiring?.vendorPins ?? {})) owners.set(name, { moduleId, ref: entry.registration?.moduleId });\n }\n return owners;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-dev-port-offsets.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"application-dev-port-offsets.d.ts","sourceRoot":"","sources":["../../../../src/services/application/application-dev-port-offsets.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,4EAA4E;AAC5E,eAAO,MAAM,qBAAqB,MAAM,CAAC;AAEzC;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB,MAAM,CAAC;AAEzC;;;;;GAKG;AACH,eAAO,MAAM,oCAAoC,QAAgD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-dev-port-offsets.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"application-dev-port-offsets.js","sourceRoot":"","sources":["../../../../src/services/application/application-dev-port-offsets.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,4EAA4E;AAC5E,MAAM,CAAC,MAAM,qBAAqB,GAAG,GAAG,CAAC;AAEzC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,GAAG,CAAC;AAEzC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAG,qBAAqB,GAAG,qBAAqB,CAAC","sourcesContent":["/**\n * Port offsets for the two DEVELOPMENT surfaces that sit beside an application's service block.\n *\n * ## Why these are exported rather than module-private\n *\n * They were private constants in `saas-skeleton.service.ts`, which made the scaffolder the only code\n * that could know them — so anything else needing a companion or workbench address had to re-derive\n * it as a literal. That is the defect shape `.claude/rules/invariant-call-site-enumeration.md` #13\n * records: a policy expressed as a module-private constant reaches exactly one site, every other site\n * hard-codes the same number, and a grep for the constant returns 1/1 and reports the invariant fully\n * applied. Both the scaffolder (which ALLOCATES these ports) and the workbench CLI (which must FIND\n * one) now read the same declaration.\n *\n * An application's own runtime services live in a stride-10 block from the port base. These two do\n * not: they are development tools for building and observing the application, with no deployed\n * counterpart the block is sized for.\n */\n\n/** The dev companion: the application's build-time brain, at base + 100. */\nexport const COMPANION_PORT_OFFSET = 100;\n\n/**\n * The application-creation workbench, immediately BESIDE the companion it observes.\n *\n * Adjacency is the point — a reader who knows one port knows the other, and\n * {@link WORKBENCH_PORT_OFFSET_FROM_COMPANION} lets a caller holding only the companion's address\n * reach the workbench without knowing the port base at all.\n */\nexport const WORKBENCH_PORT_OFFSET = 101;\n\n/**\n * The workbench's distance from the companion.\n *\n * DERIVED, never written as `1`: a caller that hard-codes the gap keeps working right up until one\n * of the two offsets moves, and then points confidently at the wrong process.\n */\nexport const WORKBENCH_PORT_OFFSET_FROM_COMPANION = WORKBENCH_PORT_OFFSET - COMPANION_PORT_OFFSET;\n"]}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/** The package that ships the `wildo-dev-runtime` bin. The bin is what the scripts name; this is what must be declared. */
|
|
2
|
+
export declare const DEV_RUNTIME_BIN_PACKAGE = "@wildo-ai/wildo-dev-runtime";
|
|
3
|
+
/** Which generated package a workspace member is, which decides its old and its current `dev`. */
|
|
4
|
+
export declare enum ApplicationDevScriptPackageKind {
|
|
5
|
+
SHARED_LIB = "shared-lib",
|
|
6
|
+
BACKEND_API = "backend-api",
|
|
7
|
+
FRONTEND = "frontend",
|
|
8
|
+
SPECIFICATIONS = "specifications",
|
|
9
|
+
MINION = "minion",
|
|
10
|
+
WORKER = "worker"
|
|
11
|
+
}
|
|
12
|
+
/** What happened to one package's `dev`. */
|
|
13
|
+
export declare enum ApplicationDevScriptMigrationOutcome {
|
|
14
|
+
/** Its `dev` was a previously generated script and is now the current scaffold's. */
|
|
15
|
+
MIGRATED = "migrated",
|
|
16
|
+
/** Its `dev` already is the current scaffold's. */
|
|
17
|
+
ALREADY_CURRENT = "already-current",
|
|
18
|
+
/** Its `dev` is not a script any scaffold generated: the application's own, left alone. */
|
|
19
|
+
NOT_RECOGNISED = "not-recognised",
|
|
20
|
+
/** Generated, but the file the supervised script reads is missing: left alone, the new script would fail. */
|
|
21
|
+
NOT_MIGRATABLE = "not-migratable"
|
|
22
|
+
}
|
|
23
|
+
export interface ApplicationDevScriptMigrationResult {
|
|
24
|
+
/** The member directory, relative to the application root (`shared-lib`, `minions/lead-enricher`). */
|
|
25
|
+
readonly packageDirectory: string;
|
|
26
|
+
readonly kind: ApplicationDevScriptPackageKind;
|
|
27
|
+
readonly outcome: ApplicationDevScriptMigrationOutcome;
|
|
28
|
+
/** The `dev` it had. */
|
|
29
|
+
readonly previousDev: string | undefined;
|
|
30
|
+
/** Why it was left alone, for {@link ApplicationDevScriptMigrationOutcome.NOT_MIGRATABLE}. */
|
|
31
|
+
readonly reason?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Set when its `dev` was NOT moved but its scripts already name `wildo-dev-runtime` and it did not declare
|
|
34
|
+
* {@link DEV_RUNTIME_BIN_PACKAGE}, so the update declared it (#3263). A moved package always gets it declared.
|
|
35
|
+
*/
|
|
36
|
+
readonly declaredBinPackage?: true;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Every `dev` the app-creator branch of the skeleton and scenario templates has generated for each kind, from their git
|
|
40
|
+
* history (`git log --follow -p` on each `package.json.hbs`, 2026-11-03). Pinned against that history's shape by the
|
|
41
|
+
* service test; the CURRENT values are pinned against the templates themselves.
|
|
42
|
+
*/
|
|
43
|
+
export declare const PREVIOUSLY_GENERATED_DEV_SCRIPTS: Readonly<Record<ApplicationDevScriptPackageKind, readonly string[]>>;
|
|
44
|
+
/** The backend's generated `dev:serve`, removed with the `dev` that called it. */
|
|
45
|
+
export declare const PREVIOUSLY_GENERATED_BACKEND_DEV_SERVE = "tsc-alias -p tsconfig.build.json --resolve-full-paths --resolve-full-extension .js && node dist/index.js";
|
|
46
|
+
/**
|
|
47
|
+
* The current scaffold's `dev` for a kind; a minion's and a worker's label is its directory name, as the scenario
|
|
48
|
+
* templates write it (`--label {{minionDir}}`). Pinned equal to the rendered templates by the service test.
|
|
49
|
+
*/
|
|
50
|
+
export declare function currentGeneratedDevScript(kind: ApplicationDevScriptPackageKind, packageDirectory: string): string;
|
|
51
|
+
/**
|
|
52
|
+
* Move every generated member of the application at `applicationRoot` onto the supervised dev loop; see the module
|
|
53
|
+
* JSDoc. Returns one result per generated member it found (members that are none of the six kinds are not listed).
|
|
54
|
+
*/
|
|
55
|
+
export declare function migrateApplicationDevScripts(applicationRoot: string): ApplicationDevScriptMigrationResult[];
|
|
56
|
+
//# sourceMappingURL=application-dev-script-migration.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"application-dev-script-migration.service.d.ts","sourceRoot":"","sources":["../../../../src/services/application/application-dev-script-migration.service.ts"],"names":[],"mappings":"AA6CA,2HAA2H;AAC3H,eAAO,MAAM,uBAAuB,gCAAgC,CAAC;AAKrE,kGAAkG;AAClG,oBAAY,+BAA+B;IACzC,UAAU,eAAe;IACzB,WAAW,gBAAgB;IAC3B,QAAQ,aAAa;IACrB,cAAc,mBAAmB;IACjC,MAAM,WAAW;IACjB,MAAM,WAAW;CAClB;AAED,4CAA4C;AAC5C,oBAAY,oCAAoC;IAC9C,qFAAqF;IACrF,QAAQ,aAAa;IACrB,mDAAmD;IACnD,eAAe,oBAAoB;IACnC,2FAA2F;IAC3F,cAAc,mBAAmB;IACjC,6GAA6G;IAC7G,cAAc,mBAAmB;CAClC;AAED,MAAM,WAAW,mCAAmC;IAClD,sGAAsG;IACtG,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,IAAI,EAAE,+BAA+B,CAAC;IAC/C,QAAQ,CAAC,OAAO,EAAE,oCAAoC,CAAC;IACvD,wBAAwB;IACxB,QAAQ,CAAC,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,8FAA8F;IAC9F,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB;;;OAGG;IACH,QAAQ,CAAC,kBAAkB,CAAC,EAAE,IAAI,CAAC;CACpC;AAID;;;;GAIG;AACH,eAAO,MAAM,gCAAgC,EAAE,QAAQ,CAAC,MAAM,CAAC,+BAA+B,EAAE,SAAS,MAAM,EAAE,CAAC,CAgBjH,CAAC;AAEF,kFAAkF;AAClF,eAAO,MAAM,sCAAsC,6GAAuC,CAAC;AAE3F;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,+BAA+B,EAAE,gBAAgB,EAAE,MAAM,GAAG,MAAM,CAajH;AA4BD;;;GAGG;AACH,wBAAgB,4BAA4B,CAAC,eAAe,EAAE,MAAM,GAAG,mCAAmC,EAAE,CA8C3G"}
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Moves an existing app-creator application's package `dev` scripts onto the supervised dev loop (#3287).
|
|
3
|
+
*
|
|
4
|
+
* ## Why `wildo update` has to do this
|
|
5
|
+
*
|
|
6
|
+
* #3214, #3215, #3216, #3226 and #3257 moved every node package of an app-creator application onto `wildo-dev-runtime`:
|
|
7
|
+
* the shared library and the specifications publish through `compile`, the backend, a minion and a node worker run
|
|
8
|
+
* under `serve`, the frontend keeps its config library current through `frontend`. Each writes a compile record whose
|
|
9
|
+
* `READY` means "emitted, rewritten, verified", and the supervisor starts a runtime only on published builds, restarts
|
|
10
|
+
* it when a package it loads publishes, and owns its process group. Only NEW applications got that: `wildo init` renders
|
|
11
|
+
* the skeleton and `wildo compose` the scenarios, and nothing rewrites a member script afterwards. An application
|
|
12
|
+
* created before kept `tsc-watch … --onSuccess …`, which is how a backend started between shared-lib's emit and its
|
|
13
|
+
* alias pass (`ERR_MODULE_NOT_FOUND`, #3216) and how an orphan kept a port (#3214).
|
|
14
|
+
*
|
|
15
|
+
* ## What it changes, and what it never touches
|
|
16
|
+
*
|
|
17
|
+
* A package is moved ONLY when its `dev` is exactly a script an earlier scaffold generated for it — every app-creator
|
|
18
|
+
* value the skeleton and scenario templates have carried, read from their git history (see
|
|
19
|
+
* {@link PREVIOUSLY_GENERATED_DEV_SCRIPTS}). A `dev` the application reshaped is LEFT ALONE and reported, because an
|
|
20
|
+
* edited script is a decision someone made, and the update cannot tell what it was for. A package whose project file
|
|
21
|
+
* the supervised script needs is missing (a frontend scaffolded before `tsconfig.library.json` existed) is also left
|
|
22
|
+
* alone and reported: the new script would fail where the old one ran.
|
|
23
|
+
*
|
|
24
|
+
* On a move: `dev` becomes the current scaffold's, {@link DEV_RUNTIME_BIN_PACKAGE} is declared as a devDependency (pnpm
|
|
25
|
+
* links the `wildo-dev-runtime` bin only into a package that declares the package shipping it), the backend's
|
|
26
|
+
* generated `dev:serve` is removed (the supervisor starts the server), and `tsc-watch` is dropped when no remaining
|
|
27
|
+
* script names it. Run BEFORE the update's install, so the new devDependency is installed with the rest. Idempotent: a
|
|
28
|
+
* package already on its current script is reported as current and not written.
|
|
29
|
+
*
|
|
30
|
+
* ## A package that already runs the bin, but declares the wrong package for it (#3263)
|
|
31
|
+
*
|
|
32
|
+
* Until #3263 the bin shipped inside `@wildo-ai/platform-core-shared`, and the scaffold and this migration declared that
|
|
33
|
+
* package. The bin now ships in {@link DEV_RUNTIME_BIN_PACKAGE}, so every member whose scripts name `wildo-dev-runtime`
|
|
34
|
+
* — current, moved, or the application's own edit of one — gets that package declared when it is missing, or the next
|
|
35
|
+
* install would leave the scripts naming a program nothing links. The old `@wildo-ai/platform-core-shared` devDependency
|
|
36
|
+
* is left in place: it is harmless, and the package may be imported for other reasons.
|
|
37
|
+
*
|
|
38
|
+
* Only an application pinned to RELEASES reaches it (`wildo update` does not move a checkout-linked, framework-dev
|
|
39
|
+
* application), so the framework developer's observer scripts are never in front of it.
|
|
40
|
+
*/
|
|
41
|
+
import { existsSync, readFileSync, writeFileSync } from 'node:fs';
|
|
42
|
+
import { basename, join } from 'node:path';
|
|
43
|
+
import { expandWorkspaceMemberPatterns, readWorkspacePackagePatterns } from '../../services/application/application-dependency-alignment.service.js';
|
|
44
|
+
/** The package that ships the `wildo-dev-runtime` bin. The bin is what the scripts name; this is what must be declared. */
|
|
45
|
+
export const DEV_RUNTIME_BIN_PACKAGE = '@wildo-ai/wildo-dev-runtime';
|
|
46
|
+
/** The program the supervised scripts run. A member whose scripts name it must declare {@link DEV_RUNTIME_BIN_PACKAGE}. */
|
|
47
|
+
const DEV_RUNTIME_BIN = 'wildo-dev-runtime';
|
|
48
|
+
/** Which generated package a workspace member is, which decides its old and its current `dev`. */
|
|
49
|
+
export var ApplicationDevScriptPackageKind;
|
|
50
|
+
(function (ApplicationDevScriptPackageKind) {
|
|
51
|
+
ApplicationDevScriptPackageKind["SHARED_LIB"] = "shared-lib";
|
|
52
|
+
ApplicationDevScriptPackageKind["BACKEND_API"] = "backend-api";
|
|
53
|
+
ApplicationDevScriptPackageKind["FRONTEND"] = "frontend";
|
|
54
|
+
ApplicationDevScriptPackageKind["SPECIFICATIONS"] = "specifications";
|
|
55
|
+
ApplicationDevScriptPackageKind["MINION"] = "minion";
|
|
56
|
+
ApplicationDevScriptPackageKind["WORKER"] = "worker";
|
|
57
|
+
})(ApplicationDevScriptPackageKind || (ApplicationDevScriptPackageKind = {}));
|
|
58
|
+
/** What happened to one package's `dev`. */
|
|
59
|
+
export var ApplicationDevScriptMigrationOutcome;
|
|
60
|
+
(function (ApplicationDevScriptMigrationOutcome) {
|
|
61
|
+
/** Its `dev` was a previously generated script and is now the current scaffold's. */
|
|
62
|
+
ApplicationDevScriptMigrationOutcome["MIGRATED"] = "migrated";
|
|
63
|
+
/** Its `dev` already is the current scaffold's. */
|
|
64
|
+
ApplicationDevScriptMigrationOutcome["ALREADY_CURRENT"] = "already-current";
|
|
65
|
+
/** Its `dev` is not a script any scaffold generated: the application's own, left alone. */
|
|
66
|
+
ApplicationDevScriptMigrationOutcome["NOT_RECOGNISED"] = "not-recognised";
|
|
67
|
+
/** Generated, but the file the supervised script reads is missing: left alone, the new script would fail. */
|
|
68
|
+
ApplicationDevScriptMigrationOutcome["NOT_MIGRATABLE"] = "not-migratable";
|
|
69
|
+
})(ApplicationDevScriptMigrationOutcome || (ApplicationDevScriptMigrationOutcome = {}));
|
|
70
|
+
const TSC_ALIAS = 'tsc-alias -p tsconfig.build.json --resolve-full-paths --resolve-full-extension .js';
|
|
71
|
+
/**
|
|
72
|
+
* Every `dev` the app-creator branch of the skeleton and scenario templates has generated for each kind, from their git
|
|
73
|
+
* history (`git log --follow -p` on each `package.json.hbs`, 2026-11-03). Pinned against that history's shape by the
|
|
74
|
+
* service test; the CURRENT values are pinned against the templates themselves.
|
|
75
|
+
*/
|
|
76
|
+
export const PREVIOUSLY_GENERATED_DEV_SCRIPTS = {
|
|
77
|
+
[ApplicationDevScriptPackageKind.SHARED_LIB]: [
|
|
78
|
+
`tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess "pnpm exec ${TSC_ALIAS}"`,
|
|
79
|
+
],
|
|
80
|
+
[ApplicationDevScriptPackageKind.BACKEND_API]: [
|
|
81
|
+
// Compile-only: nothing started the server (until #2226).
|
|
82
|
+
`tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess "${TSC_ALIAS}"`,
|
|
83
|
+
`tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess "sh -c '${TSC_ALIAS} && node dist/index.js'"`,
|
|
84
|
+
'tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess "pnpm run dev:serve"',
|
|
85
|
+
],
|
|
86
|
+
[ApplicationDevScriptPackageKind.FRONTEND]: ['vite'],
|
|
87
|
+
[ApplicationDevScriptPackageKind.SPECIFICATIONS]: [
|
|
88
|
+
`tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess "${TSC_ALIAS}"`,
|
|
89
|
+
],
|
|
90
|
+
[ApplicationDevScriptPackageKind.MINION]: ['tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess "node dist/index.js"'],
|
|
91
|
+
[ApplicationDevScriptPackageKind.WORKER]: ['tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess "node dist/index.js"'],
|
|
92
|
+
};
|
|
93
|
+
/** The backend's generated `dev:serve`, removed with the `dev` that called it. */
|
|
94
|
+
export const PREVIOUSLY_GENERATED_BACKEND_DEV_SERVE = `${TSC_ALIAS} && node dist/index.js`;
|
|
95
|
+
/**
|
|
96
|
+
* The current scaffold's `dev` for a kind; a minion's and a worker's label is its directory name, as the scenario
|
|
97
|
+
* templates write it (`--label {{minionDir}}`). Pinned equal to the rendered templates by the service test.
|
|
98
|
+
*/
|
|
99
|
+
export function currentGeneratedDevScript(kind, packageDirectory) {
|
|
100
|
+
switch (kind) {
|
|
101
|
+
case ApplicationDevScriptPackageKind.SHARED_LIB:
|
|
102
|
+
case ApplicationDevScriptPackageKind.SPECIFICATIONS:
|
|
103
|
+
return 'wildo-dev-runtime compile --project tsconfig.build.json --dist dist/esm';
|
|
104
|
+
case ApplicationDevScriptPackageKind.BACKEND_API:
|
|
105
|
+
return 'wildo-dev-runtime serve --project tsconfig.build.json --dist dist --entry dist/index.js --label backend-api';
|
|
106
|
+
case ApplicationDevScriptPackageKind.FRONTEND:
|
|
107
|
+
return 'wildo-dev-runtime frontend --command vite --project tsconfig.library.json --dist dist/library';
|
|
108
|
+
case ApplicationDevScriptPackageKind.MINION:
|
|
109
|
+
case ApplicationDevScriptPackageKind.WORKER:
|
|
110
|
+
return `wildo-dev-runtime serve --project tsconfig.build.json --dist dist --entry dist/index.js --label ${basename(packageDirectory)}`;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
/** The project file the current script compiles with, relative to the package: absent, the script cannot run. */
|
|
114
|
+
function requiredProjectFile(kind) {
|
|
115
|
+
return kind === ApplicationDevScriptPackageKind.FRONTEND ? 'tsconfig.library.json' : 'tsconfig.build.json';
|
|
116
|
+
}
|
|
117
|
+
/** Which generated package a member is: a minion or a worker by its declared `wildo.kind`, the rest by the skeleton's directory. */
|
|
118
|
+
function classifyMember(packageDirectory, manifest) {
|
|
119
|
+
if (manifest.wildo?.kind === 'minion')
|
|
120
|
+
return ApplicationDevScriptPackageKind.MINION;
|
|
121
|
+
if (manifest.wildo?.kind === 'worker')
|
|
122
|
+
return ApplicationDevScriptPackageKind.WORKER;
|
|
123
|
+
switch (packageDirectory) {
|
|
124
|
+
case 'shared-lib': return ApplicationDevScriptPackageKind.SHARED_LIB;
|
|
125
|
+
case 'backend-api': return ApplicationDevScriptPackageKind.BACKEND_API;
|
|
126
|
+
case 'frontend': return ApplicationDevScriptPackageKind.FRONTEND;
|
|
127
|
+
case 'specifications': return ApplicationDevScriptPackageKind.SPECIFICATIONS;
|
|
128
|
+
default: return undefined;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Move every generated member of the application at `applicationRoot` onto the supervised dev loop; see the module
|
|
133
|
+
* JSDoc. Returns one result per generated member it found (members that are none of the six kinds are not listed).
|
|
134
|
+
*/
|
|
135
|
+
export function migrateApplicationDevScripts(applicationRoot) {
|
|
136
|
+
const { members } = expandWorkspaceMemberPatterns(applicationRoot, readWorkspacePackagePatterns(join(applicationRoot, 'pnpm-workspace.yaml')));
|
|
137
|
+
const results = [];
|
|
138
|
+
for (const packageDirectory of members) {
|
|
139
|
+
const manifestPath = join(applicationRoot, packageDirectory, 'package.json');
|
|
140
|
+
if (!existsSync(manifestPath))
|
|
141
|
+
continue;
|
|
142
|
+
const original = readFileSync(manifestPath, 'utf8');
|
|
143
|
+
let manifest;
|
|
144
|
+
try {
|
|
145
|
+
manifest = JSON.parse(original);
|
|
146
|
+
}
|
|
147
|
+
catch {
|
|
148
|
+
continue;
|
|
149
|
+
}
|
|
150
|
+
const kind = classifyMember(packageDirectory, manifest);
|
|
151
|
+
if (kind === undefined)
|
|
152
|
+
continue;
|
|
153
|
+
const previousDev = manifest.scripts?.dev;
|
|
154
|
+
const current = currentGeneratedDevScript(kind, packageDirectory);
|
|
155
|
+
const base = { packageDirectory, kind, previousDev };
|
|
156
|
+
const leftAlone = (result) => {
|
|
157
|
+
const declared = declareBinPackageWhereNamed(manifestPath, original, manifest);
|
|
158
|
+
results.push(declared ? { ...result, declaredBinPackage: true } : result);
|
|
159
|
+
};
|
|
160
|
+
if (previousDev === current) {
|
|
161
|
+
leftAlone({ ...base, outcome: ApplicationDevScriptMigrationOutcome.ALREADY_CURRENT });
|
|
162
|
+
continue;
|
|
163
|
+
}
|
|
164
|
+
if (previousDev === undefined || !PREVIOUSLY_GENERATED_DEV_SCRIPTS[kind].includes(previousDev)) {
|
|
165
|
+
leftAlone({ ...base, outcome: ApplicationDevScriptMigrationOutcome.NOT_RECOGNISED });
|
|
166
|
+
continue;
|
|
167
|
+
}
|
|
168
|
+
const projectFile = requiredProjectFile(kind);
|
|
169
|
+
if (!existsSync(join(applicationRoot, packageDirectory, projectFile))) {
|
|
170
|
+
leftAlone({ ...base, outcome: ApplicationDevScriptMigrationOutcome.NOT_MIGRATABLE, reason: `${packageDirectory}/${projectFile} is missing, and the supervised script compiles with it` });
|
|
171
|
+
continue;
|
|
172
|
+
}
|
|
173
|
+
const scripts = { ...manifest.scripts, dev: current };
|
|
174
|
+
if (kind === ApplicationDevScriptPackageKind.BACKEND_API && scripts['dev:serve'] === PREVIOUSLY_GENERATED_BACKEND_DEV_SERVE)
|
|
175
|
+
delete scripts['dev:serve'];
|
|
176
|
+
const devDependencies = { ...manifest.devDependencies };
|
|
177
|
+
if (devDependencies[DEV_RUNTIME_BIN_PACKAGE] === undefined)
|
|
178
|
+
devDependencies[DEV_RUNTIME_BIN_PACKAGE] = '*';
|
|
179
|
+
if (!Object.values(scripts).some((script) => script.includes('tsc-watch')))
|
|
180
|
+
delete devDependencies['tsc-watch'];
|
|
181
|
+
const migrated = { ...manifest, scripts, devDependencies: sortedRecord(devDependencies) };
|
|
182
|
+
writeManifest(manifestPath, original, migrated);
|
|
183
|
+
results.push({ ...base, outcome: ApplicationDevScriptMigrationOutcome.MIGRATED });
|
|
184
|
+
}
|
|
185
|
+
return results;
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* For a member whose `dev` was left as it is: when one of its scripts names `wildo-dev-runtime` and it does not declare
|
|
189
|
+
* {@link DEV_RUNTIME_BIN_PACKAGE}, declare it (see the module JSDoc, #3263). Returns whether it wrote.
|
|
190
|
+
*/
|
|
191
|
+
function declareBinPackageWhereNamed(manifestPath, original, manifest) {
|
|
192
|
+
const namesBin = Object.values(manifest.scripts ?? {}).some((script) => new RegExp(`(^|[\\s;&|(])${DEV_RUNTIME_BIN}(\\s|$)`, 'u').test(script));
|
|
193
|
+
if (!namesBin || manifest.devDependencies?.[DEV_RUNTIME_BIN_PACKAGE] !== undefined)
|
|
194
|
+
return false;
|
|
195
|
+
const devDependencies = sortedRecord({ ...manifest.devDependencies, [DEV_RUNTIME_BIN_PACKAGE]: '*' });
|
|
196
|
+
writeManifest(manifestPath, original, { ...manifest, devDependencies });
|
|
197
|
+
return true;
|
|
198
|
+
}
|
|
199
|
+
/** Writes a manifest with the indentation it was read with. */
|
|
200
|
+
function writeManifest(manifestPath, original, manifest) {
|
|
201
|
+
const indent = /^\{\n(\s+)"/u.exec(original)?.[1] ?? ' ';
|
|
202
|
+
writeFileSync(manifestPath, `${JSON.stringify(manifest, null, indent)}\n`, 'utf8');
|
|
203
|
+
}
|
|
204
|
+
/** Dependency blocks are kept in key order, as pnpm writes them. */
|
|
205
|
+
function sortedRecord(record) {
|
|
206
|
+
return Object.fromEntries(Object.keys(record).sort().map((key) => [key, record[key]]));
|
|
207
|
+
}
|
|
208
|
+
//# sourceMappingURL=application-dev-script-migration.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"application-dev-script-migration.service.js","sourceRoot":"","sources":["../../../../src/services/application/application-dev-script-migration.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAE3C,OAAO,EAAE,6BAA6B,EAAE,4BAA4B,EAAE,MAAM,0EAA0E,CAAC;AAEvJ,2HAA2H;AAC3H,MAAM,CAAC,MAAM,uBAAuB,GAAG,6BAA6B,CAAC;AAErE,2HAA2H;AAC3H,MAAM,eAAe,GAAG,mBAAmB,CAAC;AAE5C,kGAAkG;AAClG,MAAM,CAAN,IAAY,+BAOX;AAPD,WAAY,+BAA+B;IACzC,4DAAyB,CAAA;IACzB,8DAA2B,CAAA;IAC3B,wDAAqB,CAAA;IACrB,oEAAiC,CAAA;IACjC,oDAAiB,CAAA;IACjB,oDAAiB,CAAA;AACnB,CAAC,EAPW,+BAA+B,KAA/B,+BAA+B,QAO1C;AAED,4CAA4C;AAC5C,MAAM,CAAN,IAAY,oCASX;AATD,WAAY,oCAAoC;IAC9C,qFAAqF;IACrF,6DAAqB,CAAA;IACrB,mDAAmD;IACnD,2EAAmC,CAAA;IACnC,2FAA2F;IAC3F,yEAAiC,CAAA;IACjC,6GAA6G;IAC7G,yEAAiC,CAAA;AACnC,CAAC,EATW,oCAAoC,KAApC,oCAAoC,QAS/C;AAkBD,MAAM,SAAS,GAAG,oFAAoF,CAAC;AAEvG;;;;GAIG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAyE;IACpH,CAAC,+BAA+B,CAAC,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,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;IAChJ,IAAI,CAAC,QAAQ,IAAI,QAAQ,CAAC,eAAe,EAAE,CAAC,uBAAuB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACjG,MAAM,eAAe,GAAG,YAAY,CAAC,EAAE,GAAG,QAAQ,CAAC,eAAe,EAAE,CAAC,uBAAuB,CAAC,EAAE,GAAG,EAAE,CAAC,CAAC;IACtG,aAAa,CAAC,YAAY,EAAE,QAAQ,EAAE,EAAE,GAAG,QAAQ,EAAE,eAAe,EAAE,CAAC,CAAC;IACxE,OAAO,IAAI,CAAC;AACd,CAAC;AAED,+DAA+D;AAC/D,SAAS,aAAa,CAAC,YAAoB,EAAE,QAAgB,EAAE,QAAyB;IACtF,MAAM,MAAM,GAAG,cAAc,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC;IAC1D,aAAa,CAAC,YAAY,EAAE,GAAG,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,IAAI,EAAE,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;AACrF,CAAC;AAED,oEAAoE;AACpE,SAAS,YAAY,CAAC,MAA8B;IAClD,OAAO,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE,MAAM,CAAC,GAAG,CAAE,CAAC,CAAC,CAAC,CAAC;AAC1F,CAAC","sourcesContent":["/**\n * Moves an existing app-creator application's package `dev` scripts onto the supervised dev loop (#3287).\n *\n * ## Why `wildo update` has to do this\n *\n * #3214, #3215, #3216, #3226 and #3257 moved every node package of an app-creator application onto `wildo-dev-runtime`:\n * the shared library and the specifications publish through `compile`, the backend, a minion and a node worker run\n * under `serve`, the frontend keeps its config library current through `frontend`. Each writes a compile record whose\n * `READY` means \"emitted, rewritten, verified\", and the supervisor starts a runtime only on published builds, restarts\n * it when a package it loads publishes, and owns its process group. Only NEW applications got that: `wildo init` renders\n * the skeleton and `wildo compose` the scenarios, and nothing rewrites a member script afterwards. An application\n * created before kept `tsc-watch … --onSuccess …`, which is how a backend started between shared-lib's emit and its\n * alias pass (`ERR_MODULE_NOT_FOUND`, #3216) and how an orphan kept a port (#3214).\n *\n * ## What it changes, and what it never touches\n *\n * A package is moved ONLY when its `dev` is exactly a script an earlier scaffold generated for it — every app-creator\n * value the skeleton and scenario templates have carried, read from their git history (see\n * {@link PREVIOUSLY_GENERATED_DEV_SCRIPTS}). A `dev` the application reshaped is LEFT ALONE and reported, because an\n * edited script is a decision someone made, and the update cannot tell what it was for. A package whose project file\n * the supervised script needs is missing (a frontend scaffolded before `tsconfig.library.json` existed) is also left\n * alone and reported: the new script would fail where the old one ran.\n *\n * On a move: `dev` becomes the current scaffold's, {@link DEV_RUNTIME_BIN_PACKAGE} is declared as a devDependency (pnpm\n * links the `wildo-dev-runtime` bin only into a package that declares the package shipping it), the backend's\n * generated `dev:serve` is removed (the supervisor starts the server), and `tsc-watch` is dropped when no remaining\n * script names it. Run BEFORE the update's install, so the new devDependency is installed with the rest. Idempotent: a\n * package already on its current script is reported as current and not written.\n *\n * ## A package that already runs the bin, but declares the wrong package for it (#3263)\n *\n * Until #3263 the bin shipped inside `@wildo-ai/platform-core-shared`, and the scaffold and this migration declared that\n * package. The bin now ships in {@link DEV_RUNTIME_BIN_PACKAGE}, so every member whose scripts name `wildo-dev-runtime`\n * — current, moved, or the application's own edit of one — gets that package declared when it is missing, or the next\n * install would leave the scripts naming a program nothing links. The old `@wildo-ai/platform-core-shared` devDependency\n * is left in place: it is harmless, and the package may be imported for other reasons.\n *\n * Only an application pinned to RELEASES reaches it (`wildo update` does not move a checkout-linked, framework-dev\n * application), so the framework developer's observer scripts are never in front of it.\n */\nimport { existsSync, readFileSync, writeFileSync } from 'node:fs';\nimport { basename, join } from 'node:path';\n\nimport { expandWorkspaceMemberPatterns, readWorkspacePackagePatterns } from '~wildo-cli/services/application/application-dependency-alignment.service';\n\n/** The package that ships the `wildo-dev-runtime` bin. The bin is what the scripts name; this is what must be declared. */\nexport const DEV_RUNTIME_BIN_PACKAGE = '@wildo-ai/wildo-dev-runtime';\n\n/** The program the supervised scripts run. A member whose scripts name it must declare {@link DEV_RUNTIME_BIN_PACKAGE}. */\nconst DEV_RUNTIME_BIN = 'wildo-dev-runtime';\n\n/** Which generated package a workspace member is, which decides its old and its current `dev`. */\nexport enum ApplicationDevScriptPackageKind {\n SHARED_LIB = 'shared-lib',\n BACKEND_API = 'backend-api',\n FRONTEND = 'frontend',\n SPECIFICATIONS = 'specifications',\n MINION = 'minion',\n WORKER = 'worker',\n}\n\n/** What happened to one package's `dev`. */\nexport enum ApplicationDevScriptMigrationOutcome {\n /** Its `dev` was a previously generated script and is now the current scaffold's. */\n MIGRATED = 'migrated',\n /** Its `dev` already is the current scaffold's. */\n ALREADY_CURRENT = 'already-current',\n /** Its `dev` is not a script any scaffold generated: the application's own, left alone. */\n NOT_RECOGNISED = 'not-recognised',\n /** Generated, but the file the supervised script reads is missing: left alone, the new script would fail. */\n NOT_MIGRATABLE = 'not-migratable',\n}\n\nexport interface ApplicationDevScriptMigrationResult {\n /** The member directory, relative to the application root (`shared-lib`, `minions/lead-enricher`). */\n readonly packageDirectory: string;\n readonly kind: ApplicationDevScriptPackageKind;\n readonly outcome: ApplicationDevScriptMigrationOutcome;\n /** The `dev` it had. */\n readonly previousDev: string | undefined;\n /** Why it was left alone, for {@link ApplicationDevScriptMigrationOutcome.NOT_MIGRATABLE}. */\n readonly reason?: string;\n /**\n * Set when its `dev` was NOT moved but its scripts already name `wildo-dev-runtime` and it did not declare\n * {@link DEV_RUNTIME_BIN_PACKAGE}, so the update declared it (#3263). A moved package always gets it declared.\n */\n readonly declaredBinPackage?: true;\n}\n\nconst TSC_ALIAS = 'tsc-alias -p tsconfig.build.json --resolve-full-paths --resolve-full-extension .js';\n\n/**\n * Every `dev` the app-creator branch of the skeleton and scenario templates has generated for each kind, from their git\n * history (`git log --follow -p` on each `package.json.hbs`, 2026-11-03). Pinned against that history's shape by the\n * service test; the CURRENT values are pinned against the templates themselves.\n */\nexport const PREVIOUSLY_GENERATED_DEV_SCRIPTS: Readonly<Record<ApplicationDevScriptPackageKind, readonly string[]>> = {\n [ApplicationDevScriptPackageKind.SHARED_LIB]: [\n `tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess \"pnpm exec ${TSC_ALIAS}\"`,\n ],\n [ApplicationDevScriptPackageKind.BACKEND_API]: [\n // Compile-only: nothing started the server (until #2226).\n `tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess \"${TSC_ALIAS}\"`,\n `tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess \"sh -c '${TSC_ALIAS} && node dist/index.js'\"`,\n 'tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess \"pnpm run dev:serve\"',\n ],\n [ApplicationDevScriptPackageKind.FRONTEND]: ['vite'],\n [ApplicationDevScriptPackageKind.SPECIFICATIONS]: [\n `tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess \"${TSC_ALIAS}\"`,\n ],\n [ApplicationDevScriptPackageKind.MINION]: ['tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess \"node dist/index.js\"'],\n [ApplicationDevScriptPackageKind.WORKER]: ['tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess \"node dist/index.js\"'],\n};\n\n/** The backend's generated `dev:serve`, removed with the `dev` that called it. */\nexport const PREVIOUSLY_GENERATED_BACKEND_DEV_SERVE = `${TSC_ALIAS} && node dist/index.js`;\n\n/**\n * The current scaffold's `dev` for a kind; a minion's and a worker's label is its directory name, as the scenario\n * templates write it (`--label {{minionDir}}`). Pinned equal to the rendered templates by the service test.\n */\nexport function currentGeneratedDevScript(kind: ApplicationDevScriptPackageKind, packageDirectory: string): string {\n switch (kind) {\n case ApplicationDevScriptPackageKind.SHARED_LIB:\n case ApplicationDevScriptPackageKind.SPECIFICATIONS:\n return 'wildo-dev-runtime compile --project tsconfig.build.json --dist dist/esm';\n case ApplicationDevScriptPackageKind.BACKEND_API:\n return 'wildo-dev-runtime serve --project tsconfig.build.json --dist dist --entry dist/index.js --label backend-api';\n case ApplicationDevScriptPackageKind.FRONTEND:\n return 'wildo-dev-runtime frontend --command vite --project tsconfig.library.json --dist dist/library';\n case ApplicationDevScriptPackageKind.MINION:\n case ApplicationDevScriptPackageKind.WORKER:\n return `wildo-dev-runtime serve --project tsconfig.build.json --dist dist --entry dist/index.js --label ${basename(packageDirectory)}`;\n }\n}\n\n/** The project file the current script compiles with, relative to the package: absent, the script cannot run. */\nfunction requiredProjectFile(kind: ApplicationDevScriptPackageKind): string {\n return kind === ApplicationDevScriptPackageKind.FRONTEND ? 'tsconfig.library.json' : 'tsconfig.build.json';\n}\n\ninterface PackageManifest {\n name?: string;\n wildo?: { kind?: string };\n scripts?: Record<string, string>;\n devDependencies?: Record<string, string>;\n [key: string]: unknown;\n}\n\n/** Which generated package a member is: a minion or a worker by its declared `wildo.kind`, the rest by the skeleton's directory. */\nfunction classifyMember(packageDirectory: string, manifest: PackageManifest): ApplicationDevScriptPackageKind | undefined {\n if (manifest.wildo?.kind === 'minion') return ApplicationDevScriptPackageKind.MINION;\n if (manifest.wildo?.kind === 'worker') return ApplicationDevScriptPackageKind.WORKER;\n switch (packageDirectory) {\n case 'shared-lib': return ApplicationDevScriptPackageKind.SHARED_LIB;\n case 'backend-api': return ApplicationDevScriptPackageKind.BACKEND_API;\n case 'frontend': return ApplicationDevScriptPackageKind.FRONTEND;\n case 'specifications': return ApplicationDevScriptPackageKind.SPECIFICATIONS;\n default: return undefined;\n }\n}\n\n/**\n * Move every generated member of the application at `applicationRoot` onto the supervised dev loop; see the module\n * JSDoc. Returns one result per generated member it found (members that are none of the six kinds are not listed).\n */\nexport function migrateApplicationDevScripts(applicationRoot: string): ApplicationDevScriptMigrationResult[] {\n const { members } = expandWorkspaceMemberPatterns(applicationRoot, readWorkspacePackagePatterns(join(applicationRoot, 'pnpm-workspace.yaml')));\n const results: ApplicationDevScriptMigrationResult[] = [];\n for (const packageDirectory of members) {\n const manifestPath = join(applicationRoot, packageDirectory, 'package.json');\n if (!existsSync(manifestPath)) continue;\n const original = readFileSync(manifestPath, 'utf8');\n let manifest: PackageManifest;\n try {\n manifest = JSON.parse(original) as PackageManifest;\n } catch {\n continue;\n }\n const kind = classifyMember(packageDirectory, manifest);\n if (kind === undefined) continue;\n const previousDev = manifest.scripts?.dev;\n const current = currentGeneratedDevScript(kind, packageDirectory);\n const base = { packageDirectory, kind, previousDev };\n const leftAlone = (result: Omit<ApplicationDevScriptMigrationResult, 'declaredBinPackage'>): void => {\n const declared = declareBinPackageWhereNamed(manifestPath, original, manifest);\n results.push(declared ? { ...result, declaredBinPackage: true } : result);\n };\n if (previousDev === current) {\n leftAlone({ ...base, outcome: ApplicationDevScriptMigrationOutcome.ALREADY_CURRENT });\n continue;\n }\n if (previousDev === undefined || !PREVIOUSLY_GENERATED_DEV_SCRIPTS[kind].includes(previousDev)) {\n leftAlone({ ...base, outcome: ApplicationDevScriptMigrationOutcome.NOT_RECOGNISED });\n continue;\n }\n const projectFile = requiredProjectFile(kind);\n if (!existsSync(join(applicationRoot, packageDirectory, projectFile))) {\n leftAlone({ ...base, outcome: ApplicationDevScriptMigrationOutcome.NOT_MIGRATABLE, reason: `${packageDirectory}/${projectFile} is missing, and the supervised script compiles with it` });\n continue;\n }\n\n const scripts = { ...manifest.scripts, dev: current };\n if (kind === ApplicationDevScriptPackageKind.BACKEND_API && scripts['dev:serve'] === PREVIOUSLY_GENERATED_BACKEND_DEV_SERVE) delete scripts['dev:serve'];\n const devDependencies = { ...manifest.devDependencies };\n if (devDependencies[DEV_RUNTIME_BIN_PACKAGE] === undefined) devDependencies[DEV_RUNTIME_BIN_PACKAGE] = '*';\n if (!Object.values(scripts).some((script) => script.includes('tsc-watch'))) delete devDependencies['tsc-watch'];\n const migrated: PackageManifest = { ...manifest, scripts, devDependencies: sortedRecord(devDependencies) };\n writeManifest(manifestPath, original, migrated);\n results.push({ ...base, outcome: ApplicationDevScriptMigrationOutcome.MIGRATED });\n }\n return results;\n}\n\n/**\n * For a member whose `dev` was left as it is: when one of its scripts names `wildo-dev-runtime` and it does not declare\n * {@link DEV_RUNTIME_BIN_PACKAGE}, declare it (see the module JSDoc, #3263). Returns whether it wrote.\n */\nfunction declareBinPackageWhereNamed(manifestPath: string, original: string, manifest: PackageManifest): boolean {\n const namesBin = Object.values(manifest.scripts ?? {}).some((script) => new RegExp(`(^|[\\\\s;&|(])${DEV_RUNTIME_BIN}(\\\\s|$)`, 'u').test(script));\n if (!namesBin || manifest.devDependencies?.[DEV_RUNTIME_BIN_PACKAGE] !== undefined) return false;\n const devDependencies = sortedRecord({ ...manifest.devDependencies, [DEV_RUNTIME_BIN_PACKAGE]: '*' });\n writeManifest(manifestPath, original, { ...manifest, devDependencies });\n return true;\n}\n\n/** Writes a manifest with the indentation it was read with. */\nfunction writeManifest(manifestPath: string, original: string, manifest: PackageManifest): void {\n const indent = /^\\{\\n(\\s+)\"/u.exec(original)?.[1] ?? ' ';\n writeFileSync(manifestPath, `${JSON.stringify(manifest, null, indent)}\\n`, 'utf8');\n}\n\n/** Dependency blocks are kept in key order, as pnpm writes them. */\nfunction sortedRecord(record: Record<string, string>): Record<string, string> {\n return Object.fromEntries(Object.keys(record).sort().map((key) => [key, record[key]!]));\n}\n"]}
|