@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
|
@@ -0,0 +1,442 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Runs an application's systems of record against the provider simulator fleet on a developer machine (#3039): the
|
|
3
|
+
* service behind `wildo local sor-simulators`, `wildo local sor-secrets` and `wildo local sor-addresses`.
|
|
4
|
+
*
|
|
5
|
+
* ## What it derives, and from what
|
|
6
|
+
*
|
|
7
|
+
* Everything is derived from what the application already declares, so a created application gets a working local ERP
|
|
8
|
+
* the moment its CONFIG task declares an instance, with nothing restated by hand:
|
|
9
|
+
*
|
|
10
|
+
* - **which instances**: `systemsOfRecord` in `wildo.saas.config.ts`, kept to those whose LOCAL address is absent or
|
|
11
|
+
* loopback. An instance addressed at a real vendor, or declared `{ enabled: false }`, is the developer's decision and
|
|
12
|
+
* is reported, never overridden.
|
|
13
|
+
* - **which ports**: the application's port block, its allocated port base (the lowest backend `defaultPort`, which
|
|
14
|
+
* `wildo init`'s allocator keeps unique among sibling applications) plus {@link SYSTEM_OF_RECORD_SIMULATOR_PORT_OFFSET}.
|
|
15
|
+
* Two applications on one machine therefore never contend for a face.
|
|
16
|
+
* - **which data**: `system-of-record-simulators/fleet.dataset.ts` (neutral) or `fleet.fixture.ts` (vendor-shaped) at
|
|
17
|
+
* the application root, else the fleet's starter dataset.
|
|
18
|
+
* - **addresses, secrets, faces**: the simulators package's developer-fleet plan, asked through its own command line,
|
|
19
|
+
* because that package is not a dependency of this CLI. Where that command line is found is
|
|
20
|
+
* {@link locateProviderSimulators}.
|
|
21
|
+
*
|
|
22
|
+
* ## The join with the engine
|
|
23
|
+
*
|
|
24
|
+
* The plan restates each vendor's slots, because the simulators import nothing from Wildo. So before a secret is seeded
|
|
25
|
+
* or an address written, the plan is checked against the slots the ENGINE resolves for the instance
|
|
26
|
+
* ({@link resolveDeclaredSystemOfRecordSecrets}): a required slot the plan does not fill, or a slot the engine does not
|
|
27
|
+
* have, refuses that instance. A double cannot silently drift from the facet it stands in for.
|
|
28
|
+
*
|
|
29
|
+
* ## Where the fleet comes from (#3047)
|
|
30
|
+
*
|
|
31
|
+
* `@wildo-ai/provider-simulators` is a published OPT-IN framework package (decided by Paul, 2026-10-21): an application
|
|
32
|
+
* that wants a local system of record declares it as a devDependency of its root (`"*"`, linked by `wildo config sync`
|
|
33
|
+
* to its framework release, or to a `file:` path in a framework checkout). The fleet is looked for in this order:
|
|
34
|
+
*
|
|
35
|
+
* 1. **the application's own `node_modules`**: the package it declared, run as its `bin` with this CLI's node. That is
|
|
36
|
+
* what an application created in app-creator mode has, and what a framework-development application that declares
|
|
37
|
+
* the package runs too, so both modes run the same artifact;
|
|
38
|
+
* 2. **the framework checkout**: the package's source, run with tsx from its own lockfile. What the dogfood applications
|
|
39
|
+
* use, since they do not declare it;
|
|
40
|
+
* 3. neither: every verb answers COULD-NOT-ASK (exit 2) naming the devDependency to add, never a blocked task. Pointing
|
|
41
|
+
* the instance at a real vendor is the other way out.
|
|
42
|
+
*
|
|
43
|
+
* An application that declares the package and has it broken (installed without its build) is refused with that
|
|
44
|
+
* remedy, rather than silently served from a checkout it did not choose.
|
|
45
|
+
*/
|
|
46
|
+
import { spawn, spawnSync } from 'node:child_process';
|
|
47
|
+
import { generateKeyPairSync } from 'node:crypto';
|
|
48
|
+
import { existsSync, readFileSync, realpathSync, writeFileSync } from 'node:fs';
|
|
49
|
+
import { createRequire } from 'node:module';
|
|
50
|
+
import { join } from 'node:path';
|
|
51
|
+
import { WildoLocationType } from '@wildo-ai/platform-config-lib';
|
|
52
|
+
import { deriveSystemOfRecordEnvVarName } from '@wildo-ai/saas-models';
|
|
53
|
+
import { loadAuthoredInfraEnvConfig, resolveAuthoredInfraConfigPath } from '../environment/authored-infra-config.utils.js';
|
|
54
|
+
import { resolveDeclaredSystemOfRecordSecrets } from '../credentials/application-secret-owners.service.js';
|
|
55
|
+
import { writeInstanceAddresses } from './infra-system-of-record-addresses.editor.js';
|
|
56
|
+
/** The simulators package, relative to the framework checkout. */
|
|
57
|
+
export const PROVIDER_SIMULATORS_RELATIVE_PATH = 'platform/testing/provider-simulators';
|
|
58
|
+
/** The simulators' published package name: the devDependency an application declares to run the fleet (#3047). */
|
|
59
|
+
export const PROVIDER_SIMULATORS_PACKAGE = '@wildo-ai/provider-simulators';
|
|
60
|
+
/** The developer fleet's command line inside that package, as SOURCE (the checkout form, run with tsx). */
|
|
61
|
+
export const DEVELOPER_FLEET_ENTRY = 'src/developer-fleet/main.ts';
|
|
62
|
+
/** The developer fleet's command line as the published package declares it: its `bin` name (the installed form). */
|
|
63
|
+
export const DEVELOPER_FLEET_BIN = 'wildo-provider-simulators-fleet';
|
|
64
|
+
/**
|
|
65
|
+
* Node's warning when it loads the application's `.ts` data module from a package with no `"type"`: true, harmless, and
|
|
66
|
+
* printed on stderr, whose LAST line is how a refusal is reported. Silenced in the installed form, where node (not tsx)
|
|
67
|
+
* loads that module.
|
|
68
|
+
*/
|
|
69
|
+
const SILENCED_NODE_WARNING = '--disable-warning=MODULE_TYPELESS_PACKAGE_JSON';
|
|
70
|
+
/** Where the fleet's command line was found. */
|
|
71
|
+
export var ProviderSimulatorsOrigin;
|
|
72
|
+
(function (ProviderSimulatorsOrigin) {
|
|
73
|
+
/** The application's own `node_modules`: the package it declared as a devDependency. */
|
|
74
|
+
ProviderSimulatorsOrigin["APPLICATION"] = "application";
|
|
75
|
+
/** The framework checkout's source, from the simulators' own lockfile. */
|
|
76
|
+
ProviderSimulatorsOrigin["CHECKOUT"] = "checkout";
|
|
77
|
+
})(ProviderSimulatorsOrigin || (ProviderSimulatorsOrigin = {}));
|
|
78
|
+
/** The developer fleet's command line: the default every locator below is asked for. */
|
|
79
|
+
export const DEVELOPER_FLEET_SIMULATORS_ENTRY = {
|
|
80
|
+
checkoutEntry: DEVELOPER_FLEET_ENTRY,
|
|
81
|
+
bin: DEVELOPER_FLEET_BIN,
|
|
82
|
+
purpose: 'run its systems of record locally',
|
|
83
|
+
otherwise: 'Or point each instance at a real vendor: its address in the local infra config, its secret with `wildo secrets set`.',
|
|
84
|
+
};
|
|
85
|
+
/** The one line the plan command prints, before its JSON. Mirrors `DEVELOPER_FLEET_PLAN_SENTINEL` in the package. */
|
|
86
|
+
export const DEVELOPER_FLEET_PLAN_SENTINEL = '__DEVELOPER_FLEET_PLAN__';
|
|
87
|
+
/**
|
|
88
|
+
* The application's simulator port block starts this far above its port base: 4301 → 18301, 4311 → 18311. The block the
|
|
89
|
+
* two dogfood applications already used, and above every port tier the CLI allocates (4xxx services, 5xxx platform), so
|
|
90
|
+
* it cannot meet one of them. A port base is allocated on a stride of 10 and the fleet uses 8 of the 10.
|
|
91
|
+
*/
|
|
92
|
+
export const SYSTEM_OF_RECORD_SIMULATOR_PORT_OFFSET = 14_000;
|
|
93
|
+
/** Where an application keeps the records its fleet serves, relative to its root. The two forms are exclusive. */
|
|
94
|
+
export const APPLICATION_FLEET_DATASET_RELATIVE_PATH = 'system-of-record-simulators/fleet.dataset.ts';
|
|
95
|
+
export const APPLICATION_FLEET_FIXTURE_RELATIVE_PATH = 'system-of-record-simulators/fleet.fixture.ts';
|
|
96
|
+
/** The environment these verbs act on: the developer machine. */
|
|
97
|
+
const LOCAL_ENVIRONMENT = WildoLocationType.LOCAL;
|
|
98
|
+
/** Hosts an address may name and still be "this machine's fleet". */
|
|
99
|
+
const LOOPBACK_HOSTS = new Set(['127.0.0.1', 'localhost', '[::1]', '::1']);
|
|
100
|
+
/**
|
|
101
|
+
* How many ports of the application's block the fleet may use: the faces sit at offsets 0–7 (the simulators'
|
|
102
|
+
* `DEVELOPER_FLEET_FACE_PORT_OFFSET`). An address on this machine OUTSIDE that range is not the fleet's — a vendor
|
|
103
|
+
* sandbox tunnelled to localhost, another double — and is left alone with its real secret.
|
|
104
|
+
*/
|
|
105
|
+
export const FLEET_PORT_BLOCK_SIZE = 8;
|
|
106
|
+
/** What a verb decided about one declared instance's local address. */
|
|
107
|
+
export var SystemOfRecordLocalStanding;
|
|
108
|
+
(function (SystemOfRecordLocalStanding) {
|
|
109
|
+
/** No address yet, or a loopback one inside the application's fleet port block: the fleet serves it. */
|
|
110
|
+
SystemOfRecordLocalStanding["FLEET"] = "fleet";
|
|
111
|
+
/** `{ enabled: false }`: the environment says it has no access. Left alone. */
|
|
112
|
+
SystemOfRecordLocalStanding["DECLARED_ABSENT"] = "declared-absent";
|
|
113
|
+
/**
|
|
114
|
+
* Addressed somewhere the fleet does not listen: another host (a real vendor), or this machine outside the fleet's
|
|
115
|
+
* port block (a tunnelled sandbox, another double). Left alone, address and secret.
|
|
116
|
+
*/
|
|
117
|
+
SystemOfRecordLocalStanding["REAL_VENDOR"] = "real-vendor";
|
|
118
|
+
})(SystemOfRecordLocalStanding || (SystemOfRecordLocalStanding = {}));
|
|
119
|
+
/** The value of `secrets[].source` that asks the caller to generate a private key (`DeveloperFleetSecretSource`). */
|
|
120
|
+
export const GENERATE_RSA_PKCS8_PRIVATE_KEY = 'generate-rsa-pkcs8-private-key';
|
|
121
|
+
/** A verb that could not even ask: the fleet is unreachable, or the application gives it nothing to plan. */
|
|
122
|
+
export class SystemOfRecordSimulatorsUnavailableError extends Error {
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* The remedy when the application has no fleet: the devDependency to declare, and the other way out. When the application
|
|
126
|
+
* already declares it, the remedy is only the install. One function, so the verbs and their tests name the same thing.
|
|
127
|
+
*/
|
|
128
|
+
export function describeMissingProviderSimulators(saasRoot, entryPoint = DEVELOPER_FLEET_SIMULATORS_ENTRY) {
|
|
129
|
+
const otherwise = entryPoint.otherwise;
|
|
130
|
+
if (applicationDeclaresProviderSimulators(saasRoot)) {
|
|
131
|
+
return `The application declares ${PROVIDER_SIMULATORS_PACKAGE} but it is not installed: run \`wildo config sync\` (it links the package to `
|
|
132
|
+
+ `your framework release) and \`pnpm install\`. ${otherwise}`;
|
|
133
|
+
}
|
|
134
|
+
return `The provider simulators are not installed in this application. To ${entryPoint.purpose}, add `
|
|
135
|
+
+ `"${PROVIDER_SIMULATORS_PACKAGE}": "*" to the devDependencies of the application's root package.json, run \`wildo config sync\` `
|
|
136
|
+
+ `(it links the package to your framework release) and \`pnpm install\`. ${otherwise}`;
|
|
137
|
+
}
|
|
138
|
+
/** Whether the application's root manifest declares the simulators, in any dependency field. */
|
|
139
|
+
function applicationDeclaresProviderSimulators(saasRoot) {
|
|
140
|
+
const manifestPath = join(saasRoot, 'package.json');
|
|
141
|
+
if (!existsSync(manifestPath))
|
|
142
|
+
return false;
|
|
143
|
+
try {
|
|
144
|
+
const manifest = JSON.parse(readFileSync(manifestPath, 'utf8'));
|
|
145
|
+
return ['dependencies', 'devDependencies', 'optionalDependencies'].some((field) => manifest[field]?.[PROVIDER_SIMULATORS_PACKAGE] !== undefined);
|
|
146
|
+
}
|
|
147
|
+
catch {
|
|
148
|
+
return false;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* The package as the APPLICATION resolves it, or `null` when the application does not have it. Throws when it has it
|
|
153
|
+
* but cannot run it: the application chose that copy, so it is reported rather than replaced by another.
|
|
154
|
+
*
|
|
155
|
+
* Found by Node's own lookup order (`require.resolve.paths`: the `node_modules` directories from the application root
|
|
156
|
+
* upward), reading the manifest at each, rather than by resolving a specifier: the package exports no `./package.json`,
|
|
157
|
+
* since a manifest is not a code subpath, and resolving through `exports` would also turn any resolution error into "not
|
|
158
|
+
* installed" and quietly fall back to a checkout.
|
|
159
|
+
*/
|
|
160
|
+
export function resolveInstalledProviderSimulators(saasRoot, entryPoint = DEVELOPER_FLEET_SIMULATORS_ENTRY) {
|
|
161
|
+
const lookup = createRequire(join(saasRoot, 'package.json')).resolve.paths(PROVIDER_SIMULATORS_PACKAGE) ?? [];
|
|
162
|
+
const candidate = lookup.map((directory) => join(directory, PROVIDER_SIMULATORS_PACKAGE)).find((root) => existsSync(join(root, 'package.json')));
|
|
163
|
+
if (candidate === undefined)
|
|
164
|
+
return null;
|
|
165
|
+
const root = realpathSync(candidate);
|
|
166
|
+
let manifest;
|
|
167
|
+
try {
|
|
168
|
+
manifest = JSON.parse(readFileSync(join(root, 'package.json'), 'utf8'));
|
|
169
|
+
}
|
|
170
|
+
catch (error) {
|
|
171
|
+
throw new SystemOfRecordSimulatorsUnavailableError(`The application has ${PROVIDER_SIMULATORS_PACKAGE} at ${root}, but its package.json cannot be read (${error.message}). Reinstall it with \`pnpm install\`.`);
|
|
172
|
+
}
|
|
173
|
+
const binEntry = typeof manifest.bin === 'object' ? manifest.bin[entryPoint.bin] : undefined;
|
|
174
|
+
const entry = binEntry === undefined ? undefined : join(root, binEntry);
|
|
175
|
+
if (entry === undefined || !existsSync(entry)) {
|
|
176
|
+
throw new SystemOfRecordSimulatorsUnavailableError(`The application has ${PROVIDER_SIMULATORS_PACKAGE}${manifest.version === undefined ? '' : `@${manifest.version}`} at ${root}, but it carries no `
|
|
177
|
+
+ `built \`${entryPoint.bin}\` command line (${entry === undefined ? 'it is not declared' : `it is missing: ${entry}`}). `
|
|
178
|
+
+ 'Reinstall it with `pnpm install`; when the command line is not declared at all, the installed release predates it, so move '
|
|
179
|
+
+ 'to a framework release that carries it (`wildo update`). When it is linked to a framework checkout, build it there first: '
|
|
180
|
+
+ `(cd <framework>/${PROVIDER_SIMULATORS_RELATIVE_PATH} && pnpm install && pnpm run build).`);
|
|
181
|
+
}
|
|
182
|
+
return { origin: ProviderSimulatorsOrigin.APPLICATION, root, command: process.execPath, launchArguments: [SILENCED_NODE_WARNING, entry], cwd: saasRoot };
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* Where the developer fleet's command line is: the application's own copy first, then the framework checkout, else
|
|
186
|
+
* COULD-NOT-ASK naming the devDependency to add (#3047).
|
|
187
|
+
*/
|
|
188
|
+
export function locateProviderSimulators(input) {
|
|
189
|
+
const entryPoint = input.entry ?? DEVELOPER_FLEET_SIMULATORS_ENTRY;
|
|
190
|
+
const installed = resolveInstalledProviderSimulators(input.saasRoot, entryPoint);
|
|
191
|
+
if (installed !== null)
|
|
192
|
+
return installed;
|
|
193
|
+
if (input.frameworkRoot === null)
|
|
194
|
+
throw new SystemOfRecordSimulatorsUnavailableError(describeMissingProviderSimulators(input.saasRoot, entryPoint));
|
|
195
|
+
const simulatorsRoot = join(input.frameworkRoot, PROVIDER_SIMULATORS_RELATIVE_PATH);
|
|
196
|
+
if (!existsSync(join(simulatorsRoot, entryPoint.checkoutEntry))) {
|
|
197
|
+
throw new SystemOfRecordSimulatorsUnavailableError(`The framework checkout at ${input.frameworkRoot} has no ${entryPoint.bin} (${PROVIDER_SIMULATORS_RELATIVE_PATH}/${entryPoint.checkoutEntry}); update it.`);
|
|
198
|
+
}
|
|
199
|
+
if (!existsSync(join(simulatorsRoot, 'node_modules'))) {
|
|
200
|
+
throw new SystemOfRecordSimulatorsUnavailableError(`The provider simulators are not installed. They keep their own lockfile:\n\n (cd ${simulatorsRoot} && pnpm install)\n`);
|
|
201
|
+
}
|
|
202
|
+
return { origin: ProviderSimulatorsOrigin.CHECKOUT, root: simulatorsRoot, command: 'pnpm', launchArguments: ['exec', 'tsx', entryPoint.checkoutEntry], cwd: simulatorsRoot };
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* The application's port base: the lowest `defaultPort` among its backend services (a service with no `frontendType`),
|
|
206
|
+
* which is what `wildo init` allocated. Refused when no backend declares one: an invented block could land on another
|
|
207
|
+
* application's fleet.
|
|
208
|
+
*/
|
|
209
|
+
export function resolveApplicationPortBase(saasConfig) {
|
|
210
|
+
const ports = Object.values(saasConfig.services ?? {})
|
|
211
|
+
.filter((service) => service.frontendType === undefined && typeof service.defaultPort === 'number')
|
|
212
|
+
.map((service) => service.defaultPort);
|
|
213
|
+
if (ports.length === 0) {
|
|
214
|
+
throw new SystemOfRecordSimulatorsUnavailableError('No backend service in wildo.saas.config.ts declares a `defaultPort`, so the application has no port block for its simulators.');
|
|
215
|
+
}
|
|
216
|
+
return Math.min(...ports);
|
|
217
|
+
}
|
|
218
|
+
/** Is this address the fleet's: on this machine, on a port of the application's fleet block? */
|
|
219
|
+
function isFleetAddress(address, portBlockStart) {
|
|
220
|
+
const baseUrl = address.baseUrl;
|
|
221
|
+
if (baseUrl === undefined)
|
|
222
|
+
return false;
|
|
223
|
+
try {
|
|
224
|
+
const url = new URL(baseUrl);
|
|
225
|
+
const port = Number(url.port);
|
|
226
|
+
return LOOPBACK_HOSTS.has(url.hostname) && Number.isInteger(port) && port >= portBlockStart && port < portBlockStart + FLEET_PORT_BLOCK_SIZE;
|
|
227
|
+
}
|
|
228
|
+
catch {
|
|
229
|
+
return false;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
/** Every declared instance with its local standing. Pure over the two declarations and the application's port block. */
|
|
233
|
+
export function classifySystemOfRecordInstances(declared, localAddresses, portBlockStart) {
|
|
234
|
+
return Object.entries(declared ?? {}).map(([name, declaration]) => {
|
|
235
|
+
const local = localAddresses?.[name];
|
|
236
|
+
const base = {
|
|
237
|
+
name,
|
|
238
|
+
vendor: declaration.vendor,
|
|
239
|
+
dialect: declaration.dialect,
|
|
240
|
+
...(declaration.credential?.kind === undefined ? {} : { credentialKind: declaration.credential.kind }),
|
|
241
|
+
};
|
|
242
|
+
if (local !== undefined && 'enabled' in local)
|
|
243
|
+
return { ...base, standing: SystemOfRecordLocalStanding.DECLARED_ABSENT };
|
|
244
|
+
const currentAddress = local === undefined || !('address' in local) ? undefined : local.address;
|
|
245
|
+
if (currentAddress === undefined)
|
|
246
|
+
return { ...base, standing: SystemOfRecordLocalStanding.FLEET };
|
|
247
|
+
return { ...base, currentAddress, standing: isFleetAddress(currentAddress, portBlockStart) ? SystemOfRecordLocalStanding.FLEET : SystemOfRecordLocalStanding.REAL_VENDOR };
|
|
248
|
+
});
|
|
249
|
+
}
|
|
250
|
+
/** The application's data module, as plan arguments. Both forms present is refused: a fleet starts from one. */
|
|
251
|
+
export function resolveApplicationFleetData(saasRoot) {
|
|
252
|
+
const dataset = join(saasRoot, APPLICATION_FLEET_DATASET_RELATIVE_PATH);
|
|
253
|
+
const fixture = join(saasRoot, APPLICATION_FLEET_FIXTURE_RELATIVE_PATH);
|
|
254
|
+
if (existsSync(dataset) && existsSync(fixture)) {
|
|
255
|
+
throw new SystemOfRecordSimulatorsUnavailableError(`Both ${APPLICATION_FLEET_DATASET_RELATIVE_PATH} and ${APPLICATION_FLEET_FIXTURE_RELATIVE_PATH} exist; a fleet starts from one description of its data. Remove one.`);
|
|
256
|
+
}
|
|
257
|
+
if (existsSync(dataset))
|
|
258
|
+
return ['--dataset', dataset];
|
|
259
|
+
if (existsSync(fixture))
|
|
260
|
+
return ['--fixture', fixture];
|
|
261
|
+
return [];
|
|
262
|
+
}
|
|
263
|
+
/** Everything a verb needs, loaded once. */
|
|
264
|
+
export async function loadSystemOfRecordSimulatorsContext(input) {
|
|
265
|
+
const simulators = locateProviderSimulators({ saasRoot: input.saasRoot, frameworkRoot: input.frameworkRoot });
|
|
266
|
+
if (Object.keys(input.saasConfig.systemsOfRecord ?? {}).length === 0) {
|
|
267
|
+
throw new SystemOfRecordSimulatorsUnavailableError('wildo.saas.config.ts declares no system of record, so there is nothing for the simulators to serve.');
|
|
268
|
+
}
|
|
269
|
+
const infra = await loadAuthoredInfraEnvConfig(LOCAL_ENVIRONMENT, input.saasRoot);
|
|
270
|
+
const portBlockStart = resolveApplicationPortBase(input.saasConfig) + SYSTEM_OF_RECORD_SIMULATOR_PORT_OFFSET;
|
|
271
|
+
return {
|
|
272
|
+
saasRoot: input.saasRoot,
|
|
273
|
+
simulators,
|
|
274
|
+
portBlockStart,
|
|
275
|
+
instances: classifySystemOfRecordInstances(input.saasConfig.systemsOfRecord, infra?.config.systemsOfRecord, portBlockStart),
|
|
276
|
+
dataArguments: resolveApplicationFleetData(input.saasRoot),
|
|
277
|
+
infraConfigPath: infra?.path ?? resolveAuthoredInfraConfigPath(input.saasRoot, LOCAL_ENVIRONMENT),
|
|
278
|
+
};
|
|
279
|
+
}
|
|
280
|
+
/** The developer-fleet command line's arguments for one subcommand. */
|
|
281
|
+
function fleetArguments(context, subcommand) {
|
|
282
|
+
const instances = context.instances
|
|
283
|
+
.filter(({ standing }) => standing === SystemOfRecordLocalStanding.FLEET)
|
|
284
|
+
.map(({ name, vendor, credentialKind, dialect }) => ({ name, vendor, dialect, ...(credentialKind === undefined ? {} : { credentialKind }) }));
|
|
285
|
+
return [...context.simulators.launchArguments, subcommand, '--port-block', String(context.portBlockStart), '--instances', JSON.stringify(instances), ...context.dataArguments];
|
|
286
|
+
}
|
|
287
|
+
/** Read the plan line out of the command's stdout. Exported for its test. */
|
|
288
|
+
export function parseDeveloperFleetPlanOutput(stdout) {
|
|
289
|
+
const line = stdout.split('\n').find((candidate) => candidate.startsWith(DEVELOPER_FLEET_PLAN_SENTINEL));
|
|
290
|
+
if (line === undefined)
|
|
291
|
+
throw new Error('The developer fleet printed no plan.');
|
|
292
|
+
return JSON.parse(line.slice(DEVELOPER_FLEET_PLAN_SENTINEL.length));
|
|
293
|
+
}
|
|
294
|
+
/** Ask the simulators for the plan. A refusal there (a malformed dataset) is reported with its own last line. */
|
|
295
|
+
export function requestDeveloperFleetPlan(context) {
|
|
296
|
+
const run = spawnSync(context.simulators.command, fleetArguments(context, 'plan'), { cwd: context.simulators.cwd, encoding: 'utf8', timeout: 120_000 });
|
|
297
|
+
if (run.status !== 0) {
|
|
298
|
+
const reason = `${run.stderr ?? ''}`.trim().split('\n').at(-1) || run.error?.message || `exit ${String(run.status)}`;
|
|
299
|
+
throw new Error(`The developer fleet could not plan: ${reason}`);
|
|
300
|
+
}
|
|
301
|
+
return parseDeveloperFleetPlanOutput(run.stdout);
|
|
302
|
+
}
|
|
303
|
+
/**
|
|
304
|
+
* Refuse, as could-not-ask, a plan that serves nothing: every declared instance is left alone or unserved, so none of
|
|
305
|
+
* the three verbs has anything to do. One rule for all three, so they answer the same exit code for the same state.
|
|
306
|
+
*/
|
|
307
|
+
export function requireServedInstances(plan) {
|
|
308
|
+
if (plan.instances.length === 0) {
|
|
309
|
+
throw new SystemOfRecordSimulatorsUnavailableError('No declared system of record is served by the simulators (see above), so there is nothing to do.');
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
/** Each planned instance's address against what the local infra config authors. Pure. */
|
|
313
|
+
export function compareFleetAddresses(plan, instances) {
|
|
314
|
+
return plan.instances.map(({ name, address }) => {
|
|
315
|
+
const current = instances.find((instance) => instance.name === name)?.currentAddress;
|
|
316
|
+
const differences = current === undefined ? [] : [...new Set([...Object.keys(address), ...Object.keys(current)])].flatMap((slot) => {
|
|
317
|
+
if (current[slot] === address[slot])
|
|
318
|
+
return [];
|
|
319
|
+
if (address[slot] === undefined)
|
|
320
|
+
return [`${slot} is set and the simulators use no such slot`];
|
|
321
|
+
return [current[slot] === undefined ? `${slot} is missing (the simulators need '${address[slot]}')` : `${slot} is '${current[slot]}', the simulators need '${address[slot]}'`];
|
|
322
|
+
});
|
|
323
|
+
return { name, expected: address, ...(current === undefined ? {} : { current }), matches: current !== undefined && differences.length === 0, differences };
|
|
324
|
+
});
|
|
325
|
+
}
|
|
326
|
+
/**
|
|
327
|
+
* The plan checked against the slots the engine resolves for each instance. Answers, per instance, why it is refused
|
|
328
|
+
* (empty when it is not), plus what could not be checked. Pure over its inputs; the caller resolves the engine's slots.
|
|
329
|
+
*/
|
|
330
|
+
export function checkPlanAgainstEngineSlots(plan, engine) {
|
|
331
|
+
const refused = new Map();
|
|
332
|
+
const unchecked = [...engine.incomplete];
|
|
333
|
+
for (const instance of plan.instances) {
|
|
334
|
+
const resolved = engine.systems.find(({ name }) => name === instance.name);
|
|
335
|
+
if (resolved === undefined || resolved.secretSlots === null) {
|
|
336
|
+
unchecked.push(`System of record '${instance.name}': the engine's slots could not be resolved, so the plan's slots are not checked against them.`);
|
|
337
|
+
continue;
|
|
338
|
+
}
|
|
339
|
+
const problems = [];
|
|
340
|
+
const plannedSecrets = new Set(instance.secrets.map(({ slot }) => slot));
|
|
341
|
+
for (const slot of resolved.secretSlots) {
|
|
342
|
+
if (slot.required && !plannedSecrets.has(slot.slug))
|
|
343
|
+
problems.push(`the engine requires the secret slot '${slot.slug}' and the fleet does not provide it`);
|
|
344
|
+
}
|
|
345
|
+
for (const slot of plannedSecrets) {
|
|
346
|
+
if (!resolved.secretSlots.some(({ slug }) => slug === slot))
|
|
347
|
+
problems.push(`the fleet provides a secret slot '${slot}' the engine does not have`);
|
|
348
|
+
}
|
|
349
|
+
if (resolved.addressSlots !== null) {
|
|
350
|
+
for (const slot of resolved.addressSlots) {
|
|
351
|
+
if (slot.required && instance.address[slot.slug] === undefined)
|
|
352
|
+
problems.push(`the engine requires the address slot '${slot.slug}' and the fleet does not provide it`);
|
|
353
|
+
}
|
|
354
|
+
for (const slot of Object.keys(instance.address)) {
|
|
355
|
+
if (!resolved.addressSlots.some(({ slug }) => slug === slot))
|
|
356
|
+
problems.push(`the fleet provides an address slot '${slot}' the engine does not have`);
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
else {
|
|
360
|
+
unchecked.push(`System of record '${instance.name}': its address slots could not be read from its facet, so they are not checked.`);
|
|
361
|
+
}
|
|
362
|
+
if (problems.length > 0)
|
|
363
|
+
refused.set(instance.name, problems.join('; '));
|
|
364
|
+
}
|
|
365
|
+
return { refused, unchecked };
|
|
366
|
+
}
|
|
367
|
+
/** The engine's slots for the declared instances, through the same resolution `wildo secrets` uses. */
|
|
368
|
+
export async function resolveEngineSlots(saasRoot, saasConfig) {
|
|
369
|
+
return resolveDeclaredSystemOfRecordSecrets({ saasRoot, declared: saasConfig.systemsOfRecord ?? {} });
|
|
370
|
+
}
|
|
371
|
+
/** An unencrypted PKCS#8 RSA private key, generated on this machine (the form NetSuite's certificate slot requires). */
|
|
372
|
+
function generatePrivateKeyPem() {
|
|
373
|
+
return generateKeyPairSync('rsa', { modulusLength: 2048, privateKeyEncoding: { type: 'pkcs8', format: 'pem' }, publicKeyEncoding: { type: 'spki', format: 'pem' } }).privateKey;
|
|
374
|
+
}
|
|
375
|
+
/**
|
|
376
|
+
* The secrets to seed for the planned instances the engine check did not refuse. Pure but for key generation, which a
|
|
377
|
+
* dry run skips (`generateKeys: false` leaves a generated slot's value empty).
|
|
378
|
+
*/
|
|
379
|
+
export function fleetSecretsToSet(plan, refused, options = {}) {
|
|
380
|
+
const generateKeys = options.generateKeys !== false;
|
|
381
|
+
return plan.instances
|
|
382
|
+
.filter(({ name }) => !refused.has(name))
|
|
383
|
+
.flatMap(({ name, secrets }) => secrets.map((secret) => ({
|
|
384
|
+
instance: name,
|
|
385
|
+
envVarName: deriveSystemOfRecordEnvVarName(name, secret.slot),
|
|
386
|
+
value: secret.source === GENERATE_RSA_PKCS8_PRIVATE_KEY ? (generateKeys ? generatePrivateKeyPem() : '') : secret.value,
|
|
387
|
+
})));
|
|
388
|
+
}
|
|
389
|
+
/** Write the planned addresses into the local infra config, for the instances the engine check did not refuse. */
|
|
390
|
+
export function writeFleetAddresses(context, plan, refused) {
|
|
391
|
+
const instances = plan.instances.filter(({ name }) => !refused.has(name)).map(({ name, address }) => ({ name, address }));
|
|
392
|
+
if (!existsSync(context.infraConfigPath)) {
|
|
393
|
+
throw new SystemOfRecordSimulatorsUnavailableError(`There is no local infra config at ${context.infraConfigPath} to write the addresses into.`);
|
|
394
|
+
}
|
|
395
|
+
const before = readFileSync(context.infraConfigPath, 'utf8');
|
|
396
|
+
const after = writeInstanceAddresses(before, context.infraConfigPath, instances);
|
|
397
|
+
if (after !== before)
|
|
398
|
+
writeFileSync(context.infraConfigPath, after, 'utf8');
|
|
399
|
+
return instances.map(({ name }) => name);
|
|
400
|
+
}
|
|
401
|
+
/**
|
|
402
|
+
* Start the fleet in the foreground, its output inherited, until it exits or this process is interrupted. Resolves with
|
|
403
|
+
* the fleet's exit code, or 0 when the developer stopped it (Ctrl-C is how it is meant to end, whatever code the
|
|
404
|
+
* interrupted child chain reports).
|
|
405
|
+
*/
|
|
406
|
+
export function serveDeveloperFleet(context) {
|
|
407
|
+
return new Promise((resolve) => {
|
|
408
|
+
const child = spawn(context.simulators.command, fleetArguments(context, 'serve'), { cwd: context.simulators.cwd, stdio: 'inherit' });
|
|
409
|
+
let stopped = false;
|
|
410
|
+
const forward = (signal) => {
|
|
411
|
+
stopped = true;
|
|
412
|
+
if (!child.killed)
|
|
413
|
+
child.kill(signal);
|
|
414
|
+
};
|
|
415
|
+
process.on('SIGINT', forward);
|
|
416
|
+
process.on('SIGTERM', forward);
|
|
417
|
+
child.on('error', (error) => {
|
|
418
|
+
process.off('SIGINT', forward);
|
|
419
|
+
process.off('SIGTERM', forward);
|
|
420
|
+
// eslint-disable-next-line no-console
|
|
421
|
+
console.error(`The developer fleet could not start: ${error.message}`);
|
|
422
|
+
resolve(1);
|
|
423
|
+
});
|
|
424
|
+
child.on('exit', (code, signal) => {
|
|
425
|
+
process.off('SIGINT', forward);
|
|
426
|
+
process.off('SIGTERM', forward);
|
|
427
|
+
resolve(stopped ? 0 : code ?? (signal === null ? 0 : 1));
|
|
428
|
+
});
|
|
429
|
+
});
|
|
430
|
+
}
|
|
431
|
+
/** Copy the starter dataset into the application, refusing to replace a file. */
|
|
432
|
+
export function scaffoldApplicationFleetDataset(context) {
|
|
433
|
+
const target = join(context.saasRoot, APPLICATION_FLEET_DATASET_RELATIVE_PATH);
|
|
434
|
+
if (existsSync(join(context.saasRoot, APPLICATION_FLEET_FIXTURE_RELATIVE_PATH))) {
|
|
435
|
+
throw new Error(`${APPLICATION_FLEET_FIXTURE_RELATIVE_PATH} already describes this application's data; a fleet starts from one description, so no dataset is scaffolded beside it.`);
|
|
436
|
+
}
|
|
437
|
+
const run = spawnSync(context.simulators.command, [...context.simulators.launchArguments, 'scaffold-dataset', '--to', target], { cwd: context.simulators.cwd, encoding: 'utf8', timeout: 120_000 });
|
|
438
|
+
if (run.status !== 0)
|
|
439
|
+
throw new Error(`${run.stderr ?? ''}`.trim().split('\n').at(-1) || run.error?.message || 'the starter dataset could not be written');
|
|
440
|
+
return target;
|
|
441
|
+
}
|
|
442
|
+
//# sourceMappingURL=system-of-record-simulators.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"system-of-record-simulators.service.js","sourceRoot":"","sources":["../../../../src/services/application/system-of-record-simulators.service.ts"],"names":[],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AI,GAAG,CAAC,KAAK,EAAE,OAAO,IAAI,0CAA0C,CAAC,CAAC;IAC3J,OAAO,MAAM,CAAC;AAChB,CAAC","sourcesContent":["/**\n * Runs an application's systems of record against the provider simulator fleet on a developer machine (#3039): the\n * service behind `wildo local sor-simulators`, `wildo local sor-secrets` and `wildo local sor-addresses`.\n *\n * ## What it derives, and from what\n *\n * Everything is derived from what the application already declares, so a created application gets a working local ERP\n * the moment its CONFIG task declares an instance, with nothing restated by hand:\n *\n * - **which instances**: `systemsOfRecord` in `wildo.saas.config.ts`, kept to those whose LOCAL address is absent or\n * loopback. An instance addressed at a real vendor, or declared `{ enabled: false }`, is the developer's decision and\n * is reported, never overridden.\n * - **which ports**: the application's port block, its allocated port base (the lowest backend `defaultPort`, which\n * `wildo init`'s allocator keeps unique among sibling applications) plus {@link SYSTEM_OF_RECORD_SIMULATOR_PORT_OFFSET}.\n * Two applications on one machine therefore never contend for a face.\n * - **which data**: `system-of-record-simulators/fleet.dataset.ts` (neutral) or `fleet.fixture.ts` (vendor-shaped) at\n * the application root, else the fleet's starter dataset.\n * - **addresses, secrets, faces**: the simulators package's developer-fleet plan, asked through its own command line,\n * because that package is not a dependency of this CLI. Where that command line is found is\n * {@link locateProviderSimulators}.\n *\n * ## The join with the engine\n *\n * The plan restates each vendor's slots, because the simulators import nothing from Wildo. So before a secret is seeded\n * or an address written, the plan is checked against the slots the ENGINE resolves for the instance\n * ({@link resolveDeclaredSystemOfRecordSecrets}): a required slot the plan does not fill, or a slot the engine does not\n * have, refuses that instance. A double cannot silently drift from the facet it stands in for.\n *\n * ## Where the fleet comes from (#3047)\n *\n * `@wildo-ai/provider-simulators` is a published OPT-IN framework package (decided by Paul, 2026-10-21): an application\n * that wants a local system of record declares it as a devDependency of its root (`\"*\"`, linked by `wildo config sync`\n * to its framework release, or to a `file:` path in a framework checkout). The fleet is looked for in this order:\n *\n * 1. **the application's own `node_modules`**: the package it declared, run as its `bin` with this CLI's node. That is\n * what an application created in app-creator mode has, and what a framework-development application that declares\n * the package runs too, so both modes run the same artifact;\n * 2. **the framework checkout**: the package's source, run with tsx from its own lockfile. What the dogfood applications\n * use, since they do not declare it;\n * 3. neither: every verb answers COULD-NOT-ASK (exit 2) naming the devDependency to add, never a blocked task. Pointing\n * the instance at a real vendor is the other way out.\n *\n * An application that declares the package and has it broken (installed without its build) is refused with that\n * remedy, rather than silently served from a checkout it did not choose.\n */\nimport { spawn, spawnSync } from 'node:child_process';\nimport { generateKeyPairSync } from 'node:crypto';\nimport { existsSync, readFileSync, realpathSync, writeFileSync } from 'node:fs';\nimport { createRequire } from 'node:module';\nimport { dirname, join } from 'node:path';\n\nimport { WildoLocationType, type WildoSaasConfig, type WildoSystemsOfRecordEnvConfig } from '@wildo-ai/platform-config-lib';\nimport { deriveSystemOfRecordEnvVarName } from '@wildo-ai/saas-models';\n\nimport { loadAuthoredInfraEnvConfig, resolveAuthoredInfraConfigPath } from '../environment/authored-infra-config.utils';\nimport { resolveDeclaredSystemOfRecordSecrets, type DeclaredSystemOfRecordSecrets } from '../credentials/application-secret-owners.service';\nimport { writeInstanceAddresses } from './infra-system-of-record-addresses.editor';\n\n/** The simulators package, relative to the framework checkout. */\nexport const PROVIDER_SIMULATORS_RELATIVE_PATH = 'platform/testing/provider-simulators';\n\n/** The simulators' published package name: the devDependency an application declares to run the fleet (#3047). */\nexport const PROVIDER_SIMULATORS_PACKAGE = '@wildo-ai/provider-simulators';\n\n/** The developer fleet's command line inside that package, as SOURCE (the checkout form, run with tsx). */\nexport const DEVELOPER_FLEET_ENTRY = 'src/developer-fleet/main.ts';\n\n/** The developer fleet's command line as the published package declares it: its `bin` name (the installed form). */\nexport const DEVELOPER_FLEET_BIN = 'wildo-provider-simulators-fleet';\n\n/**\n * Node's warning when it loads the application's `.ts` data module from a package with no `\"type\"`: true, harmless, and\n * printed on stderr, whose LAST line is how a refusal is reported. Silenced in the installed form, where node (not tsx)\n * loads that module.\n */\nconst SILENCED_NODE_WARNING = '--disable-warning=MODULE_TYPELESS_PACKAGE_JSON';\n\n/** Where the fleet's command line was found. */\nexport enum ProviderSimulatorsOrigin {\n /** The application's own `node_modules`: the package it declared as a devDependency. */\n APPLICATION = 'application',\n /** The framework checkout's source, from the simulators' own lockfile. */\n CHECKOUT = 'checkout',\n}\n\n/** How to run the developer fleet's command line: `command ...launchArguments <subcommand> …`, in `cwd`. */\nexport interface ProviderSimulatorsLocation {\n readonly origin: ProviderSimulatorsOrigin;\n /** The package root that was found. */\n readonly root: string;\n readonly command: string;\n readonly launchArguments: readonly string[];\n readonly cwd: string;\n}\n\n/**\n * One command line of the simulators package, in its two forms: the SOURCE entry run with tsx from a framework checkout,\n * and the `bin` a published copy declares. The developer fleet is one; a standalone double (the content-safety\n * classifier, `local-provider-doubles.service.ts`) is another, which is why the locators below take one.\n */\nexport interface ProviderSimulatorsEntry {\n /** Relative to the package root, as source: `src/…/main.ts`. */\n readonly checkoutEntry: string;\n /** The `bin` name the published package declares for it. */\n readonly bin: string;\n /** What the command line is for, completing \"To …\": named in the remedy when the package is missing. */\n readonly purpose: string;\n /** The way out that needs no simulator, appended to that remedy. */\n readonly otherwise: string;\n}\n\n/** The developer fleet's command line: the default every locator below is asked for. */\nexport const DEVELOPER_FLEET_SIMULATORS_ENTRY: ProviderSimulatorsEntry = {\n checkoutEntry: DEVELOPER_FLEET_ENTRY,\n bin: DEVELOPER_FLEET_BIN,\n purpose: 'run its systems of record locally',\n otherwise: 'Or point each instance at a real vendor: its address in the local infra config, its secret with `wildo secrets set`.',\n};\n\n/** The one line the plan command prints, before its JSON. Mirrors `DEVELOPER_FLEET_PLAN_SENTINEL` in the package. */\nexport const DEVELOPER_FLEET_PLAN_SENTINEL = '__DEVELOPER_FLEET_PLAN__';\n\n/**\n * The application's simulator port block starts this far above its port base: 4301 → 18301, 4311 → 18311. The block the\n * two dogfood applications already used, and above every port tier the CLI allocates (4xxx services, 5xxx platform), so\n * it cannot meet one of them. A port base is allocated on a stride of 10 and the fleet uses 8 of the 10.\n */\nexport const SYSTEM_OF_RECORD_SIMULATOR_PORT_OFFSET = 14_000;\n\n/** Where an application keeps the records its fleet serves, relative to its root. The two forms are exclusive. */\nexport const APPLICATION_FLEET_DATASET_RELATIVE_PATH = 'system-of-record-simulators/fleet.dataset.ts';\nexport const APPLICATION_FLEET_FIXTURE_RELATIVE_PATH = 'system-of-record-simulators/fleet.fixture.ts';\n\n/** The environment these verbs act on: the developer machine. */\nconst LOCAL_ENVIRONMENT = WildoLocationType.LOCAL;\n\n/** Hosts an address may name and still be \"this machine's fleet\". */\nconst LOOPBACK_HOSTS: ReadonlySet<string> = new Set(['127.0.0.1', 'localhost', '[::1]', '::1']);\n\n/**\n * How many ports of the application's block the fleet may use: the faces sit at offsets 0–7 (the simulators'\n * `DEVELOPER_FLEET_FACE_PORT_OFFSET`). An address on this machine OUTSIDE that range is not the fleet's — a vendor\n * sandbox tunnelled to localhost, another double — and is left alone with its real secret.\n */\nexport const FLEET_PORT_BLOCK_SIZE = 8;\n\n/** What a verb decided about one declared instance's local address. */\nexport enum SystemOfRecordLocalStanding {\n /** No address yet, or a loopback one inside the application's fleet port block: the fleet serves it. */\n FLEET = 'fleet',\n /** `{ enabled: false }`: the environment says it has no access. Left alone. */\n DECLARED_ABSENT = 'declared-absent',\n /**\n * Addressed somewhere the fleet does not listen: another host (a real vendor), or this machine outside the fleet's\n * port block (a tunnelled sandbox, another double). Left alone, address and secret.\n */\n REAL_VENDOR = 'real-vendor',\n}\n\nexport interface ClassifiedSystemOfRecordInstance {\n readonly name: string;\n readonly vendor: string;\n readonly credentialKind?: string;\n /** The dialect the instance declares — it decides the fleet's plan for a vendor spoken over several wires (#3391). */\n readonly dialect: string;\n readonly standing: SystemOfRecordLocalStanding;\n /** The address the local infra config authors today, when it authors one. */\n readonly currentAddress?: Readonly<Record<string, string>>;\n}\n\n/** The plan as the simulators print it: the JSON contract of `main.ts plan`, minus nothing this CLI reads. */\nexport interface DeveloperFleetPlanContract {\n readonly portBlockStart: number;\n readonly faces: ReadonlyArray<{ readonly face: string; readonly port: number }>;\n readonly instances: ReadonlyArray<{\n readonly name: string;\n readonly vendor: string;\n readonly face: string;\n readonly credentialKind: string;\n readonly address: Readonly<Record<string, string>>;\n readonly secrets: ReadonlyArray<{ readonly slot: string; readonly source: string; readonly value?: string }>;\n }>;\n readonly unserved: ReadonlyArray<{ readonly name: string; readonly vendor: string; readonly reason: string }>;\n readonly dataKind: string;\n readonly omissions: readonly string[];\n}\n\n/** The value of `secrets[].source` that asks the caller to generate a private key (`DeveloperFleetSecretSource`). */\nexport const GENERATE_RSA_PKCS8_PRIVATE_KEY = 'generate-rsa-pkcs8-private-key';\n\n/** A verb that could not even ask: the fleet is unreachable, or the application gives it nothing to plan. */\nexport class SystemOfRecordSimulatorsUnavailableError extends Error {}\n\nexport interface SystemOfRecordSimulatorsContext {\n readonly saasRoot: string;\n readonly simulators: ProviderSimulatorsLocation;\n readonly portBlockStart: number;\n readonly instances: readonly ClassifiedSystemOfRecordInstance[];\n /** `['--dataset', path]`, `['--fixture', path]`, or `[]` for the starter dataset. */\n readonly dataArguments: readonly string[];\n readonly infraConfigPath: string;\n}\n\n/**\n * The remedy when the application has no fleet: the devDependency to declare, and the other way out. When the application\n * already declares it, the remedy is only the install. One function, so the verbs and their tests name the same thing.\n */\nexport function describeMissingProviderSimulators(saasRoot: string, entryPoint: ProviderSimulatorsEntry = DEVELOPER_FLEET_SIMULATORS_ENTRY): string {\n const otherwise = entryPoint.otherwise;\n if (applicationDeclaresProviderSimulators(saasRoot)) {\n return `The application declares ${PROVIDER_SIMULATORS_PACKAGE} but it is not installed: run \\`wildo config sync\\` (it links the package to `\n + `your framework release) and \\`pnpm install\\`. ${otherwise}`;\n }\n return `The provider simulators are not installed in this application. To ${entryPoint.purpose}, add `\n + `\"${PROVIDER_SIMULATORS_PACKAGE}\": \"*\" to the devDependencies of the application's root package.json, run \\`wildo config sync\\` `\n + `(it links the package to your framework release) and \\`pnpm install\\`. ${otherwise}`;\n}\n\n/** Whether the application's root manifest declares the simulators, in any dependency field. */\nfunction applicationDeclaresProviderSimulators(saasRoot: string): boolean {\n const manifestPath = join(saasRoot, 'package.json');\n if (!existsSync(manifestPath)) return false;\n try {\n const manifest = JSON.parse(readFileSync(manifestPath, 'utf8')) as Partial<Record<string, Record<string, string>>>;\n return ['dependencies', 'devDependencies', 'optionalDependencies'].some((field) => manifest[field]?.[PROVIDER_SIMULATORS_PACKAGE] !== undefined);\n } catch {\n return false;\n }\n}\n\n/**\n * The package as the APPLICATION resolves it, or `null` when the application does not have it. Throws when it has it\n * but cannot run it: the application chose that copy, so it is reported rather than replaced by another.\n *\n * Found by Node's own lookup order (`require.resolve.paths`: the `node_modules` directories from the application root\n * upward), reading the manifest at each, rather than by resolving a specifier: the package exports no `./package.json`,\n * since a manifest is not a code subpath, and resolving through `exports` would also turn any resolution error into \"not\n * installed\" and quietly fall back to a checkout.\n */\nexport function resolveInstalledProviderSimulators(saasRoot: string, entryPoint: ProviderSimulatorsEntry = DEVELOPER_FLEET_SIMULATORS_ENTRY): ProviderSimulatorsLocation | null {\n const lookup = createRequire(join(saasRoot, 'package.json')).resolve.paths(PROVIDER_SIMULATORS_PACKAGE) ?? [];\n const candidate = lookup.map((directory) => join(directory, PROVIDER_SIMULATORS_PACKAGE)).find((root) => existsSync(join(root, 'package.json')));\n if (candidate === undefined) return null;\n const root = realpathSync(candidate);\n let manifest: { bin?: Record<string, string> | string; version?: string };\n try {\n manifest = JSON.parse(readFileSync(join(root, 'package.json'), 'utf8')) as typeof manifest;\n } catch (error) {\n throw new SystemOfRecordSimulatorsUnavailableError(`The application has ${PROVIDER_SIMULATORS_PACKAGE} at ${root}, but its package.json cannot be read (${(error as Error).message}). Reinstall it with \\`pnpm install\\`.`);\n }\n const binEntry = typeof manifest.bin === 'object' ? manifest.bin[entryPoint.bin] : undefined;\n const entry = binEntry === undefined ? undefined : join(root, binEntry);\n if (entry === undefined || !existsSync(entry)) {\n throw new SystemOfRecordSimulatorsUnavailableError(\n `The application has ${PROVIDER_SIMULATORS_PACKAGE}${manifest.version === undefined ? '' : `@${manifest.version}`} at ${root}, but it carries no `\n + `built \\`${entryPoint.bin}\\` command line (${entry === undefined ? 'it is not declared' : `it is missing: ${entry}`}). `\n + 'Reinstall it with `pnpm install`; when the command line is not declared at all, the installed release predates it, so move '\n + 'to a framework release that carries it (`wildo update`). When it is linked to a framework checkout, build it there first: '\n + `(cd <framework>/${PROVIDER_SIMULATORS_RELATIVE_PATH} && pnpm install && pnpm run build).`,\n );\n }\n return { origin: ProviderSimulatorsOrigin.APPLICATION, root, command: process.execPath, launchArguments: [SILENCED_NODE_WARNING, entry], cwd: saasRoot };\n}\n\n/**\n * Where the developer fleet's command line is: the application's own copy first, then the framework checkout, else\n * COULD-NOT-ASK naming the devDependency to add (#3047).\n */\nexport function locateProviderSimulators(input: {\n readonly saasRoot: string;\n readonly frameworkRoot: string | null;\n /** Which command line of the package; the developer fleet when omitted. */\n readonly entry?: ProviderSimulatorsEntry;\n}): ProviderSimulatorsLocation {\n const entryPoint = input.entry ?? DEVELOPER_FLEET_SIMULATORS_ENTRY;\n const installed = resolveInstalledProviderSimulators(input.saasRoot, entryPoint);\n if (installed !== null) return installed;\n if (input.frameworkRoot === null) throw new SystemOfRecordSimulatorsUnavailableError(describeMissingProviderSimulators(input.saasRoot, entryPoint));\n const simulatorsRoot = join(input.frameworkRoot, PROVIDER_SIMULATORS_RELATIVE_PATH);\n if (!existsSync(join(simulatorsRoot, entryPoint.checkoutEntry))) {\n throw new SystemOfRecordSimulatorsUnavailableError(`The framework checkout at ${input.frameworkRoot} has no ${entryPoint.bin} (${PROVIDER_SIMULATORS_RELATIVE_PATH}/${entryPoint.checkoutEntry}); update it.`);\n }\n if (!existsSync(join(simulatorsRoot, 'node_modules'))) {\n throw new SystemOfRecordSimulatorsUnavailableError(`The provider simulators are not installed. They keep their own lockfile:\\n\\n (cd ${simulatorsRoot} && pnpm install)\\n`);\n }\n return { origin: ProviderSimulatorsOrigin.CHECKOUT, root: simulatorsRoot, command: 'pnpm', launchArguments: ['exec', 'tsx', entryPoint.checkoutEntry], cwd: simulatorsRoot };\n}\n\n/**\n * The application's port base: the lowest `defaultPort` among its backend services (a service with no `frontendType`),\n * which is what `wildo init` allocated. Refused when no backend declares one: an invented block could land on another\n * application's fleet.\n */\nexport function resolveApplicationPortBase(saasConfig: Pick<WildoSaasConfig, 'services'>): number {\n const ports = Object.values(saasConfig.services ?? {})\n .filter((service) => service.frontendType === undefined && typeof service.defaultPort === 'number')\n .map((service) => service.defaultPort as number);\n if (ports.length === 0) {\n throw new SystemOfRecordSimulatorsUnavailableError('No backend service in wildo.saas.config.ts declares a `defaultPort`, so the application has no port block for its simulators.');\n }\n return Math.min(...ports);\n}\n\n/** Is this address the fleet's: on this machine, on a port of the application's fleet block? */\nfunction isFleetAddress(address: Readonly<Record<string, string>>, portBlockStart: number): boolean {\n const baseUrl = address.baseUrl;\n if (baseUrl === undefined) return false;\n try {\n const url = new URL(baseUrl);\n const port = Number(url.port);\n return LOOPBACK_HOSTS.has(url.hostname) && Number.isInteger(port) && port >= portBlockStart && port < portBlockStart + FLEET_PORT_BLOCK_SIZE;\n } catch {\n return false;\n }\n}\n\n/** Every declared instance with its local standing. Pure over the two declarations and the application's port block. */\nexport function classifySystemOfRecordInstances(\n declared: WildoSaasConfig['systemsOfRecord'],\n localAddresses: WildoSystemsOfRecordEnvConfig | undefined,\n portBlockStart: number,\n): ClassifiedSystemOfRecordInstance[] {\n return Object.entries(declared ?? {}).map(([name, declaration]) => {\n const local = localAddresses?.[name];\n const base = {\n name,\n vendor: declaration.vendor,\n dialect: declaration.dialect,\n ...(declaration.credential?.kind === undefined ? {} : { credentialKind: declaration.credential.kind }),\n };\n if (local !== undefined && 'enabled' in local) return { ...base, standing: SystemOfRecordLocalStanding.DECLARED_ABSENT };\n const currentAddress = local === undefined || !('address' in local) ? undefined : local.address;\n if (currentAddress === undefined) return { ...base, standing: SystemOfRecordLocalStanding.FLEET };\n return { ...base, currentAddress, standing: isFleetAddress(currentAddress, portBlockStart) ? SystemOfRecordLocalStanding.FLEET : SystemOfRecordLocalStanding.REAL_VENDOR };\n });\n}\n\n/** The application's data module, as plan arguments. Both forms present is refused: a fleet starts from one. */\nexport function resolveApplicationFleetData(saasRoot: string): string[] {\n const dataset = join(saasRoot, APPLICATION_FLEET_DATASET_RELATIVE_PATH);\n const fixture = join(saasRoot, APPLICATION_FLEET_FIXTURE_RELATIVE_PATH);\n if (existsSync(dataset) && existsSync(fixture)) {\n throw new SystemOfRecordSimulatorsUnavailableError(`Both ${APPLICATION_FLEET_DATASET_RELATIVE_PATH} and ${APPLICATION_FLEET_FIXTURE_RELATIVE_PATH} exist; a fleet starts from one description of its data. Remove one.`);\n }\n if (existsSync(dataset)) return ['--dataset', dataset];\n if (existsSync(fixture)) return ['--fixture', fixture];\n return [];\n}\n\n/** Everything a verb needs, loaded once. */\nexport async function loadSystemOfRecordSimulatorsContext(input: {\n readonly saasRoot: string;\n readonly frameworkRoot: string | null;\n readonly saasConfig: WildoSaasConfig;\n}): Promise<SystemOfRecordSimulatorsContext> {\n const simulators = locateProviderSimulators({ saasRoot: input.saasRoot, frameworkRoot: input.frameworkRoot });\n if (Object.keys(input.saasConfig.systemsOfRecord ?? {}).length === 0) {\n throw new SystemOfRecordSimulatorsUnavailableError('wildo.saas.config.ts declares no system of record, so there is nothing for the simulators to serve.');\n }\n const infra = await loadAuthoredInfraEnvConfig(LOCAL_ENVIRONMENT, input.saasRoot);\n const portBlockStart = resolveApplicationPortBase(input.saasConfig) + SYSTEM_OF_RECORD_SIMULATOR_PORT_OFFSET;\n return {\n saasRoot: input.saasRoot,\n simulators,\n portBlockStart,\n instances: classifySystemOfRecordInstances(input.saasConfig.systemsOfRecord, infra?.config.systemsOfRecord, portBlockStart),\n dataArguments: resolveApplicationFleetData(input.saasRoot),\n infraConfigPath: infra?.path ?? resolveAuthoredInfraConfigPath(input.saasRoot, LOCAL_ENVIRONMENT),\n };\n}\n\n/** The developer-fleet command line's arguments for one subcommand. */\nfunction fleetArguments(context: SystemOfRecordSimulatorsContext, subcommand: 'plan' | 'serve'): string[] {\n const instances = context.instances\n .filter(({ standing }) => standing === SystemOfRecordLocalStanding.FLEET)\n .map(({ name, vendor, credentialKind, dialect }) => ({ name, vendor, dialect, ...(credentialKind === undefined ? {} : { credentialKind }) }));\n return [...context.simulators.launchArguments, subcommand, '--port-block', String(context.portBlockStart), '--instances', JSON.stringify(instances), ...context.dataArguments];\n}\n\n/** Read the plan line out of the command's stdout. Exported for its test. */\nexport function parseDeveloperFleetPlanOutput(stdout: string): DeveloperFleetPlanContract {\n const line = stdout.split('\\n').find((candidate) => candidate.startsWith(DEVELOPER_FLEET_PLAN_SENTINEL));\n if (line === undefined) throw new Error('The developer fleet printed no plan.');\n return JSON.parse(line.slice(DEVELOPER_FLEET_PLAN_SENTINEL.length)) as DeveloperFleetPlanContract;\n}\n\n/** Ask the simulators for the plan. A refusal there (a malformed dataset) is reported with its own last line. */\nexport function requestDeveloperFleetPlan(context: SystemOfRecordSimulatorsContext): DeveloperFleetPlanContract {\n const run = spawnSync(context.simulators.command, fleetArguments(context, 'plan'), { cwd: context.simulators.cwd, encoding: 'utf8', timeout: 120_000 });\n if (run.status !== 0) {\n const reason = `${run.stderr ?? ''}`.trim().split('\\n').at(-1) || run.error?.message || `exit ${String(run.status)}`;\n throw new Error(`The developer fleet could not plan: ${reason}`);\n }\n return parseDeveloperFleetPlanOutput(run.stdout);\n}\n\n/**\n * Refuse, as could-not-ask, a plan that serves nothing: every declared instance is left alone or unserved, so none of\n * the three verbs has anything to do. One rule for all three, so they answer the same exit code for the same state.\n */\nexport function requireServedInstances(plan: DeveloperFleetPlanContract): void {\n if (plan.instances.length === 0) {\n throw new SystemOfRecordSimulatorsUnavailableError('No declared system of record is served by the simulators (see above), so there is nothing to do.');\n }\n}\n\n/** One instance's local address compared with the plan's. */\nexport interface FleetAddressComparison {\n readonly name: string;\n readonly expected: Readonly<Record<string, string>>;\n readonly current?: Readonly<Record<string, string>>;\n readonly matches: boolean;\n /** One phrase per slot that differs (`certificateKeyId is 'a', the simulators need 'b'`). Empty when it matches or has no address. */\n readonly differences: readonly string[];\n}\n\n/** Each planned instance's address against what the local infra config authors. Pure. */\nexport function compareFleetAddresses(plan: DeveloperFleetPlanContract, instances: readonly ClassifiedSystemOfRecordInstance[]): FleetAddressComparison[] {\n return plan.instances.map(({ name, address }) => {\n const current = instances.find((instance) => instance.name === name)?.currentAddress;\n const differences = current === undefined ? [] : [...new Set([...Object.keys(address), ...Object.keys(current)])].flatMap((slot) => {\n if (current[slot] === address[slot]) return [];\n if (address[slot] === undefined) return [`${slot} is set and the simulators use no such slot`];\n return [current[slot] === undefined ? `${slot} is missing (the simulators need '${address[slot]}')` : `${slot} is '${current[slot]}', the simulators need '${address[slot]}'`];\n });\n return { name, expected: address, ...(current === undefined ? {} : { current }), matches: current !== undefined && differences.length === 0, differences };\n });\n}\n\n/**\n * The plan checked against the slots the engine resolves for each instance. Answers, per instance, why it is refused\n * (empty when it is not), plus what could not be checked. Pure over its inputs; the caller resolves the engine's slots.\n */\nexport function checkPlanAgainstEngineSlots(\n plan: DeveloperFleetPlanContract,\n engine: { readonly systems: readonly DeclaredSystemOfRecordSecrets[]; readonly incomplete: readonly string[] },\n): { readonly refused: ReadonlyMap<string, string>; readonly unchecked: readonly string[] } {\n const refused = new Map<string, string>();\n const unchecked: string[] = [...engine.incomplete];\n for (const instance of plan.instances) {\n const resolved = engine.systems.find(({ name }) => name === instance.name);\n if (resolved === undefined || resolved.secretSlots === null) {\n unchecked.push(`System of record '${instance.name}': the engine's slots could not be resolved, so the plan's slots are not checked against them.`);\n continue;\n }\n const problems: string[] = [];\n const plannedSecrets = new Set(instance.secrets.map(({ slot }) => slot));\n for (const slot of resolved.secretSlots) {\n if (slot.required && !plannedSecrets.has(slot.slug)) problems.push(`the engine requires the secret slot '${slot.slug}' and the fleet does not provide it`);\n }\n for (const slot of plannedSecrets) {\n if (!resolved.secretSlots.some(({ slug }) => slug === slot)) problems.push(`the fleet provides a secret slot '${slot}' the engine does not have`);\n }\n if (resolved.addressSlots !== null) {\n for (const slot of resolved.addressSlots) {\n if (slot.required && instance.address[slot.slug] === undefined) problems.push(`the engine requires the address slot '${slot.slug}' and the fleet does not provide it`);\n }\n for (const slot of Object.keys(instance.address)) {\n if (!resolved.addressSlots.some(({ slug }) => slug === slot)) problems.push(`the fleet provides an address slot '${slot}' the engine does not have`);\n }\n } else {\n unchecked.push(`System of record '${instance.name}': its address slots could not be read from its facet, so they are not checked.`);\n }\n if (problems.length > 0) refused.set(instance.name, problems.join('; '));\n }\n return { refused, unchecked };\n}\n\n/** The engine's slots for the declared instances, through the same resolution `wildo secrets` uses. */\nexport async function resolveEngineSlots(saasRoot: string, saasConfig: WildoSaasConfig): ReturnType<typeof resolveDeclaredSystemOfRecordSecrets> {\n return resolveDeclaredSystemOfRecordSecrets({ saasRoot, declared: saasConfig.systemsOfRecord ?? {} });\n}\n\n/** An unencrypted PKCS#8 RSA private key, generated on this machine (the form NetSuite's certificate slot requires). */\nfunction generatePrivateKeyPem(): string {\n return generateKeyPairSync('rsa', { modulusLength: 2048, privateKeyEncoding: { type: 'pkcs8', format: 'pem' }, publicKeyEncoding: { type: 'spki', format: 'pem' } }).privateKey;\n}\n\n/** One secret a seeding run sets: its derived variable name and its value. */\nexport interface FleetSecretToSet {\n readonly instance: string;\n readonly envVarName: string;\n readonly value: string;\n}\n\n/**\n * The secrets to seed for the planned instances the engine check did not refuse. Pure but for key generation, which a\n * dry run skips (`generateKeys: false` leaves a generated slot's value empty).\n */\nexport function fleetSecretsToSet(plan: DeveloperFleetPlanContract, refused: ReadonlyMap<string, string>, options: { readonly generateKeys?: boolean } = {}): FleetSecretToSet[] {\n const generateKeys = options.generateKeys !== false;\n return plan.instances\n .filter(({ name }) => !refused.has(name))\n .flatMap(({ name, secrets }) => secrets.map((secret) => ({\n instance: name,\n envVarName: deriveSystemOfRecordEnvVarName(name, secret.slot),\n value: secret.source === GENERATE_RSA_PKCS8_PRIVATE_KEY ? (generateKeys ? generatePrivateKeyPem() : '') : secret.value!,\n })));\n}\n\n/** Write the planned addresses into the local infra config, for the instances the engine check did not refuse. */\nexport function writeFleetAddresses(context: SystemOfRecordSimulatorsContext, plan: DeveloperFleetPlanContract, refused: ReadonlyMap<string, string>): string[] {\n const instances = plan.instances.filter(({ name }) => !refused.has(name)).map(({ name, address }) => ({ name, address }));\n if (!existsSync(context.infraConfigPath)) {\n throw new SystemOfRecordSimulatorsUnavailableError(`There is no local infra config at ${context.infraConfigPath} to write the addresses into.`);\n }\n const before = readFileSync(context.infraConfigPath, 'utf8');\n const after = writeInstanceAddresses(before, context.infraConfigPath, instances);\n if (after !== before) writeFileSync(context.infraConfigPath, after, 'utf8');\n return instances.map(({ name }) => name);\n}\n\n/**\n * Start the fleet in the foreground, its output inherited, until it exits or this process is interrupted. Resolves with\n * the fleet's exit code, or 0 when the developer stopped it (Ctrl-C is how it is meant to end, whatever code the\n * interrupted child chain reports).\n */\nexport function serveDeveloperFleet(context: SystemOfRecordSimulatorsContext): Promise<number> {\n return new Promise((resolve) => {\n const child = spawn(context.simulators.command, fleetArguments(context, 'serve'), { cwd: context.simulators.cwd, stdio: 'inherit' });\n let stopped = false;\n const forward = (signal: NodeJS.Signals): void => {\n stopped = true;\n if (!child.killed) child.kill(signal);\n };\n process.on('SIGINT', forward);\n process.on('SIGTERM', forward);\n child.on('error', (error) => {\n process.off('SIGINT', forward);\n process.off('SIGTERM', forward);\n // eslint-disable-next-line no-console\n console.error(`The developer fleet could not start: ${error.message}`);\n resolve(1);\n });\n child.on('exit', (code, signal) => {\n process.off('SIGINT', forward);\n process.off('SIGTERM', forward);\n resolve(stopped ? 0 : code ?? (signal === null ? 0 : 1));\n });\n });\n}\n\n/** Copy the starter dataset into the application, refusing to replace a file. */\nexport function scaffoldApplicationFleetDataset(context: Pick<SystemOfRecordSimulatorsContext, 'saasRoot' | 'simulators'>): string {\n const target = join(context.saasRoot, APPLICATION_FLEET_DATASET_RELATIVE_PATH);\n if (existsSync(join(context.saasRoot, APPLICATION_FLEET_FIXTURE_RELATIVE_PATH))) {\n throw new Error(`${APPLICATION_FLEET_FIXTURE_RELATIVE_PATH} already describes this application's data; a fleet starts from one description, so no dataset is scaffolded beside it.`);\n }\n const run = spawnSync(context.simulators.command, [...context.simulators.launchArguments, 'scaffold-dataset', '--to', target], { cwd: context.simulators.cwd, encoding: 'utf8', timeout: 120_000 });\n if (run.status !== 0) throw new Error(`${run.stderr ?? ''}`.trim().split('\\n').at(-1) || run.error?.message || 'the starter dataset could not be written');\n return target;\n}\n"]}
|
|
@@ -2,7 +2,7 @@ import { type WildoSaasConfig } from '@wildo-ai/platform-config-lib';
|
|
|
2
2
|
export interface SystemsOfRecordLibraryDeclaration {
|
|
3
3
|
/** Backend manifests that gained the dependency, relative to the application root. Empty when nothing changed. */
|
|
4
4
|
readonly declaredIn: string[];
|
|
5
|
-
/** Root
|
|
5
|
+
/** Root overrides entries the link reconciliation wrote (or would write on a dry run). */
|
|
6
6
|
readonly linksAdded: string[];
|
|
7
7
|
}
|
|
8
8
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"systems-of-record-library.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"systems-of-record-library.service.d.ts","sourceRoot":"","sources":["../../../../src/services/application/systems-of-record-library.service.ts"],"names":[],"mappings":"AAoCA,OAAO,EAAuC,KAAK,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAa1G,MAAM,WAAW,iCAAiC;IAChD,kHAAkH;IAClH,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,CAAC;IAC9B,0FAA0F;IAC1F,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,CAAC;CAC/B;AAID;;;GAGG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE;IACnD,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,UAAU,EAAE,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,eAAe,EAAE,iBAAiB,CAAC,CAAC,CAAC;IAC3G,QAAQ,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC,QAAQ,CAAC,GAAG,EAAE;QAAE,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;QAAC,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;KAAE,CAAC;IACnF,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC;CAC1B,GAAG,iCAAiC,CAkCpC"}
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
*
|
|
22
22
|
* - the dependency, on every BACKEND service (a service with no `frontendType`): the backend is the process that reads
|
|
23
23
|
* facets at boot, and `wildo secrets` resolves the facet module from the backend's own manifest;
|
|
24
|
-
* - the root
|
|
24
|
+
* - the root overrides link (pnpm-workspace.yaml, #2808), through {@link ProviderPackageLinksService} — the same reconciliation `wildo compose`
|
|
25
25
|
* runs, which links every declared opt-in package (`file:` in framework development, the release version otherwise).
|
|
26
26
|
*
|
|
27
27
|
* It never REMOVES either. An application that stops declaring systems of record keeps the dependency until a person
|
|
@@ -35,12 +35,13 @@
|
|
|
35
35
|
import { existsSync, readFileSync, writeFileSync } from 'node:fs';
|
|
36
36
|
import { join, relative } from 'node:path';
|
|
37
37
|
import { FRAMEWORK_SYSTEMS_OF_RECORD_PACKAGE } from '@wildo-ai/platform-config-lib';
|
|
38
|
-
import { ProviderPackageLinksService } from '
|
|
38
|
+
import { ProviderPackageLinksService } from '@wildo-ai/application-creation-runtime';
|
|
39
|
+
import { resolveFrameworkRootManifestPath, resolveInstalledFrameworkAssetsRoot } from '../../services/framework/installed-framework-assets.service.js';
|
|
39
40
|
/** The dependency fields a declaration may already sit in; any of them means the backend declares the library. */
|
|
40
41
|
const DEPENDENCY_FIELDS = ['dependencies', 'devDependencies', 'peerDependencies', 'optionalDependencies'];
|
|
41
42
|
/**
|
|
42
43
|
* The specifier written. `"*"` because every `@wildo-ai/*` dependency of an application's own packages is written that
|
|
43
|
-
* way: the version comes from the root
|
|
44
|
+
* way: the version comes from the root overrides link, never from the importer.
|
|
44
45
|
*/
|
|
45
46
|
const LIBRARY_SPECIFIER = '*';
|
|
46
47
|
const NOTHING_DECLARED = { declaredIn: [], linksAdded: [] };
|
|
@@ -78,6 +79,8 @@ export function declareSystemsOfRecordLibrary(input) {
|
|
|
78
79
|
frameworkPath: input.frameworkPath,
|
|
79
80
|
log: input.log,
|
|
80
81
|
write,
|
|
82
|
+
installedFrameworkAssetsRoot: resolveInstalledFrameworkAssetsRoot(),
|
|
83
|
+
frameworkRootManifestPath: resolveFrameworkRootManifestPath,
|
|
81
84
|
});
|
|
82
85
|
if (declaredIn.length > 0 && links.added.length === 0)
|
|
83
86
|
input.log.info(' → run `pnpm install` so the new dependency resolves.');
|