@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
package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-runtime-process-cleanup.service.test.js","sourceRoot":"","sources":["../../../../../../../src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAE9D,MAAM,EAAE,gBAAgB,E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C/B,wEAAwE;YACxE,uHAAuH;YACvH,EAAE;SACH,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;QAEd,MAAM,UAAU,GAAG,iCAAiC,CAAC,6BAA6B,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC;QAC5G,MAAM,OAAO,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,cAAc,KAAK,GAAG,CAAC,CAAC;QAEjF,MAAM,CAAC,OAAO,EAAE,gBAAgB,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAChD,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,6EAA6E,EAAE,GAAG,EAAE;QACrF,uEAAuE;QACvE,2EAA2E;QAC3E,gBAAgB,CAAC,eAAe,CAC9B,yHAAyH,CAC1H,CAAC;QAEF,MAAM,CAAC,SAAS,CAAC,GAAG,iCAAiC,CAAC,6BAA6B,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC;QAE7G,MAAM,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAChD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { beforeEach, describe, expect, it, vi } from 'vitest';\n\nconst { execFileSyncMock, terminateProcessTreeMock } = vi.hoisted(() => ({\n execFileSyncMock: vi.fn(),\n terminateProcessTreeMock: vi.fn(async () => 'stopped' as const),\n}));\n\nvi.mock('child_process', () => ({\n execFileSync: execFileSyncMock,\n}));\n\nvi.mock('~wildo-cli/infrastructure/process/spawn.utils', () => ({\n SpawnUtils: {\n terminateProcessTree: terminateProcessTreeMock,\n },\n}));\n\nimport type { Logger } from '~wildo-cli/kernel/types';\nimport {\n commandReferencesScopedRoot,\n LocalRuntimeProcessCleanupService,\n parseWindowsProcessTable,\n validateCleanupRoots,\n} from '../local-runtime-process-cleanup.service';\n\nconst logger: Logger = {\n info: vi.fn(),\n success: vi.fn(),\n warn: vi.fn(),\n error: vi.fn(),\n};\n\ndescribe('LocalRuntimeProcessCleanupService', () => {\n beforeEach(() => {\n vi.clearAllMocks();\n terminateProcessTreeMock.mockResolvedValue('stopped');\n });\n\n it('waits for matching process trees in the selected framework/app roots only', async () => {\n execFileSyncMock.mockReturnValue([\n ' 10 1 10 node pnpm --parallel --filter platform run dev',\n ' 101 10 10 node ../../../scripts/runtime-supervisor.mjs --entry dist/index.js',\n ' 102 101 102 node /workspace/wildo-ai/platform/apps-manager/dist/index.js',\n ' 200 1 200 node /workspace/wildo-ai/examples/wonder-todos/backend-api/dist/index.js',\n ' 300 1 300 node /other-checkout/backend-api/dist/index.js',\n ' 400 1 400 node /workspace/wildo-ai/scripts/unrelated.mjs',\n '',\n ].join('\\n'));\n\n const stopped = await LocalRuntimeProcessCleanupService.stop(\n ['/workspace/wildo-ai', '/workspace/wildo-ai/examples/wonder-todos'],\n logger,\n );\n\n expect(stopped).toBe(2);\n expect(terminateProcessTreeMock).toHaveBeenCalledTimes(2);\n expect(terminateProcessTreeMock).toHaveBeenNthCalledWith(1, 102, {\n gracefulSignal: 'SIGTERM',\n forceSignal: 'SIGKILL',\n timeoutMs: 20_000,\n pollIntervalMs: 100,\n fallbackProcessIds: [102],\n platform: process.platform,\n });\n expect(terminateProcessTreeMock).toHaveBeenNthCalledWith(2, 200, {\n gracefulSignal: 'SIGTERM',\n forceSignal: 'SIGKILL',\n timeoutMs: 20_000,\n pollIntervalMs: 100,\n fallbackProcessIds: [200],\n platform: process.platform,\n });\n });\n\n it('fails safe when the process table cannot be read', async () => {\n execFileSyncMock.mockImplementation(() => {\n throw new Error('ps unavailable');\n });\n\n await expect(\n LocalRuntimeProcessCleanupService.stop(['/workspace/wildo-ai'], logger),\n ).rejects.toThrow(/refusing to start or reset over an unknown runtime owner/);\n expect(terminateProcessTreeMock).not.toHaveBeenCalled();\n });\n\n it('fails safe when an owned process tree cannot be terminated', async () => {\n execFileSyncMock.mockReturnValue('10 1 10 node /workspace/wildo-ai/runtime-supervisor.mjs\\n');\n terminateProcessTreeMock.mockRejectedValueOnce(new Error('access denied'));\n\n await expect(\n LocalRuntimeProcessCleanupService.stop(['/workspace/wildo-ai'], logger),\n ).rejects.toThrow(/runtime-supervisor\\.mjs.*refusing to start a competing generation/);\n });\n\n it('matches nested paths but never a lexical root prefix collision', () => {\n expect(commandReferencesScopedRoot('node /work/app/backend/dist/index.js', '/work/app')).toBe(true);\n expect(commandReferencesScopedRoot('node --cwd=/work/app runtime-supervisor.mjs', '/work/app')).toBe(true);\n expect(commandReferencesScopedRoot('node /work/app-copy/backend/dist/index.js', '/work/app')).toBe(false);\n expect(commandReferencesScopedRoot('node /work/application/backend/dist/index.js', '/work/app')).toBe(false);\n });\n\n it('captures only the selected leader tree for an EPERM fallback, never a same-group sibling job', () => {\n execFileSyncMock.mockReturnValue([\n ' 10 1 10 pnpm dev:sync',\n ' 11 10 10 node /workspace/wildo-ai/dev-framework-scripts/sync-engine.sh',\n ' 12 1 10 node /other-checkout/also-in-the-group.js',\n '',\n ].join('\\n'));\n\n const [candidate] = LocalRuntimeProcessCleanupService.collectCandidateProcessGroups(['/workspace/wildo-ai']);\n\n expect(candidate.processGroupId).toBe(10);\n expect(candidate.processTreeProcessIds).toEqual([10, 11]);\n });\n\n it('rejects filesystem roots as destructive cleanup scopes', () => {\n expect(() => validateCleanupRoots(['/'])).toThrow(/unsafe broad process-cleanup root/);\n expect(() => validateCleanupRoots(['relative/app'])).toThrow(/unsafe broad process-cleanup root/);\n expect(() => validateCleanupRoots([''])).toThrow(/unsafe broad process-cleanup root/);\n });\n\n it('parses PowerShell process inventory into Windows tree identities', () => {\n expect(parseWindowsProcessTable(JSON.stringify([\n { ProcessId: 10, ParentProcessId: 1, CommandLine: 'node C:\\\\work\\\\app\\\\dist\\\\index.js' },\n { ProcessId: 11, ParentProcessId: 10, Name: 'System', CommandLine: null },\n ]))).toEqual([\n { pid: 10, parentPid: 1, processGroupId: 10, command: 'node C:\\\\work\\\\app\\\\dist\\\\index.js' },\n ]);\n });\n\n it('fails closed when a potentially relevant Windows process has no readable command line', () => {\n expect(() => parseWindowsProcessTable(JSON.stringify([\n { ProcessId: 11, ParentProcessId: 10, Name: 'node.exe', CommandLine: null },\n ]))).toThrow(/Command line unavailable/);\n expect(() => parseWindowsProcessTable(JSON.stringify([\n { ProcessId: 12, ParentProcessId: 10, Name: null, ExecutablePath: 'C:\\\\Program Files\\\\PowerShell\\\\powershell.exe', CommandLine: null },\n ]))).toThrow(/Command line unavailable/);\n });\n\n it('does not promote a scoped child into an unrelated shared shell process group', async () => {\n execFileSyncMock.mockReturnValue([\n '10 1 10 /bin/zsh -l',\n '11 10 10 node /workspace/wildo-ai/scripts/runtime-supervisor.mjs',\n ].join('\\n'));\n await expect(LocalRuntimeProcessCleanupService.stop(['/workspace/wildo-ai'], logger)).resolves.toBe(0);\n expect(terminateProcessTreeMock).not.toHaveBeenCalled();\n });\n\n it('enumerates Windows processes and terminates only the top-most selected tree', async () => {\n execFileSyncMock.mockReturnValue(JSON.stringify([\n { ProcessId: 10, ParentProcessId: 1, CommandLine: 'node /work/app/runtime-supervisor.mjs' },\n { ProcessId: 11, ParentProcessId: 10, CommandLine: 'node /work/app/dist/index.js' },\n { ProcessId: 12, ParentProcessId: 1, CommandLine: 'node /work/app-copy/runtime-supervisor.mjs' },\n ]));\n\n await expect(LocalRuntimeProcessCleanupService.stop(['/work/app'], logger, { platform: 'win32' })).resolves.toBe(1);\n expect(execFileSyncMock).toHaveBeenCalledWith('powershell.exe', expect.any(Array), { encoding: 'utf-8' });\n expect(terminateProcessTreeMock).toHaveBeenCalledTimes(1);\n expect(terminateProcessTreeMock).toHaveBeenCalledWith(10, expect.objectContaining({ platform: 'win32' }));\n });\n});\n\n/**\n * `wildo local doctor` reports orphaned dev watchers and is documented\n * read-only, so it must observe the SAME population `stop()` reaps without\n * being able to reap it. That is one matching authority split into a selector\n * and a terminator — not two matchers that happen to agree today.\n */\ndescribe('LocalRuntimeProcessCleanupService.collectCandidateProcessGroups', () => {\n beforeEach(() => {\n vi.clearAllMocks();\n terminateProcessTreeMock.mockResolvedValue('stopped');\n });\n\n it('selects exactly the groups `stop()` terminates, and terminates nothing itself', async () => {\n const table = [\n ' 10 1 10 node pnpm --parallel --filter platform run dev',\n ' 101 10 10 node ../../../scripts/runtime-supervisor.mjs --entry dist/index.js',\n ' 102 101 102 node /workspace/wildo-ai/platform/apps-manager/dist/index.js',\n ' 200 1 200 node /workspace/wildo-ai/examples/wonder-todos/backend-api/dist/index.js',\n ' 400 1 400 node /workspace/wildo-ai/scripts/unrelated.mjs',\n '',\n ].join('\\n');\n execFileSyncMock.mockReturnValue(table);\n\n const candidates = LocalRuntimeProcessCleanupService.collectCandidateProcessGroups([\n '/workspace/wildo-ai',\n '/workspace/wildo-ai/examples/wonder-todos',\n ]);\n\n expect(candidates.map((candidate) => candidate.processGroupId)).toEqual([102, 200]);\n expect(candidates.map((candidate) => candidate.processTreeProcessIds)).toEqual([[102], [200]]);\n // Read-only: the selector never signals anything.\n expect(terminateProcessTreeMock).not.toHaveBeenCalled();\n\n execFileSyncMock.mockReturnValue(table);\n await LocalRuntimeProcessCleanupService.stop(\n ['/workspace/wildo-ai', '/workspace/wildo-ai/examples/wonder-todos'],\n logger,\n );\n expect(terminateProcessTreeMock.mock.calls.map((call) => (call as unknown[])[0])).toEqual(\n candidates.map((candidate) => candidate.processGroupId),\n );\n });\n\n it('marks a group whose leader was reparented to init as ORPHANED', () => {\n // The failure this exists for: a `tsc-watch` single-writer left by a dead\n // `local dev` session keeps holding `dist/esm/.builder.pid`, so every new\n // watcher correctly refuses to become a second writer and readiness blocks\n // forever on `dependency-compile-status-<pkg>-watcher-exited`.\n execFileSyncMock.mockReturnValue(\n ' 700 1 700 node /workspace/wildo-ai/scripts/run-tsc-watch-single-writer.mjs --dist engine/saas-models/dist/esm\\n',\n );\n\n const [candidate] = LocalRuntimeProcessCleanupService.collectCandidateProcessGroups(['/workspace/wildo-ai']);\n\n expect(candidate.leaderIsOrphaned).toBe(true);\n expect(candidate.leaderParentPid).toBe(1);\n });\n\n it('does NOT mark a group owned by a live parent as orphaned', () => {\n // A healthy `wildo local dev` running in another terminal. Reporting it\n // would make the doctor's warning permanent noise.\n execFileSyncMock.mockReturnValue([\n ' 600 1 600 node /workspace/wildo-ai/dist/bin/wildo.js local dev',\n ' 700 600 700 node /workspace/wildo-ai/scripts/run-tsc-watch-single-writer.mjs --dist engine/saas-models/dist/esm',\n '',\n ].join('\\n'));\n\n const candidates = LocalRuntimeProcessCleanupService.collectCandidateProcessGroups(['/workspace/wildo-ai']);\n const watcher = candidates.find((candidate) => candidate.processGroupId === 700);\n\n expect(watcher?.leaderIsOrphaned).toBe(false);\n });\n\n it('treats a leader whose parent left the table as orphaned (the portable form)', () => {\n // Windows has no init to reparent to; a dead session leaves a dangling\n // ppid instead. Both shapes are the same condition and must read the same.\n execFileSyncMock.mockReturnValue(\n ' 700 4242 700 node /workspace/wildo-ai/scripts/run-tsc-watch-single-writer.mjs --dist engine/saas-models/dist/esm\\n',\n );\n\n const [candidate] = LocalRuntimeProcessCleanupService.collectCandidateProcessGroups(['/workspace/wildo-ai']);\n\n expect(candidate.leaderIsOrphaned).toBe(true);\n });\n});\n"]}
|
|
1
|
+
{"version":3,"file":"local-runtime-process-cleanup.service.test.js","sourceRoot":"","sources":["../../../../../../../src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAE9D,MAAM,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC;IACvE,gBAAgB,EAAE,EAAE,CAAC,EAAE,EAAE;IACzB,wBAAwB,EAAE,EAAE,CAAC,EAAE,CAAC,KAAK,IAAI,EAAE,CAAC,SAAkB,CAAC;CAChE,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AAG,EAAE,KAAK,CAAC;YACtB,GAAG,OAAO,CAAC,GAAG,EAAE,OAAO,CAAC;YACxB,EAAE,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,CAAC,EAAE,cAAc,EAAE,GAAG,EAAE,OAAO,EAAE,QAAQ,SAAS,mCAAmC,SAAS,yCAAyC,EAAE;SACjK,CAAC;QACF,MAAM,KAAK,GAAG,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;QAEjC,MAAM,QAAQ,GAAG,wCAAwC,CAAC,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,EAAE,2BAA2B,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;QAElK,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;IAC9C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { beforeEach, describe, expect, it, vi } from 'vitest';\n\nconst { execFileSyncMock, terminateProcessTreeMock } = vi.hoisted(() => ({\n execFileSyncMock: vi.fn(),\n terminateProcessTreeMock: vi.fn(async () => 'stopped' as const),\n}));\n\nvi.mock('child_process', () => ({\n execFileSync: execFileSyncMock,\n}));\n\nvi.mock('~wildo-cli/infrastructure/process/spawn.utils', () => ({\n SpawnUtils: {\n terminateProcessTree: terminateProcessTreeMock,\n },\n}));\n\nimport type { Logger } from '~wildo-cli/kernel/types';\nimport { mkdirSync, mkdtempSync, writeFileSync } from 'fs';\nimport { tmpdir } from 'os';\nimport { join } from 'path';\nimport {\n commandReferencesScopedRoot,\n findSiblingApplicationRoots,\n LocalRuntimeProcessCleanupService,\n selectLocalRuntimeProcessGroupCandidates,\n parseWindowsProcessTable,\n validateCleanupRoots,\n} from '../local-runtime-process-cleanup.service';\n\nconst logger: Logger = {\n info: vi.fn(),\n success: vi.fn(),\n warn: vi.fn(),\n error: vi.fn(),\n};\n\ndescribe('LocalRuntimeProcessCleanupService', () => {\n beforeEach(() => {\n vi.clearAllMocks();\n terminateProcessTreeMock.mockResolvedValue('stopped');\n });\n\n it('waits for matching process trees in the selected framework/app roots only', async () => {\n execFileSyncMock.mockReturnValue([\n ' 10 1 10 node pnpm --parallel --filter platform run dev',\n ' 101 10 10 node ../../../scripts/runtime-supervisor.mjs --entry dist/index.js',\n ' 102 101 102 node /workspace/wildo-ai/platform/apps-manager/dist/index.js',\n ' 200 1 200 node /workspace/wildo-ai/examples/wonder-todos/backend-api/dist/index.js',\n ' 300 1 300 node /other-checkout/backend-api/dist/index.js',\n ' 400 1 400 node /workspace/wildo-ai/scripts/unrelated.mjs',\n '',\n ].join('\\n'));\n\n const stopped = await LocalRuntimeProcessCleanupService.stop(\n ['/workspace/wildo-ai', '/workspace/wildo-ai/examples/wonder-todos'],\n logger,\n );\n\n expect(stopped).toBe(2);\n expect(terminateProcessTreeMock).toHaveBeenCalledTimes(2);\n expect(terminateProcessTreeMock).toHaveBeenNthCalledWith(1, 102, {\n gracefulSignal: 'SIGTERM',\n forceSignal: 'SIGKILL',\n timeoutMs: 20_000,\n pollIntervalMs: 100,\n fallbackProcessIds: [102],\n platform: process.platform,\n });\n expect(terminateProcessTreeMock).toHaveBeenNthCalledWith(2, 200, {\n gracefulSignal: 'SIGTERM',\n forceSignal: 'SIGKILL',\n timeoutMs: 20_000,\n pollIntervalMs: 100,\n fallbackProcessIds: [200],\n platform: process.platform,\n });\n });\n\n it('fails safe when the process table cannot be read', async () => {\n execFileSyncMock.mockImplementation(() => {\n throw new Error('ps unavailable');\n });\n\n await expect(\n LocalRuntimeProcessCleanupService.stop(['/workspace/wildo-ai'], logger),\n ).rejects.toThrow(/refusing to start or reset over an unknown runtime owner/);\n expect(terminateProcessTreeMock).not.toHaveBeenCalled();\n });\n\n it('fails safe when an owned process tree cannot be terminated', async () => {\n execFileSyncMock.mockReturnValue('10 1 10 node /workspace/wildo-ai/runtime-supervisor.mjs\\n');\n terminateProcessTreeMock.mockRejectedValueOnce(new Error('access denied'));\n\n await expect(\n LocalRuntimeProcessCleanupService.stop(['/workspace/wildo-ai'], logger),\n ).rejects.toThrow(/runtime-supervisor\\.mjs.*refusing to start a competing generation/);\n });\n\n it('matches nested paths but never a lexical root prefix collision', () => {\n expect(commandReferencesScopedRoot('node /work/app/backend/dist/index.js', '/work/app')).toBe(true);\n expect(commandReferencesScopedRoot('node --cwd=/work/app runtime-supervisor.mjs', '/work/app')).toBe(true);\n expect(commandReferencesScopedRoot('node /work/app-copy/backend/dist/index.js', '/work/app')).toBe(false);\n expect(commandReferencesScopedRoot('node /work/application/backend/dist/index.js', '/work/app')).toBe(false);\n });\n\n it('captures only the selected leader tree for an EPERM fallback, never a same-group sibling job', () => {\n execFileSyncMock.mockReturnValue([\n ' 10 1 10 pnpm dev:sync',\n ' 11 10 10 node /workspace/wildo-ai/dev-framework-scripts/sync-engine.sh',\n ' 12 1 10 node /other-checkout/also-in-the-group.js',\n '',\n ].join('\\n'));\n\n const [candidate] = LocalRuntimeProcessCleanupService.collectCandidateProcessGroups(['/workspace/wildo-ai']);\n\n expect(candidate.processGroupId).toBe(10);\n expect(candidate.processTreeProcessIds).toEqual([10, 11]);\n });\n\n it('rejects filesystem roots as destructive cleanup scopes', () => {\n expect(() => validateCleanupRoots(['/'])).toThrow(/unsafe broad process-cleanup root/);\n expect(() => validateCleanupRoots(['relative/app'])).toThrow(/unsafe broad process-cleanup root/);\n expect(() => validateCleanupRoots([''])).toThrow(/unsafe broad process-cleanup root/);\n });\n\n it('parses PowerShell process inventory into Windows tree identities', () => {\n expect(parseWindowsProcessTable(JSON.stringify([\n { ProcessId: 10, ParentProcessId: 1, CommandLine: 'node C:\\\\work\\\\app\\\\dist\\\\index.js' },\n { ProcessId: 11, ParentProcessId: 10, Name: 'System', CommandLine: null },\n ]))).toEqual([\n { pid: 10, parentPid: 1, processGroupId: 10, command: 'node C:\\\\work\\\\app\\\\dist\\\\index.js' },\n ]);\n });\n\n it('fails closed when a potentially relevant Windows process has no readable command line', () => {\n expect(() => parseWindowsProcessTable(JSON.stringify([\n { ProcessId: 11, ParentProcessId: 10, Name: 'node.exe', CommandLine: null },\n ]))).toThrow(/Command line unavailable/);\n expect(() => parseWindowsProcessTable(JSON.stringify([\n { ProcessId: 12, ParentProcessId: 10, Name: null, ExecutablePath: 'C:\\\\Program Files\\\\PowerShell\\\\powershell.exe', CommandLine: null },\n ]))).toThrow(/Command line unavailable/);\n });\n\n it('does not promote a scoped child into an unrelated shared shell process group', async () => {\n execFileSyncMock.mockReturnValue([\n '10 1 10 /bin/zsh -l',\n '11 10 10 node /workspace/wildo-ai/scripts/runtime-supervisor.mjs',\n ].join('\\n'));\n await expect(LocalRuntimeProcessCleanupService.stop(['/workspace/wildo-ai'], logger)).resolves.toBe(0);\n expect(terminateProcessTreeMock).not.toHaveBeenCalled();\n });\n\n it('enumerates Windows processes and terminates only the top-most selected tree', async () => {\n execFileSyncMock.mockReturnValue(JSON.stringify([\n { ProcessId: 10, ParentProcessId: 1, CommandLine: 'node /work/app/runtime-supervisor.mjs' },\n { ProcessId: 11, ParentProcessId: 10, CommandLine: 'node /work/app/dist/index.js' },\n { ProcessId: 12, ParentProcessId: 1, CommandLine: 'node /work/app-copy/runtime-supervisor.mjs' },\n ]));\n\n await expect(LocalRuntimeProcessCleanupService.stop(['/work/app'], logger, { platform: 'win32' })).resolves.toBe(1);\n expect(execFileSyncMock).toHaveBeenCalledWith('powershell.exe', expect.any(Array), { encoding: 'utf-8' });\n expect(terminateProcessTreeMock).toHaveBeenCalledTimes(1);\n expect(terminateProcessTreeMock).toHaveBeenCalledWith(10, expect.objectContaining({ platform: 'win32' }));\n });\n});\n\n/**\n * `wildo local doctor` reports orphaned dev watchers and is documented\n * read-only, so it must observe the SAME population `stop()` reaps without\n * being able to reap it. That is one matching authority split into a selector\n * and a terminator — not two matchers that happen to agree today.\n */\ndescribe('LocalRuntimeProcessCleanupService.collectCandidateProcessGroups', () => {\n beforeEach(() => {\n vi.clearAllMocks();\n terminateProcessTreeMock.mockResolvedValue('stopped');\n });\n\n it('selects exactly the groups `stop()` terminates, and terminates nothing itself', async () => {\n const table = [\n ' 10 1 10 node pnpm --parallel --filter platform run dev',\n ' 101 10 10 node ../../../scripts/runtime-supervisor.mjs --entry dist/index.js',\n ' 102 101 102 node /workspace/wildo-ai/platform/apps-manager/dist/index.js',\n ' 200 1 200 node /workspace/wildo-ai/examples/wonder-todos/backend-api/dist/index.js',\n ' 400 1 400 node /workspace/wildo-ai/scripts/unrelated.mjs',\n '',\n ].join('\\n');\n execFileSyncMock.mockReturnValue(table);\n\n const candidates = LocalRuntimeProcessCleanupService.collectCandidateProcessGroups([\n '/workspace/wildo-ai',\n '/workspace/wildo-ai/examples/wonder-todos',\n ]);\n\n expect(candidates.map((candidate) => candidate.processGroupId)).toEqual([102, 200]);\n expect(candidates.map((candidate) => candidate.processTreeProcessIds)).toEqual([[102], [200]]);\n // Read-only: the selector never signals anything.\n expect(terminateProcessTreeMock).not.toHaveBeenCalled();\n\n execFileSyncMock.mockReturnValue(table);\n await LocalRuntimeProcessCleanupService.stop(\n ['/workspace/wildo-ai', '/workspace/wildo-ai/examples/wonder-todos'],\n logger,\n );\n expect(terminateProcessTreeMock.mock.calls.map((call) => (call as unknown[])[0])).toEqual(\n candidates.map((candidate) => candidate.processGroupId),\n );\n });\n\n it('marks a group whose leader was reparented to init as ORPHANED', () => {\n // The failure this exists for: a `tsc-watch` single-writer left by a dead\n // `local dev` session keeps holding `dist/esm/.builder.pid`, so every new\n // watcher correctly refuses to become a second writer and readiness blocks\n // forever on `dependency-compile-status-<pkg>-watcher-exited`.\n execFileSyncMock.mockReturnValue(\n ' 700 1 700 node /workspace/wildo-ai/scripts/run-tsc-watch-single-writer.mjs --dist engine/saas-models/dist/esm\\n',\n );\n\n const [candidate] = LocalRuntimeProcessCleanupService.collectCandidateProcessGroups(['/workspace/wildo-ai']);\n\n expect(candidate.leaderIsOrphaned).toBe(true);\n expect(candidate.leaderParentPid).toBe(1);\n });\n\n it('does NOT mark a group owned by a live parent as orphaned', () => {\n // A healthy `wildo local dev` running in another terminal. Reporting it\n // would make the doctor's warning permanent noise.\n execFileSyncMock.mockReturnValue([\n ' 600 1 600 node /workspace/wildo-ai/dist/bin/wildo.js local dev',\n ' 700 600 700 node /workspace/wildo-ai/scripts/run-tsc-watch-single-writer.mjs --dist engine/saas-models/dist/esm',\n '',\n ].join('\\n'));\n\n const candidates = LocalRuntimeProcessCleanupService.collectCandidateProcessGroups(['/workspace/wildo-ai']);\n const watcher = candidates.find((candidate) => candidate.processGroupId === 700);\n\n expect(watcher?.leaderIsOrphaned).toBe(false);\n });\n\n it('treats a leader whose parent left the table as orphaned (the portable form)', () => {\n // Windows has no init to reparent to; a dead session leaves a dangling\n // ppid instead. Both shapes are the same condition and must read the same.\n execFileSyncMock.mockReturnValue(\n ' 700 4242 700 node /workspace/wildo-ai/scripts/run-tsc-watch-single-writer.mjs --dist engine/saas-models/dist/esm\\n',\n );\n\n const [candidate] = LocalRuntimeProcessCleanupService.collectCandidateProcessGroups(['/workspace/wildo-ai']);\n\n expect(candidate.leaderIsOrphaned).toBe(true);\n });\n});\n\n/*\n * Measured 2026-09-24/25: starting the platform-owning application's `wildo local dev` stopped the live\n * compile watchers of another application's running stack in the same checkout, because every app lives\n * under the framework root the first one had in scope.\n */\ndescribe('local-dev cleanup leaves a sibling application in the same checkout alone', () => {\n function checkout(): { framework: string; owner: string; sibling: string } {\n const framework = mkdtempSync(join(tmpdir(), 'cleanup-siblings-'));\n writeFileSync(join(framework, 'wildo-framework.info.json'), '{}');\n for (const app of ['owner-app', 'sibling-app']) {\n mkdirSync(join(framework, 'examples', app), { recursive: true });\n writeFileSync(join(framework, 'examples', app, 'wildo.saas.config.ts'), 'export default {};\\n');\n }\n mkdirSync(join(framework, 'examples', 'not-an-app'), { recursive: true });\n return { framework, owner: join(framework, 'examples', 'owner-app'), sibling: join(framework, 'examples', 'sibling-app') };\n }\n\n it('discovers the other applications of a framework checkout, and only those', () => {\n const { framework, owner, sibling } = checkout();\n expect(findSiblingApplicationRoots([framework, owner])).toEqual([sibling]);\n expect(findSiblingApplicationRoots([owner])).toEqual([]);\n });\n\n it('selects the starting application\\'s and the framework\\'s watchers, never a sibling application\\'s', () => {\n const { framework, owner, sibling } = checkout();\n const watcher = (pid: number, root: string) => [\n { pid, parentPid: 1, processGroupId: pid, command: 'sh -c node ../../../scripts/dev-orchestrator/local-dev-compile-observer.mjs -- pnpm exec tsc-watch -p tsconfig.build.json' },\n { pid: pid + 1, parentPid: pid, processGroupId: pid, command: `node ${root}/node_modules/typescript/bin/tsc --watch` },\n ];\n const processes = [\n ...watcher(100, owner),\n ...watcher(200, sibling),\n { pid: 300, parentPid: 1, processGroupId: 300, command: `node ${framework}/node_modules/.bin/tsc-watch -p ${framework}/engine/saas-models/tsconfig.build.json` },\n ];\n const roots = [framework, owner];\n\n const selected = selectLocalRuntimeProcessGroupCandidates(processes, roots, 'darwin', 1, findSiblingApplicationRoots(roots)).map((group) => group.processGroupId);\n\n expect(selected.sort()).toEqual([100, 300]);\n });\n});\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platform-service-memory.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/services/deployment/__tests__/platform-service-memory.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { describe, expect, it } from 'vitest';
|
|
2
|
+
import { join, resolve, dirname } from 'path';
|
|
3
|
+
import { fileURLToPath } from 'url';
|
|
4
|
+
import { RuntimeEnvironment } from '@wildo-ai/saas-models';
|
|
5
|
+
import { PlatformWildoServices, WildoDeploymentRuntime, WildoLocationType } from '@wildo-ai/platform-config-lib';
|
|
6
|
+
import { TemplateProcessor } from '../../../infrastructure/io/template-processor.js';
|
|
7
|
+
import { PLATFORM_INIT_MEMORY, PLATFORM_SERVICE_CATALOG } from '../../../services/catalog/service-catalog.schemas.js';
|
|
8
|
+
import { buildPlatformServiceMemoryContext } from '../docker/docker-compose-generator.service.js';
|
|
9
|
+
import { K8sManifestGenerator } from '../k8s/k8s-manifest-generator.service.js';
|
|
10
|
+
/**
|
|
11
|
+
* Every platform container declares the memory it needs, in BOTH lanes, from ONE measured profile (#1592).
|
|
12
|
+
*
|
|
13
|
+
* Before: the compose lane declared nothing, so V8 sized each heap from the Docker VM (INIT exceeded it,
|
|
14
|
+
* #1587); the k8s lane gave every platform service one `1Gi` limit — below apps-manager's measured
|
|
15
|
+
* 1,586 MiB peak — and set a heap flag only in dev mode. The profiles live on the service catalog
|
|
16
|
+
* (`PlatformServiceMemoryProfile`, which records the measurement); these pins hold both lanes to it.
|
|
17
|
+
*
|
|
18
|
+
* The templates render with a NON-strict engine, so a context key that is missing renders as an empty
|
|
19
|
+
* string (`mem_limit: m`) with no error. That is why these pins render the real templates and read the
|
|
20
|
+
* numbers back, rather than checking that a placeholder is present.
|
|
21
|
+
*/
|
|
22
|
+
const repoRoot = resolve(dirname(fileURLToPath(import.meta.url)), '../../../../../../..');
|
|
23
|
+
const PLATFORM_SERVICES = [
|
|
24
|
+
PlatformWildoServices.APPS_MANAGER,
|
|
25
|
+
PlatformWildoServices.CRONTABS_BATCHES_MANAGER,
|
|
26
|
+
PlatformWildoServices.MODULE_REGISTRY,
|
|
27
|
+
];
|
|
28
|
+
describe('platform service memory profiles (#1592)', () => {
|
|
29
|
+
it('fits every heap ceiling inside its container, with room for what lives outside the heap', () => {
|
|
30
|
+
for (const service of PLATFORM_SERVICES) {
|
|
31
|
+
const { heapCeilingMb, containerLimitMb, containerRequestMb } = PLATFORM_SERVICE_CATALOG[service].memory;
|
|
32
|
+
// ~640 MB measured outside the V8 heap; the profile rule reserves 1 GB for it.
|
|
33
|
+
expect(containerLimitMb - heapCeilingMb, service).toBeGreaterThanOrEqual(1024);
|
|
34
|
+
expect(containerRequestMb, service).toBeLessThanOrEqual(containerLimitMb);
|
|
35
|
+
}
|
|
36
|
+
expect(PLATFORM_INIT_MEMORY).toBe(PLATFORM_SERVICE_CATALOG[PlatformWildoServices.APPS_MANAGER].memory);
|
|
37
|
+
});
|
|
38
|
+
});
|
|
39
|
+
describe('the compose lane renders each platform container\'s measured memory (#1592)', () => {
|
|
40
|
+
const rendered = new TemplateProcessor(join(repoRoot, 'templates', 'infra', 'docker-compose')).processTemplate('docker-compose.wildo-platform.yml.hbs', { includePlatformServices: true, platformServiceMemory: buildPlatformServiceMemoryContext() });
|
|
41
|
+
function block(serviceKey) {
|
|
42
|
+
const start = rendered.indexOf(`\n ${serviceKey}:\n`);
|
|
43
|
+
expect(start, `${serviceKey} block`).toBeGreaterThan(-1);
|
|
44
|
+
const next = rendered.slice(start + 1).search(/\n {2}[a-z][a-z0-9-]*:\n/);
|
|
45
|
+
return next === -1 ? rendered.slice(start) : rendered.slice(start, start + 1 + next);
|
|
46
|
+
}
|
|
47
|
+
const expectations = [
|
|
48
|
+
['platform-init', PLATFORM_INIT_MEMORY],
|
|
49
|
+
['platform-apps-manager', PLATFORM_SERVICE_CATALOG[PlatformWildoServices.APPS_MANAGER].memory],
|
|
50
|
+
['platform-crontabs-batches-manager', PLATFORM_SERVICE_CATALOG[PlatformWildoServices.CRONTABS_BATCHES_MANAGER].memory],
|
|
51
|
+
['platform-module-registry', PLATFORM_SERVICE_CATALOG[PlatformWildoServices.MODULE_REGISTRY].memory],
|
|
52
|
+
];
|
|
53
|
+
for (const [serviceKey, memory] of expectations) {
|
|
54
|
+
it(`${serviceKey}: mem_limit and heap ceiling come from its profile`, () => {
|
|
55
|
+
const text = block(serviceKey);
|
|
56
|
+
expect(text).toMatch(new RegExp(`\\n {4}mem_limit: ${memory.containerLimitMb}m\\n`));
|
|
57
|
+
expect(text).toMatch(new RegExp(`\\n {6}NODE_OPTIONS: --max-old-space-size=${memory.heapCeilingMb}\\n`));
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
describe('the k8s lane renders each platform service\'s measured memory, in every mode (#1592)', () => {
|
|
62
|
+
const remote = {
|
|
63
|
+
name: 'production',
|
|
64
|
+
locationType: WildoLocationType.REMOTE,
|
|
65
|
+
runtime: WildoDeploymentRuntime.KUBERNETES,
|
|
66
|
+
runtimeEnvironment: RuntimeEnvironment.PRODUCTION,
|
|
67
|
+
publicDomain: 'acme.example',
|
|
68
|
+
kubernetes: { namespace: 'acme', imageRegistry: 'registry.example.com/acme' },
|
|
69
|
+
remoteProvider: { provider: 'scaleway', registryEndpoint: 'registry.example.com/acme' },
|
|
70
|
+
};
|
|
71
|
+
const local = { ...remote, name: 'local', locationType: WildoLocationType.LOCAL, runtimeEnvironment: RuntimeEnvironment.DEVELOPMENT };
|
|
72
|
+
const templates = new TemplateProcessor(join(repoRoot, 'templates', 'infra', 'k8s'));
|
|
73
|
+
for (const service of PLATFORM_SERVICES) {
|
|
74
|
+
const memory = PLATFORM_SERVICE_CATALOG[service].memory;
|
|
75
|
+
const template = `platform/${PLATFORM_SERVICE_CATALOG[service].containerName}/deployment.yaml.hbs`;
|
|
76
|
+
it(`${service}: a production pod is sized from the profile, not a service-agnostic 1Gi`, () => {
|
|
77
|
+
const variables = K8sManifestGenerator.buildForPlatformService(service, remote);
|
|
78
|
+
expect(variables.resources.limits.memory).toBe(`${memory.containerLimitMb}Mi`);
|
|
79
|
+
expect(variables.resources.requests.memory).toBe(`${memory.containerRequestMb}Mi`);
|
|
80
|
+
expect(templates.processTemplate(template, variables)).toContain(`value: "--max-old-space-size=${memory.heapCeilingMb}"`);
|
|
81
|
+
});
|
|
82
|
+
it(`${service}: the heap ceiling is set in local (dev) mode too`, () => {
|
|
83
|
+
const variables = K8sManifestGenerator.buildForPlatformService(service, local);
|
|
84
|
+
expect(templates.processTemplate(template, variables)).toContain(`value: "--max-old-space-size=${memory.heapCeilingMb}"`);
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
//# sourceMappingURL=platform-service-memory.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platform-service-memory.test.js","sourceRoot":"","sources":["../../../../../../../src/services/deployment/__tests__/platform-service-memory.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AACpC,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AACjH,OAAO,EAAE,iBAAiB,EAAE,MAAM,iDAAiD,CAAC;AACpF,OAAO,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,MAAM,qDAAqD,CAAC;AACrH,OAAO,EAAE,iCAAiC,EAAE,MAAM,4CAA4C,CAAC;AAC/F,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAE7E;;;;;;;;;;;GAWG;AACH,MAAM,QAAQ,GAAG,OAAO,CAAC,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,sBAAsB,CAAC,CAAC;AAE1F,MAAM,iBAAiB,GAAG;IACxB,qBAAqB,CAAC,YAAY;IAClC,qBAAqB,CAAC,wBAAwB;IAC9C,qBAAqB,CAAC,eAAe;CAC7B,CAAC;AAEX,QAAQ,CAAC,0CAA0C,EAAE,GAAG,EAAE;IACxD,EAAE,CAAC,yFAAyF,EAAE,GAAG,EAAE;QACjG,KAAK,MAAM,OAAO,IAAI,iBAAiB,EAAE,CAAC;YACxC,MAAM,EAAE,aAAa,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,GAAG,wBAAwB,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC;YACzG,+E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CAAC;QACrI,CAAC,CAAC,CAAC;IACL,CAAC;AACH,CAAC,CAAC,CAAC","sourcesContent":["import { describe, expect, it } from 'vitest';\nimport { join, resolve, dirname } from 'path';\nimport { fileURLToPath } from 'url';\nimport { RuntimeEnvironment } from '@wildo-ai/saas-models';\nimport { PlatformWildoServices, WildoDeploymentRuntime, WildoLocationType } from '@wildo-ai/platform-config-lib';\nimport { TemplateProcessor } from '~wildo-cli/infrastructure/io/template-processor';\nimport { PLATFORM_INIT_MEMORY, PLATFORM_SERVICE_CATALOG } from '~wildo-cli/services/catalog/service-catalog.schemas';\nimport { buildPlatformServiceMemoryContext } from '../docker/docker-compose-generator.service';\nimport { K8sManifestGenerator } from '../k8s/k8s-manifest-generator.service';\n\n/**\n * Every platform container declares the memory it needs, in BOTH lanes, from ONE measured profile (#1592).\n *\n * Before: the compose lane declared nothing, so V8 sized each heap from the Docker VM (INIT exceeded it,\n * #1587); the k8s lane gave every platform service one `1Gi` limit — below apps-manager's measured\n * 1,586 MiB peak — and set a heap flag only in dev mode. The profiles live on the service catalog\n * (`PlatformServiceMemoryProfile`, which records the measurement); these pins hold both lanes to it.\n *\n * The templates render with a NON-strict engine, so a context key that is missing renders as an empty\n * string (`mem_limit: m`) with no error. That is why these pins render the real templates and read the\n * numbers back, rather than checking that a placeholder is present.\n */\nconst repoRoot = resolve(dirname(fileURLToPath(import.meta.url)), '../../../../../../..');\n\nconst PLATFORM_SERVICES = [\n PlatformWildoServices.APPS_MANAGER,\n PlatformWildoServices.CRONTABS_BATCHES_MANAGER,\n PlatformWildoServices.MODULE_REGISTRY,\n] as const;\n\ndescribe('platform service memory profiles (#1592)', () => {\n it('fits every heap ceiling inside its container, with room for what lives outside the heap', () => {\n for (const service of PLATFORM_SERVICES) {\n const { heapCeilingMb, containerLimitMb, containerRequestMb } = PLATFORM_SERVICE_CATALOG[service].memory;\n // ~640 MB measured outside the V8 heap; the profile rule reserves 1 GB for it.\n expect(containerLimitMb - heapCeilingMb, service).toBeGreaterThanOrEqual(1024);\n expect(containerRequestMb, service).toBeLessThanOrEqual(containerLimitMb);\n }\n expect(PLATFORM_INIT_MEMORY).toBe(PLATFORM_SERVICE_CATALOG[PlatformWildoServices.APPS_MANAGER].memory);\n });\n});\n\ndescribe('the compose lane renders each platform container\\'s measured memory (#1592)', () => {\n const rendered = new TemplateProcessor(join(repoRoot, 'templates', 'infra', 'docker-compose')).processTemplate(\n 'docker-compose.wildo-platform.yml.hbs',\n { includePlatformServices: true, platformServiceMemory: buildPlatformServiceMemoryContext() },\n );\n\n function block(serviceKey: string): string {\n const start = rendered.indexOf(`\\n ${serviceKey}:\\n`);\n expect(start, `${serviceKey} block`).toBeGreaterThan(-1);\n const next = rendered.slice(start + 1).search(/\\n {2}[a-z][a-z0-9-]*:\\n/);\n return next === -1 ? rendered.slice(start) : rendered.slice(start, start + 1 + next);\n }\n\n const expectations: Array<[string, { heapCeilingMb: number; containerLimitMb: number }]> = [\n ['platform-init', PLATFORM_INIT_MEMORY],\n ['platform-apps-manager', PLATFORM_SERVICE_CATALOG[PlatformWildoServices.APPS_MANAGER].memory],\n ['platform-crontabs-batches-manager', PLATFORM_SERVICE_CATALOG[PlatformWildoServices.CRONTABS_BATCHES_MANAGER].memory],\n ['platform-module-registry', PLATFORM_SERVICE_CATALOG[PlatformWildoServices.MODULE_REGISTRY].memory],\n ];\n\n for (const [serviceKey, memory] of expectations) {\n it(`${serviceKey}: mem_limit and heap ceiling come from its profile`, () => {\n const text = block(serviceKey);\n expect(text).toMatch(new RegExp(`\\\\n {4}mem_limit: ${memory.containerLimitMb}m\\\\n`));\n expect(text).toMatch(new RegExp(`\\\\n {6}NODE_OPTIONS: --max-old-space-size=${memory.heapCeilingMb}\\\\n`));\n });\n }\n});\n\ndescribe('the k8s lane renders each platform service\\'s measured memory, in every mode (#1592)', () => {\n const remote = {\n name: 'production',\n locationType: WildoLocationType.REMOTE,\n runtime: WildoDeploymentRuntime.KUBERNETES,\n runtimeEnvironment: RuntimeEnvironment.PRODUCTION,\n publicDomain: 'acme.example',\n kubernetes: { namespace: 'acme', imageRegistry: 'registry.example.com/acme' },\n remoteProvider: { provider: 'scaleway', registryEndpoint: 'registry.example.com/acme' },\n } as never;\n const local = { ...(remote as object), name: 'local', locationType: WildoLocationType.LOCAL, runtimeEnvironment: RuntimeEnvironment.DEVELOPMENT } as never;\n const templates = new TemplateProcessor(join(repoRoot, 'templates', 'infra', 'k8s'));\n\n for (const service of PLATFORM_SERVICES) {\n const memory = PLATFORM_SERVICE_CATALOG[service].memory;\n const template = `platform/${PLATFORM_SERVICE_CATALOG[service].containerName}/deployment.yaml.hbs`;\n\n it(`${service}: a production pod is sized from the profile, not a service-agnostic 1Gi`, () => {\n const variables = K8sManifestGenerator.buildForPlatformService(service, remote);\n expect(variables.resources.limits.memory).toBe(`${memory.containerLimitMb}Mi`);\n expect(variables.resources.requests.memory).toBe(`${memory.containerRequestMb}Mi`);\n expect(templates.processTemplate(template, variables as never)).toContain(`value: \"--max-old-space-size=${memory.heapCeilingMb}\"`);\n });\n\n it(`${service}: the heap ceiling is set in local (dev) mode too`, () => {\n const variables = K8sManifestGenerator.buildForPlatformService(service, local);\n expect(templates.processTemplate(template, variables as never)).toContain(`value: \"--max-old-space-size=${memory.heapCeilingMb}\"`);\n });\n }\n});\n"]}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import { AppFrontendType, type WildoDeploymentConfig } from '@wildo-ai/platform-config-lib';
|
|
11
11
|
import { RuntimeEnvironment } from '@wildo-ai/saas-models';
|
|
12
12
|
import { TemplateProcessor } from '../../infrastructure/io/template-processor';
|
|
13
|
-
import { type
|
|
13
|
+
import { type ApplicationCiSecretKey } from '../../services/credentials/ci-secrets-adapter.service';
|
|
14
14
|
/**
|
|
15
15
|
* The Dockerfile the deploy workflow builds for a declared service / minion / worker path — ONE mapping
|
|
16
16
|
* (#984), read by `wildo config sync --domain cicd` when it derives the per-service build targets and
|
|
@@ -100,7 +100,12 @@ export interface WorkflowEnvConfig {
|
|
|
100
100
|
/** Names the environment supplies no value for — rendered as a comment beside the build step, never as an empty arg. */
|
|
101
101
|
unresolvedBuildArgs?: readonly string[];
|
|
102
102
|
}>;
|
|
103
|
-
|
|
103
|
+
/**
|
|
104
|
+
* The application secrets this environment's deploy job must receive — provider secrets, system-of-record
|
|
105
|
+
* credentials and inbound endpoint secrets, each under its own kind (#1650). A secret missing here never reaches
|
|
106
|
+
* the job, whatever the GitHub Environment holds.
|
|
107
|
+
*/
|
|
108
|
+
applicationSecretKeys?: readonly ApplicationCiSecretKey[];
|
|
104
109
|
/**
|
|
105
110
|
* The environment's `remoteProvider.registryEndpoint` — the registry BOTH deploy manifests pull every image from
|
|
106
111
|
* (`docker-compose.app.yml` directly, the Kubernetes deployments through `kubernetes.imageRegistry`), and so the one
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ci-workflow-generator.service.d.ts","sourceRoot":"","sources":["../../../../../../src/services/deployment/ci-workflow-generator.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,OAAO,EACL,eAAe,EAKf,KAAK,qBAAqB,EAC3B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAE3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,iDAAiD,CAAC;AACpF,OAAO,EAA8B,KAAK,sBAAsB,EAAE,MAAM,4DAA4D,CAAC;
|
|
1
|
+
{"version":3,"file":"ci-workflow-generator.service.d.ts","sourceRoot":"","sources":["../../../../../../src/services/deployment/ci-workflow-generator.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,OAAO,EACL,eAAe,EAKf,KAAK,qBAAqB,EAC3B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAE3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,iDAAiD,CAAC;AACpF,OAAO,EAA8B,KAAK,sBAAsB,EAAE,M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Y,CAuBd;AAMD;;;;GAIG;AACH,eAAO,MAAM,kCAAkC,gCAAgC,CAAC;AAmBhF,MAAM,WAAW,+BAA+B;IAC9C;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,2CAA2C;IAC3C,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,WAAW,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,gCAAgC;IAC/C,OAAO,EAAE,MAAM,CAAC;IAChB;;;;;OAKG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,yBAAyB,CACvC,OAAO,EAAE,MAAM,EACf,aAAa,EAAE,MAAM,EACrB,OAAO,EAAE,gCAAgC,GACxC,+BAA+B,CAyBjC"}
|
|
@@ -14,6 +14,7 @@ import { RuntimeEnvironment } from '@wildo-ai/saas-models';
|
|
|
14
14
|
import { SUPPORTED_NODE_MAJOR_VERSION } from '../../services/deployment/host-toolchain-readiness.service.js';
|
|
15
15
|
import { TemplateProcessor } from '../../infrastructure/io/template-processor.js';
|
|
16
16
|
import { getRequiredCiSecretEnvVars } from '../../services/credentials/ci-secrets-adapter.service.js';
|
|
17
|
+
import { CERT_MANAGER_CHART, TRAEFIK_CHART } from '../../services/deployment/k8s/cluster-controller-charts.constants.js';
|
|
17
18
|
/**
|
|
18
19
|
* The Dockerfile the deploy workflow builds for a declared service / minion / worker path — ONE mapping
|
|
19
20
|
* (#984), read by `wildo config sync --domain cicd` when it derives the per-service build targets and
|
|
@@ -96,8 +97,8 @@ export function renderDockerBuildArgFlags(buildArgs) {
|
|
|
96
97
|
* Maps each `WILDO_SECRET_*` env var to its corresponding GitHub Secret.
|
|
97
98
|
* Returned as a pre-formatted string for direct injection into the template.
|
|
98
99
|
*/
|
|
99
|
-
function buildSecretsEnvBlock(
|
|
100
|
-
const { required, optional } = getRequiredCiSecretEnvVars(
|
|
100
|
+
function buildSecretsEnvBlock(applicationSecretKeys = []) {
|
|
101
|
+
const { required, optional } = getRequiredCiSecretEnvVars(applicationSecretKeys);
|
|
101
102
|
const lines = [];
|
|
102
103
|
for (const envVar of required) {
|
|
103
104
|
lines.push(` ${envVar}: \${{ secrets.${envVar} }}`);
|
|
@@ -127,7 +128,6 @@ function buildImageTag(strategy) {
|
|
|
127
128
|
*/
|
|
128
129
|
function buildTemplateVars(config) {
|
|
129
130
|
const { envName, deployment, appName } = config;
|
|
130
|
-
const extraProviderEnvKeys = config.providerEnvSecretKeys ?? [];
|
|
131
131
|
// The registry the manifests pull from — see `WorkflowEnvConfig.registryEndpoint` (#1165).
|
|
132
132
|
const registry = config.registryEndpoint || undefined;
|
|
133
133
|
const namespace = deployment.runtime === WildoDeploymentRuntime.KUBERNETES ? deployment.namespace : undefined;
|
|
@@ -138,7 +138,7 @@ function buildTemplateVars(config) {
|
|
|
138
138
|
registry,
|
|
139
139
|
namespace,
|
|
140
140
|
imageTag: buildImageTag(deployment.imageTagStrategy),
|
|
141
|
-
secretsEnvBlock: buildSecretsEnvBlock(
|
|
141
|
+
secretsEnvBlock: buildSecretsEnvBlock(config.applicationSecretKeys ?? []),
|
|
142
142
|
/*
|
|
143
143
|
* The deploy workflows used to hard-code `node-version: 22` while the framework's named
|
|
144
144
|
* authority said 26 (#421). A Handlebars template cannot import a TypeScript constant, so the
|
|
@@ -149,6 +149,9 @@ function buildTemplateVars(config) {
|
|
|
149
149
|
nodeVersion: String(SUPPORTED_NODE_MAJOR_VERSION),
|
|
150
150
|
// Only the cluster's infrastructure owner installs its controllers; see `WorkflowEnvConfig.ownsClusterInfrastructure`.
|
|
151
151
|
ownsClusterInfrastructure: config.ownsClusterInfrastructure !== false,
|
|
152
|
+
// The Traefik chart the workflow installs, pinned in one place with the bootstrap's (#1788 review, D1).
|
|
153
|
+
traefikChartVersion: TRAEFIK_CHART.version,
|
|
154
|
+
certManagerChartVersion: CERT_MANAGER_CHART.version,
|
|
152
155
|
// Per-service image builds (per-service deploy model). Empty → the workflow
|
|
153
156
|
// renders no build steps (an app with no services is a misconfiguration the
|
|
154
157
|
// upstream resolver rejects, but the template stays render-safe).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ci-workflow-generator.service.js","sourceRoot":"","sources":["../../../../../../src/services/deployment/ci-workflow-generator.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAC1D,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,EACL,eAAe,EACf,qBAAqB,EACrB,sBAAsB,EACtB,sBAAsB,EACtB,qBAAqB,GAEtB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,4BAA4B,EAAE,MAAM,iEAAiE,CAAC;AAC/G,OAAO,EAAE,iBAAiB,EAAE,MAAM,iDAAiD,CAAC;AACpF,OAAO,EAAE,0BAA0B,EAA+B,MAAM,4DAA4D,CAAC;AAErI;;;;;;GAMG;AACH,MAAM,UAAU,iCAAiC,CAAC,WAAmB;IACnE,OAAO,GAAG,WAAW,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC,aAAa,CAAC;AAC1D,CAAC;AAQD;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAyD;IACjG,CAAC,eAAe,CAAC,QAAQ,CAAC,EAAE,CAAC,eAAe,EAAE,4BAA4B,EAAE,mBAAmB,CAAC;IAChG,CAAC,eAAe,CAAC,cAAc,CAAC,EAAE,CAAC,uBAAuB,EAAE,mBAAmB,EAAE,mBAAmB,CAAC;IACrG,CAAC,eAAe,CAAC,QAAQ,CAAC,EAAE,CAAC,iBAAiB,EAAE,yBAAyB,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AAM,MAAM,GAAG,UAAU,CAAC,QAAQ,CAAC,CAAC;IACpC,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,KAAK,IAAI,CAAC;IAErC,IAAI,MAAM,IAAI,CAAC,KAAK,EAAE,CAAC;QACrB,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;IAC/E,CAAC;IAED,MAAM,OAAO,GAAG,EAAE,CAAC,eAAe,CAAC,iCAAiC,EAAE;QACpE,OAAO,EAAE,OAAO,CAAC,OAAO;QACxB,WAAW,EAAE,OAAO,CAAC,WAAW,IAAI,wCAAwC;KAC7E,CAAC,CAAC;IACH,aAAa,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAEzC,OAAO;QACL,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,CAAC,MAAM;QAChB,OAAO,EAAE,KAAK;QACd,WAAW,EAAE,MAAM,IAAI,KAAK;KAC7B,CAAC;AACJ,CAAC","sourcesContent":["/**\n * CiWorkflowGeneratorService — generate GitHub Actions workflow files.\n *\n * Produces `.github/workflows/deploy-<env>.yml` files based on the\n * environment's infra config (`deployment.branch`, `deployment.runtime`).\n *\n * Templates live in `templates/infra/ci/` and are rendered via\n * the shared `TemplateProcessor` (Handlebars).\n */\n\nimport { mkdirSync, writeFileSync, existsSync } from 'fs';\nimport { join } from 'path';\nimport {\n AppFrontendType,\n buildServicePublicUrl,\n resolveFrameworkLayout,\n WildoDeploymentRuntime,\n WildoImageTagStrategy,\n type WildoDeploymentConfig,\n} from '@wildo-ai/platform-config-lib';\nimport { RuntimeEnvironment } from '@wildo-ai/saas-models';\nimport { SUPPORTED_NODE_MAJOR_VERSION } from '~wildo-cli/services/deployment/host-toolchain-readiness.service';\nimport { TemplateProcessor } from '~wildo-cli/infrastructure/io/template-processor';\nimport { getRequiredCiSecretEnvVars, type ProviderCiSecretEnvKey } from '~wildo-cli/services/credentials/ci-secrets-adapter.service';\n\n/**\n * The Dockerfile the deploy workflow builds for a declared service / minion / worker path — ONE mapping\n * (#984), read by `wildo config sync --domain cicd` when it derives the per-service build targets and\n * by the template contract that holds every shipped service path to a Dockerfile at exactly this\n * location. The path is the authored `path` (`./backend-api`, `./minions/<dir>`), the Dockerfile sits\n * at its root, and the build context is the application root.\n */\nexport function resolveServiceImageDockerfilePath(servicePath: string): string {\n return `${servicePath.replace(/^\\.\\//, '')}/Dockerfile`;\n}\n\n/** One `--build-arg` a service image is built with. Values are origins and names, never secrets. */\nexport interface ServiceImageBuildArg {\n readonly name: string;\n readonly value: string;\n}\n\n/**\n * The build-time `ARG`s each FRONTEND kind's shipped Dockerfile declares, and so the ones its deploy build must\n * pass (#1125). A backend, minion or worker image declares none: its configuration is read at RUNTIME.\n *\n * A frontend-shaped image bakes its origins in at BUILD time, and the build context deliberately excludes every\n * `.env*` (they can carry credentials). So a CI build that passes no build-args produces an image with empty\n * origins — a frontend that calls no API, a docs portal that recognises no application, a website that never\n * opts into indexing — while the workflow stays green. Keyed by the kind, total over `AppFrontendType`, so a new\n * frontend kind cannot compile without saying what it needs; `deployment-template-contracts.test.ts` holds each\n * list equal to the `ARG`s the shipped Dockerfile of that kind declares.\n */\nexport const SERVICE_IMAGE_BUILD_ARG_NAMES: Readonly<Record<AppFrontendType, readonly string[]>> = {\n [AppFrontendType.SAAS_APP]: ['VITE_APP_NAME', 'VITE_FRONTEND_SERVICE_NAME', 'VITE_API_BASE_URL'],\n [AppFrontendType.STATIC_WEBSITE]: ['PUBLIC_ALLOW_INDEXING', 'PUBLIC_API_ORIGIN', 'PUBLIC_APP_ORIGIN'],\n [AppFrontendType.TECH_DOC]: ['WILDO_INFRA_ENV', 'WILDO_DOCS_API_BASE_URL', 'WILDO_DOCS_APP_URL', 'WILDO_DOCS_FRONTEND_SERVICE_NAME'],\n};\n\nexport interface ServiceImageBuildArgsInput {\n /** `undefined` for a backend, minion or worker — an image that declares no build-time args. */\n readonly frontendType: AppFrontendType | undefined;\n readonly serviceName: string;\n readonly appDisplayName: string;\n /** The infra environment id (`wildo.infra.<env>.config.ts > environment`). */\n readonly envName: string;\n readonly runtimeEnvironment?: RuntimeEnvironment | undefined;\n readonly publicDomain?: string | undefined;\n readonly serviceHosts?: Record<string, string> | undefined;\n /** `config.services.<key>` of the main backend API — the host its public URL resolves from. */\n readonly mainBackendApiServiceKey?: string | undefined;\n /** `config.services.<key>` of the SaaS application frontend, which the documentation site deep-links to. */\n readonly saasAppServiceKey?: string | undefined;\n /** The environment's authored documentation-site origins; each one, when authored, wins over the derived value. */\n readonly documentationSite?: { readonly apiBaseUrl?: string; readonly appUrl?: string; readonly frontendServiceName?: string } | undefined;\n}\n\n/**\n * The build args ONE service image needs in ONE environment, derived from what the application and the environment\n * already declare (#1125) — and the names this environment cannot supply a value for.\n *\n * Every public origin comes from `buildServicePublicUrl`, the helper the ingress routes, `runtime.endPoints` and\n * CORS already key on, so the origin baked into a frontend is the one the backend accepts. The documentation\n * site takes its authored `documentationSite` values when present and the same derived origins otherwise.\n * `PUBLIC_ALLOW_INDEXING` is `true` exactly for an environment whose `runtimeEnvironment` is PRODUCTION — the\n * website's robots are fail-closed noindex, and \"production opts in\" is now a declared fact, not a manual flag.\n *\n * An unresolvable value is REPORTED, never invented: an empty origin compiled into a bundle is the defect this\n * exists to prevent, so the name is returned in `unresolved` and the workflow says so beside the build step.\n */\nexport function resolveServiceImageBuildArgs(input: ServiceImageBuildArgsInput): {\n readonly buildArgs: readonly ServiceImageBuildArg[];\n readonly unresolved: readonly string[];\n} {\n if (input.frontendType === undefined) return { buildArgs: [], unresolved: [] };\n const publicUrlOf = (serviceKey: string | undefined): string | undefined =>\n serviceKey === undefined || !input.publicDomain\n ? undefined\n : buildServicePublicUrl({ serviceKey, serviceHosts: input.serviceHosts, publicDomain: input.publicDomain });\n const apiBaseUrl = publicUrlOf(input.mainBackendApiServiceKey);\n const valueOf: Readonly<Record<string, () => string | undefined>> = {\n VITE_APP_NAME: () => input.appDisplayName || undefined,\n VITE_FRONTEND_SERVICE_NAME: () => input.serviceName,\n VITE_API_BASE_URL: () => apiBaseUrl,\n PUBLIC_ALLOW_INDEXING: () => String(input.runtimeEnvironment === RuntimeEnvironment.PRODUCTION),\n // The website's capture forms POST here. Without it a non-production build falls back to the single `apiOrigin`\n // authored in `wildo.website.config.ts` — production's — so a staging site wrote into the production API.\n PUBLIC_API_ORIGIN: () => apiBaseUrl,\n // The app the website's CTAs link into — this environment's, not the single production `appOrigin` the website config\n // authors as its default (#1166).\n PUBLIC_APP_ORIGIN: () => publicUrlOf(input.saasAppServiceKey),\n WILDO_INFRA_ENV: () => input.envName,\n WILDO_DOCS_API_BASE_URL: () => input.documentationSite?.apiBaseUrl ?? apiBaseUrl,\n WILDO_DOCS_APP_URL: () => input.documentationSite?.appUrl ?? publicUrlOf(input.saasAppServiceKey),\n WILDO_DOCS_FRONTEND_SERVICE_NAME: () => input.documentationSite?.frontendServiceName ?? input.serviceName,\n };\n const buildArgs: ServiceImageBuildArg[] = [];\n const unresolved: string[] = [];\n for (const name of SERVICE_IMAGE_BUILD_ARG_NAMES[input.frontendType]) {\n const value = valueOf[name]?.();\n if (value === undefined || value === '') unresolved.push(name);\n else buildArgs.push({ name, value });\n }\n return { buildArgs, unresolved };\n}\n\n/** `docker build` flags for a set of build args, each single-quoted for the POSIX shell a workflow step runs in. */\nexport function renderDockerBuildArgFlags(buildArgs: readonly ServiceImageBuildArg[]): string {\n return buildArgs.map(({ name, value }) => ` --build-arg '${`${name}=${value}`.replace(/'/g, `'\\\\''`)}'`).join('');\n}\n\nexport interface WorkflowEnvConfig {\n envName: string;\n deployment: WildoDeploymentConfig;\n appName: string;\n /**\n * Per-service build targets (per-service deploy model): each app service\n * (backend + every frontend) AND each app-owned minion/worker builds its OWN\n * image from its OWN Dockerfile. `serviceName` is the pushed image name and\n * matches the k8s/compose manifest image refs — the raw\n * `services.<key>.serviceName` for services, `{appSlug}-minion-{key}` /\n * `{appSlug}-worker-{key}` for minions/workers (coherent with\n * `renderMinionForTarget` / `renderWorkerForTarget`). `dockerfile` is the path\n * to that target's Dockerfile (build context = the app root). Derived from\n * `wildo.saas.config.ts` `services.<key>.{serviceName,path}` +\n * `minions.<key>.path` + `workers.<key>.path`.\n */\n services?: Array<{\n serviceName: string;\n dockerfile: string;\n /** Build-time args this service's image needs in this environment (#1125). Absent for an image that declares none. */\n buildArgs?: readonly ServiceImageBuildArg[];\n /** Names the environment supplies no value for — rendered as a comment beside the build step, never as an empty arg. */\n unresolvedBuildArgs?: readonly string[];\n }>;\n providerEnvSecretKeys?: Array<string | ProviderCiSecretEnvKey>;\n /**\n * The environment's `remoteProvider.registryEndpoint` — the registry BOTH deploy manifests pull every image from\n * (`docker-compose.app.yml` directly, the Kubernetes deployments through `kubernetes.imageRegistry`), and so the one\n * the workflow pushes to.\n *\n * The workflow used to push Kubernetes images to `deployment.registry` (defaulting to GHCR) and Compose images\n * nowhere, while the host pulled from this endpoint (#1165). That field is gone. Absent, a Compose workflow builds\n * and publishes nothing and says so beside the build steps; a remote Kubernetes environment cannot lack it —\n * the infra schema requires `remoteProvider` there.\n */\n registryEndpoint?: string | undefined;\n /**\n * Whether this environment OWNS its cluster — `false` when it runs on another application's infrastructure\n * (`infrastructureHost`). Only the owner's workflow installs the cluster-wide controllers (cert-manager,\n * Traefik); a hosted application deploys its own workloads into the host's cluster. Omitted means owned.\n */\n ownsClusterInfrastructure?: boolean;\n}\n\nexport interface CiInitResult {\n created: string[];\n skipped: string[];\n}\n\n/**\n * Generates the `${{ secrets.X }}` mapping block for GitHub Actions.\n * Maps each `WILDO_SECRET_*` env var to its corresponding GitHub Secret.\n * Returned as a pre-formatted string for direct injection into the template.\n */\nfunction buildSecretsEnvBlock(extraProviderEnvKeys: Array<string | ProviderCiSecretEnvKey> = []): string {\n const { required, optional } = getRequiredCiSecretEnvVars(extraProviderEnvKeys);\n const lines: string[] = [];\n\n for (const envVar of required) {\n lines.push(` ${envVar}: \\${{ secrets.${envVar} }}`);\n }\n\n if (optional.length > 0) {\n lines.push(' # Optional — set these GitHub Secrets if your environment uses them');\n for (const envVar of optional) {\n lines.push(` ${envVar}: \\${{ secrets.${envVar} }}`);\n }\n }\n\n return lines.join('\\n');\n}\n\nfunction buildImageTag(strategy: WildoImageTagStrategy): string {\n switch (strategy) {\n case WildoImageTagStrategy.COMMIT_SHA:\n return '${{ github.sha }}';\n case WildoImageTagStrategy.BRANCH_NAME:\n return '${{ github.ref_name }}';\n case WildoImageTagStrategy.SEMVER:\n return '${{ github.event.release.tag_name || github.ref_name }}';\n }\n}\n\n/**\n * Build the template variables for a workflow config.\n * Pre-computes dynamic values (imageTag, secretsEnvBlock) so the\n * `.hbs` template handles only structural layout.\n */\nfunction buildTemplateVars(config: WorkflowEnvConfig): Record<string, unknown> {\n const { envName, deployment, appName } = config;\n const extraProviderEnvKeys = config.providerEnvSecretKeys ?? [];\n\n // The registry the manifests pull from — see `WorkflowEnvConfig.registryEndpoint` (#1165).\n const registry = config.registryEndpoint || undefined;\n const namespace = deployment.runtime === WildoDeploymentRuntime.KUBERNETES ? deployment.namespace : undefined;\n\n return {\n appName,\n envName,\n branch: deployment.branch,\n registry,\n namespace,\n imageTag: buildImageTag(deployment.imageTagStrategy),\n secretsEnvBlock: buildSecretsEnvBlock(extraProviderEnvKeys),\n /*\n * The deploy workflows used to hard-code `node-version: 22` while the framework's named\n * authority said 26 (#421). A Handlebars template cannot import a TypeScript constant, so the\n * value is RENDERED from the same constant the validation workflow derives from — and the\n * rendered result is pinned by `deployment-template-contracts.test.ts`, which is the only\n * reason the copies in `install.sh`, `install.ps1` and the CI workflows stopped drifting.\n */\n nodeVersion: String(SUPPORTED_NODE_MAJOR_VERSION),\n // Only the cluster's infrastructure owner installs its controllers; see `WorkflowEnvConfig.ownsClusterInfrastructure`.\n ownsClusterInfrastructure: config.ownsClusterInfrastructure !== false,\n // Per-service image builds (per-service deploy model). Empty → the workflow\n // renders no build steps (an app with no services is a misconfiguration the\n // upstream resolver rejects, but the template stays render-safe).\n // `dockerBuildArgFlags` is pre-rendered and shell-quoted here: a Handlebars template cannot quote a value that\n // may carry a space or an apostrophe (an application's display name), and the plain `docker build` step needs it.\n services: (config.services ?? []).map((service) => ({\n ...service,\n buildArgs: service.buildArgs ?? [],\n unresolvedBuildArgs: service.unresolvedBuildArgs ?? [],\n dockerBuildArgFlags: renderDockerBuildArgFlags(service.buildArgs ?? []),\n })),\n };\n}\n\n/**\n * Generate a GitHub Actions workflow YAML for a single environment.\n */\nexport function generateWorkflow(config: WorkflowEnvConfig, tp: TemplateProcessor): string {\n const vars = buildTemplateVars(config);\n const templateFile = config.deployment.runtime === WildoDeploymentRuntime.KUBERNETES\n ? 'deploy-k8s.yml.hbs'\n : 'deploy-docker-compose.yml.hbs';\n\n return tp.processTemplate(templateFile, vars);\n}\n\n/**\n * Write workflow files to `<appRoot>/.github/workflows/`.\n * Skips files that already exist unless `force` is true.\n */\nexport function writeWorkflows(\n appRoot: string,\n environments: WorkflowEnvConfig[],\n frameworkPath: string,\n force: boolean = false,\n): CiInitResult {\n const tp = new TemplateProcessor(resolveFrameworkLayout(frameworkPath).ciTemplatesHome);\n const workflowsDir = join(appRoot, '.github', 'workflows');\n mkdirSync(workflowsDir, { recursive: true });\n\n const created: string[] = [];\n const skipped: string[] = [];\n\n for (const envConfig of environments) {\n const fileName = `deploy-${envConfig.envName}.yml`;\n const filePath = join(workflowsDir, fileName);\n\n if (existsSync(filePath) && !force) {\n skipped.push(filePath);\n continue;\n }\n\n const content = generateWorkflow(envConfig, tp);\n writeFileSync(filePath, content, 'utf8');\n created.push(filePath);\n }\n\n return { created, skipped };\n}\n\n// ============================================================================\n// Slice 6.8 / F-48 — per-app `wildo config validate` workflow installer\n// ============================================================================\n\n/**\n * Canonical filename for the per-PR validation workflow. Pinned in one\n * place so `wildo config validate --domain cicd` (which checks for the\n * SAME path) and the installer below cannot drift.\n */\nexport const WILDO_VALIDATION_WORKFLOW_FILENAME = 'wildo-config-validation.yml';\n\n/**\n * Default Node.js version baked into the validation workflow.\n *\n * RECONCILED 2026-09-08 (#421). This constant used to be `'22'` and this comment used to enumerate\n * a four-way disagreement — the constant at 22, `MINIMUM_VERSIONS.NODE` at 20.0.0, the two deploy\n * templates hard-coded at 22, and `SUPPORTED_NODE_MAJOR_VERSION` at 26 — and to record that\n * reconciling them was a behaviour change rather than a docstring edit. That decision was taken:\n * every one of them now reads the named authority.\n *\n * DERIVED, not restated. A generated pipeline must provision the major the framework supports, and\n * a second literal here is a second thing to remember on the next bump. The deploy templates cannot\n * import a TypeScript constant, so they are rendered from the same value and PINNED by a test — the\n * pattern `host-toolchain-readiness.service.test.ts` already applies to the copies in `install.sh`,\n * `install.ps1` and the CI workflows, and the only reason those four stopped drifting.\n */\nconst VALIDATION_WORKFLOW_DEFAULT_NODE_VERSION = String(SUPPORTED_NODE_MAJOR_VERSION);\n\nexport interface ValidationWorkflowInstallResult {\n /**\n * Absolute path of the workflow file when it was either freshly\n * created or already present at install time.\n */\n path: string;\n /** True when this run created the file. */\n created: boolean;\n /**\n * True when the file already existed and we LEFT IT IN PLACE\n * (idempotent install — operator's local edits, if any, are\n * preserved). Always `false` when `force: true`.\n */\n skipped: boolean;\n /**\n * True when `force: true` and the install REPLACED an existing file.\n * Carries the same fail-loud intent as `local reset` — operators\n * need to see when their authored edits were overwritten.\n */\n overwritten: boolean;\n}\n\nexport interface InstallValidationWorkflowOptions {\n appName: string;\n /**\n * Explicit Node.js version string to bake into the workflow's\n * `actions/setup-node` step. Defaults to\n * {@link VALIDATION_WORKFLOW_DEFAULT_NODE_VERSION}. Pass an explicit\n * value when the customer-app pins a different Node major.\n */\n nodeVersion?: string;\n /**\n * When `true`, overwrite an existing workflow file. Default `false`\n * (idempotent install — preserves local edits).\n */\n force?: boolean;\n}\n\n/**\n * Materialize the per-PR validation workflow into\n * `<appRoot>/.github/workflows/wildo-config-validation.yml`.\n *\n * Slice 6.8.b — wired into both `wildo init` (post-scaffold, every new\n * app gets the gate by default) and `wildo setup` (post-success,\n * back-fills existing apps that pre-date Slice 6.8). Idempotent by\n * default: if the file already exists, the installer leaves it alone\n * and the caller logs a \"would-overwrite\" warning under `--force`.\n *\n * Why a single dedicated installer (vs reusing `writeWorkflows`):\n * `writeWorkflows` is parameterized per-env and produces one file per\n * environment; the validation workflow is per-APP (single file,\n * env-agnostic). Reusing the same loop would force a fake \"validation\n * env\" abstraction that doesn't exist anywhere else and would muddy\n * the deploy-workflow contract. Two installers, one canonical\n * concern each.\n */\nexport function installValidationWorkflow(\n appRoot: string,\n frameworkPath: string,\n options: InstallValidationWorkflowOptions,\n): ValidationWorkflowInstallResult {\n const tp = new TemplateProcessor(resolveFrameworkLayout(frameworkPath).ciTemplatesHome);\n const workflowsDir = join(appRoot, '.github', 'workflows');\n mkdirSync(workflowsDir, { recursive: true });\n\n const filePath = join(workflowsDir, WILDO_VALIDATION_WORKFLOW_FILENAME);\n const exists = existsSync(filePath);\n const force = options.force === true;\n\n if (exists && !force) {\n return { path: filePath, created: false, skipped: true, overwritten: false };\n }\n\n const content = tp.processTemplate('wildo-config-validation.yml.hbs', {\n appName: options.appName,\n nodeVersion: options.nodeVersion ?? VALIDATION_WORKFLOW_DEFAULT_NODE_VERSION,\n });\n writeFileSync(filePath, content, 'utf8');\n\n return {\n path: filePath,\n created: !exists,\n skipped: false,\n overwritten: exists && force,\n };\n}\n"]}
|
|
1
|
+
{"version":3,"file":"ci-workflow-generator.service.js","sourceRoot":"","sources":["../../../../../../src/services/deployment/ci-workflow-generator.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAC1D,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,EACL,eAAe,EACf,qBAAqB,EACrB,sBAAsB,EACtB,sBAAsB,EACtB,qBAAqB,GAEtB,MAAM,+BAA+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AI,wCAAwC;KAC7E,CAAC,CAAC;IACH,aAAa,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAEzC,OAAO;QACL,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,CAAC,MAAM;QAChB,OAAO,EAAE,KAAK;QACd,WAAW,EAAE,MAAM,IAAI,KAAK;KAC7B,CAAC;AACJ,CAAC","sourcesContent":["/**\n * CiWorkflowGeneratorService — generate GitHub Actions workflow files.\n *\n * Produces `.github/workflows/deploy-<env>.yml` files based on the\n * environment's infra config (`deployment.branch`, `deployment.runtime`).\n *\n * Templates live in `templates/infra/ci/` and are rendered via\n * the shared `TemplateProcessor` (Handlebars).\n */\n\nimport { mkdirSync, writeFileSync, existsSync } from 'fs';\nimport { join } from 'path';\nimport {\n AppFrontendType,\n buildServicePublicUrl,\n resolveFrameworkLayout,\n WildoDeploymentRuntime,\n WildoImageTagStrategy,\n type WildoDeploymentConfig,\n} from '@wildo-ai/platform-config-lib';\nimport { RuntimeEnvironment } from '@wildo-ai/saas-models';\nimport { SUPPORTED_NODE_MAJOR_VERSION } from '~wildo-cli/services/deployment/host-toolchain-readiness.service';\nimport { TemplateProcessor } from '~wildo-cli/infrastructure/io/template-processor';\nimport { getRequiredCiSecretEnvVars, type ApplicationCiSecretKey } from '~wildo-cli/services/credentials/ci-secrets-adapter.service';\nimport { CERT_MANAGER_CHART, TRAEFIK_CHART } from '~wildo-cli/services/deployment/k8s/cluster-controller-charts.constants';\n\n/**\n * The Dockerfile the deploy workflow builds for a declared service / minion / worker path — ONE mapping\n * (#984), read by `wildo config sync --domain cicd` when it derives the per-service build targets and\n * by the template contract that holds every shipped service path to a Dockerfile at exactly this\n * location. The path is the authored `path` (`./backend-api`, `./minions/<dir>`), the Dockerfile sits\n * at its root, and the build context is the application root.\n */\nexport function resolveServiceImageDockerfilePath(servicePath: string): string {\n return `${servicePath.replace(/^\\.\\//, '')}/Dockerfile`;\n}\n\n/** One `--build-arg` a service image is built with. Values are origins and names, never secrets. */\nexport interface ServiceImageBuildArg {\n readonly name: string;\n readonly value: string;\n}\n\n/**\n * The build-time `ARG`s each FRONTEND kind's shipped Dockerfile declares, and so the ones its deploy build must\n * pass (#1125). A backend, minion or worker image declares none: its configuration is read at RUNTIME.\n *\n * A frontend-shaped image bakes its origins in at BUILD time, and the build context deliberately excludes every\n * `.env*` (they can carry credentials). So a CI build that passes no build-args produces an image with empty\n * origins — a frontend that calls no API, a docs portal that recognises no application, a website that never\n * opts into indexing — while the workflow stays green. Keyed by the kind, total over `AppFrontendType`, so a new\n * frontend kind cannot compile without saying what it needs; `deployment-template-contracts.test.ts` holds each\n * list equal to the `ARG`s the shipped Dockerfile of that kind declares.\n */\nexport const SERVICE_IMAGE_BUILD_ARG_NAMES: Readonly<Record<AppFrontendType, readonly string[]>> = {\n [AppFrontendType.SAAS_APP]: ['VITE_APP_NAME', 'VITE_FRONTEND_SERVICE_NAME', 'VITE_API_BASE_URL'],\n [AppFrontendType.STATIC_WEBSITE]: ['PUBLIC_ALLOW_INDEXING', 'PUBLIC_API_ORIGIN', 'PUBLIC_APP_ORIGIN'],\n [AppFrontendType.TECH_DOC]: ['WILDO_INFRA_ENV', 'WILDO_DOCS_API_BASE_URL', 'WILDO_DOCS_APP_URL', 'WILDO_DOCS_FRONTEND_SERVICE_NAME'],\n};\n\nexport interface ServiceImageBuildArgsInput {\n /** `undefined` for a backend, minion or worker — an image that declares no build-time args. */\n readonly frontendType: AppFrontendType | undefined;\n readonly serviceName: string;\n readonly appDisplayName: string;\n /** The infra environment id (`wildo.infra.<env>.config.ts > environment`). */\n readonly envName: string;\n readonly runtimeEnvironment?: RuntimeEnvironment | undefined;\n readonly publicDomain?: string | undefined;\n readonly serviceHosts?: Record<string, string> | undefined;\n /** `config.services.<key>` of the main backend API — the host its public URL resolves from. */\n readonly mainBackendApiServiceKey?: string | undefined;\n /** `config.services.<key>` of the SaaS application frontend, which the documentation site deep-links to. */\n readonly saasAppServiceKey?: string | undefined;\n /** The environment's authored documentation-site origins; each one, when authored, wins over the derived value. */\n readonly documentationSite?: { readonly apiBaseUrl?: string; readonly appUrl?: string; readonly frontendServiceName?: string } | undefined;\n}\n\n/**\n * The build args ONE service image needs in ONE environment, derived from what the application and the environment\n * already declare (#1125) — and the names this environment cannot supply a value for.\n *\n * Every public origin comes from `buildServicePublicUrl`, the helper the ingress routes, `runtime.endPoints` and\n * CORS already key on, so the origin baked into a frontend is the one the backend accepts. The documentation\n * site takes its authored `documentationSite` values when present and the same derived origins otherwise.\n * `PUBLIC_ALLOW_INDEXING` is `true` exactly for an environment whose `runtimeEnvironment` is PRODUCTION — the\n * website's robots are fail-closed noindex, and \"production opts in\" is now a declared fact, not a manual flag.\n *\n * An unresolvable value is REPORTED, never invented: an empty origin compiled into a bundle is the defect this\n * exists to prevent, so the name is returned in `unresolved` and the workflow says so beside the build step.\n */\nexport function resolveServiceImageBuildArgs(input: ServiceImageBuildArgsInput): {\n readonly buildArgs: readonly ServiceImageBuildArg[];\n readonly unresolved: readonly string[];\n} {\n if (input.frontendType === undefined) return { buildArgs: [], unresolved: [] };\n const publicUrlOf = (serviceKey: string | undefined): string | undefined =>\n serviceKey === undefined || !input.publicDomain\n ? undefined\n : buildServicePublicUrl({ serviceKey, serviceHosts: input.serviceHosts, publicDomain: input.publicDomain });\n const apiBaseUrl = publicUrlOf(input.mainBackendApiServiceKey);\n const valueOf: Readonly<Record<string, () => string | undefined>> = {\n VITE_APP_NAME: () => input.appDisplayName || undefined,\n VITE_FRONTEND_SERVICE_NAME: () => input.serviceName,\n VITE_API_BASE_URL: () => apiBaseUrl,\n PUBLIC_ALLOW_INDEXING: () => String(input.runtimeEnvironment === RuntimeEnvironment.PRODUCTION),\n // The website's capture forms POST here. Without it a non-production build falls back to the single `apiOrigin`\n // authored in `wildo.website.config.ts` — production's — so a staging site wrote into the production API.\n PUBLIC_API_ORIGIN: () => apiBaseUrl,\n // The app the website's CTAs link into — this environment's, not the single production `appOrigin` the website config\n // authors as its default (#1166).\n PUBLIC_APP_ORIGIN: () => publicUrlOf(input.saasAppServiceKey),\n WILDO_INFRA_ENV: () => input.envName,\n WILDO_DOCS_API_BASE_URL: () => input.documentationSite?.apiBaseUrl ?? apiBaseUrl,\n WILDO_DOCS_APP_URL: () => input.documentationSite?.appUrl ?? publicUrlOf(input.saasAppServiceKey),\n WILDO_DOCS_FRONTEND_SERVICE_NAME: () => input.documentationSite?.frontendServiceName ?? input.serviceName,\n };\n const buildArgs: ServiceImageBuildArg[] = [];\n const unresolved: string[] = [];\n for (const name of SERVICE_IMAGE_BUILD_ARG_NAMES[input.frontendType]) {\n const value = valueOf[name]?.();\n if (value === undefined || value === '') unresolved.push(name);\n else buildArgs.push({ name, value });\n }\n return { buildArgs, unresolved };\n}\n\n/** `docker build` flags for a set of build args, each single-quoted for the POSIX shell a workflow step runs in. */\nexport function renderDockerBuildArgFlags(buildArgs: readonly ServiceImageBuildArg[]): string {\n return buildArgs.map(({ name, value }) => ` --build-arg '${`${name}=${value}`.replace(/'/g, `'\\\\''`)}'`).join('');\n}\n\nexport interface WorkflowEnvConfig {\n envName: string;\n deployment: WildoDeploymentConfig;\n appName: string;\n /**\n * Per-service build targets (per-service deploy model): each app service\n * (backend + every frontend) AND each app-owned minion/worker builds its OWN\n * image from its OWN Dockerfile. `serviceName` is the pushed image name and\n * matches the k8s/compose manifest image refs — the raw\n * `services.<key>.serviceName` for services, `{appSlug}-minion-{key}` /\n * `{appSlug}-worker-{key}` for minions/workers (coherent with\n * `renderMinionForTarget` / `renderWorkerForTarget`). `dockerfile` is the path\n * to that target's Dockerfile (build context = the app root). Derived from\n * `wildo.saas.config.ts` `services.<key>.{serviceName,path}` +\n * `minions.<key>.path` + `workers.<key>.path`.\n */\n services?: Array<{\n serviceName: string;\n dockerfile: string;\n /** Build-time args this service's image needs in this environment (#1125). Absent for an image that declares none. */\n buildArgs?: readonly ServiceImageBuildArg[];\n /** Names the environment supplies no value for — rendered as a comment beside the build step, never as an empty arg. */\n unresolvedBuildArgs?: readonly string[];\n }>;\n /**\n * The application secrets this environment's deploy job must receive — provider secrets, system-of-record\n * credentials and inbound endpoint secrets, each under its own kind (#1650). A secret missing here never reaches\n * the job, whatever the GitHub Environment holds.\n */\n applicationSecretKeys?: readonly ApplicationCiSecretKey[];\n /**\n * The environment's `remoteProvider.registryEndpoint` — the registry BOTH deploy manifests pull every image from\n * (`docker-compose.app.yml` directly, the Kubernetes deployments through `kubernetes.imageRegistry`), and so the one\n * the workflow pushes to.\n *\n * The workflow used to push Kubernetes images to `deployment.registry` (defaulting to GHCR) and Compose images\n * nowhere, while the host pulled from this endpoint (#1165). That field is gone. Absent, a Compose workflow builds\n * and publishes nothing and says so beside the build steps; a remote Kubernetes environment cannot lack it —\n * the infra schema requires `remoteProvider` there.\n */\n registryEndpoint?: string | undefined;\n /**\n * Whether this environment OWNS its cluster — `false` when it runs on another application's infrastructure\n * (`infrastructureHost`). Only the owner's workflow installs the cluster-wide controllers (cert-manager,\n * Traefik); a hosted application deploys its own workloads into the host's cluster. Omitted means owned.\n */\n ownsClusterInfrastructure?: boolean;\n}\n\nexport interface CiInitResult {\n created: string[];\n skipped: string[];\n}\n\n/**\n * Generates the `${{ secrets.X }}` mapping block for GitHub Actions.\n * Maps each `WILDO_SECRET_*` env var to its corresponding GitHub Secret.\n * Returned as a pre-formatted string for direct injection into the template.\n */\nfunction buildSecretsEnvBlock(applicationSecretKeys: readonly ApplicationCiSecretKey[] = []): string {\n const { required, optional } = getRequiredCiSecretEnvVars(applicationSecretKeys);\n const lines: string[] = [];\n\n for (const envVar of required) {\n lines.push(` ${envVar}: \\${{ secrets.${envVar} }}`);\n }\n\n if (optional.length > 0) {\n lines.push(' # Optional — set these GitHub Secrets if your environment uses them');\n for (const envVar of optional) {\n lines.push(` ${envVar}: \\${{ secrets.${envVar} }}`);\n }\n }\n\n return lines.join('\\n');\n}\n\nfunction buildImageTag(strategy: WildoImageTagStrategy): string {\n switch (strategy) {\n case WildoImageTagStrategy.COMMIT_SHA:\n return '${{ github.sha }}';\n case WildoImageTagStrategy.BRANCH_NAME:\n return '${{ github.ref_name }}';\n case WildoImageTagStrategy.SEMVER:\n return '${{ github.event.release.tag_name || github.ref_name }}';\n }\n}\n\n/**\n * Build the template variables for a workflow config.\n * Pre-computes dynamic values (imageTag, secretsEnvBlock) so the\n * `.hbs` template handles only structural layout.\n */\nfunction buildTemplateVars(config: WorkflowEnvConfig): Record<string, unknown> {\n const { envName, deployment, appName } = config;\n\n // The registry the manifests pull from — see `WorkflowEnvConfig.registryEndpoint` (#1165).\n const registry = config.registryEndpoint || undefined;\n const namespace = deployment.runtime === WildoDeploymentRuntime.KUBERNETES ? deployment.namespace : undefined;\n\n return {\n appName,\n envName,\n branch: deployment.branch,\n registry,\n namespace,\n imageTag: buildImageTag(deployment.imageTagStrategy),\n secretsEnvBlock: buildSecretsEnvBlock(config.applicationSecretKeys ?? []),\n /*\n * The deploy workflows used to hard-code `node-version: 22` while the framework's named\n * authority said 26 (#421). A Handlebars template cannot import a TypeScript constant, so the\n * value is RENDERED from the same constant the validation workflow derives from — and the\n * rendered result is pinned by `deployment-template-contracts.test.ts`, which is the only\n * reason the copies in `install.sh`, `install.ps1` and the CI workflows stopped drifting.\n */\n nodeVersion: String(SUPPORTED_NODE_MAJOR_VERSION),\n // Only the cluster's infrastructure owner installs its controllers; see `WorkflowEnvConfig.ownsClusterInfrastructure`.\n ownsClusterInfrastructure: config.ownsClusterInfrastructure !== false,\n // The Traefik chart the workflow installs, pinned in one place with the bootstrap's (#1788 review, D1).\n traefikChartVersion: TRAEFIK_CHART.version,\n certManagerChartVersion: CERT_MANAGER_CHART.version,\n // Per-service image builds (per-service deploy model). Empty → the workflow\n // renders no build steps (an app with no services is a misconfiguration the\n // upstream resolver rejects, but the template stays render-safe).\n // `dockerBuildArgFlags` is pre-rendered and shell-quoted here: a Handlebars template cannot quote a value that\n // may carry a space or an apostrophe (an application's display name), and the plain `docker build` step needs it.\n services: (config.services ?? []).map((service) => ({\n ...service,\n buildArgs: service.buildArgs ?? [],\n unresolvedBuildArgs: service.unresolvedBuildArgs ?? [],\n dockerBuildArgFlags: renderDockerBuildArgFlags(service.buildArgs ?? []),\n })),\n };\n}\n\n/**\n * Generate a GitHub Actions workflow YAML for a single environment.\n */\nexport function generateWorkflow(config: WorkflowEnvConfig, tp: TemplateProcessor): string {\n const vars = buildTemplateVars(config);\n const templateFile = config.deployment.runtime === WildoDeploymentRuntime.KUBERNETES\n ? 'deploy-k8s.yml.hbs'\n : 'deploy-docker-compose.yml.hbs';\n\n return tp.processTemplate(templateFile, vars);\n}\n\n/**\n * Write workflow files to `<appRoot>/.github/workflows/`.\n * Skips files that already exist unless `force` is true.\n */\nexport function writeWorkflows(\n appRoot: string,\n environments: WorkflowEnvConfig[],\n frameworkPath: string,\n force: boolean = false,\n): CiInitResult {\n const tp = new TemplateProcessor(resolveFrameworkLayout(frameworkPath).ciTemplatesHome);\n const workflowsDir = join(appRoot, '.github', 'workflows');\n mkdirSync(workflowsDir, { recursive: true });\n\n const created: string[] = [];\n const skipped: string[] = [];\n\n for (const envConfig of environments) {\n const fileName = `deploy-${envConfig.envName}.yml`;\n const filePath = join(workflowsDir, fileName);\n\n if (existsSync(filePath) && !force) {\n skipped.push(filePath);\n continue;\n }\n\n const content = generateWorkflow(envConfig, tp);\n writeFileSync(filePath, content, 'utf8');\n created.push(filePath);\n }\n\n return { created, skipped };\n}\n\n// ============================================================================\n// Slice 6.8 / F-48 — per-app `wildo config validate` workflow installer\n// ============================================================================\n\n/**\n * Canonical filename for the per-PR validation workflow. Pinned in one\n * place so `wildo config validate --domain cicd` (which checks for the\n * SAME path) and the installer below cannot drift.\n */\nexport const WILDO_VALIDATION_WORKFLOW_FILENAME = 'wildo-config-validation.yml';\n\n/**\n * Default Node.js version baked into the validation workflow.\n *\n * RECONCILED 2026-09-08 (#421). This constant used to be `'22'` and this comment used to enumerate\n * a four-way disagreement — the constant at 22, `MINIMUM_VERSIONS.NODE` at 20.0.0, the two deploy\n * templates hard-coded at 22, and `SUPPORTED_NODE_MAJOR_VERSION` at 26 — and to record that\n * reconciling them was a behaviour change rather than a docstring edit. That decision was taken:\n * every one of them now reads the named authority.\n *\n * DERIVED, not restated. A generated pipeline must provision the major the framework supports, and\n * a second literal here is a second thing to remember on the next bump. The deploy templates cannot\n * import a TypeScript constant, so they are rendered from the same value and PINNED by a test — the\n * pattern `host-toolchain-readiness.service.test.ts` already applies to the copies in `install.sh`,\n * `install.ps1` and the CI workflows, and the only reason those four stopped drifting.\n */\nconst VALIDATION_WORKFLOW_DEFAULT_NODE_VERSION = String(SUPPORTED_NODE_MAJOR_VERSION);\n\nexport interface ValidationWorkflowInstallResult {\n /**\n * Absolute path of the workflow file when it was either freshly\n * created or already present at install time.\n */\n path: string;\n /** True when this run created the file. */\n created: boolean;\n /**\n * True when the file already existed and we LEFT IT IN PLACE\n * (idempotent install — operator's local edits, if any, are\n * preserved). Always `false` when `force: true`.\n */\n skipped: boolean;\n /**\n * True when `force: true` and the install REPLACED an existing file.\n * Carries the same fail-loud intent as `local reset` — operators\n * need to see when their authored edits were overwritten.\n */\n overwritten: boolean;\n}\n\nexport interface InstallValidationWorkflowOptions {\n appName: string;\n /**\n * Explicit Node.js version string to bake into the workflow's\n * `actions/setup-node` step. Defaults to\n * {@link VALIDATION_WORKFLOW_DEFAULT_NODE_VERSION}. Pass an explicit\n * value when the customer-app pins a different Node major.\n */\n nodeVersion?: string;\n /**\n * When `true`, overwrite an existing workflow file. Default `false`\n * (idempotent install — preserves local edits).\n */\n force?: boolean;\n}\n\n/**\n * Materialize the per-PR validation workflow into\n * `<appRoot>/.github/workflows/wildo-config-validation.yml`.\n *\n * Slice 6.8.b — wired into both `wildo init` (post-scaffold, every new\n * app gets the gate by default) and `wildo setup` (post-success,\n * back-fills existing apps that pre-date Slice 6.8). Idempotent by\n * default: if the file already exists, the installer leaves it alone\n * and the caller logs a \"would-overwrite\" warning under `--force`.\n *\n * Why a single dedicated installer (vs reusing `writeWorkflows`):\n * `writeWorkflows` is parameterized per-env and produces one file per\n * environment; the validation workflow is per-APP (single file,\n * env-agnostic). Reusing the same loop would force a fake \"validation\n * env\" abstraction that doesn't exist anywhere else and would muddy\n * the deploy-workflow contract. Two installers, one canonical\n * concern each.\n */\nexport function installValidationWorkflow(\n appRoot: string,\n frameworkPath: string,\n options: InstallValidationWorkflowOptions,\n): ValidationWorkflowInstallResult {\n const tp = new TemplateProcessor(resolveFrameworkLayout(frameworkPath).ciTemplatesHome);\n const workflowsDir = join(appRoot, '.github', 'workflows');\n mkdirSync(workflowsDir, { recursive: true });\n\n const filePath = join(workflowsDir, WILDO_VALIDATION_WORKFLOW_FILENAME);\n const exists = existsSync(filePath);\n const force = options.force === true;\n\n if (exists && !force) {\n return { path: filePath, created: false, skipped: true, overwritten: false };\n }\n\n const content = tp.processTemplate('wildo-config-validation.yml.hbs', {\n appName: options.appName,\n nodeVersion: options.nodeVersion ?? VALIDATION_WORKFLOW_DEFAULT_NODE_VERSION,\n });\n writeFileSync(filePath, content, 'utf8');\n\n return {\n path: filePath,\n created: !exists,\n skipped: false,\n overwritten: exists && force,\n };\n}\n"]}
|
|
@@ -6,7 +6,7 @@ const infraCtx = {
|
|
|
6
6
|
composeFile: '/tmp/compose/docker-compose.yml',
|
|
7
7
|
envFile: '/tmp/compose/.env',
|
|
8
8
|
};
|
|
9
|
-
const row = (Service, State, Health) => JSON.stringify({ Service, State, Health });
|
|
9
|
+
const row = (Service, State, Health, Name) => JSON.stringify({ Service, State, Health, ...(Name ? { Name } : {}) });
|
|
10
10
|
const classify = (safety, consequence = 'a stated consequence') => ({ safety, consequence });
|
|
11
11
|
describe('createBackingServiceHealthWatch', () => {
|
|
12
12
|
let log;
|
|
@@ -14,6 +14,9 @@ describe('createBackingServiceHealthWatch', () => {
|
|
|
14
14
|
let cancelled;
|
|
15
15
|
let clock;
|
|
16
16
|
let composeCalls;
|
|
17
|
+
/** container name -> Docker restart count, as the injected reader reports it. */
|
|
18
|
+
let restartCounts;
|
|
19
|
+
let lastFailureLine;
|
|
17
20
|
/**
|
|
18
21
|
* Drives the watch with a captured scheduler and a controllable clock, so a
|
|
19
22
|
* reminder cadence measured in minutes is testable without waiting for one.
|
|
@@ -26,6 +29,11 @@ describe('createBackingServiceHealthWatch', () => {
|
|
|
26
29
|
infraCtx,
|
|
27
30
|
log,
|
|
28
31
|
reminderIntervalMs,
|
|
32
|
+
readRestartCounts: (names) => new Map(names.flatMap((name) => {
|
|
33
|
+
const count = restartCounts.get(name);
|
|
34
|
+
return count === undefined ? [] : [[name, count]];
|
|
35
|
+
})),
|
|
36
|
+
readLastFailureLine: () => lastFailureLine,
|
|
29
37
|
runCompose: (_ctx, args) => {
|
|
30
38
|
composeCalls.push(args);
|
|
31
39
|
if (args[0] === 'ps')
|
|
@@ -49,6 +57,8 @@ describe('createBackingServiceHealthWatch', () => {
|
|
|
49
57
|
cancelled = 0;
|
|
50
58
|
clock = 0;
|
|
51
59
|
composeCalls = [];
|
|
60
|
+
restartCounts = new Map();
|
|
61
|
+
lastFailureLine = null;
|
|
52
62
|
});
|
|
53
63
|
describe('a service the catalog declares SAFE to recreate live', () => {
|
|
54
64
|
it('recreates it, and only it', () => {
|
|
@@ -183,12 +193,70 @@ describe('createBackingServiceHealthWatch', () => {
|
|
|
183
193
|
tick();
|
|
184
194
|
expect(log.warn).not.toHaveBeenCalled();
|
|
185
195
|
});
|
|
186
|
-
|
|
187
|
-
|
|
196
|
+
});
|
|
197
|
+
/**
|
|
198
|
+
* 2026-09-24: mongod crash-looped 243 times over 88 minutes on a journal record recovery could not
|
|
199
|
+
* parse, and this watch said nothing — between restarts it read `running`/`starting`, never
|
|
200
|
+
* `unhealthy`. Restart COUNT is the signal.
|
|
201
|
+
*/
|
|
202
|
+
describe('a container Docker keeps restarting', () => {
|
|
203
|
+
const mongoRow = (state = 'running', health = 'starting') => row('mongodb', state, health, 'wildo-mongodb');
|
|
204
|
+
it('takes the first reading as a baseline, never as an alarm', () => {
|
|
205
|
+
// Restarts from before this session (a Docker Desktop restart last week) are not news.
|
|
206
|
+
restartCounts.set('wildo-mongodb', 7);
|
|
207
|
+
build(() => mongoRow('running', 'healthy'), () => classify(LiveRecreateSafety.UNSAFE));
|
|
188
208
|
tick();
|
|
189
|
-
expect(log.
|
|
209
|
+
expect(log.error).not.toHaveBeenCalled();
|
|
210
|
+
});
|
|
211
|
+
it('reports a restart it witnessed, with the count and the last failure line, and never recreates', () => {
|
|
212
|
+
lastFailureLine = '"s":"F" … Fatal assertion … Recovery failed';
|
|
213
|
+
restartCounts.set('wildo-mongodb', 0);
|
|
214
|
+
build(() => mongoRow(), () => classify(LiveRecreateSafety.SAFE));
|
|
215
|
+
tick();
|
|
216
|
+
restartCounts.set('wildo-mongodb', 3);
|
|
217
|
+
clock += 30_000;
|
|
218
|
+
tick();
|
|
219
|
+
expect(log.error).toHaveBeenCalledTimes(1);
|
|
220
|
+
const message = vi.mocked(log.error).mock.calls[0][0];
|
|
221
|
+
expect(message).toContain('mongodb keeps RESTARTING (3 restarts, 3 since the last check)');
|
|
222
|
+
expect(message).toContain('Recovery failed');
|
|
190
223
|
expect(recreateCalls()).toHaveLength(0);
|
|
191
224
|
});
|
|
225
|
+
it('sees a container that is `restarting` right now, which a running-only listing may omit', () => {
|
|
226
|
+
build(() => mongoRow('restarting', ''), () => null);
|
|
227
|
+
tick();
|
|
228
|
+
expect(composeCalls[0]).toEqual(['ps', '--all', '--format', 'json']);
|
|
229
|
+
});
|
|
230
|
+
it('does not repeat itself every poll, but re-announces once the reminder elapses', () => {
|
|
231
|
+
restartCounts.set('wildo-mongodb', 0);
|
|
232
|
+
build(() => mongoRow(), () => null);
|
|
233
|
+
tick();
|
|
234
|
+
for (let restarts = 1; restarts <= 5; restarts += 1) {
|
|
235
|
+
restartCounts.set('wildo-mongodb', restarts * 3);
|
|
236
|
+
clock += 30_000;
|
|
237
|
+
tick();
|
|
238
|
+
}
|
|
239
|
+
expect(log.error).toHaveBeenCalledTimes(1);
|
|
240
|
+
clock += 300_000;
|
|
241
|
+
restartCounts.set('wildo-mongodb', 40);
|
|
242
|
+
tick();
|
|
243
|
+
expect(log.error).toHaveBeenCalledTimes(2);
|
|
244
|
+
});
|
|
245
|
+
it('announces the loop is over only after several quiet polls, because back-off outlasts one', () => {
|
|
246
|
+
restartCounts.set('wildo-mongodb', 0);
|
|
247
|
+
build(() => mongoRow('running', 'healthy'), () => null);
|
|
248
|
+
tick();
|
|
249
|
+
restartCounts.set('wildo-mongodb', 2);
|
|
250
|
+
clock += 30_000;
|
|
251
|
+
tick();
|
|
252
|
+
clock += 30_000;
|
|
253
|
+
tick();
|
|
254
|
+
expect(log.success).not.toHaveBeenCalled();
|
|
255
|
+
clock += 60_000;
|
|
256
|
+
tick();
|
|
257
|
+
tick();
|
|
258
|
+
expect(vi.mocked(log.success).mock.calls.at(-1)?.[0]).toContain('mongodb has stopped restarting (2 restarts in total)');
|
|
259
|
+
});
|
|
192
260
|
});
|
|
193
261
|
it('says nothing — and never throws — when Compose cannot answer', () => {
|
|
194
262
|
// A watch that cannot ask must not take the dev loop down with it, and must
|
|
@@ -197,6 +265,7 @@ describe('createBackingServiceHealthWatch', () => {
|
|
|
197
265
|
infraCtx,
|
|
198
266
|
log,
|
|
199
267
|
runCompose: () => { throw new Error('Cannot connect to the Docker daemon'); },
|
|
268
|
+
readRestartCounts: () => new Map(),
|
|
200
269
|
resolveRecreateSafety: () => null,
|
|
201
270
|
now: () => clock,
|
|
202
271
|
schedule: (callback) => { tick = callback; return 'handle'; },
|
|
@@ -222,6 +291,7 @@ describe('createBackingServiceHealthWatch', () => {
|
|
|
222
291
|
const watch = createBackingServiceHealthWatch({
|
|
223
292
|
infraCtx,
|
|
224
293
|
log,
|
|
294
|
+
readRestartCounts: () => new Map(),
|
|
225
295
|
runCompose: (_ctx, args) => {
|
|
226
296
|
composeCalls.push(args);
|
|
227
297
|
return args[0] === 'ps' ? psRows() : '';
|