@wildo-ai/wildo-cli 1.1.5 → 1.1.7
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/bin/wildo.ts +12 -1
- package/dist/bin/wildo.js +13 -1
- package/dist/bin/wildo.js.map +1 -1
- package/dist/src/commands/__tests__/update.command.test.js +16 -2
- package/dist/src/commands/__tests__/update.command.test.js.map +1 -1
- package/dist/src/commands/acp/probe.command.d.ts.map +1 -1
- package/dist/src/commands/acp/probe.command.js +19 -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 +3 -0
- package/dist/src/commands/align-deps.command.js.map +1 -1
- package/dist/src/commands/brand/propagate.command.d.ts +18 -38
- package/dist/src/commands/brand/propagate.command.d.ts.map +1 -1
- package/dist/src/commands/brand/propagate.command.js +32 -106
- package/dist/src/commands/brand/propagate.command.js.map +1 -1
- package/dist/src/commands/build/__tests__/console-verbs.commands.test.d.ts +2 -0
- package/dist/src/commands/build/__tests__/console-verbs.commands.test.d.ts.map +1 -0
- package/dist/src/commands/build/__tests__/console-verbs.commands.test.js +259 -0
- package/dist/src/commands/build/__tests__/console-verbs.commands.test.js.map +1 -0
- package/dist/src/commands/build/accept.command.d.ts +16 -0
- package/dist/src/commands/build/accept.command.d.ts.map +1 -0
- package/dist/src/commands/build/accept.command.js +37 -0
- package/dist/src/commands/build/accept.command.js.map +1 -0
- package/dist/src/commands/build/dispatches.command.d.ts +8 -0
- package/dist/src/commands/build/dispatches.command.d.ts.map +1 -0
- package/dist/src/commands/build/dispatches.command.js +26 -0
- package/dist/src/commands/build/dispatches.command.js.map +1 -0
- package/dist/src/commands/build/next.command.d.ts +8 -0
- package/dist/src/commands/build/next.command.d.ts.map +1 -0
- package/dist/src/commands/build/next.command.js +31 -0
- package/dist/src/commands/build/next.command.js.map +1 -0
- package/dist/src/commands/build/rearm.command.d.ts +16 -0
- package/dist/src/commands/build/rearm.command.d.ts.map +1 -0
- package/dist/src/commands/build/rearm.command.js +48 -0
- package/dist/src/commands/build/rearm.command.js.map +1 -0
- package/dist/src/commands/build/run.command.d.ts +15 -0
- package/dist/src/commands/build/run.command.d.ts.map +1 -0
- package/dist/src/commands/build/run.command.js +41 -0
- package/dist/src/commands/build/run.command.js.map +1 -0
- package/dist/src/commands/build/tasks.command.d.ts +8 -0
- package/dist/src/commands/build/tasks.command.d.ts.map +1 -0
- package/dist/src/commands/build/tasks.command.js +24 -0
- package/dist/src/commands/build/tasks.command.js.map +1 -0
- package/dist/src/commands/config/__tests__/sync.command.test.js +233 -4
- package/dist/src/commands/config/__tests__/sync.command.test.js.map +1 -1
- package/dist/src/commands/config/__tests__/validate.command.test.js +122 -1
- package/dist/src/commands/config/__tests__/validate.command.test.js.map +1 -1
- package/dist/src/commands/config/data-retention.command.d.ts +17 -0
- package/dist/src/commands/config/data-retention.command.d.ts.map +1 -0
- package/dist/src/commands/config/data-retention.command.js +58 -0
- package/dist/src/commands/config/data-retention.command.js.map +1 -0
- package/dist/src/commands/config/subject-data-recipients.command.d.ts +17 -0
- package/dist/src/commands/config/subject-data-recipients.command.d.ts.map +1 -0
- package/dist/src/commands/config/subject-data-recipients.command.js +59 -0
- package/dist/src/commands/config/subject-data-recipients.command.js.map +1 -0
- package/dist/src/commands/config/sync.command.d.ts +18 -5
- package/dist/src/commands/config/sync.command.d.ts.map +1 -1
- package/dist/src/commands/config/sync.command.js +132 -18
- package/dist/src/commands/config/sync.command.js.map +1 -1
- package/dist/src/commands/config/validate.command.d.ts +39 -2
- package/dist/src/commands/config/validate.command.d.ts.map +1 -1
- package/dist/src/commands/config/validate.command.js +186 -8
- package/dist/src/commands/config/validate.command.js.map +1 -1
- package/dist/src/commands/context/__tests__/companion-refusal-hint.test.d.ts +2 -0
- package/dist/src/commands/context/__tests__/companion-refusal-hint.test.d.ts.map +1 -0
- package/dist/src/commands/context/__tests__/companion-refusal-hint.test.js +118 -0
- package/dist/src/commands/context/__tests__/companion-refusal-hint.test.js.map +1 -0
- package/dist/src/commands/context/__tests__/elements.command.test.js +6 -5
- package/dist/src/commands/context/__tests__/elements.command.test.js.map +1 -1
- package/dist/src/commands/context/__tests__/info.command.test.js +10 -9
- package/dist/src/commands/context/__tests__/info.command.test.js.map +1 -1
- package/dist/src/commands/context/__tests__/journey-application-line.test.d.ts +2 -0
- package/dist/src/commands/context/__tests__/journey-application-line.test.d.ts.map +1 -0
- package/dist/src/commands/context/__tests__/journey-application-line.test.js +71 -0
- package/dist/src/commands/context/__tests__/journey-application-line.test.js.map +1 -0
- package/dist/src/commands/context/__tests__/journey-attempt-history.test.d.ts +2 -0
- package/dist/src/commands/context/__tests__/journey-attempt-history.test.d.ts.map +1 -0
- package/dist/src/commands/context/__tests__/journey-attempt-history.test.js +27 -0
- package/dist/src/commands/context/__tests__/journey-attempt-history.test.js.map +1 -0
- package/dist/src/commands/context/__tests__/pipelines.command.test.d.ts +2 -0
- package/dist/src/commands/context/__tests__/pipelines.command.test.d.ts.map +1 -0
- package/dist/src/commands/context/__tests__/pipelines.command.test.js +136 -0
- package/dist/src/commands/context/__tests__/pipelines.command.test.js.map +1 -0
- package/dist/src/commands/context/__tests__/workspace.command.test.js +19 -1
- package/dist/src/commands/context/__tests__/workspace.command.test.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 +3 -2
- 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 +7 -5
- 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 +9 -10
- package/dist/src/commands/context/context-command.utils.js.map +1 -1
- package/dist/src/commands/context/health.command.d.ts.map +1 -1
- package/dist/src/commands/context/health.command.js +7 -2
- package/dist/src/commands/context/health.command.js.map +1 -1
- package/dist/src/commands/context/journey.command.d.ts +123 -0
- package/dist/src/commands/context/journey.command.d.ts.map +1 -1
- package/dist/src/commands/context/journey.command.js +149 -33
- 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 +2 -1
- package/dist/src/commands/context/jurisdictions.command.js.map +1 -1
- package/dist/src/commands/context/list.command.d.ts.map +1 -1
- package/dist/src/commands/context/list.command.js +6 -3
- package/dist/src/commands/context/list.command.js.map +1 -1
- package/dist/src/commands/context/pipelines.command.d.ts +25 -0
- package/dist/src/commands/context/pipelines.command.d.ts.map +1 -0
- package/dist/src/commands/context/pipelines.command.js +149 -0
- package/dist/src/commands/context/pipelines.command.js.map +1 -0
- package/dist/src/commands/context/workspace.command.d.ts.map +1 -1
- package/dist/src/commands/context/workspace.command.js +6 -4
- package/dist/src/commands/context/workspace.command.js.map +1 -1
- package/dist/src/commands/creation/__tests__/creation.commands.test.d.ts +2 -0
- package/dist/src/commands/creation/__tests__/creation.commands.test.d.ts.map +1 -0
- package/dist/src/commands/creation/__tests__/creation.commands.test.js +294 -0
- package/dist/src/commands/creation/__tests__/creation.commands.test.js.map +1 -0
- package/dist/src/commands/creation/__tests__/revert.command.test.d.ts +2 -0
- package/dist/src/commands/creation/__tests__/revert.command.test.d.ts.map +1 -0
- package/dist/src/commands/creation/__tests__/revert.command.test.js +62 -0
- package/dist/src/commands/creation/__tests__/revert.command.test.js.map +1 -0
- package/dist/src/commands/creation/accept.command.d.ts +12 -0
- package/dist/src/commands/creation/accept.command.d.ts.map +1 -0
- package/dist/src/commands/creation/accept.command.js +34 -0
- package/dist/src/commands/creation/accept.command.js.map +1 -0
- package/dist/src/commands/creation/answer.command.d.ts +30 -0
- package/dist/src/commands/creation/answer.command.d.ts.map +1 -0
- package/dist/src/commands/creation/answer.command.js +154 -0
- package/dist/src/commands/creation/answer.command.js.map +1 -0
- package/dist/src/commands/creation/brief.command.d.ts +16 -0
- package/dist/src/commands/creation/brief.command.d.ts.map +1 -0
- package/dist/src/commands/creation/brief.command.js +50 -0
- package/dist/src/commands/creation/brief.command.js.map +1 -0
- package/dist/src/commands/creation/deliberate.command.d.ts +17 -0
- package/dist/src/commands/creation/deliberate.command.d.ts.map +1 -0
- package/dist/src/commands/creation/deliberate.command.js +55 -0
- package/dist/src/commands/creation/deliberate.command.js.map +1 -0
- package/dist/src/commands/creation/diff.command.d.ts +12 -0
- package/dist/src/commands/creation/diff.command.d.ts.map +1 -0
- package/dist/src/commands/creation/diff.command.js +33 -0
- package/dist/src/commands/creation/diff.command.js.map +1 -0
- package/dist/src/commands/creation/feed.command.d.ts +21 -0
- package/dist/src/commands/creation/feed.command.d.ts.map +1 -0
- package/dist/src/commands/creation/feed.command.js +135 -0
- package/dist/src/commands/creation/feed.command.js.map +1 -0
- package/dist/src/commands/creation/loop.command.d.ts +19 -0
- package/dist/src/commands/creation/loop.command.d.ts.map +1 -0
- package/dist/src/commands/creation/loop.command.js +52 -0
- package/dist/src/commands/creation/loop.command.js.map +1 -0
- package/dist/src/commands/creation/persona.command.d.ts +16 -0
- package/dist/src/commands/creation/persona.command.d.ts.map +1 -0
- package/dist/src/commands/creation/persona.command.js +54 -0
- package/dist/src/commands/creation/persona.command.js.map +1 -0
- package/dist/src/commands/creation/prompt-hook.command.d.ts +14 -0
- package/dist/src/commands/creation/prompt-hook.command.d.ts.map +1 -0
- package/dist/src/commands/creation/prompt-hook.command.js +24 -0
- package/dist/src/commands/creation/prompt-hook.command.js.map +1 -0
- package/dist/src/commands/creation/pulse.command.d.ts +14 -0
- package/dist/src/commands/creation/pulse.command.d.ts.map +1 -0
- package/dist/src/commands/creation/pulse.command.js +25 -0
- package/dist/src/commands/creation/pulse.command.js.map +1 -0
- package/dist/src/commands/creation/questions.command.d.ts +16 -0
- package/dist/src/commands/creation/questions.command.d.ts.map +1 -0
- package/dist/src/commands/creation/questions.command.js +57 -0
- package/dist/src/commands/creation/questions.command.js.map +1 -0
- package/dist/src/commands/creation/revert.command.d.ts +15 -0
- package/dist/src/commands/creation/revert.command.d.ts.map +1 -0
- package/dist/src/commands/creation/revert.command.js +41 -0
- package/dist/src/commands/creation/revert.command.js.map +1 -0
- package/dist/src/commands/creation/run.command.d.ts +15 -0
- package/dist/src/commands/creation/run.command.d.ts.map +1 -0
- package/dist/src/commands/creation/run.command.js +64 -0
- package/dist/src/commands/creation/run.command.js.map +1 -0
- package/dist/src/commands/creation/statusline.command.d.ts +14 -0
- package/dist/src/commands/creation/statusline.command.d.ts.map +1 -0
- package/dist/src/commands/creation/statusline.command.js +24 -0
- package/dist/src/commands/creation/statusline.command.js.map +1 -0
- package/dist/src/commands/creation/watch.command.d.ts +20 -0
- package/dist/src/commands/creation/watch.command.d.ts.map +1 -0
- package/dist/src/commands/creation/watch.command.js +54 -0
- package/dist/src/commands/creation/watch.command.js.map +1 -0
- package/dist/src/commands/creation/why.command.d.ts +15 -0
- package/dist/src/commands/creation/why.command.d.ts.map +1 -0
- package/dist/src/commands/creation/why.command.js +45 -0
- package/dist/src/commands/creation/why.command.js.map +1 -0
- package/dist/src/commands/creation/writes.command.d.ts +8 -0
- package/dist/src/commands/creation/writes.command.d.ts.map +1 -0
- package/dist/src/commands/creation/writes.command.js +29 -0
- package/dist/src/commands/creation/writes.command.js.map +1 -0
- package/dist/src/commands/db/db-schema-plan.utils.d.ts +33 -0
- package/dist/src/commands/db/db-schema-plan.utils.d.ts.map +1 -1
- package/dist/src/commands/db/db-schema-plan.utils.js +43 -17
- package/dist/src/commands/db/db-schema-plan.utils.js.map +1 -1
- package/dist/src/commands/dev/__tests__/start.command.test.js +1 -1
- package/dist/src/commands/dev/__tests__/start.command.test.js.map +1 -1
- package/dist/src/commands/dev/__tests__/sync-csp.command.test.js +6 -1
- package/dist/src/commands/dev/__tests__/sync-csp.command.test.js.map +1 -1
- package/dist/src/commands/dev/start.command.d.ts.map +1 -1
- package/dist/src/commands/dev/start.command.js +3 -1
- package/dist/src/commands/dev/start.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 +8 -4
- package/dist/src/commands/dev/sync-csp.command.js.map +1 -1
- package/dist/src/commands/docs/__tests__/publish.command.test.js +24 -1
- package/dist/src/commands/docs/__tests__/publish.command.test.js.map +1 -1
- package/dist/src/commands/docs/publish.command.d.ts.map +1 -1
- package/dist/src/commands/docs/publish.command.js +3 -1
- package/dist/src/commands/docs/publish.command.js.map +1 -1
- package/dist/src/commands/frontend/__tests__/publish.command.test.js +5 -1
- package/dist/src/commands/frontend/__tests__/publish.command.test.js.map +1 -1
- package/dist/src/commands/frontend/publish.command.d.ts.map +1 -1
- package/dist/src/commands/frontend/publish.command.js +6 -2
- package/dist/src/commands/frontend/publish.command.js.map +1 -1
- package/dist/src/commands/fwk/__tests__/generate-docs.command.test.js +7 -1
- package/dist/src/commands/fwk/__tests__/generate-docs.command.test.js.map +1 -1
- package/dist/src/commands/fwk/__tests__/publish-all.command.test.js +100 -7
- package/dist/src/commands/fwk/__tests__/publish-all.command.test.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 +8 -0
- package/dist/src/commands/fwk/dev-skills.command.js.map +1 -1
- package/dist/src/commands/fwk/generate-docs.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/generate-docs.command.js +1 -0
- package/dist/src/commands/fwk/generate-docs.command.js.map +1 -1
- package/dist/src/commands/fwk/generate-providers.command.d.ts +3 -1
- package/dist/src/commands/fwk/generate-providers.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/generate-providers.command.js +19 -8
- package/dist/src/commands/fwk/generate-providers.command.js.map +1 -1
- package/dist/src/commands/fwk/publish-all.command.d.ts +50 -4
- package/dist/src/commands/fwk/publish-all.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-all.command.js +104 -14
- package/dist/src/commands/fwk/publish-all.command.js.map +1 -1
- package/dist/src/commands/generate/__tests__/email-command.utils.test.js +2 -1
- package/dist/src/commands/generate/__tests__/email-command.utils.test.js.map +1 -1
- package/dist/src/commands/generate/labelling-command.utils.d.ts +11 -0
- package/dist/src/commands/generate/labelling-command.utils.d.ts.map +1 -1
- package/dist/src/commands/generate/labelling-command.utils.js +70 -0
- package/dist/src/commands/generate/labelling-command.utils.js.map +1 -1
- package/dist/src/commands/generate/labels-plan.command.d.ts.map +1 -1
- package/dist/src/commands/generate/labels-plan.command.js +19 -1
- package/dist/src/commands/generate/labels-plan.command.js.map +1 -1
- package/dist/src/commands/generate/translate.command.d.ts +6 -0
- package/dist/src/commands/generate/translate.command.d.ts.map +1 -1
- package/dist/src/commands/generate/translate.command.js +8 -2
- package/dist/src/commands/generate/translate.command.js.map +1 -1
- package/dist/src/commands/init.command.d.ts +5 -0
- package/dist/src/commands/init.command.d.ts.map +1 -1
- package/dist/src/commands/init.command.js +47 -3
- package/dist/src/commands/init.command.js.map +1 -1
- package/dist/src/commands/local/deregister.command.d.ts.map +1 -1
- package/dist/src/commands/local/deregister.command.js +19 -7
- package/dist/src/commands/local/deregister.command.js.map +1 -1
- package/dist/src/commands/local/dev.command.d.ts.map +1 -1
- package/dist/src/commands/local/dev.command.js +15 -1
- package/dist/src/commands/local/dev.command.js.map +1 -1
- package/dist/src/commands/local/doctor.command.d.ts +1 -1
- package/dist/src/commands/local/doctor.command.d.ts.map +1 -1
- package/dist/src/commands/local/doctor.command.js +21 -3
- package/dist/src/commands/local/doctor.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 +11 -7
- package/dist/src/commands/local/restore.command.js.map +1 -1
- package/dist/src/commands/lock/check.command.d.ts.map +1 -1
- package/dist/src/commands/lock/check.command.js +21 -24
- package/dist/src/commands/lock/check.command.js.map +1 -1
- package/dist/src/commands/market/__tests__/generate.command.test.js +11 -1
- package/dist/src/commands/market/__tests__/generate.command.test.js.map +1 -1
- package/dist/src/commands/market/__tests__/market-command.utils.test.js +2 -1
- package/dist/src/commands/market/__tests__/market-command.utils.test.js.map +1 -1
- package/dist/src/commands/market/generate.command.d.ts.map +1 -1
- package/dist/src/commands/market/generate.command.js +18 -2
- package/dist/src/commands/market/generate.command.js.map +1 -1
- package/dist/src/commands/prefs/set.command.d.ts.map +1 -1
- package/dist/src/commands/prefs/set.command.js +13 -24
- package/dist/src/commands/prefs/set.command.js.map +1 -1
- package/dist/src/commands/providers/show.command.d.ts +21 -14
- package/dist/src/commands/providers/show.command.d.ts.map +1 -1
- package/dist/src/commands/providers/show.command.js +44 -24
- package/dist/src/commands/providers/show.command.js.map +1 -1
- package/dist/src/commands/registry/__tests__/edited-files-protection.test.d.ts +10 -0
- package/dist/src/commands/registry/__tests__/edited-files-protection.test.d.ts.map +1 -0
- package/dist/src/commands/registry/__tests__/edited-files-protection.test.js +232 -0
- package/dist/src/commands/registry/__tests__/edited-files-protection.test.js.map +1 -0
- package/dist/src/commands/registry/__tests__/local-checkout-install.test.d.ts +11 -0
- package/dist/src/commands/registry/__tests__/local-checkout-install.test.d.ts.map +1 -0
- package/dist/src/commands/registry/__tests__/local-checkout-install.test.js +450 -0
- package/dist/src/commands/registry/__tests__/local-checkout-install.test.js.map +1 -0
- package/dist/src/commands/registry/__tests__/publish.test.d.ts +2 -0
- package/dist/src/commands/registry/__tests__/publish.test.d.ts.map +1 -0
- package/dist/src/commands/registry/__tests__/publish.test.js +196 -0
- package/dist/src/commands/registry/__tests__/publish.test.js.map +1 -0
- package/dist/src/commands/registry/__tests__/repair-contract.test.js +34 -7
- package/dist/src/commands/registry/__tests__/repair-contract.test.js.map +1 -1
- package/dist/src/commands/registry/__tests__/requirements.test.js +395 -14
- package/dist/src/commands/registry/__tests__/requirements.test.js.map +1 -1
- package/dist/src/commands/registry/__tests__/version-resolution.test.js +9 -4
- package/dist/src/commands/registry/__tests__/version-resolution.test.js.map +1 -1
- package/dist/src/commands/registry/__tests__/yank.test.d.ts +9 -0
- package/dist/src/commands/registry/__tests__/yank.test.d.ts.map +1 -0
- package/dist/src/commands/registry/__tests__/yank.test.js +92 -0
- package/dist/src/commands/registry/__tests__/yank.test.js.map +1 -0
- package/dist/src/commands/registry/add.command.d.ts +4 -0
- package/dist/src/commands/registry/add.command.d.ts.map +1 -1
- package/dist/src/commands/registry/add.command.js +196 -116
- package/dist/src/commands/registry/add.command.js.map +1 -1
- package/dist/src/commands/registry/info.command.d.ts.map +1 -1
- package/dist/src/commands/registry/info.command.js +17 -4
- package/dist/src/commands/registry/info.command.js.map +1 -1
- package/dist/src/commands/registry/key.command.d.ts +32 -0
- package/dist/src/commands/registry/key.command.d.ts.map +1 -0
- package/dist/src/commands/registry/key.command.js +129 -0
- package/dist/src/commands/registry/key.command.js.map +1 -0
- package/dist/src/commands/registry/login.command.d.ts +5 -0
- package/dist/src/commands/registry/login.command.d.ts.map +1 -1
- package/dist/src/commands/registry/login.command.js +7 -2
- package/dist/src/commands/registry/login.command.js.map +1 -1
- package/dist/src/commands/registry/outdated.command.d.ts +21 -0
- package/dist/src/commands/registry/outdated.command.d.ts.map +1 -0
- package/dist/src/commands/registry/outdated.command.js +81 -0
- package/dist/src/commands/registry/outdated.command.js.map +1 -0
- package/dist/src/commands/registry/publish.command.d.ts.map +1 -1
- package/dist/src/commands/registry/publish.command.js +95 -20
- package/dist/src/commands/registry/publish.command.js.map +1 -1
- package/dist/src/commands/registry/remove.command.d.ts.map +1 -1
- package/dist/src/commands/registry/remove.command.js +155 -42
- package/dist/src/commands/registry/remove.command.js.map +1 -1
- package/dist/src/commands/registry/repair-lockfile.command.d.ts +9 -3
- package/dist/src/commands/registry/repair-lockfile.command.d.ts.map +1 -1
- package/dist/src/commands/registry/repair-lockfile.command.js +135 -74
- 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 +51 -9
- package/dist/src/commands/registry/search.command.js.map +1 -1
- package/dist/src/commands/registry/status.command.d.ts +15 -0
- package/dist/src/commands/registry/status.command.d.ts.map +1 -0
- package/dist/src/commands/registry/status.command.js +61 -0
- package/dist/src/commands/registry/status.command.js.map +1 -0
- package/dist/src/commands/registry/update.command.d.ts.map +1 -1
- package/dist/src/commands/registry/update.command.js +307 -179
- package/dist/src/commands/registry/update.command.js.map +1 -1
- package/dist/src/commands/registry/yank.command.d.ts +19 -0
- package/dist/src/commands/registry/yank.command.d.ts.map +1 -0
- package/dist/src/commands/registry/yank.command.js +80 -0
- package/dist/src/commands/registry/yank.command.js.map +1 -0
- package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.d.ts +2 -0
- package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.d.ts.map +1 -0
- package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.js +61 -0
- package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.js.map +1 -0
- package/dist/src/commands/secrets/github.command.d.ts +7 -0
- package/dist/src/commands/secrets/github.command.d.ts.map +1 -0
- package/dist/src/commands/secrets/github.command.js +89 -0
- package/dist/src/commands/secrets/github.command.js.map +1 -0
- package/dist/src/commands/secrets/list.command.d.ts +14 -0
- package/dist/src/commands/secrets/list.command.d.ts.map +1 -0
- package/dist/src/commands/secrets/list.command.js +154 -0
- package/dist/src/commands/secrets/list.command.js.map +1 -0
- package/dist/src/commands/secrets/set.command.d.ts +44 -0
- package/dist/src/commands/secrets/set.command.d.ts.map +1 -0
- package/dist/src/commands/secrets/set.command.js +131 -0
- package/dist/src/commands/secrets/set.command.js.map +1 -0
- package/dist/src/commands/secrets/unset.command.d.ts +7 -0
- package/dist/src/commands/secrets/unset.command.d.ts.map +1 -0
- package/dist/src/commands/secrets/unset.command.js +42 -0
- package/dist/src/commands/secrets/unset.command.js.map +1 -0
- package/dist/src/commands/update.command.js +10 -12
- package/dist/src/commands/update.command.js.map +1 -1
- package/dist/src/commands/website/__tests__/audit.command.test.js +58 -0
- package/dist/src/commands/website/__tests__/audit.command.test.js.map +1 -1
- package/dist/src/commands/website/audit.command.d.ts +8 -0
- package/dist/src/commands/website/audit.command.d.ts.map +1 -1
- package/dist/src/commands/website/audit.command.js +39 -2
- package/dist/src/commands/website/audit.command.js.map +1 -1
- package/dist/src/commands/workbench/open.command.d.ts +8 -0
- package/dist/src/commands/workbench/open.command.d.ts.map +1 -1
- package/dist/src/commands/workbench/open.command.js +29 -3
- package/dist/src/commands/workbench/open.command.js.map +1 -1
- package/dist/src/kernel/bootstrap.d.ts.map +1 -1
- package/dist/src/kernel/bootstrap.js +4 -1
- package/dist/src/kernel/bootstrap.js.map +1 -1
- package/dist/src/kernel/hooks.d.ts.map +1 -1
- package/dist/src/kernel/hooks.js +7 -1
- package/dist/src/kernel/hooks.js.map +1 -1
- package/dist/src/kernel/types.d.ts +7 -0
- package/dist/src/kernel/types.d.ts.map +1 -1
- package/dist/src/kernel/types.js.map +1 -1
- package/dist/src/modules/domain/credentials/creation-essentials.module.d.ts +19 -0
- package/dist/src/modules/domain/credentials/creation-essentials.module.d.ts.map +1 -0
- package/dist/src/modules/domain/credentials/creation-essentials.module.js +130 -0
- package/dist/src/modules/domain/credentials/creation-essentials.module.js.map +1 -0
- package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.js +26 -3
- package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.js.map +1 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.test.js +12 -16
- package/dist/src/services/application/__tests__/app-bootstrap.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js +5 -4
- package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js.map +1 -1
- package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js +22 -1
- package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.js +18 -0
- package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.js +175 -0
- package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.js.map +1 -0
- package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.js +31 -0
- package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.js.map +1 -0
- package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.js +20 -1
- package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.js.map +1 -1
- package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.js +76 -0
- package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.js.map +1 -0
- package/dist/src/services/application/__tests__/provider-package-links.service.test.js +126 -66
- package/dist/src/services/application/__tests__/provider-package-links.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.js +40 -0
- package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.js.map +1 -0
- package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js +78 -1
- package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/saas-skeleton.service.test.js +51 -5
- package/dist/src/services/application/__tests__/saas-skeleton.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/systems-of-record-library.service.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/systems-of-record-library.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/systems-of-record-library.service.test.js +79 -0
- package/dist/src/services/application/__tests__/systems-of-record-library.service.test.js.map +1 -0
- package/dist/src/services/application/app-bootstrap.service.d.ts +58 -29
- package/dist/src/services/application/app-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/app-bootstrap.service.js +72 -40
- package/dist/src/services/application/app-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 +5 -2
- package/dist/src/services/application/application-assets-delivery.service.js.map +1 -1
- package/dist/src/services/application/application-creation-readiness.service.js +2 -2
- package/dist/src/services/application/application-creation-readiness.service.js.map +1 -1
- package/dist/src/services/application/application-dependency-alignment.service.d.ts +34 -1
- package/dist/src/services/application/application-dependency-alignment.service.d.ts.map +1 -1
- package/dist/src/services/application/application-dependency-alignment.service.js +80 -13
- package/dist/src/services/application/application-dependency-alignment.service.js.map +1 -1
- package/dist/src/services/application/frontend-public-config-secret-screen.service.d.ts +83 -0
- package/dist/src/services/application/frontend-public-config-secret-screen.service.d.ts.map +1 -0
- package/dist/src/services/application/frontend-public-config-secret-screen.service.js +161 -0
- package/dist/src/services/application/frontend-public-config-secret-screen.service.js.map +1 -0
- package/dist/src/services/application/local-application-initialization.service.d.ts.map +1 -1
- package/dist/src/services/application/local-application-initialization.service.js +25 -19
- package/dist/src/services/application/local-application-initialization.service.js.map +1 -1
- package/dist/src/services/application/provider-package-links.service.d.ts +66 -26
- package/dist/src/services/application/provider-package-links.service.d.ts.map +1 -1
- package/dist/src/services/application/provider-package-links.service.js +140 -41
- package/dist/src/services/application/provider-package-links.service.js.map +1 -1
- package/dist/src/services/application/provider-runtime-sync.service.d.ts +34 -3
- package/dist/src/services/application/provider-runtime-sync.service.d.ts.map +1 -1
- package/dist/src/services/application/provider-runtime-sync.service.js +85 -28
- package/dist/src/services/application/provider-runtime-sync.service.js.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.d.ts.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.js +20 -11
- package/dist/src/services/application/saas-skeleton.service.js.map +1 -1
- package/dist/src/services/application/systems-of-record-library.service.d.ts +22 -0
- package/dist/src/services/application/systems-of-record-library.service.d.ts.map +1 -0
- package/dist/src/services/application/systems-of-record-library.service.js +96 -0
- package/dist/src/services/application/systems-of-record-library.service.js.map +1 -0
- package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js +10 -0
- package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js.map +1 -1
- package/dist/src/services/catalog/service-address-resolver.service.d.ts +13 -0
- package/dist/src/services/catalog/service-address-resolver.service.d.ts.map +1 -1
- package/dist/src/services/catalog/service-address-resolver.service.js +8 -0
- package/dist/src/services/catalog/service-address-resolver.service.js.map +1 -1
- package/dist/src/services/catalog/service-catalog.schemas.d.ts +41 -0
- package/dist/src/services/catalog/service-catalog.schemas.d.ts.map +1 -1
- package/dist/src/services/catalog/service-catalog.schemas.js +13 -5
- package/dist/src/services/catalog/service-catalog.schemas.js.map +1 -1
- package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.js +14 -1
- package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.js.map +1 -1
- package/dist/src/services/coding-agents/acp-conformance-probe.service.d.ts +17 -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 +15 -8
- 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 +44 -0
- package/dist/src/services/coding-agents/coding-agent-login.service.d.ts.map +1 -0
- package/dist/src/services/coding-agents/coding-agent-login.service.js +94 -0
- package/dist/src/services/coding-agents/coding-agent-login.service.js.map +1 -0
- package/dist/src/services/companion/__tests__/companion-client.service.test.js +23 -0
- package/dist/src/services/companion/__tests__/companion-client.service.test.js.map +1 -1
- package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.d.ts +2 -0
- package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.d.ts.map +1 -0
- package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.js +25 -0
- package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.js.map +1 -0
- package/dist/src/services/companion/__tests__/console-fast-path.test.d.ts +2 -0
- package/dist/src/services/companion/__tests__/console-fast-path.test.d.ts.map +1 -0
- package/dist/src/services/companion/__tests__/console-fast-path.test.js +138 -0
- package/dist/src/services/companion/__tests__/console-fast-path.test.js.map +1 -0
- package/dist/src/services/companion/__tests__/creation-watch.test.d.ts +2 -0
- package/dist/src/services/companion/__tests__/creation-watch.test.d.ts.map +1 -0
- package/dist/src/services/companion/__tests__/creation-watch.test.js +86 -0
- package/dist/src/services/companion/__tests__/creation-watch.test.js.map +1 -0
- package/dist/src/services/companion/__tests__/workbench-cli.service.test.js +2 -1
- package/dist/src/services/companion/__tests__/workbench-cli.service.test.js.map +1 -1
- package/dist/src/services/companion/build-console.service.d.ts +84 -0
- package/dist/src/services/companion/build-console.service.d.ts.map +1 -0
- package/dist/src/services/companion/build-console.service.js +64 -0
- package/dist/src/services/companion/build-console.service.js.map +1 -0
- package/dist/src/services/companion/companion-client.service.d.ts +28 -0
- package/dist/src/services/companion/companion-client.service.d.ts.map +1 -1
- package/dist/src/services/companion/companion-client.service.js +54 -6
- package/dist/src/services/companion/companion-client.service.js.map +1 -1
- package/dist/src/services/companion/companion-health-hint.utils.d.ts +23 -0
- package/dist/src/services/companion/companion-health-hint.utils.d.ts.map +1 -0
- package/dist/src/services/companion/companion-health-hint.utils.js +31 -0
- package/dist/src/services/companion/companion-health-hint.utils.js.map +1 -0
- package/dist/src/services/companion/companion-local-token.utils.d.ts +10 -0
- package/dist/src/services/companion/companion-local-token.utils.d.ts.map +1 -1
- package/dist/src/services/companion/companion-local-token.utils.js +19 -1
- package/dist/src/services/companion/companion-local-token.utils.js.map +1 -1
- package/dist/src/services/companion/console-fast-path.d.ts +104 -0
- package/dist/src/services/companion/console-fast-path.d.ts.map +1 -0
- package/dist/src/services/companion/console-fast-path.js +281 -0
- package/dist/src/services/companion/console-fast-path.js.map +1 -0
- package/dist/src/services/companion/console-verb.utils.d.ts +29 -0
- package/dist/src/services/companion/console-verb.utils.d.ts.map +1 -0
- package/dist/src/services/companion/console-verb.utils.js +41 -0
- package/dist/src/services/companion/console-verb.utils.js.map +1 -0
- package/dist/src/services/companion/creation-console.service.d.ts +173 -0
- package/dist/src/services/companion/creation-console.service.d.ts.map +1 -0
- package/dist/src/services/companion/creation-console.service.js +377 -0
- package/dist/src/services/companion/creation-console.service.js.map +1 -0
- package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.d.ts +2 -0
- package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.d.ts.map +1 -0
- package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.js +71 -0
- package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.js.map +1 -0
- package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.d.ts +2 -0
- package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.d.ts.map +1 -0
- package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.js +109 -0
- package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.js.map +1 -0
- package/dist/src/services/compliance/data-retention-schedule.generator.d.ts +51 -0
- package/dist/src/services/compliance/data-retention-schedule.generator.d.ts.map +1 -0
- package/dist/src/services/compliance/data-retention-schedule.generator.js +120 -0
- package/dist/src/services/compliance/data-retention-schedule.generator.js.map +1 -0
- package/dist/src/services/compliance/generated-compliance-module-wiring.d.ts +7 -2
- package/dist/src/services/compliance/generated-compliance-module-wiring.d.ts.map +1 -1
- package/dist/src/services/compliance/generated-compliance-module-wiring.js +6 -1
- package/dist/src/services/compliance/generated-compliance-module-wiring.js.map +1 -1
- package/dist/src/services/compliance/subject-data-recipients.generator.d.ts +48 -0
- package/dist/src/services/compliance/subject-data-recipients.generator.d.ts.map +1 -0
- package/dist/src/services/compliance/subject-data-recipients.generator.js +158 -0
- package/dist/src/services/compliance/subject-data-recipients.generator.js.map +1 -0
- package/dist/src/services/context/context-manager.service.d.ts.map +1 -1
- package/dist/src/services/context/context-manager.service.js +1 -0
- package/dist/src/services/context/context-manager.service.js.map +1 -1
- package/dist/src/services/context/context.schemas.d.ts +8 -0
- 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 +15 -0
- package/dist/src/services/context/machine-preferences.writer.d.ts.map +1 -0
- package/dist/src/services/context/machine-preferences.writer.js +30 -0
- package/dist/src/services/context/machine-preferences.writer.js.map +1 -0
- package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.d.ts +2 -0
- package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.js +138 -0
- package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.js.map +1 -0
- package/dist/src/services/credentials/__tests__/application-secrets.service.test.d.ts +2 -0
- package/dist/src/services/credentials/__tests__/application-secrets.service.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/application-secrets.service.test.js +201 -0
- package/dist/src/services/credentials/__tests__/application-secrets.service.test.js.map +1 -0
- package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.js +42 -0
- package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.js.map +1 -1
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.js +28 -2
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.js.map +1 -1
- package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.d.ts +2 -0
- package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.js +56 -0
- package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.js.map +1 -0
- package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.js +5 -4
- package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.js.map +1 -1
- package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.d.ts +2 -0
- package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.js +113 -0
- package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.js.map +1 -0
- package/dist/src/services/credentials/__tests__/secret-requirements.service.test.d.ts +2 -0
- package/dist/src/services/credentials/__tests__/secret-requirements.service.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/secret-requirements.service.test.js +271 -0
- package/dist/src/services/credentials/__tests__/secret-requirements.service.test.js.map +1 -0
- package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.js +2 -1
- package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.js.map +1 -1
- package/dist/src/services/credentials/application-secret-owners.service.d.ts +55 -0
- package/dist/src/services/credentials/application-secret-owners.service.d.ts.map +1 -0
- package/dist/src/services/credentials/application-secret-owners.service.js +238 -0
- package/dist/src/services/credentials/application-secret-owners.service.js.map +1 -0
- package/dist/src/services/credentials/application-secrets.service.d.ts +93 -0
- package/dist/src/services/credentials/application-secrets.service.d.ts.map +1 -0
- package/dist/src/services/credentials/application-secrets.service.js +314 -0
- package/dist/src/services/credentials/application-secrets.service.js.map +1 -0
- package/dist/src/services/credentials/ci-secrets-adapter.service.d.ts +35 -4
- package/dist/src/services/credentials/ci-secrets-adapter.service.d.ts.map +1 -1
- package/dist/src/services/credentials/ci-secrets-adapter.service.js +98 -8
- package/dist/src/services/credentials/ci-secrets-adapter.service.js.map +1 -1
- package/dist/src/services/credentials/composed-provider-catalogue.d.ts +16 -3
- package/dist/src/services/credentials/composed-provider-catalogue.d.ts.map +1 -1
- package/dist/src/services/credentials/composed-provider-catalogue.js +6 -3
- package/dist/src/services/credentials/composed-provider-catalogue.js.map +1 -1
- package/dist/src/services/credentials/credentials.schemas.d.ts +2 -6
- package/dist/src/services/credentials/credentials.schemas.d.ts.map +1 -1
- package/dist/src/services/credentials/credentials.schemas.js +33 -0
- package/dist/src/services/credentials/credentials.schemas.js.map +1 -1
- package/dist/src/services/credentials/framework-managed-secrets.d.ts +16 -1
- package/dist/src/services/credentials/framework-managed-secrets.d.ts.map +1 -1
- package/dist/src/services/credentials/framework-managed-secrets.js +50 -1
- package/dist/src/services/credentials/framework-managed-secrets.js.map +1 -1
- package/dist/src/services/credentials/local-secrets-store.service.d.ts +59 -0
- package/dist/src/services/credentials/local-secrets-store.service.d.ts.map +1 -0
- package/dist/src/services/credentials/local-secrets-store.service.js +87 -0
- package/dist/src/services/credentials/local-secrets-store.service.js.map +1 -0
- package/dist/src/services/credentials/provider-env-vars.utils.d.ts +12 -38
- package/dist/src/services/credentials/provider-env-vars.utils.d.ts.map +1 -1
- package/dist/src/services/credentials/provider-env-vars.utils.js +15 -136
- package/dist/src/services/credentials/provider-env-vars.utils.js.map +1 -1
- package/dist/src/services/credentials/provider-secret-format.d.ts +3 -0
- package/dist/src/services/credentials/provider-secret-format.d.ts.map +1 -0
- package/dist/src/services/credentials/provider-secret-format.js +24 -0
- package/dist/src/services/credentials/provider-secret-format.js.map +1 -0
- package/dist/src/services/credentials/remote-secrets-store.service.d.ts +38 -0
- package/dist/src/services/credentials/remote-secrets-store.service.d.ts.map +1 -0
- package/dist/src/services/credentials/remote-secrets-store.service.js +115 -0
- package/dist/src/services/credentials/remote-secrets-store.service.js.map +1 -0
- package/dist/src/services/credentials/secret-requirements.service.d.ts +196 -0
- package/dist/src/services/credentials/secret-requirements.service.d.ts.map +1 -0
- package/dist/src/services/credentials/secret-requirements.service.js +402 -0
- package/dist/src/services/credentials/secret-requirements.service.js.map +1 -0
- package/dist/src/services/credentials/secrets-reader.service.d.ts +5 -0
- package/dist/src/services/credentials/secrets-reader.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-reader.service.js +6 -1
- package/dist/src/services/credentials/secrets-reader.service.js.map +1 -1
- package/dist/src/services/credentials/secrets-rotation.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-rotation.service.js +3 -0
- package/dist/src/services/credentials/secrets-rotation.service.js.map +1 -1
- package/dist/src/services/data-services/data-services.schemas.d.ts +15 -15
- package/dist/src/services/data-services/data-services.schemas.js +15 -15
- package/dist/src/services/data-services/data-services.schemas.js.map +1 -1
- package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.js +4 -0
- package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.js.map +1 -1
- package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.js +45 -0
- package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.js.map +1 -1
- package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.d.ts +2 -0
- package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.js +47 -0
- package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.js.map +1 -0
- package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js +32 -0
- package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js.map +1 -1
- package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.js +41 -1
- package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.js.map +1 -1
- package/dist/src/services/deployment/__tests__/platform-service-memory.test.d.ts +2 -0
- package/dist/src/services/deployment/__tests__/platform-service-memory.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/platform-service-memory.test.js +88 -0
- package/dist/src/services/deployment/__tests__/platform-service-memory.test.js.map +1 -0
- package/dist/src/services/deployment/ci-workflow-generator.service.d.ts +7 -2
- package/dist/src/services/deployment/ci-workflow-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/ci-workflow-generator.service.js +7 -4
- package/dist/src/services/deployment/ci-workflow-generator.service.js.map +1 -1
- package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.js +74 -4
- package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.js.map +1 -1
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js +19 -15
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js.map +1 -1
- package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.js +22 -0
- package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.js.map +1 -1
- package/dist/src/services/deployment/docker/backing-service-health-watch.d.ts +15 -0
- 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 +78 -2
- 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 +10 -0
- package/dist/src/services/deployment/docker/compose-service-health.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/compose-service-health.js +25 -0
- 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 +28 -0
- 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 +69 -34
- package/dist/src/services/deployment/docker/docker-compose-generator.service.js.map +1 -1
- package/dist/src/services/deployment/docker/docker.service.d.ts +17 -0
- package/dist/src/services/deployment/docker/docker.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker.service.js +50 -0
- package/dist/src/services/deployment/docker/docker.service.js.map +1 -1
- package/dist/src/services/deployment/docker/local-data-adoption.service.d.ts +2 -0
- 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 +9 -8
- package/dist/src/services/deployment/docker/local-data-adoption.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.d.ts +2 -0
- package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.js +81 -0
- package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.js.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js +15 -16
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js.map +1 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js +28 -16
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js.map +1 -1
- package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.d.ts +39 -0
- package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.js +39 -0
- package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.js.map +1 -0
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js +8 -4
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js +18 -7
- 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 +24 -4
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js +20 -4
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.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 +6 -5
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.service.d.ts +15 -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 +48 -0
- 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 +22 -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 +58 -6
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.js.map +1 -1
- package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js +156 -5
- package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js.map +1 -1
- package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.js +6 -14
- package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.js.map +1 -1
- package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js +14 -2
- package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js.map +1 -1
- package/dist/src/services/environment/application-backing-service-addressing.utils.d.ts +19 -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 +32 -1
- package/dist/src/services/environment/application-backing-service-addressing.utils.js.map +1 -1
- package/dist/src/services/environment/env-configuration-generator.service.d.ts +5 -7
- package/dist/src/services/environment/env-configuration-generator.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-configuration-generator.service.js.map +1 -1
- package/dist/src/services/environment/env-vars-builder.service.d.ts +10 -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 +201 -24
- package/dist/src/services/environment/env-vars-builder.service.js.map +1 -1
- package/dist/src/services/environment/environment-lifecycle.service.d.ts +8 -4
- package/dist/src/services/environment/environment-lifecycle.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-lifecycle.service.js +8 -6
- package/dist/src/services/environment/environment-lifecycle.service.js.map +1 -1
- package/dist/src/services/environment/environment-setup.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-setup.service.js +23 -10
- package/dist/src/services/environment/environment-setup.service.js.map +1 -1
- package/dist/src/services/framework/__tests__/application-claude-settings.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/application-claude-settings.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/application-claude-settings.test.js +174 -0
- package/dist/src/services/framework/__tests__/application-claude-settings.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.js +152 -0
- package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.js +81 -0
- package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/claude-plugin-validate.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/claude-plugin-validate.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/claude-plugin-validate.test.js +66 -0
- package/dist/src/services/framework/__tests__/claude-plugin-validate.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js +57 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js +8 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js +18 -1
- package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-update.service.test.js +24 -1
- package/dist/src/services/framework/__tests__/framework-update.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.js +20 -0
- package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.js.map +1 -0
- package/dist/src/services/framework/application-claude-settings.d.ts +141 -0
- package/dist/src/services/framework/application-claude-settings.d.ts.map +1 -0
- package/dist/src/services/framework/application-claude-settings.js +284 -0
- package/dist/src/services/framework/application-claude-settings.js.map +1 -0
- package/dist/src/services/framework/claude-plugin-compiler.d.ts +16 -0
- package/dist/src/services/framework/claude-plugin-compiler.d.ts.map +1 -0
- package/dist/src/services/framework/claude-plugin-compiler.js +179 -0
- package/dist/src/services/framework/claude-plugin-compiler.js.map +1 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.d.ts +7 -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 +16 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.d.ts +13 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.js +36 -6
- package/dist/src/services/framework/framework-knowledge-audit.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-generation.service.d.ts +16 -0
- package/dist/src/services/framework/framework-knowledge-generation.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-generation.service.js +43 -6
- package/dist/src/services/framework/framework-knowledge-generation.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts +1 -1
- package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-scan.constants.js +12 -0
- package/dist/src/services/framework/framework-knowledge-scan.constants.js.map +1 -1
- package/dist/src/services/framework/framework-publish-manifest.service.d.ts +13 -0
- package/dist/src/services/framework/framework-publish-manifest.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-publish-manifest.service.js +23 -5
- package/dist/src/services/framework/framework-publish-manifest.service.js.map +1 -1
- package/dist/src/services/framework/framework-update.service.d.ts +35 -5
- package/dist/src/services/framework/framework-update.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-update.service.js +41 -6
- package/dist/src/services/framework/framework-update.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 +2 -0
- package/dist/src/services/framework/frontend-component-catalog.generator.js.map +1 -1
- package/dist/src/services/framework/package-install.service.d.ts +6 -0
- package/dist/src/services/framework/package-install.service.d.ts.map +1 -0
- package/dist/src/services/framework/package-install.service.js +18 -0
- package/dist/src/services/framework/package-install.service.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.js +95 -0
- package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.js +255 -0
- package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.js +114 -0
- package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.js +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.js +8 -0
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.js +12 -5
- package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.js +48 -0
- package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.js +221 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.js +144 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/activepieces-source.reader.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/activepieces-source.reader.js +287 -33
- package/dist/src/services/framework/provider-transposition/activepieces-source.reader.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/openapi-enrichment.d.ts +1 -1
- package/dist/src/services/framework/provider-transposition/openapi-enrichment.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-catalogue-record.d.ts +197 -4
- 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 +158 -3
- 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 +63 -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 +172 -21
- 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 +796 -143
- 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 +15 -0
- 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 +32 -0
- package/dist/src/services/framework/provider-transposition/request-helper-url.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/source-static-evaluator.d.ts +9 -3
- 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 +45 -4
- 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 +44 -0
- package/dist/src/services/framework/provider-transposition/transposed-provider.model.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/transposed-provider.model.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/url-template.extractor.d.ts +7 -0
- 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/registry/__tests__/boundary-fanout.utils.test.d.ts +2 -0
- package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.js +85 -0
- package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.js.map +1 -0
- package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.d.ts +2 -0
- package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.js +159 -0
- package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.js.map +1 -0
- package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.d.ts +8 -0
- package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.js +148 -0
- package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.js.map +1 -0
- package/dist/src/services/registry/__tests__/module-acquisition.utils.test.d.ts +2 -0
- package/dist/src/services/registry/__tests__/module-acquisition.utils.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/module-acquisition.utils.test.js +50 -0
- package/dist/src/services/registry/__tests__/module-acquisition.utils.test.js.map +1 -0
- package/dist/src/services/registry/__tests__/module-registration.service.test.d.ts +2 -0
- package/dist/src/services/registry/__tests__/module-registration.service.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/module-registration.service.test.js +302 -0
- package/dist/src/services/registry/__tests__/module-registration.service.test.js.map +1 -0
- package/dist/src/services/registry/__tests__/provider-module-checks.service.test.d.ts +2 -0
- package/dist/src/services/registry/__tests__/provider-module-checks.service.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/provider-module-checks.service.test.js +68 -0
- package/dist/src/services/registry/__tests__/provider-module-checks.service.test.js.map +1 -0
- package/dist/src/services/registry/__tests__/provider-module-identity.service.test.d.ts +2 -0
- package/dist/src/services/registry/__tests__/provider-module-identity.service.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/provider-module-identity.service.test.js +91 -0
- package/dist/src/services/registry/__tests__/provider-module-identity.service.test.js.map +1 -0
- package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.d.ts +2 -0
- package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.js +67 -0
- package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.js.map +1 -0
- package/dist/src/services/registry/artifact-trust.utils.d.ts +43 -0
- package/dist/src/services/registry/artifact-trust.utils.d.ts.map +1 -0
- package/dist/src/services/registry/artifact-trust.utils.js +46 -0
- package/dist/src/services/registry/artifact-trust.utils.js.map +1 -0
- package/dist/src/services/registry/boundary-fanout.utils.d.ts +52 -1
- package/dist/src/services/registry/boundary-fanout.utils.d.ts.map +1 -1
- package/dist/src/services/registry/boundary-fanout.utils.js +128 -31
- package/dist/src/services/registry/boundary-fanout.utils.js.map +1 -1
- package/dist/src/services/registry/git-ignored-paths.utils.d.ts +66 -0
- package/dist/src/services/registry/git-ignored-paths.utils.d.ts.map +1 -0
- package/dist/src/services/registry/git-ignored-paths.utils.js +175 -0
- package/dist/src/services/registry/git-ignored-paths.utils.js.map +1 -0
- package/dist/src/services/registry/installed-file-state.utils.d.ts +137 -0
- package/dist/src/services/registry/installed-file-state.utils.d.ts.map +1 -0
- package/dist/src/services/registry/installed-file-state.utils.js +209 -0
- package/dist/src/services/registry/installed-file-state.utils.js.map +1 -0
- package/dist/src/services/registry/local-checkout-module-source.service.d.ts +83 -0
- package/dist/src/services/registry/local-checkout-module-source.service.d.ts.map +1 -0
- package/dist/src/services/registry/local-checkout-module-source.service.js +227 -0
- package/dist/src/services/registry/local-checkout-module-source.service.js.map +1 -0
- package/dist/src/services/registry/migration-obligation.utils.d.ts +52 -0
- package/dist/src/services/registry/migration-obligation.utils.d.ts.map +1 -0
- package/dist/src/services/registry/migration-obligation.utils.js +77 -0
- package/dist/src/services/registry/migration-obligation.utils.js.map +1 -0
- package/dist/src/services/registry/module-acquisition.utils.d.ts +46 -0
- package/dist/src/services/registry/module-acquisition.utils.d.ts.map +1 -0
- package/dist/src/services/registry/module-acquisition.utils.js +78 -0
- package/dist/src/services/registry/module-acquisition.utils.js.map +1 -0
- package/dist/src/services/registry/module-artifact-files.utils.d.ts +39 -0
- package/dist/src/services/registry/module-artifact-files.utils.d.ts.map +1 -0
- package/dist/src/services/registry/module-artifact-files.utils.js +57 -0
- package/dist/src/services/registry/module-artifact-files.utils.js.map +1 -0
- package/dist/src/services/registry/module-registration.service.d.ts +171 -0
- package/dist/src/services/registry/module-registration.service.d.ts.map +1 -0
- package/dist/src/services/registry/module-registration.service.js +788 -0
- package/dist/src/services/registry/module-registration.service.js.map +1 -0
- package/dist/src/services/registry/provider-install-step.d.ts +23 -0
- package/dist/src/services/registry/provider-install-step.d.ts.map +1 -0
- package/dist/src/services/registry/provider-install-step.js +21 -0
- package/dist/src/services/registry/provider-install-step.js.map +1 -0
- package/dist/src/services/registry/provider-module-checks.service.d.ts +40 -0
- package/dist/src/services/registry/provider-module-checks.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-module-checks.service.js +194 -0
- package/dist/src/services/registry/provider-module-checks.service.js.map +1 -0
- package/dist/src/services/registry/provider-module-identity.service.d.ts +20 -0
- package/dist/src/services/registry/provider-module-identity.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-module-identity.service.js +146 -0
- package/dist/src/services/registry/provider-module-identity.service.js.map +1 -0
- package/dist/src/services/registry/provider-wiring.service.d.ts +49 -0
- package/dist/src/services/registry/provider-wiring.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-wiring.service.js +164 -0
- package/dist/src/services/registry/provider-wiring.service.js.map +1 -0
- package/dist/src/services/registry/registry-command.utils.d.ts +49 -2
- package/dist/src/services/registry/registry-command.utils.d.ts.map +1 -1
- package/dist/src/services/registry/registry-command.utils.js +75 -2
- package/dist/src/services/registry/registry-command.utils.js.map +1 -1
- package/dist/src/services/registry/registry-config-resolver.service.d.ts +12 -0
- package/dist/src/services/registry/registry-config-resolver.service.d.ts.map +1 -1
- package/dist/src/services/registry/registry-config-resolver.service.js +60 -0
- package/dist/src/services/registry/registry-config-resolver.service.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 +5 -2
- package/dist/src/services/registry/registry-credentials.service.js.map +1 -1
- package/dist/src/services/security/__tests__/csp-sync.service.test.js +42 -0
- package/dist/src/services/security/__tests__/csp-sync.service.test.js.map +1 -1
- package/dist/src/services/security/csp-sync.service.d.ts.map +1 -1
- package/dist/src/services/security/csp-sync.service.js +5 -9
- package/dist/src/services/security/csp-sync.service.js.map +1 -1
- package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.js +24 -1
- package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.js.map +1 -1
- package/dist/src/services/website/website-label-pack-audit.service.d.ts +31 -0
- package/dist/src/services/website/website-label-pack-audit.service.d.ts.map +1 -0
- package/dist/src/services/website/website-label-pack-audit.service.js +36 -0
- package/dist/src/services/website/website-label-pack-audit.service.js.map +1 -0
- package/dist/src/services/website/website-structured-data-audit.service.d.ts +10 -0
- package/dist/src/services/website/website-structured-data-audit.service.d.ts.map +1 -1
- package/dist/src/services/website/website-structured-data-audit.service.js +19 -54
- package/dist/src/services/website/website-structured-data-audit.service.js.map +1 -1
- package/dist/src/services/website/website-workspace.service.d.ts +15 -0
- package/dist/src/services/website/website-workspace.service.d.ts.map +1 -0
- package/dist/src/services/website/website-workspace.service.js +26 -0
- package/dist/src/services/website/website-workspace.service.js.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/framework-root-package.json +7 -1
- package/package.json +24 -18
- package/scripts/app-dependency-alignment/propagated-engine-overrides.json +47 -7
- package/templates/infra/ci/deploy-docker-compose.yml.hbs +9 -0
- package/templates/infra/ci/deploy-k8s.yml.hbs +11 -2
- package/templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs +48 -14
- package/templates/infra/docker-images/platform/Dockerfile.platform-base +5 -2
- package/templates/infra/k8s/applications/wildo-ai-application/backend.deployment.yaml.hbs +8 -7
- package/templates/infra/k8s/applications/wildo-ai-application/backend.service.yaml.hbs +2 -3
- package/templates/infra/k8s/applications/wildo-ai-application/minion.deployment.yaml.hbs +8 -10
- package/templates/infra/k8s/ingress/traefik/local/values.yaml +17 -12
- package/templates/infra/k8s/ingress/traefik/values.yaml.hbs +35 -15
- package/templates/infra/k8s/internal/immudb/deployment.yaml.hbs +15 -15
- package/templates/infra/k8s/platform/platform-apps-manager/deployment.yaml.hbs +13 -4
- package/templates/infra/k8s/platform/platform-crontabs-batches-manager/deployment.yaml.hbs +13 -4
- package/templates/infra/k8s/platform/platform-module-registry/deployment.yaml.hbs +7 -4
- package/templates/saas/engine-peer-closure.json +15 -3
- package/templates/saas/i18n/email/resources/applicationApiKeys/create.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/deactivate.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/reactivate.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/regenerate.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/rotate.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/create.application-administrator/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/regenerate.application-administrator/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/rotate.application-administrator/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applicationVersions/create.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/applicationVersions/delete.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applicationVersions/deprecate.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applicationVersions/promote.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applicationVersions/rollback.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applications/create.admin.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applications/create.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/applications/delete.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applications/delete.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applications/transfer.admin.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applications/transfer.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applications/update.admin.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applications/update.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/create.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/create.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/delete.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/delete.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationFeatures/disable_feature.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationFeatures/disable_feature.organization-users/labels.fr.ts +26 -0
- package/templates/saas/i18n/email/resources/organizationFeatures/enable_feature.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationFeatures/enable_feature.organization-users/labels.fr.ts +26 -0
- package/templates/saas/i18n/email/resources/organizationFeatures/reset_features.organization-administrative/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationFeatures/reset_features.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationFeatures/update.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationFeatures/update.organization-users/labels.fr.ts +26 -0
- package/templates/saas/i18n/email/resources/organizationMembers/create.user-self/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/create.user-self/labels.fr.ts +25 -0
- package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-users/labels.fr.ts +24 -0
- package/templates/saas/i18n/email/resources/organizationMembers/grantOwnership.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/grantOwnership.organization-users/labels.fr.ts +25 -0
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-users/labels.fr.ts +24 -0
- package/templates/saas/i18n/email/resources/organizationMembers/{reactivate.user-self → reactivate.users-custom}/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.users-custom/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationMembers/resend.user-self/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/resend.user-self/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_admin/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_admin/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_invitee/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_invitee/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-users/labels.fr.ts +24 -0
- package/templates/saas/i18n/email/resources/organizationMembers/{suspend.user-self → suspend.users-custom}/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.users-custom/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationMembers/update.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/update.organization-users/labels.fr.ts +24 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/create.admin.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/create.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.admin.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.admin.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.admin.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationUnits/archive.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationUnits/create.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationUnits/delete.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationUnits/move.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationUnits/restore.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationUnits/update.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizations/activate.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizations/create.admin.user-self/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizations/create.user-self/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizations/request_deletion.admin.organization-users/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizations/request_deletion.organization-users/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizations/restore.organization-users/labels.fr.ts +18 -0
- package/templates/saas/i18n/email/resources/organizations/suspend.organization-users/labels.fr.ts +18 -0
- package/templates/saas/i18n/email/resources/organizations/update.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizations/update.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/platformAccessGrants/requestAccess.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/platformAccessGrants/requestAccess.organization-users/labels.fr.ts +30 -0
- package/templates/saas/i18n/email/resources/user_self/deactivate_account.user-self/labels.fr.ts +19 -0
- package/templates/saas/i18n/email/resources/user_self/reactivate_account.user-self/labels.fr.ts +19 -0
- package/templates/saas/i18n/email/resources/users/assign_roles.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/create.application-administrator/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/users/delete.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/force_password_reset.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/reactivate_user.application-administrator/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/users/reactivate_user.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/reactivate_user.application-administrator/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/users/reactivate_user.users-custom/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/users/reactivate_user.users-custom/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/users/reactivate_user.users-custom/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/users/revoke_roles.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/send_invitation.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/suspend_user.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/suspend_user.users-custom/labels.en.ts +16 -0
- package/templates/saas/i18n/email/resources/users/suspend_user.users-custom/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/users/suspend_user.users-custom/template.tsx +53 -0
- package/templates/saas/i18n/email/resources/users/unsuspend_user.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/unsuspend_user.users-custom/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/users/unsuspend_user.users-custom/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/users/unsuspend_user.users-custom/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/users/update.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/system/email-otp/labels.fr.ts +17 -0
- package/templates/saas/i18n/email/system/email-verification/labels.fr.ts +18 -0
- package/templates/saas/i18n/email/system/human-decision-deadline/labels.en.ts +47 -0
- package/templates/saas/i18n/email/system/human-decision-deadline/labels.fr.ts +49 -0
- package/templates/saas/i18n/email/system/human-decision-deadline/template.tsx +80 -0
- package/templates/saas/i18n/email/system/magic-link/labels.fr.ts +17 -0
- package/templates/saas/i18n/email/system/new-device-login/labels.fr.ts +24 -0
- package/templates/saas/i18n/email/system/organization-invitation/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/system/organization-member-removed/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/system/password-reset/labels.fr.ts +17 -0
- package/templates/saas/i18n/email/system/payment-failed/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/system/security-alert/labels.fr.ts +68 -0
- package/templates/saas/i18n/email/system/subscription-cancelled/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/system/subscription-confirmation/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/system/welcome-email/labels.fr.ts +18 -0
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.ts +2 -1
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.fr.ts +3 -10
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_USER_DROPDOWN.en.ts +3 -1
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_USER_DROPDOWN.fr.ts +3 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.ts +31 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.fr.ts +31 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.ts +0 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_APPEARANCE_SETTINGS.fr.ts +0 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_BILLING_SETTINGS.en.ts +0 -7
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_BILLING_SETTINGS.fr.ts +0 -7
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.ts +31 -5
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.fr.ts +31 -5
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.ts +0 -2
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_INVITATIONS_SETTINGS.fr.ts +0 -2
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_MAIN_CONTAINER.en.ts +6 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_MAIN_CONTAINER.fr.ts +6 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_SECURITY_SETTINGS.en.ts +2 -16
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_SECURITY_SETTINGS.fr.ts +2 -16
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_AGENT_CONFIG.en.ts +0 -3
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_AGENT_CONFIG.fr.ts +3 -6
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.en.ts +49 -16
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.fr.ts +51 -18
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.ts +0 -6
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_SYSTEM_CATALOG.fr.ts +6 -12
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.ts +4 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.fr.ts +4 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.ts +8 -2
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PRICING_TABLE.fr.ts +8 -2
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD.en.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.ts +11 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_ADDRESS.fr.ts +11 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_FILE.en.ts +9 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_FILE.fr.ts +9 -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/RESOURCES_LAYOUTS_LIST.en.ts +3 -2
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.fr.ts +4 -3
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.ts +7 -1
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.fr.ts +7 -1
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.ts +2 -1
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/progression_milestone_tracker.en.ts +0 -2
- package/templates/saas/i18n/engine/components/progression_milestone_tracker.fr.ts +3 -5
- package/templates/saas/i18n/engine/resources/agentWorkCaptureSettings.en.ts +115 -0
- package/templates/saas/i18n/engine/resources/agentWorkCaptureSettings.fr.ts +115 -0
- package/templates/saas/i18n/engine/resources/anonymous_users.en.ts +86 -77
- package/templates/saas/i18n/engine/resources/anonymous_users.fr.ts +20 -11
- package/templates/saas/i18n/engine/resources/applicationA2aPushDeliveryLog.en.ts +6 -68
- package/templates/saas/i18n/engine/resources/applicationA2aPushDeliveryLog.fr.ts +1 -63
- package/templates/saas/i18n/engine/resources/applicationA2aTokenBudgetState.en.ts +16 -70
- package/templates/saas/i18n/engine/resources/applicationA2aTokenBudgetState.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/applicationAccessGrants.en.ts +19 -37
- package/templates/saas/i18n/engine/resources/applicationAccessGrants.fr.ts +11 -29
- package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisionContents.en.ts +182 -0
- package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisionContents.fr.ts +182 -0
- package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisions.en.ts +334 -0
- package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisions.fr.ts +334 -0
- package/templates/saas/i18n/engine/resources/applicationApiKeys.en.ts +64 -75
- package/templates/saas/i18n/engine/resources/applicationApiKeys.fr.ts +31 -42
- package/templates/saas/i18n/engine/resources/applicationAuditLogs.en.ts +116 -16
- package/templates/saas/i18n/engine/resources/applicationAuditLogs.fr.ts +108 -8
- package/templates/saas/i18n/engine/resources/applicationFeatures.en.ts +53 -97
- package/templates/saas/i18n/engine/resources/applicationFeatures.fr.ts +2 -46
- package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.en.ts +346 -32
- package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.fr.ts +348 -34
- package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.en.ts +6 -67
- package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.fr.ts +1 -62
- package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.en.ts +613 -0
- package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.fr.ts +613 -0
- package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.en.ts +51 -71
- package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.fr.ts +3 -23
- package/templates/saas/i18n/engine/resources/applicationMetadata.en.ts +23 -45
- package/templates/saas/i18n/engine/resources/applicationMetadata.fr.ts +0 -22
- package/templates/saas/i18n/engine/resources/applicationOAuthClients.en.ts +56 -57
- package/templates/saas/i18n/engine/resources/applicationOAuthClients.fr.ts +22 -23
- package/templates/saas/i18n/engine/resources/applicationScimProvisioningConfig.en.ts +36 -55
- package/templates/saas/i18n/engine/resources/applicationScimProvisioningConfig.fr.ts +3 -22
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.en.ts +64 -81
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.fr.ts +4 -21
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryOutbox.en.ts +3 -13
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryOutbox.fr.ts +1 -11
- package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.en.ts +43 -67
- package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.fr.ts +8 -32
- package/templates/saas/i18n/engine/resources/applicationSsoConfig.en.ts +98 -271
- package/templates/saas/i18n/engine/resources/applicationSsoConfig.fr.ts +10 -31
- package/templates/saas/i18n/engine/resources/applicationSsoConnections.en.ts +227 -249
- package/templates/saas/i18n/engine/resources/applicationSsoConnections.fr.ts +80 -102
- package/templates/saas/i18n/engine/resources/applicationVersions.en.ts +41 -53
- package/templates/saas/i18n/engine/resources/applicationVersions.fr.ts +3 -15
- package/templates/saas/i18n/engine/resources/applicationWebhookConfig.en.ts +42 -61
- package/templates/saas/i18n/engine/resources/applicationWebhookConfig.fr.ts +3 -22
- package/templates/saas/i18n/engine/resources/applications.en.ts +2645 -1242
- package/templates/saas/i18n/engine/resources/applications.fr.ts +1450 -47
- package/templates/saas/i18n/engine/resources/auditLogs.en.ts +419 -224
- package/templates/saas/i18n/engine/resources/auditLogs.fr.ts +204 -9
- package/templates/saas/i18n/engine/resources/billingEffectOutbox.en.ts +0 -8
- package/templates/saas/i18n/engine/resources/billingEffectOutbox.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/billingProviderEventSettlements.en.ts +0 -8
- package/templates/saas/i18n/engine/resources/billingProviderEventSettlements.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/billingSubscriptionMutationCompletions.en.ts +2 -9
- package/templates/saas/i18n/engine/resources/billingSubscriptionMutationCompletions.fr.ts +2 -9
- package/templates/saas/i18n/engine/resources/billingSubscriptionMutationIntents.en.ts +123 -130
- package/templates/saas/i18n/engine/resources/billingSubscriptionMutationIntents.fr.ts +2 -9
- package/templates/saas/i18n/engine/resources/clientMailboxes.en.ts +169 -0
- package/templates/saas/i18n/engine/resources/clientMailboxes.fr.ts +169 -0
- package/templates/saas/i18n/engine/resources/consumableTokens.en.ts +91 -93
- package/templates/saas/i18n/engine/resources/consumableTokens.fr.ts +17 -19
- package/templates/saas/i18n/engine/resources/conversationMessages.en.ts +332 -0
- package/templates/saas/i18n/engine/resources/conversationMessages.fr.ts +332 -0
- package/templates/saas/i18n/engine/resources/conversationReplyTokens.en.ts +196 -0
- package/templates/saas/i18n/engine/resources/conversationReplyTokens.fr.ts +196 -0
- package/templates/saas/i18n/engine/resources/conversationThreads.en.ts +224 -0
- package/templates/saas/i18n/engine/resources/conversationThreads.fr.ts +224 -0
- package/templates/saas/i18n/engine/resources/dataSeedRuns.en.ts +359 -201
- package/templates/saas/i18n/engine/resources/dataSeedRuns.fr.ts +173 -15
- package/templates/saas/i18n/engine/resources/etlPipelineStates.en.ts +278 -14
- package/templates/saas/i18n/engine/resources/etlPipelineStates.fr.ts +276 -12
- package/templates/saas/i18n/engine/resources/evaluationDatasetExports.en.ts +222 -0
- package/templates/saas/i18n/engine/resources/evaluationDatasetExports.fr.ts +222 -0
- package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.en.ts +163 -0
- package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.fr.ts +163 -0
- package/templates/saas/i18n/engine/resources/externalDataErasureSuppressions.en.ts +169 -0
- package/templates/saas/i18n/engine/resources/externalDataErasureSuppressions.fr.ts +169 -0
- package/templates/saas/i18n/engine/resources/externalDataOutboundChanges.en.ts +254 -0
- package/templates/saas/i18n/engine/resources/externalDataOutboundChanges.fr.ts +254 -0
- package/templates/saas/i18n/engine/resources/externalDataPendingReferences.en.ts +155 -0
- package/templates/saas/i18n/engine/resources/externalDataPendingReferences.fr.ts +155 -0
- package/templates/saas/i18n/engine/resources/externalDataPipelineMembershipKeys.en.ts +131 -0
- package/templates/saas/i18n/engine/resources/externalDataPipelineMembershipKeys.fr.ts +131 -0
- package/templates/saas/i18n/engine/resources/externalDataPipelineMemberships.en.ts +8 -24
- package/templates/saas/i18n/engine/resources/externalDataPipelineMemberships.fr.ts +8 -24
- package/templates/saas/i18n/engine/resources/externalDataPipelineRunRecords.en.ts +693 -0
- package/templates/saas/i18n/engine/resources/externalDataPipelineRunRecords.fr.ts +693 -0
- package/templates/saas/i18n/engine/resources/externalDataRemoteVersions.en.ts +126 -0
- package/templates/saas/i18n/engine/resources/externalDataRemoteVersions.fr.ts +126 -0
- package/templates/saas/i18n/engine/resources/files.en.ts +60 -72
- package/templates/saas/i18n/engine/resources/files.fr.ts +1 -11
- package/templates/saas/i18n/engine/resources/inboundAddressTombstones.en.ts +120 -0
- package/templates/saas/i18n/engine/resources/inboundAddressTombstones.fr.ts +120 -0
- package/templates/saas/i18n/engine/resources/inboundContacts.en.ts +27 -81
- package/templates/saas/i18n/engine/resources/inboundContacts.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/inboundEmails.en.ts +548 -0
- package/templates/saas/i18n/engine/resources/inboundEmails.fr.ts +548 -0
- package/templates/saas/i18n/engine/resources/jobExecutions.en.ts +282 -208
- package/templates/saas/i18n/engine/resources/jobExecutions.fr.ts +87 -13
- package/templates/saas/i18n/engine/resources/jobPayloadStorage.en.ts +46 -64
- package/templates/saas/i18n/engine/resources/jobPayloadStorage.fr.ts +1 -19
- package/templates/saas/i18n/engine/resources/legalHolds.en.ts +283 -0
- package/templates/saas/i18n/engine/resources/legalHolds.fr.ts +283 -0
- package/templates/saas/i18n/engine/resources/modelCallAttributions.en.ts +403 -0
- package/templates/saas/i18n/engine/resources/modelCallAttributions.fr.ts +403 -0
- package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.en.ts +273 -0
- package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.fr.ts +273 -0
- package/templates/saas/i18n/engine/resources/oauthConsentGrants.en.ts +6 -60
- package/templates/saas/i18n/engine/resources/oauthConsentGrants.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/organizationA2aPushDeliveryLog.en.ts +6 -68
- package/templates/saas/i18n/engine/resources/organizationA2aPushDeliveryLog.fr.ts +1 -63
- package/templates/saas/i18n/engine/resources/organizationA2aTokenBudgetState.en.ts +16 -70
- package/templates/saas/i18n/engine/resources/organizationA2aTokenBudgetState.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisionContents.en.ts +182 -0
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisionContents.fr.ts +182 -0
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisions.en.ts +334 -0
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisions.fr.ts +334 -0
- package/templates/saas/i18n/engine/resources/organizationApiKeys.en.ts +86 -97
- package/templates/saas/i18n/engine/resources/organizationApiKeys.fr.ts +31 -42
- package/templates/saas/i18n/engine/resources/organizationBillingAccounts.en.ts +453 -561
- package/templates/saas/i18n/engine/resources/organizationBillingAccounts.fr.ts +304 -412
- package/templates/saas/i18n/engine/resources/organizationCreditPools.en.ts +41 -71
- package/templates/saas/i18n/engine/resources/organizationCreditPools.fr.ts +7 -37
- package/templates/saas/i18n/engine/resources/organizationEmailDomains.en.ts +339 -0
- package/templates/saas/i18n/engine/resources/organizationEmailDomains.fr.ts +339 -0
- package/templates/saas/i18n/engine/resources/organizationFeatures.en.ts +30 -51
- package/templates/saas/i18n/engine/resources/organizationFeatures.fr.ts +2 -22
- package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.en.ts +343 -29
- package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.fr.ts +348 -34
- package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.en.ts +6 -67
- package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.fr.ts +1 -62
- package/templates/saas/i18n/engine/resources/organizationGuidanceState.en.ts +15 -25
- package/templates/saas/i18n/engine/resources/organizationGuidanceState.fr.ts +1 -11
- package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.en.ts +613 -0
- package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.fr.ts +613 -0
- package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.en.ts +71 -158
- package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.fr.ts +2 -89
- package/templates/saas/i18n/engine/resources/organizationLifecycleState.en.ts +23 -33
- package/templates/saas/i18n/engine/resources/organizationLifecycleState.fr.ts +1 -11
- package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.en.ts +51 -71
- package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.fr.ts +3 -23
- package/templates/saas/i18n/engine/resources/organizationMembers.en.ts +133 -179
- package/templates/saas/i18n/engine/resources/organizationMembers.fr.ts +58 -102
- package/templates/saas/i18n/engine/resources/organizationNotificationBadges.en.ts +11 -29
- package/templates/saas/i18n/engine/resources/organizationNotificationBadges.fr.ts +1 -19
- package/templates/saas/i18n/engine/resources/organizationNotifications.en.ts +18 -26
- package/templates/saas/i18n/engine/resources/organizationNotifications.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/organizationOAuthClients.en.ts +67 -44
- package/templates/saas/i18n/engine/resources/organizationOAuthClients.fr.ts +48 -25
- package/templates/saas/i18n/engine/resources/organizationOnboardingOperations.en.ts +0 -16
- package/templates/saas/i18n/engine/resources/organizationOnboardingOperations.fr.ts +0 -16
- package/templates/saas/i18n/engine/resources/organizationPreferences.en.ts +23 -32
- package/templates/saas/i18n/engine/resources/organizationPreferences.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/organizationProfiles.en.ts +33 -50
- package/templates/saas/i18n/engine/resources/organizationProfiles.fr.ts +0 -16
- package/templates/saas/i18n/engine/resources/organizationProgressionState.en.ts +23 -33
- package/templates/saas/i18n/engine/resources/organizationProgressionState.fr.ts +1 -11
- package/templates/saas/i18n/engine/resources/organizationProviderCredentials.en.ts +9 -55
- package/templates/saas/i18n/engine/resources/organizationProviderCredentials.fr.ts +11 -57
- package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.en.ts +50 -62
- package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.fr.ts +3 -14
- package/templates/saas/i18n/engine/resources/organizationScimTokens.en.ts +67 -72
- package/templates/saas/i18n/engine/resources/organizationScimTokens.fr.ts +11 -15
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.en.ts +64 -81
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.fr.ts +4 -21
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryOutbox.en.ts +3 -13
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryOutbox.fr.ts +1 -11
- package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.en.ts +54 -70
- package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.fr.ts +8 -24
- package/templates/saas/i18n/engine/resources/organizationSsoConfig.en.ts +99 -265
- package/templates/saas/i18n/engine/resources/organizationSsoConfig.fr.ts +10 -23
- package/templates/saas/i18n/engine/resources/organizationSsoConnections.en.ts +229 -252
- package/templates/saas/i18n/engine/resources/organizationSsoConnections.fr.ts +80 -102
- package/templates/saas/i18n/engine/resources/organizationSubscriptions.en.ts +285 -240
- package/templates/saas/i18n/engine/resources/organizationSubscriptions.fr.ts +166 -121
- package/templates/saas/i18n/engine/resources/organizationUnitMembers.en.ts +13 -32
- package/templates/saas/i18n/engine/resources/organizationUnitMembers.fr.ts +11 -30
- package/templates/saas/i18n/engine/resources/organizationUnits.en.ts +34 -53
- package/templates/saas/i18n/engine/resources/organizationUnits.fr.ts +3 -22
- package/templates/saas/i18n/engine/resources/organizationUsageRecords.en.ts +89 -152
- package/templates/saas/i18n/engine/resources/organizationUsageRecords.fr.ts +2 -65
- package/templates/saas/i18n/engine/resources/organizationWebhookConfig.en.ts +59 -71
- package/templates/saas/i18n/engine/resources/organizationWebhookConfig.fr.ts +3 -14
- package/templates/saas/i18n/engine/resources/organizations.en.ts +860 -879
- package/templates/saas/i18n/engine/resources/organizations.fr.ts +54 -73
- package/templates/saas/i18n/engine/resources/platformAccessGrants.en.ts +15 -74
- package/templates/saas/i18n/engine/resources/platformAccessGrants.fr.ts +8 -67
- package/templates/saas/i18n/engine/resources/prices.en.ts +148 -233
- package/templates/saas/i18n/engine/resources/prices.fr.ts +36 -121
- package/templates/saas/i18n/engine/resources/products.en.ts +135 -157
- package/templates/saas/i18n/engine/resources/products.fr.ts +45 -67
- package/templates/saas/i18n/engine/resources/promotions.en.ts +136 -161
- package/templates/saas/i18n/engine/resources/promotions.fr.ts +48 -73
- package/templates/saas/i18n/engine/resources/providerCallRecords.en.ts +283 -0
- package/templates/saas/i18n/engine/resources/providerCallRecords.fr.ts +283 -0
- package/templates/saas/i18n/engine/resources/referrals.en.ts +117 -83
- package/templates/saas/i18n/engine/resources/referrals.fr.ts +67 -33
- package/templates/saas/i18n/engine/resources/retentionEnforcementRecords.en.ts +235 -0
- package/templates/saas/i18n/engine/resources/retentionEnforcementRecords.fr.ts +235 -0
- package/templates/saas/i18n/engine/resources/serviceEngagementAssignments.en.ts +368 -0
- package/templates/saas/i18n/engine/resources/serviceEngagementAssignments.fr.ts +368 -0
- package/templates/saas/i18n/engine/resources/serviceEngagements.en.ts +321 -0
- package/templates/saas/i18n/engine/resources/serviceEngagements.fr.ts +321 -0
- package/templates/saas/i18n/engine/resources/serviceProviderActivityFeed.en.ts +237 -0
- package/templates/saas/i18n/engine/resources/serviceProviderActivityFeed.fr.ts +237 -0
- package/templates/saas/i18n/engine/resources/serviceProviderActivityFeedSettings.en.ts +209 -0
- package/templates/saas/i18n/engine/resources/serviceProviderActivityFeedSettings.fr.ts +209 -0
- package/templates/saas/i18n/engine/resources/serviceProviderCapabilityGrants.en.ts +275 -0
- package/templates/saas/i18n/engine/resources/serviceProviderCapabilityGrants.fr.ts +275 -0
- package/templates/saas/i18n/engine/resources/serviceProviderRelationships.en.ts +431 -0
- package/templates/saas/i18n/engine/resources/serviceProviderRelationships.fr.ts +431 -0
- package/templates/saas/i18n/engine/resources/systemOfRecordPartitionAssignments.en.ts +180 -0
- package/templates/saas/i18n/engine/resources/systemOfRecordPartitionAssignments.fr.ts +180 -0
- package/templates/saas/i18n/engine/resources/systemOfRecordWriteAdmissions.en.ts +118 -0
- package/templates/saas/i18n/engine/resources/systemOfRecordWriteAdmissions.fr.ts +118 -0
- package/templates/saas/i18n/engine/resources/userA2aPushDeliveryLog.en.ts +6 -68
- package/templates/saas/i18n/engine/resources/userA2aPushDeliveryLog.fr.ts +1 -63
- package/templates/saas/i18n/engine/resources/userA2aTokenBudgetState.en.ts +19 -73
- package/templates/saas/i18n/engine/resources/userA2aTokenBudgetState.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisionContents.en.ts +182 -0
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisionContents.fr.ts +182 -0
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisions.en.ts +334 -0
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisions.fr.ts +334 -0
- package/templates/saas/i18n/engine/resources/userBillingAccounts.en.ts +513 -620
- package/templates/saas/i18n/engine/resources/userBillingAccounts.fr.ts +301 -408
- package/templates/saas/i18n/engine/resources/userCredentials.en.ts +62 -116
- package/templates/saas/i18n/engine/resources/userCredentials.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/userCreditPools.en.ts +49 -79
- package/templates/saas/i18n/engine/resources/userCreditPools.fr.ts +7 -37
- package/templates/saas/i18n/engine/resources/userFeatures.en.ts +19 -68
- package/templates/saas/i18n/engine/resources/userFeatures.fr.ts +1 -50
- package/templates/saas/i18n/engine/resources/userFlowActorExecutions.en.ts +343 -29
- package/templates/saas/i18n/engine/resources/userFlowActorExecutions.fr.ts +348 -34
- package/templates/saas/i18n/engine/resources/userFlowActorTasks.en.ts +6 -67
- package/templates/saas/i18n/engine/resources/userFlowActorTasks.fr.ts +1 -62
- package/templates/saas/i18n/engine/resources/userGovernedDocumentAcceptances.en.ts +1 -3
- package/templates/saas/i18n/engine/resources/userGovernedDocumentAcceptances.fr.ts +1 -3
- package/templates/saas/i18n/engine/resources/userGuidanceState.en.ts +17 -71
- package/templates/saas/i18n/engine/resources/userGuidanceState.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/userIdentityLinks.en.ts +84 -118
- package/templates/saas/i18n/engine/resources/userIdentityLinks.fr.ts +1 -35
- package/templates/saas/i18n/engine/resources/userInvoiceRefs.en.ts +50 -136
- package/templates/saas/i18n/engine/resources/userInvoiceRefs.fr.ts +1 -87
- package/templates/saas/i18n/engine/resources/userLifecycleState.en.ts +17 -71
- package/templates/saas/i18n/engine/resources/userLifecycleState.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/userNotificationBadges.en.ts +11 -68
- package/templates/saas/i18n/engine/resources/userNotificationBadges.fr.ts +1 -58
- package/templates/saas/i18n/engine/resources/userPreferences.en.ts +67 -129
- package/templates/saas/i18n/engine/resources/userPreferences.fr.ts +5 -67
- package/templates/saas/i18n/engine/resources/userProfiles.en.ts +15 -280
- package/templates/saas/i18n/engine/resources/userProfiles.fr.ts +1 -266
- package/templates/saas/i18n/engine/resources/userProgressionState.en.ts +28 -62
- package/templates/saas/i18n/engine/resources/userProgressionState.fr.ts +1 -35
- package/templates/saas/i18n/engine/resources/userProviderCredentials.en.ts +9 -58
- package/templates/saas/i18n/engine/resources/userProviderCredentials.fr.ts +11 -60
- package/templates/saas/i18n/engine/resources/userSelfPreferences.en.ts +72 -125
- package/templates/saas/i18n/engine/resources/userSelfPreferences.fr.ts +5 -58
- package/templates/saas/i18n/engine/resources/userSelfProfiles.en.ts +57 -314
- package/templates/saas/i18n/engine/resources/userSelfProfiles.fr.ts +1 -258
- package/templates/saas/i18n/engine/resources/userSubscriptions.en.ts +262 -216
- package/templates/saas/i18n/engine/resources/userSubscriptions.fr.ts +165 -119
- package/templates/saas/i18n/engine/resources/userUsageRecords.en.ts +72 -134
- package/templates/saas/i18n/engine/resources/userUsageRecords.fr.ts +1 -63
- package/templates/saas/i18n/engine/resources/user_self.en.ts +140 -320
- package/templates/saas/i18n/engine/resources/user_self.fr.ts +26 -205
- package/templates/saas/i18n/engine/resources/users.en.ts +174 -413
- package/templates/saas/i18n/engine/resources/users.fr.ts +41 -280
- package/templates/saas/i18n/engine/resources/workbenchApplicationSecrets.en.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchApplicationSecrets.fr.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchAuthoredDocumentFactDeclarations.en.ts +59 -11
- package/templates/saas/i18n/engine/resources/workbenchAuthoredDocumentFactDeclarations.fr.ts +59 -11
- package/templates/saas/i18n/engine/resources/workbenchBrandAssets.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchBrandAudiences.en.ts +174 -0
- package/templates/saas/i18n/engine/resources/workbenchBrandAudiences.fr.ts +174 -0
- package/templates/saas/i18n/engine/resources/workbenchBrandLogoDirections.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchBrandNames.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchBrandVisualTones.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatchPlan.en.ts +56 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatchPlan.fr.ts +56 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatches.en.ts +24 -8
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatches.fr.ts +24 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildPlanTasks.en.ts +140 -16
- package/templates/saas/i18n/engine/resources/workbenchBuildPlanTasks.fr.ts +140 -16
- package/templates/saas/i18n/engine/resources/workbenchBuildTasks.en.ts +347 -67
- package/templates/saas/i18n/engine/resources/workbenchBuildTasks.fr.ts +347 -67
- package/templates/saas/i18n/engine/resources/workbenchCodingLaneStatus.en.ts +32 -8
- package/templates/saas/i18n/engine/resources/workbenchCodingLaneStatus.fr.ts +32 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceApplicabilityDecisions.en.ts +206 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceApplicabilityDecisions.fr.ts +206 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSections.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSetSections.en.ts +254 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSetSections.fr.ts +254 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateVariantSelections.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidates.en.ts +107 -11
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidates.fr.ts +107 -11
- package/templates/saas/i18n/engine/resources/workbenchComplianceCoverageDecisions.en.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceCoverageDecisions.fr.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceDocumentationRequirements.en.ts +174 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceDocumentationRequirements.fr.ts +174 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceGaps.en.ts +278 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceGaps.fr.ts +278 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceImplementationDecisions.en.ts +214 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceImplementationDecisions.fr.ts +214 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceObligations.en.ts +518 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceObligations.fr.ts +518 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceResponsibilityAssignments.en.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceResponsibilityAssignments.fr.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceRoleAuthorities.en.ts +326 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceRoleAuthorities.fr.ts +326 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceScopeSelectors.en.ts +326 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceScopeSelectors.fr.ts +326 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceSharedResponsibilityRules.en.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceSharedResponsibilityRules.fr.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchCompositionDecisions.en.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchCompositionDecisions.fr.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchCreationHomeLines.en.ts +198 -0
- package/templates/saas/i18n/engine/resources/workbenchCreationHomeLines.fr.ts +198 -0
- package/templates/saas/i18n/engine/resources/workbenchCreationOutcomes.en.ts +190 -0
- package/templates/saas/i18n/engine/resources/workbenchCreationOutcomes.fr.ts +190 -0
- package/templates/saas/i18n/engine/resources/workbenchDocumentFactDeclarations.en.ts +59 -11
- package/templates/saas/i18n/engine/resources/workbenchDocumentFactDeclarations.fr.ts +59 -11
- package/templates/saas/i18n/engine/resources/workbenchDocumentPublicationVariants.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchDocumentReleases.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchDocumentationChapters.en.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchDocumentationChapters.fr.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanModules.en.ts +187 -11
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanModules.fr.ts +187 -11
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanRelationships.en.ts +67 -11
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanRelationships.fr.ts +67 -11
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanResources.en.ts +366 -0
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanResources.fr.ts +366 -0
- package/templates/saas/i18n/engine/resources/workbenchDomainResources.en.ts +8 -16
- package/templates/saas/i18n/engine/resources/workbenchDomainResources.fr.ts +8 -16
- package/templates/saas/i18n/engine/resources/workbenchDossierEntries.en.ts +273 -0
- package/templates/saas/i18n/engine/resources/workbenchDossierEntries.fr.ts +273 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceConfigurations.en.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceConfigurations.fr.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceGuidance.en.ts +486 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceGuidance.fr.ts +486 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceMilestones.en.ts +478 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceMilestones.fr.ts +478 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceViews.en.ts +478 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceViews.fr.ts +478 -0
- package/templates/saas/i18n/engine/resources/workbenchFeatureDrafts.en.ts +217 -17
- package/templates/saas/i18n/engine/resources/workbenchFeatureDrafts.fr.ts +217 -17
- package/templates/saas/i18n/engine/resources/workbenchFunctionalRequirements.en.ts +210 -42
- package/templates/saas/i18n/engine/resources/workbenchFunctionalRequirements.fr.ts +210 -42
- package/templates/saas/i18n/engine/resources/workbenchGovernanceDocuments.en.ts +182 -0
- package/templates/saas/i18n/engine/resources/workbenchGovernanceDocuments.fr.ts +182 -0
- package/templates/saas/i18n/engine/resources/workbenchGovernanceQuestions.en.ts +32 -0
- package/templates/saas/i18n/engine/resources/workbenchGovernanceQuestions.fr.ts +32 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationInboundChannels.en.ts +334 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationInboundChannels.fr.ts +334 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationMinions.en.ts +414 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationMinions.fr.ts +414 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationProviderBindings.en.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationProviderBindings.fr.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationWorkers.en.ts +334 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationWorkers.fr.ts +334 -0
- package/templates/saas/i18n/engine/resources/workbenchMarketAlternatives.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketBenefits.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketBuyingJourneys.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketCategories.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketChannels.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketGains.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketIcps.en.ts +127 -167
- package/templates/saas/i18n/engine/resources/workbenchMarketIcps.fr.ts +127 -167
- package/templates/saas/i18n/engine/resources/workbenchMarketJobs.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketMessageTemplates.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketObjections.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketPains.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketPersonas.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketPositionings.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketProofs.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketTonesOfVoice.en.ts +26 -42
- package/templates/saas/i18n/engine/resources/workbenchMarketTonesOfVoice.fr.ts +26 -42
- package/templates/saas/i18n/engine/resources/workbenchMarketTriggers.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchNonFunctionalRequirements.en.ts +210 -42
- package/templates/saas/i18n/engine/resources/workbenchNonFunctionalRequirements.fr.ts +210 -42
- package/templates/saas/i18n/engine/resources/workbenchParkedCodingQuestions.en.ts +30 -0
- package/templates/saas/i18n/engine/resources/workbenchParkedCodingQuestions.fr.ts +30 -0
- package/templates/saas/i18n/engine/resources/workbenchPlacementDecisions.en.ts +75 -19
- package/templates/saas/i18n/engine/resources/workbenchPlacementDecisions.fr.ts +75 -19
- package/templates/saas/i18n/engine/resources/workbenchPlacementGroups.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchPlaybookRuns.en.ts +16 -0
- package/templates/saas/i18n/engine/resources/workbenchPlaybookRuns.fr.ts +16 -0
- package/templates/saas/i18n/engine/resources/workbenchPlaybooks.en.ts +90 -22
- package/templates/saas/i18n/engine/resources/workbenchPlaybooks.fr.ts +90 -22
- package/templates/saas/i18n/engine/resources/workbenchPricingPlans.en.ts +27 -35
- package/templates/saas/i18n/engine/resources/workbenchPricingPlans.fr.ts +27 -35
- package/templates/saas/i18n/engine/resources/workbenchProcessorRegisterEntries.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchReleasePolicySelections.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchRequirementMaturities.en.ts +294 -0
- package/templates/saas/i18n/engine/resources/workbenchRequirementMaturities.fr.ts +294 -0
- package/templates/saas/i18n/engine/resources/workbenchRoadmapPhases.en.ts +182 -38
- package/templates/saas/i18n/engine/resources/workbenchRoadmapPhases.fr.ts +182 -38
- package/templates/saas/i18n/engine/resources/workbenchRunWriteRecords.en.ts +146 -28
- package/templates/saas/i18n/engine/resources/workbenchRunWriteRecords.fr.ts +146 -28
- package/templates/saas/i18n/engine/resources/workbenchSpecificationArtifacts.en.ts +24 -29
- package/templates/saas/i18n/engine/resources/workbenchSpecificationArtifacts.fr.ts +24 -29
- package/templates/saas/i18n/engine/resources/workbenchTraceSessions.en.ts +165 -17
- package/templates/saas/i18n/engine/resources/workbenchTraceSessions.fr.ts +165 -17
- package/templates/saas/i18n/engine/resources/workbenchVisionConstraints.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchVisionIdeas.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchVisionMissions.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchVisionProblems.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchVisionSuccessCriteria.en.ts +182 -22
- package/templates/saas/i18n/engine/resources/workbenchVisionSuccessCriteria.fr.ts +182 -22
- package/templates/saas/i18n/engine/resources/workbenchWaitingPlaybookRuns.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/workbenchWaitingPlaybookRuns.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/workbenchWebsitePages.en.ts +214 -0
- package/templates/saas/i18n/engine/resources/workbenchWebsitePages.fr.ts +214 -0
- package/templates/saas/scenarios/add-3d-layout/scenario.json +52 -0
- package/templates/saas/scenarios/add-custom-operation/files/backend-api/src/modules/__moduleDir__/resources/__resourceDir__/__resourceDir__.__operationIdentifier__.default.operation.ts.hbs +6 -1
- package/templates/saas/scenarios/add-custom-operation/scenario.json +1 -1
- package/templates/saas/scenarios/add-file-picker-provider/files/frontend/src/engine/providers/__providerRef__.frontend-app.module.ts.hbs +45 -5
- package/templates/saas/scenarios/add-file-picker-provider/scenario.json +3 -3
- package/templates/saas/scenarios/add-locale/files/website/src/pages/__localePath__/index.astro +12 -0
- package/templates/saas/scenarios/add-marketing-page/files/website/src/pages/__pageRef__.astro.hbs +12 -0
- package/templates/saas/scenarios/add-module/scenario.json +8 -1
- package/templates/saas/scenarios/add-provider/scenario.json +10 -16
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/docusaurus.config.ts.hbs +6 -4
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/i18n/en/code.json +678 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/components/ApiReferenceIndexPage.tsx +32 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/components/ApiResourcePage.tsx +33 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/components/documentation-site-words.ts +43 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/auth/exchange.tsx +6 -4
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/search.tsx +212 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/plugins/api-reference-pages.ts +104 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/theme/SearchBar/index.tsx +8 -4
- package/templates/saas/scenarios/add-technical-doc/scenario.json +1 -1
- package/templates/saas/scenarios/add-website/files/website/src/app-origin.ts.hbs +8 -0
- package/templates/saas/scenarios/add-website/files/website/src/content/llms.txt.hbs +11 -0
- package/templates/saas/scenarios/add-website/files/website/src/i18n/en.json.hbs +4 -1
- package/templates/saas/scenarios/add-website/files/website/src/pages/index.astro +11 -0
- package/templates/saas/scenarios/add-website/files/website/src/pages/llms.txt.ts +19 -0
- package/templates/saas/scenarios/add-website/files/website/src/website-site-context.ts +18 -68
- package/templates/saas/scenarios/add-website/scenario.json +3 -4
- package/templates/saas/skeleton/CLAUDE.md.hbs +44 -49
- package/templates/saas/skeleton/backend-api/Dockerfile +2 -2
- package/templates/saas/skeleton/backend-api/src/brand-assets.generated.ts +12 -0
- package/templates/saas/skeleton/backend-api/src/saas-config.backend.ts.hbs +9 -0
- package/templates/saas/skeleton/frontend/package.json.hbs +0 -1
- package/templates/saas/skeleton/frontend/src/config/navigation.config.ts +37 -7
- package/templates/saas/skeleton/frontend/src/config/settings-hub.config.ts +9 -6
- package/templates/saas/skeleton/frontend/src/engine/component-registrations.frontend.ts +5 -10
- package/templates/saas/skeleton/frontend/src/provider-contributions.ts.hbs +8 -0
- package/templates/saas/skeleton/frontend/vite.config.ts.hbs +27 -1
- package/templates/saas/skeleton/gitignore +4 -0
- package/templates/saas/skeleton/prettierignore +7 -0
- package/templates/saas/skeleton/shared-lib/src/engine/product.ts +4 -2
- package/templates/saas/skeleton/specifications/src/module-registry.specification.ts.hbs +2 -2
- package/wildo-framework.info.json +1 -1
- package/dist/src/commands/workbench/rearm-task.command.d.ts +0 -16
- package/dist/src/commands/workbench/rearm-task.command.d.ts.map +0 -1
- package/dist/src/commands/workbench/rearm-task.command.js +0 -61
- package/dist/src/commands/workbench/rearm-task.command.js.map +0 -1
- package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.d.ts +0 -2
- package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.d.ts.map +0 -1
- package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.js +0 -96
- package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.js.map +0 -1
- package/dist/src/modules/domain/credentials/providers-config.module.d.ts +0 -39
- package/dist/src/modules/domain/credentials/providers-config.module.d.ts.map +0 -1
- package/dist/src/modules/domain/credentials/providers-config.module.js +0 -154
- package/dist/src/modules/domain/credentials/providers-config.module.js.map +0 -1
- package/dist/src/services/brand/__tests__/brand-asset-delivery.test.d.ts +0 -23
- package/dist/src/services/brand/__tests__/brand-asset-delivery.test.d.ts.map +0 -1
- package/dist/src/services/brand/__tests__/brand-asset-delivery.test.js +0 -190
- package/dist/src/services/brand/__tests__/brand-asset-delivery.test.js.map +0 -1
- package/dist/src/services/brand/brand-asset-projection.d.ts +0 -39
- package/dist/src/services/brand/brand-asset-projection.d.ts.map +0 -1
- package/dist/src/services/brand/brand-asset-projection.js +0 -68
- package/dist/src/services/brand/brand-asset-projection.js.map +0 -1
- package/dist/src/services/brand/brand-destination-utils.d.ts +0 -137
- package/dist/src/services/brand/brand-destination-utils.d.ts.map +0 -1
- package/dist/src/services/brand/brand-destination-utils.js +0 -227
- package/dist/src/services/brand/brand-destination-utils.js.map +0 -1
- package/dist/src/services/brand/brand-propagation.types.d.ts +0 -101
- package/dist/src/services/brand/brand-propagation.types.d.ts.map +0 -1
- package/dist/src/services/brand/brand-propagation.types.js +0 -22
- package/dist/src/services/brand/brand-propagation.types.js.map +0 -1
- package/dist/src/services/brand/brand-ssot-reader.d.ts +0 -52
- package/dist/src/services/brand/brand-ssot-reader.d.ts.map +0 -1
- package/dist/src/services/brand/brand-ssot-reader.js +0 -146
- package/dist/src/services/brand/brand-ssot-reader.js.map +0 -1
- package/dist/src/services/brand/destinations/app-public.destination.d.ts +0 -30
- package/dist/src/services/brand/destinations/app-public.destination.d.ts.map +0 -1
- package/dist/src/services/brand/destinations/app-public.destination.js +0 -79
- package/dist/src/services/brand/destinations/app-public.destination.js.map +0 -1
- package/dist/src/services/brand/destinations/runtime-app-config.destination.d.ts +0 -61
- package/dist/src/services/brand/destinations/runtime-app-config.destination.d.ts.map +0 -1
- package/dist/src/services/brand/destinations/runtime-app-config.destination.js +0 -149
- package/dist/src/services/brand/destinations/runtime-app-config.destination.js.map +0 -1
- package/dist/src/services/brand/destinations/technical-doc-static.destination.d.ts +0 -22
- package/dist/src/services/brand/destinations/technical-doc-static.destination.d.ts.map +0 -1
- package/dist/src/services/brand/destinations/technical-doc-static.destination.js +0 -84
- package/dist/src/services/brand/destinations/technical-doc-static.destination.js.map +0 -1
- package/dist/src/services/brand/destinations/website-og.destination.d.ts +0 -34
- package/dist/src/services/brand/destinations/website-og.destination.d.ts.map +0 -1
- package/dist/src/services/brand/destinations/website-og.destination.js +0 -80
- package/dist/src/services/brand/destinations/website-og.destination.js.map +0 -1
- package/dist/src/services/brand/destinations/website-public.destination.d.ts +0 -40
- package/dist/src/services/brand/destinations/website-public.destination.d.ts.map +0 -1
- package/dist/src/services/brand/destinations/website-public.destination.js +0 -122
- package/dist/src/services/brand/destinations/website-public.destination.js.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/zz-dump2.test.d.ts.map +0 -0
- package/dist/src/services/deployment/docker/__tests__/zz-dump2.test.js.map +0 -0
- package/dist/src/services/deployment/docker/__tests__/zz-storage-render-dump.test.d.ts +0 -0
- package/dist/src/services/deployment/docker/__tests__/zz-storage-render-dump.test.d.ts.map +0 -0
- package/dist/src/services/deployment/docker/__tests__/zz-storage-render-dump.test.js.map +0 -0
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/components/VerifiedApiReference.tsx +0 -72
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/api/application-administration.tsx +0 -5
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/api/index.tsx +0 -5
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/search.tsx.hbs +0 -127
- package/templates/saas/scenarios/add-website/files/website/src/api-origin.ts.hbs +0 -25
- /package/templates/saas/i18n/email/resources/organizationMembers/{reactivate.user-self → reactivate.users-custom}/template.tsx +0 -0
- /package/templates/saas/i18n/email/resources/organizationMembers/{suspend.user-self → suspend.users-custom}/template.tsx +0 -0
- /package/{dist/src/services/deployment/docker/__tests__/zz-dump2.test.d.ts → templates/saas/scenarios/add-website/files/website/public/.gitkeep} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docker.service.js","sourceRoot":"","sources":["../../../../../../../src/services/deployment/docker/docker.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,OAAO,EAAE,UAAU,EAAE,MAAM,8CAA8C,CAAC;AAG1E;;;;;;;GAOG;AACH,MAAM,oBAAoB,GAAG,aAAa,CAAC;AAE3C,MAAM,OAAO,WAAW;IACtB,MAAM,CAAC,kBAAkB;QAC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AAC,IAAI,EAAE,CAAC;YACT,MAAM,OAAO,GAAG,MAAM,KAAK,SAAS,CAAC;YACrC,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC;QACnC,CAAC;QAAC,MAAM,CAAC;YACP,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,qBAAqB,EAAE,CAAC;QAChE,CAAC;IACH,CAAC;IAED,MAAM,CAAC,gBAAgB,CACrB,QAAgC,EAChC,IAAc,EACd,UAAiC,EAAE;QAEnC,MAAM,GAAG,GAAG;YACV,QAAQ,EAAE,SAAS;YACnB,QAAQ,EAAE,QAAQ,CAAC,WAAW;YAC9B,YAAY,EAAE,QAAQ,CAAC,OAAO;YAC9B,GAAG,IAAI;SACR,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAEZ,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;YACpB,QAAQ,CAAC,GAAG,EAAE,EAAE,GAAG,EAAE,QAAQ,CAAC,UAAU,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;YAC9D,OAAO,EAAE,CAAC;QACZ,CAAC;QAED,OAAO,QAAQ,CAAC,GAAG,EAAE;YACnB,GAAG,EAAE,QAAQ,CAAC,UAAU;YACxB,QAAQ,EAAE,MAAM;YAChB,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC;SAChC,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["import { execSync } from 'child_process';\nimport { DockerCheck, DockerContainerStatus, PlatformRuntimeContext } from '~wildo-cli/services/deployment/docker/docker.schemas';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\n\n\n/**\n * Image used for the two volume-side utilities below (list, copy).\n *\n * Pinned to a MINOR rather than floated to `alpine:latest`: these run against a developer's live\n * data store, and a tag that silently moves under them is the wrong kind of surprise there. Alpine\n * because `cp -a` and `ls -A` are all that is needed and it is already pulled on any machine that\n * has run this stack.\n */\nconst VOLUME_UTILITY_IMAGE = 'alpine:3.20';\n\nexport class DockerUtils {\n static checkDockerRunning(): DockerCheck {\n try {\n execSync('docker info', { stdio: 'ignore' });\n return { available: true, running: true };\n } catch {\n try {\n execSync('which docker', { stdio: 'ignore' });\n return { available: true, running: false, error: 'Docker daemon is not running' };\n } catch {\n return { available: false, running: false, error: 'Docker is not installed' };\n }\n }\n }\n\n static isContainerRunning(name: string): boolean {\n try {\n const result = execSync(`docker inspect -f '{{.State.Running}}' \"${name}\" 2>/dev/null`, {\n encoding: 'utf8',\n });\n return result.trim() === 'true';\n } catch {\n return false;\n }\n }\n\n static containerExists(name: string): boolean {\n try {\n execSync(`docker inspect \"${name}\" 2>/dev/null`, { stdio: 'ignore' });\n return true;\n } catch {\n return false;\n }\n }\n\n static startContainer(name: string): { success: boolean; error?: string } {\n try {\n execSync(`docker start \"${name}\"`, { stdio: 'ignore' });\n return { success: true };\n } catch (error) {\n return { success: false, error: ErrorUtils.extractErrorMessage(error) };\n }\n }\n\n static stopContainer(name: string): { success: boolean; error?: string } {\n try {\n execSync(`docker stop \"${name}\"`, { stdio: 'ignore' });\n return { success: true };\n } catch (error) {\n return { success: false, error: ErrorUtils.extractErrorMessage(error) };\n }\n }\n\n static removeContainer(name: string): { success: boolean; error?: string } {\n try {\n execSync(`docker rm -f \"${name}\" 2>/dev/null`, { stdio: 'ignore' });\n return { success: true };\n } catch (error) {\n return { success: false, error: ErrorUtils.extractErrorMessage(error) };\n }\n }\n\n /**\n * Remove one named volume. `{ success: true }` also when it never existed.\n *\n * `--force` is what makes absence a success — measured 2026-09-22 with a positive control:\n * without it, `docker volume rm` on an unknown name exits 1 with `no such volume`; with it the\n * same call exits 0, and a volume that DOES exist is still removed. That is the semantics a wipe\n * wants, since absence is the state being asked for. It does NOT weaken the in-use guard: a\n * volume a container still holds fails either way, which is the loud version of the caller\n * having skipped `docker compose down`.\n *\n * No `2>/dev/null` here, unlike {@link DockerUtils.removeContainer}: that is a POSIX shell\n * redirect, and `execSync` on Windows runs through `cmd.exe` where `/dev/null` is not a path.\n * `stdio: 'pipe'` suppresses the output portably and keeps stderr available for the message.\n */\n static removeVolume(name: string): { success: boolean; error?: string } {\n try {\n execSync(`docker volume rm --force \"${name}\"`, { stdio: 'pipe' });\n return { success: true };\n } catch (error) {\n return { success: false, error: ErrorUtils.extractErrorMessage(error) };\n }\n }\n\n /**\n * Every volume name Docker knows about.\n *\n * Returns `{ success: false }` rather than an empty list when the daemon does not answer, so a\n * caller can tell \"Docker listed nothing\" from \"Docker was not asked\" — an empty array would\n * conflate the two, and a diagnostic that reads a stopped daemon as \"no leftovers\" states an\n * absence it never observed (`negative-results-require-a-positive-probe.md`).\n */\n static listVolumeNames(): { success: true; names: string[] } | { success: false; error: string } {\n try {\n const output = execSync('docker volume ls --format \"{{.Name}}\"', { encoding: 'utf8', stdio: ['ignore', 'pipe', 'pipe'] });\n return { success: true, names: output.split('\\n').map((line) => line.trim()).filter((line) => line.length > 0) };\n } catch (error) {\n return { success: false, error: ErrorUtils.extractErrorMessage(error) };\n }\n }\n\n /**\n * The top-level entries of a named volume, listed from inside a throwaway container.\n *\n * There is no host path to read on macOS or Windows — a volume's bytes live inside the runtime's\n * VM — so mounting it into `alpine` and running `ls` is the portable way to ask. Same three-way\n * contract as {@link DockerUtils.listVolumeNames}: a daemon that did not answer reports\n * `success: false` rather than an empty list.\n */\n static listVolumeEntries(volumeName: string): { success: true; entries: string[] } | { success: false; error: string } {\n try {\n const output = execSync(\n `docker run --rm -v \"${volumeName}\":/probe:ro ${VOLUME_UTILITY_IMAGE} sh -c \"ls -A /probe\"`,\n { encoding: 'utf8', stdio: ['ignore', 'pipe', 'pipe'] },\n );\n return { success: true, entries: output.split('\\n').map((line) => line.trim()).filter((line) => line.length > 0) };\n } catch (error) {\n return { success: false, error: ErrorUtils.extractErrorMessage(error) };\n }\n }\n\n /**\n * Copy a host directory's CONTENTS into a named volume, preserving ownership and mode.\n *\n * Both sides are addressable only from inside a container, so the copy runs there: the volume has\n * no host path, and the host directory is reachable through a bind mount. `cp -a` rather than\n * `cp -r` because a Postgres datadir and a Mongo journal both refuse to start under the wrong uid\n * or mode — this is a move of a live store, not of ordinary files.\n *\n * `/src/.` (not `/src`) so the contents land AT the volume root rather than in a nested `src/`.\n */\n static copyDirectoryIntoVolume(hostDirectory: string, volumeName: string): { success: boolean; error?: string } {\n try {\n execSync(\n `docker run --rm -v \"${hostDirectory}\":/src:ro -v \"${volumeName}\":/dst ${VOLUME_UTILITY_IMAGE} sh -c \"cp -a /src/. /dst/\"`,\n { stdio: ['ignore', 'pipe', 'pipe'] },\n );\n return { success: true };\n } catch (error) {\n return { success: false, error: ErrorUtils.extractErrorMessage(error) };\n }\n }\n\n /**\n * Set the owner of everything in a named volume.\n *\n * Needed because ownership CANNOT be carried across the copy: a bind-mounted host directory is\n * presented to a container by the file-sharing layer with whatever uid the READING container's\n * user maps to, so `cp -a` preserves the reader's view rather than the eventual consumer's.\n * Measured on macOS 2026-09-22 against one host tree that is uniformly `501:20`: read from\n * `alpine` (root) it presented as `999:0` for postgresql, `100:0` for rabbitmq, `100:101` for\n * clamav — each the right answer for that service — and `0:0` for immudb, whose image runs as\n * `3322:3322`. Five services were correct by coincidence and the sixth crash-looped\n * `permission denied` on its own commit log.\n *\n * `ownerSpec` is a NUMERIC `uid[:gid]`; a user NAME cannot be used because it would have to\n * resolve inside this utility image, which knows nothing of the service's user database.\n */\n static setVolumeOwnership(volumeName: string, ownerSpec: string): { success: boolean; error?: string } {\n if (!/^\\d+(:\\d+)?$/.test(ownerSpec)) {\n return { success: false, error: `owner must be numeric uid[:gid], received \"${ownerSpec}\"` };\n }\n try {\n execSync(\n `docker run --rm --user 0:0 -v \"${volumeName}\":/dst ${VOLUME_UTILITY_IMAGE} sh -c \"chown -R ${ownerSpec} /dst\"`,\n { stdio: ['ignore', 'pipe', 'pipe'] },\n );\n return { success: true };\n } catch (error) {\n return { success: false, error: ErrorUtils.extractErrorMessage(error) };\n }\n }\n\n /** The owner of a volume's ROOT, as `uid:gid`. Used to verify an adoption left it consumable. */\n static readVolumeOwnership(volumeName: string): { success: true; owner: string } | { success: false; error: string } {\n try {\n const out = execSync(\n `docker run --rm -v \"${volumeName}\":/dst:ro ${VOLUME_UTILITY_IMAGE} sh -c \"stat -c %u:%g /dst\"`,\n { encoding: 'utf8', stdio: ['ignore', 'pipe', 'pipe'] },\n );\n return { success: true, owner: out.trim() };\n } catch (error) {\n return { success: false, error: ErrorUtils.extractErrorMessage(error) };\n }\n }\n\n /**\n * The `USER` an image declares, as written (numeric or a name), or `''` when it declares none.\n *\n * An image that declares none runs as root, and every such service in this stack has an\n * entrypoint that chowns its data directory before dropping privileges — which is exactly why\n * only a service with a DECLARED non-root user can be broken by wrong ownership.\n */\n static readImageDeclaredUser(image: string): { success: true; user: string } | { success: false; error: string } {\n try {\n const out = execSync(`docker image inspect \"${image}\" --format \"{{.Config.User}}\"`, {\n encoding: 'utf8',\n stdio: ['ignore', 'pipe', 'pipe'],\n });\n return { success: true, user: out.trim() };\n } catch (error) {\n return { success: false, error: ErrorUtils.extractErrorMessage(error) };\n }\n }\n\n static getContainerStatus(name: string): DockerContainerStatus {\n try {\n const status = execSync(\n `docker inspect -f '{{.State.Status}}' \"${name}\" 2>/dev/null`,\n { encoding: 'utf8' }\n ).trim();\n const running = status === 'running';\n return { name, running, status };\n } catch {\n return { name, running: false, error: 'Container not found' };\n }\n }\n\n static runDockerCompose(\n infraCtx: PlatformRuntimeContext,\n args: string[],\n options: { inherit?: boolean } = {},\n ): string {\n const cmd = [\n 'docker', 'compose',\n '--file', infraCtx.composeFile,\n '--env-file', infraCtx.envFile,\n ...args,\n ].join(' ');\n\n if (options.inherit) {\n execSync(cmd, { cwd: infraCtx.composeDir, stdio: 'inherit' });\n return '';\n }\n\n return execSync(cmd, {\n cwd: infraCtx.composeDir,\n encoding: 'utf8',\n stdio: ['pipe', 'pipe', 'pipe'],\n });\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"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AE,CAAC;QACnC,CAAC;QAAC,MAAM,CAAC;YACP,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,qBAAqB,EAAE,CAAC;QAChE,CAAC;IACH,CAAC;IAED,MAAM,CAAC,gBAAgB,CACrB,QAAgC,EAChC,IAAc,EACd,UAAiC,EAAE;QAEnC,MAAM,GAAG,GAAG;YACV,QAAQ,EAAE,SAAS;YACnB,QAAQ,EAAE,QAAQ,CAAC,WAAW;YAC9B,YAAY,EAAE,QAAQ,CAAC,OAAO;YAC9B,GAAG,IAAI;SACR,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAEZ,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;YACpB,QAAQ,CAAC,GAAG,EAAE,EAAE,GAAG,EAAE,QAAQ,CAAC,UAAU,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;YAC9D,OAAO,EAAE,CAAC;QACZ,CAAC;QAED,OAAO,QAAQ,CAAC,GAAG,EAAE;YACnB,GAAG,EAAE,QAAQ,CAAC,UAAU;YACxB,QAAQ,EAAE,MAAM;YAChB,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC;SAChC,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["import { execSync } from 'child_process';\nimport { DockerCheck, DockerContainerStatus, PlatformRuntimeContext } from '~wildo-cli/services/deployment/docker/docker.schemas';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\n\n\n/**\n * Image used for the two volume-side utilities below (list, copy).\n *\n * Pinned to a MINOR rather than floated to `alpine:latest`: these run against a developer's live\n * data store, and a tag that silently moves under them is the wrong kind of surprise there. Alpine\n * because `cp -a` and `ls -A` are all that is needed and it is already pulled on any machine that\n * has run this stack.\n */\nconst VOLUME_UTILITY_IMAGE = 'alpine:3.20';\n\nexport class DockerUtils {\n static checkDockerRunning(): DockerCheck {\n try {\n execSync('docker info', { stdio: 'ignore' });\n return { available: true, running: true };\n } catch {\n try {\n execSync('which docker', { stdio: 'ignore' });\n return { available: true, running: false, error: 'Docker daemon is not running' };\n } catch {\n return { available: false, running: false, error: 'Docker is not installed' };\n }\n }\n }\n\n static isContainerRunning(name: string): boolean {\n try {\n const result = execSync(`docker inspect -f '{{.State.Running}}' \"${name}\" 2>/dev/null`, {\n encoding: 'utf8',\n });\n return result.trim() === 'true';\n } catch {\n return false;\n }\n }\n\n static containerExists(name: string): boolean {\n try {\n execSync(`docker inspect \"${name}\" 2>/dev/null`, { stdio: 'ignore' });\n return true;\n } catch {\n return false;\n }\n }\n\n static startContainer(name: string): { success: boolean; error?: string } {\n try {\n execSync(`docker start \"${name}\"`, { stdio: 'ignore' });\n return { success: true };\n } catch (error) {\n return { success: false, error: ErrorUtils.extractErrorMessage(error) };\n }\n }\n\n static stopContainer(name: string): { success: boolean; error?: string } {\n try {\n execSync(`docker stop \"${name}\"`, { stdio: 'ignore' });\n return { success: true };\n } catch (error) {\n return { success: false, error: ErrorUtils.extractErrorMessage(error) };\n }\n }\n\n static removeContainer(name: string): { success: boolean; error?: string } {\n try {\n execSync(`docker rm -f \"${name}\" 2>/dev/null`, { stdio: 'ignore' });\n return { success: true };\n } catch (error) {\n return { success: false, error: ErrorUtils.extractErrorMessage(error) };\n }\n }\n\n /**\n * Remove one named volume. `{ success: true }` also when it never existed.\n *\n * `--force` is what makes absence a success — measured 2026-09-22 with a positive control:\n * without it, `docker volume rm` on an unknown name exits 1 with `no such volume`; with it the\n * same call exits 0, and a volume that DOES exist is still removed. That is the semantics a wipe\n * wants, since absence is the state being asked for. It does NOT weaken the in-use guard: a\n * volume a container still holds fails either way, which is the loud version of the caller\n * having skipped `docker compose down`.\n *\n * No `2>/dev/null` here, unlike {@link DockerUtils.removeContainer}: that is a POSIX shell\n * redirect, and `execSync` on Windows runs through `cmd.exe` where `/dev/null` is not a path.\n * `stdio: 'pipe'` suppresses the output portably and keeps stderr available for the message.\n */\n static removeVolume(name: string): { success: boolean; error?: string } {\n try {\n execSync(`docker volume rm --force \"${name}\"`, { stdio: 'pipe' });\n return { success: true };\n } catch (error) {\n return { success: false, error: ErrorUtils.extractErrorMessage(error) };\n }\n }\n\n /**\n * Every volume name Docker knows about.\n *\n * Returns `{ success: false }` rather than an empty list when the daemon does not answer, so a\n * caller can tell \"Docker listed nothing\" from \"Docker was not asked\" — an empty array would\n * conflate the two, and a diagnostic that reads a stopped daemon as \"no leftovers\" states an\n * absence it never observed (`negative-results-require-a-positive-probe.md`).\n */\n static listVolumeNames(): { success: true; names: string[] } | { success: false; error: string } {\n try {\n const output = execSync('docker volume ls --format \"{{.Name}}\"', { encoding: 'utf8', stdio: ['ignore', 'pipe', 'pipe'] });\n return { success: true, names: output.split('\\n').map((line) => line.trim()).filter((line) => line.length > 0) };\n } catch (error) {\n return { success: false, error: ErrorUtils.extractErrorMessage(error) };\n }\n }\n\n /**\n * The top-level entries of a named volume, listed from inside a throwaway container.\n *\n * There is no host path to read on macOS or Windows — a volume's bytes live inside the runtime's\n * VM — so mounting it into `alpine` and running `ls` is the portable way to ask. Same three-way\n * contract as {@link DockerUtils.listVolumeNames}: a daemon that did not answer reports\n * `success: false` rather than an empty list.\n */\n static listVolumeEntries(volumeName: string): { success: true; entries: string[] } | { success: false; error: string } {\n try {\n const output = execSync(\n `docker run --rm -v \"${volumeName}\":/probe:ro ${VOLUME_UTILITY_IMAGE} sh -c \"ls -A /probe\"`,\n { encoding: 'utf8', stdio: ['ignore', 'pipe', 'pipe'] },\n );\n return { success: true, entries: output.split('\\n').map((line) => line.trim()).filter((line) => line.length > 0) };\n } catch (error) {\n return { success: false, error: ErrorUtils.extractErrorMessage(error) };\n }\n }\n\n /**\n * Copy a host directory's CONTENTS into a named volume, preserving ownership and mode.\n *\n * Both sides are addressable only from inside a container, so the copy runs there: the volume has\n * no host path, and the host directory is reachable through a bind mount. `cp -a` rather than\n * `cp -r` because a Postgres datadir and a Mongo journal both refuse to start under the wrong uid\n * or mode — this is a move of a live store, not of ordinary files.\n *\n * `/src/.` (not `/src`) so the contents land AT the volume root rather than in a nested `src/`.\n */\n static copyDirectoryIntoVolume(hostDirectory: string, volumeName: string): { success: boolean; error?: string } {\n try {\n execSync(\n `docker run --rm -v \"${hostDirectory}\":/src:ro -v \"${volumeName}\":/dst ${VOLUME_UTILITY_IMAGE} sh -c \"cp -a /src/. /dst/\"`,\n { stdio: ['ignore', 'pipe', 'pipe'] },\n );\n return { success: true };\n } catch (error) {\n return { success: false, error: ErrorUtils.extractErrorMessage(error) };\n }\n }\n\n /**\n * Set the owner of everything in a named volume.\n *\n * Needed because ownership CANNOT be carried across the copy: a bind-mounted host directory is\n * presented to a container by the file-sharing layer with whatever uid the READING container's\n * user maps to, so `cp -a` preserves the reader's view rather than the eventual consumer's.\n * Measured on macOS 2026-09-22 against one host tree that is uniformly `501:20`: read from\n * `alpine` (root) it presented as `999:0` for postgresql, `100:0` for rabbitmq, `100:101` for\n * clamav — each the right answer for that service — and `0:0` for immudb, whose image runs as\n * `3322:3322`. Five services were correct by coincidence and the sixth crash-looped\n * `permission denied` on its own commit log.\n *\n * `ownerSpec` is a NUMERIC `uid[:gid]`; a user NAME cannot be used because it would have to\n * resolve inside this utility image, which knows nothing of the service's user database.\n */\n static setVolumeOwnership(volumeName: string, ownerSpec: string): { success: boolean; error?: string } {\n if (!/^\\d+(:\\d+)?$/.test(ownerSpec)) {\n return { success: false, error: `owner must be numeric uid[:gid], received \"${ownerSpec}\"` };\n }\n try {\n execSync(\n `docker run --rm --user 0:0 -v \"${volumeName}\":/dst ${VOLUME_UTILITY_IMAGE} sh -c \"chown -R ${ownerSpec} /dst\"`,\n { stdio: ['ignore', 'pipe', 'pipe'] },\n );\n return { success: true };\n } catch (error) {\n return { success: false, error: ErrorUtils.extractErrorMessage(error) };\n }\n }\n\n /** The owner of a volume's ROOT, as `uid:gid`. Used to verify an adoption left it consumable. */\n static readVolumeOwnership(volumeName: string): { success: true; owner: string } | { success: false; error: string } {\n try {\n const out = execSync(\n `docker run --rm -v \"${volumeName}\":/dst:ro ${VOLUME_UTILITY_IMAGE} sh -c \"stat -c %u:%g /dst\"`,\n { encoding: 'utf8', stdio: ['ignore', 'pipe', 'pipe'] },\n );\n return { success: true, owner: out.trim() };\n } catch (error) {\n return { success: false, error: ErrorUtils.extractErrorMessage(error) };\n }\n }\n\n /**\n * The `USER` an image declares, as written (numeric or a name), or `''` when it declares none.\n *\n * An image that declares none runs as root, and every such service in this stack has an\n * entrypoint that chowns its data directory before dropping privileges — which is exactly why\n * only a service with a DECLARED non-root user can be broken by wrong ownership.\n */\n static readImageDeclaredUser(image: string): { success: true; user: string } | { success: false; error: string } {\n try {\n const out = execSync(`docker image inspect \"${image}\" --format \"{{.Config.User}}\"`, {\n encoding: 'utf8',\n stdio: ['ignore', 'pipe', 'pipe'],\n });\n return { success: true, user: out.trim() };\n } catch (error) {\n return { success: false, error: ErrorUtils.extractErrorMessage(error) };\n }\n }\n\n /**\n * How many times Docker's restart policy has restarted each container, keyed by container name.\n *\n * The one signal a crash loop cannot hide from. `State` alone misses it: a mongod crash-looping\n * on an unrecoverable journal on 2026-09-24 spent most of each cycle `running` with health\n * `starting`, so a 30-second poll mostly sampled a container that looked like it was booting.\n * Containers Docker cannot inspect are omitted rather than reported as zero.\n */\n static readRestartCounts(containerNames: readonly string[]): Map<string, number> {\n const counts = new Map<string, number>();\n if (containerNames.length === 0) return counts;\n let out: string;\n try {\n out = execSync(\n `docker inspect --format '{{.Name}} {{.RestartCount}}' ${containerNames.map((name) => `\"${name}\"`).join(' ')}`,\n { encoding: 'utf8', stdio: ['ignore', 'pipe', 'pipe'] },\n );\n } catch (error) {\n // One name that no longer exists (removed between `ps` and `inspect`) makes the command exit\n // non-zero, but Docker still prints every container it DID find. Measured: discarding that\n // stdout blanked the counts of every healthy container for the tick.\n const stdout = (error as { stdout?: unknown }).stdout;\n out = typeof stdout === 'string' ? stdout : '';\n }\n for (const line of out.split('\\n')) {\n const [rawName, rawCount] = line.trim().split(' ');\n const count = Number(rawCount);\n if (rawName && rawCount !== undefined && Number.isInteger(count)) counts.set(rawName.replace(/^\\//, ''), count);\n }\n return counts;\n }\n\n /**\n * The last line of a container's recent log that reads like its reason for dying, or `null`.\n *\n * Captured while the container still exists because nothing else keeps it: a compose re-render\n * that drops the service removes the container and its log together, which on 2026-09-24 deleted\n * the only copy of mongod's crash backtrace.\n */\n static readLastFailureLine(containerName: string): string | null {\n try {\n const out = execSync(`docker logs --tail 300 \"${containerName}\" 2>&1`, { encoding: 'utf8', stdio: ['ignore', 'pipe', 'pipe'] });\n const lines = out.split('\\n').map((line) => line.trim()).filter(Boolean);\n const failure = [...lines].reverse().find((line) => /\"s\":\"F\"|fatal|panic|abort|segmentation|error/i.test(line));\n const chosen = failure ?? lines.at(-1);\n return chosen ? chosen.slice(0, 300) : null;\n } catch {\n return null;\n }\n }\n\n static getContainerStatus(name: string): DockerContainerStatus {\n try {\n const status = execSync(\n `docker inspect -f '{{.State.Status}}' \"${name}\" 2>/dev/null`,\n { encoding: 'utf8' }\n ).trim();\n const running = status === 'running';\n return { name, running, status };\n } catch {\n return { name, running: false, error: 'Container not found' };\n }\n }\n\n static runDockerCompose(\n infraCtx: PlatformRuntimeContext,\n args: string[],\n options: { inherit?: boolean } = {},\n ): string {\n const cmd = [\n 'docker', 'compose',\n '--file', infraCtx.composeFile,\n '--env-file', infraCtx.envFile,\n ...args,\n ].join(' ');\n\n if (options.inherit) {\n execSync(cmd, { cwd: infraCtx.composeDir, stdio: 'inherit' });\n return '';\n }\n\n return execSync(cmd, {\n cwd: infraCtx.composeDir,\n encoding: 'utf8',\n stdio: ['pipe', 'pipe', 'pipe'],\n });\n }\n}\n"]}
|
|
@@ -6,6 +6,8 @@ import type { PlatformEnvironmentConfiguration } from '../../../services/environ
|
|
|
6
6
|
export interface UnadoptedHostLocalData {
|
|
7
7
|
/** Short container-name token, e.g. `postgresql`. */
|
|
8
8
|
readonly service: string;
|
|
9
|
+
/** The image's data child when the service mounts more than one (`db` / `configdb` for mongod). */
|
|
10
|
+
readonly child?: string;
|
|
9
11
|
/** Absolute host directory holding the data nothing mounts any more. */
|
|
10
12
|
readonly hostPath: string;
|
|
11
13
|
/** The volume the running stack reads instead. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-data-adoption.service.d.ts","sourceRoot":"","sources":["../../../../../../../src/services/deployment/docker/local-data-adoption.service.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,qDAAqD,CAAC;AAW5G;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,qDAAqD;IACrD,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,wEAAwE;IACxE,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,kDAAkD;IAClD,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B;;;;;;;;OAQG;IACH,QAAQ,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;CACvC;AAqED,wBAAgB,8BAA8B,CAC5C,GAAG,EAAE,gCAAgC,GACpC,SAAS,sBAAsB,EAAE,
|
|
1
|
+
{"version":3,"file":"local-data-adoption.service.d.ts","sourceRoot":"","sources":["../../../../../../../src/services/deployment/docker/local-data-adoption.service.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,qDAAqD,CAAC;AAW5G;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,qDAAqD;IACrD,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,mGAAmG;IACnG,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,wEAAwE;IACxE,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,kDAAkD;IAClD,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B;;;;;;;;OAQG;IACH,QAAQ,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;CACvC;AAqED,wBAAgB,8BAA8B,CAC5C,GAAG,EAAE,gCAAgC,GACpC,SAAS,sBAAsB,EAAE,CAmBnC;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,6BAA6B,CAC3C,QAAQ,EAAE,SAAS,sBAAsB,EAAE,EAC3C,GAAG,EAAE,MAAM,GACV,IAAI,CA8CN"}
|
|
@@ -4,7 +4,7 @@ import { DockerUtils } from '../../../services/deployment/docker/docker.service.
|
|
|
4
4
|
import { ContextManager } from '../../../services/context/context-manager.service.js';
|
|
5
5
|
import { EnvironmentPaths } from '../../../services/environment/environment-paths.service.js';
|
|
6
6
|
import { EnvironmentRegistry } from '../../../services/environment/environment-registry.service.js';
|
|
7
|
-
import {
|
|
7
|
+
import { getDockerComposeLocalDataServices, listLocalDataVolumeMounts, usesDockerVolumeLocalData, } from '../../../services/deployment/docker/docker-compose-generator.service.js';
|
|
8
8
|
/**
|
|
9
9
|
* The gap an environment falls into the first time it renders with `DOCKER_VOLUME` after having run
|
|
10
10
|
* on `HOST_PATH` — and the reason this file exists rather than a paragraph in a release note.
|
|
@@ -82,16 +82,17 @@ export function describeUnadoptedHostLocalData(env) {
|
|
|
82
82
|
const localDataRoot = EnvironmentPaths.resolveScopedLocalDataDir(saasRoot);
|
|
83
83
|
const requiredOwners = resolveServiceRequiredOwners(env.name);
|
|
84
84
|
const findings = [];
|
|
85
|
-
|
|
86
|
-
|
|
85
|
+
// One finding per MOUNT, not per service: mongod mounts `db` and `configdb` as two volumes, and a
|
|
86
|
+
// per-service copy lands the whole tree in a volume nothing mounts (see `listLocalDataVolumeMounts`).
|
|
87
|
+
for (const { service, child, volumeName } of listLocalDataVolumeMounts(saasRoot, getDockerComposeLocalDataServices(env))) {
|
|
88
|
+
const hostPath = child ? join(localDataRoot, service, child) : join(localDataRoot, service);
|
|
87
89
|
if (!directoryHasContent(hostPath))
|
|
88
90
|
continue;
|
|
89
|
-
const volumeName = buildLocalDataVolumeName(saasRoot, service);
|
|
90
91
|
// Only a volume that is EMPTY is a candidate. A populated one is the live store, and copying
|
|
91
92
|
// over it would overwrite current data with whatever the host tree last held.
|
|
92
93
|
if (volumeHasContent(volumeName) !== false)
|
|
93
94
|
continue;
|
|
94
|
-
findings.push({ service, hostPath, volumeName, requiredOwner: requiredOwners.get(service) ?? null });
|
|
95
|
+
findings.push({ service, ...(child ? { child } : {}), hostPath, volumeName, requiredOwner: requiredOwners.get(service) ?? null });
|
|
95
96
|
}
|
|
96
97
|
return findings;
|
|
97
98
|
}
|
|
@@ -112,10 +113,10 @@ export function describeUnadoptedHostLocalData(env) {
|
|
|
112
113
|
export function adoptHostLocalDataIntoVolumes(findings, log) {
|
|
113
114
|
const failures = [];
|
|
114
115
|
for (const finding of findings) {
|
|
115
|
-
log.info(` ${finding.service}: ${finding.hostPath} → ${finding.volumeName}`);
|
|
116
|
+
log.info(` ${finding.service}${finding.child ? `/${finding.child}` : ''}: ${finding.hostPath} → ${finding.volumeName}`);
|
|
116
117
|
const result = DockerUtils.copyDirectoryIntoVolume(finding.hostPath, finding.volumeName);
|
|
117
118
|
if (!result.success) {
|
|
118
|
-
failures.push(`${finding.
|
|
119
|
+
failures.push(`${finding.volumeName}: ${result.error ?? 'unknown error'}`);
|
|
119
120
|
continue;
|
|
120
121
|
}
|
|
121
122
|
/*
|
|
@@ -135,7 +136,7 @@ export function adoptHostLocalDataIntoVolumes(findings, log) {
|
|
|
135
136
|
if (finding.requiredOwner !== null) {
|
|
136
137
|
const owned = DockerUtils.setVolumeOwnership(finding.volumeName, finding.requiredOwner);
|
|
137
138
|
if (!owned.success) {
|
|
138
|
-
failures.push(`${finding.
|
|
139
|
+
failures.push(`${finding.volumeName}: copied, but could not set owner ${finding.requiredOwner}: ${owned.error ?? 'unknown error'}`);
|
|
139
140
|
continue;
|
|
140
141
|
}
|
|
141
142
|
log.info(` owner set to ${finding.requiredOwner} (declared by the service)`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-data-adoption.service.js","sourceRoot":"","sources":["../../../../../../../src/services/deployment/docker/local-data-adoption.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,IAAI,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAG5B,OAAO,EAAE,WAAW,EAAE,MAAM,sDAAsD,CAAC;AACnF,OAAO,EAAE,cAAc,EAAE,MAAM,qDAAqD,CAAC;AACrF,OAAO,EAAE,gBAAgB,EAAE,MAAM,2DAA2D,CAAC;AAC7F,OAAO,EAAE,mBAAmB,EAAE,MAAM,8DAA8D,CAAC;AACnG,OAAO,EACL,wBAAwB,EACxB,iCAAiC,EACjC,yBAAyB,GAC1B,MAAM,wEAAwE,CAAC;AAwBhF;;;;;;;;;;;;;;;;GAgBG;AACH;;;;;;;;;;GAUG;AACH,SAAS,4BAA4B,CAAC,OAAe;IACnD,MAAM,MAAM,GAAG,IAAI,GAAG,EAAyB,CAAC;IAChD,IAAI,QAAgB,CAAC;IACrB,IAAI,CAAC;QACH,QAAQ,GAAG,WAAW,CAAC,gBAAgB,CAAC,cAAc,CAAC,mBAAmB,CAAC,OAAO,CAAC,EAAE,CAAC,QAAQ,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC,CAAC;IACvH,CAAC;IAAC,MAAM,CAAC;QACP,8FAA8F;QAC9F,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,IAAI,MAAwE,CAAC;IAC7E,IAAI,CAAC;QACH,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAkB,CAAC;IACjD,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,KAAK,MAAM,CAAC,WAAW,EAAE,UAAU,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,Q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,CAAC,OAAO;QAAE,OAAO,IAAI,CAAC;IACjC,OAAO,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC;AAChE,CAAC","sourcesContent":["import { existsSync, readdirSync } from 'fs';\nimport { join } from 'path';\nimport type { Logger } from '~wildo-cli/kernel/types';\nimport type { PlatformEnvironmentConfiguration } from '~wildo-cli/services/environment/environment.schemas';\nimport { DockerUtils } from '~wildo-cli/services/deployment/docker/docker.service';\nimport { ContextManager } from '~wildo-cli/services/context/context-manager.service';\nimport { EnvironmentPaths } from '~wildo-cli/services/environment/environment-paths.service';\nimport { EnvironmentRegistry } from '~wildo-cli/services/environment/environment-registry.service';\nimport {\n buildLocalDataVolumeName,\n getDockerComposeLocalDataServices,\n usesDockerVolumeLocalData,\n} from '~wildo-cli/services/deployment/docker/docker-compose-generator.service';\n\n/**\n * One backing service whose data is on the HOST while its environment now reads from a VOLUME.\n */\nexport interface UnadoptedHostLocalData {\n /** Short container-name token, e.g. `postgresql`. */\n readonly service: string;\n /** Absolute host directory holding the data nothing mounts any more. */\n readonly hostPath: string;\n /** The volume the running stack reads instead. */\n readonly volumeName: string;\n /**\n * NUMERIC `uid[:gid]` the service runs as, or `null` when it runs as root (or when its user is a\n * name this resolver cannot turn into numbers).\n *\n * `null` is NOT \"leave it to chance\": a service that starts as root has an entrypoint that chowns\n * its own data directory before dropping privileges, which is why five of the six services here\n * survived an adoption that got ownership wrong. A service with a declared non-root user never\n * gets that chance — it starts as that user and can only fail.\n */\n readonly requiredOwner: string | null;\n}\n\n/**\n * The gap an environment falls into the first time it renders with `DOCKER_VOLUME` after having run\n * on `HOST_PATH` — and the reason this file exists rather than a paragraph in a release note.\n *\n * Nothing is deleted by the switch: `local_data/<svc>/` keeps every byte. But the stack now mounts\n * empty volumes, so it comes up with empty databases, no registered application and no platform\n * init. That reads exactly like data loss to the person it happens to, and the remedy — copy the\n * bytes across — is not one an operator can guess.\n *\n * Detected rather than performed automatically. Copying a Postgres datadir into a volume under a\n * running stack is not something a start-up path should decide on its own, and an environment that\n * WANTS a clean slate (the usual reason to switch a disposable dev stack) must not be given its old\n * data back silently.\n *\n * Returns empty for a `HOST_PATH` environment, which is the whole population that has nothing to\n * adopt.\n */\n/**\n * The numeric `uid[:gid]` each compose service runs as, keyed by service name.\n *\n * Read from `docker compose config`, which resolves the `user:` override and the env file for us,\n * falling back to the IMAGE's declared `User` when compose authors none. Both are needed: immudb\n * declares its user on the image (`3322:3322`) and mongod declares one in compose (`mongodb`).\n *\n * A user given as a NAME maps to `null` rather than a guess. Resolving it would mean reading the\n * service image's own user database, and a wrong number here writes the wrong owner onto a whole\n * datadir — so the adoption reports what it could not determine instead of inventing it.\n */\nfunction resolveServiceRequiredOwners(envName: string): Map<string, string | null> {\n const owners = new Map<string, string | null>();\n let resolved: string;\n try {\n resolved = DockerUtils.runDockerCompose(ContextManager.resolveInfraContext(envName), ['config', '--format', 'json']);\n } catch {\n // No rendered project, or Docker not answering. The caller degrades to \"could not determine\".\n return owners;\n }\n\n let parsed: { services?: Record<string, { user?: string; image?: string }> };\n try {\n parsed = JSON.parse(resolved) as typeof parsed;\n } catch {\n return owners;\n }\n\n for (const [serviceName, definition] of Object.entries(parsed.services ?? {})) {\n const declared = definition.user ?? readImageDeclaredUser(definition.image);\n owners.set(serviceName, normalizeNumericOwner(declared));\n }\n return owners;\n}\n\nfunction readImageDeclaredUser(image: string | undefined): string | undefined {\n if (!image) return undefined;\n const result = DockerUtils.readImageDeclaredUser(image);\n return result.success ? (result.user || undefined) : undefined;\n}\n\n/** `'3322:3322'` → itself; `'999'` → `'999'`; `'mongodb'` / `'0'` / absent → `null`. */\nfunction normalizeNumericOwner(user: string | undefined): string | null {\n if (!user) return null;\n if (!/^\\d+(:\\d+)?$/.test(user)) return null;\n // Root needs no chown: its entrypoint owns everything already and repairs the tree itself.\n if (user === '0' || user === '0:0') return null;\n return user;\n}\n\nexport function describeUnadoptedHostLocalData(\n env: PlatformEnvironmentConfiguration,\n): readonly UnadoptedHostLocalData[] {\n if (!usesDockerVolumeLocalData(env)) return [];\n const saasRoot = EnvironmentRegistry.getSaasRoot();\n if (!saasRoot) return [];\n\n const localDataRoot = EnvironmentPaths.resolveScopedLocalDataDir(saasRoot);\n const requiredOwners = resolveServiceRequiredOwners(env.name);\n const findings: UnadoptedHostLocalData[] = [];\n for (const service of getDockerComposeLocalDataServices(env)) {\n const hostPath = join(localDataRoot, service);\n if (!directoryHasContent(hostPath)) continue;\n const volumeName = buildLocalDataVolumeName(saasRoot, service);\n // Only a volume that is EMPTY is a candidate. A populated one is the live store, and copying\n // over it would overwrite current data with whatever the host tree last held.\n if (volumeHasContent(volumeName) !== false) continue;\n findings.push({ service, hostPath, volumeName, requiredOwner: requiredOwners.get(service) ?? null });\n }\n return findings;\n}\n\n/**\n * Copy each named service's host data into the volume the stack now reads.\n *\n * Runs the copy INSIDE a throwaway container rather than on the host, because that is the only\n * place both sides are addressable: a Docker volume has no host path on macOS or Windows, where its\n * bytes live inside the runtime's VM. `cp -a` preserves ownership and mode, which a Postgres\n * datadir and a Mongo journal both require.\n *\n * Caller MUST have stopped the stack first — copying into a volume a running database has open is\n * how a datadir is corrupted rather than moved.\n *\n * Fail-closed per service: a partial adoption reported as success is worse than a loud stop,\n * because the half-copied store starts and then behaves as though rows had vanished.\n */\nexport function adoptHostLocalDataIntoVolumes(\n findings: readonly UnadoptedHostLocalData[],\n log: Logger,\n): void {\n const failures: string[] = [];\n for (const finding of findings) {\n log.info(` ${finding.service}: ${finding.hostPath} → ${finding.volumeName}`);\n const result = DockerUtils.copyDirectoryIntoVolume(finding.hostPath, finding.volumeName);\n if (!result.success) {\n failures.push(`${finding.service}: ${result.error ?? 'unknown error'}`);\n continue;\n }\n\n /*\n * Set ownership EXPLICITLY, because the copy cannot carry it.\n *\n * A bind-mounted host directory is presented to a container with whatever uid the READING\n * container's user maps to, so `cp -a` preserves the reader's view — `alpine` running as root —\n * rather than the eventual consumer's. Measured 2026-09-22 against one host tree that is\n * uniformly `501:20`: it presented as `999:0` to postgresql's reader, `100:0` to rabbitmq's,\n * and `0:0` for immudb, whose image runs as `3322:3322`. Five services were right by\n * coincidence; immudb crash-looped `permission denied` on its own commit log, 11 restarts.\n *\n * Only a service with a DECLARED non-root user needs this. A root-entrypoint service chowns its\n * own data directory before dropping privileges, and imposing an owner on it here would fight\n * the thing that already works.\n */\n if (finding.requiredOwner !== null) {\n const owned = DockerUtils.setVolumeOwnership(finding.volumeName, finding.requiredOwner);\n if (!owned.success) {\n failures.push(`${finding.service}: copied, but could not set owner ${finding.requiredOwner}: ${owned.error ?? 'unknown error'}`);\n continue;\n }\n log.info(` owner set to ${finding.requiredOwner} (declared by the service)`);\n } else {\n /*\n * Say so rather than staying silent. `null` covers two different situations — a root\n * entrypoint that will repair itself, and a user given as a NAME this resolver would have had\n * to guess at — and only the second is a risk. Naming the verification command costs one line\n * and is the difference between a diagnosable failure and a crash-loop nobody can explain.\n */\n log.info(` owner left to ${finding.service}'s own entrypoint (no numeric user declared)`);\n }\n }\n if (failures.length > 0) {\n throw new Error(\n `Failed to adopt ${failures.length} backing-service data directory/ies into volumes:\\n - ${failures.join('\\n - ')}`,\n );\n }\n}\n\nfunction directoryHasContent(directory: string): boolean {\n if (!existsSync(directory)) return false;\n try {\n // Dotfiles are not data (`.DS_Store`, editor droppings); a directory holding only those is\n // empty for this purpose, and treating it as populated would offer an adoption that copies noise.\n return readdirSync(directory).some((entry) => !entry.startsWith('.'));\n } catch {\n return false;\n }\n}\n\n/**\n * `true` / `false` when Docker answered, `null` when it did not.\n *\n * The three-way result is the point: an unreachable daemon must not read as \"the volume is empty\",\n * which is the answer that would offer to copy a datadir over a live one\n * (`negative-results-require-a-positive-probe.md`).\n */\nfunction volumeHasContent(volumeName: string): boolean | null {\n const result = DockerUtils.listVolumeEntries(volumeName);\n if (!result.success) return null;\n return result.entries.some((entry) => !entry.startsWith('.'));\n}\n"]}
|
|
1
|
+
{"version":3,"file":"local-data-adoption.service.js","sourceRoot":"","sources":["../../../../../../../src/services/deployment/docker/local-data-adoption.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,IAAI,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAG5B,OAAO,EAAE,WAAW,EAAE,MAAM,sDAAsD,CAAC;AACnF,OAAO,EAAE,cAAc,EAAE,MAAM,qDAAqD,CAAC;AACrF,OAAO,EAAE,gBAAgB,EAAE,MAAM,2DAA2D,CAAC;AAC7F,OAAO,EAAE,mBAAmB,EAAE,MAAM,8DAA8D,CAAC;AACnG,OAAO,EACL,iCAAiC,EACjC,yBAAyB,EACzB,yBAAyB,GAC1B,MAAM,wEAAwE,CAAC;AA0BhF;;;;;;;;;;;;;;;;GAgBG;AACH;;;;;;;;;;GAUG;AACH,SAAS,4BAA4B,CAAC,OAAe;IACnD,MAAM,MAAM,GAAG,IAAI,GAAG,EAAyB,CAAC;IAChD,IAAI,QAAgB,CAAC;IACrB,IAAI,CAAC;QACH,QAAQ,GAAG,WAAW,CAAC,gBAAgB,CAAC,cAAc,CAAC,mBAAmB,CAAC,OAAO,CAAC,EAAE,CAAC,QAAQ,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC,CAAC;IACvH,CAAC;IAAC,MAAM,CAAC;QACP,8FAA8F;QAC9F,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,IAAI,MAAwE,CAAC;IAC7E,IAAI,CAAC;QACH,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAkB,CAAC;IACjD,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,KAAK,MAAM,CAAC,WAAW,EAAE,UAAU,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,QAAQ,IAAI,EAAE,CAAC,EAAE,CAAC;QAC9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AK,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC;IACxE,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,KAAK,CAAC;IACf,CAAC;AACH,CAAC;AAED;;;;;;GAMG;AACH,SAAS,gBAAgB,CAAC,UAAkB;IAC1C,MAAM,MAAM,GAAG,WAAW,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC;IACzD,IAAI,CAAC,MAAM,CAAC,OAAO;QAAE,OAAO,IAAI,CAAC;IACjC,OAAO,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC;AAChE,CAAC","sourcesContent":["import { existsSync, readdirSync } from 'fs';\nimport { join } from 'path';\nimport type { Logger } from '~wildo-cli/kernel/types';\nimport type { PlatformEnvironmentConfiguration } from '~wildo-cli/services/environment/environment.schemas';\nimport { DockerUtils } from '~wildo-cli/services/deployment/docker/docker.service';\nimport { ContextManager } from '~wildo-cli/services/context/context-manager.service';\nimport { EnvironmentPaths } from '~wildo-cli/services/environment/environment-paths.service';\nimport { EnvironmentRegistry } from '~wildo-cli/services/environment/environment-registry.service';\nimport {\n getDockerComposeLocalDataServices,\n listLocalDataVolumeMounts,\n usesDockerVolumeLocalData,\n} from '~wildo-cli/services/deployment/docker/docker-compose-generator.service';\n\n/**\n * One backing service whose data is on the HOST while its environment now reads from a VOLUME.\n */\nexport interface UnadoptedHostLocalData {\n /** Short container-name token, e.g. `postgresql`. */\n readonly service: string;\n /** The image's data child when the service mounts more than one (`db` / `configdb` for mongod). */\n readonly child?: string;\n /** Absolute host directory holding the data nothing mounts any more. */\n readonly hostPath: string;\n /** The volume the running stack reads instead. */\n readonly volumeName: string;\n /**\n * NUMERIC `uid[:gid]` the service runs as, or `null` when it runs as root (or when its user is a\n * name this resolver cannot turn into numbers).\n *\n * `null` is NOT \"leave it to chance\": a service that starts as root has an entrypoint that chowns\n * its own data directory before dropping privileges, which is why five of the six services here\n * survived an adoption that got ownership wrong. A service with a declared non-root user never\n * gets that chance — it starts as that user and can only fail.\n */\n readonly requiredOwner: string | null;\n}\n\n/**\n * The gap an environment falls into the first time it renders with `DOCKER_VOLUME` after having run\n * on `HOST_PATH` — and the reason this file exists rather than a paragraph in a release note.\n *\n * Nothing is deleted by the switch: `local_data/<svc>/` keeps every byte. But the stack now mounts\n * empty volumes, so it comes up with empty databases, no registered application and no platform\n * init. That reads exactly like data loss to the person it happens to, and the remedy — copy the\n * bytes across — is not one an operator can guess.\n *\n * Detected rather than performed automatically. Copying a Postgres datadir into a volume under a\n * running stack is not something a start-up path should decide on its own, and an environment that\n * WANTS a clean slate (the usual reason to switch a disposable dev stack) must not be given its old\n * data back silently.\n *\n * Returns empty for a `HOST_PATH` environment, which is the whole population that has nothing to\n * adopt.\n */\n/**\n * The numeric `uid[:gid]` each compose service runs as, keyed by service name.\n *\n * Read from `docker compose config`, which resolves the `user:` override and the env file for us,\n * falling back to the IMAGE's declared `User` when compose authors none. Both are needed: immudb\n * declares its user on the image (`3322:3322`) and mongod declares one in compose (`mongodb`).\n *\n * A user given as a NAME maps to `null` rather than a guess. Resolving it would mean reading the\n * service image's own user database, and a wrong number here writes the wrong owner onto a whole\n * datadir — so the adoption reports what it could not determine instead of inventing it.\n */\nfunction resolveServiceRequiredOwners(envName: string): Map<string, string | null> {\n const owners = new Map<string, string | null>();\n let resolved: string;\n try {\n resolved = DockerUtils.runDockerCompose(ContextManager.resolveInfraContext(envName), ['config', '--format', 'json']);\n } catch {\n // No rendered project, or Docker not answering. The caller degrades to \"could not determine\".\n return owners;\n }\n\n let parsed: { services?: Record<string, { user?: string; image?: string }> };\n try {\n parsed = JSON.parse(resolved) as typeof parsed;\n } catch {\n return owners;\n }\n\n for (const [serviceName, definition] of Object.entries(parsed.services ?? {})) {\n const declared = definition.user ?? readImageDeclaredUser(definition.image);\n owners.set(serviceName, normalizeNumericOwner(declared));\n }\n return owners;\n}\n\nfunction readImageDeclaredUser(image: string | undefined): string | undefined {\n if (!image) return undefined;\n const result = DockerUtils.readImageDeclaredUser(image);\n return result.success ? (result.user || undefined) : undefined;\n}\n\n/** `'3322:3322'` → itself; `'999'` → `'999'`; `'mongodb'` / `'0'` / absent → `null`. */\nfunction normalizeNumericOwner(user: string | undefined): string | null {\n if (!user) return null;\n if (!/^\\d+(:\\d+)?$/.test(user)) return null;\n // Root needs no chown: its entrypoint owns everything already and repairs the tree itself.\n if (user === '0' || user === '0:0') return null;\n return user;\n}\n\nexport function describeUnadoptedHostLocalData(\n env: PlatformEnvironmentConfiguration,\n): readonly UnadoptedHostLocalData[] {\n if (!usesDockerVolumeLocalData(env)) return [];\n const saasRoot = EnvironmentRegistry.getSaasRoot();\n if (!saasRoot) return [];\n\n const localDataRoot = EnvironmentPaths.resolveScopedLocalDataDir(saasRoot);\n const requiredOwners = resolveServiceRequiredOwners(env.name);\n const findings: UnadoptedHostLocalData[] = [];\n // One finding per MOUNT, not per service: mongod mounts `db` and `configdb` as two volumes, and a\n // per-service copy lands the whole tree in a volume nothing mounts (see `listLocalDataVolumeMounts`).\n for (const { service, child, volumeName } of listLocalDataVolumeMounts(saasRoot, getDockerComposeLocalDataServices(env))) {\n const hostPath = child ? join(localDataRoot, service, child) : join(localDataRoot, service);\n if (!directoryHasContent(hostPath)) continue;\n // Only a volume that is EMPTY is a candidate. A populated one is the live store, and copying\n // over it would overwrite current data with whatever the host tree last held.\n if (volumeHasContent(volumeName) !== false) continue;\n findings.push({ service, ...(child ? { child } : {}), hostPath, volumeName, requiredOwner: requiredOwners.get(service) ?? null });\n }\n return findings;\n}\n\n/**\n * Copy each named service's host data into the volume the stack now reads.\n *\n * Runs the copy INSIDE a throwaway container rather than on the host, because that is the only\n * place both sides are addressable: a Docker volume has no host path on macOS or Windows, where its\n * bytes live inside the runtime's VM. `cp -a` preserves ownership and mode, which a Postgres\n * datadir and a Mongo journal both require.\n *\n * Caller MUST have stopped the stack first — copying into a volume a running database has open is\n * how a datadir is corrupted rather than moved.\n *\n * Fail-closed per service: a partial adoption reported as success is worse than a loud stop,\n * because the half-copied store starts and then behaves as though rows had vanished.\n */\nexport function adoptHostLocalDataIntoVolumes(\n findings: readonly UnadoptedHostLocalData[],\n log: Logger,\n): void {\n const failures: string[] = [];\n for (const finding of findings) {\n log.info(` ${finding.service}${finding.child ? `/${finding.child}` : ''}: ${finding.hostPath} → ${finding.volumeName}`);\n const result = DockerUtils.copyDirectoryIntoVolume(finding.hostPath, finding.volumeName);\n if (!result.success) {\n failures.push(`${finding.volumeName}: ${result.error ?? 'unknown error'}`);\n continue;\n }\n\n /*\n * Set ownership EXPLICITLY, because the copy cannot carry it.\n *\n * A bind-mounted host directory is presented to a container with whatever uid the READING\n * container's user maps to, so `cp -a` preserves the reader's view — `alpine` running as root —\n * rather than the eventual consumer's. Measured 2026-09-22 against one host tree that is\n * uniformly `501:20`: it presented as `999:0` to postgresql's reader, `100:0` to rabbitmq's,\n * and `0:0` for immudb, whose image runs as `3322:3322`. Five services were right by\n * coincidence; immudb crash-looped `permission denied` on its own commit log, 11 restarts.\n *\n * Only a service with a DECLARED non-root user needs this. A root-entrypoint service chowns its\n * own data directory before dropping privileges, and imposing an owner on it here would fight\n * the thing that already works.\n */\n if (finding.requiredOwner !== null) {\n const owned = DockerUtils.setVolumeOwnership(finding.volumeName, finding.requiredOwner);\n if (!owned.success) {\n failures.push(`${finding.volumeName}: copied, but could not set owner ${finding.requiredOwner}: ${owned.error ?? 'unknown error'}`);\n continue;\n }\n log.info(` owner set to ${finding.requiredOwner} (declared by the service)`);\n } else {\n /*\n * Say so rather than staying silent. `null` covers two different situations — a root\n * entrypoint that will repair itself, and a user given as a NAME this resolver would have had\n * to guess at — and only the second is a risk. Naming the verification command costs one line\n * and is the difference between a diagnosable failure and a crash-loop nobody can explain.\n */\n log.info(` owner left to ${finding.service}'s own entrypoint (no numeric user declared)`);\n }\n }\n if (failures.length > 0) {\n throw new Error(\n `Failed to adopt ${failures.length} backing-service data directory/ies into volumes:\\n - ${failures.join('\\n - ')}`,\n );\n }\n}\n\nfunction directoryHasContent(directory: string): boolean {\n if (!existsSync(directory)) return false;\n try {\n // Dotfiles are not data (`.DS_Store`, editor droppings); a directory holding only those is\n // empty for this purpose, and treating it as populated would offer an adoption that copies noise.\n return readdirSync(directory).some((entry) => !entry.startsWith('.'));\n } catch {\n return false;\n }\n}\n\n/**\n * `true` / `false` when Docker answered, `null` when it did not.\n *\n * The three-way result is the point: an unreachable daemon must not read as \"the volume is empty\",\n * which is the answer that would offer to copy a datadir over a live one\n * (`negative-results-require-a-positive-probe.md`).\n */\nfunction volumeHasContent(volumeName: string): boolean | null {\n const result = DockerUtils.listVolumeEntries(volumeName);\n if (!result.success) return null;\n return result.entries.some((entry) => !entry.startsWith('.'));\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cluster-controller-charts.test.d.ts","sourceRoot":"","sources":["../../../../../../../../src/services/deployment/k8s/__tests__/cluster-controller-charts.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The cluster controller charts the Kubernetes lanes install — Traefik with its values, cert-manager
|
|
3
|
+
* with its one setting — are accepted at the versions pinned in `cluster-controller-charts.constants.ts`
|
|
4
|
+
* (#1788 review, D1).
|
|
5
|
+
*
|
|
6
|
+
* The chart's schema refuses unknown keys. The values were written for a chart from March, and neither
|
|
7
|
+
* install site pinned a version, so once the chart moved every rendered values file was rejected and
|
|
8
|
+
* the lane's Traefik could not install. A parsed-YAML pin cannot see that; only the chart can. So this
|
|
9
|
+
* renders the values the way the lanes do and runs `helm template` against `TRAEFIK_CHART.version`.
|
|
10
|
+
*
|
|
11
|
+
* Needs `helm` and the network (to fetch the pinned chart). CI installs helm and sets
|
|
12
|
+
* `WILDO_REQUIRE_HELM_TEMPLATE=1`, so a missing binary there FAILS rather than skips: a gate that skips
|
|
13
|
+
* when its tool is absent reports a valid values file and a missing tool identically.
|
|
14
|
+
*/
|
|
15
|
+
import { execFileSync, spawnSync } from 'node:child_process';
|
|
16
|
+
import { mkdtempSync, rmSync, writeFileSync } from 'node:fs';
|
|
17
|
+
import { tmpdir } from 'node:os';
|
|
18
|
+
import { join, resolve } from 'node:path';
|
|
19
|
+
import { afterAll, beforeAll, describe, expect, it } from 'vitest';
|
|
20
|
+
import { WildoLocationType } from '@wildo-ai/platform-config-lib';
|
|
21
|
+
import { TemplateProcessor } from '../../../../infrastructure/io/template-processor.js';
|
|
22
|
+
import { K8sManifestGenerator } from '../k8s-manifest-generator.service.js';
|
|
23
|
+
import { CERT_MANAGER_CHART, TRAEFIK_CHART } from '../cluster-controller-charts.constants.js';
|
|
24
|
+
const repoRoot = resolve(process.cwd(), '../../..');
|
|
25
|
+
const traefikTemplates = join(repoRoot, 'templates/infra/k8s');
|
|
26
|
+
const helmAvailable = spawnSync('helm', ['version', '--short'], { stdio: 'ignore' }).status === 0;
|
|
27
|
+
const required = process.env.WILDO_REQUIRE_HELM_TEMPLATE === '1';
|
|
28
|
+
const scratch = [];
|
|
29
|
+
afterAll(() => { for (const dir of scratch)
|
|
30
|
+
rmSync(dir, { recursive: true, force: true }); });
|
|
31
|
+
function helmTemplate(valuesPath) {
|
|
32
|
+
return helmTemplateChart(TRAEFIK_CHART, 'traefik', ['-f', valuesPath]);
|
|
33
|
+
}
|
|
34
|
+
function helmTemplateChart(chart, release, args) {
|
|
35
|
+
try {
|
|
36
|
+
return execFileSync('helm', ['template', release, chart.reference, '--version', chart.version, '--namespace', release, ...args], {
|
|
37
|
+
encoding: 'utf8', stdio: ['ignore', 'pipe', 'pipe'], maxBuffer: 32 * 1024 * 1024,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
catch (error) {
|
|
41
|
+
const failed = error;
|
|
42
|
+
throw new Error(`helm template against ${chart.reference}@${chart.version} refused ${args.join(' ')}:\n${failed.stderr ?? ''}${failed.stdout ?? ''}`);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
// Each test must stand alone (`-t` on a fresh machine): the chart repositories are added once, here.
|
|
46
|
+
beforeAll(() => {
|
|
47
|
+
if (!helmAvailable)
|
|
48
|
+
return;
|
|
49
|
+
for (const [name, chart] of [['traefik', TRAEFIK_CHART], ['jetstack', CERT_MANAGER_CHART]]) {
|
|
50
|
+
execFileSync('helm', ['repo', 'add', name, chart.repositoryUrl, '--force-update'], { stdio: 'ignore' });
|
|
51
|
+
execFileSync('helm', ['repo', 'update', name], { stdio: 'ignore' });
|
|
52
|
+
}
|
|
53
|
+
}, 180_000);
|
|
54
|
+
describe('the cluster controller charts the Kubernetes lanes install, at their pinned versions', () => {
|
|
55
|
+
it('has helm when CI requires the gate', () => {
|
|
56
|
+
if (required)
|
|
57
|
+
expect(helmAvailable, 'WILDO_REQUIRE_HELM_TEMPLATE=1 but `helm` is not on PATH').toBe(true);
|
|
58
|
+
});
|
|
59
|
+
it.runIf(helmAvailable)('the remote values, as the lanes render them AND with every optional branch on, are accepted by the chart', () => {
|
|
60
|
+
const out = mkdtempSync(join(tmpdir(), 'wildo-traefik-chart-'));
|
|
61
|
+
scratch.push(out);
|
|
62
|
+
const rendered = K8sManifestGenerator.renderRemoteTraefikValues({ locationType: WildoLocationType.REMOTE }, repoRoot, out);
|
|
63
|
+
expect(rendered).not.toBeNull();
|
|
64
|
+
const manifests = helmTemplate(rendered);
|
|
65
|
+
// The source-address preservation #1788 depends on reaches the rendered Service.
|
|
66
|
+
expect(manifests).toMatch(/externalTrafficPolicy: Local/);
|
|
67
|
+
const withOptions = join(out, 'traefik-values.options.yaml');
|
|
68
|
+
writeFileSync(withOptions, new TemplateProcessor(traefikTemplates).processTemplate('ingress/traefik/values.yaml.hbs', {
|
|
69
|
+
proxyProtocol: true, loadBalancerAnnotations: { 'example.com/lb': 'yes' }, dashboardEnabled: true,
|
|
70
|
+
}), 'utf8');
|
|
71
|
+
helmTemplate(withOptions);
|
|
72
|
+
}, 180_000);
|
|
73
|
+
it.runIf(helmAvailable)('the local (kind) values are accepted by the chart', () => {
|
|
74
|
+
helmTemplate(join(traefikTemplates, 'ingress/traefik/local/values.yaml'));
|
|
75
|
+
}, 180_000);
|
|
76
|
+
it.runIf(helmAvailable)('the pinned cert-manager chart exists and accepts the settings the lanes pass', () => {
|
|
77
|
+
const manifests = helmTemplateChart(CERT_MANAGER_CHART, 'cert-manager', ['--set', 'crds.enabled=true']);
|
|
78
|
+
expect(manifests).toMatch(/kind: CustomResourceDefinition/);
|
|
79
|
+
}, 180_000);
|
|
80
|
+
});
|
|
81
|
+
//# sourceMappingURL=cluster-controller-charts.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cluster-controller-charts.test.js","sourceRoot":"","sources":["../../../../../../../../src/services/deployment/k8s/__tests__/cluster-controller-charts.test.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC7D,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAElE,OAAO,EAAE,iBAAiB,EAAE,MAAM,iDAAiD,CAAC;AACpF,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAE3F,MAAM,QAAQ,GAAG,OAAO,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,UAAU,CAAC,CAAC;AACpD,MAAM,gBAA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,EAAE,GAAG,CAC9F,CAAC;QACF,MAAM,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;QAChC,MAAM,SAAS,GAAG,YAAY,CAAC,QAAS,CAAC,CAAC;QAC1C,iFAAiF;QACjF,MAAM,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,8BAA8B,CAAC,CAAC;QAE1D,MAAM,WAAW,GAAG,IAAI,CAAC,GAAG,EAAE,6BAA6B,CAAC,CAAC;QAC7D,aAAa,CAAC,WAAW,EAAE,IAAI,iBAAiB,CAAC,gBAAgB,CAAC,CAAC,eAAe,CAAC,iCAAiC,EAAE;YACpH,aAAa,EAAE,IAAI,EAAE,uBAAuB,EAAE,EAAE,gBAAgB,EAAE,KAAK,EAAE,EAAE,gBAAgB,EAAE,IAAI;SAClG,CAAC,EAAE,MAAM,CAAC,CAAC;QACZ,YAAY,CAAC,WAAW,CAAC,CAAC;IAC5B,CAAC,EAAE,OAAO,CAAC,CAAC;IAEZ,EAAE,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,mDAAmD,EAAE,GAAG,EAAE;QAChF,YAAY,CAAC,IAAI,CAAC,gBAAgB,EAAE,mCAAmC,CAAC,CAAC,CAAC;IAC5E,CAAC,EAAE,OAAO,CAAC,CAAC;IAEZ,EAAE,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,8EAA8E,EAAE,GAAG,EAAE;QAC3G,MAAM,SAAS,GAAG,iBAAiB,CAAC,kBAAkB,EAAE,cAAc,EAAE,CAAC,OAAO,EAAE,mBAAmB,CAAC,CAAC,CAAC;QACxG,MAAM,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,gCAAgC,CAAC,CAAC;IAC9D,CAAC,EAAE,OAAO,CAAC,CAAC;AACd,CAAC,CAAC,CAAC","sourcesContent":["/**\n * The cluster controller charts the Kubernetes lanes install — Traefik with its values, cert-manager\n * with its one setting — are accepted at the versions pinned in `cluster-controller-charts.constants.ts`\n * (#1788 review, D1).\n *\n * The chart's schema refuses unknown keys. The values were written for a chart from March, and neither\n * install site pinned a version, so once the chart moved every rendered values file was rejected and\n * the lane's Traefik could not install. A parsed-YAML pin cannot see that; only the chart can. So this\n * renders the values the way the lanes do and runs `helm template` against `TRAEFIK_CHART.version`.\n *\n * Needs `helm` and the network (to fetch the pinned chart). CI installs helm and sets\n * `WILDO_REQUIRE_HELM_TEMPLATE=1`, so a missing binary there FAILS rather than skips: a gate that skips\n * when its tool is absent reports a valid values file and a missing tool identically.\n */\nimport { execFileSync, spawnSync } from 'node:child_process';\nimport { mkdtempSync, rmSync, writeFileSync } from 'node:fs';\nimport { tmpdir } from 'node:os';\nimport { join, resolve } from 'node:path';\nimport { afterAll, beforeAll, describe, expect, it } from 'vitest';\nimport { WildoLocationType } from '@wildo-ai/platform-config-lib';\nimport type { PlatformEnvironmentConfiguration } from '~wildo-cli/services/environment/environment.schemas';\nimport { TemplateProcessor } from '~wildo-cli/infrastructure/io/template-processor';\nimport { K8sManifestGenerator } from '../k8s-manifest-generator.service';\nimport { CERT_MANAGER_CHART, TRAEFIK_CHART } from '../cluster-controller-charts.constants';\n\nconst repoRoot = resolve(process.cwd(), '../../..');\nconst traefikTemplates = join(repoRoot, 'templates/infra/k8s');\nconst helmAvailable = spawnSync('helm', ['version', '--short'], { stdio: 'ignore' }).status === 0;\nconst required = process.env.WILDO_REQUIRE_HELM_TEMPLATE === '1';\nconst scratch: string[] = [];\nafterAll(() => { for (const dir of scratch) rmSync(dir, { recursive: true, force: true }); });\n\nfunction helmTemplate(valuesPath: string): string {\n return helmTemplateChart(TRAEFIK_CHART, 'traefik', ['-f', valuesPath]);\n}\n\nfunction helmTemplateChart(chart: { reference: string; version: string }, release: string, args: string[]): string {\n try {\n return execFileSync('helm', ['template', release, chart.reference, '--version', chart.version, '--namespace', release, ...args], {\n encoding: 'utf8', stdio: ['ignore', 'pipe', 'pipe'], maxBuffer: 32 * 1024 * 1024,\n });\n } catch (error) {\n const failed = error as { stdout?: string; stderr?: string };\n throw new Error(`helm template against ${chart.reference}@${chart.version} refused ${args.join(' ')}:\\n${failed.stderr ?? ''}${failed.stdout ?? ''}`);\n }\n}\n\n// Each test must stand alone (`-t` on a fresh machine): the chart repositories are added once, here.\nbeforeAll(() => {\n if (!helmAvailable) return;\n for (const [name, chart] of [['traefik', TRAEFIK_CHART], ['jetstack', CERT_MANAGER_CHART]] as const) {\n execFileSync('helm', ['repo', 'add', name, chart.repositoryUrl, '--force-update'], { stdio: 'ignore' });\n execFileSync('helm', ['repo', 'update', name], { stdio: 'ignore' });\n }\n}, 180_000);\n\ndescribe('the cluster controller charts the Kubernetes lanes install, at their pinned versions', () => {\n it('has helm when CI requires the gate', () => {\n if (required) expect(helmAvailable, 'WILDO_REQUIRE_HELM_TEMPLATE=1 but `helm` is not on PATH').toBe(true);\n });\n\n it.runIf(helmAvailable)('the remote values, as the lanes render them AND with every optional branch on, are accepted by the chart', () => {\n const out = mkdtempSync(join(tmpdir(), 'wildo-traefik-chart-'));\n scratch.push(out);\n\n const rendered = K8sManifestGenerator.renderRemoteTraefikValues(\n { locationType: WildoLocationType.REMOTE } as PlatformEnvironmentConfiguration, repoRoot, out,\n );\n expect(rendered).not.toBeNull();\n const manifests = helmTemplate(rendered!);\n // The source-address preservation #1788 depends on reaches the rendered Service.\n expect(manifests).toMatch(/externalTrafficPolicy: Local/);\n\n const withOptions = join(out, 'traefik-values.options.yaml');\n writeFileSync(withOptions, new TemplateProcessor(traefikTemplates).processTemplate('ingress/traefik/values.yaml.hbs', {\n proxyProtocol: true, loadBalancerAnnotations: { 'example.com/lb': 'yes' }, dashboardEnabled: true,\n }), 'utf8');\n helmTemplate(withOptions);\n }, 180_000);\n\n it.runIf(helmAvailable)('the local (kind) values are accepted by the chart', () => {\n helmTemplate(join(traefikTemplates, 'ingress/traefik/local/values.yaml'));\n }, 180_000);\n\n it.runIf(helmAvailable)('the pinned cert-manager chart exists and accepts the settings the lanes pass', () => {\n const manifests = helmTemplateChart(CERT_MANAGER_CHART, 'cert-manager', ['--set', 'crds.enabled=true']);\n expect(manifests).toMatch(/kind: CustomResourceDefinition/);\n }, 180_000);\n});\n"]}
|
|
@@ -520,7 +520,7 @@ describe('K8sManifestGenerator', () => {
|
|
|
520
520
|
{ host: 'api.example.com', serviceName: 'demo-app-backend-api', port: 4241 },
|
|
521
521
|
],
|
|
522
522
|
podPorts: [{ name: 'backend', containerPort: 4241 }],
|
|
523
|
-
healthPort:
|
|
523
|
+
healthPort: 4241,
|
|
524
524
|
// Deliberately authoring NO isolation on either kind: "authored nothing"
|
|
525
525
|
// is the common case and the one that must come out hardened.
|
|
526
526
|
frontends: [{ serviceName: 'demo-app-app', port: 4242 }],
|
|
@@ -568,11 +568,10 @@ describe('K8sManifestGenerator', () => {
|
|
|
568
568
|
{ host: 'app.example.com', serviceName: 'demo-app-app', port: 4242 },
|
|
569
569
|
{ host: 'api.example.com', serviceName: 'demo-app-backend-api', port: 4241 },
|
|
570
570
|
],
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
healthPort: 4240,
|
|
571
|
+
// The backend binds one port; health, webhooks, OAuth and MCP are routes on it (#1783).
|
|
572
|
+
podPorts: [{ name: 'backend', containerPort: 4241 }],
|
|
573
|
+
// The backend's OWN port: the one listener serving /health and /health/ready (#1760).
|
|
574
|
+
healthPort: 4241,
|
|
576
575
|
frontends: [{ serviceName: 'demo-app-app', port: 4242 }],
|
|
577
576
|
}, 'sha-abc123');
|
|
578
577
|
// FLAT per-service filenames (CI `kubectl apply -f` is non-recursive): a
|
|
@@ -597,8 +596,9 @@ describe('K8sManifestGenerator', () => {
|
|
|
597
596
|
expect(backendDeploy).toContain('image: registry.example.com/demo/demo-app-backend-api:sha-abc123');
|
|
598
597
|
expect(backendDeploy).toMatch(/envFrom:[\s\S]*?secretRef:[\s\S]*?name: demo-app-secret/);
|
|
599
598
|
expect(backendDeploy).toContain('containerPort: 4241');
|
|
600
|
-
|
|
601
|
-
expect(backendDeploy).toMatch(/port:
|
|
599
|
+
// Liveness on /health, readiness on /health/ready, both on the port that serves them (#1760).
|
|
600
|
+
expect(backendDeploy).toMatch(/livenessProbe:\s*httpGet:\s*path: \/health\s*port: 4241/);
|
|
601
|
+
expect(backendDeploy).toMatch(/readinessProbe:\s*httpGet:\s*path: \/health\/ready\s*port: 4241/);
|
|
602
602
|
expect(backendDeploy).not.toContain('valkey-secret');
|
|
603
603
|
expect(backendDeploy).not.toContain('rabbitmq-secret');
|
|
604
604
|
expect(backendDeploy).not.toMatch(/- name: SKIP_GIT_CLONE/);
|
|
@@ -865,12 +865,8 @@ describe('K8sManifestGenerator', () => {
|
|
|
865
865
|
{ host: 'app.example.com', serviceName: 'demo-app-app', port: 4242 },
|
|
866
866
|
{ host: 'api.example.com', serviceName: 'demo-app-backend-api', port: 4241 },
|
|
867
867
|
],
|
|
868
|
-
podPorts: [
|
|
869
|
-
|
|
870
|
-
{ name: 'health', containerPort: 4240 },
|
|
871
|
-
{ name: 'webhook', containerPort: 4239 },
|
|
872
|
-
],
|
|
873
|
-
healthPort: 4240,
|
|
868
|
+
podPorts: [{ name: 'backend', containerPort: 4241 }],
|
|
869
|
+
healthPort: 4241,
|
|
874
870
|
frontends: [{ serviceName: 'demo-app-app', port: 4242 }],
|
|
875
871
|
}, 'sha1');
|
|
876
872
|
const [minion] = K8sManifestGenerator.renderMinionForTarget(remoteTlsEnv(), repoRoot, {
|
|
@@ -997,7 +993,10 @@ describe('K8sManifestGenerator', () => {
|
|
|
997
993
|
const path = K8sManifestGenerator.renderRemoteTraefikValues(remoteTlsEnv(), repoRoot, outputDir);
|
|
998
994
|
expect(path).toBe(join(outputDir, 'traefik-values.yaml'));
|
|
999
995
|
const values = readFileSync(path, 'utf8');
|
|
1000
|
-
|
|
996
|
+
// Under `service.spec`, where the chart reads it, and preserving the client's source address — the
|
|
997
|
+
// address the application backend trusts one hop for (#1788). With the default `Cluster` policy
|
|
998
|
+
// every per-IP control would see a node instead of the client.
|
|
999
|
+
expect(parseYaml(values).service.spec).toEqual({ type: 'LoadBalancer', externalTrafficPolicy: 'Local' });
|
|
1001
1000
|
expect(parseYaml(values).additionalArguments).toContain('--providers.kubernetesingress.ingressclass=traefik');
|
|
1002
1001
|
expect(parseYaml(values).ingressClass.enabled).toBe(true);
|
|
1003
1002
|
expect(values).not.toContain('{{');
|
|
@@ -1043,7 +1042,7 @@ describe('K8sManifestGenerator', () => {
|
|
|
1043
1042
|
{ host: 'api.example.com', serviceName: 'demo-app-backend-api', port: 4241 },
|
|
1044
1043
|
],
|
|
1045
1044
|
podPorts: [{ name: 'backend', containerPort: 4241 }],
|
|
1046
|
-
healthPort:
|
|
1045
|
+
healthPort: 4241,
|
|
1047
1046
|
frontends: [{ serviceName: 'demo-app-app', port: 4242 }],
|
|
1048
1047
|
}, 'sha-abc123');
|
|
1049
1048
|
const backend = rendered.find((r) => r.name === 'demo-app-backend-api-deployment').yaml;
|