@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
|
@@ -27,6 +27,7 @@ vi.mock('~wildo-cli/services/environment/environment.service', () => ({
|
|
|
27
27
|
}));
|
|
28
28
|
import { DockerUtils } from '../../../../services/deployment/docker/docker.service.js';
|
|
29
29
|
import { EnvironmentRegistry } from '../../../../services/environment/environment-registry.service.js';
|
|
30
|
+
import { EnvironmentUtils } from '../../../../services/environment/environment.service.js';
|
|
30
31
|
import { adoptHostLocalDataIntoVolumes, describeUnadoptedHostLocalData, } from '../local-data-adoption.service.js';
|
|
31
32
|
/**
|
|
32
33
|
* Adoption is the migration an environment needs exactly once: the first render after it moves from
|
|
@@ -53,6 +54,7 @@ describe('local data adoption', () => {
|
|
|
53
54
|
beforeEach(() => {
|
|
54
55
|
vi.clearAllMocks();
|
|
55
56
|
vi.mocked(DockerUtils.copyDirectoryIntoVolume).mockReturnValue({ success: true });
|
|
57
|
+
vi.mocked(EnvironmentUtils.needsLocalMongoDB).mockReturnValue(false);
|
|
56
58
|
});
|
|
57
59
|
afterEach(() => {
|
|
58
60
|
for (const dir of tempDirs.splice(0))
|
|
@@ -67,6 +69,26 @@ describe('local data adoption', () => {
|
|
|
67
69
|
expect(findings[0].hostPath).toMatch(/local_data\/postgresql$/);
|
|
68
70
|
expect(findings[0].volumeName).toMatch(/^wildo-local-data-.+-postgresql$/);
|
|
69
71
|
});
|
|
72
|
+
it('adopts mongod per MOUNT — `db` and `configdb` into the two volumes compose mounts, never one orphan', () => {
|
|
73
|
+
// 2026-09-22: adoption derived the volume from the SERVICE, so `local_data/mongodb/` was copied
|
|
74
|
+
// whole into `<scope>-mongodb`, a volume nothing mounts, and mongod started on an empty database.
|
|
75
|
+
const root = mkdtempSync(join(tmpdir(), 'wildo-adopt-mongo-'));
|
|
76
|
+
tempDirs.push(root);
|
|
77
|
+
for (const child of ['db', 'configdb']) {
|
|
78
|
+
const dir = join(root, '.wildo-saas', 'local_data', 'mongodb', child);
|
|
79
|
+
mkdirSync(dir, { recursive: true });
|
|
80
|
+
writeFileSync(join(dir, 'WiredTiger'), 'WiredTiger\n', 'utf8');
|
|
81
|
+
}
|
|
82
|
+
vi.mocked(EnvironmentRegistry.getSaasRoot).mockReturnValue(root);
|
|
83
|
+
vi.mocked(EnvironmentUtils.needsLocalMongoDB).mockReturnValue(true);
|
|
84
|
+
vi.mocked(DockerUtils.listVolumeEntries).mockReturnValue({ success: true, entries: [] });
|
|
85
|
+
const mongo = describeUnadoptedHostLocalData(localVolumeEnv).filter((finding) => finding.service === 'mongodb');
|
|
86
|
+
expect(mongo.map((finding) => [finding.child, finding.hostPath.split('/').slice(-2).join('/'), finding.volumeName.replace(/^.*-(mongodb-[a-z]+)$/, '$1')]))
|
|
87
|
+
.toEqual([
|
|
88
|
+
['db', 'mongodb/db', 'mongodb-db'],
|
|
89
|
+
['configdb', 'mongodb/configdb', 'mongodb-configdb'],
|
|
90
|
+
]);
|
|
91
|
+
});
|
|
70
92
|
it('reports NOTHING when the volume already holds data — the live store is never copied over', () => {
|
|
71
93
|
// The dangerous direction. Adopting here would overwrite the database the stack is using with
|
|
72
94
|
// whatever the host tree last held, which is a silent restore of stale data rather than a
|
package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-data-adoption.service.test.js","sourceRoot":"","sources":["../../../../../../../../src/services/deployment/docker/__tests__/local-data-adoption.service.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AACzE,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,IAAI,CAAC;AACnE,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,EAAE,MAAM,EAAE,MAAM,IAAI,CAAC;AAC5B,OAAO,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAEzF,EAAE,CAAC,IAAI,CAAC,sDAAsD,EAAE,GAAG,EAAE,CAAC,CAAC;IACrE,WAAW,EAAE;QACX,iBAAiB,EAAE,EAAE,CAAC,EAAE,EAAE;QAC1B,uBAAuB,EAAE,EAAE,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;QACzD,kBAAkB,EAAE,EAAE,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,EAAE,OAAO,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join } from 'path';\nimport { tmpdir } from 'os';\nimport { WildoLocalDataStorage, WildoLocationType } from '@wildo-ai/platform-config-lib';\n\nvi.mock('~wildo-cli/services/deployment/docker/docker.service', () => ({\n DockerUtils: {\n listVolumeEntries: vi.fn(),\n copyDirectoryIntoVolume: vi.fn(() => ({ success: true })),\n setVolumeOwnership: vi.fn(() => ({ success: true })),\n readImageDeclaredUser: vi.fn(() => ({ success: true, user: '' })),\n runDockerCompose: vi.fn(() => JSON.stringify({ services: {} })),\n },\n}));\n\nvi.mock('~wildo-cli/services/context/context-manager.service', () => ({\n ContextManager: { resolveInfraContext: vi.fn(() => ({ composeDir: '/c', composeFile: '/c/compose.yml', envFile: '/c/.env' })) },\n}));\n\nvi.mock('~wildo-cli/services/environment/environment-registry.service', () => ({\n EnvironmentRegistry: { getSaasRoot: vi.fn() },\n}));\n\nvi.mock('~wildo-cli/services/environment/environment.service', () => ({\n EnvironmentUtils: {\n needsLocalMongoDB: vi.fn(() => false),\n needsLocalPostgreSQL: vi.fn(() => true),\n selfHostsBackingService: vi.fn(() => false),\n },\n}));\n\nimport { DockerUtils } from '~wildo-cli/services/deployment/docker/docker.service';\nimport { EnvironmentRegistry } from '~wildo-cli/services/environment/environment-registry.service';\nimport {\n adoptHostLocalDataIntoVolumes,\n describeUnadoptedHostLocalData,\n} from '../local-data-adoption.service';\n\n/**\n * Adoption is the migration an environment needs exactly once: the first render after it moves from\n * host-path to volume storage leaves every byte in `local_data/` and mounts empty volumes, so the\n * stack comes up with no databases, no platform init and no registered application.\n *\n * Nothing was destroyed, and that is precisely why it has to be DETECTED rather than left to be\n * discovered — it reads like data loss, and the remedy is not one an operator can guess.\n */\ndescribe('local data adoption', () => {\n const tempDirs: string[] = [];\n\n function makeSaasRootWithHostData(services: readonly string[]): string {\n const root = mkdtempSync(join(tmpdir(), 'wildo-adopt-'));\n tempDirs.push(root);\n for (const service of services) {\n const dir = join(root, '.wildo-saas', 'local_data', service);\n mkdirSync(dir, { recursive: true });\n writeFileSync(join(dir, 'PG_VERSION'), '17\\n', 'utf8');\n }\n vi.mocked(EnvironmentRegistry.getSaasRoot).mockReturnValue(root);\n return root;\n }\n\n const localVolumeEnv = { name: 'local', locationType: WildoLocationType.LOCAL } as never;\n\n beforeEach(() => {\n vi.clearAllMocks();\n vi.mocked(DockerUtils.copyDirectoryIntoVolume).mockReturnValue({ success: true });\n });\n\n afterEach(() => {\n for (const dir of tempDirs.splice(0)) rmSync(dir, { recursive: true, force: true });\n });\n\n it('reports a service whose data sits on the host while the volume is empty', () => {\n makeSaasRootWithHostData(['postgresql']);\n vi.mocked(DockerUtils.listVolumeEntries).mockReturnValue({ success: true, entries: [] });\n\n const findings = describeUnadoptedHostLocalData(localVolumeEnv);\n\n expect(findings).toHaveLength(1);\n expect(findings[0].service).toBe('postgresql');\n expect(findings[0].hostPath).toMatch(/local_data\\/postgresql$/);\n expect(findings[0].volumeName).toMatch(/^wildo-local-data-.+-postgresql$/);\n });\n\n it('reports NOTHING when the volume already holds data — the live store is never copied over', () => {\n // The dangerous direction. Adopting here would overwrite the database the stack is using with\n // whatever the host tree last held, which is a silent restore of stale data rather than a\n // migration. Emptiness is the precondition, not a detail.\n makeSaasRootWithHostData(['postgresql']);\n vi.mocked(DockerUtils.listVolumeEntries).mockReturnValue({ success: true, entries: ['PG_VERSION', 'base'] });\n\n expect(describeUnadoptedHostLocalData(localVolumeEnv)).toEqual([]);\n });\n\n it('reports NOTHING when Docker did not answer, rather than treating silence as an empty volume', () => {\n // `negative-results-require-a-positive-probe.md`: an unreachable daemon returns no entries, and\n // reading that as \"the volume is empty\" is what would offer to copy a datadir over a live one.\n makeSaasRootWithHostData(['postgresql']);\n vi.mocked(DockerUtils.listVolumeEntries).mockReturnValue({ success: false, error: 'daemon not running' });\n\n expect(describeUnadoptedHostLocalData(localVolumeEnv)).toEqual([]);\n });\n\n it('reports NOTHING for a host-path environment, which has nothing to adopt', () => {\n makeSaasRootWithHostData(['postgresql']);\n vi.mocked(DockerUtils.listVolumeEntries).mockReturnValue({ success: true, entries: [] });\n\n expect(describeUnadoptedHostLocalData({\n name: 'local',\n locationType: WildoLocationType.LOCAL,\n localDataStorage: WildoLocalDataStorage.HOST_PATH,\n } as never)).toEqual([]);\n });\n\n it('treats a directory holding only dotfiles as empty', () => {\n // `.DS_Store` beside nothing is not a database, and offering to adopt it would send an operator\n // through a stop/start cycle to copy editor droppings.\n const root = mkdtempSync(join(tmpdir(), 'wildo-adopt-dots-'));\n tempDirs.push(root);\n const dir = join(root, '.wildo-saas', 'local_data', 'postgresql');\n mkdirSync(dir, { recursive: true });\n writeFileSync(join(dir, '.DS_Store'), 'x', 'utf8');\n vi.mocked(EnvironmentRegistry.getSaasRoot).mockReturnValue(root);\n vi.mocked(DockerUtils.listVolumeEntries).mockReturnValue({ success: true, entries: [] });\n\n expect(describeUnadoptedHostLocalData(localVolumeEnv)).toEqual([]);\n });\n\n it('copies each finding into its volume, and FAILS LOUDLY when one copy fails', () => {\n // A partial adoption reported as success is worse than a loud stop: the half-copied store\n // starts and behaves as though rows had vanished.\n const log = { info: vi.fn(), success: vi.fn(), warn: vi.fn(), error: vi.fn(), debug: vi.fn() } as never;\n const findings = [\n { service: 'postgresql', hostPath: '/h/postgresql', volumeName: 'v-postgresql', requiredOwner: null },\n { service: 'valkey', hostPath: '/h/valkey', volumeName: 'v-valkey', requiredOwner: null },\n ];\n\n adoptHostLocalDataIntoVolumes(findings, log);\n expect(DockerUtils.copyDirectoryIntoVolume).toHaveBeenCalledTimes(2);\n expect(DockerUtils.copyDirectoryIntoVolume).toHaveBeenCalledWith('/h/postgresql', 'v-postgresql');\n\n vi.mocked(DockerUtils.copyDirectoryIntoVolume).mockReturnValue({ success: false, error: 'volume in use' });\n expect(() => adoptHostLocalDataIntoVolumes(findings, log)).toThrow(/volume in use/);\n });\n /**\n * Ownership, which is the half that took a live stack down.\n *\n * A bind-mounted host directory is presented to a container with whatever uid the READING\n * container's user maps to, so the copy preserves `alpine`-as-root's view rather than the\n * consumer's. Measured 2026-09-22 against a host tree that is uniformly `501:20`: presented as\n * `999:0` to postgresql, `100:0` to rabbitmq, `0:0` for immudb — whose image runs as\n * `3322:3322`. Five were right by coincidence; immudb crash-looped `permission denied` on its own\n * commit log through 11 restarts, and the audit database was unreadable until the volume was\n * chowned by hand.\n */\n describe('ownership', () => {\n const log = { info: vi.fn(), success: vi.fn(), warn: vi.fn(), error: vi.fn(), debug: vi.fn() } as never;\n\n beforeEach(() => {\n vi.mocked(DockerUtils.copyDirectoryIntoVolume).mockReturnValue({ success: true });\n vi.mocked(DockerUtils.setVolumeOwnership).mockReturnValue({ success: true });\n });\n\n it('sets the owner a service DECLARES, because such a service can never chown its own data', () => {\n adoptHostLocalDataIntoVolumes(\n [{ service: 'immudb', hostPath: '/h/immudb', volumeName: 'v-immudb', requiredOwner: '3322:3322' }],\n log,\n );\n expect(DockerUtils.setVolumeOwnership).toHaveBeenCalledWith('v-immudb', '3322:3322');\n });\n\n it('leaves a root-entrypoint service alone — imposing an owner would fight what already works', () => {\n adoptHostLocalDataIntoVolumes(\n [{ service: 'postgresql', hostPath: '/h/postgresql', volumeName: 'v-postgresql', requiredOwner: null }],\n log,\n );\n expect(DockerUtils.setVolumeOwnership).not.toHaveBeenCalled();\n });\n\n it('FAILS the adoption when the owner cannot be set, rather than reporting a copy that is unreadable', () => {\n // Copied-but-unreadable is the worst outcome: the data is there, the service cannot open it,\n // and the symptom (`permission denied` on a commit log) names neither the copy nor the mode.\n vi.mocked(DockerUtils.setVolumeOwnership).mockReturnValue({ success: false, error: 'operation not permitted' });\n expect(() => adoptHostLocalDataIntoVolumes(\n [{ service: 'immudb', hostPath: '/h/immudb', volumeName: 'v-immudb', requiredOwner: '3322:3322' }],\n log,\n )).toThrow(/could not set owner 3322:3322/);\n });\n\n it('reads the required owner from compose `user:`, falling back to the IMAGE declaration', () => {\n // Both sources are load-bearing in this stack: mongod declares its user in compose, immudb on\n // its image. Reading only one of them misses half the population.\n makeSaasRootWithHostData(['postgresql']);\n vi.mocked(DockerUtils.listVolumeEntries).mockReturnValue({ success: true, entries: [] });\n vi.mocked(DockerUtils.runDockerCompose).mockReturnValue(JSON.stringify({\n services: { postgresql: { image: 'pgvector/pgvector:pg17' } },\n }));\n vi.mocked(DockerUtils.readImageDeclaredUser).mockReturnValue({ success: true, user: '999:999' });\n\n expect(describeUnadoptedHostLocalData(localVolumeEnv)[0].requiredOwner).toBe('999:999');\n });\n\n it('refuses to GUESS a user given as a name, and treats root as nothing to do', () => {\n // A wrong number written across a whole datadir is worse than an unset owner, and `0:0` is\n // already what a root entrypoint produces.\n makeSaasRootWithHostData(['postgresql']);\n vi.mocked(DockerUtils.listVolumeEntries).mockReturnValue({ success: true, entries: [] });\n\n for (const declared of ['mongodb', '0', '0:0', '']) {\n vi.mocked(DockerUtils.runDockerCompose).mockReturnValue(JSON.stringify({\n services: { postgresql: { image: 'img', user: declared } },\n }));\n vi.mocked(DockerUtils.readImageDeclaredUser).mockReturnValue({ success: true, user: '' });\n expect(describeUnadoptedHostLocalData(localVolumeEnv)[0].requiredOwner).toBeNull();\n }\n });\n });\n});\n"]}
|
|
1
|
+
{"version":3,"file":"local-data-adoption.service.test.js","sourceRoot":"","sources":["../../../../../../../../src/services/deployment/docker/__tests__/local-data-adoption.service.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AACzE,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,IAAI,CAAC;AACnE,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,EAAE,MAAM,EAAE,MAAM,IAAI,CAAC;AAC5B,OAAO,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAEzF,EAAE,CAAC,IAAI,CAAC,sDAAsD,EAAE,GAAG,EAAE,CAA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EAAE,CAAC,EAAE,CAAC;gBACnD,EAAE,CAAC,MAAM,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAAC,eAAe,CAAC,IAAI,CAAC,SAAS,CAAC;oBACrE,QAAQ,EAAE,EAAE,UAAU,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;iBAC3D,CAAC,CAAC,CAAC;gBACJ,EAAE,CAAC,MAAM,CAAC,WAAW,CAAC,qBAAqB,CAAC,CAAC,eAAe,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;gBAC1F,MAAM,CAAC,8BAA8B,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,QAAQ,EAAE,CAAC;YACrF,CAAC;QACH,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';\nimport { mkdirSync, mkdtempSync, rmSync, writeFileSync } from 'fs';\nimport { join } from 'path';\nimport { tmpdir } from 'os';\nimport { WildoLocalDataStorage, WildoLocationType } from '@wildo-ai/platform-config-lib';\n\nvi.mock('~wildo-cli/services/deployment/docker/docker.service', () => ({\n DockerUtils: {\n listVolumeEntries: vi.fn(),\n copyDirectoryIntoVolume: vi.fn(() => ({ success: true })),\n setVolumeOwnership: vi.fn(() => ({ success: true })),\n readImageDeclaredUser: vi.fn(() => ({ success: true, user: '' })),\n runDockerCompose: vi.fn(() => JSON.stringify({ services: {} })),\n },\n}));\n\nvi.mock('~wildo-cli/services/context/context-manager.service', () => ({\n ContextManager: { resolveInfraContext: vi.fn(() => ({ composeDir: '/c', composeFile: '/c/compose.yml', envFile: '/c/.env' })) },\n}));\n\nvi.mock('~wildo-cli/services/environment/environment-registry.service', () => ({\n EnvironmentRegistry: { getSaasRoot: vi.fn() },\n}));\n\nvi.mock('~wildo-cli/services/environment/environment.service', () => ({\n EnvironmentUtils: {\n needsLocalMongoDB: vi.fn(() => false),\n needsLocalPostgreSQL: vi.fn(() => true),\n selfHostsBackingService: vi.fn(() => false),\n },\n}));\n\nimport { DockerUtils } from '~wildo-cli/services/deployment/docker/docker.service';\nimport { EnvironmentRegistry } from '~wildo-cli/services/environment/environment-registry.service';\nimport { EnvironmentUtils } from '~wildo-cli/services/environment/environment.service';\nimport {\n adoptHostLocalDataIntoVolumes,\n describeUnadoptedHostLocalData,\n} from '../local-data-adoption.service';\n\n/**\n * Adoption is the migration an environment needs exactly once: the first render after it moves from\n * host-path to volume storage leaves every byte in `local_data/` and mounts empty volumes, so the\n * stack comes up with no databases, no platform init and no registered application.\n *\n * Nothing was destroyed, and that is precisely why it has to be DETECTED rather than left to be\n * discovered — it reads like data loss, and the remedy is not one an operator can guess.\n */\ndescribe('local data adoption', () => {\n const tempDirs: string[] = [];\n\n function makeSaasRootWithHostData(services: readonly string[]): string {\n const root = mkdtempSync(join(tmpdir(), 'wildo-adopt-'));\n tempDirs.push(root);\n for (const service of services) {\n const dir = join(root, '.wildo-saas', 'local_data', service);\n mkdirSync(dir, { recursive: true });\n writeFileSync(join(dir, 'PG_VERSION'), '17\\n', 'utf8');\n }\n vi.mocked(EnvironmentRegistry.getSaasRoot).mockReturnValue(root);\n return root;\n }\n\n const localVolumeEnv = { name: 'local', locationType: WildoLocationType.LOCAL } as never;\n\n beforeEach(() => {\n vi.clearAllMocks();\n vi.mocked(DockerUtils.copyDirectoryIntoVolume).mockReturnValue({ success: true });\n vi.mocked(EnvironmentUtils.needsLocalMongoDB).mockReturnValue(false);\n });\n\n afterEach(() => {\n for (const dir of tempDirs.splice(0)) rmSync(dir, { recursive: true, force: true });\n });\n\n it('reports a service whose data sits on the host while the volume is empty', () => {\n makeSaasRootWithHostData(['postgresql']);\n vi.mocked(DockerUtils.listVolumeEntries).mockReturnValue({ success: true, entries: [] });\n\n const findings = describeUnadoptedHostLocalData(localVolumeEnv);\n\n expect(findings).toHaveLength(1);\n expect(findings[0].service).toBe('postgresql');\n expect(findings[0].hostPath).toMatch(/local_data\\/postgresql$/);\n expect(findings[0].volumeName).toMatch(/^wildo-local-data-.+-postgresql$/);\n });\n\n it('adopts mongod per MOUNT — `db` and `configdb` into the two volumes compose mounts, never one orphan', () => {\n // 2026-09-22: adoption derived the volume from the SERVICE, so `local_data/mongodb/` was copied\n // whole into `<scope>-mongodb`, a volume nothing mounts, and mongod started on an empty database.\n const root = mkdtempSync(join(tmpdir(), 'wildo-adopt-mongo-'));\n tempDirs.push(root);\n for (const child of ['db', 'configdb']) {\n const dir = join(root, '.wildo-saas', 'local_data', 'mongodb', child);\n mkdirSync(dir, { recursive: true });\n writeFileSync(join(dir, 'WiredTiger'), 'WiredTiger\\n', 'utf8');\n }\n vi.mocked(EnvironmentRegistry.getSaasRoot).mockReturnValue(root);\n vi.mocked(EnvironmentUtils.needsLocalMongoDB).mockReturnValue(true);\n vi.mocked(DockerUtils.listVolumeEntries).mockReturnValue({ success: true, entries: [] });\n\n const mongo = describeUnadoptedHostLocalData(localVolumeEnv).filter((finding) => finding.service === 'mongodb');\n\n expect(mongo.map((finding) => [finding.child, finding.hostPath.split('/').slice(-2).join('/'), finding.volumeName.replace(/^.*-(mongodb-[a-z]+)$/, '$1')]))\n .toEqual([\n ['db', 'mongodb/db', 'mongodb-db'],\n ['configdb', 'mongodb/configdb', 'mongodb-configdb'],\n ]);\n });\n\n it('reports NOTHING when the volume already holds data — the live store is never copied over', () => {\n // The dangerous direction. Adopting here would overwrite the database the stack is using with\n // whatever the host tree last held, which is a silent restore of stale data rather than a\n // migration. Emptiness is the precondition, not a detail.\n makeSaasRootWithHostData(['postgresql']);\n vi.mocked(DockerUtils.listVolumeEntries).mockReturnValue({ success: true, entries: ['PG_VERSION', 'base'] });\n\n expect(describeUnadoptedHostLocalData(localVolumeEnv)).toEqual([]);\n });\n\n it('reports NOTHING when Docker did not answer, rather than treating silence as an empty volume', () => {\n // `negative-results-require-a-positive-probe.md`: an unreachable daemon returns no entries, and\n // reading that as \"the volume is empty\" is what would offer to copy a datadir over a live one.\n makeSaasRootWithHostData(['postgresql']);\n vi.mocked(DockerUtils.listVolumeEntries).mockReturnValue({ success: false, error: 'daemon not running' });\n\n expect(describeUnadoptedHostLocalData(localVolumeEnv)).toEqual([]);\n });\n\n it('reports NOTHING for a host-path environment, which has nothing to adopt', () => {\n makeSaasRootWithHostData(['postgresql']);\n vi.mocked(DockerUtils.listVolumeEntries).mockReturnValue({ success: true, entries: [] });\n\n expect(describeUnadoptedHostLocalData({\n name: 'local',\n locationType: WildoLocationType.LOCAL,\n localDataStorage: WildoLocalDataStorage.HOST_PATH,\n } as never)).toEqual([]);\n });\n\n it('treats a directory holding only dotfiles as empty', () => {\n // `.DS_Store` beside nothing is not a database, and offering to adopt it would send an operator\n // through a stop/start cycle to copy editor droppings.\n const root = mkdtempSync(join(tmpdir(), 'wildo-adopt-dots-'));\n tempDirs.push(root);\n const dir = join(root, '.wildo-saas', 'local_data', 'postgresql');\n mkdirSync(dir, { recursive: true });\n writeFileSync(join(dir, '.DS_Store'), 'x', 'utf8');\n vi.mocked(EnvironmentRegistry.getSaasRoot).mockReturnValue(root);\n vi.mocked(DockerUtils.listVolumeEntries).mockReturnValue({ success: true, entries: [] });\n\n expect(describeUnadoptedHostLocalData(localVolumeEnv)).toEqual([]);\n });\n\n it('copies each finding into its volume, and FAILS LOUDLY when one copy fails', () => {\n // A partial adoption reported as success is worse than a loud stop: the half-copied store\n // starts and behaves as though rows had vanished.\n const log = { info: vi.fn(), success: vi.fn(), warn: vi.fn(), error: vi.fn(), debug: vi.fn() } as never;\n const findings = [\n { service: 'postgresql', hostPath: '/h/postgresql', volumeName: 'v-postgresql', requiredOwner: null },\n { service: 'valkey', hostPath: '/h/valkey', volumeName: 'v-valkey', requiredOwner: null },\n ];\n\n adoptHostLocalDataIntoVolumes(findings, log);\n expect(DockerUtils.copyDirectoryIntoVolume).toHaveBeenCalledTimes(2);\n expect(DockerUtils.copyDirectoryIntoVolume).toHaveBeenCalledWith('/h/postgresql', 'v-postgresql');\n\n vi.mocked(DockerUtils.copyDirectoryIntoVolume).mockReturnValue({ success: false, error: 'volume in use' });\n expect(() => adoptHostLocalDataIntoVolumes(findings, log)).toThrow(/volume in use/);\n });\n /**\n * Ownership, which is the half that took a live stack down.\n *\n * A bind-mounted host directory is presented to a container with whatever uid the READING\n * container's user maps to, so the copy preserves `alpine`-as-root's view rather than the\n * consumer's. Measured 2026-09-22 against a host tree that is uniformly `501:20`: presented as\n * `999:0` to postgresql, `100:0` to rabbitmq, `0:0` for immudb — whose image runs as\n * `3322:3322`. Five were right by coincidence; immudb crash-looped `permission denied` on its own\n * commit log through 11 restarts, and the audit database was unreadable until the volume was\n * chowned by hand.\n */\n describe('ownership', () => {\n const log = { info: vi.fn(), success: vi.fn(), warn: vi.fn(), error: vi.fn(), debug: vi.fn() } as never;\n\n beforeEach(() => {\n vi.mocked(DockerUtils.copyDirectoryIntoVolume).mockReturnValue({ success: true });\n vi.mocked(DockerUtils.setVolumeOwnership).mockReturnValue({ success: true });\n });\n\n it('sets the owner a service DECLARES, because such a service can never chown its own data', () => {\n adoptHostLocalDataIntoVolumes(\n [{ service: 'immudb', hostPath: '/h/immudb', volumeName: 'v-immudb', requiredOwner: '3322:3322' }],\n log,\n );\n expect(DockerUtils.setVolumeOwnership).toHaveBeenCalledWith('v-immudb', '3322:3322');\n });\n\n it('leaves a root-entrypoint service alone — imposing an owner would fight what already works', () => {\n adoptHostLocalDataIntoVolumes(\n [{ service: 'postgresql', hostPath: '/h/postgresql', volumeName: 'v-postgresql', requiredOwner: null }],\n log,\n );\n expect(DockerUtils.setVolumeOwnership).not.toHaveBeenCalled();\n });\n\n it('FAILS the adoption when the owner cannot be set, rather than reporting a copy that is unreadable', () => {\n // Copied-but-unreadable is the worst outcome: the data is there, the service cannot open it,\n // and the symptom (`permission denied` on a commit log) names neither the copy nor the mode.\n vi.mocked(DockerUtils.setVolumeOwnership).mockReturnValue({ success: false, error: 'operation not permitted' });\n expect(() => adoptHostLocalDataIntoVolumes(\n [{ service: 'immudb', hostPath: '/h/immudb', volumeName: 'v-immudb', requiredOwner: '3322:3322' }],\n log,\n )).toThrow(/could not set owner 3322:3322/);\n });\n\n it('reads the required owner from compose `user:`, falling back to the IMAGE declaration', () => {\n // Both sources are load-bearing in this stack: mongod declares its user in compose, immudb on\n // its image. Reading only one of them misses half the population.\n makeSaasRootWithHostData(['postgresql']);\n vi.mocked(DockerUtils.listVolumeEntries).mockReturnValue({ success: true, entries: [] });\n vi.mocked(DockerUtils.runDockerCompose).mockReturnValue(JSON.stringify({\n services: { postgresql: { image: 'pgvector/pgvector:pg17' } },\n }));\n vi.mocked(DockerUtils.readImageDeclaredUser).mockReturnValue({ success: true, user: '999:999' });\n\n expect(describeUnadoptedHostLocalData(localVolumeEnv)[0].requiredOwner).toBe('999:999');\n });\n\n it('refuses to GUESS a user given as a name, and treats root as nothing to do', () => {\n // A wrong number written across a whole datadir is worse than an unset owner, and `0:0` is\n // already what a root entrypoint produces.\n makeSaasRootWithHostData(['postgresql']);\n vi.mocked(DockerUtils.listVolumeEntries).mockReturnValue({ success: true, entries: [] });\n\n for (const declared of ['mongodb', '0', '0:0', '']) {\n vi.mocked(DockerUtils.runDockerCompose).mockReturnValue(JSON.stringify({\n services: { postgresql: { image: 'img', user: declared } },\n }));\n vi.mocked(DockerUtils.readImageDeclaredUser).mockReturnValue({ success: true, user: '' });\n expect(describeUnadoptedHostLocalData(localVolumeEnv)[0].requiredOwner).toBeNull();\n }\n });\n });\n});\n"]}
|
|
@@ -26,6 +26,17 @@
|
|
|
26
26
|
* everything else is reported with the consequence an operator needs in order
|
|
27
27
|
* to decide. A service the catalog does not classify at all — `otel-collector`
|
|
28
28
|
* today — is reported, never repaired: unknown is not a licence to act.
|
|
29
|
+
*
|
|
30
|
+
* CRASH LOOPS ARE REPORTED TOO, and never repaired (2026-09-25). The first version of this watch
|
|
31
|
+
* left a restarting container to "the surrounding lanes", on the premise that Docker CAN restart
|
|
32
|
+
* it. None of those lanes watches a running session, and restarting is not repairing: on
|
|
33
|
+
* 2026-09-24 mongod segfaulted, left a journal record recovery could not parse, and was restarted
|
|
34
|
+
* 243 times over 88 minutes while this watch said nothing. Between restarts it read
|
|
35
|
+
* `running`/`starting`, never `unhealthy`, so the health half was blind to it by construction. The
|
|
36
|
+
* signal is Docker's RESTART COUNT, and the report carries the container's last failure line,
|
|
37
|
+
* which is the only copy that survives if a later re-render removes the container. Never
|
|
38
|
+
* recreated: a fault that survives a restart survives a recreate, and a recreate of a stateful
|
|
39
|
+
* service is the destructive act the catalog exists to gate.
|
|
29
40
|
*/
|
|
30
41
|
import type { Logger } from '../../../kernel/types';
|
|
31
42
|
import type { LiveRecreateClassification } from '../../../services/catalog/service-catalog.schemas';
|
|
@@ -43,6 +54,10 @@ export interface BackingServiceHealthWatchOptions {
|
|
|
43
54
|
* treats as "report, never repair".
|
|
44
55
|
*/
|
|
45
56
|
readonly resolveRecreateSafety?: (service: string) => LiveRecreateClassification | null;
|
|
57
|
+
/** Injected for tests; defaults to `docker inspect` restart counts, keyed by container name. */
|
|
58
|
+
readonly readRestartCounts?: (containerNames: readonly string[]) => Map<string, number>;
|
|
59
|
+
/** Injected for tests; defaults to the last failure-looking line of `docker logs`. */
|
|
60
|
+
readonly readLastFailureLine?: (containerName: string) => string | null;
|
|
46
61
|
readonly now?: () => number;
|
|
47
62
|
readonly schedule?: (callback: () => void, delayMs: number) => unknown;
|
|
48
63
|
readonly cancelScheduled?: (handle: unknown) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backing-service-health-watch.d.ts","sourceRoot":"","sources":["../../../../../../../src/services/deployment/docker/backing-service-health-watch.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"backing-service-health-watch.d.ts","sourceRoot":"","sources":["../../../../../../../src/services/deployment/docker/backing-service-health-watch.ts"],"names":[],"mappings":"AAAA;;;;;;;;;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AC;IACd,IAAI,IAAI,IAAI,CAAC;CACd;AAED,wBAAgB,+BAA+B,CAC7C,OAAO,EAAE,gCAAgC,GACxC,yBAAyB,CAqN3B"}
|
|
@@ -26,10 +26,21 @@
|
|
|
26
26
|
* everything else is reported with the consequence an operator needs in order
|
|
27
27
|
* to decide. A service the catalog does not classify at all — `otel-collector`
|
|
28
28
|
* today — is reported, never repaired: unknown is not a licence to act.
|
|
29
|
+
*
|
|
30
|
+
* CRASH LOOPS ARE REPORTED TOO, and never repaired (2026-09-25). The first version of this watch
|
|
31
|
+
* left a restarting container to "the surrounding lanes", on the premise that Docker CAN restart
|
|
32
|
+
* it. None of those lanes watches a running session, and restarting is not repairing: on
|
|
33
|
+
* 2026-09-24 mongod segfaulted, left a journal record recovery could not parse, and was restarted
|
|
34
|
+
* 243 times over 88 minutes while this watch said nothing. Between restarts it read
|
|
35
|
+
* `running`/`starting`, never `unhealthy`, so the health half was blind to it by construction. The
|
|
36
|
+
* signal is Docker's RESTART COUNT, and the report carries the container's last failure line,
|
|
37
|
+
* which is the only copy that survives if a later re-render removes the container. Never
|
|
38
|
+
* recreated: a fault that survives a restart survives a recreate, and a recreate of a stateful
|
|
39
|
+
* service is the destructive act the catalog exists to gate.
|
|
29
40
|
*/
|
|
30
41
|
import { INFRA_SERVICE_CATALOG, LiveRecreateSafety } from '../../../services/catalog/service-catalog.schemas.js';
|
|
31
42
|
import { DockerUtils } from './docker.service.js';
|
|
32
|
-
import { COMPOSE_HEALTH_HEALTHY, COMPOSE_HEALTH_UNHEALTHY, parseRunningServiceHealth } from './compose-service-health.js';
|
|
43
|
+
import { COMPOSE_HEALTH_HEALTHY, COMPOSE_HEALTH_UNHEALTHY, parseComposeServiceContainers, parseRunningServiceHealth, } from './compose-service-health.js';
|
|
33
44
|
/**
|
|
34
45
|
* Slow enough to be invisible next to a dev loop's own output, fast enough that
|
|
35
46
|
* a death is announced while the developer is still holding the context that
|
|
@@ -43,6 +54,12 @@ const DEFAULT_POLL_INTERVAL_MS = 30_000;
|
|
|
43
54
|
* a warning worthless.
|
|
44
55
|
*/
|
|
45
56
|
const DEFAULT_REMINDER_INTERVAL_MS = 300_000;
|
|
57
|
+
/**
|
|
58
|
+
* Consecutive polls without a new restart before a crash loop is announced as over. More than one,
|
|
59
|
+
* because Docker's restart back-off grows between attempts and can outlast a single poll interval,
|
|
60
|
+
* so one quiet poll is not evidence that the loop ended.
|
|
61
|
+
*/
|
|
62
|
+
const QUIET_POLLS_BEFORE_CRASH_LOOP_CLEARS = 3;
|
|
46
63
|
export function createBackingServiceHealthWatch(options) {
|
|
47
64
|
const pollIntervalMs = options.pollIntervalMs ?? DEFAULT_POLL_INTERVAL_MS;
|
|
48
65
|
const reminderIntervalMs = options.reminderIntervalMs ?? DEFAULT_REMINDER_INTERVAL_MS;
|
|
@@ -54,6 +71,14 @@ export function createBackingServiceHealthWatch(options) {
|
|
|
54
71
|
?? ((handle) => clearInterval(handle));
|
|
55
72
|
const resolveRecreateSafety = options.resolveRecreateSafety
|
|
56
73
|
?? ((service) => INFRA_SERVICE_CATALOG[service]?.liveRecreate ?? null);
|
|
74
|
+
const readRestartCounts = options.readRestartCounts ?? ((names) => DockerUtils.readRestartCounts(names));
|
|
75
|
+
const readLastFailureLine = options.readLastFailureLine ?? ((name) => DockerUtils.readLastFailureLine(name));
|
|
76
|
+
/** service -> restart count at the previous poll. The first reading is a BASELINE, never an alarm. */
|
|
77
|
+
const lastRestartCount = new Map();
|
|
78
|
+
/** service -> when its crash loop was last REPORTED. */
|
|
79
|
+
const crashReportedAt = new Map();
|
|
80
|
+
/** service -> consecutive polls with no new restart while a crash loop is reported. */
|
|
81
|
+
const quietPolls = new Map();
|
|
57
82
|
/** service -> when it was last REPORTED, so a long outage re-announces itself. */
|
|
58
83
|
const reportedAt = new Map();
|
|
59
84
|
/**
|
|
@@ -106,10 +131,57 @@ export function createBackingServiceHealthWatch(options) {
|
|
|
106
131
|
return `Not recreated automatically: ${classification.consequence}. `
|
|
107
132
|
+ `Run '${recreateCommand(service)}' when that is acceptable.`;
|
|
108
133
|
};
|
|
134
|
+
/**
|
|
135
|
+
* Reports containers Docker keeps restarting. Never repairs them — see the file header.
|
|
136
|
+
*/
|
|
137
|
+
const watchRestarts = (containers, at) => {
|
|
138
|
+
let counts;
|
|
139
|
+
try {
|
|
140
|
+
counts = readRestartCounts([...containers.values()]);
|
|
141
|
+
}
|
|
142
|
+
catch {
|
|
143
|
+
return;
|
|
144
|
+
}
|
|
145
|
+
for (const [service, container] of containers) {
|
|
146
|
+
const count = counts.get(container);
|
|
147
|
+
if (count === undefined)
|
|
148
|
+
continue;
|
|
149
|
+
const previous = lastRestartCount.get(service);
|
|
150
|
+
lastRestartCount.set(service, count);
|
|
151
|
+
if (previous === undefined)
|
|
152
|
+
continue;
|
|
153
|
+
if (count > previous) {
|
|
154
|
+
quietPolls.delete(service);
|
|
155
|
+
const lastReported = crashReportedAt.get(service);
|
|
156
|
+
if (lastReported !== undefined && at - lastReported < reminderIntervalMs)
|
|
157
|
+
continue;
|
|
158
|
+
crashReportedAt.set(service, at);
|
|
159
|
+
const failure = readLastFailureLine(container);
|
|
160
|
+
options.log.error(` ${service} keeps RESTARTING (${count} restarts, ${count - previous} since the last check). `
|
|
161
|
+
+ 'Docker restarts it, but a fault that survives a restart is not repaired by one, and it is NOT '
|
|
162
|
+
+ 'recreated automatically. '
|
|
163
|
+
+ (failure ? `Its last failure line: ${failure} ` : '')
|
|
164
|
+
+ `Read 'docker logs ${container} --tail 100' before anything removes the container.`);
|
|
165
|
+
continue;
|
|
166
|
+
}
|
|
167
|
+
if (crashReportedAt.has(service)) {
|
|
168
|
+
const quiet = (quietPolls.get(service) ?? 0) + 1;
|
|
169
|
+
quietPolls.set(service, quiet);
|
|
170
|
+
if (quiet >= QUIET_POLLS_BEFORE_CRASH_LOOP_CLEARS) {
|
|
171
|
+
crashReportedAt.delete(service);
|
|
172
|
+
quietPolls.delete(service);
|
|
173
|
+
options.log.success(` ${service} has stopped restarting (${count} restarts in total).`);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
};
|
|
109
178
|
const tick = () => {
|
|
179
|
+
let psOutput;
|
|
110
180
|
let health;
|
|
111
181
|
try {
|
|
112
|
-
|
|
182
|
+
// `--all`: a container between restarts is `restarting`, which a running-only listing may omit.
|
|
183
|
+
psOutput = runCompose(options.infraCtx, ['ps', '--all', '--format', 'json']);
|
|
184
|
+
health = parseRunningServiceHealth(psOutput);
|
|
113
185
|
}
|
|
114
186
|
catch {
|
|
115
187
|
// A watch that cannot ask must never take the dev loop down with it, and
|
|
@@ -117,6 +189,7 @@ export function createBackingServiceHealthWatch(options) {
|
|
|
117
189
|
return;
|
|
118
190
|
}
|
|
119
191
|
const at = now();
|
|
192
|
+
watchRestarts(parseComposeServiceContainers(psOutput), at);
|
|
120
193
|
const unhealthy = [...health.entries()]
|
|
121
194
|
.filter(([, status]) => status === COMPOSE_HEALTH_UNHEALTHY)
|
|
122
195
|
.map(([service]) => service);
|
|
@@ -175,6 +248,9 @@ export function createBackingServiceHealthWatch(options) {
|
|
|
175
248
|
handle = null;
|
|
176
249
|
reportedAt.clear();
|
|
177
250
|
repairAttempted.clear();
|
|
251
|
+
lastRestartCount.clear();
|
|
252
|
+
crashReportedAt.clear();
|
|
253
|
+
quietPolls.clear();
|
|
178
254
|
},
|
|
179
255
|
};
|
|
180
256
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backing-service-health-watch.js","sourceRoot":"","sources":["../../../../../../../src/services/deployment/docker/backing-service-health-watch.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAIH,OAAO,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,MAAM,qDAAqD,CAAC;AAGhH,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,0BAA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died.\n *\n * WHY THIS EXISTS, measured 2026-09-17 on the Wonder Todos local stack.\n *\n * The Docker VM took a global OOM at 05:42 and the kernel chose `clamd`. The\n * upstream `clamav/clamav` entrypoint ends `clamd --foreground &` and then\n * `exec tail -f /dev/null`, so PID 1 outlived the service: `tail` and\n * `freshclam` kept running, `clamd` became a zombie, and the container reported\n * `Up 22 hours`. `restart: unless-stopped` fires on a container EXITING, so it\n * could never reach this. The healthcheck detected it perfectly — 226\n * consecutive failures — and Compose has no restart-on-unhealthy, so the\n * detection was wired to nothing.\n *\n * File-upload malware scanning was therefore absent for 3.8 hours with an\n * application live in front of it, and NOTHING SAID SO. At the time of writing\n * this watch, no surface in the repository reported a running-but-unhealthy\n * container: not `wildo local doctor`, not `wt-status`, not the dev observer.\n * The outage surfaced only when the next `wildo local dev` ran `up --wait`.\n *\n * REPAIR IS PER-SERVICE, and the catalog decides. The converge-time lane may\n * recreate anything, because nothing is connected yet. Here an application is\n * live, so replacing a container drops every connection it holds — which is\n * free for `clamav` and destructive for `postgresql`. `LiveRecreateSafety` on\n * the infra catalog is what tells them apart (#1266); only `SAFE` is repaired,\n * everything else is reported with the consequence an operator needs in order\n * to decide. A service the catalog does not classify at all — `otel-collector`\n * today — is reported, never repaired: unknown is not a licence to act.\n */\n\nimport type { Logger } from '~wildo-cli/kernel/types';\nimport type { LiveRecreateClassification } from '~wildo-cli/services/catalog/service-catalog.schemas';\nimport { INFRA_SERVICE_CATALOG, LiveRecreateSafety } from '~wildo-cli/services/catalog/service-catalog.schemas';\nimport type { PlatformDataServices } from '~wildo-cli/services/data-services/data-services.schemas';\nimport type { PlatformRuntimeContext } from './docker.schemas';\nimport { DockerUtils } from './docker.service';\nimport { COMPOSE_HEALTH_HEALTHY, COMPOSE_HEALTH_UNHEALTHY, parseRunningServiceHealth } from './compose-service-health';\n\n/**\n * Slow enough to be invisible next to a dev loop's own output, fast enough that\n * a death is announced while the developer is still holding the context that\n * makes it meaningful.\n */\nconst DEFAULT_POLL_INTERVAL_MS = 30_000;\n\n/**\n * A single line at minute one scrolls out of a busy dev log and is very nearly\n * as silent as no line at all, so an outage keeps saying so. Slow enough not to\n * become noise the reader learns to skip — which is the failure mode that makes\n * a warning worthless.\n */\nconst DEFAULT_REMINDER_INTERVAL_MS = 300_000;\n\nexport interface BackingServiceHealthWatchOptions {\n readonly infraCtx: PlatformRuntimeContext;\n readonly log: Logger;\n readonly pollIntervalMs?: number;\n readonly reminderIntervalMs?: number;\n /** Injected for tests; defaults to the real Compose invocation. */\n readonly runCompose?: (infraCtx: PlatformRuntimeContext, args: string[]) => string;\n /**\n * How a compose service name is classified. Defaults to the infra catalog;\n * returns `null` for a service the catalog does not describe, which the watch\n * treats as \"report, never repair\".\n */\n readonly resolveRecreateSafety?: (service: string) => LiveRecreateClassification | null;\n readonly now?: () => number;\n readonly schedule?: (callback: () => void, delayMs: number) => unknown;\n readonly cancelScheduled?: (handle: unknown) => void;\n}\n\nexport interface BackingServiceHealthWatch {\n start(): void;\n stop(): void;\n}\n\nexport function createBackingServiceHealthWatch(\n options: BackingServiceHealthWatchOptions,\n): BackingServiceHealthWatch {\n const pollIntervalMs = options.pollIntervalMs ?? DEFAULT_POLL_INTERVAL_MS;\n const reminderIntervalMs = options.reminderIntervalMs ?? DEFAULT_REMINDER_INTERVAL_MS;\n const runCompose = options.runCompose\n ?? ((infraCtx, args) => DockerUtils.runDockerCompose(infraCtx, args));\n const now = options.now ?? Date.now;\n const schedule = options.schedule ?? ((callback, delayMs) => setInterval(callback, delayMs));\n const cancelScheduled = options.cancelScheduled\n ?? ((handle) => clearInterval(handle as ReturnType<typeof setInterval>));\n const resolveRecreateSafety = options.resolveRecreateSafety\n ?? ((service: string) => INFRA_SERVICE_CATALOG[service as PlatformDataServices]?.liveRecreate ?? null);\n\n /** service -> when it was last REPORTED, so a long outage re-announces itself. */\n const reportedAt = new Map<string, number>();\n /**\n * Services already repaired during the CURRENT unhealthy episode. Cleared when\n * a service recovers, so a later relapse is repaired again — but a repair that\n * did not take is never retried in a loop, which would turn a broken container\n * into a container that is also being restarted every thirty seconds.\n */\n const repairAttempted = new Set<string>();\n let handle: unknown = null;\n\n const recreateCommand = (service: string): string =>\n `docker compose up -d --force-recreate ${service}`;\n\n /**\n * Replace a SAFE service, once per unhealthy episode.\n *\n * Returns whether the recreate command succeeded — not whether the service is\n * healthy again. The next tick answers that, and letting the tick answer it is\n * what keeps this from becoming a second, blocking wait inside a watch.\n */\n const repair = (service: string, consequence: string): void => {\n repairAttempted.add(service);\n options.log.warn(\n ` ${service} is running but UNHEALTHY — the container outlived the service it provides, `\n + `which Docker's restart policy cannot reach. Recreating it: ${consequence}`,\n );\n try {\n // DELIBERATELY NOT `buildLocalComposeConvergeArgs`, whose whole point is\n // that the package spells a CONVERGENCE in exactly one place. This is not\n // a convergence: it is a targeted replacement of one named container, and\n // the difference that matters is `--remove-orphans`, which the builder\n // always appends. Every application renders its compose under the same\n // project name, so an orphan reap from a background timer could remove\n // ANOTHER application's running containers (#1126) — mid-session, with\n // nobody watching. A watch may replace what it was asked about and\n // nothing else.\n // compose-converge-waiver: a watch may replace what it was asked about and NOTHING else, so this\n // is the one convergence that must not carry `--remove-orphans` (see the paragraph above, #1126).\n runCompose(options.infraCtx, ['up', '-d', '--force-recreate', service]);\n options.log.info(` Recreated ${service}; the next check will say whether it came back.`);\n } catch {\n // Report, never retry. A recreate that fails is a real fault, and a watch\n // that keeps trying turns it into a container restarted every tick.\n options.log.error(\n ` Recreating ${service} FAILED. Run '${recreateCommand(service)}' by hand and read its output.`,\n );\n }\n };\n\n /** Why this service was NOT repaired, and what it costs to do it deliberately. */\n const describeWhyNotRepaired = (\n service: string,\n classification: LiveRecreateClassification | null,\n ): string => {\n if (classification === null) {\n return `It is not in the infra catalog, so nothing describes what recreating it would cost — `\n + `it is left alone. Run '${recreateCommand(service)}' if you know it is safe.`;\n }\n return `Not recreated automatically: ${classification.consequence}. `\n + `Run '${recreateCommand(service)}' when that is acceptable.`;\n };\n\n const tick = (): void => {\n let health: Map<string, string>;\n try {\n health = parseRunningServiceHealth(\n runCompose(options.infraCtx, ['ps', '--format', 'json']),\n );\n } catch {\n // A watch that cannot ask must never take the dev loop down with it, and\n // must not claim health either — it simply says nothing this tick.\n return;\n }\n\n const at = now();\n const unhealthy = [...health.entries()]\n .filter(([, status]) => status === COMPOSE_HEALTH_UNHEALTHY)\n .map(([service]) => service);\n\n for (const service of [...reportedAt.keys()]) {\n const status = health.get(service);\n if (status === COMPOSE_HEALTH_HEALTHY) {\n reportedAt.delete(service);\n repairAttempted.delete(service);\n options.log.success(` ${service} is healthy again.`);\n continue;\n }\n if (status === undefined) {\n // No longer running at all. Not a recovery, and not this watch's\n // subject — forget it silently rather than announce a health it does\n // not have.\n reportedAt.delete(service);\n repairAttempted.delete(service);\n }\n // Anything else — `starting`, or an empty health — is neither a fault nor\n // a recovery, so it is left tracked and unannounced. Claiming recovery\n // here is the defect this shape exists to avoid: a repaired container\n // leaves the unhealthy set within seconds and can take MINUTES to become\n // healthy, and it may still end up unhealthy.\n }\n\n for (const service of unhealthy) {\n const classification = resolveRecreateSafety(service);\n\n if (\n classification?.safety === LiveRecreateSafety.SAFE\n && !repairAttempted.has(service)\n ) {\n reportedAt.set(service, at);\n repair(service, classification.consequence);\n continue;\n }\n\n const lastReported = reportedAt.get(service);\n if (lastReported !== undefined && at - lastReported < reminderIntervalMs) continue;\n reportedAt.set(service, at);\n options.log.warn(\n lastReported === undefined\n ? ` ${service} is running but UNHEALTHY — the container outlived the service it `\n + `provides, which Docker's restart policy cannot reach. `\n + describeWhyNotRepaired(service, classification)\n : ` ${service} is STILL unhealthy after `\n + `${Math.round((at - lastReported) / 60_000)}m. `\n + describeWhyNotRepaired(service, classification),\n );\n }\n };\n\n return {\n start(): void {\n if (handle !== null) return;\n handle = schedule(tick, pollIntervalMs);\n },\n stop(): void {\n if (handle === null) return;\n cancelScheduled(handle);\n handle = null;\n reportedAt.clear();\n repairAttempted.clear();\n },\n };\n}\n"]}
|
|
1
|
+
{"version":3,"file":"backing-service-health-watch.js","sourceRoot":"","sources":["../../../../../../../src/services/deployment/docker/backing-service-health-watch.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AAIH,OAAO,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,MAAM,qDAAqD,CAAC;AAGhH,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EACL,sBAAsB,EACtB,wBAAwB,EACxB,6BAA6B,EAC7B,yBAAyB,GAC1B,MAAM,0BAA0B,CAAC;AAElC;;;;GAIG;AACH,MAAM,wBAAwB,GAAG,MAAM,CAAC;AAExC;;;;;GAKG;AACH,MAAM,4BAA4B,GAAG,OAAO,CAAC;AAE7C;;;;GAIG;AACH,MAAM,oCAAoC,GAAG,CAAC,CAAC;AA6B/C,MAAM,UAAU,+BAA+B,CAC7C,OAAyC;IAEzC,MAAM,cAAc,GAAG,OAAO,CAAC,cAAc,IAAI,wBAAwB,CAAC;IAC1E,MAAM,kBAAkB,GAAG,OAAO,CAAC,kBAAkB,IAAI,4BAA4B,CAAC;IACtF,MAAM,UAAU,GAAG,OAAO,CAAC,UAAU;WAChC,CAAC,CAAC,QAAQ,EAAE,IAAI,EAAE,EAAE,CAAC,WAAW,CAAC,gBAAgB,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC,CAAC;IACxE,MAAM,GAAG,GAAG,OAAO,CAAC,GAAG,IAAI,IAAI,CAAC,GAAG,CAAC;IACpC,MAAM,QAAQ,GAAG,OAAO,CAAC,QAAQ,IAAI,CAAC,CAAC,QAAQ,EAAE,OAAO,EAAE,EAAE,CAAC,WAAW,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC;IAC7F,MAAM,eAAe,GAAG,OAAO,CAAC,eAAe;WAC1C,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,aAAa,CAAC,MAAwC,CAAC,CAAC,CAAC;IAC3E,MAAM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AM,KAAK,IAAI;gBAAE,OAAO;YAC5B,MAAM,GAAG,QAAQ,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC;QAC1C,CAAC;QACD,IAAI;YACF,IAAI,MAAM,KAAK,IAAI;gBAAE,OAAO;YAC5B,eAAe,CAAC,MAAM,CAAC,CAAC;YACxB,MAAM,GAAG,IAAI,CAAC;YACd,UAAU,CAAC,KAAK,EAAE,CAAC;YACnB,eAAe,CAAC,KAAK,EAAE,CAAC;YACxB,gBAAgB,CAAC,KAAK,EAAE,CAAC;YACzB,eAAe,CAAC,KAAK,EAAE,CAAC;YACxB,UAAU,CAAC,KAAK,EAAE,CAAC;QACrB,CAAC;KACF,CAAC;AACJ,CAAC","sourcesContent":["/**\n * Says out loud, while the stack is running, that a backing service has died.\n *\n * WHY THIS EXISTS, measured 2026-09-17 on the Wonder Todos local stack.\n *\n * The Docker VM took a global OOM at 05:42 and the kernel chose `clamd`. The\n * upstream `clamav/clamav` entrypoint ends `clamd --foreground &` and then\n * `exec tail -f /dev/null`, so PID 1 outlived the service: `tail` and\n * `freshclam` kept running, `clamd` became a zombie, and the container reported\n * `Up 22 hours`. `restart: unless-stopped` fires on a container EXITING, so it\n * could never reach this. The healthcheck detected it perfectly — 226\n * consecutive failures — and Compose has no restart-on-unhealthy, so the\n * detection was wired to nothing.\n *\n * File-upload malware scanning was therefore absent for 3.8 hours with an\n * application live in front of it, and NOTHING SAID SO. At the time of writing\n * this watch, no surface in the repository reported a running-but-unhealthy\n * container: not `wildo local doctor`, not `wt-status`, not the dev observer.\n * The outage surfaced only when the next `wildo local dev` ran `up --wait`.\n *\n * REPAIR IS PER-SERVICE, and the catalog decides. The converge-time lane may\n * recreate anything, because nothing is connected yet. Here an application is\n * live, so replacing a container drops every connection it holds — which is\n * free for `clamav` and destructive for `postgresql`. `LiveRecreateSafety` on\n * the infra catalog is what tells them apart (#1266); only `SAFE` is repaired,\n * everything else is reported with the consequence an operator needs in order\n * to decide. A service the catalog does not classify at all — `otel-collector`\n * today — is reported, never repaired: unknown is not a licence to act.\n *\n * CRASH LOOPS ARE REPORTED TOO, and never repaired (2026-09-25). The first version of this watch\n * left a restarting container to \"the surrounding lanes\", on the premise that Docker CAN restart\n * it. None of those lanes watches a running session, and restarting is not repairing: on\n * 2026-09-24 mongod segfaulted, left a journal record recovery could not parse, and was restarted\n * 243 times over 88 minutes while this watch said nothing. Between restarts it read\n * `running`/`starting`, never `unhealthy`, so the health half was blind to it by construction. The\n * signal is Docker's RESTART COUNT, and the report carries the container's last failure line,\n * which is the only copy that survives if a later re-render removes the container. Never\n * recreated: a fault that survives a restart survives a recreate, and a recreate of a stateful\n * service is the destructive act the catalog exists to gate.\n */\n\nimport type { Logger } from '~wildo-cli/kernel/types';\nimport type { LiveRecreateClassification } from '~wildo-cli/services/catalog/service-catalog.schemas';\nimport { INFRA_SERVICE_CATALOG, LiveRecreateSafety } from '~wildo-cli/services/catalog/service-catalog.schemas';\nimport type { PlatformDataServices } from '~wildo-cli/services/data-services/data-services.schemas';\nimport type { PlatformRuntimeContext } from './docker.schemas';\nimport { DockerUtils } from './docker.service';\nimport {\n COMPOSE_HEALTH_HEALTHY,\n COMPOSE_HEALTH_UNHEALTHY,\n parseComposeServiceContainers,\n parseRunningServiceHealth,\n} from './compose-service-health';\n\n/**\n * Slow enough to be invisible next to a dev loop's own output, fast enough that\n * a death is announced while the developer is still holding the context that\n * makes it meaningful.\n */\nconst DEFAULT_POLL_INTERVAL_MS = 30_000;\n\n/**\n * A single line at minute one scrolls out of a busy dev log and is very nearly\n * as silent as no line at all, so an outage keeps saying so. Slow enough not to\n * become noise the reader learns to skip — which is the failure mode that makes\n * a warning worthless.\n */\nconst DEFAULT_REMINDER_INTERVAL_MS = 300_000;\n\n/**\n * Consecutive polls without a new restart before a crash loop is announced as over. More than one,\n * because Docker's restart back-off grows between attempts and can outlast a single poll interval,\n * so one quiet poll is not evidence that the loop ended.\n */\nconst QUIET_POLLS_BEFORE_CRASH_LOOP_CLEARS = 3;\n\nexport interface BackingServiceHealthWatchOptions {\n readonly infraCtx: PlatformRuntimeContext;\n readonly log: Logger;\n readonly pollIntervalMs?: number;\n readonly reminderIntervalMs?: number;\n /** Injected for tests; defaults to the real Compose invocation. */\n readonly runCompose?: (infraCtx: PlatformRuntimeContext, args: string[]) => string;\n /**\n * How a compose service name is classified. Defaults to the infra catalog;\n * returns `null` for a service the catalog does not describe, which the watch\n * treats as \"report, never repair\".\n */\n readonly resolveRecreateSafety?: (service: string) => LiveRecreateClassification | null;\n /** Injected for tests; defaults to `docker inspect` restart counts, keyed by container name. */\n readonly readRestartCounts?: (containerNames: readonly string[]) => Map<string, number>;\n /** Injected for tests; defaults to the last failure-looking line of `docker logs`. */\n readonly readLastFailureLine?: (containerName: string) => string | null;\n readonly now?: () => number;\n readonly schedule?: (callback: () => void, delayMs: number) => unknown;\n readonly cancelScheduled?: (handle: unknown) => void;\n}\n\nexport interface BackingServiceHealthWatch {\n start(): void;\n stop(): void;\n}\n\nexport function createBackingServiceHealthWatch(\n options: BackingServiceHealthWatchOptions,\n): BackingServiceHealthWatch {\n const pollIntervalMs = options.pollIntervalMs ?? DEFAULT_POLL_INTERVAL_MS;\n const reminderIntervalMs = options.reminderIntervalMs ?? DEFAULT_REMINDER_INTERVAL_MS;\n const runCompose = options.runCompose\n ?? ((infraCtx, args) => DockerUtils.runDockerCompose(infraCtx, args));\n const now = options.now ?? Date.now;\n const schedule = options.schedule ?? ((callback, delayMs) => setInterval(callback, delayMs));\n const cancelScheduled = options.cancelScheduled\n ?? ((handle) => clearInterval(handle as ReturnType<typeof setInterval>));\n const resolveRecreateSafety = options.resolveRecreateSafety\n ?? ((service: string) => INFRA_SERVICE_CATALOG[service as PlatformDataServices]?.liveRecreate ?? null);\n const readRestartCounts = options.readRestartCounts ?? ((names) => DockerUtils.readRestartCounts(names));\n const readLastFailureLine = options.readLastFailureLine ?? ((name) => DockerUtils.readLastFailureLine(name));\n\n /** service -> restart count at the previous poll. The first reading is a BASELINE, never an alarm. */\n const lastRestartCount = new Map<string, number>();\n /** service -> when its crash loop was last REPORTED. */\n const crashReportedAt = new Map<string, number>();\n /** service -> consecutive polls with no new restart while a crash loop is reported. */\n const quietPolls = new Map<string, number>();\n\n /** service -> when it was last REPORTED, so a long outage re-announces itself. */\n const reportedAt = new Map<string, number>();\n /**\n * Services already repaired during the CURRENT unhealthy episode. Cleared when\n * a service recovers, so a later relapse is repaired again — but a repair that\n * did not take is never retried in a loop, which would turn a broken container\n * into a container that is also being restarted every thirty seconds.\n */\n const repairAttempted = new Set<string>();\n let handle: unknown = null;\n\n const recreateCommand = (service: string): string =>\n `docker compose up -d --force-recreate ${service}`;\n\n /**\n * Replace a SAFE service, once per unhealthy episode.\n *\n * Returns whether the recreate command succeeded — not whether the service is\n * healthy again. The next tick answers that, and letting the tick answer it is\n * what keeps this from becoming a second, blocking wait inside a watch.\n */\n const repair = (service: string, consequence: string): void => {\n repairAttempted.add(service);\n options.log.warn(\n ` ${service} is running but UNHEALTHY — the container outlived the service it provides, `\n + `which Docker's restart policy cannot reach. Recreating it: ${consequence}`,\n );\n try {\n // DELIBERATELY NOT `buildLocalComposeConvergeArgs`, whose whole point is\n // that the package spells a CONVERGENCE in exactly one place. This is not\n // a convergence: it is a targeted replacement of one named container, and\n // the difference that matters is `--remove-orphans`, which the builder\n // always appends. Every application renders its compose under the same\n // project name, so an orphan reap from a background timer could remove\n // ANOTHER application's running containers (#1126) — mid-session, with\n // nobody watching. A watch may replace what it was asked about and\n // nothing else.\n // compose-converge-waiver: a watch may replace what it was asked about and NOTHING else, so this\n // is the one convergence that must not carry `--remove-orphans` (see the paragraph above, #1126).\n runCompose(options.infraCtx, ['up', '-d', '--force-recreate', service]);\n options.log.info(` Recreated ${service}; the next check will say whether it came back.`);\n } catch {\n // Report, never retry. A recreate that fails is a real fault, and a watch\n // that keeps trying turns it into a container restarted every tick.\n options.log.error(\n ` Recreating ${service} FAILED. Run '${recreateCommand(service)}' by hand and read its output.`,\n );\n }\n };\n\n /** Why this service was NOT repaired, and what it costs to do it deliberately. */\n const describeWhyNotRepaired = (\n service: string,\n classification: LiveRecreateClassification | null,\n ): string => {\n if (classification === null) {\n return `It is not in the infra catalog, so nothing describes what recreating it would cost — `\n + `it is left alone. Run '${recreateCommand(service)}' if you know it is safe.`;\n }\n return `Not recreated automatically: ${classification.consequence}. `\n + `Run '${recreateCommand(service)}' when that is acceptable.`;\n };\n\n /**\n * Reports containers Docker keeps restarting. Never repairs them — see the file header.\n */\n const watchRestarts = (containers: Map<string, string>, at: number): void => {\n let counts: Map<string, number>;\n try {\n counts = readRestartCounts([...containers.values()]);\n } catch {\n return;\n }\n for (const [service, container] of containers) {\n const count = counts.get(container);\n if (count === undefined) continue;\n const previous = lastRestartCount.get(service);\n lastRestartCount.set(service, count);\n if (previous === undefined) continue;\n\n if (count > previous) {\n quietPolls.delete(service);\n const lastReported = crashReportedAt.get(service);\n if (lastReported !== undefined && at - lastReported < reminderIntervalMs) continue;\n crashReportedAt.set(service, at);\n const failure = readLastFailureLine(container);\n options.log.error(\n ` ${service} keeps RESTARTING (${count} restarts, ${count - previous} since the last check). `\n + 'Docker restarts it, but a fault that survives a restart is not repaired by one, and it is NOT '\n + 'recreated automatically. '\n + (failure ? `Its last failure line: ${failure} ` : '')\n + `Read 'docker logs ${container} --tail 100' before anything removes the container.`,\n );\n continue;\n }\n\n if (crashReportedAt.has(service)) {\n const quiet = (quietPolls.get(service) ?? 0) + 1;\n quietPolls.set(service, quiet);\n if (quiet >= QUIET_POLLS_BEFORE_CRASH_LOOP_CLEARS) {\n crashReportedAt.delete(service);\n quietPolls.delete(service);\n options.log.success(` ${service} has stopped restarting (${count} restarts in total).`);\n }\n }\n }\n };\n\n const tick = (): void => {\n let psOutput: string;\n let health: Map<string, string>;\n try {\n // `--all`: a container between restarts is `restarting`, which a running-only listing may omit.\n psOutput = runCompose(options.infraCtx, ['ps', '--all', '--format', 'json']);\n health = parseRunningServiceHealth(psOutput);\n } catch {\n // A watch that cannot ask must never take the dev loop down with it, and\n // must not claim health either — it simply says nothing this tick.\n return;\n }\n\n const at = now();\n watchRestarts(parseComposeServiceContainers(psOutput), at);\n const unhealthy = [...health.entries()]\n .filter(([, status]) => status === COMPOSE_HEALTH_UNHEALTHY)\n .map(([service]) => service);\n\n for (const service of [...reportedAt.keys()]) {\n const status = health.get(service);\n if (status === COMPOSE_HEALTH_HEALTHY) {\n reportedAt.delete(service);\n repairAttempted.delete(service);\n options.log.success(` ${service} is healthy again.`);\n continue;\n }\n if (status === undefined) {\n // No longer running at all. Not a recovery, and not this watch's\n // subject — forget it silently rather than announce a health it does\n // not have.\n reportedAt.delete(service);\n repairAttempted.delete(service);\n }\n // Anything else — `starting`, or an empty health — is neither a fault nor\n // a recovery, so it is left tracked and unannounced. Claiming recovery\n // here is the defect this shape exists to avoid: a repaired container\n // leaves the unhealthy set within seconds and can take MINUTES to become\n // healthy, and it may still end up unhealthy.\n }\n\n for (const service of unhealthy) {\n const classification = resolveRecreateSafety(service);\n\n if (\n classification?.safety === LiveRecreateSafety.SAFE\n && !repairAttempted.has(service)\n ) {\n reportedAt.set(service, at);\n repair(service, classification.consequence);\n continue;\n }\n\n const lastReported = reportedAt.get(service);\n if (lastReported !== undefined && at - lastReported < reminderIntervalMs) continue;\n reportedAt.set(service, at);\n options.log.warn(\n lastReported === undefined\n ? ` ${service} is running but UNHEALTHY — the container outlived the service it `\n + `provides, which Docker's restart policy cannot reach. `\n + describeWhyNotRepaired(service, classification)\n : ` ${service} is STILL unhealthy after `\n + `${Math.round((at - lastReported) / 60_000)}m. `\n + describeWhyNotRepaired(service, classification),\n );\n }\n };\n\n return {\n start(): void {\n if (handle !== null) return;\n handle = schedule(tick, pollIntervalMs);\n },\n stop(): void {\n if (handle === null) return;\n cancelScheduled(handle);\n handle = null;\n reportedAt.clear();\n repairAttempted.clear();\n lastRestartCount.clear();\n crashReportedAt.clear();\n quietPolls.clear();\n },\n };\n}\n"]}
|
|
@@ -26,6 +26,8 @@ export declare const COMPOSE_HEALTH_HEALTHY = "healthy";
|
|
|
26
26
|
/** One row of `docker compose ps --format json`. */
|
|
27
27
|
export interface ComposeServiceHealthRow {
|
|
28
28
|
Service?: string;
|
|
29
|
+
/** The container's name, which is what `docker inspect` / `docker logs` take. */
|
|
30
|
+
Name?: string;
|
|
29
31
|
State?: string;
|
|
30
32
|
/**
|
|
31
33
|
* Present only for services that DECLARE a healthcheck. Compose reports `''`
|
|
@@ -67,4 +69,12 @@ export declare function parseRunningButUnhealthyServices(output: string): string
|
|
|
67
69
|
* the unhealthy set" as health.
|
|
68
70
|
*/
|
|
69
71
|
export declare function parseRunningServiceHealth(output: string): Map<string, string>;
|
|
72
|
+
/**
|
|
73
|
+
* Compose service → container name, for EVERY listed container whatever its state.
|
|
74
|
+
*
|
|
75
|
+
* The crash-loop half of the watch needs the container, not the health: a container restarting on
|
|
76
|
+
* a fault it cannot recover from is `restarting` or briefly `running`/`starting`, never `unhealthy`,
|
|
77
|
+
* so `parseRunningServiceHealth` is blind to it by construction. Same tolerance for partial output.
|
|
78
|
+
*/
|
|
79
|
+
export declare function parseComposeServiceContainers(output: string): Map<string, string>;
|
|
70
80
|
//# sourceMappingURL=compose-service-health.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compose-service-health.d.ts","sourceRoot":"","sources":["../../../../../../../src/services/deployment/docker/compose-service-health.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,YAAY,CAAC;AAC/C,eAAO,MAAM,wBAAwB,cAAc,CAAC;AACpD;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,aAAa,CAAC;AAClD,eAAO,MAAM,sBAAsB,YAAY,CAAC;AAEhD,oDAAoD;AACpD,MAAM,WAAW,uBAAuB;IACtC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,gCAAgC,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAIzE;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,MAAM,GAAG,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAgB7E"}
|
|
1
|
+
{"version":3,"file":"compose-service-health.d.ts","sourceRoot":"","sources":["../../../../../../../src/services/deployment/docker/compose-service-health.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,YAAY,CAAC;AAC/C,eAAO,MAAM,wBAAwB,cAAc,CAAC;AACpD;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,aAAa,CAAC;AAClD,eAAO,MAAM,sBAAsB,YAAY,CAAC;AAEhD,oDAAoD;AACpD,MAAM,WAAW,uBAAuB;IACtC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,iFAAiF;IACjF,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,gCAAgC,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAIzE;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,MAAM,GAAG,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAgB7E;AAED;;;;;;GAMG;AACH,wBAAgB,6BAA6B,CAAC,MAAM,EAAE,MAAM,GAAG,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAcjF"}
|
|
@@ -76,4 +76,29 @@ export function parseRunningServiceHealth(output) {
|
|
|
76
76
|
}
|
|
77
77
|
return health;
|
|
78
78
|
}
|
|
79
|
+
/**
|
|
80
|
+
* Compose service → container name, for EVERY listed container whatever its state.
|
|
81
|
+
*
|
|
82
|
+
* The crash-loop half of the watch needs the container, not the health: a container restarting on
|
|
83
|
+
* a fault it cannot recover from is `restarting` or briefly `running`/`starting`, never `unhealthy`,
|
|
84
|
+
* so `parseRunningServiceHealth` is blind to it by construction. Same tolerance for partial output.
|
|
85
|
+
*/
|
|
86
|
+
export function parseComposeServiceContainers(output) {
|
|
87
|
+
const containers = new Map();
|
|
88
|
+
for (const line of output.split('\n')) {
|
|
89
|
+
const trimmed = line.trim();
|
|
90
|
+
if (!trimmed)
|
|
91
|
+
continue;
|
|
92
|
+
let row;
|
|
93
|
+
try {
|
|
94
|
+
row = JSON.parse(trimmed);
|
|
95
|
+
}
|
|
96
|
+
catch {
|
|
97
|
+
continue;
|
|
98
|
+
}
|
|
99
|
+
if (row.Service && row.Name)
|
|
100
|
+
containers.set(row.Service, row.Name);
|
|
101
|
+
}
|
|
102
|
+
return containers;
|
|
103
|
+
}
|
|
79
104
|
//# sourceMappingURL=compose-service-health.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compose-service-health.js","sourceRoot":"","sources":["../../../../../../../src/services/deployment/docker/compose-service-health.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH;;;;;GAKG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,SAAS,CAAC;AAC/C,MAAM,CAAC,MAAM,wBAAwB,GAAG,WAAW,CAAC;AACpD;;;;;GAKG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,UAAU,CAAC;AAClD,MAAM,CAAC,MAAM,sBAAsB,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"compose-service-health.js","sourceRoot":"","sources":["../../../../../../../src/services/deployment/docker/compose-service-health.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH;;;;;GAKG;AACH,MA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AAM,UAAU,6BAA6B,CAAC,MAAc;IAC1D,MAAM,UAAU,GAAG,IAAI,GAAG,EAAkB,CAAC;IAC7C,KAAK,MAAM,IAAI,IAAI,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC;QACtC,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC;QAC5B,IAAI,CAAC,OAAO;YAAE,SAAS;QACvB,IAAI,GAA4B,CAAC;QACjC,IAAI,CAAC;YACH,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,CAA4B,CAAC;QACvD,CAAC;QAAC,MAAM,CAAC;YACP,SAAS;QACX,CAAC;QACD,IAAI,GAAG,CAAC,OAAO,IAAI,GAAG,CAAC,IAAI;YAAE,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,OAAO,EAAE,GAAG,CAAC,IAAI,CAAC,CAAC;IACrE,CAAC;IACD,OAAO,UAAU,CAAC;AACpB,CAAC","sourcesContent":["/**\n * The one reading of Compose's health vocabulary.\n *\n * Two lanes need it and must never diverge: the converge-time repair in\n * `DockerComposeReadinessService`, and the in-session watch in\n * `backing-service-health-watch`. A predicate that decides whether a backing\n * service counts as failed is exactly the kind that gets copied and then\n * silently disagrees with itself, so it is defined here once and imported.\n */\n\n/**\n * Compose's own wire values for a container that is up, and for a healthcheck\n * that has exhausted its retries. Read at this boundary and nowhere else.\n *\n * semantic-literal-boundary: Docker Compose `ps --format json` wire values.\n */\nexport const COMPOSE_STATE_RUNNING = 'running';\nexport const COMPOSE_HEALTH_UNHEALTHY = 'unhealthy';\n/**\n * A container inside its `start_period`, or one whose probe has not yet\n * succeeded. It is neither a fault nor a recovery — measured 2026-09-17, a\n * recreated `clamav` sits here for MINUTES while it loads a 1.3 GB signature\n * database under emulation.\n */\nexport const COMPOSE_HEALTH_STARTING = 'starting';\nexport const COMPOSE_HEALTH_HEALTHY = 'healthy';\n\n/** One row of `docker compose ps --format json`. */\nexport interface ComposeServiceHealthRow {\n Service?: string;\n /** The container's name, which is what `docker inspect` / `docker logs` take. */\n Name?: string;\n State?: string;\n /**\n * Present only for services that DECLARE a healthcheck. Compose reports `''`\n * for the rest, which is why \"not healthy\" is never read as a fault — only\n * the explicit `unhealthy` is. Testing for \"not healthy\" would sweep in every\n * service that simply declares no probe.\n */\n Health?: string;\n ExitCode?: number;\n}\n\n/**\n * The services Compose reports as RUNNING and UNHEALTHY — the one state\n * Docker's own `restart:` policy cannot reach, because the container has not\n * exited and never will.\n *\n * Deliberately excludes `exited` and `restarting`: those are ordinary faults\n * that the surrounding lanes must keep reporting loudly, and folding them in\n * here would let a crash-loop be treated as a container that merely outlived\n * its service.\n *\n * Tolerant of partial output on purpose. Compose emits one JSON object per\n * line, and one unparseable line must not hide the lines that did parse — a\n * watch that returns nothing because of a single malformed row is\n * indistinguishable from a healthy stack.\n */\nexport function parseRunningButUnhealthyServices(output: string): string[] {\n return [...parseRunningServiceHealth(output).entries()]\n .filter(([, health]) => health === COMPOSE_HEALTH_UNHEALTHY)\n .map(([service]) => service);\n}\n\n/**\n * Health, per RUNNING service, exactly as Compose reports it.\n *\n * Returned instead of a pair of lists because the three answers are genuinely\n * distinct and collapsing them is how a watch comes to claim a recovery that\n * has not happened: `starting` is NOT `unhealthy`, so \"no longer in the\n * unhealthy set\" is true of a container that is still loading. Measured on the\n * live stack — a repaired `clamav` left the unhealthy set within two seconds and\n * did not become healthy for minutes.\n *\n * Services that are not running are omitted: a stopped container is the subject\n * of a different question, and including it would let a caller read \"absent from\n * the unhealthy set\" as health.\n */\nexport function parseRunningServiceHealth(output: string): Map<string, string> {\n const health = new Map<string, string>();\n for (const line of output.split('\\n')) {\n const trimmed = line.trim();\n if (!trimmed) continue;\n let row: ComposeServiceHealthRow;\n try {\n row = JSON.parse(trimmed) as ComposeServiceHealthRow;\n } catch {\n continue;\n }\n if (row.Service && row.State === COMPOSE_STATE_RUNNING) {\n health.set(row.Service, row.Health ?? '');\n }\n }\n return health;\n}\n\n/**\n * Compose service → container name, for EVERY listed container whatever its state.\n *\n * The crash-loop half of the watch needs the container, not the health: a container restarting on\n * a fault it cannot recover from is `restarting` or briefly `running`/`starting`, never `unhealthy`,\n * so `parseRunningServiceHealth` is blind to it by construction. Same tolerance for partial output.\n */\nexport function parseComposeServiceContainers(output: string): Map<string, string> {\n const containers = new Map<string, string>();\n for (const line of output.split('\\n')) {\n const trimmed = line.trim();\n if (!trimmed) continue;\n let row: ComposeServiceHealthRow;\n try {\n row = JSON.parse(trimmed) as ComposeServiceHealthRow;\n } catch {\n continue;\n }\n if (row.Service && row.Name) containers.set(row.Service, row.Name);\n }\n return containers;\n}\n"]}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { PlatformEnvSecretsJson } from '../../../services/credentials/credentials.schemas';
|
|
2
2
|
import type { PlatformEnvironmentConfiguration } from '../../../services/environment/environment.schemas';
|
|
3
3
|
import { WildoLocalDataStorage } from '@wildo-ai/platform-config-lib';
|
|
4
|
+
import { type PlatformServiceMemoryProfile } from '../../../services/catalog/service-catalog.schemas';
|
|
4
5
|
/**
|
|
5
6
|
* Slice 4 (4.3) — convenience wrapper that resolves saasRoot from the
|
|
6
7
|
* registry and pre-creates every `local_data/<service>/` subdir the
|
|
@@ -110,6 +111,14 @@ export declare function resolveLocalDataStorage(env: PlatformEnvironmentConfigur
|
|
|
110
111
|
* create and wipe at all.
|
|
111
112
|
*/
|
|
112
113
|
export declare function usesDockerVolumeLocalData(env: PlatformEnvironmentConfiguration): boolean;
|
|
114
|
+
/**
|
|
115
|
+
* The compose template's `platformServiceMemory` context: each platform block's `mem_limit` and V8
|
|
116
|
+
* heap ceiling, from the MEASURED profiles in the service catalog (#1592). Keyed by the names the
|
|
117
|
+
* template uses; INIT runs the apps-manager binary, so it takes apps-manager's profile. Exported so a
|
|
118
|
+
* test can hold every key the template references to a catalog entry — the template engine renders a
|
|
119
|
+
* missing value as an empty string, which would produce `mem_limit: m` without an error anywhere.
|
|
120
|
+
*/
|
|
121
|
+
export declare function buildPlatformServiceMemoryContext(): Record<'init' | 'appsManager' | 'crontabsBatchesManager' | 'moduleRegistry', PlatformServiceMemoryProfile>;
|
|
113
122
|
/**
|
|
114
123
|
* Compose volume name for one backing service's data, e.g.
|
|
115
124
|
* `wildo-local-data-wonder-todos-3f2a9b1c-postgresql`.
|
|
@@ -143,6 +152,25 @@ export declare function buildLocalDataVolumeName(saasRoot: string, service: stri
|
|
|
143
152
|
* Docker volume-name fragment (`[a-zA-Z0-9][a-zA-Z0-9_.-]*`) for any path.
|
|
144
153
|
*/
|
|
145
154
|
export declare function buildLocalDataVolumeScope(saasRoot: string): string;
|
|
155
|
+
/** One data mount the compose file emits in `DOCKER_VOLUME` mode: which service, which image child, which volume. */
|
|
156
|
+
export interface LocalDataVolumeMount {
|
|
157
|
+
readonly service: string;
|
|
158
|
+
/** The image's declared data child (`db` / `configdb` for mongod), absent when the service has one data directory. */
|
|
159
|
+
readonly child?: string;
|
|
160
|
+
readonly volumeName: string;
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* Every data mount, with its volume name, for the given emitted services — the one derivation the
|
|
164
|
+
* wipe, the `volumes:` declarations and host-data adoption all read.
|
|
165
|
+
*
|
|
166
|
+
* It exists because the adoption step derived its volume name by hand from the SERVICE alone, while
|
|
167
|
+
* compose mounts mongod as TWO volumes (`<scope>-mongodb-db`, `<scope>-mongodb-configdb`). On
|
|
168
|
+
* 2026-09-22 `up --adopt-host-data` therefore copied the whole `local_data/mongodb/` tree into
|
|
169
|
+
* `<scope>-mongodb`, a volume nothing mounts, and mongod started on an empty database while its data
|
|
170
|
+
* sat in the orphan. Three sites spelled the name correctly and the fourth did not; one function
|
|
171
|
+
* removes the fourth spelling.
|
|
172
|
+
*/
|
|
173
|
+
export declare function listLocalDataVolumeMounts(saasRoot: string, services: Iterable<string>): readonly LocalDataVolumeMount[];
|
|
146
174
|
/**
|
|
147
175
|
* Resolve each data mount's SOURCE for the rendered compose file.
|
|
148
176
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docker-compose-generator.service.d.ts","sourceRoot":"","sources":["../../../../../../../src/services/deployment/docker/docker-compose-generator.service.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAClG,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,qDAAqD,CAAC;AAM5G,OAAO,EAaL,qBAAqB,
|
|
1
|
+
{"version":3,"file":"docker-compose-generator.service.d.ts","sourceRoot":"","sources":["../../../../../../../src/services/deployment/docker/docker-compose-generator.service.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAClG,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,qDAAqD,CAAC;AAM5G,OAAO,EAaL,qBAAqB,EAItB,MAAM,+BAA+B,CAAC;AAMvC,OAAO,EAAkD,KAAK,4BAA4B,EAAE,MAAM,qDAAqD,CAAC;AAsGxJ;;;;;;;;;;;;;;GAcG;AACH;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,mCAAmC,CACjD,GAAG,EAAE,gCAAgC,EACrC,aAAa,EAAE,MAAM,GACpB,OAAO,CAWT;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,0CAA0C,CACxD,GAAG,EAAE,gCAAgC,GACpC,IAAI,CAWN;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,kCAAkC,CAChD,GAAG,EAAE,gCAAgC,GACpC,IAAI,CAUN;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,8BAA8B,CAC5C,GAAG,EAAE,gCAAgC,GACpC,IAAI,CAqBN;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,uBAAuB,CACrC,GAAG,EAAE,gCAAgC,GACpC,qBAAqB,CAEvB;AAED;;;;;GAKG;AACH,wBAAgB,yBAAyB,CACvC,GAAG,EAAE,gCAAgC,GACpC,OAAO,CAET;AAED;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